:root.theme-dark{color-scheme:dark;background:#101113}
:root.theme-light{color-scheme:light;background:#e9e9e6}
.icon-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
@media (max-width:767px) and (pointer:coarse){
  html,body,.site-shell,.login-view,.app-view,.view-scroll{touch-action:pan-x pan-y}
  .key-input-row input{font-size:16px}
}
.icon{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-controls{position:absolute;z-index:3;top:max(22px,env(safe-area-inset-top));right:clamp(18px,7vw,52px);display:flex;align-items:center;gap:8px}
.login-controls .icon-button{width:40px;height:40px}
.login-controls .language-button{height:40px;border-radius:12px}
.login-controls .language-menu{top:46px}
.unlock-button .unlock-label{font:750 15px Inter,"Segoe UI",sans-serif;letter-spacing:.03em}
.unlock-button .icon{width:21px;height:21px;stroke-width:2.2}
.site-shell:has(.app-view:not([hidden])){width:min(100%,620px)}
.app-view{background:#f7f7f5}
.app-header{height:78px;padding:0 25px;background:#fff;border-bottom:1px solid #e7e7e4;box-shadow:0 4px 18px #16161606}
.header-title{display:flex;align-items:center;gap:11px;min-width:0}
.header-mark{width:52px;height:41px;object-fit:contain;flex:none}
.header-kicker{display:block;margin-bottom:2px;color:#8b8b87;font:800 9px/1.15 Inter,"Segoe UI",sans-serif;letter-spacing:.15em;white-space:nowrap}
.app-header h1{font-size:18px;line-height:1.15;letter-spacing:-.03em}
.header-actions{gap:8px}
.icon-button,.language-button{height:40px;border-radius:12px;background:#f8f8f7;border-color:#e7e7e4}
.icon-button{width:40px}
.icon-button:hover,.language-button:hover{background:#ececea;transform:translateY(-2px)}
.icon-button .icon{width:19px;height:19px}
.theme-sun{display:none}.theme-dark .theme-moon{display:none}.theme-dark .theme-sun{display:block}
.language-button{gap:6px;padding:0 10px}.language-button .icon{width:17px;height:17px}
.view-scroll{padding:23px 24px 44px;background:radial-gradient(circle at 98% 6%,#ecece9 0,transparent 24%),#f7f7f5}
.screen:not([hidden]){animation:interiorEnter .36s cubic-bezier(.2,.75,.3,1) both}
.home-hero{position:relative;isolation:isolate;overflow:hidden;min-height:182px;margin-bottom:22px;padding:23px 25px 20px;border-radius:22px;background:linear-gradient(125deg,#191a1c 0%,#303236 100%);color:#fff;box-shadow:0 16px 32px #1717171b}
.home-hero::after{content:"";position:absolute;z-index:-1;width:190px;height:190px;right:-46px;top:-70px;border:1px solid #ffffff29;border-radius:50%;box-shadow:0 0 0 34px #ffffff0a,0 0 0 69px #ffffff08}
.hero-glow{position:absolute;z-index:-1;right:4%;top:-70px;width:250px;height:230px;background:radial-gradient(circle,#ffffff19,transparent 67%);pointer-events:none}
.home-hero .status-tag{display:inline-flex;align-items:center;gap:7px;margin:0 0 23px;padding:7px 10px;border:1px solid #ffffff32;border-radius:99px;background:#ffffff18;color:#f3f3f3;font-size:10px;letter-spacing:.1em}
.home-hero .status-tag .icon{width:15px;height:15px}
.home-hero .page-intro h2{margin:0 0 7px;color:#fff;font-size:clamp(24px,4vw,28px);letter-spacing:-.04em}
.home-hero .page-intro p{margin:0;color:#d3d4d5;font-size:13px}
.hero-progress{display:flex;gap:6px;margin-top:21px}
.hero-progress span{height:4px;flex:1;border-radius:4px;background:#ffffff30}
.hero-progress .done{background:#fff}.hero-progress .current{background:#ffffff9e}
.steps-label{display:flex;justify-content:space-between;align-items:center;margin:0 3px 12px;color:#777;font:800 10px Inter,"Segoe UI",sans-serif;letter-spacing:.14em}
.steps-label span:last-child{color:#a4a4a0}
.step-card{margin-bottom:12px;padding:18px 19px 18px;border-radius:18px;border-color:#e4e4e0;box-shadow:0 7px 24px #11111108;animation:cardEnter .42s ease both}
.step-card:nth-of-type(2){animation-delay:.04s}.step-card:nth-of-type(3){animation-delay:.08s}
.step-card:hover{border-color:#cfcfcb;transform:translateY(-2px);box-shadow:0 13px 28px #11111112}
.current-step{border-color:#c7c7c2;box-shadow:0 10px 27px #11111110}
.step-heading{gap:14px}
.step-index{width:45px;height:45px;border-radius:13px;background:#f0f0ee;color:#333}
.step-index .icon{width:21px;height:21px}
.current-step .step-index{background:#1b1b1b;color:#fff}
.step-heading small{display:block;margin:0 0 4px;color:#898985;font:800 9px Inter,"Segoe UI",sans-serif;letter-spacing:.12em}
.step-heading h3{margin:0 0 4px;font-size:16px;letter-spacing:-.02em}
.step-heading p{font-size:13px;line-height:1.5}
.step-extra{margin-top:6px!important}
.nested-link{min-height:57px;margin:15px 0 0 59px;padding:7px 11px;border-color:#e7e7e4;border-radius:12px;background:#f8f8f7}
.nested-link:hover{background:#f0f0ee;border-color:#d0d0cb;transform:translateY(-1px)}
.row-icon{width:39px;height:39px;border-radius:10px;background:#ededeb;color:#343434}
.row-icon .icon{width:19px;height:19px}
.nested-link strong,.community-row strong{font-size:13px}
.nested-link .arrow,.community-row .arrow{width:17px;height:17px;margin-left:auto;color:#585858}
.wide-action{display:flex;align-items:center;justify-content:flex-start;gap:11px;min-height:56px;margin:15px 0 0 59px;padding:0 16px;border-radius:12px;font-size:13px;letter-spacing:.02em}
.wide-action .icon{width:19px;height:19px}.wide-action .action-arrow{margin-left:auto;width:16px;height:16px}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:1px 0 19px}
.panel-kicker{display:block;margin-bottom:7px;color:#878782;font:800 10px Inter,"Segoe UI",sans-serif;letter-spacing:.13em}
.panel-heading h2{margin:0 0 5px;color:#171717;font:800 25px Inter,"Segoe UI",sans-serif;letter-spacing:-.04em}
.panel-heading p{margin:0;color:#777;font:13px/1.5 Inter,"Segoe UI",sans-serif}
.panel-icon{width:44px;height:44px;padding:11px;border-radius:13px;background:#191919;color:#fff}
.feature-intro{margin:0 0 13px;padding:12px 14px;border:1px solid #e6e6e2;border-radius:12px;background:#fff;color:#777}
.feature-intro strong{padding:5px 9px;border-radius:99px;background:#efefed;color:#222;font-size:12px}
.feature-card{margin-bottom:11px;border-radius:17px;border-color:#e5e5e1;box-shadow:0 5px 18px #16161608}
.feature-head{gap:13px;padding:17px 18px}
.feature-name{gap:8px;flex-wrap:wrap}
.feature-num{color:#a0a09c;font-size:10px;letter-spacing:.06em}
.feature-icon{width:19px;height:19px;color:#353535}
.feature-name h2{font-size:16px;letter-spacing:-.02em}
.feature-head p{margin-top:8px;color:#73736f;font-size:12.5px;line-height:1.5}
.new-tag{margin-left:2px;padding:4px 6px;background:#eeeeec}
.switch{width:50px;height:28px;margin-top:4px}.switch span{background:#d8d8d4}.switch span::after{width:20px;height:20px;top:4px;left:4px}.switch input:checked+span::after{transform:translateX(22px)}
.feature-detail{padding:15px 18px 18px}
.feature-detail.locked{opacity:.56}
.locked-note{display:flex;align-items:center;gap:8px;margin:0 0 16px;padding-bottom:12px}
.locked-note .icon{width:14px;height:14px}
.style-grid{gap:7px}.style-choice,.range-options button{border-radius:8px}.style-choice:disabled,.range-options button:disabled{cursor:not-allowed;opacity:.6}
.manage-card{margin:0 0 13px;padding:19px;border-radius:18px;border-color:#e4e4e0;box-shadow:0 7px 24px #11111108}
.manage-top{margin-bottom:17px;color:#555}
.manage-top b{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;background:#e8f0e9;color:#315c3b;font-size:10px;letter-spacing:0}
.manage-top b .icon{width:13px;height:13px}
.manage-slot{padding:14px 0;border-top:1px solid #e9e9e5}
.manage-slot>span{margin-bottom:10px;color:#8a8a85}
.slot-body{align-items:center;gap:13px}
.slot-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#f0f0ee;color:#303030}
.slot-icon .icon{width:21px;height:21px}
.slot-body strong{font-size:14px}.slot-body p{font-size:12.5px}
.manage-footnote{margin-top:12px;padding-top:13px;border-top:1px solid #e9e9e5;font-size:12px}
.updates-row{padding:16px 18px;margin-bottom:21px;border-radius:17px;border-color:#e4e4e0;box-shadow:0 5px 18px #11111108}
.updates-row:hover{border-color:#cececa;background:#fff;transform:translateY(-2px)}
.row-top{align-items:center;margin-bottom:15px}
.row-top span{display:inline-flex;align-items:center;gap:3px;color:#555}
.row-top .icon{width:13px;height:13px}
.updates-content{display:flex;align-items:flex-start;gap:12px}
.updates-content>.icon{width:21px;height:21px;margin-top:1px;color:#222}
.updates-content strong{display:block;color:#171717;font:750 14px Inter,"Segoe UI",sans-serif}
.updates-content small{display:block;margin-top:6px;color:#777;font:12px/1.5 Inter,"Segoe UI",sans-serif;white-space:normal}
.community-title{margin-bottom:10px}
.community-row{border-color:#e5e5e1;border-radius:13px;background:#fff;box-shadow:0 4px 14px #11111107}
.community-row:hover{border-color:#cececa;background:#fafaf9;transform:translateY(-2px)}
.logout-button{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:20px;border:1px solid #eddfdf;border-radius:12px;background:#f9f3f3;color:#873c3c}
.logout-button .icon{width:18px;height:18px}
.tabbar{height:78px;border-top:1px solid #e8e8e4;background:#fff;box-shadow:0 -8px 25px #11111109}
.tab{gap:5px;color:#8b8b86;font-size:10px;letter-spacing:.06em;transition:color .2s,background .2s}
.tab .icon{width:21px;height:21px;stroke-width:1.9}
.tab.active{color:#171717;background:linear-gradient(180deg,#f7f7f5,transparent)}
.tab.active::before{width:27px;height:3px;border-radius:0 0 3px 3px;background:#191919;box-shadow:none}
.tab:hover{background:#f7f7f5;color:#171717}
@keyframes interiorEnter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes cardEnter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

.theme-dark body{background:radial-gradient(circle at 20% 0%,#292a2b,transparent 42%),#101113;color:#ededeb}
.theme-dark .site-shell,.theme-dark .app-view{background:#151618}
.theme-dark .login-view{background:radial-gradient(circle at 75% 14%,#2a2b2d,transparent 34%),#151618}
.theme-dark .login-view::before{background:#f1f1ef}
.theme-dark .login-logo{color:#f4f4f2}
.theme-dark .wordmark-troll{background-image:linear-gradient(140deg,#84f1d7 5%,#27c6ae 95%)}
.theme-dark .wordmark-cheat{background-image:linear-gradient(140deg,#e4b5ff 5%,#a467e9 95%)}
.theme-dark .login-note{color:#aaa}
.theme-dark .login-form-wrap{background:#202124;border-color:#36373a;box-shadow:0 18px 50px #0003}
.theme-dark .login-form-wrap label{color:#dededb}
.theme-dark .key-input-row{background:#191a1c;border-color:#44464a}
.theme-dark .key-input-row input{color:#fff}.theme-dark .key-input-row input::placeholder{color:#8e8f92}
.theme-dark .key-input-row button{border-color:#44464a;background:#2d2e31;color:#eee}
.theme-dark .key-error{color:#f6a7a7}.theme-dark .unlock-button{background:#f3f3f1;color:#141414}.theme-dark .unlock-button:hover{background:#d9d9d7}
.theme-dark .app-header{background:#1c1d1f;border-color:#333436;box-shadow:0 4px 18px #0002}
.theme-dark .header-kicker{color:#a1a2a5}.theme-dark .app-header h1{color:#f5f5f3}
.theme-dark .icon-button,.theme-dark .language-button{background:#28292c;border-color:#3d3e41;color:#eee}
.theme-dark .icon-button:hover,.theme-dark .language-button:hover{background:#353639}
.theme-dark .language-menu{background:#27282b;border-color:#414246}.theme-dark .language-menu button{color:#ddd}.theme-dark .language-menu button.active,.theme-dark .language-menu button:hover{background:#f2f2f0;color:#171717}
.theme-dark .view-scroll{background:radial-gradient(circle at 96% 5%,#222326 0,transparent 28%),#151618}
.theme-dark .home-hero{background:linear-gradient(125deg,#333539,#1d1e21);border:1px solid #45474a;box-shadow:0 18px 30px #0003}
.theme-dark .steps-label,.theme-dark .panel-kicker{color:#aaa}.theme-dark .steps-label span:last-child{color:#777}
.theme-dark .step-card,.theme-dark .feature-card,.theme-dark .manage-card,.theme-dark .updates-row,.theme-dark .community-row{background:#202124;border-color:#393a3d;box-shadow:0 5px 20px #0002}
.theme-dark .step-card:hover,.theme-dark .feature-card:hover,.theme-dark .updates-row:hover,.theme-dark .community-row:hover{background:#242528;border-color:#55565a}
.theme-dark .current-step{border-color:#737477}
.theme-dark .step-index,.theme-dark .row-icon,.theme-dark .slot-icon{background:#323337;color:#eee}
.theme-dark .current-step .step-index{background:#f2f2f0;color:#171717}
.theme-dark .step-heading small,.theme-dark .feature-num,.theme-dark .manage-slot>span{color:#999}
.theme-dark .step-heading h3,.theme-dark .feature-name h2,.theme-dark .slot-body strong,.theme-dark .updates-content strong{color:#f4f4f2}
.theme-dark .step-heading p,.theme-dark .feature-head p,.theme-dark .slot-body p,.theme-dark .manage-footnote,.theme-dark .updates-content small,.theme-dark .panel-heading p{color:#a9a9aa}
.theme-dark .nested-link{background:#2a2b2f;border-color:#414246;color:#eee}.theme-dark .nested-link:hover{background:#35363a}
.theme-dark .nested-link small,.theme-dark .nested-link .arrow,.theme-dark .community-row .arrow{color:#bbb}
.theme-dark .wide-action{background:#f3f3f1;color:#171717}.theme-dark .wide-action:hover{background:#d9d9d7}
.theme-dark .panel-heading h2{color:#f6f6f4}.theme-dark .panel-icon{background:#f3f3f1;color:#171717}
.theme-dark .feature-intro{background:#202124;border-color:#393a3d;color:#aaa}.theme-dark .feature-intro strong{background:#37383b;color:#f5f5f3}
.theme-dark .feature-icon{color:#eee}.theme-dark .new-tag{background:#37383b;color:#ddd}
.theme-dark .feature-detail,.theme-dark .manage-slot,.theme-dark .manage-footnote{border-color:#393a3d}
.theme-dark .feature-detail.locked{opacity:.65}
.theme-dark .locked-note,.theme-dark .sub-toggle{border-color:#393a3d;color:#aaa}
.theme-dark .detail-label,.theme-dark .range-heading>span,.theme-dark .manage-top,.theme-dark .community-title,.theme-dark .row-top{color:#aaa}
.theme-dark .range-heading strong{color:#f4f4f2}.theme-dark .feature-range{accent-color:#eee}
.theme-dark .style-choice,.theme-dark .range-options button{background:#2e2f32;border-color:#414246;color:#ddd}
.theme-dark .style-choice.selected,.theme-dark .range-options button.selected{background:#f3f3f1;border-color:#f3f3f1;color:#161616}
.theme-dark .switch span{background:#4c4d50}.theme-dark .switch input:checked+span{background:#eee}.theme-dark .switch input:checked+span::after{background:#171717}
.theme-dark .manage-top b{background:#263a2c;color:#a7d5b3}.theme-dark .updates-content>.icon{color:#eee}.theme-dark .row-top span{color:#bbb}
.theme-dark .community-row{color:#eee}.theme-dark .logout-button{background:#382829;border-color:#5c3c3e;color:#ffb5b5}
.theme-dark .tabbar{background:#1c1d1f;border-color:#36373a;box-shadow:0 -8px 25px #0002}
.theme-dark .tab{color:#999}.theme-dark .tab.active{color:#f5f5f3;background:linear-gradient(180deg,#28292b,transparent)}.theme-dark .tab.active::before{background:#f5f5f3}.theme-dark .tab:hover{background:#292a2d;color:#fff}
.theme-dark .updates-dialog{background:#202124;border-color:#404144;color:#f4f4f2}.theme-dark .dialog-head button{background:#353639;color:#eee}.theme-dark .dialog-note{background:#292a2d}.theme-dark .dialog-note p{color:#aaa}
@media(max-width:430px){.app-header{height:72px;padding-inline:15px}.header-mark{width:35px;height:35px}.header-title{gap:8px}.header-kicker{font-size:8px}.app-header h1{font-size:16px}.header-actions{gap:5px}.icon-button,.language-button{height:36px}.icon-button{width:36px}.language-button{padding-inline:8px}.view-scroll{padding:17px 14px 30px}.home-hero{min-height:175px;padding:21px}.step-card{padding:16px}.nested-link,.wide-action{margin-left:0}.panel-heading h2{font-size:22px}.feature-head{padding:15px}.feature-detail{padding:14px 15px}.feature-name h2{font-size:14px}.feature-name{gap:6px}.feature-head p{font-size:12px}}
@media(max-width:350px){.header-kicker{display:none}.language-button .icon{display:none}.step-heading{gap:10px}.step-index{width:40px;height:40px}.feature-num{display:none}}
@media(prefers-reduced-motion:reduce){.screen:not([hidden]),.step-card{animation:none!important}}
