:root {
  color-scheme: dark;
  --void: #030604;
  --black-green: #06100b;
  --deep-green: #0a1811;
  --moss: #12241a;
  --panel: rgba(6, 14, 10, 0.88);
  --panel-strong: rgba(8, 18, 13, 0.96);
  --panel-soft: rgba(14, 31, 22, 0.74);
  --line: rgba(155, 255, 186, 0.13);
  --line-strong: rgba(155, 255, 186, 0.26);
  --text: #f4f7ef;
  --muted: #87998b;
  --muted-strong: #b2c0b4;
  --toxic: #9cff3b;
  --toxic-soft: #5eff73;
  --toxic-glow: rgba(131, 255, 55, 0.34);
  --ember: #ff7a1f;
  --ember-soft: #ffd196;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  --bottom-nav-height: 76px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: var(--void);
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% -10%, rgba(105, 255, 80, 0.16), transparent 32rem),
    radial-gradient(circle at 78% 18%, rgba(255, 98, 22, 0.11), transparent 18rem),
    linear-gradient(180deg, #06110c 0%, #020403 52%, #050a07 100%);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  mix-blend-mode: screen;
}

button {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1, 4, 2, 0) 0%, rgba(1, 4, 2, 0.72) 66%, rgba(1, 4, 2, 0.98) 100%),
    radial-gradient(ellipse at 48% 4%, rgba(128, 255, 57, 0.15), transparent 30rem);
}

.mist {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.38;
}

.mist-a {
  left: -13rem;
  top: 12rem;
  background: rgba(48, 161, 93, 0.2);
}

.mist-b {
  right: -17rem;
  top: 2rem;
  background: rgba(120, 255, 56, 0.13);
}

.ember {
  position: absolute;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  filter: blur(34px);
  background: rgba(255, 93, 27, 0.18);
}

.ember-a {
  right: 12%;
  top: 23rem;
}

.ember-b {
  left: 8%;
  bottom: 5rem;
  opacity: 0.7;
}

.tree-line {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 38vh;
  opacity: 0.72;
  background:
    linear-gradient(122deg, transparent 0 43%, #020503 44% 48%, transparent 49%) 0 100% / 78px 100% repeat-x,
    linear-gradient(106deg, transparent 0 40%, #030805 41% 47%, transparent 48%) 18px 100% / 96px 88% repeat-x,
    linear-gradient(180deg, transparent 0%, rgba(2, 5, 3, 0.92) 45%, #010201 100%);
}

.app-shell {
  position: relative;
  width: min(1120px, calc(100% - 24px));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top)) 0 calc(var(--bottom-nav-height) + 28px + env(safe-area-inset-bottom));
}

.glass {
  background:
    linear-gradient(180deg, rgba(18, 32, 24, 0.78), rgba(4, 10, 7, 0.92)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero,
.topbar,
.card,
.festival-notice,
.timetable-shell,
.empty-state {
  border-radius: var(--radius-lg);
}

.hero {
  position: relative;
  min-height: 254px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 22px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(156, 255, 59, 0.15);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(3, 7, 5, 0.14), rgba(3, 7, 5, 0.92)),
    radial-gradient(circle at 42% 12%, rgba(145, 255, 55, 0.2), transparent 16rem),
    radial-gradient(circle at 86% 44%, rgba(255, 105, 28, 0.14), transparent 12rem),
    linear-gradient(135deg, #102017 0%, #050806 58%, #010201 100%);
  box-shadow: 0 36px 95px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -1px;
  height: 58%;
  background:
    linear-gradient(118deg, transparent 0 45%, rgba(0, 0, 0, 0.72) 46% 50%, transparent 51%) 0 100% / 84px 100% repeat-x,
    linear-gradient(102deg, transparent 0 39%, rgba(0, 0, 0, 0.82) 40% 45%, transparent 46%) 26px 100% / 108px 84% repeat-x,
    linear-gradient(180deg, transparent, rgba(1, 3, 2, 0.96));
  opacity: 0.94;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 0 42%, rgba(0, 0, 0, 0.54) 100%);
  pointer-events: none;
}

.brand-row,
.hero h1,
.hero-copy {
  position: relative;
  z-index: 1;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(156, 255, 59, 0.38);
  background:
    radial-gradient(circle, rgba(156, 255, 59, 0.22), transparent 58%),
    rgba(1, 5, 2, 0.82);
  box-shadow: 0 0 28px rgba(156, 255, 59, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.brand-mark span {
  width: 26px;
  height: 26px;
  display: block;
  border: 2px solid var(--toxic);
  border-left-color: transparent;
  border-bottom-color: rgba(255, 122, 31, 0.9);
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(156, 255, 59, 0.5);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--toxic);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 800;
}

.wordmark {
  margin: 0;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 0.9rem;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: 3.2rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 32rem;
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.48;
  font-size: 1rem;
}

.topbar {
  position: sticky;
  top: calc(8px + env(safe-area-inset-top));
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "status favorite"
    "days days";
  gap: 10px;
  align-items: center;
  padding: 10px;
  margin-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(7, 16, 11, 0.96), rgba(3, 8, 5, 0.94)),
    var(--panel-strong);
}

.topbar__status {
  grid-area: status;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--toxic);
  box-shadow: 0 0 18px var(--toxic-glow);
}

.now-label {
  min-width: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#dayTabs {
  grid-area: days;
}

.pill,
.tab,
.favorites-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.tab {
  min-height: 40px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.8rem;
}

#dayTabs .tab {
  flex: 1 1 0;
  color: var(--muted-strong);
  background: rgba(3, 8, 5, 0.62);
}

