[hidden] { display: none !important; }
.profile-directory, .spa-status {
  width: min(var(--shell-max), 100%);
  margin-inline: auto;
  margin-top: calc(var(--nav-h) + var(--safe-top));
  padding: max(28px, var(--shell-gap)) max(18px, var(--safe-right)) max(28px, var(--safe-bottom)) max(18px, var(--safe-left));
}
.profile-directory {
  height: calc(100dvh - var(--nav-h) - var(--safe-top));
  overflow-y: auto;
}
@media (orientation: portrait) and (max-width: 760px) {
  .profile-directory {
    height: auto;
    min-height: calc(100dvh - var(--nav-h) - var(--safe-top));
    overflow: visible;
  }
}
.profile-directory h1 { margin: 0; font: 700 22px Georgia, serif; color: #d5ae7b; }
.profile-directory > p { color: #aaa; }
.directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.directory-card { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid #6b2848; background: #100a12; color: #ddd; text-decoration: none; font: 14px Arial, sans-serif; }
.directory-card:hover, .directory-card:focus-visible { border-color: #d5ae7b; }
.directory-card img { width: 74px; height: 74px; object-fit: cover; }
.directory-card span { display: grid; gap: 6px; color: #aaa; }
.directory-card strong { color: #d5ae7b; font-size: 17px; }
.spa-status button, .spa-status a { margin-left: 12px; }
:root {
  --bg: #07050a;
  --bg-image: none;
  --text: #e8ddd0;
  --text-muted: #9a8898;
  --label: #c4a574;
  --box-bg: #0c0810;
  --box-border: #6b2848;
  --box-shadow: 0 0 0 1px #000, 0 0 16px rgba(90, 20, 50, 0.35);
  --head-bg: linear-gradient(180deg, #4a1830 0%, #1a0a14 100%);
  --head-text: #f0e4d8;
  --rule: rgba(140, 60, 90, 0.45);
  --accent: #c9a06e;
  --link: #b080c8;
  --link-hover: #e0b0d8;
  --font-body: Georgia, "Times New Roman", Times, serif;
  --font-ui: Arial, Helvetica, sans-serif;
  --font-display: Georgia, "Palatino Linotype", serif;
  --font-mono: "Courier New", Courier, monospace;
  --btn-text: #f0e4d8;
  --btn-grad: linear-gradient(180deg, #6a3048 0%, #3a1828 22%, #241018 48%, #140810 52%, #2a1420 78%, #4a2034 100%);
  --btn-grad-hover: linear-gradient(180deg, #8a4058 0%, #502030 22%, #301820 48%, #1c0c14 52%, #3a1c2c 78%, #5a2840 100%);
  --nav-bg: #000;
  --nav-link: #c9c9c9;
  --nav-border: #1a1a1a;
  --nav-input-bg: #0a0a0a;
  --nav-btn-bg: linear-gradient(180deg, #2a2a2a 0%, #111 100%);
  --shell-max: 1180px;
  --rail-w: clamp(240px, 23vw, 290px);
  --nav-h: 42px;
  --shell-gap: 12px;
  --scroll-thumb: var(--box-border);
  --scroll-track: transparent;
  --scroll-size: 10px;
  --dock-h: 122px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--bg-image);
  background-attachment: fixed;
  font: 14px/1.35 var(--font-body);
}

@supports (height: 100dvh) {
  body {
    height: 100dvh;
    min-height: 100dvh;
  }
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--link);
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

[hidden] {
  display: none !important;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  border-bottom: 1px solid var(--nav-border);
  background: var(--nav-bg);
}

.site-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px 12px;
  width: min(var(--shell-max), 100%);
  height: var(--nav-h);
  margin-inline: auto;
  padding: 5px max(10px, var(--safe-right)) 5px max(10px, var(--safe-left));
}

/* Local-only Push to Stage: desktop nav center. Never shown on phone. */
.site-stage-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: none;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.site-stage-slot[hidden] {
  display: none !important;
}

.site-push-stage {
  min-height: 26px;
  padding: 3px 12px;
  border: 1px solid #5a3a28;
  background: #2a1810;
  color: #e8c49a;
  font: 600 11px/1 var(--font-ui);
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}

.site-push-stage:hover:not(:disabled) {
  border-color: #d5ae7b;
  color: #fff;
}

.site-push-stage:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (min-width: 761px) and (min-height: 601px) {
  .site-stage-slot:not([hidden]) {
    display: block;
  }
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.site-brand img {
  display: block;
  width: auto;
  height: 28px;
}

.site-links {
  display: flex;
  min-width: 0;
  gap: 6px;
  white-space: nowrap;
  font: 11px/1 var(--font-ui);
}

.site-links a {
  color: var(--nav-link);
  text-decoration: none;
}

.site-links .sep {
  color: #555;
}

.site-tools {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-left: auto;
}

.site-scry {
  display: flex;
  min-width: 0;
  margin: 0;
}

.site-scry input {
  width: clamp(92px, 15vw, 170px);
  min-width: 0;
  height: 26px;
  border: 1px solid #222;
  background: var(--nav-input-bg);
  color: var(--text);
  padding: 3px 7px;
}

.site-scry button,
.site-login {
  min-height: 26px;
  border: 1px solid #222;
  background: var(--nav-btn-bg);
  color: #fff;
  padding: 3px 9px;
  font: 700 11px/1 var(--font-ui);
  cursor: pointer;
}

.profile-app {
  position: fixed;
  top: calc(var(--nav-h) + var(--safe-top) + var(--shell-gap));
  right: 0;
  bottom: max(var(--shell-gap), var(--safe-bottom));
  left: 0;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: var(--shell-gap);
  width: min(
    var(--shell-max),
    calc(100% - (2 * max(10px, var(--safe-left), var(--safe-right))))
  );
  max-width: none;
  margin-inline: auto;
  overflow: hidden;
}

.panel-card,
.identity-card,
.rail-allies,
.feed-banner {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--box-border);
  background: var(--box-bg);
  box-shadow: var(--box-shadow);
}

.identity-rail {
  display: flex;
  flex-direction: column;
  gap: var(--shell-gap);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.identity-card {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  overflow: hidden;
}

.identity-title {
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 10px;
  border-bottom: 1px solid var(--box-border);
  background: var(--head-bg);
  color: var(--head-text);
  font: 700 clamp(18px, 2vw, 23px)/1.15 var(--font-display);
  letter-spacing: 0.03em;
  text-align: center;
  /* Tight dark edge for contrast. No soft colored glow that bleeds glyphs. */
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.92),
    0 0 1px rgba(0, 0, 0, 0.8);
}

.portrait-button {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--box-border);
  overflow: hidden;
  background: #08050a;
  cursor: zoom-in;
}

.portrait-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.identity-meta {
  flex: 0 0 auto;
  padding: 9px 10px 7px;
  border-bottom: 1px solid var(--rule);
}

.identity-name-mobile,
.identity-summary {
  display: none;
}

.vitals {
  display: grid;
  gap: 4px;
  margin: 0;
}

.vital {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px;
  margin: 0;
  font-size: 12px;
}

.vital dt {
  color: var(--label);
  font: 700 11px/1.3 var(--font-ui);
}

.vital dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.rail-allies {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.rail-heading {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 9px;
  border-bottom: 1px solid var(--box-border);
  background: var(--head-bg);
  color: var(--head-text);
  font: 700 12px/1.2 var(--font-ui);
  letter-spacing: 0.05em;
}

.rail-allies-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.rail-actions {
  display: none;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 44px;
  border-top: 1px solid var(--box-border);
}

.rail-actions.is-double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rail-actions.is-single {
  grid-template-columns: 1fr;
}

.rail-action,
.panel-close-foot {
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.35);
  background: var(--btn-grad);
  color: var(--btn-text);
  font: 700 11px/1.1 var(--font-ui);
  cursor: pointer;
  touch-action: manipulation;
}

.rail-action:hover,
.rail-action:focus-visible,
.panel-close-foot:hover,
.panel-close-foot:focus-visible {
  background: var(--btn-grad-hover);
  outline: 1px solid var(--accent);
  outline-offset: -2px;
}

.rail-action .icon {
  display: block;
  color: var(--accent);
  line-height: 1.2;
}

.workspace {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.panel {
  position: absolute;
  inset: 0;
  display: none;
  min-width: 0;
  min-height: 0;
  background: transparent;
}

.panel-allies,
.panel-vault,
.panel-gallery {
  background: var(--box-bg);
  border: 1px solid var(--box-border);
  box-shadow: var(--box-shadow);
}

.panel.is-active {
  display: flex;
  flex-direction: column;
}

.panel-feed {
  overflow: hidden;
  background: transparent;
}

.feed-scroll,
.panel-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Right pad is desktop-only. Phone portrait/landscape stay flush to the rail. */
@media (min-width: 761px) and (min-height: 601px) {
  .feed-scroll,
  .panel-scroll {
    padding-right: var(--shell-gap);
    scrollbar-gutter: stable;
  }
}

.rail-allies-list,
.feed-scroll,
.panel-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

.rail-allies-list::-webkit-scrollbar,
.feed-scroll::-webkit-scrollbar,
.panel-scroll::-webkit-scrollbar {
  width: var(--scroll-size);
  height: var(--scroll-size);
}

.rail-allies-list::-webkit-scrollbar-track,
.feed-scroll::-webkit-scrollbar-track,
.panel-scroll::-webkit-scrollbar-track {
  background: var(--scroll-track);
}

.rail-allies-list::-webkit-scrollbar-thumb,
.feed-scroll::-webkit-scrollbar-thumb,
.panel-scroll::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.rail-allies-list::-webkit-scrollbar-thumb:hover,
.feed-scroll::-webkit-scrollbar-thumb:hover,
.panel-scroll::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--scroll-thumb) 72%, var(--accent));
  border: 2px solid transparent;
  background-clip: padding-box;
}

.feed-banner {
  position: relative;
  z-index: 2;
  width: auto;
  aspect-ratio: 1024 / 341;
  margin: 0 0 var(--shell-gap);
  overflow: hidden;
  background: #050305;
}

.feed-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--banner-fit, cover);
  object-position: center;
}

.vault-card,
.chronolog-card {
  width: auto;
  max-width: none;
  margin: 0 0 var(--shell-gap);
  border: 1px solid var(--box-border);
  background: var(--box-bg);
  box-shadow: var(--box-shadow);
}

.chronolog-card {
  margin-bottom: 0;
}

.section-heading {
  margin: 0;
  padding: 7px 10px;
  border-bottom: 1px solid var(--box-border);
  background: var(--head-bg);
  color: var(--head-text);
  font: 700 13px/1.2 var(--font-ui);
  letter-spacing: 0.05em;
}

.vault-body {
  position: relative;
  padding: 12px 16px 14px;
  overflow: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 43%),
    repeating-linear-gradient(45deg, transparent 0 7px, color-mix(in srgb, var(--box-border) 12%, transparent) 7px 8px),
    #09050b;
  text-align: left;
  color: var(--text);
}

/* Desktop inline Vault stays secondary. Panel scroll owns mobile/landscape. */
.vault-card .vault-body {
  max-height: min(48vh, 420px);
}

.panel-vault .vault-body {
  overflow: visible;
  max-height: none;
}

.vault-body img {
  max-width: 100%;
  height: auto;
}

.vault-body table {
  max-width: 100%;
}

/* Optional utilities. Characters may ignore these and paste their own markup. */
.vault-body .vault-center {
  text-align: center;
}

.vault-art {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 7px;
  object-fit: contain;
}

.vault-ascii {
  margin: 0 auto 10px;
  color: var(--accent);
  font: 12px/1.05 var(--font-mono);
}

.vault-poem,
.vault-aside,
.vault-stamp {
  margin: 8px auto;
}

.vault-poem {
  max-width: 620px;
  font: italic 15px/1.45 var(--font-display);
}

.vault-poem strong {
  color: var(--accent);
}

.vault-aside,
.vault-stamp {
  color: var(--text-muted);
  font-size: 12px;
}

.vault-marquee {
  width: 100%;
  margin: 7px 0;
  border: 1px solid var(--box-border);
  color: var(--label);
  font: 700 11px/22px var(--font-ui);
  white-space: nowrap;
  overflow: hidden;
}

.vault-marquee span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: vault-crawl 18s linear infinite;
}

@keyframes vault-crawl {
  to {
    transform: translateX(-100%);
  }
}

.chronolog-card {
  min-width: 0;
  overflow: hidden;
}

.chronolog {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.post {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px;
  border-bottom: 1px solid var(--rule);
  -webkit-tap-highlight-color: transparent;
}

.post:last-child {
  border-bottom: 0;
}

.post-main,
.comment-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  min-width: 0;
}

/* Tapping a post toggles its replies, so the byline needs its own hit area. */
.post.is-togglable {
  cursor: pointer;
}

.post-avatar-link {
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--box-border);
  background: #08050a;
}

