/* ==========================================================================
   style.css — Barber.lk design system
   Palette: --ink (charcoal navy), --paper (warm neutral), --gold (brass),
            --vermilion (barber-pole red), --teal (lagoon/admin accent)
   Signature: diagonal barber-pole stripe used as loader / active-tab
   underline / section divider — restrained, used in 3 places only.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #16181D;
  --ink-2: #22252D;
  --paper: #F5F0E6;
  --paper-2: #FFFFFF;
  --gold: #C9972B;
  --gold-2: #E4B454;
  --vermilion: #C1432E;
  --vermilion-2: #A9391F;
  --teal: #123C36;
  --teal-2: #1B5A50;
  --ivory: #F4EFE4;
  --line: #E4DCC9;
  --text: #1D1D1B;
  --text-dim: #6B6558;
  --success: #2E7D4F;
  --danger: #C1432E;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 2px 10px rgba(22,24,29,0.06), 0 1px 2px rgba(22,24,29,0.08);
  --shadow-lift: 0 8px 24px rgba(22,24,29,0.14);
  --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 64px;
  --topbar-h: 56px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 8px; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 12px; color: var(--text-dim); line-height: 1.55; }
a { color: inherit; }
button { font-family: var(--font-body); }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ------------------------------------------------------------- app shell */
#app-shell { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--paper); position: relative; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  background: var(--ink);
  color: var(--ivory);
}
.topbar__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 17px; cursor: pointer; }
.topbar__logo { width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(var(--vermilion) 0 25%, var(--ivory) 25% 50%, var(--gold) 50% 75%, var(--ivory) 75% 100%); border: 2px solid var(--gold); flex: none; }
.topbar__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  background: rgba(244,239,228,0.08); border: 1px solid rgba(244,239,228,0.16); color: var(--ivory);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; cursor: pointer;
  font-size: 14px; font-weight: 600;
}
.icon-btn:hover { background: rgba(244,239,228,0.16); }
.lang-toggle { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.02em; width: auto; padding: 0 10px; }

main#app { min-height: calc(100vh - var(--topbar-h)); padding: 0 0 24px; }

/* Route transitions: a soft fade+rise applied to freshly-rendered content
   (see router.js). Skips entirely under prefers-reduced-motion via the
   global rule above. */
main#app.page-enter { animation: page-enter 0.28s cubic-bezier(.16,1,.3,1); }
@keyframes page-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.topbar { transition: box-shadow 0.2s ease; }
.topbar.topbar--elevated { box-shadow: 0 2px 12px rgba(0,0,0,0.28); }

/* Skeleton shimmer placeholders for content still loading. */
.skeleton { position: relative; overflow: hidden; background: var(--line); border-radius: 8px; }
.skeleton::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.skeleton-line { height: 12px; margin-bottom: 8px; }
.skeleton-card { height: 88px; border-radius: var(--radius); }

/* ------------------------------------------------------------- bottom nav */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  max-width: 560px; margin: 0 auto;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  display: flex;
  box-shadow: 0 -4px 16px rgba(22,24,29,0.06);
}
.bottom-nav__item {
  flex: 1; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--text-dim); font-size: 11px; font-weight: 600; position: relative; padding-top: 4px;
}
.bottom-nav__icon { font-size: 19px; line-height: 1; }
.bottom-nav__item.active { color: var(--ink); }
.bottom-nav__item.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 3px;
  background: repeating-linear-gradient(-45deg, var(--vermilion) 0 4px, var(--ivory) 4px 8px, var(--gold) 8px 12px, var(--ivory) 12px 16px);
  background-size: 200% 100%;
  animation: pole-scroll 2.4s linear infinite;
}

@keyframes pole-scroll { from { background-position: 0 0; } to { background-position: 32px 0; } }

