/* ═══════════════════════════════════════════════════════════
   DUBAI SPORTS SURGERY — SHARED v2 CHROME
   Header, mobile menu, footer and floating actions used on every page.
   All classes are prefixed "v2-" so they never collide with the
   per-page styles of the older pages.
═══════════════════════════════════════════════════════════ */
:root {
  --v2-ink:       #0A1624;
  --v2-ink-3:     #16304A;
  --v2-blue:      #2E7CBF;
  --v2-teal:      #1BA8A0;
  --v2-teal-lite: #5FD4CC;
  --v2-teal-ghost:#E8F7F6;
  --v2-surface:   #F5F8FB;
  --v2-text:      #0E1A26;
  --v2-muted:     #5B6B7B;
  --v2-line:      #E2E9F0;
  --v2-grad:      linear-gradient(135deg, #2E7CBF 0%, #1BA8A0 100%);
  --v2-font:      "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --v2-ease:      cubic-bezier(.2,.7,.2,1);
  --v2-wrap:      1240px;
  --v2-gutter:    clamp(16px, 4vw, 40px);
}
.v2-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.v2-wrap { width: 100%; max-width: var(--v2-wrap); margin: 0 auto; padding: 0 var(--v2-gutter); box-sizing: border-box; }
.v2-hdr, .v2-hdr *, .v2-mnav, .v2-mnav *, .v2-ftr, .v2-ftr *, .v2-fab, .v2-mbar, .v2-mbar * { box-sizing: border-box; font-family: var(--v2-font); }

/* ── Buttons used in the chrome ── */
.v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: .88rem; letter-spacing: -.005em; text-decoration: none !important; white-space: nowrap; transition: transform .25s var(--v2-ease), box-shadow .25s var(--v2-ease), background .25s; }
.v2-btn-primary { background: var(--v2-grad); color: #fff !important; box-shadow: 0 10px 24px -8px rgba(27,168,160,.55); }
.v2-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(27,168,160,.7); }

