/*
  Layouts
  - Landscape screens (desktop, tablet and phone held sideways): the photo fills the screen
    except for a question panel on the right. Clicking the photo hides the panel.
  - Portrait screens (phone held upright): the photo fills the screen; questions sit in a
    bottom sheet that is folded down to one line until tapped.
  Every post is exactly one screen high and the feed snaps from post to post.
*/

:root {
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #161616;
  --muted: #6e6c68;
  --border: #e4e2dd;
  --option: #f1f0ec;
  --option-hover: #e8e6e0;
  --stage: #e9e8e4;
  --accent: #e8503a;
  --accent-soft: rgba(232, 80, 58, 0.16);
  --correct: #1d8a4e;
  --correct-soft: rgba(29, 138, 78, 0.18);
  --wrong: #c9473f;
  --wrong-soft: rgba(201, 71, 63, 0.14);
  --fill: rgba(22, 22, 22, 0.08);
  --sheet-shadow: 0 -10px 30px rgba(0, 0, 0, 0.14);

  --bar-h: 52px;
  --panel-w: clamp(300px, 27vw, 400px);
  --peek-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0d;
    --card: #161616;
    --text: #f2f1ee;
    --muted: #9c9a95;
    --border: #2a2a2a;
    --option: #222222;
    --option-hover: #2c2c2c;
    --stage: #000000;
    --accent: #ff6a4f;
    --accent-soft: rgba(255, 106, 79, 0.2);
    --correct: #3fbf78;
    --correct-soft: rgba(63, 191, 120, 0.2);
    --wrong: #ef6a61;
    --wrong-soft: rgba(239, 106, 97, 0.18);
    --fill: rgba(255, 255, 255, 0.08);
    --sheet-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0d0d0d;
  --card: #161616;
  --text: #f2f1ee;
  --muted: #9c9a95;
  --border: #2a2a2a;
  --option: #222222;
  --option-hover: #2c2c2c;
  --stage: #000000;
  --accent: #ff6a4f;
  --accent-soft: rgba(255, 106, 79, 0.2);
  --correct: #3fbf78;
  --correct-soft: rgba(63, 191, 120, 0.2);
  --wrong: #ef6a61;
  --wrong-soft: rgba(239, 106, 97, 0.18);
  --fill: rgba(255, 255, 255, 0.08);
  --sheet-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}
:lang(zh) body, body:lang(zh) { line-height: 1.65; }
:lang(zh) .q-tag, :lang(zh) .peek-tag { letter-spacing: 0.02em; }

button { font: inherit; color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------ top bar */

.topbar {
  flex: none;
  height: var(--bar-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 4px 0;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  flex: none;
}
.brand .logo { width: 24px; height: 24px; color: var(--accent); }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.topnav { display: flex; gap: 2px; margin-right: auto; }
.topnav a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.topnav a:hover { color: var(--text); background: var(--option); }

.topbar-right { display: flex; align-items: center; gap: 10px; }

/* Appearance switch (lang.js): automatic → light → dark; the icon shows the choice. */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
  flex: none;
}
.theme-toggle:hover { color: var(--text); background: var(--option); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; display: none; }
:root:not([data-theme]) .theme-toggle .ico-auto,
:root[data-theme="light"] .theme-toggle .ico-light,
:root[data-theme="dark"] .theme-toggle .ico-dark { display: block; }

.langs { display: flex; gap: 2px; font-size: 12px; font-weight: 600; }
.langs a, .langs span {
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.langs a:hover { color: var(--text); background: var(--option); }
.langs [aria-current] { color: var(--text); background: var(--option); }

@media (max-width: 640px) {
  .topnav { display: none; }
  .topbar { justify-content: space-between; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
  .counter { display: none; }
}

.score, .counter {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.score {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--option);
  transition: transform 0.25s ease;
}
.score.bump { transform: scale(1.12); }
.counter { color: var(--muted); min-width: 3.5em; text-align: right; }

.icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text);
  place-items: center;
  cursor: pointer;
}
.icon-btn:hover { background: var(--option); }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon-btn svg { width: 19px; height: 19px; }

/* Fullscreen buttons only where the browser allows it (or where we can explain the iPhone way). */
.fs-btn,
.stage .fs-btn { display: none; }
.can-fullscreen .topbar .fs-btn { display: grid; }

/* ------------------------------------------------------------ avatar */

.avatar {
  flex: none;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 200deg, #f7b733, var(--accent), #c13584, #f7b733);
}
.avatar > * {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--card);
  background: var(--option);
  object-fit: cover;
  font-weight: 700;
  color: var(--text);
}
.avatar.sm { width: 34px; height: 34px; }
.avatar.sm > * { font-size: 12px; }
.avatar.lg { width: 88px; height: 88px; padding: 3px; }
.avatar.lg > * { font-size: 28px; border-width: 3px; }

/* ------------------------------------------------------------ feed */

.feed {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.feed::-webkit-scrollbar { display: none; }
.feed:focus { outline: none; }

.status {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
  margin: 0;
  padding: 16px;
}
.status button {
  margin-top: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
}

.post {
  height: 100%;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--panel-w);
  transition: grid-template-columns 0.3s ease;
}