a.post-avatar-link:hover,
a.post-avatar-link:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.post-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.post-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  color: var(--text-muted);
  font: 11px/1.2 var(--font-ui);
}

.post-name {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}

/* Rendered as a span on the profile the author already owns: nowhere to link. */
span.post-name {
  color: var(--head-text);
}

.post-wall-arrow {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1;
}

.post-wall-name {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}

span.post-wall-name {
  color: var(--head-text);
}

.post-text {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 2px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.32;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.post-content {
  min-width: 0;
}

.reaction-row {
  display: flex;
  gap: 13px;
  margin: 6px 0 0 53px;
}

.reaction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 12px/1 var(--font-ui);
  cursor: default;
}

.reaction[data-has-reactors="1"] {
  cursor: pointer;
}

.reaction[data-has-reactors="1"]:hover,
.reaction[data-has-reactors="1"]:focus-visible {
  color: var(--accent);
}

.reaction:disabled {
  cursor: default;
  opacity: 1;
}

.reaction img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  pointer-events: none;
}

.reaction-tip {
  position: fixed;
  z-index: 80;
  min-width: 168px;
  max-width: min(260px, calc(100vw - 16px));
  max-height: min(240px, 42vh);
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border: 1px solid var(--box-border);
  border-radius: 4px;
  background: var(--box-bg);
  box-shadow: var(--box-shadow);
  color: var(--text);
  font: 12px/1.35 var(--font-ui);
  pointer-events: auto;
}

