:root {
  color-scheme: light;
  --ink: #17150f;
  --ink-soft: #4c4537;
  --paper: #f4eee4;
  --paper-deep: #e8ddcb;
  --gold: #a77a19;
  --gold-light: #d8b45e;
  --cyan: #6dbdc4;
  --line: rgba(105, 79, 28, 0.32);
  font-family: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; background: var(--paper); color: var(--ink); }

button, input { font: inherit; }

button { color: inherit; }

.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;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #eee7dc;
}

.desktop-scene, .scene-image, .colour-slice {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-image { object-fit: cover; object-position: center; }

.colour-slice {
  overflow: hidden;
  opacity: 0;
  transition: opacity 420ms cubic-bezier(.2,.7,.2,1);
}

.colour-slice--left { clip-path: inset(0 50% 0 0); }
.colour-slice--right { clip-path: inset(0 0 0 50%); }

.hero[data-active-world="left"] .colour-slice--left,
.hero[data-active-world="right"] .colour-slice--right { opacity: 1; }

.world-zones { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; }

.world-zone { border: 0; padding: 0; cursor: crosshair; background: transparent; }
.world-zone:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -8px; }

.language-picker {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(216, 180, 94, .72);
  border-radius: 4px;
  padding: 7px 9px 7px 12px;
  background: rgba(20, 17, 12, .96);
  color: #fff8e8;
  box-shadow: 0 8px 24px rgba(39, 29, 13, .18), inset 0 0 0 1px rgba(255, 255, 255, .05);
  font-family: system-ui, sans-serif;
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.language-picker label {
  color: #fff8e8;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.language-flag-frame {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 22px;
  overflow: hidden;
  border-radius: 5px;
  padding: 2px;
  background: linear-gradient(145deg, #f4d483, #8e6717);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .42);
}

.language-flag {
  display: block;
  width: 24px;
  height: 18px;
  border: 0;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16);
}

.language-picker select {
  border: 1px solid rgba(216, 180, 94, .72);
  border-radius: 3px;
  padding: 5px 28px 5px 8px;
  background: #211d16;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 650;
  cursor: pointer;
  color-scheme: dark;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .85);
}

.language-picker select option {
  background: #fffaf0;
  color: #17150f;
  -webkit-text-fill-color: #17150f;
  text-shadow: none;
}

.language-picker select:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.signal-panel {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 62px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(92vw, 560px);
  pointer-events: none;
}

.signal-kicker {
  margin: 0;
  color: #4c3a18;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 1px 7px rgba(255,255,255,.9);
}

.notify-button, .submit-button {
  border: 1px solid rgba(93, 63, 10, .72);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(30,27,20,.96), rgba(70,53,25,.96));
  color: #fff8e8;
  padding: 14px 25px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 9px 28px rgba(39, 29, 13, .22), inset 0 0 0 1px rgba(232, 196, 111, .2);
  pointer-events: auto;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.notify-button:hover, .submit-button:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(39, 29, 13, .32), inset 0 0 0 1px rgba(232, 196, 111, .35); }
.notify-button:focus-visible, .submit-button:focus-visible, .social-link:focus-visible, .dialog-close:focus-visible, .site-footer button:focus-visible, .text-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 330px);
  pointer-events: auto;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid rgba(93, 63, 10, .42);
  border-radius: 3px;
  padding: 8px 14px;
  background: #29241c;
  color: #fff8e8;
  font-family: system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(39, 29, 13, .16), inset 0 0 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(9px);
  transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, .5) 50%, transparent 82%);
  opacity: 0;
  transform: translateX(-115%) skewX(-18deg);
  transition: opacity 160ms ease, transform 520ms cubic-bezier(.2,.7,.2,1);
}

.social-link svg, .social-link span { position: relative; z-index: 1; }

