.kakao-button{min-height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;background:#fee500;color:#000000d9;font-weight:700;font-size:14px;padding:12px 18px}
.kakao-button:before{content:'';width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='%23000' d='M9 1.5C4.6 1.5 1 4.3 1 7.8c0 2.2 1.5 4.2 3.7 5.3l-.9 3.3c-.1.3.3.5.5.3l3.9-2.6c.3 0 .5.1.8.1 4.4 0 8-2.8 8-6.3S13.4 1.5 9 1.5Z'/%3E%3C/svg%3E") center/contain no-repeat}
.kakao-button:hover:not(:disabled){background:#f5dc00}
#sheet-body .kakao-button+.button{margin-top:10px}
.accounts-divider{display:flex;align-items:center;gap:12px;margin:20px 0 4px;color:#b3a6c0;font-size:11px}
.accounts-divider:before,.accounts-divider:after{content:'';flex:1;height:1px;background:var(--line)}
.phone-row{display:flex;gap:8px;margin-top:8px}
.field .phone-row input{margin-top:0;flex:1;min-width:0}
.phone-row .button{min-height:44px;padding:10px 13px;font-size:12px;flex-shrink:0;white-space:nowrap}
.accounts-hint{display:block;margin-top:6px;font-weight:400;color:#9a8aa8;font-size:11px}
.consents{border:1px solid var(--line);border-radius:12px;padding:6px 14px;margin:18px 0 4px}
.consent-row{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:12px;color:#6c5c79;line-height:1.5}
.consent-row input{width:18px;height:18px;flex-shrink:0;accent-color:var(--purple)}
.consent-row span{flex:1}
.consent-row b{color:var(--purple);font-weight:650}
.consent-row a{font-size:11px;color:#9a81b3}
.consent-all{border-bottom:1px solid var(--line);font-weight:700;color:var(--ink);font-size:13px}
.business-info{flex-basis:100%;margin:0;color:#b0a6ba;font-size:10px;line-height:1.9;word-break:keep-all}
.business-info a{color:#8d7f9a;text-decoration:none;margin-right:12px}
.business-info a.strong{font-weight:700}
footer{flex-wrap:wrap}
.consent-detail{border-top:1px solid var(--line);padding:9px 0 6px;font-size:11px;color:#8f819c;line-height:1.7}
.consent-detail summary{cursor:pointer;color:#9a81b3}
.consent-detail dl{margin:8px 0 4px}.consent-detail dt{font-weight:700;color:#6c5c79;margin-top:6px}.consent-detail dd{margin:2px 0 0}
.consent-detail p{margin-top:6px}
.accounts-gate-copy{background:#f7f2fd;border-radius:12px;padding:12px 14px;color:#6c5480;word-break:keep-all}
.delete-notices{margin:0 0 14px;padding-left:18px;color:#6f5d7d;font-size:12px;line-height:1.85;word-break:keep-all}
.delete-notices li{margin:4px 0}
.danger-fill{background:#b24663}
.danger-fill:disabled{opacity:.5}
.account-links{display:grid;gap:2px;margin-top:6px}
/* ---- Dark auth sheet (sign-up, login, legacy upgrade, recovery, Kakao consent) ----
   One hero, 회원가입/로그인 tabs, then one step at a time. Scoped to the sheet while
   accounts.js renders .auth into it; every other sheet keeps the light style. */
.sheet:has(.auth){background:#15111c;border-color:#2b2337;color:#f3eefa;box-shadow:0 25px 100px #000000b0}
.sheet:has(.auth)::backdrop{background:#0b0811b8}
.sheet:has(.auth) .sheet-grab{position:absolute;left:calc(50% - 17px);top:0;z-index:3;background:#ffffff38}
.sheet:has(.auth) .sheet-header{position:sticky;top:0;height:0;padding:0;background:none;z-index:3;overflow:visible}
.sheet:has(.auth) #sheet-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sheet:has(.auth) #sheet-close{position:absolute;top:14px;right:14px;width:36px;height:36px;background:#ffffff17;color:#e3d9ef}
.sheet:has(.auth) #sheet-close:focus:not(:focus-visible){outline:none}
.sheet:has(.auth) #sheet-body{padding:0 0 26px}
.auth{color:#f3eefa;word-break:keep-all;outline:none;background:#15111c;border-radius:18px;overflow:hidden}
.sheet:has(.auth) .auth{border-radius:0}
.auth-hero{position:relative;overflow:hidden;padding:40px 24px 24px;transition:padding .25s;background:radial-gradient(110% 95% at 92% 0%,#6b46ff66,transparent 62%),radial-gradient(80% 90% at 0% 110%,#c05cff38,transparent 62%),linear-gradient(180deg,#231939,#15111c)}
.auth-gems{position:absolute;right:16px;top:50px;width:132px;height:112px;pointer-events:none;transition:transform .25s,opacity .25s}
.auth-gems img{position:absolute;right:14px;top:6px;width:84px;height:84px;transform:rotate(-12deg);filter:drop-shadow(0 12px 26px #8b6bffa0)}
.auth-gems img.small{right:90px;top:60px;width:34px;height:34px;transform:rotate(16deg);opacity:.92;filter:drop-shadow(0 6px 14px #8b6bff80)}
.auth-gems i{position:absolute;font-style:normal;color:#fff;right:0;top:78px;font-size:15px;opacity:.85}
.auth-gems i.b{right:104px;top:18px;font-size:11px;opacity:.65}
.auth-eyebrow{margin:0 128px 6px 0;font-size:13px;font-weight:600;color:#cdbde8;line-height:1.5}
.auth-big{margin:0;font-size:31px;font-weight:800;letter-spacing:-1.2px;line-height:1.22;color:#fff}
.auth-big b{background:linear-gradient(90deg,#d2c3ff,#93dcff);-webkit-background-clip:text;background-clip:text;color:transparent}
.auth-sub{margin:9px 112px 0 0;font-size:12px;line-height:1.6;color:#a596b9}
.auth-hero.compact{padding:34px 24px 20px;background:radial-gradient(90% 100% at 100% 0%,#6b46ff40,transparent 65%),linear-gradient(180deg,#1f1830,#15111c)}
.auth-hero.compact .auth-big{font-size:22px;letter-spacing:-.6px}
.auth-hero.compact .auth-sub{margin-right:0}
.auth-brand{margin:0 0 14px;font:900 24px/1 Arial,sans-serif;letter-spacing:-1.4px;color:#fff}
.auth-brand span{color:#ff79d2}
.auth-tabs{display:flex;margin:18px 20px 2px;padding:4px;border-radius:999px;background:#211b2a;border:1px solid #2e2638}
.auth-tabs button{flex:1;min-height:44px;border:0;border-radius:999px;background:none;color:#8d82a0;font-size:14px;font-weight:600}
.auth-tabs button[aria-selected=true]{background:#382d48;color:#fff;box-shadow:0 2px 12px #00000070}
.auth-body{padding:16px 22px 0}
.auth-progress{margin:2px 0 18px}
.auth-bars{display:flex;gap:6px}
.auth-bars i{flex:1;height:4px;border-radius:4px;background:#2b2436}
.auth-bars i.on{background:linear-gradient(90deg,#7b55ff,#b46bff)}
.auth-step{display:flex;align-items:center;gap:8px;margin:13px 0 0;font-size:18px;font-weight:700;letter-spacing:-.4px;color:#fff}
.auth-step span{flex-shrink:0;padding:3px 8px;border-radius:999px;background:#6b46ff2e;color:#c2b1ff;font-size:11px;letter-spacing:0}
.auth-form{margin:0}
.auth-field{display:block;margin:0 0 14px;font-size:12px;font-weight:600;color:#a99bbb}
.auth-field>span:first-child{display:block;margin-bottom:8px}
.auth-field input{display:block;width:100%;height:54px;margin:0;padding:0 16px;border:1px solid #352c42;border-radius:14px;background:#1f1928;color:#fff;font-size:16px;font-weight:500;outline:none}
.auth-field input::placeholder{color:#6d6280;font-weight:400}
.auth-field input:focus{border-color:#7b5cff;box-shadow:0 0 0 3px #6b46ff38}
.auth-field input:disabled{opacity:.55}
.auth-code input{font-size:21px;font-weight:700;letter-spacing:7px}
.auth-code input::placeholder{font-size:15px;letter-spacing:0}
.auth-password{position:relative;display:block}
.auth-password input{padding-right:54px}
.auth-eye{position:absolute;right:6px;top:6px;width:42px;height:42px;display:grid;place-items:center;border:0;background:none;color:#8d82a0}
.auth-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-rule{display:block;margin-top:7px;color:#7d7190;font-size:11px;font-weight:500}
.auth-rule:before{content:'○ '}
.auth-rule.ok{color:#8fe3b8}.auth-rule.ok:before{content:'✓ '}
.auth-primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;margin-top:6px;border:0;border-radius:14px;background:linear-gradient(90deg,#6b46ff,#a95cff);color:#fff;font-size:16px;font-weight:700;box-shadow:0 10px 28px #6b46ff45}
.auth-primary:disabled{background:#2b2436;color:#6d6280;box-shadow:none}
.auth-primary[hidden]{display:none}
.auth-link{border:0;background:none;padding:6px 4px;color:#a99bbb;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.auth-link.center{display:block;margin:14px auto 0}
.auth-link:disabled{opacity:.5}
.auth-hint{display:flex;justify-content:space-between;align-items:center;margin:-6px 0 8px;font-size:12px;color:#c2b1ff}
.auth-error{margin:0 0 8px;color:#ff94ad;font-size:13px;line-height:1.6}
.auth-notice{margin:0 0 8px;color:#c2b1ff;font-size:13px;line-height:1.6}
.auth-error .auth-link{color:#fff;padding:0 2px}
.auth-done{margin:0 0 16px;color:#8fe3b8;font-size:13px;font-weight:600}
.auth-note{padding:8px 0;color:#a99bbb;font-size:13px}
.auth-card{margin-bottom:16px;padding:18px;border:1px solid #352c42;border-radius:16px;background:#211a2c;color:#bfb2d0;font-size:13px;line-height:1.7}
.auth-card small{display:block;color:#8d82a0;font-size:11px}
.auth-card strong{display:block;margin:2px 0 4px;color:#fff;font-size:20px}
.auth-card.empty strong{font-size:17px}
.auth .consents{margin:0 0 4px;padding:0;border:0}
.auth .consent-row{display:flex;align-items:center;gap:12px;padding:9px 0;color:#cfc4de;font-size:13px;line-height:1.5}
.auth .consent-row span{flex:1}
.auth .consent-row em{margin-right:6px;font-style:normal;font-size:11px;font-weight:700;color:#c2b1ff}
.auth .consent-row em.opt{color:#8d82a0}
.auth .consent-row a{color:#8d82a0;font-size:12px}
.auth .consent-list{padding:0 4px 4px 2px}
.auth .consent-legend{padding:0;margin:4px 0 6px;color:#a99bbb;font-size:13px;font-weight:600}
.auth .consent-note{margin:10px 0 0;color:#8d82a0;font-size:11px;text-align:center}
.auth .consent-note[hidden]{display:none}
.auth input[type=checkbox]{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin:0;flex-shrink:0;border:1.5px solid #4b4059;border-radius:50%;background:#1b1622;cursor:pointer}
.auth input[type=checkbox]:checked{border-color:#7b55ff;background:#7b55ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2 6.6 11 12.5 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.auth input[type=checkbox]:focus-visible{outline:2px solid #b9a5ff;outline-offset:2px}
.auth .consent-detail{margin-top:4px;border-top:1px solid #2b2436;color:#8d82a0}
.auth .consent-detail summary{color:#a99bbb}
.auth .consent-detail dt{color:#cfc4de}
.auth .accounts-divider{color:#7d7190}
.auth .accounts-divider:before,.auth .accounts-divider:after{background:#2b2436}
.auth .kakao-button{width:100%;min-height:52px;border:0;border-radius:14px;font-size:15px}
.sheet:has(.auth) #sheet-body>.auth-link{color:#8d82a0}
.auth.collapsed .auth-hero:not(.compact){padding:30px 24px 16px}
.auth.collapsed .auth-hero:not(.compact) .auth-big{font-size:24px}
.auth.collapsed .auth-sub{display:none}
.auth.collapsed .auth-gems{transform:translate(-46px,-42px) scale(.6)}
/* 2026-11-03 (우주): the first sign-up screen, two choices of equal weight. */
.auth-methods{display:grid;gap:10px;padding-top:4px}
.auth .auth-method{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;margin:0;border:0;border-radius:14px;font-size:16px;font-weight:700}
.auth .auth-method.phone{background:linear-gradient(90deg,#6b46ff,#a95cff);color:#fff;box-shadow:0 10px 28px #6b46ff40}
.auth .auth-method.phone svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.auth .auth-method:disabled{opacity:.7}
.auth-method-note{margin:14px 0 2px;color:#8d82a0;font-size:12px;text-align:center}
/* 2026-11-07 (KAKAO_HANDOFF): the sheet reopened in Chrome after the Kakao button of an Android in-app browser. */
.auth-handoff-note{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fee50014;color:#f6e7a1;font-size:13px;font-weight:600;line-height:1.5;text-align:center}
.auth-hero.welcome{padding:46px 24px 26px}
.auth-welcome .auth-big{font-size:38px}
.auth-welcome .auth-body{padding-top:20px}
.auth-note-small{display:block;margin-top:7px;color:#8d82a0;font-size:11px;font-weight:500;line-height:1.6}
.auth-body>.kakao-button+.accounts-divider{margin:14px 0 16px}
/* Login by number (2026-11-06): Kakao on top in its own padded block, the number form right under it. */
#login-kakao+.auth-body{padding-top:0}
#login-kakao .accounts-divider{margin-bottom:4px}
.auth-back-hint{position:sticky;bottom:16px;z-index:4;width:max-content;max-width:calc(100% - 40px);margin:14px auto 0;padding:10px 16px;border-radius:999px;background:#3a3049;color:#fff;font-size:13px;font-weight:600;box-shadow:0 8px 24px #00000080}
.auth-back-hint[hidden]{display:none}