/* --------------------------------------------------------------- hero */
.hero {
  background: radial-gradient(120% 140% at 100% 0%, #1F2430 0%, var(--ink) 55%);
  color: var(--ivory);
  padding: 28px 18px 26px;
  border-radius: 0 0 26px 26px;
}
.hero__eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; margin-bottom: 10px; }
.hero h1 { font-size: 28px; margin-bottom: 10px; }
.hero p { color: rgba(244,239,228,0.72); font-size: 14.5px; }
.pole-divider {
  height: 4px; border-radius: 4px; margin: 16px 0;
  background: repeating-linear-gradient(-45deg, var(--vermilion) 0 8px, var(--ivory) 8px 16px, var(--gold) 16px 24px, var(--ivory) 24px 32px);
  background-size: 200% 100%;
  animation: pole-scroll-lg 3.2s linear infinite;
}
@keyframes pole-scroll-lg { from { background-position: 0 0; } to { background-position: 64px 0; } }

.hero__search { display: flex; gap: 8px; margin-top: 6px; }
.hero__search select { flex: 1; }
.hero__search .btn { flex: none; }

.stat-row { display: flex; gap: 10px; margin-top: 18px; }
.stat-pill { flex: 1; background: rgba(244,239,228,0.08); border: 1px solid rgba(244,239,228,0.14); border-radius: 12px; padding: 10px 8px; text-align: center; }
.stat-pill b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--gold-2); }
.stat-pill span { font-size: 10.5px; color: rgba(244,239,228,0.7); }

/* --------------------------------------------------------------- layout */
.section { padding: 22px 16px 4px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.section__head h2 { font-size: 18px; }
.section__head a { font-size: 12.5px; font-weight: 700; color: var(--vermilion); text-decoration: none; }

.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper-2); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text);
  white-space: nowrap; transition: transform 0.12s cubic-bezier(.34,1.56,.64,1), background 0.15s ease;
}
.chip:active { transform: scale(0.94); }
.chip.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip:has(input:checked) { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }

/* --------------------------------------------------------------- cards */
.card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.barber-card { width: 210px; flex: none; scroll-snap-align: start; padding: 14px; cursor: pointer; transition: transform 0.12s cubic-bezier(.34,1.56,.64,1), box-shadow 0.15s ease; }
.barber-card:active { transform: scale(0.97); box-shadow: var(--shadow); }
.barber-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--ivory); font-size: 20px; flex: none;
  border: 2px solid var(--gold);
}
.avatar--sm { width: 32px; height: 32px; font-size: 14px; }
.avatar--lg { width: 72px; height: 72px; font-size: 30px; }
.barber-card__name { font-weight: 700; font-size: 14.5px; }
.barber-card__area { font-size: 11.5px; color: var(--text-dim); }
.rating-line { font-size: 12px; color: var(--gold); font-weight: 700; }
.rating-line .muted { color: var(--text-dim); font-weight: 500; margin-left: 4px; }
.pending-badge { font-size: 10.5px; font-weight: 700; color: var(--vermilion); background: #FBEAE6; padding: 2px 8px; border-radius: 999px; }

.list-card { margin: 0 16px 12px; padding: 14px; display: flex; gap: 12px; align-items: center; cursor: pointer; transition: transform 0.12s cubic-bezier(.34,1.56,.64,1); }
.list-card:active { transform: scale(0.98); }
.list-card__body { flex: 1; min-width: 0; }
.list-card__title { font-weight: 700; font-size: 14.5px; margin-bottom: 2px; }
.list-card__meta { font-size: 12px; color: var(--text-dim); }
.chevron { color: var(--text-dim); font-size: 18px; }

.how-step { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.how-step__num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--gold-2);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; flex: none;
}
.how-step h3 { font-size: 14.5px; margin-bottom: 2px; }
.how-step p { font-size: 13px; margin: 0; }

/* -------------------------------------------------------------- forms */
.form-page { padding: 26px 20px 20px; max-width: 460px; margin: 0 auto; }
.form-page h1 { font-size: 24px; }
.form-page > p { font-size: 13.5px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.field .hint { font-size: 11.5px; color: var(--text-dim); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=time], input[type=number], select, textarea {
  width: 100%; padding: 12px 13px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--paper-2); font-size: 14.5px; font-family: var(--font-body); color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,43,0.15); outline: none; }
