/* ===========================
   Wedding Guide App
   Mediterranean palette, app-style UI
   =========================== */
:root {
  --sea-deep:   #2c5f7f;
  --sea:        #3f7fa6;
  --sea-mid:    #6fa3c0;
  --sea-mist:   #a8c5d6;
  --sea-pale:   #e7f0f5;
  --terracotta: #b86b52;
  --champagne:  #d4b88a;
  --gold:       #b8945a;
  --ivory:      #fbf5ea;
  --ink:        #24384a;
  --ink-light:  #7d8e9b;
  --line:       #e2e8ed;
  --white:      #ffffff;

  --font-ja: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  --font-en: 'Cormorant Garamond', serif;
  --font-script: 'Parisienne', 'Cormorant Garamond', cursive;

  --shell: 430px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #eef2f5;
  font-family: var(--font-ja);
  color: var(--ink);
  line-height: 1.6;
}

/* ---- LINE login gate ----
   .is-gated is set in <head> only when a LIFF ID is configured, so the
   content never flashes before the login check finishes. */
.gate { display: none; }

html.is-gated .app { visibility: hidden; }

html.is-gated .gate {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

html.is-ready .app { visibility: visible; }
html.is-ready .gate { display: none; }

.gate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 32px;
  text-align: center;
}

.gate-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--sea-pale);
  border-top-color: var(--sea-deep);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.gate-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink-light);
}

@media (prefers-reduced-motion: reduce) {
  .gate-spinner { animation-duration: 2.4s; }
}

/* ---- app shell ---- */
.app {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 0 48px rgba(44, 95, 127, 0.14);
}

/* ---- hero map ---- */
.app-hero {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.hero-map { display: block; width: 100%; height: 100%; }

.app-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(168, 197, 214, 0.5) 0%, rgba(231, 240, 245, 0.35) 55%, rgba(255, 255, 255, 0.75) 100%);
  pointer-events: none;
}

.pin {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 2px 6px rgba(44, 95, 127, 0.18);
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, background 0.18s ease;
}

.pin svg { width: 24px; height: 24px; fill: var(--sea-mid); }
.pin:hover { transform: translateY(-3px); background: var(--white); }
.pin:hover svg { fill: var(--sea-deep); }

.pin--a { top: 34px; left: 14%; }
.pin--b { top: 78px; left: 41%; }
.pin--c { top: 26px; left: 63%; background: rgba(240, 226, 200, 0.9); }
.pin--c svg { fill: var(--gold); }
.pin--d { top: 92px; left: 80%; }

.hero-badge {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 14px;
  margin: 0;
  font-family: var(--font-en);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--sea-deep);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
}

/* ---- tab bar ---- */
.tabbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 4px 6px 0;
}

.tab {
  flex: 1;
  border: none;
  background: none;
  padding: 9px 0 7px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: border-color 0.18s ease;
  font-family: inherit;
}

.tab svg {
  display: block;
  margin: 0 auto;
  width: 26px;
  height: 26px;
  fill: var(--sea-mist);
  transition: fill 0.18s ease;
}

.tab-label {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--sea-mist);
  transition: color 0.18s ease;
}

.tab:hover svg { fill: var(--sea-mid); }
.tab:hover .tab-label { color: var(--sea-mid); }
.tab.is-active { border-bottom-color: var(--sea-deep); }
.tab.is-active svg { fill: var(--sea-deep); }
.tab.is-active .tab-label { color: var(--sea-deep); font-weight: 500; }

/* ---- body / views ---- */
.app-body { padding: 22px 20px 96px; }

.view { animation: viewIn 0.24s ease both; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .view { animation: none; }
}

.view-title {
  margin: 4px 0 6px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sea-deep);
}

.view-lead {
  margin: 0 0 24px;
  font-size: 0.92rem;
  color: var(--ink-light);
}

/* ---- user row ---- */
.user-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0 26px;
}

.avatar {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(44, 95, 127, 0.18);
}

.avatar svg { display: block; width: 100%; height: 100%; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.user-name {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--sea-deep);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-name .suffix { font-size: 1.05rem; font-weight: 500; }

.user-link {
  flex: none;
  padding: 6px 2px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--sea);
  transition: color 0.18s ease;
}

.user-link:hover { color: var(--sea-deep); text-decoration: underline; }

/* ---- countdown card ---- */
.countdown {
  margin: 0 0 30px;
  padding: 22px 20px 20px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(160deg, var(--ivory) 0%, #f6efe2 100%);
  border: 1px solid #efe3cd;
}

.cd-label {
  margin: 0 0 8px;
  font-family: var(--font-script);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gold);
}

.cd-main {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--sea-deep);
}