.social-link--instagram {
  border-color: rgba(255, 207, 111, .62);
  background: linear-gradient(125deg, #5036b8 0%, #c92b84 48%, #f49a36 100%);
}

.social-link--discord {
  border-color: rgba(196, 201, 255, .62);
  background: linear-gradient(125deg, #5865f2 0%, #7983ff 100%);
}

.social-link svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: filter 180ms ease, transform 180ms ease;
}

.social-link--discord svg { fill: currentColor; stroke: none; }
.social-icon-dot { fill: currentColor; stroke: none; }

.social-link:hover {
  border-color: rgba(255, 255, 255, .92);
  filter: saturate(1.16) brightness(1.06);
  transform: translateY(-3px) scale(1.025);
}

.social-link--instagram:hover { box-shadow: 0 13px 30px rgba(201, 43, 132, .38), 0 0 18px rgba(244, 154, 54, .2), inset 0 0 0 1px rgba(255, 255, 255, .18); }
.social-link--discord:hover { box-shadow: 0 13px 30px rgba(88, 101, 242, .4), 0 0 18px rgba(121, 131, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .18); }
.social-link:hover::before { opacity: .86; transform: translateX(115%) skewX(-18deg); }
.social-link:hover svg { filter: drop-shadow(0 0 5px rgba(255, 255, 255, .5)); transform: scale(1.12) rotate(-4deg); }
.social-link:active { filter: saturate(1.05); transform: translateY(-1px) scale(.99); }

.site-footer {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.site-footer button, .text-link {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0;
  background: transparent;
  color: #4b422f;
  font-family: system-ui, sans-serif;
  font-size: .72rem;
  cursor: pointer;
}

.site-footer button:hover, .text-link:hover { border-bottom-color: currentColor; }

.mobile-scenes { display: none; }

.dialog {
  width: min(92vw, 610px);
  max-height: min(88svh, 820px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at 50% 0, rgba(217,180,94,.16), transparent 42%),
    linear-gradient(145deg, #fbf7ef, #eee5d7);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(24, 19, 10, .42);
}

.dialog::backdrop { background: rgba(16, 13, 8, .68); backdrop-filter: blur(5px); }

.dialog-close {
  position: absolute;
  top: 14px;
  right: 17px;
  border: 0;
  background: transparent;
  font-family: system-ui, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-emblem { margin-bottom: 8px; color: var(--gold); text-align: center; }
.dialog-eyebrow { margin: 0 0 10px; color: #7d5f24; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
.dialog h1 { margin: 0 auto 13px; max-width: 520px; font-size: clamp(1.65rem, 5vw, 2.45rem); font-weight: 500; line-height: 1.08; text-align: center; }
.dialog h2 { margin: 28px 0 8px; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.dialog-copy { margin: 0 auto 28px; max-width: 480px; color: var(--ink-soft); font-family: system-ui, sans-serif; font-size: .94rem; line-height: 1.55; text-align: center; }
.dialog p, .dialog li { font-family: system-ui, sans-serif; font-size: .9rem; line-height: 1.62; }
.dialog a { color: #765412; }

.field { display: grid; gap: 7px; }
.field label { color: #473b27; font-family: system-ui, sans-serif; font-size: .8rem; font-weight: 700; }
.field input {
  width: 100%;
  border: 1px solid #b6a27c;
  border-radius: 3px;
  padding: 13px 14px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-family: system-ui, sans-serif;
  font-size: 1rem;
}
.field input:focus { outline: 3px solid rgba(109,189,196,.42); border-color: #4e9299; }

.check-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-top: 16px; color: #413a2e; font-family: system-ui, sans-serif; font-size: .8rem; line-height: 1.45; }
.check-row input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #876313; }
.privacy-summary { margin: 18px 0; padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(175,137,56,.08); color: #554b3b; font-size: .74rem !important; line-height: 1.5 !important; }
.text-link { display: inline; font-size: inherit; color: #684b12; }
.submit-button { width: 100%; margin-top: 2px; }
.submit-button:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: #62460f; text-align: center; }
.form-status[data-state="error"] { color: #8a2c20; }
.form-status[data-state="success"] { color: #24613e; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.legal-dialog { width: min(92vw, 760px); }
.legal-dialog article > h1 { text-align: left; margin-left: 0; }
.legal-dialog .dialog-eyebrow { text-align: left; }
.legal-pending { margin: 18px 0; border: 1px solid #ad6a32; padding: 10px 12px; background: #fff0d9; color: #6e3512; font-family: system-ui, sans-serif; font-size: .82rem; }

.gallery-dialog {
  width: min(94vw, 1120px);
  height: min(90svh, 780px);
  max-height: 90svh;
  overflow: hidden;
  border-color: rgba(216, 180, 94, .45);
  padding: 0;
  background: #12100d;
  color: #fff8e8;
}

.gallery-dialog::backdrop {
  background: rgba(10, 8, 5, .82);
  backdrop-filter: blur(9px);
}

.gallery-close {
  z-index: 8;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 248, 232, .34);
  border-radius: 50%;
  background: rgba(12, 10, 8, .54);
  color: #fff8e8;
  font-size: 1.55rem;
  backdrop-filter: blur(8px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gallery-close:hover { border-color: var(--gold-light); background: rgba(12, 10, 8, .84); transform: rotate(5deg); }

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(250px, 31%) minmax(0, 1fr);
  height: 100%;
}

.gallery-intro {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px) clamp(28px, 4vw, 50px) 40px;
  background:
    radial-gradient(circle at 10% 0, rgba(216, 180, 94, .26), transparent 36%),
    linear-gradient(155deg, #211c14 0%, #12100d 72%);
  border-right: 1px solid rgba(216, 180, 94, .26);
}

.gallery-intro::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: 96px;
  width: 170px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 94, .64));
  transform: rotate(-45deg);
}

.gallery-intro .dialog-eyebrow { margin-bottom: 18px; color: var(--gold-light); text-align: left; }
.gallery-intro h1 { margin: 0; max-width: 280px; color: #fff8e8; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .96; text-align: left; }

.gallery-copy {
  margin: 24px 0 0;
  max-width: 290px;
  color: rgba(255, 248, 232, .7);
  font-family: system-ui, sans-serif;
  font-size: .9rem !important;
  line-height: 1.65 !important;
}

.gallery-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255, 248, 232, .42);
  font-family: system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.gallery-current { color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; font-weight: 400; letter-spacing: 0; }

.gallery-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #0e0c09;
}

.gallery-media {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: clamp(28px, 4vh, 42px) clamp(54px, 6vw, 82px);
}

.gallery-backdrop-image {
  position: absolute;
  z-index: -3;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(34px) brightness(.46) saturate(1.22);
  opacity: .9;
  transform: scale(1.08);
  transition: opacity 220ms ease;
  animation: gallery-background-drift 10s ease-in-out infinite alternate;
}

.gallery-vignette {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, .48), transparent 24%, transparent 76%, rgba(12, 10, 8, .42)),
    linear-gradient(0deg, rgba(12, 10, 8, .66), transparent 24%, rgba(12, 10, 8, .2));
}

.gallery-frame {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.gallery-subtitle {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: max-content;
  max-width: min(88%, 680px);
  border: 1px solid rgba(216, 180, 94, .52);
  border-radius: 4px;
  padding: 8px 14px;
  background: rgba(12, 10, 8, .82);
  color: #fff8e8;
  font-family: system-ui, sans-serif;
  font-size: clamp(.68rem, 1.25vw, .84rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .025em;
  text-align: center;
  text-wrap: balance;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -12px);
}

.gallery-subtitle[hidden] { display: none; }

.gallery-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .46));
  opacity: 1;
  transform: scale(1);
  transition: opacity 190ms ease, transform 520ms cubic-bezier(.2,.7,.2,1);
}

.gallery-stage.is-transitioning .gallery-image { opacity: .08; transform: scale(.975); }
.gallery-stage.is-transitioning .gallery-backdrop-image { opacity: .45; }

.gallery-arrow, .gallery-play, .gallery-dot {
  border: 0;
  color: #fff8e8;
  cursor: pointer;
}

.gallery-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 248, 232, .3);
  border-radius: 50%;
  background: rgba(12, 10, 8, .5);
  font-family: system-ui, sans-serif;
  font-size: 1.35rem;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gallery-arrow:hover { border-color: var(--gold-light); background: rgba(12, 10, 8, .82); }
.gallery-arrow--previous { left: 16px; }
.gallery-arrow--next { right: 16px; }
.gallery-arrow--previous:hover { transform: translate(-3px, -50%); }
.gallery-arrow--next:hover { transform: translate(3px, -50%); }

.gallery-controls {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  border-top: 1px solid rgba(255, 248, 232, .12);
  padding: 14px 28px 24px;
  background: transparent;
}

.gallery-play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 248, 232, .34);
  border-radius: 50%;
  background: rgba(12, 10, 8, .52);
  font-family: system-ui, sans-serif;
  font-size: .68rem;
  backdrop-filter: blur(8px);
}

.gallery-play:hover { border-color: var(--gold-light); background: rgba(12, 10, 8, .82); }
.gallery-dots { display: flex; align-items: center; gap: 7px; min-width: 0; }

.gallery-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 248, 232, .4);
  transition: width 220ms ease, border-radius 220ms ease, background 220ms ease;
}

.gallery-dot:hover { background: rgba(255, 248, 232, .82); }
.gallery-dot.is-active { width: 25px; border-radius: 8px; background: var(--gold-light); }

.gallery-progress {
  position: absolute;
  right: 28px;
  bottom: 10px;
  left: 76px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 248, 232, .18);
}

