:root {
  --ink: #08070b;
  --ink-2: #0d0b11;
  --panel: #131017;
  --paper: #f4f0e6;
  --muted: #938c9b;
  --muted-2: #6c6573;
  --line: rgba(244, 240, 230, 0.12);
  --line-strong: rgba(244, 240, 230, 0.22);
  --lime: #d9ff57;
  --pink: #ff4f7b;
  --silver: #c9d2e2;
  --display: Impact, "Arial Black", "Microsoft YaHei", "PingFang SC", sans-serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --mono: Bahnschrift, "DIN Alternate", "Arial Narrow", "Roboto Condensed", monospace;
  --max: 1200px;
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: #332e3b;
  border: 2px solid var(--ink);
}

/* ---------- atmosphere ---------- */

.ambient {
  --poster: none;
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 8%, rgba(217, 255, 87, 0.09), transparent 32%),
    radial-gradient(circle at 10% 76%, rgba(255, 79, 123, 0.055), transparent 36%),
    linear-gradient(135deg, #08070b 0%, #0b0910 52%, #08070b 100%);
}

.ambient::before {
  content: "";
  position: absolute;
  top: -18vh;
  right: -14vw;
  width: min(76vw, 980px);
  aspect-ratio: 3 / 4;
  background-image: var(--poster);
  background-size: cover;
  background-position: center;
  filter: blur(55px) saturate(0.75);
  opacity: 0.17;
  transform: rotate(-5deg) scale(1.06);
  transition: background-image 0.5s ease, opacity 0.5s ease;
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 11, 0.97) 0%, rgba(8, 7, 11, 0.62) 48%, rgba(8, 7, 11, 0.8) 100%),
    linear-gradient(0deg, #08070b 0%, transparent 28%, transparent 80%, rgba(8, 7, 11, 0.55) 100%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.24;
  mix-blend-mode: soft-light;
  background-image: url("/assets/noise.png");
  background-size: 180px 180px;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px;
  background: linear-gradient(180deg, rgba(8, 7, 11, 0.94), rgba(8, 7, 11, 0.78));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 240, 230, 0.08);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-word {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-word .slash {
  color: var(--lime);
  margin: 0 1px;
}

.brand-sub {
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.clock {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.clock-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(217, 255, 87, 0.08);
}

.clock-zone {
  color: var(--muted-2);
  font-size: 9px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ghost-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* ---------- app shell ---------- */

.app {
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 84px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 32px 90px;
}

.app.is-list {
  display: block;
  max-width: 980px;
  padding-top: 58px;
}

.hero {
  position: sticky;
  top: 104px;
  align-self: start;
  min-width: 0;
}

.feed {
  min-width: 0;
}

/* ---------- hero ---------- */

.kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker .kicker-line {
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.kicker .kicker-muted {
  color: var(--muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid currentColor;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-badge.live {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.status-badge.ended {
  color: var(--muted);
}

.badge-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.4s steps(1) infinite;
}

.show-title {
  margin: 22px 0 18px;
  font-family: var(--display);
  font-size: clamp(64px, 7vw, 98px);
  font-weight: 900;
  line-height: 0.83;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.show-title .vol {
  display: block;
  margin-top: 0.2em;
  color: var(--lime);
  font-size: 0.32em;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.show-title.cjk {
  font-family: var(--sans);
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.poster-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(217, 255, 87, 0.04) 0 8px, transparent 8px 16px),
    #17131e;
  color: var(--lime);
  font-family: var(--display);
  font-size: 24px;
}

.poster-fallback small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.show-title .title-ja {
  font-family: var(--sans);
  font-size: 0.68em;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

.show-subtitle {
  max-width: 370px;
  margin: 0 0 24px;
  color: #c4bdc9;
  font-size: 14px;
  line-height: 1.75;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.meta-line strong {
  color: var(--paper);
  font-weight: 400;
}

.hero-bottom {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 28px;
}

.poster-stage {
  position: relative;
  flex: 0 0 min(252px, 66%);
  margin: 0;
}

.poster-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 230, 0.24);
  background: #14111a;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 0 6px rgba(244, 240, 230, 0.025);
  transform: rotate(-2.2deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.35s ease;
}

.poster-frame::after {
  content: "VIEW POSTER ↗";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 12px 10px;
  background: linear-gradient(0deg, rgba(8, 7, 11, 0.9), transparent);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.poster-frame:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--lime);
}

.poster-frame:hover img {
  transform: scale(1.03);
}

.poster-frame:hover::after {
  opacity: 1;
}

.poster-badge {
  position: absolute;
  top: -18px;
  right: -20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.poster-badge span {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.03em;
}

.hero-facts {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding-top: 2px;
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.fact span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact b {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: right;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 5px;
}

.mobile-quick {
  display: none;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
}

.mobile-quick .btn {
  flex: 1;
}

.mobile-quick-note {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  background: rgba(244, 240, 230, 0.025);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(217, 255, 87, 0.05);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.btn.primary:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn.wide {
  width: 100%;
}

.btn .btn-arrow {
  font-size: 13px;
}

/* ---------- live alert ---------- */

.live-alert {
  grid-column: 1 / -1;
  padding: 15px 18px 16px;
  border: 1px solid rgba(255, 79, 123, 0.5);
  border-left: 4px solid var(--pink);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 79, 123, 0.13), transparent 42%),
    #151017;
  box-shadow: 0 0 0 1px rgba(255, 79, 123, 0.05), 0 12px 40px rgba(0, 0, 0, 0.18);
}

.live-alert.level-warning {
  border-color: rgba(255, 196, 87, 0.52);
  border-left-color: #ffc457;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 196, 87, 0.12), transparent 42%),
    #17140e;
}

.live-alert.level-info {
  border-color: rgba(217, 255, 87, 0.42);
  border-left-color: var(--lime);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 255, 87, 0.1), transparent 42%),
    #11150e;
}

.live-alert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.live-alert-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.live-alert.level-warning .live-alert-tag {
  color: #ffc457;
}

.live-alert.level-info .live-alert-tag {
  color: var(--lime);
}

.live-alert-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: ping 1.6s ease-out infinite;
}

.live-alert-time {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
}

.live-alert p {
  margin: 0;
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

/* ---------- announcement ---------- */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 79, 123, 0.26);
  border-left: 2px solid var(--pink);
  background: rgba(255, 79, 123, 0.055);
  color: #d9cbd2;
  font-size: 11px;
  line-height: 1.65;
}

.notice-label {
  flex: 0 0 auto;
  padding-top: 1px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

/* ---------- now card ---------- */

.now-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 25px 28px 22px;
  border: 1px solid rgba(244, 240, 230, 0.18);
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 255, 87, 0.08), transparent 34%),
    #141119;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.now-card.performing {
  color: var(--ink);
  border-color: var(--lime);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 40%),
    var(--lime);
}

.now-card.performing::before {
  content: "TT";
  position: absolute;
  right: -10px;
  bottom: -58px;
  z-index: -1;
  color: rgba(8, 7, 11, 0.055);
  font-family: var(--display);
  font-size: 230px;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.now-card.break {
  color: var(--ink);
  border-color: var(--pink);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.14), transparent 46%),
    var(--pink);
}