.cd-main strong {
  font-family: var(--font-en);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0 2px;
}

.cd-sub {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-light);
}

/* on the day itself */
.countdown.is-today {
  background: linear-gradient(160deg, #eaf2f7 0%, #dfeaf1 100%);
  border-color: var(--sea-mist);
}

.countdown.is-today .cd-label { color: var(--sea); }

.countdown.is-today .cd-main {
  font-size: 1.5rem;
  font-weight: 700;
}

.countdown.is-done .cd-main { font-size: 1.15rem; }

/* ---- blocks ---- */
.block { margin-bottom: 30px; }

.block-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sea-deep);
  letter-spacing: 0.02em;
}

.block-empty {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ---- dual action ---- */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px 0 4px;
}

.dual-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  color: var(--sea);
  text-decoration: none;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.18s ease, transform 0.18s ease;
}

.dual-item + .dual-item { border-left: 1px solid var(--line); }
.dual-item svg { width: 48px; height: 40px; }
.dual-item:hover { color: var(--sea-deep); transform: translateY(-2px); }

/* ---- back link ---- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px -4px;
  padding: 6px 4px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--sea);
  transition: color 0.18s ease;
}

.back-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.back-link:hover { color: var(--sea-deep); }

/* ---- figures ---- */
.figure {
  margin: 0 0 12px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sea-pale);
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
}

.figure-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--sea-mist);
  border-radius: 10px;
  color: var(--sea-mid);
}

.figure-placeholder svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  opacity: 0.7;
}

.figure-placeholder p {
  margin: 0;
  font-size: 0.85rem;
}

.figure.is-missing { background: none; }
.figure.is-missing img { display: none; }
.figure.is-missing .figure-placeholder { display: flex; }

.figure-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink-light);
}

/* ---- buttons ---- */
.btn-outline {
  display: block;
  margin: 8px 0 32px;
  padding: 15px 12px;
  border: 1px solid var(--sea-mist);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--sea);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.18s ease, color 0.18s ease;
}

.btn-outline:hover { background: var(--sea-pale); color: var(--sea-deep); }

.btn-external {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 12px;
}

.btn-external svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.75;
}

.btn-fill {
  display: block;
  width: 100%;
  padding: 15px 12px;
  border: none;
  border-radius: 8px;
  background: var(--sea-deep);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.18s ease;
}

.btn-fill:hover:not(:disabled) { background: var(--sea); }
.btn-fill:disabled { background: var(--sea-mist); cursor: not-allowed; }

/* ---- horizontal scroller ---- */
.scroller {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  margin: 0 -20px;
  padding: 4px 20px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  width: 108px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  color: var(--sea);
  text-decoration: none;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.18s ease, transform 0.18s ease;
}

.chip + .chip { border-left: 1px solid var(--line); }
.chip svg { width: 48px; height: 32px; }
.chip:hover { color: var(--sea-deep); transform: translateY(-2px); }

/* ---- list ---- */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.list li { border-bottom: 1px solid var(--line); }

.list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 22px 15px 2px;
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.98rem;
}

.list em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-light);
}

.list a::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--sea-mist);
  border-bottom: 2px solid var(--sea-mist);
  transform: translateY(-50%) rotate(-45deg);
}

.list a:hover { background: var(--sea-pale); }

/* ---- script headings ---- */
.script-title {
  margin: 10px 0 2px;
  text-align: center;
  font-family: var(--font-script);
  font-size: 2.35rem;
  line-height: 1.2;
  color: var(--sea-deep);
}

.script-sub {
  text-align: center;
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--ink-light);
  margin-bottom: 34px;
}

/* ---- timeline ---- */
.timeline {
  list-style: none;
  margin: 0 0 30px;
  padding: 0 0 0 4px;
}

.timeline li {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 0 0 30px 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 61px;
  top: 8px;
  bottom: -4px;
  width: 1px;
  background: var(--line);
}

.timeline li:last-child::before { display: none; }

.tl-time {
  position: relative;
  flex: none;
  width: 54px;
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--sea);
  padding-top: 1px;
}

.tl-time::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--sea-mist);
}

.tl-body { flex: 1; padding-left: 10px; }

.tl-en {
  margin: 0 0 1px;
  font-family: var(--font-script);
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--gold);
}

.tl-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sea-deep);
}

.tl-note {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--ink-light);
}

/* day-of states */
.timeline li.is-past { opacity: 0.45; }

.timeline li.is-now .tl-time { color: var(--terracotta); font-weight: 600; }

.timeline li.is-now .tl-time::after {
  background: var(--terracotta);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(184, 107, 82, 0.16);
}

.timeline li.is-now .tl-en { color: var(--terracotta); }

