:root{--quiz-green:#214333;--quiz-soft:#e4ece2;--quiz-cream:#f7f3ea;--quiz-ink:#17251c;--quiz-muted:#667068}
.mbti-page{min-height:100vh}.mbti-nav .is-current{color:var(--forest);position:relative}.mbti-nav .is-current:after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:2px;background:var(--forest)}
.mbti-hero{padding:54px 0 26px}.mbti-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:end}.mbti-hero h1{font-family:var(--serif);font-size:clamp(2.8rem,5.8vw,5.8rem);line-height:1.08;letter-spacing:-.055em;margin:0}.mbti-hero h1 em{font-style:normal;color:var(--forest-2)}.mbti-hero-copy span{display:inline-flex;padding:8px 12px;border-radius:999px;background:#e4ece2;color:var(--forest);font-size:.78rem;font-weight:800;margin-bottom:12px}.mbti-hero-copy p{margin:0;color:var(--muted);max-width:540px}
.quiz-section{padding-bottom:88px}.quiz-shell{background:var(--paper);border:1px solid var(--line);border-radius:30px;box-shadow:0 28px 80px rgba(20,42,29,.11);overflow:hidden;min-height:650px}.quiz-screen{min-height:650px}.start-screen{display:grid;grid-template-columns:1.05fr .95fr;align-items:stretch}.start-copy{padding:70px 68px;display:flex;flex-direction:column;justify-content:center}.start-copy h2{font-family:var(--serif);font-size:clamp(2rem,3.5vw,3.6rem);line-height:1.22;letter-spacing:-.04em;margin:5px 0 20px}.start-copy>p:not(.eyebrow){color:var(--muted);max-width:650px}.axis-chips{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 30px}.axis-chips span{padding:8px 12px;border-radius:999px;background:#eef2ec;color:var(--forest);font-size:.76rem;font-weight:750}.start-button{width:min(330px,100%);height:58px;border:0;border-radius:16px;background:var(--forest);color:#fff;font-weight:800;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:0 20px;font-size:1rem}.start-button:hover{background:var(--forest-2)}.start-copy>small{display:block;color:#8a938d;font-size:.68rem;margin-top:14px}.start-visual{position:relative;min-height:650px;background:linear-gradient(145deg,#dce7da,#f0ebdf);overflow:hidden}.start-card{position:absolute;width:48%;aspect-ratio:4/5;border-radius:22px;overflow:hidden;box-shadow:0 22px 55px rgba(23,37,28,.2);border:5px solid rgba(255,255,255,.8)}.start-card img{width:100%;height:100%;object-fit:cover}.card-one{right:8%;top:9%;transform:rotate(4deg)}.card-two{left:8%;bottom:8%;transform:rotate(-6deg)}.start-character{position:absolute;z-index:3;left:50%;bottom:-5px;transform:translateX(-50%);width:42%;filter:drop-shadow(0 18px 25px rgba(20,42,29,.22))}.start-character img{width:100%}
.question-screen{padding:48px 58px 42px;display:flex;flex-direction:column}.progress-wrap{max-width:860px;width:100%;margin:0 auto}.progress-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--muted);font-weight:750}.progress-track{height:8px;border-radius:999px;background:#e6e9e3;margin-top:10px;overflow:hidden}.progress-track i{display:block;height:100%;width:8.33%;background:linear-gradient(90deg,var(--forest),#71916f);border-radius:inherit;transition:width .35s ease}.question-wrap{max-width:860px;width:100%;margin:auto}.question-kicker{color:var(--moss);font-size:.7rem;font-weight:850;letter-spacing:.18em;margin:34px 0 8px}.question-wrap h2{font-family:var(--serif);font-size:clamp(1.9rem,3.4vw,3.15rem);line-height:1.25;letter-spacing:-.04em;margin:0;max-width:780px}.question-hint{color:var(--muted);font-size:.8rem;margin:12px 0 26px}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.answer-card{min-height:150px;border:1px solid var(--line);border-radius:20px;background:#fff;text-align:left;padding:24px;cursor:pointer;color:var(--ink);transition:.2s;display:flex;flex-direction:column;justify-content:space-between}.answer-card:hover,.answer-card:focus-visible{transform:translateY(-3px);border-color:rgba(30,60,45,.48);box-shadow:0 16px 35px rgba(20,42,29,.09);outline:none}.answer-card.is-selected{background:#e6eee4;border-color:var(--forest);box-shadow:0 0 0 2px rgba(30,60,45,.15)}.answer-card small{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef2ec;color:var(--forest);font-weight:850}.answer-card strong{font-family:var(--serif);font-size:1.2rem;line-height:1.45;font-weight:650}.question-actions{max-width:860px;width:100%;margin:26px auto 0;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.7rem}.back-button{border:0;background:transparent;color:var(--forest);font-weight:800;cursor:pointer;padding:8px 0}.back-button:disabled{opacity:.35;cursor:default}
.result-screen{padding:42px}.result-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.result-heading h2{font-family:var(--serif);font-size:clamp(2rem,3.5vw,3.4rem);margin:0}.restart-top{border:0;background:transparent;color:var(--forest);font-weight:800;cursor:pointer}.result-card{display:grid;grid-template-columns:minmax(360px,.86fr) 1.14fr;border-radius:26px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 18px 55px rgba(20,42,29,.09)}.result-visual{position:relative;min-height:700px;background:#ddd}.result-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,243,234,.96) 0%,rgba(247,243,234,.72) 36%,rgba(247,243,234,0) 68%);pointer-events:none}.result-visual img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.result-visual-copy{position:absolute;z-index:2;left:30px;top:40px;width:47%;color:var(--forest)}.result-visual-copy>span{display:inline-grid;place-items:center;min-width:76px;height:38px;padding:0 13px;border-radius:999px;background:var(--forest);color:#fff;font-size:1rem;font-weight:900;letter-spacing:.08em}.result-visual-copy small{display:block;margin-top:18px;color:var(--moss);font-weight:800}.result-visual-copy h3{font-family:var(--serif);font-size:clamp(1.8rem,3vw,3rem);line-height:1.18;letter-spacing:-.04em;margin:6px 0 0}.result-content{padding:42px 44px;display:flex;flex-direction:column}.result-tags{display:flex;flex-wrap:wrap;gap:7px}.result-tags span{padding:7px 10px;border-radius:999px;background:#eef2ec;color:var(--forest);font-size:.7rem;font-weight:800}.result-lead{font-family:var(--serif);font-size:1.45rem;line-height:1.55;margin:24px 0 10px;color:var(--forest)}.result-description{color:var(--muted);margin:0 0 24px}.recommend-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:18px;overflow:hidden}.recommend-grid div{padding:16px 17px;min-height:91px}.recommend-grid div:nth-child(odd){border-right:1px solid var(--line)}.recommend-grid div:nth-child(-n+2){border-bottom:1px solid var(--line)}.recommend-grid small,.recommend-grid strong{display:block}.recommend-grid small{color:var(--moss);font-size:.68rem;font-weight:800;margin-bottom:5px}.recommend-grid strong{font-size:.88rem;line-height:1.45}.axis-result{margin-top:26px;display:grid;gap:14px}.axis-row>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.76rem}.axis-row>div:first-child span{color:var(--moss);font-weight:800}.axis-line{height:7px;border-radius:999px;background:#dfe6dd;overflow:hidden;margin-top:7px}.axis-line i{display:block;height:100%;background:linear-gradient(90deg,#789276,var(--forest));width:50%;border-radius:inherit;transition:width .7s ease}.axis-ends{display:flex;justify-content:space-between;color:#90988f;font-size:.62rem;font-weight:850;margin-top:3px}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto;padding-top:28px}.result-actions a,.result-actions button{height:48px;border-radius:13px;border:1px solid var(--forest);background:#fff;color:var(--forest);font:inherit;font-size:.77rem;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:0 15px;text-decoration:none}.result-actions a.primary{background:var(--forest);color:#fff}.result-actions button{grid-column:1/-1;justify-content:center}.share-status{min-height:20px;text-align:center;color:var(--moss);font-size:.7rem;margin:7px 0 0}.result-footnote{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:18px;padding:0 4px;color:var(--muted);font-size:.72rem}.result-footnote p{margin:0;max-width:800px}.result-footnote button{border:0;background:transparent;color:var(--forest);font-weight:800;cursor:pointer;white-space:nowrap}
[hidden]{display:none!important}
@media(max-width:1100px){.start-copy{padding:54px 42px}.result-card{grid-template-columns:1fr}.result-visual{min-height:610px}.result-content{padding:36px}.result-visual-copy{width:42%}}
@media(max-width:820px){.mbti-hero{padding:34px 0 18px}.mbti-hero-grid{grid-template-columns:1fr;gap:20px}.quiz-shell{border-radius:22px;min-height:0}.quiz-screen{min-height:0}.start-screen{grid-template-columns:1fr}.start-copy{padding:42px 28px 34px}.start-visual{min-height:410px;order:-1}.start-character{width:36%}.question-screen{padding:30px 22px 28px;min-height:600px}.answer-grid{grid-template-columns:1fr}.answer-card{min-height:112px;padding:18px}.answer-card strong{font-size:1.05rem}.result-screen{padding:22px}.result-heading{align-items:center}.result-visual{min-height:540px}.result-content{padding:28px}.result-footnote{display:block}.result-footnote button{margin-top:12px;padding:0}}
@media(max-width:560px){.mbti-hero h1{font-size:2.65rem}.mbti-hero-copy p{font-size:.88rem}.quiz-section{padding-bottom:60px}.start-visual{min-height:330px}.start-card{border-width:3px;border-radius:16px}.start-character{width:40%}.start-copy h2{font-size:2rem}.question-screen{min-height:570px}.question-wrap h2{font-size:1.75rem}.question-hint{font-size:.72rem}.question-actions span{display:none}.result-screen{padding:14px}.result-heading{padding:10px 3px}.result-heading h2{font-size:1.75rem}.restart-top{font-size:.72rem}.result-visual{min-height:470px}.result-visual-copy{left:20px;top:24px;width:46%}.result-visual-copy h3{font-size:1.65rem}.result-content{padding:24px 20px}.result-lead{font-size:1.2rem}.recommend-grid{grid-template-columns:1fr}.recommend-grid div{min-height:auto}.recommend-grid div:nth-child(odd){border-right:0}.recommend-grid div:nth-child(-n+3){border-bottom:1px solid var(--line)}.result-actions{grid-template-columns:1fr}.result-actions button{grid-column:auto}.result-footnote{padding:0 8px}}