.gallery-progress span { display: block; width: 100%; height: 100%; background: var(--gold-light); transform: scaleX(0); transform-origin: left; }
.gallery-dialog.is-playing .gallery-progress span { animation: gallery-timer 4.6s linear forwards; }

.gallery-arrow:focus-visible, .gallery-play:focus-visible, .gallery-dot:focus-visible, .gallery-close:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@keyframes gallery-timer { to { transform: scaleX(1); } }
@keyframes gallery-background-drift {
  from { transform: scale(1.08) translate3d(-.5%, -.35%, 0); }
  to { transform: scale(1.14) translate3d(.5%, .35%, 0); }
}

@media (max-width: 760px), (max-aspect-ratio: 3 / 2) {
  .hero { overflow: visible; padding-bottom: 184px; }
  .desktop-scene { display: none; }
  .mobile-scenes { display: grid; position: relative; }
  .mobile-world { position: relative; overflow: hidden; width: 100%; aspect-ratio: 836 / 941; background: #eee7dc; }
  .mobile-image { position: absolute; top: 0; width: 200%; max-width: none; height: 100%; object-fit: fill; transition: opacity 420ms cubic-bezier(.2,.7,.2,1); }
  .mobile-image--left { left: 0; }
  .mobile-image--right { right: 0; }
  .mobile-image--colour { opacity: 0; }
  .hero[data-active-world="left"] .mobile-world--left .mobile-image--colour,
  .hero[data-active-world="right"] .mobile-world--right .mobile-image--colour { opacity: 1; }
  .world-zones { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; bottom: 184px; }
  .language-picker { position: fixed; top: 12px; right: 12px; left: auto; padding: 6px 7px 6px 10px; transform: none; }
  .language-picker label { font-size: .58rem; }
  .language-picker select { padding-top: 4px; padding-bottom: 4px; font-size: .68rem; }
  .signal-panel { position: fixed; bottom: 46px; width: calc(100vw - 24px); padding: 13px 12px; border: 1px solid rgba(104,77,26,.26); border-radius: 5px; background: rgba(246,239,228,.92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(30,23,12,.18); }
  .signal-kicker { font-size: .62rem; }
  .notify-button { width: 100%; padding: 12px 14px; font-size: .74rem; }
  .social-links { width: 100%; }
  .social-link { min-height: 36px; padding: 7px 10px; font-size: .66rem; }
  .site-footer { position: fixed; bottom: 12px; padding: 0 10px; }
  .site-footer button { font-size: .68rem; }
}

@media (max-width: 760px) {
  .gallery-dialog { width: calc(100vw - 20px); height: min(92svh, 820px); max-height: 92svh; }
  .gallery-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .gallery-intro { display: block; padding: 24px 64px 20px 22px; border-right: 0; border-bottom: 1px solid rgba(216, 180, 94, .26); }
  .gallery-intro::after { display: none; }
  .gallery-intro .dialog-eyebrow { margin-bottom: 8px; font-size: .62rem; }
  .gallery-intro h1 { font-size: clamp(1.7rem, 9vw, 2.65rem); }
  .gallery-copy { margin-top: 10px; max-width: calc(100% - 56px); font-size: .72rem !important; line-height: 1.42 !important; }
  .gallery-meta { position: absolute; right: 22px; bottom: 18px; }
  .gallery-current { font-size: 1.55rem; }
  .gallery-close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .gallery-media { padding: 20px 42px; }
  .gallery-subtitle { top: 0; max-width: calc(100% - 20px); padding: 6px 10px; font-size: .64rem; line-height: 1.3; transform: translate(-50%, -8px); }
  .gallery-arrow { top: 50%; width: 38px; height: 38px; font-size: 1rem; }
  .gallery-arrow--previous { left: 8px; }
  .gallery-arrow--next { right: 8px; }
  .gallery-controls { gap: 10px; padding: 10px 16px 20px; }
  .gallery-dots { justify-content: center; gap: 6px; }
  .gallery-dot { width: 7px; height: 7px; }
  .gallery-dot.is-active { width: 20px; }
  .gallery-progress { right: 16px; bottom: 8px; left: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .gallery-backdrop-image { animation: none; }
  .gallery-dialog.is-playing .gallery-progress span { animation: none; transform: scaleX(1); }
}
