:root {
  --bg: #f3f7fb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #12315d;
  --muted: #5f7697;
  --border: rgba(18, 49, 93, 0.12);
  --shadow: 0 24px 60px rgba(19, 59, 92, 0.14);
  --bu: #bde0fe;
  --mo: #ffcfcf;
  --ca: #ffeb99;
  --bu-edge: #8fbce6;
  --mo-edge: #eeaeb5;
  --ca-edge: #e5cb71;
  --accent: #163b7a;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(189, 224, 254, 0.95), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(255, 235, 153, 0.85), transparent 18%),
    radial-gradient(circle at 60% 88%, rgba(255, 207, 207, 0.9), transparent 22%),
    linear-gradient(180deg, #eef6fb 0%, #f9fbfd 100%);
}

html.is-scroll-locked,
body.is-scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-scroll-locked {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
}

body.is-scroll-locked .desktop-page,
body.is-scroll-locked .hero {
  transform: translateZ(0);
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 14px 18px 0;
  color: rgba(18, 49, 93, 0.78);
  font-size: 0.92rem;
}

.site-meta {
  margin: 16px 0 0;
  text-align: center;
  color: rgba(18, 49, 93, 0.58);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.site-meta:empty,
.site-meta[hidden] {
  display: none;
}

.site-footer p {
  margin: 0;
}

.site-footer__notice {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(18, 49, 93, 0.58);
}

.site-footer__contact {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.site-footer__label {
  color: rgba(18, 49, 93, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  width: 100%;
}

.site-footer__legal a,
.site-footer__legal-button {
  color: rgba(18, 49, 93, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__legal-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(430px, calc(100% - 24px));
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(9, 24, 52, 0.94);
  box-shadow: 0 24px 60px rgba(9, 24, 52, 0.26);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__copy {
  display: grid;
  gap: 4px;
}

.cookie-banner__copy strong {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.cookie-banner__copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-banner__button {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-banner__button--primary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent);
}

.cookie-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.cookie-banner__links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.legal-page {
  min-height: 100vh;
  padding: 22px 12px 40px;
  background:
    radial-gradient(circle at top left, rgba(189, 224, 254, 0.85), transparent 24%),
    linear-gradient(180deg, #eef6fb 0%, #f9fbfd 100%);
}

.legal-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-card {
  display: grid;
  gap: 20px;
  padding: 28px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(18, 49, 93, 0.12);
}

.legal-card h1,
.legal-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.legal-card p,
.legal-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-card section {
  display: grid;
  gap: 10px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.legal-card__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.legal-card__meta {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(243, 247, 251, 0.92);
}

.desktop-page {
  min-height: calc(100vh - 48px);
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.54);
  box-shadow: 0 34px 90px rgba(30, 75, 118, 0.18);
  backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 48px);
  padding: 34px 34px 28px;
  background:
    linear-gradient(180deg, rgba(40, 120, 201, 0.18), rgba(6, 27, 50, 0.18)),
    url("https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1600&q=80")
      center / cover;
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 83, 157, 0.28), rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 20% 25%, rgba(189, 224, 254, 0.22), transparent 20%),
    radial-gradient(circle at 68% 70%, rgba(255, 235, 153, 0.12), transparent 18%),
    radial-gradient(circle at 82% 32%, rgba(255, 207, 207, 0.12), transparent 14%);
}

.hero__backdrop::before,
.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.22;
}

.hero__backdrop::before {
  width: 420px;
  height: 420px;
  left: -90px;
  bottom: -110px;
  background: rgba(255, 255, 255, 0.08);
}

.hero__backdrop::after {
  width: 620px;
  height: 620px;
  right: -220px;
  top: -210px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "left agenda"
    "collab agenda";
  gap: 22px 48px;
  min-height: 100%;
}

.hero__left-main {
  grid-area: left;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 18px;
  align-items: start;
  max-width: 420px;
  padding: 16px 0 0 4px;
}

.hero__brand {
  display: grid;
  gap: 18px;
}

.logo-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.section-head h2,
.download-card h2,
.contact-card h2,
.event-modal__body h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.logo {
  max-width: 100%;
  font-size: clamp(2.9rem, 4.9vw, 4.3rem);
  line-height: 0.92;
  text-shadow: 0 14px 34px rgba(18, 49, 93, 0.18);
}

.logo__bu {
  color: var(--bu);
  -webkit-text-stroke: 2px var(--bu-edge);
  paint-order: stroke fill;
}

.logo__mo {
  color: var(--mo);
  -webkit-text-stroke: 2px var(--mo-edge);
  paint-order: stroke fill;
}

.logo__ca {
  color: var(--ca);
  -webkit-text-stroke: 2px var(--ca-edge);
  paint-order: stroke fill;
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(0.9rem, 1.35vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.76);
}

.weather-card,
.weather-strip,
.cta,
.status-card,
.banner-panel,
.download-card,
.contact-card,
.event-card,
.date-pill,
.ghost-button,
.filter-chip {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.weather-card {
  padding: 16px 18px;
  min-width: 220px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.weather-strip {
  position: static;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(320px, 100%);
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.14);
}

.weather-town {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.weather-town__name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
}

.weather-town__value {
  margin: 7px 0 0;
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
}

.weather-town__note {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.weather-card__label,
.weather-card__value {
  margin: 0;
}

.weather-card__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.64);
}

.weather-card__value {
  margin-top: 4px;
  font-weight: 800;
  color: white;
}

.cta,
.ghost-button,
.date-pill,
.store-links a,
.event-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
}

.agenda-panel {
  grid-area: agenda;
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: 16px;
  height: 100%;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(247, 251, 254, 0.15);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(18, 49, 93, 0.16);
}

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

.agenda-panel__title-block {
  display: grid;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.agenda-panel__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.agenda-panel__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 981px) {
  .agenda-panel__controls {
    width: 100%;
  }

  .agenda-panel__controls .filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 18px;
  }

  .agenda-panel__controls .filter-chip {
    width: min(100%, 190px);
    min-width: 0;
    height: 74px;
    justify-content: flex-start;
  }

  .agenda-panel__controls .filter-chip:nth-child(1) {
    justify-self: start;
  }

  .agenda-panel__controls .filter-chip:nth-child(2) {
    justify-self: center;
  }

  .agenda-panel__controls .filter-chip:nth-child(3) {
    justify-self: end;
  }
}

.agenda-panel__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.agenda-action-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  box-shadow:
    0 18px 34px rgba(18, 49, 93, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.agenda-action-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.38);
}

