:root{--paper:#fff8ec;--card:#fffdf8;--ink:#1b1330;--muted:#584e66;--brand:#5128cb;--brand-deep:#351588;--accent:#b22058;--line:#d8cce6;--radius:16px;--display:"Bricolage Grotesque",sans-serif;--body:"Source Sans 3",sans-serif;--soft:#eee6fc;--cream:#fff0d7;--purple:#512bd3;--lime:#e5fa75;--pink:#ffb7da;--sky:#aeebff;--apricot:#ffd094}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.6 var(--body)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--brand);text-decoration-thickness:1px;text-underline-offset:4px}a:hover{color:var(--brand-deep)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{display:block;max-width:100%;height:auto}h1,h2,h3,h4,.wordmark,.button{font-family:var(--display);line-height:1.2}h1,h2,h3,h4,p{margin-top:0}h1{font-size:48px;letter-spacing:-1.8px;margin-bottom:16px;font-weight:600}h2{font-size:36px;letter-spacing:-1px;font-weight:600;margin-bottom:16px}h3{font-size:22px;font-weight:600;margin-bottom:12px}p{margin-bottom:16px}p:last-child{margin-bottom:0}.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--brand);margin-bottom:12px}.muted,.quiz-small,.page-lead{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:var(--card);padding:12px 24px}.skip-link:focus{top:8px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px;border-bottom:1px solid var(--line)}.wordmark{display:inline-flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-size:22px;font-weight:600;letter-spacing:-.6px}.brand-period{color:var(--accent)}.brand-mark{display:block;flex:none;width:40px;height:40px;border-radius:9px}.site-header nav{display:flex;gap:32px}.site-header nav a{color:var(--ink);font-size:16px;font-weight:600;text-decoration:none;padding-block:16px}.site-header nav a:hover{color:var(--brand)}.hero-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;padding-block:32px 24px}.hero-heading h1{margin-bottom:0}.hero-heading .hero-note{max-width:34ch;font-size:16px;color:var(--muted)}.index-tag{display:inline-block;border-left:3px solid var(--accent);padding-left:12px;color:var(--muted);font-size:14px;margin-bottom:12px}
.stage{position:relative;width:100%;height:560px;border-radius:var(--radius);border:1px solid var(--line);overflow:hidden;background:var(--card);isolation:isolate}.stage:fullscreen{height:100vh;border:0;border-radius:0}.stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--card)}.cover{position:absolute;inset:0;display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:center;padding:48px;background:var(--soft)}.cover-copy{max-width:430px}.cover h2{font-size:48px;font-weight:500;letter-spacing:-1.8px;margin-bottom:24px}.cover .cover-subtitle{font-size:18px;max-width:34ch;margin-bottom:24px}.cover .eyebrow{margin-bottom:24px}.cover .cover-meta{font-size:14px;margin:16px 0 0;color:var(--muted)}.cover-art{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;max-height:430px}.portrait-sheet{background:var(--cream);border-radius:8px;overflow:hidden;border:1px solid var(--line);padding:8px 8px 0}.portrait-sheet:first-child{transform:translateY(-16px)}.portrait-sheet:last-child{transform:translateY(16px)}.portrait-sheet img{width:100%;aspect-ratio:3/4;object-fit:cover}.portrait-sheet figcaption{font-size:14px;padding:8px 4px;color:var(--ink);display:flex;justify-content:space-between;gap:8px}.portrait-sheet figure{margin:0}.art-index{position:absolute;right:0;top:-28px;font:14px var(--display);color:var(--muted)}.button,.button:visited{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;background:var(--brand);color:var(--card);border:1px solid var(--brand);border-radius:8px;font-size:16px;font-weight:600;text-decoration:none;transition:background .18s,transform .18s}.button:hover{background:var(--brand-deep);color:var(--card);transform:translateY(-1px)}.button-outline,.button-outline:visited{background:transparent;color:var(--brand)}.button-outline:hover{background:var(--soft);color:var(--brand-deep)}.button-quiet{background:transparent;color:var(--muted);border-color:transparent;padding-inline:12px}.button-quiet:hover{background:var(--soft);color:var(--ink)}button:disabled{cursor:not-allowed;opacity:.45;transform:none}.button-row,.result-actions{display:flex;flex-wrap:wrap;gap:12px}
.loader{position:absolute;inset:0;background:var(--soft);display:none;place-content:center;text-align:center;z-index:3;color:var(--ink)}.stage[data-gf-state="loading"] .loader{display:grid}.loader-pages{height:64px;display:flex;justify-content:center;gap:8px;margin-bottom:24px}.loader-pages i{width:32px;border-radius:4px;border:2px solid var(--brand);background:var(--card);animation:pages 1.2s ease-in-out infinite}.loader-pages i:nth-child(2){animation-delay:.15s}.loader-pages i:nth-child(3){animation-delay:.3s}.loader small{font-size:14px;color:var(--muted)}@keyframes pages{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}.stage-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-block:12px 16px}.stage-actions button{min-height:44px;background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:8px 16px;font-size:14px}.stage-actions button:hover,.stage-actions [data-gf-liked]{background:var(--soft);border-color:var(--brand)}.stage-actions .stage-label{margin-left:auto;font-size:14px;color:var(--muted)}
.section{padding-block:64px;border-bottom:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:32px}.section-heading h2{margin:0}.section-heading>a{font-size:16px;white-space:nowrap}.feature-row{display:grid;grid-template-columns:80px 1fr 1.1fr;gap:32px;align-items:center}.feature-number{font:500 48px var(--display);color:var(--muted)}.feature-picture{position:relative;background:var(--soft);border-radius:var(--radius);height:260px;display:flex;align-items:end;justify-content:center;overflow:hidden;gap:8px;padding:16px 24px 0}.feature-picture img{width:46%;height:240px;object-fit:cover;object-position:top;border-radius:8px 8px 0 0}.feature-picture img+img{height:210px}.feature-copy .tag,.tag{display:inline-block;font-size:12px;font-weight:600;color:var(--brand);background:var(--soft);padding:4px 12px;border-radius:4px;margin-bottom:12px}.feature-copy h3{font-size:28px;margin-bottom:16px}.feature-copy p{color:var(--muted)}.inline-links{display:flex;flex-wrap:wrap;gap:24px;font-size:16px;font-weight:600}.paths{display:grid;grid-template-columns:1fr 1fr;gap:48px}.path-card{border-top:2px solid var(--brand);padding-top:24px}.path-card .path-no{font:500 14px var(--display);color:var(--accent);display:block;margin-bottom:16px}.path-card h3{font-size:28px}.path-card p{max-width:48ch;color:var(--muted)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;counter-reset:step}.steps article{border-left:1px solid var(--line);padding-left:24px}.steps article:before{counter-increment:step;content:"0" counter(step);font-family:var(--display);color:var(--brand);display:block;margin-bottom:16px}.steps p{font-size:16px;color:var(--muted)}.editorial-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:64px}.editorial-grid h2{max-width:12ch}.editorial-copy p{max-width:70ch}.text-link{font-weight:600}.faq{max-width:850px;margin-left:auto}.faq details{border-top:1px solid var(--line);padding-block:16px}.faq details:last-child{border-bottom:1px solid var(--line)}summary{cursor:pointer;font-family:var(--display);font-weight:500;font-size:18px}details p{padding-top:12px;max-width:68ch;color:var(--muted)}
.community{display:grid;grid-template-columns:1fr 1.5fr;gap:64px}.comment-form label{display:block;font-size:16px;font-weight:600;margin-bottom:8px}.comment-form input,.comment-form textarea,.filter-input,select{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:12px 16px;color:var(--ink);min-height:48px;width:100%}.comment-form input{max-width:340px}.comment-form textarea{min-height:120px;resize:vertical}.comment-form .field{margin-bottom:16px}.comment-form .hint{font-size:14px;color:var(--muted);margin-top:8px}.comment-form button{margin-top:8px}.comment-list{margin-top:32px}.comment-list article{border-top:1px solid var(--line);padding-block:24px}.comment-list time{font-size:14px;color:var(--muted)}.comment-list article p{white-space:pre-wrap}.comment-list [data-gf-c-reply]{border:0;background:transparent;color:var(--brand);padding:8px 0}.comment-owner{font-size:12px;color:var(--brand);margin-left:8px}.comment-replies{padding-left:24px}.comment-empty{font-size:16px;color:var(--muted);display:none}.comment-list[data-gf-empty] .comment-empty{display:block}.reply-state{font-size:14px}.reply-state button{border:0;background:transparent;color:var(--brand);text-decoration:underline}
.site-footer{background:var(--ink);color:var(--soft);padding-block:48px 24px;margin-top:64px}.site-footer .wordmark{color:var(--card)}.site-footer p{color:var(--line);font-size:16px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px}.footer-grid nav{display:flex;flex-direction:column;align-items:start;gap:8px;font-size:16px}.footer-grid nav strong{font:600 16px var(--display);margin-bottom:8px}.site-footer a{color:var(--soft);text-decoration:none}.site-footer a:hover{text-decoration:underline;color:var(--card)}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:32px;border-top:1px solid var(--muted);margin-top:48px;padding-top:24px;font-size:14px;color:var(--line)}.footer-bottom p{font-size:14px;max-width:65ch;margin:0}.page-shell{padding-block:48px;min-height:50vh}.page-shell>h1{max-width:22ch}.page-lead{max-width:65ch;font-size:22px;margin-bottom:48px}.prose{max-width:72ch}.prose h2{font-size:28px;margin-top:32px}.prose h3{margin-top:24px}.prose ul{padding-left:24px}.prose li{margin-bottom:8px}.callout{background:var(--soft);border-left:3px solid var(--brand);padding:24px;border-radius:0 8px 8px 0;margin-block:32px}.catalogue-row{display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:32px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:24px}.catalogue-row img{width:220px;height:240px;object-fit:cover;object-position:top;border-radius:8px}.catalogue-row h2{font-size:28px}.catalogue-row p{max-width:48ch}.catalogue-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-bottom:16px}.library-note{max-width:70ch;color:var(--muted);margin-top:32px}.filter-row{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}.filter-row label{font-size:16px;display:block}.filter-row>div{max-width:460px;width:100%}.filter-row p{font-size:14px;color:var(--muted);margin:0}.character-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.character-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);display:grid;grid-template-columns:136px 1fr;gap:24px;padding:24px;scroll-margin-top:24px}.character-card img{width:136px;aspect-ratio:3/4;object-fit:cover;border-radius:8px}.character-card h2{font-size:22px;letter-spacing:-.3px;margin-bottom:4px}.character-card .name-zh{font-size:14px;color:var(--muted);margin-bottom:12px}.character-card .note{font-size:16px;line-height:1.6}.character-card .traits{font-size:14px;color:var(--brand);margin-bottom:16px}.character-card a{font-size:14px;font-weight:600}.character-card:target{outline:3px solid var(--accent);outline-offset:4px}
.compare-controls{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:end;padding:24px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:32px}.compare-controls label{display:block;font-size:16px;font-weight:600;margin-bottom:8px}.comparison-output{display:grid;grid-template-columns:1fr 1fr;gap:24px}.comparison-card{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}.comparison-top{display:flex;align-items:center;gap:24px;margin-bottom:24px}.comparison-top img{width:112px;height:150px;object-fit:cover;border-radius:8px}.comparison-top h2{font-size:28px}.comparison-top p{font-size:14px}.comparison-card>p{font-size:16px;min-height:80px}.comparison-note{grid-column:1/-1;border-top:2px solid var(--brand);padding:24px 0}.comparison-note h2{font-size:28px}.comparison-note p{max-width:78ch}.axis-list{display:grid;gap:16px}.axis-labels{display:grid;grid-template-columns:1fr 32px 1fr;gap:8px;align-items:center;font-size:12px;line-height:1.2}.axis-labels span:last-child{text-align:right}.axis-labels strong{text-align:center;font-size:14px;color:var(--brand)}.axis-track{height:6px;background:var(--soft);border-radius:8px;margin-top:8px;position:relative}.axis-track:after{content:"";position:absolute;left:50%;top:0;width:1px;height:6px;background:var(--line)}.axis-track i{position:absolute;width:12px;height:12px;border:2px solid var(--card);background:var(--brand);border-radius:50%;top:-3px;transform:translateX(-50%);z-index:1}
.embed-body{background:var(--card)}.embed-shell{padding:24px 32px;max-width:1120px;margin:auto}.quiz-top{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:14px;color:var(--muted)}.quiz-story{font:600 16px var(--display);color:var(--brand)}progress{width:100%;height:4px;border:0;display:block;margin:16px 0 24px;background:var(--soft);accent-color:var(--brand)}progress::-webkit-progress-bar{background:var(--soft);border-radius:4px}progress::-webkit-progress-value{background:var(--brand);border-radius:4px}.question-intro{max-width:78ch;margin-bottom:24px}.question-intro h2{font-size:28px;letter-spacing:-.5px;margin-bottom:12px}.question-prompt{font-size:18px}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer{display:flex;align-items:start;text-align:left;gap:12px;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:8px;min-height:104px;color:var(--ink);font-size:16px;line-height:1.5;transition:background .15s,border-color .15s}.answer-letter{flex:0 0 28px;height:28px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font:500 14px var(--display);color:var(--brand)}.answer:hover{border-color:var(--brand);background:var(--paper)}.answer[aria-pressed=true]{border:2px solid var(--brand);padding:15px;background:var(--soft)}.answer[aria-pressed=true] .answer-letter{background:var(--brand);color:var(--card);border-color:var(--brand)}.quiz-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}.quiz-small{font-size:14px;line-height:1.5}.quiz-controls .quiz-small{max-width:22ch;text-align:center;font-size:12px}.result-layout{display:grid;grid-template-columns:240px 1fr;gap:32px}.result-portrait img{width:240px;aspect-ratio:3/4;object-fit:cover;border-radius:8px}.result-caption{font-size:12px;color:var(--muted);margin-top:8px}.result-name{font-size:36px;margin-bottom:8px}.result-label{font-family:var(--display);font-size:18px;color:var(--brand)}.result-reading>p{font-size:16px}.result-reading h3{font-size:18px;margin-top:24px}.result-reading .quiz-small{font-size:12px;margin-top:16px}.result-actions{margin-top:24px}.result-actions .button{font-size:14px;padding:12px 16px}.result-links{display:flex;gap:24px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:16px;margin-top:24px;font-size:14px}.answer-evidence{margin-top:24px;padding:24px;background:var(--paper);border-radius:8px}.answer-evidence h3{font-size:18px}.answer-evidence p{font-size:14px}.action-message{font-size:14px;color:var(--brand);margin-top:16px}.copy-fallback{display:block;width:100%;font-size:14px;padding:12px;border:1px solid var(--line);border-radius:8px}.notice{padding:16px 24px;background:var(--cream);color:var(--ink);border-radius:8px}.game-screenshot{border:1px solid var(--line);border-radius:var(--radius);margin-top:32px}.game-screenshot img{width:100%;border-radius:var(--radius)}.game-screenshot figcaption{padding:12px 24px;font-size:14px;color:var(--muted)}
@media(min-width:1500px){.wrap{width:min(1120px,calc(100% - 64px))}}
@media(max-width:900px){.cover{padding:32px;gap:24px}.cover h2{font-size:36px}.hero-heading{align-items:start;flex-direction:column;gap:16px}.hero-heading .hero-note{max-width:55ch}.feature-row{grid-template-columns:1fr 1fr;gap:24px}.feature-number{display:none}.editorial-grid,.community{grid-template-columns:1fr;gap:32px}.editorial-grid h2{max-width:none}.character-card{grid-template-columns:100px 1fr;gap:16px;padding:16px}.character-card img{width:100px}.catalogue-row{grid-template-columns:180px 1fr}.catalogue-row .button{grid-column:2}.catalogue-row img{grid-row:1/3;width:180px}.compare-controls{gap:16px}.comparison-top{gap:16px}.comparison-top img{width:80px;height:108px}.comparison-top h2{font-size:22px}.footer-grid{gap:32px}}
@media(max-width:640px){body{font-size:16px}.wrap{width:calc(100% - 32px)}h1{font-size:32px;letter-spacing:-.8px}h2{font-size:28px}h3{font-size:22px}.site-header{min-height:104px;flex-wrap:wrap;gap:0;padding-top:16px;padding-bottom:8px}.wordmark{font-size:22px}.site-header nav{width:100%;gap:24px;justify-content:space-between}.site-header nav a{padding-block:12px;font-size:14px}.hero-heading{padding-top:24px;padding-bottom:24px;gap:12px}.hero-heading .hero-note{font-size:16px}.stage{height:820px}.cover{grid-template-columns:1fr;gap:24px;padding:32px 24px;align-content:start}.cover h2{font-size:36px;letter-spacing:-1px;margin-bottom:16px}.cover .eyebrow{margin-bottom:16px}.cover .cover-subtitle{font-size:16px;margin-bottom:24px}.cover-art{max-width:300px;margin-inline:auto;width:100%;gap:12px;margin-top:24px}.portrait-sheet:first-child,.portrait-sheet:last-child{transform:none}.portrait-sheet figcaption{font-size:12px}.art-index{display:none}.button-row{flex-direction:column}.button-row .button,.cover .button{width:100%}.stage-actions{gap:8px}.stage-actions button{flex:1;padding:8px;font-size:14px}.stage-actions .stage-label{width:100%;margin:4px 0 0;text-align:center;font-size:12px}.section{padding-block:48px}.section-heading{align-items:start;flex-direction:column;gap:16px;margin-bottom:24px}.section-heading h2{font-size:28px}.feature-row{grid-template-columns:1fr;gap:24px}.feature-picture{height:260px}.feature-copy h3{font-size:28px}.paths,.steps{grid-template-columns:1fr;gap:32px}.steps article{padding-left:16px}.editorial-grid,.community{gap:24px}.inline-links{gap:16px}.site-footer{margin-top:48px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px 24px}.footer-grid>div{grid-column:1/-1}.footer-grid nav{font-size:14px;gap:12px}.footer-bottom{flex-direction:column;align-items:start;gap:12px;margin-top:32px;font-size:12px}.footer-bottom p{font-size:12px}.page-shell{padding-block:32px}.page-lead{font-size:18px;margin-bottom:32px}.catalogue-row{grid-template-columns:1fr;padding:24px;gap:24px}.catalogue-row img{grid-row:auto;width:100%;height:280px;object-position:center 24%}.catalogue-row .button{grid-column:auto;width:100%}.catalogue-row h2{font-size:28px}.character-grid{grid-template-columns:1fr;gap:16px}.character-card{grid-template-columns:96px 1fr;gap:16px}.character-card img{width:96px}.character-card .note{grid-column:1/-1}.filter-row{align-items:start;flex-direction:column;gap:12px}.compare-controls{grid-template-columns:1fr;padding:24px}.compare-controls button{order:3}.comparison-output{grid-template-columns:1fr}.comparison-top img{width:96px;height:128px}.comparison-top h2{font-size:28px}.comparison-card>p{min-height:0}.comparison-note{grid-column:auto}.embed-shell{padding:24px 16px}.quiz-top{font-size:12px;gap:12px}.quiz-story{font-size:14px;max-width:18ch}.question-intro h2{font-size:22px;letter-spacing:-.3px}.question-prompt{font-size:16px}.answer-grid{grid-template-columns:1fr;gap:12px}.answer{min-height:88px;font-size:16px;padding:16px 12px;gap:12px}.answer[aria-pressed=true]{padding:15px 11px}.quiz-controls{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin-top:24px}.quiz-controls .quiz-small{grid-column:1/-1;grid-row:2;max-width:none;width:100%;margin:0}.quiz-controls .button{font-size:14px;padding-inline:8px;width:100%}.result-layout{grid-template-columns:1fr;gap:24px}.result-portrait{display:flex;align-items:end;gap:16px}.result-portrait img{width:120px}.result-caption{max-width:16ch;font-size:14px}.result-name{font-size:32px}.result-actions .button{flex:1;min-width:130px}.result-links{gap:16px}.axis-labels{font-size:12px}.game-screenshot{margin-inline:0}.game-screenshot figcaption{padding:12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.reply-state{display:none}form[data-gf-replying] .reply-state{display:block}

.bbt-art{margin:0;align-self:center}.bbt-art img{width:100%;height:auto}.bbt-art figcaption{font-size:14px;text-align:center;margin-top:12px;color:var(--muted)}.bbt-cover{grid-template-columns:1.1fr 1fr}.bbt-cover .cover-copy{max-width:460px}.quiz-landing .page-lead{max-width:70ch;margin-bottom:24px}.result-insight{margin-top:24px;padding:24px;background:var(--soft);border-radius:8px}.result-insight h3{font-size:18px}.result-insight p{font-size:16px}.collection-picker{max-width:440px;margin-bottom:24px}.collection-picker label{display:block;font-weight:600;margin-bottom:8px}.collection-picker select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);padding:8px 12px}.bbt-feature .feature-picture img{width:100%;height:100%;object-fit:contain;transform:none}.bbt-feature{margin-top:32px}.character-card h2{overflow-wrap:anywhere}
@media(max-width:640px){.bbt-cover{grid-template-columns:1fr;padding:24px}.bbt-cover h2{font-size:32px}.bbt-cover .cover-subtitle{margin-bottom:16px}.bbt-cover .cover-meta{font-size:12px}.bbt-art{max-width:320px;width:100%;margin:auto}.bbt-cover .button{font-size:14px;padding-inline:12px}.quiz-landing h1{font-size:32px}.quiz-landing .page-lead{font-size:16px}.bbt-stage{height:780px}.collection-picker{max-width:none}.bbt-feature .feature-picture{height:240px}}
.hub-hero{padding-block:40px 32px}.hub-heading{display:grid;grid-template-columns:1.4fr 1fr;gap:64px;align-items:end;margin-bottom:32px}.hub-heading h1{margin:0}.hub-heading>p{max-width:40ch;margin:0;color:var(--muted)}.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.collection-card{display:grid;grid-template-columns:132px 1fr;gap:24px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);align-items:start}.collection-card h2{font-size:28px;letter-spacing:-.8px;margin-bottom:12px}.collection-card h2 a{color:var(--ink);text-decoration:none}.collection-card h2 a:hover{color:var(--brand)}.collection-card p{font-size:16px}.collection-card .eyebrow{font-size:12px;margin-bottom:12px}.collection-image{border-radius:8px;overflow:hidden;display:block;background:var(--cream)}.collection-image img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 25%}.collection-meta{font-size:14px!important;color:var(--muted)}.collection-links{display:flex;gap:12px;align-items:start;flex-direction:column}.collection-links>a:not(.button){font-size:14px}.hub-caption{font-size:14px;color:var(--muted);margin-top:24px}.hub-paths{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;border-top:1px solid var(--line)}.hub-path-list>a{display:grid;grid-template-columns:32px 1fr 24px;gap:16px;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line);padding:24px 0}.hub-path-list>a:first-child{padding-top:0}.hub-path-list>a>span{font:700 14px var(--display);color:var(--accent)}.hub-path-list h3{font-size:22px;margin-bottom:8px}.hub-path-list p{font-size:16px;color:var(--muted)}.hub-actions{display:flex;gap:12px;align-items:center}.hub-actions button{border:1px solid var(--line);background:transparent;border-radius:8px;padding:8px 16px;min-height:44px;color:var(--ink)}.hub-actions [data-gf-liked]{background:var(--soft);color:var(--brand)}.quiz-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;max-width:420px;margin:auto}.quiz-pair figure{margin:0;border:1px solid var(--line);border-radius:8px;background:var(--cream);padding:8px;overflow:hidden}.quiz-pair figure:first-child{transform:translateY(-12px)}.quiz-pair figure:last-child{transform:translateY(12px)}.quiz-pair img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 22%;border-radius:4px}.quiz-pair figcaption{font-size:14px;padding-top:8px;color:var(--ink)}.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:14px;padding-block:24px;color:var(--muted)}.breadcrumbs a{color:var(--muted)}.profile-hero{display:grid;grid-template-columns:260px 1fr;gap:48px;padding-block:24px 48px;align-items:center;border-bottom:1px solid var(--line)}.profile-hero figure{margin:0}.profile-hero figure>img{width:100%;border-radius:var(--radius);aspect-ratio:3/4;object-fit:cover;object-position:center 22%}.profile-hero figcaption{font-size:12px;color:var(--muted);margin-top:12px}.profile-hero h1{overflow-wrap:anywhere}.profile-name-zh{font-size:18px;color:var(--muted);margin-bottom:16px}.profile-hero .page-lead{font-size:22px;margin-bottom:16px}.profile-hero .traits{font-size:16px;color:var(--brand)}.actor-credit{font-size:14px;color:var(--muted)}.profile-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:64px;padding-block:48px}.profile-main>section{margin-bottom:40px}.profile-main h2{font-size:28px}.profile-main h3{font-size:22px}.profile-main p{font-size:18px}.profile-main h2{max-width:24ch}.profile-scale-card{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);margin-bottom:32px}.profile-scale-card h2{font-size:22px;letter-spacing:-.5px}.profile-aside>section>h2{font-size:22px}.profile-related{display:flex;flex-direction:column;gap:16px}.profile-related>a{display:flex;align-items:center;gap:16px;text-decoration:none;color:var(--ink);font-weight:600}.profile-related img{width:64px;height:84px;object-fit:cover;object-position:center 22%;border-radius:8px}.profile-related>a:hover{color:var(--brand)}.character-reflection{border-left:4px solid var(--accent);padding-left:24px}.profile-sources p,.source-list{font-size:16px}.source-list li{margin-bottom:12px}.story-hero{display:grid;grid-template-columns:1.25fr 1fr;gap:64px;align-items:center;padding-block:24px 48px;border-bottom:1px solid var(--line)}.story-hero .quiz-pair{width:100%}.story-facts{display:flex;flex-wrap:wrap;gap:24px 32px;margin-block:24px}.story-facts>div{display:flex;flex-direction:column}.story-facts dt{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.story-facts dd{margin:4px 0 0;font-weight:600;font-size:18px}.story-copy{margin:48px auto 0}.story-copy section{margin-bottom:32px}.story-copy h2{font-size:28px}.story-sources{border-top:1px solid var(--line);max-width:70ch}.story-sources h2{font-size:28px}.character-photo{display:block}.character-photo img{width:100%;border-radius:8px;object-fit:cover;object-position:center 22%}.character-card h2 a{text-decoration:none;color:var(--ink)}.character-card h2 a:hover{color:var(--brand)}.character-card-links{display:flex;gap:24px;grid-column:1/-1;flex-wrap:wrap;font-size:14px}.character-filters{display:grid;grid-template-columns:1.3fr 1fr auto;gap:24px;align-items:end}.character-filters label{display:block;font-weight:600;margin-bottom:8px}.character-filters input,.character-filters select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);padding:8px 12px}.filter-status{font-size:14px;color:var(--muted);margin-block:16px 24px}.answer:disabled{opacity:1;cursor:default}.answer[aria-pressed=true]{background:var(--soft)}.quiz-controls{justify-content:space-between}.quiz-controls .quiz-small{max-width:40ch;text-align:right}.site-header nav{gap:24px}
@media(max-width:1000px){.collection-grid{grid-template-columns:1fr}.collection-card{grid-template-columns:160px 1fr}.collection-links{flex-direction:row;align-items:center;flex-wrap:wrap}.hub-heading{gap:24px}.hub-paths{gap:32px}.profile-layout{grid-template-columns:1.25fr 1fr;gap:32px}.profile-hero{gap:32px}.story-hero{gap:32px}.character-filters{gap:16px}}
@media(max-width:640px){.hub-hero{padding-block:24px}.hub-heading{display:block;margin-bottom:24px}.hub-heading h1{font-size:32px;margin-bottom:12px}.hub-heading>p{font-size:16px;max-width:none}.collection-grid{gap:16px}.collection-card{grid-template-columns:96px 1fr;gap:16px;padding:16px}.collection-card h2{font-size:22px;letter-spacing:-.3px;margin-bottom:8px}.collection-card p:not(.eyebrow):not(.collection-meta){display:none}.collection-card .eyebrow{margin-bottom:8px}.collection-card .collection-meta{font-size:12px!important;margin-bottom:12px}.collection-links{gap:12px;align-items:start;flex-direction:column}.collection-links .button{min-height:44px;padding:8px 16px;font-size:14px}.collection-links>a:not(.button){font-size:12px}.hub-caption{font-size:12px;margin-top:16px}.hub-paths{grid-template-columns:1fr;gap:24px}.hub-path-list h3{font-size:22px}.hub-path-list p{font-size:16px}.quiz-pair{max-width:300px;width:100%;gap:12px;margin-top:16px}.quiz-pair figure:first-child,.quiz-pair figure:last-child{transform:none}.quiz-pair figcaption{font-size:12px}.breadcrumbs{padding-block:16px;font-size:12px;gap:8px}.profile-hero{grid-template-columns:1fr;gap:24px;padding-block:16px 32px}.profile-hero figure{width:160px}.profile-hero h1{font-size:32px}.profile-hero .page-lead{font-size:18px}.profile-name-zh{font-size:16px}.profile-layout{grid-template-columns:1fr;gap:24px;padding-block:32px}.profile-main p{font-size:16px}.profile-main>section{margin-bottom:32px}.profile-main h2,.story-copy h2{font-size:28px}.profile-hero .button-row .button{font-size:14px}.story-hero{grid-template-columns:1fr;gap:32px;padding-bottom:32px}.story-hero h1{font-size:32px}.story-hero .page-lead{font-size:18px}.story-hero .quiz-pair{margin-top:0}.story-facts{gap:16px 24px}.story-facts dd{font-size:16px}.story-copy{margin-top:32px}.character-filters{grid-template-columns:1fr;gap:16px}.character-filters .button{width:100%}.character-card .character-photo{width:96px}.character-card .eyebrow{font-size:12px;letter-spacing:.5px}.character-card-links{gap:16px}.site-header nav{gap:12px}.site-header nav a{font-size:14px}.quiz-controls .quiz-small{text-align:left}}