.now-card.break::before,
.now-card.upcoming::before {
  content: "NEXT";
  position: absolute;
  right: -22px;
  bottom: -38px;
  z-index: -1;
  color: rgba(8, 7, 11, 0.055);
  font-family: var(--display);
  font-size: 150px;
  letter-spacing: -0.03em;
  pointer-events: none;
}

.now-card.upcoming {
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 255, 87, 0.13), transparent 40%),
    #131017;
}

.now-card.upcoming::before {
  color: rgba(217, 255, 87, 0.06);
}

.now-card.ended {
  background:
    linear-gradient(135deg, rgba(255, 79, 123, 0.06), transparent 48%),
    #121016;
  border-color: var(--line);
}

.now-card.ended::before {
  content: "END";
  position: absolute;
  right: -16px;
  bottom: -38px;
  z-index: -1;
  color: rgba(244, 240, 230, 0.035);
  font-family: var(--display);
  font-size: 150px;
  pointer-events: none;
}

.now-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-label .live-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.now-card.performing .live-label .live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: ping 1.8s ease-out infinite;
}

.tt-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 11px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.03em;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 rgba(8, 7, 11, 0.18);
  white-space: nowrap;
}

.now-card.break .tt-badge {
  background: var(--ink);
  color: var(--pink);
}

.now-card.upcoming .tt-badge,
.now-card.ended .tt-badge {
  background: var(--lime);
  color: var(--ink);
  box-shadow: none;
}