/* ═══════════ HEADER ═══════════ */
.v2-hdr { position: fixed; inset: 0 0 auto 0; z-index: 1000; transition: background .3s, box-shadow .3s; }
.v2-hdr-in { display: flex; align-items: center; gap: 28px; height: 80px; transition: height .3s var(--v2-ease); }
.v2-hdr.scrolled, .v2-hdr.solid { background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--v2-line), 0 8px 24px -16px rgba(10,22,36,.25); }
.v2-hdr.scrolled .v2-hdr-in { height: 68px; }
.v2-logo { display: flex; flex-shrink: 0; }
.v2-logo img { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); transition: filter .3s; }
.v2-hdr.scrolled .v2-logo img, .v2-hdr.solid .v2-logo img, .v2-hdr.menu-open .v2-logo img { filter: none; }
.v2-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.v2-nav > a, .v2-nav-item > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; background: none; border-radius: 999px; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.88); text-decoration: none !important; cursor: pointer; transition: background .2s, color .2s; }
.v2-nav > a:hover, .v2-nav-item > button:hover, .v2-nav-item.open > button, .v2-nav > a.current { background: rgba(255,255,255,.12); color: #fff; }
.v2-hdr.scrolled .v2-nav > a, .v2-hdr.scrolled .v2-nav-item > button, .v2-hdr.solid .v2-nav > a, .v2-hdr.solid .v2-nav-item > button { color: var(--v2-text); }
.v2-hdr.scrolled .v2-nav > a:hover, .v2-hdr.scrolled .v2-nav-item > button:hover, .v2-hdr.scrolled .v2-nav-item.open > button, .v2-hdr.scrolled .v2-nav > a.current,
.v2-hdr.solid .v2-nav > a:hover, .v2-hdr.solid .v2-nav-item > button:hover, .v2-hdr.solid .v2-nav-item.open > button, .v2-hdr.solid .v2-nav > a.current { background: var(--v2-surface); }
.v2-nav-item { position: relative; }
.v2-nav-item > button svg { width: 12px; height: 12px; transition: transform .25s; }
.v2-nav-item.open > button svg { transform: rotate(180deg); }
.v2-mega { position: absolute; top: calc(100% + 14px); left: 50%; width: min(780px, 92vw); transform: translate(-50%, 8px); background: #fff; color: var(--v2-text); border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(10,22,36,.35); border: 1px solid var(--v2-line); padding: 14px; display: grid; grid-template-columns: 1fr 1fr 240px; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--v2-ease), visibility .25s; }
.v2-mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.v2-nav-item.open .v2-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.v2-mega-col { padding: 10px; }
.v2-mega-label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--v2-muted); padding: 4px 10px 10px; }
.v2-mega-col a { display: block; padding: 8px 10px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--v2-text); text-decoration: none !important; transition: background .15s, color .15s; line-height: 1.35; }
.v2-mega-col a small { display: block; font-size: .76rem; font-weight: 500; color: var(--v2-muted); }
.v2-mega-col a:hover { background: var(--v2-teal-ghost); color: var(--v2-teal); }
.v2-mega-feature { border-radius: 18px; overflow: hidden; position: relative; background: var(--v2-ink); color: #fff !important; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; text-decoration: none !important; }
.v2-mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.v2-mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(10,22,36,.92)); }
.v2-mega-feature > * { position: relative; z-index: 1; }
.v2-mega-feature b { font-size: 1.05rem; line-height: 1.25; }
.v2-mega-feature span { font-size: .82rem; color: rgba(255,255,255,.75); margin: 6px 0 12px; }
.v2-mega-feature em { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--v2-teal-lite); }
.v2-hdr-cta { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.v2-hdr-phone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); color: #fff; transition: all .2s; }
.v2-hdr-phone svg { width: 18px; height: 18px; }
.v2-hdr.scrolled .v2-hdr-phone, .v2-hdr.solid .v2-hdr-phone { border-color: var(--v2-line); color: var(--v2-text); }
.v2-hdr-phone:hover { border-color: var(--v2-teal) !important; color: var(--v2-teal) !important; }
/* Water-ripple rings + a gentle "ringing" shake so the call button draws the eye */
.v2-hdr-phone { position: relative; isolation: isolate; }
.v2-hdr-phone::before, .v2-hdr-phone::after { content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(95,212,204,.8); background: radial-gradient(circle, rgba(95,212,204,.22), transparent 70%); animation: v2Ripple 2.8s cubic-bezier(.2,.6,.3,1) infinite; pointer-events: none; }
.v2-hdr-phone::after { animation-delay: 1.4s; }
.v2-hdr.scrolled .v2-hdr-phone::before, .v2-hdr.scrolled .v2-hdr-phone::after, .v2-hdr.solid .v2-hdr-phone::before, .v2-hdr.solid .v2-hdr-phone::after { border-color: rgba(27,168,160,.7); background: radial-gradient(circle, rgba(27,168,160,.16), transparent 70%); }
.v2-hdr-phone svg { transform-origin: 50% 50%; animation: v2Ring 4.2s ease-in-out infinite; }
.v2-hdr-phone:hover::before, .v2-hdr-phone:hover::after, .v2-hdr-phone:hover svg { animation-play-state: paused; }
@keyframes v2Ripple { 0% { transform: scale(1); opacity: .95; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes v2Ring { 0%, 64%, 100% { transform: rotate(0); } 67% { transform: rotate(-16deg); } 70% { transform: rotate(14deg); } 73% { transform: rotate(-12deg); } 76% { transform: rotate(10deg); } 79% { transform: rotate(-6deg); } 82% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .v2-hdr-phone::before, .v2-hdr-phone::after, .v2-hdr-phone svg { animation: none; } .v2-hdr-phone::before, .v2-hdr-phone::after { display: none; } }
/* Mobile menu button: glass tile, staggered lines with a gradient accent, morphs into an X */
.v2-burger { display: none; position: relative; width: 46px; height: 46px; margin-left: auto; border-radius: 15px; cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, transform .2s var(--v2-ease), box-shadow .3s; }
.v2-burger:active { transform: scale(.94); }
.v2-burger span { position: absolute; left: 12px; height: 2.4px; border-radius: 3px; background: #fff; transform-origin: center; transition: transform .35s var(--v2-ease), opacity .2s, width .35s var(--v2-ease), left .35s var(--v2-ease), background .3s; }
.v2-burger span:nth-child(1) { top: 14px; width: 20px; }
.v2-burger span:nth-child(2) { top: 21px; width: 13px; background: var(--v2-grad); animation: v2Breathe 3.2s ease-in-out 1.5s infinite; }
.v2-burger span:nth-child(3) { top: 28px; width: 17px; }
.v2-burger:hover span, .v2-burger:focus-visible span { width: 20px; }
@keyframes v2Breathe { 0%, 100% { width: 13px; } 50% { width: 20px; } }
.v2-hdr.scrolled .v2-burger, .v2-hdr.solid .v2-burger { background: #fff; border-color: var(--v2-line); box-shadow: 0 6px 16px -10px rgba(10,22,36,.35); }
.v2-hdr.scrolled .v2-burger span:not(:nth-child(2)), .v2-hdr.solid .v2-burger span:not(:nth-child(2)) { background: var(--v2-text); }
.v2-hdr.menu-open { background: #fff; }
.v2-hdr.menu-open .v2-burger { background: var(--v2-ink); border-color: var(--v2-ink); box-shadow: 0 10px 22px -10px rgba(10,22,36,.6); }
.v2-hdr.menu-open .v2-burger span:nth-child(n) { left: 12px; width: 20px; background: #fff; animation: none; }
.v2-hdr.menu-open .v2-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v2-hdr.menu-open .v2-burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.v2-hdr.menu-open .v2-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.v2-mnav { position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; gap: 22px; padding: 92px var(--v2-gutter) calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(90% 40% at 100% 0%, rgba(27,168,160,.10), transparent 60%), radial-gradient(80% 40% at 0% 100%, rgba(46,124,191,.10), transparent 60%), #fff;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--v2-ease), visibility .3s; }
.v2-mnav.open { opacity: 1; visibility: visible; transform: none; }
.v2-mn-links { display: grid; gap: 6px; }
/* each row: icon tile, label, arrow — slides in one after another when the menu opens */
.v2-mn-item { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--v2-ease), transform .4s var(--v2-ease); transition-delay: 0s; }
.v2-mnav.open .v2-mn-item, .v2-mnav.open .v2-mn-cta { opacity: 1; transform: none; transition-delay: calc(.06s + var(--i, 0) * .045s); }
a.v2-mn-item, .v2-mn-item > summary { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 8px 14px 8px 8px; border-radius: 18px; font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; color: var(--v2-text); text-decoration: none !important; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; transition: background .2s; }
a.v2-mn-item:active, .v2-mn-item > summary:active { background: #EEF5FC; }
.v2-mn-item > summary::-webkit-details-marker { display: none; }
.v2-mn-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: #EEF5FC; color: var(--v2-blue, #2E7CBF); transition: background .2s, color .2s; }
.v2-mn-ico svg { width: 20px; height: 20px; }
.v2-mn-go { width: 18px; height: 18px; margin-left: auto; color: #A9B8C6; }
.v2-mn-plus { position: relative; width: 28px; height: 28px; margin-left: auto; border-radius: 50%; background: #F5F8FB; }
.v2-mn-plus::before, .v2-mn-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px; background: var(--v2-teal); transform: translate(-50%, -50%); transition: transform .3s var(--v2-ease); }
.v2-mn-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.v2-mn-item[open] > summary { background: #F5F8FB; }
.v2-mn-item[open] .v2-mn-plus::after { transform: translate(-50%, -50%) rotate(0); }
/* the page you are on */
a.v2-mn-item[aria-current="page"] { background: var(--v2-ink); color: #fff; }
a.v2-mn-item[aria-current="page"] .v2-mn-ico { background: rgba(95,212,204,.16); color: var(--v2-teal-lite); }
a.v2-mn-item[aria-current="page"] .v2-mn-go { color: var(--v2-teal-lite); }
.v2-mn-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 4px 8px; }
.v2-mn-sub a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--v2-line); font-size: .88rem; font-weight: 600; line-height: 1.25; color: var(--v2-text); text-decoration: none !important; }
.v2-mn-sub a:active { border-color: var(--v2-teal); background: #EDF8F7; }
.v2-mn-sub a.v2-mn-all { grid-column: 1 / -1; justify-content: center; background: var(--v2-grad); border-color: transparent; color: #fff; }
.v2-mn-sub a[aria-current="page"] { border-color: var(--v2-teal); color: var(--v2-teal); }
/* bottom: booking + quick contact */
.v2-mn-cta { margin-top: auto; display: grid; gap: 10px; padding: 16px; border-radius: 24px; background: var(--v2-ink); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--v2-ease), transform .4s var(--v2-ease); }
.v2-mnav .v2-mn-cta .v2-btn { width: 100%; height: 52px; font-size: .98rem; justify-content: center; }
.v2-mn-cta .v2-btn svg { width: 18px; height: 18px; }
.v2-mn-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v2-mn-quick a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none !important; }
.v2-mn-quick a.wa { background: #25D366; border-color: #25D366; }
.v2-mn-quick svg { width: 18px; height: 18px; }
.v2-mn-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 0; font-size: .78rem; color: rgba(255,255,255,.6); text-align: center; text-wrap: balance; }
.v2-mn-note svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--v2-teal-lite); }

/* ═══════════ FOOTER ═══════════ */
.v2-ftr { background: var(--v2-ink); color: rgba(255,255,255,.65); padding: 80px 0 32px; font-size: .9rem; line-height: 1.6; }
.v2-ftr a { color: inherit; text-decoration: none !important; }
.v2-ftr-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; margin-bottom: 56px; border-radius: 24px; background: linear-gradient(135deg, rgba(46,124,191,.25), rgba(27,168,160,.2)); border: 1px solid rgba(255,255,255,.1); }
.v2-ftr-cta p { margin: 0; color: #fff; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.v2-ftr-cta p span { display: block; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.65); margin-top: 2px; }
/* Pages that close with their own booking block (treatment pages, services, about, gallery, contact) don't repeat it in the footer */
body:has(.cta-section, .ab-cta, .no-ftr-cta) .v2-ftr-cta { display: none; }
.v2-ftr-cta div { display: flex; gap: 10px; flex-wrap: wrap; }
.v2-ftr-cta .v2-btn-ghost { border: 1.5px solid rgba(255,255,255,.3); color: #fff !important; }
.v2-ftr-cta .v2-btn-ghost:hover { background: rgba(255,255,255,.08); }
.v2-ftr-cta svg { width: 18px; height: 18px; }
.v2-ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.v2-ftr .v2-logo img { height: 32px; }
.v2-ftr-about { margin: 18px 0 22px; max-width: 36ch; }
.v2-socials { display: flex; gap: 8px; }
.v2-socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; transition: all .2s; }
.v2-socials a:hover { background: var(--v2-teal); border-color: var(--v2-teal); color: #fff; }
.v2-socials svg { width: 17px; height: 17px; }
.v2-ftr h4 { color: #fff; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; font-weight: 700; }
.v2-ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-ftr ul a { transition: color .2s; }
.v2-ftr ul a:hover { color: var(--v2-teal-lite); }
.v2-ftr-creds { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.v2-ftr-creds span { display: inline-flex; align-items: center; gap: 8px; }
.v2-ftr-creds svg { width: 16px; height: 16px; color: var(--v2-teal-lite); }
.v2-ftr-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; font-size: .8rem; color: rgba(255,255,255,.45); }
.v2-ftr-bottom a:hover { color: #fff; }
.v2-ftr-bottom .v2-credit a { color: var(--v2-teal-lite); font-weight: 600; }

/* Floating WhatsApp (desktop) + action bar (mobile) */
.v2-fab { position: fixed; right: 24px; bottom: 24px; z-index: 990; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .3s var(--v2-ease); }
.v2-fab:hover { transform: scale(1.08); }
.v2-fab svg { width: 30px; height: 30px; }
.v2-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: v2ping 2.4s infinite; }
@keyframes v2ping { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 80%, 100% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }
.v2-mbar { display: none; }

@media (max-width: 1100px) {
  .v2-nav, .v2-hdr-cta { display: none; }
  .v2-burger { display: block; }
  .v2-ftr-top { grid-template-columns: 1fr 1fr; }
  .v2-ftr-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .v2-ftr-top { grid-template-columns: 1fr; }
  /* link columns as accordions (site.js adds .ftr-acc on phones) */
  .v2-ftr-top.ftr-acc { gap: 0; }
  .v2-ftr-top.ftr-acc > div:first-child { padding-bottom: 20px; }
  .v2-ftr-top.ftr-acc > div:not(:first-child) { border-top: 1px solid rgba(255,255,255,.08); }
  .v2-ftr-top.ftr-acc h4 { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 18px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .v2-ftr-top.ftr-acc h4::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--v2-teal-lite); border-bottom: 2px solid var(--v2-teal-lite); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--v2-ease); }
  .v2-ftr-top.ftr-acc .acc-open h4::after { transform: translateY(2px) rotate(-135deg); }
  .v2-ftr-top.ftr-acc h4:focus-visible { outline: 2px solid var(--v2-teal-lite); outline-offset: 4px; border-radius: 4px; }
  .v2-ftr-top.ftr-acc ul { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .35s var(--v2-ease), padding .35s var(--v2-ease), visibility .35s; }
  .v2-ftr-top.ftr-acc .acc-open ul { max-height: 520px; padding-bottom: 20px; visibility: visible; }
  .v2-ftr-cta { padding: 24px; }
  .v2-fab { display: none; }
  .v2-mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 995; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--v2-line); }
  .v2-mbar a { height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .88rem; border: 1.5px solid var(--v2-line); color: var(--v2-text); text-decoration: none !important; background: #fff; }
  .v2-mbar a svg { width: 18px; height: 18px; }
  .v2-mbar a.wa { background: #25D366; border-color: #25D366; color: #fff; }
  .v2-mbar a.bk { background: var(--v2-ink); border-color: var(--v2-ink); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-hdr, .v2-hdr *, .v2-mnav, .v2-mnav *, .v2-fab, .v2-fab::after { transition: none !important; animation: none !important; }
}

/* Never let a page be wider than the screen (stops sideways drift / white edges on iPhone).
   'clip' doesn't create a scroll container, so sticky headers and tab bars keep working. */
body { overflow-x: clip; }
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }
