@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Alegreya:ital,wght@0,400;0,500;0,700;1,400&display=swap');

.wdce-schedule-wrap {
  --accent:     #750606;
  --accent2:    #a80a0a;
  --border:     rgba(117,6,6,0.35);
  --border-dim: rgba(117,6,6,0.15);
  --muted:      #888;
  --muted-dim:  #aaa;
  --live:       #00E5A0;
  --live-dim:   rgba(0,229,160,0.07);
  --text:       #1a0a0a;

  font-family: 'Alegreya', serif;
  color: var(--text);
  padding: 72px 40px 90px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: visible;
}
.wdce-schedule-wrap *, .wdce-schedule-wrap *::before, .wdce-schedule-wrap *::after { box-sizing: border-box; }

/* Reels removed */

/* Header */
.wdce-pub-header {
  text-align: center;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  /* escape the theme content wrapper */
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.wdce-pub-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(12px,1.6vw,15px); letter-spacing: .5em; color: var(--accent2);
  display: block; margin-bottom: 2px;
  animation: wdceRise .8s cubic-bezier(.16,1,.3,1) .15s both;
}
.wdce-pub-station {
  font-family: 'Bebas Neue', sans-serif;
  font-size: calc(100vw / 5.5); overflow: visible; letter-spacing: .04em; line-height: .84;
  background: linear-gradient(160deg, #8a1010 0%, var(--accent2) 40%, var(--accent) 75%, #2a0202 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; position: relative;
  animation: wdceRise 1s cubic-bezier(.16,1,.3,1) 0s both;
}
.wdce-pub-station::after {
  content: attr(data-text);
  position: absolute; inset: 0; font-family: 'Bebas Neue', sans-serif;
  font-size: inherit; letter-spacing: .04em; line-height: .84;
  -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px rgba(117,6,6,.18);
  transform: translate(6px,6px); z-index: -1; pointer-events: none;
}
.wdce-pub-subtitle {
  font-family: 'Alegreya', serif; font-style: italic;
  font-size: clamp(13px,1.4vw,16px); letter-spacing: .18em; color: var(--muted);
  display: block; margin-top: 12px;
  animation: wdceRise .8s ease .4s both;
}
@keyframes wdceRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Waveform */
.wdce-waveform {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; height: 34px; margin: 22px auto 6px; width: fit-content;
  animation: wdceRise .8s ease .5s both;
}
.wdce-waveform span {
  display: block; width: 3px; border-radius: 3px;
  background: linear-gradient(to top, var(--accent), #c04040);
  animation: wdceBarAnim 1.7s ease-in-out infinite;
}
.wdce-waveform span:nth-child(1)  { height:7px;  animation-delay:.00s; }
.wdce-waveform span:nth-child(2)  { height:17px; animation-delay:.10s; }
.wdce-waveform span:nth-child(3)  { height:27px; animation-delay:.20s; }
.wdce-waveform span:nth-child(4)  { height:13px; animation-delay:.30s; }
.wdce-waveform span:nth-child(5)  { height:23px; animation-delay:.15s; }
.wdce-waveform span:nth-child(6)  { height:9px;  animation-delay:.25s; }
.wdce-waveform span:nth-child(7)  { height:21px; animation-delay:.05s; }
.wdce-waveform span:nth-child(8)  { height:15px; animation-delay:.35s; }
.wdce-waveform span:nth-child(9)  { height:11px; animation-delay:.40s; }
.wdce-waveform span:nth-child(10) { height:23px; animation-delay:.20s; }
.wdce-waveform span:nth-child(11) { height:7px;  animation-delay:.00s; }
@keyframes wdceBarAnim {
  0%,100% { transform: scaleY(.4); opacity: .3; }
  50%     { transform: scaleY(1.3); opacity: 1; }
}

/* Semester */
.wdce-pub-semester { text-align: center; margin: 12px 0 46px; position: relative; z-index: 1; animation: wdceRise .8s ease .6s both; }
.wdce-pub-semester-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: .24em; color: var(--accent2);
  border: 1px solid rgba(117,6,6,.4); padding: 10px 32px; border-radius: 2px; background: rgba(117,6,6,.07);
}
.wdce-semester-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); animation: wdceDotPulse 2.5s ease-in-out infinite; }
@keyframes wdceDotPulse { 0%,100%{opacity:.35;transform:scale(.75);}50%{opacity:1;transform:scale(1.2);} }