.characters-directory .page-lead { font-size: 18px; margin-bottom: 24px; }
.characters-directory .filter-status { margin-block: 12px; }
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.directory-card,
.directory-card:visited {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  scroll-margin-top: 16px;
}
.directory-card:is(:hover, :focus-visible) {
  color: var(--ink);
  background: var(--soft);
  border-color: var(--brand);
  text-decoration: none;
}
.directory-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}
.directory-card :is(h2,h3) {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.directory-original-name {
  display: inline-block;
  margin-inline-start: 6px;
  color: var(--muted);
  font: 400 13px/1.3 var(--body);
}
.directory-card-story, .directory-card-traits { margin: 0; font-size: 14px; line-height: 1.35; }
.directory-card-story { color: var(--muted); }
.directory-card-traits { color: var(--brand-deep); margin-top: 4px; }
.directory-card-arrow { color: var(--brand-deep); }

@media (max-width: 1000px) {
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .characters-directory .page-lead { margin-bottom: 16px; }
  .characters-directory .character-filters { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .characters-directory .character-filters > div:first-child { grid-column: 1 / -1; }
  .characters-directory .character-filters .button { padding-inline: 12px; }
  .directory-grid { grid-template-columns: 1fr; gap: 8px; }
  .directory-card, .directory-card:visited { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 8px 12px; }
  .directory-card :is(h2,h3) { font-size: 17px; }
}

.contact-email{max-width:70ch;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);margin-bottom:32px}.contact-email h2{font-size:28px}.mail-address{display:inline-block;font-family:var(--display);font-size:22px;font-weight:600;overflow-wrap:anywhere;margin-bottom:16px}.contact-email>p:last-child{color:var(--muted)}

.shared-result { padding-block: 48px 64px; }
.shared-result-hero {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 560px);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-bottom: 40px;
}
.shared-result-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}
.shared-result-reading h1 {
  font-size: clamp(36px, 5vw, 60px);
  overflow-wrap: anywhere;
  margin: 8px 0 12px;
}
.shared-result-story { font-weight: 600; }
.shared-result-label { font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.shared-result-summary { font-size: 18px; max-width: 50ch; margin-bottom: 16px; }
.shared-result-traits { color: var(--brand-deep); font-weight: 600; margin-bottom: 24px; }
.shared-result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.shared-result-actions .button { padding-inline: 16px; }
.shared-result-guide { display: inline-block; margin-top: 16px; }
.character-card .note { grid-column: 1 / -1; margin: 0; }
.character-card h2 a { font-size: inherit; }
.character-card .character-card-links { align-items: center; }
.character-card-links a + a { color: var(--muted); }
.profile-traits { color: var(--brand-deep); margin: 12px 0; }
@media (max-width: 640px) {
  .shared-result { padding-block: 24px 32px; }
  .shared-result-hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
  .shared-result-portrait { width: min(160px, 50%); }
  .shared-result-reading h1 { font-size: clamp(32px, 8vw, 42px); }
  .shared-result-label { font-size: 18px; margin-bottom: 12px; }
  .shared-result-summary { font-size: 16px; }
  .shared-result-actions .button { padding-inline: 12px; font-size: 14px; }
  .shared-result-actions .button:first-child { flex-basis: 100%; }
}

.friend-panel {
  padding: 24px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 16px;
}
.friend-panel h2 { font-size: 28px; margin-bottom: 8px; }
.friend-panel p { margin-bottom: 12px; }
.friend-invite { background: var(--soft); }
.friend-invite-intro p { max-width: 60ch; }
.friend-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.friend-share-actions .button { min-height: 44px; padding: 8px 16px; }
.friend-comparison { margin-bottom: 16px; background: var(--card); }
.friend-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.friend-match { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--paper); border-radius: var(--radius); }
.friend-match img { width: 74px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.friend-match h3 { font-size: 20px; overflow-wrap: anywhere; margin: 4px 0; }
.friend-match p { font-size: 14px; margin: 0; }
.friend-match-role { color: var(--brand-deep); font-weight: 700; }
.quiz-invitation { color: var(--brand-deep); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.friend-panel .action-message:not([hidden]) { margin: 12px 0 0; }
@media (max-width: 640px) {
  .friend-panel { padding: 16px; }
  .friend-panel h2 { font-size: 24px; }
  .friend-share-actions .button { font-size: 14px; padding-inline: 12px; }
  .friend-share-actions .button:first-child { flex-basis: 100%; }
  .friend-match { display: block; padding: 12px; }
  .friend-match img { margin-bottom: 8px; }
  .friend-match h3 { font-size: 17px; }
}


.archive-intro { padding-block: 56px 40px; }
.archive-intro h1 { margin-bottom: 16px; }
.archive-intro p { max-width: 68ch; color: var(--muted); margin-bottom: 24px; }
.archive-section { border-top: 1px solid var(--line); padding-block: 32px; }
.archive-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.archive-section-heading h2 { margin: 0; }
.archive-section-heading a { font-size: 16px; font-weight: 600; }
.archive-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.archive-quiz-card { display: grid; grid-template-columns: minmax(0, 1fr) clamp(84px, 13vw, 152px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.archive-quiz-card:first-child { background: var(--soft); }
.archive-quiz-copy { padding: 24px; }
.archive-quiz-copy h3 { margin-bottom: 4px; }
.archive-quiz-copy p { color: var(--muted); margin-bottom: 12px; }
.archive-quiz-copy .button { min-height: 44px; padding: 8px 16px; }
.archive-quiz-guide { display: block; width: fit-content; margin-top: 12px; font-size: 16px; }
.archive-quiz-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.archive-show-card { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.archive-show-card :is(h2, h3) { font-size: 22px; margin: 0 0 12px; }
.archive-show-medium { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.archive-show-card ul { margin: 0; padding-left: 20px; }
.archive-profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.archive-profile-grid a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.archive-profile-grid a:hover { border-color: var(--brand); color: var(--brand-deep); }
.archive-profile-grid img { flex: none; width: 48px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.archive-profile-grid strong, .archive-profile-grid small { display: block; line-height: 1.3; overflow-wrap: anywhere; }
.archive-profile-grid strong { font-size: 17px; }
.archive-profile-grid small { font-size: 14px; color: var(--muted); margin-top: 4px; }
.archive-faq .faq { max-width: 760px; }

@media (max-width: 920px) {
  .archive-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .archive-intro { padding-block: 32px; }
  .archive-section { padding-block: 24px; }
  .archive-card-grid { grid-template-columns: 1fr; }
  .archive-quiz-copy, .archive-show-card { padding: 16px; }
  .archive-profile-grid a { padding: 8px; gap: 8px; }
  .archive-profile-grid img { width: 36px; }
  .archive-profile-grid strong { font-size: 15px; }
  .archive-profile-grid small { font-size: 12px; }
}


/* how-to-play: the manual page (scoped to .htp) */
.htp{padding-block:48px 16px;min-height:50vh}.htp-head{max-width:820px;margin-bottom:40px}.htp-head h1{max-width:20ch}.htp-head .page-lead{max-width:62ch;font-size:21px;margin-bottom:28px}.htp-body{display:grid;grid-template-columns:212px minmax(0,1fr);gap:64px;align-items:start}.htp-index{position:sticky;top:24px;display:flex;flex-direction:column;gap:2px;border-top:2px solid var(--accent);padding-top:16px}.htp-index .eyebrow{margin-bottom:8px}.htp-index a{display:block;font-size:15px;color:var(--muted);text-decoration:none;padding:7px 0 7px 12px;border-left:1px solid var(--line);transition:color .16s,border-color .16s}.htp-index a:hover{color:var(--brand);border-left-color:var(--brand)}
.htp-content{max-width:74ch}.htp-content h2{font-size:28px;margin:48px 0 16px;scroll-margin-top:24px}.htp-content h2:first-child{margin-top:0}.htp-content h3{font-size:20px;margin:24px 0 8px}.htp-content p{color:var(--muted);max-width:70ch}.htp-content p strong,.htp-content li strong{color:var(--ink);font-weight:600}.htp-content ol,.htp-content ul{padding-left:22px;margin:0 0 16px}.htp-content li{margin-bottom:12px;color:var(--muted)}.htp-spec{width:100%;border-collapse:collapse;margin:0 0 8px;font-size:16px;font-variant-numeric:tabular-nums}.htp-spec caption{caption-side:top;text-align:left;font:700 12px var(--display);letter-spacing:1.6px;text-transform:uppercase;color:var(--accent);padding-bottom:12px}.htp-spec th,.htp-spec td{text-align:left;vertical-align:top;padding:14px 20px 14px 0;border-bottom:1px solid var(--line)}.htp-spec th{width:30%;font:600 15px var(--display);color:var(--ink)}.htp-spec td{color:var(--muted)}
.htp-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 24px;padding-block:16px;border-bottom:1px solid var(--line)}.htp-row h3{margin:0;font-size:19px}.htp-row .htp-num{font:600 14px var(--display);color:var(--brand);white-space:nowrap;font-variant-numeric:tabular-nums;align-self:start;padding-top:3px}.htp-row p{grid-column:1/-1;margin:0;font-size:15px}.htp-content .callout{background:var(--soft);border-left:3px solid var(--accent);border-radius:0 8px 8px 0;padding:24px;margin-block:24px}.htp-content .callout p{color:var(--ink);margin:0;font-size:17px}.htp-content .faq{max-width:none;margin-left:0}.htp-content .faq summary{font-size:17px}
@media (max-width:900px){.htp{padding-block:32px 8px}.htp-body{grid-template-columns:1fr;gap:28px}.htp-index{position:static;flex-direction:row;flex-wrap:wrap;gap:6px 14px;border-top:0;border-bottom:1px solid var(--line);padding:0 0 16px}.htp-index .eyebrow{width:100%;margin:0 0 4px}.htp-index a{border-left:0;padding:0;font-size:14px}.htp-head .page-lead{font-size:18px}.htp-spec th,.htp-spec td{display:block;width:auto;padding-right:0}.htp-spec th{padding-bottom:2px}.htp-spec td{padding-top:0;padding-bottom:16px}}
@media (prefers-reduced-motion:reduce){.htp-index a{transition:none}}


/* how-to-play: refinement pass (scoped, appended) */
.htp .htp-ghost{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);font:600 15px var(--display);text-decoration:none;transition:color .16s,border-color .16s}.htp .htp-ghost:hover{color:var(--brand);border-color:var(--brand)}
.htp-index a{padding:4px 0 4px 12px;line-height:1.45;font-size:14.5px}
.htp-head .page-lead{max-width:58ch;line-height:1.65}
.htp-content ol{padding-left:20px}.htp-content ol li{padding-left:6px}.htp-content ol li::marker{color:var(--brand);font:600 16px var(--display)}
.htp-content ul li::marker{color:var(--accent)}
@media (max-width:900px){.htp{padding-block:28px 8px}.htp-head{margin-bottom:28px}.htp-head h1{font-size:32px;letter-spacing:-.8px;max-width:none}.htp-head .page-lead{font-size:16px;line-height:1.6;margin-bottom:20px}.htp-index{flex-wrap:nowrap;overflow-x:auto;gap:0 18px;padding-bottom:12px;-webkit-overflow-scrolling:touch}.htp-index .eyebrow{margin-bottom:2px}.htp-index a{white-space:nowrap;font-size:14px;padding:4px 0}.htp-spec tr{display:block;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin-bottom:10px}.htp-spec th,.htp-spec td{display:block;padding:0;border:0}.htp-spec th{padding-bottom:3px}.htp-spec td{padding-bottom:0}.htp-row{grid-template-columns:1fr}.htp-row .htp-num{justify-self:start;padding-top:0}.htp-content h2{font-size:24px;margin-top:36px}.htp-content .callout{padding:18px}.htp-content .callout p{font-size:16px}}


/* how-to-play: final polish */
.htp .button{display:inline-flex;align-items:center;min-height:48px}
.htp-head .page-lead{max-width:54ch;line-height:1.7;margin-bottom:32px}
.htp-content ol li{padding-left:10px}
@media (max-width:900px){.htp-index .eyebrow{flex:0 0 auto;white-space:nowrap;margin-bottom:0}.htp-index a{font-size:13.5px}}



/* profile quiz call to action — added 2026-11-18 */
.profile-quiz-cta{margin-top:48px;padding:28px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.profile-quiz-cta .quiz-cta-label{font:700 12px/1 var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin:0 0 10px}
.profile-quiz-cta h2{font-size:clamp(24px,3vw,30px);line-height:1.2;letter-spacing:-.6px;margin:0 0 12px}
.profile-quiz-cta p{max-width:62ch;margin:0 0 18px}
.profile-quiz-cta .quiz-cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin:0}
.profile-quiz-cta .button{min-height:46px}
.profile-quiz-cta .quiz-cta-soft{font-size:16px;font-weight:600;color:var(--muted);text-decoration:none}
.profile-quiz-cta .quiz-cta-soft:hover{color:var(--brand)}
.profile-quiz-cta .quiz-cta-soft:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
@media (max-width:640px){.profile-quiz-cta{padding:20px;margin-top:36px}.profile-quiz-cta .button{width:100%;justify-content:center}}



/* what-character-am-i page intro — added 2026-11-18 */
.wcai-intro{padding-top:8px;margin-bottom:36px;border-bottom:1px solid var(--line);padding-bottom:28px}
.wcai-intro h1{font-size:clamp(34px,5vw,52px);line-height:1.08;letter-spacing:-1.6px;margin:0 0 14px;max-width:20ch}
.wcai-lead{max-width:66ch;color:var(--muted);font-size:19px;line-height:1.5;margin:0}
@media (max-width:640px){.wcai-intro{margin-bottom:26px;padding-bottom:20px}.wcai-lead{font-size:17px}}


.quiz-note{margin:-12px 0 20px;color:var(--muted);font-size:14px;line-height:1.5}
@media(max-width:640px){.quiz-note{margin:-8px 0 16px;font-size:13px}}



/* Seven Deadly Sins quiz page */
.sds-cast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;margin-top:28px}
.sds-cast article{border-top:0;border-radius:10px;padding:18px 20px;background:rgba(128,128,128,.07)}
.sds-cast h3{margin:0 0 6px;font-size:1.3rem;line-height:1.15;letter-spacing:-.01em}
.sds-sin{margin:0 0 8px;font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;opacity:.7}
.sds-cast p{margin:0 0 6px}
.sds-faq{margin-top:28px;border-top:1px solid rgba(128,128,128,.28)}
.sds-faq details{border-bottom:1px solid rgba(128,128,128,.28);padding:16px 0}
.sds-faq summary:hover{opacity:.75}
.sds-faq summary{cursor:pointer;font-weight:600;font-size:1.02rem;line-height:1.35}
.sds-faq details[open] summary{margin-bottom:2px}
.sds-faq details p{margin:10px 0 0;max-width:68ch}
.sds-note{font-size:.88rem;opacity:.82;max-width:68ch;border-left:2px solid rgba(128,128,128,.35);padding-left:14px}
.sds-pull{font-size:1.2rem;line-height:1.45;margin:0 0 22px;max-width:46ch;border-left:3px solid rgba(128,128,128,.45);padding-left:18px;font-style:italic}
@media (max-width:720px){.sds-cast{grid-template-columns:1fr;gap:20px}}

/* Character collections and story guides */
.reference-directory{margin:32px 0 48px}
.reference-directory-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin-bottom:14px}
.reference-directory-heading h2,.profile-directory-search>h2{margin:0}
.reference-directory-heading a{font-size:16px;font-weight:600}
.reference-directory-grid,.reference-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.reference-directory-grid{gap:12px}
.reference-directory-card,.reference-directory-card:visited{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);color:var(--ink);text-decoration:none}
.reference-directory-card:hover,.reference-directory-card:focus-visible{background:var(--soft);border-color:var(--brand)}
.reference-directory-card img,.reference-directory-mark,.reference-entry img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:50% 24%;border-radius:8px}
.reference-directory-card img[data-square-cover]{aspect-ratio:1;object-fit:contain;object-position:center}
.reference-directory-mark{display:grid;place-items:center;background:var(--brand-deep);color:var(--card);font:600 26px/1 var(--display)}
.reference-directory-card p{margin:0 0 3px;color:var(--muted);font-size:14px;line-height:1.25}
.reference-directory-card h3{margin:0 0 4px;font-size:21px;line-height:1.15;overflow-wrap:anywhere}
.reference-directory-card div>span{display:block;color:var(--muted);font-size:15px;line-height:1.35}
.reference-directory-arrow{color:var(--brand-deep)}
.profile-directory-search{padding-top:24px;border-top:1px solid var(--line);scroll-margin-top:12px}
.profile-directory-search>h2{margin-bottom:16px}
.character-reference,.story-guide{padding-block:clamp(24px,4vw,42px) 12px}
.reference-head{max-width:820px}
.reference-head h1{max-width:28ch}
.reference-head .page-lead{max-width:68ch;margin-bottom:12px}
.reference-scope{max-width:72ch;margin:0;color:var(--muted);font-size:16px}
.reference-jump{margin:26px 0 34px}
.reference-jump ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.reference-jump a{display:block;padding:5px 11px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:15px;font-weight:600;text-decoration:none}
.reference-jump a:hover{border-color:var(--brand);text-decoration:underline}
.reference-group,.reference-relationships,.reference-register,.reference-related,.reference-sources{margin-block:34px}
.reference-group h2,.reference-relationships h2,.reference-sources h2{margin:0 0 10px}
.reference-group>p,.reference-register>p{max-width:74ch;margin:0 0 16px;color:var(--muted)}
.reference-entries{gap:0 24px;margin:0;padding:0;list-style:none;border-bottom:1px solid var(--line)}
.reference-entry{min-width:0;padding:14px 0;border-top:1px solid var(--line)}
.reference-entry.has-portrait{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:12px}
.reference-entry h3{margin:0 0 4px;font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.reference-entry p{margin:0;font-size:16px;line-height:1.5}
.reference-entry .reference-credit,.reference-original{color:var(--muted);font-size:14px}
.reference-original{white-space:nowrap}
.reference-relationships,.reference-related{padding:clamp(16px,3vw,26px);border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}
.reference-relationships dl,.reference-family{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:16px 0 0}
.reference-relationships dt{font-weight:700}
.reference-relationships dd{margin:4px 0 0;font-size:16px;line-height:1.5}
.reference-family>div{background:var(--soft);padding:14px;border-radius:8px}
.reference-family h3,.reference-family p,.reference-family ul{margin:0 0 5px}
.reference-family h3{font-size:18px}
.reference-family p,.reference-family li{font-size:16px}
.reference-family ul,.reference-sources ul{padding-left:20px}
.reference-related h2{margin-top:0}
.reference-related .button-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.guide-facts{display:flex;flex-wrap:wrap;gap:10px 24px;margin:20px 0 0}
.guide-facts dt{color:var(--muted);font-size:14px}
.guide-facts dd{margin:0;font-weight:700}
.story-guide .story-copy{max-width:72ch}
.story-guide .story-copy>section{margin-block:28px}
.guide-timeline{padding-left:26px}
.guide-timeline li{border-bottom:1px solid var(--line);padding:10px 0}
.guide-timeline h3{font-size:21px;margin:0 0 4px}
.guide-timeline p{margin:0}
@media(max-width:700px){.reference-directory-grid,.reference-entries,.reference-relationships dl,.reference-family{grid-template-columns:1fr}.reference-directory-card{grid-template-columns:52px minmax(0,1fr) auto;padding:12px}.reference-directory-card h3{font-size:19px}.reference-jump{margin-block:18px 24px}.reference-group,.reference-relationships,.reference-register,.reference-related,.reference-sources{margin-block:26px}}
.archive-profile-grid .reference-directory-mark{width:48px;height:64px;font-size:22px}.story-guide-illustration{margin:24px 0}.story-guide-illustration img{display:block;width:100%;height:auto;border-radius:var(--radius)}

.site-header { position: relative; z-index: 30; }
.site-header .site-nav { align-self: stretch; gap: 0; }
.site-nav-bar { display: flex; align-items: stretch; gap: clamp(12px, 2.5vw, 32px); }
.site-nav-bar .site-nav-link { display: flex; align-items: center; padding-block: 12px; white-space: nowrap; }
.site-nav-bar .site-nav-link[aria-current="page"] { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 6px; }
.site-nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.site-nav-toggle:hover, .site-nav-toggle[aria-expanded="true"] { background: var(--soft); color: var(--brand-deep); }
.site-nav-chevron { width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] .site-nav-chevron { transform: translateY(2px) rotate(225deg); }
.site-nav-panel {
  position: absolute;
  inset: 100% 0 auto;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: min(70dvh, 640px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 22px 12px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--ink) 14%, transparent);
}
.site-nav-column { min-width: 0; padding-inline: 14px; }
.site-nav-column + .site-nav-column { border-inline-start: 1px solid var(--line); }
.site-nav-column-title { margin: 0 0 8px; padding-inline: 10px; color: var(--brand-deep); font: 600 20px/1.2 var(--display); }
.site-nav-list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-header .site-nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 6px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.site-header .site-nav-list a:is(:hover, :focus-visible) { background: var(--soft); color: var(--brand-deep); }
@media (max-width: 640px) {
  .site-nav-bar { justify-content: space-between; gap: 8px; width: 100%; }
  .site-nav-panel { grid-template-columns: 1fr; max-height: min(72dvh, calc(100dvh - 120px)); padding: 8px 10px; }
  .site-nav-column { padding: 12px 4px; }
  .site-nav-column + .site-nav-column { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .site-nav-column-title { font-size: 18px; }
}


/* Homepage */
.home-opening { padding-block: clamp(24px, 4vw, 52px) 36px; }
.home-opening h1 { margin: 0 0 10px; }
.home-deck { max-width: 60ch; margin: 0 0 24px; color: var(--muted); }
.home-entry-grid { display: grid; grid-template-columns: 1.07fr 1fr; align-items: stretch; gap: clamp(18px, 3vw, 36px); }
.home-entry-grid > section { min-width: 0; border-radius: var(--radius); }
.home-entry-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin-bottom: 16px; }
.home-entry-heading h2 { margin: 0; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.02em; }
.home-entry-heading a { font-size: 15px; font-weight: 600; }
.home-quiz-panel { padding: 22px; border: 1px solid var(--line); background: var(--soft); }
.home-quiz-pick { display: grid; grid-template-columns: minmax(0, 1fr) clamp(78px, 9vw, 110px); align-items: center; gap: 16px; }
.home-quiz-pick h3 { margin: 0; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.035em; }
.home-quiz-pick p { margin: 4px 0 14px; color: var(--muted); font-size: 15px; }
.home-quiz-pick img { display: block; width: 100%; height: auto; border-radius: 8px; }
.home-quiz-pick .home-start-button { min-height: 44px; padding: 9px 13px; font-size: 15px; line-height: 1.2; }
.home-characters-panel { padding: 22px; border: 1px solid var(--line); background: var(--card); }
.home-profile-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.home-profile-link { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 56px; height: 100%; padding: 5px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.home-profile-link:hover, .home-profile-link:focus-visible { border-color: var(--brand); background: var(--paper); color: var(--brand-deep); }
.home-profile-link img, .home-profile-initial { width: 42px; height: 51px; border-radius: 5px; }
.home-profile-link img { display: block; object-fit: cover; object-position: center 26%; }
.home-profile-initial { display: grid; place-items: center; background: var(--cream); color: var(--brand-deep); font: 600 22px var(--display); }
.home-profile-copy { display: block; padding-right: 2px; overflow-wrap: anywhere; line-height: 1.18; }
.home-profile-copy strong { display: block; font-size: 16px; }
.home-profile-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }

.home-stories .archive-section-heading { margin-bottom: 8px; }
.home-story-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.home-story { padding: 15px 0; border-bottom: 1px solid var(--line); }
.home-story-medium { margin: 0 0 3px; font-size: 14px; color: var(--muted); }
.home-story h3 { margin: 0; font-size: 23px; }
.home-story h3 a { color: var(--ink); text-decoration: none; }
.home-story h3 a:hover, .home-story h3 a:focus-visible { color: var(--brand); text-decoration: underline; }
.home-story h3 span { margin-left: 3px; font-size: .75em; color: var(--brand); }
.home-story-links { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; margin-top: 4px; }
.home-story-links a { font-size: 15px; padding-block: 4px; }
@media (max-width: 840px) {
  .home-entry-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-entry-grid > section { padding: 14px; }
  .home-entry-heading { margin-bottom: 10px; }
  .home-quiz-pick { grid-template-columns: minmax(0, 1fr) 68px; gap: 10px; }
  .home-quiz-pick p { margin: 3px 0 10px; }
}
@media (max-width: 540px) {
  .home-opening { padding-block: 18px 24px; }
  .home-opening h1 { font-size: clamp(26px, 7.7vw, 36px); }
  .home-deck { margin-bottom: 14px; line-height: 1.4; }
  .home-profile-list { gap: 6px; }
  .home-profile-link { grid-template-columns: 34px minmax(0, 1fr); gap: 6px; }
  .home-profile-link img, .home-profile-initial { width: 34px; height: 42px; }
  .home-profile-copy strong { font-size: 14px; }
  .home-profile-copy small { font-size: 12px; }
  .home-story-list { grid-template-columns: 1fr; }
  .home-story h3 { font-size: 21px; }
}
@media (max-width: 360px) {
  .home-entry-heading h2 { font-size: 18px; }
  .home-entry-heading a { font-size: 14px; }
  .home-quiz-pick { grid-template-columns: minmax(0, 1fr) 52px; }
  .home-quiz-pick .home-start-button { padding-inline: 10px; font-size: 14px; }
}



/* Homepage entry panels: quiz list and profile list driven by the shared catalog (2026-11-21) */
.home-quiz-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.home-quiz-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); transition: border-color .15s; }
.home-quiz-row:hover, .home-quiz-row:focus-within { border-color: var(--brand); }
.home-quiz-figure { display: block; width: 56px; height: 75px; overflow: hidden; border-radius: 6px; background: var(--paper); }
.home-quiz-figure img { width: 56px; height: 75px; object-fit: cover; object-position: center 22%; }
.home-quiz-copy { min-width: 0; }
.home-quiz-copy h3 { margin: 0; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; }
.home-quiz-copy h3 a { color: var(--ink); text-decoration: none; }
.home-quiz-copy h3 a:hover, .home-quiz-copy h3 a:focus-visible { color: var(--brand); text-decoration: underline; }
.home-quiz-copy p { margin: 3px 0 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.home-quiz-start { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font: 600 15px var(--display); color: var(--brand); text-decoration: none; white-space: nowrap; }
.home-quiz-start:hover, .home-quiz-start:focus-visible { color: var(--brand-deep); text-decoration: underline; }
@media (max-width: 540px) {
  .home-quiz-row { grid-template-columns: 44px minmax(0, 1fr); gap: 2px 10px; padding: 7px; }
  .home-quiz-figure, .home-quiz-figure img { width: 44px; height: 59px; }
  .home-quiz-copy h3 { font-size: 16px; }
  .home-quiz-copy p { font-size: 12px; }
  .home-quiz-start { grid-column: 2; min-height: 36px; font-size: 14px; }
}



/* Homepage entry panels: balance and rhythm pass (2026-11-21) */
.home-quiz-row { padding: 12px; gap: 6px 16px; }
.home-quiz-figure, .home-quiz-figure img { width: 60px; height: 80px; }
.home-quiz-copy { padding-block: 2px; }
.home-quiz-copy h3 { font-size: 20px; }
.home-quiz-copy p { margin-top: 6px; }
.home-quiz-start { margin-inline-start: 10px; }
.home-characters-panel { display: flex; flex-direction: column; }
.home-characters-panel .home-entry-heading { margin-bottom: 12px; }
.home-profile-list { flex: 1; gap: 8px; grid-auto-rows: 1fr; }
.home-profile-link { min-height: 76px; height: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); transition: border-color .15s, background .15s; }
.home-profile-link:hover, .home-profile-link:focus-visible { border-color: var(--brand); background: var(--card); }
@media (max-width: 540px) {
  .home-quiz-row { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "fig copy" "fig start"; align-items: center; gap: 4px 12px; padding: 10px; }
  .home-quiz-figure { grid-area: fig; align-self: center; width: 44px; height: 59px; }
  .home-quiz-figure img { width: 44px; height: 59px; }
  .home-quiz-copy { grid-area: copy; grid-column: auto; }
  .home-quiz-copy h3 { font-size: 16px; }
  .home-quiz-copy p { font-size: 12px; margin-top: 3px; }
  .home-quiz-start { grid-area: start; justify-self: start; min-height: 30px; margin-inline-start: 0; font-size: 14px; }
  .home-profile-link { min-height: 0; padding: 8px; }
}


/* Accounts and quiz history */
.site-account,.site-account-member{display:flex;align-items:center;gap:10px;white-space:nowrap}
.site-account [hidden],.account-shell [hidden]{display:none!important}
.site-account button,.site-header .site-account a{min-height:44px;padding:8px 10px;color:var(--brand-deep);font:600 15px/1.2 var(--body);border:1px solid transparent;border-radius:8px;background:transparent}
.site-header .site-account a{display:inline-flex;align-items:center}
.site-account button:hover,.site-header .site-account a:is(:hover,[aria-current=page]){background:var(--soft)}
.site-account .site-sign-in{background:var(--card);border-color:var(--line);padding-inline:15px}
.account-shell{max-width:900px;min-height:380px}
.account-shell h1{max-width:100%;margin-bottom:22px}
.account-panel{padding:clamp(20px,4vw,38px);border:1px solid var(--line);border-top:3px solid var(--brand);border-radius:var(--radius);background:var(--card)}
.account-panel h2{font-size:clamp(24px,4vw,32px);margin-bottom:8px}
.account-panel p{max-width:54ch;color:var(--muted);margin-bottom:18px}
.account-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding-block:6px 16px;border-bottom:1px solid var(--line)}
.account-member{display:grid;min-width:0;overflow-wrap:anywhere;font-weight:700}
.account-member small,.account-status{color:var(--muted);font-weight:400}
.account-status:not(:empty){margin-block:14px}
.account-history{padding:0;margin:0;list-style:none}
.account-history-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto auto;align-items:center;gap:12px 20px;padding-block:14px;border-bottom:1px solid var(--line)}
.account-portrait{width:54px;height:68px;object-fit:cover;object-position:center 22%;border-radius:6px;background:var(--soft)}
.account-quiz-title,.account-date{margin:0;color:var(--muted);font-size:.875rem}
.account-match{color:var(--ink);font:600 clamp(1.1rem,3vw,1.35rem)/1.25 var(--display);text-decoration-color:var(--line);text-underline-offset:.18em}
.account-match:hover{color:var(--brand)}
.account-retake,.account-summary a{color:var(--brand-deep);font-weight:600}
.account-settings{margin-top:28px}
.account-settings summary{cursor:pointer;font-weight:600}
.account-settings p{margin-block:12px}
.account-dialog{width:min(90vw,440px);padding:24px;border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);background:var(--card)}
.account-dialog::backdrop{background:color-mix(in srgb,var(--ink) 53%,transparent)}
.account-dialog form,.account-result-actions{display:flex;flex-wrap:wrap;gap:10px}
.account-dialog .account-danger{background:var(--accent);border-color:var(--accent);color:var(--card)}
@media (max-width:640px){
  .site-account{position:absolute;inset:14px 0 auto auto}
  .site-account-member{gap:0}
  .site-account button,.site-header .site-account a{padding-inline:7px;font-size:14px}
  .site-account .site-sign-in{padding-inline:12px}
  .account-history-row{grid-template-columns:54px minmax(0,1fr) auto;gap:3px 12px}
  .account-portrait{grid-row:span 2}
  .account-history-reading{grid-column:2}
  .account-date{grid-column:2;grid-row:2}
  .account-retake{grid-column:3;grid-row:1/span 2}
}
@media (max-width:400px){
  .site-nav-bar:has(.site-account-member:not([hidden])){flex-wrap:wrap}
  .site-account:has(.site-account-member:not([hidden])){position:static;flex:1 0 100%;justify-content:flex-end;border-top:1px solid var(--line)}
}
@media (max-width:380px){
  .site-header>.wordmark{font-size:19px;gap:8px}
  .site-header>.wordmark .brand-mark{width:36px;height:36px}
}


