/* Chata Pod Smrkem — ticho, les, střídání ročních období
   Barvy nastavuje přepínač ročního období (registrované vlastnosti → plynulý přechod). */

@property --bg { syntax: '<color>'; inherits: true; initial-value: #efe7dc; }
@property --bg2 { syntax: '<color>'; inherits: true; initial-value: #e3d8c6; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #2b221c; }
@property --mute { syntax: '<color>'; inherits: true; initial-value: #64564a; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #a65a2c; }
@property --accent-ink { syntax: '<color>'; inherits: true; initial-value: #8a4921; }

:root {
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --line-2: color-mix(in srgb, var(--ink) 30%, transparent);
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(18px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hd-h: 72px;
  transition: --bg 1.1s var(--ease), --bg2 1.1s var(--ease), --ink 1.1s var(--ease), --mute 1.1s var(--ease), --accent 1.1s var(--ease), --accent-ink 1.1s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hd-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; }
em { font-style: italic; color: var(--accent-ink); }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.skip { position: fixed; top: -60px; left: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; }
.skip:focus { top: 12px; }
.kicker { font: 500 12px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--mute); max-width: 52ch; }

/* Filmová zrnitost přes celý web */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .17; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink); border-radius: 999px; text-decoration: none;
  font: 500 15px var(--sans); letter-spacing: .02em; transition: background-color .25s, color .25s, border-color .25s, opacity .2s;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--bg); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 18px; transition: border-color .2s, background-color .2s; }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
.icon-btn:disabled { opacity: .3; cursor: not-allowed; }

/* ---------- Hlavička a přepínač období ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); color: #fff; transition: background-color .4s, color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.hd.is-solid { background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--ink); border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-right: auto; }
.logo svg { width: 22px; height: 22px; fill: currentColor; }
.logo span { font: 500 26px/1 var(--serif); }
.logo small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: inherit; text-decoration: none; opacity: .85; padding: 6px 0; border-bottom: 1px solid transparent; transition: opacity .2s, border-color .2s; }
.nav a:hover { opacity: 1; border-bottom-color: currentColor; }
.seasons { display: flex; gap: 2px; padding: 3px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 999px; }
.season { position: relative; min-height: 34px; padding: 0 13px; border-radius: 999px; font-size: 13px; letter-spacing: .04em; color: inherit; opacity: .8; transition: opacity .2s, background-color .4s, color .4s; }
.season:hover { opacity: 1; }
.season[aria-checked="true"] { opacity: 1; background: currentColor; }
.season[aria-checked="true"] span { color: var(--bg); }
.hd:not(.is-solid) .season[aria-checked="true"] span { color: #1c1c1c; }
.season span { position: relative; }
@media (max-width: 1100px) { .nav { display: none; } }
.logo span { white-space: nowrap; }
@media (max-width: 700px) {
  .m-pt circle { r: 22; }
  .m-pt text { font-size: 18px; transform: translateY(2px); }
  .m-label { font-size: 16px; }
  .m-peak { font-size: 20px; }
}
@media (max-width: 560px) {
  .logo span { font-size: 21px; }
  .logo small { display: none; }
  .hd { gap: 10px; }
  .season { padding: 0 9px; font-size: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(620px, 100svh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: #2b2b2b; }
.hero-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .05) 55%, rgba(0, 0, 0, .55) 100%); }
.hero-inner { position: relative; padding: 0 var(--pad) clamp(40px, 9vh, 96px); display: grid; gap: 18px; max-width: 900px; }
.hero .kicker { color: rgba(255, 255, 255, .85); }
.hero h1 { font-size: clamp(56px, 9vw, 150px); font-weight: 400; }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); max-width: 44ch; color: rgba(255, 255, 255, .9); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }
.hero .btn { background: #fff; color: #1c1c1c; border-color: #fff; }
.hero .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero-facts { font-size: 14px; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
[data-swap-text] { transition: opacity .5s var(--ease), filter .6s var(--ease), transform .6s var(--ease); }
.is-swapping [data-swap-text] { opacity: 0; filter: blur(6px); transform: translateY(8px); }

/* Přechod ročních období – kruhové odkrytí od tlačítka (View Transitions) */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: season-reveal 1.15s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes season-reveal { from { clip-path: circle(0 at var(--vx, 80%) var(--vy, 4%)); } to { clip-path: circle(150vmax at var(--vx, 80%) var(--vy, 4%)); } }

/* ---------- Sekce ---------- */
section { position: relative; }
.sec-head { display: grid; gap: 16px; padding: 0 var(--pad); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(44px, 6vw, 92px); }

.atmos { padding-top: clamp(110px, 15vw, 210px); }
.atmos-list { display: grid; gap: clamp(70px, 11vw, 160px); }
.atmo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 0 var(--pad); align-items: end; }
.atmo figure { grid-column: 1 / 9; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg2); }
.atmo:nth-child(2) figure { grid-column: 5 / 13; grid-row: 1; aspect-ratio: 4 / 5; }
.atmo:nth-child(3) figure { grid-column: 2 / 12; aspect-ratio: 16 / 8; }
.atmo figure img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.atmo div { grid-column: 9 / 13; display: grid; gap: 10px; padding-bottom: 12px; }
.atmo:nth-child(2) div { grid-column: 1 / 5; grid-row: 1; }
.atmo:nth-child(3) div { grid-column: 2 / 8; }
.atmo h3 { font-size: clamp(30px, 3.2vw, 46px); }
.atmo p { color: var(--mute); max-width: 36ch; }
@media (max-width: 860px) {
  .atmo figure, .atmo:nth-child(2) figure, .atmo:nth-child(3) figure { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .atmo div, .atmo:nth-child(2) div, .atmo:nth-child(3) div { grid-column: 1 / -1; grid-row: auto; }
}

/* Pokoje */
.rooms { padding-top: clamp(110px, 15vw, 210px); }
.room-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px); padding: 0 var(--pad); }
.room figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg2); margin-bottom: 18px; }
.room figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.room:hover figure img { transform: scale(1.04); }
.room-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; margin-bottom: 10px; }
.room h3 { font-size: clamp(30px, 2.8vw, 42px); }
.room-price { font: 400 22px var(--serif); white-space: nowrap; }
.room-price small { font: 400 13px var(--sans); color: var(--mute); }
.room-meta { font-size: 14px; color: var(--mute); margin-bottom: 8px; }
.room p { max-width: 46ch; }
.room .btn { margin-top: 16px; }
@media (max-width: 760px) { .room-list { grid-template-columns: 1fr; } }