/* Nav */
.wdce-pub-nav {
  display: flex; justify-content: center; gap: 7px; flex-wrap: wrap;
  margin-bottom: 48px; position: relative; z-index: 1;
  animation: wdceRise .8s ease .72s both;
}
.wdce-pub-tab {
  font-family: 'Bebas Neue', sans-serif; font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
  background: none; border: 1px solid rgba(255,255,255,.1); color: var(--muted);
  padding: 10px 24px; border-radius: 2px; cursor: pointer;
  position: relative; overflow: hidden;
  transition: color .2s, border-color .2s, transform .15s;
}
.wdce-pub-tab::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity: 0; transition: opacity .2s;
}
.wdce-pub-tab span { position: relative; z-index: 1; }
.wdce-pub-tab:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.wdce-pub-tab:hover::before { opacity: .15; }
.wdce-pub-tab.active { border-color: var(--accent); color: var(--text); }
.wdce-pub-tab.active::before { opacity: .22; }
.wdce-pub-tab:active { transform: scale(.97); }

/* Panels */
.wdce-pub-panels {
  position: relative;
  z-index: 1;
  /* escape the WP theme container, center at 90vw */
  width: 82vw;
  max-width: 1400px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
}
.wdce-pub-panel { display: none; }
.wdce-pub-panel.active { display: block; animation: wdcePanelIn .36s cubic-bezier(.16,1,.3,1) both; }
@keyframes wdcePanelIn { from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);} }
.wdce-pub-day-label { font-family:'Bebas Neue',sans-serif;font-size:22px;letter-spacing:.3em;color:#aaa;text-transform:uppercase;margin-bottom:20px;padding-left:24px; }

/* Slot */
.wdce-pub-slot {
  display: grid; grid-template-columns: 240px 1fr auto;
  align-items: stretch; margin-bottom: 8px;
  border: 1px solid var(--border-dim); border-radius: 4px; background: transparent;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateX(-10px);
}
.wdce-pub-slot.wdce-in {
  opacity: 1; transform: translateX(0);
  transition: opacity .38s ease, transform .38s cubic-bezier(.16,1,.3,1), border-color .2s, background .2s, box-shadow .2s;
}
.wdce-pub-slot::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease; border-radius: 4px 0 0 4px;
}
.wdce-pub-slot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.025) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform .55s ease; pointer-events: none;
}
.wdce-pub-slot:hover { border-color: rgba(117,6,6,.5); background: rgba(117,6,6,.04); box-shadow: 0 3px 24px rgba(117,6,6,.08); }
.wdce-pub-slot:hover::before { transform: scaleX(1); }
.wdce-pub-slot:hover::after  { transform: translateX(100%); }

.wdce-pub-time-cell { padding:28px 60px 28px 40px;border-right:1px solid var(--border);display:flex;align-items:center; }
.wdce-pub-time { font-family:'Bebas Neue',sans-serif;font-size:42px;letter-spacing:.06em;color:var(--accent2);white-space:nowrap; }
.wdce-pub-info-cell { padding:32px 44px;display:flex;flex-direction:column;justify-content:center; }
.wdce-pub-dj   { font-family:'Alegreya',serif;font-size:17px;font-style:italic;color:#888;margin-top:6px; }
.wdce-pub-show { font-family:'Bebas Neue',sans-serif;font-size:34px;letter-spacing:.04em;color:#1a0a0a;line-height:1.1; }
.wdce-pub-badge-cell { padding:32px 44px 32px 16px;display:flex;align-items:center;justify-content:flex-end;gap:14px; }

.wdce-pub-live-badge {
  display: none; font-family:'Bebas Neue',sans-serif;font-size:10px;letter-spacing:.2em;text-transform:uppercase;
  background:var(--live);color:#000;padding:4px 10px;border-radius:2px;white-space:nowrap;
  animation:wdceLivePulse 2s ease-in-out infinite;
}
@keyframes wdceLivePulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,229,160,.55);}50%{box-shadow:0 0 0 7px rgba(0,229,160,0);} }