/* Character card theme */
.wrap {width:min(1160px,calc(100% - 48px))}
h1,h2,h3,h4 {font-weight:800}
h1 {font-size:clamp(40px,6.4vw,76px);letter-spacing:-.047em;line-height:.98}
h2 {letter-spacing:-.035em}
p {text-wrap:pretty}
.site-header {min-height:80px;border-bottom:1px solid var(--line)}
.wordmark {font-size:25px;font-weight:800;letter-spacing:-.043em}
.brand-mark {display:grid;place-items:center;width:36px;height:36px;border:2px solid var(--ink);border-radius:10px;background:var(--lime);box-shadow:2px 2px 0 var(--ink);font:800 23px/1 var(--display);transform:rotate(-7deg)}
.site-header .site-nav-bar {gap:clamp(12px,2.1vw,30px)}
.site-header .site-nav-link {font-weight:700}
.site-nav-toggle {border-color:var(--ink);border-radius:12px;box-shadow:2px 2px 0 var(--ink)}
.site-nav-panel {padding:20px;border:2px solid var(--ink);border-radius:16px;box-shadow:5px 6px 0 var(--ink)}
.site-account .site-sign-in {border:1.5px solid var(--ink);background:var(--card);color:var(--ink);font-weight:700}
.site-account .site-sign-in:hover {background:var(--lime)}
.site-footer {color:var(--card);border-top:5px solid var(--lime)}
.site-footer .footer-grid>div {max-width:32ch}
.site-footer .brand-period {color:var(--lime)}
.button,.button:visited {border:2px solid var(--ink);border-radius:12px;background:var(--brand);color:var(--card);font-weight:800;box-shadow:3px 3px 0 var(--ink);line-height:1.22}
.button:hover {background:var(--brand-deep);box-shadow:4px 5px 0 var(--ink);transform:translate(-1px,-1px)}
.button:active {box-shadow:1px 1px 0 var(--ink);transform:translate(2px,2px)}
.button-outline,.button-outline:visited {background:var(--card);color:var(--ink)}
.button-outline:hover,.button-quiet:hover {background:var(--soft);color:var(--ink)}
.button-quiet,.button-quiet:visited {color:var(--ink);background:var(--card);box-shadow:none}
.button:disabled {box-shadow:none;transform:none}
.page-shell>h1 {max-width:19ch;margin-bottom:18px}
.page-shell>.page-lead {margin-bottom:clamp(20px,3.4vw,38px)}
.eyebrow {font-weight:800;letter-spacing:.095em}
.archive-section-heading h2 {font-size:clamp(25px,3.8vw,42px)}
.archive-section-heading a {font-weight:700}
:is(.reference-directory-card,.directory-card,.archive-show-card,.character-card,.comparison-card,.account-panel,.archive-quiz-card,.collection-card) {border-color:var(--line);background:var(--card);box-shadow:3px 3px 0 var(--soft)}
:is(.reference-directory-card,.directory-card,.home-profile-link):hover {border-color:var(--brand);background:var(--soft)}
:is(.story-hero,.profile-hero) {border-bottom:2px solid var(--line)}
.profile-hero figure>img {border:2px solid var(--ink);box-shadow:5px 5px 0 var(--ink)}

