:root{
  --bg:#121026; --bg-alt:#1a1730; --surface:#221d3f; --surface-2:#2a2450;
  --gold:#f4b93f; --gold-dim:#8a6b28; --urgent:#ff5c4d; --urgent-dim:#5c2620;
  --muted:#9089b3; --cream:#f6f1e4; --line:rgba(246,241,228,0.14); --ok:#59c98e;
}
*{box-sizing:border-box;}
body{
  margin:0;
  background:
    radial-gradient(1200px 600px at 15% -10%, #2a2454 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 0%, #331f45 0%, transparent 55%),
    var(--bg);
  color:var(--cream); font-family:'IBM Plex Sans', sans-serif; min-height:100vh;
}
.wrap{ max-width:920px; margin:0 auto; padding:28px 20px 80px; }
header{ text-align:center; padding:18px 0 30px; position:relative; }
.marquee-bulbs{ display:flex; justify-content:center; gap:9px; margin-bottom:14px; }
.marquee-bulbs span{
  width:7px; height:7px; border-radius:50%; background:var(--gold);
  box-shadow:0 0 8px 2px rgba(244,185,63,0.55); animation: blink 2.6s infinite ease-in-out;
}
.marquee-bulbs span:nth-child(odd){ animation-delay:1.3s; }
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:0.25;} }
h1{
  font-family:'Bebas Neue', sans-serif; font-size:clamp(40px, 8vw, 64px); letter-spacing:3px;
  margin:0; line-height:0.95; color:var(--cream); text-shadow: 0 0 26px rgba(244,185,63,0.25);
}
h1 em{ font-style:normal; color:var(--gold); }
.subhead{ color:var(--muted); font-size:14.5px; margin-top:10px; max-width:520px; margin-left:auto; margin-right:auto; line-height:1.5; }
.notify-banner{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  background:linear-gradient(135deg, rgba(244,185,63,0.14), rgba(255,92,77,0.08));
  border:1px solid var(--gold-dim); border-radius:12px; padding:14px 18px; margin-bottom:6px;
}
.notify-text{ display:flex; flex-direction:column; gap:3px; }
.notify-text b{ font-size:14px; color:var(--cream); }
.notify-text span{ font-size:12.5px; color:var(--muted); }
.notify-btn{
  background:var(--gold); color:#241a02; font-weight:700; font-size:13px; padding:9px 18px;
  border-radius:8px; border:none; cursor:pointer; white-space:nowrap; flex-shrink:0;
}
.notify-btn:hover{ background:#ffd06e; }
.controls{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:space-between; margin:26px 0 18px; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  background:var(--surface); border:1px solid var(--line); color:var(--muted);
  padding:7px 14px; border-radius:999px; font-size:13px; font-weight:600;
  cursor:pointer; transition:all .15s ease; user-select:none;
}
.chip:hover{ border-color:var(--gold-dim); color:var(--cream); }
.chip.active{ background:var(--gold); color:#241a02; border-color:var(--gold); }
.controls-right{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.genre-select{
  background:var(--surface); border:1px solid var(--line); color:var(--cream);
  padding:8px 10px; border-radius:8px; font-size:13px; font-family:inherit; cursor:pointer;
}
.btn-add{
  background:transparent; border:1.5px dashed var(--gold-dim); color:var(--gold);
  padding:8px 16px; border-radius:8px; font-size:13px; font-weight:700;
  cursor:pointer; font-family:inherit; letter-spacing:0.3px; transition:all .15s ease;
}
.btn-add:hover{ border-color:var(--gold); background:rgba(244,185,63,0.08); border-style:solid; }
.section-label{
  font-family:'Bebas Neue', sans-serif; letter-spacing:2px; font-size:20px;
  color:var(--muted); margin:34px 2px 12px; display:flex; align-items:center; gap:10px;
}
.section-label .dot{ width:9px; height:9px; border-radius:50%; }
.section-label.urgent-label{ color:var(--urgent); }
.section-label.urgent-label .dot{ background:var(--urgent); box-shadow:0 0 10px var(--urgent); }
.section-label.soon-label .dot{ background:var(--gold); box-shadow:0 0 10px var(--gold);}
.section-label.later-label .dot{ background:var(--muted); }
.section-label.past-label .dot{ background:#544e73; }
.ticket{
  display:flex; background:var(--surface); border-radius:12px; overflow:hidden;
  margin-bottom:14px; border:1px solid var(--line); position:relative;
}
.ticket.urgent{ border-color:rgba(255,92,77,0.45); box-shadow:0 0 0 1px rgba(255,92,77,0.12), 0 8px 24px -12px rgba(255,92,77,0.35); }
.ticket.past{ opacity:0.5; }
.t-main{ flex:1; padding:18px 20px; min-width:0; }
.t-type{ font-size:11px; letter-spacing:1.6px; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:6px; }
.t-title{ font-family:'Bebas Neue', sans-serif; font-size:24px; letter-spacing:0.5px; line-height:1.05; color:var(--cream); margin-bottom:8px; word-break:break-word; }
.t-meta{ color:var(--muted); font-size:13.5px; line-height:1.6; }
.t-meta b{ color:var(--cream); font-weight:600; }
.t-price{ margin-top:8px; font-size:13px; color:var(--muted); }
.t-price b{ color:var(--gold); }
.t-link{
  display:inline-block; margin-top:10px; font-size:12.5px; font-weight:700;
  color:var(--bg); background:var(--gold); padding:6px 13px; border-radius:6px;
  text-decoration:none; letter-spacing:0.3px;
}
.t-link:hover{ background:#ffd06e; }
.t-stub{
  width:180px; flex-shrink:0; padding:18px 16px; position:relative; background:var(--surface-2);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:8px; border-left:2px dashed var(--line);
}
.t-stub::before, .t-stub::after{
  content:''; position:absolute; left:-9px; width:18px; height:18px; border-radius:50%;
  background:var(--bg); box-shadow: inset 0 0 0 1px var(--line);
}
.t-stub::before{ top:-9px; }
.t-stub::after{ bottom:-9px; }
.status-badge{ font-size:10.5px; font-weight:700; letter-spacing:0.8px; text-transform:uppercase; padding:4px 9px; border-radius:5px; white-space:nowrap; }
.status-badge.onsale{ background:rgba(255,92,77,0.16); color:var(--urgent); }
.status-badge.presale{ background:rgba(244,185,63,0.16); color:var(--gold); }
.status-badge.announced{ background:rgba(144,137,179,0.18); color:var(--muted); }
.status-badge.past{ background:rgba(84,78,115,0.2); color:#8a84a6; }
.countdown{ font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--cream); }
.stub-date{ font-size:11px; color:var(--muted); line-height:1.4; }
.stub-actions{ display:flex; gap:6px; margin-top:4px; }
.icon-btn{
  background:transparent; border:1px solid var(--line); color:var(--muted);
  width:30px; height:30px; border-radius:7px; cursor:pointer; font-size:14px;
  display:flex; align-items:center; justify-content:center; transition:all .15s;
}
.icon-btn:hover{ border-color:var(--gold); color:var(--gold); }
.icon-btn.starred{ color:var(--gold); border-color:var(--gold-dim); }
.empty-note{ color:var(--muted); font-size:13.5px; padding:20px; text-align:center; border:1px dashed var(--line); border-radius:10px; }
.info-panel{ margin-top:44px; background:var(--bg-alt); border:1px solid var(--line); border-radius:12px; padding:20px 22px; }
.info-panel h2{ font-family:'Bebas Neue', sans-serif; font-size:20px; letter-spacing:1px; margin:0 0 10px; color:var(--gold); }
.info-panel p{ font-size:13.5px; color:var(--muted); line-height:1.65; margin:0 0 10px; }
.platform-links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.platform-links a{
  font-size:12px; color:var(--cream); background:var(--surface); padding:6px 11px;
  border-radius:999px; border:1px solid var(--line); text-decoration:none; font-weight:600;
}
.platform-links a:hover{ border-color:var(--gold-dim); }
.modal-overlay{ position:fixed; inset:0; background:rgba(8,6,20,0.72); display:none; align-items:center; justify-content:center; padding:20px; z-index:50; }
.modal-overlay.open{ display:flex; }
.modal{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:24px; width:100%; max-width:460px; max-height:88vh; overflow-y:auto; }
.modal h3{ font-family:'Bebas Neue', sans-serif; font-size:24px; letter-spacing:1px; margin:0 0 16px; color:var(--gold); }
.field{ margin-bottom:12px; }
.field label{ display:block; font-size:12px; color:var(--muted); margin-bottom:5px; font-weight:600; }
.field input, .field select, .field textarea{
  width:100%; background:var(--bg); border:1px solid var(--line); color:var(--cream);
  padding:9px 11px; border-radius:7px; font-family:inherit; font-size:13.5px;
}
.field input[type="checkbox"]{ width:auto; }
.field textarea{ resize:vertical; min-height:50px; }
.field-row{ display:flex; gap:10px; }
.field-row .field{ flex:1; }
.modal-actions{ display:flex; gap:10px; margin-top:18px; }
.btn-primary{ flex:1; background:var(--gold); color:#241a02; border:none; padding:11px; border-radius:8px; font-weight:700; font-size:13.5px; cursor:pointer; font-family:inherit; }
.btn-secondary{ background:transparent; border:1px solid var(--line); color:var(--muted); padding:11px 16px; border-radius:8px; font-size:13.5px; cursor:pointer; font-family:inherit; }
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--surface-2); border:1px solid var(--gold-dim); color:var(--cream);
  padding:11px 20px; border-radius:9px; font-size:13px; opacity:0; transition:all .25s ease;
  pointer-events:none; z-index:60;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
@media (max-width:520px){
  .ticket{ flex-direction:column; }
  .t-stub{ width:100%; flex-direction:row; justify-content:space-between; border-left:none; border-top:2px dashed var(--line); }
  .t-stub::before, .t-stub::after{ top:-9px; left:auto; }
  .t-stub::before{ left:16px; }
  .t-stub::after{ right:16px; left:auto; bottom:auto; }
}