.reaction-tip[hidden] {
  display: none !important;
}

.reaction-tip.is-hover {
  max-height: min(160px, 32vh);
}

.reaction-tip.is-pinned {
  max-height: min(280px, 50vh);
}

.reaction-tip-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  color: var(--head-text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.reaction-tip-mark {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.reaction-tip-list {
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  flex: 1 1 auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

.reaction-tip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
}

.reaction-tip-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reaction-tip-marks {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}

.reaction-tip-emoji {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.reaction-tip-more {
  margin-top: 4px;
  color: var(--text-muted);
  font-style: italic;
}

.reaction-modal {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: grid;
  place-items: center;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top, 0px));
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
}

.reaction-modal[hidden] {
  display: none !important;
}

.reaction-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 8, 0.55);
}

.reaction-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(380px, 100%);
  max-height: min(70vh, 520px);
  border: 1px solid var(--box-border);
  background: var(--box-bg);
  box-shadow: var(--box-shadow);
}

.reaction-modal-header {
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
  background: var(--head-bg);
}

.reaction-modal-title {
  margin: 0;
  color: var(--head-text);
  font: 700 11px/1.2 var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reaction-modal-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 6px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

.reaction-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
}

.reaction-modal-row:last-child {
  border-bottom: 0;
}

.reaction-modal-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font: 13px/1.3 var(--font-ui);
}