#dayTabs .tab.active {
  color: #061006;
  border-color: rgba(156, 255, 59, 0.75);
  background: linear-gradient(180deg, var(--toxic), #66db33);
  box-shadow: 0 0 20px rgba(156, 255, 59, 0.2);
}

.favorites-filter {
  grid-area: favorite;
  justify-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(255, 122, 31, 0.06);
}

.favorites-filter[aria-pressed="true"] {
  color: #120804;
  border-color: rgba(255, 122, 31, 0.72);
  background: linear-gradient(180deg, #ffb36c, var(--ember));
  box-shadow: 0 0 20px rgba(255, 122, 31, 0.22);
}

.interactive {
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.interactive:hover,
.tab:hover,
.favorite-btn:hover,
.timetable-favorite:hover,
.favorites-filter:hover {
  transform: translateY(-1px);
}

main {
  display: grid;
  gap: 14px;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 18px);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.festival-notice {
  margin-bottom: 14px;
  padding: 14px 16px;
  color: var(--ember-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hidden {
  display: none !important;
}

.live-grid,
.schedule-grid {
  display: grid;
  gap: 12px;
}

.live-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 16px;
}

.stage-card {
  position: relative;
  overflow: hidden;
}

.stage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(156, 255, 59, 0.12), transparent 14rem),
    radial-gradient(circle at 100% 100%, rgba(255, 122, 31, 0.1), transparent 12rem);
  pointer-events: none;
}

.stage-card__header,
.set-row,
.schedule-day__header,
.schedule-stage__header,
.timetable-intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-label,
.schedule-stage__label,
.schedule-day__meta {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 800;
}

.stage-name,
.schedule-stage__name,
.schedule-day__title {
  margin: 5px 0 0;
  font-size: 1.06rem;
  line-height: 1.16;
}

.status-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-chip.live {
  color: #071007;
  background: var(--toxic);
  border-color: rgba(156, 255, 59, 0.78);
  box-shadow: 0 0 22px var(--toxic-glow);
}

.status-chip.next {
  color: var(--ember-soft);
  background: rgba(255, 122, 31, 0.1);
  border-color: rgba(255, 122, 31, 0.34);
}

.status-chip.off {
  color: var(--muted);
}

.current-slot,
.next-slot {
  position: relative;
  margin-top: 14px;
  border-top: 1px solid rgba(155, 255, 186, 0.09);
  padding-top: 14px;
}

.next-slot h4,
.current-slot h4,
.section-title {
  margin: 0 0 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 900;
}

.set-row {
  width: 100%;
  min-height: 72px;
  padding: 13px 12px 13px 14px;
  margin-bottom: 9px;
  border: 1px solid rgba(155, 255, 186, 0.1);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(156, 255, 59, 0.065), transparent 58%),
    rgba(255, 255, 255, 0.025);
}

.set-row:last-child {
  margin-bottom: 0;
}

.set-time {
  margin: 0 0 6px;
  color: var(--toxic);
  font-size: 0.84rem;
  font-weight: 900;
}