textarea { resize: vertical; min-height: 80px; }
.field-error { border-color: var(--danger) !important; animation: field-shake 0.35s ease; }
@keyframes field-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.error-text { color: var(--danger); font-size: 11.5px; margin-top: 4px; font-weight: 600; animation: fade-in-down 0.15s ease; }
@keyframes fade-in-down { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 18px; border-radius: 11px; border: none; font-weight: 700; font-size: 14.5px;
  cursor: pointer; font-family: var(--font-body); transition: transform 0.15s cubic-bezier(.34,1.56,.64,1), opacity 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent; position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--primary { background: var(--vermilion); color: #fff; }
.btn--primary:hover { background: var(--vermilion-2); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn--danger { background: #FBEAE6; color: var(--danger); border: 1.5px solid #F3CFC6; }
.btn--sm { padding: 8px 12px; font-size: 12.5px; border-radius: 9px; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 10px; margin-top: 18px; }

/* Material-style ripple: a JS-triggered expanding circle from the touch
   point (see Utils.spawnRipple). Respects prefers-reduced-motion via the
   global rule at the top of this file. */
.btn__ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.45);
  transform: scale(0); opacity: 0.6; pointer-events: none;
  animation: ripple-expand 0.55s ease-out forwards;
}
.btn--ghost .btn__ripple, .btn--danger .btn__ripple { background: rgba(22,24,29,0.12); }
@keyframes ripple-expand { to { transform: scale(2.6); opacity: 0; } }

/* Async button loading state: text hides, a centered spinner takes over.
   No layout shift since the button keeps its original size. */
.btn--loading { color: transparent !important; pointer-events: none; }
.btn--loading::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px;
  margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff; animation: spin 0.7s linear infinite;
}
.btn--ghost.btn--loading::after, .btn--danger.btn--loading::after {
  border-color: rgba(22,24,29,0.18); border-top-color: var(--ink);
}
.btn--gold.btn--loading::after { border-color: rgba(22,24,29,0.18); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.form-footer { margin-top: 18px; text-align: center; font-size: 13px; color: var(--text-dim); }
.form-footer a { color: var(--vermilion); font-weight: 700; text-decoration: none; }

.role-switch { display: flex; gap: 8px; margin-bottom: 22px; }
.role-switch a {
  flex: 1; text-align: center; padding: 10px; border-radius: 10px; border: 1.5px solid var(--line);
  font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--text-dim);
}
.role-switch a.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.demo-hint { background: #FBF3E0; border: 1px dashed var(--gold); border-radius: 10px; padding: 10px 12px; font-size: 12px; color: #7A5C10; margin-bottom: 18px; }

/* ------------------------------------------------------------- tabs */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--line); border-radius: 12px; margin: 0 16px 16px; }
.tab { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--text-dim); border: none; background: none; }
.tab.active { background: var(--paper-2); color: var(--text); box-shadow: var(--shadow); }

