/* styles.css */
@font-face{font-family:WinterSystem;src:local("Segoe UI");font-display:swap}
:root{color-scheme:light;--bg:#eef0fa;--panel:#f9f9ff;--panel-solid:#f5f5fc;--text:#20213d;--sub:#626581;--line:#d9dcec;--accent:#6456dc;--accent-dark:#4e40c1;--soft:#e9e7fc;--shadow:0 12px 32px #6262ab19;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--bg);color:var(--text);font-family:WinterSystem,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5;min-width:320px}button,input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select{font:inherit;color:inherit}button,a,input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}button{border:0;background:none}button:focus-visible,a:focus-visible,input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus-visible,select:focus-visible{outline:3px solid #9184f0;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,3.15vw,43px);letter-spacing:-1.4px;line-height:1.12;font-weight:780}h2{font-size:27px;letter-spacing:-.8px;line-height:1.2}h3{font-size:20px;letter-spacing:-.4px}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}small{font-size:12px;color:var(--sub)}[hidden]{display:none!important}.skip-link{position:absolute;top:-100px;left:20px;z-index:20;padding:12px;background:var(--panel)}.skip-link:focus{top:10px}
.winter-background{position:fixed;inset:0;z-index:-2;overflow:hidden;background:radial-gradient(ellipse at 15% 5%,#ffffff 0,transparent 36%),radial-gradient(ellipse at 85% 30%,#dee6fc 0,transparent 42%),linear-gradient(140deg,#eff2fb,#e7e9fb 48%,#f6f4ff)}
.ribbon{position:absolute;pointer-events:none;width:160vw;height:40vw;min-height:250px;border-radius:50%;border:32px solid #ffffff70;box-shadow:inset 10px 8px 16px #d4d8ff80,inset -6px -10px 15px #ffffffda,0 14px 26px #b8c4fa40,0 -8px 16px #f0ddfd50;transform:rotate(-28deg);animation:iridescent 22s ease-in-out infinite alternate;background:linear-gradient(162deg,transparent 44%,#ffffff92 47%,#d3e5ff73 48%,#f1dafb6b 50%,transparent 54%)}
.ribbon-one{left:-58%;top:25%}.ribbon-two{left:19%;top:42%;animation-delay:-13s;transform:rotate(-44deg);opacity:.7}.ribbon-three{left:-45%;top:-35%;opacity:.6;transform:rotate(28deg);animation-delay:-7s}
@keyframes iridescent{to{translate:3% 35px;filter:hue-rotate(22deg)}}#snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;opacity:.8}.page{max-width:1320px;padding:0 32px;margin:auto;position:relative;z-index:2}.header{display:flex;align-items:center;gap:26px;padding:30px 0 11px}.brand{font-size:37px;letter-spacing:-2px;font-weight:850;line-height:1.2;position:relative;flex:none}.brand>span:first-child{color:var(--accent)}.hat{position:absolute;width:22px;height:22px;background:linear-gradient(120deg,#a99bff,#6554d8);border-radius:20px 15px 0 0;transform:rotate(-24deg);left:-10px;top:-9px;border-bottom:6px solid white;box-shadow:0 2px 3px #5e519a20}.hat:after{content:"";position:absolute;width:8px;height:8px;background:white;border-radius:50%;right:-4px;top:1px;box-shadow:0 1px 3px #45406c22}.search{display:flex;align-items:center;gap:11px;flex:1;min-width:130px;border:1px solid #b9bfd9;background:#ffffff70;border-radius:12px;padding:11px 15px;color:var(--sub);box-shadow:inset 0 1px 0 #fff}.search input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){border:0;background:none;outline:none;width:100%;min-width:0;font-size:15px}.search:focus-within{outline:3px solid #9d91ed70}.search input:not([type="checkbox"]):not([type="radio"]):not([type="file"])::placeholder{color:var(--sub)}kbd{font-family:inherit;font-size:12px;border:1px solid var(--line);border-radius:4px;min-width:19px;text-align:center;opacity:.7}.header-actions{display:flex;align-items:center;gap:18px}.header-link{display:flex;align-items:center;gap:7px;padding:7px 0;white-space:nowrap;font-weight:550;font-size:14px}.header-link:hover{color:var(--accent)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px;border-radius:9px;border:1px solid var(--line);background:var(--panel);font-weight:600;min-height:43px;transition:transform .16s,box-shadow .16s}.button:hover{transform:translateY(-1px);box-shadow:0 5px 16px #574d9f18}.button.primary{background:linear-gradient(160deg,#8876ed,var(--accent));color:#fff;border-color:#8c7cf0;box-shadow:0 4px 12px #7060cd24}.button.primary:hover{background:var(--accent-dark)}.avatar-button{border-radius:50%;height:36px;width:36px;padding:6px;background:#a4aed1;color:#fff;display:grid;place-items:center}.utility{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 22px}.demo{display:inline-flex;align-items:center;gap:6px;color:var(--sub);font-size:11px}.demo>span{height:5px;width:5px;background:var(--accent);border-radius:50%}.settings{display:flex;gap:14px}.settings button{display:flex;align-items:center;gap:5px;color:var(--sub);font-size:11px;padding:3px 0}.settings .icon{width:15px;height:15px}
.hero{min-height:216px;position:relative;overflow:hidden;border:1px solid #ffffffd9;border-radius:22px;margin-bottom:25px;background:linear-gradient(105deg,#f4f1ff,#e9e8fb);box-shadow:0 7px 25px #7d77ae10,inset 0 1px 0 #fff}.hero-copy{position:relative;z-index:2;padding:28px 34px;width:61%}.hero h1{font-size:clamp(30px,3.8vw,49px);line-height:1.02;letter-spacing:-1.8px}.hero h1 span{color:var(--accent);display:block}.hero p{margin:12px 0 18px;font-size:14px;color:#575c7b}.hero .button{min-height:39px;padding:8px 15px;font-size:13px}.hero-art{position:absolute;inset:0 0 0 45%;background-image:url('assets/winter-art.png');background-size:232.5% 501.4%;background-position:88.4% 10.63%}.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eeeafa 0,transparent 30%)}
.section-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:22px 0 15px}.section-top h1{font-size:clamp(26px,3vw,39px)}.text-link{color:var(--accent);display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:14px;min-height:32px}.text-link:hover{text-decoration:underline}.text-link .icon{width:16px;height:16px}.filters-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:23px}.chip{background:#dcdcf9aa;color:#515581;border:1px solid transparent;padding:7px 16px;border-radius:10px;font-size:13px;min-height:36px;display:inline-flex;align-items:center;gap:6px}.chip:hover{background:#d4cff4}.chip[aria-pressed=true],.chip.active{color:white;background:linear-gradient(145deg,#8b7ced,#5c4cda);box-shadow:0 4px 10px #7568cc22}.chip .icon{width:15px;height:15px}.games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.game-card{position:relative;border:1px solid #ffffffc2;border-radius:16px;background:var(--panel);box-shadow:0 9px 20px #6162a31b;transition:transform .2s,box-shadow .2s;overflow:hidden;min-width:0}.game-card:hover{transform:translateY(-3px);box-shadow:0 16px 28px #6162a32b}.game-cover{display:block;aspect-ratio:430/220;width:100%;position:relative;background-image:url('assets/winter-art.png');background-repeat:no-repeat;background-size:346.05% 480.9%;background-position:8.32% 50.6%;border:0;padding:0}.game-cover.cs2{background-position:50.57% 50.6%}.game-cover.valorant{background-position:91.4% 50.6%}.game-cover.dota,.game-cover.roblox,.game-cover.genshin,.game-cover.minecraft{background-size:459.9% 815.4%;aspect-ratio:323/130;background-position:6.6% 94.3%}.game-cover.roblox{background-position:35.5% 94.3%}.game-cover.genshin{background-position:65.1% 94.3%}.game-cover.minecraft{background-position:94.3% 94.3%}.game-cover:focus-visible{outline-offset:-4px}.favorite{position:absolute;right:12px;top:16px;z-index:2;color:#4c4b7e;background:#f7f7ffed;border:1px solid #fff;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;padding:5px;box-shadow:0 2px 6px #25345d13}.favorite .icon{width:18px;height:18px}.favorite[aria-pressed=true]{background:var(--accent);color:white}.favorite[aria-pressed=true] svg{fill:currentColor}.game-copy{padding:12px 17px 14px;background:linear-gradient(145deg,var(--panel),var(--panel-solid))}.game-copy h2{font-size:24px;letter-spacing:-.8px;margin:0 0 7px;line-height:1.1}.category-link{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);min-height:32px;padding:5px 0;color:#373b69;font-size:13px;width:100%;text-align:left}.category-link:first-of-type{border-top:0}.category-link:hover{color:var(--accent);padding-left:4px}.category-link .icon{height:14px;width:14px}.category-link .soon{font-size:10px;border-radius:6px;padding:1px 6px;background:#e6e2fb;color:#686091;margin-left:auto}.more-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mini-game{overflow:hidden;border:1px solid #fff;border-radius:13px;background:var(--panel);box-shadow:var(--shadow);transition:transform .2s}.mini-game:hover{transform:translateY(-3px)}.mini-game .mini-label{padding:9px 13px;display:flex;justify-content:space-between;align-items:center;font-size:17px;font-weight:700}.mini-game .icon{width:17px;height:17px}.home-bottom{margin-top:26px;display:flex;gap:25px;flex-wrap:wrap;color:var(--sub);font-size:12px}.home-bottom span{display:flex;align-items:center;gap:7px}.home-bottom .icon{width:16px;height:16px}
.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:var(--sub);margin-bottom:16px}.breadcrumbs a:hover{color:var(--accent)}.breadcrumbs .icon{width:12px;height:12px}.category-hero{position:relative;padding:26px 30px;border-radius:17px;background:var(--panel);margin-bottom:20px;overflow:hidden;min-height:130px;box-shadow:var(--shadow)}.category-hero>div:first-child{position:relative;z-index:2;max-width:66%}.category-hero p{color:var(--sub);margin-top:8px;font-size:13px}.category-hero .game-cover{position:absolute;right:0;top:0;height:100%;width:33%;aspect-ratio:auto;opacity:.8;mask-image:linear-gradient(90deg,transparent,#000 45%)}.content-panel{background:var(--panel);border:1px solid #ffffff8c;border-radius:17px;padding:22px 25px;box-shadow:var(--shadow)}.filter-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.field{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--sub);min-width:130px;flex:1}.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),.field select,select.sort{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--panel-solid);padding:9px 11px;min-height:41px;font-size:13px;color:var(--text)}.field.price-field{min-width:85px;max-width:120px}.filter-row>.button{font-size:12px;min-height:41px;align-self:end}.listing-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:15px}.listing-head h2{font-size:23px}.listing-head small{display:block;margin-top:5px}select.sort{width:auto;max-width:190px}.offer-labels,.offer{display:grid;grid-template-columns:minmax(0,1fr) 160px 110px;gap:20px;align-items:center}.offer-labels{font-size:11px;color:var(--sub);padding:8px 0}.offer{padding:18px 0;border-top:1px solid var(--line)}.offer-name{font-weight:650;line-height:1.35;display:block;margin-bottom:5px}.offer-name:hover{color:var(--accent)}.offer-description{font-size:12px;color:var(--sub)}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.tag{font-size:10px;border:1px solid var(--line);border-radius:5px;padding:2px 6px;color:var(--sub)}.seller-inline{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.seller-inline:hover{color:var(--accent)}.seller-icon{background:var(--soft);color:var(--accent);display:grid;place-items:center;height:32px;width:32px;border-radius:10px;flex:none}.seller-inline+small{display:block;font-size:10px;margin-top:4px}.price{text-align:right;font-size:21px;letter-spacing:-.5px;font-weight:750;white-space:nowrap}.price small{display:block;font-weight:400;letter-spacing:0;font-size:10px}.empty{padding:32px 10px;max-width:600px}.empty h2{margin-bottom:12px}.empty p{color:var(--sub);font-size:14px;margin-bottom:20px}.product-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.product-illustration{width:100%;max-height:290px;border-radius:14px;overflow:hidden;margin:12px 0 24px}.product-illustration.game-cover{aspect-ratio:430/220}.product-title{font-size:29px;letter-spacing:-1px;margin:17px 0 13px;line-height:1.2}.product-copy{font-size:14px;color:var(--sub);margin:9px 0}.specs{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin:20px 0 25px}.spec{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.spec small{display:block;margin-bottom:4px}.checkout{align-self:start;position:sticky;top:20px}.checkout .price{text-align:left;font-size:34px;margin-bottom:18px}.checkout .button{width:100%;margin:20px 0 12px}.checkout p{font-size:12px;color:var(--sub)}.note-box{padding:14px 16px;background:var(--soft);border-radius:10px;font-size:12px;color:var(--sub);margin-top:18px}.profile-banner{height:145px;position:relative;border-radius:14px;overflow:hidden;background:linear-gradient(120deg,#dce8fa,#cfc5f3,#e6effa)}.profile-banner:after{content:"WINTER STORE";position:absolute;right:25px;top:30px;transform:rotate(-8deg);font-size:42px;font-weight:850;letter-spacing:-1px;color:#ffffff9c}.profile-identity{position:relative;padding:0 20px 20px;margin-top:-27px}.profile-identity .seller-icon{height:70px;width:70px;font-size:29px;border:5px solid var(--panel);border-radius:18px;margin-bottom:12px}.profile-identity p{margin:10px 0;font-size:14px;color:var(--sub)}.profile-stats{display:flex;gap:25px;flex-wrap:wrap;margin:20px 0;color:var(--sub);font-size:12px}.profile-stats strong{display:block;color:var(--text);font-size:15px}.seller-actions{display:flex;gap:10px;flex-wrap:wrap}.seller-actions .button{font-size:12px}.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.help-grid>div{padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.help-grid h3{margin:10px 0}.help-grid p{color:var(--sub);font-size:13px}.step-number{background:var(--soft);color:var(--accent);border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:700}
footer{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:37px 0 0;padding:22px 0 28px;border-top:1px solid #cbd0e2;color:var(--sub);font-size:12px}.small-brand{font-size:23px;letter-spacing:-1px;color:var(--text)}footer button{color:var(--accent);padding:0;margin-left:auto;font-size:12px}.footer-note{width:100%;font-size:10px;opacity:.8}dialog{width:min(440px,calc(100% - 32px));border:1px solid var(--line);border-radius:19px;padding:31px;color:var(--text);background:var(--panel);box-shadow:0 24px 90px #27254b40}dialog::backdrop{background:#25274765;backdrop-filter:blur(5px)}dialog h2{margin:17px 0 13px;font-size:25px}dialog p{color:var(--sub);font-size:14px;line-height:1.65;margin-bottom:15px}dialog .primary{margin-top:8px}.dialog-close{position:absolute;top:12px;right:12px;padding:5px;color:var(--sub)}.dialog-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:var(--soft);color:var(--accent)}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:12px;background:var(--text);color:var(--panel);z-index:10;box-shadow:var(--shadow);max-width:90vw;font-size:13px}
html[data-theme=dark]{color-scheme:dark;--bg:#171a2a;--panel:#24283d;--panel-solid:#282c44;--text:#f0f1fc;--sub:#b0b8d4;--line:#3e4461;--accent:#aaa0ff;--accent-dark:#7867dd;--soft:#34324e;--shadow:0 12px 32px #080b192d}html[data-theme=dark] .winter-background{background:radial-gradient(ellipse at 25% 10%,#31314d,transparent 70%),linear-gradient(145deg,#171c30,#24233d)}html[data-theme=dark] .ribbon{opacity:.1}html[data-theme=dark] .search{background:#252b41;border-color:#4c5575;box-shadow:none}html[data-theme=dark] .hero{background:#2a2b45;border-color:#646280}html[data-theme=dark] .hero-art{opacity:.5}html[data-theme=dark] .hero-art:after{background:linear-gradient(90deg,#2a2b45,transparent 70%)}html[data-theme=dark] .hero p{color:var(--sub)}html[data-theme=dark] .game-card,html[data-theme=dark] .mini-game{border-color:#555b79}html[data-theme=dark] .category-link{color:#d7dbf2}html[data-theme=dark] .chip{background:#383851;color:#dddafa}html[data-theme=dark] .chip.active{background:#6b5bcb;color:white}html[data-theme=dark] .button.primary{color:white;background:#6957ce}html[data-theme=dark] .content-panel{border-color:var(--line)}html[data-theme=dark] footer{border-color:var(--line)}
html[data-motion=off] .ribbon{animation:none}html[data-motion=off] #snow{display:none}.paused .ribbon{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ribbon{animation:none}.game-card,.mini-game,.button{transition:none}#snow{display:none}}
@media(min-width:1500px){.page{max-width:1420px}.hero{min-height:240px}.hero-copy{padding:32px 38px}.game-cover{aspect-ratio:430/220}}
@media(max-width:1100px){.header{gap:20px}.header-actions{gap:12px}.header-actions .header-link span:last-child{display:none}.brand{font-size:31px}.page{padding:0 25px}.hero-copy{width:65%}.hero h1{font-size:39px}.game-copy h2{font-size:22px}.hero p{font-size:12px}.offer-labels,.offer{grid-template-columns:minmax(0,1fr) 130px 90px;gap:14px}}
@media(max-width:800px){.header{flex-wrap:wrap;padding-top:25px}.search{order:3;flex-basis:100%}.header-actions{margin-left:auto}.header-actions .header-link span:last-child{display:inline}.utility{margin-top:8px;flex-wrap:wrap;gap:8px}.hero{min-height:205px}.hero-copy{padding:25px;width:72%}.hero-art{left:46%;opacity:.6}.hero h1{font-size:35px}.hero p{max-width:290px}.games{gap:13px}.game-copy{padding:12px}.game-copy h2{font-size:20px}.category-link{font-size:12px;min-height:36px}.more-games{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:1fr 235px;gap:16px}.content-panel{padding:20px}.listing-head h2{font-size:20px}.hero h1{letter-spacing:-1px}.help-grid{grid-template-columns:1fr}.footer-note{font-size:11px}}
@media(max-width:620px){.page{padding:0 16px}.header{padding-top:22px;gap:14px}.brand{font-size:30px}.header-actions{gap:12px}.header-actions .header-link span:last-child{display:none}.header-actions .sell{font-size:0;padding:7px;width:36px;min-height:36px}.header-actions .sell svg{width:20px}.avatar-button{height:32px;width:32px}.search{padding:10px 13px}.search input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){font-size:16px}.utility .demo{font-size:10px}.settings{gap:12px}.settings button{font-size:10px}.hero{border-radius:17px;min-height:242px}.hero-copy{padding:23px 21px;width:100%}.hero h1{font-size:34px;max-width:280px}.hero p{font-size:12px;max-width:210px;margin-top:12px}.hero-art{left:42%;opacity:.45}.hero .button{font-size:12px}.section-top{align-items:center;margin-top:24px}.section-top h1{font-size:28px;letter-spacing:-1px;max-width:250px}.section-top .text-link{font-size:12px;white-space:nowrap}.filters-tabs{gap:6px;margin-bottom:17px}.chip{padding:7px 11px;font-size:12px}.games{grid-template-columns:1fr;gap:20px}.game-card{border-radius:16px}.game-copy{padding:15px 18px}.game-copy h2{font-size:27px;margin-bottom:8px}.category-link{font-size:14px;min-height:42px}.game-cover{aspect-ratio:430/220}.more-games{gap:12px}.mini-game .mini-label{font-size:15px;padding:9px 10px}.home-bottom{gap:12px;font-size:11px}.content-panel{padding:18px 16px}.category-hero{padding:24px 20px}.category-hero h1{font-size:29px}.category-hero>div:first-child{max-width:85%}.category-hero .game-cover{width:42%;opacity:.5}.listing-head{align-items:start;gap:10px}.listing-head h2{font-size:20px}select.sort{font-size:11px;max-width:145px}.offer-labels{display:none}.offer{grid-template-columns:minmax(0,1fr) 90px;gap:14px}.offer-main{grid-column:1/-1}.seller-cell{grid-column:1;grid-row:2}.price{grid-column:2;grid-row:2;font-size:20px}.offer-name{font-size:15px}.filter-row{gap:10px}.field{min-width:120px}.field.price-field{max-width:none;min-width:90px}.filter-row>.button{width:100%}.product-grid{grid-template-columns:1fr}.checkout{position:static}.product-title{font-size:27px}.specs{gap:0 10px}.profile-stats{gap:16px}.profile-banner:after{font-size:29px;right:13px;top:45px}.profile-identity{padding:0 5px 15px}.profile-identity h1{font-size:29px}.footer-note{font-size:10px}footer{gap:10px}footer p{width:100%;order:3}footer .small-brand{font-size:24px}footer button{font-size:12px}.ribbon{border-width:18px}.hero-art:after{background:linear-gradient(90deg,#eeeafa,transparent 80%)}.product-illustration.game-cover{max-height:none}}
.favorite{right:7px;top:7px;width:39px;height:39px;background:#f7f7ff;box-shadow:0 2px 6px #25345d13}.favorite .icon{width:20px;height:20px}

.category-hero .game-cover{background-size:346.05% auto;aspect-ratio:430/220;height:auto;min-height:100%;background-position-y:50.6%}
/* Stable controls and softly lit dimensional winter surfaces. */
.utility{min-height:44px}.settings{align-items:center;flex-wrap:wrap;gap:16px}.settings #motion{width:126px;justify-content:center;white-space:nowrap;min-height:35px}.settings #theme{width:115px;justify-content:center;white-space:nowrap}
.currency-switch{display:flex;gap:6px;padding:4px;border-radius:13px;background:var(--soft);box-shadow:inset 0 2px 5px #62638c15}
.settings .currency-switch button{min-width:75px;min-height:34px;padding:5px 12px;border:1px solid #ffffffb8;border-radius:10px;background:linear-gradient(160deg,#ffffff,#e8e8f6);color:#5c587c;font-size:19px;font-weight:750;box-shadow:0 3px 0 #c8c7df,0 5px 8px #58568a14;transform:translateY(-1px);transition:transform .15s,box-shadow .15s}
.currency-switch button span{font-size:10px;letter-spacing:.7px;margin-left:4px}.settings .currency-switch button[aria-pressed=true]{background:linear-gradient(155deg,#9b8bf5,#6957d6);border-color:#ab9bf9;color:white;box-shadow:0 3px 0 #5143a8,0 5px 12px #7568be30}.settings .currency-switch button:active{transform:translateY(2px);box-shadow:0 0 0 transparent}
.winter-background{background:radial-gradient(ellipse at 10% 5%,#fffdfc,transparent 55%),radial-gradient(ellipse at 90% 35%,#e0edf8,transparent 60%),linear-gradient(145deg,#f1f3fa,#e9edf7 55%,#f4eef9)}
.ribbon{border-width:20px;opacity:.32;filter:blur(2px);box-shadow:inset 8px 6px 20px #cadbf560,inset -8px -10px 20px #ffffffd9,0 12px 45px #b8c4e92b;background:linear-gradient(162deg,transparent 42%,#ffffffb0 48%,#d5e8f866 51%,transparent 59%)}
html[data-motion=off] .ribbon{animation:iridescent 22s ease-in-out infinite alternate;animation-play-state:paused}html[data-motion=off] .ribbon-two{animation-delay:-13s}html[data-motion=off] .ribbon-three{animation-delay:-7s}
.button{box-shadow:0 3px 0 #d1cee5,0 5px 12px #77729d14}.button.primary{box-shadow:0 4px 0 #5545b6,0 8px 15px #7464c22b}.button:active{transform:translateY(3px);box-shadow:0 1px 0 #c3bedb}.button.primary:active{box-shadow:0 1px 0 #5545b6}
html[data-theme=dark] .currency-switch button{background:#34394f;color:#d8dcf0;border-color:#525a78;box-shadow:0 3px 0 #171c30}html[data-theme=dark] .currency-switch button[aria-pressed=true]{background:linear-gradient(155deg,#9383e8,#6957d6);color:#fff}
@media(max-width:620px){.utility{align-items:flex-start}.settings{gap:10px;width:100%;justify-content:space-between}.settings #motion{width:108px}.settings #theme{width:95px}.settings .currency-switch button{min-width:54px;padding:4px 7px}.currency-switch button span{font-size:9px;margin-left:2px}}
@media(prefers-reduced-motion:reduce){html[data-motion=off] .ribbon,.ribbon{animation:none!important}}


.category-hero .game-cover{background-size:346.05% auto;aspect-ratio:430/220;height:auto;min-height:100%;background-position-y:50.6%}
dialog:has(.auth-form){padding:34px;width:min(470px,calc(100% - 28px));border-radius:24px;background:linear-gradient(150deg,var(--panel),var(--panel-solid));box-shadow:0 25px 100px #50477a35,inset 0 1px 0 #ffffffaa}
.auth-intro{margin-bottom:20px!important;font-size:14px}.auth-tabs{display:flex;padding:5px;background:var(--soft);border-radius:13px;gap:5px;margin-bottom:23px}.auth-tabs button{flex:1;min-height:40px;border-radius:9px;color:var(--sub);font-weight:600}.auth-tabs button[aria-pressed=true]{background:var(--panel);color:var(--accent);box-shadow:0 3px 9px #655b9520}.auth-form{display:flex;flex-direction:column;gap:17px}.auth-form .field{font-size:13px;font-weight:600;gap:7px}.auth-form .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){min-height:48px;padding:12px 14px;border-radius:11px;background:var(--panel);transition:border-color .15s,box-shadow .15s}.auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #9484f326}.auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):user-invalid{border-color:#bc5268}.auth-form .field small{font-size:11px;font-weight:400}.password-wrap{position:relative;display:block}.password-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){width:100%;padding-right:92px!important}.password-wrap button{position:absolute;right:8px;top:6px;min-height:36px;border-radius:8px;padding:6px 8px;font-size:11px;color:var(--accent);background:var(--soft)}.auth-submit{width:100%;min-height:48px}.auth-error{color:#b93f60!important;font-size:13px!important;margin:0!important}.auth-error:empty{display:none}.auth-footnote{font-size:11px!important;text-align:center;line-height:1.5!important;margin:0!important}.auth-form button:disabled{opacity:.65;cursor:wait}.game-card:focus-within{box-shadow:0 0 0 3px #9484f35c,var(--shadow)}.category-link:hover{background:var(--soft);border-radius:6px}.header-link:hover,.avatar-button:hover{transform:translateY(-1px)}.chat-unread{background:var(--accent);border-radius:20px;color:var(--panel);padding:0 7px;font-size:11px}.chat-messages{max-height:38vh;min-height:160px;overflow:auto;display:flex;flex-direction:column;gap:10px;margin:15px 0;padding:5px}.chat-bubble{background:var(--soft);padding:11px 14px;border-radius:14px 14px 14px 4px;max-width:90%;align-self:flex-start;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.chat-bubble.mine{align-self:flex-end;background:#e1dcfa;border-radius:14px 14px 4px 14px;color:#292448}.chat-bubble small{display:block;font-size:10px;margin-top:5px}.chat-policy{font-size:11px!important;color:var(--sub)}#message-form textarea{font:inherit;padding:12px;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--text);resize:vertical;width:100%}#message-form .button{width:100%;margin-top:10px}dialog:has(#message-form){width:min(560px,calc(100% - 24px))}

.my-profile{display:flex;flex-direction:column;gap:18px}.profile-head{display:flex;align-items:center;gap:17px}.profile-photo{width:76px;height:76px;border-radius:22px;overflow:hidden;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:30px;font-weight:700;flex:none}.profile-photo img{width:100%;height:100%;object-fit:cover}.photo-upload{display:block;color:var(--accent);font-size:12px;margin-top:8px;cursor:pointer}.photo-upload input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){display:block;font-size:11px;max-width:230px;margin-top:5px}.profile-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:16px;background:var(--soft);border-radius:13px}.profile-summary strong,.profile-summary small{display:block}.profile-menu{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-list>div{padding:12px 0;border-bottom:1px solid var(--line)}.profile-list small{display:block}.profile-list p{font-size:13px}.my-profile .text-link{justify-content:flex-start}dialog:has(.my-profile),dialog:has(#listing-form){width:min(620px,calc(100% - 24px));max-height:90vh;overflow:auto}dialog:has(.my-profile)>button[data-close],dialog:has(.auth-form)>button[data-close],dialog:has(#listing-form)>button[data-close]{display:none}#listing-form{display:flex;flex-direction:column;gap:15px}#listing-form textarea{display:block;width:100%;min-height:150px;resize:vertical;font:inherit}#listing-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){min-height:44px}#profile-error:empty{display:none}

/* Close control remains visible in every dialog, including profile/forms. */
dialog>button.dialog-close[data-close]{display:grid;place-items:center;position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--text);z-index:5;padding:8px;min-height:36px}dialog{padding-top:44px}.listing-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}#listing-form .field{font-size:13px;font-weight:600;gap:7px}#listing-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),#listing-form select,#listing-form textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel);color:var(--text);font:inherit}#listing-form textarea{min-height:180px;line-height:1.6}#listing-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,#listing-form select:focus,#listing-form textarea:focus{outline:3px solid #b8a9e444;outline-offset:1px;border-color:var(--accent)}@media(max-width:450px){.listing-fields{grid-template-columns:1fr}}

/* Listing editor and real catalog */
.listing-editor{padding:22px;margin:16px 0 28px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.6),rgba(229,223,251,.22));display:grid;gap:14px}.listing-editor h3{margin:0}.listing-editor .field{margin:0}.editor-hint,.upload-field small,.listing-editor small{font-size:12px;color:var(--muted)}.listing-notice{padding:12px 16px;border-radius:14px;background:rgba(137,115,210,.1)}.listing-preview{display:block;max-width:100%;width:240px;max-height:200px;object-fit:contain;border-radius:14px;margin:12px 0}.listing-preview[hidden]{display:none}.editor-actions{display:flex;gap:10px;flex-wrap:wrap}.own-listing{display:flex;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.own-listing img{width:70px;height:70px;object-fit:cover;border-radius:14px}.own-listing>div{flex:1;min-width:0;overflow-wrap:anywhere}.own-listing p{margin:6px 0;font-size:13px}.listing-status{font-size:12px;color:var(--muted)}.catalog-tools{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}.market-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--panel)}.market-card>img,.photo-placeholder{width:100%;height:190px;object-fit:contain;background:rgba(142,125,193,.08)}.photo-placeholder{display:grid;place-items:center;color:var(--muted)}.market-card>div:not(.photo-placeholder){padding:18px}.market-card h3{overflow-wrap:anywhere;margin:0 0 10px}.listing-description{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font-size:14px}.market-card strong{font-size:20px}.catalog-tools input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),.catalog-tools select{width:100%;padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text)}@media(max-width:600px){.listing-editor{padding:14px}.catalog-tools{grid-template-columns:1fr}.own-listing{flex-wrap:wrap}}.header-unread,.chat-unread{background:#7460b4;color:white;border-radius:20px;padding:3px 7px;font-size:11px}.header-unread[hidden]{display:none}.market-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));align-items:start}.market-card{display:grid;grid-template-columns:100px 1fr;border-radius:18px}.market-card>img,.market-card>.photo-placeholder{width:100px;height:120px;object-fit:cover}.market-card>div:not(.photo-placeholder){padding:14px}.market-card h3{font-size:16px}.market-card strong{font-size:18px}.market-card .listing-description{max-height:55px;font-size:12px}.market-card .button{font-size:12px;padding:9px}.catalog-tools{padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:14px}
.wallet-header{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:11px 15px;color:var(--text);font-weight:600;white-space:nowrap}.wallet-header[hidden]{display:none}.profile-wallet{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;border-radius:18px;background:#eee9fa;margin:18px 0}.profile-wallet strong{font-size:22px;flex:1}.wallet-card{padding:24px;border-radius:22px;background:linear-gradient(135deg,#f2eefc,#e8e4f8);border:1px solid #ded5f0;display:grid;gap:8px;color:#302747}.wallet-card>strong{font-size:36px;letter-spacing:-1px}.wallet-card small,.wallet-muted{font-size:13px;line-height:1.6;color:var(--muted)}.wallet-preference{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:20px 0}.wallet-preference>span{flex:1}.payment-method{display:flex;gap:14px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:18px;margin:16px 0}.payment-method>div{flex:1;display:grid;gap:5px}.payment-method small{color:var(--muted)}.crypto-mark{display:grid;place-items:center;border-radius:14px;background:#7761bb;color:white;font-size:26px;width:48px;height:48px}#topup-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text)}.deposit-row{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:14px 0}.deposit-row>div{flex:1}.deposit-row small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.deposit-status{font-size:13px;color:#735f9c}.deposit-status.paid{color:#247057}.payment-summary{display:grid;gap:0}.payment-summary>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:14px 0}.payment-summary dd{font-weight:600;text-align:right;margin:0;overflow-wrap:anywhere}#wallet-error{color:#a44051;font-size:13px}#wallet-back{display:block;margin-top:16px}@media(max-width:650px){.wallet-header{font-size:11px;padding:8px}.header-actions{gap:6px}.profile-wallet .button{width:100%}.wallet-card>strong{font-size:28px}.payment-summary>div{gap:10px;font-size:13px}}

/* violet.css */
body{background:#edf0f7}.winter-background,#snow,#violet-wallpaper{display:none!important}body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(135deg,#f7f5ff33,#e8f1ff22),url('assets/bg-winter.webp') center/cover no-repeat}#soft-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}.page{position:relative;z-index:2}dialog{z-index:10}html[data-motion=off] #soft-snow{display:none}html[data-theme=dark] body::before{background-image:linear-gradient(145deg,#140c38c9,#121c49a6 50%,#281147cf),url('assets/bg-winter.webp')}.game-copy,.content-panel{background:var(--panel)}@media(prefers-reduced-motion:reduce){#soft-snow{display:none}}
#soft-snow{z-index:1}.page{z-index:2}body::before{background-color:#eef0f3} .winter-background{animation:none}

/* aerogel.css */
:root{--aero-fill:#eaeaef;--aero-hover:#dcdce5;--aero-border:#dcdce5;--aero-text:#45405f;--aero-shadow:0 3px 10px rgba(70,66,98,.08)}
html[data-theme=dark]{--aero-fill:#1b1b22;--aero-hover:#272732;--aero-border:#272732;--aero-text:#f4f1ff;--aero-shadow:0 3px 12px #09071122}
.button,.chip,.auth-tabs button,.settings .currency-switch button,.avatar-button,.favorite,.header-link,button.text-link,.settings>button,.chat-thread{background:var(--aero-fill);color:var(--aero-text);border:1px solid var(--aero-border);border-radius:12px;box-shadow:var(--aero-shadow);text-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transition:background .18s ease,border-color .18s ease,transform .18s ease;filter:none}
.button.primary,.chip[aria-pressed=true],.chip.active,.settings .currency-switch button[aria-pressed=true],.auth-tabs button[aria-pressed=true],.favorite[aria-pressed=true]{background:#eaeaef;color:#4d3e78;border:1px solid #dcdce5;box-shadow:0 3px 12px #69608012;text-shadow:none}
.header-link{padding:8px 10px}.favorite,.avatar-button{border-radius:50%}.settings>button{padding:6px 9px;min-height:34px}.settings .currency-switch{padding:4px;gap:6px;background:#ffffff;box-shadow:none;border:1px solid #dcdce5;border-radius:14px}.settings .currency-switch button{border-radius:10px}.auth-tabs{background:#ffffff;border:1px solid var(--line)}.chat-thread{margin:10px 0}.filters-tabs{gap:9px}.button{min-height:43px}.chip{min-height:36px}
@media(hover:hover){.button:hover,.chip:hover,.auth-tabs button:hover,.settings .currency-switch button:hover,.header-link:hover,.favorite:hover,.avatar-button:hover,.settings>button:hover{background:var(--aero-hover);box-shadow:var(--aero-shadow);transform:translateY(-1px);filter:none}}
.button:active,.chip:active,.auth-tabs button:active,.settings .currency-switch button:active,.header-link:active,.favorite:active,.avatar-button:active,.settings>button:active{transform:translateY(1px);box-shadow:none;filter:none}
html[data-theme=dark] .button.primary,html[data-theme=dark] .chip[aria-pressed=true],html[data-theme=dark] .chip.active,html[data-theme=dark] .settings .currency-switch button[aria-pressed=true],html[data-theme=dark] .auth-tabs button[aria-pressed=true]{background:#1b1b22;color:#f5f1ff;border-color:#272732;box-shadow:var(--aero-shadow);text-shadow:none}
button:focus-visible,a:focus-visible{outline:3px solid #9788c4;outline-offset:3px}button:disabled,.button:disabled{opacity:1;transform:none;box-shadow:none;cursor:not-allowed}.category-link:hover{background:#eaeaef;box-shadow:none}
@media(prefers-reduced-motion:reduce){.button,.chip,.header-link,.favorite,.avatar-button,.settings>button,.auth-tabs button,.settings .currency-switch button{transition:none}}

/* commerce.css */
.account-dropdown{position:relative}.account-hover-menu{display:none;position:absolute;right:0;top:100%;padding:12px;background:var(--surface,#fff);border:1px solid var(--line,#ddd);border-radius:16px;min-width:235px;z-index:40;box-shadow:0 12px 40px #2222}.account-dropdown:hover .account-hover-menu,.account-dropdown:focus-within .account-hover-menu{display:grid;gap:8px}.account-hover-menu button{padding:10px;text-align:left}.market-card>a{display:block;aspect-ratio:16/10;overflow:hidden}.market-card img,.own-listing img,.listing-preview{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.market-card>img{aspect-ratio:16/10;height:auto}.listing-preview{aspect-ratio:16/10;height:auto;max-height:none}.own-listing img{width:100px;height:70px}.dialog-close{position:fixed!important;top:18px!important;right:22px!important;z-index:1001;background:var(--surface,#fff);box-shadow:0 2px 16px #0003}.item-page{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:32px 0}.item-image{width:100%;border:0;padding:0;background:transparent;cursor:zoom-in}.item-image img{width:100%;border-radius:20px}.item-description,.delivery-secret{white-space:pre-wrap;overflow-wrap:anywhere}.profile-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.review-card,.seller-info{padding:22px;border:1px solid var(--line,#ddd);border-radius:18px;margin:16px 0;background:var(--surface,#fff)}.review-card strong{margin-left:16px;color:#b87700}.review-avatar{width:36px;height:36px;object-fit:cover;border-radius:50%;vertical-align:middle;margin-right:8px}.role-admin{color:#ed303f!important}.role-support{color:#008eaa!important}.delivery-bolt{width:22px;height:26px;vertical-align:middle;color:#8355f2;filter:drop-shadow(0 0 5px #9664ff88)}.system-order{padding:18px;border:2px solid #765ce5;background:#765ce515;border-radius:16px;margin:12px 0}.photo-lightbox{max-width:100vw;max-height:100vh;width:100vw;height:100vh;border:0;background:#080b12ed;padding:50px;box-sizing:border-box}.photo-lightbox img{width:100%;height:100%;object-fit:contain}.lightbox-close{position:fixed;right:24px;top:18px;color:white;background:#333;border:0;border-radius:50%;font-size:32px;width:44px;height:44px}.delivery-secret{padding:20px;background:#765ce510;border-radius:12px}.full-profile{padding:24px 0}@media(max-width:700px){.item-page{grid-template-columns:1fr}.photo-lightbox{padding:55px 10px}}
/* Commerce overrides follow violet.css and aerogel.css. */
.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:20px}.market-card{display:flex;flex-direction:column;overflow:hidden;cursor:pointer;border-radius:18px;background:var(--panel-solid);border:1px solid var(--line)}.market-card>img,.market-card>.photo-placeholder{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center;display:block}.market-card>a{width:100%}.market-card>a>img{height:100%;width:100%;object-fit:cover}.market-card>div:not(.photo-placeholder){padding:18px}.market-card>div{min-width:0}.market-card h3 a{color:inherit;text-decoration:none}.market-card .button{margin:5px 4px 5px 0}.listing-preview{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;max-height:none}.listing-preview[hidden]{display:none}.market-card .photo-placeholder{display:grid;place-items:center;background:var(--soft)}
#dialog{padding:0;overflow:visible;max-height:none;background:var(--panel-solid);width:min(680px,calc(100% - 40px))}#dialog .dialog-scroll{overflow:auto;max-height:calc(100dvh - 100px);padding:30px;border-radius:24px}#dialog>button.dialog-close[data-close]{display:grid;place-items:center;position:absolute;top:0;right:-44px;width:36px;height:36px;border-radius:50%;background:var(--panel-solid);z-index:1001;color:var(--text);border:1px solid var(--line)}#dialog .dialog-scroll>button[data-close]{display:none}.dialog-scroll>.dialog-mark{display:none}.dialog-scroll #dialog-title{padding-right:20px}.account-hover-menu{background:var(--panel-solid);box-shadow:var(--shadow)}.account-hover-menu button{background:transparent;color:var(--text);border:0;border-radius:8px}.account-hover-menu button:hover{background:var(--soft)}.role-admin{color:#ed303f!important}.role-support{color:#008eaa!important}.chat-policy:has(.role-admin),.chat-policy:has(.role-support){position:sticky;top:0;padding:14px;border-radius:12px;background:var(--soft);border:1px solid var(--line);z-index:1}.system-order{background:var(--soft);border:2px solid var(--accent);box-shadow:0 4px 20px #765ce520}.review-card,.seller-info{background:var(--panel-solid)}.profile-avatar{width:84px;height:84px;border-radius:24px;object-fit:cover}.item-image img{max-height:70vh;object-fit:contain}.item-description{line-height:1.7}.review-card form{display:grid;gap:12px}.review-card textarea,#withdraw-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),#withdraw-form select{padding:12px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:10px}#withdraw-form{display:grid;gap:14px}.review-card{overflow-wrap:anywhere}.delivery-bolt{color:#a165ff;filter:drop-shadow(0 0 6px #9569ed99)}.full-profile h1{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.full-profile>button,.full-profile>a.button{margin:5px}.profile-tabs .chip[aria-selected=true]{background:var(--accent);color:white}.item-page>div{min-width:0}.photo-lightbox::backdrop{background:#060910ed}.photo-lightbox{background:transparent}.delivery-secret{user-select:all}.header-actions .account-dropdown{flex-shrink:0}@media(max-width:760px){#dialog>button.dialog-close[data-close]{top:-42px;right:0}#dialog .dialog-scroll{padding:22px;max-height:calc(100dvh - 120px)}.header-actions{flex-wrap:wrap}.account-hover-menu{right:0}.market-grid{grid-template-columns:1fr}.item-page{padding-top:20px}}
.inventory-row{display:flex;gap:10px;align-items:center;padding:10px;border-bottom:1px solid var(--line);font-size:12px}.inventory-row input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){min-height:0!important}.full-profile [hidden]{display:none}.review-card strong{color:var(--accent)}

/* catalog-redesign.css */
/* Prodavayka: crystal glass, generous spacing, shared catalogue components. */
.page{width:min(1400px,calc(100% - 64px));max-width:1400px;margin-inline:auto}.pv-icon{display:inline-block;width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.pv-eyebrow{display:block;text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-size:10px;font-weight:750;margin-bottom:12px}.pv-home-intro{position:relative;overflow:hidden;padding:64px 60px;margin:18px 0 30px;border:1px solid var(--line);border-radius:32px;background:linear-gradient(125deg,var(--panel-solid),var(--soft));box-shadow:0 14px 60px #7269a80a}.pv-home-intro h1{font-size:clamp(32px,4.4vw,62px);line-height:1.05;letter-spacing:-.045em;font-weight:750;margin:0 0 20px;position:relative;z-index:1}.pv-home-intro h1 span{color:var(--accent)}.pv-home-intro p{color:var(--sub);font-size:16px;max-width:460px;line-height:1.7;position:relative;z-index:1}.pv-intro-crystal{position:absolute;width:270px;height:270px;right:10%;top:22%;border-radius:50px;transform:rotate(30deg);background:linear-gradient(135deg,#fbfdffb0,#c9b9f955,#b7e9f544);border:1px solid #ffffffa0;box-shadow:inset 18px 18px 45px #ffffff88,inset -20px -20px 45px #9c83dc33,0 40px 90px #917dc722}.pv-intro-crystal:after{content:'';position:absolute;inset:45px;border:1px solid #ffffffaa;border-radius:30px;background:linear-gradient(45deg,#bca9ee18,#fff9)}.macro-tabs{display:flex;gap:8px;padding:7px;border-radius:18px;background:var(--soft);margin:0 0 40px;overflow:auto}.macro-tab{padding:14px 18px;border-radius:12px;white-space:nowrap;color:var(--sub);font-size:13px;font-weight:650;text-decoration:none;flex:1;text-align:center;transition:background .18s,color .18s}.macro-tab:hover{color:var(--accent);background:var(--panel)}.macro-tab.active{background:var(--panel-solid);color:var(--accent);box-shadow:0 4px 14px #6f5ca415}.direction-section{margin:32px 0 56px}.section-top h2{letter-spacing:-.03em;font-size:26px}.games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.game-card{border-radius:22px;overflow:hidden;background:var(--panel-solid);border:1px solid var(--line)}.direction-cover{display:block;height:170px;overflow:hidden}.direction-cover .game-cover,.direction-cover .service-cover{width:100%;height:100%;min-height:0;aspect-ratio:auto}.game-copy{padding:22px}.game-copy h2{font-size:20px;min-height:48px;line-height:1.2}.game-copy .category-link{font-size:12px;line-height:1.5;padding-block:7px}.service-cover{position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;aspect-ratio:16/10;background:radial-gradient(ellipse at 20% 10%,#ffffffd9,transparent 70%),linear-gradient(135deg,#eee9fc,#d4dff8);color:#7662b3}.cover-music{background:radial-gradient(ellipse at 20% 10%,#fff,transparent 70%),linear-gradient(135deg,#efe2f6,#d9d6f8);color:#8b64b2}.cover-software{background:radial-gradient(ellipse at 20% 10%,#fff,transparent 70%),linear-gradient(135deg,#e5eafc,#d2dfee);color:#647caa}.cover-other{background:radial-gradient(ellipse at 20% 10%,#fff,transparent 70%),linear-gradient(135deg,#eee6fc,#e0dced);color:#82709e}.cover-crystal{position:relative;z-index:1;width:82px;height:82px;border:1px solid #ffffffaa;border-radius:25px;display:grid;place-items:center;background:linear-gradient(135deg,#ffffffab,#fff3);box-shadow:inset 0 2px 6px #fff8,0 12px 30px #6c57951a;transform:rotate(-9deg)}.cover-crystal .pv-icon{width:40px;height:40px;transform:rotate(9deg);stroke-width:1.4}.cover-orbit{position:absolute;width:220px;height:220px;border:1px solid #ffffff9a;border-radius:50%;transform:rotate(30deg) scaleY(.55)}.cover-orbit:after{content:'';position:absolute;inset:-30px;border:1px solid #ffffff55;border-radius:50%}.cover-caption{position:absolute;bottom:18px;right:22px;font-size:11px;letter-spacing:.2em;opacity:.6;font-weight:750}.pv-game-cover{min-height:0;width:100%;height:100%;aspect-ratio:16/10}
.market-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:stretch}.market-card.pv-card{display:flex;flex-direction:column;padding:0;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--panel-solid);box-shadow:0 5px 20px #64558508;transition:transform .22s,box-shadow .22s,border-color .22s;cursor:pointer;min-width:0}.pv-card:hover{transform:translateY(-5px);border-color:#b4a2e1;box-shadow:0 18px 40px #75649319}.pv-card:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.pv-card>.pv-card-media{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;padding:0}.pv-card-media>img,.pv-card-media>.service-cover,.pv-card-media>.game-cover{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.pv-card>.pv-card-copy{padding:21px 21px 17px;flex:1}.pv-card-price{display:block;font-size:26px;font-weight:780;letter-spacing:-.045em;color:var(--text);margin-bottom:10px;line-height:1.2}.pv-card h3{font-size:16px;line-height:1.4;font-weight:650;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:normal;overflow-wrap:normal}.pv-card h3 a{color:var(--text);text-decoration:none}.pv-card-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--sub);font-size:12px;line-height:1.65;margin:0;word-break:normal}.pv-card>.pv-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 20px;border-top:1px solid var(--line)}.pv-seller{display:flex;align-items:center;gap:9px;min-width:0;text-decoration:none;color:var(--text)}.pv-seller>span:last-child{min-width:0;line-height:1.3}.pv-nick{font-size:12px;font-weight:650}.pv-seller small{display:block;color:var(--sub);font-size:10px;margin-top:4px}.pv-role{display:inline-block;font-size:8px;font-weight:850;letter-spacing:.04em;border-radius:4px;padding:2px 4px;background:var(--soft);margin-left:4px}.pv-avatar{width:28px;height:28px;border-radius:50%;flex-shrink:0;display:inline-grid;place-items:center;background:linear-gradient(140deg,#ebe3fc,#d1cef4);color:#7960ad;font-size:12px;font-weight:750;overflow:hidden}.pv-avatar img{width:100%;height:100%;object-fit:cover}.pv-quick-chat{width:34px;height:34px;padding:7px;border:1px solid var(--line);border-radius:11px;color:var(--accent);background:var(--soft);flex-shrink:0;display:grid;place-items:center}.pv-quick-chat:hover{background:var(--panel);border-color:var(--accent)}.pv-quick-chat .pv-icon{width:18px;height:18px}.pv-badges{position:absolute;top:12px;left:12px;right:12px;display:flex;gap:6px;align-items:center}.glass-badge{display:inline-flex;align-items:center;gap:4px;padding:6px 9px;font-size:9px;line-height:1.2;font-weight:700;background:#fffdfbe0;color:#5f4f85;border:1px solid #ffffffbb;border-radius:9px;backdrop-filter:blur(12px)}.glass-badge .pv-icon{width:12px;height:12px;fill:#9675dd;stroke:#9675dd;filter:drop-shadow(0 0 4px #c7a5ff)}.badge-top{color:#8053bf;background:#efe4ffed;padding:5px 8px;font-weight:800;font-size:9px;border-radius:8px;margin-left:auto}.pv-stock{position:absolute;bottom:12px;right:12px;font-weight:550}.rating-star,.pv-stars{color:#c89b43}.pv-card>.pv-owner-actions{padding:12px 16px;display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid var(--line)}.pv-owner-actions .chip{font-size:10px;padding:7px}.pv-owner-actions small{width:100%;color:var(--accent)}
.pv-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--sub);margin:22px 0 28px}.pv-breadcrumbs a{color:inherit;text-decoration:none}.pv-breadcrumbs a:hover{color:var(--accent)}.pv-item-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:32px;align-items:start}.pv-item-main,.pv-item-sidebar{min-width:0}.pv-item-sidebar{position:sticky;top:24px;display:grid;gap:22px}.pv-product-media{border-radius:26px;background:var(--panel-solid);border:1px solid var(--line);padding:16px;overflow:hidden}.pv-product-photo{position:relative;display:block;width:100%;padding:0;border:0;background:var(--soft);border-radius:17px;overflow:hidden;cursor:zoom-in}.pv-product-photo>img{display:block;width:100%;height:450px;object-fit:contain}.pv-enlarge{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;border-radius:12px;background:#ffffffdd;color:#706183;font-size:10px;padding:9px 13px;white-space:nowrap;backdrop-filter:blur(10px)}.pv-enlarge .pv-icon{width:14px;height:14px}.pv-product-cover{height:450px;aspect-ratio:auto;border-radius:17px}.pv-product-cover .cover-crystal{width:140px;height:140px;border-radius:40px}.pv-product-cover .cover-crystal .pv-icon{width:70px;height:70px}.pv-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 24px}.pv-spec-grid>div{background:var(--panel-solid);border:1px solid var(--line);border-radius:16px;padding:18px 20px}.pv-spec-grid small{display:block;font-size:10px;color:var(--sub);margin-bottom:8px}.pv-spec-grid strong{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600}.pv-spec-grid .pv-icon{width:16px;height:16px;color:var(--accent)}.pv-description-panel{padding:34px;border:1px solid var(--line);border-radius:24px;background:var(--panel-solid)}.pv-description-panel h2{font-size:25px;letter-spacing:-.03em;margin:0 0 22px}.pv-description-panel .item-description{font-size:14px;line-height:1.9;color:var(--sub);margin:0}.pv-purchase-panel,.pv-seller-panel{border:1px solid var(--line);border-radius:25px;background:var(--panel-solid);padding:30px;box-shadow:0 8px 35px #77639c08}.pv-purchase-label{display:flex;gap:7px;align-items:center;color:var(--accent);font-size:10px;margin-bottom:16px;font-weight:650}.pv-purchase-label .pv-icon{height:16px;width:16px}.pv-purchase-panel h1{font-size:24px;line-height:1.35;letter-spacing:-.035em;margin:0 0 24px;overflow-wrap:anywhere}.pv-item-price{font-size:40px;font-weight:800;letter-spacing:-.055em;color:var(--accent);line-height:1.1}.pv-availability{font-size:11px;margin:13px 0 25px;color:var(--sub)}.pv-availability:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#a6a0ae;margin-right:7px}.pv-availability.available:before{background:#61a693}.pv-buy,.pv-contact{width:100%;justify-content:center;min-height:50px;margin-bottom:10px;border-radius:14px;font-size:13px;gap:8px}.pv-buy:disabled{opacity:.5;cursor:default}.pv-contact .pv-icon{width:17px;height:17px}.pv-guarantees{list-style:none;display:grid;gap:13px;margin:22px 0 0;padding:22px 0 0;border-top:1px solid var(--line)}.pv-guarantees li{display:flex;gap:9px;font-size:10px;color:var(--sub);line-height:1.65}.pv-guarantees .pv-icon{width:15px;height:15px;color:var(--accent);margin-top:1px}.pv-seller-identity{display:flex;align-items:center;gap:14px;color:var(--text);text-decoration:none;margin:16px 0}.pv-avatar.avatar-large{width:54px;height:54px;font-size:22px;border-radius:18px}.pv-seller-identity .pv-nick{font-size:17px}.pv-seller-identity .pv-role{font-size:9px}.pv-seller-rating{display:flex;gap:8px;align-items:center;font-size:11px;margin:18px 0;color:var(--sub)}.pv-seller-rating strong{color:var(--text)}.pv-stars{letter-spacing:2px;font-size:14px}.pv-new-seller{display:inline-flex;padding:8px 11px;border-radius:10px;background:var(--soft);color:var(--sub);font-size:10px;margin:4px 0 17px}.pv-seller-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 20px}.pv-seller-stats>div{padding:15px;background:var(--soft);border-radius:13px}.pv-seller-stats strong{display:block;font-size:15px;font-weight:700;letter-spacing:-.02em}.pv-seller-stats small{display:block;font-size:9px;color:var(--sub);margin-top:6px}.pv-profile-link{display:block;text-align:center;font-size:11px;font-weight:600;color:var(--accent);text-decoration:none;border-top:1px solid var(--line);padding-top:18px}.pv-product-bottom{margin-top:74px}.pv-product-section{margin:0 0 72px}.pv-product-section>.section-top{margin-bottom:26px}.pv-product-section h2{margin:0}.pv-rating-summary{display:flex;gap:16px;align-items:center;padding:22px 26px;border:1px solid var(--line);background:var(--panel-solid);border-radius:18px;margin-bottom:20px;font-size:12px;color:var(--sub)}.pv-rating-summary>strong{font-size:32px;color:var(--text);letter-spacing:-.05em}.pv-reviews-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pv-review{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--panel-solid)}.pv-review-top{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:18px}.pv-review-top a{display:flex;align-items:center;gap:8px;color:var(--text);text-decoration:none}.pv-review-top time{font-size:10px;color:var(--sub)}.pv-review>p{color:var(--sub);line-height:1.8;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 0}.pv-empty-reviews{padding:24px;border-radius:18px;border:1px dashed var(--line);color:var(--sub);font-size:12px;background:var(--panel)}
html[data-theme=dark] .service-cover{background:radial-gradient(ellipse at 10% 10%,#70628355,transparent 75%),linear-gradient(135deg,#343043,#282e40);color:#c3a8f4}html[data-theme=dark] .cover-crystal{background:linear-gradient(135deg,#ffffff15,#ffffff04);border-color:#c7acff44;box-shadow:inset 0 1px 5px #ffffff11,0 12px 30px #0002}html[data-theme=dark] .cover-orbit{border-color:#bba5ef25}html[data-theme=dark] .cover-orbit:after{border-color:#bba5ef12}html[data-theme=dark] .pv-avatar{background:linear-gradient(140deg,#57416f,#403955);color:#dfcbff}html[data-theme=dark] .glass-badge{background:#322c45d9;border-color:#a18bbb44;color:#ded1f9}html[data-theme=dark] .badge-top{background:#5d4084cf;color:#e5d6fc}html[data-theme=dark] .pv-enlarge{background:#282232dd;color:#ddd0ef}html[data-theme=dark] .pv-intro-crystal{opacity:.45}
@media(min-width:1200px){.pv-card .pv-card-price{font-size:27px}}@media(max-width:1150px){.games,.market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pv-item-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}.pv-purchase-panel,.pv-seller-panel{padding:24px}.pv-intro-crystal{right:5%;width:220px;height:220px}.macro-tab{padding:13px 12px;font-size:12px}}@media(max-width:850px){.page{width:calc(100% - 36px)}.games,.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pv-item-layout{grid-template-columns:1fr}.pv-item-sidebar{position:static;grid-template-columns:1fr 1fr;align-items:start}.pv-home-intro{padding:44px 32px}.pv-intro-crystal{right:-90px;opacity:.5}.pv-product-photo>img,.pv-product-cover{height:380px}.pv-product-bottom{margin-top:48px}.pv-product-section{margin-bottom:48px}.macro-tab{flex:none}.pv-card>.pv-card-copy{padding:18px}.pv-card>.pv-card-footer{padding:14px 18px}}@media(max-width:560px){.page{width:calc(100% - 28px)}.games{grid-template-columns:1fr}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pv-item-sidebar,.pv-reviews-grid{grid-template-columns:1fr}.pv-card-price,.pv-card .pv-card-price{font-size:21px}.pv-card h3{font-size:13px}.pv-card-description{font-size:10px}.pv-card>.pv-card-copy{padding:14px 12px}.pv-card>.pv-card-footer{padding:12px 10px;gap:6px}.pv-seller .pv-avatar{width:24px;height:24px;font-size:10px}.pv-seller{gap:6px}.pv-seller .pv-nick{font-size:10px;word-break:break-word}.pv-seller .pv-role{font-size:6px;margin-left:0}.pv-seller small{font-size:9px}.pv-quick-chat{width:28px;height:28px;padding:5px;border-radius:9px}.pv-badges{top:8px;left:8px;right:8px;gap:3px;flex-wrap:wrap}.glass-badge{font-size:7px;padding:4px 6px}.pv-stock{bottom:8px;right:8px}.pv-card .cover-crystal{width:58px;height:58px;border-radius:18px}.pv-card .cover-crystal .pv-icon{width:28px;height:28px}.pv-spec-grid{gap:9px}.pv-spec-grid>div{padding:15px}.pv-spec-grid strong{font-size:11px}.pv-description-panel{padding:24px}.pv-product-photo>img,.pv-product-cover{height:290px}.pv-home-intro{padding:34px 24px;border-radius:24px}.pv-home-intro p{font-size:13px;max-width:260px}.pv-intro-crystal{display:none}.section-top h2{font-size:22px}.pv-product-section .section-top{gap:15px;align-items:start}.pv-product-section .text-link{font-size:10px;white-space:nowrap}.pv-rating-summary{flex-wrap:wrap;padding:18px;gap:10px}.pv-review{padding:20px}.direction-cover{height:180px}.game-copy h2{min-height:0}.direction-section{margin-bottom:36px}}
@media(prefers-reduced-motion:reduce){.pv-card,.macro-tab{transition:none}.pv-card:hover{transform:none}}
/* Override inherited direct-div selectors without !important. */
.market-card.pv-card>.pv-card-media{padding:0}.market-card.pv-card>.pv-card-copy{padding:21px 21px 17px}.market-card.pv-card>.pv-card-footer{padding:14px 20px}.market-card.pv-card>.pv-owner-actions{padding:12px 16px}.pv-card .pv-card-price{font-size:26px}#dialog .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:560px){.market-card.pv-card>.pv-card-copy{padding:14px 12px}.market-card.pv-card>.pv-card-footer{padding:12px 10px}.pv-card .pv-card-price{font-size:21px}}
/* Snow artwork: the original winter-art scenes and full 3D service covers. */
body::before{background-image:linear-gradient(135deg,#f8f6ff33,#e7efff22),url('assets/bg-winter.webp');background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed}html[data-theme=dark] body::before{background-image:linear-gradient(145deg,#140c38c9,#121c49a6 50%,#281147cf),url('assets/bg-winter.webp');background-color:#15102e}.snow-cover{position:relative;display:block;overflow:hidden;aspect-ratio:16/10;width:100%;background:#dedff2}.snow-cover>.snow-cover-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .55s cubic-bezier(.22,.7,.25,1);border-radius:0}.direction-cover .snow-cover{height:100%;aspect-ratio:auto}.direction-cover:hover .snow-cover-image,.pv-card:hover .snow-cover-image{transform:scale(1.045)}.pv-card-media>.snow-cover{height:100%;aspect-ratio:auto}.pv-product-cover.snow-cover{height:auto;aspect-ratio:16/10;border-radius:17px}.pv-product-photo .snow-cover-image{height:100%;object-fit:cover}.category-hero>.snow-cover{max-width:400px;border-radius:20px;flex-shrink:0}.snow-cover-toggle{display:flex;gap:10px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--soft);font-size:12px;line-height:1.5}.snow-cover-toggle input[type=checkbox]{min-height:0!important;width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.listing-preview{background:var(--soft)}html[data-theme=dark] .snow-cover{background:#28213e}@media(max-width:650px){.category-hero>.snow-cover{max-width:100%;width:100%}}@media(prefers-reduced-motion:reduce){.snow-cover>.snow-cover-image{transition:none}.direction-cover:hover .snow-cover-image,.pv-card:hover .snow-cover-image{transform:none}}
/* Scoped form controls and modal containment */
#dialog{overflow-x:hidden!important;overflow-y:auto!important;max-height:calc(100dvh - 32px)!important;width:min(760px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;min-width:0!important}#dialog .dialog-scroll{overflow:visible!important;max-height:none!important;padding:28px!important}#dialog>button.dialog-close[data-close]{position:sticky!important;top:12px!important;right:auto!important;margin:12px 12px -48px auto!important;flex:none;z-index:1010}#dialog-body,#dialog-body form,#dialog-body .field,#dialog-body section,#dialog-body div{min-width:0;max-width:100%;overflow-wrap:anywhere}#dialog-title{padding-right:40px}#dialog-body .field{min-width:0}#dialog-body textarea,#dialog-body select{max-width:100%;width:100%;box-sizing:border-box}#dialog-body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){max-width:100%;min-width:0;box-sizing:border-box}#dialog-body input[type="checkbox"],#dialog-body input[type="radio"]{width:18px;min-width:18px;height:18px;min-height:18px;padding:0;margin:0;flex:0 0 18px;accent-color:var(--accent)}#dialog-body input[type="file"]{display:block;width:100%;min-width:0;max-width:100%;min-height:0;height:auto;padding:10px;border:1px dashed var(--line);border-radius:14px;font-size:12px;background:var(--soft)}input[type="file"]::file-selector-button{border:1px solid var(--line);border-radius:9px;padding:9px 12px;margin-right:10px;background:var(--panel-solid);color:var(--accent);font:inherit;cursor:pointer}#listing-form .listing-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#listing-form .delivery-toggle-card{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--soft)}.delivery-toggle-card>span:first-child{flex:1}.delivery-toggle-card strong,.delivery-toggle-card small{display:block}.delivery-toggle-card small{margin-top:5px;font-weight:400}.toggle-switch{position:relative;display:block;width:44px;height:24px;flex:0 0 44px}#listing-form .toggle-switch input[type="checkbox"]{position:absolute;inset:0;width:44px;height:24px;opacity:0;z-index:2;cursor:pointer;margin:0}.toggle-track{position:absolute;inset:0;border-radius:20px;background:#c9c4d7;transition:background .2s}.toggle-track:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .2s}.toggle-switch input:checked+.toggle-track{background:var(--accent)}.toggle-switch input:checked+.toggle-track:after{transform:translateX(20px)}.toggle-switch input:focus-visible+.toggle-track{outline:3px solid #9484f380;outline-offset:3px}#auto-delivery-fields{display:grid;gap:14px}#auto-delivery-fields[hidden]{display:none!important}.listing-editor input[readonly]{background:var(--soft)!important;color:var(--sub)}#listing-form .editor-actions{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}#listing-form .editor-actions .button{width:100%;min-width:0;white-space:normal}#listing-preview{width:auto;max-width:100%;height:auto;max-height:220px;object-fit:contain;aspect-ratio:auto;border-radius:12px}.header-sell{white-space:nowrap;padding:10px 14px}.admin-header-link[hidden]{display:none}.admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.admin-tabs b{display:inline-grid;place-items:center;min-width:22px;border-radius:20px;background:var(--soft);padding:2px 6px;margin-left:4px}.admin-tabs [aria-pressed=true]{background:var(--soft);border-color:var(--accent)}.admin-task{padding:22px;background:var(--panel-solid);border:1px solid var(--line);border-radius:18px;margin:16px 0;overflow-wrap:anywhere}.admin-decision,.role-form{display:grid;gap:12px;margin-top:15px}.admin-decision textarea,.admin-panel input,.admin-panel select{padding:12px;border-radius:12px;border:1px solid var(--line);background:var(--panel-solid);color:var(--text);min-width:0;width:100%;font:inherit}.admin-search{display:flex;align-items:end;gap:12px}.admin-panel .field{min-width:0}.admin-thumbnail{width:140px;max-height:120px;object-fit:contain;border-radius:12px}.admin-pagination{display:flex;gap:14px;align-items:center;margin:20px 0}.admin-info{padding:14px;border-radius:12px;background:var(--soft);font-size:13px}.admin-panel [role=alert]{color:#b13955}.admin-center{padding:16px 0}@media(max-width:650px){.header{flex-wrap:wrap}.header-actions{width:100%;justify-content:flex-end;gap:10px}.header-sell{margin-right:auto;font-size:13px!important;width:auto!important;min-width:92px}.admin-header-link{font-size:12px}.admin-search{flex-wrap:wrap}#dialog .dialog-scroll{padding:20px!important}#listing-form{padding:14px}#listing-form .listing-fields{grid-template-columns:1fr}.admin-task{padding:16px}}

/* step6.css */
/* Final palette and controls: deliberately loaded after the earlier visual layers. */
:root[data-theme="dark"]{color-scheme:dark;--bg:#0d101d;--surface:#181d33;--card:#181d33;--panel:#13172b;--text:#f3f4ff;--muted:#b8bdd9;--line:rgba(158,148,255,.22);--border:rgba(158,148,255,.22)}
:root[data-theme="dark"] body{background:#0d101d url('/assets/bg-winter.webp') center top/cover fixed;color:#f3f4ff}
:root[data-theme="dark"] body::before{background:linear-gradient(180deg,rgba(13,16,29,.75),rgba(13,16,29,.94))}
:root[data-theme="dark"] :is(.header,.utility,.pv-home-intro,.market-card,.game-card,.review-card,.admin-task,.pv-purchase-panel,.pv-seller-panel,.pv-description-panel,.pv-spec-grid>div,.dialog,.content-panel,.account-hover-menu){background-color:#181d33;border-color:rgba(158,148,255,.22);color:#f3f4ff}
:root[data-theme] :is(.button,.chip){background:#f2f3fc;color:#232544;border:1px solid #c5cae6;opacity:1}
:root[data-theme="dark"] :is(.button,.chip){background:#212742;border:1px solid #3a4269;color:#eef0ff}
:root[data-theme] :is(.button.primary,.chip.active,.chip[aria-pressed="true"],.chip[aria-selected="true"],.macro-tab.active){background:linear-gradient(135deg,#7464ff,#5544d9);border-color:#8b7dff;color:#fff;box-shadow:0 6px 20px #5544d944}
:root[data-theme] :is(.button,.chip):disabled{opacity:.55;cursor:not-allowed}
:root[data-theme] .button:hover:not(:disabled),:root[data-theme] .chip:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}
:root[data-theme="dark"] :is(input,select,textarea){background:#13172b;color:#f3f4ff;border-color:#3a4269}
:root[data-theme="dark"] :is(h1,h2,h3,strong,.pv-card-price,.pv-item-price){color:#f3f4ff}
:root[data-theme="dark"] :is(p,small,time,.pv-eyebrow){color:#b8bdd9}
:root[data-theme="dark"] dialog{background:#181d33;color:#f3f4ff;border:1px solid #3a4269}
:root[data-theme="dark"] .macro-tab{color:#d9ddf5}
:root[data-theme="dark"] .pv-home-intro{background:radial-gradient(ellipse at 80% 20%,#52419b44,transparent 70%),#13172b}
:root[data-theme] .pv-home-intro{min-height:0;padding:32px 36px;display:grid;grid-template-columns:1fr 1fr;gap:0 36px;align-items:center}
.pv-home-intro>.pv-eyebrow,.pv-home-intro>h1,.pv-home-intro>p{grid-column:1;margin:0 0 12px}
:root[data-theme] .pv-home-intro h1{font-size:clamp(28px,3.8vw,50px);line-height:1.12}
.hero-benefits{grid-column:2;grid-row:1/4;position:relative;z-index:1}.hero-perks{display:grid;gap:7px;margin-top:12px}.hero-perks span{font-size:13px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.profile-actions,.profile-tabs,.review-pagination{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.profile-reviews{display:grid;grid-template-columns:210px 1fr;gap:28px;margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}.rating-summary>strong{font-size:48px}.rating-summary{align-self:start;padding:20px;border:1px solid var(--line);border-radius:20px}.review-card time{font-size:13px}.review-card .button{margin:5px 6px 0 0}.sold-cover{width:100%;height:180px;object-fit:cover}.sold-card .pv-card-copy{padding:20px}.sold-card .button{display:block;margin-top:14px}.pv-item-price del{display:block;font-size:18px;color:var(--muted);font-weight:400}.duplicate-alert{border:1px solid #f45a74}
:root[data-theme] .duplicate-trigger{background:#b91c3a;color:#fff;border-color:#f46983;font-size:12px;box-shadow:0 3px 14px #b91c3a33}.duplicate-trigger[hidden]{display:none}
.badge-top[data-boost-until]{padding:6px 10px;font-size:12px;display:inline-block}.admin-tabs{flex-wrap:wrap}.pv-owner-actions{flex-wrap:wrap}
@media(max-width:760px){:root[data-theme] .pv-home-intro{grid-template-columns:1fr;padding:24px;gap:10px}.hero-benefits{grid-column:1;grid-row:auto}.profile-reviews{grid-template-columns:1fr}.rating-summary{padding:16px}.rating-summary>strong{font-size:32px}.header-actions{flex-wrap:wrap;gap:6px}}
:root[data-theme="dark"]{--panel-solid:#181d33;--soft:#212742;--sub:#b8bdd9;--accent:#a99bff;--accent-dark:#8f7dff;--aero-fill:#212742;--aero-hover:#2a3154;--aero-border:#3a4269;--aero-text:#eef0ff}
:root[data-theme="dark"] body::before{background:linear-gradient(180deg,#0d101dc7,#0d101deb),url('/assets/bg-winter.webp') center/cover no-repeat}
:root[data-theme] :is(.auth-tabs button[aria-pressed="true"],.settings .currency-switch button[aria-pressed="true"],.favorite[aria-pressed="true"]){background:linear-gradient(135deg,#7464ff,#5544d9);color:#fff;border-color:#8b7dff;box-shadow:0 6px 20px #5544d944}
@media(max-width:560px){.sold-card{grid-column:1/-1}}

/* monochrome.css */
/* Final monochrome palette. This layer owns surfaces, contrast and brand presentation. */
html:root[data-theme="dark"]{color-scheme:dark;--bg:#09090b;--panel:#111114;--panel-solid:#111114;--surface:#111114;--card:#111114;--soft:#16161a;--text:#fafafa;--sub:#a1a1aa;--muted:#a1a1aa;--line:#27272f;--border:#27272f;--accent:#fafafa;--accent-dark:#d4d4d8;--white:#fafafa;--shadow:0 10px 30px #0002;--control:#1c1c21;--control-hover:#27272f;--control-border:#2e2e38;--control-text:#f4f4f6;--primary:#fff;--primary-hover:#e4e4e7;--primary-text:#09090b;--aero-fill:#1c1c21;--aero-hover:#27272f;--aero-border:#2e2e38;--aero-text:#f4f4f6;--aero-shadow:none}
html:root[data-theme="light"]{color-scheme:light;--bg:#f5f5f7;--panel:#fff;--panel-solid:#fff;--surface:#fff;--card:#fff;--soft:#eaeaef;--text:#111113;--sub:#63636e;--muted:#63636e;--line:#e4e4e9;--border:#e4e4e9;--accent:#141417;--accent-dark:#27272c;--white:#fff;--shadow:0 8px 28px #18181b06;--control:#eaeaef;--control-hover:#dcdce4;--control-border:#d4d4dc;--control-text:#18181b;--primary:#141417;--primary-hover:#27272c;--primary-text:#fff;--aero-fill:#eaeaef;--aero-hover:#dcdce4;--aero-border:#d4d4dc;--aero-text:#18181b;--aero-shadow:none}
html:root[data-theme] body{background:var(--bg);color:var(--text)}html:root[data-theme] body::before,html:root[data-theme] body::after{content:none;background:none}.winter-background,.ribbon,.hat,#violet-wallpaper{display:none}#soft-snow{z-index:1;pointer-events:none}
html:root[data-theme] :is(.header,.utility){background:none;background-image:none;border:0;box-shadow:none;backdrop-filter:none;border-radius:0}html:root[data-theme] .header{padding-inline:0}html:root[data-theme] .utility{padding-inline:0;margin-bottom:16px}
html:root[data-theme] :is(.market-card,.game-card,.review-card,.admin-task,.content-panel,.pv-purchase-panel,.pv-seller-panel,.pv-description-panel,.pv-spec-grid>div,.account-hover-menu,.rating-summary,.pv-review,.pv-empty-reviews,.official-store-head,.own-listing,.delivery-toggle-card,.listing-editor,.chat-bubble,.system-order,.toast,dialog){background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:var(--shadow)}
html:root[data-theme] :is(.market-card,.game-card):hover{border-color:#3f3f4a}
html:root[data-theme] :is(input,textarea,select,.search){background:var(--soft);color:var(--text);border:1px solid var(--line);box-shadow:none}html:root[data-theme] :is(h1,h2,h3,strong,.pv-card-price,.pv-item-price){color:var(--text)}html:root[data-theme] :is(p,small,time,.pv-eyebrow,.category-link,.macro-tab){color:var(--sub)}
html:root[data-theme] :is(.button,.chip,.header-link,.settings>button,.auth-tabs button,.settings .currency-switch button,.avatar-button,.favorite,.pv-quick-chat){background:var(--control);color:var(--control-text);border:1px solid var(--control-border);box-shadow:none;text-shadow:none;backdrop-filter:none;background-image:none;filter:none}
html:root[data-theme] :is(.button,.chip,.header-link,.settings>button,.auth-tabs button,.settings .currency-switch button,.avatar-button,.favorite,.pv-quick-chat):hover:not(:disabled){background:var(--control-hover);color:var(--control-text);filter:none;box-shadow:none}
html:root[data-theme] :is(.button.primary,.chip.active,.chip[aria-pressed="true"],.chip[aria-selected="true"],.macro-tab.active,.auth-tabs button[aria-pressed="true"],.settings .currency-switch button[aria-pressed="true"],.favorite[aria-pressed="true"]){background:var(--primary);color:var(--primary-text);border-color:var(--primary);box-shadow:none;background-image:none}
html:root[data-theme] :is(.button.primary,.chip.active,.chip[aria-pressed="true"],.chip[aria-selected="true"],.macro-tab.active,.auth-tabs button[aria-pressed="true"],.settings .currency-switch button[aria-pressed="true"],.favorite[aria-pressed="true"]):hover:not(:disabled){background:var(--primary-hover);color:var(--primary-text);border-color:var(--primary-hover)}
html:root[data-theme] :is(.button,.chip):disabled{opacity:.5}html:root[data-theme] :is(.macro-tabs,.profile-tabs,.auth-tabs,.settings .currency-switch){background:transparent;box-shadow:none;border-color:var(--line)}html:root[data-theme] .game-copy{background:var(--panel)}
html:root[data-theme] .pv-home-intro{background:none;border:0;box-shadow:none;border-radius:0;padding:30px 0 38px;grid-template-columns:1.08fr .92fr;gap:0 40px;margin:0 0 20px;overflow:visible}html:root[data-theme] .pv-home-intro h1{font-size:clamp(36px,4.5vw,64px);line-height:1.08;letter-spacing:-.045em}html:root[data-theme] .pv-home-intro h1 span{color:var(--text)}html:root[data-theme] .pv-home-intro>p{max-width:450px;line-height:1.7}.hero-brand{grid-column:2;grid-row:1/4;min-width:0}.hero-emblem{background:#09090b;aspect-ratio:1.45;overflow:hidden;border-radius:24px;display:flex;align-items:center;justify-content:center}.hero-emblem img{width:82%;height:100%;object-fit:contain;display:block}.hero-perks{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:14px}html:root[data-theme] .hero-perks span{background:var(--control);border:1px solid var(--control-border);border-radius:30px;color:var(--control-text);padding:7px 11px;font-size:11px}
html:root[data-theme="dark"] .hero-emblem{border-radius:0;box-shadow:none}.brand-mark{display:block;width:32px;height:36px}.brand{display:flex;align-items:center;gap:9px}html:root[data-theme] .brand,html:root[data-theme] .brand>span{color:var(--text)}html:root[data-theme] .brand>span{margin-left:-9px}.official-name{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;color:var(--text)}.official-name .pv-icon{width:16px;height:16px}.official-badge{display:inline-block;font-size:8px;letter-spacing:.12em;font-weight:800;background:var(--primary);color:var(--primary-text);padding:3px 6px;border-radius:4px;vertical-align:middle}.pv-seller .official-name{font-size:12px}.pv-seller>span{min-width:0}.official-avatar{background:#111114}.pv-avatar.official-avatar img{object-fit:contain;padding:5px}.pv-seller-panel .official-name{font-size:16px}.pv-seller-identity small{display:block;margin-top:6px}.official-store-head{display:flex;align-items:center;gap:22px;padding:28px;border-radius:22px;margin:18px 0 32px;flex-wrap:wrap}.official-store-head>p{flex-basis:100%;font-size:14px}.official-store>h2{margin-bottom:22px}
html:root[data-theme] .admin-header-link{display:inline-flex;align-items:center;gap:7px}.admin-queue-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;font-size:10px;font-weight:800;line-height:1;border-radius:20px;background:var(--primary);color:var(--primary-text)}.admin-header-link[hidden]{display:none!important}.official-chat-banner{padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--text);font-size:13px;position:sticky;top:0;z-index:2}
html:root[data-theme] .pv-eyebrow{color:var(--text)}html:root[data-theme] :is(.pv-stars,.rating-star){color:#f0b942}html:root[data-theme=light] :is(.pv-stars,.rating-star){color:#b98118}html:root[data-theme] :is(.glass-badge,.badge-top,.pv-enlarge,.listing-status){background:var(--control);border-color:var(--control-border);color:var(--control-text)}html:root[data-theme] :is(.pv-guarantees,.pv-rating-summary,.pv-spec-grid,.chat-policy){background:transparent;border-color:var(--line)}html:root[data-theme] .chat-bubble.mine{background:var(--soft)}html:root[data-theme] :is(.role-admin,.role-owner,.role-support,.role-moderator){color:var(--text)}
@media(max-width:850px){html:root[data-theme] .pv-home-intro{grid-template-columns:1fr 1fr;gap:24px}.hero-perks{gap:5px}.hero-perks span{font-size:10px}html:root[data-theme] .header-actions{gap:7px}}@media(max-width:650px){html:root[data-theme] .pv-home-intro{grid-template-columns:1fr;padding:20px 0;gap:20px}.hero-brand{grid-column:1;grid-row:auto}.hero-emblem{max-height:290px}.official-store-head{padding:20px;gap:12px}.official-store-head h1{font-size:27px}.hero-perks{justify-content:flex-start}.pv-seller .official-name{font-size:10px}.pv-seller .official-badge{font-size:6px}.official-store .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html:root[data-theme] .hero-emblem img{mix-blend-mode:screen}

/* step8.css */
/* Messenger uses the same monochrome tokens as the marketplace. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.messenger-page footer{display:none}.messenger-shell{height:calc(100dvh - 215px);min-height:560px;max-height:1000px;display:grid;grid-template-columns:350px minmax(0,1fr);border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--panel);margin:12px 0 26px}.messenger-sidebar{min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--panel)}.messenger-sidebar-head{padding:22px 18px 14px;border-bottom:1px solid var(--line)}.messenger-sidebar-head h1{font-size:27px;margin-bottom:16px}.messenger-sidebar-head .field{margin:0 0 12px}.messenger-sidebar-head input{width:100%;padding:11px 12px;border-radius:10px}#messenger-filters{display:flex;flex-wrap:wrap;gap:6px}#messenger-filters .chip{font-size:11px;padding:7px 9px;min-height:30px}#messenger-filters span{margin-left:6px;opacity:.7}#messenger-list{overflow-y:auto;flex:1;min-height:0;overscroll-behavior:contain}.messenger-thread{display:flex;align-items:flex-start;gap:11px;padding:16px 18px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text)}.messenger-thread:hover{background:var(--soft)}.messenger-thread.selected{background:var(--soft);box-shadow:inset 3px 0 var(--text)}.messenger-thread .pv-avatar{width:36px;height:36px;flex:none}.thread-copy{flex:1;min-width:0}.thread-top{display:flex;gap:9px;justify-content:space-between;align-items:baseline}.thread-top strong{font-size:13px;overflow-wrap:anywhere}.thread-top time{font-size:10px;white-space:nowrap;color:var(--sub)}.thread-copy p{font-size:12px;margin:5px 0;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-role{font-size:8px;border:1px solid var(--line);padding:2px 4px;border-radius:4px;letter-spacing:.08em;display:inline-block;color:var(--text)}.thread-preview{display:flex;align-items:center;gap:8px}.thread-preview>span{font-size:12px;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.thread-unread{border-radius:20px;background:var(--primary);color:var(--primary-text)!important;font-size:10px;padding:2px 6px;min-width:20px;text-align:center}.messenger-conversation{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--bg)}.messenger-chat-head{padding:18px 22px 14px;background:var(--panel);border-bottom:1px solid var(--line);flex:none}.chat-peer{display:flex;align-items:center;gap:12px}.chat-peer strong{font-size:16px}.chat-peer small{display:block;font-size:9px;margin-top:3px}.chat-warning{margin-top:12px;font-size:12px;padding:9px 12px;background:var(--soft);border-radius:9px;color:var(--text)}.chat-linked-product{display:flex;gap:10px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.chat-linked-product img{width:44px;height:38px;object-fit:cover;border-radius:7px}.chat-linked-product>div{min-width:0;flex:1}.chat-linked-product strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-linked-product small{display:block;font-size:10px}.chat-linked-product .button{font-size:11px;padding:7px 10px;min-height:32px}#chat-load-earlier{padding:10px;text-align:center;background:var(--panel);border-bottom:1px solid var(--line);color:var(--text);font-size:12px;flex:none}#messenger-log{padding:20px 24px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;scrollbar-gutter:stable}.message-day{text-align:center;font-size:10px;color:var(--sub);margin:15px 0 18px}.messenger-bubble{padding:11px 14px;border:1px solid var(--line);border-radius:16px;max-width:85%;width:fit-content;margin:8px 0;background:var(--panel);color:var(--text);overflow-wrap:anywhere}.messenger-bubble.mine{margin-left:auto;background:var(--soft);border-bottom-right-radius:5px}.messenger-bubble.theirs{border-bottom-left-radius:5px}.messenger-bubble p{white-space:pre-wrap;font-size:13px;line-height:1.6;color:var(--text)!important}.messenger-bubble time{display:block;text-align:right;font-size:9px;margin-top:5px;color:var(--sub)}.message-author{font-size:10px;margin-bottom:4px;color:var(--sub)}.messenger-system{border:1px solid var(--control-border);border-radius:14px;padding:17px;margin:18px auto;background:var(--panel);max-width:95%;font-size:12px;overflow-wrap:anywhere}.messenger-system>.pv-icon{margin-right:5px}.messenger-system p{margin:8px 0;font-size:12px}.messenger-system .button{margin-top:8px;font-size:11px;min-height:32px}#messenger-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px 22px;background:var(--panel);border-top:1px solid var(--line);flex:none}#chat-message{resize:vertical;max-height:150px;min-height:48px;padding:11px 12px;border-radius:12px;font:inherit;font-size:13px;width:100%}#messenger-compose .button{align-self:start;min-height:48px}#chat-error,.compose-hint{grid-column:1/-1;font-size:10px;margin:0;color:var(--sub)}#chat-error{color:#e25565!important}.messenger-welcome{margin:auto;max-width:360px;text-align:center;padding:30px}.messenger-welcome>span{font-size:54px;color:var(--sub)}.messenger-welcome h2{font-size:24px;margin:15px 0}.messenger-welcome p,.messenger-empty{font-size:13px;color:var(--sub);line-height:1.7}.messenger-empty{padding:25px}.chat-mobile-back{display:none}.item-admin-actions,.admin-card-actions,.admin-listing-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.admin-card-actions{padding:0 15px}.admin-card-actions .chip{font-size:10px}.admin-listings-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.admin-listings-filter .field:first-child{flex:1;min-width:220px}.admin-listing-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.admin-listing-summary small{display:block;margin:5px 0}.admin-listing-actions .button{font-size:12px}.admin-task [data-delivery-decision]{display:grid;gap:12px;margin-top:15px}.admin-task [data-inspect-delivery]{margin-top:12px}html:root[data-theme] .danger{border-color:#a53946;color:#e45667}html:root[data-theme="light"] .danger{color:#a61e31}html:root[data-theme] .button.primary.danger{background:#b91c35;color:#fff;border-color:#b91c35}.delivery-secret{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:800px) and (max-width:1050px){.messenger-shell{grid-template-columns:300px minmax(0,1fr)}.messenger-chat-head{padding:14px}.chat-linked-product{flex-wrap:wrap}#messenger-log{padding:16px}#messenger-compose{padding:12px}}
@media(max-width:799px){.messenger-shell{display:block;height:calc(100dvh - 275px);min-height:560px;border-radius:14px}.messenger-sidebar{height:100%;border:0}.messenger-conversation{display:none;height:100%}.messenger-shell.has-active .messenger-sidebar{display:none}.messenger-shell.has-active .messenger-conversation{display:flex;animation:chat-enter .16s ease}.chat-mobile-back{display:block;color:var(--sub);font-size:12px;margin-bottom:12px}.messenger-chat-head{padding:14px}.chat-linked-product{flex-wrap:wrap}.chat-linked-product .button{padding:6px 9px}.chat-peer strong{font-size:14px}#messenger-log{padding:12px}#messenger-compose{padding:12px;gap:8px}.messenger-bubble{max-width:90%}.compose-hint{font-size:9px}.admin-listings-filter{display:grid;grid-template-columns:1fr}.admin-listing-summary{flex-wrap:wrap}}
@keyframes chat-enter{from{opacity:.6;transform:translateX(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.messenger-conversation{animation:none!important}}
.messenger-shell{height:calc(100dvh - var(--messenger-offset,215px) - 18px)}html:root[data-theme] .messenger-shell .pv-avatar{background:var(--soft);color:var(--text);border:1px solid var(--line)}html:root[data-theme] .header-unread{background:var(--primary);color:var(--primary-text);border:1px solid var(--line)}
@media(max-width:799px){.messenger-shell{height:calc(100dvh - var(--messenger-offset,360px) - 12px);min-height:0}.messenger-sidebar-head{padding:15px}.messenger-chat-head{padding:11px}.chat-peer .pv-avatar{width:30px;height:30px}.chat-warning{font-size:10px;padding:7px;margin-top:7px}.chat-linked-product{margin-top:8px;padding-top:8px}.messenger-system{font-size:11px;padding:12px}#chat-message{min-height:44px;max-height:100px}#messenger-compose .button{min-height:44px;font-size:12px;padding:10px}#messenger-compose{padding:10px}.compose-hint{font-size:8px}}

/* step9.css */
/* Transaction controls and staff accents intentionally override the monochrome layer. */
html:root[data-theme="dark"]{--staff-red:#ff3b4e;--staff-fill:rgba(255,59,78,.14);--staff-line:rgba(255,59,78,.45);--staff-glow:0 0 12px #ff3b4e22}
html:root[data-theme="light"]{--staff-red:#dc2626;--staff-fill:rgba(220,38,38,.09);--staff-line:rgba(220,38,38,.45);--staff-glow:none}
html:root[data-theme] :is(.role-admin,.role-owner,.role-support){color:var(--staff-red)!important;text-shadow:var(--staff-glow)}
html:root[data-theme] :is(.role-badge,.pv-role,.thread-role):is(.role-admin,.role-owner,.role-support){display:inline-block;background:var(--staff-fill)!important;color:var(--staff-red)!important;border:1px solid var(--staff-line)!important;padding:3px 6px;border-radius:5px;font-size:9px;font-weight:800;letter-spacing:.06em;line-height:1.25;box-shadow:var(--staff-glow)}
html:root[data-theme] :is(.role-admin-avatar,.role-owner-avatar,.role-support-avatar),html:root[data-theme] :is(.staff-role-admin,.staff-role-owner,.staff-role-support)>.pv-avatar{border:1px solid var(--staff-line)!important;background:var(--staff-fill)!important;box-shadow:var(--staff-glow);color:var(--staff-red)!important}
html:root[data-theme] :is(.messenger-thread.staff-role-admin,.messenger-thread.staff-role-owner,.messenger-thread.staff-role-support){box-shadow:inset 3px 0 var(--staff-red)}
html:root[data-theme] :is(.chat-warning.staff-role-admin,.chat-warning.staff-role-owner,.chat-warning.staff-role-support){background:var(--staff-fill);border:1px solid var(--staff-line);color:var(--staff-red)!important}
.order-inline-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:flex-start;margin:14px 0 10px}.order-inline-actions .button{font-size:12px;min-height:38px;padding:9px 12px}.order-dispute-control{flex:1;min-width:180px}.order-dispute-timer{margin-top:7px;font-size:10px;line-height:1.55;max-width:330px;color:var(--sub)}.order-action-error{flex-basis:100%;font-size:12px;color:var(--staff-red)!important}.order-frozen{font-size:12px;padding:10px;border:1px solid var(--staff-line);border-radius:8px;background:var(--staff-fill)}.order-payment-label{font-size:12px;margin:9px 0}.order-inline-actions [data-order-action="refund"]{border-color:var(--staff-line);color:var(--staff-red)}
html:root[data-theme] .button.dispute-ready{background:linear-gradient(135deg,#ed3b36,#d74a1e);color:#fff;border:1px solid #f15e43;box-shadow:0 3px 12px #e7432722}html:root[data-theme] .button.dispute-ready:hover:not(:disabled){background:linear-gradient(135deg,#fb4b45,#e15b2e);color:#fff;border-color:#fb725a}
html:root[data-theme] .order-status-notice{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:14px 17px;margin:16px auto;font-size:12px;width:fit-content;max-width:95%;overflow-wrap:anywhere}.order-status-notice strong{display:flex;align-items:center;gap:7px;font-size:12px}.order-status-notice p{font-size:12px;margin-top:8px;color:var(--text)}.order-status-notice time{display:block;font-size:10px;margin-top:8px;text-align:right}.order-status-notice.notice-dispute{border-color:var(--staff-line);background:var(--staff-fill)}
html:root[data-theme] #soft-snow{z-index:1;pointer-events:none}.page{position:relative;z-index:2}
@media(max-width:799px){.order-inline-actions{gap:7px}.order-inline-actions .button{font-size:11px;padding:8px 10px}.order-dispute-control{min-width:160px}.order-dispute-timer{font-size:9px}.order-status-notice{padding:11px;max-width:100%}}
html:root[data-theme] .order-status-notice.notice-dispute{border-color:var(--staff-line);background:var(--staff-fill)}

/* step10.css */
/* Payment surfaces and restrained winter accents. */
html:root[data-theme] .wallet-card{background:linear-gradient(145deg,#f9fafb,#eef0f4);border:1px solid #d9dde5;color:#17171c;padding:26px;border-radius:20px;gap:10px}
html:root[data-theme=dark] .wallet-card{background:linear-gradient(145deg,#16161d,#101015);border-color:#2a2a35;color:#fff}
html:root[data-theme] .wallet-card>strong{color:inherit;font-size:36px;line-height:1.2;overflow-wrap:anywhere}
html:root[data-theme] .wallet-card small,html:root[data-theme] .wallet-card>span{color:var(--sub)}
html:root[data-theme=dark] .wallet-card small,html:root[data-theme=dark] .wallet-card>span{color:#9ca3af}
html:root[data-theme] .profile-wallet{background:var(--soft);border:1px solid var(--line)}
#topup-form{display:grid;gap:14px;margin:20px 0 32px}#topup-form p{margin:0}#topup-form .field{min-width:0}#topup-form input{width:100%;margin-top:8px}
html:root[data-theme] #topup-form input:focus-visible{outline:2px solid var(--sub);outline-offset:3px;border-color:var(--sub);box-shadow:none}
html:root[data-theme] .payment-method{background:var(--soft);border:1px solid var(--line);padding:18px;margin:18px 0;border-radius:16px}
html:root[data-theme] .crypto-mark{background:var(--control);color:var(--text);border:1px solid var(--line)}
.payment-method>span:last-child{color:var(--sub);font-size:12px}.deposit-row{padding:18px 0;gap:12px;flex-wrap:wrap}.deposit-row>div{min-width:110px}.deposit-row .deposit-status{color:var(--sub)}html:root[data-theme=dark] .deposit-status.paid{color:#86d7b2}
.payment-summary dt{flex:1;line-height:1.5}.payment-summary dd{max-width:48%;line-height:1.5}.payment-summary dd small{display:block;font-size:12px;font-weight:400;margin-top:4px}.payment-total{font-size:16px}.payment-notice{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.brand>.brand-emblem{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:36px;margin-left:0;isolation:isolate}
.brand-emblem>.brand-mark{display:block;width:32px;height:36px}
.brand .winter-cap{position:absolute;display:block;width:50px;height:42.65px;left:-15px;top:-24px;transform:rotate(-26deg);transform-origin:63% 73%;z-index:1;pointer-events:none;filter:drop-shadow(0 1px 1px #0003);object-fit:contain}
/* Each control keeps its assigned organic silhouette for its entire DOM lifetime. */
html:root[data-theme] [data-snow-cap]:not([data-snow-cap="0"]){position:relative;overflow:visible;isolation:isolate}
html:root[data-theme] [data-snow-cap]::after{content:none;pointer-events:none}
html:root[data-theme] :is([data-snow-cap="1"],[data-snow-cap="2"],[data-snow-cap="3"],[data-snow-cap="4"],[data-snow-cap="5"])::after{content:"";position:absolute;left:var(--snow-left,10px);right:var(--snow-right,auto);top:var(--snow-top,-5px);width:var(--snow-width);max-width:calc(100% - 4px);height:var(--snow-height);background:var(--snow-image) center/100% 100% no-repeat;pointer-events:none;z-index:1;filter:drop-shadow(0 1px 1.1px #24425822)}
html:root[data-theme] [data-snow-cap="1"]{--snow-image:url('/assets/button-snow-1.svg');--snow-width:clamp(24px,34%,38px);--snow-height:11px;--snow-top:-3px;--snow-left:3px}
html:root[data-theme] [data-snow-cap="2"]{--snow-image:url('/assets/button-snow-2.svg');--snow-width:clamp(34px,64%,76px);--snow-height:17px;--snow-top:-5px;--snow-left:2px}
html:root[data-theme] [data-snow-cap="3"]{--snow-image:url('/assets/button-snow-3.svg');--snow-width:clamp(42px,84%,112px);--snow-height:20px;--snow-top:-5px;--snow-left:2px}
html:root[data-theme] [data-snow-cap="4"]{--snow-image:url('/assets/button-snow-4.svg');--snow-width:clamp(32px,60%,66px);--snow-height:19px;--snow-top:-5px;--snow-left:auto;--snow-right:1px}
html:root[data-theme] [data-snow-cap="5"]{--snow-image:url('/assets/button-snow-5.svg');--snow-width:clamp(38px,76%,92px);--snow-height:19px;--snow-top:-5px;--snow-left:2px}
html:root[data-theme] .chip[data-snow-cap]::after{height:calc(var(--snow-height)*.8);top:calc(var(--snow-top)*.8)}
html:root[data-theme=dark] .button.primary[data-snow-cap]::after{filter:drop-shadow(0 .7px .8px #7296ae44) drop-shadow(0 1.5px 1.3px #46627b18)}
html:root[data-theme][data-motion=off] [data-snow-cap]::after{display:none}
html[data-motion=off] #soft-snow,html[data-motion=off] #snow{display:none}
.topup-input-group{min-width:0}.topup-field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.topup-field-heading label{font-size:13px;font-weight:600;line-height:1.5}
html:root[data-theme] .topup-swap{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--text);font-size:12px;font-weight:600;white-space:nowrap}
html:root[data-theme] .topup-swap:hover{background:var(--control-hover);border-color:var(--sub)}.topup-swap:focus-visible{outline:2px solid var(--sub);outline-offset:3px}
#topup-form #topup-amount{margin-top:0}#topup-form #topup-equivalent{margin-top:10px;min-height:21px}#topup-form #topup-limits{margin-top:5px}
@media(max-width:650px){html:root[data-theme] .wallet-card>strong{font-size:29px}.payment-summary>div{gap:12px;font-size:13px}.brand .winter-cap{width:48px;height:40.94px;left:-14px;top:-23px}}

@media(max-width:420px){.topup-field-heading{gap:8px}.topup-field-heading label{font-size:12px}html:root[data-theme] .topup-swap{padding:6px 8px;font-size:11px}}

/* One small winter character beside the marketplace's safety line. */
.demo .winter-snowman{display:block;flex:none;width:42px;height:58px;object-fit:contain;margin:-11px 5px -9px 0;pointer-events:none;filter:drop-shadow(0 2px 1px #0002)}
@media(max-width:650px){.demo .winter-snowman{width:34px;height:48px;margin:-8px 2px -7px 0}}

/* home-upgrade.css */
/* Wide, compact catalogue and transparent fees. Loaded after existing themes. */
html:root[data-theme] .page{max-width:1560px;width:100%;padding-inline:clamp(16px,3vw,40px);margin-inline:auto}
html:root[data-theme] .utility{position:relative;gap:18px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:22px}
html:root[data-theme] .utility::after{content:"";position:absolute;left:0;right:0;bottom:0;width:auto;height:1px;background:var(--line);pointer-events:none}
html:root[data-theme] .utility>.why-button{margin-right:auto;min-height:36px;padding:7px 13px;font-size:12px}
html:root[data-theme] .fee-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:7px;background:var(--text);color:var(--bg);font-size:12px;font-weight:800;line-height:1.3}
html:root[data-theme] .pv-home-intro{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:24px;padding:32px 38px;margin:0 0 18px;border:1px solid #25252e;border-radius:24px;background:#111115;overflow:hidden;box-shadow:0 18px 65px #00000014}
html:root[data-theme=light] .pv-home-intro{background:#fff;border-color:#dddde5;box-shadow:0 12px 42px #1c17300a}
.hero-copy{min-width:0}.hero-copy .pv-eyebrow{display:block;margin-bottom:12px}.hero-copy h1{margin:0 0 16px}.hero-copy>p{max-width:490px;color:var(--muted);line-height:1.65;margin:0 0 22px}
html:root[data-theme] .hero-brand{grid-column:auto;grid-row:auto;min-width:0;position:relative}
html:root[data-theme] .hero-emblem{background:radial-gradient(ellipse,#c4c4df17,transparent 69%);aspect-ratio:1.25;max-height:330px;overflow:visible}
.hero-emblem img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 30px #b2b6ce20)}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px}.hero-actions .button{font-size:12px;min-height:42px;padding:10px 14px}.hero-popular{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:22px;font-size:11px;line-height:1.7}.hero-popular>span{color:var(--muted)}.hero-popular a{text-decoration:none;color:var(--text);border-bottom:1px solid var(--line)}.hero-popular a:hover{border-color:var(--text)}
.home-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:30px}.home-benefits article{display:flex;flex-direction:column;gap:7px;padding:18px 20px;background:var(--panel);border:1px solid var(--line);border-radius:16px}.benefit-number{font-size:29px;font-weight:800;letter-spacing:-.04em}.home-benefits strong{font-size:13px}.home-benefits small{font-size:11px;color:var(--muted)}
#home-market{margin-bottom:32px}#home-market .section-top{margin:0 0 18px;gap:16px;flex-wrap:wrap}#home-market h2{margin:5px 0 0;font-size:25px;letter-spacing:-.025em;max-width:none}.home-market-filters{display:flex;flex-wrap:wrap;gap:8px}.home-market-empty{grid-column:1/-1;padding:24px;border:1px dashed var(--line);border-radius:16px;color:var(--muted)}
html:root[data-theme] .macro-tabs{display:flex;gap:7px;padding:9px;border:1px solid var(--line);border-radius:16px;background:var(--panel);margin-bottom:18px;overflow:auto}
html:root[data-theme] .macro-tab{flex:1;text-align:center;white-space:nowrap;border:1px solid var(--line);background:var(--control);border-radius:10px;padding:12px 14px;font-size:13px}
html:root[data-theme] .macro-tab.active,html:root[data-theme] [data-home-filter][aria-pressed=true]{background:var(--text);color:var(--bg);border-color:var(--text)}
html:root[data-theme] [data-snow-cap]::after{top:-5px;pointer-events:none}
.fee-breakdown{padding:14px 16px;border:1px solid var(--line);border-radius:12px;margin:14px 0;font-size:13px;line-height:1.8;background:var(--panel)}.fee-breakdown p{display:flex;justify-content:space-between;gap:16px;margin:3px 0;flex-wrap:wrap}
html:root[data-theme] dialog.why-window{width:min(850px,calc(100vw - 32px));max-width:850px;padding:30px;max-height:90vh;overflow:auto;border-radius:24px}.why-window h2{font-size:27px;letter-spacing:-.03em;margin-right:22px}.why-window h3{font-size:18px}.why-lead{padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.why-percent{font-size:48px;font-weight:800;letter-spacing:-.05em;margin-top:10px}.why-percent span{font-size:20px;font-weight:500;letter-spacing:0}.why-lead h3{margin:8px 0}.why-lead p,.why-window small,.why-guarantees p{color:var(--muted);line-height:1.6}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0 12px;font-size:12px}.comparison strong{float:right}.comparison-track{height:10px;background:var(--line);border-radius:8px;overflow:hidden;margin-top:10px}.comparison-track>span{display:block;height:100%;border-radius:8px}.commission-ours{width:20%;background:#55be97}.commission-other{width:100%;background:#8b8b99}.seller-calculator{padding:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.seller-calculator h3,.seller-calculator>small{grid-column:1/-1;margin:0}.seller-calculator .field{margin:0;min-width:0}.seller-calculator>div{align-self:center}.seller-calculator strong{font-size:19px}.seller-calculator p{font-size:12px;color:var(--muted)}.why-tariffs,.why-guarantees{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 24px}.why-tariffs article,.why-guarantees article{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.why-tariffs article{display:flex;gap:16px;align-items:center}.why-tariffs b{font-size:29px;min-width:62px}.why-tariffs span{font-size:13px}.why-tariffs small{display:block;font-size:11px;margin-top:4px}.why-guarantees strong{font-size:14px}.why-guarantees p{font-size:12px;margin:8px 0 0}
@media(min-width:1440px){html:root[data-theme] .games,html:root[data-theme] .market-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}}
@media(max-width:1000px){html:root[data-theme] .pv-home-intro{padding:28px;grid-template-columns:1.4fr 1fr;gap:16px}.home-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-actions .button{font-size:11px}.utility .demo{font-size:11px}}
@media(max-width:650px){html:root[data-theme] .pv-home-intro{grid-template-columns:1fr;padding:24px 20px;gap:0}.hero-copy{position:relative;z-index:1}.hero-brand{display:none}.hero-copy h1{font-size:37px}.hero-actions .button{flex:1}.hero-actions .button:last-child{flex-basis:100%}.hero-popular{font-size:10px;gap:7px 10px}.home-benefits{gap:8px;margin-bottom:24px}.home-benefits article{padding:14px 12px}.home-benefits strong{font-size:12px}.home-benefits small{font-size:10px}.benefit-number{font-size:25px}html:root[data-theme] .macro-tab{flex:none}.home-market-filters .chip{font-size:10px;padding:8px}.why-tariffs,.why-guarantees,.seller-calculator,.comparison{grid-template-columns:1fr}.why-percent{font-size:38px}html:root[data-theme] dialog.why-window{padding:20px}.why-window h2{font-size:22px}.why-lead{padding:16px}.utility>.why-button{order:2}.utility>.settings{order:3}.fee-breakdown{font-size:12px}}

/* solid-surfaces.css */
/* Final surface layer: opaque UI, independent of legacy glass styles. */
html:root[data-theme=dark]{--bg:#09090b;--panel:#121216;--panel-solid:#121216;--surface:#121216;--card:#121216;--soft:#16161c;--modal:#141419;--line:#272732;--border:#272732;--control:#1b1b22;--control-hover:#272732;--control-border:#272732;--aero-fill:#1b1b22;--aero-hover:#272732;--aero-border:#272732;--staff-fill:#29171c;--staff-line:#813342}
html:root[data-theme=light]{--bg:#f4f4f7;--panel:#ffffff;--panel-solid:#ffffff;--surface:#ffffff;--card:#ffffff;--soft:#eaeaef;--modal:#ffffff;--line:#dcdce5;--border:#dcdce5;--control:#eaeaef;--control-hover:#dcdce5;--control-border:#dcdce5;--aero-fill:#eaeaef;--aero-hover:#dcdce5;--aero-border:#dcdce5;--staff-fill:#fbe9ec;--staff-line:#d98693}
html:root[data-theme] body{background:var(--bg);isolation:isolate}
html:root[data-theme] *,html:root[data-theme] *::before,html:root[data-theme] *::after{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* The canvas has its own background layer. All page content paints above it. */
html:root[data-theme] #soft-snow{position:fixed;inset:0;z-index:0;pointer-events:none}
html:root[data-theme] .page{position:relative;z-index:1}
html:root[data-theme] :is(.header,.utility){position:relative;z-index:20;background:var(--bg);background-image:none;opacity:1}
html:root[data-theme] .header{z-index:30}
html:root[data-theme] :is(article,.content-panel,.market-card,.game-card,.review-card,.admin-task,.admin-panel,.pv-purchase-panel,.pv-seller-panel,.pv-description-panel,.pv-spec-grid,.pv-spec-grid>div,.rating-summary,.pv-rating-summary,.pv-review,.pv-empty-reviews,.official-store-head,.own-listing,.delivery-toggle-card,.listing-editor,.chat-thread,.chat-bubble,.system-order,.messenger-shell,.messenger-sidebar,.messenger-thread,.messenger-chat-head,.messenger-system,.messenger-bubble,.wallet-card,.seller-info,.profile-banner,.profile-summary,.profile-wallet,.sold-card,.payment-method,.payment-notice,.order-status-notice,.listing-notice,.note-box,.chat-policy,.pv-guarantees,.fee-breakdown,.toast,.why-lead,.seller-calculator,.home-market-empty){background:var(--panel);background-image:none;border-color:var(--line);opacity:1}
html:root[data-theme] :is(.messenger-conversation,.messenger-bubble.mine,.chat-bubble.mine,.delivery-secret,.official-chat-banner,.chat-warning){background:var(--soft);background-image:none;border-color:var(--line);opacity:1}
html:root[data-theme] :is(.macro-tabs,.profile-tabs,.auth-tabs,.admin-tabs,.filters-tabs,.settings .currency-switch){background:var(--panel);border-color:var(--line);opacity:1}
html:root[data-theme] :is(button,.button,.chip,.header-link,.avatar-button,.favorite,.pv-quick-chat,.macro-tab,.glass-badge,.badge-top,.pv-enlarge,.listing-status,.role-badge,.fee-badge){background:var(--control);background-image:none;color:var(--control-text);border-color:var(--line);opacity:1}
html:root[data-theme] :is(button,.button,.chip,.header-link,.avatar-button,.favorite,.pv-quick-chat,.macro-tab):hover:not(:disabled){background:var(--control-hover);background-image:none;color:var(--control-text)}
html:root[data-theme] :is(.button.primary,.chip.active,.chip[aria-pressed=true],.chip[aria-selected=true],.macro-tab.active,.auth-tabs button[aria-pressed=true],.settings .currency-switch button[aria-pressed=true],.favorite[aria-pressed=true],[data-home-filter][aria-pressed=true]){background:var(--primary);color:var(--primary-text);border-color:var(--primary)}
html:root[data-theme] :is(.button.primary,.chip.active,.chip[aria-pressed=true],.macro-tab.active):hover:not(:disabled){background:var(--primary-hover);color:var(--primary-text);border-color:var(--primary-hover)}
html:root[data-theme] :is(button,.button,.chip):disabled{opacity:1!important;color:var(--sub);cursor:not-allowed}
html:root[data-theme] .button.dispute-ready{background:#d7442d;color:#ffffff;border-color:#e65c43}
html:root[data-theme] .button.primary.danger{background:#b91c35;color:#ffffff;border-color:#b91c35}
html:root[data-theme] :is(input,textarea,select,.search){background:var(--soft);background-image:none;border-color:var(--line);opacity:1}
/* Match dialog IDs too: older styles use #dialog rather than the element name. */
html:root[data-theme] :is(dialog,#dialog,.photo-lightbox,.account-hover-menu,.profile-menu){background:var(--modal);background-image:none;border-color:var(--line);opacity:1}
html:root[data-theme] .account-hover-menu{z-index:100;isolation:isolate}
html:root[data-theme] :is(dialog,#dialog)::backdrop{background:#09090bd9;backdrop-filter:none}
html:root[data-theme] .pv-home-intro{background:#111115;border-color:var(--line)}
html:root[data-theme=light] .pv-home-intro{background:#ffffff}
/* The real alpha cutout floats over one circular glow, never a black rectangle. */
html:root[data-theme] :is(.hero-brand,.hero-emblem,.hero-emblem img){background:none;border:0;box-shadow:none;border-radius:0;mix-blend-mode:normal;filter:none;opacity:1}
html:root[data-theme] .hero-emblem{position:relative;isolation:isolate;overflow:visible}
html:root[data-theme] .hero-emblem::before{content:"";position:absolute;width:85%;aspect-ratio:1;max-height:100%;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#d4d8e326 0%,#b6bfd30d 42%,#b6bfd300 72%);pointer-events:none;z-index:-1}
html:root[data-theme] .hero-emblem img{position:relative;z-index:0}
html:root[data-theme] .button.primary[data-snow-cap]::after{content:none;display:none}

/* hero-scene.css */
/* A precise orbit scene behind the alpha-cutout shield. No luminous backdrop. */
html:root[data-theme] .hero-brand{
 --hero-grid:#1d1d26;
 --hero-orbit:#262632;
 --hero-orbit-dash:#323242;
 --hero-marker:#6a6a7b;
 isolation:isolate;
}
html:root[data-theme=light] .hero-brand{
 --hero-grid:#e4e4eb;
 --hero-orbit:#d8d8e3;
 --hero-orbit-dash:#c7c7d5;
 --hero-marker:#8a8a9c;
}
html:root[data-theme] .hero-brand::before{
 content:"";
 position:absolute;
 inset:-8% -4%;
 z-index:-2;
 pointer-events:none;
 background-image:linear-gradient(var(--hero-grid) 1px,transparent 1px),linear-gradient(90deg,var(--hero-grid) 1px,transparent 1px);
 background-size:22px 22px;
 background-position:center;
 mask-image:radial-gradient(ellipse at center,#000 15%,#0000 72%);
 -webkit-mask-image:radial-gradient(ellipse at center,#000 15%,#0000 72%);
}
html:root[data-theme] .hero-brand::after,
html:root[data-theme] .hero-emblem::before,
html:root[data-theme] .hero-emblem::after{
 content:"";
 position:absolute;
 left:50%;
 top:50%;
 aspect-ratio:1;
 height:auto;
 max-height:none;
 border-radius:50%;
 pointer-events:none;
 box-shadow:none;
 filter:none;
 transform:translate(-50%,-50%);
}
html:root[data-theme] .hero-brand::after{
 width:min(88%,340px);
 border:1px solid var(--hero-orbit);
 z-index:-1;
 background:none;
}
/* This replaces the old white radial halo entirely. */
html:root[data-theme] .hero-emblem::before{
 width:min(76%,290px);
 border:1px dashed var(--hero-orbit-dash);
 z-index:-1;
 background:linear-gradient(var(--hero-marker),var(--hero-marker)) 50% 0/5px 5px no-repeat,linear-gradient(var(--hero-marker),var(--hero-marker)) 100% 50%/4px 4px no-repeat;
 animation:hero-orbit-turn 65s linear infinite;
}
html:root[data-theme] .hero-emblem::after{
 width:min(65%,246px);
 border:1px solid var(--hero-orbit);
 z-index:-1;
 background:linear-gradient(var(--hero-marker),var(--hero-marker)) 14% 14%/10px 1px no-repeat,linear-gradient(var(--hero-marker),var(--hero-marker)) 14% 14%/1px 10px no-repeat,linear-gradient(var(--hero-marker),var(--hero-marker)) 86% 86%/10px 1px no-repeat,linear-gradient(var(--hero-marker),var(--hero-marker)) 86% 86%/1px 10px no-repeat;
}
html:root[data-theme] .hero-emblem,
html:root[data-theme] .hero-emblem img{
 background:none;
 border:0;
 box-shadow:none;
 mix-blend-mode:normal;
}
html:root[data-theme] .hero-emblem img{
 filter:drop-shadow(0 16px 12px #00000085) drop-shadow(0 3px 2px #00000080);
 animation:hero-shield-float 6.5s ease-in-out infinite;
 will-change:transform;
}
html:root[data-theme=light] .hero-emblem img{
 filter:drop-shadow(0 14px 11px #11111938) drop-shadow(0 3px 2px #11111930);
}
@keyframes hero-orbit-turn{
 to{transform:translate(-50%,-50%) rotate(360deg)}
}
@keyframes hero-shield-float{
 0%,100%{transform:translateY(3px)}
 50%{transform:translateY(-7px)}
}
@media(prefers-reduced-motion:reduce){
 html:root[data-theme] .hero-emblem::before,
 html:root[data-theme] .hero-emblem img{animation:none;will-change:auto}
}

/* order-status.css */
/* Status accents are confined to order cards and protected chat order events. */
html:root[data-theme] .order-card{--order-accent:#71717f;--order-label:var(--text);border-left:3px solid var(--order-accent);position:relative}
html:root[data-theme] .order-state-completed{--order-accent:#10b981;--order-label:#34d399}
html:root[data-theme] .order-state-disputed{--order-accent:#ff5722;--order-label:#ff7849}
html:root[data-theme] .order-state-refunded{--order-accent:#ef4444;--order-label:#f87171}
html:root[data-theme] .order-state-held{--order-accent:#f59e0b;--order-label:#fbbf24}
html:root[data-theme=light] .order-state-completed{--order-label:#059669}
html:root[data-theme=light] .order-state-disputed{--order-label:#ea580c}
html:root[data-theme=light] .order-state-refunded{--order-label:#dc2626}
html:root[data-theme=light] .order-state-held{--order-label:#a16207}
.order-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;min-width:0}
.order-card-head>div:first-child{min-width:0}.order-card-head h3{font-size:18px;line-height:1.4;overflow-wrap:anywhere}
html:root[data-theme] .order-card .order-meta{font-size:11px;color:var(--sub);margin:5px 0 0;overflow-wrap:anywhere;letter-spacing:.01em}
html:root[data-theme] .order-status-badge{display:inline-flex;align-items:center;gap:7px;flex:none;padding:7px 11px;border:1px solid var(--order-accent);border-radius:999px;background:var(--soft);color:var(--order-label);font-size:12px;font-weight:700;line-height:1.35;white-space:nowrap}
html:root[data-theme] .order-status-badge.status-completed{background:rgba(16,185,129,.14);border-color:#10b981;color:#34d399}
html:root[data-theme] .order-status-badge.status-disputed{background:rgba(249,115,22,.16);border-color:#ff5722;color:#ff7849}
html:root[data-theme] .order-status-badge.status-refunded{background:rgba(239,68,68,.15);border-color:#ef4444;color:#f87171}
html:root[data-theme] .order-status-badge.status-held{background:rgba(245,158,11,.14);border-color:#f59e0b;color:#fbbf24}
html:root[data-theme=light] .order-status-badge.status-completed{color:#059669}
html:root[data-theme=light] .order-status-badge.status-disputed{color:#ea580c}
html:root[data-theme=light] .order-status-badge.status-refunded{color:#dc2626}
html:root[data-theme=light] .order-status-badge.status-held{color:#a16207}
.order-status-icon{font-size:14px;line-height:1}.order-status-dot{width:5px;height:5px;border-radius:50%;background:currentColor;animation:order-dispute-pulse 2s ease-in-out infinite}
html:root[data-theme] .order-payment-label{font-size:13px;font-weight:650;line-height:1.6;margin:12px 0;color:var(--order-label)}
html:root[data-theme] .order-payment-label.status-completed{color:#34d399}
html:root[data-theme] .order-payment-label.status-disputed{color:#ff7849}
html:root[data-theme] .order-payment-label.status-refunded{color:#f87171}
html:root[data-theme] .order-payment-label.status-held{color:#fbbf24}
html:root[data-theme=light] .order-payment-label.status-completed{color:#059669}
html:root[data-theme=light] .order-payment-label.status-disputed{color:#ea580c}
html:root[data-theme=light] .order-payment-label.status-refunded{color:#dc2626}
html:root[data-theme=light] .order-payment-label.status-held{color:#a16207}
html:root[data-theme] .order-card .fee-breakdown{padding:14px 16px;background:var(--soft);border:1px solid var(--line);margin:16px 0}
html:root[data-theme] .order-card .fee-breakdown p{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:nowrap;gap:16px;margin:0;padding:5px 0;font-size:12px;color:var(--sub)}
html:root[data-theme] .order-card .fee-breakdown p>span{min-width:0;overflow-wrap:anywhere}
html:root[data-theme] .order-card .fee-breakdown p>strong{display:block;flex-shrink:0;margin:0;color:var(--text);text-align:right;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
html:root[data-theme] .order-card .fee-breakdown .order-net-row{border-top:1px solid var(--line);margin-top:6px;padding-top:10px}
html:root[data-theme] .order-card .fee-breakdown .order-net-row>strong{color:var(--order-label)}
html:root[data-theme] .order-detail{padding:16px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-right:1px solid var(--line);border-radius:14px}
html:root[data-theme] .messenger-system.order-card .order-card-head>strong{color:var(--text);font-size:12px;line-height:1.7}
.messenger-system.order-card .order-card-head{align-items:center}.order-status-notice.order-card .order-card-head{justify-content:flex-end;margin-bottom:8px}
html:root[data-theme] #dialog :focus-visible,html:root[data-theme] dialog :focus-visible{outline:2px solid #3f3f4a;outline-offset:3px;box-shadow:none}
html:root[data-theme] #dialog .dialog-close:focus{outline:2px solid #3f3f4a;outline-offset:3px}
html:root[data-theme] #dialog .dialog-close:focus:not(:focus-visible){outline:none}
@keyframes order-dispute-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.7);opacity:.45}}
@media(prefers-reduced-motion:reduce){.order-status-dot{animation:none}}
@media(max-width:600px){.order-card-head{gap:9px;flex-wrap:wrap}.order-card-head>div:first-child{flex:1;min-width:140px}.order-card-head h3{font-size:16px}html:root[data-theme] .order-status-badge{font-size:11px;padding:6px 9px}html:root[data-theme] .order-card .fee-breakdown{padding:11px 12px}html:root[data-theme] .order-card .fee-breakdown p{gap:10px;font-size:11px}html:root[data-theme] .order-card .fee-breakdown p>strong{font-size:13px}.messenger-system.order-card .order-card-head>strong{flex:1;min-width:130px}}

/* review-editor.css */
/* Focus stays visible, without the legacy violet ring in dialogs. */
html:root[data-theme] :is(dialog,#dialog) :focus-visible{outline:2px solid #3f3f4a;outline-offset:4px}
html:root[data-theme] :is(dialog,#dialog) .dialog-close:focus{outline:2px solid #3f3f4a;outline-offset:4px}
html:root[data-theme] #dialog.review-window{width:min(700px,calc(100vw - 40px));max-width:700px}
html:root[data-theme] #dialog.review-window #dialog-title{font-size:27px;letter-spacing:-.035em;margin-bottom:22px}
#dialog.review-window .dialog-mark,#dialog.review-window>button.button[data-close],#dialog.review-window .dialog-scroll>button.button[data-close]{display:none}
#dialog .review-editor{display:grid;gap:0;min-width:0;outline:none}
#dialog .review-product{display:flex;align-items:center;gap:12px;padding:15px 17px;border:1px solid var(--line);border-radius:14px;background:var(--soft);margin-bottom:25px}
#dialog .review-product-icon{width:38px;height:38px;display:grid;place-items:center;flex:none;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--sub)}
#dialog .review-product-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}
#dialog .review-product>div{min-width:0;display:grid;gap:4px}
#dialog .review-product small{font-size:10px;text-transform:uppercase;letter-spacing:.1em}
#dialog .review-product strong{display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
#dialog .review-product div>span{font-size:12px;color:var(--sub)}
#dialog .review-rating-field{padding:0;margin:0 0 20px;border:0;min-width:0}
#dialog .review-rating-field legend{font-size:14px;font-weight:700;margin-bottom:10px;padding:0;color:var(--text)}
#dialog .review-star-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
#dialog .review-stars{display:flex;gap:5px;align-items:center;padding:2px 0}
html:root[data-theme] #dialog .review-star{width:44px;height:44px;min-width:44px;padding:5px;display:grid;place-items:center;border:0;border-radius:10px;background:none;color:#2c2c36;box-shadow:none;transition:transform .16s ease,filter .16s ease;touch-action:manipulation}
html:root[data-theme] #dialog .review-star svg{width:34px;height:34px;fill:currentColor;stroke:currentColor;stroke-width:1.1;transition:color .16s ease}
html:root[data-theme] #dialog .review-star.is-lit{color:#fbbf24;filter:drop-shadow(0 2px 7px #fbbf2426)}
html:root[data-theme] #dialog .review-star:hover{background:none;transform:translateY(-2px) scale(1.1)}
html:root[data-theme] #dialog .review-star:active{transform:scale(.94)}
#dialog .review-rating-number{font-size:13px;color:var(--sub);font-variant-numeric:tabular-nums}
#dialog .review-mood{min-height:22px;margin-top:10px;font-size:13px;font-weight:600;color:#34d399}
#dialog .review-mood[data-rating="4"]{color:#d8af40}#dialog .review-mood[data-rating="3"]{color:var(--sub)}#dialog .review-mood[data-rating="2"]{color:#fb923c}#dialog .review-mood[data-rating="1"]{color:#f87171}
html:root[data-theme=light] #dialog .review-mood[data-rating="5"]{color:#059669}html:root[data-theme=light] #dialog .review-mood[data-rating="4"]{color:#a16d06}html:root[data-theme=light] #dialog .review-mood[data-rating="2"]{color:#c2410c}html:root[data-theme=light] #dialog .review-mood[data-rating="1"]{color:#dc2626}
#dialog .review-suggestions{margin-bottom:22px}#dialog .review-suggestions>span{display:block;font-size:11px;color:var(--sub);margin-bottom:9px}
#dialog .review-suggestion-list{display:flex;gap:7px;flex-wrap:wrap}
html:root[data-theme] #dialog .review-suggestion{font-size:11px;line-height:1.4;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--control);color:var(--control-text);min-height:32px}
html:root[data-theme] #dialog .review-suggestion:hover{border-color:#716039;background:var(--control-hover)}
#dialog .review-text-field{margin:0;display:grid;gap:9px;font-size:13px;font-weight:650;min-width:0}
html:root[data-theme] #dialog #review-text{display:block;width:100%;min-height:140px;padding:15px 16px;resize:vertical;max-height:340px;border:1px solid var(--line);border-radius:13px;font:inherit;font-size:13px;font-weight:400;line-height:1.7;background:var(--panel);color:var(--text)}
#dialog .review-text-help{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:10px;color:var(--sub)}
#dialog .review-error{min-height:19px;margin:11px 0;font-size:12px;color:#f87171}
#dialog .review-form-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:6px}
#dialog .review-form-actions .button{min-height:43px;font-size:12px;margin:0;padding:11px 17px}
#dialog .review-form-actions .button.primary{flex:1}
@media(max-width:600px){#dialog.review-window .dialog-scroll{padding:22px 18px}#dialog .review-product{padding:12px;margin-bottom:21px}#dialog .review-stars{gap:1px}#dialog .review-star-row{gap:10px}#dialog .review-product strong{font-size:13px}html:root[data-theme] #dialog.review-window #dialog-title{font-size:23px}#dialog .review-form-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){html:root[data-theme] #dialog .review-star,html:root[data-theme] #dialog .review-star svg{transition:none}html:root[data-theme] #dialog .review-star:hover,html:root[data-theme] #dialog .review-star:active{transform:none}}

/* snow-stability.css */
/* Seat snow on the top frame: the label area stays completely clear. */
html:root[data-theme] [data-snow-cap]::after,
html:root[data-theme] .chip[data-snow-cap]::after{top:auto;bottom:calc(100% - 3px);pointer-events:none}
/* Keep the assigned silhouette in the DOM; just hide it on a filled control. */
html:root[data-theme] :is(.button.primary,.chip.active,[aria-pressed="true"],[aria-selected="true"],[aria-current="page"])[data-snow-cap]::after{content:none;display:none}
/* Wrapped rows need room for the cap above the next row's border. */
html:root[data-theme] :is(.filters-tabs,.profile-tabs,.admin-tabs,.hero-actions,.home-market-filters,.pv-owner-actions,.item-admin-actions,.admin-listing-actions,.editor-actions,#messenger-filters){row-gap:20px}
html:root[data-theme] #messenger-filters{padding-top:8px}
html:root[data-theme] #messenger-filters [data-chat-filter]>span{display:inline-block;min-width:1.5ch;text-align:center;font-variant-numeric:tabular-nums}

/* global-search.css */
html,body{overflow-x:clip}
html:root[data-theme] .header{position:relative;z-index:40}
html:root[data-theme] .search{position:relative;z-index:50}
.search-suggestions[hidden]{display:none}
.search-suggestions{position:absolute;inset-inline-start:-1px;top:calc(100% + 9px);width:100%;min-width:min(580px,80dvi);max-width:calc(100dvi - 32px);max-height:min(680px,75dvh);overflow:auto;background:#141419;border:1px solid #2a2a35;border-radius:15px;box-shadow:0 18px 48px #0005;padding:8px;text-align:left;color:var(--text);cursor:default}
html[data-theme=light] .search-suggestions{background:#fff;box-shadow:0 15px 40px #17172520}
.search-popup-heading{font-size:11px;font-weight:700;color:var(--sub);padding:8px 9px 5px;letter-spacing:.04em}
.search-section{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.search-section>div{min-width:0;flex:1}.search-section-cover{flex:none;width:58px;height:58px;border-radius:10px;overflow:hidden}.search-section-cover img{display:block;width:100%;height:100%;object-fit:cover}
.search-section-name{font-size:15px;font-weight:750;line-height:1.4}.search-subcategories{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:7px}.search-subcategories a{font-size:11px;line-height:1.5;color:var(--sub);text-decoration:underline;text-underline-offset:3px}.search-subcategories a:hover,.search-section-name:hover{color:var(--text)}
.search-section-quick{padding:9px;border:0;border-radius:9px;background:transparent;gap:10px}.search-section-quick .search-section-cover{width:44px;height:44px}.search-section-quick .search-subcategories{margin-top:3px}.search-section-quick .search-section-name{font-size:13px}
.search-quick-item{display:flex;align-items:center;gap:10px;padding:9px;border-radius:9px;min-width:0}.search-quick-item:hover,.search-quick-item:focus-visible,.search-section-quick:focus-within{background:var(--soft)}
.search-quick-item>img{width:44px;height:44px;object-fit:cover;border-radius:8px;flex:none}.search-quick-copy{flex:1;min-width:0}.search-quick-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.search-quick-copy small{display:block;font-size:10px;color:var(--sub);margin-top:4px}.search-quick-item>b{font-size:12px;white-space:nowrap;flex:none}.search-auto{color:var(--text)}
.search-show-all{display:block;width:100%;padding:12px 9px 7px;border-top:1px solid var(--line);margin-top:6px;text-align:left;font-size:12px;font-weight:650}.search-popup-empty{font-size:13px;padding:12px;color:var(--sub)}
html[data-search-active=true] .utility{display:none}
.search-page{padding:16px 0 32px;min-width:0}.search-back{display:inline-flex;font-size:12px;color:var(--sub);margin:0 0 14px}.search-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.search-heading>div{min-width:0}.search-heading h1{font-size:clamp(21px,2.2vw,30px);letter-spacing:-.04em;line-height:1.25;margin:0;overflow-wrap:anywhere}.search-heading p{font-size:12px;color:var(--sub);margin:9px 0 0}.search-reset{flex:none;font-size:12px}
.search-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:22px 0}.search-toolbar>div{display:flex;gap:7px;flex-wrap:wrap}.search-toolbar>label{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--sub)}.search-toolbar select{width:auto;font-size:12px;max-width:200px}.search-toolbar .chip[aria-pressed=true]{border-color:var(--text);color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}
.search-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.search-more-sections{margin:-6px 0 22px}.search-empty{grid-column:1/-1;padding:45px 18px;text-align:center;border:1px solid var(--line);border-radius:18px}.search-empty h2{font-size:20px;margin:0 0 10px}.search-empty p{color:var(--sub);font-size:13px;margin-bottom:20px}.search-loading{color:var(--sub);font-size:14px}.search-page .market-grid{min-width:0}
@media(max-width:1000px){.search-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.search-suggestions{min-width:0;max-width:none;width:calc(100% + 2px);max-height:65dvh}.search-heading{align-items:flex-start;flex-direction:column;gap:12px}.search-reset{min-height:36px;padding:8px 12px}.search-toolbar{align-items:flex-start;margin:17px 0}.search-toolbar>label{width:100%;justify-content:space-between}.search-section-grid{grid-template-columns:minmax(0,1fr)}.search-quick-item{gap:8px}.search-quick-item>b{font-size:11px}.search-page{padding-top:10px}}

/* light-winter.css */
/* Clean white and lilac palette, scoped to light mode. */
html:root[data-theme="light"]{
 color-scheme:light;
 --bg:#f7f5fc;--panel:#faf8ff;--panel-solid:#faf8ff;--surface:#faf8ff;--card:#faf8ff;
 --soft:#efebfa;--modal:#fcfaff;--text:#26233f;--sub:#514b6b;--muted:#514b6b;
 --line:#ddd7ef;--border:#ddd7ef;--accent:#7058e9;--accent-dark:#5e46d4;--white:#fff;
 --control:#f1eefb;--control-hover:#e7e0f8;--control-border:#dcd4f0;--control-text:#4d456e;
 --primary:#7058e9;--primary-hover:#5e46d4;--primary-text:#fff;
 --aero-fill:#f1eefb;--aero-hover:#e7e0f8;--aero-border:#dcd4f0;--aero-text:#4d456e;
 --aero-shadow:0 3px 12px #7463a812;--shadow:0 8px 28px #63528c0d;
 --staff-fill:#f8eaf1;--staff-line:#d49aae;
}
html:root[data-theme="light"] body{background:var(--bg);color:var(--text)}
html:root[data-theme="light"] body::before{
 content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(135deg,#fdfcff 0%,#f7f4fd 55%,#eeebf8 100%);
}
html:root[data-theme="light"] :is(.header,.utility){background:transparent;background-image:none}
html:root[data-theme="light"] .pv-home-intro{
 background:linear-gradient(120deg,#f7f4ff,#eeebfc);border-color:var(--line);
 box-shadow:0 12px 42px #6d5b9d0c;
}
html:root[data-theme="light"] .pv-home-intro h1 span{color:var(--accent)}
html:root[data-theme="light"] .pv-eyebrow{color:var(--accent)}
html:root[data-theme="light"] :is(.macro-tab.active,[data-home-filter][aria-pressed="true"]){
 background:var(--primary);color:var(--primary-text);border-color:var(--primary);
}
html:root[data-theme="light"] .search-toolbar .chip[aria-pressed="true"]{
 background:var(--primary);color:var(--primary-text);border-color:var(--primary);box-shadow:none;
}
html:root[data-theme="light"] :is(.market-card,.game-card):hover{border-color:#b9afe0}
html:root[data-theme="light"] .search-suggestions{background:#fcfaff;border-color:var(--line);box-shadow:0 15px 40px #63528c20}
html:root[data-theme="light"] footer{border-color:var(--line)}

/* In light mode the compact lip crosses the actual border instead of floating above it. */
html:root[data-theme="light"] [data-snow-cap]::after,
html:root[data-theme="light"] .chip[data-snow-cap]::after{
 top:var(--snow-seat,-4px);bottom:auto;height:var(--snow-height);
 max-width:calc(100% - 16px);filter:drop-shadow(0 .6px .45px #7b8fb34d);
}
html:root[data-theme="light"] [data-snow-cap="1"]{--snow-image:url('/assets/light-button-snow-1.svg');--snow-width:18px;--snow-height:10px;--snow-seat:-3px;--snow-left:8px;--snow-right:auto}
html:root[data-theme="light"] [data-snow-cap="2"]{--snow-image:url('/assets/light-button-snow-2.svg');--snow-width:28px;--snow-height:13px;--snow-seat:-4px;--snow-left:8px;--snow-right:auto}
html:root[data-theme="light"] [data-snow-cap="3"]{--snow-image:url('/assets/light-button-snow-3.svg');--snow-width:36px;--snow-height:14px;--snow-seat:-4px;--snow-left:8px;--snow-right:auto}
html:root[data-theme="light"] [data-snow-cap="4"]{--snow-image:url('/assets/light-button-snow-4.svg');--snow-width:28px;--snow-height:13px;--snow-seat:-4px;--snow-left:auto;--snow-right:8px}
html:root[data-theme="light"] [data-snow-cap="5"]{--snow-image:url('/assets/light-button-snow-5.svg');--snow-width:40px;--snow-height:13px;--snow-seat:-4px;--snow-left:8px;--snow-right:auto}

/* notification-badge.css */
html:root[data-theme] .account-hover-menu [data-notifications]{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
html:root[data-theme] .account-hover-menu [data-notifications][data-unread="true"]{font-weight:700;color:var(--text);box-shadow:inset 3px 0 var(--primary)}
html:root[data-theme] .account-notification-count{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--primary);color:var(--primary-text);font-size:11px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums}
html:root[data-theme] .account-notification-count[hidden]{display:none}
/* Hover, keyboard focus and click keep exactly the same layout. */
html:root[data-theme] .account-hover-menu{width:235px;min-width:0;max-width:calc(100vw - 24px);box-sizing:border-box}
html:root[data-theme] .account-dropdown:is(:hover,:focus-within) .account-hover-menu{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
html:root[data-theme] .account-hover-menu>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:42px;margin:0;padding:10px 12px;box-sizing:border-box;text-align:left;border-radius:10px;white-space:normal}
html:root[data-theme] .account-hover-menu>button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

/* account-identity.css */
.identity-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--sub)}
#email-verification-form{display:grid;gap:16px}#email-verification-form input{font-variant-numeric:tabular-nums;letter-spacing:.2em;font-size:22px}#email-verification-error{color:#c83f55;font-size:13px}#email-verification-status{font-size:13px;color:var(--sub)}
.auth-google{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;margin-top:12px}.auth-google-mark{font-weight:750;font-size:18px;color:var(--primary)}

.catalog-page-grid{min-width:0}.grid-more{display:flex;margin:24px auto 0;justify-content:center;min-width:180px}

.saved-delivery-unit{display:grid;gap:8px;margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:12px}.saved-delivery-unit textarea{width:100%;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--panel);color:var(--text);border:1px solid var(--line);padding:12px;border-radius:8px}.delivery-secret{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;user-select:text}
html:root[data-theme] :is(.pv-buy,.pv-contact,.pv-card .button,.pv-card .chip,.order-detail .button,.order-card .button)::before,html:root[data-theme] :is(.pv-buy,.pv-contact,.pv-card .button,.pv-card .chip,.order-detail .button,.order-card .button)::after{content:none!important;display:none!important}

/* admin-workflows.css */
.admin-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}.admin-sidebar{display:grid;gap:20px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.admin-sidebar section{display:grid;gap:5px}.admin-sidebar h3{padding:4px 8px 8px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--sub)}.admin-nav-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 10px;border-radius:9px;text-align:left;width:100%;font-size:12px;line-height:1.4}.admin-nav-link b{font-variant-numeric:tabular-nums}.admin-nav-link[aria-pressed=true]{background:var(--primary);color:var(--primary-text)}.admin-panel{min-width:0}.admin-panel-heading{display:grid;gap:7px;margin-bottom:20px}.admin-panel-heading h2{font-size:22px}.admin-panel-heading p,.admin-info{color:var(--sub);font-size:12px;line-height:1.65}.admin-task{display:grid;gap:14px}.admin-task>p{margin:0}.admin-task-title{display:flex;align-items:start;justify-content:space-between;gap:15px;flex-wrap:wrap}.admin-resource-id{font-size:11px;color:var(--sub);overflow-wrap:anywhere}.admin-before-after{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-before-after>div{padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--soft);min-width:0}.admin-before-after small{display:block;margin-bottom:8px}.admin-before-after p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:240px;overflow:auto}.admin-change-fields{display:grid;gap:15px}.admin-task form{display:grid;gap:12px}.admin-task .field{margin:0}.admin-empty{padding:25px;border:1px solid var(--line);border-radius:14px}.admin-empty p{margin-top:10px;color:var(--sub)}.admin-mobile-nav{display:none}.admin-trigger-list{display:flex;gap:8px;flex-wrap:wrap}.admin-trigger-list span{padding:6px 10px;background:var(--soft);border:1px solid var(--line);border-radius:8px;font-size:11px}.admin-evidence{border:1px solid var(--line);border-radius:10px;padding:14px}.admin-evidence>small{display:block;margin-bottom:8px}.admin-sidebar .admin-nav-link::after,.admin-sidebar .admin-nav-link::before{display:none!important;content:none!important}
@media(max-width:850px){.admin-layout{grid-template-columns:minmax(0,1fr);gap:16px}.admin-sidebar{display:none}.admin-mobile-nav{display:grid;gap:8px;font-size:12px}.admin-mobile-nav select{width:100%;min-width:0}.admin-before-after{grid-template-columns:1fr}.admin-task{padding:17px}.admin-panel-heading h2{font-size:20px}}
