/* Trang Trò chơi học tập lớp 1–5 (lib/cc/tro-choi.php). Khung chơi: assets/games/games.css */
.cc-crumbs { font-size: 13px; color: var(--ink2); margin: -6px 0 12px; }
.cc-crumbs a { color: var(--ink2); }
.tc-filter { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.tc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tc-chips .cc-chip { text-decoration: none; }
#tc-grid .dg-card[hidden] { display: none; }
.tc-text { max-width: 760px; margin: 28px 0 8px; line-height: 1.65; }
.tc-text h2 { font-size: 20px; margin: 18px 0 6px; }
.tc-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 12px 0; }
.tc-3 > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.tc-3 p { margin: 4px 0 0; font-size: 14px; color: var(--ink2); }
.tc-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tc-play { background: linear-gradient(180deg, color-mix(in srgb, var(--dg-c) 10%, var(--bg)), var(--bg)); border-radius: 22px; padding: 14px; margin-bottom: 8px; }
.tc-start { text-align: center; padding: 18px 8px 10px; }
.tc-big { font-size: 72px; line-height: 1.1; }
.tc-start p { font-size: 16px; margin: 8px auto; max-width: 520px; }
.tc-grades { justify-content: center; margin: 12px 0; }
.tc-go { font-size: 20px; padding: 14px 34px; margin: 6px 0 4px; }
.tc-name { max-width: 320px; margin: 10px auto; display: block; font-size: 18px; text-align: center; }
.tc-me { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 14px; margin-bottom: 10px; }
.tc-rhead { background: #fff; border: 2px solid var(--dg-c); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 2px; }
.tc-rhead span { font-size: 14px; color: var(--ink2); }
.tc-bwrap { margin: 18px auto 0; max-width: 460px; text-align: left; }
.tc-bwrap h3 { margin: 0 0 8px; text-align: center; }
.tc-board { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tc-board li { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 8px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.tc-board li.own { background: #fff9db; } .tc-board li.me { outline: 2px solid var(--dg-c); }
.tc-board .n { font-weight: 800; text-align: center; } .tc-board small { color: var(--ink2); }
.tc-rel { margin-top: 26px; }
body.tc-big .nav, body.tc-big footer, body.tc-big .cc-head, body.tc-big .cc-up, body.tc-big .tc-text, body.tc-big .tc-rel, body.tc-big .cc-crumbs, body.tc-big .cc-sec { display: none !important; }
body.tc-big .tc-play { background: var(--bg); min-height: 100vh; }
body.tc-big .wrap { max-width: none; }
