:root {
  --bg-top: #f2eadf;
  --bg-mid: #d8d2c0;
  --bg-bottom: #aaa893;
  --panel: rgba(252, 249, 243, 0.74);
  --panel-strong: rgba(255, 252, 247, 0.92);
  --ink: #312d29;
  --muted: #6a6259;
  --line: rgba(33, 42, 49, 0.1);
  --slipper: #82976e;
  --slipper-deep: #5f7251;
  --slipper-glow: #bccaa9;
  --accent: #7a6d5a;
  --accent-soft: #93816b;
  --warning: #d4c98e;
  --shadow-xl: 0 28px 60px rgba(28, 39, 47, 0.18);
  --shadow-lg: 0 16px 30px rgba(35, 43, 52, 0.13);
  --shadow-md: 0 8px 18px rgba(31, 37, 42, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-ui: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-display: "Impact", "Arial Black", sans-serif;
  --font-caption: "Georgia", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overscroll-behavior-y: contain;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-ui);
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 109, 90, 0.82) rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.98), transparent 18%),
    radial-gradient(circle at 38% 11%, rgba(255, 247, 233, 0.84), transparent 16%),
    radial-gradient(circle at 67% 10%, rgba(255, 252, 239, 0.92), transparent 20%),
    radial-gradient(circle at 88% 18%, rgba(255, 247, 234, 0.86), transparent 17%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 46%, var(--bg-bottom) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 36vh;
  background:
    linear-gradient(180deg, rgba(173, 153, 129, 0), rgba(121, 105, 88, 0.14) 24%),
    linear-gradient(180deg, rgba(245, 237, 222, 0.45), rgba(158, 145, 127, 0.86));
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 42, 49, 0.3) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 80%);
  pointer-events: none;
}

body.is-synced .hero__status--live {
  animation: syncFlash 900ms ease;
}

body::-webkit-scrollbar,
.calendar-scroll::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

body::-webkit-scrollbar-track,
.calendar-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
.calendar-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(71, 85, 95, 0.92), rgba(113, 134, 118, 0.9));
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 18px 44px;
  overflow-x: clip;
}

.hero {
  display: grid;
  gap: 16px;
  padding: 6px 6px 24px;
  max-width: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 18px;
  align-items: end;
  min-width: 0;
  max-width: 100%;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.hero__eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 78px);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(17, 21, 25, 0.92);
  text-shadow: 0 10px 28px rgba(255, 255, 255, 0.34);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero__lead {
  margin: 0;
  max-width: 30rem;
  color: rgba(31, 37, 42, 0.82);
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(31, 37, 42, 0.08);
  color: var(--slipper-deep);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  overflow-wrap: anywhere;
}

.hero__status--live::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9ec08b, #4f6658);
  box-shadow: 0 0 0 6px rgba(109, 135, 105, 0.12);
  animation: pulseDot 1.8s infinite ease-in-out;
}

.hero__ticker {
  position: relative;
  overflow: hidden;
  padding: 14px 18px;
  border-radius: 22px;
  color: rgba(23, 28, 32, 0.88);
  font-size: 14px;
  font-weight: 800;
  background:
    linear-gradient(90deg, rgba(255, 251, 243, 0.8), rgba(255, 248, 235, 0.52)),
    rgba(255, 247, 232, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-md);
  overflow-wrap: anywhere;
}

.hero__ticker::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: skewX(-20deg);
  animation: tickerSweep 4.8s infinite linear;
}

.hero__scene {
  position: relative;
  min-height: 320px;
  min-width: 0;
  max-width: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(240, 233, 217, 0.86) 0%, rgba(174, 164, 145, 0.58) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-xl);
}

.hero__scene::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background:
    linear-gradient(180deg, rgba(232, 223, 207, 0), rgba(160, 145, 126, 0.18) 14%),
    linear-gradient(180deg, rgba(210, 199, 181, 0.92), rgba(152, 144, 128, 0.98));
}

.hero__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 251, 245, 0.92), transparent 17%),
    radial-gradient(circle at 63% 15%, rgba(255, 247, 233, 0.86), transparent 20%),
    radial-gradient(circle at 84% 24%, rgba(255, 247, 233, 0.78), transparent 14%);
  opacity: 0.9;
  pointer-events: none;
}

