/* Tro choi tu cam — phan rieng. The lon: tu can doan + 5 tu cam do; 3 nut lon duoi (bo qua / pham luat / dung). */
.tc{--gk-bg1:#3f0d12;--gk-bg2:#991b1b;--gk-a:#fde047;--gk-a-ink:#3b2300}
.tc-scr{min-height:340px;display:flex;align-items:center;justify-content:center}
.tc-c{width:100%;max-width:900px;margin:0 auto;text-align:center}
.tc-c .gk-q{margin:6px auto 10px}
.tc-aka{font-size:.6em;font-weight:600;color:var(--t-mute)}
.tc-name{color:var(--gk-a)}
.tc-win{color:var(--gk-a);font-size:clamp(30px,6vw,72px)}
.tc-cd{font-size:clamp(90px,22vw,240px);font-weight:900;line-height:1;color:var(--gk-a);margin:8px 0}
.tc-play{width:100%;max-width:980px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:10px}
.tc-top{display:flex;align-items:center;gap:14px;justify-content:center}
.tc-top .gk-timer{width:60px;height:60px}
.tc-pts{font-size:20px;font-weight:800;color:var(--gk-a)}
.tc-card{background:#fff;color:#1f2937;border-radius:20px;padding:16px 18px 18px;width:100%;max-width:620px;box-shadow:0 12px 30px rgba(0,0,0,.3)}
.tc-word{font-size:clamp(34px,6.5vw,84px);font-weight:900;line-height:1.1;color:#0f172a;word-break:break-word}
.tc-word.long{font-size:clamp(28px,5vw,64px)}
.tc-ban{margin:10px 0 6px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#b91c1c;border-top:2px dashed #fecaca;padding-top:10px}
.tc-f{list-style:none;padding:0;margin:0;display:grid;gap:4px}
.tc-f li{font-size:clamp(18px,3vw,34px);font-weight:700;color:#991b1b}
.tc-f li.none{color:#6b7280;font-weight:500;font-size:16px}
.tc-btns{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;width:100%;max-width:720px}
.tc-hit{border:0;border-radius:14px;color:#fff;font:800 clamp(16px,2.4vw,24px)/1.1 var(--t-font,system-ui);min-height:64px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;touch-action:manipulation}
.tc-hit small{font-size:12px;opacity:.8}
.tc-hit.ok{background:#16a34a}.tc-hit.skip{background:#64748b}.tc-hit.foul{background:#ea580c}
.tc-hit:active{transform:scale(.97)}
.tc.tc-ok{animation:tcok .45s}.tc.tc-skip{animation:tcsk .45s}.tc.tc-foul{animation:tcfo .45s}
@keyframes tcok{0%{box-shadow:inset 0 0 0 999px rgba(22,163,74,.8)}100%{box-shadow:inset 0 0 0 999px rgba(22,163,74,0)}}
@keyframes tcsk{0%{box-shadow:inset 0 0 0 999px rgba(100,116,139,.8)}100%{box-shadow:inset 0 0 0 999px rgba(100,116,139,0)}}
@keyframes tcfo{0%{box-shadow:inset 0 0 0 999px rgba(234,88,12,.85)}100%{box-shadow:inset 0 0 0 999px rgba(234,88,12,0)}}
.tc-sum{list-style:none;padding:0;margin:10px auto;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:860px}
.tc-w{border:0;border-radius:999px;padding:8px 14px;font:700 16px/1.2 var(--t-font,system-ui);cursor:pointer;color:#fff;min-height:40px}
.tc-w.ok{background:#16a34a}.tc-w.skip{background:#64748b}.tc-w.foul{background:#ea580c}.tc-w.late{background:rgba(255,255,255,.18)}
.tc .gk-teams{margin-top:14px}
.tc .gk-keys a{color:var(--gk-a)}
.tc-setup .t-row{margin:0 0 12px}
.tc-setup > .t-f,.tc-setup > .t-chk{margin:0 0 12px}
.tc-mine{border:1px dashed var(--t-line-d);border-radius:12px;padding:10px 12px;margin:0 0 14px;background:var(--t-main-ll)}
.tc-mine summary{cursor:pointer;min-height:32px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tc-mine code{background:#fff;border:1px solid var(--t-line);border-radius:5px;padding:0 4px;font-size:13px}
.tc-list{border:1px solid var(--t-line);border-radius:12px;padding:8px 12px;margin:0 0 8px}
.tc-list summary{cursor:pointer;font-weight:700;min-height:32px;display:flex;align-items:center}
.tc-list ul{margin:6px 0 4px;padding-left:18px;line-height:1.7}
.tc-lv{display:inline-block;font-size:11px;font-weight:800;border-radius:6px;padding:0 6px}
.tc-lv.de{background:#dcfce7;color:#166534}.tc-lv.kho{background:#ffedd5;color:#9a3412}
body.gk-stage .tc-scr{min-height:80vh}
body.gk-stage .tc.tc-playing .tc-play{margin-top:40px}
body.gk-stage .tc-card{max-width:900px}
body.gk-stage .tc-word{font-size:clamp(44px,8vw,130px)}
body.gk-stage .tc-f li{font-size:clamp(22px,3.4vw,52px)}
@media(max-width:640px){
  .tc-scr{min-height:300px}
  .tc .gk-ctrl .gk-btn.big{width:100%}
  .tc-hit{min-height:58px}
  body.gk-stage .tc.tc-playing .tc-play{margin-top:84px}
}
