:root{color:#f4eedf;font-synthesis:none;text-rendering:optimizelegibility;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#020a10;font-family:Hiragino Sans,Yu Gothic,YuGothic,system-ui,sans-serif}*{box-sizing:border-box}html{background:#020a10;min-width:320px}body{background:#020a10;min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline-offset:3px;outline:2px solid #5bd8d2}.app-shell{isolation:isolate;background:radial-gradient(circle at 50% 23%,#1e727b26,#0000 31%),linear-gradient(#071118 0%,#020a10 100%);width:min(100%,480px);min-height:100dvh;margin:0 auto;position:relative;overflow:hidden}.app-shell:before,.app-shell:after{z-index:-1;pointer-events:none;content:"";position:absolute;inset:0}.app-shell:before{opacity:.42;background:repeating-radial-gradient(circle at 50% 26%,#0000 0 42px,#5bd8d224 43px,#0000 44px 64px),linear-gradient(90deg,#0000 49.8%,#5bd8d221 50%,#0000 50.2%);-webkit-mask-image:linear-gradient(#000,#0000 72%);mask-image:linear-gradient(#000,#0000 72%)}.app-shell:after{opacity:.2;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E")}.screen{min-height:100dvh;padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));flex-direction:column;animation:.36s ease-out both screen-enter;display:flex;position:relative}h1,h2,p,blockquote,figure,dl,dd{margin:0}h1,h2,.primary-button,.choice-button,.result-row dd,.result-line{font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,Times New Roman,serif}.start-screen{justify-content:space-between;gap:16px}.start-screen__header{text-align:center;padding-top:12px}.start-screen__header h1{color:#f4eedf;letter-spacing:.08em;text-shadow:0 0 28px #e6b9582b;font-size:clamp(2rem,8.9vw,2.75rem);font-weight:600;line-height:1.28}.start-screen__header p{color:#d6ddd9;letter-spacing:.06em;max-width:320px;margin:18px auto 0;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif;font-size:1rem;line-height:1.9}.guide-trio{grid-template-columns:repeat(3,1fr);align-items:end;display:grid}.guide-trio--start{width:calc(100% + 12px);height:clamp(220px,32dvh,292px);margin-inline:-6px}.guide-figure{justify-content:center;align-items:flex-end;min-width:0;height:100%;display:flex}.guide-figure img{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 18px #00000061);width:100%;height:100%;display:block}.guide-trio--start .guide-figure:first-child{transform:translate(10px)}.guide-trio--start .guide-figure:nth-child(2){z-index:1;transform:scale(1.07)}.guide-trio--start .guide-figure:nth-child(3){transform:translate(-10px)}.start-form{gap:12px;display:grid}.start-form label{color:#f4eedf;letter-spacing:.12em;text-align:center;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif;font-size:1rem}.start-form input{color:#f4eedf;letter-spacing:.08em;background:#03121bd6;border:1px solid #5bd8d2;border-radius:8px;width:100%;min-height:56px;padding:0 18px;font-size:1.05rem;box-shadow:inset 0 0 18px #5bd8d20a}.start-form input::placeholder{color:#879ba0}.primary-button{color:#f7fbf7;letter-spacing:.16em;cursor:pointer;background:linear-gradient(#39bbc0 0%,#197b8d 100%);border:1px solid #a4f1ec;border-radius:8px;min-height:64px;padding:12px 20px;font-size:1.25rem;font-weight:600;box-shadow:inset 0 1px #ffffff61,0 8px 24px #12858f33}.primary-button:active{transform:translateY(1px)}.secondary-button{color:#aef7f2;letter-spacing:.08em;cursor:pointer;background:#03121bc2;border:1px solid #5bd8d2b8;border-radius:8px;min-height:52px;padding:10px 18px;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif;font-size:1rem;font-weight:600}.danger-button{color:#ffb091;letter-spacing:.08em;cursor:pointer;background:#230a0b8f;border:1px solid #ff805eb8;border-radius:8px;min-height:48px;padding:10px 18px;font-size:.92rem;font-weight:600}.status-message{color:#aef7f2;text-align:center;background:#03121bb8;border:1px solid #5bd8d285;padding:10px 12px;font-size:.86rem;line-height:1.5}.account-note{color:#c8d2cf;letter-spacing:.06em;text-align:center;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif;font-size:.8rem;position:relative}.account-note:before,.account-note:after{content:"";background:#5bd8d280;width:28px;height:1px;margin:0 10px 4px;display:inline-block}.question-screen{gap:18px}.question-progress p{color:#f4eedf;justify-content:center;align-items:baseline;gap:12px;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif;font-size:1.1rem;display:flex}.question-progress strong{color:#5bd8d2;font-size:2.3rem;font-weight:500}.progress-track{grid-template-columns:repeat(7,1fr);align-items:center;gap:5px;height:12px;margin-top:8px;display:grid}.progress-track__step{background:#f4eedf47;height:2px;display:block;position:relative}.progress-track__step:after{content:"";background:#071118;border:1px solid #f4eedf70;border-radius:50%;width:7px;height:7px;position:absolute;top:50%;right:-3px;transform:translateY(-50%)}.progress-track__step--complete,.progress-track__step--current{background:#5bd8d2}.progress-track__step--complete:after,.progress-track__step--current:after{background:#5bd8d2;border-color:#5bd8d2;box-shadow:0 0 10px #5bd8d2a6}.guide-scene{grid-template-columns:minmax(0,1fr) minmax(120px,44%);align-items:center;min-height:clamp(220px,30dvh,270px);display:grid}.guide-scene__copy{align-self:start;padding-top:18px}.guide-scene__copy h1{color:#5bd8d2;letter-spacing:.12em;font-size:1.65rem;font-weight:600}.guide-scene__copy h1:after{content:"";background:#5bd8d2;width:72px;height:1px;margin-top:12px;display:block}.guide-scene__copy p{color:#dde4df;letter-spacing:.04em;margin-top:20px;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif;font-size:.94rem;line-height:1.9}.guide-scene .guide-figure{height:clamp(220px,30dvh,270px)}.question-panel{gap:16px;margin-top:auto;display:grid}.question-panel h2{color:#f4eedf;letter-spacing:.06em;text-align:center;font-size:clamp(1.05rem,4.8vw,1.3rem);font-weight:500;line-height:1.72}.choice-list{gap:12px;display:grid}.choice-button{letter-spacing:.04em;text-align:left;cursor:pointer;background:#03121be6;border-radius:12px;grid-template-columns:34px 1fr;align-items:center;gap:12px;width:100%;min-height:68px;padding:12px 16px;font-size:clamp(1.125rem,4.8vw,1.25rem);font-weight:600;line-height:1.55;display:grid}.choice-button--cyan{color:#aef7f2;border:1px solid #5bd8d2;box-shadow:inset 0 0 22px #5bd8d214,0 0 12px #5bd8d21f}.choice-button--orange{color:#ffb091;border:1px solid #ff805e;box-shadow:inset 0 0 22px #ff805e12,0 0 12px #ff805e1a}.choice-button__marker{border:1px solid;border-radius:50%;place-items:center;width:32px;height:32px;font-family:Hiragino Sans,Yu Gothic,YuGothic,sans-serif;font-size:.78rem;font-weight:700;display:grid}.choice-button:active{transform:translateY(1px)}.result-screen{gap:16px}.result-heading{text-align:center}.result-heading h1{color:#f4eedf;letter-spacing:.16em;text-shadow:0 0 24px #e6b9582e;font-size:clamp(2.25rem,10vw,3rem);font-weight:600;line-height:1.3}.result-heading p{color:#e6d4a2;letter-spacing:.14em;margin-top:4px;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif;font-size:1rem}.result-frame{background:#03121bb8;border:1px solid #c99a36;padding:4px 18px;position:relative;box-shadow:inset 0 0 30px #e6b95809,0 0 26px #0003}.result-frame:before,.result-frame:after{content:"";border-color:#e6b958;width:20px;height:20px;position:absolute}.result-frame:before{border-top:2px solid;border-left:2px solid;top:-4px;left:-4px}.result-frame:after{border-bottom:2px solid;border-right:2px solid;bottom:-4px;right:-4px}.result-row{border-bottom:1px solid #e6b95861;grid-template-columns:minmax(96px,.8fr) minmax(0,1.2fr);align-items:center;gap:12px;min-height:66px;padding:10px 0;display:grid}.result-row:last-child{border-bottom:0}.result-row dt{color:#cbd5d2;letter-spacing:.08em;font-size:.72rem}.result-row dd{color:#f0c76a;letter-spacing:.05em;text-align:right;font-size:1rem;font-weight:600;line-height:1.45}.result-row--stacked{display:block}.result-row--stacked dd{text-align:left;margin-top:7px}.result-row .worldline-code{letter-spacing:.12em;font-size:1.45rem}.danger-meter{vertical-align:3px;gap:3px;margin-right:8px;display:inline-flex}.danger-meter__point{border:1px solid #e6b9588c;border-radius:50%;width:5px;height:5px}.danger-meter__point--active{background:#e6b958;box-shadow:0 0 7px #e6b958b8}.danger-value{white-space:nowrap}.result-line{color:#f4eedf;letter-spacing:.06em;text-align:center;padding:0 16px;font-size:.94rem;line-height:1.7;position:relative}.result-line:before,.result-line:after{color:#e6b958a3}.result-line:before{content:"「"}.result-line:after{content:"」"}.result-actions,.records-actions{gap:10px;display:grid}.result-actions .primary-button,.records-actions .primary-button{min-height:56px;font-size:1rem}.guide-trio--result{height:clamp(150px,23dvh,210px);margin-top:auto}.records-screen{gap:20px}.records-heading{text-align:center}.records-heading>p:first-child{color:#5bd8d2;letter-spacing:.2em;font-size:.72rem}.records-heading h1{color:#f4eedf;letter-spacing:.14em;margin-top:6px;font-size:2.5rem;font-weight:600}.records-heading>p:last-child{color:#aebfc5;margin-top:12px;font-size:.82rem;line-height:1.7}.record-card{background:#03121bc7;border:1px solid #c99a36;padding:18px}.record-card__label{color:#e6b958;letter-spacing:.16em;font-size:.75rem}.record-card h2{color:#f0c76a;letter-spacing:.08em;margin-top:8px;font-size:1.6rem}.record-card__name{color:#f4eedf;letter-spacing:.08em;margin-top:6px;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif}.record-card__details{gap:12px;margin-top:16px;display:grid}.record-card__details div{border-top:1px solid #e6b95847;gap:5px;padding-top:12px;display:grid}.record-card__details dt{color:#aebfc5;letter-spacing:.08em;font-size:.7rem}.record-card__details dd{color:#f4eedf;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,serif;line-height:1.55}.repeat-records{gap:12px;display:grid}.repeat-records__heading{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.repeat-records__heading h2{color:#f4eedf;letter-spacing:.08em;font-size:1.25rem}.repeat-records__heading p{color:#5bd8d2;font-size:.8rem}.repeat-records__list{gap:12px;display:grid}.repeat-records__list .record-card{border-color:#5bd8d294}.repeat-records__list .record-card__label,.repeat-records__list .record-card h2{color:#aef7f2}.repeat-records__empty{color:#aebfc5;text-align:center;border:1px dashed #5bd8d257;padding:24px 16px;line-height:1.7}.records-actions{margin-top:auto}.confirmation-backdrop{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#01070be0;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirmation-dialog{background:#071118;border:1px solid #ff805e;border-radius:12px;width:min(100%,390px);padding:24px;box-shadow:0 20px 70px #0000009e}.confirmation-dialog__eyebrow{color:#ff805e;letter-spacing:.16em;font-size:.7rem}.confirmation-dialog h2{color:#f4eedf;margin-top:10px;font-size:1.45rem;line-height:1.5}.confirmation-dialog>p:not(.confirmation-dialog__eyebrow){color:#d6ddd9;margin-top:14px;font-size:.9rem;line-height:1.8}.confirmation-dialog__actions{gap:10px;margin-top:20px;display:grid}.danger-button--confirm{color:#fff4ed;background:linear-gradient(#c34f3f,#8f302a);min-height:52px}@keyframes screen-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (width<=360px){.screen{padding-left:16px;padding-right:16px}.guide-scene{grid-template-columns:minmax(0,1fr) 125px}.result-frame{padding-inline:14px}}@media (height<=760px){.screen{padding-top:max(14px, env(safe-area-inset-top));padding-bottom:max(14px, env(safe-area-inset-bottom));gap:12px}.guide-trio--start{height:210px}.guide-scene,.guide-scene .guide-figure{height:190px;min-height:190px}.guide-scene__copy{padding-top:4px}.guide-scene__copy p{margin-top:12px}.choice-button{min-height:60px}.result-row{min-height:58px}.guide-trio--result{height:135px}}@media (width>=700px){body{background:radial-gradient(circle at 50% 20%,#0a2731,#0000 42%),#020a10;padding:28px 0}.app-shell{border:1px solid #5bd8d233;border-radius:18px;min-height:min(844px,100dvh - 56px);box-shadow:0 26px 80px #0000008c}.screen{min-height:min(844px,100dvh - 56px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
