/* Calm Games · shell chrome: motion tokens, lobby (hero + grid), style menu, settings, tooltips, page transitions.
   Rules: docs/cg/MOTION-RULES.md (tight corners, hover only on fine pointers, transform/opacity only, one accent per view). */
:root {
  --t-hover: 80ms; --t-press: 100ms; --t-tip: 120ms; --t-enter: 220ms; --t-view: 300ms; --t-exit: 140ms;
  --e-out: cubic-bezier(.23, 1, .32, 1); --e-move: cubic-bezier(.77, 0, .175, 1); --e-arrive: cubic-bezier(.16, 1, .3, 1);
  --r-tip: 3px; --r-btn: 4px; --r-card: 6px;
  --hair: color-mix(in srgb, var(--g-ink) 13%, transparent);
  --surface-2: color-mix(in srgb, var(--g-ink) 6%, var(--g-panel));
  --lift: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 24px -6px rgba(0, 0, 0, .16);
  --chrome: 400 13.5px/1.3 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
[data-style="pixel"] { --r-tip: 0; --r-btn: 0; --r-card: 0; }

/* ── page transitions: lobby thumb → game stage (one named element at a time, set on click by lobby.js) ── */
@view-transition { navigation: auto; }
::view-transition-group(cg-stage) { animation-duration: var(--t-view); animation-timing-function: var(--e-move); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--t-exit); animation-timing-function: var(--e-out); }
body.game .stage { view-transition-name: cg-stage; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* hidden always hides: .btn, .style-pop and friends set their own display */
[hidden] { display: none !important; }

/* ── focus: rings only after Tab (html.tabbing, engine/game.js), accent-2, never the selected colour ── */
:focus-visible { outline: 2px solid var(--g-accent-2); outline-offset: 2px; }
:root:not(.tabbing) :focus-visible { outline: none; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 14px; font: var(--chrome); font-weight: 500;
  border: 1px solid var(--hair); border-radius: var(--r-btn); background: var(--g-panel); color: var(--g-ink); cursor: pointer; text-decoration: none;
  transition: background-color var(--t-hover) var(--e-out), border-color var(--t-hover) var(--e-out), color var(--t-hover) var(--e-out), transform var(--t-press) var(--e-out); }
.btn:active, .btn.pressed { transform: scale(.97); }
.btn.primary { background: var(--g-accent); border-color: var(--g-accent); color: var(--g-halo); }
.btn.quiet, .btn.link { background: transparent; border-color: transparent; color: var(--g-ink-2); }
.btn.link { padding-inline: 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hair); }
.btn.icon { width: 36px; padding: 0; }
.btn svg, .icon-btn svg { width: 16px; height: 16px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--g-ink) 22%, transparent); }
  .btn.primary:hover { background: color-mix(in srgb, var(--g-accent) 86%, var(--g-ink)); border-color: transparent; }
  .btn.quiet:hover, .btn.link:hover { background: var(--surface-2); color: var(--g-ink); border-color: transparent; }
}
.icon-btn, .style-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: var(--r-btn);
  background: transparent; color: var(--g-ink-2); cursor: pointer; font: var(--chrome);
  transition: background-color var(--t-hover) var(--e-out), border-color var(--t-hover) var(--e-out), color var(--t-hover) var(--e-out), transform var(--t-press) var(--e-out); }
.icon-btn:active, .style-btn:active { transform: scale(.97); }
.icon-btn[aria-expanded="true"], .styles-bar.open .style-btn { background: var(--surface-2); border-color: var(--hair); color: var(--g-ink); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover, .style-btn:hover { background: var(--surface-2); color: var(--g-ink); } }
@media (pointer: coarse) { .icon-btn, .style-btn { width: 44px; height: 44px; } }