.scene__cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(2px);
  opacity: 0.82;
}

.scene__cloud::before,
.scene__cloud::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: inherit;
}

.scene__cloud--one {
  left: 8%;
  top: 14%;
  width: 92px;
  height: 24px;
  animation: drift 14s infinite ease-in-out;
}

.scene__cloud--one::before {
  left: 12px;
  top: -10px;
  width: 30px;
  height: 30px;
}

.scene__cloud--one::after {
  right: 10px;
  top: -6px;
  width: 28px;
  height: 28px;
}

.scene__cloud--two {
  right: 14%;
  top: 10%;
  width: 116px;
  height: 28px;
  animation: drift 16s infinite ease-in-out reverse;
}

.scene__cloud--two::before {
  left: 18px;
  top: -14px;
  width: 34px;
  height: 34px;
}

.scene__cloud--two::after {
  right: 16px;
  top: -10px;
  width: 32px;
  height: 32px;
}

.scene__cloud--three {
  left: 48%;
  top: 24%;
  width: 74px;
  height: 22px;
  opacity: 0.66;
  animation: drift 18s infinite ease-in-out;
}

.scene__cloud--three::before {
  left: 10px;
  top: -9px;
  width: 26px;
  height: 26px;
}

.scene__cloud--three::after {
  right: 10px;
  top: -5px;
  width: 24px;
  height: 24px;
}

.scene__building {
  position: absolute;
  left: 50%;
  top: 42px;
  width: min(48%, 290px);
  height: 170px;
  transform: translateX(-50%);
  border-radius: 10px 10px 0 0;
  filter: drop-shadow(0 16px 22px rgba(42, 51, 60, 0.18));
}

.scene__building-cap {
  position: absolute;
  inset: 0 12% auto;
  height: 34px;
  border-radius: 6px 6px 0 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(61, 71, 78, 0.94) 0 10px,
      rgba(223, 227, 231, 0.8) 10px 14px
    ),
    linear-gradient(180deg, #cdd3d9, #f2f4f7);
}

.scene__building-cap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #8a929a, #d9dee3);
}

.scene__building-face {
  position: absolute;
  inset: 28px 0 0;
  border-radius: 4px 4px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(199, 205, 211, 0.96)),
    repeating-linear-gradient(90deg, rgba(93, 102, 110, 0.18) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(180deg, rgba(83, 93, 100, 0.18) 0 2px, transparent 2px 15px);
  box-shadow: inset 0 -26px 0 rgba(138, 147, 154, 0.52);
}

.scene__notice {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 28, 32, 0.84);
  background: rgba(255, 244, 201, 0.82);
  box-shadow: 0 12px 20px rgba(45, 48, 38, 0.12);
  transform: rotate(-4deg);
}

.scene__notice--left {
  left: 26px;
  top: 58px;
}

.scene__notice--right {
  right: 24px;
  top: 88px;
  transform: rotate(6deg);
}

.scene__ripple {
  position: absolute;
  inset: auto;
  border-radius: 50%;
  border: 2px solid rgba(223, 232, 240, 0.52);
  opacity: 0.7;
}

.scene__ripple--one {
  right: 98px;
  bottom: 26px;
  width: 230px;
  height: 82px;
  animation: ripple 4.4s infinite ease-out;
}

.scene__ripple--two {
  right: 72px;
  bottom: 18px;
  width: 282px;
  height: 102px;
  animation: ripple 4.4s 1.2s infinite ease-out;
}

.scene__slipper {
  position: absolute;
  right: 20px;
  bottom: 12px;
  width: min(62%, 390px);
  height: 158px;
  transform-origin: 74% 88%;
  transform: rotate(-16deg);
  animation: slipperRock 4.6s infinite ease-in-out;
}

.scene__slipper-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 34px rgba(56, 72, 47, 0.22));
}

.scene__slipper-top,
.scene__slipper-sole,
.scene__slipper-shadow {
  position: absolute;
  display: block;
}

