:root {
  --bg: #10172A;
  --panel: rgba(12, 18, 34, 0.94);
  --field: #0A0F1E;
  --line: rgba(238, 241, 247, 0.14);
  --line-strong: rgba(238, 241, 247, 0.32);
  --text: #EEF1F7;
  --muted: #AEB6C8;
  /* tombol & aksen netral (abu-abu terang + teks hitam), tanpa warna mencolok */
  --accent: #E4E4E4;        /* yang terpilih, fokus, aksen kecil */
  --accent-ink: #111214;
  --cta: #E4E4E4;           /* tombol utama */
  --cta-hover: #FFFFFF;
  --cta-ink: #111214;
  --warn: #F2A7AB;
  --warn-bg: rgba(179, 18, 31, 0.16);
  --danger: #FFA3A3;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: block;
  touch-action: none;
  cursor: grab;
}
#scene:active { cursor: grabbing; }

#panel {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 352px;
  max-height: calc(100vh - 16px - 52px);
  max-height: calc(100dvh - 16px - 52px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 18px;
}

/* scrollbar tipis gelap (panel & daftar lagu), bukan scrollbar putih bawaan Windows */
#panel, .music-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(238, 241, 247, 0.22) transparent;
}
#panel::-webkit-scrollbar, .music-list::-webkit-scrollbar { width: 8px; }
#panel::-webkit-scrollbar-track, .music-list::-webkit-scrollbar-track { background: transparent; margin: 12px 0; }
#panel::-webkit-scrollbar-thumb, .music-list::-webkit-scrollbar-thumb {
  background: rgba(238, 241, 247, 0.22);
  border: 2px solid transparent;
  border-radius: 8px;
  background-clip: padding-box;
}
#panel::-webkit-scrollbar-thumb:hover, .music-list::-webkit-scrollbar-thumb:hover { background-color: rgba(238, 241, 247, 0.4); }
#panel::-webkit-scrollbar-button, .music-list::-webkit-scrollbar-button { display: none; height: 0; }

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.panel-head h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 0.95;
}
.panel-head .sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

/* jumlah pengunjung (dari /api/visits) */
.visits {
  margin: 2px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}
.visits[hidden] { display: none; }
.panel-head { flex-wrap: wrap; }
.panel-head > div:first-child { flex: 1 1 0; min-width: 0; }
.panel-head > .ghost { flex-shrink: 0; }
.visits-row { flex-basis: 100%; }
.visits span { white-space: nowrap; }
.visits svg { color: var(--accent); flex-shrink: 0; }
.visits strong { color: var(--text); font-variant-numeric: tabular-nums; }
/* kuota pengguna Tiket Simulator (26 Okt 2026, #kuota, app.js kuotaSet): selalu tampil, emas seperti tombol beli;
   kuota penuh = merah */