.now-body {
  margin: 25px 0 22px;
}

.now-seq {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: currentColor;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.now-seq b {
  font-size: 15px;
  font-weight: 400;
}

.now-name {
  max-width: 94%;
  margin: 8px 0 3px;
  font-family: var(--sans);
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.now-name.is-long {
  font-size: clamp(32px, 4.3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.now-card.performing .now-name {
  font-family: var(--sans);
}

.now-roman {
  margin: 0;
  color: currentColor;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0.58;
  text-transform: uppercase;
}

.now-timing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid currentColor;
  border-color: rgba(8, 7, 11, 0.22);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.now-card.upcoming .now-timing,
.now-card.ended .now-timing {
  border-color: var(--line);
  color: var(--muted);
}

.now-clock {
  font-weight: 700;
}

.now-clock.is-overrun {
  color: #8f1536;
}

.now-progress {
  position: relative;
  height: 11px;
  margin: 12px 0 7px;
  border: 1px solid rgba(8, 7, 11, 0.55);
  background: rgba(8, 7, 11, 0.12);
  overflow: hidden;
}

.now-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
  transition: width 0.9s linear, background 0.3s ease;
}

.now-progress.overrun i {
  background: repeating-linear-gradient(
    -45deg,
    var(--pink) 0,
    var(--pink) 5px,
    #d62d5d 5px,
    #d62d5d 10px
  );
}

.now-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(8, 7, 11, 0.64);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-strip {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 19px;
  padding-top: 13px;
  border-top: 1px dashed rgba(8, 7, 11, 0.32);
  font-size: 12px;
}

.next-strip .next-label {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  opacity: 0.58;
}

.next-strip b {
  font-weight: 700;
}

.next-strip .next-time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
  opacity: 0.65;
}

/* upcoming / break / ended variants */

.big-countdown {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.countdown-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.now-card.break .countdown-caption {
  color: rgba(8, 7, 11, 0.68);
}

.now-card.break .now-name {
  max-width: 100%;
}

.now-card.break .now-seq,
.now-card.upcoming .now-seq {
  opacity: 0.55;
}

.ended-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.ended-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.ended-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ended-stats span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.ended-stats b {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
}

.ended-stats b small {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.08em;
}

/* ---------- metrics ---------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 13px;
  border: 1px solid var(--line);
  background: rgba(19, 16, 23, 0.66);
  backdrop-filter: blur(8px);
}

.metric {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px 13px;
}

.metric + .metric {
  border-left: 1px solid var(--line);
}

.metric span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.metric b {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.metric b small {
  color: var(--muted-2);
  font-size: 10px;
}

.metric b.accent {
  color: var(--lime);
}

.metric b.negative {
  color: var(--silver);
}

/* ---------- timeline ---------- */

.timeline {
  margin-top: 32px;
}

.timeline-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.timeline-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.timeline-head p {
  margin: 5px 0 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.timeline-sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.timeline-sync i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  transition: background 0.2s ease;
}

.timeline-sync.is-stale i {
  background: var(--pink);
}

.entry-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry {
  display: grid;
  grid-template-columns: 55px 17px minmax(0, 1fr) auto;
  gap: 0;
  align-items: stretch;
  position: relative;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.entry-time {
  padding-top: 1px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.entry-time small {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.entry-rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.entry-rail::before {
  content: "";
  position: absolute;
  top: -15px;
  bottom: -15px;
  left: 50%;
  width: 1px;
  background: var(--line);
}

.entry:first-child .entry-rail::before {
  top: 50%;
}

.entry:last-child .entry-rail::before {
  bottom: 50%;
}

.entry-dot {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border: 1px solid var(--muted-2);
  border-radius: 50%;
  background: var(--ink);
}

.entry-body {
  min-width: 0;
  padding: 0 12px 0 6px;
}

.entry-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 19px;
}

.entry-name h3 {
  margin: 0;
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.entry-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  border: 1px solid rgba(244, 240, 230, 0.16);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.entry-tag.live {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.entry-tag.special {
  border-color: rgba(255, 79, 123, 0.45);
  color: var(--pink);
}

.entry-sub {
  margin-top: 3px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.entry-sub s {
  color: #5e5865;
}

.entry-sub .delta-pos {
  color: var(--pink);
}

.entry-sub .delta-neg {
  color: var(--silver);
}

.entry-duration {
  padding-top: 1px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-align: right;
  white-space: nowrap;
}

.entry.done .entry-name h3 {
  color: #aaa3b0;
}

.entry.done .entry-time {
  color: var(--muted-2);
}

.entry.done .entry-dot {
  background: #514b5a;
  border-color: #514b5a;
}

.entry.live {
  margin: 0 -12px;
  padding: 15px 12px;
  border-color: transparent;
  background: linear-gradient(90deg, rgba(217, 255, 87, 0.105), transparent 74%);
}

.entry.live::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 2px;
  background: var(--lime);
}

.entry.live .entry-time {
  color: var(--lime);
}

.entry.live .entry-name h3 {
  color: var(--paper);
}

.entry.live .entry-dot {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(217, 255, 87, 0.12);
}

.entry.upcoming .entry-dot {
  border-color: #645d6d;
}

.entry.is-next .entry-dot {
  border-color: var(--lime);
}

.entry.is-next .entry-time {
  color: var(--paper);
}

.entry.skipped {
  opacity: 0.4;
}

.entry.special .entry-name h3 {
  color: #ffabc0;
}

.entry-now-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 3px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.entry-now-line::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.2s steps(1) infinite;
}

.timeline-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend b {
  color: var(--lime);
  font-weight: 400;
}

/* ---------- hero share / footer ---------- */

.feed-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr;
  gap: 8px;
  margin-top: 22px;
}

.feed-actions.two {
  grid-template-columns: 1fr 1fr;
}

.feed-actions .btn {
  min-height: 44px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer-mid {
  margin-left: auto;
}

.site-footer a {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* ---------- show list ---------- */

.list-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-strong);
}

.list-head .kicker {
  margin-bottom: 16px;
}

.list-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(66px, 9vw, 120px);
  line-height: 0.8;
  text-transform: uppercase;
}

.list-title span {
  color: var(--lime);
}

.list-sub {
  max-width: 330px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.list-stat {
  align-self: start;
  padding-top: 36px;
  text-align: right;
}

.list-stat b {
  display: block;
  color: var(--lime);
  font-family: var(--display);
  font-size: 52px;
  font-weight: 400;
  line-height: 0.9;
}

.list-stat span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.list-section {
  margin-top: 38px;
}

.list-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.list-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.show-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding 0.2s ease;
}

.show-card:hover {
  background: rgba(244, 240, 230, 0.035);
}

.show-card.is-live {
  margin: 0 -18px 8px;
  padding: 14px 18px;
  border: 1px solid var(--lime);
  background: var(--lime);
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.show-card.is-live:hover {
  background: #e3ff7f;
}

.show-thumb {
  position: relative;
  width: 88px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #17131e;
  border: 1px solid var(--line);
}

.show-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
}

.show-card.is-live .show-thumb {
  border-color: rgba(8, 7, 11, 0.45);
  box-shadow: 4px 4px 0 rgba(8, 7, 11, 0.18);
}

.show-card.is-live .show-thumb img {
  filter: saturate(1.05);
}

.show-thumb .no-poster {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.show-card-body {
  min-width: 0;
}

.show-card-date {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.show-card.is-live .show-card-date {
  color: rgba(8, 7, 11, 0.58);
}

.show-card-title {
  margin: 4px 0 2px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(25px, 3.3vw, 38px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.show-card.is-live .show-card-title {
  color: var(--ink);
}

.show-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--muted-2);
  font-size: 10px;
}

.show-card.is-live .show-card-meta {
  color: rgba(8, 7, 11, 0.62);
}

.show-card-meta strong {
  font-weight: 400;
}

.show-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.show-card.is-live .show-card-side {
  color: rgba(8, 7, 11, 0.72);
}

.show-card-side .side-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid currentColor;
}

.show-card.is-live .side-status {
  border-color: var(--ink);
  color: var(--ink);
}

.show-card-side .side-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.show-card:hover .side-arrow {
  transform: translate(2px, -2px);
}

/* ---------- audience nav ---------- */

.audience-nav {
  gap: 18px;
}

.audience-nav a {
  padding: 4px 0 5px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.audience-nav a:hover,
.audience-nav a.active {
  color: var(--paper);
  border-bottom-color: var(--lime);
}

.audience-nav a span {
  font-size: 9px;
}

/* ---------- my run / personal schedule ---------- */

.app.is-my {
  display: block;
  max-width: 980px;
  padding-top: 48px;
}

.my-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.my-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.my-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 8.4vw, 112px);
  line-height: 0.8;
  text-transform: uppercase;
}

.my-title span {
  color: var(--lime);
}

.my-all-link {
  display: inline-flex;
  flex-shrink: 0;
  gap: 8px;
  margin-bottom: 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.my-all-link:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.my-sub {
  max-width: 460px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.my-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgba(244, 240, 230, 0.025);
}

.my-summary-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 96px;
}

.my-summary-count b {
  color: var(--lime);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.9;
}

.my-summary-count span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.my-summary-next {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.my-summary-next strong,
.my-summary-next .my-live-mark {
  color: var(--lime);
}

.my-clear {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.my-clear:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.my-groups {
  margin-top: 34px;
}

.my-date-group {
  margin-bottom: 32px;
}

.my-date-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.my-date-head b {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.my-date-head span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
}

.my-date-list {
  display: flex;
  flex-direction: column;
}

.my-show {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.my-show-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}

.my-show.is-live .my-show-main {
  margin: 0 -16px;
  padding: 14px 16px;
  background: var(--lime);
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.my-show-link {
  display: grid;
  flex: 1;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  color: inherit;
}

.my-show-thumb {
  width: 64px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #17131e;
}

.my-show.is-live .my-show-thumb {
  border-color: rgba(8, 7, 11, 0.45);
}

.my-show-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-show-thumb .no-poster {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
}

.my-show-copy {
  min-width: 0;
}

.my-show-status {
  margin-bottom: 3px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.my-show.is-live .my-show-status {
  color: var(--ink);
  font-weight: 700;
}

.my-show-copy h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.my-show.is-live .my-show-copy h3 {
  color: var(--ink);
}

.my-show-meta,
.my-show-venue {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
}

.my-show.is-live .my-show-meta,
.my-show.is-live .my-show-venue {
  color: rgba(8, 7, 11, 0.82);
  font-weight: 500;
}

.my-add {
  flex-shrink: 0;
  min-width: 76px;
  margin-top: 2px;
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.my-add:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.my-add.is-added {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.my-show.is-live .my-add {
  border-color: var(--ink);
  color: var(--ink);
}

.my-show.is-live .my-add.is-added {
  background: var(--ink);
  color: var(--lime);
}

/* ---------- inline alert under a show ---------- */

.show-alert {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 9px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 79, 123, 0.48);
  border-left: 4px solid var(--pink);
  background: rgba(255, 79, 123, 0.09);
}

.show-alert.level-warning {
  border-color: rgba(255, 196, 87, 0.4);
  border-left-color: #ffc457;
  background: rgba(255, 196, 87, 0.07);
}

.show-alert.level-info {
  border-color: rgba(217, 255, 87, 0.35);
  border-left-color: var(--lime);
  background: rgba(217, 255, 87, 0.055);
}

.show-alert-tag {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 5px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.show-alert.level-warning .show-alert-tag {
  color: #ffc457;
}

.show-alert.level-info .show-alert-tag {
  color: var(--lime);
}

.show-alert-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.show-alert-text {
  flex: 1;
  min-width: 0;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.show-alert-time {
  flex-shrink: 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
}

.show-unit .show-alert {
  margin-top: 7px;
  margin-bottom: 10px;
}

/* live card small text: keep enough contrast on lime */
.show-card.is-live .show-card-date {
  color: rgba(8, 7, 11, 0.88);
  font-size: 10px;
  font-weight: 600;
}

.show-card.is-live .show-card-meta {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.show-card.is-live .show-card-side {
  color: rgba(8, 7, 11, 0.92);
  font-size: 9px;
  font-weight: 600;
}

.list-empty {
  padding: 56px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------- states ---------- */

.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52vh;
  gap: 14px;
}

.loading-mark {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: 0.02em;
}

.loading-mark span {
  color: var(--lime);
}

.loading-line {
  width: 220px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.loading-line i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--lime);
  animation: load 1.2s ease-in-out infinite;
}

.loading-state p {
  margin: 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.state-page {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 56vh;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px 0;
}

.state-code {
  color: var(--lime);
  font-family: var(--display);
  font-size: clamp(94px, 18vw, 190px);
  line-height: 0.78;
}

.state-page h1 {
  margin: 24px 0 8px;
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.state-page p {
  max-width: 420px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skeleton {
  animation: pulse 1.3s ease-in-out infinite;
}

/* ---------- modal ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(4, 3, 6, 0.9);
  backdrop-filter: blur(12px);
  animation: fade 0.2s ease both;
}

.modal-panel {
  display: flex;
  flex-direction: column;
  width: min(900px, 100%);
  max-height: 92vh;
  border: 1px solid rgba(244, 240, 230, 0.2);
  background: #0c0a10;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-tabs {
  display: flex;
  gap: 4px;
}

.modal-tab {
  padding: 7px 11px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-tab.active {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.modal-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.modal-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  justify-content: center;
  background:
    linear-gradient(45deg, rgba(244, 240, 230, 0.018) 25%, transparent 25%) 0 0 / 20px 20px,
    #0a090d;
}

.modal-body img {
  width: min(100%, 700px);
  height: auto;
  object-fit: contain;
  align-self: flex-start;
}

.modal-empty {
  padding: 80px 24px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border: 1px solid var(--lime);
  background: var(--ink);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 200;
  padding: 14px;
  border: 1px solid var(--pink);
  background: var(--ink);
  color: var(--pink);
  font-size: 12px;
  text-align: center;
}

/* ---------- animations ---------- */

@keyframes blink {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0.22; }
}

@keyframes ping {
  0% { transform: scale(0.8); opacity: 0.8; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes load {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(360%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .app {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 38px;
  }

  .hero {
    position: static;
  }

  .show-title {
    font-size: clamp(64px, 13vw, 100px);
    max-width: 680px;
  }

  .show-subtitle {
    max-width: 520px;
  }

  .hero-bottom {
    max-width: 580px;
  }

  .poster-stage {
    flex-basis: 230px;
  }

  .feed {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 15px 18px;
    gap: 12px;
  }

  .brand-word {
    font-size: 25px;
  }

  .brand-sub {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .top-right {
    gap: 12px;
  }

  .audience-nav {
    gap: 12px;
  }

  .audience-nav a {
    font-size: 9px;
    letter-spacing: 0.04em;
    padding-bottom: 3px;
  }

  .app {
    padding: 30px 18px 64px;
    gap: 30px;
  }

  .app.is-list,
  .app.is-my {
    padding-top: 36px;
  }

  .my-head {
    padding-bottom: 18px;
  }

  .my-title {
    font-size: clamp(58px, 19vw, 80px);
  }

  .my-all-link {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .my-sub {
    margin-top: 14px;
    font-size: 11px;
  }

  .my-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    margin-top: 16px;
    padding: 11px;
  }

  .my-summary-count {
    min-width: 76px;
    gap: 5px;
  }

  .my-summary-count b {
    font-size: 30px;
  }

  .my-summary-next {
    font-size: 10px;
  }

  .my-groups {
    margin-top: 26px;
  }

  .my-date-group {
    margin-bottom: 26px;
  }

  .my-show-main {
    gap: 10px;
    padding: 11px 0;
  }

  .my-show.is-live .my-show-main {
    margin: 0 -18px;
    padding: 13px 18px;
  }

  .my-show-link {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 11px;
  }

  .my-show-thumb {
    width: 56px;
  }

  .my-show-copy h3 {
    font-size: 22px;
  }

  .my-show-status {
    font-size: 8px;
  }

  .my-show-meta,
  .my-show-venue {
    font-size: 11px;
  }

  .my-add {
    min-width: 66px;
    padding: 6px 7px;
    font-size: 8px;
  }

  .show-alert {
    flex-wrap: wrap;
    gap: 4px 7px;
    padding: 8px 9px;
  }

  .show-alert-text {
    flex-basis: calc(100% - 72px);
    font-size: 11px;
  }

  .show-alert-time {
    margin-left: auto;
  }

  .kicker {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .status-badge {
    padding: 4px 7px;
    font-size: 8px;
  }

  .show-title {
    margin: 18px 0 14px;
    font-size: clamp(54px, 16.5vw, 76px);
    line-height: 0.84;
  }

  .show-title .vol {
    font-size: 0.34em;
    margin-top: 0.16em;
  }

  .show-subtitle {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .meta-line {
    padding: 10px 0;
    font-size: 9px;
    line-height: 1.6;
  }

  .hero-bottom {
    display: none;
  }

  .mobile-quick {
    display: flex;
  }

  .poster-stage {
    flex-basis: 164px;
  }

  .poster-badge {
    top: -14px;
    right: -14px;
    width: 58px;
    height: 58px;
    font-size: 8px;
  }

  .poster-badge span {
    font-size: 13px;
  }

  .fact b {
    font-size: 13px;
  }

  .fact {
    padding-bottom: 5px;
  }

  .hero-actions {
    gap: 5px;
    margin-top: 3px;
  }

  .btn {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 8px;
  }

  .notice {
    margin-bottom: 12px;
    padding: 9px 11px;
    font-size: 10px;
    gap: 8px;
  }

  .notice-label {
    font-size: 7px;
  }

  .now-card {
    padding: 20px 20px 18px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%);
  }

  .tt-badge {
    padding: 5px 8px;
    font-size: 23px;
  }

  .now-body {
    margin: 20px 0 18px;
  }

  .now-name {
    font-size: clamp(35px, 10vw, 46px);
    margin-top: 7px;
  }

  .now-name.is-long {
    font-size: 30px;
    line-height: 1.14;
  }

  .now-roman {
    font-size: 9px;
  }

  .now-timing {
    font-size: 10px;
  }

  .now-progress {
    height: 9px;
  }

  .now-progress-meta {
    font-size: 8px;
  }

  .next-strip {
    margin-top: 15px;
    padding-top: 11px;
    font-size: 11px;
  }

  .big-countdown {
    font-size: 44px;
  }

  .metrics {
    margin-top: 10px;
  }

  .metric {
    padding: 11px 10px;
  }

  .metric span {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .metric b {
    font-size: 21px;
  }

  .timeline {
    margin-top: 26px;
  }

  .timeline-head h2 {
    font-size: 22px;
  }

  .timeline-sync {
    font-size: 8px;
  }

  .entry {
    grid-template-columns: 47px 15px minmax(0, 1fr) auto;
    padding: 12px 0;
  }

  .entry.live {
    margin: 0 -8px;
    padding: 13px 8px;
  }

  .entry-time {
    font-size: 13px;
  }

  .entry-name h3 {
    font-size: 14px;
  }

  .entry-tag {
    font-size: 6px;
    padding: 2px 4px;
  }

  .entry-sub {
    font-size: 9px;
  }

  .entry-duration {
    font-size: 9px;
  }

  .timeline-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 8px;
  }

  .feed-actions {
    grid-template-columns: 1fr 1fr;
  }

  .feed-actions .btn:last-child {
    grid-column: 1 / -1;
  }

  .feed-actions.two .btn:last-child {
    grid-column: auto;
  }

  .live-alert {
    padding: 13px 14px 14px;
  }

  .live-alert p {
    font-size: 14px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 16px 18px 24px;
    gap: 8px 16px;
    font-size: 7px;
  }

  .site-footer-mid {
    display: none;
  }

  .list-head {
    display: block;
    padding-bottom: 22px;
  }

  .list-title {
    font-size: clamp(64px, 20vw, 92px);
  }

  .list-sub {
    margin-top: 14px;
    font-size: 11px;
  }

  .list-stat {
    display: none;
  }

  .list-section {
    margin-top: 28px;
  }

  .show-card {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 11px 0;
  }

  .show-card.is-live {
    margin: 0 -10px 6px;
    padding: 11px 10px;
  }

  .show-thumb {
    width: 68px;
  }

  .show-card-title {
    font-size: clamp(22px, 6.4vw, 30px);
  }

  .show-card-date {
    font-size: 8px;
  }

  .show-card-meta {
    font-size: 9px;
  }

  .show-card-side {
    font-size: 7px;
  }

  .show-card.is-live .show-card-date {
    font-size: 11px;
  }

  .show-card.is-live .show-card-meta {
    font-size: 12px;
  }

  .show-card.is-live .show-card-side {
    font-size: 9px;
  }

  .show-card-side .side-arrow {
    font-size: 15px;
  }

  .modal-backdrop {
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
  }

  .modal-body img {
    width: 100%;
  }

  .toast {
    bottom: 20px;
  }
}

@media (max-width: 370px) {
  .brand-sub {
    display: none;
  }

  .clock {
    display: none;
  }

  .show-title {
    font-size: 50px;
  }

  .poster-stage {
    flex-basis: 145px;
  }

  .now-name {
    font-size: 33px;
  }

  .metric b {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