.agenda-action-button:focus-visible {
  outline: 3px solid rgba(255, 235, 153, 0.95);
  outline-offset: 3px;
}

.agenda-action-button svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.agenda-print-button {
  display: none;
}

@media (min-width: 981px) {
  .agenda-print-button {
    display: inline-flex;
  }
}

.agenda-panel .eyebrow,
.event-modal__body .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.agenda-panel h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.9rem, 2.2vw, 2.5rem);
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.date-nav,
.filter-bar,
.store-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.agenda-panel__controls .filter-bar {
  flex: 1 1 auto;
}

.today-observance {
  margin: -4px auto 0;
  max-width: min(100%, 760px);
  text-align: center;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.84);
}

.today-observance[hidden] {
  display: none;
}

.filter-hint {
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ghost-button,
.date-pill,
.filter-chip {
  padding: 12px 18px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}

.date-pill {
  min-width: 182px;
  font-weight: 800;
}

.date-nav__arrow {
  width: 60px;
  min-width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid rgba(22, 59, 122, 0.22);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 14px 28px rgba(18, 49, 93, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: var(--accent);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.date-nav__arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 59, 122, 0.38);
  box-shadow:
    0 18px 34px rgba(18, 49, 93, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.date-nav__arrow:focus-visible {
  outline: 3px solid rgba(255, 235, 153, 0.95);
  outline-offset: 3px;
}

.date-nav__arrow svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.filter-chip {
  min-width: 164px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 14px 30px rgba(18, 49, 93, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
}

.filter-chip__code {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 15px;
  background: rgba(18, 49, 93, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 6px 16px rgba(18, 49, 93, 0.08);
  font-family: "Sora", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(18, 49, 93, 0.74);
}

.filter-chip__label {
  display: block;
  font-size: 0.98rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-align: left;
  white-space: nowrap;
}

.filter-chip[data-town="bueu"].is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.12)),
    var(--bu);
  border-color: rgba(143, 188, 230, 0.45);
}

.filter-chip[data-town="moana"].is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.12)),
    var(--mo);
  border-color: rgba(238, 174, 181, 0.45);
}