.character-filters :is(input,select),.comment-form :is(input,textarea) {border:1.5px solid var(--ink);border-radius:10px}
.account-panel {border:2px solid var(--ink);box-shadow:5px 5px 0 var(--ink)}
.account-history-row {border-bottom-color:var(--line)}
.account-portrait {border:1.5px solid var(--ink)}

.home-opening {padding-block:26px 42px}
.social-splash {position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;min-height:490px;padding:clamp(32px,5.3vw,72px);overflow:hidden;border:2px solid var(--ink);border-radius:30px;background:var(--purple);box-shadow:6px 6px 0 var(--ink);color:var(--card)}
.social-splash::before {content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle,var(--card) 0 1px,transparent 1.5px) 0 0 / 17px 17px;opacity:.22;mask-image:linear-gradient(95deg,transparent 25%,black)}
.social-splash::after {content:"";position:absolute;z-index:-1;right:-7%;top:-32%;width:61%;aspect-ratio:1;border:1px solid var(--pink);border-radius:50%;opacity:.32;box-shadow:0 0 0 34px var(--purple),0 0 0 35px var(--pink),0 0 0 68px var(--purple),0 0 0 69px var(--pink)}
.splash-copy {position:relative;z-index:2}
.home-opening .splash-copy h1 {max-width:9ch;margin:0 0 20px;font-size:clamp(65px,7.2vw,106px);letter-spacing:-.048em;line-height:.92}
.splash-copy h1 span {white-space:nowrap}
.splash-copy p {max-width:32ch;margin:0 0 25px;color:var(--card);font-size:clamp(17px,2.1vw,23px);line-height:1.4}
.splash-actions {display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap}
.splash-play,.splash-play:visited {background:var(--lime);color:var(--ink)}
.splash-play:hover {background:var(--pink);color:var(--ink)}
.splash-example,.splash-example:visited {display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--card);font-weight:700}
.splash-example:hover {color:var(--lime)}
.social-splash :focus-visible,.social-result .friend-invite :focus-visible {outline-color:var(--lime)}
.splash-art {position:relative;min-width:0;min-height:380px}
.splash-card {position:absolute;top:18%;margin:0;padding:8px 8px 0;background:var(--card);border:2px solid var(--ink);border-radius:17px;box-shadow:5px 7px 0 var(--ink);color:var(--ink)}
.splash-card img {width:100%;aspect-ratio:3/4;object-fit:cover;border:1px solid var(--ink);border-radius:10px 10px 5px 5px}
.splash-card figcaption {padding:6px 0 8px;color:var(--ink);text-align:center;overflow:hidden;font:800 clamp(11px,1.15vw,16px)/1.15 var(--display);white-space:nowrap}
.splash-card--left {left:-1%;width:38%;top:20%;background:var(--sky);transform:rotate(-16deg)}
.splash-card--right {right:-2%;width:39%;top:24%;background:var(--pink);transform:rotate(16deg)}
.splash-card--main {width:46%;left:27%;top:8%;z-index:1;background:var(--lime);transform:rotate(-4deg)}