.wdce-pub-slot.is-live { border-color:rgba(0,229,160,.28);background:var(--live-dim); }
.wdce-pub-slot.is-live::before { background:var(--live);transform:scaleX(1); }
.wdce-pub-slot.is-live .wdce-pub-time { color:var(--live); }
.wdce-pub-slot.is-live .wdce-pub-time-cell { border-right-color:rgba(0,229,160,.18); }
.wdce-pub-slot.is-live .wdce-pub-live-badge { display:block; }

.wdce-pub-slot.empty-slot .wdce-pub-dj { color:var(--muted);font-style:italic;font-weight:400; }
.wdce-pub-slot.empty-slot .wdce-pub-time { color:var(--muted); }
.wdce-pub-slot.empty-slot .wdce-pub-time-cell { border-right-color:rgba(255,255,255,.06); }

.wdce-pub-divider { height:1px;margin:12px 0;background:linear-gradient(to right,transparent,rgba(117,6,6,.2),transparent); }

.wdce-pub-footer { font-family:'Alegreya',serif;font-style:italic;text-align:center;font-size:13px;letter-spacing:.14em;color:#aaa;margin-top:52px;position:relative;z-index:1; }

@media (max-width:700px) {
  .wdce-schedule-wrap { padding:44px 0 64px; }
  .wdce-reel-1,.wdce-reel-2 { display:none; }
  .wdce-pub-slot { grid-template-columns:120px 1fr;grid-template-rows:auto auto; }
  .wdce-pub-badge-cell { grid-column:1/-1;padding:8px 16px 14px;justify-content:flex-start;border-top:1px solid var(--border-dim); }
  .wdce-pub-time-cell { padding:18px 14px 18px 20px; }
  .wdce-pub-time { font-size:22px; }
  .wdce-pub-info-cell { padding:16px 18px; }
  .wdce-pub-dj { font-size:13px; }
  .wdce-pub-show { font-size:20px; }
  .wdce-pub-tab { padding:9px 15px;font-size:13px; }
}
@media (max-width:440px) {
  .wdce-pub-station { letter-spacing:.02em; }
  .wdce-pub-tab { padding:8px 12px;font-size:12px;letter-spacing:.14em; }
}

/* ── Drawer ── */
.wdce-pub-slot {
  grid-template-rows: auto 0fr;
}
.wdce-pub-drawer {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.16,1,0.3,1), opacity 0.28s ease;
  border-top: 0px solid var(--border-dim);
}
.wdce-pub-slot.wdce-expanded .wdce-pub-drawer {
  max-height: 220px;
  opacity: 1;
  border-top: 1px solid var(--border-dim);
}
.wdce-pub-drawer-inner {
  padding: 20px 44px 22px 260px;
  display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap;
}
.wdce-drawer-meta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.wdce-drawer-item { display: flex; flex-direction: column; gap: 3px; }
.wdce-drawer-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 9px; letter-spacing: 0.42em; color: var(--muted-dim); text-transform: uppercase;
}
.wdce-drawer-value { font-family: 'Alegreya', serif; font-size: 15px; color: var(--text); }
.wdce-drawer-bar {
  display: flex; align-items: center; gap: 3px; height: 22px;
  opacity: 0; transition: opacity 0.3s ease 0.18s;
}
.wdce-pub-slot.wdce-expanded .wdce-drawer-bar { opacity: 1; }
.wdce-drawer-bar-seg {
  display: block; width: 3px; border-radius: 3px;
  background: linear-gradient(to top, var(--accent), #c04040);
  animation: wdceBarAnim 1.7s ease-in-out infinite;
}
.wdce-drawer-bar-seg:nth-child(1) { height:5px;  animation-delay:0.00s; }
.wdce-drawer-bar-seg:nth-child(2) { height:12px; animation-delay:0.10s; }
.wdce-drawer-bar-seg:nth-child(3) { height:19px; animation-delay:0.20s; }
.wdce-drawer-bar-seg:nth-child(4) { height:9px;  animation-delay:0.30s; }
.wdce-drawer-bar-seg:nth-child(5) { height:16px; animation-delay:0.15s; }
.wdce-drawer-bar-seg:nth-child(6) { height:7px;  animation-delay:0.25s; }
.wdce-drawer-bar-seg:nth-child(7) { height:14px; animation-delay:0.05s; }
.wdce-drawer-bar-seg:nth-child(8) { height:10px; animation-delay:0.35s; }

/* ── Chevron ── */
.wdce-chevron {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; color: var(--muted-dim);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), color 0.2s;
  flex-shrink: 0;
}
.wdce-pub-slot.wdce-expanded .wdce-chevron { transform: rotate(180deg); color: var(--accent2); }
.wdce-pub-slot:not(.empty-slot) { cursor: pointer; }

