html:has(.story-sheet[open]){overflow:hidden}
.story-account-page{margin:0;background:#081210;color:#F2EEE2;font-family:inherit;min-height:100dvh}
.story-account-main{width:min(640px,calc(100% - 40px));margin:64px auto;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.story-account-main h1{font-size:clamp(27px,6vw,36px);font-weight:600}
.story-account-main>small,.story-report-card small{color:#D6B36A}
.story-account-main>p,.story-report-card>p{color:#9BAFA9}
.story-account-menu{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 20px;padding:12px 0;font-size:13px;color:#D6B36A}
.story-account-menu a,.story-account-menu button{display:inline-flex;align-items:center;min-height:44px;color:inherit;background:none;border:0;font:inherit;text-decoration:none;cursor:pointer}
.story-primary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:52px;padding:12px 16px;background:#0E403B;color:#F2EEE2;border:1px solid #D6B36A;border-radius:12px;font:inherit;text-decoration:none;cursor:pointer;text-align:center}
.story-primary:disabled{background:#25302D;border-color:#66746F;color:#9BAFA9;cursor:not-allowed}
.story-consent-form,.story-report-card,.story-settings{background:#101E1B;border:1px solid rgba(214,179,106,.20);padding:24px;border-radius:18px}
.story-consent-form label,.story-settings label,.story-checkout-confirmation label{display:flex;align-items:flex-start;gap:12px;text-align:left;cursor:pointer}
.story-consent-form input,.story-settings input,.story-checkout-confirmation input{flex:none;appearance:auto;width:20px;height:20px;min-width:20px;margin:3px 0;accent-color:#D6B36A}
.story-consent-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 0;font-size:14px}
.story-consent-row label{flex:1}.story-consent-row button{flex:none;min-height:44px;background:none;border:0;color:#D6B36A;font:inherit;cursor:pointer}
.story-consent-form>label{padding-bottom:16px;border-bottom:1px solid rgba(214,179,106,.18)}
.story-consent-form>p{font-size:13px;color:#9BAFA9;text-align:center}
.story-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:auto auto 0;width:min(100%,640px);max-width:100%;max-height:94dvh;border:1px solid rgba(214,179,106,.25);border-radius:22px 22px 0 0;background:radial-gradient(circle at 50% 0%,rgba(214,179,106,.07),transparent 42%),#101A18;color:#F2EEE2;font-family:inherit;word-break:keep-all;overflow-wrap:anywhere;padding:32px 20px calc(20px + env(safe-area-inset-bottom));text-align:center}
.story-sheet[open]{animation:story-sheet-enter 320ms ease-out}
.story-sheet::backdrop{background:rgba(2,8,12,.68);backdrop-filter:blur(6px)}
.story-sheet-close{position:absolute;top:6px;right:8px;width:48px;height:48px;background:none;border:0;color:#F2EEE2;font:28px/1 sans-serif;cursor:pointer}
.story-sheet>small{display:block;color:#D6B36A;font-size:11px;letter-spacing:.14em;margin:8px 32px 16px}
.story-sheet h2{font-size:clamp(21px,5.8vw,28px);line-height:1.4;margin:0 0 14px}
.story-sheet>p{color:#9BAFA9;font-size:14px;line-height:1.65;margin:12px 0}
.story-kakao{width:100%;height:54px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;background:#FEE500;color:#191919;font:inherit;cursor:pointer;margin-top:22px}
.story-kakao svg{width:22px;height:22px;fill:currentColor}
.story-sheet .story-sheet-note{font-size:12px}.story-sheet [data-login-error]:empty{display:none}
.story-policy-sheet{height:88dvh;text-align:left;padding-top:56px}
.story-policy-sheet[open]{display:flex;flex-direction:column}
.story-policy-sheet h2{font-size:22px}
.story-policy-sheet [data-policy-body]{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;line-height:1.75;font-size:14px;color:#C8D1CB}
.story-policy-sheet h3{color:#F2EEE2;font-size:16px;margin-top:24px}
.story-policy-sheet .story-primary{flex:none;margin-top:16px}
.story-checkout-confirmation{width:min(560px,100%);margin:22px auto;color:#B5A8B4;font-size:13px;line-height:1.6;box-sizing:border-box;word-break:keep-all;overflow-wrap:anywhere}
.story-checkout-confirmation>p{font-size:12px}.story-checkout-confirmation [data-checkout-message]{color:#F2ECE1}
[data-account-message]{color:#D6B36A;font-size:14px;line-height:1.7}
.story-report-card{margin:24px 0;background:linear-gradient(145deg,#101E1B,#15251F);box-shadow:0 0 18px rgba(214,179,106,.07)}
.story-report-card:hover{border-color:rgba(214,179,106,.45)}
.story-report-card header{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#9BAFA9}
.story-report-card h2{margin:4px 0 10px;font-size:25px}.story-report-card progress{width:100%;height:3px;accent-color:#D6B36A;display:block;margin:16px 0 24px}
.story-report-card progress::-webkit-progress-bar{background:#34413A}.story-report-card progress::-webkit-progress-value{background:#D6B36A}
.story-settings label{font-size:14px;margin:24px 0}.story-settings>button{margin-top:18px}
.story-review-form label{display:grid;gap:8px}.story-review-form input{box-sizing:border-box;width:100%;min-height:48px;border:1px solid rgba(214,179,106,.25);border-radius:10px;background:#081210;color:#F2EEE2;padding:10px 12px;font:inherit}.story-review-form input:focus-visible{outline:2px solid #D6B36A;outline-offset:2px}.story-review-form [data-review-login-message]{min-height:24px;margin:14px 0 0;color:#D6B36A;font-size:13px;text-align:center}
.story-free-privacy{margin:24px 0;font-size:13px;line-height:1.7;color:inherit}
.story-free-privacy summary{cursor:pointer;min-height:44px}
.story-free-privacy label{display:flex;align-items:flex-start;gap:10px}
.story-free-privacy input{appearance:auto;flex:none;width:20px;height:20px;accent-color:#D6B36A}
@keyframes story-sheet-enter{from{transform:translateY(28px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.story-sheet[open]{animation:none}}
