/* Top 10 Challenge — builds on guess.css (hero, tabs, stats, form, buttons, end card) and draft.css tokens */
#t-app{max-width:760px;margin:0 auto;padding:28px 16px 40px;min-width:0}
.t-play{margin-top:22px}
.t-cat{padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,rgba(245,166,35,.16),transparent 70%),var(--surface);border:1px solid var(--line-strong,rgba(244,239,232,.2))}
.t-cat h2{margin:0;font:800 clamp(20px,4.6vw,28px)/1.1 Sora,system-ui,sans-serif;letter-spacing:-.01em;text-wrap:balance}
.t-cat p{margin:6px 0 0;color:var(--muted);font-size:13px}
.t-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 2px 10px}
.t-count{font:800 14px Sora,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:var(--muted)}
.t-lives{display:flex;gap:6px}
.t-lives i{width:22px;height:20px;background:var(--bad,#ff5d5d);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21C5 15.600 1.500 12 1.500 7.500 1.500 4.400 3.900 2 7 2c2 0 3.900 1 5 2.800C13.100 3 15 2 17 2c3.100 0 5.500 2.400 5.500 5.500 0 4.500-3.500 8.100-10.500 13.500z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21C5 15.600 1.500 12 1.500 7.500 1.500 4.400 3.900 2 7 2c2 0 3.900 1 5 2.800C13.100 3 15 2 17 2c3.100 0 5.500 2.400 5.500 5.500 0 4.500-3.500 8.100-10.500 13.500z'/%3E%3C/svg%3E") center/contain no-repeat;transition:opacity .3s,transform .3s}
.t-lives i.off{opacity:.22;transform:scale(.8)}
.t-board{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.t-slot{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:6px 14px 6px 6px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.t-n{display:flex;align-items:center;justify-content:center;height:38px;border-radius:9px;background:var(--surface-3,#232329);font:800 15px Sora,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:var(--muted)}
.t-v{font:800 18px Sora,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:var(--muted)}
.t-hid{display:flex;gap:8px;align-items:center}
.t-hid i{height:10px;border-radius:5px;background:var(--surface-3,#232329)}
.t-hid i:first-child{width:clamp(70px,28%,150px)}
.t-hid i:last-child{width:34px;opacity:.6}
.t-who{display:flex;align-items:center;gap:10px;min-width:0}
.t-who i{flex:none;width:12px;height:12px;border-radius:50%}
.t-who b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700}
.t-who small{flex:none;font-size:11px;color:var(--muted)}
.t-slot.on{border-color:var(--good,#33C97A);background:linear-gradient(90deg,color-mix(in srgb,var(--team,#444) 26%,transparent),transparent 65%),var(--surface)}
.t-slot.on .t-n{background:#1f7a49;color:#fff}
.t-slot.on .t-v{color:var(--ink)}
.t-slot.missed{border-style:dashed;opacity:.62}
.t-slot.missed .t-who b{font-weight:600}
.t-slot.fresh{animation:t-pop .5s cubic-bezier(.2,1.4,.4,1) both}
.t-slot.fresh .t-n{animation:t-glow 1s ease-out}
@keyframes t-pop{0%{transform:scale(.96);opacity:.4}60%{transform:scale(1.015)}100%{transform:none;opacity:1}}
@keyframes t-glow{0%{box-shadow:0 0 0 0 rgba(51,201,122,.9)}100%{box-shadow:0 0 0 14px rgba(51,201,122,0)}}
.t-msg{min-height:22px;margin:12px 2px 0;font-size:14px;font-weight:600;color:var(--muted)}
.t-msg.good{color:var(--good,#33C97A)}
.t-msg.bad{color:var(--bad,#ff7b7b)}
.t-msg.warn{color:var(--accent)}
.t-miss{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:8px 0 0;padding:0}
.t-miss li{padding:5px 10px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:12px;color:var(--muted);text-decoration:line-through;text-decoration-color:rgba(255,93,93,.7)}
.t-miss li.near{border-color:var(--accent);color:var(--ink);text-decoration:none}
.t-miss li b{color:var(--accent);font-weight:800}
.t-form{margin-top:14px}
.t-tools{margin-top:10px}
.t-hint{min-height:42px;padding:0 16px;font-size:13px}
.t-hint[disabled]{opacity:.45;cursor:not-allowed}
.g-box li.used{opacity:.45}
.t-end .t-sum{margin:-6px 0 12px;color:var(--muted);font-size:14px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:560px){
  #t-app{padding:20px 12px 32px}
  .t-slot{grid-template-columns:36px minmax(0,1fr) auto;gap:8px;min-height:48px}
  .t-n{height:34px;font-size:14px}
  .t-who small{display:none}
  .t-who b{font-size:14px}
}
@media (prefers-reduced-motion:reduce){.t-slot.fresh,.t-slot.fresh .t-n{animation:none}.t-lives i{transition:none}}
