/* Coral match: an illustrated field notebook, with readable choices and clear next steps. */
.quiz-page {
  --gutter: clamp(22px, 4.5vw, 64px);
  --quiz-surface: #fafaf3;
  --quiz-muted: #42656a;
  --quiz-line: #073e4826;
  background: var(--paper); color: var(--ink);
}
.quiz-page main { max-width: 1320px; margin-inline: auto; padding: 0 var(--gutter); }
.quiz-page .eyebrow { font-size: 12px; }
.quiz-page .quiz-header { position: relative; --header-color: var(--ink); padding-block: 22px; border-bottom: 1px solid var(--quiz-line); gap: 28px; }
.quiz-header nav { margin-inline-start: auto; gap: 25px; font-size: 12px; }
.quiz-header nav a { padding-block: 12px; }
.quiz-language { display: inline-flex; align-items: center; flex: none; gap: 2px; padding: 4px; border: 1px solid var(--quiz-line); border-radius: 26px; }
.quiz-language button { min-width: 43px; min-height: 36px; padding: 6px 11px; border-radius: 22px; background: transparent; color: var(--ink); font-size: 12px; line-height: 1.5; }
.quiz-language button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.quiz-language button:disabled { opacity: .45; cursor: default; }
.shared-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 20px; }
.shared-entry > p { max-width: 46ch; color: var(--quiz-muted); font-size: 14px; line-height: 1.8; }
.shared-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.shared-entry-actions .match-primary { min-height: 48px; }
.result-view[data-shared="true"] .result-entry { display: none; }
.quiz-page:lang(zh) { --sans: Manrope, "PingFang SC", "Microsoft YaHei", sans-serif; --serif: "Noto Serif SC", "Songti SC", SimSun, serif; }
.quiz-page:lang(zh) em { font-style: normal; }
.quiz-page:lang(zh) .eyebrow { letter-spacing: .04em; }
.match-view { padding: clamp(30px, 4vw, 54px) 0; }
.match-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 9px; }
.match-primary, .match-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 52px; padding: 13px 23px; border-radius: 28px; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; line-height: 1.5; transition: background 160ms ease, transform 160ms ease; }
.match-primary { background: var(--ink); color: var(--paper); }
.match-secondary { background: transparent; color: var(--ink); }
.match-primary:hover:not(:disabled) { background: var(--teal); transform: translateY(-1px); }
.match-secondary:hover { background: #073e480a; }
.match-primary:disabled { opacity: .4; cursor: default; }
.match-primary > span:last-child, .match-secondary > span:last-child { font-size: 21px; line-height: 1; flex: none; }
.match-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.6; }
.match-back:hover { text-decoration: underline; text-underline-offset: 5px; }

/* A small, tab-local place to pause and return. */
.quiz-session { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 1120px; margin: 15px auto 0; padding: 8px 0; border-bottom: 1px solid var(--quiz-line); }
.session-copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.session-symbol { display: none; }
.session-copy p { margin: 0; font-size: 12px; line-height: 1.8; }
.session-copy strong { display: block; font-weight: 600; }.session-copy p > span { display: block; color: var(--quiz-muted); }
.session-actions { display: flex; align-items: center; gap: 18px; flex: none; flex-wrap: wrap; }
.session-clear { min-height: 44px; padding: 8px 0; background: transparent; color: var(--quiz-muted); font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
.session-clear:disabled { opacity: .5; text-decoration: none; cursor: default; }
.session-clear:focus-visible, .session-actions .match-back:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 3px; }