/* ── top bar ── */
.lobby-page .topbar { padding: 14px 0 4px; }
.brand { font: var(--g-font-display); font-size: 19px; letter-spacing: -.01em; gap: 9px; text-decoration: none; }
.brand .mark { width: 20px; height: 20px; border-radius: var(--r-btn); transition: transform var(--t-press) var(--e-out); }
.brand:active .mark { transform: scale(.9); }
.tools { display: flex; align-items: center; gap: 2px; }
.styles-bar, .set-wrap { position: relative; }
.style-btn .sw { width: 18px; height: 18px; border-width: 0; pointer-events: none; }
.styles-bar .sw.home { background: conic-gradient(#f3f2ef 0 50%, #1d2226 50% 75%, #d9480f 75% 100%); }
.styles-bar .sw.home::after { content: none; }

/* ── popovers: style menu + settings (grow from their button, exit faster than they enter) ── */
.style-pop, .set-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; background: var(--g-panel); color: var(--g-ink); font: var(--chrome);
  border: 1px solid var(--hair); border-radius: var(--r-card); box-shadow: var(--lift); transform-origin: top right; animation: cg-pop var(--t-enter) var(--e-out); }
@keyframes cg-pop { from { opacity: 0; transform: translateY(-4px) scale(.96); } }
.style-pop { display: grid; grid-template-columns: repeat(6, 26px); gap: 8px; padding: 10px; }
.style-pop .sw, .set-pop .sw { width: 26px; height: 26px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: conic-gradient(var(--sw1) 0 50%, var(--sw2) 50% 80%, var(--sw3) 80% 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
  transition: transform var(--t-press) var(--e-out), box-shadow var(--t-hover) var(--e-out); }
.style-pop .sw.on, .set-pop .sw.on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 2px var(--g-panel), 0 0 0 3.5px var(--g-ink); }
.style-pop .sw:active, .set-pop .sw:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .style-pop .sw:hover, .set-pop .sw:hover { transform: scale(1.1); } }
.style-pop .all { grid-column: 1 / -1; justify-self: start; margin: 0 -4px -4px; padding: 4px; font-size: 12.5px; color: var(--g-ink-2); text-decoration: none; border-radius: var(--r-btn); }
@media (hover: hover) and (pointer: fine) { .style-pop .all:hover { color: var(--g-ink); background: var(--surface-2); } }

.set-pop { width: 300px; padding: 4px 0 0; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 4px 12px; }
.set-row > .k { color: var(--g-ink-2); white-space: nowrap; }
.set-row.swatches { flex-wrap: wrap; justify-content: flex-start; gap: 5px; min-height: 0; padding: 0 12px 10px; }
.set-row.k-only { min-height: 30px; padding-bottom: 2px; }
.set-row.swatches .sw { width: 20px; height: 20px; }
.set-row .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--hair); border-radius: var(--r-btn); }
.seg button { min-height: 26px; padding: 2px 9px; border: 0; border-radius: 2px; background: transparent; color: var(--g-ink-2); font: inherit; cursor: pointer;
  transition: background-color var(--t-hover) var(--e-out), color var(--t-hover) var(--e-out); }
.seg button[aria-pressed="true"] { background: var(--g-ink); color: var(--g-panel); }
@media (hover: hover) and (pointer: fine) { .seg button:not([aria-pressed="true"]):hover { background: var(--surface-2); color: var(--g-ink); } }
.set-fresh { margin-top: 4px; padding: 8px 12px 9px; border-top: 1px solid var(--hair); font-size: 12px; color: var(--g-ink-2); }
.set-fresh.stale { color: var(--g-accent); }
@media (max-width: 520px) {
  .set-pop { position: fixed; left: 8px; right: 8px; top: 58px; width: auto; transform-origin: top center; }
  .style-pop { position: fixed; left: 8px; right: 8px; top: 58px; grid-template-columns: repeat(6, 1fr); justify-items: center; }
  .style-pop .sw { width: 32px; height: 32px; }
}

/* ── lobby: one picked game first, the grid is the optional manual route ── */
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: end; margin: 10px 0 34px; }
.hero-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--hair);
  background: var(--g-panel); box-shadow: var(--lift); }
.thumb > canvas, .thumb > .mount { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform 200ms var(--e-out); }
.hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 4px; min-width: 0; }
.hero-name { font: var(--g-font-display); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.02em; overflow-wrap: anywhere; cursor: default; }
.hero-act { display: flex; align-items: center; gap: 6px; }
.hero-act .play { min-width: 120px; min-height: 42px; font-size: 15px; }
.hero-act .shuffle { width: 42px; min-height: 42px; }
.hero.is-all { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 30px; }
.hero.is-all .all-n { font: var(--g-font-display); font-size: 30px; letter-spacing: -.01em; }
@media (hover: hover) and (pointer: fine) { .hero-thumb:hover > canvas, .hero-thumb:hover > .mount { transform: scale(1.02); } }

