:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#18332c;background:#f3f6f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}.site-header{height:62px;background:#3498db;color:#fff;display:flex;align-items:center;gap:18px;padding:0 max(22px,calc((100vw - 1120px)/2));font-size:13px}.brand{font-size:18px;font-weight:750;color:white;text-decoration:none}.site-header span{opacity:.78}main{max-width:1120px;margin:34px auto;padding:0 22px;min-height:calc(100vh - 150px)}h1,h2,p{margin-top:0}h1{font-size:28px;margin-bottom:12px}h2{font-size:19px;margin:4px 0 0}.card{background:#fff;border:1px solid #dce5dc;border-radius:14px;padding:24px;box-shadow:0 5px 20px #193b2a0a}.auth-card{max-width:460px;margin:55px auto}.muted{color:#718178}.small{font-size:12px}.tabs{display:flex;border-bottom:1px solid #dce5dc;margin:22px 0 16px}.tab{background:transparent;border:0;border-bottom:2px solid transparent;padding:11px 16px;color:#607168;cursor:pointer}.tab.active{border-bottom-color:#187b58;color:#146344;font-weight:700}form label{display:block;font-size:13px;font-weight:650;margin:15px 0}input{display:block;width:100%;margin-top:7px;border:1px solid #cbd8ce;border-radius:8px;padding:12px;font:inherit}.primary,.quiet{border:0;border-radius:8px;padding:11px 17px;cursor:pointer;font:inherit}.primary{background:#197a56;color:white;font-weight:700;width:100%;margin-top:8px}.primary:hover{background:#126444}.quiet{background:#e9f1eb;color:#315746;font-size:13px}.message{min-height:20px;color:#a43232;font-size:13px;margin:12px 0 0}.topline,.question-heading,.account{display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{font-size:11px;letter-spacing:.12em;color:#74867a;font-weight:750;margin:0 0 6px}.account{font-size:14px}.progress{display:flex;justify-content:space-between;gap:20px;margin:14px 0 20px;padding:15px 22px}.progress>div{display:flex;align-items:baseline;gap:8px}.stat-label{font-size:12px;color:#718178}.progress strong{font-size:19px;font-variant-numeric:tabular-nums}.question-card{padding:24px}.badge{background:#eef5ef;color:#547461;border-radius:99px;padding:7px 11px;font-size:11px;white-space:nowrap}.table{margin:22px auto 14px;max-width:760px;min-height:365px;background:#316f52;border:10px solid #28583f;border-radius:12px;display:grid;grid-template:1fr 1fr/1fr 1fr;gap:4px;padding:12px;color:#f2f4e6;box-shadow:inset 0 0 0 1px #ffffff40}.seat{min-width:0;display:flex;flex-direction:column;gap:6px;padding:7px}.seat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px}.seat.current{background:#ffffff14;border-radius:7px}.seat-right{grid-column:2;grid-row:1;align-items:flex-end}.seat-top{width:100%}.seat-right .river,.seat-right .melds{justify-content:flex-end}.seat-bottom{grid-column:1;grid-row:2;transform:none}.seat-left{grid-column:1;grid-row:2;transform:rotate(90deg)}.seat-left .seat-top{transform:rotate(-90deg)}.seat-left .river,.seat-left .melds{justify-content:flex-end}.seat-opposite{grid-column:2;grid-row:1;transform:rotate(180deg)}.seat-right{grid-column:3;grid-row:2;transform:rotate(-90deg)}.seat-bottom{grid-column:2;grid-row:3}.table{grid-template:1fr 1.2fr 1fr/1fr 1.2fr 1fr}.river,.melds{display:flex;flex-wrap:wrap;gap:3px;min-height:22px}.meld{display:flex;gap:1px;border-left:2px solid #d1c58c;padding-left:3px;margin-right:5px}.tile{position:relative;display:inline-flex;align-items:center;justify-content:center;width:23px;height:32px;border-radius:3px;background:linear-gradient(100deg,#fffef0,#e8e4cc);border:1px solid #b9b59e;color:#18312b;font-size:15px;font-weight:750;box-shadow:0 2px 1px #182d2466;line-height:1}.tile.red{color:#ca4036}.tile.dora{outline:2px solid #f1cb50}.tile.unknown{background:#e3ece5;color:#73877a}.river .tile{width:20px;height:27px;font-size:12px}.hand-area{border-top:1px solid #e5ebe5;padding-top:17px}.hand-area>div:first-child{display:flex;align-items:center;gap:10px;font-size:14px}.draw-label{font-size:12px;color:#b57b14}.tile-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.hand{margin-top:10px;min-height:43px}.hand .tile{width:31px;height:43px;font-size:20px}.hand .drawn{margin-left:12px}.choice-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}.choice{display:flex;align-items:center;gap:8px;background:white;border:1px solid #ccd8ce;border-radius:9px;padding:10px 12px;cursor:pointer;color:#1d3b30}.choice:hover{border-color:#21835c;background:#f5faf6}.choice.selected{border-color:#188057;box-shadow:0 0 0 2px #18805724;background:#eff8f1}.choice:disabled{cursor:default}.action-label{font-size:12px;font-weight:700;color:#53675b}.feedback{border-top:1px solid #e0e9e1;margin-top:20px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.feedback h3{font-size:14px;margin:0 0 4px}.feedback p{font-size:13px;color:#5f7066;margin:0}.feedback strong{font-size:24px;color:#176746;font-variant-numeric:tabular-nums}.choice.is-best{border-color:#3d9b65;background:#f0faf2}.choice.is-selected{outline:2px solid #173f2e}.choice .choice-score{font-size:12px;font-weight:700;color:#477258}.choice-list.answered .choice{cursor:default}footer{max-width:1120px;margin:0 auto;padding:0 22px 24px;color:#78847d;font-size:11px}@media(max-width:680px){main{margin:20px auto;padding:0 12px}.card{padding:16px}.question-heading{align-items:flex-start}.badge{white-space:normal}.table{min-height:310px;padding:6px;gap:2px;border-width:7px}.seat{padding:4px}.tile{width:19px;height:27px;font-size:12px}.river .tile{width:17px;height:23px;font-size:10px}.hand .tile{width:26px;height:37px;font-size:17px}.progress{flex-wrap:wrap;padding:12px}.progress>div{width:45%;}.feedback{align-items:flex-start}.feedback strong{font-size:19px}}.next-button{margin-top:15px;max-width:250px}.dora-indicator{display:flex;align-items:center;gap:9px;margin:14px auto -15px;max-width:760px;font-size:12px;color:#61756a}.dora-indicator .tile{transform:scale(.85);transform-origin:left center}.name-form{display:flex;align-items:center;gap:8px;max-width:520px;margin:0 0 14px auto;padding:12px 16px;background:#fff;border:1px solid #dce5dc;border-radius:10px}.name-form label{flex:1;margin:0}.name-form .message{flex-basis:100%}.name-form[hidden]{display:none}

