
.tc-game-main{padding:26px 0 10px}
#tc-app{max-width:880px;margin:0 auto}
.tc-card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:26px 28px;box-shadow:0 8px 28px #13284d0d;margin-bottom:18px}
.tc-hook{font-size:1.15rem;font-weight:700;color:var(--navy);margin-top:0}
.tc-rq{background:#eef5e3;border-inline-start:5px solid var(--lime);border-radius:12px;padding:12px 16px;margin:0 0 18px}
.tc-steps{margin:0 0 18px;padding-inline-start:1.4em}.tc-steps li{margin:.25em 0}
.tc-example{background:#f2f5fa;border:1px dashed #b8c7dc;border-radius:14px;padding:14px 18px;margin-bottom:20px}
.tc-example h3{font-size:1.05rem;margin-bottom:.3em}.tc-example p{margin:.3em 0}
.tc-tag-ok{display:inline-block;background:#e4f2d3;color:#2f5d12;border-radius:8px;padding:2px 10px;font-weight:700}
.tc-map{list-style:none;display:flex;gap:6px;padding:0;margin:0 0 16px;counter-reset:s}
.tc-stop{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:.82rem;color:var(--muted);position:relative}
.tc-stop:not(:last-child):after{content:'';position:absolute;top:22px;left:-50%;width:100%;height:3px;background:var(--line);z-index:0}
.tc-stop.is-done:not(:last-child):after{background:var(--lime)}
.tc-stop-icon{position:relative;z-index:1;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:1.25rem;background:#fff;border:2px solid var(--line)}
.tc-stop.is-done .tc-stop-icon{background:var(--lime);border-color:var(--lime);color:#fff;font-weight:700}
.tc-stop.is-now .tc-stop-icon{border-color:var(--navy);box-shadow:0 0 0 5px #1f3a7318;animation:tcpulse 2s ease-in-out infinite}
.tc-stop.is-now{color:var(--navy);font-weight:700}
.tc-stop-name{line-height:1.25;overflow-wrap:anywhere}
@keyframes tcpulse{50%{box-shadow:0 0 0 9px #1f3a730a}}
.tc-progress{margin-bottom:12px}.tc-progress-label{margin:0 0 6px;font-size:.9rem;color:var(--muted);font-weight:700}
.tc-bar{height:9px;border-radius:9px;background:#e6ebf1;overflow:hidden}.tc-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--lime),#a8d66b);border-radius:9px;transition:width .5s}
.tc-round-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:var(--muted);font-weight:700;font-size:.92rem}
.tc-round-icon{width:40px;height:40px;border-radius:12px;background:#eef3fb;display:grid;place-items:center;font-size:1.25rem}
.tc-q{font-size:clamp(1.25rem,2.6vw,1.6rem);outline:none}
.tc-tip{color:var(--muted);font-size:.93rem;margin:.2em 0 .9em}
.tc-options{display:grid;gap:10px}
.tc-opt{text-align:start;min-height:54px;padding:12px 18px;border-radius:14px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font:500 1.05rem/1.5 Heebo,Arial,sans-serif;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.tc-opt:hover:not(:disabled){border-color:var(--navy);transform:translateY(-1px)}
.tc-opt.is-ok{border-color:var(--ok);background:#e9f6e2;color:#1f4d13;font-weight:700}
.tc-opt.is-no{border-color:#e3c3a0;background:#fdf6ee;color:#8a5a20;text-decoration:line-through}
.tc-opt:disabled{cursor:default}
.tc-pool{display:flex;flex-wrap:wrap;gap:9px;margin:4px 0 16px;min-height:10px}
.tc-chip{max-width:100%;padding:10px 15px;border-radius:12px;border:1.5px solid #c9d6e6;background:#f7f9fc;color:var(--ink);font:500 1rem/1.4 Heebo,Arial,sans-serif;cursor:pointer;text-align:start;overflow-wrap:anywhere}
.tc-chip.is-sel{border-color:var(--navy);background:var(--navy);color:#fff;box-shadow:0 6px 16px #1f3a7333}
.tc-chip.is-shake{animation:tcshake .4s}
@keyframes tcshake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.tc-bins{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:10px}
.tc-bin{border:1.5px dashed #b9c8da;border-radius:16px;background:#fbfcfe;min-height:120px;display:flex;flex-direction:column;overflow:hidden}
.tc-bin-head{border:0;background:#eaf0f8;color:var(--navy);font:700 1rem/1.3 Heebo,Arial,sans-serif;padding:12px 8px;cursor:pointer;min-height:48px}
.tc-bin-head:hover{background:#dfe8f4}
.tc-bin-list{list-style:none;margin:0;padding:8px;display:flex;flex-direction:column;gap:6px}
.tc-placed{background:#e9f6e2;border-radius:10px;padding:6px 10px;font-size:.93rem;line-height:1.4;overflow-wrap:anywhere}
.tc-placed.is-guided,.tc-slot.is-guided{background:#fff4dc}
.tc-line{list-style:none;counter-reset:o;padding:0;margin:0 0 14px;display:grid;gap:8px}
.tc-slot{counter-increment:o;display:flex;align-items:center;gap:10px;min-height:46px;border:1.5px dashed #b9c8da;border-radius:12px;padding:8px 12px;color:var(--muted)}
.tc-slot:before{content:counter(o);width:28px;height:28px;flex:none;border-radius:50%;background:#eaf0f8;color:var(--navy);display:grid;place-items:center;font-weight:700;font-size:.9rem}
.tc-slot.is-ok{border-style:solid;border-color:var(--lime);background:#f1f8e8;color:var(--ink);font-weight:700}
.tc-feedback{margin-top:16px;border-radius:14px;padding:0 16px;min-height:0;transition:background .2s}
.tc-feedback:empty{display:none}
.tc-feedback p{margin:.35em 0}
.tc-feedback.is-ok{background:#ecf7e4;border:1px solid #c6e3ad;padding:12px 16px}
.tc-feedback.is-try{background:#fff7ea;border:1px solid #f0d7a8;padding:12px 16px}
.tc-feedback.is-info{background:#eef3fb;border:1px solid #cbd8ec;padding:12px 16px}
.tc-fb-title{font-weight:700;font-size:1.05rem}
.tc-next{margin-top:16px}
.tc-fig{margin:4px 0 16px;overflow-x:auto}
.tc-data{border-collapse:collapse;min-width:260px;background:#fff}
.tc-data caption{font-weight:700;text-align:start;margin-bottom:6px;color:var(--navy)}
.tc-data th,.tc-data td{border:1px solid var(--line);padding:7px 14px;text-align:start}
.tc-data th{background:#eef3fb}
.tc-src{font-size:.82rem;color:var(--muted);margin:.4em 0 0}
.tc-graph{margin:0;max-width:460px}.tc-graph svg{width:100%;height:auto;display:block}.tc-graph figcaption{font-size:.85rem;color:var(--muted)}
.tc-cert{text-align:center;position:relative;overflow:hidden;border:2px solid var(--lime);background:linear-gradient(180deg,#fff,#f6fbef)}
.tc-cert h2{font-size:2rem}
.tc-cert-badge{font-size:3rem;margin:0}
.tc-cert-line{font-size:1.1rem;font-weight:700}
.tc-cert-stars{font-size:1.25rem;color:var(--navy);font-weight:700}
.tc-cert-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.tc-cert-list li{background:#eef3fb;border-radius:999px;padding:4px 12px;font-size:.92rem}
.tc-cert-grade{color:var(--muted)}
.tc-confetti{position:absolute;inset:0;pointer-events:none}
.tc-confetti i{position:absolute;top:-12px;left:var(--x);width:9px;height:14px;border-radius:2px;background:var(--lime);animation:tcfall 2.6s var(--d) ease-in forwards;opacity:0}
.tc-confetti i:nth-child(3n){background:var(--navy)}.tc-confetti i:nth-child(4n){background:#f2b632}
@keyframes tcfall{0%{opacity:1;transform:translateY(0) rotate(0)}100%{opacity:0;transform:translateY(420px) rotate(540deg)}}
.tc-ref-q{display:block;margin:12px 0}.tc-ref-q span{display:block;font-weight:700;margin-bottom:5px}
.tc-ref-q textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:10px 12px;font:1rem/1.5 Heebo,Arial,sans-serif;resize:vertical}
.tc-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
.tc-saved{color:var(--ok);font-weight:700}
.tc-about{max-width:880px;margin:6px auto 0;font-size:.9rem;color:var(--muted)}
@media(max-width:640px){.tc-card{padding:20px 16px;border-radius:16px}.tc-stop-name{font-size:.72rem}.tc-stop-icon{width:38px;height:38px;font-size:1.05rem}.tc-stop:not(:last-child):after{top:18px}.tc-bins{grid-template-columns:1fr}.tc-bin{min-height:0}.tc-bin-list:empty{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media print{.tc-row,.tc-confetti,.tc-hero-art{display:none!important}.tc-card{box-shadow:none;break-inside:avoid}}
