:root {
  color-scheme: dark;
  --bg: #0d1211;
  --bg-soft: #111816;
  --panel: #171e1c;
  --panel-blue: #1a2228;
  --line: rgba(231, 238, 231, 0.12);
  --line-strong: rgba(187, 210, 193, 0.25);
  --text: #edf1ed;
  --text-soft: #abb5af;
  --text-dim: #737e78;
  --sage: #afc8b4;
  --sage-strong: #c9d9cc;
  --sage-ink: #152019;
  --blue: #a5b7c2;
  --amber: #d8c69f;
  --page: 1180px;
  --page-narrow: 820px;
  --header-height: 62px;
  --section-space: 64px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 16% -8%, rgba(101, 133, 112, 0.18), transparent 30rem),
    radial-gradient(circle at 90% 22%, rgba(82, 103, 116, 0.12), transparent 28rem),
    linear-gradient(180deg, #0d1211 0%, #111614 52%, #0d1211 100%);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(236, 242, 235, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 242, 235, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus {
  outline: 2px solid var(--sage-strong);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: 0;
}

:focus-visible {
  outline: 3px solid var(--sage-strong);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.page-container {
  width: calc(100% - 32px);
  max-width: var(--page);
  margin-right: auto;
  margin-left: auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--sage-ink);
  background: var(--sage-strong);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(13, 18, 17, 0.95);
  border-bottom: 1px solid rgba(231, 238, 231, 0.08);
}

.topbar__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: flex;
  min-width: 0;
  min-height: 44px;
  flex: 1 1 auto;
  align-items: center;
  gap: 9px;
}

.brand__mark {
  display: grid;
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: var(--sage-strong);
  background: rgba(175, 200, 180, 0.08);
  border: 1px solid rgba(175, 200, 180, 0.22);
  border-radius: 7px;
  font: 700 11px/1 Georgia, "Songti SC", serif;
}

.brand__copy {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.11em;
}

.brand small {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 12px;
}

.topbar__actions {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  gap: 6px;
}

.topbar__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.topbar__bili {
  color: #b8c4cc;
  background: rgba(165, 183, 194, 0.06);
}

.topbar__site {
  color: var(--sage-strong);
  background: rgba(175, 200, 180, 0.07);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 44px;
  padding-bottom: var(--section-space);
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--text-dim);
  font: 700 12px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--sage);
}

.hero h1,
.section-heading h2,
.finder-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero h1 {
  margin-top: 16px;
  font-size: 48px;
  font-size: clamp(44px, 12.8vw, 60px);
  line-height: 1.08;
}

.hero h1 em {
  color: var(--sage-strong);
  font-style: normal;
}

.hero__lead {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  letter-spacing: 0.06em;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}

.hero__actions > .button {
  width: 100%;
}

.hero-trust {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}

.hero-trust span {
  white-space: nowrap;
}

.hero-trust strong {
  color: var(--text-soft);
  font-weight: 700;
}

.hero-trust i {
  color: rgba(175, 200, 180, 0.35);
  font-style: normal;
}

.hero-trust small {
  width: 100%;
  color: #5f6964;
  font-size: 13px;
}

.hero-featured {
  min-width: 0;
  margin-top: 56px;
}