.reaction-modal-marks {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.reaction-modal-emoji {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.reaction-modal-empty {
  padding: 18px 4px;
  color: var(--text-muted);
  font: italic 12px/1.4 var(--font-ui);
  text-align: center;
}

.reaction-modal-close {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 11px 12px;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: var(--btn-grad);
  color: var(--btn-text);
  font: 11px/1 var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.reaction-modal-close:hover,
.reaction-modal-close:focus-visible {
  background: var(--btn-grad-hover);
  outline: 1px solid var(--accent);
  outline-offset: -2px;
}

html.is-reaction-modal-open,
body.is-reaction-modal-open {
  overflow: hidden;
}

.thread {
  margin: 7px 0 0 18px;
  border-left: 1px solid var(--box-border);
}

.thread > summary {
  margin-left: 8px;
  color: var(--link);
  font: 11px/1.6 var(--font-ui);
  cursor: pointer;
  list-style: none;
}

.thread > summary::-webkit-details-marker {
  display: none;
}

.thread > summary::before {
  content: "▸ ";
}

.thread[open] > summary::before {
  content: "▾ ";
}

.comments {
  margin-left: 8px;
}

.comment {
  padding: 7px 0 5px;
}

.comment .post-avatar-link {
  width: 38px;
  height: 38px;
}

.comment-main {
  grid-template-columns: 38px minmax(0, 1fr);
}

.comment .post-text {
  font-size: 13px;
}

.panel-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  padding: 5px 7px 5px 12px;
  border-bottom: 1px solid var(--box-border);
  background: var(--head-bg);
}

.panel-header h2 {
  margin: 0;
  color: var(--head-text);
  font: 700 13px/1.2 var(--font-ui);
  letter-spacing: 0.04em;
}

.panel-close-x {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: 700 22px/1 var(--font-ui);
  cursor: pointer;
  touch-action: manipulation;
}

.panel-close-x:hover,
.panel-close-x:focus-visible {
  color: #fff;
  outline: 1px solid var(--accent);
}

.panel-close-foot {
  display: none;
  flex: 0 0 44px;
  width: 100%;
  border-top: 1px solid var(--box-border);
}

.ally-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ally-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(120, 60, 90, 0.18);
  color: inherit;
  text-decoration: none;
}

.ally-row:hover,
.ally-row:focus-visible {
  background: color-mix(in srgb, var(--box-border) 16%, transparent);
  outline: none;
}

.ally-avatar {
  display: block;
  width: 72px;
  height: 72px;
  border: 1px solid var(--box-border);
  object-fit: cover;
  object-position: center top;
}

.ally-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ally-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.ally-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--link);
  font: 700 17px/1.2 var(--font-ui);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ally-classline,