.filter-chip[data-town="cangas"].is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.12)),
    var(--ca);
  border-color: rgba(229, 203, 113, 0.55);
}

.filter-chip.is-active .filter-chip__code {
  background: rgba(255, 255, 255, 0.58);
  color: rgba(18, 49, 93, 0.8);
}

.status-card,
.download-card,
.contact-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.status-card {
  min-height: 72px;
  display: grid;
  align-items: center;
  color: var(--muted);
}

.event-grid {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 0;
  max-height: 100%;
  overflow: auto;
  padding-right: 8px;
}

.event-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-2px);
}

.event-card:focus-visible {
  outline: 4px solid rgba(18, 49, 93, 0.24);
  outline-offset: 4px;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  border-radius: 999px;
  background: var(--town-color, var(--accent));
}

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

.event-card__town,
.event-card__category {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.event-card__town {
  background: var(--town-color-soft, rgba(18, 49, 93, 0.08));
}

.event-card__category {
  background: rgba(18, 49, 93, 0.06);
  color: var(--muted);
}

.event-card h3 {
  margin: 14px 0 10px;
  font-size: 1.26rem;
}

.event-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.event-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.event-card__action {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.install-shortcut {
  display: none;
}

.install-shortcut__button {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 44px rgba(18, 49, 93, 0.16);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.collab-panel {
  grid-area: collab;
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.collab-panel__title {
  margin: 0;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.banner-frame {
  position: relative;
  min-height: 180px;
  height: 180px;
  overflow: hidden;
  border-radius: 24px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.banner-frame__media {
  position: absolute;
  inset: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  background: #ffffff;
  transition: opacity 220ms ease;
  -webkit-user-drag: none;
}

.banner-frame__media.is-active {
  opacity: 1;
  pointer-events: auto;
}

.banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.banner-frame__empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #ffffff;
  color: rgba(18, 49, 93, 0.52);
  text-align: center;
}

.banner-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 49, 93, 0.2);
  cursor: pointer;
}

.banner-dots button.is-active {
  background: var(--accent);
}

.store-links a {
  min-width: 132px;
  padding: 12px 18px;
  background: white;
  color: var(--accent);
  font-weight: 800;
}

.store-links a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
}

.contact-card a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.event-modal {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 36px 120px rgba(18, 49, 93, 0.34);
}

.event-modal::backdrop {
  background: rgba(8, 27, 47, 0.52);
  backdrop-filter: blur(6px);
}

.event-modal__sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 24px);
  background: white;
}

.event-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(11, 31, 66, 0.28);
  color: white;
  cursor: pointer;
}

.event-modal__hero {
  min-height: 12px;
}

.event-modal__body {
  min-height: 0;
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.event-modal__time,
.event-modal__content {
  color: var(--muted);
  line-height: 1.7;
}

.event-modal__content p {
  margin: 0 0 14px;
}

.event-modal__content p:last-child {
  margin-bottom: 0;
}

.event-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 16px;
  width: 100%;
}

.event-modal__text-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  word-break: break-word;
}

.event-modal__action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.event-modal__research-link {
  margin-left: auto;
}

.search-modal {
  width: min(760px, calc(100% - 24px));
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 36px 120px rgba(18, 49, 93, 0.34);
}

.search-modal::backdrop {
  background: rgba(8, 27, 47, 0.52);
  backdrop-filter: blur(6px);
}

.search-modal__sheet {
  position: relative;
  display: grid;
  gap: 16px;
  max-height: min(84vh, 760px);
  padding: 26px 22px 20px;
  background: rgba(255, 255, 255, 0.98);
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.search-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(243, 247, 251, 0.94));
  color: var(--accent);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(18, 49, 93, 0.06);
  cursor: pointer;
}