#lobby .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px 14px; padding: 0 0 48px; }
.gcard { display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: var(--g-panel); color: inherit; text-decoration: none;
  border: 1px solid var(--hair); border-radius: var(--r-card); box-shadow: none; grid-template-columns: none;
  transition: transform 200ms var(--e-out), border-color var(--t-hover) var(--e-out), box-shadow 200ms var(--e-out), opacity 200ms var(--e-out), filter 200ms var(--e-out);
  animation: cg-card-in var(--t-enter) var(--e-out) backwards; animation-delay: min(calc(var(--i, 0) * 40ms), 180ms); }
@keyframes cg-card-in { from { opacity: 0; transform: translateY(8px); } }
#lobby.re .gcard { animation: none; }
.gcard .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--g-panel); }
.gcard .name { display: flex; align-items: center; gap: 6px; padding: 8px 10px 9px; border-top: 1px solid var(--hair); font: var(--chrome); font-size: 14px; font-weight: 500; white-space: nowrap; }
.gcard .name .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* the tagline: tooltips carry it on a mouse; touch screens and narrow windows show it on the card */
.gcard .tag { display: none; }
@media (hover: none), (max-width: 760px) {
  .gcard .name { padding-bottom: 3px; }
  .gcard .tag { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 0 10px 9px; font: var(--chrome); font-size: 12px; line-height: 1.35; color: var(--g-ink-2); }
}
.hero-head { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hero-tag { margin: 0; max-width: 34ch; font: var(--chrome); font-size: 15px; line-height: 1.4; color: var(--g-ink-2); text-wrap: pretty; }
/* stars a round earned (onEnd({stars})): lit in the accent, the rest faint */
.stars { display: inline-flex; gap: 1px; font-size: 12px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.stars i { font-style: normal; }
.stars .on { color: var(--g-accent); }
.stars .off { color: color-mix(in srgb, var(--g-ink) 22%, transparent); }
.gcard.is-done .card-stars { margin-left: auto; filter: none; }
.gcard.has-stars .name::after { content: none; }
.gcard:active { transform: scale(.98); }
.game-tile { position: relative; min-width: 0; }
.game-tile > .gcard { height: 100%; }
.game-favorite { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--hair); border-radius: var(--r-btn); background: var(--g-panel); color: var(--g-ink-2); cursor: pointer;
  transition: opacity var(--t-hover) var(--e-out), color var(--t-hover) var(--e-out), transform var(--t-press) var(--e-out); }
.game-favorite svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.game-favorite[aria-pressed="true"] { color: var(--g-accent); }
.game-favorite[aria-pressed="true"] svg { fill: currentColor; }
.game-favorite:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) {
  .game-favorite { opacity: 0; }
  .game-tile:hover .game-favorite, .game-tile:focus-within .game-favorite, .game-tile.is-favorite .game-favorite { opacity: 1; }
}
@media (pointer: coarse) { .game-favorite { width: 44px; height: 44px; } }
.gcard.is-pick { border-color: color-mix(in srgb, var(--g-accent) 45%, var(--hair)); }
.gcard.is-done { opacity: .62; filter: grayscale(.55); }
.gcard.is-done .name::after { content: "✓"; margin-left: 6px; color: var(--g-ink-2); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .gcard:hover { transform: translateY(-3px); border-color: var(--g-accent); box-shadow: var(--lift); opacity: 1; filter: none; }
  .gcard:hover .thumb > canvas, .gcard:hover .thumb > .mount { transform: scale(1.04); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 14px; margin: 6px 0 26px; }
  .hero-thumb { aspect-ratio: 4 / 3; }
  .hero-side { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .hero-name { font-size: 30px; }
  .hero-act .play { min-width: 84px; }
  .hero-head { gap: 3px; }
  .hero-tag { font-size: 13.5px; }
  #lobby .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .gcard .name { font-size: 13.5px; padding: 7px 9px 8px; }
}

/* ── tooltips (engine/tip.js positions with transform; enter = opacity + 4 px away from the anchor) ── */
.cg-tip { position: fixed; left: 0; top: 0; z-index: 1000; max-width: 280px; padding: 6px 9px; border-radius: var(--r-tip); pointer-events: none;
  background: color-mix(in srgb, var(--g-ink) 94%, transparent); color: var(--g-panel); font: 12.5px/1.4 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18); opacity: 0; translate: 0 4px; text-wrap: pretty;
  transition: opacity 80ms var(--e-out), translate 80ms var(--e-out); }
