/* =========================================================================
   SWARMIO SEASON 2 — shared chrome

   The walnut rail (desktop) and the walnut-framed masthead + tab bar (phone),
   used by EVERY page: the app shell, the code workspace, Mission Control, the
   admin console and the cloud's public pages. The app builds its masthead in
   app.js; every other page mounts the same markup through /rail.js. Load after
   /tokens.css (and after any page sheet, so this wins).

   Wood is only ever a frame. Text never sits on the grain.
   ========================================================================= */

.masthead button,
.tabbar button,
.masthead a,
.tabbar a {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.masthead .hidden,
.tabbar .hidden {
  display: none !important;
}
.masthead__icon {
  display: none;
  line-height: 0;
  flex: none;
}
.masthead__icon svg,
.tabbar__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tabbar {
  display: none;
}
:root {
  --rail-w: 264px;      /* walnut strip */
  --rail-plate-w: 238px;
}
html[data-rail="collapsed"] {
  --rail-w: 84px;
  --rail-plate-w: 58px;
}

/* ------------------------------------------------------------ desktop rail */
@media (min-width: 48.01rem) {
  body:has(> #app)::before,
  body.s2-rail::before {
    content: "";
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    z-index: 0;
    transition: width 0.45s var(--ease);
    background: var(--walnut) var(--wood-v) center top / 360px 2400px;
    box-shadow: inset -1px 0 0 color-mix(in oklab, #000 40%, transparent);
  }
  .app,
  body.s2-rail {
    padding-left: var(--rail-w);
    transition: padding-left 0.45s var(--ease);
  }
  .masthead {
    position: fixed;
    inset: 13px auto 13px 13px;
    z-index: 40;
    width: var(--rail-plate-w);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-6);
    margin: 0;
    padding: var(--space-6) var(--space-3) var(--space-3);
    border: 0;
    border-radius: var(--radius);
    background: var(--rail-plate);
    color: var(--rail-ink);
    font-family: var(--f-ui);
    font-size: 15px;
    line-height: 1.4;
    box-shadow: inset 0 1px 3px color-mix(in oklab, #000 30%, transparent), 0 1px 0 rgba(255, 238, 210, 0.18);
    overflow-y: auto;
    scrollbar-width: none;
    transition: background-color 0.7s var(--ease), width 0.45s var(--ease), padding 0.45s var(--ease);
  }
  .masthead__brand {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 var(--space-3);
    color: var(--rail-ink);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0;
    text-transform: none;
  }
  .masthead__brand b {
    color: var(--rail-ink);
    font-weight: 700;
  }
  .masthead__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .masthead__icon {
    display: inline-block;
  }
  .masthead__link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 var(--space-3);
    border: 0;
    border-radius: var(--radius);
    color: var(--rail-ink-2);
    font-size: 0.94rem;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
  }
  .masthead__link:hover {
    color: var(--rail-ink);
    background: var(--rail-hover);
  }
  .masthead__link.is-on {
    color: var(--rail-ink);
    background: var(--rail-pill);
  }
  .inbox,
  .acct {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .inbox__n {
    margin-left: auto;
    background: var(--rail-pill);
    color: var(--rail-ink);
  }
  .acct__chev {
    margin-left: auto;
  }
  /* popovers open beside the rail, not under the row */
  .inbox__drop,
  .acct__drop {
    position: fixed;
    top: auto;
    right: auto;
    left: calc(var(--rail-w) + 4px);
    color: var(--ink);
  }
  .inbox__drop {
    top: 16px;
  }
  .acct__drop {
    bottom: 16px;
  }
  .masthead__admin {
    color: var(--rail-ink);
    border-color: var(--rail-pill);
  }
  /* account then credits settle at the foot of the plate */
  .acct {
    order: 98;
    margin-top: auto;
  }
  .masthead .credits {
    order: 99;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-3);
    border: 0;
    border-top: 1px solid var(--rail-pill);
    border-radius: 0;
    color: var(--rail-ink-2);
    font-size: 0.72rem;
  }
  .masthead .credits:hover {
    color: var(--rail-ink);
  }
  .masthead .credits__coin {
    color: var(--rail-ink-2);
  }
  .masthead .credits__v {
    font-family: var(--f-ui);
    font-weight: var(--read-w);
    font-size: 1.35rem;
    color: var(--rail-ink);
    font-variant-numeric: tabular-nums;
  }
  .masthead .credits__k {
    color: var(--rail-ink-2);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.62rem;
  }
  .status-dot {
    color: var(--rail-ink-2);
  }
}

/* ------------------------------------------------- collapsible rail */
.masthead__collapse {
  display: none;
}
@media (min-width: 48.01rem) {
  .masthead__collapse {
    order: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-top: var(--space-1);
    border-radius: var(--radius);
    color: var(--rail-ink-2);
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
  }
  .masthead__collapse:hover {
    color: var(--rail-ink);
    background: var(--rail-hover);
  }
  .masthead__collapse svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.45s var(--ease);
  }
  html[data-rail="collapsed"] .masthead__collapse svg {
    transform: rotate(180deg);
  }
  /* collapsed: an icon strip. Names stay as the rows' titles (hover). */
  html[data-rail="collapsed"] .masthead {
    padding-inline: 6px;
    align-items: center;
  }
  html[data-rail="collapsed"] .masthead__brand {
    align-self: center;
    padding: 0;
    font-size: 0;
  }
  html[data-rail="collapsed"] .masthead__brand::before {
    content: "S";
    font-size: 1.15rem;
  }
  html[data-rail="collapsed"] .masthead__meta {
    width: 100%;
  }
  html[data-rail="collapsed"] .masthead__link {
    justify-content: center;
    padding: 0;
    font-size: 0;
    gap: 0;
  }
  html[data-rail="collapsed"] .masthead__link .inbox__n,
  html[data-rail="collapsed"] .masthead__link .cnt,
  html[data-rail="collapsed"] .acct__chev,
  html[data-rail="collapsed"] .masthead .credits__v,
  html[data-rail="collapsed"] .masthead .credits__k {
    display: none;
  }
  html[data-rail="collapsed"] .masthead .credits {
    justify-content: center;
    padding: var(--space-3) 0;
  }
  html[data-rail="collapsed"] .masthead .credits__coin {
    font-size: 1rem;
  }
  html[data-rail="collapsed"] .masthead__collapse {
    width: 100%;
  }
}

/* ------------------------------------------------- phone: masthead + tab bar */
@media (max-width: 48rem) {
  .masthead {
    position: relative;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    border: 8px solid transparent;
    border-top-width: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background:
      linear-gradient(var(--rail-plate), var(--rail-plate)) padding-box,
      var(--walnut) var(--wood-h) center / 2400px 220px border-box;
    color: var(--rail-ink);
    font-family: var(--f-ui);
    padding: 0.55rem 0.9rem;
  }
  .masthead__brand,
  .masthead__brand b {
    color: var(--rail-ink);
    text-transform: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0;
  }
  .masthead__meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  /* the tab bar owns the destinations on a phone */
  .masthead__link,
  .masthead__admin,
  .masthead .acct {
    display: none;
  }
  .masthead .credits {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.72rem;
    border: 1px solid var(--rail-pill);
    border-radius: 100px;
    color: var(--rail-ink-2);
    font-size: 0.72rem;
  }
  .masthead .credits__v,
  .masthead .credits__coin {
    color: var(--rail-ink);
    font-variant-numeric: tabular-nums;
  }
  .masthead .credits__k {
    display: none;
  }
  .masthead .inbox__btn {
    color: var(--rail-ink-2);
  }
  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: stretch;
    border: 8px solid transparent;
    border-bottom-width: calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 0;
    background:
      linear-gradient(var(--rail-plate), var(--rail-plate)) padding-box,
      var(--walnut) var(--wood-h) center / 2400px 220px border-box;
    font-family: var(--f-ui);
  }
  .tabbar__btn {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    padding: 0.35rem 0.15rem;
    border-radius: var(--radius);
    color: var(--rail-ink-2);
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar__icon {
    display: block;
    line-height: 0;
  }
  .tabbar__icon svg {
    width: 22px;
    height: 22px;
  }
  .tabbar__label {
    font-size: 0.7rem;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
  }
  .tabbar__btn.is-on {
    color: var(--rail-ink);
    background: var(--rail-pill);
  }
  .tabbar__btn.is-on::before {
    content: none;
  }
  body:has(> #app),
  body.s2-rail {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
  html.kb-open .tabbar {
    display: none;
  }
}

/* ----------------------------------------------- rail account popover (rail.js) */
.s2-acct__drop {
  position: fixed;
  left: calc(var(--rail-w) + 4px);
  bottom: 16px;
  z-index: 70;
  min-width: 19rem;
  padding: var(--space-1);
  border-radius: var(--radius);
  background: var(--room);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px color-mix(in oklab, var(--shadow) 88%, transparent);
  font-family: var(--f-ui);
  display: flex;
  flex-direction: column;
}
.s2-acct__drop a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 var(--space-3);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}
.s2-acct__drop a:hover {
  background: color-mix(in oklab, var(--ink) 6%, transparent);
}
@media (max-width: 48rem) {
  .s2-acct__drop {
    left: 8px;
    right: 8px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    min-width: 0;
  }
}

/* Appearance control (theme.js) — shared so every page can show it. */
.appear {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: var(--space-1);
  color: var(--ink);
  font-family: var(--f-ui);
}
.appear__label {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.appear__label--sub {
  margin-top: var(--space-1);
}
.appear__seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
}
.appear button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.appear__mode {
  min-height: 34px;
  padding: 0 var(--space-2);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.appear__mode[aria-checked="true"] {
  background: var(--ink);
  color: var(--room);
}
.appear__nights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}
.appear__night {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 60px;
  padding: var(--space-2) 2px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.appear__night i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), inset 0 0 0 4px color-mix(in oklab, #fff 6%, transparent);
}
.appear__night[aria-checked="true"] {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink-2);
}

/* ------------------------------------------------------------ the player */
/* Full player (the show card): a small console screen — readout, scrubber
   marked at each story, transport — and the read-along transcript. */
.sp {
  display: grid;
  gap: var(--space-3);
  font-family: var(--f-ui);
}
.sp button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}
.sp__screen {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-radius: var(--radius);
  background: var(--scr);
  color: var(--scr-ink);
  box-shadow: 0 0 0 9px var(--bezel), 0 0 0 10px var(--bezel-edge);
  margin: 10px;
  transition: background-color 0.7s var(--ease);
}
.sp__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.sp__readout {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.sp__t {
  font-weight: var(--read-w);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--scr-hi);
  font-variant-numeric: tabular-nums;
}
.sp__d {
  font-size: 0.92rem;
  color: var(--scr-ink-2);
  font-variant-numeric: tabular-nums;
}
.sp__rate {
  min-width: 48px;
  min-height: 30px;
  padding: 0 var(--space-2);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--scr-line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--scr-ink);
  font-variant-numeric: tabular-nums;
}
.sp-scrub {
  position: relative;
  height: 22px;
  cursor: pointer;
  touch-action: none;
  outline-offset: 4px;
}
.sp-scrub__track,
.sp-scrub__fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 6px;
  border-radius: var(--radius);
}
.sp-scrub__track {
  background: var(--track);
}
.sp-scrub__fill {
  background: var(--fill);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.25s linear;
}
.sp-scrub__ticks b {
  position: absolute;
  top: 5px;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  border-radius: var(--radius);
  background: var(--scr);
  box-shadow: 0 0 0 1px var(--scr-line);
}
.sp-scrub__thumb {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--scr-hi);
  box-shadow: 0 0 0 3px var(--scr);
  left: 0;
  transition: left 0.25s linear;
}
.sp__ctl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}
.sp__skip {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--scr-ink-2);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.sp__skip:hover {
  color: var(--scr-hi);
  background: var(--scr-2);
}
.sp__skip svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sp__play {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ochre) !important;
  color: var(--ochre-ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 12px -6px var(--shadow);
  transition: transform 0.15s var(--ease), background-color 0.25s var(--ease);
}
.sp__play:hover {
  background: var(--ochre-hi) !important;
}
.sp__play:active {
  transform: scale(0.96);
}
.sp__play svg {
  width: 26px;
  height: 26px;
}
.sp__play.is-loading {
  animation: spPulse 1.2s var(--ease) infinite;
}
@keyframes spPulse {
  50% { opacity: 0.6; }
}
.sp-read {
  margin: 0 10px;
}
.sp-read summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: var(--space-2) 0;
}
.sp-read__lines {
  display: grid;
  gap: 2px;
  max-height: 22rem;
  overflow-y: auto;
  scrollbar-width: thin;
}
.sp-line {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  color: var(--ink-2);
  line-height: 1.55;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.sp-line:hover {
  background: color-mix(in oklab, var(--ink) 5%, transparent);
}
.sp-line.is-on {
  background: color-mix(in oklab, var(--fill) 16%, transparent);
  color: var(--ink);
}
.sp-line__who {
  display: inline-block;
  margin-right: var(--space-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Docked mini player: in the rail on desktop, above the tab bar on a phone. */
.s2-mini {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--rail-ink) 7%, transparent);
  color: var(--rail-ink);
  font-family: var(--f-ui);
  overflow: hidden;
}
.s2-mini.hidden {
  display: none !important;
}
.s2-mini button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}
.s2-mini__play {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ochre) !important;
  color: var(--ochre-ink) !important;
}
.s2-mini__play svg {
  width: 17px;
  height: 17px;
}
.s2-mini__text {
  display: grid;
  min-width: 0;
  text-align: left;
  line-height: 1.25;
}
.s2-mini__title {
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s2-mini__sub {
  font-size: 0.72rem;
  color: var(--rail-ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s2-mini__btns {
  display: flex;
}
.s2-mini__btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--rail-ink-2);
}
.s2-mini__btn:hover {
  color: var(--rail-ink);
  background: var(--rail-hover);
}
.s2-mini__btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.s2-mini__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: color-mix(in oklab, var(--rail-ink) 10%, transparent);
}
.s2-mini__bar {
  display: block;
  height: 100%;
  background: var(--fill);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.25s linear;
}
@media (min-width: 48.01rem) {
  .masthead .s2-mini {
    order: 97;
    margin-top: auto;
  }
  .masthead .s2-mini:not(.hidden) ~ .acct {
    margin-top: var(--space-2);
  }
  /* room for the title: forward-15 lives in the full player and media keys */
  .masthead .s2-mini__fwd {
    display: none;
  }
  /* collapsed rail: just the play button */
  html[data-rail="collapsed"] .masthead .s2-mini {
    grid-template-columns: auto;
    justify-items: center;
    padding: var(--space-2) 0;
    background: none;
  }
  html[data-rail="collapsed"] .masthead .s2-mini__text,
  html[data-rail="collapsed"] .masthead .s2-mini__btns {
    display: none;
  }
}
@media (max-width: 48rem) {
  .masthead .s2-mini {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 59;
    padding: 7px var(--space-2);
    border-radius: var(--radius);
    background: var(--rail-plate);
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--rail-ink) 12%, transparent), 0 10px 26px -12px var(--shadow);
  }
  body:has(.s2-mini:not(.hidden)) {
    padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px));
  }
  html.kb-open .masthead .s2-mini {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-scrub__fill, .sp-scrub__thumb, .s2-mini__bar { transition: none; }
}

/* the account popover doubles as the phone's More sheet; these rows are the
   rail's own on a desktop */
@media (min-width: 48.01rem) {
  .s2-acct__drop .s2-acct__phone {
    display: none;
  }
}

/* ------------------------------------------------- moving between pages */
/* Cross-document view transitions: following a link between the app, the
   code workspace, Mission Control, admin and the public pages fades the
   content instead of flashing a reload. The rail and tab bar are named, so
   they hold perfectly still while only the content changes. rail.js adds
   speculation rules that prerender a link on hover, so the swap is instant. */
@view-transition {
  navigation: auto;
}
html {
  background: var(--room);
}
.masthead {
  view-transition-name: s2-rail;
}
.tabbar {
  view-transition-name: s2-tabs;
}
::view-transition-group(s2-rail),
::view-transition-group(s2-tabs) {
  animation-duration: 0s;
}
::view-transition-old(root) {
  animation: s2PageOut 0.16s var(--ease) both;
}
::view-transition-new(root) {
  animation: s2PageIn 0.34s var(--ease) both;
}
@keyframes s2PageOut {
  to { opacity: 0; }
}
@keyframes s2PageIn {
  from { opacity: 0; transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
