/* ==========================================================
   Canavas.ca
   ========================================================== */

:root {
  --wall: #141619;
  --wall-2: #181a1d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --text: #e5e7eb;
  --text-dim: #9ca3af;
  --text-faint: #6b7280;
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #997a15;
  --ember: #c2410c;
  --danger: #b4443b;
  --ok: #34d399;
  --serif: 'Playfair Display', Georgia, serif;
  --cinzel: 'Cinzel', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--wall);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll { overflow: hidden; }
main { flex: 1 0 auto; position: relative; z-index: 2; }

::selection { background: var(--gold); color: #000; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.gold { color: var(--gold); }
.muted { color: var(--text-dim); font-size: 0.85rem; }
.link-gold { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.link-gold:hover { color: var(--gold-light); }

/* Warm museum light glow */
.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 25%, rgba(255, 228, 181, 0.09) 0%, rgba(20, 22, 25, 0) 75%);
  z-index: 1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Buttons ---------- */

.btn-gold, .btn-outline, .btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  line-height: 1.2;
}
.btn-gold { background: var(--gold); color: #000; border: 1px solid var(--gold); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); }
.btn-gold:hover { background: #e9c547; border-color: #e9c547; }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.6); }
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-danger { background: transparent; color: #f0a39c; border: 1px solid rgba(180, 68, 59, 0.7); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-width: 96px; padding: 8px 14px; font-size: 0.68rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-row > * { flex: 1 1 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(0, 0, 0, 0.6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cinzel); font-weight: 700; font-size: 1.1rem; color: var(--gold);
  transition: border-color 0.3s;
}
.logo:hover .logo-mark { border-color: var(--gold); }
.logo-text { display: flex; flex-direction: column; }
.logo-word { font-family: var(--cinzel); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.12em; color: #fff; line-height: 1; }
.logo-tld { color: var(--text-dim); font-weight: 600; font-size: 0.8em; margin-left: 2px; }
.logo-sub { font-size: 0.56rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; }
.logo-small .logo-mark { width: 32px; height: 32px; font-size: 0.9rem; }
.logo-small .logo-word { font-size: 0.95rem; }

.main-nav { display: flex; gap: 32px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #d1d5db; }
.main-nav a:hover { color: var(--gold); }

/* ---------- Hero ---------- */

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 80px; padding-bottom: 64px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.12; letter-spacing: -0.01em;
  color: #fff; max-width: 900px; margin-bottom: 24px;
}
.hero-title em { color: var(--gold); }
.hero-text { color: #d1d5db; font-weight: 300; font-size: clamp(1rem, 2vw, 1.13rem); max-width: 640px; margin: 0 0 40px; }
.hero-text strong { color: #fff; font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; max-width: 640px; }
.stat-num { font-family: var(--cinzel); font-weight: 700; font-size: 1.5rem; color: #fff; margin: 0; }
.stat-num.gold { color: var(--gold); }
.stat-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin: 4px 0 0; }

/* ---------- Sections ---------- */

.section { padding-top: 64px; padding-bottom: 64px; }
.section-shade { background: rgba(0, 0, 0, 0.25); position: relative; z-index: 2; }
.section-head { max-width: 680px; margin: 0 auto 40px; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.25rem); color: #fff; margin-bottom: 8px; }
#featured .section-title { margin-bottom: 48px; }
.section-sub { color: var(--text-dim); font-size: 0.85rem; margin: 0; }
.eyebrow { display: block; color: var(--gold); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- Featured artists ---------- */

.artist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 260px)); gap: 32px; justify-content: center; }
.artist-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 32px 20px; border-radius: var(--radius); background: var(--panel); transition: background 0.3s, transform 0.3s; }
.artist-card:hover { background: var(--panel-2); transform: translateY(-4px); }
.artist-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: #fff; margin-top: 12px; }
.artist-medium { color: var(--text-dim); font-style: italic; font-size: 0.85rem; margin: 0 0 8px; }

.avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #2a2420, #1a1c1f); flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 120px; height: 120px; }
.avatar-xl { width: 150px; height: 150px; }
.avatar-xxl { width: 190px; height: 190px; }
.frame-ring { border: 6px solid #a8812c; box-shadow: 0 0 0 1px #523f10, 0 16px 34px rgba(0, 0, 0, 0.75), inset 0 0 10px rgba(0, 0, 0, 0.6); }

/* ---------- Filters ---------- */

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent; color: #d1d5db;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 500;
  cursor: pointer; transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--gold); color: #fff; }
.filter-btn.is-active { background: var(--gold); border-color: var(--gold); color: #000; }

/* ---------- Artwork grid ---------- */

.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.art-card { display: flex; flex-direction: column; align-items: center; cursor: pointer; outline: none; }
.art-card:focus-visible .frame { outline: 2px solid var(--gold); outline-offset: 6px; }
.art-card .frame { width: 100%; transition: transform 0.5s; }
.art-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.7s; }
.art-card:hover img { transform: scale(1.05); }
.art-card-info { text-align: center; margin-top: 24px; }
.art-card-info h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: #fff; transition: color 0.3s; }
.art-card:hover h3 { color: var(--gold); }
.art-card-artist { font-size: 0.78rem; font-style: italic; color: var(--text-dim); margin: 4px 0 0; }
.art-card-price { font-family: var(--cinzel); font-size: 0.9rem; color: var(--gold); margin: 8px 0 0; }

/* ---------- Frames, glaze, canvas texture ---------- */

.frame-gilt {
  border: 18px solid #a8812c;
  border-image: linear-gradient(to bottom right, #f3e5ab, #d4af37, #785a12, #d4af37) 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), inset 0 0 12px rgba(0, 0, 0, 0.7);
  outline: 2px solid #523f10;
}
.frame-walnut {
  border: 16px solid #2d1d17;
  border-image: linear-gradient(to bottom right, #4a3228, #2a1a14, #180e0a, #3a251d) 1;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.85), inset 0 0 8px rgba(0, 0, 0, 0.9);
  outline: 1px solid #140b08;
}
.frame-black { border: 12px solid #111; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.frame-unframed { border: 0; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7); }

.oil-glaze { position: relative; overflow: hidden; }
.oil-glaze::after {
  content: '';
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.08) 48%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.08) 52%, rgba(255,255,255,0) 70%);
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none; opacity: 0;
}
.art-card:hover .oil-glaze::after, .modal-canvas .oil-glaze:hover::after { opacity: 1; transform: rotate(25deg) translateY(100%); }
.canvas-texture {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.3;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 4px 4px;
}

/* ---------- Process ---------- */

.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.process-card { background: var(--panel); border-radius: var(--radius); padding: 36px 32px; text-align: center; transition: background 0.3s; }
.process-card:hover { background: var(--panel-2); }
.process-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.process-card p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.7; margin: 0; }

/* ---------- Artist page ---------- */

.artist-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 72px; padding-bottom: 16px; }
.artist-hero .page-title { margin-top: 16px; }
.artist-bio { color: #d1d5db; font-weight: 300; max-width: 680px; margin-top: 8px; }

/* ---------- Footer ---------- */

.site-footer { position: relative; z-index: 2; background: rgba(0, 0, 0, 0.8); padding: 40px 0; margin-top: 48px; font-size: 0.75rem; color: var(--text-dim); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-inner p { margin: 0; }

/* ---------- Modal ---------- */

.modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  position: relative;
  display: flex; width: 100%; max-width: 1040px; max-height: 90vh;
  background: var(--wall-2); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.7); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer;
}
.modal-close:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.modal-canvas { flex: 3; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; padding: 40px; min-height: 360px; }
.modal-canvas .frame { max-width: 100%; }
.modal-canvas img { max-height: 62vh; width: auto; object-fit: contain; }
.modal-details { flex: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 40px 32px 32px; background: #141618; overflow-y: auto; }
.modal-category { color: var(--gold); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.modal-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; margin: 8px 0 4px; padding-right: 80px; }
.modal-artist { font-size: 0.82rem; font-style: italic; color: #d1d5db; margin: 0 0 24px; }
.modal-artist a { color: var(--gold); }
.modal-specs { margin: 0 0 24px; padding: 16px 20px; background: var(--panel); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; font-size: 0.8rem; }
.modal-specs div { display: flex; justify-content: space-between; gap: 16px; }
.modal-specs dt { color: var(--text-dim); }
.modal-specs dd { margin: 0; color: #e5e7eb; font-weight: 500; text-align: right; }
.modal-desc { color: #d1d5db; font-size: 0.82rem; line-height: 1.7; margin: 0; }
.modal-price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.modal-price-label { display: block; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.modal-price { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--gold); }
.status-badge { padding: 4px 10px; border-radius: 6px; font-size: 0.68rem; font-weight: 500; }
.status-available { background: rgba(6, 78, 59, 0.4); color: var(--ok); }
.status-sold { background: rgba(127, 29, 29, 0.4); color: #fca5a5; }
.status-nfs { background: rgba(255, 255, 255, 0.08); color: var(--text-dim); }

/* ---------- Pages: login, dashboard, admin ---------- */

.page-narrow { width: 100%; max-width: 460px; margin: 0 auto; padding: 72px 24px; }
.page-wide { width: 100%; max-width: 1000px; margin: 0 auto; padding: 56px 24px; }
.page-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; }
.panel { background: var(--panel); border-radius: var(--radius); padding: 36px; }
.panel-title { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: #fff; margin-bottom: 24px; text-align: center; }
.page-narrow .page-title { margin-bottom: 28px; }

.dash-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 28px; }
.dash-head .muted { margin: 4px 0 0; }
.dash-head .btn-row { width: 100%; max-width: 360px; }

.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs a { min-width: 150px; text-align: center; padding: 10px 18px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; color: #d1d5db; border: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.25s; }
.tabs a:hover { border-color: var(--gold); color: #fff; }
.tabs a.is-active { background: var(--gold); border-color: var(--gold); color: #000; }

.sub-section { margin-top: 48px; }
.sub-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
.sub-head .panel-title { margin-bottom: 0; }

.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: 0.85rem; text-align: center; }
.notice p { margin: 0; }
.notice-ok { background: rgba(6, 78, 59, 0.35); color: #a7f3d0; }
.notice-error { background: rgba(127, 29, 29, 0.35); color: #fecaca; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #d1d5db; }
.field small { color: var(--text-faint); font-size: 0.75rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(0, 0, 0, 0.6); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 10px;
  font-family: var(--sans); font-size: 0.9rem;
  transition: border-color 0.2s;
}
.field input[type="file"] { padding: 10px; font-size: 0.8rem; color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; line-height: 1.6; }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #d1d5db; cursor: pointer; padding: 12px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.form-photo { display: flex; align-items: center; gap: 24px; }
.form-photo .field { flex: 1; }
.form-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form-actions > * { min-width: 180px; }

/* Lists in dashboard / admin */
.row-list { display: flex; flex-direction: column; gap: 10px; }
.row-item { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: rgba(0, 0, 0, 0.35); border-radius: 12px; }
.row-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.row-main strong { color: #fff; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; gap: 8px; }
.row-actions form { margin: 0; }
.thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #1f2124; flex-shrink: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-lg { width: 120px; height: 120px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .artist-grid { grid-template-columns: repeat(2, minmax(0, 260px)); }
  .main-nav { gap: 20px; }
}

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; row-gap: 12px; }
  .main-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: 0.64rem; letter-spacing: 0.14em; }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .process-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .modal-box { flex-direction: column; overflow-y: auto; }
  .modal-canvas { padding: 32px 24px; min-height: 0; }
  .modal-canvas img { max-height: 48vh; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .header-cta { min-width: 0; padding: 10px 16px; font-size: 0.65rem; }
  .logo-word { font-size: 1.05rem; }
  .hero { padding-top: 56px; }
  .stats { gap: 12px; }
  .stat-num { font-size: 1.15rem; }
  .artist-grid { grid-template-columns: minmax(0, 300px); }
  .art-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; }
  .panel { padding: 24px 18px; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .form-photo { flex-direction: column; align-items: stretch; text-align: center; }
  .form-photo .avatar, .form-photo .thumb { margin: 0 auto; }
  .row-item { flex-wrap: wrap; }
  .row-actions { width: 100%; }
  .row-actions > * { flex: 1 1 0; }
  .row-actions .btn-sm { width: 100%; }
  .main-nav { gap: 6px 14px; font-size: 0.6rem; }
  .modal { padding: 0; }
  .modal-box { max-height: 100vh; height: 100%; border-radius: 0; }
  .modal-details { padding: 28px 20px; }
  .page-narrow, .page-wide { padding-top: 40px; padding-bottom: 40px; }
}

/* ---------- Live Studio ---------- */

.main-nav a.nav-live { color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.main-nav a.nav-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e0453a; animation: pulse 1.6s ease-in-out infinite; }
.pill-dot-live { background: #e0453a; }

.live-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 64px; padding-bottom: 32px; }
.live-head .pill { margin-bottom: 16px; }

.live-stage { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr); gap: 20px; }
.live-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7); }
.live-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-chat { background: #0f1012; border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.live-chat iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-chat-link { display: none; }

.live-artist { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 40px; padding-bottom: 16px; }
.live-artist-name { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: #fff; margin-top: 12px; }
.live-btns { width: 100%; max-width: 420px; margin-top: 8px; }
.live-btns > * { min-width: 0; padding-left: 12px; padding-right: 12px; white-space: nowrap; }

.off-air { max-width: 520px; margin: 0 auto; padding: 56px 24px; background: var(--panel); border-radius: var(--radius); }
.off-air-title { font-family: var(--cinzel); font-size: 1.6rem; letter-spacing: 0.2em; color: var(--gold); margin: 0 0 8px; }
.off-air .muted { margin: 0; }

.session-list { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin: 32px auto 0; }
.session-item { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; padding: 16px 20px; background: var(--panel); border-radius: 12px; text-align: center; }
.session-time { font-family: var(--cinzel); font-size: 0.85rem; color: var(--gold); letter-spacing: 0.05em; }
.session-artist { color: #fff; font-family: var(--serif); font-size: 1.05rem; }
.session-artist:hover { color: var(--gold); }
.session-title { color: var(--text-dim); font-size: 0.85rem; font-style: italic; }

.live-status { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.live-status-on { display: inline-flex; align-items: center; gap: 10px; font-family: var(--cinzel); font-size: 1.2rem; letter-spacing: 0.12em; color: #fff; margin: 0; }
.live-status .muted { margin: 0 0 16px; }
.live-status-btns { width: 100%; max-width: 380px; }
.live-status-btns form { flex: 1 1 0; margin: 0; display: flex; }
.session-form { margin-top: 24px; }
.admin-live { margin: 0 0 24px; }
.sub-section .row-list + .session-form { margin-top: 24px; }

@media (max-width: 960px) {
  .live-stage { grid-template-columns: 1fr; }
  .live-chat { display: none; }
  .live-chat-link { display: inline-flex; }
}
