.tt-game {
  --tt-ink:#f8f4ff; --tt-gold:#f4cf7c; --tt-panel:#20213f;
  max-width:720px; margin:24px auto; padding:clamp(14px,3vw,26px);
  color:var(--tt-ink); background:radial-gradient(ellipse at top right,#46356d 0,#191a36 48%,#101326 100%);
  border:1px solid rgba(244,207,124,.55); border-radius:24px;
  box-shadow:0 18px 50px rgba(22,14,50,.22); font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;
  line-height:1.65; overflow:hidden;
}
.tt-game * { box-sizing:border-box; }
.tt-game button { font:inherit; cursor:pointer; touch-action:manipulation; }
.tt-header { text-align:center; padding:4px 4px 16px; }
.tt-kicker { color:#f4cf7c; letter-spacing:.13em; font-size:.68rem; font-weight:800; }
.tt-header h2 { color:#fff; font-size:clamp(1.65rem,5vw,2.25rem); line-height:1.25; margin:7px 0 3px; text-shadow:0 3px 0 #62418a; }
.tt-header p { margin:0 0 14px; color:#d9c9f7; font-size:.92rem; }
.tt-stats { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.tt-stats span { border:1px solid #6d6398; background:#15162e; border-radius:999px; padding:5px 17px; color:#ffe6a0; font-weight:700; font-size:.9rem; }
.tt-stats b { color:white; margin-left:4px; }
.tt-hero { display:grid; grid-template-columns:minmax(120px, 42%) 1fr; align-items:center; gap:12px; background:linear-gradient(120deg,#46366e,#a65c96); border:1px solid #d89acb; border-radius:18px; padding:12px; overflow:hidden; }
.tt-portrait { min-height:170px; height:100%; min-width:0; border-radius:13px; background-color:#40305e; background-image:linear-gradient(0deg,rgba(24,20,49,.12),rgba(24,20,49,.02)),var(--tt-hero-image); background-size:cover; background-position:53% 25%; }
.tt-character-copy { min-width:0; }
.tt-rank { display:block; color:#ffe9b0; font-size:.62rem; letter-spacing:.1em; font-weight:800; }
.tt-character-copy h3 { font-size:clamp(1rem,3vw,1.25rem); line-height:1.4; margin:5px 0; color:#fff; }
.tt-character-copy p { margin:0 0 12px; color:#fff3ff; font-size:.9rem; }
.tt-enemy { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px; background:#171832; border:1px solid #8277b2; border-radius:10px; padding:7px 9px; font-size:.8rem; font-weight:700; }
.tt-enemy span { color:#ffb6c9; white-space:nowrap; }
.tt-progress { display:flex; align-items:center; gap:12px; margin:20px 2px 10px; color:#f5d78d; font-weight:800; font-size:.8rem; letter-spacing:.06em; }
.tt-progress-track { height:7px; flex:1; border-radius:99px; background:#343351; overflow:hidden; }
.tt-progress-track i { display:block; height:100%; width:33.333%; background:linear-gradient(90deg,#f6c96e,#f28ac1); border-radius:99px; transition:width .25s ease; }
.tt-question-card { background:rgba(31,32,62,.96); border:1px solid #68618d; border-radius:16px; padding:18px; }
.tt-label { color:#f5ce7d; font-size:.7rem; font-weight:900; letter-spacing:.14em; }
.tt-question-card h3 { font-size:clamp(1rem,3.5vw,1.18rem); line-height:1.9; margin:8px 0 0; font-weight:700; }
.tt-options { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
.tt-options button { border:1px solid #a79bda; border-radius:13px; padding:13px 8px; background:linear-gradient(135deg,#5548a0,#7e5fb2); color:white; font-weight:800; box-shadow:0 4px 0 #2a244f; }
.tt-options button:first-child { background:linear-gradient(135deg,#d84f85,#a951ad); border-color:#ffaccf; box-shadow:0 4px 0 #74375f; }
.tt-options button:hover:not(:disabled), .tt-next:hover, .tt-reset:hover { filter:brightness(1.1); }
.tt-options button:focus-visible, .tt-game button:focus-visible { outline:3px solid #ffe7a0; outline-offset:3px; }
.tt-options button:disabled { opacity:.62; cursor:default; }
.tt-feedback { margin-top:15px; padding:13px 15px; min-height:78px; background:#17182f; border:1px solid #625c85; border-radius:13px; color:#e7e0ff; font-size:.92rem; white-space:normal; }
.tt-feedback strong { color:#ffe3a0; }
.tt-next, .tt-reset { display:block; width:100%; border-radius:12px; padding:12px 14px; font-weight:800; }
.tt-next { margin-top:12px; background:linear-gradient(100deg,#f6d17f,#f2a7c9); color:#29203d; border:0; }
.tt-reset { margin-top:9px; background:transparent; color:#e5ddff; border:1px solid #77709f; }
.tt-footnote { margin:14px 2px 0; color:#aaa7c9; font-size:.7rem; text-align:center; }
.tt-game [hidden] { display:none !important; }
@media(max-width:440px) {
 .tt-hero { grid-template-columns:112px minmax(0,1fr); gap:10px; padding:9px; }
 .tt-portrait { min-height:160px; background-position:53% 25%; }
 .tt-character-copy p { font-size:.82rem; }
 .tt-enemy { font-size:.72rem; padding:6px; }
 .tt-question-card { padding:14px; }
 .tt-options { grid-template-columns:1fr; gap:9px; }
}
