:root{--ink:#253a42;--muted:#66716e;--red:#bd452d;--cream:#f1eee5;--line:#d7d8ca;--paper:#fffef8;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--cream);color-scheme:light}
*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(#273d4210 .7px,transparent .7px);background-size:6px 6px}button,input,textarea{font:inherit}button,a,input,label{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid #287a88;outline-offset:4px}button{min-height:48px}button,input{touch-action:manipulation}.masthead{height:92px;max-width:1120px;padding:0 36px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:11px;font-weight:800;text-decoration:none;letter-spacing:.1em}.wordmark small{display:block;font-size:8px;letter-spacing:.16em;margin-top:3px}.seal-mark{font-family:serif;font-size:27px;border:2px solid var(--ink);height:43px;width:43px;display:grid;place-items:center}.open{font-size:11px;letter-spacing:.09em}.open i{display:inline-block;background:var(--red);width:6px;height:6px;border-radius:50%;margin-right:7px}main{max-width:1120px;margin:auto;padding:0 36px}.intro{display:flex;align-items:center;justify-content:space-between;padding:44px 0 34px;gap:24px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.19em;margin:0 0 12px}.intro h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(34px,4.5vw,52px);letter-spacing:.03em;line-height:1.37;margin:0 0 19px;font-weight:900}.intro h1>span:first-of-type{background:linear-gradient(transparent 83%,#bd452d27 83%)}.title-dot{color:var(--red)}.lead{font-size:13px;line-height:1.9;margin:0;color:#536363}.rate{border:1px solid #bec5b9;padding:21px 25px;text-align:center;transform:rotate(3deg);min-width:200px;position:relative;margin-right:19px;background:#e9ebdf}.rate:before,.rate:after{content:"";height:17px;width:40px;background:#d2c9b986;position:absolute;top:-9px;left:calc(50% - 20px);transform:rotate(-9deg)}.rate:after{top:auto;bottom:-9px;transform:rotate(8deg)}.rate>span{display:block;font-size:10px;letter-spacing:.1em}.rate strong{font-family:Georgia,serif;font-size:68px;line-height:1.3;font-weight:400;color:var(--red)}.rate strong small{font-size:29px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:26px;align-items:start}.paper{background:var(--paper);border:1px solid var(--line);box-shadow:5px 6px 0 #dfdfd3;min-width:0}.paper-bar{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);padding:14px 27px;border-bottom:1px solid var(--line)}#game{padding:28px}.stage-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:10px;font-weight:700;letter-spacing:.05em;color:var(--muted)}.step-label{color:var(--red);white-space:nowrap}.form-title{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:26px;margin:14px 0 9px;line-height:1.4}.instruction{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 23px}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:12px;font-weight:700;margin-bottom:12px}.options{display:grid;gap:9px}.option{position:relative;display:flex;align-items:center;gap:12px;padding:14px 15px;border:1px solid var(--line);background:#fafaf4;cursor:pointer;min-height:57px;transition:background .15s,border-color .15s}.option:hover{border-color:#96a49c}.option:has(input:checked){background:#edf1e8;border-color:var(--ink)}.option input{accent-color:var(--ink);width:18px;height:18px;flex-shrink:0}.option strong{display:block;font-size:13px;line-height:1.5}.option small{display:block;font-size:11px;margin-top:3px;color:var(--muted);line-height:1.5}.primary,.secondary{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:15px 20px;border:1px solid var(--ink);background:var(--ink);color:white;font-size:13px;font-weight:700;letter-spacing:.06em}.primary{margin-top:24px}.primary:hover{background:#36515a}.primary:disabled{opacity:.5}.secondary{background:transparent;color:var(--ink);justify-content:center;margin-top:10px}.secondary:hover{background:#eeefe4}.fineprint{font-size:10px;color:var(--muted);margin:10px 0 0;text-align:center}.ledger{background:#e8ecdf;border:1px solid #d5dccb;padding:23px 20px}.ledger-top{border-bottom:1px solid #cad1c3;padding-bottom:17px;position:relative}.ledger h2{font-size:17px;margin:0}.ledger-top>p:last-child{margin:12px 0 0;color:var(--muted);font-size:11px}.ledger-top strong{font-family:Georgia,serif;font-size:32px;font-weight:400;color:var(--ink)}.ledger ol{list-style:none;padding:0;margin:9px 0}.ledger li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px dashed #c8d0c0;min-height:59px}.stamp-mini{width:37px;height:37px;display:grid;place-items:center;border:1px dashed #aab5a2;border-radius:50%;font-size:11px;color:#778472;flex-shrink:0}.earned .stamp-mini{color:var(--red);border:2px solid var(--red);font-weight:800;transform:rotate(-12deg);font-size:12px}.ledger li>span:last-child{font-size:11px;color:#5d6c61}.ledger li.active>span:last-child{font-weight:700;color:var(--ink)}.clerk-note{display:flex;gap:9px;padding-top:12px}.clerk-note>span{font-family:serif;font-size:25px}.clerk-note p{font-size:10px;line-height:1.9;margin:0;color:#63705e}footer{display:flex;justify-content:space-between;gap:15px;padding:25px 0 35px;font-size:10px;color:var(--muted)}.stamp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stamp-choice{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px dashed #a9b2a5;cursor:pointer;font-size:12px}.stamp-choice:has(input:checked){background:#fff0e9;border:2px solid var(--red);color:var(--red)}.stamp-choice input{accent-color:var(--red);width:20px;height:20px}.stamp-choice b{font-family:serif;font-size:22px}.energy-value{text-align:center;font-family:Georgia,serif;font-size:62px;color:var(--red);display:block;margin:2px 0 12px}.energy-value small{font-family:inherit;font-size:17px;color:var(--muted)}input[type=range]{width:100%;height:44px;accent-color:var(--red);cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:5px 0 22px}.result-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0}.big-stamp{font-family:serif;display:inline-block;font-size:32px;font-weight:900;line-height:1.2;letter-spacing:.13em;padding:10px 14px;border:4px double var(--red);color:var(--red);transform:rotate(-8deg);animation:stamp .22s ease-out}.decision-tag{font-size:10px;color:var(--muted);line-height:1.8}.reason-title{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:24px;line-height:1.6;margin:26px 0 10px}.reason-body{font-size:13px;line-height:2;margin:0 0 20px;color:#52625e}.acquired{font-size:11px;padding:12px;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);color:var(--red)}.certificate{text-align:center;border:3px double #9ca58f;padding:24px 18px;position:relative;background:linear-gradient(135deg,#fffef8,#f1f3e6)}.certificate .eyebrow{color:var(--red)}.certificate h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:29px;line-height:1.5;margin:15px 0}.certificate .rank{font-family:Georgia,serif;font-size:63px;line-height:1.2;color:var(--red);margin:20px 0 5px}.rank small{font-size:21px}.certificate p{font-size:12px;line-height:1.9}.certificate .big-stamp{font-size:19px;margin:13px 0}.certificate .cert-id{font-size:9px;letter-spacing:.1em;color:var(--muted)}.error{font-size:12px;color:var(--red);min-height:1em}.share-status{font-size:12px;line-height:1.7}.share-fallback textarea{width:100%;min-height:115px;resize:vertical;padding:10px;border:1px solid var(--line);color:var(--ink);font-size:12px;line-height:1.8}.share-fallback label{display:block;font-size:12px;margin:12px 0 8px}.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}.noscript{padding:25px;text-align:center}@keyframes stamp{from{opacity:0;transform:rotate(-8deg) scale(1.4)}to{opacity:1;transform:rotate(-8deg) scale(1)}}
@media(max-width:740px){.masthead{height:74px;padding:0 20px}main{padding:0 20px}.intro{padding:28px 0 25px}.intro h1{font-size:36px;margin-bottom:13px}.rate{display:none}.lead{font-size:12px}.workspace{grid-template-columns:minmax(0,1fr);gap:22px}.paper-bar{padding:12px 18px;font-size:9px}#game{padding:22px 19px}.form-title{font-size:24px}.instruction{margin-bottom:19px}.ledger{padding:18px}.ledger-top{border:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0}.ledger-top .eyebrow{display:none}.ledger-top h2{font-size:14px}.ledger-top>p:last-child{margin:0}.ledger-top strong{font-size:26px}.ledger ol{display:grid;grid-template-columns:repeat(5,1fr);margin:12px 0 0;gap:4px}.ledger li{flex-direction:column;gap:8px;padding:8px 0;border:0;min-width:0}.ledger li>span:last-child{font-size:9px;text-align:center;line-height:1.5}.clerk-note{padding-top:11px;border-top:1px dashed #c8d0c0}.clerk-note p br{display:none}footer{flex-direction:column;gap:8px;font-size:9px;padding:23px 0}.reason-title{font-size:22px}.certificate h2{font-size:26px}.open{font-size:9px}.stage-meta{font-size:9px}.primary{margin-top:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the first action close to the fold on compact phones. */
@media(max-width:740px){.masthead{height:65px}.intro{padding:21px 0}.intro .eyebrow{margin-bottom:8px;font-size:9px}.intro h1{font-size:32px;line-height:1.3;margin-bottom:11px}.lead{font-size:11px;line-height:1.8}.option{padding:11px 12px}.primary{margin-top:18px}}

.truth-note{max-width:680px;margin:14px 0 0;padding:10px 12px;border-left:3px solid var(--red);background:#fff9ef;font-size:10px;line-height:1.8;color:#5b625e}.truth-note strong{color:var(--ink)}
.fact-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:18px;margin:22px 0;padding:16px;border:1px solid #d3d8cc;background:#f3f5ec}.fact-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px dashed #c4cabc;padding-right:14px}.fact-stat span{font-size:9px;letter-spacing:.18em;color:var(--muted)}.fact-stat strong{font-family:Georgia,serif;font-size:34px;line-height:1.2;color:var(--red);font-weight:400}.fact-card h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:17px;margin:2px 0 7px}.fact-card p{font-size:11px;line-height:1.8;margin:0 0 8px;color:#52625e}.fact-card .fact-label{font-size:9px;font-weight:700;letter-spacing:.08em;color:var(--red);margin-bottom:4px}.fact-card a{font-size:10px;font-weight:700;color:#245f69;text-underline-offset:3px}.secondary-rank{font-size:48px!important;margin-top:12px!important}
@media(max-width:520px){.fact-card{grid-template-columns:1fr;gap:10px}.fact-stat{border-right:0;border-bottom:1px dashed #c4cabc;padding:0 0 10px;align-items:flex-start}.fact-stat strong{font-size:30px}.truth-note{font-size:9px}}

.header-actions{display:flex;align-items:center;gap:14px}.lang-wrap select{min-height:44px;max-width:190px;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:8px 30px 8px 10px;border-radius:6px;font-size:12px}.lang-wrap select:focus-visible{outline:3px solid #287a88;outline-offset:3px}
html:not([lang="ja"]) .intro h1,html:not([lang="ja"]) .form-title,html:not([lang="ja"]) .reason-title,html:not([lang="ja"]) .fact-card h3,html:not([lang="ja"]) .certificate h2{font-family:Arial,Helvetica,sans-serif;letter-spacing:0}
html:not([lang="ja"]) .intro h1{font-size:clamp(30px,4.2vw,49px)}
@media(max-width:740px){.masthead{gap:10px}.wordmark{letter-spacing:.04em}.header-actions{gap:7px}.open{display:none}.lang-wrap select{max-width:145px;font-size:11px}.paper-bar{flex-wrap:wrap}.fact-card p,.reason-body{overflow-wrap:anywhere}}
@media(max-width:390px){.wordmark small{display:none}.seal-mark{width:36px;height:36px;font-size:23px}.lang-wrap select{max-width:132px}}
