@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
  --paper: #f7f6f2;
  --ink: #263b35;
  --muted: #747c72;
  --green: #246f5e;
  --green-dark: #185643;
  --lime: #d8edab;
  --orange: #dd805e;
  --line: #e2e5db;
  --white: #fffefa;
  --shadow: 0 12px 36px #30402a08;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; transition: background .18s, transform .18s, box-shadow .18s; }
button:disabled { opacity: .4; cursor: default; }
button, a, input { touch-action: manipulation; }
button:active:not(:disabled) { transform: translateY(1px); }
button:focus-visible, a:focus-visible, input:focus-visible, canvas:focus-visible { outline: 3px solid #db8b51; outline-offset: 4px; }
.hidden { display: none !important; }
.site-shell { width: min(1240px, 100% - 96px); margin: auto; }
.site-header { height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.wordmark { font-family: Manrope, sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -1.4px; color: var(--ink); text-decoration: none; display: flex; align-items: center; }
.brand-icon { display: inline-grid; place-items: center; background: var(--green); color: var(--lime); font-size: 32px; line-height: 1; letter-spacing: 0; width: 38px; height: 38px; border-radius: 11px; margin-right: 11px; padding-bottom: 7px; transform: rotate(-7deg); }
.amp { font-weight: 500; margin: 0 2px; }
.brand-period { color: var(--orange); }
.header-note { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.status-dot { width: 6px; height: 6px; background: var(--green); border-radius: 100%; }
.text-button { background: none; border: 0; color: var(--green); font-size: 12px; font-weight: 600; padding: 12px 0; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.text-button:hover:not(:disabled) { color: var(--orange); }
.start-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; padding: 65px 0 60px; align-items: start; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; line-height: 1.5; color: var(--muted); }
.hero > .eyebrow { display: flex; align-items: center; gap: 10px; margin: 6px 0 24px; }
.small-line { width: 23px; height: 2px; background: var(--orange); }
h1, h2, p { margin: 0; }
h1, h2 { font-family: Manrope, sans-serif; }
.hero h1 { font-weight: 500; font-size: clamp(46px, 4.6vw, 66px); line-height: 1.13; letter-spacing: -3.8px; }
.title-accent { position: relative; color: var(--green); white-space: nowrap; isolation: isolate; }
.title-accent svg { position: absolute; bottom: -14px; left: 0; width: 100%; height: 20px; overflow: visible; fill: none; stroke: #d2dfa8; stroke-width: 5; stroke-linecap: round; z-index: -1; }
.title-period { color: var(--orange); }
.hero-description { font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 30px; }
.hero-art { position: relative; margin: 24px 0 12px; max-width: 460px; isolation: isolate; }
.sample-board { display: block; width: 100%; transform: rotate(-5deg); }
.art-caption { position: absolute; right: 12px; top: 17px; font-size: 10px; letter-spacing: .4px; color: #8d927e; transform: rotate(5deg); z-index: 1; }
.points-sticker { position: absolute; right: 0; bottom: 20px; display: flex; gap: 7px; align-items: center; transform: rotate(-9deg); padding: 10px 13px; border-radius: 8px; background: var(--lime); color: var(--green-dark); font-size: 16px; font-weight: 700; box-shadow: 2px 4px 0 #d2d9bd77; }
.points-sticker span { font-size: 10px; font-weight: 500; }
.hero-footnote { display: flex; align-items: center; gap: 11px; font-size: 11px; color: var(--muted); }
.mini-dots { display: flex; padding-left: 2px; }
.mini-dots i { border: 2px solid var(--paper); width: 20px; height: 20px; margin-left: -3px; border-radius: 100%; background: #dce9c7; }
.mini-dots i:nth-child(2) { background: #f0c4b0; }
.mini-dots i:nth-child(3) { background: #c2cce8; }
.setup-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); position: relative; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.card-heading h2 { font-weight: 650; letter-spacing: -.7px; font-size: 24px; margin-top: 6px; }
.card-spark { font-size: 37px; color: var(--orange); font-weight: 400; }
.field { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 13px; font-size: 10px; color: #969f8c; font-weight: 600; letter-spacing: .6px; }
.field legend span { color: var(--ink); font-size: 12px; letter-spacing: 0; margin-left: 9px; font-weight: 600; }
.segmented { display: flex; position: relative; background: #f0f2eb; border-radius: 10px; padding: 4px; gap: 4px; }
.segmented input, .grid-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segmented label { flex: 1; text-align: center; padding: 12px 4px; border-radius: 7px; font-size: 12px; cursor: pointer; color: var(--muted); transition: background .2s, box-shadow .2s; }
.segmented input:checked + label { color: var(--green); background: var(--white); box-shadow: 0 2px 5px #263b3510; font-weight: 700; }
.segmented input:focus-visible + label, .grid-options input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.mode-options { margin-bottom: 11px; }
.mode-options label { font-weight: 600; }
.mode-options label span { color: var(--orange); margin-left: 5px; }
.solo-note { padding: 11px 12px; border: 1px solid #e0e8d4; border-radius: 9px; background: #f1f6e9; font-size: 11px; line-height: 1.7; color: var(--muted); }
.solo-note strong { display: block; color: var(--green); font-weight: 650; }
.ai-name { min-height: 43px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; border: 1px dashed var(--line); border-radius: 9px; font-size: 12px; color: var(--muted); }
.ai-label { font-size: 9px; font-weight: 600; border-radius: 5px; padding: 3px 5px; background: #f0f2eb; color: var(--green); white-space: nowrap; }
.setup-error { font-size: 11px; color: #a34727; line-height: 1.7; margin-top: 9px; }
.board-card.thinking .turn-dot { animation: thinking-pulse 1.5s ease-in-out infinite; }
.board-card.thinking canvas { cursor: progress; }
.board-card.thinking .turn { color: var(--green); }
@keyframes thinking-pulse { 50% { box-shadow: 0 0 0 7px #246f5e18; } }
.name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.name-field { position: relative; display: flex; align-items: center; min-width: 0; }
.name-field .swatch { position: absolute; left: 12px; width: 8px; height: 8px; }
.name-field input { width: 100%; min-width: 0; padding: 12px 10px 12px 29px; border: 1px solid var(--line); border-radius: 9px; background: transparent; font-size: 12px; color: var(--ink); height: 43px; }
.name-field input::placeholder { color: #92988d; }
.grid-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-options label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; min-height: 74px; padding: 12px; cursor: pointer; }
.grid-options input:checked + label { border-color: var(--green); background: #f1f6e9; box-shadow: inset 0 0 0 .5px var(--green); }
.grid-symbol { font-size: 26px; color: #98a58b; line-height: 1; }
.grid-options input:checked + label .grid-symbol { color: var(--green); }
.grid-options strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.grid-options small { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }
.radio-indicator { margin-left: auto; border: 1px solid #ccd3c4; border-radius: 50%; width: 13px; height: 13px; flex-shrink: 0; }
.grid-options input:checked + label .radio-indicator { border: 4px solid var(--green); }
.timer-setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 3px; }
.timer-setting > div > label { font-size: 12px; font-weight: 600; }
.timer-setting p { font-size: 10px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.switch { position: relative; display: block; flex: 0 0 41px; height: 25px; cursor: pointer; }
.switch input { opacity: 0; position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; }
.slider { position: absolute; inset: 0; background: #c9cfc1; border-radius: 20px; pointer-events: none; transition: background .2s; }
.slider:before { content: ''; position: absolute; background: var(--white); width: 19px; height: 19px; top: 3px; left: 3px; border-radius: 50%; box-shadow: 0 1px 4px #0001; transition: transform .2s; }
.switch input:checked + .slider { background: var(--green); }
.switch input:checked + .slider:before { transform: translateX(16px); }
.switch input:focus-visible + .slider { outline: 3px solid var(--orange); outline-offset: 4px; }
.primary { background: var(--green); color: var(--white); padding: 15px 20px; min-height: 48px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 600; }
.primary:hover { background: var(--green-dark); box-shadow: 0 4px 12px #246f5e22; }
.start-button { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 24px; }
.start-button span { font-size: 22px; font-weight: 400; line-height: 1; }
.setup-note { display: flex; justify-content: center; gap: 9px; margin-top: 13px; color: #909688; font-size: 9px; }
.setup-note span { color: #bdc4b3; }
.site-footer { border-top: 1px solid var(--line); padding: 23px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; letter-spacing: .1px; }
.creator-credit { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; color: var(--green); font-size: 11px; text-decoration: none; border-radius: 6px; }
.creator-credit strong { font-weight: 700; }
.creator-credit:hover { color: var(--green-dark); }
.creator-credit:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.linkedin-icon { flex-shrink: 0; }
.credit-arrow { color: var(--orange); font-size: 14px; }
.footer-mark { color: var(--green); font-size: 16px; margin-left: 9px; }

.game { padding: 32px 0 38px; }
.game-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.game-heading h1 { font-weight: 500; font-size: 34px; letter-spacing: -1.4px; margin-top: 4px; }
.game-actions { display: flex; align-items: center; gap: 12px; }
.secondary { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 11px 14px; min-height: 44px; border-radius: 9px; font-size: 11px; font-weight: 600; }
.secondary:hover { background: #edf1e6; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 24px; align-items: start; }
.board-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 18px; box-shadow: var(--shadow); overflow: hidden; }
.board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.turn { display: flex; align-items: center; gap: 9px; font-size: 12px; min-width: 0; }
.turn > span:last-child { overflow-wrap: anywhere; }
.turn strong { font-weight: 650; }
.turn-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #243b3509; }
.compact-timer { display: none; font-variant-numeric: tabular-nums; }
.zoom-controls { display: flex; gap: 3px; padding: 3px; border-radius: 8px; background: #f1f3ec; flex-shrink: 0; }
.zoom-button { border: 0; background: none; border-radius: 6px; padding: 8px 11px; font-size: 10px; color: var(--muted); min-height: 36px; }
.zoom-button.active { background: var(--white); box-shadow: 0 1px 4px #263b3510; color: var(--green); font-weight: 650; }
.board-viewport { width: 100%; max-height: min(66vh, 720px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bdcbb2 transparent; touch-action: pan-x pan-y; position: relative; }
.board-surface { width: 100%; aspect-ratio: 1; position: relative; margin-inline: auto; }
canvas { display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; outline-offset: -4px !important; }
.board-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; }
.board-footer > span { font-size: 10px; line-height: 1.6; color: var(--muted); }
.board-footer .text-button { font-size: 10px; flex-shrink: 0; }
.game-sidebar { display: flex; flex-direction: column; gap: 16px; }
.timer-card { padding: 20px; background: #ecf1e2; border: 1px solid #dce4cd; border-radius: 14px; }
.timer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.timer-head .eyebrow { font-size: 9px; color: #65765a; }
.timer-value { font-family: Manrope, sans-serif; font-weight: 600; font-size: 29px; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.timer-value span { font-size: 12px; margin-left: 3px; }
.timer-track { height: 4px; background: #d8e0cc; border-radius: 4px; overflow: hidden; margin-top: 16px; }
.timer-bar { height: 100%; width: 100%; background: var(--green); border-radius: 4px; transition: width .25s linear; }
.timer-bar.warning { background: #cc6c48; }
.timer-card p { font-size: 10px; color: #7a856d; margin-top: 10px; }
.timer-card.disabled { background: #f0f1eb; border-color: var(--line); }
.scoreboard { padding: 20px 16px 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; padding: 0 3px; }
.panel-title h2 { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 650; }
.panel-title > span { color: var(--orange); font-size: 20px; }
.score-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 9px; border: 1px solid transparent; margin: 4px 0; }
.score-row.active { background: #f1f6e9; border-color: #e0e8d4; }
.score-left { display: flex; gap: 10px; align-items: center; font-size: 12px; min-width: 0; }
.score-left > span:last-child { overflow-wrap: anywhere; }
.swatch { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.score-value { font-family: Manrope, sans-serif; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.score-value.bump { animation: score-pop .4s ease; }
.score-legend { border-top: 1px solid var(--line); margin-top: 13px; padding: 14px 0; display: flex; align-items: center; gap: 8px; font-size: 9px; color: var(--muted); }
.triangle-icon { font-size: 22px; color: var(--green); }
.message { background: #f0f1eb; border: 1px dashed #d6dcce; border-radius: 10px; min-height: 54px; padding: 13px 14px; font-size: 11px; line-height: 1.7; color: #63715a; }
.message.success { background: #e9f2da; border-color: #abc884; color: var(--green-dark); }
.mini-rules { padding: 8px 7px; }
.mini-rules .eyebrow { font-size: 9px; }
.mini-rules p { margin-top: 10px; font-size: 11px; line-height: 1.9; color: var(--muted); }
.mini-rules .text-button { font-size: 10px; }
.modal { color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 0; width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); box-shadow: 0 24px 80px #172a3533; }
.modal::backdrop { background: #22372f77; backdrop-filter: blur(5px); }
.modal-content { padding: 30px; }
.modal-heading { display: flex; align-items: center; justify-content: space-between; margin-top: -8px; }
.icon-button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 27px; }
.icon-button:hover { background: #f0f2eb; }
.modal h2 { font-weight: 550; font-size: 32px; letter-spacing: -1.2px; margin: 6px 0 16px; }
.rules-list { padding-left: 19px; margin: 0; display: grid; gap: 13px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.rules-list strong { color: var(--ink); }
.rules-end, .keyboard-tip { font-size: 11px; line-height: 1.8; color: var(--muted); margin-top: 20px; }
.keyboard-tip { background: #f0f3e9; border-radius: 10px; padding: 12px; margin: 16px 0; }
.modal .primary { width: 100%; }
.winner-text { color: var(--green); font-size: 14px; line-height: 1.7; }
.finish-art { color: var(--orange); font-size: 70px; line-height: 1; margin: 20px 0 10px; }
.final-scores { margin: 20px 0; }
.final-scores .score-row { background: #f1f3eb; }
.modal-actions { display: grid; gap: 10px; }
.modal-actions .secondary { width: 100%; }
@keyframes score-pop { 50% { transform: scale(1.3); color: var(--green); } }

@media (min-width: 1400px) {
  .start-layout { gap: 110px; padding-top: 75px; padding-bottom: 75px; }
  .hero h1 { font-size: 72px; }
  .hero-art { margin-top: 30px; }
  .setup-card { padding: 36px; }
  .card-heading { margin-bottom: 32px; }
  .field { margin-bottom: 27px; }
}
@media (max-width: 1100px) {
  .site-shell { width: calc(100% - 64px); }
  .start-layout { gap: 40px; }
  .hero h1 { font-size: 52px; letter-spacing: -3px; }
  .setup-card { padding: 25px; }
  .grid-options label { gap: 7px; padding: 10px; }
  .grid-symbol { font-size: 22px; }
  .game-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 18px; }
  .board-card { padding: 0 12px; }
  .board-footer { flex-wrap: wrap; gap: 0; padding: 7px 0; }
  .board-footer .text-button { min-height: 30px; padding: 5px 0; }
  .game-actions { gap: 8px; }
}
@media (max-width: 820px) {
  .site-shell { width: calc(100% - 48px); max-width: 650px; }
  .site-header { height: 88px; }
  .header-note { display: none; }
  .start-layout { grid-template-columns: 1fr; padding: 38px 0; gap: 32px; }
  .hero h1 { font-size: 58px; line-height: 1.12; letter-spacing: -3.4px; }
  .hero > .eyebrow { margin-bottom: 20px; }
  .hero-description { margin-top: 26px; font-size: 13px; }
  .hero-art { position: absolute; right: 8px; top: 115px; width: 180px; opacity: .42; z-index: -1; }
  .hero { position: relative; isolation: isolate; }
  .art-caption, .points-sticker { display: none; }
  .hero-footnote { margin-top: 18px; }
  .setup-card { padding: 28px; }
  .game-heading { align-items: start; }
  .game-heading h1 { font-size: 28px; }
  .game-actions { justify-content: flex-end; flex-wrap: wrap; max-width: 210px; gap: 6px; }
  .game-actions .text-button { padding: 0 5px; min-height: 30px; }
  .secondary { padding: 10px 12px; }
  .game-layout { grid-template-columns: 1fr; }
  .game-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .scoreboard { grid-column: 2; grid-row: 1 / span 2; }
  .message { grid-column: 1; grid-row: 2; }
  .mini-rules { grid-column: 1 / -1; padding: 0 4px; }
  .mini-rules p { display: inline; margin-right: 8px; }
  .mini-rules > .eyebrow { display: block; margin-bottom: 4px; }
  .board-viewport { max-height: 68dvh; }
  .compact-timer { display: block; margin-left: auto; color: var(--green); font-size: 11px; font-weight: 700; background: #edf2e4; padding: 6px 7px; border-radius: 6px; }
  .compact-timer.warning { color: #a34727; background: #ffeadf; }
  .board-footer { flex-wrap: nowrap; min-height: 52px; }
  .site-footer { font-size: 9px; }
  .game { padding-top: 25px; }
}
@media (max-width: 480px) {
  .site-shell { width: calc(100% - 32px); }
  .site-header { height: 78px; }
  .wordmark { font-size: 22px; }
  .brand-icon { width: 32px; height: 32px; font-size: 29px; border-radius: 9px; margin-right: 9px; }
  .site-header > .text-button { font-size: 11px; }
  .start-layout { padding-top: 28px; gap: 25px; }
  .hero h1 { font-size: clamp(39px, 11.4vw, 53px); letter-spacing: -2.5px; }
  .hero > .eyebrow { font-size: 9px; margin-top: 0; margin-bottom: 16px; }
  .hero-art { width: 135px; top: 90px; right: 0; opacity: .25; }
  .hero-description { font-size: 12px; line-height: 1.8; margin-top: 24px; }
  .hero-footnote { font-size: 10px; }
  .setup-card { padding: 22px; border-radius: 18px; }
  .card-heading h2 { font-size: 22px; }
  .card-heading { margin-bottom: 24px; }
  .grid-options label { padding: 11px 9px; gap: 7px; }
  .grid-options strong { font-size: 13px; }
  .grid-options small { font-size: 8px; }
  .grid-symbol { font-size: 22px; }
  .radio-indicator { width: 11px; height: 11px; }
  .grid-options input:checked + label .radio-indicator { border-width: 3px; }
  .setup-note { font-size: 8px; gap: 7px; }
  .site-footer { flex-direction: column; align-items: center; gap: 7px; padding: 20px 0; }
  .site-footer > span:last-child { font-size: 8px; }
  .footer-mark { font-size: 12px; }
  .game-heading { flex-wrap: wrap; gap: 13px; margin-bottom: 16px; }
  .game-heading h1 { font-size: 29px; }
  .game-actions { max-width: none; width: 100%; justify-content: space-between; }
  .game-actions .text-button { padding: 0; min-height: 44px; }
  .game-actions button { font-size: 10px; }
  .board-card { margin: 0 -5px; padding: 0 10px; border-radius: 14px; }
  .board-toolbar { padding: 10px 0; }
  .turn { font-size: 11px; gap: 8px; }
  .zoom-button { padding: 8px 10px; min-height: 40px; }
  .board-footer > span { font-size: 9px; max-width: 72%; }
  .board-footer .text-button { font-size: 9px; min-height: 44px; }
  .game-sidebar { gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .timer-card { padding: 15px 12px; }
  .timer-head .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .timer-value { font-size: 25px; }
  .timer-card p { font-size: 9px; line-height: 1.5; }
  .scoreboard { padding: 15px 9px 0; }
  .panel-title { padding: 0 2px; margin-bottom: 10px; }
  .panel-title h2 { font-size: 11px; }
  .panel-title > span { font-size: 16px; }
  .score-row { padding: 9px 8px; gap: 5px; }
  .score-left { font-size: 10px; gap: 7px; }
  .score-value { font-size: 18px; }
  .score-legend { font-size: 8px; line-height: 1.5; gap: 5px; padding: 10px 0; }
  .triangle-icon { font-size: 18px; }
  .message { font-size: 10px; padding: 10px; }
  .modal-content { padding: 24px; }
  .modal h2 { font-size: 29px; }
  .mini-rules p { font-size: 10px; }
  .board-viewport { max-height: 62dvh; }
  .name-field input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