.search-modal__head {
  padding-right: 74px;
}

.search-modal__head h2 {
  margin: 0;
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.search-modal__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(18, 49, 93, 0.12);
  border-radius: 20px;
  background: rgba(245, 249, 252, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-modal__field svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  stroke: rgba(18, 49, 93, 0.46);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.search-modal__field input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 1rem;
}

.search-modal__field input::placeholder {
  color: rgba(18, 49, 93, 0.48);
}

.search-modal__summary {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-modal__results {
  display: grid;
  gap: 12px;
  min-height: 120px;
  max-height: min(50vh, 420px);
  overflow: auto;
  padding-right: 4px;
}

.search-results__empty,
.search-results__more {
  margin: 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(245, 249, 252, 0.98);
  color: var(--muted);
  line-height: 1.6;
}

.search-results__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  color: rgba(210, 110, 125, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-results__divider::before,
.search-results__divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(226, 154, 165, 0.6);
}

.search-result {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.94));
  text-align: left;
  box-shadow: 0 16px 32px rgba(18, 49, 93, 0.08);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.search-result:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 49, 93, 0.16);
  box-shadow: 0 20px 38px rgba(18, 49, 93, 0.12);
}

.search-result:focus-visible {
  outline: 3px solid rgba(255, 235, 153, 0.95);
  outline-offset: 3px;
}

.search-result__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.search-result__town {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px var(--search-town-color, var(--accent)),
    0 6px 12px rgba(18, 49, 93, 0.06);
  color: var(--search-town-color, var(--accent));
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-result__meta {
  color: rgba(18, 49, 93, 0.62);
  font-size: 0.86rem;
}

.search-result__title {
  color: var(--accent);
  font-size: 1.08rem;
  line-height: 1.3;
}

.search-result__snippet {
  color: var(--muted);
  line-height: 1.55;
}

.print-modal {
  width: min(920px, calc(100% - 40px));
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 36px 120px rgba(18, 49, 93, 0.34);
}

.print-modal::backdrop {
  background: rgba(8, 27, 47, 0.52);
  backdrop-filter: blur(6px);
}

.print-modal__sheet {
  position: relative;
  display: grid;
  gap: 18px;
  max-height: min(88vh, 860px);
  padding: 30px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.99);
  overscroll-behavior: contain;
}

.print-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(243, 247, 251, 0.94));
  color: var(--accent);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(18, 49, 93, 0.06);
  cursor: pointer;
}

.print-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.print-modal__print {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(18, 49, 93, 0.18);
  cursor: pointer;
}

.print-sheet {
  display: grid;
  gap: 14px;
  color: #17233a;
  font-size: 0.9rem;
}

.print-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-right: 62px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 35, 58, 0.18);
}

.print-sheet__brand {
  display: grid;
  gap: 2px;
}

.print-sheet__brand strong {
  color: #17233a;
  font-family: "Sora", sans-serif;
  font-size: 1.42rem;
  line-height: 1;
}

.print-sheet__brand span,
.print-sheet__intro p,
.print-sheet__intro span,
.print-sheet__no-logos {
  color: rgba(23, 35, 58, 0.62);
}

.print-sheet__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.print-sheet__logos img {
  display: block;
  max-width: 104px;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(0.1);
}

.print-sheet__intro {
  display: grid;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(23, 35, 58, 0.12);
}

.print-sheet__intro p {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.print-sheet__intro h2 {
  margin: 0;
  color: #17233a;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.print-sheet__intro span {
  font-size: 0.82rem;
}

.print-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 35, 58, 0.14);
}

.print-timeline__item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 35, 58, 0.14);
}

.print-timeline__item::before {
  display: none;
}

.print-timeline__time {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 0;
  padding: 2px 0 0;
  color: #17233a;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.22;
  text-align: left;
  box-shadow: none;
}