/* --------------------------------------------------------- booking card */
.booking-card { margin: 0 16px 12px; padding: 14px; }
.booking-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.booking-card__service { font-weight: 700; font-size: 14.5px; }
.booking-card__with { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }
.booking-card__when { font-size: 13px; margin-top: 8px; font-weight: 600; }
.badge { font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.badge--pending { background: #FDF0DA; color: #92660B; }
.badge--confirmed { background: #E1F0E7; color: var(--success); }
.badge--completed { background: #E7ECFB; color: #3B4FBF; }
.badge--cancelled { background: #FBEAE6; color: var(--danger); }
.booking-card__actions { display: flex; gap: 8px; margin-top: 12px; }

/* ------------------------------------------------------------- profile */
.profile-hero { background: var(--ink); color: var(--ivory); padding: 24px 18px 20px; border-radius: 0 0 24px 24px; }
.profile-hero__row { display: flex; gap: 14px; align-items: center; }
.profile-hero h1 { font-size: 20px; margin-bottom: 2px; }
.profile-hero .area { font-size: 12.5px; color: rgba(244,239,228,0.7); }
.svc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--paper-2); }
.svc-row__name { font-weight: 600; font-size: 13.5px; }
.svc-row__meta { font-size: 11.5px; color: var(--text-dim); }
.svc-row__price { font-weight: 700; color: var(--vermilion); font-size: 13.5px; }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 10px 4px; text-align: center; border-radius: 9px; border: 1.5px solid var(--line); background: var(--paper-2); font-size: 13px; font-weight: 700; cursor: pointer; transition: transform 0.12s cubic-bezier(.34,1.56,.64,1), background 0.12s ease; }
.slot:active { transform: scale(0.93); }
.slot.selected { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.slot:disabled { opacity: 0.35; cursor: not-allowed; }
.slot-grid--skeleton { grid-template-columns: repeat(3, 1fr); }
.slot-grid--skeleton .skeleton-card { height: 38px; }

.review-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: none; }
.review-row__top { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; }
.review-row p { font-size: 13px; margin: 4px 0 0; }

/* -------------------------------------------------------------- empty */
.empty-state { text-align: center; padding: 48px 24px; color: var(--text-dim); }
.empty-state__icon { font-size: 40px; margin-bottom: 10px; }
.empty-state h3 { font-size: 15px; color: var(--text); }
.empty-state p { font-size: 13px; }

/* --------------------------------------------------------------- stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.stat-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat-card b { display: block; font-family: var(--font-display); font-size: 22px; }
.stat-card span { font-size: 11.5px; color: var(--text-dim); font-weight: 600; }
.stat-card--dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.stat-card--dark span { color: rgba(244,239,228,0.65); }
.stat-card--teal { background: var(--teal); color: var(--ivory); border-color: var(--teal); }
.stat-card--teal span { color: rgba(244,239,228,0.65); }

.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.data-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); padding: 8px 10px; border-bottom: 1.5px solid var(--line); }
.data-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-wrap { overflow-x: auto; margin: 0 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); }

/* --------------------------------------------------------------- misc */
.divider { height: 1px; background: var(--line); margin: 18px 16px; }
.muted { color: var(--text-dim); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stepper-head { display: flex; gap: 6px; padding: 16px 16px 4px; }
.stepper-head__dot { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.stepper-head__dot.done { background: var(--gold); }
.field-summary { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 0 16px 16px; }
.field-summary__row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.field-summary__row b { font-weight: 700; }

/* ---------------------------------------------------------------- toast */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 14px); transform: translate(-50%, 20px) scale(0.94);
  background: var(--ink); color: var(--ivory); padding: 12px 18px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none; z-index: 200;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), opacity 0.25s ease; max-width: 88%;
  text-align: center; box-shadow: var(--shadow-lift);
  display: flex; align-items: center; gap: 8px; touch-action: pan-y;
}
#toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
#toast.toast--error { background: var(--vermilion); }
#toast.toast--success { background: var(--teal); }
#toast .toast__icon { font-size: 15px; line-height: 1; flex: none; }
#toast .toast__msg { flex: 1; }

/* ---------------------------------------------------------------- modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(22,24,29,0.55); z-index: 300;
  display: flex; align-items: flex-end; justify-content: center;
  animation: backdrop-fade 0.2s ease;
}
@keyframes backdrop-fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: var(--paper-2); width: 100%; max-width: 480px; border-radius: 20px 20px 0 0;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  animation: sheet-up 0.32s cubic-bezier(.19,1,.22,1);
}
.modal-card__handle { width: 36px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 16px; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-msg { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 18px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }

/* ------------------------------------------------------------ splash --- */
#splash {
  position: fixed; inset: 0; background: var(--ink); z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  transition: opacity 0.35s ease;
}
#splash .topbar__logo { width: 56px; height: 56px; border-width: 3px; }
#splash .pole-divider { width: 120px; }
#splash.hide { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------- install cta */
.install-banner {
  margin: 14px 16px 0; padding: 12px 14px; border-radius: var(--radius);
  background: var(--ink); color: var(--ivory); display: flex; align-items: center; gap: 10px;
}
.install-banner p { color: rgba(244,239,228,0.75); font-size: 12px; margin: 0; }
.install-banner strong { display: block; font-size: 13.5px; }
.install-banner .btn { margin-left: auto; }

/* -------------------------------------------------------------- 404/offline */
.status-page { padding: 60px 24px; text-align: center; }
.status-page .icon { font-size: 46px; margin-bottom: 12px; }

@media (min-width: 561px) {
  #app-shell { border-left: 1px solid var(--line); border-right: 1px solid var(--line); box-shadow: var(--shadow-lift); }
  body { background: #E9E2D2; }
}