.splash-spark {position:absolute;z-index:2;color:var(--lime);font:800 clamp(38px,6vw,75px)/1 var(--display);text-shadow:2px 3px var(--ink);pointer-events:none}
.splash-spark--top {right:4%;top:0;transform:rotate(12deg)}
.splash-spark--bottom {left:5%;bottom:4%;color:var(--pink);font-size:clamp(30px,4vw,53px);transform:rotate(-10deg)}
.social-pick {padding-top:clamp(36px,5.8vw,76px);scroll-margin-top:12px}
.social-section-top {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 20px;margin-bottom:18px}
.social-section-top h2 {margin:0;font-size:clamp(33px,4.7vw,57px);line-height:1}
.social-section-top p {margin:0;font-size:15px;font-weight:700;color:var(--muted)}
.social-quiz-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.9vw,24px);align-items:stretch}
.social-quiz-card {--tile:var(--sky);position:relative;display:flex;flex-direction:column;min-width:0;border:2px solid var(--ink);border-radius:18px;background:var(--tile);box-shadow:4px 4px 0 var(--ink);transition:transform .18s,box-shadow .18s}
.social-quiz-card:is(:hover,:focus-within) {transform:translateY(-4px);box-shadow:5px 8px 0 var(--ink)}
.social-quiz-card[data-series=big-bang-theory] {--tile:var(--apricot)}
.social-quiz-card[data-series=dream-of-the-red-chamber] {--tile:var(--pink)}
.social-quiz-card[data-series=seven-deadly-sins] {--tile:var(--lime)}
.social-quiz-cover {position:relative;display:block;aspect-ratio:1.41;overflow:hidden;border:1.5px solid var(--ink);border-radius:10px;margin:8px 8px 0;background:var(--tile)}
.social-quiz-cover img {display:block;width:100%;height:100%;object-fit:cover;object-position:center 26%}
.social-quiz-medium {position:absolute;top:7px;left:7px;padding:4px 8px;border:1px solid var(--ink);border-radius:999px;background:var(--card);color:var(--ink);font-size:12px;line-height:1.2;font-weight:700}
.social-quiz-stamp {position:absolute;right:8px;bottom:7px;color:var(--tile);font:800 32px/1 var(--display);text-shadow:1px 2px 0 var(--ink)}
.social-quiz-info {padding:12px;display:flex;flex:1;flex-direction:column}
.social-quiz-info h3 {margin:0 0 4px;font-size:clamp(18px,2vw,25px);line-height:1.08;letter-spacing:-.045em}
.social-quiz-info h3 a {color:var(--ink);text-decoration:none}
.social-quiz-info h3 a:hover {text-decoration:underline}
.social-quiz-info p {margin:0 0 12px;color:var(--ink);font-size:14px;line-height:1.3}
.social-quiz-play {display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:43px;margin-top:auto;padding:6px 11px;border:1.5px solid var(--ink);border-radius:9px;background:var(--card);color:var(--ink);font-weight:800;font-size:15px;text-decoration:none}
.social-quiz-play:hover {background:var(--ink);color:var(--card)}