.hero-featured__heading h2 {
  margin: 9px 0 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 32px;
  font-size: clamp(30px, 8.5vw, 38px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.hero-featured__heading > p:last-child {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button--primary {
  color: var(--sage-ink);
  background: var(--sage);
  border-color: var(--sage);
}

.button--secondary {
  color: #d9e2dc;
  background: rgba(165, 183, 194, 0.1);
  border-color: rgba(165, 183, 194, 0.25);
}

.button--ghost {
  color: #c2cec6;
  background: transparent;
  border-color: rgba(175, 200, 180, 0.2);
}

.button--small {
  min-height: 44px;
  padding: 9px 11px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.finder,
.final-cta {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-heading h2,
.finder-heading h2,
.final-cta h2 {
  margin-top: 10px;
  font-size: 34px;
  font-size: clamp(32px, 8.8vw, 40px);
  line-height: 1.12;
}

.section-heading > p,
.finder-heading > p,
.final-cta > div > p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

.featured-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  margin-top: 20px;
  background: rgba(23, 30, 28, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.featured-card__cover {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #0b0f0e;
}

.featured-card__cover img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

.featured-card__cover > span {
  position: absolute;
  top: 10px;
  left: 9px;
  padding: 4px 6px;
  color: #e8eee9;
  background: rgba(10, 14, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font: 700 8px/1.2 Consolas, monospace;
  letter-spacing: 0.07em;
}

.featured-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 18px 18px;
}

.featured-card__author {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
}

.featured-card__author strong {
  color: var(--sage-strong);
}

.tag-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 7px;
  color: #c4cec8;
  background: rgba(231, 238, 231, 0.045);
  border: 1px solid rgba(231, 238, 231, 0.1);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
}

.featured-card h3 {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  font-family: Georgia, "Songti SC", serif;
  font-size: 29px;
  line-height: 1.2;
}

.featured-card__summary {
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}

.mini-meta,
.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(231, 238, 231, 0.08);
}

.mini-meta div,
.result-meta div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.mini-meta dt,
.mini-meta dd,
.result-meta dt,
.result-meta dd {
  margin: 0;
  font-size: 13px;
}

.mini-meta dt,
.result-meta dt {
  color: var(--text-dim);
}

.mini-meta dd,
.result-meta dd {
  color: #d6ded8;
  font-weight: 700;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
}

.finder {
  max-width: var(--page-narrow);
  border-top: 1px solid var(--line);
}

.finder-shell {
  padding: 20px 16px;
  background: rgba(17, 24, 22, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.finder-heading {
  max-width: 650px;
}

.quiz-progress {
  margin-top: 26px;
}

.quiz-progress__copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-size: 14px;
}

.quiz-progress__copy small {
  color: var(--text-dim);
}

.quiz-progress__track {
  height: 3px;
  margin-top: 9px;
  overflow: hidden;
  background: rgba(231, 238, 231, 0.08);
  border-radius: 999px;
}

.quiz-progress__track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--sage);
  transition: width 180ms ease;
}

.quiz-stage {
  min-width: 0;
  margin-top: 24px;
}

.quiz-loading {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.question-panel {
  min-width: 0;
}

.question-count {
  margin: 0;
  color: var(--sage);
  font: 700 12px/1.2 Consolas, monospace;
  letter-spacing: 0.1em;
}

.question-panel h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  line-height: 1.3;
}

.answer-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}

.answer-option {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: var(--text);
  background: rgba(231, 238, 231, 0.035);
  border: 1px solid rgba(231, 238, 231, 0.12);
  border-radius: 11px;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.answer-option__copy {
  min-width: 0;
}

.answer-option strong,
.answer-option small {
  display: block;
}

.answer-option strong {
  font-size: 16px;
}

.answer-option small {
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 14px;
}

.answer-option__arrow {
  display: grid;
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: var(--sage);
  border: 1px solid rgba(175, 200, 180, 0.2);
  border-radius: 50%;
  font-size: 12px;
}

.match-reveal {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 18px 0 8px;
  overflow: hidden;
}

.match-reveal__status,
.match-reveal__complete {
  margin: 0;
  color: var(--text-dim);
  font: 700 12px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
}

.match-reveal__complete {
  margin-top: 14px;
  color: var(--sage);
  opacity: 0;
}

.archive-card {
  position: relative;
  width: 70vw;
  min-width: 210px;
  max-width: 270px;
  height: 326px;
  margin-top: 15px;
  perspective: 900px;
}

.archive-card::before {
  position: absolute;
  top: 8%;
  right: -13%;
  bottom: -8%;
  left: -13%;
  background: radial-gradient(circle, rgba(175, 200, 180, 0.16), transparent 66%);
  content: "";
  pointer-events: none;
}

.archive-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.archive-card__face {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background: #151d1a;
  border: 1px solid rgba(175, 200, 180, 0.3);
  border-radius: 17px;
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.42);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.archive-card__back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
}

.archive-card__back::before {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid rgba(175, 200, 180, 0.14);
  border-radius: 12px;
  content: "";
}

.archive-card__brand,
.archive-card__back strong,
.archive-card__back small {
  position: relative;
  z-index: 1;
}

.archive-card__brand {
  color: var(--sage);
  font: 700 12px/1.2 Consolas, monospace;
  letter-spacing: 0.2em;
}

.archive-card__grid {
  position: absolute;
  top: 42px;
  right: 24px;
  bottom: 42px;
  left: 24px;
  background-image:
    linear-gradient(rgba(231, 238, 231, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 238, 231, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid rgba(231, 238, 231, 0.06);
  border-radius: 50%;
}

.archive-card__back strong {
  margin-top: 90px;
  color: var(--text);
  font: 700 17px/1.2 Consolas, monospace;
  letter-spacing: 0.16em;
}

.archive-card__back small {
  margin-top: 9px;
  color: var(--text-dim);
  font: 700 11px/1.3 Consolas, monospace;
  letter-spacing: 0.08em;
}

.archive-card__front {
  background: #0a0e0d;
  transform: rotateY(180deg);
}

.archive-card__front::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 10, 9, 0.92) 100%);
  content: "";
}

.archive-card__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card__front span,
.archive-card__front strong {
  position: absolute;
  z-index: 1;
  right: 16px;
  left: 16px;
}

.archive-card__front span {
  top: 15px;
  color: var(--sage-strong);
  font: 700 8px/1.2 Consolas, monospace;
  letter-spacing: 0.1em;
}

.archive-card__front strong {
  bottom: 18px;
  overflow-wrap: anywhere;
  font-family: Georgia, "Songti SC", serif;
  font-size: 21px;
  line-height: 1.25;
}

@supports (transform-style: preserve-3d) {
  .archive-card__inner {
    transform-style: preserve-3d;
  }

  .match-reveal.is-active {
    animation: matchStageIn 180ms ease both;
  }

  .match-reveal.is-active .archive-card__inner {
    animation: archiveCardFlip 1550ms cubic-bezier(0.2, 0.76, 0.28, 1) both;
  }

  .match-reveal.is-active .match-reveal__complete {
    animation: matchLabelIn 240ms ease 1300ms both;
  }
}

@keyframes matchStageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes archiveCardFlip {
  0% { opacity: 0; transform: translateY(14px) scale(0.92) rotateY(0deg); }
  12% { opacity: 1; }
  66% { transform: translateY(-8px) scale(1.025) rotateY(470deg); }
  86% { transform: translateY(3px) scale(0.99) rotateY(540deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateY(540deg); }
}

@keyframes matchLabelIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.match-result.is-direct-reveal {
  animation: directResultIn 220ms ease both;
}

@keyframes directResultIn {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

.match-result {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  overflow: hidden;
  background: var(--panel-blue);
  border: 1px solid rgba(165, 183, 194, 0.24);
  border-radius: var(--radius-md);
}

.match-result__cover {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: #0a0e0d;
}

.match-result__cover img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.match-result__cover span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 7px;
  color: #e9efea;
  background: rgba(9, 13, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font: 700 8px/1.2 Consolas, monospace;
  letter-spacing: 0.1em;
}

.match-result__body {
  min-width: 0;
  padding: 20px 16px 16px;
}

.match-result__body > h3 {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 15px;
}

.match-result__body > h4 {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
  line-height: 1.25;
}

.match-result__summary {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 16px;
}

.result-proof {
  display: inline-flex;
  align-self: flex-start;
  margin: 12px 0 0;
  padding: 5px 8px;
  color: var(--amber);
  background: rgba(216, 198, 159, 0.07);
  border: 1px solid rgba(216, 198, 159, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.match-result .tag-row {
  margin-top: 14px;
}

.match-reasons {
  margin-top: 16px;
  padding: 12px 13px;
  background: rgba(175, 200, 180, 0.055);
  border-left: 2px solid rgba(175, 200, 180, 0.7);
}

.match-reasons strong {
  font-size: 14px;
}

.match-reasons ul {
  margin: 7px 0 0;
  padding-left: 17px;
  color: var(--text-soft);
  font-size: 14px;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.browser-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  padding: 11px 13px;
  color: var(--text-soft);
  background: rgba(165, 183, 194, 0.055);
  border: 1px solid rgba(165, 183, 194, 0.14);
  border-radius: 10px;
}

.browser-note strong {
  font-size: 14px;
}

.browser-note p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}

.noscript-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.noscript-card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.noscript-card strong,
.noscript-card h3,
.noscript-card p {
  margin: 0;
}

.noscript-card h3 {
  margin-top: 8px;
  font-family: Georgia, "Songti SC", serif;
}

.noscript-card p {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
}

.noscript-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 10px;
  color: var(--sage-strong);
  font-size: 14px;
  font-weight: 800;
}

.final-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 18px;
  padding-right: 20px;
  padding-left: 20px;
  background: linear-gradient(135deg, rgba(175, 200, 180, 0.08), transparent 58%), #151b19;
  border: 1px solid rgba(175, 200, 180, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.final-cta__actions {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.final-cta__bili {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  color: var(--text-dim);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer strong {
  color: var(--text-soft);
}

.toast {
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  max-width: 520px;
  margin-left: auto;
  padding: 11px 13px;
  color: #e8eee9;
  background: #202a27;
  border: 1px solid rgba(175, 200, 180, 0.28);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .answer-option:hover {
    transform: translateY(-2px);
  }

  .button--primary:hover {
    background: var(--sage-strong);
    border-color: var(--sage-strong);
  }

  .button--secondary:hover,
  .button--ghost:hover,
  .topbar__actions a:hover {
    color: var(--text);
    background: rgba(165, 183, 194, 0.16);
    border-color: rgba(165, 183, 194, 0.3);
  }

  .answer-option:hover {
    background: rgba(175, 200, 180, 0.08);
    border-color: rgba(175, 200, 180, 0.28);
  }

  .featured-card:hover {
    border-color: rgba(175, 200, 180, 0.28);
  }

  .text-link:hover,
  .final-cta__bili:hover {
    color: var(--text);
  }
}

@media (min-width: 560px) {
  .page-container {
    width: calc(100% - 48px);
  }

  .card-actions,
  .result-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero__actions > .button {
    width: auto;
    min-width: 210px;
  }

  .card-actions .button--primary,
  .result-actions .button--primary {
    flex: 1 1 auto;
  }

  .card-actions .button--ghost,
  .result-actions .button:not(.button--primary) {
    flex: 0 0 auto;
  }

  .answer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-card__body {
    padding: 22px;
  }

  .noscript-card {
    flex-direction: row;
  }

  .noscript-card img {
    width: 180px;
    flex: 0 0 180px;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  :root {
    --header-height: 68px;
    --section-space: 84px;
  }

  .page-container {
    width: calc(100% - 64px);
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
  }

  .topbar__actions a {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 68px;
  }

  .finder {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
  }

  .section-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
  }

  .section-heading > p {
    max-width: 360px;
    padding-bottom: 5px;
    text-align: right;
  }

  .finder-shell {
    padding: 34px;
  }

  .match-result {
    display: grid;
    grid-template-columns: minmax(230px, 38%) minmax(0, 1fr);
  }

  .match-result__cover,
  .match-result__cover img {
    min-height: 430px;
    height: 100%;
  }

  .match-result__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
  }

  .browser-note {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .browser-note strong {
    flex: 0 0 auto;
  }

  .final-cta {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 620px;
    flex-direction: row;
    align-items: center;
    gap: 44px;
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .hero__copy {
    width: auto;
    max-width: 640px;
    flex: 1 1 55%;
  }

  .hero h1 {
    font-size: 70px;
    font-size: clamp(64px, 6vw, 84px);
  }

  .hero__lead {
    font-size: 19px;
  }

  .hero__actions {
    max-width: 620px;
  }

  .hero-featured {
    max-width: 480px;
    flex: 1 1 45%;
    margin-top: 0;
  }

  .hero-featured__heading h2 {
    font-size: 32px;
  }

  .featured-card__cover img {
    width: 100%;
    height: 220px;
    max-height: 220px;
    object-fit: cover;
  }

  .featured-card__body {
    padding: 24px;
  }

  .featured-card h3 {
    font-size: 31px;
  }

  .featured-card__summary {
    font-size: 15px;
  }

  .final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 56px;
    align-items: center;
    padding: 58px 54px;
  }

  .final-cta__actions {
    align-self: center;
  }
}

@media (min-width: 1440px) {
  .page-container {
    width: calc(100% - 96px);
  }

  .hero {
    gap: 64px;
  }

  .featured-card__cover img {
    height: 245px;
    max-height: 245px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .hero {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .hero-featured__heading h2 {
    margin-top: 6px;
    font-size: 30px;
  }

  .hero-featured__heading > p:last-child {
    margin-top: 5px;
  }

  .featured-card {
    margin-top: 14px;
  }

  .featured-card__cover img {
    height: 180px;
    max-height: 180px;
  }

  .featured-card__body {
    padding: 18px 20px;
  }

  .featured-card h3 {
    margin-top: 5px;
    font-size: 28px;
  }

  .featured-card__summary {
    margin-top: 6px;
    line-height: 1.55;
  }

  .mini-meta {
    margin-top: 8px;
    padding-top: 7px;
  }

  .card-actions {
    padding-top: 8px;
  }
}

@media (max-width: 374px) {
  .page-container {
    width: calc(100% - 24px);
  }

  .brand__mark {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    flex-basis: 24px;
  }

  .brand small {
    display: none;
  }

  .topbar__actions a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }

  .topbar__bili {
    display: none !important;
  }

  .hero h1 {
    font-size: 42px;
    font-size: clamp(42px, 12.8vw, 46px);
  }

  .hero-trust {
    column-gap: 5px;
  }

  .featured-card__body {
    padding-right: 10px;
    padding-left: 10px;
  }

  .featured-card h3 {
    font-size: 21px;
  }

  .finder-shell {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .match-reveal,
  .match-reveal *,
  .match-reveal *::before,
  .match-reveal *::after {
    animation: none !important;
  }

  .match-result.is-direct-reveal {
    animation: none !important;
  }
}
