[data-orinth-preview="true"] .hub-dosi-image,
[data-orinth-preview="true"] .hub-dosi-dark-hole img,
[data-orinth-preview="true"] .newsletter-dosi img,
[data-orinth-preview="true"] .newsletter-status-dosi img,
[data-orinth-preview="true"] .dosi-mascot img,
[data-orinth-preview="true"] .contact-dosi-image,
[data-orinth-preview="true"] .links-hero-image,
[data-orinth-preview="true"] .blog-comment-avatar,
[data-orinth-preview="true"] .error-art img {
  object-fit: contain !important;
  object-position: center !important;
}

/* Light and dark use the same portal composition and exactly the same stage
   geometry. This prevents Orinth from jumping during a theme switch. */
[data-orinth-preview="true"] .hub-dosi-dark-hole {
  left: 50% !important;
  width: 220px !important;
  height: 220px !important;
  bottom: 8px !important;
}

[data-orinth-preview="true"] .hub-dosi-image {
  width: 220px !important;
  bottom: 48px !important;
  transform: translate(-50%, 40px) !important;
}

[data-orinth-preview="true"] .hub-dosi-card {
  min-height: 285px !important;
  cursor: pointer;
  border-radius: 6px;
  outline: 1px solid transparent;
  transition: outline-color 180ms ease, background-color 180ms ease;
}

[data-orinth-preview="true"] .hub-dosi-stage {
  width: 240px !important;
  min-height: 235px !important;
  transition: filter 220ms ease;
}

/* Keep the actual hero content directly below the navigation. The base layout
   bottom-aligns the left column against Orinth plus the archive status panel,
   which creates a large artificial void above the hero artwork. */
[data-orinth-preview="true"] .hero {
  align-items: start !important;
  min-height: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 28px !important;
}

[data-orinth-preview="true"] .hero-copy,
[data-orinth-preview="true"] .hero-side {
  align-self: start !important;
}

/* A restrained archive stream connects the portal with the wide hero instead
   of filling the breathing room with another heavy illustration. */
[data-orinth-preview="true"] .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px 0 auto;
  height: 350px;
  pointer-events: none;
  background: url("/orinth-assets/scenes/orinth-portal-trail-v2.svg") center top / 100% 350px no-repeat;
  opacity: 0.78;
  animation: orinth-portal-trail-pulse 8.5s ease-in-out infinite;
}

[data-orinth-preview="true"] .hero > * {
  position: relative;
  z-index: 1;
}

[data-theme="dark"][data-orinth-preview="true"] .hero::before {
  opacity: 0.96;
  filter: brightness(1.16) saturate(1.08);
}

@keyframes orinth-portal-trail-pulse {
  0%, 100% { opacity: 0.67; }
  50% { opacity: 0.88; }
}

/* Puzzle reward: Archive Signal 00 lives inside Orinth's hidden dossier. */
.orinth-dossier .orinth-signal {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 0 1.35rem;
  padding: 0.85rem 0.9rem 0.8rem;
  border: 1px solid rgba(112, 77, 31, 0.5);
  background:
    linear-gradient(135deg, rgba(244, 226, 185, 0.92), rgba(226, 199, 145, 0.74)),
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(98, 68, 30, 0.055) 19px 20px);
  box-shadow:
    inset 0 0 0 3px rgba(255, 245, 215, 0.26),
    inset 0 0 28px rgba(102, 68, 26, 0.08),
    0 8px 18px rgba(66, 42, 16, 0.1);
  color: #302619;
  font-family: "Lucida Console", "Cascadia Mono", Consolas, monospace;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
}

.orinth-signal audio {
  display: none;
}

.orinth-signal-bar,
.orinth-signal-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.orinth-signal-bar {
  min-height: 30px;
  padding: 0 0.15rem;
  justify-content: space-between;
}

.orinth-signal-status {
  color: color-mix(in srgb, var(--green) 76%, var(--text));
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 0 var(--panel), 0 0 12px color-mix(in srgb, var(--green) 24%, transparent);
}

.orinth-signal[data-unlocked="false"] .orinth-signal-status::before {
  content: "◇ ";
  color: var(--gold);
}

.orinth-signal[data-unlocked="true"] .orinth-signal-status::before {
  content: "◆ ";
  color: var(--gold);
  text-shadow: 0 0 10px rgba(222, 157, 35, 0.45);
}

.orinth-signal-controls[hidden] {
  display: none !important;
}

.orinth-signal-controls {
  flex: 0 0 auto;
}

.orinth-signal-toggle,
.orinth-signal-mute {
  min-height: 30px;
  border: 1px solid color-mix(in srgb, var(--green) 42%, transparent);
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.orinth-signal-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  gap: 0;
  padding: 0;
}

.orinth-signal-toggle span {
  color: var(--gold);
  font-size: 0.78rem;
}

.orinth-signal-toggle b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.orinth-signal-mute {
  width: 32px;
  padding: 0;
  color: var(--green);
}

.orinth-signal-time {
  min-width: 70px;
  color: color-mix(in srgb, var(--muted) 82%, var(--text));
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.orinth-signal-lyric {
  position: relative;
  min-height: 72px;
  margin-top: 0.35rem;
  padding: 0.68rem 1rem 0.72rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--green) 34%, transparent);
  border-left: 3px solid color-mix(in srgb, var(--gold) 72%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel) 91%, transparent), color-mix(in srgb, var(--panel) 72%, transparent));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), inset 0 0 22px color-mix(in srgb, var(--green) 5%, transparent);
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 0 var(--panel);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
}