/* ---------- Rezervace ---------- */
.booking { padding-top: clamp(110px, 15vw, 210px); }
.stepper { display: flex; gap: 8px 28px; flex-wrap: wrap; padding: 0 var(--pad); margin-bottom: 28px; font-size: 14px; color: var(--mute); }
.stepper li { display: flex; align-items: center; gap: 10px; }
.stepper span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-size: 13px; transition: background-color .3s, color .3s, border-color .3s; }
.stepper li[aria-current="step"] { color: var(--ink); font-weight: 500; }
.stepper li[aria-current="step"] span, .stepper li.is-done span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); padding: 0 var(--pad); align-items: start; }
@media (max-width: 960px) { .booking-grid { grid-template-columns: 1fr; } }
.step { display: grid; gap: 26px; }
.step[hidden] { display: none; }
.field-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-group legend { padding: 0; margin-bottom: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 6px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; text-align: left; transition: background-color .2s, color .2s, border-color .2s; }
.seg button small { display: block; font-size: 12px; color: var(--mute); }
.seg button:hover { border-color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg button[aria-pressed="true"] small { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.guests { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.guests legend { width: 100%; }
.counter { display: flex; align-items: center; gap: 10px; }
.counter span { min-width: 7.5em; }
.counter button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; transition: border-color .2s; }
.counter button:hover:not(:disabled) { border-color: var(--ink); }
.counter button:disabled { opacity: .3; cursor: not-allowed; }
.counter output { min-width: 1.5em; text-align: center; font: 500 20px var(--serif); }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-ink); flex: none; }
.check small { color: var(--mute); }

.cal-wrap { border-top: 1px solid var(--line-2); padding-top: 16px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cal-hint { font-size: 15px; color: var(--mute); text-align: center; }
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .cal { grid-template-columns: 1fr; } .cal .month:nth-child(2) { display: none; } }
.month h4 { margin: 0 0 10px; font: 500 24px var(--serif); text-transform: capitalize; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.dow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-align: center; padding-bottom: 6px; }
.day {
  position: relative; height: 44px; display: grid; place-items: center; font-variant-numeric: tabular-nums; font-size: 15px;
  transition: background-color .15s, color .15s;
}
.day:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.day:disabled { color: color-mix(in srgb, var(--ink) 30%, transparent); cursor: not-allowed; }
.day.is-booked { color: color-mix(in srgb, var(--ink) 38%, transparent); text-decoration: line-through; text-decoration-thickness: 1px; background: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--ink) 7%, transparent) 5px 6px); }
.day.is-today::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-ink); }
.day.in-range { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.day.is-preview { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.day.is-start, .day.is-end { background: var(--ink); color: var(--bg); border-radius: 22px 0 0 22px; }
.day.is-end { border-radius: 0 22px 22px 0; }
.day.is-start.is-end { border-radius: 22px; }
.day.is-checkout-only { color: var(--ink); text-decoration: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 13px; color: var(--mute); }
.cal-legend i { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; border: 1px solid var(--line-2); }
.lg-booked { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--line-2) 3px 4px); }
.lg-sel { background: var(--ink); border-color: var(--ink) !important; }

