:root{font-family:Segoe UI,Microsoft YaHei,sans-serif;color:#e5eaf0;background:#0b1016;font-synthesis:none;--green: #174837;--gold: #e1b765;--muted: #9ba8b5}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 50% -20%,#18242d,#0b1016 58%);color:#e5eaf0}button,select{font:inherit}button{cursor:pointer;transition:background .18s,transform .18s}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #dcaa52;outline-offset:3px}button{border:0;background:none;color:inherit;border-radius:8px}dialog button:not(:disabled):hover{background:#e7e9df}a{color:inherit;text-decoration:none}.topbar{position:sticky;top:0;z-index:8;height:62px;border-bottom:1px solid #2a343c;display:flex;align-items:center;padding:0 22px;gap:22px;background:#10171e;color:#e8edf2}.brand{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:750;letter-spacing:0;color:#f1f3f5}.brand-icon{display:grid;place-items:center;background:#1b503d;color:#f2d18e;width:34px;height:36px;border-radius:7px;font-family:serif}.brand small{font-size:11px;letter-spacing:3px;color:var(--muted);display:block;margin-top:2px}.topbar nav{margin-left:auto;display:flex;gap:6px}.topbar nav button{padding:8px 12px;font-size:13px;color:#d7dfe7;background:#18212a;border:1px solid #313d47;border-radius:7px}.outline-button{border:1px solid #cbd4c7;background:#fff}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.3px;color:#8b967e}.table{height:min(60vh,620px);min-height:440px;position:relative;overflow:hidden;border-radius:0 0 8px 8px;color:#ebefdf;background:radial-gradient(ellipse at 50% 42%,#275d48,#143c30 75%);box-shadow:inset 0 0 100px #061d17a8}.table-border{position:absolute;inset:20px;border:1px solid #c2cb9822;border-radius:100px;pointer-events:none}.table:after{position:absolute;inset:27px;border:1px solid #c2cb980c;border-radius:90px;content:"";pointer-events:none}.table-label{position:absolute;top:17px;left:23px;color:#b3c3a35e;font-size:8px;letter-spacing:2px}.table-label span{display:block;font-size:9px;letter-spacing:1px;margin-top:5px}.table-mark{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#aec7ad55;width:260px}.table-emblem{font:55px Georgia,serif;border:1px solid #acc09830;display:inline-flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;transform:rotate(-9deg)}.table-mark p{font-size:13px;letter-spacing:4px;margin-bottom:7px}.table-mark small{font-size:9px;letter-spacing:2px;color:#a2b99d44}.seat{position:absolute;z-index:2;width:170px}.seat-2{top:26px;left:50%;transform:translate(-50%);width:220px}.seat-3{top:165px;left:28px}.seat-1{top:165px;right:28px}.identity{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #b7d0ac23;border-radius:10px;background:#092c2638}.avatar{width:35px;height:35px;border-radius:50%;background:#608472;display:grid;place-items:center;font-family:serif;font-size:17px;color:#e9eadd}.seat-2 .avatar{background:#b8ac81;color:#244638}.identity div{display:flex;flex-direction:column;gap:4px}.identity b{font-size:12px;letter-spacing:1px}.identity div span{font-size:9px;color:#a9c0b0}.identity strong{margin-left:auto;font-size:23px;font-weight:400}.identity strong small{font-size:9px;color:#b3c7b4}.seat.active .identity{border-color:#e1bd75;box-shadow:0 0 0 3px #e6be7410}.seat.finished .identity{opacity:.55}.seat-play{margin-top:12px;text-align:center}.seat-play small,.my-last>small{font-size:9px;color:#c4d6bd}.played-cards{display:flex;justify-content:center;margin-bottom:5px}.played-cards .card-face{margin-left:-12px;box-shadow:0 3px 5px #06291f50}.played-cards .card-face:first-child{margin-left:0}.table .played-cards{flex-wrap:wrap;row-gap:4px}.table .played-cards .card-face{width:44px;height:64px;padding:4px}.table .played-cards .card-face b{font-size:18px}.table .played-cards .card-face>span{font-size:14px}.table .seat-1 .played-cards{width:220px;margin-left:-50px}.table .seat-3 .played-cards{width:220px}@media(max-width:900px){.table .played-cards .card-face{width:38px;height:56px}.table .seat-1 .played-cards,.table .seat-3 .played-cards{width:150px}.table .seat-1 .played-cards{margin-left:-20px}}.pass-word{color:#b7cbb7;font-size:12px;letter-spacing:3px}.my-last{position:absolute;bottom:58px;left:50%;transform:translate(-50%);text-align:center;z-index:2}.turn-banner{position:absolute;bottom:17px;left:50%;transform:translate(-50%);border:1px solid #c2d4b225;color:#bacdb7;border-radius:20px;padding:7px 18px;font-size:11px;background:#102f2766;max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.your-turn{color:#f1d49a;border-color:#e6be7440;background:#83723b20}.hand-panel{border:1px solid #303b44;border-top:0;background:#151c23;color:#e2e8ed;padding:16px 22px 17px;border-radius:0 0 14px 14px;min-width:0}.hand-title{display:flex;align-items:center;gap:10px}.you-avatar{width:28px;height:28px;background:#e8eddf;border-radius:50%;display:grid;place-items:center;font-size:12px}.hand-title strong{font-size:12px;font-weight:600}.hand-title strong span{font-size:10px;color:#8f9887;margin-left:7px;font-weight:400}.hand-tools{margin-left:auto;display:flex;gap:9px}.hand-tools button{font-size:10px;color:#87927f;padding:5px}.hand{display:flex;align-items:flex-end;justify-content:center;height:133px;padding:27px 0 14px;touch-action:pan-y;isolation:isolate}.card{padding:0;width:calc((100% - 52px) / 26);max-width:39px;flex:none;border-radius:7px;position:relative;text-align:left;height:86px;overflow:visible}.card:last-child{width:58px}.card:hover{z-index:2}.card.selected{transform:translateY(-17px);z-index:3}.card.selected .card-face{box-shadow:0 0 0 2px #b78c3b,0 6px 9px #5c50202a}.card.unavailable{opacity:.4}.card-face{display:flex;flex-direction:column;align-items:flex-start;position:relative;width:58px;height:86px;background:#fffdf2;border:1px solid #d6d8c9;border-radius:6px;color:#283b34;padding:5px 4px;box-shadow:1px 2px 4px #273d351c;user-select:none;flex:none}.card-face b{font-size:21px;line-height:1.1;font-family:Georgia,Times New Roman,serif;letter-spacing:-1px}.card-face>span{font-size:16px;line-height:1.2}.card-face.suit-0,.card-face.suit-2{color:#222}.card-face.suit-1,.card-face.suit-3{color:#c43e36}.card-face.wild{background:#fff2cd;border-color:#d4b968}.card-face.level{background:#e8eef1}.card-face i{font-size:8px;font-style:normal;position:absolute;bottom:4px;left:4px;color:#927a46}.card-face em{position:absolute;bottom:2px;right:1px;font-size:7px;font-style:normal;background:#edd69c;color:#544321}.card-face.small{width:33px;height:47px;padding:3px}.card-face.small b{font-size:13px}.card-face.small>span{font-size:10px}.card-face.small i{display:none}.action-row{display:flex;align-items:center;gap:15px;min-height:41px}.gold-button{background:var(--gold);color:#49391d;font-weight:650;border:1px solid #d6ab60;padding:11px 27px}.gold-button:not(:disabled):hover{background:#efd097}#selection{font-size:10px;color:#929b88;line-height:1.8;min-width:0}#selection select{max-width:170px;background:#f5f5eb;border:1px solid #dce0cf;border-radius:5px;color:#56644e;padding:3px;font-size:10px}.invalid{color:#aa5d4d}.footnote{font-size:9px;color:#97a08d;line-height:1.9;margin:11px 0 22px}.round-overlay{position:absolute;z-index:5;inset:75px 17% 65px;text-align:center;padding:24px;background:#153c33f5;border:1px solid #9eab6d66;border-radius:16px;box-shadow:0 20px 50px #05282077}.round-overlay h2{font-size:22px;color:#ead3a5;margin:12px 0}.round-overlay p{font-size:12px;color:#adbea7}.ranking{display:flex;justify-content:center;gap:20px;margin:22px 0}.ranking span{font-size:9px;color:#9cb59e}.ranking b{display:block;font-size:13px;color:#e1e8d7;margin-top:6px}.round-overlay>small{display:block;font-size:9px;margin-top:14px;color:#9fb49f}.tribute-note{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);padding:18px 24px;background:#0c3028e6;border:1px solid #cbb37166;border-radius:12px;text-align:center;z-index:4;min-width:220px}.tribute-note b,.tribute-note span,.tribute-note small{display:block}.tribute-note b{color:#e8cb92;font-size:17px}.tribute-note span{font-size:12px;margin:9px 0}.tribute-note small{font-size:10px;line-height:1.8;color:#abc0a9}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#243c32;color:#f4eddc;border:1px solid #8e9d77;padding:13px 22px;border-radius:10px;z-index:30;font-size:12px;max-width:90vw;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%)}dialog{border:1px solid #c8d1bd;border-radius:17px;background:#fcfdf6;color:#354c3b;width:min(600px,92vw);max-height:85vh;padding:25px 30px;box-shadow:0 20px 100px #07271e66}dialog::backdrop{background:#0a261e88;backdrop-filter:blur(4px)}.dialog-title{display:flex;justify-content:space-between;align-items:center}.dialog-title h2{font-size:22px;margin:0}.dialog-title button{font-size:24px}dialog h3{font-size:14px;margin-top:24px}dialog p{font-size:12px;line-height:1.9;color:#76856d}.setting{display:flex;align-items:center;gap:10px;margin:20px 0;font-size:12px}.setting select{margin-left:auto;padding:7px;border:1px solid #cbd6bf;border-radius:5px}@media(min-width:1600px){.table{height:490px}.seat-1,.seat-3{top:195px}}@media(max-width:1150px){.workspace{padding-left:22px;padding-right:22px}.seat{width:130px}.seat-2{width:190px}.seat-1{right:20px}.seat-3{left:20px}.identity{gap:6px;padding:8px}.avatar{width:27px;height:27px}.hand-panel{padding-left:15px;padding-right:15px}}@media(max-width:900px){.coach{display:none}.coach.open{display:block;position:fixed;right:15px;top:90px;bottom:15px;overflow:auto;width:320px;max-width:92vw;z-index:10;box-shadow:0 20px 80px #0d382a66}.coach-head button{display:block}.table{height:400px}.workspace{padding-top:20px}.topbar{height:75px}.seat{width:170px}.seat-2{width:210px}}@media(max-width:560px){.workspace{padding:17px 10px 5px}.topbar{padding:0 15px;height:68px;gap:10px}.brand{font-size:21px;gap:9px}.brand-icon{width:34px;height:38px;font-size:22px}.brand small{font-size:8px;letter-spacing:2px}.topbar nav{gap:2px}.topbar nav button{padding:8px;font-size:10px}.eyebrow{font-size:8px;letter-spacing:1.5px}.table{height:370px}.table-border{inset:12px;border-radius:65px}.table:after{inset:17px;border-radius:60px}.table-label{top:13px;left:14px;font-size:6px;letter-spacing:1px}.table-label span{font-size:7px}.seat{width:105px}.seat-2{width:154px;top:25px}.seat-1{right:12px;top:160px}.seat-3{left:12px;top:160px}.identity{padding:7px 5px;gap:4px}.identity b{font-size:10px;letter-spacing:0}.identity div span{font-size:7px}.avatar{width:23px;height:23px;font-size:12px}.identity strong{font-size:18px}.identity strong small{font-size:7px}.table-mark{top:47%;width:150px}.table-emblem{width:60px;height:60px;font-size:38px}.table-mark p{font-size:9px;letter-spacing:1px}.table-mark small{display:none}.turn-banner{font-size:9px;padding:7px 10px;bottom:12px}.my-last{bottom:48px}.played-cards .card-face{margin-left:-17px}.hand-panel{padding:12px 11px}.hand-title strong{font-size:11px}.hand-title strong span{font-size:9px}.hand-tools{gap:3px}.hand-tools button{font-size:9px}.hand{height:auto;min-height:180px;display:grid;grid-template-columns:repeat(14,minmax(0,1fr));justify-content:initial;align-content:end;row-gap:19px;padding:25px 0 16px;margin-right:22px}.card,.card:last-child{width:100%;max-width:none;height:65px}.card-face{width:44px;height:65px;padding:4px 2px}.card-face b{font-size:16px}.card-face>span{font-size:12px}.card.selected{transform:translateY(-10px)}.action-row{flex-wrap:wrap;gap:10px}#selection{width:100%;min-height:20px}.round-overlay{inset:80px 20px 55px;padding:17px 10px}.round-overlay h2{font-size:20px}.ranking{gap:22px;margin:18px 0}.round-overlay p{font-size:10px}.tribute-note{top:44%;min-width:190px;padding:14px}.tribute-note b{font-size:14px}.tribute-note span{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.topbar nav button,.identity b,.identity div span,.seat-play small,.my-last>small,.turn-banner,.hand-title strong,.hand-title strong span,.hand-tools button,#selection,#selection select,.footnote,.round-overlay p,.ranking span,.round-overlay>small,.tribute-note span,.tribute-note small,dialog p,dialog h3,.setting{font-size:clamp(13px,1vw,15px)}.eyebrow,.table-label,.table-label span{font-size:11px}.identity div span,.seat-play small,.turn-banner{color:#d3e2ce}.hand-title strong span,.hand-tools button,#selection,.footnote{color:#596b58}.topbar nav button,.hand-tools button{min-height:40px}.footnote,dialog p{line-height:1.65}.card-face i,.card-face em{font-size:10px}.hand-title{flex-wrap:wrap}.hand-tools{flex-wrap:wrap;justify-content:flex-end}.hand-tools .arrange-button{background:#d8e8dc;color:#174b39;font-weight:700;border:1px solid #98bca4;padding:5px 12px}.hand-tools #restore:not(:disabled){background:#f3ead4;color:#674d1f;border:1px solid #dac292;padding:5px 12px}.hand-tools #manual[aria-pressed=true]{background:#e6ebe1;color:#174b39;box-shadow:inset 0 0 0 1px #9bb5a0}.card.moving .card-face{box-shadow:0 0 0 3px #d8a64f,0 6px 12px #173c3266}.hand.manual{touch-action:none}.hand.manual .card{cursor:grab}.hand.arranged{height:auto;min-height:133px;display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:12px;padding:16px 0 14px}.hand-group{display:flex;flex-direction:column;gap:5px;padding:7px 8px 8px;background:#f0f4ea;border:1px solid #d2dfcc;border-radius:10px;max-width:100%}.hand-group-cards{display:flex;align-items:flex-end;isolation:isolate}.hand-group .card{width:26px;max-width:none;flex:none;height:86px}.hand-group .card:last-child{width:58px}.topbar nav button,.hand-tools button,.hand-title strong,.turn-banner,#selection,#selection select,dialog h3,.setting{font-size:15px}dialog p{font-size:14px}@media(max-width:560px){.topbar nav button,.identity b,.identity div span,.turn-banner,.hand-title strong,.hand-title strong span,.hand-tools button,#selection,.round-overlay p,.ranking span,.tribute-note span,.tribute-note small{font-size:12px}.identity strong small,.table-label,.table-label span,.eyebrow{font-size:10px}.identity{gap:3px}.seat{width:118px}.seat-2{width:166px}.hand-tools button{padding:5px 3px}.hand-tools{width:100%;margin-left:0;justify-content:space-between;gap:5px}.hand-tools button{padding:5px 7px}.hand.arranged{display:flex;margin-right:0;min-height:180px;gap:9px;align-content:flex-start;padding:12px 0 16px}.hand-group{padding:6px;gap:4px}.hand-group .card{width:21px;height:65px}.hand-group .card:last-child{width:44px}.topbar nav button,.hand-tools button,.hand-title strong,.turn-banner,#selection,#selection select{font-size:14px}.identity b,.identity div span{font-size:12px}}.topbar nav button:hover{background:#24313b}.topbar nav #coachToggle[aria-pressed=true]{background:#244d3d;border-color:#47745d;color:#e3f1e8}.topbar nav button:disabled{opacity:.35}.workspace{max-width:1860px;padding:14px 18px;margin:auto}.game-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.game-layout.coach-open{grid-template-columns:minmax(0,1fr) 396px}.game-column{min-width:0}.table-border{border-color:#b5d2a41c}.table-mark{color:#b6d2b20e}.table-emblem{border-color:#b6d2b210}.wild-hint{position:absolute;z-index:3;top:8px;left:14px;padding:7px 13px;border:1px solid #ae82504f;border-radius:18px;background:#29231bd9;color:#efd9ad;font-size:13px;max-width:calc(100% - 28px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.turn-banner{bottom:105px;z-index:4}.my-last{bottom:161px}.table-actions{position:absolute;z-index:5;left:50%;bottom:44px;transform:translate(-50%);display:flex;gap:10px;align-items:center}.table-actions button{min-width:100px;height:46px;padding:0 18px;background:#214332;color:#e4eee7;border:1px solid #47715a;border-radius:9px;font-size:15px;font-weight:650}.table-actions #hint{background:#245a7a;border-color:#4b89ad;color:#f0f7fb}.table-actions #play{background:#d7ad60;border-color:#efce88;color:#352918}.table-actions button:disabled{opacity:.42}.hand-title strong span,.hand-tools button{color:#a8b3be}.hand-tools button{background:#1b252d}.hand-tools .arrange-button{background:#214735;color:#e1eee5;border-color:#3c7252}.hand-tools #restore:not(:disabled){background:#352e20;color:#f0d9a8;border-color:#75613a}.hand-tools button:not(:disabled):hover{background:#2b3942;color:#eff4f6;transition:background-color .18s ease,color .18s ease,border-color .18s ease}.hand-tools .arrange-button:not(:disabled):hover{background:#315d46;border-color:#629d71;color:#f3f8f4}.hand-tools #restore:not(:disabled):hover{background:#4a3b25;border-color:#a28246;color:#f5e2bc}.hand-tools #manual[aria-pressed=true]:not(:disabled):hover{background:#304c3d;color:#eff7f1}.hand-tools button:focus-visible{outline:2px solid #b9a36f;outline-offset:2px;box-shadow:0 0 0 3px #b9a36f20}.coach{display:none;background:#141b22;border:1px solid #303b44;color:#e3e8ed;border-radius:9px;max-height:calc(100vh - 78px);overflow:auto;position:sticky;top:74px;box-shadow:0 12px 35px #0004}.coach.open{display:block}.coach-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;background:#182129;border-bottom:1px solid #303b44;padding:9px 12px}.coach-head h2{font-size:17px;margin:0;color:#f0f3f6;letter-spacing:0}.coach-head #densityToggle{margin-left:auto}.coach-head button{display:block;color:#bdc7d0;font-size:20px;padding:2px 8px}.coach-content{padding:9px;display:flex;flex-direction:column;gap:7px}.teach-section{padding:12px;background:#19222a;border:1px solid #2b3740;border-radius:8px}.teach-section h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;color:#e8edf1;font-size:15px}.teach-section h3 small{font-size:11px;font-weight:400;color:#9eabb6}.situation-list{display:grid;grid-template-columns:83px 1fr;gap:8px 9px;margin:0;font-size:12px;line-height:1.5}.situation-list dt{color:#9eabb6}.situation-list dd{margin:0;color:#dbe2e8}.situation-list dd.team{color:#8bd1a3}.situation-list dd.danger{color:#f08c83}.situation-list dd.warn{color:#e7c16e}.strategy-line{margin:11px 0 0;padding:9px 10px;border-radius:6px;font-size:13px;line-height:1.45;background:#28333d;color:#c5d6e7}.strategy-line.team{background:#1b3328;color:#a9dfb9}.strategy-line.defense{background:#302920;color:#efc778}.strategy-line.attack{background:#30281e;color:#e9c489}.memo-wrap{overflow:auto;margin-top:10px}.memo-table{width:100%;border-collapse:collapse;font-size:11px;color:#bdc7d0}.memo-table th,.memo-table td{padding:6px 4px;text-align:center;border-bottom:1px solid #2c3740}.memo-table th:first-child,.memo-table td:first-child{text-align:left}.memo-table thead{color:#8796a3;font-size:10px}.memo-table .wild-row{background:#302a1d;color:#f0d48f}.memo-table .known-low{color:#8bd1a3}.memo-table .known-high{color:#f08c83}.section-note{margin:0 0 8px;color:#96a3af;font-size:11px;line-height:1.5}.teaching-plans{display:flex;flex-direction:column;gap:7px}.teaching-plan{display:flex;gap:9px;width:100%;padding:10px;text-align:left;background:#202a32;border:1px solid #35424c;border-radius:7px;color:#e0e6eb}.teaching-plan.best{border-color:#557454;background:#243229}.teaching-plan:disabled{opacity:.8}.plan-index{color:#8494a1;font-size:12px}.plan-body{min-width:0;display:grid;grid-template-columns:1fr auto;gap:5px;flex:1}.plan-body b{font-size:13px}.plan-action{font-size:10px;font-style:normal;border-radius:10px;padding:2px 7px;background:#214332;color:#a8dfb8}.plan-action.pass{background:#3a2b24;color:#e7bd81}.plan-body small{grid-column:1/-1;color:#aab5bf;font-size:11px;line-height:1.45}.plan-cards{grid-column:1/-1;display:flex;align-items:center;padding-top:4px}.plan-cards .card-face{width:28px;height:40px;margin-left:-4px;padding:3px}.plan-cards .card-face:first-child{margin-left:0}.plan-cards .card-face b{font-size:12px}.plan-cards .card-face>span{font-size:9px}.rule-details summary{cursor:pointer;color:#dfe6ec;font-size:14px;font-weight:600}.rule-warning{margin:10px 0 4px;color:#e7bd81;font-size:11px;line-height:1.5}.strength-ladder{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-top:10px;color:#82919d;font-size:11px}.strength-ladder span,.strength-ladder b{padding:3px 5px;border:1px solid #35424b;border-radius:4px;background:#202a32;color:#c5d0d9;font-weight:500}.strength-ladder b{border-color:#806c3a;color:#efd18d;background:#302a1c}.rule-details ul{padding-left:18px;color:#aeb9c2;font-size:11px;line-height:1.7}.self-check{padding:7px 10px;background:#25313a;color:#e0e6eb;border:1px solid #3a4853;border-radius:5px}#selfCheckResult ul{padding-left:0;list-style:none;color:#9dd0a9;font-size:11px;line-height:1.7}.coach-history{margin:0;padding-left:22px;color:#bac4cc;font-size:12px;line-height:1.7}.coach-history li{padding:4px 0;border-bottom:1px solid #2c3740}.coach button:not(:disabled):hover{background-color:#26333b;border-color:#43515b;color:#e6edf2;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.coach .teaching-plan:not(:disabled):hover{background-color:#293832;border-color:#4e6c55;color:#eef2ed;transform:translateY(-1px)}.coach .teaching-plan.best:not(:disabled):hover{background-color:#2b3b31;border-color:#66815f}.teaching-plan:hover .plan-body small{color:#d1dce3}.coach button:focus-visible,.table-actions button:focus-visible,.topbar nav button:focus-visible{outline:2px solid #b9a36f;outline-offset:2px;box-shadow:0 0 0 3px #b9a36f20}.round-overlay{background:#15241ff2;border-color:#b4a36c55}.tribute-note{background:#13211eef;color:#e7edf0}#toast{background:#19242b;color:#f0f3f5;border-color:#576b57}@media(max-width:1150px){.game-layout.coach-open{grid-template-columns:minmax(0,1fr) 360px}.workspace{padding-left:12px;padding-right:12px}}@media(max-width:900px){.game-layout,.game-layout.coach-open{grid-template-columns:1fr}.coach.open{position:fixed;inset:68px 10px 10px auto;width:min(396px,94vw);max-height:none;z-index:20}.coach-head{top:0}.topbar{height:58px;padding:0 10px;gap:10px}.topbar nav{gap:4px}.topbar nav button{padding:7px 9px;font-size:12px}.workspace{padding:10px 8px}.table{height:450px;min-height:410px}}@media(max-width:560px){.topbar nav button{min-height:36px;padding:6px 7px;font-size:12px}.brand{font-size:16px}.brand-icon{width:30px;height:32px}.game-layout{gap:8px}.table{height:420px;min-height:390px}.wild-hint{top:3px;max-width:calc(100% - 24px);font-size:10px;padding:4px 7px}.my-last{bottom:149px}.turn-banner{bottom:93px}.table-actions{bottom:32px;gap:6px}.table-actions button{min-width:88px;height:44px;padding:0 10px;font-size:14px}.hand-panel{padding:10px 8px}.hand-tools{width:auto;flex:1 1 100%;justify-content:flex-start}.hand-tools button{font-size:11px;padding:5px 7px}.hand-title{gap:7px}.coach.open{inset:62px 6px 6px;width:auto}.coach-content{padding:8px}.situation-list{grid-template-columns:75px 1fr}.wild-parse{grid-template-columns:auto auto}.wild-parse small{grid-column:1/-1}.teach-section{padding:10px}}.topbar{height:58px;padding:0 14px;gap:10px}.topbar .brand{flex:none;font-size:18px}.topbar-chips{display:flex;align-items:center;gap:5px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.topbar-chips::-webkit-scrollbar{display:none}.status-chip{flex:none;white-space:nowrap;padding:6px 10px;border:1px solid #2b3948;border-radius:18px;background:#1c2733;color:#d2dce6;font-size:12px;line-height:1}.status-chip.level-chip{border-color:#665024;background:#332a19;color:#f0cc78}.topbar nav{flex:none;margin-left:0;gap:5px}.topbar nav button{padding:7px 9px;font-size:12px}.table{border-radius:12px 12px 0 0}@media(max-width:900px){.topbar{height:auto;min-height:86px;flex-wrap:wrap;align-content:center;gap:5px;padding:6px 8px}.topbar .brand{order:0}.topbar nav{order:1;margin-left:auto}.topbar-chips{order:2;flex-basis:100%;height:28px}.status-chip{padding:5px 8px;font-size:11px}.coach.open{inset:90px 8px 8px auto}}@media(max-width:560px){.topbar nav{gap:3px}.topbar nav button{min-height:32px;padding:5px 6px;font-size:11px}.topbar .brand{font-size:15px;gap:4px}.topbar .brand-icon{width:27px;height:29px}.coach.open{inset:90px 6px 6px}}.ally{color:#a0d8b0}.opponent{color:#f0aaa7}.lesson-fold{border-top:1px solid #34414a;padding:9px 0}.lesson-fold summary{color:#d3dee7;cursor:pointer;font-size:14px}.lesson-fold summary:hover{color:#fff}.lesson-fold summary:focus-visible{outline:2px solid #baa671;outline-offset:3px}.option-comparison{padding:10px;margin-top:8px;background:#202d33;border:1px solid #3c4a51;border-radius:6px}.option-comparison b{font-size:13px;color:#f1dba8}.option-comparison p{margin:6px 0;font-size:13px}.caution{color:#efb1ac}.known-mid{color:#e4bf7e}.compact .coach-reference,.compact .group-summary,.compact [data-fold=groups]{display:none}.reading-progress{height:2px;background:#26343c}.reading-progress span{display:block;height:100%;background:#d2b56c;transition:width .2s linear}.decision-area,.observation-area,.resource-area{padding:6px}.decision-area h3{margin-bottom:4px}.decision-context{margin:0 0 6px;font-size:12px;color:#d0dfd9}.decision-area .teaching-plan{padding:6px;gap:6px}.decision-area .plan-body{gap:2px 5px;grid-template-columns:minmax(75px,1fr) minmax(0,1.4fr);align-items:center}.decision-area .plan-cards{grid-column:2;padding-top:0;flex-wrap:wrap;row-gap:3px}.decision-area .plan-cards .card-face{height:28px;width:23px}.decision-area .plan-body small{display:none}.group-summary{font-size:12px;line-height:1.5;margin-top:5px}.coach-reference{display:grid;gap:7px}.risk-chips,.race-chips{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:11px;line-height:1.5}.risk-chips span{color:#d3dcca}.race-context{font-size:12px;margin:4px 0}.coach .lesson-fold{margin:0;padding:0;border:0}.coach .lesson-fold>summary{font-size:12px;padding:4px 0;color:#dce6ee}.coach .lesson-fold p,.coach .lesson-fold li{font-size:12px;line-height:1.55}.coach-footnote{margin:0;font-size:11px;opacity:.6;line-height:1.5}.term{position:relative;border-bottom:1px dotted #a8b8c4;cursor:help;outline-offset:3px}.term>[role=tooltip]{display:none;position:absolute;left:0;top:100%;margin-top:6px;width:245px;max-width:65vw;padding:10px;border:1px solid #596874;border-radius:7px;background:#25313b;color:#edf3f7;font-size:13px;font-weight:400;line-height:1.6;z-index:25;box-shadow:0 5px 15px #0005}.term:hover>[role=tooltip],.term:focus>[role=tooltip]{display:block}.metric-changed{animation:metric-change 1.8s ease-out;border-radius:3px;padding:1px 2px}@keyframes metric-change{0%{background:#725e32;color:#fff0be}to{background:transparent}}@media(prefers-reduced-motion:reduce){.metric-changed{animation:none;outline:1px solid #9c864e}}.coach .decision-area{padding:12px;border-color:#49654e;background:#1d2b24}.coach .observation-area{padding:0;border-color:#385263;background:#192832}.coach .resource-area{padding:0;border-color:#3b454c;background:#1c2329}.area-fold>summary{list-style:none;display:grid;grid-template-columns:1fr 18px;gap:6px 12px;padding:11px 12px;cursor:pointer}.area-fold>summary::-webkit-details-marker{display:none}.area-heading{font-size:14px;font-weight:650;color:#e7edf1}.area-preview{grid-row:2;font-size:12px;line-height:1.6;color:#b5c6d1}.area-chevron{grid-column:2;grid-row:1 / 3;align-self:center;width:7px;height:7px;border-right:1.5px solid #a7bac7;border-bottom:1.5px solid #a7bac7;transform:rotate(45deg);transition:transform .16s}.area-fold[open]>summary .area-chevron{transform:rotate(225deg)}.area-fold>summary:hover{background:#ffffff06}.area-fold>summary:focus-visible{outline:2px solid #b9a36f;outline-offset:-3px;border-radius:8px}.area-body{padding:0 12px 14px;border-top:1px solid #ffffff12}.area-body h4{margin:15px 0 8px;font-size:13px;color:#e1e8ee}.area-body p,.area-body li{font-size:13px;line-height:1.75;color:#bccbd4}.resource-nav{display:flex;gap:4px;padding:4px;margin:12px 0 16px;background:#111920;border-radius:7px}.resource-nav button{flex:1;padding:8px 3px;color:#aebfc9;font-size:12px;border-radius:5px}.resource-nav button[aria-pressed=true]{color:#f1f5f6;background:#34434d;box-shadow:0 1px 4px #0004}.resource-page{min-height:220px}.resource-page[hidden]{display:none}.lesson-topic+.lesson-topic{border-top:1px solid #ffffff12;margin-top:18px}.coach .group-summary{border-top:1px solid #ffffff12;padding-top:9px;margin-top:10px;color:#bccfbd}.spectator-hand{display:block;height:auto;padding:16px 0}.spectator-label{color:#d7e6d9;font-size:14px;margin-bottom:12px}.spectator-label span{color:#a7b9ac;margin-left:10px}.spectator-cards{display:flex;flex-wrap:wrap;gap:5px}.spectator-cards .card-face{width:42px;height:66px;display:flex}.spectator-cards .card-face b{font-size:16px}.spectator-cards .card-face>span{font-size:14px}.spectating .hand-tools{display:none}.character-avatar{flex:none;overflow:hidden;border:2px solid #657d88;background:#244835;box-shadow:0 2px 6px #0004}.avatar.character-avatar{width:48px;height:48px;border-radius:14px}.hand-title .you-avatar.character-avatar{width:36px;height:36px;border-radius:11px}.character-avatar.team-avatar{border-color:#82aa8e}.character-avatar.is-active{border-color:#edcd87;box-shadow:0 0 0 3px #e1b76524}.character-avatar img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.seat-1,.seat-3{width:190px}.identity div span,.identity strong{white-space:nowrap}@media(max-width:560px){.seat-1,.seat-3{width:132px}.avatar.character-avatar{width:34px;height:34px;border-radius:10px}.identity{gap:6px}.hand-title .you-avatar.character-avatar{width:32px;height:32px}}.entry-screen,.learn-screen{max-width:980px;margin:auto;padding:60px 24px}.entry-kicker{font-size:12px;letter-spacing:2px;color:#d5bd80}.entry-screen h1,.learn-intro h1{font-size:clamp(26px,4vw,40px);line-height:1.35;margin:18px 0}.entry-screen>p,.learn-intro p,.learn-note{color:#aabcc7;line-height:1.8}.entry-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:36px 0 24px}.entry-options button{text-align:left;border:1px solid #3a5151;background:#182721;padding:30px;border-radius:16px;color:#e6eee8}.entry-options button+button{background:#1a252d;border-color:#3b4e5d}.entry-options button:hover{border-color:#c6b076;transform:translateY(-2px)}.entry-options h2{font-size:26px;margin:15px 0}.entry-options p{color:#aabfc0;font-size:14px;line-height:1.9;min-height:60px}.entry-options b{display:block;margin-top:24px;color:#ead39c}.entry-options button>span,.entry-screen>small{color:#a3b7bd;font-size:12px}.learn-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 24px;border-bottom:1px solid #2e3d46}.learn-header button,.lesson-demo button{border:1px solid #4a6262;background:#223631;color:#dbeadf;padding:10px 14px}.learn-screen{padding-top:32px}.lesson-nav{display:flex;gap:8px;margin:28px 0 16px}.lesson-nav button{flex:1;text-align:left;padding:14px;border:1px solid #33454e;background:#172129;color:#b6c7d1}.lesson-nav button[aria-current=step]{border-color:#b29b62;background:#2e3027;color:#f2deb2}.lesson-nav small{display:block;font-size:11px;color:#a4c9ab;margin-top:5px}.lesson-stage{padding:30px;border:1px solid #35494c;border-radius:14px;background:#17232a}.lesson-stage h2{margin:0 0 18px;font-size:23px}.lesson-stage p{color:#b8cbd4;line-height:1.9}.lesson-stage h3{margin:26px 0 18px;font-size:16px;color:#e4d3a7}.lesson-seats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 0}.lesson-seats button{border:1px solid #46645b;background:#223c30;padding:25px 8px;color:#e0eee3}.lesson-seats>span{grid-column:1 / -1;text-align:center;padding:12px;color:#b5c5cc}.lesson-demo{display:flex;align-items:center;gap:14px;padding:12px;background:#101c23;border-radius:8px}.lesson-demo span{color:#b5c9d1;font-size:13px;line-height:1.7}.lesson-hand{display:flex;gap:16px;padding:20px 4px}.lesson-hand button{padding:0}.lesson-hand button[aria-pressed=true]{transform:translateY(-10px);box-shadow:0 0 0 3px #dfc780}.lesson-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:10px 0 20px}.lesson-actions button,.lesson-footer button{padding:12px 24px;background:#c6aa67;color:#221e14;font-weight:650}.lesson-actions span{font-size:12px;color:#a8bdc7}.lesson-feedback{padding:16px;border-radius:8px;background:#26323a;color:#d8e2e7;line-height:1.8;min-height:64px}.lesson-feedback.success{background:#263e30;color:#cae6d1}.lesson-footer{display:flex;align-items:center;justify-content:space-between;margin-top:28px;gap:12px;color:#a7bdc5;font-size:13px}.lesson-target{display:flex;gap:18px;align-items:center;padding:18px;background:#10261e;border-radius:8px;color:#b8d2c1}.learn-note{font-size:13px}.rule-course-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.lesson-stage>h2{margin-top:16px}.rule-takeaway{padding:18px;background:#21372e;border-left:3px solid #b8a16b;border-radius:0 8px 8px 0}.rule-points{padding-left:22px;color:#c6d4dc;line-height:1.9}.rule-points li+li{margin-top:12px}.rule-example{padding:18px;margin-top:24px;background:#101c23;border-radius:10px}.rule-example h3{margin-top:0}.rule-example-cards{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.rule-example-cards .card-face{width:42px;height:64px}.rule-example-cards .card-face b{font-size:18px}.rule-example-cards .card-face>span{font-size:14px}.rule-question{border-top:1px solid #34464e;margin-top:26px}.rule-answers{display:grid;gap:10px;margin-bottom:18px}.rule-answers button{text-align:left;border:1px solid #465c65;background:#20303a;padding:15px;color:#deebee;line-height:1.6}.rule-answers button:hover,.rule-answers button[aria-pressed=true]{background:#30483d;border-color:#aa975f}@media(max-width:600px){.rule-course-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-example{padding:14px}.rule-example-cards{gap:4px}.rule-example-cards .card-face{width:36px;height:56px}.rule-example-cards .card-face b{font-size:16px}.lesson-footer{flex-wrap:wrap}.lesson-footer button{padding:11px 14px}}@media(max-width:600px){.entry-screen,.learn-screen{padding:28px 16px}.entry-options{grid-template-columns:1fr;gap:14px;margin-top:24px}.entry-options button{padding:22px}.entry-options p{min-height:0}.learn-header{padding:12px 16px;font-size:13px}.learn-header button{font-size:12px;padding:9px}.lesson-nav{gap:5px}.lesson-nav button{font-size:12px;padding:10px 8px}.lesson-stage{padding:20px 16px}.lesson-seats{gap:6px}.lesson-seats button{font-size:12px}.lesson-demo{flex-wrap:wrap}}.game-column{padding-bottom:calc(max(190px,var(--dock-height, 190px)) + 24px)}.decision-dock{position:fixed;z-index:7;bottom:14px;left:var(--dock-left, 18px);width:var(--dock-width, calc(100% - 36px) );padding:12px 14px;border:1px solid #54705c;border-radius:12px;background:#17251ff5;box-shadow:0 8px 32px #0007;backdrop-filter:blur(12px)}.decision-dock h3{gap:12px}.decision-dock .decision-context{margin-bottom:8px}.decision-dock .teaching-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.decision-dock .teaching-plan{min-width:0}.decision-dock .plan-body{grid-template-columns:1fr}.decision-dock .plan-cards{grid-column:1;grid-row:2}.decision-dock .plan-body small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;grid-row:3;line-height:1.5}.decision-dock .group-summary{font-size:11px;color:#a9bdaf;margin-top:8px}.decision-dock.idle{padding:10px 14px}.decision-dock.idle h3,.decision-dock.idle .group-summary{display:none}.decision-dock.idle .decision-context{margin:0}@media(min-width:901px){.hand-panel{padding:8px 14px}.hand-title{gap:8px}.hand-tools{gap:6px}.hand-tools button{min-height:32px;padding:5px 9px;font-size:12px}.hand-title .you-avatar{width:24px;height:24px}.hand:not(.arranged):not(.spectator-hand){height:96px;min-height:0;padding:20px 0 4px}#hand .card{height:72px;width:calc((100% - 50px) / 26);max-width:32px}#hand .card:last-child{width:50px;max-width:none}#hand .card>.card-face{width:50px;height:72px;padding:4px 3px}#hand .card>.card-face b{font-size:18px}#hand .card>.card-face>span{font-size:14px}.hand.arranged{min-height:92px;gap:8px;padding:16px 0 4px}.hand-group{padding:4px;border-radius:8px}#hand .hand-group .card{width:23px;max-width:none}#hand .hand-group .card:last-child{width:50px}.hand-panel .action-row{min-height:24px}.hand-panel #selection,.hand-panel #selection select{font-size:12px}.game-column .table{height:clamp(360px,calc(100dvh - max(190px,var(--dock-height, 190px)) - var(--hand-height, 240px) - 108px),620px);min-height:360px}.hand-panel{max-height:max(180px,calc(100dvh - max(190px,var(--dock-height, 190px)) - 460px));overflow-y:auto}}@media(max-width:900px){.hand:not(.arranged):not(.spectator-hand){min-height:0;padding-top:20px;padding-bottom:6px;align-content:start}.decision-dock{bottom:max(8px,env(safe-area-inset-bottom));padding:10px}.decision-dock .teaching-plans{display:flex;flex-direction:row;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.decision-dock .teaching-plan{flex:0 0 78%;scroll-snap-align:start}.decision-dock .group-summary{display:none}.decision-dock .plan-cards{flex-wrap:nowrap}.decision-dock .plan-body small{-webkit-line-clamp:1}}
