@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/barlow-500.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-600.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/barlow-700.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-latin.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg: #10191a;
  --surface: #182425;
  --line: #354445;
  --ink: #eff3e8;
  --muted: #a0b1ad;
  --accent: #d1f3a0;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 14px/1.65 'Instrument Sans',
    system-ui,
    sans-serif;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 13px;
  background: #172425;
}
button,
summary,
select {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:hover,
select:hover {
  border-color: #bad6a1;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--accent);
  color: #16231a;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.site-header,
body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 15px 4vw;
  border-bottom: 1px solid #b1cfb51a;
  background: #10191af2;
  position: relative;
  z-index: 4;
}
.logo,
.wordmark {
  display: inline-flex;
  align-items: center;
  font: 600 24px/1 var(--display);
  letter-spacing: 0.09em;
  text-decoration: none;
}
.logo-symbol,
.wordmark .mark {
  width: 21px;
  height: 21px;
  background: var(--accent);
  clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 65%, 50% 100%, 36% 65%, 0 50%, 36% 35%);
  display: inline-block;
  margin-right: 9px;
  font-size: 0;
}
.site-header nav,
.account {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header nav a,
.account-link {
  font-size: 12px;
  text-decoration: none;
  color: #b9ccc3;
}
.account-link {
  border-bottom: 1px solid #7d9b83;
  padding-bottom: 4px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.17em;
  font-weight: 600;
  color: #b1c7b6;
}
/* Landing composition: a single visual story with restrained movement. */
.editorial-hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  height: calc(100svh - 78px);
  max-height: 920px;
  display: flex;
  align-items: center;
  padding: 80px 6vw 110px;
  overflow: hidden;
  background: #172a23;
}
.editorial-art,
.editorial-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.editorial-art {
  background: url('/assets/portal-1600.webp') 66% center/cover;
}
.editorial-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, #10191af2 0%, #10191ac7 36%, #10191a12 72%),
    linear-gradient(0deg, #10191a, transparent 30%);
}
.editorial-copy {
  max-width: 700px;
}
.editorial-copy h1 {
  font: 600 clamp(60px, 7.8vw, 118px) / 0.95 var(--display);
  letter-spacing: -0.025em;
  margin: 24px 0;
}
.editorial-copy h1 em {
  font-style: normal;
  color: #d1e7b2;
}
.editorial-copy > p:not(.eyebrow) {
  font-size: 15px;
  color: #bacac2;
  line-height: 1.9;
  margin: 25px 0;
}
.landing-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.landing-actions > a:last-child {
  font-size: 12px;
  text-underline-offset: 6px;
}
.solid-link,
.hero-button,
#auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--accent);
  border: 1px solid #c0dd99;
  border-radius: 5px;
  color: #192b1d;
  text-decoration: none;
  padding: 13px 19px;
  font-weight: 600;
  font-size: 12px;
}
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#auth-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; background: #f5f6f0; color: #192521; border-color: #d5ddd4; font-weight: 500; }
#auth-google:hover { background: white; }
.hero-footnote {
  position: absolute;
  bottom: 27px;
  left: 6vw;
  right: 6vw;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #9fb8a7;
}
.hero-footnote a {
  text-decoration: none;
}
.landing-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1350px;
  margin: auto;
  padding: 40px 5vw 10px;
  gap: 35px;
}
.landing-routes > a {
  display: grid;
  gap: 12px;
  text-decoration: none;
  padding: 22px 0;
  border-bottom: 1px solid #52624b;
}
.landing-routes strong {
  font: 500 32px/1.1 var(--display);
}
.landing-routes > a > span:last-child {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  color: #b8ccad;
}
.landing-routes b {
  font-size: 16px;
}
.landing-feature {
  max-width: 1350px;
  margin: auto;
  padding: 100px 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
h2 {
  font: 500 clamp(38px, 4.5vw, 65px) / 1 var(--display);
  letter-spacing: -0.02em;
}
.feature-intro h2 {
  margin: 18px 0 24px;
}
.feature-intro > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  max-width: 380px;
  color: var(--muted);
}
.feature-intro > a {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  text-underline-offset: 6px;
  color: var(--accent);
}
.feature-notes article {
  display: flex;
  gap: 22px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #35443d;
}
.feature-notes article > span {
  font-size: 29px;
  line-height: 1.5;
  color: var(--accent);
}
.feature-notes h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 12px;
}
.feature-notes p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.feature-notes a {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 11px;
  text-underline-offset: 4px;
}
.quiet-banner {
  min-height: 420px;
  max-width: 1220px;
  margin: 0 auto 50px;
  padding: 55px;
  background:
    linear-gradient(90deg, #132a20f5, #132a2055),
    url('/assets/portal-1600.webp') 70% 61% / cover;
  border-radius: 8px;
}
.quiet-banner h2 {
  margin: 22px 0 30px;
}
.questions {
  max-width: 1320px;
  margin: auto;
  padding: 65px 5vw 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}
.questions h2 {
  margin: 18px 0;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
summary {
  font-size: 13px;
  font-weight: 500;
}
details p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.landing-footer,
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 28px 4vw;
  color: #a3b6aa;
}
.landing-footer p,
.site-footer p {
  font-size: 11px;
  margin: 0;
}
.landing-footer > div {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
}
.motion-setting {
  border: 0;
  background: transparent;
  font-size: 11px;
  color: inherit;
  padding: 0;
  text-decoration: underline;
}
.workspace {
  max-width: 1510px;
  margin: auto;
  padding: 23px 4vw 55px;
}
.catalog-context {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9db2a5;
  margin-bottom: 30px;
}
.catalog-context a {
  text-decoration: none;
}
.discovery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
#section-title {
  font: 500 48px/1 var(--display);
  margin: 10px 0;
}
#new-releases {
  background: transparent;
  border-color: #566a59;
  font-size: 11px;
}
#sections {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  margin: 0 0 18px;
}
#sections button {
  padding: 7px 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  color: #9fb6a7;
  font-size: 12px;
}
#sections button[aria-pressed='true'] {
  color: var(--accent);
  border-color: var(--accent);
}
.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}
#query {
  width: 100%;
  min-width: 0;
  background: #192c29;
  padding: 13px 16px;
  font-size: 13px;
}
.search-row button {
  font-size: 12px;
  background: #22392f;
}
#catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
#catalog-filters select {
  flex: 1 1 175px;
  font-size: 12px;
}
#status {
  font-size: 11px;
  color: #bad0bf;
  margin: 20px 0 3px;
}
small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  line-height: 1.5;
}
#status + small {
  margin-bottom: 24px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.card {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid #354445;
  position: relative;
}
.card:hover {
  background: #19302655;
}
.preview-trigger {
  position: relative;
  display: block;
  align-self: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
}
.preview-trigger::after {
  content: 'View game ↗';
  position: absolute;
  bottom: 5px;
  right: 5px;
  padding: 2px 5px;
  background: #0f2118dc;
  color: #e5f6db;
  font-size: 9px;
  border-radius: 3px;
  opacity: 0;
}
.preview-trigger:hover::after,
.preview-trigger:focus-visible::after {
  opacity: 1;
}
.art {
  display: block;
  width: 100%;
  aspect-ratio: 460/215;
  object-fit: cover;
  background: #233c30;
}
.card .art {
  height: auto;
  aspect-ratio: 231 / 87;
}
.details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 160px;
  grid-template-rows: auto auto;
  gap: 6px 25px;
  align-content: center;
  align-items: center;
  padding: 5px 8px 5px 0;
}
.details h3 {
  grid-column: 1;
  grid-row: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
}
.details > small {
  grid-column: 1;
  grid-row: 2;
  font-size: 10px;
}
.price {
  grid-column: 2;
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 14px;
}
.price del {
  color: #8fa89a;
  font-size: 10px;
}
.badge {
  background: #a7d491;
  color: #17351b;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 600;
}
.actions {
  grid-column: 3;
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
}
.actions a {
  font-size: 10px;
  color: var(--accent);
  text-decoration: none;
}
.actions button {
  font-size: 10px;
  background: transparent;
  padding: 5px 9px;
}
#load-more-area {
  text-align: center;
  margin-top: 30px;
}
#loaded-count {
  font-size: 11px;
  color: var(--muted);
}
#load-more {
  min-width: 220px;
  padding: 13px 25px;
  background: #294333;
  border-color: #769263;
}
.placeholder {
  height: 106px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, #182827 25%, #254133 45%, #182827 65%);
  background-size: 220% 100%;
}
.empty-state {
  text-align: center;
  padding: 65px 20px;
  color: #aec5b4;
}
.empty-state h3 {
  font: 500 34px var(--display);
  color: var(--ink);
  margin: 0 0 10px;
}
.empty-state p {
  font-size: 13px;
}
dialog {
  background: #182a27;
  color: var(--ink);
  border: 1px solid #547361;
  border-radius: 10px;
  padding: 28px;
  width: min(460px, 94vw);
  max-height: 90svh;
  overflow: auto;
}
dialog::backdrop {
  background: #071711b8;
  backdrop-filter: blur(4px);
}
#game-preview {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(510px, 100vw);
  height: 100dvh;
  max-height: none;
  border-radius: 0;
  border: 0;
  border-left: 1px solid #66866c;
  padding: 0;
}
#game-preview > .art {
  aspect-ratio: 460/215;
  height: auto;
  max-height: 35svh;
  object-fit: contain;
  background: #0f1b17;
}
#preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  background: #14281de6;
}
.preview-body {
  padding: 32px;
}
.preview-body h2 {
  font-size: 44px;
  margin: 15px 0 25px;
  overflow-wrap: anywhere;
}
.preview-body p {
  font-size: 14px;
  line-height: 1.7;
}
.preview-body h3 {
  font-size: 17px;
  font-weight: 500;
  margin-top: 26px;
}
.review-summary {
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin-top: 22px;
}
#preview-rating {
  color: var(--accent);
  font-size: 13px;
  margin: 7px 0 0;
}
#preview-facts,
#preview-status {
  font-size: 11px;
  color: var(--muted);
}
#preview-status:empty {
  display: none;
}
.preview-body .hero-button {
  margin-top: 24px;
  width: 100%;
}
.auth-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 440px);
  align-items: stretch;
  align-content: center;
  justify-content: center;
  gap: 0;
  background: radial-gradient(ellipse at 50% 50%, #2e4b38, transparent 70%), #10191a;
  padding: 50px;
}
.auth-page > header,
.auth-page > .workspace,
.auth-page > .site-footer {
  display: none;
}
.auth-scene {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 100%;
  min-height: 670px;
  background: #c9ddbb;
  color: #203b29;
  border-radius: 18px 0 0 18px;
  padding: 30px;
  overflow: hidden;
}
.auth-scene-logo {
  font-size: 11px;
  text-decoration: none;
}
.access-symbol {
  font: 500 300px/0.9 var(--display);
  align-self: center;
  transform: rotate(-15deg);
  color: #345d3b;
  text-shadow: 10px 10px 0 #abc49b;
}
.auth-scene h2 {
  font-size: 41px;
  margin: 15px 0;
}
.auth-scene .eyebrow {
  color: #385c3f;
  font-size: 8px;
}
.auth-scene > div > p:last-child {
  font-size: 12px;
}
.auth-page #auth-dialog {
  position: static;
  margin: 0;
  border: 0;
  border-left: 1px solid #4b6e53;
  border-radius: 0 18px 18px 0;
  padding: 45px;
  width: 100%;
  max-height: none;
  min-height: 670px;
}
.auth-brand {
  font: 600 21px var(--display);
  letter-spacing: 0.1em;
  text-decoration: none;
  display: block;
  margin-bottom: 36px;
}
#auth-title {
  font: 500 38px var(--display);
  margin: 0 0 10px;
}
#auth-help {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 25px;
}
dialog label {
  display: block;
  font-size: 12px;
  margin-top: 17px;
}
dialog input {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: #10251e;
}
.password-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.auth-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: #b3dba6;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#auth-submit {
  width: 100%;
  margin-top: 23px;
}
.auth-navigation {
  display: flex;
  justify-content: space-between;
  gap: 17px;
  border-top: 1px solid #3d5945;
  padding-top: 22px;
  margin-top: 25px;
}
#auth-verify {
  margin-top: 15px;
}
#auth-error {
  color: #ffdbad;
  background: #473e28;
  border-radius: 4px;
  padding: 10px;
  font-size: 11px;
}
#auth-error:empty {
  display: none;
}
#notice {
  position: fixed;
  right: 18px;
  bottom: 80px;
  max-width: min(370px, 90vw);
  background: #264a31;
  color: #e6f6df;
  z-index: 9;
  border: 1px solid #739960;
  border-radius: 7px;
  padding: 12px 17px;
  font-size: 12px;
}
#letter-open {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 7;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 0;
  font-size: 23px;
  background: #efc3b6;
  color: #573634;
  border-color: #ffdccb;
  box-shadow: 0 8px 25px #0005;
}
#love-letter {
  position: fixed;
  inset: auto 18px 78px auto;
  margin: 0;
  width: min(400px, calc(100vw - 36px));
  max-height: calc(100svh - 100px);
  background: #fff4e6;
  color: #402d27;
  border: 1px solid #ddc1b0;
  border-top: 5px solid #ae6d6b;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 20px 70px #0005;
  transform-origin: bottom right;
}
#love-letter h2 {
  font:
    500 29px/1.15 Georgia,
    serif;
  margin: 0;
}
#love-letter p {
  font-size: 13px;
  line-height: 1.8;
}
#love-letter small {
  color: #795e52;
}
#love-letter textarea {
  display: block;
  width: 100%;
  background: #fffaf4;
  color: #402d27;
  border-color: #c6a796;
  resize: vertical;
  margin: 7px 0 15px;
}
#love-letter button {
  background: #f6e3d6;
  color: #402d27;
  border-color: #c6a796;
  font-size: 12px;
}
#love-letter button[type='submit'] {
  background: #864e4f;
  color: #fff;
}
#feedback-status:empty {
  display: none;
}
#inbox-messages article {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
#inbox-messages p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
#inbox-messages strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .placeholder {
    animation: shimmer 1.5s linear infinite;
  }
  dialog[open] {
    animation: appear 0.25s ease-out;
  }
  #game-preview[open] {
    animation: drawer 0.32s ease-out;
  }
  @keyframes shimmer {
    to {
      background-position: -220% 0;
    }
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes drawer {
    from {
      opacity: 0.3;
      transform: translateX(60px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 1000px) {
  .details {
    grid-template-columns: minmax(0, 1fr) 145px;
    gap: 7px 20px;
  }
  .actions {
    grid-column: 2;
    grid-row: 2;
  }
  .price {
    grid-row: 1;
    grid-column: 2;
  }
  .card {
    gap: 17px;
  }
}
@media (max-width: 650px) {
  .site-header,
  body > header {
    padding: 14px 20px;
    min-height: 70px;
    gap: 12px;
  }
  .site-header nav {
    display: none;
  }
  .logo,
  .wordmark {
    font-size: 22px;
  }
  .account-link {
    font-size: 11px;
  }
  .questions {
    padding-top: 0;
  }
  .landing-footer,
  .site-footer {
    padding: 25px 22px;
    gap: 18px;
  }
  .workspace {
    padding: 18px 16px 40px;
  }
  .catalog-context {
    font-size: 9px;
  }
  .catalog-context span {
    display: none;
  }
  #section-title {
    font-size: 38px;
  }
  #new-releases {
    padding: 8px;
    font-size: 10px;
  }
  #sections {
    gap: 20px;
  }
  #sections button {
    font-size: 11px;
  }
  .search-row {
    gap: 5px;
  }
  #query {
    font-size: 12px;
    padding: 12px 9px;
  }
  .search-row button {
    padding: 10px 8px;
    font-size: 11px;
  }
  .card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    min-height: 128px;
  }
  .details {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5px;
    padding: 0;
  }
  .details h3 {
    font-size: 13px;
    line-height: 1.3;
  }
  .details > small {
    font-size: 9px;
  }
  .price {
    justify-content: start;
    font-size: 12px;
  }
  .actions {
    gap: 13px;
    width: 100%;
    justify-content: space-between;
  }
  .actions a {
    font-size: 9px;
  }
  .actions button {
    font-size: 9px;
    padding: 3px 7px;
  }
  .badge {
    font-size: 9px;
    padding: 2px 5px;
  }
  .auth-page {
    display: block;
    padding: 22px;
  }
  .auth-scene {
    width: 100%;
    min-height: 210px;
    max-height: none;
    padding: 22px;
    border-radius: 12px 12px 0 0;
    justify-content: space-between;
  }
  .auth-scene h2 {
    font-size: 32px;
    margin: 10px 0 0;
  }
  .auth-scene > div > p:last-child {
    display: none;
  }
  .access-symbol {
    position: absolute;
    right: 20px;
    top: 60px;
    font-size: 110px;
    opacity: 0.4;
  }
  .auth-scene .eyebrow {
    font-size: 8px;
  }
  .auth-page #auth-dialog {
    width: 100%;
    min-height: 0;
    padding: 28px 23px;
    border: 0;
    border-radius: 0 0 12px 12px;
  }
  .auth-brand {
    display: none;
  }
  .preview-body {
    padding: 25px;
  }
  .account {
    gap: 10px;
  }
  .account button {
    padding: 7px 9px;
    font-size: 11px;
  }
}
/* Responsive landing rules are grouped separately from the account and catalog layout. */
:root[data-environment='arctic'] .editorial-art {
  filter: saturate(0.65);
}
:root[data-environment='ember'] .editorial-art {
  filter: sepia(0.15);
}
@media (prefers-reduced-motion: no-preference) {
  .editorial-art {
    animation: ambient-zoom 25s ease-in-out infinite alternate;
  }
  .landing-routes > a {
    transition:
      color 0.2s,
      border-color 0.2s;
  }
  .landing-routes > a:hover {
    color: var(--accent);
    border-color: var(--accent);
  }
  @keyframes ambient-zoom {
    to {
      transform: scale(1.04);
    }
  }
}
@media (max-width: 700px) {
  .editorial-hero {
    height: auto;
    min-height: 720px;
    padding: 235px 24px 100px;
    align-items: end;
  }
  .editorial-art {
    background-position: 66% top;
  }
  .editorial-shade {
    background: linear-gradient(0deg, #10191a 0%, #10191adf 42%, #10191a22);
  }
  .editorial-copy h1 {
    font-size: clamp(52px, 11vw, 74px);
  }
  .editorial-copy .eyebrow {
    font-size: 8px;
  }
  .editorial-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .landing-actions {
    gap: 18px;
  }
  .hero-footnote {
    left: 24px;
    right: 24px;
    font-size: 8px;
  }
  .hero-footnote > span {
    display: none;
  }
  .landing-routes {
    grid-template-columns: 1fr;
    padding: 20px 24px;
    gap: 5px;
  }
  .landing-routes strong {
    font-size: 30px;
  }
  .landing-feature {
    grid-template-columns: 1fr;
    padding: 45px 24px;
    gap: 40px;
  }
  .quiet-banner {
    margin: 0 20px 35px;
    padding: 30px;
    min-height: 350px;
  }
  .questions {
    grid-template-columns: 1fr;
    padding: 35px 24px 65px;
    gap: 25px;
  }
}

/* Comfortable reading, clear actions and restrained motion across all pages. */
button,
select,
input {
  min-height: 44px;
}
.account button,
.actions button {
  min-height: 40px;
}
.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 12px;
}
.details h3 {
  font-size: 17px;
}
.details > small,
small,
#status,
#loaded-count {
  font-size: 12px;
}
.details > small {
  color: #afc1b8;
}
.catalog-disclosure {
  margin: 0 0 24px;
}
.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 8px;
}
.results-meta #status {
  margin: 0;
}
#clear-filters {
  padding: 5px 12px;
  min-height: 36px;
  font-size: 12px;
  background: transparent;
  white-space: nowrap;
}
#sections {
  scrollbar-width: thin;
  scrollbar-color: #526956 transparent;
}
#sections button {
  min-height: 44px;
  font-size: 13px;
}
#catalog-filters {
  background: linear-gradient(125deg, #1d3029, #182425);
}
#catalog-filters select {
  min-height: 46px;
}
.card {
  transition:
    background-color 0.2s,
    border-color 0.2s;
  content-visibility: auto;
  contain-intrinsic-size: auto 110px;
}
.preview-trigger {
  box-shadow: 0 5px 18px #050d0b55;
}
.preview-trigger img {
  transition: transform 0.35s ease;
}
.preview-trigger:hover img {
  transform: scale(1.04);
}
.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
}
.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.auth-assurance {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 16px 0 0;
}
.auth-page #auth-dialog {
  box-shadow: 18px 25px 80px #030b0844;
}
.auth-scene {
  background-image: radial-gradient(ellipse at 20% 0%, #eff7cd90, transparent 70%);
}
.auth-scene .access-symbol {
  animation: none;
}
.sponsor-placement {
  border: 1px solid #56705c;
  border-radius: 12px;
  padding: 16px 22px;
  margin: 20px 0 28px;
  background: linear-gradient(120deg, #20362c, #182925);
  overflow: hidden;
}
.sponsor-label {
  display: block;
  color: #adc0ae;
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.sponsor-link {
  display: flex;
  gap: 25px;
  align-items: center;
  text-decoration: none;
  min-height: 105px;
}
.sponsor-link img {
  width: 180px;
  height: 101px;
  object-fit: cover;
  border-radius: 7px;
}
.sponsor-link strong {
  font: 500 26px/1.15 var(--display);
  color: var(--ink);
}
.sponsor-link p {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0;
}
.sponsor-action {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.landing-sponsor {
  max-width: 1100px;
  margin: 20px auto 70px;
}
.no-script {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 10;
  padding: 20px;
  background: #203a2d;
  border: 1px solid #d1f3a0;
}
.legal-page {
  max-width: 820px;
  margin: 60px auto 100px;
  padding: 0 24px;
}
.legal-page h1 {
  font: 500 clamp(48px, 7vw, 72px) / 1 var(--display);
}
.legal-page h2 {
  font: 500 30px/1.2 var(--display);
  margin: 40px 0 16px;
}
.legal-page p,
.legal-page li {
  line-height: 1.9;
  color: #bed0c6;
  font-size: 15px;
}
.legal-page nav {
  display: flex;
  gap: 24px;
}
.legal-page section {
  scroll-margin-top: 30px;
}
@media (max-width: 700px) {
  .details h3 {
    font-size: 15px;
  }
  .details > small {
    font-size: 11px;
  }
  .actions button {
    min-height: 40px;
    min-width: 48px;
    font-size: 11px;
  }
  .actions a {
    font-size: 11px;
  }
  #sections {
    gap: 22px;
  }
  .catalog-context {
    margin-bottom: 22px;
  }
  .results-meta {
    align-items: flex-start;
  }
  .landing-sponsor {
    margin: 20px 24px 40px;
  }
  .sponsor-placement {
    padding: 16px;
  }
  .sponsor-link {
    gap: 15px;
  }
  .sponsor-link img {
    width: 95px;
    height: 95px;
  }
  .sponsor-link strong {
    font-size: 23px;
  }
  .sponsor-link p {
    font-size: 12px;
  }
  .landing-footer > div {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 700px) {
  .editorial-art {
    background-image: url('/assets/portal-768.webp');
  }
  .quiet-banner {
    background-image: linear-gradient(90deg, #132a20f5, #132a2055), url('/assets/portal-768.webp');
  }
}

.layout-switch {display:flex;justify-content:flex-end;gap:8px;margin:16px 0}
.layout-switch button {font-size:12px}
.layout-switch button[aria-pressed='true'] {background:var(--accent);color:var(--bg)}
#grid.tile-layout {grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;border:0}
.tile-layout .card {display:flex;flex-direction:column;padding:0;gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface);content-visibility:visible}
.tile-layout .preview-trigger {width:100%;border-radius:0}
.tile-layout .details {display:flex;flex:1;flex-direction:column;align-items:stretch;padding:18px;gap:12px}
.tile-layout .price {justify-content:flex-start}
.tile-layout .actions {margin-top:auto;justify-content:space-between;width:100%}
@media(max-width:560px){#grid.tile-layout{grid-template-columns:1fr}}