.ally-findme,
.ally-tags {
  display: block;
  color: var(--text-muted);
  font: 13px/1.3 var(--font-ui);
}

.ally-favor {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.rail-allies .ally-row {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  min-height: 58px;
  padding: 6px 7px;
}

.rail-allies .ally-avatar {
  width: 44px;
  height: 44px;
}

.rail-allies .ally-meta {
  gap: 1px;
}

.rail-allies .ally-name {
  font-size: 12px;
}

.rail-allies .ally-classline,
.rail-allies .ally-findme,
.rail-allies .ally-tags {
  font-size: 10px;
}

.rail-allies .ally-favor {
  width: 18px;
  height: 18px;
}

.gallery-card {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.gallery-dismiss {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(8, 4, 10, 0.72);
  color: #f0e4d8;
  font: 700 22px/1 var(--font-ui);
  cursor: pointer;
}

.gallery-dismiss:hover,
.gallery-dismiss:focus-visible {
  color: #fff;
  border-color: var(--accent);
  outline: none;
}

.gallery-mobile-chrome {
  display: none;
}

.gallery-stage {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--box-border);
  background: #050306;
  /* Horizontal drags are swipes between images; vertical still scrolls. */
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.gallery-focus {
  position: absolute;
  inset: 8px;
  display: block;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
  cursor: default;
}

.gallery-caption {
  flex: 0 0 auto;
  min-height: 38px;
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
  font: italic 13px/1.35 var(--font-display);
  text-align: center;
}

.gallery-carousel {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
}

.gallery-nav {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: #100810;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.gallery-track {
  min-width: 0;
}

.gallery-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
}

.gallery-thumb {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--box-border);
  opacity: 0.56;
  overflow: hidden;
  background: #09050a;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.is-selected {
  flex-basis: 54px;
  width: 54px;
  height: 54px;
  border-color: #f6dfbd;
  box-shadow: 0 0 0 1px rgba(246, 223, 189, 0.35);
  opacity: 1;
}

.gallery-count {
  margin: 4px 0 0;
  color: var(--text-muted);
  font: 10px/1 var(--font-ui);
  text-align: center;
}

.panel-gallery.is-active {
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vh, 44px) clamp(16px, 4vw, 50px);
  background: rgba(0, 0, 0, 0.86);
}

.panel-gallery .panel-card {
  width: min(920px, 100%);
  height: min(90vh, 920px);
}

.panel-gallery .panel-close-foot {
  display: none;
}

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.96);
}

.media-viewer.is-open {
  display: flex;
}

.viewer-toolbar {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 7px;
  padding: calc(8px + var(--safe-top)) max(10px, var(--safe-right)) 8px max(10px, var(--safe-left));
  background: #050505;
}