.print-event {
  display: grid;
  gap: 5px;
  padding: 0 0 0 10px;
  border: 0;
  border-left: 4px solid var(--print-town-color, #17233a);
  border-radius: 0;
  background: transparent;
}

.print-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.print-event__meta span {
  display: inline-flex;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(23, 35, 58, 0.66);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.print-event__meta span + span::before {
  content: "·";
  margin-right: 6px;
  color: rgba(23, 35, 58, 0.42);
}

.print-event h3 {
  margin: 0;
  color: #17233a;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.22;
}

.print-event p {
  margin: 0;
  color: rgba(23, 35, 58, 0.72);
  font-size: 0.86rem;
  line-height: 1.38;
}

.print-event__description {
  white-space: pre-line;
}

.print-sheet__empty {
  padding: 22px;
  border-radius: 22px;
  background: rgba(245, 249, 252, 0.98);
  color: var(--muted);
}

.calendar-modal {
  width: min(600px, calc(100% - 20px));
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 36px 120px rgba(18, 49, 93, 0.34);
}

.calendar-modal::backdrop {
  background: rgba(8, 27, 47, 0.52);
  backdrop-filter: blur(6px);
}

.calendar-modal__sheet {
  position: relative;
  padding: 26px 26px 22px;
  background: rgba(255, 255, 255, 0.98);
  box-sizing: border-box;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.calendar-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(243, 247, 251, 0.94));
  color: var(--accent);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(18, 49, 93, 0.06);
  cursor: pointer;
}

.calendar-modal__head {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.calendar-modal__year-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.calendar-modal__year {
  margin: 0;
  color: rgba(18, 49, 93, 0.62);
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.calendar-modal__month-nav {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.calendar-modal__head h2 {
  margin: 0;
  padding: 4px 0 6px;
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  line-height: 1.16;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
}

.calendar-modal__head h2.is-long {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
}

.calendar-modal__head h2.is-very-long {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
}

.calendar-modal__month-button {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(243, 247, 251, 0.94));
  color: var(--accent);
  font-size: 1.65rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(18, 49, 93, 0.06);
  cursor: pointer;
}

.calendar-modal__weekdays,
.calendar-modal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-modal__weekdays {
  gap: 8px;
  margin-bottom: 10px;
}

.calendar-modal__weekdays span {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(18, 49, 93, 0.48);
}

.calendar-modal__grid {
  gap: 8px;
  grid-template-rows: repeat(6, 58px);
}

.calendar-day {
  position: relative;
  min-height: 0;
  height: 58px;
  padding: 10px 8px;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 18px;
  background: rgba(243, 247, 251, 0.92);
  color: var(--accent);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.calendar-day:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(18, 49, 93, 0.08);
}

.calendar-day__number {
  display: block;
  text-align: center;
  font-weight: 800;
}

.calendar-day__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 10px;
  margin-top: 8px;
}

.calendar-day__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.calendar-day.is-selected {
  border-color: rgba(22, 59, 122, 0.36);
  background: rgba(22, 59, 122, 0.08);
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 2px rgba(22, 59, 122, 0.18);
}

.calendar-day.is-outside {
  opacity: 0.38;
}

.install-modal {
  width: min(520px, calc(100% - 24px));
  max-height: min(88vh, 860px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 36px 120px rgba(18, 49, 93, 0.34);
}

.install-modal,
.install-modal * {
  box-sizing: border-box;
}

.install-modal::backdrop {
  background: rgba(8, 27, 47, 0.52);
  backdrop-filter: blur(6px);
}

.install-modal__sheet {
  position: relative;
  max-height: min(88vh, 860px);
  overflow-y: auto;
  padding: 28px 22px 22px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.install-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(243, 247, 251, 0.94));
  color: var(--accent);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(18, 49, 93, 0.06);
  cursor: pointer;
}

.install-modal__sheet .eyebrow {
  margin-bottom: 10px;
  color: rgba(18, 49, 93, 0.52);
}

.install-modal__sheet h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--accent);
}

.install-modal__lead,
.install-modal__note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.install-modal__lead {
  margin-top: 12px;
}

.install-modal__note {
  margin-top: 18px;
}

.install-route {
  display: grid;
  margin-top: 18px;
}