.scene__slipper-top {
  inset: 18px 16px 24px 10px;
  border-radius: 116px 42px 60px 88px;
  clip-path: polygon(4% 70%, 9% 43%, 20% 23%, 40% 14%, 69% 15%, 90% 24%, 97% 45%, 96% 67%, 88% 80%, 74% 87%, 56% 88%, 39% 82%, 20% 79%, 8% 76%);
  background:
    radial-gradient(circle at 26% 26%, rgba(214, 227, 197, 0.9), transparent 20%),
    linear-gradient(145deg, #c6d4b5, var(--slipper) 46%, var(--slipper-deep));
  box-shadow:
    inset -18px -18px 26px rgba(42, 60, 51, 0.24),
    inset 14px 10px 18px rgba(241, 247, 230, 0.28),
    0 22px 34px rgba(56, 72, 47, 0.22);
}

.scene__slipper-top::before {
  content: "";
  position: absolute;
  inset: 24px 34% 26px 14%;
  border-radius: 56px 22px 22px 44px;
  background:
    radial-gradient(circle at 18% 50%, rgba(67, 88, 60, 0.8) 0 14px, transparent 15px),
    radial-gradient(circle at 40% 50%, rgba(67, 88, 60, 0.76) 0 14px, transparent 15px),
    radial-gradient(circle at 62% 50%, rgba(67, 88, 60, 0.72) 0 14px, transparent 15px),
    radial-gradient(circle at 84% 50%, rgba(67, 88, 60, 0.66) 0 14px, transparent 15px);
  opacity: 0.88;
}

.scene__slipper-top::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 18px;
  width: 34%;
  height: 42px;
  border-radius: 40px 20px 30px 34px;
  background:
    radial-gradient(circle at 62% 46%, rgba(49, 63, 46, 0.6) 0 18px, transparent 19px),
    linear-gradient(135deg, rgba(238, 243, 231, 0.26), rgba(63, 85, 60, 0.4));
  transform: rotate(6deg);
}

.scene__slipper-sole {
  inset: 42px 12px 6px 18px;
  border-radius: 120px 42px 72px 96px;
  background:
    radial-gradient(circle at 80% 60%, rgba(79, 58, 33, 0.4) 0 18px, transparent 19px),
    linear-gradient(155deg, rgba(121, 141, 105, 0.98), rgba(88, 106, 74, 0.98));
  box-shadow:
    inset 10px 10px 16px rgba(209, 220, 196, 0.26),
    inset -16px -16px 24px rgba(53, 69, 46, 0.28);
  clip-path: polygon(6% 66%, 10% 48%, 21% 32%, 40% 24%, 69% 24%, 93% 34%, 98% 53%, 94% 71%, 84% 84%, 68% 90%, 44% 92%, 24% 86%, 10% 78%);
}

.scene__slipper-shadow {
  left: 18px;
  right: 18px;
  bottom: -12px;
  height: 36px;
  border-radius: 50%;
  background: rgba(72, 74, 56, 0.2);
  filter: blur(14px);
}

.scene__caption {
  position: absolute;
  left: 26px;
  bottom: 14px;
  z-index: 2;
  max-width: 52%;
  color: #ffffff;
  font-family: var(--font-caption);
  font-size: clamp(40px, 6vw, 66px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.95;
  text-shadow: 0 7px 18px rgba(30, 34, 37, 0.28);
  overflow-wrap: anywhere;
}

.layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.72), rgba(255, 250, 242, 0.24)),
    var(--panel);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 66px rgba(28, 39, 47, 0.16);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(147, 171, 150, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(58, 72, 84, 0.09), transparent 24%);
  pointer-events: none;
}

.panel--schedule {
  grid-column: 1 / -1;
}

