[hidden] { display: none !important; }
:root {
  --brand: #7a1f3d; --brand-d: #5c1530; --brand-l: #f6e9ee;
  --gold: #d99a1e; --gold-l: #fdf3df;
  --ink: #1d1a22; --muted: #6b6573; --line: #e6e1e8; --bg: #f7f5f3; --card: #fff;
  --ok: #1e7b4a; --ok-l: #e3f4ea; --bad: #b42318; --bad-l: #fdecea; --warn: #9a5b00; --warn-l: #fff4dc; --info: #1d4ed8; --info-l: #e8efff;
  --seat-free: #ffffff; --seat-vip: #fff3d6; --seat-acc: #e4f1ff;
  --r: 12px; --shadow: 0 1px 2px rgba(20, 10, 30, .06), 0 4px 16px rgba(20, 10, 30, .06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.5; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .right { text-align: right; } .center { text-align: center; }
.nowrap { white-space: nowrap; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main { flex: 1; padding: 24px 0 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Başlıq */
.topbar { background: linear-gradient(90deg, #2a0f1d, var(--brand)); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.topbar .container { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: .2px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--gold); color: #2a0f1d; display: grid; place-items: center; font-size: 1.1rem; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { color: #f3dfe7; padding: 8px 12px; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.top-search { position: relative; }
.top-search input { width: 200px; border-radius: 999px; border: 0; padding: 8px 14px; background: rgba(255,255,255,.15); color: #fff; }
.top-search input::placeholder { color: #e9cfd9; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 4px 8px; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #2a0f1d; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .top-search { display: none; }
  .topbar .container { justify-content: space-between; }
}

/* Düymələr və formalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; background: var(--brand); color: #fff; transition: .15s; text-decoration: none !important; line-height: 1.2; }
.btn:hover { background: var(--brand-d); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.gold { background: var(--gold); color: #2a0f1d; } .btn.gold:hover { background: #c4870f; }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--line); } .btn.ghost:hover { background: var(--brand-l); }
.btn.light { background: rgba(255,255,255,.14); color: #fff; } .btn.light:hover { background: rgba(255,255,255,.24); }
.btn.danger { background: var(--bad); } .btn.danger:hover { background: #8f1c13; }
.btn.ok { background: var(--ok); } .btn.ok:hover { background: #155c37; }
.btn.sm { padding: 6px 10px; font-size: .875rem; border-radius: 8px; }
.btn.lg { padding: 14px 22px; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.field { margin-bottom: 14px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 3px; }
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #d5cfd8; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .seat:focus-visible { outline: 3px solid rgba(217,154,30,.45); outline-offset: 1px; border-color: var(--gold); }
input[type=checkbox], input[type=radio] { width: auto; margin-right: 6px; }
textarea { min-height: 110px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
@media (max-width: 700px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; font-weight: 500; gap: 4px; }

/* Kartlar */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
.card.tight { padding: 14px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; border: 1px solid; }
.alert.warn { background: var(--warn-l); color: var(--warn); border-color: #f2d48f; }
.alert.bad { background: var(--bad-l); color: var(--bad); border-color: #f5b5ae; }
.alert.ok { background: var(--ok-l); color: var(--ok); border-color: #9fd8b6; }
.alert.info { background: var(--info-l); color: var(--info); border-color: #b8cbff; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #eee; color: #444; white-space: nowrap; }
.badge.teatr { background: var(--brand-l); color: var(--brand); } .badge.konsert { background: var(--info-l); color: var(--info); } .badge.diger { background: #efe9f7; color: #5b3c88; }
.badge.paid, .badge.succeeded, .badge.valid, .badge.sent, .badge.active, .badge.admitted { background: var(--ok-l); color: var(--ok); }
.badge.reserved, .badge.pending, .badge.initiated, .badge.test, .badge.refund_pending { background: var(--warn-l); color: var(--warn); }
.badge.cancelled, .badge.failed, .badge.denied, .badge.inactive { background: var(--bad-l); color: var(--bad); }
.badge.refunded { background: #ede9fe; color: #5b21b6; }

/* Hero və tədbir kartları */
.hero { background: radial-gradient(1200px 400px at 10% -10%, #a33a5f 0, transparent 60%), linear-gradient(120deg, #2a0f1d, #5c1530 60%, #7a1f3d); color: #fff; border-radius: 18px; padding: 40px 32px; margin-bottom: 24px; position: relative; overflow: hidden; }
.hero h1 { font-size: 2.1rem; margin-bottom: 8px; }
.hero p { color: #f1d9e2; max-width: 560px; margin: 0 0 20px; }
.hero form { display: flex; gap: 8px; max-width: 560px; }
.hero input { border: 0; padding: 14px 16px; border-radius: 12px; }
@media (max-width: 600px) { .hero { padding: 28px 20px; } .hero h1 { font-size: 1.6rem; } .hero form { flex-direction: column; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; cursor: pointer; font-size: .92rem; }
.chip.active, .chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.ev-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(40, 10, 30, .14); }
.ev-poster { aspect-ratio: 5 / 7; background: linear-gradient(135deg, #3b1527, #7a1f3d); position: relative; overflow: hidden; }
.ev-poster img { width: 100%; height: 100%; object-fit: cover; }
.ev-poster .badge { position: absolute; top: 10px; left: 10px; }
.ev-poster .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #f3d9a4; font-size: 1.4rem; font-weight: 800; padding: 16px; text-align: center; }
.ev-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ev-body h3 { margin: 0; font-size: 1.08rem; }
.ev-meta { color: var(--muted); font-size: .88rem; display: flex; flex-direction: column; gap: 1px; }
.ev-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.price { font-weight: 800; color: var(--brand); }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

/* Tədbir səhifəsi */
.ev-detail { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.ev-detail .ev-poster { border-radius: 14px; }
@media (max-width: 760px) { .ev-detail { grid-template-columns: 1fr; } .ev-detail .ev-poster { max-width: 280px; } }
.show-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.show-row:last-child { border-bottom: 0; }
.show-date { min-width: 70px; text-align: center; background: var(--brand-l); color: var(--brand); border-radius: 10px; padding: 6px 8px; font-weight: 800; line-height: 1.15; }
.show-date small { display: block; font-weight: 600; font-size: .75rem; }
.show-info { flex: 1; min-width: 180px; }

/* Oturacaq xəritəsi */
.booking { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } .booking .summary { position: sticky; bottom: 0; z-index: 10; box-shadow: 0 -6px 20px rgba(0,0,0,.12); margin-bottom: 0; } }
.summary { position: sticky; top: 80px; }
.booking > *, .grid2 > *, .ev-detail > * { min-width: 0; }
.map-tools { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.map-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fbfafc; padding: 18px 10px; max-height: 70vh; -webkit-overflow-scrolling: touch; }
.seatmap { display: inline-flex; flex-direction: column; align-items: center; gap: 18px; min-width: 100%; transform-origin: top center; }
.stage { width: min(560px, 90%); text-align: center; padding: 8px; border-radius: 0 0 60% 60% / 0 0 40px 40px; background: linear-gradient(#3b1527, #7a1f3d); color: #f6dba6; font-weight: 800; letter-spacing: 4px; font-size: .85rem; }
.section-title { font-weight: 800; color: var(--muted); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; text-align: center; margin-bottom: 6px; }
.seat-row { display: flex; align-items: center; gap: 4px; justify-content: center; margin-bottom: 4px; }
.row-label { width: 26px; text-align: center; font-size: .72rem; color: var(--muted); font-weight: 700; flex: none; }
.seat { width: 30px; height: 30px; flex: none; border-radius: 8px 8px 5px 5px; border: 1.5px solid #b9b1be; background: var(--seat-free); font: 700 .7rem/1 system-ui, sans-serif; color: #4a4450; cursor: pointer; position: relative; padding: 0; display: grid; place-items: center; }
.seat.cat-vip { background: var(--seat-vip); border-color: var(--gold); }
.seat.cat-accessible { background: var(--seat-acc); border-color: #5b8def; }
.seat.cat-vip::before { content: "★"; position: absolute; top: -7px; right: -5px; font-size: .62rem; color: var(--gold); }
.seat.cat-accessible::before { content: "♿"; position: absolute; top: -8px; right: -6px; font-size: .62rem; }
.seat:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.seat.st-selected, .seat.st-mine { background: var(--brand); border-color: var(--brand-d); color: #fff; }
.seat.st-selected::after, .seat.st-mine::after { content: "✓"; position: absolute; bottom: -6px; right: -4px; background: var(--ok); color: #fff; border-radius: 50%; width: 13px; height: 13px; font-size: .55rem; display: grid; place-items: center; }
.seat.st-sold { background: #d9d4dc; border-color: #c4bdc8; color: #8d8593; cursor: not-allowed; }
.seat.st-sold::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; color: #6d6573; font-size: .95rem; background: rgba(217,212,220,.6); border-radius: inherit; }
.seat.st-held { background: repeating-linear-gradient(45deg, #fde9c3, #fde9c3 4px, #fff6e3 4px, #fff6e3 8px); border-color: #e3b45a; color: #9a6a12; cursor: not-allowed; }
.seat.st-held::after { content: "⏳"; position: absolute; bottom: -7px; right: -6px; font-size: .6rem; }
.seat.st-unavailable { opacity: .35; cursor: not-allowed; }
.seat.st-removed { background: transparent; border-style: dashed; color: #bbb; opacity: .6; }
.seat.edit-sel { outline: 3px solid var(--info); outline-offset: 1px; }
.seat-gap { width: 30px; flex: none; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .seat { width: 20px; height: 20px; cursor: default; font-size: .55rem; }
.sel-list { list-style: none; padding: 0; margin: 0 0 12px; max-height: 220px; overflow: auto; }
.sel-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.total-row { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 800; margin: 10px 0 14px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; }

/* Cədvəllər */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; background: #faf8fb; }
tr:hover td { background: #fcfbfd; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin-bottom: 14px; }
.toolbar .field { margin: 0; min-width: 150px; }
.toolbar input, .toolbar select { padding: 8px 10px; }
.pager { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 14px; }

/* İşçi paneli */
.staff-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
.sidebar { background: #20121a; color: #e8d6de; padding: 16px 10px; }
.sidebar a { display: flex; gap: 10px; align-items: center; color: #e8d6de; padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: .94rem; }
.sidebar a:hover, .sidebar a.active { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.sidebar .sec { font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; color: #a98d9a; margin: 14px 12px 4px; }
.staff-main { padding: 24px; min-width: 0; }
@media (max-width: 900px) {
  .staff-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; } .sidebar.open { display: block; }
  .staff-main { padding: 16px 12px; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 16px; }
.stat .v { font-size: 1.55rem; font-weight: 800; }
.stat .l { color: var(--muted); font-size: .84rem; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { margin: 0; }

/* Yoxlama ekranı */
.scan-result { border-radius: 16px; padding: 26px; text-align: center; color: #fff; margin: 14px 0; }
.scan-result.ok { background: var(--ok); } .scan-result.bad { background: var(--bad); }
.scan-result .big { font-size: 2.2rem; font-weight: 900; }
.scan-video { width: 100%; max-width: 480px; border-radius: 12px; background: #000; aspect-ratio: 4/3; object-fit: cover; }

/* Bilet */
.ticket { background: #fff; border-radius: 16px; box-shadow: var(--shadow); display: grid; grid-template-columns: 150px 1fr 240px; overflow: hidden; max-width: 860px; margin: 0 auto 18px; break-inside: avoid; page-break-inside: avoid; }
.ticket .t-poster { background: #3b1527; } .ticket .t-poster img { height: 100%; object-fit: cover; }
.ticket .t-main { padding: 18px 20px; border-right: 2px dashed var(--line); }
.ticket .t-qr { padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.t-grid { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 18px; margin-top: 10px; }
.t-grid div small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; }
.t-grid div b { font-size: 1.05rem; }
.ticket.void { opacity: .55; }
@media (max-width: 700px) { .ticket { grid-template-columns: 1fr; } .ticket .t-poster { display: none; } .ticket .t-main { border-right: 0; border-bottom: 2px dashed var(--line); } }
.receipt { font-family: ui-monospace, Menlo, Consolas, monospace; max-width: 340px; margin: 0 auto; background: #fff; padding: 16px; border: 1px dashed #999; font-size: .85rem; }

/* Modal və bildiriş */
.modal-back { position: fixed; inset: 0; background: rgba(20,10,20,.5); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { background: #fff; border-radius: 16px; max-width: 640px; width: 100%; max-height: 90vh; overflow: auto; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h2 { margin-top: 0; }
.toasts { position: fixed; bottom: 18px; right: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: calc(100vw - 36px); }
.toast { background: #222; color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 380px; }
.toast.bad { background: var(--bad); } .toast.ok { background: var(--ok); }
.testbar { background: repeating-linear-gradient(45deg, #fff4dc, #fff4dc 12px, #ffe9b8 12px, #ffe9b8 24px); color: #6b4000; text-align: center; font-weight: 700; font-size: .85rem; padding: 6px 12px; }
footer { background: #1c1117; color: #bfaab4; padding: 24px 0; font-size: .88rem; }
footer .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.loading { padding: 40px; text-align: center; color: var(--muted); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dh { font-weight: 700; color: var(--muted); font-size: .8rem; text-align: center; }
.cal .day { background: #fff; border-radius: 10px; min-height: 96px; padding: 6px; box-shadow: var(--shadow); font-size: .8rem; }
.cal .day.out { background: transparent; box-shadow: none; }
.cal .day .n { font-weight: 800; color: var(--muted); }
.cal .day.today .n { color: var(--brand); }
.cal .day a { display: block; background: var(--brand-l); border-radius: 6px; padding: 2px 5px; margin-top: 3px; color: var(--brand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .cal { display: none; } }
.cal-list { display: none; } @media (max-width: 760px) { .cal-list { display: block; } }
.chart { width: 100%; height: auto; max-height: 280px; }
.poster-prev { width: 120px; aspect-ratio: 5/7; object-fit: cover; border-radius: 8px; background: #eee; }

@media print {
  .topbar, footer, .sidebar, .no-print, .toasts, .testbar { display: none !important; }
  body, main { background: #fff; padding: 0; }
  .staff-layout { display: block; } .staff-main { padding: 0; }
  .ticket { box-shadow: none; border: 1px solid #999; margin-bottom: 12mm; }
  .container { max-width: none; padding: 0; }
}

/* =====================================================================
   1.1.0 — "Səhnə" mövzusu: məxmər pərdə tonları, səhnə işığı kəhrəbası,
   afişa üslubunda dar başlıqlar. İctimai səhifələrdə body.dark aktivdir;
   işçi paneli açıq mövzuda qalır.
   ===================================================================== */
:root {
  --display: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
body { font-family: var(--text); }
h1, h2, .hero-title, .ev-card h3, .page-head h1 { font-family: var(--display); font-stretch: semi-condensed; letter-spacing: -0.01em; }

body.dark {
  --velvet: #1a0f1f; --velvet-2: #241429; --velvet-3: #321d38;
  --curtain: #b3203f; --amber: #f2b544; --amber-d: #d99a1e; --pearl: #f5eef2; --mist: #b9a8be;
  --bg: var(--velvet); --card: var(--velvet-2); --ink: var(--pearl); --muted: var(--mist); --line: #3d2843;
  --brand: #e34d6c; --brand-d: #c63858; --brand-l: rgba(227, 77, 108, .14);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 32px rgba(0,0,0,.35);
  --seat-free: #3a2640; --seat-vip: #4a3418; --seat-acc: #1f3350;
  background: radial-gradient(1200px 600px at 80% -200px, #3a1530 0, transparent 60%), var(--velvet);
  color: var(--pearl);
}
body.dark a { color: var(--amber); }
body.dark .btn { background: var(--amber); color: #2a1406; }
body.dark .btn:hover { background: #ffc964; }
body.dark .btn.ghost { background: transparent; color: var(--pearl); border-color: #5a3f60; }
body.dark .btn.ghost:hover { background: rgba(255,255,255,.07); }
body.dark .btn.gold { background: var(--amber); color: #2a1406; }
body.dark .btn.danger { background: #c2304f; color: #fff; }
body.dark .btn.ok { background: #2f9e64; color: #fff; }
body.dark input, body.dark select, body.dark textarea { background: #1f1224; border-color: #4a3350; color: var(--pearl); }
body.dark input::placeholder { color: #8c7a92; }
body.dark .card, body.dark .stat { background: var(--velvet-2); border: 1px solid #34203a; }
body.dark th { background: #2b1a31; color: var(--mist); }
body.dark tr:hover td { background: rgba(255,255,255,.025); }
body.dark th, body.dark td { border-color: #3a2640; }
body.dark .chip { background: transparent; border-color: #4f3755; color: var(--pearl); }
body.dark .chip.active, body.dark .chip:hover { background: var(--pearl); color: var(--velvet); border-color: var(--pearl); }
body.dark .alert.warn { background: #3b2a10; color: #ffd27a; border-color: #6b4d18; }
body.dark .alert.bad { background: #3d141d; color: #ff9fb0; border-color: #6f2333; }
body.dark .alert.ok { background: #12301f; color: #8ce0b0; border-color: #24583a; }
body.dark .alert.info { background: #18213d; color: #a9bfff; border-color: #2c3d6e; }
body.dark .badge { background: rgba(255,255,255,.1); color: var(--pearl); }
body.dark .badge.paid, body.dark .badge.valid { background: #12301f; color: #8ce0b0; }
body.dark .badge.reserved, body.dark .badge.pending { background: #3b2a10; color: #ffd27a; }
body.dark .badge.cancelled, body.dark .badge.failed { background: #3d141d; color: #ff9fb0; }
body.dark .modal { background: var(--velvet-2); color: var(--pearl); }
body.dark .map-scroll { background: #150b19; border-color: #34203a; }
body.dark .seat { border-color: #6a5070; color: #e8dcec; }
body.dark .seat.cat-vip { border-color: var(--amber); color: #ffe2a6; }
body.dark .seat.cat-accessible { border-color: #6f9cf0; color: #cfe0ff; }
body.dark .seat.st-selected { background: var(--amber); border-color: #ffd27a; color: #2a1406; box-shadow: 0 0 14px rgba(242,181,68,.55); }
body.dark .seat.st-sold { background: #24172a; border-color: #2f2034; color: #5c4a62; }
body.dark .seat.st-sold::after { background: rgba(36,23,42,.75); color: #6d5a73; }
body.dark .seat.st-held { background: repeating-linear-gradient(45deg, #3b2a10, #3b2a10 4px, #2b1e0c 4px, #2b1e0c 8px); border-color: #8a6420; color: #c79a45; }
body.dark .stage { background: linear-gradient(#f2b544, #b97a12); color: #2a1406; box-shadow: 0 18px 60px rgba(242,181,68,.35); }
body.dark .row-label, body.dark .section-title { color: #8c7a92; }
body.dark .legend { color: var(--mist); }
body.dark .sel-list li { border-color: #3d2843; }
body.dark .ticket { color: var(--ink); }
body.dark .show-date { background: rgba(242,181,68,.12); color: var(--amber); }
body.dark .show-row { border-color: #3a2640; }
body.dark .toast { background: #f5eef2; color: var(--velvet); }
body.dark .toast.bad { background: #c2304f; color: #fff; } body.dark .toast.ok { background: #2f9e64; color: #fff; }
body.dark .cal .day { background: var(--velvet-2); box-shadow: none; border: 1px solid #34203a; }
body.dark .cal .day a { background: rgba(242,181,68,.12); color: var(--amber); }
body.dark footer { background: #120a15; border-top: 1px solid #2a1a2f; }
body.dark .testbar { background: #3b2a10; color: #ffd27a; }
/* Bilet həmişə açıq fonda (QR kodun oxunması üçün) */
body.dark .ticket { background: #fff; color: #1d1a22; }
body.dark .ticket .muted, body.dark .ticket .t-grid small { color: #6b6573; }
body.dark .receipt { color: #111; }

/* Başlıq: ana səhifədə videonun üzərində şəffaf, sürüşdükdə bərk */
body.dark .topbar { background: rgba(26, 15, 31, .82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: none; border-bottom: 1px solid rgba(255,255,255,.06); }
body.dark .topbar.over { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(10,4,12,.65), transparent); border-bottom-color: transparent; backdrop-filter: none; }
body.dark .topbar.over.solid { background: rgba(26, 15, 31, .9); backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.06); }
body.dark .logo-mark { background: var(--amber); }
body.dark .nav a { color: #e9dbe9; }
body.dark .top-search input { background: rgba(255,255,255,.1); }
.staff-link { color: #d9c6dc !important; font-size: .85rem; white-space: nowrap; opacity: .85; }
.staff-link:hover { opacity: 1; }
main.flush { padding-top: 0; }

/* ---------- Ana ekran: video səhnəsi ---------- */
.stage-hero { position: relative; height: min(88vh, 780px); min-height: 520px; overflow: hidden; background: #0e0610; color: #fff; isolation: isolate; }
.stage-hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.stage-hero .slide.on { opacity: 1; }
.stage-hero video, .stage-hero .slide > img { width: 100%; height: 100%; object-fit: cover; }
.stage-hero .slide > img.blur { filter: blur(28px) brightness(.55) saturate(1.3); transform: scale(1.15); }
.stage-hero .slide .side-poster { position: absolute; right: 9%; top: 50%; transform: translateY(-50%); height: 72%; width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,6,16,.92) 0%, rgba(14,6,16,.72) 34%, rgba(14,6,16,.15) 62%, transparent 80%),
              linear-gradient(0deg, var(--velvet, #1a0f1f) 0%, transparent 28%); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: end; gap: 32px; padding-bottom: 64px; padding-top: 96px; }
.hero-copy { max-width: 620px; }
.hero-copy .kind { display: inline-flex; gap: 8px; align-items: center; color: var(--amber, #f2b544); font-weight: 600; margin-bottom: 10px; }
.hero-copy .age { border: 1px solid rgba(255,255,255,.5); border-radius: 6px; padding: 0 6px; font-size: .8rem; color: #fff; font-weight: 700; }
.hero-title { font-size: clamp(2.8rem, 7vw, 6rem); line-height: .92; font-weight: 700; margin: 0 0 14px; text-wrap: balance; }
.hero-tagline { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #eadfe9; margin: 0 0 22px; max-width: 34em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 26px; color: #f1e6ef; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts small { color: #b9a8be; font-size: .8rem; }
.hero-facts b { font-size: 1.05rem; font-weight: 600; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 24px; font-size: 1.02rem; border-radius: 999px; }
.hero-actions .btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.countdown { font-variant-numeric: tabular-nums; }
/* Afişa siyahısı (slaydlar) */
.playbill { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.playbill button { width: 100%; text-align: left; background: rgba(20,10,24,.45); border: 0; color: #d8c9dc; padding: 10px 14px 12px; border-radius: 10px; cursor: pointer; font: inherit; position: relative; overflow: hidden; backdrop-filter: blur(8px); }
.playbill button b { display: block; color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
.playbill button small { font-size: .8rem; }
.playbill button.on { background: rgba(255,255,255,.14); }
.playbill .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--amber, #f2b544); }
.playbill button.on .bar { animation: fill var(--dur, 8s) linear forwards; }
.stage-hero.paused .playbill button.on .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.hero-ctrl { position: absolute; z-index: 3; right: 20px; top: 84px; display: flex; gap: 6px; }
.hero-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; cursor: pointer; font-size: 1rem; }
.hero-ctrl button:hover { background: rgba(255,255,255,.15); }
@media (max-width: 900px) {
  .stage-hero { height: 82vh; min-height: 560px; }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 28px; }
  .playbill { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .playbill li { flex: 0 0 auto; }
  .playbill button { width: auto; padding: 8px 12px 10px; }
  .playbill button small { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,6,16,.96) 0%, rgba(14,6,16,.65) 45%, rgba(14,6,16,.15) 75%); }
  .stage-hero .slide .side-poster { display: none; }
  .hero-ctrl { top: 76px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .stage-hero .slide { transition: none; } .playbill button.on .bar { animation: none; width: 100%; } }

/* ---------- Afişa bölməsi ---------- */
.billboard-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 8px 0 14px; }
.billboard-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.datestrip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 8px; scrollbar-width: thin; }
.datestrip button { flex: 0 0 auto; min-width: 64px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font: inherit; text-align: center; line-height: 1.15; }
.datestrip button small { display: block; color: var(--muted); font-size: .75rem; }
.datestrip button b { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.datestrip button.on { background: var(--amber, var(--brand)); border-color: transparent; color: #2a1406; }
.datestrip button.on small { color: #5a3a10; }
.datestrip button:disabled { opacity: .35; cursor: default; }

/* Afişa kartları */
body.dark .events { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 22px; }
body.dark .ev-card { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
body.dark .ev-card:hover { transform: none; box-shadow: none; }
body.dark .ev-poster { border-radius: 12px; aspect-ratio: 2 / 3; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
body.dark .ev-poster img { transition: transform .5s ease; }
body.dark .ev-card:hover .ev-poster img { transform: scale(1.04); }
body.dark .ev-poster .badge { top: auto; bottom: 10px; left: 10px; background: rgba(14,6,16,.75); color: #fff; backdrop-filter: blur(6px); }
.datestamp { position: absolute; top: 10px; left: 10px; background: var(--pearl, #fff); color: var(--velvet, #1a0f1f); border-radius: 10px; padding: 4px 9px 5px; text-align: center; line-height: 1; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.datestamp b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.datestamp small { font-size: .72rem; font-weight: 600; }
.scarcity { position: absolute; top: 10px; right: 10px; background: var(--curtain, #b3203f); color: #fff; border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 3px 10px; }
.scarcity.out { background: #3a2a40; color: #cdbdd2; }
.agebox { position: absolute; bottom: 10px; right: 10px; border: 1px solid rgba(255,255,255,.6); color: #fff; border-radius: 6px; font-size: .72rem; font-weight: 700; padding: 1px 6px; background: rgba(14,6,16,.5); }
body.dark .ev-body { padding: 12px 2px 0; gap: 2px; }
body.dark .ev-body h3 { font-size: 1.25rem; font-weight: 600; }
body.dark .ev-body h3 a { color: var(--pearl) !important; }
body.dark .ev-meta { color: var(--mist); }
body.dark .ev-foot { padding-top: 8px; }
body.dark .price { color: var(--amber); font-family: var(--display); font-size: 1.1rem; }
body.dark .ev-foot .btn { border-radius: 999px; }

/* ---------- Tədbir səhifəsi ---------- */
.ev-hero { position: relative; margin: -24px 0 28px; padding: 56px 0 36px; overflow: hidden; isolation: isolate; }
.ev-hero .backdrop { position: absolute; inset: -40px; z-index: -1; background-size: cover; background-position: center; filter: blur(40px) brightness(.45) saturate(1.3); }
.ev-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--velvet, #1a0f1f), transparent 70%); }
.ev-hero .grid { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: end; }
.ev-hero .ev-poster { border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.55); aspect-ratio: 2/3; }
.ev-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: .95; margin: 6px 0 10px; }
.ev-hero .tagline { font-size: 1.15rem; color: #eadfe9; margin: 0 0 16px; }
.ev-facts { display: flex; gap: 10px 28px; flex-wrap: wrap; color: var(--mist, #6b6573); }
.ev-facts b { color: var(--pearl, #1d1a22); display: block; font-weight: 600; }
@media (max-width: 760px) { .ev-hero .grid { grid-template-columns: 120px 1fr; gap: 18px; } .ev-hero { padding-top: 28px; } }
.trailer { border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.trailer video, .trailer iframe { width: 100%; height: 100%; border: 0; display: block; }
.ev-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .ev-layout { grid-template-columns: 1fr; } }
.ev-layout .desc { white-space: pre-line; font-size: 1.05rem; line-height: 1.65; max-width: 68ch; }
.show-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 10px; }
.show-card:hover { border-color: #6a4f70; }
.show-card .show-date { min-width: 64px; }
.vid-modal video, .vid-modal iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; background: #000; }

/* 1.1.0 düzəlişlər: test nişanı aşağıda, afişa siyahısı səhnənin altında üfüqi */
body.dark .testbar { position: fixed; left: 12px; bottom: 12px; z-index: 60; border-radius: 999px; font-size: .76rem; padding: 6px 14px; background: #3b2a10; color: #ffd27a; border: 1px solid #6b4d18; max-width: calc(100vw - 24px); }
body.dark .nav { justify-content: center; }
body.dark .top-search input { width: 180px; }
.hero-inner { grid-template-columns: 1fr; align-content: end; gap: 26px; padding-bottom: 40px; }
.playbill { flex-direction: row; gap: 8px; }
.playbill li { flex: 1 1 0; min-width: 0; }
.playbill button { height: 100%; }
.playbill button b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.playbill button small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .playbill { overflow-x: auto; } .playbill li { flex: 0 0 auto; } }
body.dark main { overflow-x: clip; }
.ev-hero { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.ev-layout { grid-template-columns: minmax(0, 1fr) 420px; }
@media (max-width: 960px) { .ev-layout { grid-template-columns: 1fr; } }
.tb-short { display: none; }
@media (max-width: 700px) { .tb-long { display: none; } .tb-short { display: inline; } }
@media (max-width: 600px) {
  body.dark .events { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  body.dark .ev-body h3 { font-size: 1.05rem; }
  body.dark .ev-meta { font-size: .8rem; }
  body.dark .ev-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  body.dark .ev-foot .btn { width: 100%; }
  .datestamp b { font-size: 1.2rem; }
  .scarcity { font-size: .68rem; padding: 2px 8px; }
}

/* 1.3.0: sürüşdürmə redaktoru */
.seat-row.aisle { min-height: 30px; }
.map-scroll.editing { position: relative; user-select: none; touch-action: none; }
.map-scroll.editing .seat { cursor: grab; touch-action: none; }
.map-scroll.editing.dragging .seat { cursor: grabbing; }
.seat.dragging { z-index: 5; opacity: .9; box-shadow: 0 6px 14px rgba(0,0,0,.25); transition: none; }
.seat.drop-bad { outline: 3px solid var(--bad) !important; outline-offset: 1px; }
.lasso { position: absolute; border: 1.5px dashed var(--info); background: rgba(29, 78, 216, .08); pointer-events: none; z-index: 6; }
.editor-hint { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin: 6px 0 10px; }
.editor-hint kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; font-size: .75rem; background: #fff; }
/* Sərbəst zal planı */
.seatmap.plan { position: relative; display: block; min-width: 0; margin: 0 auto; }
.seatmap.plan .seat { position: absolute; }
.seatmap.plan .section-title { text-align: center; margin: 0; white-space: nowrap; pointer-events: none; }
.seatmap.plan .row-label { width: 26px; text-align: center; }
.seatmap.plan .stage { padding: 8px; }
.hall-bg { position: absolute; transform-origin: 0 0; pointer-events: none; max-width: none; user-select: none; z-index: 0; }
.map-scroll.editing .seatmap.plan { cursor: crosshair; }
.map-scroll.adding .seatmap.plan { cursor: copy; }
.ghost-seat { position: absolute; width: 30px; height: 30px; border-radius: 8px 8px 5px 5px; border: 2px dashed var(--info); background: rgba(29,78,216,.08); pointer-events: none; z-index: 4; }
.tools-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.tools-row .grp { display: flex; gap: 6px; align-items: center; padding-right: 10px; margin-right: 2px; border-right: 1px solid var(--line); }
.tools-row .grp:last-child { border-right: 0; }
.tools-row input[type=range] { width: 110px; padding: 0; }
.tools-row input, .tools-row select { padding: 5px 8px; width: auto; }
.tools-row .grp > span:not(.small) { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tools-row .grp > span[hidden] { display: none; }

/* Yeni tədbir: ilk seans bloku */
.first-show { border: 1px solid var(--line, #e2e5ea); border-radius: 12px; padding: 14px 16px 6px; margin: 6px 0 16px; background: rgba(120,130,150,.05); }
.first-show legend { font-weight: 700; padding: 0 6px; }

/* Bilet qaytarma */
.refund-tbl td { vertical-align: middle; }
.refund-tbl tr.muted td { opacity: .6; }
.refund-tbl input[type=checkbox] { width: 18px; height: 18px; }
.refund-total { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; justify-content: flex-end; padding: 12px 4px 4px; border-top: 2px solid var(--line); margin-top: 4px; }
.refund-total .big { font-size: 1.15rem; }
.refund-lookup { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.refund-lookup .field { flex: 1; min-width: 240px; margin: 0; }
.refund-lookup input { font-size: 1.1rem; }
.refund-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 18px; margin-bottom: 12px; }
.refund-head small { display: block; color: var(--muted); }
body.dark .refund-head small { color: var(--mist); }

/* Tədbir səhifəsi: arxa fonda dönən videoçarx */
.ev-hero .ev-bgvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.ev-hero.has-video .backdrop { display: none; }
.ev-hero.has-video { padding: 120px 0 40px; }
.ev-hero.has-video::after { background: linear-gradient(0deg, var(--velvet, #1a0f1f) 2%, rgba(20,10,24,.55) 45%, rgba(20,10,24,.25) 100%); }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.btn.ghost.light:hover { background: rgba(255,255,255,.18); }
@media (max-width: 760px) { .ev-hero.has-video { padding-top: 70px; } }

/* Loqo: Azticket.store — domen hissəsi bir az sönük */
.logo .logo-tld { opacity: .55; font-weight: 500; }

/* ---------- 1.8.0 ---------- */
/* İkon düymələr */
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 1.15rem; line-height: 1; vertical-align: middle; margin-left: 4px; }
.icon-btn:hover { background: var(--brand-l); color: var(--brand); border-color: #e3c7d2; text-decoration: none; }
.icon-btn.danger:hover { background: var(--bad-l); color: var(--bad); border-color: #f3c3bd; }
.icon-btn:focus-visible, .logout-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.topbar .top-actions { margin-left: auto; gap: 14px; }
.logout-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.logout-btn:hover { background: rgba(255,255,255,.2); }

/* İcmal panelinin təqvimi */
.acal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.acal-head h2 { margin: 0 0 2px; }
.acal-nav { display: flex; align-items: center; gap: 6px; }
.acal-nav .icon-btn { margin: 0; font-size: 1.5rem; }
.acal-title { min-width: 150px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.acal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.acal-wd { font-size: .78rem; color: var(--muted); font-weight: 600; text-align: center; padding-bottom: 2px; }
.acal-cell { min-height: 96px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; text-align: left; display: flex; flex-direction: column; gap: 3px; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.acal-cell.pad { background: transparent; border-style: dashed; cursor: default; }
.acal-cell.past { background: #faf9f8; }
.acal-cell.past .acal-num { color: var(--muted); }
.acal-cell:hover { border-color: #d9b8c5; }
.acal-cell.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-l); }
.acal-cell.today .acal-num { background: var(--brand); color: #fff; }
.acal-num { font-weight: 700; font-size: .85rem; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.acal-chip { position: relative; overflow: hidden; display: block; font-size: .72rem; line-height: 1.3; padding: 2px 5px 3px; border-radius: 5px; background: var(--brand-l); color: var(--brand-d); white-space: nowrap; text-overflow: ellipsis; }
.acal-chip.t-konsert { background: var(--gold-l); color: #6b4300; }
.acal-chip.t-diger { background: var(--info-l); color: #1e3a8a; }
.acal-chip.off { text-decoration: line-through; opacity: .55; }
.acal-chip i { position: absolute; left: 0; bottom: 0; height: 2px; background: currentColor; opacity: .5; }
.acal-more { font-size: .72rem; color: var(--muted); }
#acalDay { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.acal-list { display: grid; gap: 8px; }
.acal-row { display: grid; grid-template-columns: 64px 1fr 190px; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: inherit; }
.acal-row:hover { text-decoration: none; border-color: #d9b8c5; background: #fffafc; }
.acal-row.off { opacity: .6; }
.acal-time { font-weight: 800; font-size: 1.1rem; }
.acal-info { display: flex; flex-direction: column; min-width: 0; }
.acal-occ { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.acal-occ .bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.acal-occ .bar i { display: block; height: 100%; background: var(--ok); }
@media (max-width: 760px) {
  .acal-cell { min-height: 54px; padding: 4px; }
  .acal-chip { display: none; }
  .acal-cell.has::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin: 2px auto 0; }
  .acal-more { display: none; }
  .acal-row { grid-template-columns: 54px 1fr; }
  .acal-occ { grid-column: 1 / -1; text-align: left; }
}

/* Sıra zonaları */
h3.sub { font-size: 1rem; margin: 14px 0 8px; }
.zone-ed { margin-bottom: 8px; }
.zone-rows { display: grid; gap: 8px; margin-bottom: 8px; }
.zone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.zone-row select, .zone-row input { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.zone-row [data-z=sec] { min-width: 150px; }
.zone-row [data-z=from], .zone-row [data-z=to] { min-width: 70px; }
.zone-price { display: inline-flex; align-items: center; gap: 4px; }
.zone-price input { width: 96px; }
.zone-cnt { min-width: 56px; }
.zone-row .icon-btn { margin-left: auto; }
.legend-zones { margin: 0 0 8px; padding: 8px 10px; border-radius: 8px; background: var(--gold-l); color: #5a3a00; }
body.dark .legend-zones { background: rgba(217,154,30,.15); color: #f6d9a4; }

/* Binalar */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.venue-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: var(--shadow); color: inherit; border: 1px solid var(--line); }
.venue-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(20,10,30,.12); }
.venue-img { aspect-ratio: 3 / 4; background: #2a0f1d; display: block; }
.venue-img img { width: 100%; height: 100%; object-fit: cover; }
.venue-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; text-align: center; color: #fff;
  background: linear-gradient(160deg, #3a1428, var(--brand) 60%, #a0522d); border: 6px double rgba(255,255,255,.35); border-radius: inherit; }
.venue-ph span { font-size: 2.4rem; }
.venue-ph b { font-size: 1.15rem; line-height: 1.3; }
.venue-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.venue-hero { display: flex; gap: 18px; align-items: center; }
.venue-hero img, .venue-hero .venue-ph { width: 140px; height: 186px; object-fit: cover; border-radius: 10px; flex: none; }
.hall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hall-card { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .venue-card:hover { transform: none; } }
.zone-row select, .zone-row input { width: auto; margin: 0; }
.zone-row [data-z=sec] { width: 180px; }
.zone-row [data-z=from], .zone-row [data-z=to] { width: 90px; }
.zone-row .zone-price input { width: 96px; }
@media (max-width: 600px) { .zone-row [data-z=sec] { width: 100%; } }
.hall-card .btn { white-space: nowrap; flex: none; }

/* ---------- 1.9.0 ---------- */
/* Protokol yerləri və satışdan çıxarılmış yerlər */
.seat.cat-protocol { background: #e8eefc; border-color: #3b4f8a; }
.seat.cat-protocol::before { content: "🎖"; position: absolute; top: -8px; right: -6px; font-size: .6rem; }
body.dark .seat.cat-protocol { background: #1d2440; border-color: #7f95d6; color: #d6defa; }
.seat.st-blocked { background: repeating-linear-gradient(-45deg, #e6e3e8, #e6e3e8 3px, #f4f2f5 3px, #f4f2f5 6px); border-color: #b9b1bd; color: #8b8290; cursor: not-allowed; }
.seat.st-blocked::after { content: "🔒"; position: absolute; bottom: -7px; right: -6px; font-size: .55rem; }
body.dark .seat.st-blocked { background: repeating-linear-gradient(-45deg, #2a2030, #2a2030 3px, #20182a 3px, #20182a 6px); border-color: #4a3d52; color: #7d6f86; }
.seat.block-sel { outline: 3px solid var(--bad); outline-offset: 1px; z-index: 2; }
.block-map .seat.st-blocked, .block-map .seat.st-unavailable { cursor: pointer; opacity: 1; }
.block-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.block-toolbar .grow { flex: 1; }
.block-map { max-height: 62vh; }
h2.city-head { margin: 22px 0 10px; font-size: 1.15rem; }
h2.city-head:first-of-type { margin-top: 6px; }

/* Bilet alma addımları: açıq, aydın tema və geniş yer seçimi */
body.buy-flow { background: #f6f5f8; }
body.buy-flow main > .container { max-width: 1440px; }
body.buy-flow .booking { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
body.buy-flow .map-scroll { background: #fff; border-color: #e4e0e8; min-height: 62vh; max-height: 82vh; padding: 22px 12px; }
body.buy-flow .booking > .card { padding: 18px; }
body.buy-flow .seat { box-shadow: 0 1px 0 rgba(0,0,0,.06); }
body.buy-flow .summary h3 { font-size: 1.15rem; }
body.buy-flow .sel-list li { font-size: .98rem; }
@media (max-width: 960px) { body.buy-flow .booking { grid-template-columns: 1fr; } body.buy-flow .map-scroll { min-height: 50vh; } }