.quote { position: sticky; top: calc(var(--hd-h) + 20px); background: var(--bg2); padding: 26px; display: grid; gap: 14px; border-radius: 2px; }
.quote h3 { margin-bottom: 2px; }
.q-dates { font: 400 30px/1.1 var(--serif); }
.q-room { color: var(--mute); font-size: 15px; }
.q-lines { border-top: 1px solid var(--line-2); }
.q-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.q-lines dd { font-variant-numeric: tabular-nums; text-align: right; }
.q-lines dt small { color: var(--mute); }
.q-total { display: flex; justify-content: space-between; align-items: baseline; }
.q-total strong { font: 500 40px/1 var(--serif); font-variant-numeric: tabular-nums; }
.q-dep { font-size: 13px; color: var(--mute); }
.q-nights summary { cursor: pointer; font-size: 14px; color: var(--accent-ink); }
.q-nights ul { margin-top: 8px; font-size: 13px; color: var(--mute); max-height: 160px; overflow-y: auto; }
.q-nights li { display: flex; justify-content: space-between; padding: 2px 0; }
.q-empty { color: var(--mute); }
.quote-err { color: #9c2f1c; font-size: 14px; }
.quote-err:empty { display: none; }
.quote-actions { display: flex; gap: 10px; }
.quote-actions .btn { flex: 1; }
@media (max-width: 960px) { .quote { position: static; } }

.form .field { display: grid; gap: 6px; font-size: 14px; color: var(--mute); }
.form input:not([type="checkbox"]), .form select, .form textarea { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 2px; background: color-mix(in srgb, var(--bg) 70%, #fff); color: var(--ink); font-size: 16px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: #9c2f1c !important; }
.form-note { font-size: 14px; color: var(--mute); }
.err { color: #9c2f1c; font-size: 14px; font-weight: 500; }
.err:empty { display: none; }
.review dl { border-top: 1px solid var(--line-2); }
.review dl div { display: grid; grid-template-columns: 10em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.review dt { color: var(--mute); }
.review h3, .done h3 { font-size: clamp(34px, 4vw, 54px); }
.done { outline: none; }
.done .btn { justify-self: start; }
.done .code { font: 500 28px var(--serif); color: var(--accent-ink); }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--pad); background: color-mix(in srgb, var(--bg2) 97%, transparent); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .4s var(--ease); }
.mbar.on { transform: none; }
.mbar span { font: 500 22px var(--serif); }
.mbar .btn { min-height: 44px; padding: 0 18px; }
@media (max-width: 960px) { .mbar { display: flex; } }

/* ---------- Okolí ---------- */
.area { padding-top: clamp(110px, 15vw, 210px); }
.area-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 0 var(--pad); align-items: start; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }
.map { background: var(--bg2); }
.map svg { display: block; width: 100%; height: auto; }
.m-contour { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: 1; }
.m-contour.major { stroke-opacity: .3; }
.m-stream { fill: none; stroke: var(--accent); stroke-opacity: .5; stroke-width: 1.6; }
.m-road { fill: none; stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.2; stroke-dasharray: 2 4; }
.m-route { fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-dasharray: 5 5; opacity: 0; transition: opacity .4s; }
.m-route.on { opacity: 1; }
.m-home { fill: var(--ink); }
.m-label { font: 500 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); }
.m-peak { font: italic 400 15px var(--serif); fill: var(--mute); }
.m-pt { cursor: pointer; }
.m-pt circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; transition: fill .2s; }
.m-pt text { font: 600 11px var(--sans); fill: var(--ink); pointer-events: none; }
.m-pt:hover circle, .m-pt:focus circle, .m-pt.on circle { fill: var(--accent); }
.m-pt:focus { outline: none; }
.m-pt.on text { fill: var(--bg); }
.trips { counter-reset: t; border-top: 1px solid var(--line-2); }
.trip button { width: 100%; text-align: left; display: grid; grid-template-columns: 28px 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.trip button:hover, .trip.on button { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.trip-n { font: 500 18px var(--serif); color: var(--accent-ink); }
.trip-name { font: 500 22px/1.2 var(--serif); }
.trip-meta { font-size: 13px; color: var(--mute); white-space: nowrap; }
.trip-note { grid-column: 2 / 4; font-size: 15px; color: var(--mute); }

/* ---------- Kontakt ---------- */
.contact { padding-top: clamp(110px, 15vw, 210px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 0 var(--pad); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact dl { border-top: 1px solid var(--line-2); }
.contact dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.howto li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.howto li:first-child { border-top: 1px solid var(--line-2); }

.ft { margin-top: clamp(110px, 15vw, 200px); padding: 40px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--mute); }
.ft-logo { font: 400 clamp(64px, 12vw, 180px)/.9 var(--serif); color: var(--ink); margin-bottom: 14px; }

/* ---------- Přehled pro majitele ---------- */
.admin { padding: 40px var(--pad); }
.admin table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin th, .admin td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.admin-scroll { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  ::view-transition-new(root) { animation: none; }
}
