.shop-intro{margin:-4px 0 25px;color:#bdb0cc;line-height:1.6}.shop-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}.shop-stat{text-align:left;padding:18px;background:#211c2a;border-color:#3e344b;box-shadow:none;display:grid;gap:7px}.shop-stat strong{font-size:28px;line-height:1.1;color:#ede2fa}.shop-stat span{font-size:12px;color:#c3b4d0;font-weight:400}.shop-stat.selected{background:#32213f;border-color:#9661be}.shop-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid #42364d;padding-bottom:16px}.shop-tabs button{padding:9px 15px;box-shadow:none;border-color:transparent;background:transparent;color:#b9adc5}.shop-tabs .selected{background:#743cb0;color:#fff;border-color:#ad70e6}.shop-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 185px 185px;gap:14px;margin:22px 0 14px}.shop-toolbar input,.shop-toolbar select{width:100%;min-width:0;height:43px}.shop-count{color:#a999b9;font-size:12px;margin:14px 0 4px}.shop-section-heading{display:flex;align-items:center;gap:10px;margin:26px 0 14px}.shop-section-heading h2{margin:0;font-size:19px}.shop-section-heading span{font-size:12px;border:1px solid #493b55;padding:2px 8px;border-radius:12px}.cosmetic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.cosmetic-card{background:#231e2c;border:1px solid #403549;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.cosmetic-card:hover{border-color:#87619f}.art-open{display:block;border:0;border-radius:0;padding:0;width:100%;box-shadow:none;background:transparent}.art-open:hover{background:transparent}.art-open:active{transform:none}.cosmetic-art{height:158px;position:relative;display:flex;align-items:center;justify-content:center;padding:18px;background:radial-gradient(ellipse at 50% 80%,#4c2d694a,transparent 75%),#19151f;overflow:hidden}.cosmetic-art img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 5px 9px #08060b66)}.bundle-art{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:12px 20px}.bundle-art>.cosmetic-art{height:65px;padding:2px;background:transparent}.bundle-art .art-label{display:none}.art-label{position:absolute;right:9px;bottom:8px;font-size:10px;font-weight:500;color:#c9b6dd;background:#251b32e6;padding:3px 6px;border-radius:5px}.art-fallback{font-size:13px;color:#a999b9;font-weight:500}.cosmetic-card-body{padding:16px;display:flex;flex:1;flex-direction:column;gap:9px}.cosmetic-card h3{font-size:16px;margin:2px 0 0;line-height:1.4;overflow-wrap:anywhere}.cosmetic-kind{margin:0;color:#a99ab6;font-size:12px}.shop-badges{display:flex;flex-wrap:wrap;gap:5px}.shop-badge{display:inline-flex;font-size:10px;line-height:1.2;padding:5px 7px;border-radius:5px;border:1px solid #54455f;color:#cbbbda;background:#302735}.shop-badge.on{background:#17362f;color:#99dfc8;border-color:#2e5b4d}.shop-badge.sale{background:#50321a;color:#ffd398;border-color:#815324}.shop-badge.planned{background:#272f47;color:#b8c9ff;border-color:#485577}.shop-badge.off{background:#44252f;color:#f6b2c1;border-color:#714552}.cosmetic-price{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;margin-top:auto;padding-top:8px}.cosmetic-price strong{font-size:15px}.cosmetic-price del{font-size:12px;color:#a797b5}.edit-cosmetic{box-shadow:none;margin-top:5px;padding:8px;border-color:#544061;background:#35273f;font-size:12px}.shop-empty{text-align:center;padding:55px 20px;border:1px dashed #574563;border-radius:12px;margin-top:25px;color:#c3b4d0}.shop-empty h2{color:#f2eafa}.cosmetic-dialog{color:#f0eaf6;background:#211b29;border:1px solid #756082;border-radius:15px;width:min(940px,calc(100vw - 36px));max-height:calc(100dvh - 40px);padding:0;box-shadow:0 28px 100px #0009;overflow:auto}.cosmetic-dialog::backdrop{background:#08060fcc;backdrop-filter:blur(5px)}.editor-head{display:flex;justify-content:space-between;gap:18px;padding:22px 26px;border-bottom:1px solid #49394f;align-items:center}.editor-head h2{font-size:23px;margin:4px 0 0;overflow-wrap:anywhere}.editor-head .eyebrow{margin:0}.close-editor{font-size:25px;line-height:1;padding:7px 12px;box-shadow:none;background:#302536;align-self:start}.editor-layout{display:grid;grid-template-columns:300px minmax(0,1fr)}.editor-preview{padding:24px;background:#19151f;border-right:1px solid #413047;min-width:0}.editor-preview>.shop-badges{margin-top:17px}.editor-preview>.muted{font-size:12px;line-height:1.6}.editor-preview code{display:block;overflow-wrap:anywhere}.editor-preview .large{height:285px;border-radius:9px;border:1px solid #3d3047;padding:25px 22px 56px}.editor-preview .bundle-art.large{padding:16px;gap:8px}.editor-preview .large.bundle-art>.cosmetic-art{height:116px}.preview-play{position:absolute;bottom:12px;left:10%;width:80%;padding:8px 5px;font-size:11px;box-shadow:none;background:#33233f}.editor-form{gap:0;padding:24px}.editor-section{border-bottom:1px solid #43344c;padding:0 0 22px;margin-bottom:22px;display:grid;gap:17px}.editor-section h3{font-size:16px;margin:0}.shop-check{display:flex;align-items:flex-start;gap:11px;font-size:13px;cursor:pointer;line-height:1.45}.shop-check input{width:18px;height:18px;min-width:18px;margin:1px 0 0;accent-color:#a766ee}.shop-check strong{color:#e0d5eb;font-weight:600;display:block}.shop-check small{display:block;font-size:12px;line-height:1.5;margin-top:3px;color:#ad9aba}.discount-fields{display:grid;grid-template-columns:1fr;gap:16px;padding:16px;border-radius:8px;background:#19141f;border:1px solid #41314c}.discount-fields[hidden]{display:none}.editor-form input{min-width:0;width:100%}.editor-form input[type=checkbox]{width:18px}.field-note{font-size:11px;line-height:1.6;color:#b09ac2;margin:0}.price-summary{display:grid;gap:6px;padding:17px;border:1px solid #65427b;background:#35223f;border-radius:8px}.price-summary>span{font-size:12px;color:#c6aed5}.price-summary>strong{font-size:24px}.price-summary small{font-size:12px;color:#d2badf;line-height:1.5}.editor-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.editor-footer button{font-size:13px;padding:11px 14px}.editor-error{color:#ffc4bc;font-size:12px;line-height:1.5}.editor-error:empty{display:none}.price-summary .editor-error{color:#ffc4bc}.editor-hint{padding:12px;background:#30243b;font-size:12px;line-height:1.6;border-radius:7px}.bundle-members{margin-top:24px}.bundle-members h3{font-size:13px;margin-bottom:12px}.bundle-member{width:100%;display:grid;grid-template-columns:38px 1fr;gap:4px 9px;align-items:center;text-align:left;padding:8px;margin-bottom:8px;box-shadow:none;background:#282030;border-color:#45324f}.bundle-member>.cosmetic-art{grid-row:span 2;width:38px;height:48px;padding:3px;background:transparent}.bundle-member .art-label{display:none}.bundle-member>span{font-size:11px;font-weight:500;overflow-wrap:anywhere}.bundle-member>strong{font-size:11px;color:#be9bd5;font-weight:500}.related-bundle{padding:9px;font-size:11px;margin:0 0 8px;box-shadow:none;display:block;width:100%;text-align:left}.shop-directory button:focus-visible,.cosmetic-dialog button:focus-visible{outline:2px solid #d4a0ff;outline-offset:3px}input[type=search]::-webkit-search-cancel-button{cursor:pointer}@media(min-width:1450px){.cosmetic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.shop-toolbar{grid-template-columns:1fr 1fr}.shop-toolbar>label:first-child{grid-column:span 2}.shop-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.editor-layout{grid-template-columns:1fr}.editor-preview{border-right:0;border-bottom:1px solid #413047}.editor-preview .large{height:225px}.editor-preview .large.bundle-art>.cosmetic-art{height:85px}.editor-head{padding:18px}.editor-form{padding:20px}.cosmetic-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.shop-tabs{gap:3px}.shop-tabs button{font-size:12px;padding:8px 10px}.cosmetic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cosmetic-card-body{padding:12px}.cosmetic-card h3{font-size:14px}.cosmetic-art{height:145px}.cosmetic-price strong{font-size:13px}.shop-toolbar{gap:10px}.shop-toolbar select{padding:10px 7px;font-size:12px}}@media(prefers-reduced-motion:reduce){.shop-directory button,.cosmetic-dialog button{transition:none}}

.cosmetic-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.editor-layout{overflow:auto}.editor-footer{padding:14px 24px;border-top:1px solid #49394f;background:#211b29}.discount-fields>label[hidden]{display:none}.discount-fields{grid-template-columns:1fr 1fr}.discount-fields>.shop-check,.discount-fields>.field-note{grid-column:span 2}@media(max-width:720px){.discount-fields{grid-template-columns:1fr}.discount-fields>.shop-check,.discount-fields>.field-note{grid-column:auto}.editor-footer{padding:12px}.editor-footer button{padding:10px}}

body:has(.cosmetic-dialog[open]){overflow:hidden}

.shop-toolbar{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(125px,170px))}.editor-section>label[hidden]{display:none}@media(max-width:1200px){.shop-toolbar{grid-template-columns:1fr 1fr}.shop-toolbar>label:first-child{grid-column:auto}}
#auth-brand{display:none}.auth-screen aside,.auth-screen main>header,.auth-screen #logout{display:none}.auth-screen{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 20%,#39224d 0,transparent 58%),#131017}.auth-screen main{margin:0;padding:35px 22px;width:min(440px,100%)}.auth-screen #auth-brand{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:28px}.auth-screen #auth-brand img{width:86px;height:86px;object-fit:contain}.auth-screen #auth-brand strong{font-size:27px;letter-spacing:3px}.auth-screen #auth-brand span{color:#b89acb;font-size:13px}.auth-screen .card{margin:0;padding:28px;background:#241b30;border-color:#604371}.auth-screen .card h2{text-align:center;margin:0 0 24px;font-size:20px}.auth-screen #notice:empty{display:none}.auth-screen #notice{text-align:center;margin:0 0 18px}.auth-pending #content{visibility:hidden}.auth-screen form>button{margin-top:7px;background:#773dad}.auth-screen footer{display:none}

nav button.security-alert{border-color:#ffb45b;color:#ffd499}
.auth-screen .login>button{width:100%}
