@import url("./teaching.css");
.practice-question-number{font-size:12px;line-height:1.7;color:#78867b;margin:0 0 12px}
:root{font-family:"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif;color:#273e34;background:#f6f4ee;font-synthesis:none;--green:#245444;--muted:#78867b;--line:#e5e9df;--tile-w:38px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b59148;outline-offset:3px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.practice-header{height:84px;background:#fffdf8;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100vw - 940px)/2))}.practice-brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:650;letter-spacing:1px}.practice-brand small{display:block;font-size:10px;font-weight:400;letter-spacing:5px;color:var(--muted);margin-top:3px}.brand-mark{display:grid;place-items:center;border-radius:5px;width:33px;height:43px;background:#edf1e6;border:1px solid #d8dfd0;font-family:serif;font-size:27px;color:#367057;box-shadow:0 2px 0 #d4dccb}.replay-link{color:var(--muted);font-size:12px}.practice-main{max-width:880px;margin:auto;padding:40px 24px 22px}.practice-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.eyebrow{font-size:10px;color:#829078;letter-spacing:2px}.practice-intro h1{font-weight:600;font-size:34px;letter-spacing:2px;margin:10px 0 8px}.practice-intro p{font-size:13px;color:var(--muted);margin:0}.practice-stats{display:flex;gap:28px;text-align:center}.practice-stats strong{display:block;font-size:25px;line-height:1.5;font-weight:500;font-variant-numeric:tabular-nums;color:#385c44}.practice-stats span{font-size:10px;color:var(--muted)}.practice-modes{display:flex;gap:8px;margin-bottom:24px;padding-bottom:17px;border-bottom:1px solid var(--line)}.practice-modes button{border:0;background:transparent;color:#7d897c;padding:10px 16px;border-radius:7px;font-size:13px;min-height:42px}.practice-modes button[aria-pressed=true]{background:#e6eddf;color:#325e43;font-weight:600}.practice-modes span{font-size:10px;margin-left:4px;font-weight:400}.practice-card{padding:24px 28px;background:#fffef9;border:1px solid #e0e5d9;border-radius:13px;box-shadow:0 6px 24px #33452d04}.question-toolbar{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px;margin-bottom:20px}.question-toolbar>span{white-space:nowrap}.question-toolbar select{margin-left:auto;max-width:230px;min-width:0;border:0;background:#f2f4ec;border-radius:5px;padding:7px;color:#6b7d64;font-size:11px}.text-button{border:0;background:transparent;color:#738569;font-size:11px;padding:8px 4px}.practice-card h2{font-size:22px;font-weight:600;line-height:1.6;margin:0}.practice-context{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 23px}.practice-context span{background:#f0f3e9;border-radius:4px;font-size:11px;padding:5px 9px;color:#687b60}.practice-context span.draw-context{background:#f5efde;color:#8d753e}.practice-table{container-type:inline-size;background:radial-gradient(ellipse at 45% 30%,#28624c,#193f35);padding:30px 18px 17px;border:4px solid #365a45;border-radius:9px;box-shadow:inset 0 0 0 1px #b0c39d24}.practice-hand{display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:nowrap;--tile-w:clamp(16px,6.4cqw,46px);min-height:83px}.practice-tile{background:transparent;border:0;padding:0;flex:0 0 var(--tile-w);width:var(--tile-w);min-height:72px;display:flex;align-items:center;position:relative;justify-content:center;border-radius:2px;color:inherit;transition:transform .14s}.practice-tile:disabled{opacity:1}.practice-tile:not(:disabled):hover{transform:translateY(-4px)}.practice-tile.selected{transform:translateY(-9px);outline:2px solid #e5c575;outline-offset:-2px}.practice-tile.is-draw{margin-left:10px}.practice-tile.is-draw:before{content:"摸入";position:absolute;top:-15px;font-size:9px;color:#d7c793;white-space:nowrap}.practice-card[data-kind=win] .practice-tile.is-draw:before{content:"和牌张"}.tile{display:flex;flex:0 0 auto;width:var(--tile-w);height:calc(var(--tile-w)*360/272);border-radius:2px;user-select:none;box-shadow:0 2px 0 #8f998b,0 4px 5px #081e1950}.tile img{display:block;width:100%;height:100%;object-fit:contain}.practice-table>p{text-align:center;color:#a8c1af;font-size:10px;margin:13px 0 0}.practice-melds{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-bottom:22px}.practice-melds:empty{display:none}.practice-meld{display:flex;align-items:center;gap:0;--tile-w:26px}.practice-meld small{color:#b4c9b7;font-size:10px;margin-left:6px}.practice-conditions{font-size:11px;color:var(--muted);margin:18px 0 0;line-height:1.9}.practice-conditions summary{cursor:pointer}.practice-conditions p{margin:8px 0 0}.practice-win-options{display:flex;gap:12px;margin-top:23px}.practice-win-options button{flex:1;border:1px solid #dce4d1;background:#f4f6ef;color:#62765a;border-radius:7px;min-height:48px;font-size:13px}.practice-win-options button[aria-pressed=true]{color:#295a3e;background:#e7efdf;border-color:#89a17a;box-shadow:inset 0 0 0 1px #89a17a}.practice-submit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.practice-submit-row>span{color:#7a8772;font-size:12px}.primary-button{border:0;background:var(--green);color:#f6f8ef;border-radius:7px;padding:12px 21px;font-size:12px;min-height:44px;white-space:nowrap}.primary-button:hover:not(:disabled){background:#316950}.practice-answer{margin-top:20px;padding:24px 28px;border-radius:12px;border:1px solid #d8e3cf;background:#eef3e7}.practice-answer.alternative{border-color:#e6d9bb;background:#f5efe0}.answer-heading{display:flex;align-items:center;gap:10px}.answer-heading .answer-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#f6f8ee;background:#60864f;font-size:17px}.alternative .answer-mark{background:#a28b53}.answer-heading h2{font-size:18px;font-weight:600;margin:0}.practice-answer p{font-size:12px;line-height:1.9;color:#68795f}.recommended{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:19px 0 12px;--tile-w:29px;font-size:13px;color:#3e6246}.recommended strong{margin-right:6px}.practice-answer details{margin-top:19px;font-size:12px;color:#60755b}.practice-answer summary{cursor:pointer}.practice-answer table{width:100%;border-collapse:collapse;margin-top:12px;font-size:12px}.practice-answer th{text-align:left;font-size:10px;color:#849178;font-weight:500}.practice-answer td,.practice-answer th{padding:9px 7px;border-bottom:1px solid #dbe3d0}.practice-answer tr.best{background:#dfead4}.practice-answer td:first-child{display:flex;align-items:center;gap:8px;--tile-w:21px}.practice-answer td:last-child{font-variant-numeric:tabular-nums}.wait-tiles{display:flex;align-items:center;flex-wrap:wrap;gap:6px;--tile-w:25px;margin:12px 0}.fan-totals{display:flex;gap:16px;margin:17px 0}.fan-totals>div{flex:1;padding:13px;background:#fffdf66e;border-radius:7px}.fan-totals span{display:block;color:#7c8c70;font-size:10px}.fan-totals strong{display:block;font-weight:500;font-size:25px;margin-top:5px;color:#405f43}.fan-list{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:16px 0 0}.fan-list li{background:#fffdf671;border-radius:5px;padding:7px 10px;color:#617658;font-size:11px}.practice-navigation{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:21px}.practice-navigation>span{font-size:11px;color:#829078}.practice-footer{font-size:10px;color:#919b85;text-align:center;margin-top:32px;line-height:1.7}.practice-footer p{margin:4px 0}.practice-footer .text-button{font-size:10px;padding:0 4px}.practice-empty{padding:55px 20px;border:1px dashed #d5dfc9;border-radius:12px;text-align:center;background:#fffdf6}.practice-empty h2{font-weight:500;font-size:19px;margin:0 0 12px}.practice-empty p{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:22px}.practice-error{padding:14px 17px;border:1px solid #e2bdae;color:#964e40;background:#f7eae3;border-radius:7px;font-size:12px;margin-bottom:20px;line-height:1.8}
@media(max-width:600px){.practice-header{height:69px;padding:0 18px}.practice-brand{font-size:17px;gap:10px}.brand-mark{width:29px;height:37px;font-size:24px}.practice-main{padding:25px 13px 17px}.practice-intro{gap:12px;margin-bottom:23px}.practice-intro h1{font-size:28px;margin:7px 0}.practice-intro p{font-size:11px}.eyebrow{font-size:9px;letter-spacing:1px}.practice-stats{gap:14px}.practice-stats strong{font-size:20px}.practice-stats span{font-size:8px}.practice-modes{gap:4px;margin-bottom:17px;padding-bottom:13px}.practice-modes button{padding:9px 10px;font-size:12px}.practice-card{padding:18px 14px;border-radius:10px}.question-toolbar{gap:7px;font-size:10px;margin-bottom:17px}.question-toolbar select{max-width:140px;font-size:10px;padding:6px}.question-toolbar .text-button{font-size:10px;white-space:nowrap}.practice-card h2{font-size:18px}.practice-context{gap:5px;margin:12px 0 21px}.practice-context span{font-size:10px;padding:5px 7px}.practice-table{padding:27px 8px 14px;border-width:3px}.practice-hand{min-height:69px;--tile-w:clamp(15px,6.4cqw,38px)}.practice-tile{min-height:61px}.practice-tile.is-draw{margin-left:7px}.practice-table>p{font-size:9px}.practice-submit-row>span{font-size:11px}.practice-submit-row{margin-top:22px}.primary-button{padding:11px 16px}.practice-answer{padding:19px 17px}.practice-answer p{font-size:11px}.practice-footer{margin-top:27px}}
@media(max-width:360px){.practice-stats{gap:9px}.practice-stats strong{font-size:17px}.practice-intro p{font-size:10px}.practice-modes button{padding:9px 7px;font-size:11px}.practice-modes span{margin-left:2px}.question-toolbar select{max-width:114px}.question-toolbar{gap:5px}.practice-card{padding:16px 11px}.practice-main{padding-inline:10px}}

.brand-mark{font-family:inherit}
.practice-tile.selected{outline:none}
.practice-tile.selected>.tile{outline:2px solid #e5c575;outline-offset:-1px}
