* { box-sizing: border-box; }
:root {
  --player-tab-score-grey: #17202b;
  --player-tab-score-yellow: #17202b;
  --player-tab-score-blue: #17202b;
  --player-tab-score-green: #17202b;
  --player-tab-score-pink: #17202b;
  --player-tab-score-outline: #fff9;
}
:root[data-theme="light"] {
  --player-tab-score-grey: #fff;
  --player-tab-score-yellow: #fff;
  --player-tab-score-blue: #fff;
  --player-tab-score-green: #fff;
  --player-tab-score-pink: #fff;
  --player-tab-score-outline: #101827;
}
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at top, var(--page-highlight), transparent 700px), var(--page); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button { color: inherit; font: inherit; }
.theme-picker { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .72rem; }
.theme-picker select { min-height: 44px; padding: 0 8px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--ink); font: inherit; font-weight: 700; }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.app-shell { width: min(100%, 1120px); min-height: 100svh; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom)); }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
h1, h2, p { margin: 0; }
h1 { font-size: 1.55rem; letter-spacing: -.04em; font-weight: 900; }
.game-title { display: flex; align-items: baseline; gap: 6px; }
.variant-label { padding: 2px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .06em; }
.game-definition { display: none; }
.round { color: var(--muted); font-size: .9rem; text-align: right; }
.round strong { display: block; color: var(--ink); font-size: 1rem; }
.phase-status { display: block; margin-top: 3px; color: var(--accent); font-size: .78rem; font-weight: 800; }
.turn-card, .score-card { background: linear-gradient(145deg, var(--panel-raised), var(--panel) 70%); box-shadow: var(--elevation); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 14px; }
.turn-card { display: grid; gap: 8px; }
.turn-card.is-bot-active { border-color: color-mix(in srgb, var(--accent) 62%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent), var(--elevation); }
.turn-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.turn-primary-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.turn-primary-actions .game-control { min-width: 44px; min-height: 44px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-raised); color: var(--ink); }
.turn-primary-actions #roll.game-control:not([hidden]) { position: relative; display: inline-grid; grid-template-columns: 1fr; justify-items: center; width: 50px; min-width: 50px; min-height: 50px; padding: 4px; border: 1px solid #ffe2a0; border-radius: 10px; background: linear-gradient(180deg, #ffd978 0 70%, #f4b942 70%); color: #3b2108; box-shadow: 0 3px 0 #845221, inset 0 1px 0 #fff6cf; }
.turn-primary-actions #roll.game-control:active { transform: translateY(3px); box-shadow: 0 1px 0 #845221, inset 0 1px 0 #fff6cf; }
.turn-primary-actions #roll.game-control:disabled { box-shadow: none; opacity: .55; }
.turn-primary-actions #roll.game-control svg { width: 30px; height: 30px; }
.turn-primary-actions #roll.game-control .game-control__text { display: none; }
.control-help .turn-primary-actions #roll.game-control .game-control__text { display: block; position: absolute; top: calc(100% + 5px); right: 0; z-index: 2; padding: 5px 8px; border-radius: 7px; background: var(--panel-raised); box-shadow: var(--elevation); white-space: nowrap; }
.control-help .turn-primary-actions #roll.game-control .game-control__meaning { display: block; }
.turn-primary-actions #pass-roll.game-control:not([hidden]) { position: relative; display: inline-grid; grid-template-columns: 1fr; justify-items: center; width: 50px; min-width: 50px; min-height: 50px; padding: 4px; }
.turn-primary-actions #pass-roll.game-control .game-control__text { display: none; }
.control-help .turn-primary-actions #pass-roll.game-control .game-control__text { display: block; position: absolute; top: calc(100% + 5px); right: 0; z-index: 2; padding: 5px 8px; border-radius: 7px; background: var(--panel-raised); box-shadow: var(--elevation); white-space: nowrap; }
.control-help .turn-primary-actions #pass-roll.game-control .game-control__meaning { display: block; }
.turn-primary-actions .game-control:not(#roll):not(#pass-roll) { width: 46px; min-width: 46px; min-height: 46px; padding: 4px; }
.control-help .turn-primary-actions { flex-wrap: wrap; justify-content: flex-end; }
.control-help .turn-primary-actions .game-control:not(#roll):not(#pass-roll) { width: auto; max-width: 110px; }
.turn-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.turn-name { margin-left: 6px; font-size: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dice-groups { --gameplay-die-size: clamp(38px, 12vw, 54px); display: flex; gap: 4px; align-items: stretch; overflow: hidden; }
.dice-group { display: grid; flex: 0 1 auto; align-content: start; gap: 5px; min-width: 46px; padding: 7px 5px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, var(--panel-raised), var(--panel-inset)); }
.dice-group[hidden] { display: none; }
.dice-group--selected { border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); }
.dice-group--selectable { border-color: color-mix(in srgb, #5bb9ff 45%, var(--line)); }
.dice-group--selectable { flex: 1 1 auto; }
.dice-group--silver { border-color: color-mix(in srgb, #dce5ef 42%, var(--line)); }
.dice-group__heading { color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dice { display: flex; flex-wrap: nowrap; align-content: flex-start; gap: 3px; min-height: 42px; }
.die { display: grid; width: var(--gameplay-die-size); aspect-ratio: 1; flex: 0 0 var(--gameplay-die-size); place-items: center; min-width: 0; padding: 0; border: 0; background: transparent; cursor: pointer; touch-action: manipulation; transition: transform .12s ease, filter .12s ease; }
.bonus-inventory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.bonus-inventory[hidden] { display: none; }
button.bonus-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px; min-height: 58px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, var(--panel-raised), var(--panel)); box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent); color: var(--ink); cursor: pointer; touch-action: manipulation; }
.bonus-tile__icon { width: 28px; height: 28px; justify-self: center; color: var(--accent); }
.bonus-tile__meaning { display: none; grid-column: 1 / -1; font-size: .68rem; font-weight: 800; line-height: 1.1; text-align: center; }
.bonus-tile__count { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .8rem; }
button.bonus-tile[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-surface); }
button.bonus-tile:disabled { cursor: not-allowed; opacity: .45; }
button.bonus-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.control-help button.bonus-tile { min-height: 70px; }
.control-help .bonus-tile__meaning { display: block; }
.rc-d8 { --d8-hi: #69c9ff; --d8-mid: #1677dd; --d8-low: #0750a7; --d8-deep: #032d67; --d8-edge: #8bdcff; --d8-face: #0c65c9; --d8-value: #fff; display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 7px 6px #0008); }
.rc-d8--grey { --d8-hi: #e9eef5; --d8-mid: #aeb8c6; --d8-low: #778392; --d8-deep: #424d5b; --d8-edge: #f7f9fc; --d8-face: #c4ccd8; --d8-value: #18212d; }
.rc-d8--yellow { --d8-hi: #ffe472; --d8-mid: #e5a91d; --d8-low: #a66a00; --d8-deep: #613900; --d8-edge: #fff0a1; --d8-face: #e9b92f; --d8-value: #241600; }
.rc-d8--green { --d8-hi: #7df3a1; --d8-mid: #1dbb55; --d8-low: #08752e; --d8-deep: #03441c; --d8-edge: #a3ffba; --d8-face: #18a947; }
.rc-d8--pink { --d8-hi: #ff9be2; --d8-mid: #d548ae; --d8-low: #8e1c71; --d8-deep: #4d0d3d; --d8-edge: #ffc1ec; --d8-face: #c63d9f; }
.rc-d8--white { --d8-hi: #fff; --d8-mid: #e8edf4; --d8-low: #aeb8c6; --d8-deep: #66717f; --d8-edge: #fff; --d8-face: #f6f8fb; --d8-value: #121a25; }
.rc-d8__facet { stroke: var(--d8-edge); stroke-width: 1.5; stroke-linejoin: round; }
.rc-d8__face { fill: var(--d8-face); stroke: var(--d8-edge); stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 2px 3px #001a3d88); }
.rc-d8__ridge { fill: none; stroke: #fff8; stroke-width: 1.15; stroke-linejoin: round; }
.rc-d8__value { fill: var(--d8-value); font: 900 39px/1 system-ui; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: #0004; stroke-width: 2; }
.rc-d8__lock { display: none; }
.rc-d8__lock circle { fill: #352000; stroke: #ffb82d; stroke-width: 2; }
.rc-d8__lock rect, .rc-d8__lock path { fill: none; stroke: #ffd164; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.die[data-state="selectable"] .rc-d8 { filter: drop-shadow(0 0 8px #3fb7ff) drop-shadow(0 7px 6px #0008); }
.die[data-state="selectable"] { opacity: 100%; }
.die[data-state="selectable"] .rc-d8__face { stroke: #b9ebff; stroke-width: 3; }
.die[data-state="unavailable-selectable"] .rc-d8 { filter: drop-shadow(0 4px 4px #0008); }
.die[data-state="unavailable-selectable"] { opacity: 40%; }
.die[data-state="unavailable-selectable"] .rc-d8__face { stroke: color-mix(in srgb, var(--d8-edge) 48%, #26313e); stroke-width: 2; }
.die[data-state="selected"] { transform: translateY(-3px); }
.die[data-state="selected"] .rc-d8 { filter: drop-shadow(0 0 10px #37e875) drop-shadow(0 8px 6px #0008); }
.die[data-state="selected"] .rc-d8__face { stroke: #79ff9d; stroke-width: 3; }
.die[data-state="committed"] .rc-d8 { filter: drop-shadow(0 5px 5px #0006); }
.die[data-state="committed"] .rc-d8__face { stroke: #dce5ef; stroke-width: 2; }
.die[data-state="silver"] .rc-d8 { filter: drop-shadow(0 7px 6px #0006); }
.die[data-state="silver"] .rc-d8__face { stroke: #dce5ef; stroke-width: 3; }
.die[data-state="unavailable"] .rc-d8 { filter: drop-shadow(0 4px 4px #0006); }
.die[data-state="unavailable"] .rc-d8__face { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 4; }
.die[data-state="unavailable"] .rc-d8__ridge { opacity: .45; }
.die[data-state="locked"] .rc-d8 { filter: drop-shadow(0 0 9px #ffae24) drop-shadow(0 7px 6px #0008); }
.die[data-state="locked"] .rc-d8__face { stroke: #ffc54c; stroke-width: 3; }
.die[data-state="locked"] .rc-d8__lock { display: block; }
.die[data-state="disabled"] .rc-d8 { filter: drop-shadow(0 7px 6px #0008); }
.die[data-state="disabled"] .rc-d8__face { stroke: #aeb8c6; stroke-width: 3; }
.die.is-jev-candidate .rc-d8 { filter: drop-shadow(0 0 9px #ffc54c) drop-shadow(0 7px 6px #0008); }
.die.is-jev-candidate .rc-d8__face { stroke: #ffe28a; stroke-width: 4; }
.die.is-jev-chosen .rc-d8 { filter: drop-shadow(0 0 12px #69ff9e) drop-shadow(0 7px 6px #0008); transform: scale(1.08); }
.die.is-jev-chosen .rc-d8__face { stroke: #69ff9e; stroke-width: 5; }
.die.is-jev-dimmed { opacity: .42; }
.die:disabled { cursor: not-allowed; opacity: 1; }
.die.is-jev-dimmed:disabled { opacity: .42; }
.die[data-state="locked"]:disabled { opacity: 1; }
.die[data-state="unavailable-selectable"]:disabled { opacity: 40%; }
.die:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.roll-button { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 800; cursor: pointer; touch-action: manipulation; }
.roll-button:active { transform: translateY(1px); filter: brightness(.92); }
.roll-button--game { display: inline-grid; flex: 0 0 auto; grid-template-columns: 22px 1fr; align-items: center; justify-items: start; gap: 4px; width: auto; min-height: 44px; padding: 5px 9px; border: 1px solid #ffe2a0; border-radius: 10px; background: linear-gradient(180deg, #ffd978 0 70%, #f4b942 70%); color: #3b2108; box-shadow: 0 3px 0 #845221, inset 0 1px 0 #fff6cf; font-size: .82rem; font-weight: 900; letter-spacing: .01em; text-align: left; transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; }
.roll-button--game:active { transform: translateY(3px); box-shadow: 0 1px 0 #845221, inset 0 1px 0 #fff6cf; filter: none; }
.roll-button--game:disabled { cursor: not-allowed; box-shadow: none; opacity: .45; }
.view-options { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
#help-toggle { display:inline-flex; align-items:center; gap:4px; min-height:44px; padding:4px 6px; border:1px solid var(--line); border-radius:var(--radius-control); background:var(--panel); color:var(--ink); font:inherit; font-size:.72rem; cursor:pointer; }
#help-toggle[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-surface); }
#help-toggle svg { width:18px; height:18px; }
.rules-help-toggle { display:inline-flex; align-items:center; gap:5px; min-height:44px; padding:4px 8px; border:1px solid var(--line); border-radius:var(--radius-control); background:var(--panel); color:var(--ink); font:inherit; font-size:.72rem; font-weight:750; cursor:pointer; touch-action:manipulation; }
.rules-help-toggle[aria-expanded="true"] { border-color:var(--accent); background:var(--accent-surface); }
.rules-help-toggle svg { width:19px; height:19px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.rules-help { width:min(94vw, 720px); max-height:min(92vh, 760px); max-height:min(92dvh, 760px); padding:0; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:var(--panel); color:var(--ink); box-shadow:0 18px 60px #0008; }
.rules-help::backdrop { background:#050a12bb; backdrop-filter:blur(3px); }
.rules-help__scroll { max-height:min(92vh, 760px); max-height:min(92dvh, 760px); overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.rules-help__header { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px 12px; border-bottom:1px solid var(--line); background:color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter:blur(12px); }
.rules-help__eyebrow { margin-bottom:2px; color:var(--accent); font-size:.68rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.rules-help__header h2 { font-size:1.25rem; letter-spacing:-.025em; }
.rules-help__close { min-height:44px; padding:0 13px; border:1px solid var(--line); border-radius:11px; background:var(--panel-raised); color:var(--ink); font-size:.82rem; font-weight:800; cursor:pointer; touch-action:manipulation; }
.rules-help__content { display:grid; gap:8px; padding:12px; }
.rules-help__section { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:13px; background:var(--panel-inset); }
.rules-help__section > summary { display:flex; align-items:center; gap:10px; min-height:48px; padding:7px 12px; cursor:pointer; list-style:none; font-size:.92rem; font-weight:850; }
.rules-help__section > summary::-webkit-details-marker { display:none; }
.rules-help__section > summary::after { content:"+"; margin-left:auto; color:var(--accent); font-size:1.15rem; }
.rules-help__section[open] > summary::after { content:"−"; }
.rules-help__number { display:grid; width:26px; height:26px; flex:none; place-items:center; border-radius:50%; background:var(--accent-surface); color:var(--accent); font-size:.72rem; }
.rules-help__section-body { display:grid; gap:10px; padding:0 13px 13px; color:var(--muted); font-size:.86rem; line-height:1.45; overflow-wrap:anywhere; }
.rules-help__section-body strong { color:var(--ink); }
.rules-help__example { padding:10px 11px; border-left:3px solid var(--accent); border-radius:0 9px 9px 0; background:var(--panel-raised); }
.rules-help__zones { gap:8px; }
.rules-help__zone { min-width:0; padding:10px 11px; border:1px solid var(--line); border-left-width:4px; border-radius:10px; background:var(--panel); }
.rules-help__zone h3 { margin:0 0 4px; color:var(--ink); font-size:.86rem; }
.rules-help__zone p { font-size:.82rem; }
.rules-help__zone--yellow { border-left-color:#e5b83e; }
.rules-help__zone--grey { border-left-color:#aab4c2; }
.rules-help__zone--blue { border-left-color:#43a6e2; }
.rules-help__zone--green { border-left-color:#54b96b; }
.rules-help__zone--pink { border-left-color:#e878b6; }
.game-control svg { width:24px; height:24px; flex-shrink:0; }
button.game-control { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:44px; min-height:44px; max-width:100%; padding:8px 12px; font-size:.82rem; line-height:1.2; }
button.game-control[hidden] { display:none; }
.game-control__text { min-width:0; text-align:left; }
.game-control__meaning, .game-control__hint { display:none; }
.game-control__compact:empty, .game-control__text:has(.game-control__compact:empty) { display:none; }
.control-help button.game-control .game-control__text, .control-help .game-control__meaning { display:block; }
.control-help .game-control__compact { display:none; }
.control-help .game-control__hint { display:block; margin-top:4px; font-size:.7rem; line-height:1.3; font-weight:500; }
.control-help .scoring-draft-actions .game-control { flex:1 1 140px; justify-content:flex-start; }
.control-help .roll-button--game { max-width:65%; }
.scoring-draft-actions .game-control--ability, #keep-actions .game-control--ability { border-radius:14px; border:2px solid var(--line); box-shadow:inset 0 2px 0 var(--panel-raised), 0 2px 0 var(--line); }
#keep-actions { display:flex; flex-wrap:wrap; gap:6px; }
#keep-actions[hidden] { display:none; }
#keep-actions p { flex-basis:100%; margin:6px 0; font-size:.8rem; }
.game-control:disabled { opacity:.45; cursor:not-allowed; box-shadow:none; }
.areas.area-tablist { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 0; margin: 12px 0 -12px; padding: 3px 3px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: linear-gradient(145deg, var(--panel-raised), var(--panel) 70%); }
.area-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; min-width: 0; min-height: 62px; padding: 1px 2px 4px; border: 0; border-right: 1px solid color-mix(in srgb, var(--line) 52%, transparent); border-radius: 0; background: transparent; color: var(--area-color); cursor: pointer; touch-action: manipulation; }
.area-tab:last-child { border-right: 0; }
.area-tab__d8 { display: block; width: min(100%, 38px); height: 37px; overflow: visible; filter: drop-shadow(0 2px 2px #0008); }
.area-tab__icon { display: block; width: 16px; height: 16px; margin-top: 0; color: var(--area-color); opacity: .94; }
.area-tab__facet { stroke: color-mix(in srgb, var(--area-color), #fff 48%); stroke-width: 2; stroke-linejoin: round; }
.area-tab__facet--left { fill: color-mix(in srgb, var(--area-color), #000 24%); }
.area-tab__facet--right { fill: color-mix(in srgb, var(--area-color), #000 39%); }
.area-tab__facet--top { fill: color-mix(in srgb, var(--area-color), #fff 30%); }
.area-tab__face { fill: var(--area-color); stroke: color-mix(in srgb, var(--area-color), #fff 72%); stroke-width: 2; }
.area-tab__ridge { fill: none; stroke: color-mix(in srgb, var(--area-color), #101827 52%); stroke-width: 3; stroke-linejoin: round; }
.area-tab__score { fill: var(--area-score-ink); font-size: 31px; font-weight: 950; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--player-tab-score-outline); stroke-width: 2px; }
.area-tab[data-area="Grey"] { --area-color: var(--grey); --area-score-ink: var(--player-tab-score-grey); }
.area-tab[data-area="Yellow"] { --area-color: var(--yellow); --area-score-ink: var(--player-tab-score-yellow); }
.area-tab[data-area="Blue"] { --area-color: var(--blue); --area-score-ink: var(--player-tab-score-blue); }
.area-tab[data-area="Green"] { --area-color: var(--green); --area-score-ink: var(--player-tab-score-green); }
.area-tab[data-area="Pink"] { --area-color: var(--pink); --area-score-ink: var(--player-tab-score-pink); }
.area-tab[aria-selected="true"] { z-index: 2; min-height: 67px; margin: 0 0 -5px; border-right-color: transparent; border-radius: 10px 10px 0 0; background: color-mix(in srgb, var(--area-color) 13%, var(--panel)); box-shadow: 0 -2px 0 color-mix(in srgb, var(--area-color) 74%, var(--line)), 0 -4px 14px color-mix(in srgb, var(--area-color) 22%, transparent); }
.area-tab[aria-selected="true"] .area-tab__d8 { transform: scale(1.04); transform-origin: center bottom; }
.area-tab:disabled { cursor: not-allowed; opacity: .35; }
.area-tab.is-available:not([aria-selected="true"]) { outline: 1px dashed var(--ink); outline-offset: -4px; }
.score-card { --score-area-color: var(--pink); min-width: 0; margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; border-color: color-mix(in srgb, var(--score-area-color) 30%, var(--line)); background: linear-gradient(145deg, color-mix(in srgb, var(--score-area-color) 9%, var(--panel-raised)), color-mix(in srgb, var(--score-area-color) 4%, var(--panel)) 70%); }
.score-card[data-area="Grey"] { --score-area-color: var(--grey); }
.score-card[data-area="Yellow"] { --score-area-color: var(--yellow); }
.score-card[data-area="Blue"] { --score-area-color: var(--blue); }
.score-card[data-area="Green"] { --score-area-color: var(--green); }
.score-card[data-area="Pink"] { --score-area-color: var(--pink); }
.score-card h2 { font-size: 1.2rem; }
.score-card p { margin-top: 8px; color: var(--muted); line-height: 1.45; }
.game-layout { display: grid; gap: 12px; }
.area-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.area-heading h2[data-area="Pink"] { color: var(--pink); }
.area-heading h2[data-area="Green"] { color: var(--green); }
.area-heading h2[data-area="Blue"] { color: var(--blue); }
.area-heading h2[data-area="Yellow"] { color: var(--yellow); }
.area-heading h2[data-area="Grey"] { color: var(--grey); }
.area-score { color: var(--muted); font-size: .9rem; font-weight: 800; }
.area-description, .pink-header, .green-header, .blue-header { display: none; }
.pink-header { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; color: var(--muted); }
.pink-header strong { color: var(--pink); font-size: 1.15rem; }
.pink-track { display: grid; grid-template-columns: repeat(var(--pink-space-count, 12), minmax(0, 1fr)); gap: 0; margin-top: 8px; overflow: hidden; border: 1px solid #d15d95; border-radius: 9px; background: #9c285f; }
.pink-space { position: relative; display: grid; grid-template-rows: minmax(14px, auto) 1fr; min-width: 0; min-height: 56px; padding: 3px 2px; border-right: 1px solid #f8bbd6; color: #fff6fa; background: #c63d79; text-align: center; }
.pink-space:last-child { border-right: 0; }
.pink-space.is-next { z-index: 1; box-shadow: inset 0 0 0 2px #fff, inset 0 -3px 0 var(--accent); background: #d94d8c; }
.pink-space.is-filled { background: #7c1648; }
.pink-space.is-selected-preview { z-index: 1; box-shadow: inset 0 0 0 2px #fff; background: #68727f; }
.pink-space__hint { min-height: 14px; color: #fff6fa; font-size: clamp(.8rem, 3vw, 1rem); font-weight: 900; line-height: 1; }
.pink-space__value { display: grid; place-items: center; color: #ffdce9; font-size: .85rem; font-weight: 800; line-height: 1; }
.pink-space.is-filled .pink-space__hint, .pink-space.is-selected-preview .pink-space__hint { position: absolute; top: 3px; left: 3px; color: #ffdce9; font-size: clamp(.7rem, 2.5vw, .9rem); }
.pink-space.is-filled .pink-space__value, .pink-space.is-selected-preview .pink-space__value { grid-row: 1 / -1; color: #fff; font-weight: 900; }
.pink-space.is-selected-preview .pink-space__value { font-size: clamp(1.15rem, 5.3vw, 1.55rem); text-shadow: 0 1px 0 #7c1648; }
.pink-space.is-filled .pink-space__value { font-size: clamp(1.35rem, 6vw, 1.85rem); }
.pink-space__bonus, .green-space__bonus { position: absolute; right: 2px; bottom: 2px; }
.green-header { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; color: var(--muted); }
.green-header strong { color: var(--green); font-size: 1.15rem; }
.green-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.green-pair { min-width: 0; overflow: hidden; border: 1px solid #5ba96b; border-radius: 8px; background: #173e29; }
.green-pair__cells { display: grid; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); }
.green-pair__minus { display: grid; place-items: center; color: #fff; font-size: .9rem; font-weight: 900; line-height: 1; pointer-events: none; }
.green-space { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); min-width: 0; min-height: 54px; padding: 3px 1px; overflow: hidden; border-right: 1px solid #69b979; background: #286440; color: #effff2; text-align: center; }
.green-space:last-child { border-right: 0; }
.green-space.is-next { z-index: 1; box-shadow: inset 0 0 0 2px #fff, inset 0 -3px 0 var(--accent); background: #347c4e; }
.green-space.is-filled { background: #17452b; }
.green-space.is-selected-preview { z-index: 1; box-shadow: inset 0 0 0 2px #fff; background: #68727f; }
.green-space__multiplier { position: absolute; top: 3px; left: 3px; color: #d5ffe0; font-size: clamp(.62rem, 2.5vw, .78rem); font-weight: 900; line-height: 1; }
.green-space__stored { display: grid; grid-area: 1 / 1; min-width: 0; max-width: 100%; place-items: center; overflow: hidden; color: #fff; font-size: clamp(.85rem, 3.8vw, 1.15rem); font-weight: 900; line-height: 1; white-space: nowrap; }
.green-pair__score { min-height: 16px; padding: 2px 1px; border-top: 1px solid #5ba96b; color: #c9f8d5; font-size: .7rem; font-weight: 800; line-height: 1; text-align: center; }
.blue-header { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; color: var(--muted); }
.blue-header strong { color: #9ed7ff; font-size: 1.15rem; }
.blue-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.blue-space { position: relative; display: grid; min-width: 0; min-height: 48px; padding: 3px; border: 1px solid #5b9ec5; border-radius: 7px; background: #1c5274; color: #edf9ff; text-align: center; }
.blue-space.is-next { box-shadow: inset 0 0 0 2px #fff, inset 0 -3px 0 var(--accent); background: #286e99; }
.blue-space.is-filled { background: #12384f; }
.blue-space.is-selected-preview { box-shadow: inset 0 0 0 2px #fff; background: #68727f; }
.blue-space__score { align-self: start; color: #cceeff; font-size: .55rem; font-weight: 700; line-height: 1; opacity: .78; text-align: right; }
.blue-space__sum { display: grid; place-items: center; font-size: clamp(1.2rem, 5vw, 1.5rem); font-weight: 900; line-height: 1; }
.blue-space__bonus { display: grid; min-height: 11px; place-items: center; }
.blue-order-cue { position: absolute; z-index: 2; top: 50%; right: -7px; display: grid; width: 12px; height: 15px; place-items: center; border-radius: 3px; background: #143d58; color: #fff; font-size: .7rem; font-weight: 900; line-height: 1; transform: translateY(-50%); pointer-events: none; }
.blue-order-turn { position: absolute; z-index: 3; right: -3px; bottom: -10px; display: grid; width: 22px; height: 16px; place-items: center; border: 1px solid #5b9ec5; border-radius: 5px; background: #143d58; color: #fff; font-size: .65rem; font-weight: 900; line-height: 1; pointer-events: none; }
.printed-bonus { display: inline-grid; width: 18px; height: 18px; place-items: center; color: #fff5bc; }
.printed-bonus svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.printed-bonus--YellowQuestion { color: #ffe08a; }
.printed-bonus--GreenQuestion { color: #a8e6b1; }
.printed-bonus--PinkQuestion { color: #ffb9d2; }
.printed-bonus--BlueQuestion { color: #9ed7ff; }
.printed-bonus--GreyQuestion { color: #d9dde5; }
.printed-bonus__question-circle { fill: currentColor; stroke: currentColor; }
.printed-bonus__question-mark { fill: none; stroke: #102014; stroke-width: 2.3; }
.yellow-target .printed-bonus, .grey-target .printed-bonus { width: 24px; height: 24px; }
.yellow-header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; color: #f9e6a8; font-size: .82rem; }
.yellow-header strong { color: #ffe08a; font-size: 1.08rem; }
.yellow-board { display: grid; gap: 5px; margin-top: 8px; }
.yellow-row, .yellow-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(64px, .9fr); gap: 5px; min-width: 0; }
.yellow-cell { position: relative; display: grid; place-items: center; align-content: center; min-width: 0; min-height: 48px; padding: 2px; border: 2px solid #ad8740; border-radius: 9px; background: #594521; color: #fff5d4; text-align: center; }
.yellow-cell.is-circled { border-color: #ffe08a; background: #4a3920; }
.yellow-cell.is-marked { border-color: #bd9a54; background: #332b20; }
.yellow-cell.is-legal { border-color: #d7ffe0; box-shadow: inset 0 0 0 1px #7fdc9a; background: #675021; cursor: pointer; touch-action: manipulation; }
.yellow-cell.is-provisional { border-color:#fff; box-shadow:inset 0 0 0 1px #fff; background:#68727f; }
.yellow-cell__number { display: inline-grid; min-width: 27px; min-height: 27px; place-items: center; border: 2px solid transparent; border-radius: 50%; font-size: 1.12rem; font-weight: 900; line-height: 1; }
.yellow-cell__number { min-width: 22px; min-height: 22px; font-size: 1.05rem; }
.yellow-cell__placements { display: flex; gap: 3px; margin-top: 1px; }
.yellow-cell__placement { box-sizing: border-box; width: 7px; height: 7px; border: 1.5px solid #ffe08a; border-radius: 1px; }
.yellow-cell__placement.is-filled { background: #ffc94a; }
.yellow-target { display: grid; align-content: center; justify-items: center; min-width: 0; min-height: 48px; padding: 2px; border: 1px dashed #b99a55; border-radius: 8px; background: #332b20; color: #ffebb6; text-align: center; }
.yellow-target.is-complete { border-style: solid; border-color: #7fdc9a; background: #294331; color: #e4ffe9; }
.yellow-target__reward { display: grid; place-items: center; min-height: 24px; }
.grey-header { display: flex; align-items:baseline; justify-content:space-between; gap:8px; margin-top:10px; color:#d9dde5; font-size:.82rem; }
.grey-header strong { color:#fff; font-size:1.08rem; }
.score-card .pink-header, .score-card .green-header, .score-card .blue-header { display: none; }
.score-card .yellow-header, .score-card .grey-header { display: flex; }
.grey-board { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; margin-top:7px; }
.grey-target, .grey-cell { min-width:0; border-radius:7px; text-align:center; }
.grey-target { min-height:39px; }
.grey-target { display:grid; place-items:center; padding:2px; border:1px dashed #9aa5b4; background:#323945; color:#eef3ff; font-size:.59rem; font-weight:800; line-height:1.05; }
.grey-target.is-complete { border-style:solid; border-color:#7fdc9a; background:#294331; color:#e4ffe9; }
.grey-row { display:contents; }
.grey-cell { position:relative; display:grid; min-height:44px; place-items:center; border:2px solid #758191; background:#495463; color:#fff; font-size:1rem; font-weight:900; }
.grey-cell[data-row-identity="Yellow"] { background:#655124; border-color:#b49348; }
.grey-cell[data-row-identity="Blue"] { background:#294f70; border-color:#75a9d5; }
.grey-cell[data-row-identity="Green"] { background:#315b3c; border-color:#75b383; }
.grey-cell[data-row-identity="Pink"] { background:#66335e; border-color:#d087c5; }
.grey-cell.is-marked { border-color:#707b89; background:#3d4651; text-decoration:none; }
.grey-cell.is-marked::after { content:'×'; position:absolute; top:3px; right:4px; color:#b7c0cd; font-size:13px; font-weight:600; line-height:1; pointer-events:none; }
.grey-cell.is-legal { border-color:#fff; box-shadow:inset 0 0 0 1px #fff; cursor:pointer; touch-action:manipulation; }
.grey-cell.is-provisional { border-color:#fff; box-shadow:inset 0 0 0 1px #fff; background:#68727f; text-decoration:none; cursor:pointer; touch-action:manipulation; }
.grey-cell.is-provisional::after { content:'×'; position:absolute; top:3px; right:4px; color:#fff; font-size:13px; font-weight:600; line-height:1; pointer-events:none; }
.score-ladder-label { margin-top: 2px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.score-ladder-label#yellow-score-ladder-label { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.score-ladder { display: grid; grid-template-columns: repeat(var(--ladder-columns), minmax(0, 1fr)); gap: 3px; margin-top: 4px; }
.score-ladder__step { display: grid; min-width: 0; min-height: 24px; align-content: center; justify-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-raised); color: var(--ink); line-height: 1.05; }
.score-ladder__step[aria-current="step"] { border: 2px solid var(--accent); background: var(--accent-surface); color: var(--accent); }
.score-ladder__count { font-size: .58rem; font-weight: 700; }
.score-ladder__points { font-size: .72rem; font-weight: 900; }
.scoring-draft-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; margin-top:10px; }
.scoring-draft-actions:not(:has(button:not([hidden]))) { display:none; }
.scoring-draft-actions button, #keep-actions button, .question-action { border:1px solid var(--line); background:var(--panel-raised); color:var(--ink); }
#keep-actions button { min-height:44px; border-radius:var(--radius-control); }
#roll-progress { display:flex; align-items:center; gap:5px; min-height:16px; color:var(--muted); }
.roll-progress__step { display:block; width:16px; height:14px; border:1px solid var(--line); border-radius:4px; background:var(--panel-inset); clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%); }
.roll-progress__step[data-state="consumed"] { border-color:var(--muted); background:var(--muted); opacity:.42; }
.roll-progress__step[data-state="current"] { width:20px; height:17px; border:2px solid var(--accent-ink); background:var(--accent); box-shadow:0 0 0 2px var(--accent); }
#area-summary { padding:14px; border:1px solid var(--line); border-radius:var(--radius-panel); background:var(--panel); box-shadow:var(--elevation); }
.scoring-draft-actions[hidden] { display:none; }
#scoring-draft-actions { margin:8px 0 12px; }
.scoring-draft-actions button { min-height:44px; padding:0 14px; border-radius:10px; font:inherit; font-weight:800; cursor:pointer; touch-action:manipulation; }
#return-actions { flex-wrap:wrap; justify-content:flex-start; }
#return-actions p { flex-basis:100%; margin:0; }
.scoring-undo-action { border:1px solid var(--line); background:transparent; color:var(--ink); }
.scoring-draft-actions .scoring-commit-action { border:1px solid var(--accent); background:var(--accent); color:var(--accent-ink); }
.pink-place { display:none; }
.question-action { min-height:44px; margin:4px 0; }
.bonus-message { min-height: 20px; margin-top: 8px; color: var(--accent); font-size: .9rem; font-weight: 700; }
.action-feedback { margin: 0; padding: 8px 10px; border: 1px solid #d96d7a; border-radius: 9px; background: color-mix(in srgb, #d96d7a 14%, var(--panel)); color: var(--ink); font-size: .84rem; font-weight: 750; }
.action-feedback[hidden] { display: none; }
.bonus-pending { margin-top: 12px; padding: 10px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-surface); }
.bonus-pending strong { color: var(--accent); }
.bonus-pending p { margin-top: 4px; font-size: .88rem; }
.setup-card { background: linear-gradient(145deg, var(--panel-raised), var(--panel) 70%); box-shadow: var(--elevation); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.setup-card h2 { margin-bottom: 18px; }
.setup-card label { display: block; margin: 16px 0 7px; color: var(--muted); font-weight: 700; }
.setup-card select, .setup-card input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; background: var(--panel-raised); color: var(--ink); font: inherit; }
.setup-card .roll-button { margin-top: 22px; }
.qa-launch { margin-top: 20px; padding: 12px; border: 1px dashed var(--accent); border-radius: 12px; }
.qa-launch[hidden], .qa-strip[hidden] { display: none; }
.qa-launch strong { display: block; color: var(--accent); }
.qa-launch button { width: 100%; min-height: 44px; margin-top: 12px; border: 1px solid var(--accent); border-radius: 10px; background: var(--panel-raised); font-weight: 700; }
.qa-launch select, .qa-launch input { width: 100%; max-width: 100%; min-height: 44px; }
.qa-strip { display: grid; gap: 5px; min-width: 0; margin-bottom: 10px; padding: 9px 11px; border: 1px dashed var(--accent); border-radius: 12px; background: var(--panel); font-size: .78rem; overflow-wrap: anywhere; }
.qa-strip__heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--accent); }
.qa-strip__heading > * { min-width: 0; }
.qa-phase { padding: 3px 9px; border: 2px solid #ffe28a; border-radius: 999px; background: #493510; color: #fff1b5; font-size: .9rem; letter-spacing: .06em; }
.qa-phase[data-phase="VAL"] { border-color: #69ff9e; background: #123d26; color: #b5ffd0; }
.qa-phase[data-phase="EFTER"] { border-color: #69c9ff; background: #123449; color: #c5ecff; }
.qa-phase[hidden], .qa-review[hidden] { display: none; }
.qa-review { min-width: 0; border-top: 1px solid var(--line); padding-top: 5px; }
.qa-review summary { cursor: pointer; font-weight: 800; }
.qa-review ul { margin: 5px 0 0; padding-left: 17px; overflow-wrap: anywhere; }
.qa-review li { margin: 4px 0; }
.qa-review li.is-jev-chosen { color: var(--accent); font-weight: 800; }
.qa-strip__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.qa-strip__actions button { min-width: 0; min-height: 44px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-raised); font-weight: 700; }
.qa-strip__actions button:disabled { opacity: .5; }
.qa-strip #qa-restart { min-height: 44px; border: 1px solid var(--accent); border-radius: 9px; background: var(--panel-raised); font-weight: 700; }
.qa-strip #qa-restart:disabled { opacity: .5; }
#lobby-panel { min-width: 0; overflow-wrap: anywhere; }
#lobby-panel h2 { margin-bottom: 8px; }
#lobby-participants { margin: 12px 0; padding: 0; list-style: none; }
#lobby-participants li { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 7px 0; }
.lobby-avatar { display: inline-grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--panel-raised); color: var(--ink); font-size: .9rem; font-weight: 800; }
#lobby-host-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#lobby-host-actions[hidden], #lobby-panel[hidden], #lobby-setup-fields[hidden] { display: none; }
#lobby-host-actions button, #create-bot-only-room { min-height: 44px; border: 1px solid var(--accent); border-radius: 10px; padding: 8px 12px; background: var(--accent-surface); color: var(--accent); font: inherit; font-weight: 700; }
#lobby-host-actions .roll-button { margin: 0; }
#bot-profile-choice { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
#bot-profile-choice legend { margin-bottom: 7px; color: var(--muted); font-weight: 700; }
#bot-profile-options { display: grid; gap: 7px; }
.bot-profile-option { display: flex !important; align-items: center; gap: 9px; min-width: 0; min-height: 58px; margin: 0 !important; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-raised); color: var(--ink) !important; cursor: pointer; }
.bot-profile-option:has(input:checked) { border-color: var(--accent); background: var(--accent-surface); }
.bot-profile-option input { flex: 0 0 18px; width: 18px !important; min-height: 18px !important; margin: 0; accent-color: var(--accent); }
.bot-profile-option > span:last-child { display: grid; min-width: 0; line-height: 1.3; }
.bot-profile-option small { color: var(--muted); font-size: .78rem; }
#lobby-waiting { margin-top: 12px; color: var(--muted); }
#create-bot-only-room[hidden] { display: none; }
.room-join { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-top: 14px; }
.room-join label { grid-column: 1 / -1; margin: 0; }
.room-join input { text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.room-join button { min-height: 50px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-surface); color: var(--accent); font: inherit; font-weight: 900; cursor: pointer; }
.secondary-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.overview-link { color: var(--accent); font-size: .9rem; }
.new-game { min-height: 44px; padding: 0 9px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; touch-action: manipulation; }
.info-panel { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-inset); }
.info-panel h2 { margin: 0 0 5px; font-size: .92rem; }
.info-panel ul { display: grid; gap: 3px; margin: 0; padding-left: 19px; color: var(--ink); font-size: .84rem; line-height: 1.3; }
.info-panel p { color: var(--muted); font-size: .84rem; line-height: 1.3; }
.test-information { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-inset); }
.test-information h2 { font-size: 1rem; }
.test-information p { margin-top: 6px; color: var(--muted); font-size: .84rem; line-height: 1.35; overflow-wrap: anywhere; }
.test-information__hint { color: var(--accent) !important; }
.test-information__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.test-information__actions button { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-raised); color: var(--ink); font-weight: 800; cursor: pointer; touch-action: manipulation; }
.defect-report { width: 100%; min-height: 220px; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; background: var(--panel-inset); color: var(--ink); font: .78rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (min-width: 700px) { .app-shell { padding-top: 28px; } .game-definition { display: block; margin-top: 3px; text-align: left; } .game-layout { grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); align-items: start; } .areas { grid-column: 1; margin: 0; } .score-card { grid-column: 2; grid-row: 1 / span 2; } .secondary-actions { grid-column: 1 / -1; } .green-track { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 699px) and (max-height: 700px) {
  .game-layout { gap: 5px; }
  .turn-card { padding: 8px; gap: 4px; }
  .dice-group { padding: 4px 3px; gap: 3px; }
  .dice-group { min-width: 42px; }
  .dice { min-height: 34px; gap: 3px; }
  .game-layout.is-dense-scoring-board .score-card { padding: 8px; }
  .game-layout.is-dense-scoring-board .area-description { display: none; }
  .game-layout.is-dense-scoring-board .yellow-header { margin-top: 0; }
  .game-layout.is-dense-scoring-board .yellow-board { margin-top: 4px; gap: 3px; }
  .game-layout.is-dense-scoring-board .yellow-row, .game-layout.is-dense-scoring-board .yellow-columns { gap: 3px; }
  .game-layout.is-dense-scoring-board .yellow-cell, .game-layout.is-dense-scoring-board .yellow-target { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