.viewer-toolbar button {
  min-width: 40px;
  min-height: 36px;
  border: 1px solid #555;
  background: #111;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}

.viewer-canvas {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.viewer-canvas.is-dragging {
  cursor: grabbing;
}

.viewer-image {
  position: absolute;
  inset: 0;
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.16s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

/* Live gestures must track the finger, so drop the easing while one is active. */
.viewer-canvas.is-dragging .viewer-image,
.viewer-canvas.is-pinching .viewer-image {
  transition: none;
}

.viewer-hint {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: max(10px, var(--safe-bottom));
  left: 0;
  margin: 0;
  color: rgba(240, 228, 216, 0.66);
  font: 11px/1.3 var(--font-ui);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.viewer-canvas.is-zoomed .viewer-hint {
  opacity: 0;
}

.home-login-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
}

.home-login-modal[hidden] {
  display: none !important;
}

.home-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 8, 0.55);
}

.home-login-dialog {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  padding: 18px 16px 14px;
  border: 1px solid var(--box-border);
  background: var(--box-bg);
  box-shadow: var(--box-shadow);
}

.home-login-dialog h2 {
  margin: 0 0 10px;
  color: var(--head-text);
  font: 11px/1.2 var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-login-lead {
  margin: 0 0 8px;
  color: var(--text);
  font: 700 1.15rem/1.25 var(--font-display);
}

.home-login-body {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.home-login-dismiss {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--box-border);
  background: var(--btn-grad);
  color: var(--btn-text);
  font: 11px/1 var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.home-login-dismiss:hover,
.home-login-dismiss:focus-visible {
  background: var(--btn-grad-hover);
  outline: 1px solid var(--accent);
  outline-offset: -2px;
}

html.is-login-open,
body.is-login-open {
  overflow: hidden;
}

.notice {
  position: fixed;
  z-index: 400;
  right: max(14px, var(--safe-right));
  bottom: max(14px, var(--safe-bottom));
  max-width: 310px;
  padding: 10px 13px;
  border: 1px solid var(--box-border);
  background: var(--box-bg);
  box-shadow: var(--box-shadow);
  color: var(--text);
  font: 12px/1.4 var(--font-ui);
}

.build-error {
  padding: 30px;
  color: #fff;
  font: 15px/1.5 var(--font-ui);
}

@media (min-width: 1400px) {
  :root {
    --shell-max: 1360px;
    --rail-w: clamp(270px, 21vw, 320px);
    --shell-gap: 15px;
  }
}

@media (min-width: 1800px) {
  :root {
    --shell-max: 1580px;
    --rail-w: clamp(300px, 19vw, 350px);
    --shell-gap: 18px;
  }

  body {
    font-size: 15px;
  }
}

@media (min-width: 2400px) {
  :root {
    --shell-max: 1900px;
    --rail-w: clamp(330px, 17vw, 390px);
    --shell-gap: 22px;
    --nav-h: 48px;
  }

  .site-brand img {
    height: 34px;
  }

  .site-links,
  .site-scry button,
  .site-login {
    font-size: 13px;
  }

  .post-text {
    font-size: 16px;
  }
}

@media (min-width: 3200px) {
  :root {
    --shell-max: 2240px;
    --rail-w: clamp(360px, 15vw, 420px);
  }
}

@media (orientation: portrait) and (max-width: 760px) {
  :root {
    --nav-h: 44px;
    /* Three stacked dock buttons need >= 132px to keep 44px touch targets. */
    --dock-h: clamp(132px, 34vw, 148px);
  }

  /**
   * Phones scroll the document, not an inner pane. Mobile Safari only
   * collapses its address and tab bars when the page itself scrolls, so a
   * locked app shell keeps that chrome expanded for the whole session.
   */
  html {
    height: auto;
    overflow: visible;
  }

  body {
    height: auto;
    min-height: 100%;
    overflow: visible;
    background-attachment: scroll;
  }

  html.is-panel-open,
  body.is-panel-open,
  html.is-login-open,
  body.is-login-open {
    height: 100%;
    overflow: hidden;
  }

  /**
   * Header and dock stay pinned while the document scrolls. Promoting both to
   * their own compositor layer stops iOS from drifting them during momentum
   * scrolling, which is what makes a fixed bar feel unanchored.
   */
  .site-nav,
  .identity-rail {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
  }

  .site-nav-inner {
    gap: 6px;
    padding-inline: max(8px, var(--safe-left)) max(8px, var(--safe-right));
  }

  .site-stage-slot,
  .site-stage-slot:not([hidden]) {
    display: none !important;
  }

  .site-brand img {
    height: 26px;
  }

  .site-links {
    flex: 0 1 auto;
    gap: 4px;
    overflow: hidden;
    font-size: 10px;
  }

  .site-tools {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 4px;
    overflow: visible;
  }

  .site-scry {
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .site-scry input {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }

  .site-scry button,
  .site-login {
    flex: 0 0 auto;
    padding-inline: 6px;
    font-size: 10px;
  }

  .site-scry button {
    display: block;
  }

  .profile-app {
    position: static;
    display: block;
    width: 100%;
    margin: 0;
    /* Clear the fixed header and dock so no content hides behind them. */
    padding-top: calc(var(--nav-h) + var(--safe-top));
    padding-bottom: calc(var(--dock-h) + var(--safe-bottom));
    overflow: visible;
  }

  .workspace {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  .panel-feed.is-active {
    position: static;
    display: block;
    overflow: visible;
  }

  .feed-scroll {
    height: auto;
    min-height: 0;
    overflow: visible;
    overscroll-behavior: auto;
  }

  /* Non-feed panels become viewport overlays while the page scroll is locked. */
  .panel-allies.is-active,
  .panel-vault.is-active,
  .panel-gallery.is-active {
    position: fixed;
    z-index: 160;
    top: calc(var(--nav-h) + var(--safe-top));
    right: 0;
    bottom: calc(var(--dock-h) + var(--safe-bottom));
    left: 0;
    background: var(--box-bg);
  }

  .identity-rail {
    position: fixed;
    z-index: 150;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    height: calc(var(--dock-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    border: 0;
    border-top: 1px solid var(--box-border);
    background: var(--head-bg);
    box-shadow: 0 -16px 34px rgba(70, 18, 55, 0.42);
  }

  .identity-card {
    display: contents;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .identity-title,
  .rail-allies {
    display: none;
  }

  .rail-actions {
    display: grid;
  }

  .portrait-button {
    flex: 0 0 var(--dock-h);
    width: var(--dock-h);
    height: var(--dock-h);
    aspect-ratio: auto;
    border: 0;
    border-right: 1px solid var(--box-border);
  }

  .identity-meta {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    padding: 6px 10px 5px;
    border: 0;
    border-right: 1px solid var(--box-border);
    overflow: hidden;
  }

  .vitals {
    display: none;
  }

  .identity-name-mobile {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    overflow: hidden;
    color: var(--head-text);
    font: 700 19px/1.1 var(--font-display);
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.95),
      0 0 1px rgba(0, 0, 0, 0.85);
  }

  .identity-summary {
    display: grid;
    flex: 0 1 auto;
    gap: 5px;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    color: var(--text-muted);
    font: 12px/1.2 var(--font-ui);
  }

  .identity-summary .identity-line {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .identity-summary .identity-line.is-class {
    color: color-mix(in srgb, var(--text) 72%, var(--text-muted));
    font-weight: 600;
  }

  .identity-summary .identity-field {
    display: grid;
    gap: 1px;
    min-width: 0;
  }

  .identity-summary .identity-label {
    color: var(--label);
    font: 700 10px/1.15 var(--font-ui);
    letter-spacing: 0.04em;
  }

  .identity-summary .identity-value {
    min-width: 0;
    overflow: hidden;
    color: var(--text-muted);
    font: 12px/1.2 var(--font-ui);
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .identity-summary .sep {
    margin: 0 0.28em;
    color: var(--accent);
  }

  .rail-actions {
    display: grid;
    flex: 0 0 78px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    width: 78px;
    min-height: 0;
    min-width: 0;
    border: 0;
  }

  /* The dock stacks its actions, so override the wide layout's column counts. */
  .rail-actions.is-double {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .rail-actions.is-single {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .rail-action {
    border: 0;
    border-right: 0;
    border-bottom: 1px solid var(--box-border);
    font-size: 10px;
  }

  .rail-action:last-child {
    border-bottom: 0;
  }

  .feed-banner {
    position: static;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .panel-allies,
  .panel-vault,
  .panel-gallery {
    border: 0;
    box-shadow: none;
  }

  .vault-card,
  .chronolog-card {
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .vault-card {
    display: none;
  }

  .section-heading {
    display: none;
  }

  .post {
    padding: 9px 7px;
  }

  .post-main {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }

  .post-avatar-link {
    width: 42px;
    height: 42px;
  }

  .post-text {
    font-size: 14px;
  }

  .reaction-row {
    margin-left: 50px;
  }

  .panel {
    border: 0;
  }

  .panel-header {
    min-height: 44px;
  }

  .panel-close-foot {
    display: none;
  }

  .ally-row {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 112px;
    padding: 12px 18px;
  }

  .ally-avatar {
    width: 86px;
    height: 86px;
  }

  .panel-gallery.is-active {
    padding: 0;
  }

  .panel-gallery .panel-card {
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: none;
  }

  .gallery-dismiss {
    display: none;
  }

  .gallery-mobile-chrome {
    display: flex;
  }

  .panel-gallery .panel-header {
    display: flex;
  }

  .panel-gallery .panel-close-foot {
    display: none;
  }

  .gallery-focus {
    cursor: zoom-in;
  }

  .gallery-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  :root {
    --nav-h: 38px;
    --rail-w: min(30vw, 220px);
  }

  .feed-scroll,
  .panel-scroll {
    padding-right: 0;
    scrollbar-gutter: auto;
  }

  .site-nav-inner {
    width: 100%;
    max-width: none;
    padding: 3px max(10px, var(--safe-right)) 3px max(10px, var(--safe-left));
  }

  .site-stage-slot,
  .site-stage-slot:not([hidden]) {
    display: none !important;
  }

  .site-brand img {
    height: 26px;
  }

  .site-scry input {
    width: min(17vw, 116px);
    font-size: 16px;
  }

  .profile-app {
    top: calc(var(--nav-h) + var(--safe-top));
    right: var(--safe-right);
    bottom: var(--safe-bottom);
    left: var(--safe-left);
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    gap: 0;
    width: auto;
    margin: 0;
  }

  .identity-rail {
    gap: 0;
    border: 1px solid var(--box-border);
    border-top: 0;
    border-bottom: 0;
    background: var(--box-bg);
    box-shadow: none;
  }

  .identity-card {
    display: contents;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .workspace {
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
  }

  .identity-title,
  .rail-allies {
    display: none;
  }

  .portrait-button {
    max-height: min(var(--rail-w), 42vh);
  }

  .identity-meta {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 6px 8px;
  }

  .vital {
    font-size: 11px;
  }

  .vital dt {
    font-size: 10px;
  }

  .rail-actions {
    display: grid;
    min-height: 44px;
  }

  .feed-banner {
    position: relative;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .panel-allies,
  .panel-vault,
  .panel-gallery {
    border: 0;
    box-shadow: none;
  }

  .vault-card,
  .chronolog-card {
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .vault-card {
    display: none;
  }

  .section-heading {
    display: none;
  }

  .post {
    padding: 7px 8px;
  }

  .post-main {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
  }

  .post-avatar-link {
    width: 38px;
    height: 38px;
  }

  .post-text {
    font-size: 13px;
  }

  .reaction-row {
    margin-left: 45px;
  }

  .panel-header {
    display: none;
  }

  .panel-close-foot {
    display: block;
  }

  .ally-row {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 96px;
  }

  .ally-avatar {
    width: 78px;
    height: 78px;
  }

  .panel-gallery.is-active {
    position: absolute;
    inset: 0;
    padding: 0;
    background: var(--box-bg);
  }

  .panel-gallery .panel-card {
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: none;
  }

  .gallery-dismiss {
    display: none;
  }

  .gallery-focus {
    cursor: zoom-in;
    inset: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
  }

  .gallery-stage {
    flex-basis: 0;
  }

  .gallery-caption {
    min-height: 28px;
    max-height: 2.8em;
    padding: 4px 10px;
    overflow: hidden;
    font-size: 11px;
    text-align: left;
  }

  .gallery-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 5px;
    padding: 4px 7px;
  }

  .gallery-nav {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .gallery-thumb {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .gallery-thumb.is-selected {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .gallery-count {
    margin-top: 2px;
  }
}

@media (max-width: 380px) and (orientation: portrait) {
  .site-links {
    font-size: 9px;
  }

  .site-login {
    padding-inline: 3px;
  }

  .identity-rail {
    display: flex;
  }

  .rail-actions {
    flex-basis: 66px;
    width: 66px;
  }

  .identity-name-mobile {
    font-size: 18px;
  }

  .identity-summary {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