/* ── Reactions in drawer ── */
.wdce-drawer-rx-wrap { display: flex; align-items: center; }
.wdce-drawer-reactions {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  opacity: 0; transition: opacity 0.3s ease 0.22s;
}
.wdce-pub-slot.wdce-expanded .wdce-drawer-reactions { opacity: 1; }

.wdce-rx-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 5px 12px 5px 8px;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  color: var(--muted);
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
}
.wdce-rx-btn:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px) scale(1.06);
}
.wdce-rx-btn.reacted {
  border-color: var(--accent);
  background: rgba(117,6,6,0.18);
}
.wdce-rx-img { display: flex; align-items: center; }
.wdce-rx-img img { width: 26px; height: 26px; object-fit: contain; border-radius: 4px; }
.wdce-rx-count { font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); min-width: 10px; }
.wdce-rx-btn.reacted .wdce-rx-count { color: var(--accent2); }

@keyframes wdcePop {
  0%   { transform: translateY(-2px) scale(1.06); }
  35%  { transform: translateY(-5px) scale(1.4); }
  65%  { transform: translateY(-1px) scale(0.92); }
  100% { transform: translateY(-2px) scale(1.06); }
}
.wdce-rx-btn.wdce-pop { animation: wdcePop 0.32s ease; }

/* Floating burst */
.wdce-burst {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 32px; height: 32px;
  animation: wdceBurstFloat 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}
.wdce-burst img { width: 100%; height: 100%; object-fit: contain; }
@keyframes wdceBurstFloat {
  0%   { opacity: 1; transform: translateY(0) scale(0.7) rotate(-8deg); }
  60%  { opacity: 1; transform: translateY(-55px) scale(1.4) rotate(8deg); }
  100% { opacity: 0; transform: translateY(-75px) scale(1.1) rotate(12deg); }
}

/* Mobile drawer adjustments */
@media (max-width: 700px) {
  .wdce-pub-drawer-inner { padding: 12px 16px 14px 16px; gap: 16px; flex-direction: column; }
}

.wdce-reel { display: none !important; }

/* ════════════════════════════════════════════════
   INTRO OVERLAY
   ════════════════════════════════════════════════ */
#wdce-intro {
  position: fixed; inset: 0; z-index: 99999;
  background: #0e0b0b;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
}
#wdce-intro::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}
.intro-skip {
  position: absolute; bottom: 32px; right: 40px;
  font-family: 'Bebas Neue', sans-serif; font-size: 13px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  opacity: 0; animation: wdceIntroFadeIn 0.6s ease 0.8s forwards;
}
.intro-station {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(18px, 3vw, 32px); letter-spacing: 0.6em; text-transform: uppercase;
  color: #a80a0a; margin-bottom: 8px;
  opacity: 0; transform: translateY(20px);
  animation: wdceIntroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}