/* ------------------------------------------------------------ stage (the photo) */

.stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--stage);
  overflow: hidden;
}
/* As large as the screen allows, never cropped. */
.stage img,
.stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Zoom (quiz.js setupZoom): vertical swipes still scroll the feed, two fingers zoom;
   a zoomed photo takes every gesture so it can be moved around. */
.stage { touch-action: pan-y; }
.stage.zoomed { touch-action: none; }
.stage img { cursor: pointer; transform-origin: 50% 50%; will-change: transform; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.stage img.zoom-anim { transition: transform 0.25s ease; }
.stage.zoomed img { cursor: grab; }
.stage.zoomed img:active { cursor: grabbing; }
.zoom-btn { right: 14px; bottom: 14px; }

/* Several photos in one post (quiz.js setupCarousel): side by side in a track that moves
   sideways; arrows where there is a mouse, dots and "1/2" everywhere. */
.track { position: absolute; inset: 0; display: flex; will-change: transform; }
.track.slide-anim { transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
.slide { position: relative; flex: 0 0 100%; min-width: 0; overflow: hidden; }
.slide-btn { top: 50%; margin-top: -19px; }
.slide-prev { left: 14px; }
.slide-next { right: 14px; }
.round-btn[hidden] { display: none; }
@media (hover: none) { .slide-btn { display: none; } }
.slide-count {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.dots {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: background 0.2s ease; }
.dots span.on { background: #fff; }
.stage:has(.dots) .zoom-status { bottom: 46px; }

.zoom-status {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
}

.round-btn {
  position: absolute;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.15s ease;
}
.round-btn:hover { background: rgba(0, 0, 0, 0.75); }
.round-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.round-btn svg { width: 19px; height: 19px; }
a.round-btn { text-decoration: none; }
.mute { right: 14px; bottom: 14px; }
.panel-toggle { right: 14px; top: 14px; }
.dl-btn { right: 14px; top: 60px; }

/* Like: a heart above the zoom/sound button; with likes it grows into a pill with the number. */
.like-btn {
  right: 14px;
  bottom: 60px;
  width: auto;
  min-width: 38px;
  padding: 0 9.5px;
  border-radius: 19px;
  grid-auto-flow: column;
  gap: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stage:not(:has(.zoom-btn, .mute)) .like-btn { bottom: 14px; }
.like-count:empty { display: none; }
.like-btn.liked svg { fill: #ff4d6d; stroke: #ff4d6d; }
.like-btn.pop svg { animation: like-pop 0.4s ease; }
@keyframes like-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* ------------------------------------------------------------ panel (questions) */

.panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-left: 1px solid var(--border);
}
.panel-hidden .post { grid-template-columns: minmax(0, 1fr) 0px; }
.panel-hidden .panel { visibility: hidden; transition: visibility 0s 0.3s; }

.peek { display: none; }

.panel-scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 18px 20px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.panel-head .who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.panel-head .who strong { font-size: 14px; }
.panel-head .who span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-head time { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }

.caption { margin: 0 0 14px; white-space: pre-line; overflow-wrap: anywhere; }

.draft-badge {
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

/* Free download + license, under the caption. */
.dl-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0 0 16px;
  font-size: 13px;
}
.dl-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.dl-link:hover { background: var(--accent); color: #fff; }
.dl-link svg { width: 16px; height: 16px; flex: none; }
.dl-link span { white-space: nowrap; }
.dl-size { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.license-link { flex-basis: 100%; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.license-link:hover { color: var(--text); }

/* Camera and settings, once every question is answered. */
.camera {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--option);
  font-size: 13px;
  animation: rise 0.35s ease both;
}
.camera svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }
.camera div { display: flex; flex-direction: column; min-width: 0; }
.camera strong { font-weight: 600; }
.camera span:not(.sr-only) { color: var(--muted); font-variant-numeric: tabular-nums; }

.next {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.next:hover { color: var(--text); border-color: var(--muted); }

/* ------------------------------------------------------------ questions */

.quiz { display: flex; flex-direction: column; gap: 12px; }

.q {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  animation: rise 0.35s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.q-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.q-text { margin: 4px 0 12px; font-weight: 600; font-size: 16px; }

.options { display: grid; gap: 8px; }

.opt {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--option);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.opt:hover:not(:disabled) { background: var(--option-hover); }
.opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt:disabled { cursor: default; }
.opt.pending { opacity: 0.6; }

.opt-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--fill);
  transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.opt-label, .opt-pct, .opt-mark { position: relative; }
.opt-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.opt-pct { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.opt-mark { font-weight: 700; }

.answered .opt.mine { border-color: var(--text); }
.answered .opt.correct { border-color: var(--correct); }
.answered .opt.correct .opt-fill { background: var(--correct-soft); }
.answered .opt.correct .opt-mark { color: var(--correct); }
.answered .opt.wrong { border-color: var(--wrong); }
.answered .opt.wrong .opt-fill { background: var(--wrong-soft); }
.answered .opt.wrong .opt-mark { color: var(--wrong); }
.answered.poll .opt.mine { border-color: var(--accent); }
.answered.poll .opt.mine .opt-fill { background: var(--accent-soft); }

.verdict { margin: 12px 0 0; font-weight: 600; }
.verdict.ok { color: var(--correct); }
.verdict.no { color: var(--wrong); }

.reveal {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: var(--option);
  border-radius: 0 8px 8px 0;
  white-space: pre-line;
}

.q-meta { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.done { text-align: center; font-size: 13px; color: var(--muted); margin: 2px 0 0; }

/* ------------------------------------------------------------ about dialog */

.about {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  background: var(--card);
  color: var(--text);
  text-align: center;
}
.about-inner { padding: 28px 24px 22px; }
.about::backdrop { background: rgba(0, 0, 0, 0.55); }
.about .avatar { margin: 0 auto 12px; }
.about h2 { margin: 0; font-size: 22px; }
.about p { margin: 6px 0 0; color: var(--muted); }
.about .stats { margin-top: 12px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.about .stats b { font-variant-numeric: tabular-nums; }
.about .links { margin-top: 12px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.about .links a { color: var(--accent); font-weight: 600; text-decoration: none; }
.about .links a:hover { text-decoration: underline; }
.about .close {
  margin-top: 20px;
  border: 1px solid var(--border);
  background: none;
  border-radius: 999px;
  padding: 6px 18px;
  cursor: pointer;
}
.about .copy { font-size: 12px; margin-top: 16px; }
.about ol { text-align: left; margin: 14px 0 0; padding-left: 22px; color: var(--muted); }
.about li + li { margin-top: 6px; }

/* ------------------------------------------------------------ portrait: bottom sheet */

@media (max-aspect-ratio: 1/1) {
  :root { --bar-h: 48px; }

  .post { display: block; }

  /* The photo takes everything above the sheet, so the sheet never covers it:
     folded, that is all but one line; unfolded, the photo shrinks into the space above. */
  .stage {
    position: absolute;
    inset: 0 0 var(--peek-h) 0;
    transition: bottom 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .post.sheet-open .stage { bottom: var(--sheet-h, 55%); }
  .panel-toggle { display: none; }

  .panel {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    max-height: 58%;
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: var(--sheet-shadow);
    transform: translateY(calc(100% - var(--peek-h)));
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .panel.open { transform: none; }
  .panel-hidden .panel { visibility: visible; }

  .peek {
    flex: none;
    height: var(--peek-h);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 6px 18px 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    position: relative;
  }
  .peek::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin-left: -18px;
    border-radius: 2px;
    background: var(--border);
  }
  .peek-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
  .peek-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
  .peek-q { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .peek-chevron { flex: none; width: 22px; height: 22px; color: var(--muted); transition: transform 0.3s ease; }
  .panel.open .peek-chevron { transform: rotate(180deg); }
  .peek:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 18px 18px 0 0; }

  .panel-scroll { padding-top: 4px; }
  .mute { bottom: 12px; right: 12px; }
  .zoom-btn { bottom: 12px; right: 12px; }
  .dl-btn { top: 12px; right: 12px; }
  .like-btn { bottom: 58px; right: 12px; }
  .stage:not(:has(.zoom-btn, .mute)) .like-btn { bottom: 12px; }
  .slide-count { top: 12px; left: 12px; }
  .dots { bottom: 14px; }
}

/* ------------------------------------------------------------ phone held sideways */

@media (min-aspect-ratio: 1/1) and (max-height: 520px) {
  /* Every pixel of height goes to the photo. */
  .topbar { display: none; }
  :root { --panel-w: clamp(250px, 36vw, 340px); }
  .panel-scroll { padding: 10px 12px 14px; }
  .panel-head { margin-bottom: 8px; }
  .caption { margin-bottom: 10px; font-size: 14px; }
  .q { padding: 10px 12px; }
  .q-text { margin-bottom: 8px; font-size: 15px; }
  .opt { min-height: 38px; padding: 7px 12px; }
  .options { gap: 6px; }
  .round-btn { width: 34px; height: 34px; }
  .panel-toggle { top: 10px; right: 10px; }
  .mute { bottom: 10px; right: 10px; }
  .zoom-btn { bottom: 10px; right: 10px; }
  .like-btn { bottom: 52px; right: 10px; min-width: 34px; padding: 0 7.5px; border-radius: 17px; }
  .stage:not(:has(.zoom-btn, .mute)) .like-btn { bottom: 10px; }
  /* The top bar is hidden here, so the fullscreen button moves onto the photo. */
  .can-fullscreen .stage .fs-btn { display: grid; top: 52px; right: 10px; }
  .dl-btn { top: 52px; right: 10px; }
  .can-fullscreen .stage .dl-btn { top: 94px; }
  .slide-count { top: 10px; left: 10px; }
  .dots { bottom: 12px; }
  .slide-btn { margin-top: -17px; }
  .slide-prev { left: 10px; }
  .slide-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .feed { scroll-behavior: auto; }
}
