/* =============================================
   PAW PARADISE LOVEDEAN - App styles
   Same colours and fonts as the website, laid out like a phone app.
   ============================================= */

/* ── Colours ─────────────────────────────────── */
:root {
  --forest: #1C3D28;
  --moss: #3A6645;
  --sage: #7B9B7F;
  --sage-pale: #EBF0E8;
  --amber: #B87333;
  --gold: #8A5220;          /* darker amber so white text passes contrast */
  --amber-pale: #F5E9D8;
  --bg: #F7F2E9;            /* cream page */
  --bg-2: #EDE5D4;          /* parchment sections */
  --card: #FFFDF9;
  --text: #2A1F14;
  --text-mid: #5C4A38;
  --text-light: #7A6656;
  --border: #D4C4A8;
  --bar: rgba(247, 242, 233, 0.92);
  --bar-solid: #F7F2E9;
  --tab-idle: #7A6656;
  --tab-active: #1C3D28;
  --danger: #A12C1F;
  --accent-text: #8A5220;   /* amber that passes contrast on cream */
  --hairline: rgba(60, 45, 25, .12);
  --hairline-strong: rgba(60, 45, 25, .22);
  --pressed: rgba(60, 45, 25, .07);
  --text-faint: #B3A493;
  --tint-green: #E3EDE5; --tint-gold: #F5E9D8; --tint-red: #FBE3E0; --tint-grey: #EEEAE3;
  --on-forest: #F7F2E9;
  --link: #1C3D28;
  --shadow: 0 1px 2px rgba(28,61,40,.06), 0 4px 14px rgba(28,61,40,.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bar-h: 52px;
  --tab-h: 58px;
  color-scheme: light;
}

[data-theme="dark"] {
  --forest: #EDE5D4;
  --moss: #7AAF8A;
  --sage: #5A8A6A;
  --sage-pale: #1A3526;
  --amber: #C9853A;
  --gold: #C9853A;
  --amber-pale: #22301C;
  --bg: #1A3526;
  --bg-2: #21402F;
  --card: #273F31;
  --text: #EDE5D4;
  --text-mid: #B5CBB9;
  --text-light: #93AE9A;
  --border: #36584A;
  --bar: rgba(15, 31, 23, 0.92);
  --bar-solid: #0F1F17;
  --tab-idle: #93AE9A;
  --tab-active: #E8B06E;
  --danger: #FF9A8A;
  --accent-text: #E8B06E;
  --on-forest: #0F1F17;
  --hairline: rgba(255,255,255,.1);
  --hairline-strong: rgba(255,255,255,.22);
  --pressed: rgba(255,255,255,.06);
  --text-faint: #6F8C7A;
  --tint-green: #2C4D39; --tint-gold: #4A3A22; --tint-red: #4D2A25; --tint-grey: #34493E;
  --link: #E8B06E;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.35);
  color-scheme: dark;
}

[data-contrast="on"] {
  --forest: #003D14;
  --moss: #00591E;
  --amber: #7A3C00;
  --gold: #6B3400;
  --bg: #FFFFFF;
  --bg-2: #F0F0F0;
  --card: #FFFFFF;
  --text: #000000;
  --text-mid: #111111;
  --text-light: #333333;
  --border: #555555;
  --bar: #FFFFFF;
  --bar-solid: #FFFFFF;
  --tab-idle: #333333;
  --tab-active: #003D14;
  --link: #003D14;
  --accent-text: #6B3400;
  --sage-pale: #D8EAD8;
  --hairline: #555; --hairline-strong: #222; --text-faint: #333;
}
[data-theme="dark"][data-contrast="on"] {
  --forest: #FFFFFF;
  --moss: #B8F0C8;
  --amber: #FFC870;
  --gold: #FFC870;
  --bg: #000000;
  --bg-2: #0D0D0D;
  --card: #0D0D0D;
  --text: #FFFFFF;
  --text-mid: #F2F2F2;
  --text-light: #DDDDDD;
  --border: #BBBBBB;
  --bar: #000000;
  --bar-solid: #000000;
  --tab-idle: #DDDDDD;
  --tab-active: #FFC870;
  --link: #FFC870;
  --sage-pale: #0A1F12;
  --on-forest: #000000;
  --accent-text: #FFC870;
  --danger: #FF9A8A;
  --hairline: #BBB; --hairline-strong: #FFF; --text-faint: #DDD;
}

html[data-fontsize="sm"] { font-size: 87.5%; }
html[data-fontsize="lg"] { font-size: 125%; }
html[data-fontsize="xl"] { font-size: 150%; }
html[data-dyslexia="on"] { --font-heading: 'Atkinson Hyperlegible', Arial, sans-serif; --font-body: 'Atkinson Hyperlegible', Arial, sans-serif; }
[data-dyslexia="on"] body { letter-spacing: .02em; word-spacing: .08em; }
[data-dyslexia="on"] p, [data-dyslexia="on"] li { line-height: 1.85; }
[data-dyslexia="on"] h1, [data-dyslexia="on"] h2, [data-dyslexia="on"] h3 { font-style: normal !important; }
[data-motion="reduced"] *, [data-motion="reduced"] *::before, [data-motion="reduced"] *::after {
  animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important;
}

/* ── Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6; font-weight: 400;
  color: var(--text); background: var(--bar-solid);
  overflow: hidden; overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--link); }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--forest); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: 2rem; font-style: italic; }
h2 { font-size: 1.6rem; font-style: italic; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 .9em; color: var(--text-mid); }
strong { color: var(--text); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

/* ── Splash ──────────────────────────────────── */
.splash {
  position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
  background: #F7F2E9; transition: opacity .35s ease;
}
[data-theme="dark"] .splash { background: #0F1F17; }
.splash img { width: 160px; height: auto; animation: splashPop .6s cubic-bezier(.2,.8,.2,1); }
.splash.is-gone { opacity: 0; pointer-events: none; }
@keyframes splashPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── App frame ───────────────────────────────── */
.app {
  position: fixed; inset: 0; display: flex; flex-direction: column;
  max-width: 600px; margin: 0 auto; background: var(--bg); overflow: hidden;
}
@media (min-width: 640px) {
  body { background: var(--bg-2); }
  .app { box-shadow: 0 0 0 1px var(--border), 0 10px 40px rgba(0,0,0,.12); }
}

/* Top bar */
.topbar {
  flex: 0 0 auto; position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: calc(var(--bar-h) + var(--safe-top)); padding: var(--safe-top) 8px 0;
  background: var(--bar); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--border); }
.topbar-title {
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; text-align: center;
  opacity: 0; transition: opacity .2s;
}
.topbar.show-title .topbar-title { opacity: 1; }
.topbar.is-home .topbar-title { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; color: var(--forest); display: inline-flex; align-items: center; gap: 8px; }
.topbar.is-home .topbar-title::before { content: ''; width: 30px; height: 30px; border-radius: 50%; background: url(../images/logo.png) center/cover; flex: none; }
.topbar-side { display: flex; align-items: center; min-width: 0; }
.topbar-right { justify-content: flex-end; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 0; min-height: 44px; min-width: 44px; padding: 0 6px 0 2px;
  border: 0; background: none; color: var(--link); cursor: pointer; border-radius: 10px;
}
.back-label { font-size: 1rem; font-weight: 500; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar.on-staff .staff-pill { display: none; }
.staff-pill {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: 6px 12px; border-radius: 100px; background: var(--forest); color: var(--bg); min-height: 32px; display: inline-flex; align-items: center;
}

/* Screens */
.screens { position: relative; flex: 1 1 auto; overflow: hidden; }
.screen {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain;
  background: var(--bg); padding-bottom: 28px; will-change: transform;
}
.screen:focus { outline: none; }
.anim-push .is-entering { z-index: 2; animation: pushIn .32s cubic-bezier(.2,.8,.2,1) both; box-shadow: -8px 0 24px rgba(0,0,0,.08); }
.anim-push .is-leaving  { z-index: 1; animation: pushOut .32s cubic-bezier(.2,.8,.2,1) both; }
.anim-pop .is-entering  { z-index: 1; animation: popIn .32s cubic-bezier(.2,.8,.2,1) both; }
.anim-pop .is-leaving   { z-index: 2; animation: popOut .32s cubic-bezier(.2,.8,.2,1) both; box-shadow: -8px 0 24px rgba(0,0,0,.08); }
.anim-fade .is-entering { z-index: 2; animation: fadeIn .22s ease both; }
.anim-fade .is-leaving  { z-index: 1; }
@keyframes pushIn  { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pushOut { from { transform: none; } to { transform: translateX(-28%); opacity: .7; } }
@keyframes popIn   { from { transform: translateX(-28%); opacity: .7; } to { transform: none; opacity: 1; } }
@keyframes popOut  { from { transform: none; } to { transform: translateX(100%); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* Tab bar */
.tabbar {
  flex: 0 0 auto; position: relative; z-index: 10;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 4px 4px var(--safe-bottom); min-height: calc(var(--tab-h) + var(--safe-bottom));
  background: var(--bar); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--border);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 50px; text-decoration: none; color: var(--tab-idle); font-size: .7rem; font-weight: 500; letter-spacing: .01em;
  border-radius: 12px;
}
.tab svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.tab.is-active { color: var(--tab-active); font-weight: 600; }
.tab.is-active svg { stroke-width: 2.2; }
.tab.is-active[data-tab="home"] svg, .tab.is-active[data-tab="reviews"] svg { fill: currentColor; fill-opacity: .15; }
.tab:active svg { transform: scale(.88); }

/* FAQs */
.faq-group-title { font-size: 1.3rem; margin: 22px 2px 10px; }
.faq-group-title:first-child { margin-top: 4px; }
.faq-list { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 10px 0 16px; }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px; min-height: 52px; cursor: pointer; font-weight: 500; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sage-pale); position: relative; transition: transform .2s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--forest); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .2s; }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 16px 8px; font-size: .95rem; }


