.sprint7-core-loop {
    overflow-x: clip;
  }

  .sprint7-core-loop .classic-game-shell {
    width: min(980px, calc(100% - 2rem));
    padding-block: clamp(.75rem, 2vh, 1.35rem) 4rem;
  }

  .sprint7-core-loop .classic-game-shell,
  .sprint7-core-loop .classic-game-shell *,
  .sprint7-core-loop .site-header,
  .sprint7-core-loop .site-header * {
    min-inline-size: 0;
  }

  .sprint7-core-loop .sprint7-game-heading {
    align-items: end;
    gap: 1rem;
    margin-bottom: clamp(.55rem, 1.5vh, .9rem);
  }

  .sprint7-core-loop .puzzle-heading-copy {
    display: grid;
    gap: .12rem;
  }

  .sprint7-core-loop .puzzle-meta-row {
    display: flex;
    min-inline-size: 0;
    align-items: center;
    gap: .65rem;
  }

  .sprint7-core-loop .puzzle-meta-row .back-link {
    flex: 0 0 auto;
    font-size: .7rem;
  }

  .sprint7-core-loop .puzzle-meta-row .eyebrow {
    overflow-wrap: anywhere;
  }

  .sprint7-core-loop .sprint7-game-heading h1 {
    margin: .12rem 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
  }

  .sprint7-core-loop .sprint7-game-heading .lede {
    font-size: clamp(.88rem, 1.2vw, 1rem);
    line-height: 1.35;
  }

  .sprint7-core-loop .heading-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: end;
    gap: .25rem;
  }

  .sprint7-core-loop .heading-actions .text-button {
    min-height: 38px;
    padding: .25rem;
    font-size: .78rem;
  }

  .sprint7-core-loop .heading-actions .text-button > span {
    width: 23px;
    height: 23px;
  }

  .sprint7-core-loop .classic-game-shell .game-layout {
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
    gap: .75rem;
  }

  .sprint7-core-loop .classic-game-shell .game-card {
    position: relative;
    width: 100%;
    padding: clamp(.55rem, 1.4vw, .85rem);
    overflow: clip;
    border-radius: 24px;
  }

  .sprint7-core-loop .classic-game-shell .water-stage {
    width: 100%;
    height: clamp(220px, 28vh, 300px);
    min-height: 0;
    overflow: clip;
    border-radius: 18px;
  }

  .sprint7-core-loop .classic-game-shell .silhouette-frame {
    inset: clamp(22px, 4vh, 40px) clamp(28px, 5vw, 68px) clamp(34px, 5vh, 50px);
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    overflow: visible;
  }

  .sprint7-core-loop .classic-game-shell .silhouette-frame img,
  .sprint7-core-loop .classic-game-shell .silhouette-frame svg {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .sprint7-core-loop .tutorial-coachmark {
    position: absolute;
    z-index: 8;
    right: .6rem;
    bottom: .6rem;
    left: .6rem;
    display: grid;
    width: min(540px, calc(100% - 1.2rem));
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    margin: 0 auto;
    padding: .48rem .55rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    box-shadow: 0 12px 30px #062c3650;
    backdrop-filter: blur(14px);
  }

  .sprint7-core-loop .tutorial-coachmark .tutorial-example {
    display: flex;
    gap: 2px;
  }

  .sprint7-core-loop .tutorial-coachmark .tutorial-example i {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 6px;
    color: #fff;
    font-size: .65rem;
    font-style: normal;
    font-weight: 900;
  }

  .sprint7-core-loop .tutorial-coachmark .tutorial-example .exact { background: var(--match); }
  .sprint7-core-loop .tutorial-coachmark .tutorial-example .close { background: var(--close); }
  .sprint7-core-loop .tutorial-coachmark .tutorial-example .different { background: var(--wrong); }
  .sprint7-core-loop .tutorial-coachmark .eyebrow { font-size: .54rem; }
  .sprint7-core-loop .tutorial-coachmark strong { font-size: .76rem; line-height: 1.2; }
  .sprint7-core-loop .tutorial-coachmark p:last-child { display: none; }
  .sprint7-core-loop .tutorial-coachmark .icon-button { width: 34px; height: 34px; }

  .sprint7-core-loop .classic-game-shell .clue-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: .5rem;
    overflow: hidden;
    border-radius: 12px;
  }

  .sprint7-core-loop .classic-game-shell .clue-strip > div {
    align-content: center;
    padding: .45rem .65rem;
    overflow: hidden;
  }

  .sprint7-core-loop .classic-game-shell .clue-label {
    font-size: .57rem;
    line-height: 1.2;
  }

  .sprint7-core-loop .classic-game-shell .clue-strip strong {
    overflow-wrap: anywhere;
    font-size: .76rem;
    line-height: 1.2;
  }

  .sprint7-core-loop .classic-game-shell .attempt-clue {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: .35rem;
  }

  .sprint7-core-loop .classic-game-shell .attempt-clue .clue-label {
    grid-column: 1 / -1;
  }

  .sprint7-core-loop .classic-game-shell .attempt-track {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 3px;
    padding: 0;
  }

  .sprint7-core-loop .classic-game-shell .attempt-dot {
    width: 7px;
    height: 7px;
    border-width: 1px;
  }

  .sprint7-core-loop .classic-game-shell .guess-zone {
    margin-top: .62rem;
  }

  .sprint7-core-loop .classic-game-shell .guess-zone label {
    margin-bottom: .32rem;
    font-size: .78rem;
  }

  .sprint7-core-loop .classic-game-shell .search-combo {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .4rem;
  }

  .sprint7-core-loop .classic-game-shell .search-combo input {
    width: 100%;
    height: 48px;
  }

  .sprint7-core-loop .classic-game-shell #cast {
    min-width: 112px;
    min-height: 48px;
  }

  .sprint7-core-loop .classic-game-shell .latest-deduction {
    display: grid;
    gap: .45rem;
    margin-top: .58rem;
    padding: .62rem .7rem;
    border: 1px solid color-mix(in srgb, var(--aqua) 42%, var(--line));
    border-radius: 13px;
    background: color-mix(in srgb, var(--foam) 75%, var(--white));
  }

  .sprint7-core-loop .latest-deduction-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
  }

  .sprint7-core-loop .latest-deduction-head strong {
    color: var(--deep);
    font-size: .78rem;
  }

  .sprint7-core-loop .deduction-chips {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: .3rem;
  }

  .sprint7-core-loop .deduction-chip {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: .28rem;
    padding: .3rem .48rem;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: .68rem;
    font-weight: 780;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .sprint7-core-loop .deduction-chip.exact { box-shadow: inset 3px 0 var(--match); }
  .sprint7-core-loop .deduction-chip.close { box-shadow: inset 3px 0 var(--close); }
  .sprint7-core-loop .deduction-chip.different { box-shadow: inset 3px 0 var(--wrong); }

  .sprint7-core-loop .latest-deduction details {
    font-size: .69rem;
  }

  .sprint7-core-loop .latest-deduction summary {
    width: fit-content;
    color: var(--sea);
    font-weight: 850;
    cursor: pointer;
  }

  .sprint7-core-loop .deduction-explanations {
    display: grid;
    gap: .3rem;
    margin: .42rem 0 0;
    padding-left: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.35;
  }

  [dir="rtl"] .sprint7-core-loop .deduction-explanations {
    padding-right: 1.1rem;
    padding-left: 0;
  }

  .sprint7-core-loop .classic-game-shell .status-message {
    min-height: 1.1rem;
    margin-top: .4rem;
    font-size: .69rem;
  }

  .sprint7-core-loop .classic-game-shell .game-actions {
    margin-top: .42rem;
  }

  .sprint7-core-loop .classic-game-shell .game-actions .button {
    min-height: 42px;
    padding-block: .52rem;
  }

  .sprint7-core-loop .classic-game-shell .history-drawer-panel {
    border-radius: 18px;
  }

  .sprint7-core-loop .completion-ritual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }

  .sprint7-core-loop .completion-ritual p {
    display: grid;
    min-height: 42px;
    place-items: center;
    margin: 0;
    padding: .55rem .65rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--foam);
    color: var(--deep);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
  }

  .sprint7-core-loop .completion-card-dialog > .modal-close {
    position: absolute;
    z-index: 3;
    top: 1rem;
    right: 1rem;
    left: auto;
  }

  [dir="rtl"] .sprint7-core-loop .completion-card-dialog > .modal-close {
    right: auto;
    left: 1rem;
  }

  .sprint7-core-loop .classic-game-shell .history-drawer summary {
    padding: .72rem 1rem;
  }

  .sprint7-core-loop .mobile-nav a {
    overflow: hidden;
    padding-inline: .15rem;
    overflow-wrap: anywhere;
  }

  @media (max-width: 640px) {
    .sprint7-core-loop .site-header {
      width: 100%;
      grid-template-columns: auto minmax(0, 1fr);
      gap: .4rem;
    }

    .sprint7-core-loop .site-header .brand {
      flex: 0 0 auto;
    }

    .sprint7-core-loop .header-actions {
      min-width: 0;
      justify-content: end;
      overflow: hidden;
    }

    .sprint7-core-loop .classic-game-shell {
      width: calc(100% - 1rem);
      padding-top: .55rem;
    }

    .sprint7-core-loop .sprint7-game-heading {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
      gap: .35rem .55rem;
      margin-bottom: .55rem;
    }

    .sprint7-core-loop .puzzle-heading-copy {
      grid-column: 1 / -1;
    }

    .sprint7-core-loop .puzzle-meta-row .back-link {
      display: none;
    }

    .sprint7-core-loop .sprint7-game-heading h1 {
      font-size: clamp(1.85rem, 9vw, 2.3rem);
    }

    .sprint7-core-loop .sprint7-game-heading .lede {
      max-width: 100%;
      font-size: .82rem;
    }

    .sprint7-core-loop .heading-actions {
      grid-column: 1 / -1;
      justify-content: start;
    }

    .sprint7-core-loop .classic-game-shell .game-card {
      padding: .45rem;
      border-radius: 19px;
    }

    .sprint7-core-loop .classic-game-shell .water-stage {
      height: clamp(205px, 27vh, 225px);
      min-height: 0;
      border-radius: 14px;
    }

    .sprint7-core-loop .classic-game-shell .silhouette-frame {
      inset: 20px 18px 32px;
      height: auto;
    }

    .sprint7-core-loop .tutorial-coachmark {
      right: .4rem;
      bottom: .4rem;
      left: .4rem;
      width: calc(100% - .8rem);
      padding: .4rem;
    }

    .sprint7-core-loop .tutorial-coachmark .tutorial-example i {
      width: 19px;
      height: 19px;
    }

    .sprint7-core-loop .tutorial-coachmark strong { font-size: .68rem; }
    .sprint7-core-loop .classic-game-shell .clue-strip > div { padding: .38rem .35rem; }
    .sprint7-core-loop .classic-game-shell .clue-label { font-size: .5rem; }
    .sprint7-core-loop .classic-game-shell .clue-strip strong { font-size: .67rem; }
    .sprint7-core-loop .classic-game-shell .attempt-clue { column-gap: .18rem; }
    .sprint7-core-loop .classic-game-shell .attempt-track { gap: 2px; }
    .sprint7-core-loop .classic-game-shell .attempt-dot { width: 6px; height: 6px; }
    .sprint7-core-loop .classic-game-shell .search-combo { grid-template-columns: minmax(0, 1fr) auto; }
    .sprint7-core-loop .classic-game-shell .search-combo .button { width: auto; }
    .sprint7-core-loop .classic-game-shell #cast { min-width: 96px; padding-inline: .65rem; }
    .sprint7-core-loop .classic-game-shell .game-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sprint7-core-loop .latest-deduction-head { align-items: flex-start; flex-direction: column; gap: .3rem; }
    .sprint7-core-loop .completion-ritual { grid-template-columns: minmax(0, 1fr); }
  }

  @media (max-width: 350px) {
    .sprint7-core-loop .sprint7-game-heading .lede { display: none; }
    .sprint7-core-loop .classic-game-shell .search-combo { grid-template-columns: minmax(0, 1fr) auto; }
    .sprint7-core-loop .classic-game-shell .search-combo .button { width: auto; }
    .sprint7-core-loop .classic-game-shell #cast { min-width: 84px; }
    .sprint7-core-loop .classic-game-shell .water-stage { height: 170px; }
    .sprint7-core-loop .classic-game-shell .suggestions {
      top: auto;
      bottom: calc(100% + .35rem);
      max-height: 220px;
      margin: 0;
    }
    .sprint7-core-loop .tutorial-coachmark .tutorial-example { display: none; }
  }

  @media (min-width: 641px) and (max-height: 820px) {
    .sprint7-core-loop .classic-game-shell { padding-top: .6rem; }
    .sprint7-core-loop .classic-game-shell .water-stage { height: 220px; }
    .sprint7-core-loop .sprint7-game-heading h1 { font-size: 2.35rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    .sprint7-core-loop .latest-deduction,
    .sprint7-core-loop .tutorial-coachmark {
      transition: none;
      animation: none;
    }
  }

  @media (forced-colors: active) {
    .sprint7-core-loop .deduction-chip,
    .sprint7-core-loop .latest-deduction,
    .sprint7-core-loop .tutorial-coachmark {
      border: 1px solid CanvasText;
    }
  }
