.lvg-game{--lvg-ink:#173449;--lvg-muted:#526b7b;--lvg-panel:#fff;--lvg-line:#b7cbd0;--lvg-soft:#e8f2f2;--lvg-accent:#126f7c;position:relative;box-sizing:border-box;min-height:100%;max-width:700px;margin:auto;padding-bottom:env(safe-area-inset-bottom,0px);color:var(--lvg-ink);background:radial-gradient(circle at 90% 0%,#e4f4ec 0,transparent 36%),linear-gradient(180deg,#f5fbf9,#edf5f4)}
html.dark .lvg-game{--lvg-ink:#ecf7f7;--lvg-muted:#adc7ce;--lvg-panel:#17313d;--lvg-line:#547280;--lvg-soft:#21424d;--lvg-accent:#79d7d8;background:radial-gradient(circle at 90% 0%,#1e4f50 0,transparent 34%),linear-gradient(180deg,#0f222c,#10232f)}
.lvg-game *{box-sizing:border-box}.lvg-game button{font:inherit;cursor:pointer;touch-action:manipulation}.lvg-game button:focus-visible{outline:3px solid #f3b964;outline-offset:2px}.lvg-game button:disabled{opacity:.38;cursor:default}
.lvg-header{position:sticky;top:0;z-index:4;height:72px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:10px 16px;border-radius:0;border-bottom:1px solid var(--lvg-line);background:color-mix(in srgb,var(--lvg-panel) 84%,transparent);color:var(--lvg-ink);box-shadow:none}
.lvg-orb{width:44px;height:44px;border:1px solid var(--lvg-line);border-radius:50%;background:var(--lvg-panel);color:var(--lvg-ink);font-size:23px;font-weight:700}.lvg-orb svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.lvg-brand{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}.lvg-brand-logo{display:block;flex:0 0 auto;width:43px;height:32px;object-fit:contain;filter:none;background:#f6faf6;border-radius:4px}.lvg-brand-copy{text-align:left;min-width:0}.lvg-brand b{display:block;font:700 19px/1.1 'Cinzel','Optima','Palatino',Georgia,serif;letter-spacing:.03em;white-space:nowrap;color:var(--neoes-2,#2C5685)}html.dark .lvg-brand b{color:#CDEBFF}.lvg-brand span{display:block;margin-top:3px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--lvg-muted)}
.lvg-main{padding:12px clamp(10px,3vw,24px) 22px}.lvg-round-meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--lvg-muted);text-transform:capitalize;margin-bottom:11px}.lvg-round-meta span:last-child{text-align:right}.lvg-line{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.lvg-token{position:relative;min-width:0;min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:2px solid var(--lvg-line);border-radius:16px;background:var(--lvg-panel);color:var(--lvg-ink);padding:12px 2px 7px;box-shadow:0 4px 10px #163e4212}.lvg-token.is-selected{border-color:var(--lvg-accent);box-shadow:0 0 0 3px #42babc55}.lvg-token b{font-size:10px;line-height:1.08;text-align:center;white-space:normal}.lvg-position{position:absolute;top:4px;left:7px;color:var(--lvg-muted);font-size:11px;font-weight:700}
.lvg-picture{width:50px;height:50px;max-width:100%;aspect-ratio:1;display:grid;place-items:center;border-radius:14px;background:#d9f1ec;flex:none}.lvg-picture svg{width:86%;height:86%;display:block}.lvg-picture.lvg-violet{background:#efe7f5}.lvg-picture.lvg-amber{background:#fff0ce}.lvg-picture.lvg-coral{background:#fce9df}.lvg-picture.lvg-navy{background:#dfeaf1}.lvg-picture.lvg-blue{background:#dcf0f8}.lvg-picture.lvg-small{width:31px;height:31px;border-radius:8px}
.lvg-clue-head{display:flex;justify-content:space-between;align-items:baseline;margin:23px 2px 8px}.lvg-clue-head b{font-size:16px}.lvg-clues{list-style:none;counter-reset:clue;padding:0;margin:0;display:grid;gap:7px}.lvg-clues li{counter-increment:clue;display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 10px;border:1px solid var(--lvg-line);border-radius:11px;background:var(--lvg-panel);font-size:13px;line-height:1.3}.lvg-clues li:before{content:counter(clue);display:grid;place-items:center;flex:0 0 21px;height:21px;border-radius:50%;background:var(--lvg-soft);color:var(--lvg-accent);font-size:11px;font-weight:700}.lvg-clues li.is-met{border-color:#5ba991}.lvg-clues li.is-unmet{border-color:#df9982}.lvg-clues li>span{font-weight:800;color:var(--lvg-accent)}
.lvg-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:min(100%,min(50dvh,380px));margin:0 auto;border:2px solid var(--lvg-ink);border-radius:11px;overflow:hidden;background:var(--lvg-panel);box-shadow:0 8px 22px #153d4215}.lvg-cell{aspect-ratio:1;min-width:0;min-height:0;display:grid;place-items:center;border:0;border-right:1px solid var(--lvg-line);border-bottom:1px solid var(--lvg-line);padding:1px;background:transparent}.lvg-cell:nth-child(6n){border-right:0}.lvg-cell:nth-child(n+31){border-bottom:0}.lvg-cell.box-right{border-right:2px solid var(--lvg-ink)}.lvg-cell.box-bottom{border-bottom:2px solid var(--lvg-ink)}.lvg-cell.is-given{background:var(--lvg-soft)}.lvg-cell.is-peer{background:#45aab41a}.lvg-cell.is-same{background:#45aab438}.lvg-cell.is-selected{box-shadow:inset 0 0 0 3px var(--lvg-accent);background:#8eddd558}.lvg-cell.is-conflict{background:#ec70533b;box-shadow:inset 0 0 0 2px #b94536}.lvg-cell .lvg-picture{width:min(80%,46px);height:auto;border-radius:10px}.lvg-pencil{width:100%;height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);place-items:center;gap:2px;padding:3px}.lvg-pencil i{width:8px;height:8px;border-radius:50%}.lvg-pencil .lvg-teal{background:#3aa8a6}.lvg-pencil .lvg-violet{background:#815db2}.lvg-pencil .lvg-amber{background:#d7a336}.lvg-pencil .lvg-coral{background:#cf7964}.lvg-pencil .lvg-navy{background:#456982}.lvg-pencil .lvg-blue{background:#3b95bb}
.lvg-entry{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px auto 8px;max-width:380px;font-size:12px;color:var(--lvg-muted)}.lvg-soft{min-height:44px;border:1px solid var(--lvg-line);border-radius:11px;background:var(--lvg-panel);color:var(--lvg-ink);padding:8px 12px;font-size:13px;font-weight:700}.lvg-soft[aria-pressed="true"]{border-color:var(--lvg-accent);background:var(--lvg-soft)}.lvg-palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-width:460px;margin:0 auto}.lvg-palette button{min-width:0;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--lvg-line);border-radius:11px;background:var(--lvg-panel);color:var(--lvg-ink);padding:4px 1px}.lvg-palette button span:last-child{font-size:9px;font-weight:700;line-height:1.08}.lvg-palette button.is-current,.lvg-palette button[aria-pressed="true"]{border:2px solid var(--lvg-accent);background:var(--lvg-soft)}.lvg-palette.is-pencil button{border-style:dashed}.lvg-clear{display:block;min-height:44px;margin:6px auto 0;padding:4px 18px;border:0;background:transparent;color:var(--lvg-accent);font-size:12px!important;font-weight:700!important}
.lvg-entry{justify-content:flex-end;margin:8px auto 8px}.lvg-notes-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:82px}.lvg-notes-toggle[aria-pressed="true"]{box-shadow:inset 0 0 0 1px var(--lvg-accent)}
.lvg-actions{display:flex;gap:8px;max-width:460px;margin:16px auto 0}.lvg-primary{flex:1;min-height:46px;border:0;border-radius:11px;background:#137789;color:white;padding:9px 14px;font-size:14px;font-weight:750!important}.lvg-feedback{min-height:21px;max-width:460px;margin:9px auto 0;font-size:13px;line-height:1.4;text-align:center;color:var(--lvg-ink)}.lvg-error,.lvg-recovery{font-size:13px;line-height:1.5;color:#b64f42}.lvg-result{text-align:center;padding:clamp(20px,10vh,70px) 16px}.lvg-medal{display:grid;place-items:center;width:70px;height:70px;margin:auto;border-radius:50%;background:#e7bd68;color:#583e18;font-size:41px}.lvg-kicker{text-transform:uppercase;letter-spacing:.1em;color:var(--lvg-muted);font-size:12px}.lvg-result h2{font-size:26px;margin:9px 0}.lvg-score{font-size:52px;line-height:1.2;font-weight:800;color:var(--lvg-accent)}.lvg-score small{font-size:14px;color:var(--lvg-muted);font-weight:500}.lvg-result>p{font-size:14px}.lvg-result .lvg-primary{width:min(100%,320px);margin-top:18px}
.lvg-help{position:fixed;z-index:5;inset:calc(env(safe-area-inset-top,0px) + 72px) 0 0;background:color-mix(in srgb,var(--lvg-ink) 40%,transparent);display:grid;place-items:start center;padding:16px}.lvg-help[hidden]{display:none}.lvg-help-panel{width:min(100%,480px);max-height:calc(100dvh - 118px);overflow:auto;border:1px solid var(--lvg-line);border-radius:16px;padding:20px;background:var(--lvg-panel);box-shadow:0 20px 42px #081b2852}.lvg-help-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.lvg-help-top h2{font-size:20px;margin:0}.lvg-help-panel p{font-size:14px;line-height:1.55}.lvg-help-panel .lvg-orb{flex:none}
@media(max-width:370px){.lvg-header{padding-inline:10px}.lvg-main{padding-inline:8px}.lvg-line{gap:4px}.lvg-token{min-height:98px}.lvg-token .lvg-picture{width:43px;height:43px}.lvg-token b{font-size:9px}.lvg-clues li{font-size:12px}.lvg-palette{gap:3px}.lvg-palette button span:last-child{font-size:8px}}
@media(prefers-reduced-motion:reduce){.lvg-game *, .lvg-game *:before,.lvg-game *:after{transition:none!important;animation:none!important}}

/* October 3 compact stage: the board opens immediately, with controls in the
   header. Decorative art gets a measured band; play never relies on scrolling. */
.lvg-game{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;max-width:480px}
.lvg-header{position:relative;flex:0 0 56px;height:56px;grid-template-columns:44px minmax(0,1fr) 44px 44px 44px;gap:4px;padding:6px 8px}
.lvg-brand{justify-content:flex-start}.lvg-brand b{font-size:20px;letter-spacing:0}.lvg-brand span{font-size:9px;letter-spacing:.04em}.lvg-clock{font-variant-numeric:tabular-nums}.lvg-orb{font-size:20px;border-radius:11px}.lvg-sound[aria-pressed="false"]{opacity:.65}
.lvg-main{flex:1;min-height:0;display:flex;flex-direction:column;padding:6px 10px 8px;overflow:hidden}
.lvg-main::before{flex:none}.lvg-round-meta{flex:none;margin:4px 0 8px;font-size:10px;min-height:20px}
.lvg-line{flex:none;gap:5px}.lvg-token{min-height:90px;padding:13px 1px 5px;gap:3px;border-radius:12px}.lvg-token .lvg-picture{width:44px;height:44px}.lvg-token b{font-size:9px;min-height:20px;display:flex;align-items:center;justify-content:center}.lvg-real-photo{background:#ecf4ef}.lvg-picture.lvg-library .lvg-real-photo img{width:100%;height:100%;object-fit:cover}.lvg-library.lvg-photo{background:#e6f3eb}.lvg-real-photo img[src="neoes-logo.png"]{object-fit:contain!important;padding:2px}
.lvg-clue-head{flex:none;margin:10px 1px 5px;gap:6px}.lvg-clue-head b{font-size:13px}.lvg-clue-head small{font-size:10px;color:var(--lvg-muted)}
.lvg-clues{flex:none;gap:4px}.lvg-clues li{min-height:38px;padding:3px 6px;gap:5px;border-radius:9px}.lvg-clues li:before{flex-basis:18px;height:18px;font-size:10px}.lvg-clue-visual{display:flex;align-items:center;gap:5px;min-width:0;width:100%}.lvg-clue-object{display:flex;flex:none}.lvg-clue-object .lvg-picture{width:30px;height:30px}.lvg-clue-visual small{font-size:12px;line-height:1.15;color:var(--lvg-muted);margin-left:auto;max-width:135px;font-weight:500}.lvg-relation{font-size:14px;white-space:nowrap;letter-spacing:-.03em;font-weight:700;color:var(--lvg-accent)}
.lvg-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.lvg-grid{flex:none;width:min(100%,360px,calc(100dvh - 365px));min-width:264px;aspect-ratio:1}.lvg-entry{flex:none;justify-content:space-between;width:100%;max-width:360px;margin:6px auto}.lvg-clear{margin:0;min-height:44px;padding:4px 10px}.lvg-notes-toggle{min-height:44px}.lvg-palette{flex:none;width:100%;max-width:360px}.lvg-palette button{min-height:56px}.lvg-palette button span:last-child{font-size:8px}.lvg-palette .lvg-picture{width:29px;height:29px}
.lvg-actions{flex:none;width:100%;margin:10px auto 0}.lvg-primary,.lvg-soft{min-height:44px}.lvg-feedback{flex:none;min-height:20px;margin:7px auto 0;font-size:11px;line-height:1.35}.lvg-feedback:empty{display:none}.lvg-error:empty{display:none}.lvg-error{flex:none;margin:5px 0 0;font-size:11px}.lvg-result{width:100%;padding:20px 10px;overflow:auto}.lvg-pause{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;min-height:200px}.lvg-pause>span{font-size:46px;color:var(--lvg-accent)}.lvg-pause>b{font-size:22px;margin-top:12px}.lvg-pause p{font-size:14px;line-height:1.6;color:var(--lvg-muted)}
.lvg-help{inset:calc(env(safe-area-inset-top,0px) + 56px) 0 0}.lvg-help-panel{max-height:calc(100dvh - 88px)}
@media(max-height:740px){.lvg-main{padding-top:4px}.lvg-clue-head{margin-top:7px}.lvg-clues{gap:3px}.lvg-clues li{min-height:36px}.lvg-token{min-height:84px}.lvg-actions{margin-top:7px}.lvg-round-meta{margin-bottom:6px}.lvg-grid{width:min(100%,310px,calc(100dvh - 360px))}.lvg-result{padding-top:14px}.lvg-result .lvg-primary{margin-top:12px}}
@media(max-width:370px){.lvg-header{padding-inline:6px}.lvg-main{padding-inline:8px}.lvg-brand b{font-size:19px}.lvg-token .lvg-picture{width:40px;height:40px}.lvg-token b{font-size:8px}.lvg-clue-visual{gap:3px}.lvg-clue-visual small{max-width:122px;font-size:12px}.lvg-clues li{padding-inline:4px;gap:4px}}
@media(max-height:590px){.lvg-game:after{content:'Turn your phone upright to play';position:absolute;z-index:4;inset:56px 0 0;display:grid;place-items:center;background:var(--lvg-panel);padding:20px;text-align:center;font-size:18px;pointer-events:auto}}

/* Current doctor rounds use the same frozen identities with larger portraits;
   older presentation families keep their existing piece geometry. */
.lvg-game.lvg-current-doctors .lvg-token{min-height:100px}
.lvg-game.lvg-current-doctors .lvg-token .lvg-picture{width:52px;height:52px}
.lvg-game.lvg-current-doctors .lvg-token b{font-size:10px;line-height:1.15;min-height:23px;overflow-wrap:anywhere}

/* Only the new office theme uses landscape contain crops. Frozen portraits,
   earlier logo pieces and all Mini Grid geometry retain their prior rules. */
.lvg-game.lvg-practice-places .lvg-token{min-height:100px}
.lvg-game.lvg-practice-places .lvg-token .lvg-picture{width:54px;height:42px;aspect-ratio:auto;border-radius:7px}
.lvg-game.lvg-practice-places .lvg-token b{font-size:10px;line-height:1.15;min-height:23px;overflow-wrap:anywhere}
.lvg-game.lvg-practice-places .lvg-clue-object .lvg-picture{width:44px;height:46px;aspect-ratio:auto;border-radius:5px;background:transparent}
.lvg-game.lvg-practice-places .lvg-picture.lvg-library .lvg-place-photo img{object-fit:contain;padding:0}
.lvg-game.lvg-practice-places .lvg-place-photo{border-radius:inherit}
.lvg-game.lvg-practice-places .lvg-place-chip{display:flex;flex-direction:column;align-items:center;width:44px;height:45px;gap:1px}
.lvg-game.lvg-practice-places .lvg-clue-object .lvg-place-chip .gvl-art{width:44px;height:32px;aspect-ratio:auto;border-radius:5px;flex:none}
.lvg-game.lvg-practice-places .lvg-clue-visual .lvg-place-caption{margin:0;max-width:none;font-size:11px;line-height:12px;font-weight:700;color:var(--lvg-ink);white-space:nowrap}
.lvg-game.lvg-practice-places .lvg-clue-visual>small{max-width:90px;font-size:11px}
.gs-portal .lvg-game.lvg-line-game.lvg-practice-places .lvg-clues li{min-height:56px;padding-block:2px}
@media(max-height:740px){
  .gs-portal .lvg-game.lvg-line-game.lvg-practice-places.lvg-place-dense .lvg-clues li{min-height:50px}
  .lvg-game.lvg-practice-places.lvg-place-dense .lvg-token{min-height:90px}
  .lvg-game.lvg-practice-places.lvg-place-dense .lvg-clues{gap:2px}
  .lvg-game.lvg-practice-places.lvg-place-dense .lvg-clue-head{margin-block:3px}
  .lvg-game.lvg-practice-places.lvg-place-dense .lvg-feedback{min-height:0;font-size:10px;line-height:1.2}
}

/* Approved sea-glass / sapphire compositions. Only local p5 Line Up and p4
   Mini Grid opt in. Bands stretch the quiet field, never the actual pieces.
   Container units follow the phone frame even on a large desktop monitor. */
.lvg-game.lvg-approved-frame{container-type:size;width:100%;max-width:480px;padding:0;--lvg-ink:#174e54;--lvg-muted:#315b5d;--lvg-panel:#f4e9d2;--lvg-line:#9dbaa9;--lvg-accent:#116c76;background:#e6d7be;color:var(--lvg-ink)}
html.dark .lvg-game.lvg-approved-frame{--lvg-ink:#174e54;--lvg-muted:#315b5d;--lvg-panel:#f4e9d2;--lvg-line:#9dbaa9;--lvg-accent:#116c76;background:#e6d7be}
.lvg-game.lvg-approved-frame.lvg-grid-game{--lvg-ink:#153b56;--lvg-muted:#345169;--lvg-accent:#186e96}
.gs-host:has(>.lvg-approved-frame){container-type:size}
/* A short/wide phone needs a narrower cabinet, rather than cropped footer
   actions or a non-square grid. The complete bands total 1.97328 × width. */
.gs-host>.lvg-game.lvg-approved-frame.lvg-grid-game{width:min(100%,calc(100cqh / 1.97328))}
.lvg-approved-frame .lvg-header{flex:0 0 auto;display:block;position:relative;width:100%;height:38.895cqw;min-height:0;padding:0;border:0;background:url('./game-art/line-up-seaglass-v1-header.webp') center/100% 100% no-repeat}
.lvg-approved-frame.lvg-grid-game .lvg-header{height:28.072cqw;background-image:url('./game-art/mini-grid-sapphire-v1-header.webp')}
.lvg-approved-frame .lvg-header .lvg-orb,.lvg-approved-frame .lvg-frame-footer .lvg-orb{position:absolute;min-width:44px;min-height:44px;border:0;border-radius:50%;background:transparent;box-shadow:none;padding:0;font-size:0;color:transparent}
.lvg-approved-frame .lvg-header .lvg-frame-back{left:2.25%;top:11%;width:13.1%;height:32%}
.lvg-approved-frame .lvg-header .lvg-play{left:73.5%;top:10.7%;width:12.4%;height:32.2%;background:center/contain no-repeat}
.lvg-approved-frame .lvg-header .lvg-frame-info{left:86.1%;top:10.7%;width:12.2%;height:32.2%}
.lvg-approved-frame .lvg-header .lvg-play.is-play{background-image:url('./game-art/line-up-seaglass-v1-play.webp')}
.lvg-approved-frame .lvg-header .lvg-play.is-pause{background-image:url('./game-art/line-up-seaglass-v1-pause.webp')}
.lvg-approved-frame.lvg-grid-game .lvg-header .lvg-frame-back{left:2.6%;top:8.4%;width:13.3%;height:45.8%}
.lvg-approved-frame.lvg-grid-game .lvg-header .lvg-play{left:73.9%;top:8%;width:12.2%;height:46.6%}
/* Preserve the illustrated position until its 44px minimum would escape the
   narrower short-phone cabinet. The whole hit area remains inside the frame. */
.lvg-approved-frame.lvg-grid-game .lvg-header .lvg-frame-info{left:min(86.8%,calc(100% - max(44px,12.2cqw)));top:8%;width:12.2%;height:46.6%}
.lvg-approved-frame.lvg-grid-game .lvg-header .lvg-play.is-play{background-image:url('./game-art/mini-grid-sapphire-v1-play.webp')}
.lvg-approved-frame.lvg-grid-game .lvg-header .lvg-play.is-pause{background-image:url('./game-art/mini-grid-sapphire-v1-pause.webp')}
.lvg-approved-frame .lvg-frame-hud{position:absolute;left:25%;top:34%;width:50%;text-align:center;font-size:clamp(14px,4cqw,16px);font-weight:700;font-variant-numeric:tabular-nums;color:#174e54;line-height:1.2;text-shadow:0 1px 1px #ffffff80}
.lvg-approved-frame.lvg-grid-game .lvg-frame-hud{top:40%;color:#fff0c6;text-shadow:0 1px 2px #001222}
.gs-portal .lvg-game.lvg-approved-frame .lvg-main,.lvg-game.lvg-approved-frame .lvg-main{display:block;position:relative;padding:0;min-height:0;overflow:hidden;background:var(--lvg-frame-prefix) center/100% 100% no-repeat}
.lvg-approved-frame.lvg-line-game .lvg-main:before{content:'';position:absolute;pointer-events:none;inset:0 0 auto;height:40.5cqw;background:url('./game-art/line-up-seaglass-v1-body.webp') top center/100% auto no-repeat}
.lvg-approved-frame .lvg-main>.lvg-line{position:absolute;left:.8%;top:7.67cqw;width:98%;height:27.5cqw;gap:1%;margin:0}
.lvg-approved-frame.lvg-line-game .lvg-token{min-height:44px;height:100%;padding:0;justify-content:flex-start;gap:0;border:0;border-radius:40%;background:transparent;box-shadow:none}
.lvg-approved-frame .lvg-token.is-selected:after{content:'';position:absolute;inset:0 2% 21%;border-radius:44%;box-shadow:inset 0 0 0 3px #166a75,0 0 7px #d4ffff;pointer-events:none}
.lvg-approved-frame .lvg-token .lvg-picture{width:88%;height:auto;aspect-ratio:1;margin:1.4cqw auto 0;background:transparent;border-radius:24%;overflow:hidden}
.lvg-approved-frame.lvg-practice-places .lvg-token .lvg-picture{width:84%;height:18cqw;aspect-ratio:auto;margin-top:1.4cqw;border-radius:9px}
.lvg-approved-frame.lvg-current-doctors .lvg-token .lvg-picture{width:84%;height:auto;aspect-ratio:1}
.lvg-approved-frame .lvg-token b{position:absolute;top:22.45cqw;left:0;width:100%;min-height:0;padding:0 3px;font-size:clamp(8px,2.4cqw,11px);line-height:1.08;display:block;overflow-wrap:normal;color:#174e54}
.lvg-approved-frame .lvg-position,.lvg-approved-frame .lvg-clue-head{display:none}
.lvg-approved-frame .lvg-clues{position:absolute;top:46.1cqw;left:6.7%;width:86.5%;bottom:5%;gap:3px;align-content:center;grid-auto-rows:min-content;margin:0;padding:0}
.gs-portal .lvg-approved-frame.lvg-line-game .lvg-clues li,.lvg-approved-frame .lvg-clues li{display:flex;align-items:center;min-height:32px;padding:1px 0;gap:5px;border:0;border-radius:0;background:transparent;font-size:clamp(12px,3.15cqw,14px);line-height:1.4;color:#174e54}
.lvg-approved-frame .lvg-clues li:before{flex-basis:15px;height:15px;background:transparent;color:#3c716e;font-size:10px}
.lvg-approved-frame .lvg-clues li.is-unmet{background:#a037251c;border-radius:6px}.lvg-approved-frame .lvg-clues li.is-met{background:#116c7610;border-radius:6px}
.lvg-approved-frame .lvg-clue-sentence{display:block;width:100%;font-weight:500;line-height:1.45;color:#174e54}
.lvg-approved-frame .lvg-clue-object{display:inline-block;vertical-align:middle;margin:-3px 2px -1px;line-height:0}
.lvg-approved-frame .lvg-clue-object .lvg-picture,.lvg-approved-frame.lvg-practice-places .lvg-clue-object .lvg-picture{width:28px;height:28px;aspect-ratio:1;border-radius:5px;background:transparent}
.lvg-approved-frame.lvg-practice-places .lvg-clue-object .lvg-place-chip{display:flex;width:32px;height:32px;gap:0}
.lvg-approved-frame.lvg-practice-places .lvg-clue-object .lvg-picture{width:32px;height:32px}
.lvg-approved-frame.lvg-practice-places .lvg-clue-object .lvg-place-chip .gvl-art{width:32px;height:22px;flex:none;border-radius:3px}
.lvg-approved-frame.lvg-practice-places .lvg-clue-sentence .lvg-place-caption{font-size:8px;line-height:10px;margin:0;color:#174e54;font-weight:700;max-width:none}
.lvg-approved-frame .lvg-picture,.lvg-approved-frame .lvg-library{background:transparent}
.lvg-approved-frame .lvg-raster img{width:100%;height:100%;object-fit:contain;display:block}
.lvg-approved-frame .lvg-frame-footer{position:relative;flex:0 0 auto;height:37.993cqw;min-height:120px;width:100%;background:url('./game-art/line-up-seaglass-v1-footer.webp') center/100% 100% no-repeat}
.lvg-approved-frame .lvg-actions{position:absolute;top:2.7%;left:11.4%;width:76.2%;height:31.2%;max-width:none;margin:0;gap:3.1%}
.lvg-approved-frame .lvg-actions button,.lvg-approved-frame .lvg-entry button{min-height:44px;min-width:44px;border:0;background:transparent;color:transparent;box-shadow:none;font-size:0!important;padding:0;border-radius:22px}
.lvg-approved-frame .lvg-actions button{width:50%;flex:1}
.lvg-approved-frame .lvg-frame-counts{position:absolute;top:39%;left:24%;width:54%;margin:0;font-size:clamp(10px,2.7cqw,12px);line-height:1.2;text-align:center;color:var(--lvg-ink)}
.lvg-approved-frame .lvg-frame-footer .lvg-sound{left:3.5%;top:44%;width:14.1%;height:37%;min-height:44px}
.lvg-approved-frame .lvg-frame-footer .lvg-sound[aria-pressed='false']{opacity:1;box-shadow:inset 0 0 0 2px #a05837}
.lvg-approved-frame .lvg-feedback{position:absolute;top:56%;left:22%;width:62%;max-width:none;margin:0;font-size:11px;line-height:1.2;min-height:0;text-align:center}
.lvg-approved-frame .lvg-error{position:absolute;top:53%;left:20%;width:70%;margin:0;padding:2px 4px;background:#f9efddef;border-radius:5px;color:#943327;line-height:1.25}
/* The square board is painted by ::before. Keep the flexible field plain so
   extra phone height cannot expose a second, stretched copy underneath it. */
.gs-portal .lvg-game.lvg-approved-frame.lvg-grid-game .lvg-main,.lvg-approved-frame.lvg-grid-game .lvg-main{flex:1 0 95.75cqw;height:auto;min-height:95.75cqw;background:#f1e8d7}
.lvg-approved-frame.lvg-grid-game .lvg-main:before{content:'';position:absolute;pointer-events:none;inset:0 0 auto;height:95.75cqw;background:url('./game-art/mini-grid-sapphire-v1-body.webp') center/100% 100% no-repeat}
.gs-portal .lvg-game.lvg-approved-frame .lvg-grid,.lvg-game.lvg-approved-frame .lvg-grid{position:absolute;left:3.5%;top:1.53cqw;width:93%;height:93cqw;min-width:0;max-width:none;aspect-ratio:1;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;gap:0}
.lvg-approved-frame .lvg-cell,.lvg-approved-frame .lvg-cell.box-right,.lvg-approved-frame .lvg-cell.box-bottom{border:0;aspect-ratio:1;background:transparent}
.lvg-approved-frame .lvg-cell.is-given{background:#0a426514}.lvg-approved-frame .lvg-cell.is-peer{background:#146b9217}.lvg-approved-frame .lvg-cell.is-same{background:#146b9227}.lvg-approved-frame .lvg-cell.is-selected{background:#368caf26;box-shadow:inset 0 0 0 3px #145f85}.lvg-approved-frame .lvg-cell.is-conflict{background:#bf453834;box-shadow:inset 0 0 0 2px #b43829}
.lvg-approved-frame .lvg-cell .lvg-picture{width:84%;max-width:none;height:auto;aspect-ratio:1;max-height:90%;background:transparent;border-radius:4px}
.lvg-approved-frame.lvg-grid-game .lvg-frame-footer{flex:0 1 73.506cqw;height:73.506cqw;min-height:220px;background-image:url('./game-art/mini-grid-sapphire-v1-footer.webp')}
.lvg-approved-frame .lvg-entry{position:absolute;left:12.6%;top:4.6%;width:75%;height:15.4%;max-width:none;margin:0;gap:4.7%}
.lvg-approved-frame .lvg-entry button{flex:1;margin:0;height:100%}.lvg-approved-frame .lvg-entry button span{display:none}
.lvg-approved-frame .lvg-entry button[aria-pressed='true']{box-shadow:inset 0 0 0 2px #1f6385;background:#337e9e19}
.lvg-approved-frame .lvg-palette{position:absolute;left:1.8%;top:25.9%;width:96.7%;height:22.2%;max-width:none;margin:0;gap:.7%}
.lvg-approved-frame .lvg-palette button{position:relative;display:flex;min-height:44px;height:100%;border:0;border-radius:46%;padding:2px 0;background:transparent}
.lvg-approved-frame .lvg-palette button>span:last-child{position:absolute;top:104%;left:0;width:100%;font-size:clamp(8px,2.25cqw,10px);line-height:1.1;color:#153b56}
.lvg-approved-frame .lvg-palette .lvg-picture{width:86%;height:auto;aspect-ratio:1;max-height:100%;background:transparent}
.lvg-approved-frame .lvg-palette button.is-current,.lvg-approved-frame .lvg-palette button[aria-pressed='true']{background:#248acb1c;box-shadow:inset 0 0 0 2px #186e96}
.lvg-approved-frame.lvg-grid-game .lvg-actions{top:63%;left:12.7%;width:74.7%;height:15.6%;gap:2.1%}
.lvg-approved-frame.lvg-grid-game .lvg-frame-counts{top:81.8%;left:23%;width:56%}
.lvg-approved-frame.lvg-grid-game .lvg-frame-footer .lvg-sound{left:1.9%;top:72.7%;width:12.6%;height:18.6%}
.lvg-approved-frame.lvg-grid-game .lvg-feedback{top:87%;left:18%;width:64%;font-size:10px}
.lvg-approved-frame.lvg-grid-game .lvg-error{top:83%;left:16%;width:68%;font-size:10px}
.lvg-approved-frame .lvg-pause,.lvg-approved-frame .game-entry-cover{position:absolute;inset:0;min-height:0;margin:0;display:flex;align-items:center;justify-content:center}
.lvg-approved-frame .lvg-pause b{margin:0;font:700 24px 'Cinzel',Georgia,serif;letter-spacing:.03em;text-shadow:0 1px 1px #fff9}
.lvg-approved-frame .lvg-result{position:relative;padding:18px 14px;height:100%;overflow:hidden}
.lvg-approved-frame .lvg-result .lvg-primary{background:#174e54;color:#fff;border:2px solid #d4bd82;border-radius:22px;min-height:44px}
.lvg-approved-frame .lvg-help{position:absolute;inset:0;z-index:10;padding:14px;place-items:center;background:#102d47eb}
.lvg-approved-frame .lvg-help-panel{max-height:100%;width:100%;background:#f5ebd7;color:#174e54;border:3px double #b3a36c;border-radius:18px;padding:14px;box-shadow:0 0 24px #04182c60}
.lvg-approved-frame .lvg-help-panel p{font-size:13px;line-height:1.4}.lvg-approved-frame .lvg-help-top .lvg-orb{background:#ecdec1;border:2px solid #b3a36c;color:#174e54;min-width:44px;min-height:44px}
.lvg-approved-frame .lvg-help-top h2{font-family:'Cinzel',Georgia,serif;font-size:18px}
.gs-portal .lvg-approved-frame.lvg-line-game.lvg-spacious-clues .lvg-clues li,.lvg-approved-frame.lvg-spacious-clues .lvg-clues li{font-size:clamp(15px,4cqw,16px);min-height:40px;padding-block:3px}
.lvg-approved-frame.lvg-spacious-clues .lvg-clues{gap:8px}
.lvg-approved-frame.lvg-spacious-clues .lvg-clue-object .lvg-picture{width:36px;height:36px}
.lvg-approved-frame.lvg-spacious-clues.lvg-practice-places .lvg-clue-object .lvg-picture,.lvg-approved-frame.lvg-spacious-clues.lvg-practice-places .lvg-clue-object .lvg-place-chip{width:40px;height:40px}
.lvg-approved-frame.lvg-spacious-clues.lvg-practice-places .lvg-clue-object .lvg-place-chip .gvl-art{width:40px;height:29px}
.lvg-approved-frame.lvg-spacious-clues.lvg-practice-places .lvg-clue-sentence .lvg-place-caption{font-size:10px;line-height:11px}
.gs-portal .lvg-approved-frame.lvg-line-game.lvg-dense-clues .lvg-clues li,.lvg-approved-frame.lvg-dense-clues .lvg-clues li{font-size:clamp(13px,3.5cqw,14px)}
/* Beat the earlier office-photo rows only inside the new frame. Full sentence
   content determines the row height; frozen skins retain their old minimum. */
.gs-portal .lvg-game.lvg-approved-frame.lvg-line-game.lvg-practice-places .lvg-clues li{min-height:32px}
@media(max-height:740px){.lvg-approved-frame.lvg-line-game .lvg-header{height:32.7cqw}.lvg-approved-frame.lvg-line-game .lvg-frame-footer{height:32.8cqw;min-height:118px}.lvg-approved-frame .lvg-clues{bottom:4%}.lvg-approved-frame .lvg-clues li{min-height:30px;gap:3px}.lvg-approved-frame .lvg-clue-object{margin-inline:1px}.lvg-approved-frame .lvg-result h2{font-size:22px}.lvg-approved-frame .lvg-medal{width:48px;height:48px;font-size:30px}.lvg-approved-frame .lvg-score{font-size:42px}.lvg-approved-frame .lvg-result>p{font-size:12px;margin-block:9px}}
@media(max-height:740px){.gs-portal .lvg-approved-frame.lvg-line-game.lvg-spacious-clues .lvg-clues li,.lvg-approved-frame.lvg-spacious-clues .lvg-clues li{font-size:14px;min-height:34px;padding-block:1px}.lvg-approved-frame.lvg-spacious-clues .lvg-clues{gap:4px}.lvg-approved-frame.lvg-spacious-clues .lvg-clue-object .lvg-picture{width:32px;height:32px}.lvg-approved-frame.lvg-spacious-clues.lvg-practice-places .lvg-clue-object .lvg-picture,.lvg-approved-frame.lvg-spacious-clues.lvg-practice-places .lvg-clue-object .lvg-place-chip{width:34px;height:34px}.lvg-approved-frame.lvg-spacious-clues.lvg-practice-places .lvg-clue-object .lvg-place-chip .gvl-art{width:34px;height:24px}.lvg-approved-frame.lvg-spacious-clues.lvg-practice-places .lvg-clue-sentence .lvg-place-caption{font-size:9px;line-height:10px}.gs-portal .lvg-approved-frame.lvg-line-game.lvg-dense-clues .lvg-clues li,.lvg-approved-frame.lvg-dense-clues .lvg-clues li{font-size:12px}}
@media(max-height:740px){.gs-portal .lvg-game.lvg-approved-frame.lvg-line-game.lvg-practice-places .lvg-clues li{min-height:30px}}
.lvg-approved-frame .lvg-frame-footer .lvg-sound[data-audio-mode="music"]:after{content:'♫';position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;display:grid;place-items:center;border:1px solid #977943;border-radius:50%;background:#e6d09f;color:#174e54;font:700 11px/1 Georgia,serif;box-shadow:0 1px 3px #102d4740;pointer-events:none}

/* October 4 local presentation only. Frozen p4/p5 boards keep their art and
   gestures. Cell images sit over the single etched grid watermark. */
.lvg-oct4.lvg-grid-game .lvg-grid{isolation:isolate;touch-action:none}
.lvg-oct4 .lvg-grid-watermark{position:absolute;z-index:-1;inset:21% 6%;display:grid;place-items:center;pointer-events:none;opacity:.09;filter:sepia(.6) saturate(.65)}
.lvg-oct4 .lvg-grid-watermark img{display:block;width:100%;height:100%;object-fit:contain}
.lvg-oct4 .lvg-cell{position:relative;z-index:0;touch-action:none}
.lvg-oct4 .lvg-cell.is-given{background:#143b5722;box-shadow:inset 0 1px 5px #1b3b5538,inset 0 -1px 1px #fff8}
.lvg-oct4 .lvg-cell.is-selected{box-shadow:inset 0 0 0 3px #145f85}
.lvg-oct4 .lvg-cell.is-conflict{box-shadow:inset 0 0 0 2px #b43829}
.lvg-oct4 .lvg-cell .lvg-picture{position:relative;z-index:1}
.lvg-oct4 .lvg-hint-peek{position:absolute;z-index:3;inset:3%;display:grid;place-items:center;background:#eee7d5;pointer-events:none;border-radius:3px;animation:lvg-peek 1.45s ease-in-out forwards}
.lvg-oct4 .lvg-hint-peek .lvg-picture{width:92%}
@keyframes lvg-peek{0%{opacity:0;transform:scale(.92)}20%,55%{opacity:1;transform:scale(1)}38%{transform:scale(1.065)}68%{opacity:1;transform:scale(1.02)}100%{opacity:0;transform:scale(1)}}
.lvg-oct4 .lvg-cell.is-drag-source>.lvg-picture{opacity:.3}
.lvg-oct4 .lvg-cell.is-drop-target{box-shadow:inset 0 0 0 3px #318776;background:#7bd5c93a}
.lvg-oct4 .lvg-cell.is-swap-target{box-shadow:inset 0 0 0 3px #b18739;background:#edcf773b}
.lvg-oct4 .lvg-grid.is-clear-preview{box-shadow:0 0 0 3px #b8664d66}
.lvg-drag-ghost{position:fixed;z-index:100;transform:translate(-50%,-50%);pointer-events:none;width:55px;height:55px;filter:drop-shadow(0 3px 4px #16374860)}
.lvg-drag-ghost .lvg-picture{width:100%;height:100%;background:#fff3dcdd}
.lvg-drag-ghost.is-clear-preview{opacity:.35;filter:grayscale(.7) drop-shadow(0 0 3px #ac554c)}
.lvg-oct4.lvg-grid-game .lvg-frame-hud{top:47%;left:20%;width:60%;font-size:clamp(22px,6.2cqw,29px);line-height:1.1}
.lvg-oct4.lvg-grid-game .lvg-frame-hud b,.lvg-oct4.lvg-grid-game .lvg-frame-hud time{font-weight:800;white-space:nowrap}
.lvg-oct4.lvg-grid-game .lvg-frame-footer{background-image:url('./game-art/mini-grid-sapphire-v2-footer.webp')}
.lvg-oct4.lvg-grid-game .lvg-entry{left:12.6%;width:35%}
.lvg-oct4 .lvg-frame-footer .lvg-sound{left:2%;top:auto;bottom:3%;width:31%;height:44px;min-height:44px;border-radius:0;background:center/100% 100% no-repeat;box-shadow:none}
.lvg-oct4 .lvg-frame-footer .lvg-sound[aria-pressed='false']{box-shadow:none}
.lvg-oct4 .lvg-frame-footer .lvg-sound:after{display:none!important}
.lvg-oct4.lvg-grid-game .lvg-frame-footer .lvg-sound[data-audio-mode='off']{background-image:url('./game-art/mini-grid-sapphire-v2-sound-off.webp')}
.lvg-oct4.lvg-grid-game .lvg-frame-footer .lvg-sound[data-audio-mode='effects']{background-image:url('./game-art/mini-grid-sapphire-v2-sound-effects.webp')}
.lvg-oct4.lvg-grid-game .lvg-frame-footer .lvg-sound[data-audio-mode='music']{background-image:url('./game-art/mini-grid-sapphire-v2-sound-music.webp')}
.lvg-oct4.lvg-line-game .lvg-frame-footer .lvg-sound[data-audio-mode='off']{background-image:url('./game-art/line-up-seaglass-v2-sound-off.webp')}
.lvg-oct4.lvg-line-game .lvg-frame-footer .lvg-sound[data-audio-mode='effects']{background-image:url('./game-art/line-up-seaglass-v2-sound-effects.webp')}
.lvg-oct4.lvg-line-game .lvg-frame-footer .lvg-sound[data-audio-mode='music']{background-image:url('./game-art/line-up-seaglass-v2-sound-music.webp')}
.lvg-oct4.lvg-grid-game .lvg-frame-counts{left:35%;width:62%;top:88%}
.lvg-oct4.lvg-line-game .lvg-header{height:27cqw}
.lvg-oct4.lvg-line-game .lvg-frame-footer{height:27cqw;min-height:94px}
.lvg-oct4.lvg-line-game .lvg-line{height:26cqw;top:1%;left:3%;width:94%}
.lvg-oct4.lvg-line-game .lvg-token .lvg-picture{width:90%;height:18cqw;max-height:72%;margin:0;overflow:visible}
.lvg-oct4.lvg-line-game .lvg-token b{top:auto;bottom:0;left:0;width:100%;height:6cqw;display:flex;align-items:center;justify-content:center;background:#efe2c6eb;border:1px solid #acb7a0;border-radius:5px;font-size:clamp(9px,2.65cqw,12px);line-height:1.05;white-space:nowrap;overflow:hidden;padding:1px}
.lvg-oct4.lvg-line-game .lvg-clues{top:29cqw;bottom:3%;left:2%;width:96%;gap:3px;grid-auto-rows:minmax(0,1fr);align-content:stretch}
.gs-portal .lvg-oct4.lvg-line-game .lvg-clues li,.lvg-oct4.lvg-line-game .lvg-clues li{min-height:0;padding:0;gap:2px;position:relative}
.lvg-oct4.lvg-line-game .lvg-clues li:before{flex-basis:12px;width:12px;font-size:10px}
.lvg-oct4.lvg-line-game .lvg-clues li>span:not(.lvg-rule-strip):not(.lvg-sr-only){width:12px;flex:none;position:absolute;left:0;background:#eddfc5;border-radius:3px;text-align:center;z-index:2;font-size:12px}
.lvg-oct4 .lvg-rule-strip{position:relative;display:block;width:calc(100% - 14px);aspect-ratio:1024/192;max-height:100%;flex:none;min-width:0}
.lvg-oct4 .lvg-rule-art{display:block;width:100%;height:100%;object-fit:fill}
.lvg-oct4 .lvg-rule-well{position:absolute;top:50%;width:12.5%;aspect-ratio:1;transform:translate(-50%,-50%);display:grid;place-items:center}
.lvg-oct4 .lvg-rule-well .lvg-picture{width:100%;height:100%;margin:0;background:transparent;border-radius:0;overflow:visible}
.lvg-oct4 .lvg-cutout-art,.lvg-oct4 .lvg-cutout-art img{display:block;width:100%;height:100%;object-fit:contain;background:transparent;border-radius:0}
.lvg-oct4-pause{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.lvg-central-resume{width:78%;max-width:300px;margin:0;border:0;padding:0;background:transparent;min-height:100px;cursor:default}
.lvg-central-resume img{display:block;width:100%;height:auto}
.lvg-pause-actions{display:flex;gap:14px}
.lvg-pause-actions button{width:110px;min-width:88px;min-height:44px;padding:0;background:transparent;color:#174e54;border:0;border-radius:0;font-weight:700}
.lvg-pause-actions button img{display:block;width:100%;height:44px;object-fit:contain}

/* Phone follow-up: use the wells and cream plaques already painted in the
   p7 sea-glass body. Older Line Up frames and Mini Grid keep their geometry. */
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-line{top:0;left:.8%;width:98%;height:35.5cqw;gap:1%}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-token{min-height:44px;overflow:visible}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-token .lvg-picture{position:absolute;top:10.3cqw;left:9%;width:82%;height:17cqw;max-height:none;margin:0;aspect-ratio:auto;overflow:visible}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-token b{top:29.7cqw;bottom:auto;left:9%;width:82%;height:4.7cqw;min-height:0;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;display:flex;align-items:center;justify-content:center;font-size:clamp(8px,2.25cqw,10px);line-height:1.08;white-space:normal;overflow-wrap:normal;text-wrap:balance;color:#174e54}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-token.is-selected:after{inset:8.4cqw 2% 7cqw;border-radius:44%;box-shadow:inset 0 0 0 2px #166a75,0 0 5px #d4ffff}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-rule-well .lvg-picture{position:relative}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-cutout-art{position:absolute;inset:0;display:block}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-cutout-crop{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);overflow:hidden}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-cutout-crop img{position:absolute;max-width:none;object-fit:fill}
/* Slice the same approved body once at the bottom of the plaques. A full
   stretched copy underneath the fixed top otherwise paints a second row. */
.gs-portal .lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-main,.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-main{background:none;isolation:isolate}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-main:before{height:37.1cqw;z-index:-1}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-main:after{content:'';position:absolute;inset:37.1cqw 0 0;z-index:-1;pointer-events:none;background:var(--lvg-frame-prefix) center bottom/100% 143% no-repeat}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-line,.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-clues{z-index:1}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-clues{top:43cqw;bottom:8%;left:6%;width:88%;gap:4px;container-type:size;grid-template-rows:repeat(var(--lvg-clue-count),minmax(0,max-content));grid-auto-rows:auto;align-content:center}
.gs-portal .lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-clues li,.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-clues li{min-height:0;height:auto;margin:0;padding:0;gap:2px;justify-content:center;align-items:center}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-clues li:before{position:absolute;left:-8px;flex-basis:10px;width:10px;height:14px;font-size:9px}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-clues li>span:not(.lvg-rule-strip):not(.lvg-sr-only){left:-9px;width:12px}
.lvg-approved-frame.lvg-oct4.lvg-line-game .lvg-rule-strip{width:min(100%,calc((100cqh - (var(--lvg-clue-count) - 1)*4px)/var(--lvg-clue-count)*1024/192));height:auto;max-height:100%;aspect-ratio:1024/192;flex:none}

/* Seven clues need more of a short phone's height. Crop only the header's
   decorative ocean, compact the fixed top band, and retain two 44px footer
   control rows. The regular phone composition stays exactly as above. */
@media(max-height:700px){
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-header{height:19cqw;background-size:100% 27cqw;background-position:center top;overflow:hidden}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-frame-hud{top:9.18cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-header .lvg-frame-back{top:2.97cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-header .lvg-play,.lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-header .lvg-frame-info{top:2.89cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-main:before{height:30.8cqw;background-size:100% 102.25cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-main:after{top:30.8cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-line{height:29.5cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-token .lvg-picture{top:8.55cqw;height:14.11cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-token b{top:24.65cqw;height:3.91cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-token.is-selected:after{inset:6.97cqw 2% 5.81cqw}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-clues{top:35.7cqw;bottom:5%;gap:2px}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-rule-strip{width:min(100%,calc((100cqh - (var(--lvg-clue-count) - 1)*2px)/var(--lvg-clue-count)*1024/192))}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-frame-footer{height:88px;min-height:88px}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-actions{top:0;height:44px}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-frame-footer .lvg-sound{bottom:0;height:44px}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-frame-counts{top:53%;left:35%;width:62%}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-feedback{top:70%;left:35%;width:62%;font-size:10px}
  .lvg-approved-frame.lvg-oct4.lvg-line-game.lvg-dense-clues .lvg-error{top:70%;left:35%;width:62%;font-size:10px}
}

/* The existing Mini Grid footer carries its charge and remaining-space receipts. */
.lvg-check-price{display:block;font-size:11px;line-height:1.2}
.lvg-approved-frame.lvg-grid-game .lvg-actions button{position:relative}
.lvg-approved-frame.lvg-grid-game .lvg-check-price{position:absolute;top:94%;left:0;width:100%;font-size:12px!important;line-height:1.2;color:#153b56;white-space:nowrap}
.lvg-oct4.lvg-grid-game .lvg-frame-counts{top:81.5%;font-size:12px}
.lvg-oct4.lvg-grid-game .lvg-feedback{top:81.5%;bottom:auto;left:50%;width:47%;font-size:12px;line-height:1.2}
.lvg-lessons figure{margin:16px 0 0}.lvg-lessons figcaption{font-size:13px;line-height:1.3;margin-bottom:6px}
.lvg-lesson-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:min(100%,260px);margin:8px auto;border:2px solid #174e54;background:#fff9ec}
.lvg-lesson-grid>span{display:flex;align-items:center;justify-content:center;aspect-ratio:1;min-width:0;border-right:1px solid #b2bcac;border-bottom:1px solid #b2bcac;font-size:22px;font-weight:800;color:#174e54}
.lvg-lesson-grid .box-right{border-right:3px solid #174e54}.lvg-lesson-grid .box-bottom{border-bottom:3px solid #174e54}
.lvg-lesson-grid>span.is-target{outline:3px solid #174e54;outline-offset:-4px}
.lvg-lesson-grid .lvg-picture{width:84%;height:84%;background:transparent}

.lvg-approved-frame.lvg-grid-game .lvg-help-top{position:sticky;top:0;z-index:3;background:#f5ebd7}

/* Practice p10 keeps the purchased answer visible and readable until placed. */
.lvg-fair-grid .lvg-hint-peek{animation:none;opacity:1;transform:none}
.lvg-oct4.lvg-fair-grid .lvg-feedback{left:35%;width:62%;top:81.5%;line-height:1.2}
.lvg-approved-frame .lvg-frame-footer>[data-action="retry-pause"]{position:absolute;z-index:2;left:22%;top:48%;width:66%;min-height:44px;background:#f4e9d2;color:var(--lvg-ink);border:2px solid currentColor;border-radius:10px;font-size:14px!important}