/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 12px; border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .1s, background .2s; text-align: center; line-height: 1.25;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-block { display: flex; width: 100%; margin: 10px 0; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn-primary { background: #1C3D28; color: #F7F2E9; }
.btn-secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-gold { background: var(--gold); color: #FFFDF9; }
.btn-light { background: #F7F2E9; color: #1C3D28; }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
[data-theme="dark"] .btn-primary { background: #E8B06E; color: #1A120A; }
[data-theme="dark"] .btn-gold { color: #1A120A; }
[data-theme="dark"] .btn-light { background: #E8B06E; color: #1A120A; }
[data-contrast="on"] .btn-primary { background: #003D14; color: #fff; }
[data-theme="dark"][data-contrast="on"] .btn-primary, [data-theme="dark"][data-contrast="on"] .btn-light { background: #FFC870; color: #000; }
.text-link {
  background: none; border: 0; padding: 0; color: var(--link); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; font-size: inherit; display: inline; min-height: 0;
}
.text-link--light { color: #F5D3A8; }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; }
.action-btns { margin-top: 8px; }


/* Segmented control & switches */
.segmented { display: inline-flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.segmented button {
  border: 0; background: none; border-radius: 8px; padding: 6px 12px; min-height: 36px; min-width: 44px; font-size: .86rem; font-weight: 500;
  color: var(--text-mid); cursor: pointer;
}
.segmented button[aria-checked="true"], .segmented button[aria-selected="true"] { background: var(--card); color: var(--forest); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
[data-theme="dark"] .segmented button[aria-checked="true"], [data-theme="dark"] .segmented button[aria-selected="true"] { background: #E8B06E; color: #1A120A; }
[data-theme="dark"][data-contrast="on"] .segmented button[aria-checked="true"], [data-theme="dark"][data-contrast="on"] .segmented button[aria-selected="true"] { background: #FFC870; color: #000; }
[data-contrast="on"]:not([data-theme="dark"]) .segmented button[aria-checked="true"], [data-contrast="on"]:not([data-theme="dark"]) .segmented button[aria-selected="true"] { background: #003D14; color: #fff; }
.segmented button { white-space: nowrap; }
.segmented--full { display: flex; width: 100%; margin: 6px 0 2px; }
.segmented--full button { flex: 1; padding: 8px 2px; font-size: .82rem; }
.badge:not(:empty) { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 2px; border-radius: 100px; background: var(--amber); color: #fff; font-size: .72rem; line-height: 20px; }
[data-theme="dark"] .badge:not(:empty) { color: #1A120A; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.setting:last-child { border-bottom: 0; }
.switch { width: 52px; height: 32px; border-radius: 100px; border: 0; background: var(--border); position: relative; cursor: pointer; flex: none; transition: background .2s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch[aria-checked="true"] { background: #3A6645; }
[data-theme="dark"] .switch { background: #4A6B5C; }
[data-theme="dark"] .switch[aria-checked="true"] { background: #E8B06E; }
[data-contrast="on"] .switch { background: #555; }
[data-contrast="on"] .switch[aria-checked="true"] { background: #003D14; }
[data-theme="dark"][data-contrast="on"] .switch[aria-checked="true"] { background: #FFC870; }
.switch[aria-checked="true"] span { transform: translateX(20px); }


/* Gallery tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc((min(100vw, 600px) - 4px) / 3); grid-auto-flow: dense; gap: 2px; margin-top: 6px; }
.tile { position: relative; padding: 0; border: 0; background: var(--bg-2); overflow: hidden; cursor: pointer; transition: transform .12s; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.play {
  position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center;
}
.tiles--visitors { margin: 10px -18px 0; }


.skeleton { height: 110px; border-radius: var(--radius); margin-bottom: 12px; background: linear-gradient(90deg, var(--bg-2), var(--card), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }


/* Forms */
.form .field { margin-bottom: 14px; }
.form label, .form .label { display: block; font-size: .86rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--text-light); }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form textarea, .form select {
  width: 100%; font: inherit; font-size: 16px; /* 16px stops iPhone zooming in */
  color: var(--text); background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; min-height: 48px;
  -webkit-appearance: none; appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%237A6656' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(58,102,69,.25); }
.field-hint { display: block; font-size: .8rem; color: var(--text-light); margin-top: 4px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--text-mid) !important; margin: 6px 0 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: #3A6645; }
.form-msg { padding: 10px 12px; border-radius: 10px; font-size: .9rem; margin: 6px 0; }
.form-msg--error { background: #FBE9E6; color: #8A1F12; }
.form-msg--success { background: #E6F2E8; color: #1C4A2A; }
.form-msg--info { background: var(--bg-2); color: var(--text); }
[data-theme="dark"] .form-msg--error { background: #3A1D18; color: #FFC9BF; }
[data-theme="dark"] .form-msg--success { background: #173A24; color: #C9EBD2; }
.success-tick { width: 56px; height: 56px; margin: 4px auto 12px; border-radius: 50%; background: #3A6645; color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.photo-pick { display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 2px dashed var(--border); border-radius: 12px; color: var(--forest) !important; font-size: .98rem !important; cursor: pointer; background: var(--bg); }
.visually-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.visually-hidden-input:focus-visible + .field-hint, .photo-pick:focus-within { outline: 3px solid var(--amber); }
.gs-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.gs-thumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.gs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gs-remove { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }


/* Staff */
.staff-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 6px 0 14px; }
.staff-item-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.staff-text { color: var(--text); margin: 8px 0 12px; white-space: pre-wrap; }
.staff-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.staff-item-foot .btn { margin-left: auto; }
.staff-item-foot .btn + .btn { margin-left: 0; }
.tag-old { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 100px; background: var(--amber-pale); color: var(--accent-text); }
.staff-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.staff-photo { padding: 10px; margin: 0; }
.staff-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.staff-photo p { margin: 0 0 4px; font-size: .86rem; }
.staff-photo .staff-item-foot { margin-top: 8px; }
.photo-missing { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border-radius: 8px; font-size: .8rem; color: var(--text-light); margin-bottom: 8px; }


/* ── App layout ──────────────────────────────── */
.screen { padding: 0 0 32px; }
.screen--inner { padding-top: 8px; }
.screen--fixed { overflow: hidden; padding: 0; background: #fff; }
.pad { padding: 0 16px; }
.empty { text-align: center; color: var(--text-light); padding: 28px 20px; margin: 0; }
.center { text-align: center; }
.small { font-size: .86rem; }
.muted { color: var(--text-light); }
.hint { font-size: .84rem; color: var(--text-light); margin: 12px 20px 8px; }
.tab[data-tab="more"] svg circle { fill: currentColor; stroke: none; }
.icon-btn--right { justify-content: center; padding: 0; color: var(--link); }

/* Large titles (tabs) shrink into the top bar as you scroll */
.large-title {
  font-family: var(--font-body); font-style: normal; font-weight: 700; letter-spacing: -0.02em;
  font-size: 2.1rem; line-height: 1.1; color: var(--text); margin: 4px 20px 14px;
}
.inner-title { font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 1.5rem; color: var(--text); margin: 8px 20px 12px; }
h2, h3 { font-family: var(--font-body); font-style: normal; }

/* Grouped lists (like Settings) */
.group-title {
  font-family: var(--font-body); font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-light); margin: 22px 32px 7px;
}
.group {
  margin: 0 16px 6px; background: var(--card); border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--hairline);
}
.group + .group { margin-top: 18px; }
.group-foot { font-size: .8rem; color: var(--text-light); margin: 7px 32px 0; line-height: 1.45; }
.group-foot--top { margin: 4px 32px 10px; }
.cell {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px;
  padding: 10px 14px 10px 16px; background: none; border: 0; text-align: left; text-decoration: none;
  color: var(--text); cursor: pointer; font: inherit; -webkit-user-select: none; user-select: none;
}
.cell + .cell::before, .faq + .faq::before {
  content: ''; position: absolute; top: 0; right: 0; left: 16px; height: 1px; background: var(--hairline);
}
.cell:has(.cell-icon) + .cell::before { left: 58px; }
.cell:active:not(.cell--static) { background: var(--pressed); }
.cell--static { cursor: default; }
.cell--wrap { flex-wrap: wrap; }
.cell--wrap .cell-main { min-width: 7em; }
.cell--wrap .segmented { flex: 1 0 calc(100% - 42px); max-width: calc(100% - 42px); margin: 2px 0 2px 42px; display: flex; }
.cell--wrap .segmented button { flex: 1; }
.cell-icon {
  width: 30px; height: 30px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; background: var(--tint-grey);
}
.cell-icon--green { background: var(--tint-green); }
.cell-icon--gold  { background: var(--tint-gold); }
.cell-icon--red   { background: var(--tint-red); }
.cell-icon--grey  { background: var(--tint-grey); }
.cell-icon--brand { color: #fff; }
.cell-icon--ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.cell-icon--fb { background: #1877F2; }
.cell-icon--tt { background: #111; }
.cell-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cell-title { font-weight: 500; line-height: 1.3; }
.cell-sub { font-size: .82rem; color: var(--text-light); line-height: 1.35; }
.cell-value { flex: none; color: var(--text-mid); font-size: .95rem; font-variant-numeric: tabular-nums; }
.cell-chevron { flex: none; color: var(--text-faint); }
.cell--news { align-items: flex-start; padding-top: 13px; padding-bottom: 13px; }
.cell--news .cell-title { font-weight: 600; font-size: 1.02rem; }
.cell--news .cell-chevron { margin-top: 4px; }
.cell-excerpt { font-size: .88rem; color: var(--text-mid); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cell--profile { gap: 14px; padding: 14px 16px; }
.cell--profile img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.cell--profile .cell-title { font-weight: 600; font-size: 1.05rem; }
.is-installed .install-group { display: none; }
.app-foot { text-align: center; font-size: .8rem; color: var(--text-light); margin: 26px 20px 0; line-height: 1.6; }
.app-foot a { color: var(--text-light); }
.w3w-slashes { color: #E11F26; font-weight: 700; letter-spacing: -0.04em; margin-right: 1px; }
.w3w { color: var(--link); font-weight: 600; }

/* Home */
.home-head { display: flex; align-items: center; gap: 14px; margin: 6px 20px 16px; }
.home-head img { width: 60px; height: 60px; border-radius: 50%; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.home-title { font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: 2rem; line-height: 1.05; margin: 0; color: var(--forest); }
.home-head p { margin: 2px 0 0; font-size: .9rem; color: var(--text-light); }
.status-card {
  margin: 0 16px; padding: 18px 18px 16px; border-radius: 18px; color: #F7F2E9;
  background: linear-gradient(150deg, #24502F, #1C3D28 60%, #163020);
  box-shadow: 0 6px 20px rgba(28,61,40,.25);
}
[data-theme="dark"] .status-card { background: linear-gradient(150deg, #24452F, #12261A); box-shadow: 0 0 0 1px var(--hairline); }
[data-contrast="on"] .status-card { background: #00260D; }
[data-theme="dark"][data-contrast="on"] .status-card { background: #000; box-shadow: 0 0 0 2px #fff; }
.status-label { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #E8B06E; }
.status-big { margin: 2px 0 4px; font-size: 1.65rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; line-height: 1.2; }
.status-sub { margin: 0 0 14px; font-size: .9rem; color: rgba(247,242,233,.82); }
.status-card .btn-block { margin: 0; }
.btn-on-dark { background: #F7F2E9; color: #1C3D28; }
[data-theme="dark"] .btn-on-dark { background: #E8B06E; color: #1A120A; }
.facts { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; margin: 14px 16px 0; }
.fact { background: var(--card); border-radius: 14px; padding: 12px; box-shadow: 0 0 0 1px var(--hairline); display: flex; flex-direction: column; gap: 3px; }
.fact-big { font-size: 1.45rem; font-weight: 700; color: var(--forest); letter-spacing: -0.01em; line-height: 1.1; }
.fact-small { font-size: .76rem; color: var(--text-light); line-height: 1.3; }

/* Book tab: Acuity fills the screen */
.screen--fixed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.booking-loading, .booking-offline {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; background: var(--bg); text-align: center; padding: 24px;
}
.booking-offline p { margin: 0; }
.booking-offline-icon { font-size: 2.4rem; }
.booking-offline .btn { margin-top: 10px; }
.booking-loading p { margin: 0; color: var(--text-light); }

/* News post */
.post { padding: 4px 20px 0; }
.post-title { font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 1.7rem; line-height: 1.2; color: var(--text); margin: 14px 0 10px; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.news-meta > span:last-child { display: flex; flex-direction: column; line-height: 1.3; color: var(--text-light); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.lead { font-size: 1.08rem; color: var(--text); }
.post-body p { color: var(--text); font-size: 1.02rem; line-height: 1.7; }

/* FAQ rows inside groups */
.group .faq { position: relative; }
.faq summary { padding: 13px 16px; min-height: 50px; }
.faq-a ul { padding-left: 1.2em; margin: 0 0 .8em; }
.faq-a li { color: var(--text-mid); margin-bottom: 4px; }

/* Staff & forms in groups */
.form-card { padding: 16px; }
.form-card .btn-block:last-child { margin-bottom: 0; }

/* Add to phone */
.install-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.install-hero img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.15); flex: none; }
.install-hero p { margin: 0; font-size: .92rem; }
.platform-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platform-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px; border-radius: 16px;
  border: 1.5px solid var(--hairline-strong); background: var(--bg); color: var(--text); font-weight: 600; font-size: 1rem; cursor: pointer;
}
.platform-btn span { font-size: 1.8rem; line-height: 1; }
.platform-btn small { font-weight: 400; font-size: .78rem; color: var(--text-light); }
.platform-btn.is-likely { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(58,102,69,.18); }
.platform-btn:active { transform: scale(.97); }
.install-steps { list-style: none; padding: 0; margin: 4px 0 8px; }
.install-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--hairline); color: var(--text); }
.install-steps li:last-child { border-bottom: 0; }
.step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--forest); color: var(--bg); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.share-icon { display: inline-flex; vertical-align: -3px; color: #0A84FF; }
.share-hint { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 10px; color: #0062CC; font-weight: 600; font-size: .9rem; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.back-link { margin-top: 8px; }

/* ── Sheets (pop-ups from the bottom) ─────────── */
.has-layer .screen { overflow: hidden; }
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 20, 12, .5); opacity: 0; transition: opacity .3s; }
.sheet {
  position: relative; width: 100%; max-width: 600px; max-height: calc(92vh - var(--safe-top)); display: flex; flex-direction: column;
  background: var(--card); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.2);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.sheet--tall { height: calc(92vh - var(--safe-top)); }
.sheet-wrap.is-open .sheet-backdrop { opacity: 1; }
.sheet-wrap.is-open .sheet { transform: none; }
.sheet-grab { display: flex; justify-content: center; padding: 8px 0 0; }
.sheet-grab span { width: 40px; height: 5px; border-radius: 100px; background: var(--border); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px 10px 20px; border-bottom: 1px solid var(--border); }
.sheet-title { margin: 0; font-size: 1.45rem; }
.sheet-x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.sheet-body { padding: 16px 20px calc(20px + var(--safe-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet-foot { padding: 10px 20px calc(14px + var(--safe-bottom)); border-top: 1px solid var(--border); }
.sheet-foot .btn-block { margin: 0; }
.legal h3 { font-size: 1.15rem; font-style: italic; margin: 18px 0 6px; }
.legal p, .legal li { font-size: .93rem; color: var(--text-mid); }
.legal ul { padding-left: 1.3em; }
.legal .pp-updated { font-size: .8rem; font-style: italic; color: var(--text-light); }
.install-steps { padding-left: 1.3em; }
.install-steps li { margin-bottom: 10px; color: var(--text-mid); }
.share-icon { display: inline-flex; vertical-align: -3px; color: #0A84FF; }

/* ── Full-screen layers ──────────────────────── */
.fullscreen { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: var(--bg); transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.fullscreen.is-open { transform: none; }
.fs-bar { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: calc(6px + var(--safe-top)) 8px 6px; border-bottom: 1px solid var(--border); background: var(--bar-solid); }
.fs-title { margin: 0; text-align: center; font-family: var(--font-body); font-style: normal; font-size: 1rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-btn { min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: none; color: var(--link); font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; }
.fs-btn--right { justify-self: end; }
.booking-frame { position: relative; flex: 1; background: #fff; }
.booking-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.booking-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--bg); z-index: 1; }
.booking-help { padding: 10px 16px calc(10px + var(--safe-bottom)); font-size: .86rem; text-align: center; color: var(--text-mid); background: var(--bar-solid); border-top: 1px solid var(--border); }
.booking.is-slow .booking-help { background: var(--amber-pale); font-weight: 500; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--moss); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.viewer { background: #000; transition: transform .25s ease, opacity .25s ease; transform: none; opacity: 0; }
.viewer.is-open { opacity: 1; }
.viewer-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: calc(8px + var(--safe-top)) 12px 8px 18px; background: linear-gradient(rgba(0,0,0,.6), transparent); color: #fff; }
.viewer-count { font-size: .9rem; font-weight: 500; }
.viewer-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.viewer-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.viewer-slide img, .viewer-slide video { max-width: 100%; max-height: calc(100% - 60px); object-fit: contain; }
.viewer-slide video { width: 100%; }
.viewer-slide figcaption { position: absolute; bottom: calc(14px + var(--safe-bottom)); left: 16px; right: 16px; text-align: center; color: #fff; font-size: .9rem; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 64px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; cursor: pointer; display: none; }
.viewer-prev { left: 0; border-radius: 0 10px 10px 0; }
.viewer-next { right: 0; border-radius: 10px 0 0 10px; }
@media (hover: hover) and (pointer: fine) { .viewer-nav { display: block; } }

/* Pull to refresh */
.ptr { height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: height .2s; }
.ptr .spinner { animation-play-state: paused; opacity: .5; }
.ptr.is-ready .spinner { opacity: 1; }
.ptr.is-busy .spinner { animation-play-state: running; opacity: 1; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-bottom) + 14px); z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; transition: opacity .25s, transform .25s;
  max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 12px; background: #1A120A; color: #F7F2E9;
  font-size: .9rem; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast--success { background: #1C4A2A; }
.toast--error { background: #7A1E14; }

/* ── "Get the app" page (shown in a browser) ─── */
.on-landing body { overflow: auto; background: var(--bg); }
.landing { min-height: 100%; display: flex; justify-content: center; background: var(--bg); padding: calc(28px + var(--safe-top)) 20px calc(28px + var(--safe-bottom)); }
.landing-inner { width: 100%; max-width: 440px; text-align: center; }
.landing-logo { width: 120px; height: 120px; margin: 4px auto 16px; border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.landing-title { font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 1.85rem; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); margin: 0 0 20px; }
.landing-sub { font-size: 1rem; color: var(--text-mid); margin: 0 auto 22px; max-width: 34ch; }
.landing-card { text-align: left; background: var(--card); border-radius: 20px; padding: 20px; box-shadow: 0 0 0 1px var(--hairline), 0 6px 24px rgba(28,61,40,.08); }
.landing-card .install-q { font-weight: 600; color: var(--text); margin-bottom: 12px; text-align: center; }
.landing-foot { font-size: .86rem; color: var(--text-light); margin-top: 22px; }
.install-done { text-align: center; padding: 6px 0; }
.install-done p { margin: 0 0 4px; }
.install-done-tick { width: 52px; height: 52px; margin: 0 auto 10px !important; border-radius: 50%; background: #3A6645; color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; }

/* iPhone picture guide */
.install-note { font-size: .92rem; color: var(--text-mid); margin: 0 0 6px; }
.install-steps li.pic-step { align-items: flex-start; }
.pic-step > div { flex: 1; min-width: 0; }
.pic-step p { margin: 3px 0 10px; color: var(--text); }
.pic { display: block; width: 100%; height: auto; max-width: 340px; }
.pic-pulse { transform-box: fill-box; transform-origin: center; animation: picPulse 1.6s ease-out infinite; }
@keyframes picPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
[data-motion="reduced"] .pic-pulse { display: none; }


/* =============================================
   LIQUID GLASS
   Frosted, see-through surfaces over a soft blurred photo of the field.
   Switch off in More > App settings (data-glass="off" gives solid surfaces).
   ============================================= */
:root {
  --glass: rgba(255, 253, 249, .62);
  --glass-strong: rgba(255, 253, 249, .8);
  --glass-edge: rgba(255, 255, 255, .75);
  --glass-shadow: 0 8px 30px rgba(40, 52, 30, .10), inset 0 1px 0 rgba(255,255,255,.7);
  --glass-blur: blur(22px) saturate(170%);
  --tint-green-solid: #3A7A4C; --tint-amber-solid: #C27A2C; --tint-red-solid: #D2483A; --tint-grey-solid: #8E8E93; --tint-blue-solid: #3478F6;
}
[data-theme="dark"] {
  --glass: rgba(22, 40, 30, .58);
  --glass-strong: rgba(20, 36, 27, .82);
  --glass-edge: rgba(255, 255, 255, .14);
  --glass-shadow: 0 8px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
[data-contrast="on"], [data-glass="off"] {
  --glass: var(--card); --glass-strong: var(--card); --glass-blur: none;
  --glass-shadow: 0 0 0 1px var(--hairline);
}
[data-glass="off"] { --glass-edge: var(--hairline); }
[data-contrast="on"] { --glass-edge: var(--hairline-strong); }

/* Background: blurred field photo under everything */
.app { background: var(--bg); isolation: isolate; }
.app::before {
  content: ''; position: absolute; inset: -60px; z-index: -1; pointer-events: none;
  background: url(../images/gallery/thumbs/aerial-view.jpg) center 30% / cover no-repeat;
  filter: blur(46px) saturate(1.3); opacity: .55;
}
.app::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(247,242,233,.35) 0%, rgba(247,242,233,.75) 45%, rgba(247,242,233,.9) 100%);
}
[data-theme="dark"] .app::before { opacity: .45; filter: blur(46px) saturate(1.1) brightness(.7); }
[data-theme="dark"] .app::after { background: linear-gradient(180deg, rgba(15,31,23,.35), rgba(15,31,23,.8) 50%, rgba(15,31,23,.92)); }
[data-glass="off"] .app::before, [data-glass="off"] .app::after, [data-contrast="on"] .app::before, [data-contrast="on"] .app::after { display: none; }
.screen { background: transparent; padding-bottom: calc(108px + var(--safe-bottom)); }
.screen--fixed { background: #fff; padding-bottom: 0; bottom: calc(86px + var(--safe-bottom)); }

/* Lists */
.group {
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); border-radius: 22px;
}
.group + .group { margin-top: 20px; }
.cell { min-height: 54px; }
.cell + .cell::before, .faq + .faq::before { background: var(--hairline); }
.cell:has(.cell-icon) + .cell::before { left: 60px; }
.cell-icon { width: 30px; height: 30px; border-radius: 9px; color: #fff; }
.cell-icon--green { background: var(--tint-green-solid); }
.cell-icon--amber { background: var(--tint-amber-solid); }
.cell-icon--red   { background: var(--tint-red-solid); }
.cell-icon--grey  { background: var(--tint-grey-solid); }
.cell-icon--blue  { background: var(--tint-blue-solid); }
.cell-icon--li { background: #0A66C2; }
.li-mark { font-weight: 700; font-size: 15px; letter-spacing: -.02em; font-family: Arial, sans-serif; }
.cell-value { font-weight: 500; color: var(--text); }
.cell--static .cell-value { color: var(--text-mid); }
.cell .switch { margin-left: auto; }
.group-title { margin: 26px 34px 8px; }

/* Home: a simple list */
.home-head { display: flex; align-items: center; gap: 12px; margin: 6px 20px 16px; }
.home-head img { width: 48px; height: 48px; border-radius: 50%; flex: none; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.home-head .large-title { margin: 0; font-family: var(--font-body); font-style: normal; color: var(--text); }
.home-status .cell-value { font-weight: 600; color: var(--forest); }
.home-book { margin: 14px 16px 0; }
.home-book .btn-block { margin: 0; }

/* Buttons: tinted glass */
.btn { border-radius: 16px; }
.btn-primary {
  background: rgba(28, 61, 40, .9); color: #F7F2E9;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: 0 6px 20px rgba(28,61,40,.25), inset 0 1px 0 rgba(255,255,255,.18);
}
[data-theme="dark"] .btn-primary { background: rgba(232, 176, 110, .92); color: #1A120A; box-shadow: 0 6px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.35); }
[data-contrast="on"] .btn-primary { background: #003D14; color: #fff; box-shadow: none; }
[data-theme="dark"][data-contrast="on"] .btn-primary { background: #FFC870; color: #000; }
.btn-secondary { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-color: var(--glass-edge); color: var(--link); }

/* Top bar: clear until you scroll, then frosted */
.topbar { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; transition: background .2s; }
.topbar.is-scrolled, .topbar.is-fixed { background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: 0 1px 0 var(--hairline); }
.back-btn {
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge); border-radius: 22px; min-height: 40px; padding: 0 12px 0 4px; box-shadow: var(--glass-shadow);
}
.icon-btn--right { width: 40px; height: 40px; min-height: 40px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-edge); }

/* Floating glass tab bar */
.tabbar {
  position: absolute; left: 14px; right: 14px; bottom: calc(10px + var(--safe-bottom));
  min-height: 0; height: 66px; padding: 5px; border-radius: 33px;
  background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge); box-shadow: 0 10px 34px rgba(30, 40, 25, .18), inset 0 1px 0 rgba(255,255,255,.6);
}
[data-theme="dark"] .tabbar { box-shadow: 0 10px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); }
.tab { border-radius: 28px; min-height: 54px; gap: 1px; }
.tab.is-active { background: rgba(28, 61, 40, .1); }
[data-theme="dark"] .tab.is-active { background: rgba(232, 176, 110, .16); }
[data-contrast="on"] .tab.is-active { background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.toast { bottom: calc(92px + var(--safe-bottom)); border-radius: 18px; }

/* Sheets */
.sheet { background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-edge); border-bottom: 0; border-radius: 28px 28px 0 0; }
[data-glass="off"] .sheet, [data-contrast="on"] .sheet { background: var(--card); }
.sheet-head { border-bottom-color: var(--hairline); }
.sheet-title { font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 1.3rem; color: var(--text); }
.sheet-x { background: var(--glass); border: 1px solid var(--glass-edge); }

/* Segmented control */
.segmented { background: rgba(120, 120, 128, .14); border: 0; border-radius: 12px; }
.segmented button[aria-checked="true"], .segmented button[aria-selected="true"] { border-radius: 9px; }

/* Gallery */
.tiles { border-radius: 0; }
.gallery-foot { margin-top: 18px; }

/* Platform buttons on Add-to-phone */
.platform-btn { background: var(--glass); border-color: var(--glass-edge); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.platform-btn svg { color: var(--forest); }
.landing { background: transparent; }
.on-landing body { background: linear-gradient(180deg, #E7EDE3, var(--bg) 40%); }
[data-theme="dark"].on-landing body { background: linear-gradient(180deg, #1F3A2A, var(--bg) 40%); }
.landing-card { background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-edge); border-radius: 26px; }
.photo-pick svg { color: var(--forest); }

/* Big text sizes: let rows wrap instead of squashing */
html[data-fontsize="xl"] .cell, html[data-fontsize="lg"] .cell { flex-wrap: wrap; }
html[data-fontsize="xl"] .cell-value, html[data-fontsize="lg"] .cell-value { margin-left: auto; }
html[data-fontsize="xl"] .tab span { font-size: .62rem; }
html[data-fontsize="xl"] .large-title { font-size: 1.8rem; }

.cell-sub { overflow-wrap: anywhere; }
.home-status .cell-title { font-weight: 600; }
#today-hours { color: var(--forest); }
html[data-fontsize="xl"] .back-label { max-width: 70px; }

/* Platform buttons: iPhone in black and white, Android in Android green */
.platform-btn[data-platform="ios"] { background: #111; color: #fff; border-color: #111; }
.platform-btn[data-platform="ios"] svg { color: #fff; }
.platform-btn[data-platform="ios"] small { color: rgba(255,255,255,.75); }
.platform-btn[data-platform="android"] { background: #3DDC84; color: #08311A; border-color: #3DDC84; }
.platform-btn[data-platform="android"] svg { color: #08311A; }
.platform-btn[data-platform="android"] small { color: #0B4024; }
.platform-btn.is-likely { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--forest); }
[data-theme="dark"] .platform-btn[data-platform="ios"] { background: #fff; color: #111; border-color: #fff; }
[data-theme="dark"] .platform-btn[data-platform="ios"] svg { color: #111; }
[data-theme="dark"] .platform-btn[data-platform="ios"] small { color: #444; }


/* =============================================
   v9: calmer colours, smoother scrolling, sliding tab bar
   ============================================= */
/* Palette (light and dark). High contrast keeps its own colours. */
:root:not([data-contrast="on"]) {
  --bg: #F5F3EC; --bg-2: #ECE9E0; --card: #FFFFFF;
  --text: #1F2620; --text-mid: #4F574F; --text-light: #5F665E; --text-faint: #A9AEA6;
  --forest: #24533A; --moss: #2F6B47; --link: #24533A; --accent-text: #24533A;
  --hairline: rgba(31, 38, 32, .09); --hairline-strong: rgba(31, 38, 32, .18); --pressed: rgba(31, 38, 32, .06);
  --glass-list: rgba(255, 255, 255, .94);
  --glass-strong: rgba(250, 248, 243, .78);
  --glass-edge: rgba(255, 255, 255, .8);
  --bar-solid: #F5F3EC;
}
[data-theme="dark"]:not([data-contrast="on"]) {
  --bg: #0F1813; --bg-2: #16221B; --card: #18251D;
  --text: #EDF1EC; --text-mid: #C3CCC4; --text-light: #97A39A; --text-faint: #5F6C63;
  --forest: #A9D5B6; --moss: #8FC4A0; --link: #A9D5B6; --accent-text: #A9D5B6;
  --hairline: rgba(255, 255, 255, .08); --hairline-strong: rgba(255, 255, 255, .16); --pressed: rgba(255, 255, 255, .05);
  --glass-list: rgba(24, 37, 29, .94);
  --glass-strong: rgba(18, 29, 22, .78);
  --glass-edge: rgba(255, 255, 255, .1);
  --bar-solid: #0F1813;
}
[data-contrast="on"] { --glass-list: var(--card); }

/* Background: a soft gradient instead of a live-blurred photo (much smoother) */
.app::before, .app::after { display: none; }
.app { background: linear-gradient(180deg, #E2EBE0 0, var(--bg) 340px); }
[data-theme="dark"] .app { background: linear-gradient(180deg, #17301F 0, var(--bg) 360px); }
[data-glass="off"] .app, [data-contrast="on"] .app { background: var(--bg); }

/* Performance: blur only on the tab bar, top bar and pop-ups */
.group, .btn-primary, .btn-secondary, .back-btn, .icon-btn--right, .platform-btn, .landing-card, .sheet-x {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.group { background: var(--glass-list); box-shadow: 0 1px 2px rgba(31,38,32,.04), 0 4px 16px rgba(31,38,32,.05); border: 1px solid var(--hairline); }
[data-theme="dark"] .group { box-shadow: none; }
.screen { will-change: auto; }
.is-entering, .is-leaving { will-change: transform; }
.back-btn, .icon-btn--right { background: var(--glass-list); border-color: var(--hairline); }
.btn-secondary { background: var(--glass-list); border-color: var(--hairline-strong); }

/* One colour for icons: forest green (red only for emergencies) */
.cell-icon--green, .cell-icon--blue, .cell-icon--amber, .cell-icon--grey { background: #2F6B47; }
[data-theme="dark"] .cell-icon--green, [data-theme="dark"] .cell-icon--blue, [data-theme="dark"] .cell-icon--amber, [data-theme="dark"] .cell-icon--grey { background: #3E7D57; }
.cell-icon--red { background: #C9443A; }

/* Buttons */
.btn-primary { background: #24533A; color: #fff; box-shadow: 0 6px 18px rgba(36,83,58,.22); }
[data-theme="dark"] .btn-primary { background: #A9D5B6; color: #0F1813; box-shadow: none; }
[data-contrast="on"] .btn-primary { background: #003D14; color: #fff; }
[data-theme="dark"][data-contrast="on"] .btn-primary { background: #FFC870; color: #000; }
.switch[aria-checked="true"] { background: #2F6B47; }
[data-theme="dark"] .switch[aria-checked="true"] { background: #8FC4A0; }
[data-theme="dark"] .segmented button[aria-checked="true"], [data-theme="dark"] .segmented button[aria-selected="true"] { background: #A9D5B6; color: #0F1813; }
.badge:not(:empty) { background: #2F6B47; }

/* Home */
.home-head { margin: 6px 20px 14px; }
.home-head img { width: 44px; height: 44px; }
.hero { position: relative; margin: 0 16px 14px; border-radius: 24px; overflow: hidden; aspect-ratio: 15 / 8; background: var(--bg-2); box-shadow: 0 8px 24px rgba(31,38,32,.12); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); display: flex; flex-direction: column; gap: 2px;
}
.hero figcaption strong { color: #fff; font-size: 1.15rem; font-weight: 700; }
.hero figcaption span { font-size: .85rem; opacity: .9; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 32px 8px; }
.section-head .group-title { margin: 0; }
.see-all { font-size: .9rem; font-weight: 600; color: var(--link); text-decoration: none; }
.photo-strip { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.photo-strip::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 38%; aspect-ratio: 1; border: 0; padding: 0; border-radius: 16px; overflow: hidden; scroll-snap-align: start; background: var(--bg-2); cursor: pointer; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; }
.strip-item:active { transform: scale(.97); }

/* FAQ search */
.search { display: flex; align-items: center; gap: 8px; margin: 0 16px 6px; padding: 0 12px; height: 44px; border-radius: 14px; background: rgba(118,118,128,.12); color: var(--text-light); }
.search input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; color: var(--text); outline: none; -webkit-appearance: none; appearance: none; min-width: 0; }
.search input::placeholder { color: var(--text-light); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(47,107,71,.3); }
#faq-results .group { margin-top: 10px; }

/* Sliding tab bar */
.tabbar { touch-action: none; -webkit-user-select: none; user-select: none; }
.tab-lens {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 25%; border-radius: 28px; pointer-events: none; z-index: 0;
  background: rgba(36, 83, 58, .1); transition: transform .42s cubic-bezier(.3, 1.35, .5, 1), width .2s;
}
[data-theme="dark"] .tab-lens { background: rgba(169, 213, 182, .15); }
.tabbar.is-dragging .tab-lens {
  transition: none; background: rgba(255,255,255,.55); top: 1px; bottom: 1px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.6);
}
[data-theme="dark"] .tabbar.is-dragging .tab-lens { background: rgba(255,255,255,.14); box-shadow: 0 4px 16px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.18); }
[data-contrast="on"] .tab-lens { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.tab { position: relative; z-index: 1; }
.tab.is-active { background: none; color: var(--forest); }
.tab.is-hover { color: var(--forest); }
.tabbar.is-dragging .tab.is-active:not(.is-hover) { color: var(--tab-idle); }
[data-motion="reduced"] .tab-lens { transition: none; }

/* Download page emojis */
.platform-emoji { font-size: 1.9rem; line-height: 1; }
.photo-strip { scroll-padding: 0 16px; }
.strip-item img { border-radius: 16px; }

/* Quicker slides; pause the bar blur while a screen slides underneath (smoother on phones) */
.anim-push .is-entering, .anim-push .is-leaving, .anim-pop .is-entering, .anim-pop .is-leaving { animation-duration: .26s !important; animation-timing-function: cubic-bezier(.22, .61, .36, 1) !important; }
.anim-fade .is-entering { animation-duration: .15s !important; }

/* Solid look (liquid glass removed) */
.tabbar, .topbar.is-scrolled, .topbar.is-fixed, .sheet { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.tabbar { background: var(--card); border-color: var(--hairline); box-shadow: 0 6px 24px rgba(31,38,32,.12); }
[data-theme="dark"] .tabbar { box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.topbar.is-scrolled, .topbar.is-fixed { background: var(--bar-solid); }
.sheet { background: var(--card); }
.tabbar.is-dragging .tab-lens { background: rgba(36, 83, 58, .16); box-shadow: none; top: 5px; bottom: 5px; }
[data-theme="dark"] .tabbar.is-dragging .tab-lens { background: rgba(169, 213, 182, .22); box-shadow: none; }
.app { background: var(--bg) !important; }

/* Staff lists */
.cell--danger .cell-title { color: var(--danger); font-weight: 600; text-align: center; }
.cell--danger .cell-main { align-items: center; }
.cell-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg-2); }
.staff-big { width: 100%; border-radius: 14px; margin-bottom: 8px; }
.cell--news .cell-excerpt { -webkit-line-clamp: 3; }

/* Fill the whole screen, up behind the iPhone status bar / Dynamic Island.
   iPhone shows the time and battery in white there, so that strip is forest green
   (dark green in dark mode). On phones without a notch the strip has no height. */
.app::before {
  display: block !important; content: ''; position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  height: var(--safe-top); background: #24533A; pointer-events: none; filter: none; opacity: 1; inset: 0 0 auto 0;
}
[data-theme="dark"] .app::before { background: #0F1813; }
[data-contrast="on"] .app::before { background: #00260D; }
[data-theme="dark"][data-contrast="on"] .app::before { background: #000; }
.on-landing .app::before { display: none !important; }
.fullscreen .fs-bar, .viewer-bar { padding-top: calc(6px + var(--safe-top)); }
.splash { background: #F5F3EC; }

/* Download page phone buttons: plain and matching the app */
.platform-btn[data-platform], [data-theme="dark"] .platform-btn[data-platform] { background: var(--card); color: var(--text); border: 1.5px solid var(--hairline-strong); }
.platform-btn[data-platform] small, [data-theme="dark"] .platform-btn[data-platform] small { color: var(--text-light); }
.platform-btn.is-likely { box-shadow: none; border-color: var(--forest); }

/* Snappier: faster slides, no shadows repainting while a screen slides */
.anim-push .is-entering, .anim-push .is-leaving, .anim-pop .is-entering, .anim-pop .is-leaving { animation-duration: .24s !important; }
.anim-push .is-entering, .anim-pop .is-leaving { box-shadow: none !important; }
.screen > * { contain: layout paint; }
.tab { touch-action: none; }

/* ═══ v13 ═══════════════════════════════════════════════════════════
   Screen edges: if iOS briefly reports no notch / home bar, fit.js
   supplies the real size so nothing slides under the clock. */
:root {
  --safe-top: max(env(safe-area-inset-top, 0px), var(--safe-top-fb, 0px));
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--safe-bottom-fb, 0px));
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --tab-gap: max(12px, calc(var(--safe-bottom) - 6px));   /* space under the floating tab bar */
  --content-w: 680px;                                     /* widest a list gets (iPhone Duo, landscape) */
}
html, body { height: 100%; overscroll-behavior: none; }

/* Use the whole screen on every phone, including unfolded and landscape */
.app { max-width: none; box-shadow: none !important; padding-left: var(--safe-left); padding-right: var(--safe-right); }
@media (min-width: 640px) { body { background: var(--bg); } }

/* Lists stay a comfortable width on big screens */
.screen { padding-left: max(0px, calc((100% - var(--content-w)) / 2)); padding-right: max(0px, calc((100% - var(--content-w)) / 2)); }

/* Branded top bar on every page: logo + page title */
.topbar, .topbar.is-scrolled, .topbar.is-fixed { background: var(--bar-solid); box-shadow: none; }
.topbar.has-scrolled, .topbar.is-fixed { box-shadow: 0 1px 0 var(--hairline); }
.topbar-title, .topbar.is-home .topbar-title {
  opacity: 1; display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: min(64vw, 420px);
  font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--forest);
}
.topbar-title::before, .topbar.is-home .topbar-title::before {
  content: ''; width: 30px; height: 30px; border-radius: 50%; flex: none; box-shadow: none;
  background: url(../images/logo.png) center / cover no-repeat;
}
.topbar-title { overflow: hidden; }
.back-label:empty { display: none; }
.back-btn { padding: 0 10px 0 6px; }
html[data-fontsize="lg"] .topbar-title, html[data-fontsize="xl"] .topbar-title { font-size: 1.2rem; }

/* Floating tab bar: sits just above the home bar on every phone */
.tabbar {
  left: max(14px, calc(var(--safe-left) + 14px)); right: max(14px, calc(var(--safe-right) + 14px));
  bottom: var(--tab-gap); max-width: 440px; margin: 0 auto;
}
.screen { padding-bottom: calc(66px + var(--tab-gap) + 30px); }
.screen--fixed { bottom: calc(66px + var(--tab-gap) + 8px); padding-bottom: 0; }
.toast { bottom: calc(66px + var(--tab-gap) + 14px); }
@media (max-height: 460px) { .tabbar { height: 56px; } .tab { min-height: 44px; } .screen--fixed { bottom: calc(56px + var(--tab-gap) + 8px); } }

/* Home: the golden retriever photo */

/* Gallery: share card at the top, filter, rounded mosaic */
.share-card {
  display: flex; align-items: center; gap: 14px; width: calc(100% - 32px); margin: 10px 16px 16px; padding: 16px;
  border: 0; border-radius: 22px; text-align: left; cursor: pointer; font: inherit;
  background: #24533A; color: #fff; box-shadow: 0 8px 22px rgba(36,83,58,.22);
}
.share-card:active { transform: scale(.985); }
.share-card-icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; }
.share-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.share-card-text strong { color: #fff; font-size: 1.05rem; font-weight: 700; }
.share-card-text span { color: rgba(255,255,255,.88); font-size: .85rem; line-height: 1.35; }
.share-card-btn { flex: none; padding: 8px 16px; border-radius: 100px; background: #fff; color: #24533A; font-weight: 700; font-size: .9rem; }
[data-theme="dark"] .share-card { background: #1F3D2B; box-shadow: none; }
[data-theme="dark"] .share-card-btn { background: #A9D5B6; color: #0F1813; }
[data-contrast="on"] .share-card { background: #003D14; box-shadow: none; }
.gallery-tabs { display: flex; margin: 0 16px 12px; }
.gallery-tabs button { flex: 1; }
.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); grid-auto-flow: dense; gap: 6px; margin: 0 16px; }
.mosaic .tile { aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.mosaic .tile--wide { grid-column: span 2; grid-row: span 2; border-radius: 18px; }
.mosaic .tile:active { transform: scale(.97); }
.mosaic .play { width: 28px; height: 28px; top: auto; left: auto; right: 8px; bottom: 8px; transform: none; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; }
.mosaic .empty { grid-column: 1 / -1; }
/* iOS started the app short: stretch it to the whole screen (see fit.js) */
html.fit-stretch, html.fit-stretch body { height: var(--screen-h); }
html.fit-stretch .app { bottom: auto; height: var(--screen-h); }
/* Taps register instantly (no waiting to see if it's a double-tap) */
html { touch-action: manipulation; }
/* Tab bar closer to the bottom edge */
:root { --tab-gap: max(8px, calc(var(--safe-bottom) - 16px)); }

/* ═══ v15: green header that runs up behind the clock ═════════════════
   iPhone softly blurs the area behind the clock. With the green strip
   and the header the same colour, that blur is green on green, so it
   looks solid instead of smudgy. */
.topbar, .topbar.is-scrolled, .topbar.is-fixed, .topbar.has-scrolled { background: #24533A; box-shadow: none; border-bottom: 0; }
[data-theme="dark"] .topbar, [data-theme="dark"] .topbar.is-scrolled, [data-theme="dark"] .topbar.is-fixed { background: #0F1813; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
[data-contrast="on"] .topbar, [data-contrast="on"] .topbar.is-scrolled, [data-contrast="on"] .topbar.is-fixed { background: #00260D; }
[data-theme="dark"][data-contrast="on"] .topbar { background: #000; }
.topbar-title, .topbar.is-home .topbar-title { color: #F7F2E9; }
[data-theme="dark"] .topbar-title { color: #EDE5D4; }
.topbar-title::before, .topbar.is-home .topbar-title::before { background-color: #F7F2E9; }
.topbar .back-btn, .topbar .icon-btn--right { background: rgba(255,255,255,.14); border: 0; color: #fff; box-shadow: none; }
.topbar .back-btn:active, .topbar .icon-btn--right:active { background: rgba(255,255,255,.24); }
.topbar .staff-pill { background: #F7F2E9; color: #24533A; }
.topbar :focus-visible { outline-color: #F7F2E9; }

/* Opening logo: fixed to the full screen height and no pop-in, so it stays perfectly still */
.splash { inset: 0 0 auto 0; height: var(--screen-h, 100%); }
.splash img { animation: none; }

/* Gallery: grids inside the mosaic, with a small title above visitors' photos */
.mosaic { display: block; }
.mosaic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); grid-auto-flow: dense; gap: 6px; }
.mosaic-title { margin: 22px 2px 8px; font-family: var(--font-body); font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); }

/* iOS started the app short: lay the app out as part of the page (not pinned to the
   short window) so it can draw all the way down to the real bottom of the screen */
html.fit-stretch, html.fit-stretch body { height: var(--screen-h); overflow: hidden; }
html.fit-stretch .app { position: absolute; top: 0; left: 0; right: 0; bottom: auto; height: var(--screen-h); }
html.fit-stretch .splash { position: absolute; }

/* v17: the app no longer goes behind the clock, so the opening logo just fills the app */
.splash { inset: 0; height: auto; }




/* v23: every page has a solid background, so the page underneath never shows
   through while one slides over another */
.screen { background: var(--bg); }
.screen--fixed { background: #fff; }

/* Home photo back to its original size (wide), framed on the dog */
.hero img { object-position: center 60%; }
/* Pages only scroll up and down, so a sideways swipe is left free for moving between tabs */
.screens > .screen { touch-action: pan-y; }
.hero { margin-top: 12px; }
/* Let the Book button's soft shadow show properly (it was being cut into a box) */
.screen > .home-book { contain: none; }
/* Book tab: invisible strips down each side so a swipe there changes tab instead of reaching the calendar */
.swipe-strip { position: absolute; top: 0; bottom: 0; width: 26px; z-index: 3; touch-action: pan-y; }
.swipe-strip--left { left: 0; }
.swipe-strip--right { right: 0; }