.set-artist {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

.set-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.favorite-btn,
.timetable-favorite {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(155, 255, 186, 0.13);
  background: rgba(4, 10, 7, 0.78);
  color: var(--muted-strong);
  cursor: pointer;
  font-weight: 900;
}

.favorite-btn.active,
.timetable-favorite.active {
  color: #160804;
  border-color: rgba(255, 122, 31, 0.72);
  background: linear-gradient(180deg, #ffc28b, var(--ember));
  box-shadow: 0 0 18px rgba(255, 122, 31, 0.28);
}

.empty-state {
  padding: 28px 18px;
  color: var(--muted-strong);
  text-align: center;
  line-height: 1.45;
}

.timetable-shell {
  padding: 14px;
  overflow: hidden;
}

.timetable-intro {
  align-items: flex-end;
  margin-bottom: 14px;
}

.timetable-copy {
  max-width: 340px;
  margin: 0;
  color: var(--muted-strong);
  text-align: right;
  line-height: 1.45;
  font-size: 0.92rem;
}

.timetable-scroll-hint {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timetable-scroll {
  position: relative;
  overflow: auto;
  padding: 0 0 4px;
  scrollbar-color: rgba(156, 255, 59, 0.34) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.timetable-scroll::after {
  content: "";
  position: sticky;
  right: 0;
  display: block;
  width: 44px;
  height: 100%;
  margin-left: auto;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 8, 5, 0), rgba(3, 8, 5, 0.94));
}

.timetable-frame {
  position: relative;
  min-width: max(760px, calc(var(--stage-label-width) + var(--grid-width)));
  display: grid;
  grid-template-columns: var(--stage-label-width) var(--grid-width);
  grid-template-rows: 48px var(--grid-height);
  isolation: isolate;
}

.timeline-corner {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(155, 255, 186, 0.12);
  border-right: 0;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: linear-gradient(180deg, rgba(12, 25, 18, 0.98), rgba(3, 8, 5, 0.96));
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 900;
}

.time-axis {
  position: sticky;
  top: 0;
  grid-column: 2;
  grid-row: 1;
  z-index: 5;
  width: var(--grid-width);
  height: 48px;
  border: 1px solid rgba(155, 255, 186, 0.12);
  border-left: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(180deg, rgba(12, 25, 18, 0.98), rgba(3, 8, 5, 0.96));
}

.time-label {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 6px;
  color: var(--muted);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 900;
}

.time-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 1px;
  height: 8px;
  background: rgba(156, 255, 59, 0.28);
}

.stage-label-column {
  position: sticky;
  left: 0;
  grid-column: 1;
  grid-row: 2;
  z-index: 4;
  height: var(--grid-height);
  background: linear-gradient(90deg, rgba(3, 8, 5, 1), rgba(3, 8, 5, 0.82));
}

.stage-header-card {
  position: absolute;
  left: 0;
  width: calc(100% - 10px);
  height: calc(var(--stage-row-height) - 12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(155, 255, 186, 0.11);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(156, 255, 59, 0.055), transparent),
    linear-gradient(180deg, rgba(15, 31, 22, 0.98), rgba(5, 12, 8, 0.96));
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.22);
}

.stage-header-card h3 {
  margin: 6px 0 0;
  font-size: 0.96rem;
  line-height: 1.12;
}

.stage-header-kicker {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.15;
}

.timetable-grid {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  width: var(--grid-width);
  height: var(--grid-height);
  overflow: hidden;
  border: 1px solid rgba(155, 255, 186, 0.1);
  border-left: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background:
    linear-gradient(90deg, rgba(156, 255, 59, 0.04), transparent 1px) 0 0 / 27px 100%,
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 1px) 0 0 / 100% var(--stage-row-height),
    rgba(2, 6, 4, 0.64);
}

.hour-line {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 1px;
  background: linear-gradient(180deg, rgba(156, 255, 59, 0.2), rgba(156, 255, 59, 0.035));
}

.stage-row-band {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  height: calc(var(--stage-row-height) - 12px);
  border: 1px solid var(--stage-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--stage-surface), rgba(255, 255, 255, 0.015));
}

.timetable-set {
  position: absolute;
  z-index: 2;
  height: calc(var(--stage-row-height) - 32px);
  padding: 12px 40px 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(156, 255, 59, 0.2);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 0% 0%, var(--stage-surface), transparent 80%),
    linear-gradient(180deg, rgba(19, 39, 27, 0.96), rgba(5, 12, 8, 0.96));
  color: var(--text);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.3), 0 0 26px var(--stage-glow);
}

.timetable-set.live {
  border-color: rgba(156, 255, 59, 0.78);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28), 0 0 36px var(--toxic-glow), inset 0 0 0 1px rgba(156, 255, 59, 0.2);
}