/* Introduction */
.match-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(35px, 6vw, 90px); align-items: center; min-height: calc(100svh - 125px); }
.intro-copy { grid-column: 1; grid-row: 1; align-self: end; }
.intro-opening { position: relative; }
.intro-peek { display: none; }
.intro-details { grid-column: 1; grid-row: 2; align-self: start; }
.intro-copy h1 { font-size: clamp(54px, 6.3vw, 84px); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; margin-top: 19px; outline: none; max-width: 560px; }
.intro-copy h1 em { font-size: 1.15em; letter-spacing: -.035em; }
.intro-copy h1:lang(zh) { font-size: clamp(46px, 5.3vw, 72px); line-height: 1.35; letter-spacing: 0; }
.intro-copy h1:lang(zh) em { font-size: 1.05em; letter-spacing: 0; }
.match-lead { font-size: 19px; line-height: 1.7; font-weight: 500; margin-top: 22px; }
.intro-description { font-size: 14px; line-height: 1.85; max-width: 390px; color: var(--quiz-muted); margin-top: 14px; text-wrap: balance; }
.intro-term { white-space: nowrap; }
.intro-copy > .match-primary { margin-top: 25px; min-width: 228px; }
.quiz-meta { font-size: 12px; line-height: 1.8; color: var(--quiz-muted); margin-top: 14px; }
.quiz-meta > span { padding-inline: 6px; }
.intro-route { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--quiz-line); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; max-width: 450px; }
.intro-route li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.65; }
.intro-route li > span:first-child { color: #9b614b; font-size: 12px; letter-spacing: .08em; }
.match-disclosure { font-size: 12px; line-height: 1.8; max-width: 410px; margin-top: 17px; color: #567174; }
.intro-specimens { grid-column: 2; grid-row: 1/span 2; margin: 0; background: #e8ece0; border-radius: 44% 44% 24px 24px; padding: 36px 27px 25px; }
.specimen-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: 10px; color: #42656a; }
.specimen-heading .eyebrow { font-size: 12px; letter-spacing: .08em; }
.specimen-heading > span:last-child { font-size: 27px; }
.specimen-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 23px; }
.specimen { border-radius: 48% 48% 16px 16px; padding: 10px 4px 17px; text-align: center; overflow: hidden; }
.specimen-branching { background: #f4ded0; }.specimen-boulder { background: #e9e5d0; }.specimen-plating { background: #d9e9df; }.specimen-encrusting { background: #ecdee5; }.specimen-table { background: #d8e9e8; }.specimen-mushroom { background: #f0e4cf; }
.specimen svg { display: block; width: 100%; height: auto; max-height: 170px; }
.specimen > span { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; font-size: 12px; letter-spacing: .04em; color: #42656a; }
.intro-specimens figcaption { font-size: 12px; line-height: 1.7; text-align: center; color: #567174; margin-top: 20px; }

/* Answering */
.question-view { display: grid; grid-template-columns: minmax(180px,.7fr) minmax(0,1.3fr); gap: clamp(35px,5vw,75px); max-width: 1120px; margin-inline: auto; align-items: start; min-height: calc(100svh - 140px); }
.question-aside { padding: 30px 0; }
.question-aside h2 { font-size: clamp(28px,3vw,42px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin-top: 19px; }
.question-aside h2 em { font-size: 1.2em; }
.question-aside .journey-hint { font-size: 13px; line-height: 1.9; color: var(--quiz-muted); margin-top: 19px; max-width: 290px; }
.journey-reef { width: min(100%,340px); margin: 18px 0 0 -12px; }.journey-reef > svg { display: block; width: 100%; height: auto; overflow: visible; }.journey-reef > p { margin: -3px 0 0 14px; font-size: 12px; line-height: 1.8; color: var(--quiz-muted); }
.journey-layer { opacity: .09; filter: saturate(.3); transition: opacity 450ms ease, filter 450ms ease; }.journey-layer[data-active="true"] { opacity: 1; filter: none; }
.journey-stages { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 23px 0 0; padding: 0; max-width: 335px; }
.journey-stages li { display: flex; flex-direction: column; align-items: start; gap: 7px; min-width: 0; padding-bottom: 9px; border-bottom: 2px solid var(--quiz-line); font-size: 12px; line-height: 1.7; color: var(--quiz-muted); }
.journey-number { display: grid; place-items: center; flex: none; width: 29px; height: 29px; border: 1px solid var(--quiz-line); border-radius: 50%; font-size: 12px; letter-spacing: .03em; transition: background 160ms ease; }
.journey-stages [data-state="current"] { font-weight: 700; color: var(--ink); border-color: var(--coral); }.journey-stages [data-state="current"] .journey-number { color: var(--paper); border-color: var(--ink); background: var(--ink); }.journey-stages [data-state="past"] .journey-number { background: #e2e8dc; color: var(--ink); }
.question-card { min-width: 0; padding: 31px 34px 28px; border: 1px solid var(--quiz-line); border-radius: 28px; background: var(--quiz-surface); box-shadow: 0 12px 28px #073e4804; }
.question-progress { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--quiz-muted); }
.question-card progress { appearance: none; display: block; width: 100%; height: 5px; margin: 15px 0 23px; border: 0; border-radius: 5px; overflow: hidden; background: #073e4815; color: var(--coral); }
.question-card progress::-webkit-progress-bar { background: #073e4815; }.question-card progress::-webkit-progress-value { background: var(--coral); }.question-card progress::-moz-progress-bar { background: var(--coral); }
.question-moment { font-size: 12px; color: #955d46; margin-bottom: 10px; }
.question-card h1 { font-size: clamp(25px,2.3vw,32px); line-height: 1.4; letter-spacing: -.03em; font-weight: 500; outline: none; }
.question-context { font-size: 15px; line-height: 1.8; color: var(--quiz-muted); margin-top: 10px; }
.question-card fieldset { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.answer-options { display: grid; gap: 11px; }
.answer-option { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 17px; border: 1px solid #073e482d; border-radius: 16px; background: #fffef8; font-size: 16px; line-height: 1.7; cursor: pointer; transition: background 160ms ease,border-color 160ms ease,box-shadow 160ms ease; }
.answer-option:hover { border-color: #073e4870; background: #f0f3e9; }
.answer-option:has(input:checked) { background: #e5eddf; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.answer-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.answer-option:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 3px; }
.answer-marker { display: grid; place-items: center; flex: none; width: 31px; height: 31px; border: 1px solid #073e4838; border-radius: 50%; font-size: 12px; font-weight: 600; color: #42656a; }
.answer-option:has(input:checked) .answer-marker { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.question-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; }
.question-actions .match-primary { min-width: 155px; }
.question-footnote { font-size: 12px; color: #567174; margin-top: 17px; text-align: right; line-height: 1.8; }

/* The result has one compact overview, followed by discovery and sharing. */
.result-view { max-width: 1160px; margin-inline: auto; --profile-accent: #c66c4e; --profile-tint: #f4ded0; padding-top: 26px; }
.result-nav { position: sticky; top: 0; z-index: 4; display: flex; gap: 24px; padding: 7px 0; background: var(--paper); border-bottom: 1px solid var(--quiz-line); margin-bottom: 24px; }
.result-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 15px; border-radius: 24px; font-size: 13px; font-weight: 600; transition: background 160ms ease; }
.result-nav a:hover { background: #e7ecdf; }
.result-nav a[aria-current="location"] { background: var(--ink); color: var(--paper); }
#match-profile, #reef-discoveries, #share-coral, .discovery-story { scroll-margin-top: 100px; }
.result-hero { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(28px,4vw,55px); padding: 32px; border: 1px solid var(--quiz-line); border-radius: 30px; background: var(--quiz-surface); }
.result-summary { min-width: 0; }
.result-overview { margin-bottom: 25px; }
.result-overview h1 { font-size: clamp(40px,4.8vw,60px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; margin-top: 12px; outline: none; }
.result-overview h1 em { font-size: 1.08em; }
.result-lead { max-width: 65ch; font-size: 15px; line-height: 1.85; color: var(--quiz-muted); margin-top: 15px; }
.joint-match-list { display: grid; grid-template-columns: repeat(var(--joint-count),minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.joint-match-list button { display: grid; grid-template-columns: 75px minmax(0,1fr); align-items: center; gap: 0 16px; padding: 18px; min-width: 0; border: 1px solid var(--quiz-line); border-radius: 20px; background: var(--joint-tint); color: var(--ink); text-align: left; }
.joint-match-list svg { width: 75px; height: 74px; grid-row: 1/4; }
.joint-match-list strong { font-size: 19px; line-height: 1.45; font-weight: 600; }
.joint-votes { font-size: 12px; color: var(--quiz-muted); line-height: 1.7; }
.joint-state { font-size: 12px; line-height: 1.7; margin-top: 5px; }
.joint-match-list button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--ink); }
.joint-match-list button[aria-pressed="true"] .joint-state { font-weight: 700; }
.joint-match-list button:hover { border-color: var(--ink); }
.joint-match-list button:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.result-heading h2 { font-size: 34px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; margin-top: 9px; }
.result-heading .eyebrow { font-size: 12px; }
.result-coral { font-size: 13px; color: var(--quiz-muted); margin-top: 12px; }
.result-conservation { margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--quiz-line); }
.result-conservation h3 { font-weight: 600; }
.conservation-fact { margin-top: 10px; font-size: 15px; line-height: 1.75; font-weight: 600; }
.conservation-connection { margin-top: 8px; font-size: 13px; line-height: 1.85; color: var(--quiz-muted); }
.conservation-sources { display: flex; flex-wrap: wrap; gap: 2px 18px; margin-top: 7px; }
.conservation-sources a { display: inline-flex; align-items: center; flex: 1 1 110px; min-width: 0; min-height: 44px; font-size: 12px; line-height: 1.6; color: var(--quiz-muted); text-decoration: underline; text-underline-offset: 4px; }
.result-specimen { margin: 0; padding: 25px 15px 21px; border-radius: 46% 46% 18px 18px; background: var(--profile-tint); text-align: center; }
.result-specimen > .eyebrow { display: block; font-size: 12px; margin-top: 6px; }
.specimen-look { display: block; width: 100%; padding: 0; background: transparent; color: var(--ink); border-radius: 14px; }
.specimen-look svg { display: block; width: 100%; max-height: 265px; height: auto; margin: 6px auto 0; transition: transform 180ms ease; }
.specimen-look:hover svg { transform: translateY(-3px); }
.specimen-look-label { display: inline-flex; align-items: center; gap: 12px; min-height: 38px; padding: 7px 12px; margin: 3px 0 12px; border-radius: 22px; background: #fafaf388; font-size: 12px; font-weight: 600; }
.specimen-look-label > span { font-size: 17px; }
.result-specimen > p { font-size: 14px; line-height: 1.8; font-weight: 500; max-width: 26ch; margin: auto; }
.result-specimen figcaption { font-size: 12px; line-height: 1.6; color: #42656a; margin-top: 10px; }
.result-traits { display: flex; gap: 7px; flex-wrap: wrap; padding: 0; margin: 18px 0 0; list-style: none; }
.result-traits li { border: 1px solid var(--quiz-line); background: #f3f4e766; padding: 5px 11px; border-radius: 22px; font-size: 12px; line-height: 1.6; }
.result-description { font-size: 16px; line-height: 1.85; margin-top: 17px; color: var(--ink); max-width: 58ch; }
.result-persona { padding: 0; margin: 18px 0 0; font-size: 20px; font-weight: 500; line-height: 1.7; max-width: 38ch; text-wrap: pretty; white-space: pre-line; }
.result-take-card { margin-top: 20px; font-size: 14px; gap: 26px; }
.result-view[data-shared="true"] .result-take-card { background: transparent; color: var(--ink); }
.result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 23px; margin-top: 15px; }
.result-actions .match-primary { min-height: 48px; }
.shared-intro { font-size: 12px; line-height: 1.8; color: var(--quiz-muted); margin-top: 16px; max-width: 50ch; }
.profile-details { border-bottom: 1px solid var(--quiz-line); padding: 0; margin-top: 17px; }
.profile-details > summary, .other-matches > summary, .match-about summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding-block: 12px; font-size: 13px; line-height: 1.8; list-style: none; cursor: pointer; }
.profile-details > summary::-webkit-details-marker, .other-matches > summary::-webkit-details-marker, .match-about summary::-webkit-details-marker { display: none; }
.profile-details > summary > span:last-child, .other-matches > summary > span, .match-about summary > span { font-size: 22px; font-weight: 400; }
.profile-details[open] > summary > span:last-child, .other-matches[open] > summary > span, .match-about details[open] > summary > span { transform: rotate(45deg); }
.profile-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 35px; padding: 6px 0 23px; }
.result-quirk > .eyebrow, .result-reflection > .eyebrow { font-size: 12px; }
.result-quirk > p:not(.eyebrow), .result-reflection > p:not(.eyebrow) { font-size: 15px; line-height: 1.9; color: var(--quiz-muted); margin-top: 9px; }
.result-reflection { padding-left: 17px; border-left: 2px solid var(--profile-accent); }
.result-metaphor { font-size: 15px; line-height: 1.9; color: var(--quiz-muted); }
.result-reasons { margin-top: 26px; }
.result-reasons h2 { font-size: 23px; line-height: 1.5; font-weight: 500; }
.result-reasons header p { font-size: 14px; line-height: 1.8; color: var(--quiz-muted); margin-top: 7px; }
.result-reasons ul { list-style: none; padding: 0; margin: 17px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result-reasons li { padding: 20px; border: 1px solid var(--quiz-line); border-radius: 18px; background: #fafaf366; }
.result-reasons li strong { display: block; font-size: 12px; color: var(--quiz-muted); font-weight: 600; }
.result-reasons li blockquote { padding: 0; margin: 9px 0 0; font-size: 16px; line-height: 1.8; font-weight: 500; }
.result-reasons li p, .result-side { font-size: 14px; line-height: 1.8; color: var(--quiz-muted); margin-top: 8px; }
.result-reasons .result-quirk { padding: 16px 20px; margin-top: 16px; border-left: 2px solid var(--profile-accent); background: #e8eee155; border-radius: 0 14px 14px 0; }
.result-side { padding-top: 12px; border-top: 1px solid var(--quiz-line); margin-top: 17px; }
.result-disclosure { font-size: 12px; line-height: 1.8; color: #567174; padding-inline: 2px; margin-top: 12px; }

/* Discovery */
.reef-discoveries { margin-top: 42px; }
.discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.discovery-heading .eyebrow { font-size: 12px; }
.discovery-heading h2 { font-size: clamp(28px,3vw,38px); font-weight: 500; line-height: 1.3; letter-spacing: -.035em; margin-top: 10px; }
.discovery-heading p:not(.eyebrow) { font-size: 15px; line-height: 1.8; color: var(--quiz-muted); margin-top: 10px; }
.discovery-progress { margin: 0!important; padding: 0 0 3px; flex: none; font-size: 13px!important; color: var(--quiz-muted); white-space: nowrap; }
.discovery-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
.discovery-quiz { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 18px 36px; align-items: start; min-width: 0; background: var(--quiz-surface); background: color-mix(in srgb,var(--profile-tint) 50%,var(--quiz-surface)); padding: 28px; border-radius: 24px; }
.discovery-question-head { min-width: 0; align-self: center; padding-bottom: 8px; }
.discovery-step-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.discovery-hint { font-size: 12px; color: var(--quiz-muted); }
.discovery-quiz[data-explored="true"] .discovery-hint { font-weight: 600; }
.discovery-quiz .eyebrow, .discovery-story .eyebrow { font-size: 12px; }
.discovery-quiz h3 { font-size: 25px; line-height: 1.5; font-weight: 600; margin-top: 18px; max-width: 26ch; text-wrap: pretty; }
.discovery-options { display: grid; gap: 9px; }
.discovery-options button { display: grid; grid-template-columns: 27px minmax(0,1fr) auto; align-items: center; gap: 5px 11px; min-height: 54px; padding: 11px 14px; text-align: left; font: inherit; font-size: 15px; line-height: 1.7; color: var(--ink); border: 1px solid #073e4830; border-radius: 16px; background: #fafaf3e6; }
.discovery-quiz[data-explored="true"] .discovery-options { gap: 6px; }
.discovery-quiz[data-explored="true"] .discovery-options button { min-height: 44px; padding-block: 7px; }
.discovery-options button:hover { border-color: var(--ink); }
.discovery-choice-label { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border: 1px solid #073e4826; border-radius: 50%; font-size: 12px; font-weight: 600; }
.discovery-choice-copy { min-width: 0; }
.discovery-choice-badge { font-size: 12px; line-height: 1.6; padding: 3px 7px; border-radius: 12px; background: #073e480b; white-space: nowrap; }
.discovery-options button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.discovery-options button[aria-pressed="true"] .discovery-choice-label { border-color: #f3f4e760; }
.discovery-options button[aria-pressed="true"] .discovery-choice-badge { background: #f3f4e71a; }
.discovery-options button[data-answer-state="correct"] { background: #e5ede2; border-color: #527b65; }
.discovery-options button[data-answer-state="correct-selected"] { background: #325c4d; border-color: #325c4d; }
.discovery-options button[data-answer-state="other"] { background: #fafaf380; }
.discovery-reveal { grid-column: 1/-1; border-top: 1px solid var(--quiz-line); padding: 18px 0 0; }
.discovery-verdict { display: block; font-size: 12px; color: var(--quiz-muted); }
.discovery-reveal p, .discovery-story-body > p { font-size: 15px; line-height: 1.8; color: #294f55; margin-top: 9px; max-width: 72ch; }
.discovery-reveal .discovery-answer { font-size: 16px; font-weight: 600; line-height: 1.6; margin-top: 5px; color: var(--ink); }
.discovery-source { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: #42656a; }
.discovery-stories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; min-width: 0; }
.discovery-story { min-width: 0; border: 1px solid var(--quiz-line); border-radius: 22px; background: var(--quiz-surface); }
.discovery-story summary { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 9px 17px; align-items: center; padding: 22px; cursor: pointer; list-style: none; }
.discovery-story summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -5px; border-radius: 21px; }
.discovery-story summary::-webkit-details-marker { display: none; }
.discovery-story-art { grid-row: 1/span 2; display: block; aspect-ratio: 1; border-radius: 38% 38% 14px 14px; background: var(--profile-tint); overflow: hidden; pointer-events: none; }
.discovery-story-art svg, .discovery-story-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.discovery-story-art svg { padding: 5px; }
.discovery-story-heading { min-width: 0; }
.discovery-story h3 { font-size: 20px; line-height: 1.5; font-weight: 500; margin-top: 6px; text-wrap: pretty; }
.discovery-story-art--shape svg { padding: 0; transform: scale(1.2); transform-origin: 50% 60%; }
.discovery-story-art--local { background: #e5ecdf; }
.discovery-story-art--local img { object-fit: contain; transform: scale(1.12); }
.discovery-story-toggle { grid-column: 2; display: inline-flex; align-items: center; justify-self: start; gap: 10px; font-size: 12px; color: var(--quiz-muted); }
.discovery-story-symbol { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--quiz-line); border-radius: 50%; font-size: 18px; line-height: 1; transition: transform .15s ease,background .15s ease; }
.discovery-story summary:hover .discovery-story-symbol { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.discovery-story[open] .discovery-story-symbol { transform: rotate(45deg); }
.discovery-story[data-explored="true"] .discovery-story-heading .eyebrow { color: #325c4d; }
.discovery-story-body { padding: 0 22px 15px; }
.discovery-story-body > p { margin: 0; border-top: 1px solid var(--quiz-line); padding-top: 15px; }
.discovery-story[open] { border-color: #073e4855; }
.other-matches { border-block: 1px solid var(--quiz-line); margin-top: 30px; padding: 0; scroll-margin-top: 100px; }
.directory-intro { font-size: 14px; color: var(--quiz-muted); line-height: 1.8; margin: 2px 0 14px; }
.other-match-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.other-match { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 14px; min-width: 0; min-height: 98px; padding: 14px; border: 1px solid var(--quiz-line); border-radius: 16px; background: var(--quiz-surface); color: var(--ink); font: inherit; text-align: left; }
.other-match svg { display: block; width: 64px; height: 64px; border-radius: 44% 44% 10px 10px; background: var(--profile-tint); }
.other-match:hover { border-color: #073e4860; }
.other-match[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #e7eddf; }
.other-match:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.other-name { display: block; font-size: 16px; font-weight: 600; line-height: 1.5; }
.other-coral { display: block; font-size: 12px; color: #567174; margin-top: 4px; line-height: 1.6; }
.other-preview { margin-top: 16px; padding: 20px 22px; background: var(--quiz-surface); border: 1px solid var(--quiz-line); border-radius: 18px; }
.other-preview-heading { display: flex; align-items: center; gap: 15px; }
.other-preview-heading h3 { font-size: 22px; font-weight: 500; line-height: 1.5; }
.other-preview-art { flex: none; width: 62px; height: 62px; border-radius: 44% 44% 10px 10px; overflow: hidden; background: var(--profile-tint); }
.other-preview-art svg { display: block; width: 100%; height: 100%; }
.other-fact { font-size: 15px; line-height: 1.8; color: var(--quiz-muted); margin-top: 12px; max-width: 72ch; }
.directory-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-top: 8px; }
.directory-actions > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.directory-actions .match-back { font-size: 13px; }
.other-note { font-size: 12px; color: #567174; line-height: 1.8; padding-bottom: 20px; margin-top: 16px; max-width: 740px; }

/* Sharing */
.result-share { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.85fr); grid-template-rows: 1fr 1fr; gap: 20px 48px; align-items: start; border-radius: 28px; background: #e6ecdf; margin-top: 40px; padding: 36px; }
.share-heading { grid-column: 1; grid-row: 1; align-self: end; min-width: 0; }
.share-copy { min-width: 0; }
.share-heading > .eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; }
.share-kind { border: 1px solid #073e4830; border-radius: 20px; padding: 4px 9px; font-size: 12px; letter-spacing: 0; }
.share-heading h2 { font-size: clamp(28px,3vw,38px); font-weight: 500; line-height: 1.3; letter-spacing: -.03em; margin-top: 16px; max-width: 18ch; }
.share-intro { font-size: 15px; line-height: 1.8; color: var(--quiz-muted); margin-top: 13px; }
.share-joint-note { font-size: 12px; line-height: 1.85; color: var(--quiz-muted); margin-top: 12px; }
.share-caption { margin-top: 20px; border-top: 1px solid var(--quiz-line); }
.share-caption summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 13px; font-weight: 600; list-style: none; cursor: pointer; }
.share-caption summary::-webkit-details-marker { display: none; }
.share-caption summary > span { font-size: 21px; }
.share-caption[open] summary > span { transform: rotate(45deg); }
.share-caption [data-share-caption] { white-space: pre-line; font-size: 15px; line-height: 1.8; margin-top: 6px; text-wrap: pretty; }
.invite-link { display: inline-block; margin-top: 12px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.share-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; }
.share-actions .match-primary { max-width: 100%; gap: 20px; }.share-actions [data-share-label] { font-size: inherit; line-height: inherit; flex: 0 1 auto; }
.save-card[aria-disabled="true"] { opacity: .4; cursor: default; pointer-events: none; }
.share-card { grid-column: 2; grid-row: 1/span 2; min-width: 0; max-width: 360px; width: 100%; justify-self: end; padding: 0; }
.share-card figure { margin: 0; text-align: center; padding: 0; }
.card-preview-open { display: block; width: 100%; padding: 0; border-radius: 8px; background: transparent; }
.card-preview-open:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.share-card img { display: block; width: 100%; height: auto; margin: auto; border: 1px solid #073e4820; border-radius: 5px; box-shadow: 0 8px 25px #073e4810; }
.share-card figcaption { font-size: 12px; line-height: 1.8; color: var(--quiz-muted); max-width: 26ch; margin: 8px auto 0; }
.share-card figure:has(img[hidden]) { display: none; }
.card-status { font-size: 12px; line-height: 1.8; color: var(--quiz-muted); margin: 0 0 16px; }.card-status:empty { display: none; }
.share-card [data-card-retry] { margin-bottom: 10px; }
.share-status { font-size: 12px; line-height: 1.8; color: var(--quiz-muted); overflow-wrap: anywhere; margin-top: 15px; }.share-status:empty { display: none; }
.share-manual { margin-top: 16px; }.share-manual label { display: block; font-size: 12px; margin-bottom: 9px; }
.share-manual textarea { display: block; width: 100%; padding: 15px; border: 1px solid #073e4850; border-radius: 12px; background: var(--quiz-surface); color: var(--ink); font: inherit; font-size: 13px; line-height: 1.8; resize: vertical; overflow-wrap: anywhere; }
.card-lightbox { width: min(780px,calc(100vw - 32px)); height: min(900px,calc(100dvh - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--quiz-line); border-radius: 24px; color: var(--ink); background: var(--quiz-surface); box-shadow: 0 15px 70px #032c3640; overflow: hidden; }
.card-lightbox[open] { display: flex; flex-direction: column; }
.card-lightbox::backdrop { background: #073e48b8; }
.quiz-page:has(.card-lightbox[open]) { overflow: hidden; }
.card-lightbox header { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 18px 10px 25px; background: var(--quiz-surface); border-bottom: 1px solid var(--quiz-line); }
.card-lightbox h2 { font-size: 16px; font-weight: 500; line-height: 1.6; }
.card-lightbox [data-card-close] { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e8eee1; color: var(--ink); font-size: 25px; }
.card-zoom { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-bottom: 1px solid var(--quiz-line); flex: none; }
.card-zoom button { min-width: 44px; min-height: 44px; border: 1px solid var(--quiz-line); border-radius: 24px; background: transparent; color: var(--ink); font-size: 22px; }
.card-zoom button:disabled { opacity: .35; cursor: default; }
.card-zoom output { font-size: 13px; width: 45px; text-align: center; }
.card-zoom .card-fit { font-size: 13px; padding: 9px 15px; margin-left: auto; }
.card-viewport { flex: 1; min-height: 0; overflow: auto; padding: 16px; background: #e7ecdf; overscroll-behavior: contain; }
.card-lightbox img { display: block; width: 100%; max-width: none; height: auto; margin: 0 auto; border: 1px solid var(--quiz-line); border-radius: 5px; }
.card-lightbox footer { padding: 10px 16px; flex: none; }
.card-lightbox footer p, .card-lightbox footer span { font-size: 12px; line-height: 1.7; color: var(--quiz-muted); }
.card-lightbox footer span { opacity: .8; }
.card-viewport:focus-visible, .card-zoom button:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }

/* Care and source notes */
.result-care { margin-top: 36px; padding: 30px; border: 1px solid var(--quiz-line); border-radius: 28px; background: #e8ece066; scroll-margin-top: 90px; }
.care-heading h2 { margin-top: 12px; font-size: 32px; line-height: 1.35; font-weight: 500; letter-spacing: -.03em; }
.care-heading > p:last-child { margin-top: 12px; max-width: 65ch; font-size: 14px; line-height: 1.85; color: var(--quiz-muted); }
.care-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 30px; margin-top: 25px; }
.care-grid article { min-width: 0; }
.care-grid h3 { margin-top: 10px; font-size: 24px; line-height: 1.45; font-weight: 500; letter-spacing: -.025em; }
.care-heading h2, .care-grid h3 { text-wrap: balance; }
.care-grid article > p:not(.eyebrow) { margin-top: 13px; max-width: 46ch; font-size: 14px; line-height: 1.85; color: var(--quiz-muted); }
.care-participation { border-left: 1px solid var(--quiz-line); padding-left: 30px; }
.care-grid .match-primary, .care-grid .match-secondary { max-width: 100%; min-height: 48px; margin-top: 19px; padding: 12px 19px; gap: 18px; font-size: 13px; }
.care-source { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; margin-top: 3px; font-size: 12px; line-height: 1.7; color: var(--quiz-muted); text-decoration: underline; text-underline-offset: 4px; }
.care-restoration { margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--quiz-line); font-size: 13px; line-height: 1.85; color: var(--quiz-muted); }
.care-restoration a { display: inline-flex; align-items: center; max-width: 100%; min-height: 44px; margin-inline-start: 5px; text-decoration: underline; text-underline-offset: 4px; }
.match-about { max-width: 1160px; margin-inline: auto; border-top: 1px solid var(--quiz-line); padding: 13px 0 25px; }
.match-about-copy { max-width: 830px; padding: 8px 0 12px; display: grid; gap: 13px; font-size: 13px; color: var(--quiz-muted); line-height: 1.85; }.match-about-copy a, .quiz-noscript a { text-decoration: underline; text-underline-offset: 4px; }
.quiz-page .site-footer { background: var(--deep); color: var(--paper); border-top: 0; }
.quiz-noscript, .quiz-error { padding: 25px 0 40px; font-size: 14px; line-height: 1.9; }
.quiz-page:lang(zh) .result-overview h1 { letter-spacing: 0; line-height: 1.3; font-size: clamp(38px,4.5vw,56px); }.quiz-page:lang(zh) .result-overview h1 em { font-size: 1em; }
.quiz-page:lang(zh) .question-card h1, .quiz-page:lang(zh) .question-aside h2, .quiz-page:lang(zh) .discovery-heading h2, .quiz-page:lang(zh) .share-heading h2, .quiz-page:lang(zh) .care-heading h2, .quiz-page:lang(zh) .care-grid h3 { letter-spacing: 0; line-height: 1.5; }

@media(max-width:950px) {
  .discovery-grid { grid-template-columns: 1fr; }
  .discovery-stories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .discovery-story summary { grid-template-columns: 63px minmax(0,1fr); gap: 9px 14px; }
  .discovery-quiz h3 { max-width: none; }
  .match-intro { gap: 20px 30px; }.intro-copy h1 { font-size: 64px; }.intro-specimens { padding: 27px 20px 23px; }.specimen-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.specimen svg { max-height: 160px; }
  .question-view { grid-template-columns: 1fr; max-width: 680px; gap: 20px; }.question-aside { padding: 0; }.question-aside h2, .question-aside > p, .question-aside .journey-reef { display: none; }
  .journey-stages { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: none; gap: 14px; margin: 0; }.journey-stages li { flex-direction: column; align-items: start; gap: 7px; padding-bottom: 9px; border-bottom: 2px solid var(--quiz-line); }.journey-stages [data-state="current"] { border-color: var(--coral); }
  .quiz-session { max-width: 680px; }
  .result-hero { padding: 26px; gap: 27px; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); }.result-heading h2 { font-size: 30px; }.result-description { font-size: 15px; }.result-specimen > p { font-size: 13px; }
  .joint-match-list button { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 5px; padding: 15px 10px; }.joint-match-list svg { grid-row: auto; }.joint-match-list strong { font-size: 17px; }
  .result-share { gap: 24px; padding: 27px; }.share-actions .match-primary, .share-actions .match-secondary { padding-inline: 18px; }
}
@media(max-width:650px) {
  .quiz-session { margin-top: 12px; padding: 4px 0; gap: 4px 12px; flex-wrap: wrap; }.session-copy { gap: 8px; flex: 1; }.session-copy p { font-size: 12px; line-height: 1.7; }.session-copy strong { display: none; }.quiz-session[data-state="sessionRestored"] .session-copy strong, .quiz-session[data-state="sessionCleared"] .session-copy strong { display: block; }.session-actions { gap: 4px 13px; }.session-actions:has([data-resume-session]:not([hidden])) { flex-basis: 100%; justify-content: space-between; }.session-actions .match-back, .session-clear { font-size: 12px; }
  .journey-stages { gap: 10px; }.journey-stages li { font-size: 12px; gap: 6px; padding-bottom: 8px; }.journey-number { width: 25px; height: 25px; font-size: 12px; }
  .discovery-stories { grid-template-columns: 1fr; }
  .result-persona { margin: 0; font-size: 17px; line-height: 1.75; }
  .share-caption { margin-top: 12px; }
  .quiz-page .quiz-header { display: grid; grid-template-columns: 1fr auto; padding-block: 16px; gap: 8px 12px; }.quiz-header .wordmark { font-size: 21px; grid-column: 1; grid-row: 1; }.quiz-language { grid-column: 2; grid-row: 1; }.quiz-language button { min-height: 35px; min-width: 39px; padding: 5px 9px; font-size: 12px; }.quiz-header nav { grid-column: 1/-1; grid-row: 2; justify-self: end; margin: 0; gap: 21px; font-size: 12px; }.quiz-header nav a { padding-block: 7px; }
  .match-view { padding-block: 28px; }
  .match-intro { grid-template-columns: 1fr; min-height: 0; gap: 26px; }
  .intro-copy, .intro-details, .intro-specimens { grid-column: 1; grid-row: auto; align-self: auto; }
  .intro-opening { display: grid; grid-template-columns: minmax(0,1fr) 110px; gap: 8px; align-items: center; }
  .intro-copy h1 { font-size: 42px; margin-top: 12px; max-width: none; }
  .intro-copy h1:lang(zh) { font-size: clamp(34px,9.7vw,40px); }
  .intro-title-last { white-space: nowrap; }
  .intro-peek { display: block; width: 100%; height: auto; margin-top: 12px; }
  .intro-copy .match-lead { display: none; }
  .intro-description { font-size: 14px; margin-top: 16px; }
  .intro-copy > .match-primary { min-width: 220px; margin-top: 20px; }
  .quiz-meta { font-size: 12px; margin-top: 12px; }
  .intro-route { padding-top: 15px; font-size: 12px; gap: 10px; }
  .match-disclosure { font-size: 12px; }
  .intro-specimens { max-width: 440px; width: 100%; justify-self: center; padding: 26px 20px 20px; }.specimen-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 19px; }.specimen { padding: 9px 3px 13px; }.specimen svg { max-height: 140px; }.specimen > span { white-space: normal; line-height: 1.5; font-size: 12px; letter-spacing: 0; }.specimen-index { display: none; }.specimen-heading { padding-inline: 2px; }.specimen-heading .eyebrow { font-size: 12px; }.intro-specimens figcaption { font-size: 12px; }
  .question-view { gap: 13px; padding-top: 20px; }.question-aside .eyebrow { font-size: 12px; }.question-card { padding: 22px 18px 18px; border-radius: 24px; }.question-progress { font-size: 12px; }.question-card progress { margin-bottom: 18px; }.question-card h1 { font-size: 25px; }.question-context { font-size: 14px; }.question-card fieldset { margin-top: 19px; }.answer-options { gap: 10px; }.answer-option { font-size: 15px; padding: 13px; gap: 11px; min-height: 80px; border-radius: 16px; }.answer-marker { width: 28px; height: 28px; font-size: 12px; }
  .question-actions { position: static; gap: 14px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--quiz-line); }.question-actions .match-primary { min-width: 126px; min-height: 48px; padding: 11px 16px; gap: 18px; font-size: 14px; }.question-actions .match-back { font-size: 13px; }.question-footnote { font-size: 12px; margin-top: 12px; }
  .result-nav { gap: 3px; padding: 5px 0; margin-bottom: 18px; justify-content: space-between; }.result-nav a { flex: 1; min-height: 44px; padding: 7px 6px; font-size: 12px; line-height: 1.4; text-align: center; }
  #match-profile, #reef-discoveries, #share-coral, #coral-directory, .discovery-story { scroll-margin-top: 78px; }
  .result-overview { margin-bottom: 20px; }.result-overview h1, .quiz-page:lang(zh) .result-overview h1 { font-size: 36px; }.result-view[data-joint="true"] .result-overview h1 { font-size: 30px; line-height: 1.3; }.result-lead { font-size: 14px; margin-top: 12px; }
  .joint-match-list { gap: 8px; margin-top: 16px; }.joint-match-list[data-count="4"] { grid-template-columns: repeat(2,minmax(0,1fr)); }.joint-match-list button { padding: 12px 7px; border-radius: 16px; gap: 5px; }.joint-match-list svg { width: 56px; height: 55px; }.joint-match-list strong { font-size: 14px; }.joint-state { margin-top: 1px; }
  .result-hero { grid-template-columns: 84px minmax(0,1fr); gap: 15px 16px; padding: 21px; border-radius: 24px; }.result-summary { display: contents; }.result-heading { grid-column: 2; grid-row: 1; min-width: 0; }.result-heading h2 { font-size: 27px; margin-top: 8px; line-height: 1.2; }.result-heading .eyebrow { font-size: 12px; }.result-coral { font-size: 13px; margin-top: 8px; }
  .result-specimen { grid-column: 1; grid-row: 1; align-self: center; padding: 7px 2px; border-radius: 46% 46% 12px 12px; }.result-specimen > .eyebrow, .result-specimen > p, .specimen-look-label { display: none; }.specimen-look svg { width: 100%; max-height: 115px; margin: 0; }.result-specimen figcaption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .specimen-look { position: relative; }.specimen-look::after { content: '+'; position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--quiz-line); border-radius: 50%; background: var(--quiz-surface); font-size: 18px; line-height: 1; }
  .result-summary > :not(.result-heading) { grid-column: 1/-1; }.result-traits { gap: 6px; margin: 0; }.result-traits li { font-size: 12px; padding: 5px 9px; }.result-description { font-size: 15px; line-height: 1.85; margin: 0; }.result-entry { margin: 0; }.result-actions { gap: 5px 20px; margin: 0; }.shared-intro { margin: 0 0 12px; font-size: 12px; }
  .result-reasons { margin-top: 23px; }.result-reasons h2 { font-size: 21px; }.result-reasons li { padding: 17px; }.result-reasons li blockquote { font-size: 15px; }.result-reasons li p { font-size: 13px; }.result-reasons .result-quirk { padding: 14px 17px; }
  .result-take-card { margin-top: 22px; width: 100%; }
  .profile-details { padding-inline: 17px; margin-top: 14px; }.profile-details > summary, .other-matches > summary { font-size: 12px; min-height: 54px; }.profile-details-grid, .result-reasons ul { grid-template-columns: 1fr; }.profile-details-grid { gap: 19px; }.result-disclosure { font-size: 12px; margin-top: 11px; }
  .discovery-question-head { align-self: start; padding-bottom: 0; }
  .reef-discoveries { margin-top: 32px; }.discovery-heading { align-items: start; flex-direction: column; gap: 10px; }.discovery-heading h2 { font-size: 26px; margin-top: 9px; }.discovery-heading p:not(.eyebrow) { font-size: 14px; }.discovery-grid { gap: 16px; margin-top: 20px; }.discovery-quiz { grid-template-columns: 1fr; gap: 18px; padding: 21px; }.discovery-stories { gap: 16px; }.discovery-story summary { padding: 20px; grid-template-columns: 63px minmax(0,1fr); gap: 8px 14px; }.discovery-story-body { padding-inline: 20px; }.discovery-quiz h3 { font-size: 21px; margin-top: 14px; }.discovery-options button { grid-template-columns: 27px minmax(0,1fr); font-size: 14px; padding: 11px; min-height: 54px; gap: 4px 10px; }.discovery-choice-badge { grid-column: 2; justify-self: start; padding: 0; background: transparent!important; }.discovery-story h3 { font-size: 19px; }.discovery-reveal p, .discovery-story-body > p { font-size: 15px; }.discovery-reveal { padding: 16px 0 0; }
  .other-matches { margin-top: 26px; }
  .directory-intro { font-size: 14px; margin-bottom: 12px; }
  .other-match-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .other-match { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 12px 8px; min-height: 122px; }
  .other-match svg { width: 60px; height: 56px; }
  .other-name { font-size: 15px; }
  .other-coral { font-size: 12px; margin-top: 3px; }
  .other-preview { padding: 18px; }
  .other-preview-heading h3 { font-size: 20px; }
  .other-preview-art { width: 56px; height: 56px; }
  .other-fact { font-size: 15px; line-height: 1.8; }
  .directory-actions { gap: 0 16px; }
  .other-note { font-size: 12px; }
  .result-share { grid-template-columns: 1fr; grid-template-rows: auto; gap: 14px; padding: 23px; margin-top: 32px; border-radius: 24px; }.share-heading { grid-column: 1; grid-row: auto; }.share-heading h2 { font-size: 27px; max-width: none; margin-top: 8px; }.share-intro { font-size: 14px; margin-top: 8px; }.share-heading > .eyebrow { font-size: 12px; gap: 6px 10px; }.share-heading > .eyebrow > span:first-child { display: none; }.share-kind { border: 0; padding: 0; }.share-actions { gap: 9px 14px; }.share-actions .match-primary { min-width: 100%; font-size: 14px; }.share-actions .match-secondary { min-height: 48px; padding-inline: 17px; font-size: 14px; }.share-card { grid-column: 1; grid-row: auto; max-width: 272px; justify-self: center; padding: 0; }.share-card img { width: 100%; }.share-card figcaption { font-size: 12px; margin-top: 8px; }
  .card-lightbox { width: calc(100vw - 20px); max-width: calc(100vw - 20px); height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); border-radius: 18px; }
  .card-lightbox header { padding: 8px 12px; }
  .result-conservation { margin-top: 3px; padding-top: 17px; }.conservation-connection { font-size: 14px; }.conservation-sources { gap: 2px 12px; }
  .result-care { padding: 21px; margin-top: 29px; border-radius: 24px; }.care-heading h2 { font-size: 26px; }.care-heading > p:last-child, .care-grid article > p:not(.eyebrow) { font-size: 15px; }.care-grid { grid-template-columns: 1fr; gap: 23px; margin-top: 23px; }.care-grid h3 { font-size: 22px; }.care-participation { border-left: 0; border-top: 1px solid var(--quiz-line); padding-left: 0; padding-top: 23px; }.care-grid .match-primary, .care-grid .match-secondary { width: 100%; justify-content: space-between; }.care-restoration { margin-top: 19px; font-size: 14px; }.care-restoration a { margin-inline-start: 0; }
  .match-about summary { font-size: 12px; }.match-about-copy { font-size: 12px; }.quiz-page .site-footer { padding-top: 29px; }.quiz-page .footer-links { margin-top: 4px; }
}
@media(max-width:360px) {
  .quiz-page { --gutter: 16px; }.quiz-header .wordmark { font-size: 18px; }.quiz-header nav { font-size: 12px; }
  .intro-opening { grid-template-columns: minmax(0,1fr) 84px; }
  .intro-copy h1 { font-size: 36px; }.intro-copy h1:lang(zh) { font-size: 34px; }.intro-specimens { padding-inline: 15px; }.specimen > span { white-space: normal; line-height: 1.5; font-size: 12px; }
  .question-card { padding-inline: 15px; }.question-card h1 { font-size: 23px; }.answer-option { padding: 12px; gap: 9px; font-size: 14px; }.answer-marker { width: 26px; height: 26px; }.question-actions .match-primary { min-width: 114px; gap: 12px; }
  .joint-match-list[data-count="3"] { grid-template-columns: 1fr; }
  .joint-match-list[data-count="3"] button { grid-template-columns: 52px minmax(0,1fr); justify-items: start; text-align: left; gap: 0 14px; padding: 12px 16px; }
  .joint-match-list[data-count="3"] svg { grid-row: 1/4; width: 52px; height: 52px; }
  .joint-match-list[data-count="3"] strong { font-size: 16px; }
  .result-hero { grid-template-columns: 70px minmax(0,1fr); padding: 17px; gap: 14px; }.result-heading h2 { font-size: 25px; }.result-overview h1, .quiz-page:lang(zh) .result-overview h1 { font-size: 32px; }.result-view[data-joint="true"] .result-overview h1 { font-size: 28px; }.result-nav a { font-size: 12px; padding-inline: 4px; }.discovery-quiz { padding: 19px; }.discovery-story summary { padding: 18px; grid-template-columns: 52px minmax(0,1fr); gap: 8px 12px; }.discovery-story-body { padding-inline: 18px; }.discovery-story h3 { font-size: 18px; }.result-share { padding: 20px; }.other-name { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  .quiz-page *, .quiz-page *::before, .quiz-page *::after { transition: none!important; animation: none!important; scroll-behavior: auto!important; }
}
/* The campaign result leads to a card and friend invitation before optional reading. */
.result-summary .result-take-card{margin:18px 0 0;width:fit-content;min-height:44px}
.profile-details-grid>.result-description,.profile-details-grid>.result-reasons,.profile-details-grid>.conservation-connection{grid-column:1 / -1}
.profile-details-grid>.result-description{margin-top:0}
.profile-details-grid>.result-reasons{margin:0;padding:22px 0 0;border-top:1px solid #073e482b}
.profile-details-grid>.conservation-connection{padding-top:16px;border-top:1px solid #073e482b}
.result-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px}
.result-summary .result-quick-actions .result-take-card{margin:0}
.result-quick-actions .match-secondary{min-height:44px;padding:11px 17px;border:1px solid var(--quiz-line);border-radius:26px;font-size:12px}
#match-invitation{scroll-margin-top:110px}
.care-heading h2{max-width:28ch;text-wrap:balance}