.timeline li.is-now .tl-body h3::after {
  content: "現在";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

/* ---- menu ---- */
.menu {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.menu li {
  padding: 22px 2px 24px;
  border-bottom: 1px dotted var(--line);
  text-align: center;
}

.menu li:last-child { border-bottom: none; }

.menu-cat {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--ivory);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.menu-en {
  margin: 0 0 7px;
  font-family: var(--font-en);
  font-size: 1.02rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.menu-ja {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink);
}

/* ---- notice ---- */
.notice {
  margin: 0 0 30px;
  padding: 18px 18px 20px;
  border-radius: 10px;
  background: var(--ivory);
  border: 1px solid #efe3cd;
}

.notice h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.notice p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
}

/* ---- ornaments ---- */
.divider {
  margin: -8px 0 30px;
  color: var(--champagne);
}

.divider svg {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  height: auto;
}

.foot-mark {
  margin: 34px auto -6px;
  width: 34px;
  color: var(--sea-mist);
}

.foot-mark svg { display: block; width: 100%; height: auto; }

.app-foot {
  margin: 12px 0 0;
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--ink-light);
}

/* ---- FAB ---- */
.fab {
  position: fixed;
  z-index: 10;
  right: calc(50% - (var(--shell) / 2) + 20px);
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: var(--sea-deep);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(44, 95, 127, 0.38);
  transition: background 0.18s ease, transform 0.18s ease;
}

.fab svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  transition: transform 0.5s ease;
}

.fab:hover { background: var(--sea); transform: scale(1.05); }
.fab.is-spinning svg { transform: rotate(360deg); }

/* ---- toast ---- */
.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(10px);
  max-width: calc(var(--shell) - 60px);
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(36, 56, 74, 0.92);
  color: var(--white);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- settings sheet ---- */
/* keep [hidden] winning over the display rule below */
[hidden] { display: none !important; }

.sheet-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(24, 40, 54, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.sheet-backdrop.is-open { opacity: 1; }

.sheet {
  width: 100%;
  max-width: var(--shell);
  padding: 10px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 30px rgba(24, 40, 54, 0.22);
  transform: translateY(100%);
  transition: transform 0.26s cubic-bezier(0.22, 0.75, 0.3, 1);
}

.sheet-backdrop.is-open .sheet { transform: translateY(0); }

.sheet-grip {
  width: 40px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--line);
}

.sheet-title {
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sea-deep);
}

.field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-light);
}

#name-input {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--sea-mist);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--sea-deep);
}

#name-input:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(63, 127, 166, 0.14);
}

.field-help {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-light);
}

.sheet-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.sheet-actions .btn-fill { flex: 1; }

.btn-ghost {
  flex: none;
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-light);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.btn-ghost:hover { background: var(--sea-pale); color: var(--sea-deep); }

@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet-backdrop { transition: none; }
}

@media (max-width: 470px) {
  .fab { right: 20px; }
  .app { box-shadow: none; }
}

/* ---- image zoom viewer ---- */
.figure img { cursor: zoom-in; }

.figure-zoom-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 10px;
  font-size: 0.78rem;
  color: var(--ink-light);
}

.figure-zoom-hint svg {
  width: 14px;
  height: 14px;
  fill: var(--sea-mist);
}

html.is-zooming { overflow: hidden; }

.zoom {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10202c;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.zoom.is-open { opacity: 1; }

.zoom-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.zoom-stage img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  will-change: transform;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.zoom-stage.is-animating img { transition: transform 0.25s ease; }

.zoom-close {
  position: absolute;
  z-index: 2;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.zoom-close svg { width: 22px; height: 22px; fill: #ffffff; }
.zoom-close:hover { background: rgba(255, 255, 255, 0.28); }

.zoom-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

/* ---- maintenance screen ---- */
.maint { display: none; }

html.is-maintenance .app,
html.is-maintenance .gate { display: none !important; }

html.is-maintenance .maint {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 70;
  align-items: center;
  justify-content: center;
  background: linear-gradient(170deg, var(--ivory) 0%, #f3ece0 60%, #eae3f0 100%);
}

.maint-inner {
  padding: 0 34px;
  text-align: center;
  max-width: 420px;
}

.maint-mark {
  width: 42px;
  height: auto;
  margin-bottom: 20px;
  color: var(--champagne);
}

.maint-script {
  margin: 0 0 10px;
  font-family: var(--font-script);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold);
}

.maint-title {
  margin: 0 0 16px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sea-deep);
}

.maint-text {
  margin: 0 0 30px;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--ink-light);
}

.maint-date {
  margin: 0;
  font-family: var(--font-en);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  color: var(--ink-light);
}