.orinth-signal-lyric::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 20%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    84px -12px 0 -2px color-mix(in srgb, var(--green) 65%, transparent),
    192px 2px 0 -3px color-mix(in srgb, var(--gold) 68%, transparent);
}

.orinth-signal-lyric[hidden] {
  display: none !important;
}

.orinth-signal-lyric small,
.orinth-signal-lyric strong,
.orinth-signal-lyric strong span {
  display: block;
}

.orinth-signal-lyric small {
  margin-bottom: 0.28rem;
  color: var(--gold);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.orinth-signal-lyric strong {
  color: color-mix(in srgb, var(--text) 88%, var(--green));
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  line-height: 1.45;
  letter-spacing: 0.015em;
}

.orinth-signal-line-secondary {
  opacity: 0.72;
}

.orinth-signal-lyric.changes-line strong {
  animation: orinth-signal-line-in 480ms ease both;
}

.orinth-signal-progress {
  display: block;
  width: calc(100% - 2.2rem);
  height: 2px;
  margin: 0.4rem 0 0 1.05rem;
  accent-color: var(--gold);
  cursor: pointer;
}

.orinth-signal-progress[hidden] {
  display: none !important;
}

.orinth-signal-transcript {
  position: relative;
  width: calc(100% - 2.2rem);
  margin: 0.4rem 0 0 1.05rem;
  font-size: 0.64rem;
}

.orinth-signal-transcript[hidden] {
  display: none !important;
}

.orinth-signal-transcript summary {
  width: max-content;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.orinth-signal-transcript > div {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.45rem);
  left: 0;
  width: min(520px, calc(100vw - 3rem));
  max-height: 280px;
  overflow: auto;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--gold) 42%, var(--line));
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
}

.orinth-signal-transcript h3 {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.orinth-signal-transcript section + section {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
}

.orinth-signal-transcript p {
  margin: 0;
  line-height: 1.55;
}

.orinth-dossier .orinth-signal-status {
  color: #286b57;
  text-shadow: 0 1px rgba(255, 248, 225, 0.65);
}

.orinth-dossier .orinth-signal-toggle,
.orinth-dossier .orinth-signal-mute {
  border-color: rgba(112, 77, 31, 0.52);
  background: rgba(250, 237, 207, 0.78);
  color: #3a2b18;
  box-shadow: inset 0 0 0 2px rgba(255, 248, 225, 0.34);
}

.orinth-dossier .orinth-signal-mute {
  color: #286b57;
}

.orinth-dossier .orinth-signal-time {
  color: #62523c;
}

.orinth-dossier .orinth-signal-lyric {
  border-color: rgba(45, 105, 84, 0.34);
  border-left-color: #b87917;
  background: linear-gradient(90deg, rgba(255, 244, 215, 0.72), rgba(233, 211, 166, 0.48));
  box-shadow: inset 0 0 22px rgba(105, 73, 31, 0.055);
  text-shadow: none;
}

.orinth-dossier .orinth-signal-lyric strong {
  color: #2e2519;
}

.orinth-dossier .orinth-signal-line-secondary {
  color: #665842;
  opacity: 0.9;
}

.orinth-dossier .orinth-signal-transcript summary {
  color: #286b57;
}

.orinth-dossier .orinth-signal-transcript > div {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  margin-top: 0.55rem;
  max-height: 260px;
  color: #352919;
  background: rgba(242, 222, 178, 0.98);
  border-color: rgba(112, 77, 31, 0.52);
  box-shadow: 0 12px 30px rgba(66, 42, 16, 0.16), inset 0 0 22px rgba(105, 73, 31, 0.06);
}

.orinth-dossier .orinth-signal-progress {
  height: 6px;
  border: 1px solid rgba(112, 77, 31, 0.4);
  border-radius: 999px;
  appearance: none;
  background: rgba(117, 91, 55, 0.22);
  box-shadow: inset 0 1px 3px rgba(71, 45, 17, 0.18);
}

.orinth-dossier .orinth-signal-progress::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid #8b5c17;
  border-radius: 50%;
  appearance: none;
  background: radial-gradient(circle at 35% 30%, #f6cf68, #b97612 72%);
  box-shadow: 0 2px 5px rgba(72, 44, 14, 0.28);
}

.orinth-dossier .orinth-signal-progress::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid #8b5c17;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6cf68, #b97612 72%);
  box-shadow: 0 2px 5px rgba(72, 44, 14, 0.28);
}

.orinth-signal.just-unlocked {
  animation: orinth-signal-unlock 1.8s ease both;
}

.orinth-dossier.orinth-signal-playing .orinth-puzzle-complete {
  animation: orinth-signal-art-pulse 3.8s ease-in-out infinite;
}

.orinth-dossier.orinth-signal-playing .orinth-scroll-seal {
  box-shadow:
    0 5px 10px rgba(65, 25, 16, 0.25),
    inset 0 0 0 3px rgba(255, 210, 146, 0.12),
    0 0 24px rgba(40, 190, 163, 0.58);
}

@keyframes orinth-signal-art-pulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.13) saturate(1.12) drop-shadow(0 0 12px rgba(47, 199, 169, 0.34)); }
}

