:root{--navy:#101b2b;--ink:#172333;--paper:#f4f6f8;--amber:#efbb55;--muted:#5c6c7d;font-family:"BIZ UDPGothic","Yu Gothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;font-size:16px;color:var(--ink);background:#080f19;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,.explanation-scroll:focus-visible{outline:3px solid #edac39;outline-offset:-3px}h1,h2,h3,p,figure{margin:0}strong{font-weight:800}a{color:inherit}[hidden]{display:none!important}
.app-shell{height:var(--app-height,100dvh);max-width:540px;margin:auto;display:flex;flex-direction:column;background:var(--paper);overflow:hidden;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.topbar{height:56px;flex:none;background:var(--navy);color:white;display:flex;align-items:center;padding:6px 16px;gap:10px}.brand{font-size:1rem;font-weight:800;flex:1;white-space:nowrap}.header-actions{display:flex;gap:7px}.tool-button{min-height:44px;border:1px solid #526071;border-radius:7px;background:transparent;color:#dfe6ef;padding:5px 8px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:.8rem;font-weight:700;white-space:nowrap}.tool-button[aria-pressed=true]{border-color:#d3ab62;color:#ffe0a0}.tool-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.identity{display:flex;align-items:center;gap:8px;min-height:34px;flex:none;padding:6px 18px;background:#e5eaf0;font-size:.875rem}.identity>span{font-size:.75rem;color:white;background:#263950;border-radius:3px;padding:2px 7px}.identity.case-identity{color:#ffe5db;background:#39232a}.identity.case-identity>span{background:#86333d}
#story{flex:1;min-height:0;overflow:hidden;outline:0}.screen{display:flex;flex-direction:column;height:100%;min-height:0;padding:16px 18px;gap:13px;overflow:hidden;animation:arrive .22s ease-out}
.situation{flex:none;background:var(--amber);border-left:4px solid #b87c0c;color:#30230e;padding:9px 11px;font-size:1rem;font-weight:800;line-height:1.5;border-radius:2px 8px 8px 2px}
.art{flex:1 1 0;min-height:70px;position:relative;border-radius:13px;overflow:hidden;background:#20334b}.art img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center 43%}.art.police img{object-position:center 35%}.art.cuffs img{object-position:center 68%}.art-label{position:absolute;bottom:11px;left:11px;background:#101b2bf2;color:#fff;border-left:4px solid var(--amber);padding:7px 10px;font-size:1rem;line-height:1.55;font-weight:700}.art-note{position:absolute;bottom:8px;right:8px;background:#101b2bdc;color:white;font-size:.75rem;padding:3px 6px}
.story-copy{flex:none}.speaker{font-size:.875rem;font-weight:700;color:#4d5d6e;margin-bottom:7px;line-height:1.45}.speech{font-size:1.2rem;line-height:1.65;font-weight:700;letter-spacing:-.025em}.context{font-size:1rem;line-height:1.6;margin-top:9px;color:#526174}.question-heading{display:flex;justify-content:space-between;gap:7px;font-size:.97rem;line-height:1.45;flex:none;font-weight:700}.count{white-space:nowrap;font-size:.875rem;font-weight:400;color:#5e6f83}
.actions{display:grid;gap:10px;flex:none}.action{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:64px;width:100%;background:#fff;color:var(--ink);border:1.5px solid #8d9eb2;border-radius:11px;box-shadow:0 3px 0 #c5cfdc;padding:12px 13px;text-align:left;font-size:1.03rem;line-height:1.5}.action>span:first-child{min-width:0}.action strong{font-weight:800}.action small{display:block;font-size:.875rem;line-height:1.55;color:#526478;margin-top:3px;font-weight:400}.chevron{font-size:1.5rem;color:#62748a;line-height:1;flex:none}.action:active:not(:disabled){transform:translateY(2px);box-shadow:none}.action.primary{justify-content:center;text-align:center;background:var(--navy);color:white;border-color:var(--navy);box-shadow:0 3px 0 #030913}.action.primary .chevron{color:#dce5f1}.nav{flex:none;margin-top:auto}.tiny{font-size:.75rem;color:var(--muted);line-height:1.55}
.intro-title{font-size:1.85rem;line-height:1.45;letter-spacing:-.04em}.intro-text{font-size:1.1rem;line-height:1.75;margin-top:9px}.fiction-note{text-align:center}.intro .art{min-height:100px}.ending-title{font-size:1.65rem;line-height:1.6;letter-spacing:-.025em}.ending-copy{font-size:1.1rem;line-height:1.75;margin-top:12px;color:#536276}.dark{background:#101927;color:white}.dark .situation{background:#652532;color:#fff0ef;border-color:#e06872}.dark .ending-copy{color:#d3dae5}.dark .action.primary{background:#b43a47;border-color:#b43a47;box-shadow:0 3px 0 #591a24}.ending .art{min-height:100px}
.roles{padding:26px 22px 20px;gap:14px;background:#101b2b;color:white;justify-content:center}.role-heading{margin-bottom:7px}.eyebrow{font-size:.875rem;line-height:1.7;color:#f1c176;font-weight:700}.role-heading h1{font-size:2rem;line-height:1.5;margin-top:8px;letter-spacing:-.035em}.roles .actions{gap:12px}.role-option{min-height:76px;background:#f4f6f8;border-color:#c4cdd8;box-shadow:none}.role-option:disabled{background:#17283b;color:#b8c6d8;border-color:#42546c}.role-option:disabled small{color:#93a7bd}.role-option:disabled .chevron{visibility:hidden}.role-rule{font-size:.95rem;line-height:1.7;margin-top:6px}.roles .tiny{color:#a7b8cc}
.explanation{padding:0;background:#121d2e;color:#eef2f7;gap:0;animation:none}.result-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none;padding:12px 18px;border-bottom:1px solid #39465a;font-size:.875rem;background:#1c2b40}.result-strip strong{font-size:1.1rem;white-space:nowrap}.explanation-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#718397 #121d2e;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:24px 20px 30px}.case-impact h1{font-size:1.65rem;line-height:1.65;margin-top:10px;letter-spacing:-.025em}.verdict{color:#ff7e83;font-size:3.05rem;font-weight:900;letter-spacing:.08em;line-height:1.5;margin:18px 0;border-block:1px solid #9c444f;padding:8px 0}.explanation-scroll p{font-size:1rem;line-height:1.85}.explanation-scroll strong{color:#ffdfb2}.explanation-scroll .eyebrow{font-size:.875rem;line-height:1.6;color:#efc57d}.explanation-scroll .fact-note{font-size:.875rem;line-height:1.7;color:#b7c5d7;margin-top:11px;border-left:2px solid #7c665a;padding-left:10px}.sources{display:grid;gap:7px;font-size:.8rem;line-height:1.7;color:#adbed4;margin-top:14px}.sources a{text-underline-offset:3px}.explanation-scroll .scroll-hint{text-align:center;font-size:.875rem;color:#efc57d;margin:27px 0 24px}.explanation-scroll h2{font-size:1.3rem;line-height:1.65}.answer-record{padding:22px 0;border-bottom:1px solid #39455a}.answer-heading{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}.answer-mark{font-size:1.6rem;line-height:1.2;color:#ff898d;font-weight:800;flex:none}.correct .answer-mark{color:#8acebe}.answer-heading h3{font-size:1.06rem;line-height:1.7}.explanation-scroll .your-choice{font-size:.9rem;color:#c4cfe0;margin-bottom:7px}.explanation-scroll .right-choice{font-size:.9rem;color:#f0cfa3;margin-bottom:10px}.real-case{padding-top:36px}.case-lead{margin-top:12px;color:#c7d1df}.fact-section{padding:28px 0;border-bottom:1px solid #37465b}.fact-section h3{font-size:1.5rem;line-height:1.65;margin:8px 0 15px}.explanation-scroll .fact-caption{font-size:.875rem;color:#a7b9d0;margin-bottom:8px}.fact-section .art{height:230px;min-height:0;margin:15px 0}.explanation-scroll .fiction-disclosure{font-size:.8rem;color:#9cacbf;line-height:1.75;margin-top:28px}.explanation .nav{margin:0;padding:12px 18px 16px;border-top:1px solid #3e4d61;background:#121d2e;box-shadow:0 -8px 20px #0b14244d}.explanation .action.primary{background:#f0f3f8;color:#172538;border-color:#f0f3f8;box-shadow:0 3px 0 #8290a5}.explanation .action.primary .chevron{color:#40556e}
.final-result{background:#111d2e;color:white;padding:24px;justify-content:space-between}.result-center{text-align:center;margin:auto 0}.result-caption{color:#a9bbd1;font-size:1rem}.result-center h1{font-size:4rem;letter-spacing:.12em;color:#ff8587;line-height:1.6}.passed .result-center h1{color:#a7e0cd}.result-number{font-size:2.6rem;line-height:1.8;font-weight:800}.result-number span{font-size:1.1rem;font-weight:400;color:#c6d2e3}.result-message{font-size:1.12rem;line-height:1.9;margin-top:20px}.result-foot{font-size:.875rem;line-height:1.8;text-align:center;color:#a9bbd1}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:12px 17px;background:#f6c664;color:#302409;max-width:calc(100vw - 30px);border-radius:8px;box-shadow:0 5px 25px #0005;z-index:99;font-size:.95rem;line-height:1.6;opacity:0;pointer-events:none}.toast.show{opacity:1}
@keyframes arrive{from{opacity:.75;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:740px){.screen{padding:11px 16px;gap:10px}.speech{font-size:1.1rem;line-height:1.55}.speaker{margin-bottom:5px}.context{margin-top:7px;line-height:1.5}.situation{padding:7px 10px}.action{padding:10px 12px;min-height:58px;font-size:1rem}.action small{font-size:.875rem;line-height:1.45}.intro-title{font-size:1.6rem}.intro-text{font-size:1rem;line-height:1.65}.ending-title{font-size:1.5rem}.ending-copy{font-size:1rem}.roles{padding:18px 20px;gap:12px}.role-heading h1{font-size:1.7rem}.role-option{min-height:69px}.roles .actions{gap:10px}.role-rule{margin:0}.explanation{padding:0;gap:0}.final-result{padding:20px}.result-message{margin-top:12px}}
@media(max-height:640px) and (orientation:portrait){.topbar{height:50px;padding-inline:12px}.identity{min-height:30px;padding:4px 14px}.screen{padding:8px 13px;gap:7px}.situation{font-size:.94rem;padding:5px 8px}.speech{font-size:1rem;line-height:1.5}.context{font-size:1rem;line-height:1.4;margin-top:5px}.speaker{font-size:.8rem;margin-bottom:4px}.art{min-height:42px}.actions{gap:8px}.action{padding:8px 10px;font-size:1rem;min-height:54px;gap:4px}.action small{font-size:.8rem;margin-top:2px;line-height:1.5}.question-heading{font-size:.875rem}.intro .art,.ending .art{min-height:70px}.intro-title{font-size:1.45rem}.intro-text{line-height:1.5}.art-label{font-size:.875rem;padding:5px 8px;bottom:7px;left:7px}.ending-title{font-size:1.35rem}.ending-copy{line-height:1.65}.roles{padding:15px 18px;gap:10px}.role-heading{margin-bottom:2px}.role-heading h1{font-size:1.5rem;margin-top:5px;line-height:1.4}.role-option{min-height:65px}.role-rule{font-size:.875rem}.explanation{padding:0;gap:0}.result-strip{padding:10px 14px}.explanation-scroll{padding:18px 16px 24px}.case-impact h1{font-size:1.45rem}.verdict{font-size:2.5rem;margin-block:12px}.explanation .nav{padding:10px 14px 12px}.result-center h1{font-size:3.3rem}.result-message{font-size:1rem}.final-result{padding:20px}}
@media(max-width:350px){.brand{font-size:.95rem}.tool-button{padding-inline:6px}.question{gap:6px}.question .speech br,.question .context br{display:none}.question .action small{letter-spacing:-.03em}.question .chevron{display:none}.question .action{padding-inline:9px}.case-impact h1{font-size:1.35rem}}
@media(orientation:landscape) and (max-height:600px){.app-shell{max-width:1050px}.topbar{height:49px}.identity{min-height:29px;padding-block:4px}.screen{display:grid;grid-template-columns:30% minmax(0,1fr);grid-template-rows:auto 1fr auto auto;column-gap:16px;row-gap:7px;padding:8px 18px}.situation{grid-column:1/-1;grid-row:1;padding:4px 9px;font-size:.94rem}.art,.intro .art,.ending .art{grid-column:1;grid-row:2/5;height:100%;min-height:0}.story-copy{grid-column:2;grid-row:2;align-self:center}.question-heading{grid-column:2;grid-row:3;font-size:.875rem}.actions,.nav{grid-column:2;grid-row:4;align-self:end;margin:0}.actions{gap:7px}.speech{font-size:1rem;line-height:1.45}.context{font-size:.94rem;line-height:1.4;margin-top:5px}.speaker{font-size:.8rem;margin-bottom:3px}.question .speech br,.question .context br{display:none}.question .action{min-height:46px;padding:6px 10px}.action small{display:inline;font-size:.8rem;margin-left:7px;line-height:1.4}.action strong{font-size:.94rem}.intro-title{font-size:1.35rem}.intro-text{font-size:.95rem;line-height:1.5;margin-top:6px}.intro .fiction-note{grid-column:2;grid-row:3;font-size:.75rem}.intro .art-label{font-size:.8rem}.ending-title{font-size:1.3rem}.ending-copy{font-size:1rem;line-height:1.6;margin-top:7px}.nav .action{min-height:46px;padding:8px}.roles{grid-template-columns:35% 1fr;grid-template-rows:1fr auto auto;padding:20px 25px;gap:10px 25px}.role-heading{grid-column:1;grid-row:1;align-self:center}.role-heading h1{font-size:1.75rem}.roles .actions{grid-column:2;grid-row:1/4;display:grid;grid-template-columns:1fr 1fr;align-self:center;gap:12px}.role-option{height:100px;min-height:0}.role-option small{display:block;margin-left:0;font-size:.8rem}.role-option strong{font-size:1rem}.role-option .chevron{display:none}.role-rule{grid-column:1;grid-row:2;font-size:.875rem}.roles>.tiny{grid-column:1;grid-row:3}.explanation{display:flex;padding:0;gap:0}.result-strip{padding:8px 20px}.explanation-scroll{padding:18px 28px;max-width:780px;width:100%;margin:auto}.case-impact h1{font-size:1.5rem}.verdict{font-size:2.7rem;margin-block:12px}.explanation .nav{padding:9px 22px;display:block}.fact-section .art{height:270px}.final-result{display:flex;padding:14px 28px}.result-center h1{font-size:2.7rem;line-height:1.3}.result-number{font-size:1.8rem;line-height:1.5}.result-message{font-size:1rem;line-height:1.6;margin-top:6px}.result-foot{font-size:.8rem}.result-caption{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.answer-brief{padding:0 0 19px;margin-bottom:21px;border-bottom:1px solid #39475b}.explanation-scroll .answer-brief p{font-size:.875rem;line-height:1.65;margin-bottom:5px}.answer-brief .ok{color:#a7d6c9}.answer-brief .ng{color:#ffbab8}
.briefing{background:#e6ebf1;gap:14px}.briefing-document{flex:1;min-height:0;padding:20px 18px;background:#fff;border-top:4px solid #b78536;display:flex;flex-direction:column;justify-content:center;gap:20px}.briefing-document h1{font-size:1.4rem;line-height:1.6}.premise-row{border-top:1px solid #dbe1e9;padding-top:14px}.premise-row h2{font-size:1rem;color:#7a531c;line-height:1.6;margin-bottom:4px}.premise-row p{font-size:1rem;line-height:1.75}.explanation-scroll .answer-caution{border-left:3px solid #eab568;padding:10px 12px;margin-top:14px;font-size:.95rem;color:#f0d8b5;background:#263141}
@media(max-height:740px){.briefing-document{gap:14px;padding:16px}.briefing-document h1{font-size:1.25rem}.premise-row{padding-top:10px}.premise-row p{line-height:1.6}.money-question .speech{font-size:1.03rem}}
@media(max-height:640px) and (orientation:portrait){.briefing{gap:8px}.briefing-document{padding:11px 12px;gap:10px}.briefing-document h1{font-size:1.1rem;line-height:1.45}.premise-row{padding-top:8px}.premise-row h2{font-size:.94rem;line-height:1.45;margin-bottom:3px}.premise-row p{font-size:1rem;line-height:1.5}.money-question .art{display:none}.money-question .story-copy{margin-block:auto}.money-question .action{padding:9px 10px}.money-question .action small{font-size:.875rem;line-height:1.5}.money-question .chevron{display:none}.money-question .context{font-size:.94rem}.roles .actions{margin-block:12px}.roles .role-option{min-height:88px}}
@media(orientation:landscape) and (max-height:600px){.briefing{display:flex;gap:7px;padding:8px 18px}.briefing-document{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto 1fr;gap:8px 16px;padding:10px 14px}.briefing-document h1{grid-column:1/-1;font-size:1.1rem;line-height:1.4}.premise-row{padding-top:7px}.premise-row h2{font-size:.9rem;line-height:1.4}.premise-row p{font-size:.94rem;line-height:1.5}.briefing .nav{width:100%}.money-question{grid-template-columns:21% minmax(0,1fr)}.money-question .action small{font-size:.875rem;line-height:1.45}.money-question .action strong{font-size:1rem}.money-question .context{font-size:.875rem}.roles .actions{grid-template-columns:1fr}.roles .role-option{height:82px}}
@media(orientation:landscape) and (max-height:600px){.question{grid-template-columns:24% minmax(0,1fr);column-gap:14px;row-gap:6px}.question .speech{font-size:1rem;line-height:1.4}.question .context{font-size:.9rem;line-height:1.4}.question .action strong{font-size:.92rem}.question .action small{font-size:.8rem;line-height:1.3}.question .action{min-height:44px;padding:5px 8px}.question .chevron{display:none}}
@media(orientation:landscape) and (max-height:600px){.question.money-question{grid-template-columns:21% minmax(0,1fr);row-gap:4px;padding-block:6px}.question.money-question .action small{font-size:.875rem;line-height:1.4}}
@media(max-height:640px) and (orientation:portrait){.money-question .art{display:block;min-height:40px}.money-question .story-copy{margin-block:0}}
.compact-briefing{gap:14px}.briefing-cards{flex:1;min-height:0;display:grid;grid-template-columns:1fr;gap:13px;align-content:center}.premise-card{background:#fff;border:1px solid #d4dce6;border-left:4px solid #c99842;border-radius:10px;padding:15px 17px}.premise-label{font-size:.875rem;line-height:1.5;color:#657080}.premise-card h2{font-size:1.45rem;line-height:1.5;letter-spacing:-.02em;color:#152b44;margin:4px 0 5px}.premise-detail{font-size:1rem;line-height:1.55;color:#384d64}.premise-note{font-size:.875rem;line-height:1.5;color:#78551c;margin-top:6px}.compact-briefing .nav{margin-top:0}
@media(max-height:740px){.compact-briefing{gap:10px}.briefing-cards{gap:10px}.premise-card{padding:12px 14px}.premise-card h2{font-size:1.3rem;margin:3px 0}.premise-detail{line-height:1.5}}
@media(max-height:640px) and (orientation:portrait){.compact-briefing{gap:8px}.briefing-cards{gap:8px}.premise-card{padding:9px 11px}.premise-card h2{font-size:1.2rem;line-height:1.4;margin:2px 0}.premise-detail{line-height:1.4}.premise-note{margin-top:3px}}
@media(orientation:landscape) and (max-height:600px){.compact-briefing{display:flex;gap:8px}.briefing-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-content:center}.premise-card{padding:12px 13px}.premise-card h2{font-size:1.3rem;line-height:1.4;margin:5px 0}.premise-label{font-size:.875rem}.premise-detail{font-size:1rem;line-height:1.5}.premise-note{font-size:.875rem;line-height:1.45}.compact-briefing .nav{width:100%}}
@media(orientation:landscape) and (max-height:420px){.compact-briefing{gap:6px}.briefing-cards{gap:9px}.premise-card{padding:9px 10px}.premise-card h2{font-size:1.15rem;margin:3px 0}.premise-detail{font-size:.94rem;line-height:1.45}.premise-note{font-size:.8rem;margin-top:4px}}
.illustrated-briefing .art{flex:1;min-height:70px}.illustrated-briefing .briefing-cards{flex:none;gap:10px}.illustrated-briefing .premise-card{padding:10px 14px}.illustrated-briefing .premise-card h2{font-size:1.2rem;margin:0 0 3px}.illustrated-briefing .premise-detail{font-size:1rem;line-height:1.45}.illustrated-briefing .premise-note{margin-top:3px}
@media(max-height:740px){.illustrated-briefing{gap:9px}.illustrated-briefing .briefing-cards{gap:8px}.illustrated-briefing .premise-card{padding:8px 11px}.illustrated-briefing .premise-card h2{font-size:1.13rem}}
@media(max-height:640px) and (orientation:portrait){.illustrated-briefing{gap:7px}.illustrated-briefing .art{min-height:45px}.illustrated-briefing .briefing-cards{gap:6px}.illustrated-briefing .premise-card{padding:6px 9px}.illustrated-briefing .premise-card h2{font-size:1.06rem;line-height:1.4;margin:0 0 2px}.illustrated-briefing .premise-detail{font-size:.94rem;line-height:1.4}.illustrated-briefing .premise-note{font-size:.8rem;line-height:1.4;margin-top:2px}}
@media(orientation:landscape) and (max-height:600px){.illustrated-briefing{display:grid;grid-template-columns:36% minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:9px 16px}.illustrated-briefing .situation{grid-row:1;grid-column:1/-1}.illustrated-briefing .art{grid-row:2/4;grid-column:1;height:100%;min-height:0}.illustrated-briefing .briefing-cards{grid-row:2;grid-column:2;display:grid;grid-template-columns:1fr;gap:6px;align-content:center}.illustrated-briefing .premise-card{padding:6px 11px}.illustrated-briefing .premise-card h2{font-size:1.05rem;line-height:1.4;margin:0 0 2px}.illustrated-briefing .premise-detail{font-size:.94rem;line-height:1.4}.illustrated-briefing .premise-note{font-size:.8rem;line-height:1.4;margin-top:2px}.illustrated-briefing .nav{grid-column:2;grid-row:3}}
@media(orientation:landscape) and (max-height:420px){.illustrated-briefing{grid-template-columns:29% minmax(0,1fr);gap:6px 12px;padding-block:6px}.illustrated-briefing .briefing-cards{gap:4px}.illustrated-briefing .premise-card{padding:4px 8px}.illustrated-briefing .premise-card h2{font-size:1rem;line-height:1.3}.illustrated-briefing .premise-detail{font-size:.875rem;line-height:1.35}.illustrated-briefing .premise-note{font-size:.8rem;line-height:1.35}}
