.tc{--tc-green:#14785d;--tc-ink:#24362f;max-width:1060px;color:var(--tc-ink);box-sizing:border-box;min-height:80vh;margin:0 auto;padding:22px 20px 70px;font-family:system-ui,-apple-system,Noto Sans JP,sans-serif;line-height:1.6}.tc *{box-sizing:border-box}.tc button,.tc input{font:inherit}.tc button{cursor:pointer;touch-action:manipulation;transition:background .15s,box-shadow .15s,transform .15s}.tc button:disabled{cursor:default;opacity:.45}.tc button:focus-visible,.tc a:focus-visible,.tc input:focus-visible{outline-offset:3px;outline:3px solid #78b9fa}.tc-header{border-bottom:1px solid #dce5e0;justify-content:space-between;align-items:center;gap:16px;padding-bottom:17px;display:flex}.tc-header>a{color:#64766d;font-size:13px;text-decoration:none}.tc-header>div{align-items:center;gap:10px;margin-right:auto;display:flex}.tc-header h1{margin:0;font-size:25px;font-weight:850}.tc-game-symbol{color:var(--tc-green);font-size:28px}.tc-intro{text-align:center;margin:38px 0 25px}.tc-eyebrow{text-transform:uppercase;color:#6f8378;letter-spacing:.1em;font-size:12px}.tc-intro h2{margin:10px 0;font-size:clamp(19px,3vw,26px);font-weight:800}.tc-intro>p:last-child{color:#718178;font-size:14px}.tc-lobby-card{background:#fff;border:1px solid #dce6df;border-radius:20px;max-width:520px;margin:0 auto;padding:28px;box-shadow:0 10px 35px #163e2710}.tc-modes{background:#edf2ef;border-radius:11px;gap:4px;margin-bottom:25px;padding:4px;display:flex}.tc-modes button{color:#6a7f73;background:0 0;border:0;border-radius:8px;flex:1;padding:10px 5px;font-size:14px;font-weight:700}.tc-modes .active{color:var(--tc-green);background:#fff;box-shadow:0 2px 7px #203e2915}.tc-profile{align-items:center;gap:14px;display:flex}.tc-profile label{flex:1;font-size:13px;font-weight:700}.tc-profile label small{color:#7b8e83;font-weight:400}.tc input:not([type=checkbox]){color:#24362f;background:#fbfdfb;border:1px solid #ccd9d0;border-radius:9px;width:100%;min-width:0;margin-top:6px;padding:11px 13px;display:block}.tc-avatar{color:#31755b;background:#e4eee7;border:2px solid #fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:19px;font-weight:800;display:inline-flex;overflow:hidden;box-shadow:0 0 0 1px #d7e2d9}.tc-avatar img{object-fit:cover;width:100%;height:100%}.tc-code-label{margin-top:20px;font-size:13px;font-weight:700;display:block}.tc-code-label small{color:#7d8b83;margin-top:6px;font-size:11px;font-weight:400;display:block}.tc-mode-note{color:#75837b;margin:20px 0;font-size:12px;line-height:1.8}.tc-primary,.tc-danger,.tc-light,.tc-quiet{border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:10px 19px;font-size:14px;font-weight:700;display:inline-flex}.tc-primary{background:var(--tc-green);color:#fff;border:1px solid var(--tc-green);box-shadow:0 3px 7px #14785d20}.tc-primary:hover:not(:disabled){background:#0c624b}.tc-danger{color:#fff;background:#d84d4b;border:1px solid #d84d4b}.tc-light{color:#405a4c;background:#fff;border:1px solid #cad8cf}.tc-quiet{color:#6b7e73;background:0 0;border:0;padding:7px 12px;font-size:12px}.tc-wide{width:100%}.tc-rules{color:#5d7165;background:#f2f6f3;border-radius:16px;max-width:670px;margin:35px auto 0;padding:22px 25px;font-size:13px}.tc-rules h2{color:#334e3e;margin:0 0 10px;font-size:16px}.tc-rules ol{margin:0;padding-left:20px}.tc-rules li{padding:5px 0}.tc-rules>p{color:#839286;margin-top:14px;font-size:11px}.tc-other-games{flex-wrap:wrap;justify-content:center;gap:18px;margin-top:25px;display:flex}.tc-other-games a{color:#567964;font-size:12px;text-decoration:none}.tc-notice{color:#9a5429;background:#fff1df;border:1px solid #f2d2a4;border-radius:10px;max-width:700px;margin:15px auto;padding:12px 15px;font-size:13px}.tc-room-top{color:#6f8176;justify-content:space-between;gap:15px;margin:17px 0;font-size:12px;display:flex}.tc-room-top span:last-child{font-variant-numeric:tabular-nums;font-weight:750}.tc-players{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.tc-player{text-align:center;background:#fff;border:1px solid #dce5de;border-radius:13px;flex-direction:column;align-items:center;min-width:0;padding:13px 10px 10px;display:flex;position:relative}.tc-player.turn{background:#f0faf4;border:2px solid #36a681;padding:12px 9px 9px;box-shadow:0 0 0 3px #28a27612}.tc-player b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin-top:7px;font-size:13px;overflow:hidden}.tc-player small{color:#7c8d82;font-size:10px}.tc-player strong{color:#33735a;font-size:14px}.tc-player.me b{color:#14785d}.tc-player em{color:#b38b38;font-size:11px;font-style:normal;position:absolute;top:7px;right:9px}.tc-pass-tag{color:#9b7d56;font-size:10px;position:absolute;top:7px;left:7px}.tc-wait{text-align:center;padding:50px 20px}.tc-wait h2{margin:22px 0 8px;font-size:20px;font-weight:750}.tc-wait p{color:#7e8c83;font-size:13px}.tc-spinner{border:3px solid #ddece4;border-top-color:var(--tc-green);border-radius:50%;width:32px;height:32px;margin:auto;animation:1s linear infinite tc-spin}@keyframes tc-spin{to{transform:rotate(360deg)}}.tc-checkbox{justify-content:center;align-items:center;gap:9px;margin:20px 0;font-size:13px;display:flex}.tc-checkbox input{accent-color:var(--tc-green);width:17px;height:17px}.tc-turn-banner{text-align:center;color:#6b7b71;background:#eef2ef;border-radius:9px;margin:17px 0 12px;padding:10px;font-size:13px;font-weight:750}.tc-turn-banner.yours{color:#13785c;background:#e3f5eb}.tc-table{color:#f5fff6;background:radial-gradient(at 50% 30%,#348a6e,#21684f);border:5px solid #e2e9df;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:240px;padding:24px 20px;display:flex;box-shadow:inset 0 0 0 1px #ffffff1c}.tc-table-title{letter-spacing:.04em;color:#dcf1df;font-size:12px}.tc-table>p{color:#dbeddf;text-align:center;margin:0;font-size:12px}.tc-table-cards{justify-content:center;align-items:center;gap:8px;min-height:90px;display:flex}.tc-empty-pile{text-align:center;color:#d2e8d7;border:1px dashed #d9efe344;border-radius:12px;place-items:center;width:150px;min-height:86px;font-size:13px;display:grid}.tc-card{color:#24352f;vertical-align:middle;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#fffefb;border:1px solid #d7ddd8;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:62px;height:88px;padding:0;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 2px 3px #0d2c2526}.tc button.tc-card:disabled{opacity:1}.tc button.tc-card:not(:disabled):hover{box-shadow:0 0 0 2px #a9eac1,0 4px 9px #0002}.tc-card.red{color:#cd454b}.tc-card.small{border-radius:6px;width:47px;height:68px}.tc-corner{flex-direction:column;align-items:center;font-size:12px;line-height:1.05;display:flex;position:absolute;top:5px;left:6px}.tc-corner b{font-size:17px}.tc-card-suit{margin-top:10px;margin-left:7px;font-size:30px}.tc-card.small .tc-corner{font-size:10px;top:4px;left:4px}.tc-card.small .tc-corner b{font-size:13px}.tc-card.small .tc-card-suit{margin-top:8px;font-size:23px}.tc-card.back{background:#e8f0ea;border-color:#e5eae3;padding:4px}.tc-back-pattern{color:#dfe8df;background:repeating-linear-gradient(45deg,#315d7a 0 2px,#376b84 2px 5px);border:2px solid #f2f3e3;border-radius:4px;place-items:center;width:100%;height:100%;font-size:23px;display:grid}.tc-card.selected{background:#f2fff5;border-color:#198a64;transform:translateY(-7px);box-shadow:0 0 0 2px #198a64,0 5px 9px #145e3325}.tc-joker{color:#a7518a;letter-spacing:.06em;font-size:9px;position:absolute;top:7px}.tc-card .tc-joker+.tc-card-suit{color:#ae5c9b}.tc-message{text-align:center;color:#587264;min-height:22px;margin:12px 0;font-size:13px}.tc-hand-section{background:#fff;border:1px solid #e0e8e1;border-radius:16px;margin-top:12px;padding:15px 20px 8px}.tc-hand-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.tc-hand-heading h2{margin:0;font-size:14px;font-weight:750}.tc-hand-heading small{color:#7c9082;margin-left:8px;font-size:11px}.tc-hand{flex-wrap:wrap;justify-content:center;gap:6px;max-height:265px;padding:9px 0 5px;display:flex;overflow-y:auto}.tc-actions{z-index:2;background:#fffffff2;justify-content:center;gap:12px;padding:17px 0 12px;display:flex;position:relative}.tc-draw-cards{flex-wrap:wrap;justify-content:center;gap:7px;max-width:700px;display:flex}.tc .tc-draw-cards .tc-card:disabled{opacity:.7}.tc.memory-table{padding:18px}.tc-memory-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;width:min(100%,680px);display:grid}.tc-memory-grid>div{justify-content:center;display:flex}.tc-memory-grid .tc-card{aspect-ratio:.71;width:100%;height:auto;min-height:70px;max-height:100px}.tc-taken{opacity:.2}.tc-taken .tc-card{box-shadow:none}.tc-claim{margin:0;font-size:46px;font-weight:800;line-height:1.1}.tc-claim small{margin-left:8px;font-size:18px;font-weight:600}.tc-doubt-pile{position:relative}.tc-doubt-pile>span:last-child{color:#4e644e;background:#fff4cd;border:2px solid #21684f;border-radius:20px;min-width:38px;padding:2px 7px;font-size:12px;font-weight:800;position:absolute;bottom:-5px;right:-14px}.tc-challenge{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.tc-challenge small{text-align:center;color:#e1f1e1;width:100%;font-size:11px}.tc-challenge .tc-light{color:#345b46}.tc-last-reveal{border-top:1px solid #ffffff30;flex-direction:column;align-items:center;gap:7px;padding-top:14px;font-size:12px;display:flex}.tc-last-reveal>div{gap:6px;display:flex}.tc-last-reveal small{font-size:11px}.tc-result{text-align:center;background:#f4f8f4;border:1px solid #d5e5d7;border-radius:20px;margin-top:22px;padding:30px 24px}.tc-trophy{color:#c19843;font-size:45px}.tc-result h2{margin:4px 0 8px;font-size:24px;font-weight:850}.tc-result>p{color:#758576;font-size:13px}.tc-results{max-width:550px;margin:22px auto}.tc-results>div{text-align:left;border-bottom:1px solid #dce6dc;align-items:center;gap:12px;padding:10px;font-size:13px;display:flex}.tc-results strong{color:#a58232;min-width:35px}.tc-results .tc-avatar{width:34px;height:34px;font-size:14px}.tc-results b{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.tc-results span:last-child{color:#839183;font-size:11px}.tc-result>.tc-primary{margin:0 auto 8px;display:block}.tc-log{color:#788b7d;border-top:1px solid #e3eae3;margin-top:20px;padding-top:15px;font-size:12px}.tc-log summary{cursor:pointer;font-weight:650}.tc-log li{padding:3px 0}.tc-log ul{border-top:1px solid #e2eae2;margin-top:14px;padding-top:12px}@media (max-width:600px){.tc{padding:14px 12px 45px}.tc-header{gap:12px;padding-bottom:12px}.tc-header h1{font-size:21px}.tc-header>a{font-size:11px}.tc-game-symbol{font-size:23px}.tc-intro{margin:28px 0 20px}.tc-intro>p:last-child{font-size:12px}.tc-lobby-card{padding:21px 18px}.tc-rules{padding:18px;font-size:12px}.tc-players{gap:6px}.tc-player{border-radius:10px;padding:10px 4px 8px}.tc-player.turn{padding:9px 3px 7px}.tc-player .tc-avatar{width:35px;height:35px;font-size:15px}.tc-player b{max-width:77px;font-size:11px}.tc-player strong{font-size:12px}.tc-player small{font-size:9px}.tc-player em{font-size:9px;top:4px;right:4px}.tc-pass-tag{font-size:8px;top:3px;left:3px}.tc-room-top{margin:13px 0;font-size:10px}.tc-turn-banner{margin:13px 0 9px;font-size:12px}.tc-table{border-width:3px;border-radius:17px;min-height:220px;padding:20px 13px}.tc-table .tc-card{width:54px;height:78px}.tc-table .tc-card.small{width:42px;height:61px}.tc-hand-section{padding:12px 10px 5px}.tc-hand{gap:5px;max-height:240px}.tc-hand .tc-card{width:43px;height:64px}.tc-hand .tc-corner{font-size:10px;top:4px;left:4px}.tc-hand .tc-corner b{font-size:13px}.tc-hand .tc-card-suit{font-size:24px}.tc-hand .tc-card.small{width:37px;height:56px}.tc-primary,.tc-danger,.tc-light{min-height:43px;padding:10px 14px;font-size:13px}.tc-actions{gap:8px;padding-top:13px}.tc-actions .tc-primary{flex:1}.tc-message{margin:10px 0;font-size:11px}.tc.memory-table{padding:12px 9px}.tc-memory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-width:380px}.tc-memory-grid .tc-card{width:100%;height:auto;min-height:70px;max-height:96px}.tc-result{padding:23px 13px}.tc-results>div{gap:8px;padding:9px 4px;font-size:12px}.tc-wait{padding:35px 10px}.tc-wait h2{font-size:18px}.tc-wait p{font-size:12px}}@media (prefers-reduced-motion:reduce){.tc *{transition:none!important;animation:none!important}}.tc-draw-cards .tc-card.selected{opacity:1;outline:3px solid #ffd15b;transform:translateY(-12px);box-shadow:0 0 0 6px #ffd15b33,0 12px 25px #153b3330}.tc-incoming-choice{font-weight:800;color:#b46819!important}.tc-slow-draw{perspective:800px;text-align:center;padding:20px 10px}.tc-slow-draw>p{font-weight:800}.tc-slow-draw small{color:#e9ead3;margin-top:14px;display:block}.tc-draw-flip{transform-style:preserve-3d;animation:1.1s cubic-bezier(.3,.05,.9,.7) forwards tc-turn-suspense;display:inline-flex}.tc-draw-flip.revealed{animation:.5s ease-out forwards tc-turn-open}@keyframes tc-turn-suspense{0%{transform:rotateY(0)translateY(0)}50%{transform:rotateY(20deg)translateY(-6px)}to{transform:rotateY(90deg)translateY(-9px)}}@keyframes tc-turn-open{0%{transform:rotateY(-90deg)translateY(-9px)}to{transform:rotateY(0)translateY(0)}}@media (prefers-reduced-motion:reduce){.tc-draw-flip,.tc-draw-flip.revealed{animation:none}}@media (max-width:600px){.tc-memory-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-width:380px}.tc-memory-grid .tc-card{aspect-ratio:.71;min-height:0;max-height:none}.tc-memory-grid .tc-corner{font-size:8px;top:3px;left:3px}.tc-memory-grid .tc-corner b{font-size:11px}.tc-memory-grid .tc-card-suit{margin-top:9px;margin-left:4px;font-size:20px}.tc-memory-grid .tc-back-pattern{font-size:17px}}.tc-play-pile{isolation:isolate;padding:8px 12px;position:relative}.tc-top-cards{z-index:1;justify-content:center;gap:7px;display:flex;position:relative}.tc-under-cards{pointer-events:none;place-items:center;display:grid;position:absolute;inset:8px 12px}.tc-under-cards>span{opacity:.85;grid-area:1/1}.tc-daifugo-hand button.tc-card:disabled{opacity:.45;filter:saturate(.4)}.tc-daifugo-hand button.tc-card:not(:disabled){outline-offset:1px;outline:2px solid #73c998}.tc-rule-picker{border:1px solid #d9e9df;border-radius:12px;gap:9px;margin:16px 0;padding:10px 14px;display:grid}.tc-rule-picker legend{padding:0 5px;font-size:13px;font-weight:750}.tc-rule-picker label{align-items:center;gap:9px;font-size:13px;display:flex}.tc-rule-picker input[type=checkbox]{accent-color:#168264;width:18px;height:18px;min-height:0;margin:0}.tc-rule-picker small{color:#557165;font-size:11px;display:block}.tc-active-rules{opacity:.8}.tc-result{isolation:isolate;position:relative;overflow:hidden}.tc-result-win{background:linear-gradient(150deg,#fff6d9,#f0f9ee 65%);border-color:#e7cf90}.tc-result-win h2{color:#76591d}.tc-result-loss{background:linear-gradient(155deg,#eff3f9,#f7f8fb);border-color:#dbe3ee}.tc-result-loss h2,.tc-result-loss .tc-trophy{color:#546783}.tc-result-neutral .tc-trophy{color:#63847a}.tc-results .tc-result-self{background:#ffffffa8;border-radius:9px}.tc-results .tc-result-you{color:#447565;margin-left:4px;font-weight:500}.tc-result-confetti{pointer-events:none;z-index:2;position:absolute;inset:0}.tc-result-confetti i{opacity:0;border-radius:2px;width:7px;height:12px;animation:1.8s ease-out both tc-result-confetti;position:absolute;top:-18px}@keyframes tc-result-confetti{0%{opacity:0;transform:translateY(-10px)rotate(0)}12%{opacity:1}75%{opacity:.8}to{opacity:0;transform:translate(24px,350px)rotate(440deg)}}@media (prefers-reduced-motion:reduce){.tc-result-confetti{display:none}}.tc-results .tc-result-first{background:#fff3cf;border-radius:9px}.tc-results .tc-result-first strong{color:#855d0c}.tc-player[data-place="1"]{--rank-edge:#d8a83e;--rank-bg:#fff6d9;--rank-badge:#ffe398;--rank-text:#67470a}.tc-player[data-place="2"]{--rank-edge:#779cce;--rank-bg:#edf5ff;--rank-badge:#d6e8ff;--rank-text:#254d7e}.tc-player[data-place="3"]{--rank-edge:#d58b61;--rank-bg:#fff1e8;--rank-badge:#ffe0cb;--rank-text:#814325}.tc-player[data-place="4"]{--rank-edge:#af8cce;--rank-bg:#f8efff;--rank-badge:#ebd9fa;--rank-text:#633c85}.tc-player[data-place]{border-color:var(--rank-edge);background:linear-gradient(145deg,var(--rank-bg),white);box-shadow:inset 0 0 0 1px var(--rank-edge);padding-top:26px}.tc-player .tc-place{background:var(--rank-badge);color:var(--rank-text);white-space:nowrap;border-radius:999px;padding:1px 5px;font-weight:900;top:4px;right:4px}.tc-place-pop{background:var(--rank-badge);z-index:1;pointer-events:none;border-radius:999px;padding:1px 5px;animation:.85s ease-out both tc-place-pop;position:absolute;top:0;right:0}@keyframes tc-place-pop{0%{transform:scale(.65)}25%{transform:scale(1.25)}65%{transform:scale(1)}to{opacity:0;visibility:hidden}}@media (prefers-reduced-motion:reduce){.tc-place-pop{display:none}}.tc-draw-action{width:min(100%,360px);margin:14px auto 3px}.tc-draw-action .tc-action-main{width:100%}.tc-actions .tc-action-main,.tc-draw-action .tc-action-main,.tc-challenge .tc-action-main{cursor:pointer;border-radius:15px;flex-direction:column;gap:2px;min-width:0;min-height:58px;margin:0;padding:9px 14px;font-size:clamp(15px,4vw,19px);font-weight:900;line-height:1.2;display:flex}.tc-primary.tc-action-main:not(:disabled){background:linear-gradient(145deg,#078464,#105940);box-shadow:0 4px #084533,0 7px 14px #0e664343}.tc-danger.tc-action-main:not(:disabled){background:linear-gradient(145deg,#d74e54,#ab2739);box-shadow:0 4px #801c2a}.tc-action-main small,.tc-challenge .tc-action-main small{color:inherit;font-size:11px;font-weight:650}.tc-actions .tc-action-secondary,.tc-challenge .tc-action-secondary{cursor:pointer;border-radius:13px;min-height:48px;padding-inline:16px;font-size:15px}.tc-action-main:disabled,.tc-action-secondary:disabled{opacity:1;color:#485b51;box-shadow:none;cursor:default;background:#e5ece8;border-color:#c6d6cd}.tc-action-main:not(:disabled):active,.tc-action-secondary:not(:disabled):active{box-shadow:none;transform:translateY(2px)}.tc-action-main:focus-visible,.tc-action-secondary:focus-visible{outline-offset:3px;outline:3px solid #ffca56}
