#ttl{--red:#b3122e;--red2:#d8203f;--gold:#e8a817;--ink:#17130f;--panel:#1f1915;--panel2:#2c241e;--cell:#3a3029;--paper:#fbf7ef;--muted:#9a8c7e;
  color:var(--ink);max-width:1100px;margin:0 auto;line-height:1.5;font-size:16px;-webkit-tap-highlight-color:transparent}
#ttl *{box-sizing:border-box}
#ttl button,#ttl select{font:inherit;cursor:pointer;border:0;margin:0;background:none;color:inherit;text-transform:none;letter-spacing:normal;box-shadow:none;line-height:1.2;padding:0;min-height:0;width:auto;border-radius:0}
#ttl button:focus-visible,#ttl select:focus-visible,#ttl input:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
#ttl .ttl-hero{background:linear-gradient(135deg,var(--red) 0%,#7d0b1f 100%);color:#fff;border-radius:18px 18px 0 0;padding:28px 28px 22px;position:relative;overflow:hidden}
#ttl .ttl-hero:after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;border:18px solid rgba(255,255,255,.08);box-shadow:0 0 0 30px rgba(255,255,255,.04)}
#ttl .ttl-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.85;margin:0 0 4px}
#ttl .ttl-title{font-size:clamp(26px,4vw,38px);font-weight:800;margin:0;line-height:1.1;color:#fff}
#ttl .ttl-sub{margin:8px 0 0;max-width:640px;opacity:.92}
#ttl .ttl-tabs{display:flex;gap:8px;overflow-x:auto;padding:14px 16px;background:#2a0710;scrollbar-width:thin}
#ttl .ttl-tab{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:999px;background:rgba(255,255,255,.08);color:#f3e6e8;font-size:14px;white-space:nowrap}
#ttl .ttl-tab:hover{background:rgba(255,255,255,.16)}
#ttl .ttl-tab b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.14);font-size:13px}
#ttl .ttl-tab[aria-selected="true"]{background:var(--gold);color:var(--ink);font-weight:700}
#ttl .ttl-tab[aria-selected="true"] b{background:var(--ink);color:var(--gold)}
#ttl .ttl-card{background:var(--paper);padding:22px 28px;border-left:6px solid var(--gold)}
#ttl .ttl-card h3{margin:0 0 6px;font-size:22px;line-height:1.2;color:var(--ink)}
#ttl .ttl-card .ttl-count-name{display:inline-block;background:var(--ink);color:var(--gold);font-weight:700;border-radius:6px;padding:2px 10px;font-size:14px;margin-bottom:10px}
#ttl .ttl-card p{margin:0 0 8px}
#ttl .ttl-tip{background:#fff;border:1px dashed #d9cbb6;border-radius:10px;padding:10px 14px;margin-top:10px;font-size:15px}
#ttl .ttl-stage{--muted:#fff;background:var(--panel);color:#fff;padding:20px;border-radius:0 0 18px 18px}
#ttl .ttl-now{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:16px}
#ttl .ttl-big{min-width:150px;text-align:center;font-size:clamp(52px,10vw,92px);font-weight:900;line-height:1;color:var(--gold);font-variant-numeric:tabular-nums;transition:transform .06s}
#ttl .ttl-big.pop{transform:scale(1.12)}
#ttl .ttl-big.small{color:#fff;opacity:.85}
#ttl .ttl-dots{display:flex;gap:10px}
#ttl .ttl-dot{width:44px;height:44px;border-radius:50%;background:var(--panel2);display:grid;place-items:center;font-weight:800;color:#fff;border:2px solid #5a4e45;transition:background .08s}
#ttl .ttl-dot.on{background:var(--red2);color:#fff;border-color:#ff6b82}
#ttl .ttl-dot.ci{background:#6d6157;color:#fff}
#ttl .ttl-status{flex:1;min-width:180px;font-size:14px;color:var(--muted)}
#ttl .ttl-status strong{color:#fff;display:block;font-size:16px}
#ttl .ttl-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;padding:14px;background:var(--panel2);border-radius:14px;margin-bottom:16px}
#ttl .ttl-play{width:58px;height:58px;border-radius:50%;background:var(--red2);color:#fff;display:grid;place-items:center;flex:0 0 auto;box-shadow:0 4px 0 #7d0b1f;transition:transform .08s}
#ttl .ttl-play:active{transform:translateY(2px);box-shadow:0 2px 0 #7d0b1f}
#ttl .ttl-play svg{width:24px;height:24px;fill:#fff}
#ttl .ttl-tempo{display:flex;align-items:center;gap:10px;flex:1 1 220px}
#ttl .ttl-tempo label{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
#ttl .ttl-tempo input{flex:1;accent-color:var(--gold);min-width:110px;margin:0}
#ttl .ttl-bpm{font-weight:800;font-size:20px;min-width:74px;font-variant-numeric:tabular-nums}
#ttl .ttl-bpm small{font-size:12px;color:var(--muted);font-weight:600}
#ttl .ttl-step{width:32px;height:32px;border-radius:8px;background:var(--cell);font-weight:800}
#ttl .ttl-toggles{display:flex;flex-wrap:wrap;gap:8px}
#ttl .ttl-tog{padding:8px 12px;border-radius:999px;background:var(--cell);font-size:14px;color:#fff}
#ttl .ttl-tog[aria-pressed="true"]{background:#f1e9df;color:var(--ink);font-weight:700}
#ttl .ttl-free{display:none;align-items:center;gap:8px;flex-wrap:wrap}
#ttl .ttl-free.show{display:flex}
#ttl .ttl-free select{background:var(--cell);color:#f1e9df;padding:8px 10px;border-radius:8px}
#ttl .ttl-gridwrap{overflow-x:auto;padding-bottom:6px}
#ttl .ttl-grid{display:grid;grid-template-columns:132px repeat(var(--n),minmax(30px,1fr));gap:5px;align-items:center;min-width:calc(132px + var(--n) * 35px)}
#ttl .ttl-lbl{font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;text-align:left;color:#f1e9df}
#ttl button.ttl-lbl:hover{background:var(--panel2)}
#ttl .ttl-lbl i{width:12px;height:12px;border-radius:50%;background:var(--c);flex:0 0 auto}
#ttl .ttl-lbl small{display:block;font-weight:500;font-size:11px;color:var(--muted)}
#ttl .ttl-lbl.muted{opacity:.5}
#ttl .ttl-lbl.muted span{text-decoration:line-through}
#ttl .ttl-hd{text-align:center;font-weight:800;font-size:15px;color:#fff;opacity:.75;padding:4px 0;border-radius:6px}
#ttl .ttl-hd.num{color:#fff;opacity:1}
#ttl .ttl-hd.cur{background:var(--gold);color:var(--ink);opacity:1}
#ttl .ttl-hand{text-align:center;font-weight:800;font-size:14px;padding:3px 0;border-radius:6px}
#ttl .ttl-hand.R{color:var(--gold)}
#ttl .ttl-hand.L{color:#8fc7ff}
#ttl .ttl-hand.cur{background:#f1e9df}
#ttl .bs{margin-left:8px}
#ttl .ttl-cell{height:44px;border-radius:8px;background:var(--cell);position:relative;transition:transform .06s,background .1s}
#ttl .ttl-cell:hover{background:#4a3e35}
#ttl .ttl-cell.on{background:color-mix(in srgb,var(--c) 55%,#3a3029)}
#ttl .ttl-cell.acc{background:var(--c)}
#ttl .ttl-cell.acc:after{content:">";position:absolute;inset:0;display:grid;place-items:center;font-weight:900;color:rgba(0,0,0,.55);font-size:16px}
#ttl .ttl-cell.cur{box-shadow:0 0 0 2px #f1e9df inset}
#ttl .ttl-cell.cur.on,#ttl .ttl-cell.cur.acc{transform:scale(1.1);box-shadow:0 0 14px var(--c)}
#ttl .ttl-pads{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
#ttl .ttl-pad{border-radius:16px;padding:18px 10px;background:var(--panel2);border:3px solid var(--c);text-align:center;transition:transform .05s,background .05s;user-select:none;touch-action:manipulation}
#ttl .ttl-pad b{display:block;font-size:17px}
#ttl .ttl-pad small{color:var(--muted)}
#ttl .ttl-pad kbd{display:inline-block;margin-top:6px;background:var(--cell);border-radius:5px;padding:1px 8px;font-family:inherit;font-weight:700;color:#f1e9df}
#ttl .ttl-pad.hit{transform:scale(.96);background:var(--c);color:var(--ink)}
#ttl .ttl-pad.hit small,#ttl .ttl-pad.hit kbd{color:var(--ink)}
#ttl .ttl-fbrow{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:12px;font-size:14px;color:#fff}
#ttl .ttl-fb{font-weight:800;font-size:18px;min-height:27px}
#ttl .ttl-fb.perfect{color:#7be08f}#ttl .ttl-fb.good{color:var(--gold)}#ttl .ttl-fb.off{color:#ff7d8f}
#ttl .ttl-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:#fff;margin-top:14px}
#ttl .ttl-legend span{display:inline-flex;align-items:center;gap:6px}
#ttl .ttl-sw{width:16px;height:16px;border-radius:4px;display:inline-block}
#ttl .ttl-roles{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:18px}
#ttl .ttl-role{background:var(--paper);border-radius:14px;padding:14px 16px;border-top:5px solid var(--c)}
#ttl .ttl-role h4{margin:0 0 4px;font-size:16px;color:var(--ink)}
#ttl .ttl-role p{margin:0;font-size:14px}
@media (max-width:600px){
  #ttl .ttl-hero,#ttl .ttl-card{padding-left:18px;padding-right:18px}
  #ttl .ttl-stage{padding:14px}
  #ttl .ttl-grid{grid-template-columns:96px repeat(var(--n),minmax(26px,1fr));min-width:calc(96px + var(--n) * 31px)}
  #ttl .ttl-dot{width:34px;height:34px}
  #ttl .ttl-pad{padding:14px 6px}
}