/* Compact header and responsive account menu. */
.site-header{height:44px;gap:16px;padding:0 max(22px,calc((100vw - 1120px)/2));justify-content:space-between;font-size:13px;position:relative;z-index:10}.brand-group{display:flex;align-items:center;gap:14px;min-width:0}.brand{font-size:17px;white-space:nowrap}.brand-group>span{white-space:nowrap}.header-menu{display:flex;align-items:center;gap:18px}.header-menu .account{gap:10px}.sound-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:4px 8px;border:1px solid #ffffff45;border-radius:7px;background:#263b4e;color:#eef5f6;font:700 12px system-ui,sans-serif;cursor:pointer}.sound-toggle:hover{background:#40566a}.sound-toggle[aria-pressed="true"]{border-color:#a6ffbf;color:#d9ffe3}.sound-toggle svg{width:17px;height:17px;fill:currentColor;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sound-toggle svg path:not(:first-child){fill:none}.sound-muted-line{display:none}.sound-toggle[aria-pressed="false"] .sound-waves{display:none}.sound-toggle[aria-pressed="false"] .sound-muted-line{display:block}.x-link{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;color:#e9f4e9}.x-link:hover{background:#ffffff18}.x-link svg{width:19px;height:19px;fill:currentColor}.nav-toggle{display:none;width:34px;height:32px;padding:5px;border:1px solid #ffffff40;border-radius:7px;background:transparent;color:#e9f4e9;cursor:pointer}.nav-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:680px){.site-header{height:42px;padding:0 14px}.brand-group{gap:9px}.brand{font-size:16px}.brand-group>span{font-size:11px}.nav-toggle{display:grid;place-items:center;flex:0 0 auto}.header-menu{display:none;position:absolute;right:10px;top:calc(100% + 5px);min-width:210px;padding:13px;background:#153b32;border:1px solid #ffffff2b;border-radius:10px;box-shadow:0 9px 24px #10271f55;align-items:stretch;gap:12px}.header-menu.open{display:flex;flex-direction:column}.header-menu .account{justify-content:space-between}.header-menu .x-link{align-self:flex-start}}
#rating-summary{font-size:12px;font-variant-numeric:tabular-nums;color:#d5eadb;white-space:nowrap}
.site-header{padding-inline:24px}
@media(max-width:680px){.site-header{padding-inline:14px}}
.leaderboard-nav-link{color:#eef5f6;text-decoration:none;border-radius:6px;padding:5px 8px;font-weight:650;white-space:nowrap}.leaderboard-nav-link:hover{background:#ffffff18;text-decoration:underline;text-underline-offset:3px}
.settings-link{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;color:#e9f4e9}.settings-link:hover,.settings-link.active{background:#ffffff18}.settings-link svg{width:20px;height:20px;fill:currentColor}
.sound-toggle{width:34px;padding:4px;gap:0}.sound-toggle svg{width:18px;height:18px}