.home-roster .home-profile-list {grid-template-columns:repeat(4,minmax(0,1fr))}
.home-roster .home-profile-link {background:var(--card);border-radius:12px}

.social-result {--result-color:var(--pink);padding-block:clamp(30px,5.4vw,72px) 52px}
.social-result[data-match-series$="/harry-potter"] {--result-color:var(--sky)}
.social-result[data-match-series$="/big-bang-theory"] {--result-color:var(--apricot)}
.social-result:is([data-match-series$="/seven-deadly-sins"],[data-match-series$="/7-deadly-sins-test"]) {--result-color:var(--lime)}
.social-result .shared-result-hero {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(26px,6vw,84px);padding:0 0 clamp(32px,6vw,70px)}
.social-result .shared-result-portrait {display:flex;flex-direction:column;align-items:center;width:100%;max-width:450px;justify-self:center;overflow:hidden;padding:clamp(16px,3vw,28px) clamp(20px,4vw,48px) 14px;border:2px solid var(--ink);border-radius:24px;background:var(--result-color);box-shadow:6px 6px 0 var(--ink)}
.result-art-frame {position:relative;isolation:isolate;width:100%;max-width:315px;aspect-ratio:3/4;padding:6px;border:2px solid var(--ink);border-radius:17px;background:var(--card);transform:rotate(-4deg);box-shadow:3px 4px 0 var(--ink)}
.social-result .result-art-frame img {width:100%;height:100%;aspect-ratio:auto;border:1px solid var(--ink);border-radius:11px;object-fit:cover;object-position:center 25%}
.social-result .result-art-frame .hp-initials {height:100%;width:100%;font-size:clamp(34px,8vw,100px)}
.result-art-spark {position:absolute;z-index:1;color:var(--card);font:800 clamp(32px,6vw,76px)/1 var(--display);text-shadow:1px 2px 0 var(--ink);pointer-events:none}
.result-art-spark--top {top:-11px;right:-24px;transform:rotate(15deg)}
.result-art-spark--bottom {bottom:-8px;left:-19px;color:var(--brand);font-size:clamp(32px,4vw,56px)}
.result-art-series {padding-top:15px;color:var(--ink);font:800 clamp(13px,1.9vw,20px)/1.1 var(--display);text-align:center}
.result-kicker {display:inline-block;margin:0 0 10px;padding:5px 9px;border:1px solid var(--ink);border-radius:6px;background:var(--result-color);font-size:13px;font-weight:800;line-height:1.2;text-transform:uppercase;letter-spacing:.08em}
.social-result .shared-result-reading h1 {font-size:clamp(49px,7vw,96px);margin:0 0 14px;line-height:.94;letter-spacing:-.048em}
.social-result .shared-result-label {font:700 clamp(18px,2.3vw,26px)/1.2 var(--display);margin-bottom:8px}
.social-result .shared-result-traits {margin:0 0 24px;color:var(--muted);font-weight:700}
.social-result .shared-result-actions {gap:10px 13px}
.social-result .shared-result-actions .button {min-height:50px}
.result-share-primary,.result-share-primary:visited {background:var(--lime);color:var(--ink)}