.install-route__card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 12%, rgba(127, 176, 236, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(246, 249, 252, 0.98), rgba(235, 242, 249, 0.94));
  overflow: hidden;
}

.install-route__copy {
  display: grid;
  gap: 12px;
}

.install-route__copy h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  color: var(--accent);
}

.install-route__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.install-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  color: rgba(18, 49, 93, 0.78);
  line-height: 1.4;
}

.install-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.install-step__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.install-step__icons {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.install-step__icons,
.install-visual,
.install-visual__icons,
.install-visual__icon {
  min-width: 0;
}

.install-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
}

.install-step-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-step-icon--menu {
  letter-spacing: 1px;
}

.install-step-icon--add {
  background: rgba(255, 234, 167, 0.68);
  color: #8a5f00;
}

.install-route__hint {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 234, 167, 0.48);
  color: rgba(18, 49, 93, 0.72) !important;
  font-size: 0.94rem;
}

.install-native-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(18, 49, 93, 0.22);
  cursor: pointer;
}

.install-visual {
  display: flex;
  justify-content: center;
  padding: 2px 0;
}

.install-visual__icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(18, 49, 93, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(127, 176, 236, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.62);
}

.install-visual__icons--compact {
  justify-content: center;
}

.install-visual__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 92px;
  max-width: 100%;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid rgba(18, 49, 93, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--accent);
  box-shadow: 0 10px 22px rgba(18, 49, 93, 0.08);
}

