:root{--bg: #ffffff;--sub: #f2f4f6;--text: #191f28;--text-2: #4e5968;--text-3: #8b95a1;--line: #e5e8eb;--blue: #3182f6;--blue-weak: #e8f3ff;--red: #f04452;--red-weak: #ffeeee;--max: 480px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Pretendard,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Malgun Gothic,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;word-break:keep-all}button,input{font:inherit;color:inherit}button{border:0;background:none;padding:0;cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.app{max-width:var(--max);min-height:100dvh;margin:0 auto;display:flex;flex-direction:column}.top{position:sticky;top:0;z-index:5;background:var(--bg)}.progress{height:3px;background:var(--sub)}.progress i{display:block;height:100%;background:var(--blue);border-radius:0 3px 3px 0;transition:width .2s ease}.nav{height:48px;display:flex;align-items:center;padding:0 12px}.nav-btn{min-width:40px;height:40px;border-radius:12px;font-size:30px;line-height:1;color:var(--text)}.nav-btn.small{font-size:14px;color:var(--text-3);padding:0 8px}.nav-btn:active{background:var(--sub)}.page{flex:1;display:flex;flex-direction:column;animation:fade-in .2s ease}.screen>:not(.cta-wrap){animation:slide-in .2s ease}@keyframes slide-in{0%{transform:translate(16px)}to{transform:none}}@media (prefers-reduced-motion: reduce){.page,.screen>*,.stage-inner{animation:none!important}}.screen{flex:1;display:flex;flex-direction:column;padding:8px 24px 148px}.title{margin:8px 0 0;font-size:26px;line-height:1.35;font-weight:700;letter-spacing:-.02em}.desc{margin:10px 0 0;color:var(--text-3);font-size:16px}.body{margin-top:28px;display:flex;flex-direction:column;gap:16px}.label{margin:8px 0 -4px;font-size:14px;font-weight:600;color:var(--text-2)}.stack{display:flex;flex-direction:column;gap:10px}.row{display:flex;gap:8px}.row>*{flex:1}.cta-wrap{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:100%;max-width:var(--max);padding:20px 20px calc(16px + env(safe-area-inset-bottom));background:linear-gradient(to bottom,#fff0,#fff 22px);display:flex;flex-direction:column;gap:6px;z-index:4}.cta{width:100%;height:56px;border-radius:16px;background:var(--blue);color:#fff;font-size:17px;font-weight:600;transition:transform .1s ease,background .15s ease}.cta:active{transform:scale(.98);background:#1b64da}.cta:disabled{background:#c9dffc;cursor:default;transform:none}.cta.ghost{background:var(--sub);color:var(--text-2)}.cta-row{display:flex;gap:8px}.cta-row .ghost{flex:0 0 34%}.footnote{margin:0 0 4px;text-align:center;font-size:13px;color:var(--text-3)}.btn-text{height:40px;font-size:14px;font-weight:500;color:var(--text-3);text-decoration:underline;text-underline-offset:3px}.btn-text.left{align-self:flex-start;height:28px}.option{display:flex;align-items:center;gap:14px;width:100%;min-height:68px;padding:14px 18px;border-radius:16px;background:var(--sub);text-align:left;box-shadow:inset 0 0 0 2px transparent;transition:background .15s ease,box-shadow .15s ease}.option.selected{background:var(--blue-weak);box-shadow:inset 0 0 0 2px var(--blue)}.option:disabled{opacity:.45;cursor:default}.option-icon{flex:0 0 36px;display:flex;justify-content:center}.option-text{flex:1;display:flex;flex-direction:column;gap:2px}.option-title{font-size:17px;font-weight:600}.option-sub{font-size:14px;color:var(--text-3)}.option-check{width:20px;color:var(--blue);font-weight:700}.badge{margin-left:8px;padding:2px 7px;border-radius:6px;background:var(--blue);color:#fff;font-size:11px;font-weight:600;font-style:normal;vertical-align:2px}.tabs{display:flex;padding:4px;border-radius:14px;background:var(--sub)}.tab{flex:1;height:40px;border-radius:10px;font-size:14px;font-weight:600;color:var(--text-3)}.tab.selected{background:#fff;color:var(--text)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:44px;padding:0 16px;border-radius:12px;background:var(--sub);font-size:15px;font-weight:600;color:var(--text-2);box-shadow:inset 0 0 0 2px transparent}.chip.selected{background:var(--blue-weak);color:var(--blue);box-shadow:inset 0 0 0 2px var(--blue)}.chip.wide{width:100%}.hours{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.hours .chip{padding:0}.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.field{display:flex;align-items:center;gap:12px;height:56px;padding:0 18px;border-radius:16px;background:var(--sub);font-size:15px;color:var(--text-3)}.field input{flex:1;min-width:0;border:0;background:none;outline:none;font-size:17px;font-weight:600;color:var(--text);text-align:right}.switch-row{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:16px;background:var(--sub);cursor:pointer}.switch-row span{display:flex;flex-direction:column}.switch-row small{font-size:14px;color:var(--text-3)}.switch-row input{position:absolute;opacity:0}.switch-row i{position:relative;flex:0 0 50px;height:30px;border-radius:15px;background:#d1d6db;transition:background .15s ease}.switch-row i:after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .15s ease}.switch-row input:checked+i{background:var(--blue)}.switch-row input:checked+i:after{transform:translate(20px)}.switch-row input:focus-visible+i{outline:2px solid var(--blue);outline-offset:2px}.card{padding:18px 20px;border-radius:20px;background:var(--sub);display:flex;flex-direction:column;gap:4px}.card-label{font-size:14px;color:var(--text-3);font-weight:600}.card-value{font-size:22px;font-weight:700}.note{padding:14px 16px;border-radius:14px;font-size:14px;color:var(--text-2)}.note-gray{background:var(--sub)}.note-blue{background:var(--blue-weak);color:#1b64da}.note-red{background:var(--red-weak);color:var(--red)}.hero{display:flex;justify-content:center;padding:24px 0 8px}.steps,.checklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.steps li{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:16px;background:var(--sub);font-weight:500}.steps b{flex:0 0 26px;height:26px;border-radius:50%;background:var(--blue);color:#fff;font-size:14px;display:flex;align-items:center;justify-content:center}.checklist li{display:flex;flex-direction:column;padding:14px 18px;border-radius:16px;background:var(--sub)}.checklist span{font-size:14px;color:var(--text-3)}.figure{width:100%;max-width:340px;align-self:center}.spinner{align-self:center;width:36px;height:36px;margin-top:48px;border-radius:50%;border:4px solid var(--sub);border-top-color:var(--blue);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.card-stage{display:flex;justify-content:center;padding:8px 0;overflow:hidden}.card-shape{flex:none;border-radius:4.5%/7%;background:var(--blue);color:#ffffffd9;font-size:13px;display:flex;align-items:flex-end;padding:12px 14px}.slider{width:100%;accent-color:var(--blue);height:32px}.preview{position:relative;align-self:center;width:200px;aspect-ratio:4 / 3;border-radius:20px;background:var(--sub);overflow:hidden}.preview video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.pill{position:absolute;left:50%;bottom:8px;transform:translate(-50%);padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;color:#fff}.pill.ok{background:var(--blue)}.pill.warn{background:var(--red)}.screen.test{padding:0 20px calc(20px + env(safe-area-inset-bottom))}.test-head{display:flex;align-items:center;justify-content:space-between;height:32px}.eye-tag{font-size:14px;font-weight:600;color:var(--text-3)}.dots{display:flex;gap:6px}.dots i{width:8px;height:8px;border-radius:50%;background:var(--line)}.dots i.done{background:var(--text-3)}.dots i.now{background:var(--blue)}.banner{align-self:center;min-height:30px;margin-top:4px;padding:5px 12px;border-radius:999px;font-size:13px;font-weight:600;color:var(--red);background:var(--red-weak);visibility:hidden}.banner.show{visibility:visible}.stage{flex:1;min-height:200px;display:flex;align-items:center;justify-content:center;background:#fff}.stage-inner{display:flex;animation:fade-in .15s ease both}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.optotype{display:block;image-rendering:pixelated;image-rendering:crisp-edges}.answers{display:flex;flex-direction:column;gap:8px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice{min-height:64px;border-radius:16px;background:var(--sub);font-size:15px;font-weight:600;color:var(--text-2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:transform 80ms ease,background 80ms ease}.choice:active{transform:scale(.97);background:var(--blue-weak)}.choice small{font-size:13px;color:var(--text-3)}.choice-big{font-size:28px;font-weight:700;color:var(--text)}.choice.unsure{min-height:52px;background:none;color:var(--text-3);box-shadow:inset 0 0 0 1.5px var(--line)}.dpad{display:grid;grid-template-columns:repeat(3,1fr);grid-template-areas:". up ." "left . right" ". down .";gap:8px}.dpad .choice{min-height:58px}.dir-up{grid-area:up}.dir-down{grid-area:down}.dir-left{grid-area:left}.dir-right{grid-area:right}.arrow{font-size:22px;line-height:1;color:var(--text)}.plain-stage{display:flex;justify-content:center;background:#fff}.dial{width:min(100%,300px)}.duo{width:min(100%,320px);border-radius:12px}.screen.result{padding-bottom:176px;gap:12px}.eyebrow{margin:8px 0 0;font-size:16px;font-weight:600;color:var(--text-3)}.scores{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.score{padding:20px;border-radius:20px;background:var(--sub);display:flex;flex-direction:column}.score span{font-size:15px;font-weight:600;color:var(--text-3)}.score strong{font-size:52px;line-height:1.15;font-weight:800;letter-spacing:-.03em;white-space:nowrap}.score strong{font-variant-numeric:tabular-nums}.score strong.long{font-size:34px;line-height:1.76}.meta{margin:0;font-size:13px;color:var(--text-3)}.h2{margin:16px 0 0;font-size:18px;font-weight:700}.bars{gap:8px}.bar-row{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;gap:10px;font-size:13px;color:var(--text-2);font-variant-numeric:tabular-nums}.bar-track{height:10px;border-radius:5px;background:#fff;overflow:hidden}.bar-track i{display:block;height:100%;min-width:4px;border-radius:5px}.bar-track i.pass{background:var(--blue)}.bar-track i.fail{background:#b0b8c1}.bar-num{text-align:right;color:var(--text-3)}.bar-foot{margin:4px 0 0;font-size:13px;color:var(--text-3)}.finding{margin:0;font-size:15px;color:var(--text-2)}.finding b{color:var(--text);margin-right:6px}.result .footnote{color:var(--red);font-weight:600}@media (max-width: 360px){.score strong{font-size:40px}.screen{padding-left:20px;padding-right:20px}}.figure.face{max-width:260px}.caption{margin:-8px 0 0;text-align:center;font-size:13px;color:var(--text-3)}.hand{animation:hand-cover 2.8s ease-in-out infinite}@keyframes hand-cover{0%{transform:translate(var(--from-x, -46px),96px) rotate(-18deg);opacity:0}12%{opacity:1}32%,88%{transform:none;opacity:1}to{transform:none;opacity:0}}@media (prefers-reduced-motion: reduce){.hand{animation:none}}