.intro-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: calc(100vw / 5.5); letter-spacing: 0.04em; line-height: 0.84;
  color: transparent; position: relative;
  -webkit-text-stroke: 2px rgba(168,10,10,0.5);
  animation:
    wdceIntroStroke 0.5s ease 0.7s forwards,
    wdceIntroFill   0.6s ease 1.2s forwards;
}
.intro-freq {
  font-family: 'Alegreya', serif; font-style: italic;
  font-size: clamp(14px, 1.8vw, 20px); letter-spacing: 0.22em;
  color: rgba(255,255,255,0.4); margin-top: 20px;
  opacity: 0; animation: wdceIntroFadeIn 0.6s ease 1.6s forwards;
}
.intro-wave {
  display: flex; align-items: center; gap: 4px; height: 40px; margin-top: 28px;
  opacity: 0; animation: wdceIntroFadeIn 0.6s ease 1.8s forwards;
}
.intro-wave span {
  display: block; width: 4px; border-radius: 4px;
  background: #a80a0a; animation: wdceIntroBar 1.4s ease-in-out infinite;
}
.intro-wave span:nth-child(1)  { height:6px;  animation-delay:0.00s; }
.intro-wave span:nth-child(2)  { height:18px; animation-delay:0.08s; }
.intro-wave span:nth-child(3)  { height:32px; animation-delay:0.16s; }
.intro-wave span:nth-child(4)  { height:14px; animation-delay:0.24s; }
.intro-wave span:nth-child(5)  { height:26px; animation-delay:0.12s; }
.intro-wave span:nth-child(6)  { height:8px;  animation-delay:0.20s; }
.intro-wave span:nth-child(7)  { height:22px; animation-delay:0.04s; }
.intro-wave span:nth-child(8)  { height:16px; animation-delay:0.28s; }
.intro-wave span:nth-child(9)  { height:10px; animation-delay:0.32s; }
.intro-wave span:nth-child(10) { height:28px; animation-delay:0.16s; }
.intro-wave span:nth-child(11) { height:6px;  animation-delay:0.00s; }
.intro-scan {
  position: absolute; left: 0; right: 0; height: 2px; top: -2px;
  background: linear-gradient(to right, transparent 0%, rgba(168,10,10,0.15) 20%, rgba(168,10,10,0.5) 50%, rgba(168,10,10,0.15) 80%, transparent 100%);
  animation: wdceIntroScan 1.6s ease 0.5s forwards; pointer-events: none;
}
#wdce-intro.intro-exit { animation: wdceIntroExit 0.9s cubic-bezier(0.76,0,0.24,1) forwards !important; }
body.wdce-intro-active { overflow: hidden; }

@keyframes wdceIntroFadeUp  { from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:translateY(0);} }
@keyframes wdceIntroFadeIn  { from{opacity:0;}to{opacity:1;} }
@keyframes wdceIntroStroke  { from{-webkit-text-stroke:2px rgba(168,10,10,0);}to{-webkit-text-stroke:2px rgba(168,10,10,0.7);} }
@keyframes wdceIntroFill    { from{color:transparent;-webkit-text-stroke:2px rgba(168,10,10,0.7);}to{color:#a80a0a;-webkit-text-stroke:2px rgba(168,10,10,0);text-shadow:0 0 120px rgba(168,10,10,0.3);} }
@keyframes wdceIntroScan    { 0%{top:-2px;opacity:0;}5%{opacity:1;}95%{opacity:0.6;}100%{top:102%;opacity:0;} }
@keyframes wdceIntroExit    { 0%{transform:translateY(0);opacity:1;}100%{transform:translateY(-100%);opacity:1;} }
@keyframes wdceIntroBar     { 0%,100%{transform:scaleY(0.35);opacity:0.4;}50%{transform:scaleY(1.3);opacity:1;} }
