:root {
  color-scheme: light;
  --navy-950: #0b172b;
  --navy-900: #13233d;
  --navy-800: #1b3151;
  --ink: #17253d;
  --muted: #697991;
  --line: #dce4ed;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --cyan: #25bdd9;
  --cyan-soft: #e6f9fd;
  --violet: #8068df;
  --violet-soft: #f0edff;
  --gold: #e5a23d;
  --gold-soft: #fff7e8;
  --pink: #ff3e78;
  --pink-dark: #9d174d;
  --pink-soft: #fff0f5;
  --danger: #c4324d;
  --shadow-sm: 0 8px 24px rgba(18, 35, 61, 0.08);
  --shadow-md: 0 16px 44px rgba(18, 35, 61, 0.14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 189, 217, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(84px + var(--safe-bottom));
  overflow: clip;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(142deg, rgba(37, 189, 217, 0.18), transparent 42%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.025),
    0 0 0 56px rgba(255, 255, 255, 0.02);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.34;
}

.hero__glow--one {
  top: -84px;
  right: 8%;
  background: var(--pink);
}

.hero__glow--two {
  bottom: -118px;
  left: -42px;
  background: var(--cyan);
}

.hero__content {
  position: relative;
  max-width: 1040px;
  padding: 28px 20px 34px;
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 7px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero__subtitle {
  max-width: 36rem;
  margin: 10px 0 0;
  color: #b9c7dc;
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero__mark {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-top: 2px;
  color: #072631;
  font-size: 1.55rem;
  font-weight: 900;
  background: linear-gradient(135deg, #69e3f3, var(--cyan));
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(37, 189, 217, 0.25);
  transform: rotate(5deg);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero__badges span {
  padding: 7px 11px;
  color: #dce8f6;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.control-dock {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 12px 16px 14px;
  background: rgba(244, 247, 251, 0.94);
  border-bottom: 1px solid rgba(215, 224, 235, 0.88);
  box-shadow: 0 10px 28px rgba(18, 35, 61, 0.08);
  backdrop-filter: blur(18px);
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1008px;
  padding: 4px;
  margin: 0 auto;
  background: #e5ebf2;
  border-radius: 16px;
}

.day-tab {
  min-height: 46px;
  padding: 7px 12px;
  color: var(--muted);
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
}

.day-tab small {
  display: inline-block;
  margin-left: 5px;
  color: inherit;
  font-size: 0.7rem;
  opacity: 0.78;
}

.day-tab.is-active {
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 7px 18px rgba(18, 35, 61, 0.2);
}

.filter-row {
  display: flex;
  max-width: 1008px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px auto 0;
}

.chip-group {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-group::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 12px;
  color: #63738a;
  font-size: 0.78rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.filter-chip.is-active,
.filter-chip[aria-pressed="true"] {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.search-box {
  display: flex;
  max-width: 1008px;
  height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  margin: 10px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.search-box:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(37, 189, 217, 0.12);
}

.search-box svg {
  width: 20px;
  fill: none;
  stroke: #8190a4;
  stroke-linecap: round;
  stroke-width: 2;
}

.search-box input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-box input::placeholder {
  color: #96a3b5;
}

.search-box__clear {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #6f7d90;
  font-size: 1.35rem;
  line-height: 1;
  background: #eef2f6;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.main-content {
  max-width: 1040px;
  padding: 24px 16px 40px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-size: 1.36rem;
  letter-spacing: -0.025em;
}

.source-pill,
.result-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #697991;
  font-size: 0.7rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.venue-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.venue-card {
  position: relative;
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.venue-card::after {
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 90px;
  height: 90px;
  content: "";
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.venue-card--h1 {
  background: linear-gradient(140deg, #09758c, #15314b);
}

.venue-card--h2 {
  background: linear-gradient(140deg, #5c46ad, #202b54);
}

.venue-card__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.venue-card h3 {
  margin: 5px 0 0;
  overflow: hidden;
  font-size: 0.96rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-card__meta {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
}

.favorite-summary {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 13px;
  padding: 14px;
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.favorite-summary__number {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--pink-dark);
  font-size: 1.35rem;
  font-weight: 900;
  background: var(--pink-soft);
  border-radius: 15px;
}

.favorite-summary__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.favorite-summary__copy strong {
  font-size: 0.9rem;
}

.favorite-summary__copy span {
  color: var(--muted);
  font-size: 0.75rem;
}

.icon-button {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-left: auto;
  color: var(--navy-800);
  background: #eef3f8;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.icon-button svg,
.action-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.schedule-section {
  margin-top: 32px;
}

.schedule-heading {
  margin-bottom: 14px;
}

.schedule-heading__tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.layout-toggle {
  display: flex;
  padding: 3px;
  background: #e5ebf2;
  border-radius: 11px;
}

.layout-toggle__button {
  min-height: 32px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.layout-toggle__button.is-active {
  color: #fff;
  background: var(--navy-800);
  box-shadow: 0 4px 12px rgba(18, 35, 61, 0.16);
}

.favorite-actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin: -2px 0 16px;
}

.action-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  color: var(--navy-800);
  font-size: 0.76rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
}

.action-button--primary {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.action-button--danger {
  color: var(--danger);
}

.timeline {
  position: relative;
}

.timeslot-viewport {
  position: relative;
  height: min(68vh, 760px);
  min-height: 500px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  scrollbar-color: #b9c6d5 #eef2f6;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
}

.timeslot-stage {
  --time-width: 58px;
  --lane-width: 128px;
  --header-height: 62px;
  position: relative;
  min-width: 100%;
  background: #fff;
}

.timeslot-header {
  position: sticky;
  z-index: 12;
  top: 0;
  display: flex;
  width: max-content;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #cbd6e2;
  box-shadow: 0 7px 18px rgba(18, 35, 61, 0.08);
  backdrop-filter: blur(12px);
}

.timeslot-corner {
  position: sticky;
  z-index: 14;
  left: 0;
  display: grid;
  flex: 0 0 var(--time-width);
  width: var(--time-width);
  place-items: center;
  color: #5d6f86;
  font-size: 0.64rem;
  font-weight: 850;
  background: #eef3f8;
  border-right: 1px solid #cbd6e2;
}

.timeslot-lane-header {
  display: grid;
  flex: 0 0 var(--lane-width);
  width: var(--lane-width);
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 8px 5px;
  color: #08738b;
  text-align: center;
  background: #edfafc;
  border-right: 1px solid #cce4e9;
}

.timeslot-lane-header[data-hall="H2"] {
  color: #5b42ad;
  background: #f2efff;
  border-right-color: #dcd5f7;
}

.timeslot-lane-header strong {
  font-size: 0.73rem;
  line-height: 1.15;
}

.timeslot-lane-header small {
  color: inherit;
  font-size: 0.58rem;
  opacity: 0.72;
}

.timeslot-body {
  display: flex;
  width: max-content;
}

.timeslot-axis {
  position: sticky;
  z-index: 8;
  left: 0;
  flex: 0 0 var(--time-width);
  width: var(--time-width);
  background: rgba(246, 249, 252, 0.97);
  border-right: 1px solid #cbd6e2;
  backdrop-filter: blur(8px);
}

.timeslot-axis-label {
  position: absolute;
  right: 8px;
  color: #718096;
  font-size: 0.61rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  transform: translateY(-50%);
}

.timeslot-axis-label.is-hour {
  color: var(--navy-800);
  font-size: 0.68rem;
  font-weight: 900;
}

.timeslot-canvas {
  position: relative;
  flex: 0 0 auto;
  background: #fff;
}

.timeslot-column {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--lane-width);
  background: rgba(37, 189, 217, 0.035);
  border-right: 1px solid rgba(35, 169, 206, 0.18);
}

.timeslot-column[data-hall="H2"] {
  background: rgba(128, 104, 223, 0.035);
  border-right-color: rgba(128, 104, 223, 0.18);
}

.timeslot-line {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: #e2e8ef;
}

.timeslot-line.is-hour {
  height: 2px;
  background: #a7b6c6;
}

.grid-slot {
  position: absolute;
  z-index: 2;
  display: block;
  min-height: 32px;
  padding: 5px 26px 5px 7px;
  overflow: hidden;
  color: #075b73;
  text-align: left;
  background: #e5f8fc;
  border: 1px solid #49b9d2;
  border-left-width: 3px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(18, 35, 61, 0.07);
  cursor: pointer;
}

.grid-slot[data-type="tokuten"] {
  color: #85520e;
  background: #fff7e8;
  border-color: #e5a23d;
}

.grid-slot.is-favorite {
  box-shadow:
    0 0 0 2px rgba(255, 62, 120, 0.2),
    0 5px 14px rgba(157, 23, 77, 0.15);
}

.grid-slot.is-conflict {
  outline: 2px dashed #f59e0b;
  outline-offset: -3px;
}

.grid-slot__time {
  display: block;
  overflow: hidden;
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grid-slot__name {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.grid-slot__star {
  position: absolute;
  top: 5px;
  right: 6px;
  color: currentColor;
  font-size: 0.82rem;
  line-height: 1;
  opacity: 0.38;
}

.grid-slot.is-favorite .grid-slot__star {
  color: var(--pink);
  opacity: 1;
}

.after-slot {
  position: absolute;
  z-index: 3;
  padding: 6px;
  overflow: hidden;
  color: #50329b;
  background: #f0edff;
  border: 2px solid #8068df;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(80, 50, 155, 0.12);
}

.after-slot__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 0 2px 4px;
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  border-bottom: 1px solid rgba(128, 104, 223, 0.25);
}

.after-slot__list {
  display: grid;
  gap: 1px;
  padding-top: 3px;
}

.after-slot__artist {
  display: flex;
  min-width: 0;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  padding: 2px 4px;
  color: #3d3273;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: left;
  background: rgba(255, 255, 255, 0.56);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.after-slot__artist span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.after-slot__artist.is-favorite {
  box-shadow: inset 0 0 0 1px var(--pink);
}

.after-slot__artist-star {
  flex: 0 0 auto;
  color: #a9a0c8;
}

.after-slot__artist.is-favorite .after-slot__artist-star {
  color: var(--pink);
}

.timeslot-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.68rem;
}

.timeslot-hint::before {
  display: inline-block;
  width: 19px;
  height: 12px;
  content: "";
  border-right: 2px solid #7d8ca0;
  border-bottom: 2px solid #7d8ca0;
  transform: skew(-24deg);
}

.timeline::before {
  position: absolute;
  top: 15px;
  bottom: 12px;
  left: 32px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--cyan), #ccd7e3 10%, #ccd7e3 90%, transparent);
}

.time-group {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 12px;
}

.time-marker {
  position: sticky;
  top: 186px;
  align-self: start;
  padding-top: 4px;
  color: var(--navy-800);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  text-align: left;
}

.time-marker::after {
  position: absolute;
  top: 27px;
  left: 27px;
  width: 10px;
  height: 10px;
  content: "";
  background: #fff;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--surface-soft);
}

.slot-stack {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.slot-card {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 13px 12px 13px 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 17px rgba(18, 35, 61, 0.055);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease;
}

.slot-card::after {
  position: absolute;
  top: -25px;
  right: -27px;
  width: 76px;
  height: 76px;
  content: "";
  background: rgba(37, 189, 217, 0.055);
  border-radius: 50%;
}

.slot-card--tokuten {
  border-left-color: var(--gold);
}

.slot-card--tokuten::after {
  background: rgba(229, 162, 61, 0.07);
}

.slot-card--favorite {
  box-shadow: 0 9px 27px rgba(255, 62, 120, 0.13);
}

.slot-card--conflict {
  border-right: 3px solid #f59e0b;
}

.slot-card__content {
  min-width: 0;
}

.slot-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.type-badge,
.hall-badge,
.conflict-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  font-size: 0.64rem;
  font-weight: 850;
  border-radius: 999px;
}

.type-badge {
  color: #08738b;
  background: var(--cyan-soft);
}

.slot-card--tokuten .type-badge {
  color: #8a570f;
  background: var(--gold-soft);
}

.hall-badge {
  color: #5d6f86;
  background: #edf2f7;
}

.conflict-badge {
  color: #92520b;
  background: #fff1cf;
}

.slot-card__name {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.slot-card__meta,
.slot-card__event {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.4;
}

.slot-card__meta {
  color: #41536a;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.slot-card__event {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-button {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-left: auto;
  color: #9aa7b8;
  background: #f1f4f8;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  transition:
    color 140ms ease,
    background 140ms ease,
    transform 140ms ease;
}

.favorite-button:active {
  transform: scale(0.92);
}

.favorite-button svg {
  width: 23px;
  fill: transparent;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.favorite-button[aria-pressed="true"] {
  color: #fff;
  background: var(--pink);
}

.favorite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.empty-state {
  padding: 40px 22px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd6e2;
  border-radius: var(--radius-lg);
}

.empty-state__icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin: 0 auto 13px;
  color: var(--pink);
  font-size: 1.5rem;
  background: var(--pink-soft);
  border-radius: 18px;
}

.empty-state h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.empty-state p {
  margin: 7px 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.notes-card {
  display: flex;
  gap: 12px;
  padding: 15px;
  margin-top: 24px;
  background: #eaf1f8;
  border-radius: var(--radius-md);
}

.notes-card__icon {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  font-family: Georgia, serif;
  font-weight: 800;
  background: var(--navy-800);
  border-radius: 50%;
}

.notes-card strong {
  font-size: 0.78rem;
}

.notes-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.bottom-nav {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 70px;
  padding: 7px 10px calc(7px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(215, 224, 235, 0.9);
  box-shadow: 0 -12px 36px rgba(18, 35, 61, 0.1);
  backdrop-filter: blur(18px);
}

.bottom-nav__item {
  position: relative;
  display: grid;
  min-height: 54px;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: #7e8b9e;
  font-size: 0.65rem;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
}

.bottom-nav__item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.bottom-nav__item.is-active {
  color: var(--navy-900);
  background: #edf2f7;
}

.bottom-nav__item[data-view="favorites"].is-active {
  color: var(--pink-dark);
  background: var(--pink-soft);
}

.bottom-nav__badge {
  position: absolute;
  top: 4px;
  left: calc(50% + 7px);
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  font-size: 0.58rem;
  background: var(--pink);
  border: 2px solid #fff;
  border-radius: 999px;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: calc(88px + var(--safe-bottom));
  left: 18px;
  max-width: 440px;
  padding: 12px 15px;
  margin: 0 auto;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 750;
  text-align: center;
  background: rgba(11, 23, 43, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  animation: toast-in 180ms ease both;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (hover: hover) {
  .slot-card:hover {
    z-index: 1;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  .favorite-button:hover,
  .icon-button:not(:disabled):hover,
  .action-button:hover,
  .filter-chip:hover {
    filter: brightness(0.97);
  }
}

@media (min-width: 720px) {
  .hero__content {
    padding: 42px 24px 46px;
  }

  .hero__mark {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    font-size: 2rem;
  }

  .control-dock {
    padding-right: 24px;
    padding-left: 24px;
  }

  .main-content {
    padding-right: 24px;
    padding-left: 24px;
  }

  .venue-card {
    padding: 18px;
  }

  .venue-card h3 {
    font-size: 1.05rem;
  }

  .time-group {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline::before {
    left: 40px;
  }

  .time-marker {
    font-size: 0.82rem;
    text-align: center;
  }

  .time-marker::after {
    left: 35px;
  }

  .slot-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot-card {
    min-height: 136px;
    padding: 16px;
  }

  .slot-card__name {
    font-size: 1.08rem;
  }

  .timeslot-stage {
    --time-width: 70px;
    --lane-width: 150px;
    --header-height: 66px;
  }

  .timeslot-viewport {
    min-height: 580px;
  }

  .grid-slot__name {
    font-size: 0.72rem;
  }

  .bottom-nav {
    right: 24px;
    bottom: 18px;
    left: auto;
    width: 410px;
    min-height: 66px;
    padding: 6px;
    border: 1px solid rgba(215, 224, 235, 0.9);
    border-radius: 21px;
    box-shadow: var(--shadow-md);
  }

  .bottom-nav__item {
    min-height: 52px;
  }

  .app-shell {
    padding-bottom: 84px;
  }

  .toast {
    right: 26px;
    bottom: 102px;
    left: auto;
    min-width: 290px;
    margin: 0;
  }
}

@media (min-width: 1040px) {
  .control-dock {
    display: grid;
    grid-template-columns: 310px 1fr 330px;
    align-items: center;
    gap: 14px;
  }

  .day-tabs,
  .filter-row,
  .search-box {
    width: 100%;
    margin: 0;
  }

  .filter-row {
    justify-content: center;
  }

  .filter-chip {
    min-height: 44px;
  }

  .time-marker {
    top: 84px;
  }
}

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