.panel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.panel__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.panel__subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.stack {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field span {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.field__hint {
  color: rgba(79, 91, 99, 0.92);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

input {
  width: 100%;
  border: 1px solid rgba(55, 69, 79, 0.14);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

input:hover {
  transform: translateY(-1px);
}

input:focus {
  outline: 2px solid rgba(109, 135, 105, 0.18);
  border-color: rgba(79, 102, 88, 0.42);
  box-shadow: 0 0 0 6px rgba(109, 135, 105, 0.08);
}

input[type="color"] {
  padding: 6px;
  min-height: 52px;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 140ms ease, filter 140ms ease, background 140ms ease, box-shadow 140ms ease;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

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

.button--primary {
  background: linear-gradient(135deg, #83745f, #b19879);
  color: #f7fbfd;
}

.button--accent {
  background: linear-gradient(135deg, #70855e, #aebd92);
  color: #f8fffb;
}

.button--ghost {
  background: rgba(55, 69, 79, 0.08);
  color: var(--ink);
}

.button.is-active {
  background: linear-gradient(135deg, rgba(128, 114, 95, 0.96), rgba(132, 154, 106, 0.94));
  color: #f5f8f7;
}

.view-switch {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.view-pane {
  display: none;
  margin-top: 18px;
  min-width: 0;
}

.view-pane--active {
  display: block;
}

.booking-groups {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.booking-group {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.booking-group__title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.booking-card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(41, 22, 45, 0.08);
  box-shadow: 0 12px 22px rgba(56, 68, 80, 0.08);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  animation: riseIn 460ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
  animation-delay: calc(var(--stagger, 0) * 55ms);
}

.booking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(56, 68, 80, 0.12);
}

.booking-card__time {
  font-weight: 900;
}

.booking-card__name {
  color: var(--muted);
  font-size: 14px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.booking-card__action {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  background: rgba(55, 69, 79, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.booking-card__action[hidden] {
  display: none;
}

.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  min-width: 0;
  max-width: 100%;
}

.calendar-toolbar__label {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calendar-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior: contain;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(55, 69, 79, 0.82) rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(90deg, rgba(240, 243, 246, 0.94), rgba(240, 243, 246, 0)) left center / 18px 100% no-repeat,
    linear-gradient(270deg, rgba(240, 243, 246, 0.94), rgba(240, 243, 246, 0)) right center / 18px 100% no-repeat;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(4px, 0.75vw, 8px);
  min-width: 100%;
  width: 100%;
}

.calendar-weekday,
.calendar-day {
  border-radius: clamp(14px, 1.5vw, 18px);
}

.calendar-weekday {
  padding: 9px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}

.calendar-day {
  position: relative;
  min-width: 0;
  min-height: 118px;
  padding: 9px;
  display: grid;
  align-content: start;
  gap: 7px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(41, 22, 45, 0.08);
  width: 100%;
  justify-self: stretch;
  transition:
    min-height 180ms ease,
    padding 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
  opacity: 0;
  animation: riseIn 420ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
  animation-delay: calc(var(--stagger, 0) * 14ms);
}

.calendar-day:hover {
  transform: translateY(-2px);
}

.calendar-day--busy {
  min-height: 134px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 18px rgba(82, 58, 64, 0.08);
}

.calendar-day--empty {
  min-height: 92px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.44);
}

.calendar-day--outside {
  opacity: 0.46;
}

.calendar-day--today {
  border-color: var(--slipper-deep);
  box-shadow: inset 0 0 0 1px rgba(79, 102, 88, 0.16);
}

.calendar-day--today::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--slipper-deep);
  box-shadow: 0 0 0 6px rgba(79, 102, 88, 0.12);
  animation: pulseDot 1.8s infinite ease-in-out;
}

.calendar-day__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.calendar-day__slots {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.calendar-slot {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 14px;
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.calendar-slot--empty {
  background: rgba(255, 255, 255, 0.48);
  color: #5d666d;
}

.calendar-slot__time {
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-slot__name {
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty-state {
  padding: 32px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  text-align: center;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.18);
    opacity: 0.78;
  }
}

@keyframes tickerSweep {
  from {
    transform: translateX(0) skewX(-20deg);
  }

  to {
    transform: translateX(520%) skewX(-20deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(14px);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.92);
    opacity: 0.2;
  }

  40% {
    opacity: 0.52;
  }

  100% {
    transform: scale(1.06);
    opacity: 0;
  }
}

@keyframes slipperRock {
  0%,
  100% {
    transform: rotate(-17deg) translateY(0);
  }

  25% {
    transform: rotate(-10deg) translateY(-5px);
  }

  55% {
    transform: rotate(-21deg) translateY(-2px);
  }

  75% {
    transform: rotate(-12deg) translateY(-7px);
  }
}

@keyframes syncFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 135, 105, 0.28);
    transform: translateY(0);
  }

  40% {
    box-shadow: 0 0 0 10px rgba(109, 135, 105, 0.12);
    transform: translateY(-1px);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(109, 135, 105, 0);
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 960px) {
  .hero__grid,
  .layout {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .hero__scene {
    min-height: 260px;
  }

  .panel--schedule {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 18px 10px 28px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .booking-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .scene__slipper {
    width: min(68%, 310px);
  }

  .calendar-day {
    min-height: 98px;
    padding: 7px;
  }

  .calendar-day--busy {
    min-height: 116px;
    padding: 8px;
  }

  .calendar-day--empty {
    min-height: 74px;
    padding: 5px;
  }
}

@media (max-width: 900px) {
  .panel {
    padding: 18px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {

  .hero h1 {
    font-size: clamp(38px, 16vw, 58px);
  }

  .hero__lead {
    max-width: 100%;
    font-size: 15px;
  }

  .hero__ticker {
    padding: 12px 14px;
    font-size: 13px;
  }

  .scene__building {
    width: min(56%, 250px);
    height: 146px;
  }

  .scene__caption {
    font-size: clamp(32px, 12vw, 46px);
  }

  .calendar-grid {
    gap: 4px;
    min-width: 630px;
  }

  .calendar-weekday {
    padding: 7px 3px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .calendar-day {
    min-height: 82px;
    padding: 5px;
    gap: 5px;
    border-radius: 13px;
  }

  .calendar-day--busy {
    min-height: 100px;
    padding: 7px;
  }

  .calendar-day--empty {
    min-height: 58px;
    width: calc(100% - 10px);
    padding: 4px;
  }

  .calendar-day__label {
    font-size: 12px;
  }

  .calendar-slot {
    padding: 5px 6px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .shell {
    padding: 14px 8px 24px;
  }

  .hero {
    padding: 2px 2px 18px;
  }

  .hero__copy {
    gap: 10px;
  }

  .hero__status {
    width: 100%;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero__scene {
    min-height: 186px;
    border-radius: 26px;
  }

  .hero h1 {
    font-size: clamp(30px, 12.5vw, 42px);
    letter-spacing: 0.02em;
  }

  .scene__notice {
    display: none;
  }

  .scene__building {
    top: 24px;
    width: min(50%, 176px);
    height: 96px;
  }

  .scene__slipper {
    right: -2px;
    bottom: -2px;
    width: min(56%, 192px);
    height: 94px;
  }

  .scene__caption {
    left: 14px;
    bottom: 8px;
    max-width: 48%;
    font-size: clamp(20px, 8vw, 30px);
  }

  .calendar-grid {
    min-width: 560px;
    gap: 3px;
  }

  .calendar-weekday {
    padding: 5px 1px;
    font-size: 9px;
  }

  .calendar-day {
    min-height: 70px;
    padding: 3px;
    gap: 3px;
  }

  .calendar-day--busy {
    min-height: 82px;
    padding: 4px;
  }

  .calendar-day--empty {
    min-height: 46px;
    padding: 3px;
  }

  .calendar-day__label {
    font-size: 10px;
  }

  .calendar-slot {
    padding: 3px 4px;
    border-radius: 8px;
    font-size: 8px;
    line-height: 1.15;
  }

  .calendar-slot__name {
    font-size: 8px;
  }
}

@media (max-width: 390px) {
  .panel {
    padding: 14px 12px;
  }

  .hero h1 {
    font-size: clamp(28px, 11.5vw, 38px);
  }

  .hero__lead {
    font-size: 14px;
  }

  .calendar-grid {
    min-width: 520px;
  }

  .calendar-day {
    min-height: 64px;
  }

  .calendar-day--busy {
    min-height: 76px;
  }

  .calendar-slot__time,
  .calendar-slot__name {
    letter-spacing: -0.01em;
  }
}