@keyframes orinth-signal-line-in {
  from { opacity: 0; transform: translateY(5px); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes orinth-signal-unlock {
  0% { filter: brightness(1); }
  28% { filter: brightness(1.9) drop-shadow(0 0 16px rgba(48, 196, 186, 0.48)); }
  100% { filter: none; }
}

[data-theme="dark"][data-orinth-preview="true"] .hub-dosi-stage {
  filter: drop-shadow(0 0 18px rgba(30, 190, 184, 0.16))
          drop-shadow(0 0 24px rgba(221, 151, 32, 0.13));
}

[data-orinth-preview="true"] .hub-dosi-card:hover .hub-dosi-stage,
[data-orinth-preview="true"] .hub-dosi-card:focus-visible .hub-dosi-stage {
  filter: drop-shadow(0 0 15px rgba(30, 190, 184, 0.18));
}

[data-orinth-preview="true"] .hub-dosi-card:focus-visible {
  outline-color: rgba(204, 145, 28, 0.72);
}

[data-orinth-preview="true"] .hub-dosi-card::after {
  content: "[ AKTE 00 ]";
  position: absolute;
  z-index: 4;
  top: 0.3rem;
  right: 0.2rem;
  color: var(--gold);
  font: 700 0.55rem/1.2 "Lucida Console", "Cascadia Mono", monospace;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 180ms ease, transform 180ms ease;
}

[data-orinth-preview="true"] .hub-dosi-quote[hidden],
[data-orinth-preview="true"] .hub-dosi-source[hidden] {
  display: none !important;
}

[data-orinth-preview="true"] .hub-dosi-card:hover::after,
[data-orinth-preview="true"] .hub-dosi-card:focus-visible::after {
  opacity: 0.72;
  transform: none;
}

/* D.O.S.I.'s eye overlays do not belong to Orinth's expression system. */
[data-orinth-preview="true"] .hub-dosi-eyelid {
  display: none !important;
  animation: none !important;
}

[data-orinth-preview="true"] .dosi-card::after {
  content: "ORINTH" !important;
}

/* Orinth's journal artwork is a complete chronicler scene rather than a
   cropped edge peek. It remains legible in both article covers and cards. */
[data-orinth-preview="true"] .blog-grid-home .blog-card-image-default::before,
[data-orinth-preview="true"] .blog-grid .blog-card-image-default::before,
[data-orinth-preview="true"] .blog-cover-default-art::before {
  background-image: url("/orinth-assets/scenes/orinth-blog-journal-v2.png") !important;
  background-position: center bottom !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

[data-orinth-preview="true"] .blog-grid-home .blog-card-image-default,
[data-orinth-preview="true"] .blog-grid .blog-card-image-default {
  background:
    radial-gradient(circle at 82% 52%, rgba(222, 153, 30, 0.13), transparent 25%),
    linear-gradient(90deg, transparent 0 64%, rgba(45, 113, 89, 0.16) 64% calc(64% + 1px), transparent calc(64% + 1px)),
    repeating-linear-gradient(180deg, transparent 0 23px, rgba(55, 120, 96, 0.045) 24px, transparent 25px),
    linear-gradient(105deg, rgba(239, 189, 79, 0.11), rgba(100, 208, 135, 0.035) 62%, transparent),
    var(--panel) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 72%, transparent);
}

[data-orinth-preview="true"] .blog-grid-home .blog-card-image-default::before,
[data-orinth-preview="true"] .blog-grid .blog-card-image-default::before {
  top: 7% !important;
  right: 4% !important;
  width: 30% !important;
  height: 86% !important;
  opacity: 0.98;
  filter: drop-shadow(-8px 10px 13px rgba(11, 18, 14, 0.16)) !important;
}

[data-orinth-preview="true"] .blog-grid-home .blog-card-image-default::after,
[data-orinth-preview="true"] .blog-grid .blog-card-image-default::after {
  left: clamp(22px, 4vw, 34px) !important;
  bottom: 25px !important;
  padding-top: 10px;
  border-top: 2px solid color-mix(in srgb, var(--gold) 62%, transparent);
}

[data-orinth-preview="true"] .blog-cover-viewport.blog-cover-viewport-default {
  background:
    radial-gradient(circle at 80% 50%, rgba(222, 153, 30, 0.14), transparent 24%),
    linear-gradient(90deg, transparent 0 63%, rgba(45, 113, 89, 0.18) 63% calc(63% + 1px), transparent calc(63% + 1px)),
    repeating-linear-gradient(180deg, transparent 0 24px, rgba(100, 208, 135, 0.05) 25px, transparent 26px),
    linear-gradient(100deg, rgba(239, 189, 79, 0.11), rgba(100, 208, 135, 0.035) 62%, transparent),
    var(--panel) !important;
}

[data-orinth-preview="true"] .blog-cover-default-art::before {
  top: 6% !important;
  right: 5% !important;
  width: 34% !important;
  height: 88% !important;
  filter: drop-shadow(-10px 13px 16px rgba(11, 18, 14, 0.18)) !important;
}

[data-orinth-preview="true"] .blog-cover-default-art::after {
  padding-top: 11px;
  border-top: 2px solid color-mix(in srgb, var(--gold) 64%, transparent);
}

[data-theme="dark"][data-orinth-preview="true"] .blog-grid-home .blog-card-image-default,
[data-theme="dark"][data-orinth-preview="true"] .blog-grid .blog-card-image-default,
[data-theme="dark"][data-orinth-preview="true"] .blog-cover-viewport.blog-cover-viewport-default {
  background:
    radial-gradient(circle at 82% 52%, rgba(222, 153, 30, 0.16), transparent 27%),
    linear-gradient(90deg, transparent 0 64%, rgba(71, 177, 140, 0.2) 64% calc(64% + 1px), transparent calc(64% + 1px)),
    repeating-linear-gradient(180deg, transparent 0 24px, rgba(100, 208, 135, 0.045) 25px, transparent 26px),
    linear-gradient(100deg, rgba(239, 189, 79, 0.08), rgba(100, 208, 135, 0.055) 62%, transparent),
    rgba(11, 16, 14, 0.78) !important;
}

/* Newsletter: reserve a real illustration column. The legacy wrapper had no
   dimensions, so its large source image covered copy and form on mobile. */
[data-orinth-preview="true"] .newsletter-popover-panel {
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) 168px;
  grid-template-areas: "newsletter-copy newsletter-art";
  gap: 16px;
  align-items: end;
  width: min(620px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
}

/* Opening the newsletter creates an explicit foreground layer. Orinth's
   oversized homepage stage otherwise escapes its column and paints above the
   popover on Safari/iOS. Hide only that decorative card while the form is
   open; the archive status and the rest of the page remain in place. */
[data-orinth-preview="true"] .hero:has(.newsletter-popover[open]) .hero-actions {
  z-index: 10000 !important;
  isolation: isolate;
}

[data-orinth-preview="true"] .newsletter-popover[open],
[data-orinth-preview="true"] .newsletter-popover[open] .newsletter-popover-panel {
  z-index: 10001 !important;
}

[data-orinth-preview="true"] .hero:has(.newsletter-popover[open]) .hub-dosi-card {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.newsletter-mobile-close {
  display: none;
}

.newsletter-mobile-backdrop {
  display: none;
}

[data-orinth-preview="true"] .newsletter-popover-copy {
  grid-area: newsletter-copy;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  white-space: normal;
}

[data-orinth-preview="true"] .newsletter-popover-copy > *,
[data-orinth-preview="true"] .newsletter-popover-copy h2,
[data-orinth-preview="true"] .newsletter-popover-copy p,
[data-orinth-preview="true"] .newsletter-popover-copy small {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

[data-orinth-preview="true"] .newsletter-popover-copy > p {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word;
}

[data-orinth-preview="true"] .newsletter-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
  max-width: 100% !important;
  gap: 0.65rem !important;
}

[data-orinth-preview="true"] .newsletter-language-choice {
  display: grid;
  grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
}

[data-orinth-preview="true"] .newsletter-language-choice select,
[data-orinth-preview="true"] .newsletter-form input,
[data-orinth-preview="true"] .newsletter-form .button {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

[data-orinth-preview="true"] .newsletter-assurances {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.22rem;
  min-width: 0;
}

[data-orinth-preview="true"] .newsletter-dosi {
  grid-area: newsletter-art;
  position: relative;
  z-index: 0;
  display: grid;
  width: 168px;
  height: 180px;
  align-self: end;
  justify-self: end;
  place-items: center;
  overflow: visible;
  pointer-events: none;
}

[data-orinth-preview="true"] .newsletter-dosi img {
  display: block;
  width: 88% !important;
  height: 88% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* The confirmation artwork is square. The old Dosi layout sized it by height
   inside a narrower column, which pushed both sides beyond the card crop. */
[data-orinth-preview="true"] .newsletter-status-dosi {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  overflow: visible;
}

[data-orinth-preview="true"] .newsletter-status-dosi img {
  display: block;
  width: min(100%, 400px) !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 430px !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 700px) {
  [data-orinth-preview="true"] .newsletter-status-dosi {
    min-height: 220px;
    margin-top: 0;
    padding: 0.75rem 1.25rem 1.5rem;
    justify-content: center;
  }

  [data-orinth-preview="true"] .newsletter-status-dosi img {
    width: min(100%, 280px) !important;
    max-height: 280px !important;
  }
}

@media (max-width: 760px) and (min-width: 621px) {
  [data-orinth-preview="true"] .newsletter-popover-panel {
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 12px;
  }

  [data-orinth-preview="true"] .newsletter-dosi {
    width: 116px;
    height: 154px;
  }

  [data-orinth-preview="true"] .newsletter-dosi img {
    width: 84% !important;
    height: 84% !important;
  }
}

@media (max-width: 620px) {
  body.newsletter-modal-open {
    overflow: hidden !important;
  }

  [data-orinth-preview="true"] .newsletter-popover[open]::before {
    display: none !important;
    content: none !important;
  }

  [data-orinth-preview="true"] .newsletter-mobile-backdrop {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(10, 13, 11, 0.58);
    backdrop-filter: blur(2px);
    cursor: default;
  }

  [data-orinth-preview="true"] .newsletter-popover-panel[data-newsletter-mobile-modal="true"] {
    position: fixed !important;
    z-index: 2147483001 !important;
    top: 50% !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    bottom: auto !important;
    left: max(12px, env(safe-area-inset-left)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.8rem !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 1rem 0.9rem 0.85rem !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: #fffcef !important;
    transform: translateY(-50%) !important;
    overscroll-behavior: contain;
  }

  [data-orinth-preview="true"] .newsletter-popover-panel::before {
    display: none !important;
  }

  [data-orinth-preview="true"] .newsletter-mobile-close {
    position: absolute;
    z-index: 3;
    top: 0.55rem;
    right: 0.55rem;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(190, 132, 22, 0.55);
    background: rgba(255, 252, 239, 0.96);
    color: #7d570d;
    font: 700 1.45rem/1 sans-serif;
    cursor: pointer;
    place-items: center;
  }

  [data-orinth-preview="true"] .newsletter-popover-copy h2 {
    padding-right: 2.4rem;
    font-size: clamp(1.2rem, 6vw, 1.5rem) !important;
  }

  [data-orinth-preview="true"] .newsletter-dosi {
    display: none !important;
  }

  [data-orinth-preview="true"] .newsletter-dosi img {
    width: auto !important;
    height: 102px !important;
    max-width: 160px !important;
    max-height: 102px !important;
    margin: 0 !important;
    transform: none !important;
  }

  [data-orinth-preview="true"] .newsletter-language-choice {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }

  [data-theme="dark"] [data-orinth-preview="true"] .newsletter-popover-panel[data-newsletter-mobile-modal="true"] {
    border-color: rgba(239, 189, 79, 0.52) !important;
    background:
      linear-gradient(135deg, rgba(239, 189, 79, 0.055), transparent 48%),
      #111813 !important;
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.72) !important;
    color: #f3efe4 !important;
  }

  [data-theme="dark"] [data-orinth-preview="true"] .newsletter-popover-panel[data-newsletter-mobile-modal="true"] .eyebrow {
    color: #d9b45d !important;
  }

  [data-theme="dark"] [data-orinth-preview="true"] .newsletter-popover-panel[data-newsletter-mobile-modal="true"] h2 {
    color: #f7f3e9 !important;
  }

  [data-theme="dark"] [data-orinth-preview="true"] .newsletter-popover-panel[data-newsletter-mobile-modal="true"] p,
  [data-theme="dark"] [data-orinth-preview="true"] .newsletter-popover-panel[data-newsletter-mobile-modal="true"] small,
  [data-theme="dark"] [data-orinth-preview="true"] .newsletter-popover-panel[data-newsletter-mobile-modal="true"] .newsletter-language-choice {
    color: #c9c5b8 !important;
  }

  [data-theme="dark"] [data-orinth-preview="true"] .newsletter-mobile-close {
    border-color: rgba(239, 189, 79, 0.45);
    background: rgba(24, 25, 16, 0.98);
    color: #efbd4f;
  }
}

/* FAQ: retain the scene, but keep it a supporting illustration. */
[data-orinth-preview="true"] .faq-hero-art {
  display: flex !important;
  min-height: 210px !important;
  height: 230px !important;
  align-items: center;
  justify-content: center;
}

[data-orinth-preview="true"] .faq-art {
  width: min(100%, 430px) !important;
  height: 220px !important;
  margin-inline: auto !important;
}

[data-orinth-preview="true"] .faq-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Function scenes may be more present than the old robot cut-outs. */
[data-orinth-preview="true"] .release-keyfile-visual {
  width: min(100%, 340px) !important;
  height: 255px !important;
  margin-inline: auto !important;
}

[data-orinth-preview="true"] .release-keyfile-visual img,
[data-orinth-preview="true"] .dosi-mascot img,
[data-orinth-preview="true"] .release-rating-visual img,
[data-orinth-preview="true"] .shop-hero-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

[data-orinth-preview="true"] .dosi-card {
  --dosi-size: clamp(108px, 22vw, 140px) !important;
  --dosi-lane: calc(var(--dosi-size) + 34px) !important;
}

[data-orinth-preview="true"] .release-rating {
  grid-template-columns: minmax(132px, 150px) minmax(0, 1fr) !important;
}

[data-orinth-preview="true"] .release-rating-visual {
  width: 132px !important;
}

[data-orinth-preview="true"] .shop-hero-art {
  min-height: 180px !important;
}

[data-orinth-preview="true"] .shop-hero-art img {
  max-width: 250px !important;
  max-height: 210px !important;
}

@media (min-width: 521px) {
  [data-orinth-preview="true"] .release-keyfile-panel {
    grid-template-columns: 320px minmax(0, 1fr) !important;
  }

  [data-orinth-preview="true"] .release-keyfile-visual {
    width: 320px !important;
  }
}

[data-orinth-preview="true"] .hub-dosi-dark-hole picture,
[data-orinth-preview="true"] .hub-dosi-dark-hole img {
  width: 100% !important;
  height: 100% !important;
}

[data-orinth-preview="true"] .hub-dosi-dark-hole img {
  transform: none;
}

[data-orinth-preview="true"] .contact-dosi-art,
[data-orinth-preview="true"] .links-hero-media,
[data-orinth-preview="true"] .error-art {
  background:
    radial-gradient(circle at 50% 45%, rgba(27, 185, 176, 0.14), transparent 58%),
    linear-gradient(135deg, rgba(213, 154, 31, 0.08), transparent 45%);
}

[data-orinth-preview="true"] .blog-comment-avatar {
  padding: 0.2rem;
  background: rgba(27, 185, 176, 0.08);
}

.orinth-preview-ribbon {
  position: fixed;
  z-index: 2147483647;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(213, 154, 31, 0.8);
  background: rgba(10, 14, 14, 0.92);
  color: #f4d678;
  box-shadow: 0 0.45rem 1.4rem rgba(0, 0, 0, 0.22);
  font: 700 0.68rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* Shared Orinth motion language: real cut-out animations handle tail and
   crystals; full scene illustrations receive only a slow, restrained lustre. */
@keyframes orinth-ambient-lustre {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(217, 157, 34, 0)) saturate(1);
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(217, 157, 34, 0.15)) saturate(1.035);
  }
}

[data-orinth-preview="true"] .hub-dosi-image,
[data-orinth-preview="true"] .hub-dosi-dark-hole img,
[data-orinth-preview="true"] .newsletter-dosi img,
[data-orinth-preview="true"] .newsletter-status-dosi img,
[data-orinth-preview="true"] .dosi-mascot img,
[data-orinth-preview="true"] .contact-dosi-image,
[data-orinth-preview="true"] .links-hero-image,
[data-orinth-preview="true"] .blog-comment-avatar,
[data-orinth-preview="true"] .error-art img,
[data-orinth-preview="true"] .faq-art img,
[data-orinth-preview="true"] .release-keyfile-visual img,
[data-orinth-preview="true"] .release-rating-visual img,
[data-orinth-preview="true"] .shop-hero-art img,
[data-orinth-preview="true"] img[src*="/orinth-assets/"] {
  animation: orinth-ambient-lustre 6.4s ease-in-out infinite;
}

[data-orinth-preview="true"] .blog-grid-home .blog-card-image-default::before,
[data-orinth-preview="true"] .blog-grid .blog-card-image-default::before,
[data-orinth-preview="true"] .blog-cover-default-art::before {
  animation: orinth-ambient-lustre 6.4s ease-in-out infinite;
}

/* Hidden character dossier opened by clicking Orinth on the home page. */
.orinth-dossier {
  width: min(980px, calc(100vw - 2rem));
  max-height: min(88dvh, 820px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 58%, var(--line));
  border-radius: 4px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.orinth-dossier::backdrop {
  background: rgba(5, 8, 8, 0.76);
  backdrop-filter: blur(5px);
}

html.orinth-dossier-open {
  overflow: hidden;
}

.orinth-dossier[open] {
  animation: orinth-dossier-in 240ms ease-out both;
}

@keyframes orinth-dossier-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.orinth-dossier-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(390px, 1.12fr);
  max-height: min(88dvh, 820px);
  overflow: auto;
  background: #081111;
}

.orinth-dossier-art {
  position: sticky;
  top: 0;
  align-self: start;
  height: min(88dvh, 820px);
  display: grid;
  padding: clamp(1.2rem, 3vw, 2.3rem);
  place-items: center;
  background:
    linear-gradient(rgba(7, 16, 17, 0.86), rgba(7, 16, 17, 0.96)),
    url("/orinth-assets/scenes/orinth-dossier-v3.webp") 58% center / cover;
  border-right: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
}

.orinth-puzzle-frame {
  width: min(100%, 370px);
  padding: clamp(0.85rem, 2vw, 1.2rem);
  border: 1px solid rgba(213, 154, 31, 0.55);
  background: rgba(4, 10, 10, 0.88);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38), inset 0 0 0 4px rgba(213, 154, 31, 0.05);
}

.orinth-puzzle-kicker {
  margin: 0 0 0.7rem;
  color: #ddb75f;
  font: 700 0.62rem/1.4 "Lucida Console", "Cascadia Mono", monospace;
  letter-spacing: 0.1em;
}

.orinth-puzzle {
  display: grid;
  width: 100%;
  aspect-ratio: var(--orinth-puzzle-ratio, 1 / 1);
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(226, 188, 99, 0.72);
  background: #020606;
  box-shadow: 0 0 32px rgba(20, 184, 174, 0.11);
}

.orinth-puzzle-tile,
.orinth-puzzle-blank {
  position: relative;
  min-width: 0;
  min-height: 0;
  border-radius: 1px;
}

.orinth-puzzle-tile {
  border: 0;
  background-image: var(--orinth-puzzle-image, url("/orinth-assets/scenes/orinth-dossier-v3.webp"));
  background-repeat: no-repeat;
  background-size: 300% 300%;
  box-shadow: inset 0 0 0 1px rgba(245, 216, 145, 0.18);
  cursor: pointer;
  transition: filter 130ms ease, transform 130ms ease;
}

.orinth-puzzle-complete {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  background-image: var(--orinth-puzzle-image, url("/orinth-assets/scenes/orinth-dossier-v3.webp"));
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(245, 216, 145, 0.2);
  animation: orinth-final-piece 520ms ease both;
}

.orinth-puzzle-note {
  margin: 0.7rem 0 0;
  padding-left: 0.7rem;
  border-left: 2px solid rgba(213, 154, 31, 0.55);
  color: #b9c7be;
  font: 0.61rem/1.5 "Lucida Console", "Cascadia Mono", monospace;
  letter-spacing: 0.035em;
}

.orinth-puzzle-note[hidden] {
  display: none !important;
}

.orinth-puzzle-collection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.7rem;
  color: #ddb75f;
  font: 700 0.58rem/1.4 "Lucida Console", "Cascadia Mono", monospace;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.orinth-puzzle-collection-marks {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.35rem;
}

.orinth-puzzle-collection-marks i {
  display: block;
  width: 0.58rem;
  height: 0.58rem;
  border: 1px solid rgba(221, 183, 95, 0.56);
  background: rgba(3, 8, 8, 0.72);
  transform: rotate(45deg);
}

.orinth-puzzle-collection-marks i.is-found {
  background: #2a9a7d;
  box-shadow: 0 0 8px rgba(42, 154, 125, 0.48);
}

@keyframes orinth-final-piece {
  from { opacity: 0; filter: brightness(1.8); }
  to { opacity: 1; filter: none; }
}

.orinth-puzzle-tile:hover,
.orinth-puzzle-tile:focus-visible {
  z-index: 2;
  filter: brightness(1.14) saturate(1.08);
  outline: 2px solid #e1b453;
  outline-offset: -2px;
}

.orinth-puzzle-blank {
  background:
    radial-gradient(circle at 50% 45%, rgba(34, 166, 154, 0.08), transparent 60%),
    repeating-linear-gradient(135deg, rgba(226, 188, 99, 0.04) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.78);
}

.orinth-puzzle-tile::after {
  content: attr(data-number);
  position: absolute;
  right: 0.35rem;
  bottom: 0.25rem;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid rgba(237, 205, 126, 0.7);
  background: rgba(3, 8, 8, 0.78);
  color: #f3d884;
  font: 700 0.6rem/1 monospace;
  opacity: 0;
  transition: opacity 120ms ease;
}

.orinth-puzzle.shows-hints .orinth-puzzle-tile::after {
  opacity: 1;
}

.orinth-puzzle.needs-neighbour {
  animation: orinth-puzzle-nudge 180ms ease;
}

@keyframes orinth-puzzle-nudge {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-3px); }
  70% { transform: translateX(3px); }
}

