:root{
  --bg:#0a1310; --bg2:#0e1814; --surface:#101c16; --surface2:#16241d;
  --line:#22332b; --line-soft:#1a2820;
  --text:#f1f6f2; --muted:#9db0a6; --faint:#6e837a;
  --amber:#ffcb6b; --amber-deep:#f5a623;
  --neon:#6fb78f; --neon-soft:#8fcaa9;
  --green:#5ad19a; --blue:#5d6bf2;
  --bs-body-bg:var(--bg); --bs-body-color:var(--text);
  --bs-border-color:var(--line); --bs-border-radius:12px;
  --gradient-hero: radial-gradient(circle at center, #d9e021 0%, #4d5610 55%, #000000 100%);
  --background: oklch(0.14 0.04 280);
  --foreground: oklch(0.98 0.005 280);
  --font-display: "Fraunces", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
}
html {
  margin: 0;
  padding: 0;
  background: var(--gradient-hero);
  background-attachment: fixed;
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
body {background-color: transparent;!important} 
.bg-gradient{ position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(62% 44% at 50% -8%, rgba(98,176,131,.34), transparent 62%),
    radial-gradient(46% 34% at 86% 3%, rgba(70,150,112,.18), transparent 60%),
    radial-gradient(60% 50% at 10% 16%, rgba(58,128,96,.12), transparent 60%),
    linear-gradient(180deg, #0c1611 0%, #0a120e 50%, #070d0a 100%); }
.bg-glow{ position:fixed; z-index:-1; top:-280px; left:50%; margin-left:-460px;
  width:920px; height:920px; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgba(98,176,131,.30) 0%, rgba(98,176,131,.12) 38%, transparent 68%);
  filter:blur(26px); }
.bg-grid{ position:fixed; inset:0; z-index:-2; pointer-events:none; opacity:.55;
  background:
    repeating-linear-gradient(90deg, rgba(170,200,185,.05) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(170,200,185,.05) 0 1px, transparent 1px 74px);
  -webkit-mask-image:radial-gradient(72% 56% at 50% -2%, #000, transparent 78%);
          mask-image:radial-gradient(72% 56% at 50% -2%, #000, transparent 78%); }
.notes{ position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.notes .note{ position:absolute; bottom:-7vh; opacity:0; will-change:transform,opacity;
  animation:rise var(--dur) linear var(--delay) infinite; }
@keyframes rise{
  0%{ transform:translateY(0) translateX(0) rotate(0deg); opacity:0; }
  12%{ opacity:var(--op); }
  50%{ transform:translateY(-55vh) translateX(var(--drift)) rotate(160deg); }
  88%{ opacity:var(--op); }
  100%{ transform:translateY(-112vh) translateX(0) rotate(320deg); opacity:0; }
}
.disp{ font-family:'Bricolage Grotesque',sans-serif; letter-spacing:-.02em; line-height:1.04; }
.mono{ font-family:'JetBrains Mono',monospace; }
.muted{ color:var(--muted); } .faint{ color:var(--faint); }
.eyebrow{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--neon); font-weight:700; }

/* topbar */
.topbar{ position:sticky; top:0; z-index:40; backdrop-filter:blur(12px);
  background:rgba(7,17,11,.4); border-bottom:1px solid var(--line-soft); transition:transform .32s ease; }
.topbar.nav-hidden{ transform:translateY(-105%); }
.site-footer{ text-align:center; padding:34px 18px 44px; color:#000; font-size:12.5px; }
.site-footer a{ color:#000; text-decoration:none; font-weight:600; }
.site-footer a:hover{ color:var(--neon); text-decoration:underline; }
.brand{ display:flex; align-items:center; justify-content:center; gap:11px; }
.brand .rmsl-logo{ height:54px; width:auto; display:block; }
.brand .rmsl-logo path:not(.st0){ fill:var(--text); }
.topbar-in{ display:flex; flex-direction:column; align-items:center; gap:13px; padding:18px 18px 15px; }
.navtoggle{ display:none; align-items:center; justify-content:center; width:42px; height:42px; border-radius:11px;
  border:1px solid var(--line-soft); background:var(--bg2); color:var(--text); font-size:21px; cursor:pointer; }
.tent .rmsl-logo{ height:30px; width:auto; display:block; margin:16px auto 0; }
.tent .powered{ font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:#9a7a4a; margin-top:7px; font-weight:700; }
.roles{ display:flex; gap:4px; background:var(--bg2); padding:4px; border-radius:12px; border:1px solid var(--line-soft); }
.role{ border:0; cursor:pointer; background:transparent; color:var(--muted); font-weight:600; font-size:13px; text-decoration:none;
  padding:7px 13px; border-radius:9px; display:flex; align-items:center; gap:7px; position:relative; }
.role:hover{ color:var(--text); }
.role.on{ background:var(--surface2); color:var(--text); box-shadow:0 6px 16px rgba(0,0,0,.35); }
.role .nb{ position:absolute; top:-5px; right:-5px; background:var(--neon); color:#1a0f16; font-size:10px;
  font-weight:800; min-width:17px; height:17px; border-radius:9px; display:grid; place-items:center; padding:0 4px; }

/* cards / surfaces */
.card2{ background:linear-gradient(180deg, rgba(28,42,34,.55), rgba(13,22,18,.9)); border:1px solid var(--line); border-radius:18px; }
.stat{ background:linear-gradient(180deg, rgba(28,42,34,.5), rgba(13,22,18,.9)); border:1px solid var(--line-soft); border-radius:16px; padding:15px 16px; }
.stat .n{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:27px; line-height:1; }
.stat .l{ font-size:12px; color:var(--muted); margin-top:5px; font-weight:600; }

/* buttons */
.btnx{ cursor:pointer; border:0; border-radius:12px; font-weight:700; font-size:14px; display:inline-flex;
  align-items:center; justify-content:center; gap:8px; padding:12px 18px; transition:.15s; color:var(--text); }
.btnx:active{ transform:translateY(1px); }
.btn-pink{ background:linear-gradient(135deg,#6470f4,#525fe8); color:#fff; box-shadow:0 10px 26px rgba(93,107,242,.36); }
.btn-pink:hover{ filter:brightness(1.08); color:#fff; }
.btn-amber{ background:linear-gradient(135deg,#7cc09a,#5fa07a); color:#08140e; }
.btn-amber:hover{ color:#08140e; filter:brightness(1.05); }
.btn-ghost{ background:var(--surface2); color:var(--text); border:1px solid var(--line); }
.btn-ghost:hover{ border-color:var(--neon-soft); color:var(--text); }
.btnx:disabled{ opacity:.45; cursor:not-allowed; }
.iconbtn{ border:0; background:var(--surface); color:var(--muted); cursor:pointer; width:30px;height:30px;
  border-radius:9px; display:grid;place-items:center; transition:.12s; }
.iconbtn:hover{ color:var(--text); background:var(--line); }
.iconbtn:disabled{ opacity:.35; cursor:not-allowed; }

/* inputs */
.inp{ width:100%; background:var(--bg2); border:1px solid var(--line); color:var(--text); font-family:inherit;
  font-size:15px; padding:13px 14px; border-radius:12px; outline:none; }
.inp:focus{ border-color:var(--neon-soft); box-shadow:0 0 0 3px rgba(111,183,143,.14); }
.inp::placeholder{ color:var(--faint); }
.lbl{ font-size:12px; font-weight:700; color:var(--muted); margin-bottom:7px; display:block; }
.chip{ font-size:11px; font-weight:700; padding:3px 9px; border-radius:999px; display:inline-flex; align-items:center; gap:5px; }

/* stage */
.stage{ position:relative; overflow:hidden; border-radius:22px; padding:26px 22px 24px;
  background:linear-gradient(180deg, #15251d 0%, #0d1813 100%); border:1px solid var(--line); }
.stage:before{ content:""; position:absolute; inset:-50% 20% auto -20%; height:280px;
  background:radial-gradient(closest-side, rgba(98,176,131,.30), transparent); filter:blur(10px); }
.live{ display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; color:var(--green);
  background:rgba(90,209,154,.1); border:1px solid rgba(90,209,154,.25); padding:5px 11px; border-radius:999px; }
.perfname{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:34px; line-height:1.04; margin:14px 0 4px; }
.pulse{ width:8px;height:8px;border-radius:50%; background:var(--green); animation:pulse 1.8s infinite; }
.stat-dot{ width:8px;height:8px;border-radius:50%; background:var(--green); display:inline-block; }
.perfphoto{ width:128px; height:128px; border-radius:18px; object-fit:cover; border:1px solid var(--line);
  box-shadow:0 10px 28px rgba(0,0,0,.35); flex:0 0 auto; cursor:zoom-in; transition:transform .18s ease; }
.perfphoto:hover{ transform:scale(1.03); }
@media (max-width:640px){ .perfphoto{ width:88px; height:88px; border-radius:14px; } }
/* fancybox-style lightbox */
.lb-overlay{ position:fixed; inset:0; z-index:300; background:rgba(5,11,8,.86); -webkit-backdrop-filter:blur(7px); backdrop-filter:blur(7px);
  display:flex; align-items:center; justify-content:center; padding:26px; cursor:zoom-out; animation:lbFade .18s ease; }
.lb-overlay img{ max-width:min(92vw,640px); max-height:86vh; border-radius:22px; border:1px solid var(--line);
  box-shadow:0 34px 90px rgba(0,0,0,.65); cursor:default; animation:lbPop .26s cubic-bezier(.2,.85,.3,1.08); }
.lb-x{ position:absolute; top:18px; right:18px; width:42px; height:42px; border-radius:50%; border:1px solid var(--line);
  background:var(--surface); color:var(--text); font-size:17px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.lb-x:hover{ background:var(--surface2); }
@keyframes lbFade{ from{ opacity:0; } }
@keyframes lbPop{ from{ transform:scale(.82); opacity:.3; } }
/* venue info row at the bottom of the fan hero */
.vrow{ display:flex; align-items:center; gap:12px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line-soft); }
.vrow-logo{ width:38px; height:38px; border-radius:10px; object-fit:cover; background:var(--bg2); border:1px solid var(--line); flex:0 0 auto; }
.vrow-logo.ph{ display:flex; align-items:center; justify-content:center; color:var(--faint); font-size:17px; }
.vrow-web{ flex:0 0 auto; font-size:12.5px; font-weight:700; color:var(--green); text-decoration:none; white-space:nowrap; }
.vrow-web:hover{ text-decoration:underline; }
.vlogo-ph{ display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:6px;
  background:var(--bg2); border:1px solid var(--line); color:var(--faint); font-size:13px; vertical-align:middle; margin-right:7px; }
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(90,209,154,.55)}70%{box-shadow:0 0 0 10px rgba(90,209,154,0)}100%{box-shadow:0 0 0 0 rgba(90,209,154,0)}}

/* art / results */
.art{ border-radius:10px; object-fit:cover; flex:none; background:var(--surface2); }
.art-ph{ border-radius:10px; flex:none; display:grid;place-items:center; font-family:'Bricolage Grotesque'; font-weight:800; color:#190f17; }
.result{ display:flex; align-items:center; gap:13px; padding:10px; border-radius:14px; cursor:pointer; border:1px solid transparent; transition:.12s; }
.result:hover{ background:var(--surface2); border-color:var(--line); }
.song-t{ font-weight:600; font-size:15px; line-height:1.2; }
.song-a{ font-size:13px; color:var(--muted); }

/* cart ticket */
.ticket{ background:var(--surface2); border:1px solid var(--line); border-radius:14px; padding:12px 14px; display:flex; gap:12px; align-items:flex-start; }
.prio-t{ display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; cursor:pointer;
  padding:6px 12px; border-radius:999px; border:1px solid var(--line); color:var(--muted); background:transparent;
  position:relative; transition:transform .15s; }
.prio-t.on{ color:var(--amber); border-color:var(--amber); background:rgba(255,203,107,.08); animation:none; box-shadow:none; }
.prio-t:not(.on){ color:var(--text); background:rgba(111,183,143,.05); animation:glowcycle 3.2s ease-in-out infinite, prioPulse 1.7s ease-in-out infinite; }
.prio-wrap{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.prio-hint{ display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:800; color:var(--neon); letter-spacing:.01em; }
.prio-hint i{ font-size:15px; animation:nudge 1.05s ease-in-out infinite; }
@keyframes prioPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.05); } }
@keyframes nudge{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(-6px); } }
@keyframes glowcycle{
  0%{   box-shadow:0 0 0 1px rgba(111,183,143,.55), 0 0 12px 1px rgba(111,183,143,.50); border-color:#6fb78f; }
  25%{  box-shadow:0 0 0 1px rgba(90,209,154,.55), 0 0 16px 2px rgba(90,209,154,.50); border-color:#5ad19a; }
  50%{  box-shadow:0 0 0 1px rgba(94,196,255,.55), 0 0 16px 2px rgba(94,196,255,.50); border-color:#5ec4ff; }
  75%{  box-shadow:0 0 0 1px rgba(255,203,107,.60), 0 0 16px 2px rgba(255,203,107,.50); border-color:#ffcb6b; }
  100%{ box-shadow:0 0 0 1px rgba(111,183,143,.55), 0 0 12px 1px rgba(111,183,143,.50); border-color:#6fb78f; }
}
.summary{ border-top:1px dashed var(--line); margin-top:4px; padding-top:14px; }
.srow{ display:flex; justify-content:space-between; align-items:center; font-size:14px; padding:5px 0; }
.total{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:24px; }
.tip{ flex:1; text-align:center; padding:11px 6px; border-radius:12px; border:1px solid var(--line);
  background:var(--bg2); color:var(--muted); cursor:pointer; font-weight:700; font-size:14px; }
.tip.on{ border-color:var(--neon); color:var(--text); background:rgba(111,183,143,.1); }

/* modal */
.modal-bg{ position:fixed; inset:0; z-index:60; background:rgba(10,7,16,.72); backdrop-filter:blur(6px); display:grid; place-items:center; padding:18px; }
.modalx{ width:100%; max-width:420px; background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:22px; }
.pay{ display:flex; align-items:center; gap:12px; width:100%; padding:14px; border-radius:13px; cursor:pointer;
  border:1px solid var(--line); background:var(--bg2); color:var(--text); font-weight:600; font-size:15px; transition:.12s; }
.pay:hover{ border-color:var(--neon-soft); transform:translateY(-1px); }
.payicon{ width:38px;height:38px;border-radius:10px; display:grid;place-items:center; flex:none; color:#fff; font-size:17px; }

/* tabs */
.tabs{ display:flex; flex-wrap:wrap; gap:4px; background:var(--bg2); padding:4px; border-radius:12px; border:1px solid var(--line-soft); width:fit-content; max-width:100%; }
.tab{ border:0; background:transparent; color:var(--muted); font-weight:700; font-size:13px; padding:8px 15px; border-radius:9px; cursor:pointer; }
.tab.on{ background:var(--surface2); color:var(--text); }

/* queue rows */
.q{ display:flex; gap:13px; align-items:center; padding:13px 14px 13px 13px; border-radius:15px; background:var(--surface); border:1px solid var(--line-soft); }
.setnum{ flex:0 0 auto; width:30px; height:30px; border-radius:9px; background:var(--bg2); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; color:var(--muted); }
.gigpick{ appearance:none; -webkit-appearance:none; cursor:pointer; width:100%; text-align:left; color:inherit; font:inherit; }
.gigpick:hover{ border-color:var(--neon-soft); }
.q.deck{ border-color:var(--neon); background:linear-gradient(125deg, #1f5a39 0%, #15412b 48%, #0c2a1b 100%); box-shadow:0 0 0 1px rgba(111,183,143,.22), 0 16px 44px rgba(0,0,0,.42); }
.q.prio{ border-color:rgba(255,203,107,.5); }
.q.done .art,.q.done .art-ph,.q.done .song-t,.q.done .song-a{ opacity:.6; }
.drag-handle{ flex:none; align-self:stretch; display:flex; align-items:center; padding:0 6px; margin:-13px 0; color:var(--faint); cursor:grab; touch-action:none; user-select:none; font-size:18px; }
.drag-handle:active{ cursor:grabbing; color:var(--neon); }
.q-item{ touch-action:pan-y; }
.q-item.dragging{ position:relative; z-index:30; opacity:.97; box-shadow:0 18px 44px rgba(0,0,0,.55); border-color:var(--neon); animation:none; }
.qbtns{ display:flex; flex-direction:column; gap:11px; flex:none; align-items:stretch; }
.qbtn{ border:0; cursor:pointer; border-radius:12px; padding:6px 12px;
  display:flex; align-items:center; justify-content:center; gap:7px; font-family:inherit; font-weight:700; font-size:12.5px; transition:.12s; }
.qbtn i{ font-size:18px; line-height:1; }
.qbtn-play{ background:var(--green); color:#06160e; min-width:96px; min-height:56px; font-size:14px; box-shadow:0 7px 20px rgba(90,209,154,.30); }
.qbtn-play i{ font-size:24px; }
.qbtn-play:hover{ filter:brightness(1.07); }
.qbtn-skip{ background:transparent; color:var(--faint); border:1px solid var(--line); min-width:96px; min-height:36px; font-size:11.5px; }
.qbtn-skip i{ font-size:15px; }
.qbtn-skip:hover{ color:var(--text); border-color:var(--neon-soft); }
.qbtn-undo{ background:rgba(111,183,143,.14); color:var(--neon); border:1px solid rgba(111,183,143,.3); min-height:38px; min-width:98px; }
.qbtn-undo:hover{ background:rgba(111,183,143,.24); }
.qbtn-refund{ background:rgba(232,90,90,.14); color:#ff6b6b; border:1px solid rgba(232,90,90,.42); min-height:38px; min-width:98px; }
.qbtn-refund:hover{ background:rgba(232,90,90,.24); }
.refund-tag{ display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:11.5px; color:#ff6b6b; background:rgba(232,90,90,.12); border:1px solid rgba(232,90,90,.3); border-radius:999px; padding:5px 11px; white-space:nowrap; }
.req-by{ margin-top:9px; font-size:15px; font-weight:600; color:#fff; display:flex; align-items:center; gap:8px; }
.req-by i{ color:var(--neon); font-size:16px; flex:none; }
.req-by .lab{ color:var(--muted); font-weight:500; font-size:12.5px; margin-right:2px; }
.req-note{ margin-top:9px; font-size:15px; line-height:1.4; color:#fff; background:rgba(0,0,0,.30); border-left:3px solid var(--neon); padding:10px 13px; border-radius:9px; display:flex; gap:9px; align-items:flex-start; }
.req-note i{ color:var(--neon); font-size:15px; margin-top:3px; flex:none; }
.q.deck .req-note{ background:rgba(0,0,0,.34); }
.q-num{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:18px; color:var(--faint); width:26px; text-align:center; flex:none; }
.stub{ font-family:'JetBrains Mono'; font-weight:700; background:var(--bg2); border:1px solid var(--line); border-radius:10px; padding:7px 11px; text-align:center; flex:none; }
.stub .amt{ font-size:16px; color:var(--green); } .stub .lbl{ font-size:9px; color:var(--faint); letter-spacing:.08em; }

/* analytics bars */
.bar-track{ height:8px; background:var(--bg2); border-radius:6px; overflow:hidden; }
.bar-fill{ height:100%; border-radius:6px; }

/* qr sign */
.tent{ background:linear-gradient(165deg,#fbf6ec,#efe6d4); color:#241500; border-radius:18px; padding:26px 22px; text-align:center; border:1px solid #d8cbb0; box-shadow:0 24px 60px rgba(0,0,0,.4); }
.tent .top{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:13px; letter-spacing:.18em; text-transform:uppercase; color:#b4451f; }
.tent .big{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:26px; margin:6px 0 16px; line-height:1.05; }
.qrbox{ width:188px;height:188px; margin:0 auto; background:#fff; border-radius:14px; padding:10px; border:1px solid #e3d9c4; display:grid; place-items:center; }
.qrbox img{ width:100%; height:100%; image-rendering:pixelated; }

.pmethod{ display:flex; align-items:center; gap:9px; padding:10px 12px; border-radius:11px; border:1px solid var(--line); background:var(--bg2); cursor:pointer; font-weight:600; font-size:14px; user-select:none; }
.pmethod.on{ border-color:var(--neon); background:rgba(111,183,143,.08); }
.checkbox{ width:18px;height:18px;border-radius:6px; border:1.5px solid var(--line); display:grid;place-items:center; flex:none; }
.pmethod.on .checkbox{ background:var(--neon); border-color:var(--neon); color:#190f17; }

.toast-x{ position:fixed; left:50%; bottom:26px; transform:translateX(-50%); z-index:70; background:var(--surface2);
  border:1px solid var(--amber); color:var(--text); padding:13px 18px; border-radius:14px; display:flex; align-items:center;
  gap:11px; font-weight:600; box-shadow:0 16px 50px rgba(0,0,0,.5); animation:slup .35s cubic-bezier(.2,.9,.3,1.2); }
@keyframes slup{from{transform:translate(-50%,18px);opacity:0}to{transform:translate(-50%,0);opacity:1}}
.spin{ animation:spin .9s linear infinite; } @keyframes spin{to{transform:rotate(360deg)}}

.dim{ font-size:12px; color:var(--faint); }
.lyr-link{ border:1px solid var(--line); background:rgba(111,183,143,.07); color:var(--neon); cursor:pointer; font-family:inherit; font-weight:700; font-size:11.5px; padding:3px 10px; border-radius:999px; display:inline-flex; align-items:center; gap:6px; transition:.12s; }
.lyr-link:hover{ background:rgba(111,183,143,.18); border-color:var(--neon); }
.lyr-sec{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-weight:700; margin:15px 0 8px; }
.lyr-item{ display:flex; align-items:center; gap:12px; width:100%; padding:12px 14px; border-radius:13px; cursor:pointer; border:1px solid var(--line); background:var(--bg2); color:var(--text); text-decoration:none; font-weight:600; font-size:14px; transition:.12s; }
.lyr-item:hover{ border-color:var(--neon-soft); transform:translateY(-1px); color:var(--text); }
.lyr-ic{ width:36px;height:36px;border-radius:10px; display:grid;place-items:center; flex:none; color:#fff; font-size:16px; }
.lyr-ic.sm{ width:30px; height:30px; font-size:14px; border-radius:9px; }
.lyr-modal{ max-width:480px; max-height:90vh; overflow:auto; }
.lyr-body{ max-height:46vh; overflow:auto; background:var(--bg2); border:1px solid var(--line-soft); border-radius:12px; padding:14px 16px; white-space:pre-wrap; font-size:14.5px; line-height:1.58; color:var(--text); }
.lyr-loading{ text-align:center; padding:30px 10px; color:var(--muted); font-weight:600; }
.lyr-audio{ width:100%; height:38px; margin-bottom:12px; }
.lyr-mini{ display:flex; align-items:center; gap:10px; width:100%; padding:11px 13px; border-radius:12px; border:1px solid var(--line); background:var(--bg2); color:var(--text); text-decoration:none; font-weight:600; font-size:13.5px; transition:.12s; }
.lyr-mini:hover{ border-color:var(--neon-soft); color:var(--text); }
.lyr-seg{ display:flex; gap:4px; background:var(--bg2); padding:4px; border-radius:11px; border:1px solid var(--line-soft); margin-bottom:14px; }
.lyr-seg button{ flex:1; border:0; background:transparent; color:var(--muted); font-weight:700; font-size:13px; padding:8px; border-radius:8px; cursor:pointer; font-family:inherit; }
.lyr-seg button.on{ background:var(--surface2); color:var(--text); }
.chord-pal{ display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 14px; }
.chord-pal button{ border:1px solid var(--line); background:var(--bg2); color:var(--muted); font-weight:700; font-size:12px; padding:5px 10px; border-radius:8px; cursor:pointer; font-family:inherit; }
.chord-pal button:hover{ color:var(--text); border-color:var(--neon-soft); }
.chord-grid{ display:flex; flex-wrap:wrap; gap:10px; }
.chord-card{ width:64px; text-align:center; }
.chord-card svg{ width:64px; height:84px; display:block; }
.chord-name{ font-size:12px; font-weight:700; margin-top:1px; color:var(--text); }
.chord-empty{ color:var(--faint); font-size:12.5px; text-align:center; padding:14px 4px 4px; }
.card2{ box-shadow:0 16px 38px rgba(0,0,0,.5); }
.stat,.ticket{ box-shadow:0 12px 26px rgba(0,0,0,.42); }
.q{ box-shadow:0 10px 24px rgba(0,0,0,.4); }
.stage{ box-shadow:0 18px 44px rgba(0,0,0,.46); }
.tent{ box-shadow:0 26px 60px rgba(0,0,0,.55); }
html,body{ max-width:100%; overflow-x:clip; }
.q{ min-width:0; }
@media (max-width:640px){ .perfname{font-size:28px} .q-num{display:none} .hide-sm{display:none!important}
  .q{ gap:7px; padding:12px 11px; } .qbtn{padding:6px} .qbtn span{display:none}
  .q .art,.q .art-ph{ width:44px!important; height:44px!important; }
  .q .meta-row{ flex-wrap:wrap; row-gap:5px; column-gap:12px!important; }
  .lyr-link{ font-size:11px; padding:3px 9px; }
  .stub{ padding:5px 7px; } .stub .amt{ font-size:14px; } .stub .lbl{ font-size:8px; }
  .drag-handle{ padding:0 2px; font-size:16px; }
  .qbtns{ gap:9px; } .qbtn-play{ min-width:54px; min-height:60px; } .qbtn-play i{font-size:28px}
  .qbtn-skip{ min-width:54px; min-height:38px; } .qbtn-skip i{font-size:19px} .qbtn-undo{ min-width:50px; } .qbtn-refund{ min-width:50px; }
  .req-by{font-size:15px} .req-note{font-size:15px}
  .topbar-in{ position:relative; }
  .navtoggle{ display:flex; position:absolute; top:16px; right:14px; }
  .roles{ display:none; flex-direction:column; width:100%; max-width:260px; gap:6px; background:transparent; border:0; padding:0; }
  .roles.open{ display:flex; }
  .roles .role{ justify-content:center; padding:12px 14px; font-size:15px; background:var(--bg2); border:1px solid var(--line-soft); }
  .roles .role.on{ background:var(--surface2); } }
*:focus-visible{ outline:2px solid var(--neon-soft); outline-offset:2px; }
@media (prefers-reduced-motion:reduce){ *{animation:none!important; transition:none!important} }

/* Lyrics & Chords combined view */
.as-bar{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.as-bar input[type=range]{ accent-color:var(--green); }
.chart-wrap{ max-height:52vh; overflow-y:auto; -webkit-overflow-scrolling:touch; background:var(--bg2);
  border:1px solid var(--line); border-radius:12px; padding:14px 16px; scroll-behavior:auto; }
.chartpre{ margin:0; font-family:var(--font-mono,ui-monospace,Menlo,Consolas,monospace); font-size:13px;
  line-height:1.62; color:var(--text); white-space:pre-wrap; word-break:break-word; }
.ch-line{ color:var(--amber); font-weight:700; }
.ch-sec{ color:var(--green); font-weight:800; letter-spacing:.03em; }
@media (max-width:640px){
  .chart-wrap{ max-height:56vh; padding:11px 12px; }
  .chartpre{ font-size:12.5px; line-height:1.58; }
  .lyr-seg button{ font-size:12px; padding:8px 10px; }
}

/* Ultimate Guitar in-app modal */
.ug-overlay{ position:fixed; inset:0; z-index:420; background:rgba(5,11,8,.88); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:22px; animation:lbFade .16s ease; }
.ug-panel{ width:min(1100px,96vw); height:min(860px,90vh); background:var(--surface); border:1px solid var(--line);
  border-radius:18px; display:flex; flex-direction:column; overflow:hidden; box-shadow:0 34px 90px rgba(0,0,0,.6); }
.ug-head{ display:flex; align-items:center; gap:12px; padding:12px 14px; border-bottom:1px solid var(--line); }
.ug-ttl{ display:flex; align-items:center; gap:10px; flex:1; min-width:0; font-weight:700; font-size:14px; color:var(--text); }
.ug-body{ position:relative; flex:1; background:#fff; }
.ug-frame{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.ug-load{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:var(--bg2); color:var(--muted); z-index:1; pointer-events:none; }
.ug-hint{ position:absolute; inset:0; display:none; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; background:var(--bg2); color:var(--text); z-index:2; padding:24px; }
.ug-hint.show{ display:flex; }
@media (max-width:640px){
  .ug-overlay{ padding:0; }
  .ug-panel{ width:100vw; height:100dvh; border-radius:0; border:0; }
  .ug-head{ padding:10px 10px; }
  .ug-ttl{ font-size:12.5px; }
}

/* boot loading screen */
.bootload{ min-height:52vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.bootload-spin{ width:42px; height:42px; border-radius:50%; border:3px solid var(--line); border-top-color:var(--green); animation:bootspin .8s linear infinite; }
.bootload-txt{ margin-top:14px; color:var(--muted); font-size:13.5px; }
@keyframes bootspin{ to{ transform:rotate(360deg); } }

/* open-tab save toggle (shared switch styles) */
.switch{ display:inline-flex; align-items:center; gap:8px; cursor:pointer; font-size:13px; font-weight:700; color:var(--text); }
.switch .tk{ width:40px; height:22px; border-radius:99px; background:var(--bg2); border:1px solid var(--line); position:relative; transition:.2s; flex:0 0 auto; }
.switch .tk::after{ content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:var(--faint); transition:.2s; }
.switch.on .tk{ background:rgba(90,209,154,.3); border-color:var(--green); }
.switch.on .tk::after{ left:20px; background:var(--green); }