.kuota {
  margin: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  padding: 4px 11px 4px 8px;
  border: 1px solid rgba(255, 200, 97, 0.45);
  border-radius: 12px;
  background: rgba(255, 200, 97, 0.1);
  color: #F2DDB6;
  font-size: 13px;
  line-height: 1.35;
}
.kuota[hidden] { display: none; }
.kuota svg { flex: none; margin-top: 1px; color: #FFC861; }
.kuota strong { color: #FFE2B0; }
.kuota.full { border-color: rgba(255, 120, 120, 0.5); background: rgba(255, 90, 90, 0.12); color: #FFD0D0; }
.kuota.full svg, .kuota.full strong { color: #FFB3B3; }

/* teks khusus pembaca layar */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Saweria: pil kecil di header (kelihatan juga waktu panel diciutkan) + kartu ajakan di panel.
   Satu-satunya warna hangat di panel, warnanya ngikut oranye Saweria. */
.visits-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.visits-row .visits { margin: 0; }
.sawer-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 8px;
  border: 1px solid rgba(255, 178, 64, 0.45);
  border-radius: 999px;
  background: rgba(255, 178, 64, 0.08);
  color: #FFC861;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.sawer-pill:hover { background: rgba(255, 178, 64, 0.18); border-color: rgba(255, 178, 64, 0.8); }
.sawer-pill:active { transform: scale(0.96); }
.sawer-pill svg { transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.sawer-pill:hover svg { transform: rotate(-12deg) scale(1.1); }

.sawer {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: 'pick title go' 'pick desc desc';
  align-items: center;
  gap: 4px 10px;
  padding: 12px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background:
    radial-gradient(130% 160% at 0% 0%, rgba(255, 170, 60, 0.2), transparent 55%) padding-box,
    linear-gradient(#0D1326, #0D1326) padding-box,
    linear-gradient(115deg, #FFD25A, #FF9A3D 50%, #FF5E7A) border-box;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease;
}
/* kilau yang lewat sesekali (dan waktu disorot) */
.sawer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 220, 160, 0.16) 50%, transparent 62%);
  transform: translateX(-110%);
  animation: sawer-sheen 7s ease-in-out 2.5s infinite;
  pointer-events: none;
}
@keyframes sawer-sheen {
  0%, 82% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}
.sawer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(255, 140, 60, 0.7);
}
.sawer:active { transform: translateY(0) scale(0.985); transition-duration: 80ms; }
.sawer:focus-visible { outline: 2px solid #FFC861; outline-offset: 2px; }
.sawer-pick {
  grid-area: pick;
  align-self: center;
  display: grid;
  filter: drop-shadow(0 3px 8px rgba(255, 130, 60, 0.45));
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sawer:hover .sawer-pick { transform: rotate(-10deg) scale(1.06); }
.sawer-text { display: contents; }
.sawer-text strong {
  grid-area: title;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.sawer-text span { grid-area: desc; color: var(--muted); font-size: 13px; line-height: 1.4; }
.sawer-go {
  grid-area: go;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 9px 6px 11px;
  border-radius: 999px;
  background: linear-gradient(115deg, #FFD25A, #FF9A3D);
  color: #1A1206;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
}
.sawer-go svg { transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.sawer:hover .sawer-go svg { transform: translate(2px, -2px); }
/* link Saweria di label pojok kiri bawah (labelnya sendiri nggak bisa diklik, cuma link ini) */
.sim-sawer {
  pointer-events: auto;
  color: #FFC861;
  font-weight: 700;
  text-decoration: none;
}
.sim-sawer:hover { color: #FFD98F; text-decoration: underline; text-underline-offset: 2px; }
.sim-sawer:focus-visible { outline: 2px solid #FFC861; outline-offset: 2px; border-radius: 3px; }

/* ajakan Saweria di HUD POV: muncul sekali per browser setelah ±30 detik di POV (lihat app.js) */
.sawer-nudge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 6px 8px 10px;
  border: 1px solid rgba(255, 178, 64, 0.5);
  border-radius: 10px;
  background:
    radial-gradient(120% 200% at 0% 50%, rgba(255, 170, 60, 0.2), transparent 60%),
    rgba(255, 178, 64, 0.06);
  animation: sawer-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sawer-nudge[hidden] { display: none; }
@keyframes sawer-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.sawer-nudge > svg { flex-shrink: 0; color: #FF9A3D; }
.sawer-nudge p { margin: 0; flex: 1 1 auto; min-width: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.sawer-nudge p strong { color: var(--text); }
.sawer-nudge-go {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 9px 6px 11px;
  border-radius: 999px;
  background: linear-gradient(115deg, #FFD25A, #FF9A3D);
  color: #1A1206;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sawer-nudge-go:hover { transform: translateY(-1px); }
.sawer-nudge-go:active { transform: scale(0.96); }
.sawer-nudge-x {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}
.sawer-nudge-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

@media (prefers-reduced-motion: reduce) {
  .sawer::after { animation: none; }
  .sawer-nudge { animation: none; }
}

#panelBody {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#panel.collapsed #panelBody { display: none; }

button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ghost {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
}
.ghost:hover { color: var(--text); border-color: var(--line-strong); }

.cat-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.cat-title { margin: 0; color: var(--muted); font-size: 14px; }
.seg.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg.three button { min-height: 44px; font-size: 15px; }
.cat-note { margin: 0; min-height: 18px; color: var(--muted); font-size: 13px; line-height: 1.4; }

.finder .fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.finder label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.finder input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
.finder input::placeholder { color: #5E6780; }

.error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 14px;
  line-height: 1.4;
}

.primary {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 0;
  border-radius: 6px;
  background: var(--cta);
  color: var(--cta-ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  transition: background-color 120ms ease, transform 120ms ease;
}
.primary:hover { background: var(--cta-hover); }
.primary:active { transform: scale(0.98); }

.seat-btn {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  background: transparent;
  color: var(--accent);
  transition: background-color 120ms ease, transform 120ms ease;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}
.seat-btn:hover { background: rgba(255, 255, 255, 0.08); }
.seat-btn:active { transform: scale(0.98); }

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.card h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
}
.card .mine {
  margin: -2px 0 10px;
  color: var(--accent);
  font-size: 15px;
}
.card dl {
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 1.35;
}
.card dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
}
.card dt { color: var(--muted); }
.card .sub-dd { color: var(--muted); font-size: 13px; }
.card dd { margin: 0; }

.views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.views button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--field);
  font-size: 14px;
}
.views button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}

/* tab jenis tiket */
.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.tabs button {
  min-height: 44px;
  border: 0;
  background: var(--field);
  color: var(--muted);
  font-size: 15px;
}
.tabs button + button { border-left: 1px solid var(--line); }
.tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.08); color: var(--accent); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.finder[hidden], .fest-form[hidden] { display: none; }

.fest-form { display: flex; flex-direction: column; gap: 10px; }
.mini-title { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.grid3 button {
  min-height: 42px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--field);
  font-size: 13px;
  line-height: 1.2;
}
.grid3 button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.fest-form .hint { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.height-field { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 14px; }
.height-row { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 16px; }
.height-row input {
  width: 96px;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}
.height-row input::placeholder { color: #5E6780; }
.height-row input[aria-invalid="true"] { border-color: var(--danger); }

.card .warn-line {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 14px;
  line-height: 1.4;
}
.card .lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card .lead strong { color: var(--text); }
.card .povgo { margin-top: 14px; }

.actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.music-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  font-size: 15px;
  color: var(--text);
}
.music-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }

.card .hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* tandai kursi: nama pengunjung di kursi + cari teman */
.names {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.names-title {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.names-title + .names-list { margin-bottom: 0; }
.names .names-title:not(:first-child) { margin-top: 12px; }
.names-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.names-form input, .friends input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.names-form input::placeholder, .friends input::placeholder { color: #5E6780; }
.names-form .primary { width: auto; min-height: 44px; margin: 0; padding: 0 16px; font-size: 19px; }
.names-form .primary:disabled { opacity: 0.6; cursor: default; }
.names .fine, .friends .fine { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.names-me { margin: 0; font-size: 15px; line-height: 1.4; }
.names-me strong { color: var(--accent); }
.names-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.names-btns .ghost { min-height: 36px; padding: 6px 10px; }
.names-msg {
  margin: 8px 0 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 95, 162, 0.12);
  color: #FFB3D3;
  font-size: 13.5px;
  line-height: 1.4;
}
.names-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.names-list li {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}
.name-go {
  overflow: hidden;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid rgba(255, 95, 162, 0.45);
  border-radius: 999px;
  background: rgba(255, 95, 162, 0.12);
  color: #FFD1E4;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.name-go:hover { background: rgba(255, 95, 162, 0.22); }
.name-go em { font-style: normal; font-weight: 400; color: var(--muted); }
.name-where { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.name-flag {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6F7891;
  font-size: 14px;
}
.name-flag:hover { color: var(--danger); background: rgba(255, 163, 163, 0.08); }
.names-empty { color: var(--muted); font-size: 14px; }
.friends h2 { margin: 0 0 4px; font-size: 26px; }
.friends #friendsCount { margin: 0 0 8px; }
.friends .names-list { margin-top: 8px; }
.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}
.toggle input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
}

.legend h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
}
.legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.legend li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
}
.sw {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}
.price {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.update-note {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--line-strong);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.update-note strong { color: var(--accent); }

.note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

#tooltip {
  position: fixed;
  z-index: 5;
  pointer-events: none;
  transform: translate(14px, 14px);
  max-width: 240px;
  padding: 8px 10px;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}
#tooltip strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
}

/* Pratinjau "dari kursi": kotak transparan, isinya digambar WebGL di belakangnya */
.pip {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 340px;
  height: 200px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(10, 15, 30, 0.6);
}
.pip[hidden] { display: none; }
.pip-open {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  text-align: left;
}
.pip-open:hover .pip-tag { background: var(--accent); color: var(--accent-ink); }
.pip-tag, .pip-where {
  margin: 0 0 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(10, 15, 30, 0.88);
  font-size: 13px;
  line-height: 1.3;
}
.pip-tag {
  margin-left: 8px;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
}
.pip-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(10, 15, 30, 0.88);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}
.pip-close:hover { color: var(--text); }

/* HUD saat mode "Dari kursi" */
.pov-hud {
  position: fixed;
  left: calc(16px + 352px + 16px);
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pov-hud[hidden] { display: none; }
#panel.collapsed ~ .pov-hud { left: 16px; bottom: 48px; }
.pov-btns { display: flex; gap: 6px; flex-shrink: 0; }
.pov-btns [aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.pov-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pov-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
}
.pov-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.pov-ctrls {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.zoom {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--muted);
}
.zoom output { color: var(--text); font-variant-numeric: tabular-nums; }
.zoom input { width: 100%; min-height: 28px; accent-color: var(--accent); }
.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.seg[hidden] { display: none; }
.seg button {
  min-height: 40px;
  padding: 6px 12px;
  border: 0;
  background: var(--field);
  font-size: 14px;
  color: var(--muted);
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.pov-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* panah di tepi layar ke arah posisi kamu (POV dari panggung, kalau labelnya di luar layar) */
.you-arrow {
  position: fixed;
  z-index: 4;
  margin: 0;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.you-arrow[hidden] { display: none; }
.you-arrow-ic { display: inline-block; font-size: 18px; line-height: 1; }

.seg.wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg.wide button { min-height: 44px; font-size: 15px; }
.pip-close.static { position: static; }

/* label "simulasi": selalu di kiri bawah, di semua mode (ikut ke screenshot yang dibagikan).
   Panel dibuat berhenti di atasnya supaya nggak ketutup. */
.sim-badge {
  position: fixed;
  left: 16px;
  bottom: 10px;
  z-index: 9;
  margin: 0;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(10, 15, 30, 0.9);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  pointer-events: none;
  white-space: nowrap;
}
/* mode "sembunyikan semua": cuma label pojok kiri bawah, bar musik, dan tombol "Tampilkan" yang tersisa */
body.ui-hidden #panel,
body.ui-hidden .pov-hud,
body.ui-hidden .pip,
body.ui-hidden .you-arrow,
body.ui-hidden #tooltip { display: none !important; }
.show-ui {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(10, 15, 30, 0.85);
  color: var(--text);
  font-size: 14px;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.show-ui:hover, .show-ui:focus-visible { opacity: 1; }
.show-ui[hidden] { display: none; }
.show-ui svg { color: var(--accent); }
.pov-btns .icon-btn { display: inline-flex; align-items: center; justify-content: center; padding-left: 10px; padding-right: 10px; }

/* kredit pembuat, ikut di label pojok kiri bawah */
.sim-badge .credit { color: var(--accent); font-weight: 700; }

/* pemutar musik: bar mini. Pemutar YouTube-nya tetap jalan tapi nggak ditampilkan (cuma audio),
   kecuali browser nahan suara otomatis dan user perlu ngetuk tombol putarnya. */
.music {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 292px;
  padding: 5px 5px 5px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  z-index: 6;
}
.music[hidden] { display: none; }
.music-bar { display: flex; align-items: center; gap: 2px; }
.music-title {
  flex: 1;
  min-width: 0;
  margin: 0 4px 0 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  color: var(--accent);
}
/* judul lagu = tombol buka daftar lagu */
.music-pick {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: -6px;
  padding: 4px 4px 4px 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
}
.music-pick:hover { background: rgba(255, 255, 255, 0.07); }
.music-pick .chev { flex-shrink: 0; color: var(--muted); transition: transform 0.15s; }
.music-pick[aria-expanded="true"] .chev { transform: rotate(180deg); }
.music-list {
  list-style: none;
  margin: 6px 7px 4px 0;
  padding: 4px 0 0;
  border-top: 1px solid var(--line);
  max-height: min(300px, 40vh);
  overflow-y: auto;
}
.music-list[hidden] { display: none; }
.music-list button {
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  text-align: left;
}
.music-list button:hover { background: rgba(255, 255, 255, 0.07); }
.music-list button[aria-current="true"] { color: var(--accent); font-weight: 700; }
.music-list button[aria-current="true"]::before { content: "▶ "; font-size: 11px; }
.mbtn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mbtn:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.mbtn[aria-expanded="true"] { color: var(--accent); }
.mbtn .ic-play { display: none; }
.music.paused .mbtn .ic-play { display: block; }
.music.paused .mbtn .ic-pause { display: none; }
/* equalizer kecil: gerak waktu lagu jalan */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 14px; height: 14px; flex-shrink: 0; }
.eq i { display: block; width: 3px; height: 40%; border-radius: 1px; background: var(--accent); }
.music.playing .eq i { animation: eq 0.9s ease-in-out infinite; }
.music.playing .eq i:nth-child(2) { animation-delay: -0.3s; }
.music.playing .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.vol { margin: 6px 8px 6px 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.vol[hidden] { display: none; }
.vol input { flex: 1; accent-color: var(--accent); }
.music-hint { margin: 6px 8px 4px 0; color: var(--accent); font-size: 13px; line-height: 1.4; }
.music-hint[hidden] { display: none; }
.player {
  position: absolute;
  left: 0;
  top: 0;
  width: 200px;
  height: 200px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
/* suara diblok browser: tampilkan pemutarnya supaya bisa diketuk.
   opacity < 1 supaya video nggak dijadikan "overlay" GPU (penyebab kotak gelap di kanvas). */
.music.needs-tap .player {
  position: relative;
  width: auto;
  height: 150px;
  margin: 0 7px 6px 0;
  opacity: 0.99;
  pointer-events: auto;
  z-index: auto;
  border-radius: 10px;
}

/* peringatan awal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 8, 16, 0.72);
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(460px, 100%);
  padding: 22px 22px 20px;
  background: #0E1426;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}
.modal-card h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
  color: var(--accent);
}
.modal-card ul { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }

.noscript {
  position: fixed;
  inset: auto 16px 16px 16px;
  margin: 0;
  color: var(--text);
}

@media (max-width: 720px) {
  #panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: calc(34px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: 40vh;
    max-height: 40dvh;
    border-radius: 16px 16px 0 0;
    padding: 12px 16px 12px;
  }
  /* HP: panel ringkas (judul 1 baris) supaya stadion dapat ruang lebih */
  .panel-head { align-items: center; }
  .panel-head h1 { font-size: 24px; line-height: 1; }
  .panel-head .sub { font-size: 13px; margin-top: 3px; }
  .panel-head .sub-long { display: none; }
  .panel-head .ghost { min-height: 38px; padding: 6px 12px; font-size: 14px; }
  #panelBody { margin-top: 12px; gap: 12px; }
  #tooltip { display: none; }
  .pip {
    top: 12px;
    right: 12px;
    bottom: auto;
    width: min(40vw, 168px);
    height: 100px;
  }
  .pip-tag { font-size: 13px; }
  .pip-where { display: none; }
  .pov-hud,
  #panel.collapsed ~ .pov-hud {
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: auto;
    padding: 10px 12px;
  }
  .pov-title { font-size: 18px; }
  .pov-meta { font-size: 12px; margin-top: 2px; }
  .pov-ctrls { margin-top: 6px; gap: 6px 8px; flex-wrap: wrap; }
  .zoom { flex: 1 1 130px; flex-direction: row; align-items: center; gap: 8px; }
  .zoom span { white-space: nowrap; }
  .seg button { min-height: 36px; padding: 4px 10px; }
  .pov-btns .ghost { min-height: 36px; padding: 6px 10px; }
  .pov-hint { margin-top: 4px; font-size: 11px; }
  /* peringatan simulasi di HP cukup label di kiri bawah */
  .pov-hint { display: none; }
  .sim-badge { left: 12px; bottom: calc(6px + env(safe-area-inset-bottom, 0px)); padding: 4px 8px; font-size: 12px; }
  .music { top: 12px; left: 12px; right: 12px; width: auto; padding-left: 10px; }
  .show-ui { top: 12px; left: 12px; }
  /* mode sembunyikan: bar musik ke kanan supaya nggak nabrak tombol "Tampilkan" */
  body.ui-hidden .music { left: auto; width: 240px; }
  body.pip-on .music { right: calc(12px + min(40vw, 168px) + 8px); }
  body.pip-on .music .mbtn#musicMore, body.pip-on .music .eq { display: none; }
  /* di POV panel tertutup nempel di bawah; bar musik di atasnya (--panel-space diisi app.js) */
  body.pov .music { top: auto; bottom: calc(var(--panel-space, 110px) + 8px); left: auto; right: 12px; width: 240px; }
  .music-title { font-size: 15px; margin-left: 6px; }
  .mbtn { width: 32px; height: 32px; }
  .sawer-nudge { margin-top: 8px; gap: 8px; padding: 6px 4px 6px 8px; }
  .sawer-nudge p { font-size: 12px; }
}
/* HP sempit: label pojok cukup "♥" biar nggak kepotong */
@media (max-width: 380px) {
  .sim-sawer-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .music.playing .eq i { animation: none; height: 70%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}

/* 20 Okt 2026: pop up ucapan terima kasih (#thxPop, app.js showThx), sama dengan situs BTS/BIGBANG luar negeri
   (D:\bts sg 3d): kartu di tengah, sekeliling diburamkan & nggak bisa diklik, tanpa tombol tutup, sisa detik di cincin
   pojok kanan atas + bar bawah (digerakkan app.js). Layar mini = jumlah pengunjung situs ini, angkanya naik dari 0 */
.sup-pop {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 8, 16, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  touch-action: none;
  animation: thx-fade 320ms ease-out;
  transition: opacity 240ms ease;
}
.sup-pop[hidden] { display: none; }
.sup-pop.out { opacity: 0; }
@keyframes thx-fade { from { opacity: 0; } to { opacity: 1; } }
.sup-pop-card {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px 22px 26px;
  text-align: center;
  touch-action: pan-y;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(150, 90, 255, 0.26), transparent 62%),
    radial-gradient(100% 45% at 50% 100%, rgba(255, 150, 60, 0.12), transparent 70%),
    #0E1426;
  border: 1px solid rgba(196, 160, 255, 0.38);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  animation: sup-pop-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sup-pop-card:focus { outline: none; }
@keyframes sup-pop-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.sup-time { position: absolute; top: 24px; right: 28px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(10, 6, 24, 0.72); }
.sup-time svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sup-time circle { fill: none; stroke-width: 3; }
.thx-ring-bg { stroke: rgba(255, 255, 255, 0.18); }
.thx-ring { stroke: #FFB24A; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.sup-time b { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
/* layar mini = tiruan layar LED panggung */
.sp-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 16 / 7;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(110deg, #1A0B33 0%, #3A1670 30%, #6A2CA8 50%, #3A1670 70%, #1A0B33 100%);
  background-size: 240% 100%;
  box-shadow: 0 0 0 1px rgba(233, 216, 255, 0.16), 0 14px 40px -14px rgba(150, 90, 255, 0.8);
  animation: sp-pulse 4.5s ease-in-out infinite alternate;
}
/* kelip bintang kecil, lalu kisi LED */
.sp-screen::before,
.sp-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sp-screen::before {
  background-image:
    radial-gradient(1.5px 1.5px at 9% 24%, #fff, transparent), radial-gradient(1.5px 1.5px at 22% 78%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 36% 14%, #fff, transparent), radial-gradient(1.5px 1.5px at 63% 86%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 18%, #fff, transparent), radial-gradient(1.5px 1.5px at 91% 64%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 5% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 50% 8%, #fff, transparent);
  opacity: 0.55;
  animation: sp-twinkle 1.8s ease-in-out infinite alternate;
}
.sp-screen::after {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
}
@keyframes sp-pulse { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes sp-twinkle { from { opacity: 0.25; } to { opacity: 0.75; } }
.sp-thanks {
  position: relative;
  padding-left: 0.42em;
  color: #E9D8FF;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.42em;
  line-height: 1;
}
.thx-n {
  position: relative;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 68px;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(190, 140, 255, 0.95), 0 0 3px rgba(255, 255, 255, 0.6);
}
.sp-sub {
  position: relative;
  color: #D9C2FF;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}
.sp-eyebrow { margin: 0 0 6px; color: #CDB8FF; font-size: 16px; font-weight: 700; line-height: 1.35; }
.sup-pop-card h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.02;
  text-wrap: balance;
}
.sp-lead { margin: 0 auto 10px; max-width: 36ch; color: #D8DEEB; font-size: 16.5px; line-height: 1.45; }
.thx-ask { margin: 0 auto 16px; max-width: 40ch; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.sp-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 14px 14px 14px 16px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(#141A2E, #141A2E) padding-box,
    linear-gradient(115deg, #FFD25A, #FF9A3D 50%, #FF5E7A) border-box;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms ease, filter 160ms ease;
}
.sp-tip.main {
  background: linear-gradient(115deg, #FFD25A, #FF9A3D) padding-box, linear-gradient(115deg, #FFD25A, #FF9A3D) border-box;
  color: #1A1206;
}
.sp-tip-t { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
.sp-tip strong { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.05; white-space: nowrap; }
.sp-tip-t span { color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.sp-tip.main .sp-tip-t span { color: rgba(26, 18, 6, 0.72); }
.sp-tip svg { flex-shrink: 0; }
.sp-tip:focus-visible { outline: 2px solid #FFC861; outline-offset: 2px; }
.sp-tip:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .sp-tip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(255, 140, 60, 0.75); }
  .sp-tip.main:hover { filter: brightness(1.06); }
}
.sp-fine { margin: 12px 0 0; color: rgba(174, 182, 200, 0.75); font-size: 13px; line-height: 1.4; }
/* sisa waktu tampil */
.sup-pop-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 178, 64, 0.15); }
.sup-pop-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #FFD25A, #FF9A3D);
  transform-origin: left;
}
/* HP: tombol tip bertumpuk selebar kartu */
@media (max-width: 400px) {
  .sup-pop-card { padding: 14px 16px 22px; }
  .sup-pop-card h2 { font-size: 34px; }
  .sp-lead { font-size: 15.5px; }
  .sp-tips { grid-template-columns: 1fr; }
  .thx-n { font-size: 56px; }
  .thx-ask { font-size: 13.5px; margin-bottom: 14px; }
}
/* HP pendek: layar mini lebih pipih biar kartu muat tanpa digulir */
@media (max-height: 740px) {
  .thx-screen { aspect-ratio: 16 / 5.6; margin-bottom: 12px; }
  .thx-n { font-size: 52px; }
  .thx-pop h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .sup-pop, .sup-pop-card, .sp-screen, .sp-screen::before { animation: none; }
}
/* A7X: layar mini merah gelap (deathbat) */
.thx-pop.red .sup-pop-card {
  border-color: rgba(255, 120, 120, 0.34);
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(220, 30, 50, 0.22), transparent 62%),
    radial-gradient(100% 45% at 50% 100%, rgba(255, 150, 60, 0.1), transparent 70%),
    #0E1426;
}
.thx-pop.red .thx-screen {
  background: linear-gradient(110deg, #1C0306 0%, #520A12 30%, #9E1525 50%, #520A12 70%, #1C0306 100%);
  background-size: 240% 100%;
  box-shadow: 0 0 0 1px rgba(255, 190, 190, 0.16), 0 14px 40px -14px rgba(230, 40, 60, 0.75);
}
.thx-pop.red .sp-thanks, .thx-pop.red .sp-sub { color: #FFD6D6; }
.thx-pop.red .thx-n { text-shadow: 0 0 24px rgba(255, 70, 80, 0.95), 0 0 3px rgba(255, 255, 255, 0.6); }
.thx-pop.red .sp-eyebrow { color: #FFB3B3; }

/* ---- tombol kategori 4 kolom + titik warna (dari situs LANY / BIGBANG JIS) ---- */
.cat-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}
[aria-pressed="true"] > .cat-dot { box-shadow: 0 0 0 1.5px var(--accent-ink); }
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.grid4 button {
  min-height: 42px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--field);
  font-size: 15px;
  font-weight: 700;
}
.grid4 button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
/* ---- dukungan BagiBagi selalu ada: pil di bawah bar lagu & di mode sembunyikan (dari situs Ye GBK) ---- */
.sawer-pill.music-sup { display: flex; justify-content: center; margin: 4px 7px 3px 0; padding: 5px 10px; }
.sawer-pill.music-sup[hidden] { display: none; }
.sawer-pill.show-sup {
  position: fixed;
  top: 60px;
  left: 16px;
  z-index: 9;
  display: none;
  min-height: 32px;
  padding: 4px 12px 4px 10px;
  background: rgba(10, 15, 30, 0.85);
}
body.ui-hidden:not(.music-open) .sawer-pill.show-sup:not([hidden]) { display: inline-flex; }
.sawer-pill.show-sup:hover { background: rgba(48, 34, 16, 0.92); }
.pov-hud .sawer-nudge { margin-top: 8px; }
/* ---- daftar supporter BagiBagi di bawah bar lagu + pop up "Support us to stay on!" (dari situs Ye GBK) ---- */
.supporters {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% + 8px);
  padding: 8px 6px 6px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.supporters[hidden] { display: none; }
.sup-head { margin: 0 0 3px 2px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.sup-list { list-style: none; margin: 0; padding: 0; max-height: 128px; overflow-y: auto; }
.sup-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; padding: 3px 4px; border-radius: 6px; font-size: 13px; line-height: 1.35; }
.sup-list .rk { width: 18px; flex-shrink: 0; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.sup-list .nm { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text); }
.sup-list li:first-child .nm { font-weight: 700; }
.sup-list .am { flex-shrink: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
/* pesan terbaru supporter (BagiBagi): baris sendiri di bawah nama, sejajar nama */
.sup-list .ms { flex-basis: 100%; padding-left: 24px; font-size: 12px; font-style: italic; color: var(--muted); overflow-wrap: anywhere; }
.sup-pop-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}
.sup-pop-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.sp-name {
  position: relative;
  max-width: 88%;
  overflow: hidden;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 0 18px rgba(190, 140, 255, 0.95), 0 0 3px rgba(255, 255, 255, 0.5);
  transition: opacity 240ms ease, transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sp-name.swap { opacity: 0; transform: translateY(5px); }
/* "Your name" = tempat namamu: kursor ketik berkedip */
.sp-name.you::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.8em;
  margin-left: 4px;
  vertical-align: -0.04em;
  background: #fff;
  box-shadow: 0 0 8px rgba(190, 140, 255, 0.95);
  animation: sp-caret 1s steps(1) infinite;
}
@keyframes sp-caret { 50% { opacity: 0; } }
.sp-tips.one { grid-template-columns: 1fr; }
.sp-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
  text-align: left;
}
.sp-proof[hidden] { display: none; }
.sp-proof b { color: var(--text); font-weight: 700; }

/* 23 Okt 2026: gerbang Tiket Simulator (#tkGate, app.js tiketShow), salinan gerbang situs BTS Jakarta (D:ts 3d, versi tiket
   fisik premium) dengan warna tur soft: kartu hitam bersorot biru, tiket biru malam -> biru merak (LED batik merak) -> pink
   lembut (pastel tur), judul "soft" foil mutiara-rose, tombol beli mutiara pink. Lapisan cahaya di atas tiket: .tk-foil
   (pelangi hologram), .tk-glare (pantulan lampu), .tk-sheen (kilau lewat tiap ±5 dtk). Miring 3D & posisi cahaya dari app.js
   (tiketTiltFrame: --rx --ry derajat, --mx --my persen, --px --py -1..1). Isi kartu masuk bergiliran (tk-rise).
   .scan = sinar pindai, .ok = cap TIKET VALID, .bad = tiket goyang. Bisa ditutup (×, Esc, klik di luar kartu) */
.tk-wrap {
  --tk-ease: cubic-bezier(0.23, 1, 0.32, 1);
  position: fixed;
  inset: 0;
  z-index: 22;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 5, 10, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  animation: tk-fade 240ms ease-out;
  transition: opacity 200ms ease;
}
.tk-wrap[hidden] { display: none; }
.tk-wrap.out { opacity: 0; }
@keyframes tk-fade { from { opacity: 0; } }
.tk-card {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px 24px 18px;
  color: var(--text);
  text-align: left;
  background:
    radial-gradient(75% 30% at 50% -2%, rgba(70, 140, 255, 0.3), transparent 74%),
    radial-gradient(60% 24% at 50% 102%, rgba(240, 150, 190, 0.14), transparent 74%),
    #0A0B12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 80px rgba(0, 0, 0, 0.65);
  animation: tk-in 380ms var(--tk-ease);
}
.tk-card:focus { outline: none; }
@keyframes tk-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
/* 2 sorot lampu panggung dari atas, memudar ke bawah */
.tk-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% -6%, transparent 0deg 13deg, rgba(215, 232, 255, 0.07) 18deg, transparent 24deg 336deg, rgba(215, 232, 255, 0.07) 342deg, transparent 347deg);
  -webkit-mask: linear-gradient(#000, transparent 85%);
  mask: linear-gradient(#000, transparent 85%);
}
/* butiran halus biar warnanya nggak rata kayak gambar komputer */
.tk-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tk-card > :not(.tk-x) { position: relative; z-index: 1; animation: tk-rise 460ms var(--tk-ease) both; }
.tk-card > :nth-child(3) { animation-delay: 50ms; }
.tk-card > :nth-child(4) { animation-delay: 90ms; }
.tk-card > :nth-child(5) { animation-delay: 120ms; }
.tk-card > :nth-child(n+6) { animation-delay: 150ms; }
@keyframes tk-rise { from { opacity: 0; transform: translateY(10px); } }
.tk-x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 241, 247, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--tk-ease);
}
.tk-x:active { transform: scale(0.94); }
.tk-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .tk-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); }
}

/* ---- tiket */
.tk-tix {
  margin: 32px 0 30px;   /* atas 32: tiket mulai di bawah tombol × */
  perspective: 1000px;
  touch-action: pan-y;   /* geser jari ke samping di atas tiket = miringin tiket, ke atas-bawah tetap gulir */
  filter: drop-shadow(0 18px 26px rgba(40, 110, 220, 0.34)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
.tk-floor {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -20px;
  z-index: -1;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(80, 150, 255, 0.5), transparent);
  filter: blur(6px);
}
.tk-ticket {
  --stub: 112px;
  --notch: 12px;
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  --px: 0;
  --py: 0;
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 16px;
  color: #F2F6FF;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  background:
    repeating-radial-gradient(circle at 16% 135%, transparent 0 6px, rgba(200, 222, 255, 0.06) 6px 7px),
    repeating-radial-gradient(circle at 92% -40%, transparent 0 9px, rgba(200, 222, 255, 0.04) 9px 10px),
    linear-gradient(125deg, #060A1A 0%, #0E2350 36%, #1F5AA8 68%, #CC7AA0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  -webkit-mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
}
.tk-card.bad .tk-ticket { animation: tk-shake 360ms ease; }
@keyframes tk-shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.tk-main { flex: 1 1 auto; min-width: 0; display: grid; align-content: center; gap: 3px; padding: 16px 14px 15px 20px; }
.tk-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(228, 238, 255, 0.72);
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tk-no { color: rgba(228, 238, 255, 0.42); letter-spacing: 0.08em; }
.tk-name {
  margin: 4px 0 1px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 54px;
  line-height: 0.86;
  letter-spacing: 0.03em;
  color: transparent;
  background: linear-gradient(100deg, #B9849B 0%, #FFE6F0 22%, #DDA3BC 40%, #FFF8FB 52%, #C98FA8 68%, #F6CFE0 86%, #A97790 100%);
  background-size: 240% 100%;
  background-position: var(--mx) 0;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.4));
}
.tk-sub { color: #EAF1FF; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.tk-meta { display: flex; gap: 18px; margin: 8px 0 1px; }
.tk-meta div { display: grid; }
.tk-meta dt { color: rgba(228, 238, 255, 0.55); font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.tk-meta dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.05; }
.tk-venue { margin-top: 2px; color: rgba(228, 238, 255, 0.6); font-size: 11.5px; line-height: 1.3; }
.tk-stub {
  flex: 0 0 var(--stub);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 8px;
  border-left: 2px dashed rgba(255, 255, 255, 0.32);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.32));
}
.tk-admit { color: rgba(228, 238, 255, 0.75); font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
/* stiker hologram: warna pelangi muter ikut arah miring tiket */
.tk-seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(from calc(var(--px) * 120deg + 20deg), #FF9CC0, #FFD978, #A6FFC4, #86E4FF, #BDA4FF, #FF9CC0);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.tk-seal::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.tk-seal b { position: relative; color: rgba(40, 12, 46, 0.85); font-family: var(--display); font-weight: 800; font-size: 16px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55); }
/* harga sengaja nggak ditulis di tiket (cukup di Lynk.id); sobekan tiket bilang ALL ACCESS */
.tk-pass-l { color: #F6F8FF; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 0.95; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }
.tk-code {
  width: 78px;
  height: 20px;
  opacity: 0.85;
  background: repeating-linear-gradient(90deg, #F2F6FF 0 2px, transparent 2px 4px, #F2F6FF 4px 5px, transparent 5px 8px,
    #F2F6FF 8px 11px, transparent 11px 12px, #F2F6FF 12px 13px, transparent 13px 16px);
}
/* lapisan cahaya */
.tk-foil, .tk-glare, .tk-sheen { position: absolute; inset: 0; pointer-events: none; }
.tk-foil {
  opacity: 0.2;
  mix-blend-mode: color-dodge;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 120, 170, 0.6) 32%, rgba(255, 230, 140, 0.6) 41%, rgba(120, 255, 200, 0.55) 50%, rgba(120, 200, 255, 0.6) 59%, rgba(190, 140, 255, 0.6) 68%, transparent 82%);
  background-size: 260% 260%;
  background-position: var(--mx) var(--my);
}
.tk-glare {
  mix-blend-mode: overlay;
  background: radial-gradient(farthest-corner circle at var(--mx) var(--my), rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.12) 26%, transparent 56%);
}
.tk-sheen { overflow: hidden; }
.tk-sheen::before {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55) 50%, transparent);
  mix-blend-mode: overlay;
  transform: translateX(-140%) skewX(-14deg);
  animation: tk-sheen 5.4s cubic-bezier(0.77, 0, 0.175, 1) 0.9s infinite;
}
@keyframes tk-sheen {
  0% { transform: translateX(-140%) skewX(-14deg); }
  24%, 100% { transform: translateX(460%) skewX(-14deg); }
}
.tk-laser {
  position: absolute;
  left: 0;
  right: 0;
  top: 4%;
  height: 2px;
  background: #FF7DB0;
  box-shadow: 0 0 12px 3px rgba(255, 125, 176, 0.85);
  opacity: 0;
  pointer-events: none;
}
.tk-card.scan .tk-laser { opacity: 1; animation: tk-scan 0.9s ease-in-out infinite alternate; }
@keyframes tk-scan { from { top: 4%; } to { top: 94%; } }
.tk-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 4px 14px;
  border: 3px solid #5CF2A0;
  border-radius: 10px;
  background: rgba(6, 28, 18, 0.78);
  color: #5CF2A0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-8deg) scale(1.6);
  pointer-events: none;
}
.tk-card.ok .tk-stamp {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-8deg) scale(1);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.3, 1.4), opacity 160ms ease;
}


/* ---- penawaran */
.tk-card h2 {
  margin: 0 0 6px;
  color: #FFFFFF;
  font-family: var(--display);
  font-weight: 800;
  font-size: 31px;
  line-height: 1;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.tk-lead { margin: 0; color: #AEB6C8; font-size: 14.5px; line-height: 1.45; }
.tk-buy {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  color: #2A0F1C;
  text-decoration: none;
  background: linear-gradient(100deg, #E2A0BE 0%, #FFE3EE 30%, #F0B4CC 52%, #FFF2F7 66%, #DF9DBA 84%, #F7C9DB 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(120, 40, 80, 0.3), 0 12px 28px -12px rgba(240, 150, 190, 0.6);
  transition: transform 160ms var(--tk-ease), box-shadow 200ms ease, filter 160ms ease;
}
.tk-buy::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 26%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7) 50%, transparent);
  transform: translateX(-160%) skewX(-14deg);
  animation: tk-sheen 5.4s cubic-bezier(0.77, 0, 0.175, 1) 3.6s infinite;
  pointer-events: none;
}
.tk-buy-l { font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1; }
.tk-buy svg { flex: none; margin-left: auto; }
.tk-buy:active { transform: scale(0.97); }
.tk-buy:focus-visible { outline: 2px solid #FFB3D1; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .tk-buy:hover { filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(120, 40, 80, 0.3), 0 16px 34px -12px rgba(240, 150, 190, 0.75); }
}
.tk-buy-note { margin: 8px 0 0; color: #8F98AD; font-size: 12.5px; line-height: 1.4; }
/* harga 3 jam (24 Okt 2026, #tkFlash, app.js renderFlash): kotak emas berdenyut pelan di atas tombol beli, angka hitung
   mundur lebarnya tetap; sengaja tanpa kata promo / diskon */
.tk-flash {
  margin: 16px 0 0;
  padding: 11px 14px 10px;
  border: 1px solid rgba(255, 210, 90, 0.55);
  border-radius: 14px;
  background: linear-gradient(115deg, rgba(255, 210, 90, 0.16), rgba(255, 140, 60, 0.1));
  animation: tk-flash-glow 2.4s ease-in-out infinite;
}
.tk-flash[hidden] { display: none; }
@keyframes tk-flash-glow { 50% { box-shadow: 0 0 0 4px rgba(255, 210, 90, 0.12); } }
.tk-flash-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.tk-flash-p { color: #FFE08A; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.tk-flash-c { color: #FFD9A8; font-size: 13.5px; font-weight: 700; }
.tk-flash-c b { color: #FFFFFF; font-family: var(--display); font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.tk-flash-n { margin: 5px 0 0; color: #D8C9A8; font-size: 12.5px; line-height: 1.4; }
.tk-flash:not([hidden]) + .tk-buy { margin-top: 10px; }
@media (max-height: 700px) {
  .tk-flash { margin-top: 10px; padding: 8px 12px; }
  .tk-flash-p { font-size: 25px; }
  .tk-flash-n { display: none; }
}
/* selama kotak harga tampil (.tk-card.flash): layar <=860 px tinggi, kalimat pembuka & catatan kecil kotak disembunyikan
   biar kolom email tetap kelihatan tanpa digulir */
@media (max-height: 860px) {
  .tk-card.flash .tk-lead, .tk-card.flash .tk-flash-n { display: none; }
}
/* HP pendek (<=700 px) selama kotak harga tampil: tiket, surat terima kasih (Jakarta), judul & kotak harga dirapatkan;
   isi surat tetap utuh, cuma hurufnya sedikit lebih kecil */
@media (max-height: 700px) {
  .tk-card.flash .tk-tix { margin: 26px 0 12px; }
  .tk-card.flash .tk-note { margin-bottom: 10px; }
  .tk-card.flash .tk-note p { font-size: 12.5px; line-height: 1.4; }
  .tk-card.flash .tk-note .tk-note-h { font-size: 16.5px; }
  .tk-card.flash h2 { font-size: 22px; }
  .tk-card.flash .tk-flash { padding: 6px 12px; }
  .tk-card.flash .tk-flash-p { font-size: 22px; }
  .tk-card.flash .tk-form { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .tk-flash { animation: none; } }
/* promo hari ini (27 Okt 2026, pemilik situs: "kasih peringatan promo hari ini yang heboh", CONFIG.kilat.promo): label
   kuning berdenyut + harga biasa dicoret di kotak harga gerbang (.tk-flash.promo) & bar promo merah-oranye di header panel
   (#promoBar, gradasi bergerak, cahaya berdenyut, kilau lewat). Animasi mati kalau prefers-reduced-motion */
.tk-flash-row { justify-content: flex-start; }
.tk-flash-c { margin-left: auto; }
.tk-flash-was { color: #E9CDB8; font-size: 15px; opacity: 0.75; }
.tk-flash-tag { display: none; }
.tk-flash.promo {
  border-color: rgba(255, 150, 90, 0.8);
  background: linear-gradient(115deg, rgba(255, 70, 50, 0.26), rgba(255, 170, 40, 0.16));
  animation: promo-glow 1.6s ease-in-out infinite;
}
.tk-flash.promo .tk-flash-tag,
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #FFE14D;
  color: #3A0A00;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
  animation: promo-pop 1.2s ease-in-out infinite;
}
.tk-flash.promo .tk-flash-tag { margin: 0 0 6px; }
.promo-bar {
  position: relative;
  overflow: hidden;
  flex-basis: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  margin: 0;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(255, 170, 110, 0.75);
  border-radius: 14px;
  background: linear-gradient(110deg, #5A0B1A 0%, #A3122E 38%, #E2481C 72%, #F59E0B 100%);
  background-size: 220% 100%;
  color: #FFF4EC;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px -10px rgba(255, 90, 40, 0.8);
  animation: promo-bg 5s ease-in-out infinite alternate, promo-glow 1.6s ease-in-out infinite;
}
.promo-bar[hidden] { display: none; }
.promo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35) 50%, transparent);
  transform: translateX(-160%) skewX(-14deg);
  animation: promo-shine 3.2s cubic-bezier(0.77, 0, 0.175, 1) 1s infinite;
  pointer-events: none;
}
.promo-top { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.promo-time { color: #FFE3D2; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.promo-time b { color: #FFFFFF; font-family: var(--display); font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.promo-main { grid-column: 1; grid-row: 2; font-size: 14px; line-height: 1.3; }
.promo-main strong { color: #FFE14D; font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1; }
.promo-main s { opacity: 0.75; }
.promo-until { color: #FFD9C2; }
.promo-go {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFF4EC;
  color: #A3122E;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
}
.promo-bar:active { transform: scale(0.98); }
.promo-bar:focus-visible { outline: 2px solid #FFE14D; outline-offset: 2px; }
@keyframes promo-bg { to { background-position: 100% 0; } }
@keyframes promo-glow { 50% { box-shadow: 0 8px 26px -6px rgba(255, 110, 40, 0.95), 0 0 0 3px rgba(255, 200, 80, 0.2); } }
@keyframes promo-pop { 50% { transform: scale(1.07); } }
@keyframes promo-shine { 0% { transform: translateX(-160%) skewX(-14deg); } 30%, 100% { transform: translateX(460%) skewX(-14deg); } }
@media (max-height: 700px) {
  .tk-flash.promo .tk-flash-tag { margin-bottom: 3px; font-size: 12px; }
}
/* selama promo (.tk-card.flash.promo) baris label promo bikin kolom email turun: layar <=960 px tinggi, kalimat pembuka,
   DOOR/ROW/SEAT di tiket, catatan kecil kotak & catatan bayar disembunyikan; layar <=700 px di gerbang yang ada surat
   terima kasih (Jakarta) judulnya juga. Surat & kuota tetap utuh */
@media (max-height: 960px) {
  .tk-card.flash.promo .tk-lead, .tk-card.flash.promo .tk-meta, .tk-card.flash.promo .tk-flash-n, .tk-card.flash.promo .tk-buy-note { display: none; }
}
@media (max-height: 700px) {
  .tk-card.flash.promo:has(.tk-note) h2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-bar, .promo-tag, .tk-flash.promo, .tk-flash.promo .tk-flash-tag { animation: none; }
  .promo-bar::after { display: none; }
}
/* kuota pengguna (26 Okt 2026, #tkKuota): di atas tombol beli, tetap tampil di layar pendek. Penuh (.tk-full) = merah,
   tombol beli, kotak harga & catatan bayar hilang; kolom email tetap */
.tk-kuota {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 200, 97, 0.4);
  border-radius: 12px;
  background: rgba(255, 200, 97, 0.08);
  color: #F2DDB6;
  font-size: 13px;
  line-height: 1.4;
}
.tk-kuota svg { flex: none; margin-top: 1px; color: #FFC861; }
.tk-kuota strong { color: #FFE2B0; }
.tk-card.tk-full .tk-kuota { border-color: rgba(255, 120, 120, 0.5); background: rgba(255, 90, 90, 0.12); color: #FFD0D0; }
.tk-card.tk-full .tk-kuota svg, .tk-card.tk-full .tk-kuota strong { color: #FFB3B3; }
.tk-card.tk-full .tk-buy, .tk-card.tk-full .tk-flash, .tk-card.tk-full .tk-buy-note { display: none !important; }

/* ---- sudah punya tiket */
.tk-form { margin: 22px 0 0; }
.tk-form label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: #8F98AD;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tk-form label::before, .tk-form label::after { content: ''; flex: 1 1 auto; height: 1px; background: rgba(255, 255, 255, 0.1); }
.tk-row { display: flex; gap: 8px; }
.tk-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.tk-row input::placeholder { color: #737C91; }
.tk-row input:focus { outline: none; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.07); }
.tk-row button {
  flex-shrink: 0;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #F2F3F7;
  color: #111214;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  cursor: pointer;
  transition: transform 160ms var(--tk-ease), background-color 150ms ease;
}
.tk-row button:active { transform: scale(0.97); }
.tk-row button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tk-row button:disabled { opacity: 0.6; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .tk-row button:hover { background: #FFFFFF; }
}
.tk-msg { min-height: 1.4em; margin: 8px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.tk-msg.err { color: var(--danger); }
.tk-msg.ok { color: #5CF2A0; font-weight: 700; }
.tk-fine { margin: 2px 0 0; color: rgba(174, 182, 200, 0.6); font-size: 12px; line-height: 1.45; }
/* sisa POV gratis di HUD POV */
.tk-trial { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; }
.tk-trial[hidden] { display: none; }
.tk-trial-t { padding: 4px 10px; border-radius: 999px; background: rgba(240, 150, 190, 0.16); color: #FFC2DA; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.tk-trial-t b { font-variant-numeric: tabular-nums; }
.tk-trial.low .tk-trial-t { background: rgba(255, 94, 122, 0.18); color: #FF8DA1; }
.tk-trial button {
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(115deg, #FFE3EE, #F0B0CB);
  color: #2A0F1C;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.2;
  cursor: pointer;
}
.tk-trial button:focus-visible { outline: 2px solid #FFB3D1; outline-offset: 2px; }
/* tanpa tiket (body.tk-locked, app.js tiketSync): gembok di tombol yang membuka POV, pratinjau POV kecil (#pip.locked)
   nggak dirender & diganti kartu ajakan pakai tiket (sama dengan bts-3d: tanpa preview gratis) */
body.tk-locked .povgo::before,
body.tk-locked .views [data-view="pov"]::before,
body.tk-locked .views [data-view="stage"]::before,
.pip-lock strong::before {
  content: '';
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.35em;
  vertical-align: -0.08em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 0 1 6 0v3z'/%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 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 0 1 6 0v3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* pemegang tiket (body.tk-pass, app.js tiketSync): sudah bayar, jadi nggak disodorin donasi lagi (sama dengan bts-3d): kartu
   Support di panel, ajakan BagiBagi di HUD POV & pil Support di bar musik (pil kecil di header tetap, seperti bts-3d).
   Daftar supporter & nama supporter di layar panggung tetap */
body.tk-pass .sawer,
body.tk-pass #sawerNudge,
body.tk-pass .music-sup { display: none !important; }
.pip-lock { display: none; }
.pip.locked {
  border-color: rgba(150, 190, 255, 0.45);
  background: linear-gradient(118deg, #0B1838 0%, #1D4E96 55%, #C9729A 100%);
}
.pip.locked .pip-open { align-items: center; justify-content: center; cursor: pointer; }
.pip.locked .pip-tag, .pip.locked .pip-where { display: none; }
.pip.locked .pip-lock { display: grid; justify-items: center; gap: 8px; padding: 0 16px; color: #fff; text-align: center; }
.pip-lock strong { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; }
.pip-lock > span {
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(115deg, #FFE3EE, #F0B0CB);
  color: #2A0F1C;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}
.pip.locked .pip-open:hover .pip-lock > span { filter: brightness(1.06); }
/* HP: pratinjau cuma ±150–168 x 100 & tombol × di pojok kanan atas (sampai y ±38) -> isi dikecilkan, 1 baris masing-
   masing, & ditaruh di bawah tombol × */
@media (max-width: 720px) {
  .pip.locked .pip-open { align-items: flex-end; padding-bottom: 10px; }
  .pip.locked .pip-lock { gap: 5px; padding: 0 6px; }
  .pip-lock strong { font-size: 14px; white-space: nowrap; }
  .pip-lock > span { padding: 3px 9px; font-size: 12.5px; white-space: nowrap; }
}
/* HP sempit: tiket & huruf dikecilkan, tetap proporsional */
@media (max-width: 400px) {
  .tk-card { padding: 18px 18px 16px; }
  .tk-ticket { --stub: 94px; --notch: 11px; }
  .tk-main { padding: 14px 10px 13px 16px; }
  .tk-top { font-size: 11px; letter-spacing: 0.12em; }
  .tk-name { font-size: 46px; }
  .tk-sub { font-size: 12.5px; }
  .tk-meta { gap: 12px; }
  .tk-meta dd { font-size: 15.5px; }
  .tk-seal { width: 44px; height: 44px; }
  .tk-seal b { font-size: 14px; }
  .tk-pass-l { font-size: 16px; }
  .tk-code { width: 64px; }
  .tk-stamp { font-size: 25px; }
  .tk-card h2 { font-size: 27px; }
  .tk-lead { font-size: 14px; }
  .tk-buy-l { font-size: 21px; }
}
/* layar nggak terlalu tinggi (laptop 800 px, kebanyakan HP): baris DOOR/ROW/SEAT disembunyikan biar kolom email kelihatan
   tanpa digulir; layar pendek (HP 640 px): keterangan & catatan kecil juga */
@media (max-height: 860px) {
  .tk-meta { display: none; }
  .tk-tix { margin: 32px 0 24px; }
  .tk-form { margin-top: 18px; }
}
@media (max-height: 700px) {
  .tk-tix { margin: 30px 0 18px; }
  .tk-venue, .tk-lead, .tk-buy-note, .tk-fine { display: none; }
  .tk-card h2 { font-size: 25px; }
  .tk-kuota { margin-top: 10px; padding: 7px 10px; font-size: 12.5px; }
  .tk-buy { margin-top: 12px; padding: 12px 16px; }
  .tk-form { margin-top: 16px; }
}
/* HP 360 px */
@media (max-width: 370px) {
  .tk-name { font-size: 42px; }
  .tk-no, .tk-city { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-wrap, .tk-card, .tk-card > :not(.tk-x), .tk-card.bad .tk-ticket, .tk-sheen::before, .tk-buy::after { animation: none; }
  .tk-sheen, .tk-buy::after { display: none; }
  .tk-card.scan .tk-laser { animation: none; top: 50%; }
}

/* tombol pesan melayang di HUD POV (#skySeg, 26 Okt 2026): 2 tombol di kotak masing-masing (nyala/mati & tulis), selalu
   berdampingan (pindah baris bareng) */
.sky-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; }
.sky-seg[hidden] { display: none; }
.sky-ico { flex: none; margin-right: 6px; vertical-align: -3px; }
/* pesan melayang (#skyDlg, salinan situs The Weeknd KL): tulis pesanmu + pesan terbaru dengan tombol lapor */
.sky-card {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.sky-card h2 { padding-right: 32px; }
.sky-lead { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.sky-form textarea {
  display: block;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  resize: none;
}
.sky-form textarea::placeholder { color: #5E6780; }
.sky-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.sky-as strong { color: #FFB3D3; }
.sky-count { flex: none; font-variant-numeric: tabular-nums; }
.sky-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.sky-btns .ghost { min-height: 44px; }
.sky-btns .primary { width: auto; min-height: 44px; margin: 0; padding: 0 22px; font-size: 19px; }
.sky-btns .primary:disabled { opacity: 0.6; cursor: default; }
.sky-card .names-msg { margin: 10px 0 0; }
.sky-card .names-title { margin-top: 16px; }
.sky-list li { grid-template-columns: minmax(0, 1fr) auto; padding: 4px 0; }
.sky-li-text { font-size: 14.5px; line-height: 1.35; overflow-wrap: anywhere; }
.sky-li-text em { display: block; font-style: normal; color: #FFB3D3; font-size: 12.5px; }
.sky-li-text em.you { color: var(--muted); }

/* pindah sisi / box sebelah di kartu info (kursi tribun, GA, VIP BOX) */
.box-nav { display: flex; width: 100%; margin: 10px 0 2px; }
.box-nav button { flex: 1 1 0; color: var(--text); font-weight: 600; }
.box-nav button:hover { background: var(--line); }