.orinth-puzzle-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.orinth-puzzle-controls button {
  flex: 1 1 8rem;
  min-height: 2.35rem;
  border: 1px solid rgba(213, 154, 31, 0.48);
  background: rgba(20, 28, 27, 0.92);
  color: #e4d8bd;
  font: 700 0.65rem/1.2 "Lucida Console", "Cascadia Mono", monospace;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.orinth-puzzle-controls button:hover,
.orinth-puzzle-controls button:focus-visible {
  border-color: #e1b453;
  color: #f4d678;
}

.orinth-puzzle-controls button[hidden] {
  display: none !important;
}

.orinth-puzzle-status {
  min-height: 2.7em;
  margin: 0.75rem 0 0;
  color: #b9c7be;
  font: 0.7rem/1.45 "Lucida Console", "Cascadia Mono", monospace;
}

.orinth-dossier-copy {
  position: relative;
  min-height: min(88dvh, 820px);
  padding: clamp(2.1rem, 4vw, 3.15rem) clamp(1.6rem, 4vw, 3rem);
}

.orinth-scroll {
  color: #251c11;
  background:
    linear-gradient(90deg, rgba(91, 56, 18, 0.12), transparent 8%, transparent 92%, rgba(91, 56, 18, 0.14)),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(105, 76, 38, 0.055) 25px 26px),
    linear-gradient(135deg, #f3e3bb 0%, #ead3a3 46%, #f7e8c4 100%);
  box-shadow: inset 16px 0 30px rgba(88, 53, 17, 0.08), inset -16px 0 30px rgba(88, 53, 17, 0.08);
}

.orinth-scroll::before,
.orinth-scroll::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0.85rem;
  right: 0.85rem;
  height: 9px;
  border: 1px solid rgba(93, 58, 19, 0.42);
  border-radius: 50%;
  background: linear-gradient(#c99d56, #8b5d26 55%, #d7ad66);
  box-shadow: 0 2px 7px rgba(67, 39, 11, 0.23);
}

.orinth-scroll::before { top: 0.65rem; }
.orinth-scroll::after { bottom: 0.65rem; }

.orinth-scroll-seal {
  position: relative;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 0 1.15rem;
  place-items: center;
  border: 2px solid #6d291e;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #b95f45, #762f24 68%, #4b1d19);
  color: #f0c98b;
  box-shadow: 0 5px 10px rgba(65, 25, 16, 0.25), inset 0 0 0 3px rgba(255, 210, 146, 0.12);
  font: 700 0.68rem/1 monospace;
  transition: transform 520ms ease, opacity 420ms ease;
}

.orinth-scroll[data-unlocked="true"] .orinth-scroll-seal {
  transform: rotate(-16deg) translate(-7px, 2px);
  opacity: 0.62;
}

.orinth-dossier-cipher {
  width: 100%;
  display: grid;
  gap: 1rem;
  color: #765b34;
  font: 0.94rem/1.65 "Lucida Console", "Cascadia Mono", monospace;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
  opacity: 0.82;
  filter: blur(0.15px);
}

.orinth-dossier-cipher p {
  margin: 0;
}

.orinth-dossier-clear[hidden],
.orinth-dossier-cipher[hidden] {
  display: none !important;
}

.orinth-scroll.just-unlocked .orinth-dossier-clear {
  animation: orinth-scroll-reveal 720ms ease both;
}

@keyframes orinth-scroll-reveal {
  from { opacity: 0; filter: blur(5px); transform: translateY(8px); }
  to { opacity: 1; filter: none; transform: none; }
}

.orinth-dossier-close {
  position: sticky;
  z-index: 3;
  top: 0.8rem;
  float: right;
  display: grid;
  width: 42px;
  height: 42px;
  margin: -0.35rem -0.35rem 0 0.8rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(245, 228, 190, 0.92);
  color: #352416;
  font: 700 1.3rem/1 monospace;
  cursor: pointer;
}

.orinth-dossier-close:hover,
.orinth-dossier-close:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.orinth-dossier-kicker,
.orinth-dossier-file {
  margin: 0;
  color: #9a6119;
  font: 700 0.68rem/1.4 "Lucida Console", "Cascadia Mono", monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.orinth-dossier h2 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.orinth-dossier-lead {
  max-width: 38rem;
  margin: 0 0 1.35rem;
  color: #5e4930;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.55;
}

.orinth-dossier-story {
  display: grid;
  gap: 0.9rem;
}

.orinth-dossier-story p {
  margin: 0;
  line-height: 1.62;
}

.orinth-dossier-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.5rem 0;
  padding: 1px;
  background: rgba(104, 71, 30, 0.4);
}

.orinth-dossier-fact {
  min-width: 0;
  padding: 0.8rem;
  background: rgba(248, 233, 199, 0.78);
}

.orinth-dossier-fact dt {
  margin-bottom: 0.25rem;
  color: #256b57;
  font: 700 0.58rem/1.3 "Lucida Console", "Cascadia Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orinth-dossier-fact dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.orinth-dossier-file {
  padding-top: 1rem;
  border-top: 1px solid rgba(104, 71, 30, 0.42);
  color: #256b57;
}

@media (max-width: 480px) {
  [data-orinth-preview="true"] .hub-dosi-dark-hole {
    left: 50% !important;
    width: 190px !important;
    height: 190px !important;
    bottom: 8px !important;
  }

  [data-orinth-preview="true"] .hub-dosi-card {
    min-height: 250px !important;
  }

  [data-orinth-preview="true"] .hub-dosi-stage {
    width: 205px !important;
    min-height: 205px !important;
  }

  [data-orinth-preview="true"] .hub-dosi-image {
    width: 190px !important;
    bottom: 44px !important;
    transform: translate(-50%, 36px) !important;
  }

  [data-orinth-preview="true"] .hub-dosi-dark-hole img {
    transform: none;
  }

  [data-orinth-preview="true"] .hero::before {
    display: none;
  }

  [data-orinth-preview="true"] .faq-hero-art {
    min-height: 170px !important;
    height: 185px !important;
  }

  [data-orinth-preview="true"] .faq-art {
    width: min(100%, 330px) !important;
    height: 175px !important;
  }

  [data-orinth-preview="true"] .release-keyfile-visual {
    width: min(100%, 290px) !important;
    height: 220px !important;
  }

  [data-orinth-preview="true"] .release-rating {
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }

  [data-orinth-preview="true"] .release-rating-visual {
    width: 118px !important;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .orinth-signal-status {
    font-size: 0.55rem;
  }

  .orinth-signal-lyric strong {
    font-size: 0.8rem;
  }
}

@media (max-width: 720px) {
  .orinth-dossier .orinth-signal {
    width: 100%;
    margin: 0 0 1.15rem;
    padding: 0.72rem;
  }

  .orinth-signal-bar {
    flex-wrap: wrap;
  }

  .orinth-signal-status {
    width: 100%;
  }

  .orinth-signal-lyric {
    min-height: 54px;
    padding-left: 0.7rem;
  }

  .orinth-signal-lyric strong {
    font-size: 0.78rem;
  }

  .orinth-signal-progress,
  .orinth-signal-transcript {
    width: calc(100% - 0.7rem);
    margin-left: 0.7rem;
  }

  .orinth-signal-transcript > div {
    position: relative;
    top: auto;
    width: 100%;
    margin-top: 0.5rem;
  }

  .orinth-dossier {
    width: min(94vw, 560px);
    max-height: 92dvh;
  }

  .orinth-dossier-shell {
    display: block;
    max-height: 92dvh;
  }

  .orinth-dossier-art {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  }

  .orinth-puzzle-frame {
    width: min(100%, 330px);
    padding: 0.75rem;
  }

  .orinth-dossier-copy {
    min-height: 0;
    padding: 2rem 1.25rem 2.35rem;
  }

  .orinth-dossier-facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orinth-dossier[open] {
    animation: none;
  }

  .orinth-scroll.just-unlocked .orinth-dossier-clear,
  .orinth-puzzle.needs-neighbour,
  .orinth-puzzle-complete {
    animation: none;
  }

  [data-orinth-preview="true"] .hero::before {
    animation: none !important;
  }

  .orinth-signal.just-unlocked,
  .orinth-signal-lyric.changes-line strong {
    animation: none !important;
  }

  [data-orinth-preview="true"] .hub-dosi-image,
  [data-orinth-preview="true"] .hub-dosi-dark-hole img,
  [data-orinth-preview="true"] .newsletter-dosi img,
  [data-orinth-preview="true"] .newsletter-status-dosi img,
  [data-orinth-preview="true"] .dosi-mascot img,
  [data-orinth-preview="true"] .contact-dosi-image,
  [data-orinth-preview="true"] .links-hero-image,
  [data-orinth-preview="true"] .blog-comment-avatar,
  [data-orinth-preview="true"] .error-art img,
  [data-orinth-preview="true"] .faq-art img,
  [data-orinth-preview="true"] .release-keyfile-visual img,
  [data-orinth-preview="true"] .release-rating-visual img,
  [data-orinth-preview="true"] .shop-hero-art img,
  [data-orinth-preview="true"] img[src*="/orinth-assets/"],
  [data-orinth-preview="true"] .blog-grid-home .blog-card-image-default::before,
  [data-orinth-preview="true"] .blog-grid .blog-card-image-default::before,
  [data-orinth-preview="true"] .blog-cover-default-art::before {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .orinth-preview-ribbon {
    right: 0.45rem;
    bottom: 0.45rem;
    font-size: 0.58rem;
  }
}