.cg-tip.below { translate: 0 -4px; }
.cg-tip.on { opacity: 1; translate: 0 0; transition-duration: var(--t-tip); }
.cg-tip.instant { transition: none; }
.cg-tip kbd { display: inline-block; min-width: 1.5em; padding: 1px 4px; border-radius: 2px; text-align: center; font: 11px/1.3 var(--mono);
  background: color-mix(in srgb, var(--g-panel) 18%, transparent); color: inherit; }

/* ── game bar (game.html): small icon buttons, every one with a tooltip ── */
.gbar .back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; margin-left: -8px; border-radius: var(--r-btn); font: var(--chrome);
  transition: background-color var(--t-hover) var(--e-out), color var(--t-hover) var(--e-out); }
@media (hover: hover) and (pointer: fine) { .gbar .back:hover { background: var(--surface-2); color: var(--g-ink); } }
.gbar .r { gap: 2px; }
.gbar .r .hint { margin-right: 8px; }
.gbar .icon-btn.off { opacity: .5; }

/* ── sign-in (engine/account.js): a quiet word next to the gear; one line under the end panel's buttons ── */
.acct { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 9px; border: 1px solid transparent; border-radius: var(--r-btn);
  background: transparent; color: var(--g-ink-2); font: var(--chrome); white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-hover) var(--e-out), color var(--t-hover) var(--e-out), transform var(--t-press) var(--e-out); }
.acct:active { transform: scale(.97); }
.acct.is-me { width: 26px; height: 26px; margin: 0 5px; padding: 0; border-color: var(--hair); border-radius: 50%; color: var(--g-ink); font-weight: 600; font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .acct:hover { background: var(--surface-2); color: var(--g-ink); } }
.acct svg { width: 16px; height: 16px; flex: none; margin-right: 5px; }
.gbar .r > :not(.hint) { flex: none; } /* icons keep their size; a long game name gives way instead (below) */
.gbar h1 { min-width: 0; overflow: hidden; display: flex; align-items: baseline; }
.gbar h1 .g-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* the name gives way last, as «Constell…» */
.gbar h1 .num { flex: none; } /* the level button is never cut */
/* touch: both are 44 px tap targets; signed in, the same 26 px ring is drawn inside (it was a 26 px target between 44 px icons) */
@media (pointer: coarse) { .acct.is-in { height: 44px; }
  .acct.is-me { position: relative; width: 44px; height: 44px; margin: 0; border-color: transparent; }
  .acct.is-me::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--hair); border-radius: 50%; pointer-events: none; } }
/* phones: the person glyph alone; signed in, the initial (both keep their room: a long game name ends in «…» instead) */
@media (max-width: 640px) { .gbar .acct.is-in { width: 44px; padding: 0; } .gbar .acct .lbl { display: none; } .gbar .acct svg { margin: 0; }
  .gbar .r { flex-shrink: 0; } .gbar .back { flex: none; white-space: nowrap; } }
.gbar.tight .l { gap: 6px; }
.gbar.no-num h1 .num:not(.lv-open) { display: none; } /* the day number gives way first; the level button and the corner never do */
.gbar.no-mute #mute { display: none; } /* Settings keeps Sound on/off; New board and the corner never step aside */
.gbar.tight .back { font-size: 0; padding-inline: 10px; } /* the words stay for screen readers and the tip */
.gbar.tight .back::before { content: "←"; font-size: 17px; line-height: 1; }
.end .end-auth { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--hair);
  font: var(--chrome); color: var(--g-ink-2); }
