/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--ink:#17261f;--green:#1f4e3d;--green-bright:#b9dc77;--paper:#f6f0e3;--paper-deep:#e9dec8;--orange:#e56d42;--line:#17261f2e;--shadow:0 24px 80px #0d1a1447}*{box-sizing:border-box}html{background:#10261d}body{color:var(--ink);word-break:keep-all;background:#10261d;margin:0;font-family:Pretendard,Apple SD Gothic Neo,Noto Sans KR,system-ui,sans-serif}button{font:inherit}button:focus-visible{outline-offset:3px;outline:3px solid #f7c94b}.game-shell{isolation:isolate;min-height:100dvh;position:relative;overflow:hidden auto}.scene-background{z-index:-3;object-fit:cover;object-position:center;width:100%;height:100%;position:fixed;inset:0;transform:scale(1.015)}.scene-wash{z-index:-2;-webkit-backdrop-filter:saturate(.9);backdrop-filter:saturate(.9);background:linear-gradient(#091b1473,#091913d1);position:fixed;inset:0}.quiet .scene-wash{-webkit-backdrop-filter:blur(2px)saturate(.85);backdrop-filter:blur(2px)saturate(.85);background:linear-gradient(#0c1c167a,#0c1c16db)}.game-frame{align-items:center;width:min(100%,760px);min-height:100dvh;margin:0 auto;padding:30px 20px 42px;display:grid}.home-card,.setup-card,.chapter-card,.story-card,.result-scene-card,.ending-card,.records-card{width:100%;box-shadow:var(--shadow);border-radius:28px}.home-card{color:#f8f3e8;background:linear-gradient(145deg,#164433f5,#0e2e22fa);border:1px solid #ffffff24;padding:58px 56px 48px;position:relative;overflow:hidden}.home-card:after{content:"";border:50px solid #b9dc7721;border-radius:50%;width:260px;height:260px;position:absolute;top:-90px;right:-75px}.eyebrow{letter-spacing:.22em;color:var(--green-bright);font-size:11px;font-weight:800}.eyebrow.dark{color:var(--green)}.home-card h1{letter-spacing:-.07em;margin:24px 0 10px;font-size:clamp(55px,13vw,92px);font-weight:950;line-height:.82}.home-card h1 span{display:block}.home-card h1 span:last-child{color:var(--green-bright);margin-left:11%}.home-kicker{letter-spacing:-.03em;margin:25px 0 0;font-size:clamp(19px,4vw,27px);font-weight:800}.pencil-line{background:var(--orange);border-radius:99px;width:74px;height:5px;margin:25px 0;transform:rotate(-2deg)}.home-copy{color:#ffffffbd;margin:0 0 32px;font-size:16px;line-height:1.75}.button-stack,.ending-actions{gap:10px;display:grid}.primary-button,.secondary-button{cursor:pointer;border:0;border-radius:13px;min-height:52px;padding:13px 20px;font-weight:800;transition:transform .18s,background .18s}.primary-button:hover,.secondary-button:hover,.choice-button:hover{transform:translateY(-2px)}.primary-button{color:#173124;background:var(--green-bright)}.primary-button.ink{color:#fff;background:var(--green)}.primary-button.paper{color:var(--ink);background:var(--paper)}.secondary-button{color:inherit;opacity:.8;background:0 0;border:1px solid}.home-note{color:#ffffff7a;text-align:center;margin:20px 0 0;font-size:12px}.setup-card{background:#f6f0e3fa;border:1px solid #ffffff80;max-width:650px;margin:auto;padding:clamp(26px,5vw,42px)}.setup-card h2{letter-spacing:-.05em;margin:12px 0 8px;font-size:clamp(30px,6vw,46px);line-height:1.12}.setup-guide{color:#667068;margin:0 0 22px;font-size:14px;line-height:1.6}.gender-fieldset{border:0;margin:0;padding:0}.gender-fieldset legend,.name-field>span{color:var(--green);margin-bottom:9px;font-size:13px;font-weight:900}.gender-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.gender-option{min-height:220px;color:var(--ink);cursor:pointer;background:#eee5d5;border:2px solid #0000;border-radius:16px;padding:0;transition:transform .18s,border-color .18s,box-shadow .18s;position:relative;overflow:hidden}.gender-option:hover{border-color:#1f4e3d66;transform:translateY(-2px)}.gender-option.selected{border-color:var(--green);box-shadow:0 0 0 3px #b9dc778c}.gender-option img{object-fit:cover;object-position:center 10%;width:100%;height:220px;display:block}.gender-option span{color:#fff;background:#17261fdb;border-radius:9px;padding:9px;font-weight:900;position:absolute;bottom:10px;left:10px;right:10px}.gender-option.selected span:after{content:"  ✓";color:var(--green-bright)}.name-field{margin:20px 0;display:grid}.name-field input{width:100%;min-height:50px;color:var(--ink);font:inherit;background:#fff;border:1px solid #b8b5ab;border-radius:11px;padding:12px 14px;font-size:17px}.name-field input:focus{border-color:var(--green);outline:3px solid #b9dc77b3}.name-field small{color:#777d77;margin-top:7px;font-size:11px;line-height:1.5}.setup-card .primary-button{width:100%}.primary-button:disabled{cursor:not-allowed;opacity:.42;transform:none}.story-card,.result-scene-card,.ending-card,.records-card{background:#f6f0e3f7;border:1px solid #ffffff73}.story-card{padding:clamp(30px,7vw,58px)}.player-story-card{position:relative;overflow:hidden}.story-player{float:right;object-fit:cover;object-position:top;background:#eee5d5;border:3px solid #fff;border-radius:18px;width:128px;height:164px;margin:0 0 14px 18px;box-shadow:0 12px 30px #0d1a142e}.story-card h2{letter-spacing:-.06em;margin:18px 0 30px;font-size:clamp(36px,8vw,58px);line-height:1.08}.story-copy,.epilogue-lines{font-family:inherit;font-size:17px;line-height:1.82}.story-copy p{margin:0 0 16px}.story-copy blockquote,.epilogue-lines blockquote{color:var(--green);border-left:4px solid var(--green);background:#1f4e3d12;margin:28px 0;padding:20px 24px;font-weight:700}.story-card .primary-button{width:100%;margin-top:14px}.chapter-card{color:var(--paper);text-align:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f3527eb;border:1px solid #ffffff29;padding:64px 42px 46px}.chapter-number{color:var(--green-bright);letter-spacing:.24em;font-size:14px;font-weight:900}.chapter-rule{justify-content:center;align-items:center;height:48px;display:flex}.chapter-rule:before,.chapter-rule:after{content:"";background:#ffffff4d;width:72px;height:1px}.chapter-rule span{background:var(--orange);width:8px;height:8px;margin:0 12px;transform:rotate(45deg)}.chapter-card h2{letter-spacing:-.055em;margin:4px 0 10px;font-size:clamp(38px,8vw,58px);line-height:1.12}.chapter-season{color:var(--green-bright);font-weight:700}.chapter-line{color:#ffffffa6;max-width:430px;margin:28px auto 38px;line-height:1.75}.chapter-card .primary-button{width:min(100%,320px)}.show-scene .scene-wash{-webkit-backdrop-filter:saturate(.92);backdrop-filter:saturate(.92);background:linear-gradient(#0817110a 0%,#08171129 30%,#081711c7 53%,#081711eb 100%)}.show-scene .game-frame{align-items:start}.scenario-layout{align-self:start;width:100%}.visual-novel-layout{align-self:start;width:100%;padding-bottom:24px}.visual-novel-layout .game-header{text-shadow:0 2px 12px #08171166;padding:10px 4px 0}.vn-stage{justify-content:center;align-items:center;height:clamp(320px,50dvh,500px);display:flex;position:relative;overflow:hidden}.vn-scene-title{z-index:2;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c271d94;border:1px solid #fff3;border-radius:10px;gap:3px;padding:9px 12px;display:grid;position:absolute;top:18px;left:4px}.vn-scene-title small{color:var(--green-bright);letter-spacing:.12em;font-size:9px;font-weight:900}.vn-scene-title strong{font-size:14px}.vn-character{object-fit:cover;object-position:center 8%;background:#f7f2e8;border:4px solid #f6f0e3eb;border-radius:32px 32px 16px 16px;width:min(72vw,340px);height:min(39dvh,350px);animation:.22s ease-out character-in;box-shadow:0 24px 65px #0817115c}.player-main{object-position:center 6%}.player-stage-badge{z-index:2;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c271dcc;border:1px solid #ffffff4d;border-radius:99px;align-items:center;gap:8px;padding:5px 10px 5px 5px;display:flex;position:absolute;bottom:12px;right:5px}.player-stage-badge img{object-fit:cover;object-position:top;background:var(--paper);border:2px solid #fff;border-radius:50%;width:42px;height:42px}.player-stage-badge span{padding-right:2px;display:grid}.player-stage-badge small{color:var(--green-bright);letter-spacing:.12em;font-size:8px;font-weight:900}.player-stage-badge strong{text-overflow:ellipsis;white-space:nowrap;max-width:92px;font-size:12px;overflow:hidden}@keyframes character-in{0%{opacity:.55;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.dialogue-box{z-index:3;min-height:176px;color:var(--ink);box-shadow:var(--shadow);background:#f8f4ebfa;border:1px solid #ffffff80;border-radius:22px;padding:23px 24px 20px;position:relative}.dialogue-box.narration{color:#fff;background:#143629f5}.speaker-name{color:#fff;background:var(--orange);border-radius:9px;margin:-40px 0 12px;padding:7px 13px;font-size:12px;font-weight:900;display:inline-block}.dialogue-box.narration .speaker-name{color:var(--ink);background:var(--green-bright)}.dialogue-text{min-height:72px;font-size:clamp(16px,3.5vw,20px);font-weight:650;line-height:1.65}.dialogue-text p{white-space:pre-line;margin:0 0 10px}.dialogue-next{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;margin-left:auto;padding:8px 2px 4px 14px;font-size:12px;font-weight:900;display:flex}.dialogue-next span{color:#fff;background:var(--green);border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:relative}.dialogue-next span:before{content:"";border-top:3px solid;border-right:3px solid;width:8px;height:8px;transform:translate(-1px)rotate(45deg)}.dialogue-box.narration .dialogue-next span{color:var(--ink);background:var(--green-bright)}.story-checklist{color:var(--ink);background:#f6f0e3f5;border-radius:13px;gap:7px;margin:12px 0 4px;padding:12px;display:grid}.story-checklist>small{color:var(--orange);letter-spacing:.11em;font-size:9px;font-weight:950}.story-checklist>p{color:#7a817b;margin:0;font-size:9px;line-height:1.4}.checklist-editor{color:var(--ink);border:1px solid var(--line);background:#f8f4eb;border-radius:11px;overflow:hidden}.checklist-editor summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;list-style:none;display:flex}.checklist-editor summary::-webkit-details-marker{display:none}.checklist-editor[open] summary{border-bottom:1px solid var(--line);background:#b9dc7724}.checklist-editor summary>span{gap:2px;display:grid}.checklist-editor summary small{color:var(--orange);letter-spacing:.08em;font-size:8px;font-weight:950}.checklist-editor summary strong{font-size:13px}.checklist-editor summary>em{color:var(--green);background:#1f4e3d14;border-radius:7px;flex:none;padding:5px 8px;font-size:9px;font-style:normal;font-weight:900}.checklist-fields{gap:12px;padding:13px;display:grid}.check-action{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;align-items:flex-start;gap:9px;padding:10px;display:flex}.check-action input{width:19px;height:19px;accent-color:var(--green);margin:1px 0 0}.check-action>span{gap:2px;display:grid}.check-action strong{font-size:12px}.check-action small{color:#727a73;font-size:10px;line-height:1.4}.write-field{gap:6px;display:grid}.write-field>span,.write-group legend{color:var(--green);font-size:11px;font-weight:900}.write-field input,.write-field textarea,.short-input-grid input{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #c3c1b8;border-radius:8px;padding:10px 11px;font-size:12px}.write-field textarea{resize:vertical;min-height:126px;line-height:1.6}.write-field input:focus,.write-field textarea:focus,.short-input-grid input:focus{border-color:var(--green);outline:3px solid #b9dc778c}.write-group{border:0;margin:0;padding:0}.write-group legend{margin-bottom:7px}.write-group legend small{color:#777f78;font-weight:600}.short-input-grid{grid-template-columns:1fr 1fr;gap:7px;display:grid}.short-input-grid label{gap:3px;display:grid}.short-input-grid label>span{color:#737a74;font-size:9px;font-weight:800}.option-chips{flex-wrap:wrap;gap:6px;display:flex}.option-chips label{cursor:pointer}.option-chips input{opacity:0;pointer-events:none;position:absolute}.option-chips span{color:#59625b;background:#fff;border:1px solid #c3c1b8;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800;display:block}.option-chips input:checked+span{color:#fff;background:var(--green);border-color:var(--green)}.option-chips input:focus-visible+span{outline-offset:2px;outline:3px solid #b9dc77a6}.vn-choices{box-shadow:var(--shadow);background:#f6f0e3fa;border:1px solid #fff6;border-radius:20px;gap:7px;padding:14px}.choice-player{align-items:center;gap:9px;margin:-2px 2px 5px;display:flex}.choice-player img{object-fit:cover;object-position:top;background:#eee5d5;border:2px solid #fff;border-radius:50%;flex:none;width:36px;height:36px;box-shadow:0 3px 10px #0d1a141f}.choice-player p{color:#657168;margin:0;font-size:12px}.choice-player span{color:var(--orange);margin-bottom:2px;font-weight:900;display:block}.vn-choices .choice-button{min-height:58px;box-shadow:none;border-color:#17261f21}.vn-choices .keyboard-note{color:#80877f;margin:3px 0 -2px}.result-layout .game-header{margin-bottom:0}.result-stage{height:clamp(330px,53dvh,520px)}.scene-reveal{justify-content:space-between;align-items:flex-end;height:clamp(220px,34dvh,360px);padding:0 6px 18px;display:flex;position:relative}.scene-reveal>span{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c271d94;border:1px solid #ffffff3d;border-radius:99px;padding:7px 11px;font-size:11px;font-weight:800}.scene-reveal img{object-fit:cover;object-position:top;border:3px solid #f6f0e3e6;border-radius:18px;width:116px;height:148px;box-shadow:0 14px 35px #09181147}.game-header{color:#fff;justify-content:space-between;align-items:flex-end;margin:0 4px 14px;display:flex}.game-header div:first-child{gap:3px;display:grid}.game-header span{color:var(--green-bright);letter-spacing:.14em;font-size:11px;font-weight:900}.game-header strong{font-size:17px}.scenario-count{align-items:baseline;gap:4px;display:flex}.scenario-count b{font-size:28px}.scenario-count span{color:#ffffff8c}.progress-dots{grid-template-columns:repeat(25,1fr);gap:3px;margin-bottom:15px;display:grid}.progress-dots i{background:#fff3;border-radius:9px;height:3px}.progress-dots i.done{background:#b9dc77b3}.progress-dots i.current{background:var(--orange);height:5px;margin-top:-1px}.scenario-card{box-shadow:var(--shadow);background:#f6f0e3fa;border-radius:24px 24px 10px 10px;padding:clamp(24px,6vw,42px)}.scenario-label{color:var(--orange);letter-spacing:.14em;margin:0 0 10px;font-size:11px;font-weight:900}.scenario-card h2{letter-spacing:-.045em;margin:0 0 22px;font-size:clamp(29px,6vw,42px);line-height:1.15}.scenario-description{font-family:inherit;font-size:16px;line-height:1.72}.scenario-description p{margin:0 0 13px}.scenario-description p:last-child{color:var(--green);margin:0;font-family:inherit;font-weight:800}.choices{border:0;gap:9px;margin:10px 0 0;padding:0;display:grid}.choices legend{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.choice-button{width:100%;min-height:70px;color:var(--ink);text-align:left;cursor:pointer;background:#faf7eff2;border:1px solid #ffffff61;border-radius:12px;grid-template-columns:42px 1fr 24px;align-items:center;gap:13px;padding:13px 15px;transition:transform .18s,border-color .18s;display:grid;position:relative;box-shadow:0 8px 22px #0a19121f}.choice-button:hover{border-color:var(--green-bright)}.choice-button>span{color:#fff;background:var(--green);border-radius:10px;place-items:center;width:40px;height:40px;font-weight:900;display:grid}.choice-button p{margin:0;font-size:14px;line-height:1.55}.choice-button kbd{color:#7e897f;text-align:center;border:1px solid #c7c9c2;border-radius:4px;font-size:10px;font-weight:800}.keyboard-note{color:#ffffff85;text-align:center;font-size:11px}.show-scene .result-scene-card{margin-top:clamp(210px,33dvh,350px)}.result-scene-card{padding:clamp(30px,7vw,56px);position:relative;overflow:visible}.result-mark{color:#fff;background:var(--green);border-radius:50%;place-items:center;width:48px;height:48px;font-size:24px;display:grid}.result-label{color:var(--orange);letter-spacing:.15em;margin:22px 0 8px;font-size:11px;font-weight:900}.result-scene-card h2{max-width:580px;margin:0;font-family:inherit;font-size:clamp(22px,4.6vw,31px);line-height:1.5}.result-divider{background:var(--green-bright);width:55px;height:4px;margin:30px 0}.result-scene-card>p:not(.result-label){max-width:470px;margin:8px 0;line-height:1.7}.result-scene-card .primary-button{z-index:2;width:100%;margin-top:32px;position:relative}.character-sprite{object-fit:cover;object-position:top;opacity:1;pointer-events:none;border:4px solid #f6f0e3f0;border-radius:20px;width:142px;height:180px;position:absolute;top:-196px;right:18px;box-shadow:0 18px 45px #08171152}.epilogue-card{max-height:calc(100dvh - 40px);overflow:auto}.epilogue-lines p{margin:0 0 13px}.ending-card{padding:clamp(26px,6vw,48px)}.ending-player{float:right;color:#fff;background:var(--green);border-radius:99px;align-items:center;gap:10px;margin:0 0 12px 18px;padding:6px 12px 6px 6px;display:flex}.ending-player img{object-fit:cover;object-position:top;background:var(--paper);border:2px solid #fff;border-radius:50%;width:46px;height:46px}.ending-player div{display:grid}.ending-player small{color:var(--green-bright);letter-spacing:.12em;font-size:8px}.ending-player strong{text-overflow:ellipsis;white-space:nowrap;max-width:100px;font-size:13px;overflow:hidden}.ending-overline{color:var(--orange);margin:0;font-weight:800}.ending-card h2{color:var(--green);letter-spacing:-.05em;margin:9px 0 16px;font-size:clamp(31px,6.5vw,48px);line-height:1.18}.ending-description{font-family:inherit;font-size:17px;line-height:1.7}.ending-card blockquote{color:#fff;background:var(--green);border-radius:12px;margin:24px 0;padding:18px 20px;font-weight:700;line-height:1.6}.grade-badge{border:1px solid var(--line);border-radius:14px;align-items:center;gap:17px;margin-bottom:25px;padding:14px 16px;display:flex}.grade-badge>span{width:62px;height:62px;color:var(--green);background:var(--green-bright);border-radius:12px;flex:none;place-items:center;font-size:38px;font-weight:950;display:grid}.grade-badge div{flex:1;grid-template-columns:1fr auto;gap:2px 12px;display:grid}.grade-badge small{color:#758078;letter-spacing:.12em;grid-column:1/-1;font-size:9px}.grade-badge strong{font-size:13px}.grade-badge em{color:var(--orange);font-style:normal;font-weight:900}.stat-list{gap:18px;display:grid}.stat-heading{justify-content:space-between;margin-bottom:7px;display:flex}.stat-heading span{font-weight:800}.stat-heading b{color:var(--green);font-size:19px}.stat-track{background:#ded8ca;border-radius:99px;height:9px;overflow:hidden}.stat-track i{background:linear-gradient(90deg, var(--green), #7ea66a);border-radius:inherit;height:100%;display:block}.stat-row p{color:#72766f;margin:5px 0 0;font-size:12px}.ending-actions{margin-top:28px}.practical-advice{border-top:1px dashed var(--line);gap:12px;margin-top:30px;padding-top:28px;display:grid}.practical-advice section{border:1px solid var(--line);background:#ffffff80;border-radius:14px;padding:20px}.practical-advice section.caution{background:#e56d4212;border-color:#e56d4238}.practical-advice section>span{color:var(--orange);letter-spacing:.08em;font-size:11px;font-weight:900}.practical-advice h3,.growth-card h3,.dm-card h3{letter-spacing:-.025em;margin:7px 0 8px;font-size:19px}.practical-advice p,.practical-advice li{color:#5f6861;font-size:14px;line-height:1.65}.practical-advice p{margin:0}.practical-advice ul{margin:10px 0 0;padding-left:20px}.growth-card{color:#fff;background:var(--green);border-radius:15px;margin-top:14px;padding:22px}.growth-card>p{color:var(--green-bright);margin:0;font-size:11px;font-weight:900}.growth-card>span{color:#ffffffc2;font-size:14px;line-height:1.65;display:block}.checklist-summary{border:1px solid var(--line);background:#ffffff8c;border-radius:15px;margin-top:14px;padding:22px}.checklist-summary-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.checklist-summary-head small,.resource-heading small{color:var(--orange);letter-spacing:.12em;font-size:9px;font-weight:950}.checklist-summary-head h3,.resource-heading h3{letter-spacing:-.03em;margin:5px 0 0;font-size:20px}.checklist-summary-head>strong{color:#fff;text-align:center;background:var(--green);border-radius:10px;min-width:68px;padding:9px 12px;font-size:16px}.checklist-summary>p{color:#626c64;margin:12px 0 15px;font-size:13px;line-height:1.6}.checklist-summary-list{gap:7px;display:grid}.ending-editor{background:#f8f4ebe6}.resource-links{color:#fff;background:#173d30;border-radius:15px;gap:9px;margin-top:14px;padding:22px;display:grid}.resource-heading{margin-bottom:4px}.resource-heading small{color:var(--green-bright)}.resource-heading h3{color:#fff}.resource-links>a{color:var(--ink);background:var(--paper);border-radius:12px;grid-template-columns:38px 1fr;gap:12px;padding:15px;text-decoration:none;transition:transform .18s,background .18s;display:grid}.resource-links>a:hover{background:#fff;transform:translateY(-2px)}.resource-links>a>span{color:#fff;background:var(--orange);border-radius:9px;place-items:center;width:38px;height:38px;font-size:11px;font-weight:950;display:grid}.resource-links>a div{display:grid}.resource-links strong{font-size:15px}.resource-links p{color:#626a64;margin:5px 0;font-size:12px;line-height:1.55}.resource-links em{color:var(--green);font-size:11px;font-style:normal;font-weight:900}.dm-card{text-align:center;background:#e8ded0;border-radius:15px;margin-top:14px;padding:24px}.dm-card small{color:var(--green);letter-spacing:.12em;font-size:9px;font-weight:900}.dm-card p{color:#616861;font-size:13px;line-height:1.6}.dm-card strong{color:var(--green);margin-bottom:14px;font-size:13px;display:block}.dm-card a{color:#fff;background:var(--green);border-radius:11px;padding:13px 16px;font-size:14px;font-weight:900;text-decoration:none;display:block}.ending-card footer{color:#7d8079;text-align:center;border-top:1px dashed var(--line);margin-top:25px;padding-top:20px;font-family:inherit;font-size:12px}.records-card{max-height:calc(100dvh - 40px);padding:clamp(24px,5vw,42px);overflow:auto}.records-head{justify-content:space-between;align-items:center;gap:20px;display:flex}.records-head h2{letter-spacing:-.05em;margin:6px 0 0;font-size:38px}.records-head>button{color:var(--green);border:1px solid var(--green);cursor:pointer;background:0 0;border-radius:9px;padding:9px 12px}.records-intro{color:#6c746d;line-height:1.6}.record-list{gap:8px;padding:0;list-style:none;display:grid}.record-list li{border:1px solid var(--line);background:#ffffff80;border-radius:12px;overflow:hidden}.record-list button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:34px 1fr 20px;align-items:start;gap:10px;padding:15px;display:grid}.record-list button>span{color:var(--orange);font-size:12px;font-weight:900}.record-list strong{font-size:14px}.record-list button p{color:#656d67;margin:5px 0 0;font-size:12px;line-height:1.5}.record-list button>b{color:var(--green);font-size:18px}.record-explanation{color:var(--green);margin:0;padding:0 15px 15px 59px;font-size:12px;line-height:1.6}@media (min-width:700px){.vn-choices{gap:11px;padding:24px 26px 20px}.vn-choices .choice-button{min-height:66px;padding:15px 18px}.choice-player{margin-bottom:9px}.vn-choices .keyboard-note{margin-top:5px}}@media (max-width:560px){.game-frame{padding:14px 12px 24px}.home-card{border-radius:23px;padding:46px 25px 34px}.setup-card{border-radius:20px;max-height:calc(100dvh - 28px);padding:24px 18px;overflow:auto}.gender-option,.gender-option img{height:170px;min-height:0}.story-player{width:96px;height:124px;margin-left:12px}.scene-reveal{height:31dvh;min-height:210px;padding-bottom:12px}.visual-novel-layout .game-header{margin-bottom:9px}.vn-stage{height:43dvh;min-height:300px}.vn-character{border-radius:25px 25px 14px 14px;width:min(82vw,330px);height:min(34dvh,310px)}.player-stage-badge{bottom:7px;right:2px}.dialogue-box{border-radius:18px;min-height:166px;padding:21px 19px 16px}.dialogue-text{font-size:16px;line-height:1.58}.story-checklist,.vn-choices{padding:10px}.result-stage{height:46dvh}.scenario-card{padding:25px 21px}.scenario-description{font-size:15px;line-height:1.68}.choice-button{grid-template-columns:38px 1fr;padding:11px}.choice-button>span{width:36px;height:36px}.choice-button kbd{display:none}.chapter-card{padding:54px 24px 40px}.character-sprite{width:126px;height:160px;top:-174px;right:12px}.ending-card{border-radius:20px}.checklist-summary,.resource-links{padding:18px 15px}.checklist-summary-head{align-items:flex-start}.records-card{max-height:calc(100dvh - 24px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