.result-share-primary:hover {background:var(--result-color);color:var(--ink)}
.result-utilities {display:flex;align-items:center;flex-wrap:wrap;gap:2px 14px;margin:10px 0 14px}
.result-utilities button {display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:3px 0;border:0;background:none;color:var(--brand-deep);font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.result-utilities small {display:inline-block;border:1px solid var(--line);border-radius:4px;padding:0 3px;text-decoration:none;color:var(--muted);font-size:12px}
.social-result .shared-result-summary {margin:12px 0;color:var(--ink)}
.result-next {display:flex;gap:4px 19px;flex-wrap:wrap;font-size:15px;font-weight:700}
.result-next>a {display:inline-flex;align-items:center;gap:5px;min-height:44px;margin:0}
.social-result .friend-panel {border:2px solid var(--ink);border-radius:21px;box-shadow:4px 4px 0 var(--ink);padding:clamp(18px,4.2vw,40px)}
.social-result .friend-panel h2 {font-size:clamp(27px,4.6vw,48px);line-height:1}
.social-result .friend-invite {background:var(--purple);color:var(--card)}
.social-result .friend-invite p {color:var(--card)}
.social-result .friend-invite .button:first-child {background:var(--lime);color:var(--ink)}
.social-result .friend-invite .friend-share-actions {gap:10px}
.social-result .friend-comparison {background:var(--soft);margin-bottom:24px}
.social-result .friend-match {background:var(--card);border:1.5px solid var(--ink)}

.quiz-landing .eyebrow {display:table;padding:4px 10px;background:var(--soft);border:1px solid var(--ink);border-radius:6px;color:var(--brand-deep);transform:rotate(-2deg)}
.quiz-landing>.page-lead {margin-bottom:20px}
.quiz-landing .quiz-note {margin:0 0 12px;color:var(--muted);font-weight:700}
.stage {border:2px solid var(--ink);border-radius:20px;background:var(--soft);box-shadow:5px 6px 0 var(--ink)}
.stage iframe,.embed-body {background:var(--soft)}
.stage-actions {padding-top:19px}
.stage-actions button {border:1.5px solid var(--ink);border-radius:10px;background:var(--card);font-weight:700}
.quiz-invitation {max-width:80ch;padding:10px 14px;border:1.5px solid var(--ink);border-radius:10px;background:var(--lime);color:var(--ink)}
.embed-shell {max-width:1030px;padding:clamp(16px,3.6vw,35px)}
.quiz-top {align-items:center}
.quiz-story {color:var(--ink);font-weight:800;font-size:clamp(14px,2.3vw,22px)}
[data-question-counter] {padding:5px 9px;border:1.5px solid var(--ink);border-radius:8px;background:var(--lime);color:var(--ink);font-weight:800;line-height:1.2;white-space:nowrap}
.embed-shell progress {height:10px;margin-block:14px 20px;border:1px solid var(--ink);border-radius:6px;overflow:hidden;background:var(--card)}

.embed-shell progress::-webkit-progress-bar {background:var(--card)}
.embed-shell progress::-webkit-progress-value {background:var(--purple)}
.embed-shell progress::-moz-progress-bar {background:var(--purple)}
.question-intro {margin-bottom:16px}
.question-intro h2 {margin-bottom:7px;color:var(--ink);font-size:clamp(24px,4vw,39px);line-height:1.07;letter-spacing:-.035em}
.question-prompt {max-width:64ch;color:var(--ink);font-size:clamp(16px,2.3vw,19px);line-height:1.37}
.answer-grid {gap:12px}
.answer {align-items:center;position:relative;min-height:86px;padding:13px;line-height:1.35;border:1.5px solid var(--ink);border-radius:12px;box-shadow:2px 3px 0 var(--ink);font-weight:600;background:var(--card)}
.answer:hover {background:var(--sky);border-color:var(--ink)}
.answer[aria-pressed=true] {border:1.5px solid var(--ink);padding:13px;background:var(--lime);box-shadow:0 1px 0 var(--ink)}
.answer[aria-pressed=true] .answer-letter {background:var(--ink);color:var(--lime)}
.answer-letter {border:1px solid var(--ink);background:var(--soft);color:var(--ink);font:800 15px var(--display)}
.quiz-controls {margin-top:18px}
.quiz-controls .quiz-small {font-size:14px}
@media (min-width:780px) {
  .social-result .shared-result-portrait {animation:result-reveal .45s cubic-bezier(.2,.8,.2,1) both}
}
@keyframes result-reveal {from {opacity:0;transform:translateY(16px) rotate(-3deg)} to {opacity:1;transform:translateY(0) rotate(0)}}
@media (max-width:820px) {
  .social-quiz-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-roster .home-profile-list {grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-splash {min-height:440px;padding:30px}
  .splash-art {min-height:300px}
  .home-opening .splash-copy h1 {font-size:clamp(48px,8vw,72px)}
}
@media (min-width:641px) and (max-width:780px) {
  .site-header {min-height:106px;padding-top:10px;flex-wrap:wrap;gap:0}
  .site-header .site-nav,.site-header .site-nav-bar {width:100%}
  .site-header .site-nav-bar {justify-content:space-between}
  .site-account {position:absolute;right:0;top:6px}
}
@media (max-width:640px) {
  .wrap {width:calc(100% - 32px)}
  .site-header {min-height:104px}
  .site-header .site-nav-bar {gap:8px}
  .wordmark {font-size:21px}
  .social-splash {grid-template-columns:1fr;min-height:0;gap:16px;padding:22px 18px 11px;border-radius:21px;box-shadow:4px 5px 0 var(--ink)}
  .social-splash::before {mask-image:linear-gradient(0deg,black,transparent 70%)}
  .social-splash::after {width:80%;right:-10%;top:38%}
  .home-opening {padding-top:18px}
  .home-opening .splash-copy h1 {max-width:11ch;font-size:clamp(52px,11.9vw,74px);margin-bottom:13px}
  .splash-copy p {margin-bottom:13px;font-size:17px}
  .splash-actions {gap:8px 14px}
  .splash-play {min-height:44px;padding:8px 13px;font-size:14px}

  .splash-example {font-size:14px}
  .splash-art {width:100%;max-width:365px;justify-self:center;min-height:0;aspect-ratio:1.55}
  .splash-card {padding:5px 5px 0;border-radius:13px;box-shadow:3px 3px 0 var(--ink)}
  .splash-card img {border-radius:7px}
  .splash-card--left {left:7%;width:31%}
  .splash-card--right {right:6%;width:31%}
  .splash-card--main {left:33%;width:34%}
  .splash-spark--bottom {bottom:11%}
  .social-pick {padding-top:42px}
  .social-quiz-info {padding:9px}
  .social-quiz-cover {margin:5px 5px 0}
  .social-quiz-medium {font-size:12px;left:5px;top:5px;padding:3px 5px}
  .social-quiz-info p {font-size:13px}
  .social-quiz-play {min-height:44px;font-size:14px;padding:6px 8px}
  .social-result .shared-result-hero {display:flex;flex-direction:column;align-items:stretch;gap:23px}
  .social-result .shared-result-portrait {width:min(80%,300px);align-self:center;padding:13px 23px 10px;border-radius:18px;box-shadow:4px 4px 0 var(--ink)}
  .result-art-frame {aspect-ratio:1;width:90%}
  .result-art-series {padding-top:9px}
  .social-result .shared-result-reading h1 {font-size:clamp(40px,11vw,62px)}
  .social-result .shared-result-actions .button:first-child {flex-basis:auto}
  .social-result .shared-result-actions .button {min-height:44px}
  .result-utilities {gap:0 12px;margin-bottom:4px}
  .answer {min-height:66px;padding:10px 12px}
  .answer[aria-pressed=true] {padding:10px 12px}
  .quiz-controls {display:flex;margin-top:14px}
  .quiz-controls .button {width:auto;min-width:96px}
}
@media (max-width:380px) {
  .site-header>.wordmark .brand-mark {width:32px;height:32px;font-size:20px}
  .social-quiz-grid {gap:10px}
  .social-quiz-info h3 {font-size:17px}
  .splash-card figcaption {font-size:12px;line-height:1.2;padding:4px 0 6px}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  .social-quiz-card,.social-result .shared-result-portrait,.button,.answer,.loader-pages i {animation:none;transition:none}
}