.install-visual__icon small {
  color: rgba(18, 49, 93, 0.72);
  font-family: "Sora", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.install-visual__icon--button {
  min-width: 122px;
  background: var(--accent);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 900;
}

.install-visual__icon--add {
  background: rgba(255, 234, 167, 0.84);
}

.install-visual__label {
  color: rgba(18, 49, 93, 0.72);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.install-visual__or,
.install-visual__arrow,
.install-visual__done {
  color: rgba(18, 49, 93, 0.46);
  font-family: "Sora", sans-serif;
  font-weight: 900;
}

.install-visual__done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(203, 247, 219, 0.9);
  color: #18733b;
}

@media (max-width: 560px) {
  .install-modal {
    width: min(94vw, 520px);
    max-height: 86vh;
    border-radius: 28px;
  }

  .install-modal__sheet {
    max-height: 86vh;
    padding: 24px 18px 18px;
  }

  .install-modal__sheet h2 {
    padding-right: 54px;
  }

  .install-route__card {
    padding: 12px;
    border-radius: 22px;
  }

  .install-visual__icons {
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-radius: 18px;
  }

  .install-visual__icon {
    flex: 1 1 70px;
    min-height: 40px;
    padding: 6px 7px;
    border-radius: 13px;
    gap: 5px;
  }

  .install-visual__icon small {
    font-size: 0.62rem;
  }

  .install-steps li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    padding: 9px;
    font-size: 0.88rem;
  }

  .install-step__number {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .install-step-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .install-step-icon svg {
    width: 17px;
    height: 17px;
  }

  .install-step__icons {
    grid-column: 2;
    justify-content: flex-start;
  }

  .install-native-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .install-visual__icon {
    flex-basis: 48px;
  }

  .install-visual__icon small {
    display: none;
  }
}

@media (max-width: 980px) {
  .desktop-page {
    border-radius: 32px;
  }

  .hero {
    min-height: auto;
    padding: 24px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "left"
      "agenda"
      "collab";
    gap: 24px;
    min-height: auto;
  }

  .hero__left-main {
    grid-template-rows: auto auto;
    max-width: none;
  }

  .agenda-panel__head {
    flex-direction: column;
    align-items: start;
  }

  .collab-panel {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 12px, 100%);
    padding: 6px 0 20px;
  }

  .hero {
    min-height: auto;
    padding: 18px 14px 16px;
  }

  .desktop-page {
    min-height: auto;
    border-radius: 30px;
  }

  .hero__inner {
    gap: 16px;
  }

  .hero__left-main {
    gap: 14px;
    padding: 4px 2px 0;
  }

  .hero__brand {
    width: 100%;
    justify-items: center;
    text-align: center;
    gap: 12px;
  }

  .logo {
    font-size: clamp(4rem, 20vw, 5.7rem);
    line-height: 0.88;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.9);
  }

  .weather-strip {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
  }

  .weather-town {
    padding: 10px 8px;
    text-align: center;
    border-radius: 16px;
  }

  .weather-town__name {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .weather-town__value {
    margin-top: 6px;
    font-size: 0.92rem;
  }

  .weather-town__note {
    font-size: 0.75rem;
  }

  .agenda-panel {
    gap: 14px;
    height: auto;
    padding: 18px 14px 16px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .filter-hint {
    font-size: 0.78rem;
    color: rgba(18, 49, 93, 0.72);
  }

  .today-observance {
    margin-top: -2px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(18, 49, 93, 0.72);
  }

  .agenda-panel h2 {
    color: var(--accent);
    font-size: clamp(1.62rem, 8vw, 1.9rem);
    line-height: 1;
  }

  .agenda-panel__title-row {
    width: 100%;
    justify-content: space-between;
  }

  .agenda-panel__title-block {
    width: 100%;
  }

  .agenda-panel__controls {
    display: block;
  }

  .agenda-panel__controls .filter-bar {
    width: 100%;
  }

  .agenda-search-button {
    width: 46px;
    height: 46px;
    margin-left: auto;
    border-color: rgba(18, 49, 93, 0.16);
    background: rgba(255, 255, 255, 0.94);
    color: var(--accent);
    box-shadow:
      0 14px 26px rgba(18, 49, 93, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .agenda-search-button svg {
    width: 21px;
    height: 21px;
  }

  .event-card__top,
  .event-card__footer {
    flex-direction: column;
    align-items: start;
  }

  .agenda-panel__head {
    width: 100%;
  }

  .date-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 8px;
  }

  .ghost-button,
  .date-pill {
    min-width: 0;
    width: 100%;
    padding: 13px 10px;
    font-size: 0.98rem;
  }

  .date-nav__arrow {
    height: 56px;
    padding: 0;
  }

  .date-pill {
    white-space: nowrap;
  }

  .date-nav__arrow svg {
    width: 30px;
    height: 30px;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .filter-chip {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding: 10px 8px;
    gap: 8px;
    border-radius: 20px;
  }

  .filter-chip__code {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .filter-chip__label {
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .status-card {
    min-height: 64px;
    padding: 18px;
    border-radius: 22px;
  }

  .event-grid {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .event-card {
    padding: 18px;
    border-radius: 24px;
  }

  .event-card h3 {
    font-size: 1.14rem;
  }

  .event-card__action {
    width: 100%;
    justify-content: center;
  }

  .install-shortcut {
    display: block;
    margin-top: -2px;
  }

  .install-shortcut__button {
    padding: 15px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(18, 49, 93, 0.08);
    color: var(--accent);
    box-shadow: 0 18px 42px rgba(18, 49, 93, 0.1);
    backdrop-filter: none;
  }

  .collab-panel {
    width: 100%;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
  }

  .collab-panel__title {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
  }

  .banner-frame {
    height: 176px;
    min-height: 176px;
    border-radius: 20px;
  }

  .banner-frame__media {
    inset: 10px;
  }

  .banner-frame img {
    height: 100%;
    max-height: none;
  }

  .banner-frame__empty {
    min-height: 154px;
  }

  .event-modal__hero {
    min-height: 10px;
  }

  .calendar-modal__sheet {
    padding: 22px 16px 18px;
  }

  .calendar-modal__head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .calendar-modal__year-row {
    min-height: 48px;
  }

  .calendar-modal__year {
    font-size: 1rem;
  }

  .calendar-modal__month-nav {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 10px;
    margin: 0;
  }

  .calendar-modal__month-button {
    width: 48px;
    height: 48px;
    font-size: 1.38rem;
  }

  .calendar-modal__head h2 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
  }

  .calendar-modal__head h2.is-long {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .calendar-modal__head h2.is-very-long {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .calendar-modal__weekdays {
    gap: 6px;
  }

  .calendar-modal__grid {
    gap: 6px;
    grid-template-rows: repeat(6, 50px);
  }

  .calendar-day {
    min-height: 0;
    height: 50px;
    padding: 8px 4px;
    border-radius: 16px;
  }

  .calendar-day__number {
    font-size: 0.9rem;
  }

  .search-modal__sheet {
    max-height: min(84vh, 760px);
    padding: 24px 14px 16px;
  }

  .search-modal__head {
    padding-right: 54px;
  }

  .search-modal__head h2 {
    font-size: clamp(1.22rem, 7vw, 1.72rem);
  }

  .search-modal__field {
    gap: 10px;
    padding: 12px 14px;
  }

  .search-modal__results {
    max-height: min(54vh, 420px);
  }

  .search-result {
    padding: 14px;
    border-radius: 18px;
  }

  .search-result__top {
    align-items: flex-start;
  }

  .install-modal__sheet {
    max-height: min(84vh, 760px);
    padding: 24px 14px 16px;
  }

  .install-modal__lead,
  .install-modal__note {
    font-size: 0.92rem;
  }

  .install-modal {
    width: min(100% - 16px, 520px);
    max-height: min(90vh, 760px);
    border-radius: 24px;
  }

  .install-modal__sheet {
    padding: 20px 12px 14px;
  }

  .install-modal__sheet h2 {
    padding-right: 46px;
    font-size: 1.36rem;
  }

  .install-modal__lead {
    margin-top: 8px;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .install-modal__note {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .site-footer {
    gap: 10px 14px;
    padding-top: 14px;
    font-size: 0.84rem;
    flex-direction: column;
  }

  .site-footer__notice {
    font-size: 0.72rem;
  }

  .site-footer__contact {
    gap: 2px;
  }

  .site-footer__legal {
    gap: 6px 10px;
  }

  .site-footer__legal a,
  .site-footer__legal-button {
    font-size: 0.76rem;
  }

  .site-meta {
    margin-top: 14px;
    font-size: 0.74rem;
    padding: 0 12px;
  }

  .cookie-banner {
    bottom: 10px;
    gap: 10px;
    width: min(calc(100% - 12px), 100%);
    padding: 14px 12px;
    border-radius: 18px;
  }

  .cookie-banner__copy strong {
    font-size: 0.92rem;
  }

  .cookie-banner__copy p,
  .cookie-banner__links a {
    font-size: 0.8rem;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding: 14px 8px 28px;
  }

  .legal-card {
    padding: 22px 16px;
    border-radius: 22px;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  html,
  body {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body {
    display: block !important;
  }

  body > *:not(.print-modal) {
    display: none !important;
  }

  .print-modal,
  .print-modal[open] {
    display: block !important;
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: white;
  }

  .print-modal::backdrop,
  .print-modal__close,
  .print-modal__actions {
    display: none !important;
  }

  .print-modal__sheet,
  .print-modal__content,
  .print-sheet,
  .print-timeline {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .print-modal__sheet {
    padding: 0;
    background: white;
  }

  .print-sheet {
    gap: 10px;
    color: #17233a;
    font-size: 9.5pt;
  }

  .print-sheet__header {
    padding-right: 0;
    padding-bottom: 8px;
  }

  .print-sheet__brand strong {
    font-size: 17pt;
  }

  .print-sheet__brand span,
  .print-sheet__intro span {
    font-size: 8.5pt;
  }

  .print-sheet__logos img {
    max-width: 86px;
    max-height: 34px;
  }

  .print-sheet__intro {
    padding-bottom: 6px;
  }

  .print-sheet__intro h2 {
    font-size: 14pt;
  }

  .print-timeline {
    gap: 0;
  }

  .print-event {
    box-shadow: none;
  }

  .print-event,
  .print-timeline__item,
  .print-event__description {
    break-inside: auto;
    page-break-inside: auto;
  }

  .print-timeline__item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
  }

  .print-timeline__time {
    font-size: 8.5pt;
  }

  .print-event h3 {
    font-size: 10.5pt;
  }

  .print-event p {
    font-size: 8.8pt;
    line-height: 1.32;
  }
}
