/* A full-width original table, with a review that appears only after the hand. */
.tc-panel{display:none}body.tc-active .tc-panel{display:block;position:fixed;right:14px;top:12px;z-index:120;color:#eee;font:13px system-ui}.tc-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.tc-panel button,.tc-open{border:1px solid #756b47;border-radius:8px;background:#172824;color:#e9d89c;padding:8px 12px;cursor:pointer}.tc-panel [hidden]{display:none!important}
body.tc-active #s-game{width:100%!important}body.tc-active #s-game .player-bar{right:0!important}html body.tc-active #s-game#s-game#s-game .my-zone{left:50%!important;right:auto!important;min-width:0!important;width:min(475px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important;transform:translateX(-50%)!important}
.tc-dialog{box-sizing:border-box;width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px 28px;border:1px solid #817449;border-radius:16px;background:linear-gradient(145deg,#1d302d,#101e1e);color:#e9eeea;font:14px/1.6 system-ui,'Microsoft YaHei',sans-serif;box-shadow:0 24px 100px #0009;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.tc-dialog::backdrop{background:#03100ed9;backdrop-filter:blur(4px)}.tc-dialog h1{font-size:25px;margin:3px 0}.tc-dialog h2{font-size:18px;margin:20px 0 10px}.tc-dialog h3{font-size:19px;margin:6px 0 10px}.tc-dialog p{margin:9px 0}.tc-eyebrow{font-size:11px;letter-spacing:1px;color:#c4b57d;font-weight:700}.tc-review-head{display:flex;justify-content:space-between;align-items:start;gap:20px}.tc-dialog button{font:inherit;cursor:pointer}.tc-close{border:1px solid #6b7d72;border-radius:7px;padding:6px 11px;color:#e4e9e6;background:#ffffff08}.tc-board{display:flex;align-items:center;justify-content:center;gap:16px;margin:10px 0 20px}.tc-board>span:first-child{font-size:12px;color:#b3c5b9}.tc-cards{display:inline-flex;gap:5px}.tc-card{display:inline-flex;align-items:center;justify-content:center;background:#faf6ec;color:#202b33;border-radius:5px;min-width:36px;height:47px;font-weight:750;font-size:20px;box-shadow:0 2px 3px #0005}.tc-card.red{color:#b2383e}.tc-players{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.tc-player{text-align:center;padding:12px 8px;border:1px solid #455c50;background:#ffffff04;border-radius:10px}.tc-player.tc-hero{border-color:#c6af61;background:#d1ba6614}.tc-player-name{font-size:13px;margin-bottom:7px;font-weight:650}.tc-player-state{display:block;color:#baCbbf;font-size:11px;margin-top:6px}.tc-hero .tc-player-state{color:#e4d18c}.tc-other-cards{margin-top:10px}.tc-other-cards .tc-players{margin-top:10px}.tc-dialog summary{cursor:pointer;color:#d4c691;font-weight:600;padding:7px 0;font-size:13px}.tc-summary{color:#c5d0c9;padding:12px 0 0}.tc-decision{border:1px solid #4a6555;border-left:4px solid #a69660;border-radius:9px;padding:15px 18px;background:#ffffff04}.tc-decision.warning,.tc-decision.danger,.tc-decision.error{border-left-color:#e0a277}.tc-decision.good{border-left-color:#8cc5a6}.tc-recommendation{color:#f1da91;font-size:20px;font-weight:750}.tc-metrics{display:flex;gap:9px 20px;align-items:center;flex-wrap:wrap;background:#0003;padding:10px 12px;border-radius:7px;font-weight:650}.tc-metrics small{font-weight:400;color:#aabbaf}.tc-suggestion{color:#ecdeb4}.tc-range,.tc-draw{font-size:13px;color:#c3d5c8}.tc-method{border-top:1px solid #ffffff15;margin-top:12px;padding-top:6px;font-size:12px;color:#abbdb0}.tc-method a{display:inline-block;color:#dfd099;margin:4px 16px 4px 0}.tc-all-decisions{margin-top:15px}.tc-tabs{display:flex;gap:7px;overflow-x:auto;padding:8px 0 12px}.tc-tabs button{white-space:nowrap;border:1px solid #536951;background:transparent;color:#c4d1c5;padding:6px 12px;border-radius:20px}.tc-tabs button[aria-selected=true]{color:#19251b;background:#d2bd76;border-color:#d2bd76}.tc-review-footer{position:sticky;bottom:-24px;margin:20px -28px -24px;padding:15px 28px;background:#142522f5;border-top:1px solid #506247;display:flex;gap:16px;align-items:center;justify-content:space-between}.tc-review-footer>span{font-size:11px;color:#a8b9ad}.tc-next{border:1px solid #c6b374;background:#d3bd77;color:#18271f;border-radius:8px;padding:11px 25px;font-weight:750!important;white-space:nowrap}.tc-next:disabled{opacity:.5}.tc-dialog :focus-visible,.tc-panel :focus-visible{outline:3px solid #f2da8f;outline-offset:3px}.tc-speech{position:fixed;z-index:500;pointer-events:none;max-width:210px;border:1px solid #dfce94;background:#fff9e7;color:#293832;border-radius:12px;padding:9px 12px;font:600 13px/1.5 system-ui,'Microsoft YaHei',sans-serif;box-shadow:0 5px 18px #0005}.tc-speech::after{content:'';position:absolute;bottom:-7px;left:45%;width:12px;height:12px;background:#fff9e7;border-right:1px solid #dfce94;border-bottom:1px solid #dfce94;transform:rotate(45deg)}
body.tc-active #pb-timer,body.tc-active .seat-timer,body.tc-active .timer-ring,body.tc-active #g-winner-overlay,body.tc-active #g-next-hand-btn,body.tc-active #g-endgame-overlay,body.tc-active .seat-timer-badge,body.tc-active .seat-timer-bar,body.tc-active .seat-timer-rect,body.tc-active .timer-svg,body.tc-active .seat-timeout-bar,body.tc-active .seat-avatar>svg,body.tc-active .mode-sel-wrap{display:none!important}body.tc-active:not(:has(#s-game.active)) .tc-panel{display:none}
.login-card[onclick*="pokerthnet"],.login-card[onclick*="lan-dedi"],.mode-seg-btn[data-value="pokerthnet"],.mode-seg-btn[data-value="lan-dedi"]{display:none!important}.cf-row:has(#cf-use-password),#cf-password-row,.cf-row:has(#cf-allow-spectators),#cf-gtype-row,#cf-vorlage-row,.cf-preset[data-preset="ranking"],.cf-preset[data-preset="wecup"],.cf-preset[data-preset="bbc"]{display:none!important}.cf-row:has(#cf-timeout) .cf-step,.cf-row:has(#cf-delay) .cf-step{display:none!important}.cf-row:has(#cf-timeout)::after{content:'本练习不限时';font-size:13px;font-weight:600;color:var(--text)}.cf-row:has(#cf-delay)::after{content:'每手结束后手动继续';font-size:13px;font-weight:600;color:var(--text)}.cf-row:has(#cf-players) .cf-lbl::after{content:'（包含你）';font-size:11px;opacity:.7}
@media(max-width:760px){.tc-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:17px 14px;border-radius:12px;font-size:13px}.tc-dialog h1{font-size:22px}.tc-card{min-width:30px;height:41px;font-size:18px}.tc-players{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:7px}.tc-decision{padding:12px}.tc-review-footer{bottom:-17px;margin:16px -14px -17px;padding:12px 14px}.tc-review-footer>span{max-width:45%}.tc-next{padding:10px 15px}.tc-panel{max-width:80vw}.tc-speech{max-width:170px;font-size:12px}body.tc-active #s-game .player-bar{position:absolute!important;bottom:0!important}html body.tc-active #s-game#s-game#s-game .my-zone{position:absolute!important;bottom:8px!important}}
.tc-dialog{position:fixed;inset:0;margin:auto!important}.tc-dialog:not([open]){display:none}

.tc-net{display:block;font-weight:750;font-size:16px;margin-top:5px}.tc-net.win{color:#9ddbb4}.tc-net.loss{color:#f3a297}.tc-net.even{color:#c1cec5}.tc-player-hand{display:block;color:#cfdecf}.tc-net-caption,.tc-analysis-note{color:#a8bcb2;font-size:12px}.tc-other-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 18px;margin:12px 0}.tc-other-results>div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #ffffff12;padding:5px 0;align-items:center}.tc-other-results .tc-net{font-size:13px;white-space:nowrap;margin:0}.tc-other-results>div>span:first-child{min-width:0;overflow-wrap:anywhere}.tc-settlement{border-block:1px solid #ffffff20;padding:8px 0 14px;margin-top:14px}.tc-settlement>summary{cursor:pointer;font-weight:700;color:#e2d5a5;padding:10px 0;min-height:24px;line-height:24px}.tc-settlement>summary:focus-visible{outline:2px solid #e2d5a5;outline-offset:3px}.tc-pot-result{font-weight:600;color:#e2d5a5}.tc-rule{color:#b9ccc2;font-size:13px}.tc-showdown-help .tc-card{min-width:26px;height:34px;font-size:16px}.tc-showdown-help .tc-cards{vertical-align:middle;flex-wrap:wrap}.tc-showdown-help p{font-size:13px}.tc-main-advice>.tc-decision{margin-bottom:12px}.tc-spot{font-size:12px;color:#b6c6bb}.tc-opponent-review{padding:10px 0;border-top:1px solid #ffffff15}.tc-opponent-review h3{font-size:15px;margin:2px 0}.tc-opponent-review p{margin:5px 0}.tc-analysis-note{margin-top:16px!important}
@media(max-width:760px){.tc-other-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px;font-size:12px}.tc-other-results>div{flex-wrap:wrap}.tc-net{font-size:14px}.tc-decision h3{font-size:17px}}
/* Touch-friendly review; the dialog owns its scroll, including on short landscape screens. */
@media(max-width:760px),(max-height:500px) and (pointer:coarse){
 html body .tc-dialog{width:calc(100vw - 16px);max-width:1000px;max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:16px 14px;font-size:15px;overflow-wrap:anywhere}
 html body .tc-dialog h1{font-size:22px}
 html body .tc-dialog .tc-close{min-height:44px;min-width:58px;flex-shrink:0}
 html body .tc-dialog summary{min-height:44px;box-sizing:border-box;display:flex;align-items:center;font-size:14px}
 html body .tc-dialog .tc-player-name{font-size:14px;overflow-wrap:anywhere}
 html body .tc-dialog .tc-player-state,html body .tc-dialog .tc-spot{font-size:13px}
 html body .tc-dialog .tc-rule,html body .tc-dialog .tc-showdown-help p{font-size:14px}
 html body .tc-dialog .tc-review-footer{bottom:-16px;margin:16px -14px -16px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));gap:10px}
 html body .tc-dialog .tc-next{min-height:48px;font-size:16px;padding:10px 16px}
 html body .tc-dialog .tc-board{gap:8px;flex-wrap:wrap}
 html body .tc-dialog .tc-other-results{font-size:13px}
 html body #nick,html body #create-form input,html body #create-form select{font-size:16px;min-height:44px}
 html body #create-form .cf-step-btn{min-width:44px;min-height:44px}
 html body .login-card{min-height:44px}
}
@media(max-width:360px){html body .tc-dialog .tc-review-footer{flex-wrap:wrap}html body .tc-dialog .tc-review-footer>span{max-width:none}html body .tc-dialog .tc-next{width:100%}}
.tc-straight-label{display:block;color:#e8d597;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.tc-straight-proof{padding:10px 12px;margin:12px 0;border:1px solid #647a57;border-radius:9px;background:#ffffff05}.tc-straight-proof>.tc-cards{flex-wrap:wrap}.tc-straight-proof p .tc-cards{vertical-align:middle;flex-wrap:wrap}.tc-straight-proof p .tc-card{min-width:25px;height:34px;font-size:16px}
.tc-sizing{border-top:1px solid #ffffff20;margin-top:12px;padding-top:10px;font-size:13px;color:#cad7cf}.tc-sizing>strong{color:#e0d29e;font-size:14px}.tc-sizing p{margin:6px 0}.tc-size-advice{color:#eddda6}
.tc-spot-label{font-size:13px;color:#aebfb5;line-height:1.5}.tc-action-size{color:#e0d29e}.tc-action-next{color:#b9ccc0}.tc-decision-details{margin-top:12px;border-top:1px solid #ffffff20;padding-top:10px;font-size:13px;color:#b9ccc0}.tc-decision-details>summary{cursor:pointer;color:#d2c490;min-height:28px;line-height:28px}.tc-analysis-evidence{line-height:1.7}.tc-decision .tc-suggestion{font-weight:700}
@media(max-width:760px){html body .tc-dialog .tc-sizing{font-size:14px;overflow-wrap:anywhere}}
