
:root{--navy:#142843;--cream:#fffdf4;--lime:#bce849;--blue:#21afd9;--pink:#ff638d}*{box-sizing:border-box}body{margin:0;background:#10243c;font-family:system-ui,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:var(--navy)}.app{min-height:100dvh;max-width:850px;margin:auto;background:linear-gradient(160deg,#dafaff,#fcf9e7);display:flex;flex-direction:column}.top{padding:15px 17px;display:flex;justify-content:space-between;align-items:center;background:#162944;color:white;gap:8px}.brand{font-weight:950;letter-spacing:.08em}.stage{font-size:.77rem;opacity:.9}.screen{flex:1;display:flex;flex-direction:column;padding:16px;gap:16px}.panel{border:4px solid var(--navy);box-shadow:6px 6px 0 #244b68;background:var(--cream);border-radius:14px;padding:20px}h1{font-size:clamp(1.7rem,7vw,2.7rem);line-height:1.35;margin:.2rem 0 1rem}h2{margin:0 0 12px;font-size:1.25rem}p{line-height:1.9}.title{text-align:center;margin:auto 0}.tag{display:inline-block;background:var(--lime);border:3px solid var(--navy);padding:6px 13px;font-size:.8rem;font-weight:900}.btn{appearance:none;border:3px solid #182a44;border-radius:10px;background:#fff;color:#172840;font:inherit;font-weight:900;padding:15px;cursor:pointer;min-height:54px;box-shadow:3px 4px 0 #172840}.btn:active{transform:translate(2px,2px);box-shadow:none}.primary{background:#ffe66b}.accent{background:#96e6e8}.danger{background:#ffd5df}.buttons{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wide{width:100%}.avatars{display:grid;grid-template-columns:1fr 1fr;gap:14px}.avatar{display:flex;flex-direction:column;align-items:center;justify-content:space-between;border:4px solid var(--navy);background:#effde5;padding:14px;min-height:245px;cursor:pointer;border-radius:12px}.avatar.pink{background:#ffe8ee}.avatar.selected{outline:5px solid #ffbb39}.avatar img{object-fit:contain;width:min(100%,180px);height:215px}.avatar small{font-weight:900;font-size:1rem}.field{width:100%;border:3px solid #203a54;border-radius:8px;font:inherit;padding:12px;font-size:1.2rem}.art{min-height:250px;position:relative;background:linear-gradient(#a9e6fa,#e8eccc);border:4px solid var(--navy);border-radius:12px;overflow:hidden;display:flex;justify-content:flex-end;align-items:end}.art .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.art .hero{position:relative;height:230px;max-width:45%;object-fit:contain;object-position:bottom;filter:drop-shadow(2px 3px 0 #1d2434)}.dialog{font-size:1.04rem;line-height:1.9;min-height:155px}.who{font-weight:950;color:#11789f;margin-bottom:6px}.question{font-weight:900;font-size:1.3rem;line-height:1.7;margin-bottom:15px}.progress{height:15px;background:#e7f0f5;border:2px solid #263951;border-radius:20px;overflow:hidden}.progress span{height:100%;background:#8dd62d;display:block}.quizButtons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quizButtons .btn{min-height:100px;font-size:1rem}.feedback{border-left:8px solid #38bd99;background:#edfff7;padding:18px;font-weight:750;line-height:1.9}.foot{font-size:.78rem;color:#39506a;text-align:center;margin:8px 0}.hidden{display:none!important}@media(max-width:480px){.screen{padding:10px;gap:12px}.panel{padding:15px}.art{min-height:200px}.art .hero{height:198px}.avatar{min-height:210px}.avatar img{height:170px}.quizButtons .btn{font-size:.95rem}}