.timetable-set__content {
  min-width: 0;
}

.timetable-set h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  overflow-wrap: normal;
  font-size: 0.9rem;
  line-height: 1.18;
}

.timetable-set__time {
  margin: 0;
  color: var(--toxic);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 900;
}

.timetable-favorite {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 30px;
  height: 30px;
  color: var(--muted-strong);
  background: rgba(2, 6, 4, 0.64);
}

.timetable-set.compact {
  padding: 9px 30px 9px 9px;
  border-radius: var(--radius-sm);
}

.timetable-set.compact .timetable-favorite {
  display: none;
}

.timetable-set.compact h4 {
  margin-top: 0;
  font-size: 0.78rem;
  line-height: 1.08;
  -webkit-line-clamp: 3;
}

.timetable-set.compact .timetable-set__time {
  margin-top: 4px;
  font-size: 0.62rem;
}

.timetable-set.micro {
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(156, 255, 59, 0.8), rgba(58, 136, 39, 0.8));
}

.timetable-set.micro .timetable-favorite {
  display: none;
}

.timetable-set.micro .timetable-set__content {
  position: absolute;
  inset: 0;
}

.timetable-set.micro .timetable-set__time,
.timetable-set.micro h4,
.timetable-set.micro .timetable-live-badge {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.timetable-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(156, 255, 59, 0.12);
  color: var(--toxic);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.64rem;
  font-weight: 900;
}

.timetable-live-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--toxic);
  box-shadow: 0 0 12px var(--toxic-glow);
}

.current-time-line {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 3px;
  transform: translateX(-1px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(156, 255, 59, 0), var(--toxic) 12%, var(--toxic-soft) 80%, rgba(156, 255, 59, 0));
  box-shadow: 0 0 28px var(--toxic-glow);
}

.current-time-line span {
  position: absolute;
  top: 8px;
  left: 50%;
  padding: 6px 9px;
  border: 1px solid rgba(156, 255, 59, 0.42);
  border-radius: 999px;
  background: rgba(2, 6, 4, 0.96);
  color: var(--toxic);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.bottom-nav {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 50;
  max-width: 520px;
  min-height: var(--bottom-nav-height);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(156, 255, 59, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(9, 20, 14, 0.96), rgba(2, 6, 4, 0.98)),
    var(--panel-strong);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bottom-nav .tab {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 20px;
  color: var(--muted-strong);
  background: transparent;
}

.bottom-nav .tab.active {
  color: #061006;
  border-color: rgba(156, 255, 59, 0.82);
  background: linear-gradient(180deg, var(--toxic), #65d532);
  box-shadow: 0 0 24px rgba(156, 255, 59, 0.24);
}

.nav-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.nav-icon--live::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.nav-icon--schedule {
  border: 2px solid currentColor;
  border-radius: 4px;
}

.nav-icon--schedule::before,
.nav-icon--schedule::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: currentColor;
}

.nav-icon--schedule::before {
  top: 5px;
}

.nav-icon--schedule::after {
  top: 10px;
}

@media (min-width: 760px) {
  .app-shell {
    padding-top: calc(22px + env(safe-area-inset-top));
  }

  .hero {
    min-height: 330px;
    padding: 34px;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "status days favorite";
    padding: 12px;
  }

  #dayTabs {
    justify-content: center;
  }

  #dayTabs .tab {
    min-width: 118px;
  }

  .timetable-shell {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 16px, 1120px);
  }

  main {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 26px);
  }

  .hero,
  .topbar,
  .card,
  .festival-notice,
  .timetable-shell,
  .empty-state {
    border-radius: 22px;
  }

  .hero {
    min-height: 288px;
    padding: 18px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .favorites-filter span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .favorites-filter {
    min-width: 42px;
    padding: 9px 12px;
  }

  .timetable-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .timetable-copy {
    max-width: none;
    text-align: left;
  }

  .timetable-frame {
    --stage-label-width: 132px !important;
  }

  .stage-header-card {
    padding: 12px 10px;
    border-radius: 16px;
  }

  .stage-header-card h3 {
    font-size: 0.84rem;
  }

  .stage-header-kicker {
    font-size: 0.58rem;
  }

  .timetable-set {
    padding: 10px 34px 10px 10px;
  }

  .timetable-set h4 {
    font-size: 0.8rem;
  }

  .timetable-set__time {
    font-size: 0.68rem;
  }
}