.overlay.is-end .end .end-auth { grid-column: 1 / -1; }
.end .end-auth .btn { min-height: 30px; padding: 4px 6px; font-weight: 400; border-color: transparent; background: transparent; box-shadow: none; } /* plain words in every style pack */
.end .end-auth > .btn:first-child { margin-left: -6px; }
.end .end-auth .a-in { color: var(--g-ink); }
.end .end-auth .a-later { margin-left: auto; }
.end .end-auth .a-guest { flex-basis: 100%; line-height: 1.45; margin-bottom: 4px; color: var(--g-ink-2); }

@media (prefers-reduced-motion: reduce) {
  .gcard, .style-pop, .set-pop { animation: none; }
  .gcard:hover, .gcard:active { transform: none; }
  .thumb > canvas, .thumb > .mount { transition: none; }
}

/* ── round 4: big boards (engine/camera.js), the level ladder, a new board ── */
.stage.is-wide { width: min(100%, 1440px); }
.cam-btns { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 6; display: flex; flex-direction: column; gap: 6px; opacity: .72; transition: opacity .2s; }
.cam-btns:hover, .cam-btns:focus-within { opacity: 1; }
.cam-btns.at-top { top: 56px; transform: none; }
.cam-btns.at-bottom { top: auto; bottom: calc(10px + var(--end-h, 0px)); transform: none; }
.cam-btn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; font: 500 18px/1 var(--chrome-face, -apple-system, "Helvetica Neue", Arial, sans-serif);
  border: 1px solid var(--hair); border-radius: var(--r-btn); background: color-mix(in srgb, var(--g-panel) 88%, transparent); color: var(--g-ink-2); cursor: pointer;
  transition: background-color var(--t-hover) var(--e-out), transform var(--t-press) var(--e-out); }
.cam-btn:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .cam-btn:hover { background: var(--surface-2); color: var(--g-ink); } }
@media (pointer: coarse) { .cam-btn { width: 44px; height: 44px; } }
.gbar h1 .lv-open { font: inherit; font-size: inherit; font-weight: 500; color: var(--g-ink-2); margin-left: .3em; padding: 2px 6px; border: 1px solid transparent;
  border-radius: var(--r-btn); background: transparent; cursor: pointer; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: baseline; }
@media (hover: hover) and (pointer: fine) { .gbar h1 .lv-open:hover { background: var(--surface-2); border-color: var(--hair); color: var(--g-ink); } }
@media (max-width: 640px) { .gbar h1 .lv-open .lv-name { display: none; } }
.lv-sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, var(--g-bg, #000) 45%, transparent); }
.lv-box { width: min(720px, 100%); max-height: min(86vh, 900px); display: flex; flex-direction: column; background: var(--g-panel); color: var(--g-ink);
  border: 1px solid var(--hair); border-radius: var(--r-card); box-shadow: var(--lift); overflow: hidden; }
.lv-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 10px 16px; border-bottom: 1px solid var(--hair); }
.lv-head h2 { font-size: 17px; margin: 0; }
.lv-sum { font: var(--chrome); color: var(--g-ink-2); margin-right: auto; }
.lv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; padding: 12px; overflow: auto; }
.lv-cell { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: baseline; min-height: 52px; padding: 8px 10px;
  border: 1px solid var(--hair); border-radius: var(--r-btn); color: var(--g-ink); text-decoration: none; font: var(--chrome); background: transparent; }
.lv-cell .lv-n { font-weight: 600; color: var(--g-ink-2); font-variant-numeric: tabular-nums; }
.lv-cell .lv-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-grid .lv-ch { grid-column: 1 / -1; margin: 10px 2px 0; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--g-ink-2); }
.lv-grid .lv-ch:first-child { margin-top: 0; }
.lv-cell .lv-st { grid-column: 2; font-size: 12px; color: var(--g-accent); }
.lv-cell.is-done { background: var(--surface-2); }
.lv-cell.is-next { border-color: var(--g-accent); }
.lv-cell.is-current { outline: 2px solid var(--g-accent-2); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .lv-cell:hover { border-color: var(--g-ink-2); } }
