/* ON THE PRECIPICE visual skin. CSS only: no business logic changes. */
:root{color-scheme:dark;--panel:#141413;--panel-2:#1d1c18;--line:#45412c;--muted:#aaa89d;--accent:#ffd400;--accent-2:#e6ac00;--gold:#ffdc18}
html{background:#090a08}body{background:radial-gradient(ellipse at 50% -15%,rgba(104,89,15,.20),transparent 52%),repeating-linear-gradient(135deg,transparent 0 70px,rgba(255,255,255,.008) 71px 72px),#090a08!important;color:#f4f2e8}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.18;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E")}
.site-header{position:sticky;z-index:100;background:rgba(10,10,8,.96)!important;border-bottom:2px solid #e9c400!important;box-shadow:0 9px 38px #000b!important;min-height:94px!important}
.site-header .brand{display:flex;align-items:center;gap:14px;color:#fff}.brand-logo-box{width:154px!important;min-width:154px!important;max-width:154px!important;height:65px!important;min-height:65px!important;max-height:65px!important;flex:0 0 154px!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important}.brand-logo{width:154px!important;min-width:154px!important;max-width:154px!important;height:65px!important;min-height:65px!important;max-height:65px!important;object-fit:contain!important}.brand-title{font-weight:950!important;letter-spacing:.055em!important;text-transform:uppercase;font-size:clamp(14px,1.35vw,20px)!important}
a{color:#ffe157}a:hover{color:#fff0a0}
h1,h2,h3,.store-heading h1{font-weight:950;letter-spacing:.005em}.store-heading h1{color:#fff;text-transform:uppercase;text-shadow:0 3px 0 #17140a}.eyebrow{color:#ffd400!important;letter-spacing:.2em}.store-heading p{color:#aaa99f}
.steam,.button,button:not(.steam-profile-toggle):not(.qty-button):not(.catalog-search-clear),input[type=submit]{background:linear-gradient(180deg,#ffe438 0%,#f6c800 55%,#dba500 100%)!important;color:#171408!important;border:1px solid #ffdf42!important;border-radius:6px!important;font-weight:900!important;box-shadow:inset 0 1px #fff5a45c,0 5px 15px #0006;transition:transform .16s,filter .16s,box-shadow .16s}
.steam:hover,.button:hover,button:not(.steam-profile-toggle):not(.qty-button):not(.catalog-search-clear):hover{filter:brightness(1.12);box-shadow:0 0 0 2px #ffd40033,0 8px 24px #0009}
button.danger,.danger{background:linear-gradient(#ad3c38,#7e2525)!important;color:#fff!important;border-color:#c4544c!important}
button.secondary,.secondary{background:#29271e!important;color:#f7eab3!important;border-color:#675c2b!important}
.category-nav{gap:9px}.category-pill,.roulette-tabs a,.admin-links a{background:#171713!important;border:1px solid #4c472c!important;color:#d7d3bd!important;border-radius:5px!important;font-weight:850}.category-pill:hover,.roulette-tabs a:hover,.admin-links a:hover{border-color:#ffdb24!important;color:#ffe14c!important}.category-pill.active,.roulette-tabs a.active{background:linear-gradient(135deg,#ffdc25,#dca600)!important;color:#171308!important;border-color:#ffe866!important;box-shadow:0 5px 22px #f3c50030!important}
.product-card,.panel,.component-box,.stats div,.empty,.unclaimed-grid article,.roulette-unclaimed article{background:linear-gradient(155deg,#1b1b17,#10110f)!important;border:1px solid #47432e!important;border-radius:9px!important;box-shadow:0 15px 35px #0006!important}.product-card{position:relative}.product-card:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,transparent,#ffd800,transparent);z-index:2;opacity:.65}.product-card:hover{border-color:#e5bf19!important;box-shadow:0 22px 48px #000b,0 0 0 1px #f7d21b35!important}.product-media{background:radial-gradient(ellipse at center,#2a281d 0%,#10110e 72%)!important;border-bottom:1px solid #45402a}.product-content h2{color:#fff}.product-footer{border-top-color:#45412e!important}.product-total,.guest-purchase strong,.vip-price,.balance{color:#ffdf27!important}.price-caption{color:#aaa58a}.image-placeholder{background:radial-gradient(circle,#29271b,#0e100d)!important;color:#756b34!important}
input,textarea,select,.qty{background:#11120f!important;color:#f6f2dd!important;border:1px solid #595137!important;border-radius:5px!important}input:focus,textarea:focus,select:focus{outline:1px solid #f5cf1a!important;border-color:#f5cf1a!important}.quantity-control{background:#11120f!important;border-color:#625734!important;border-radius:5px!important}.qty-button{color:#ffdc26!important;background:#26241b!important;border:0!important;box-shadow:none!important}
table{background:#151510!important;border:1px solid #49422b!important;border-radius:7px!important}th{background:#28251a!important;color:#ffdd36}td,th{border-bottom-color:#383425!important}.admin-links a{border-left:3px solid #d9b500!important}.stats b{color:#ffdc25}
.current-server,.server-switcher,.steam-profile-toggle,.steam-profile-dropdown,.steam-profile-balance,.steam-profile-head-fallback,.steam-profile-fallback{background:#191912!important;border-color:#5b512d!important;color:#ddd7b9!important}.current-server b,.steam-profile-head strong{color:#fff!important}.server-switcher select{background:#191912!important}.steam-profile-dropdown:before{background:#191912!important;border-color:#5b512d!important}.steam-profile-dropdown>a:hover{background:#33301d!important}.steam-profile-balance strong{color:#ffdb27!important}
.roulette-stage,.roulette-prizes,.roulette-loyalty,.roulette-win-card{background:linear-gradient(160deg,#211e12,#10110e)!important;border-color:#685a26!important}.roulette-pointer{background:#ffe331!important;box-shadow:0 0 16px #ffe331!important}.roulette-spin-button{background:linear-gradient(#ffe638,#d7a700)!important;color:#191500!important}.loyalty-progress span{background:linear-gradient(90deg,#a77800,#ffde28)!important;box-shadow:0 0 15px #ffda3388!important}
/* Preserve prize rarity color coding, as it communicates odds. */
.info-entry-card,.vip-home-card,.contraband-section,.contraband-card,.catalog-search,.deposit-form,.deposit-row,.loyalty-user-row{background:linear-gradient(145deg,#201e15,#10110e)!important;border-color:#59502d!important;border-radius:9px!important}.info-entry-card:hover,.contraband-card:hover{border-color:#ffdb27!important}.catalog-search:focus-within{border-color:#f5d323!important;box-shadow:0 0 0 3px #ffdc2425!important}.catalog-search-icon{color:#ffdc26!important}.contraband-head p,.vip-home-copy>p{color:#aaa89a!important}.contraband-prices strong{color:#ffdd26!important}.contraband-media{background:radial-gradient(circle,#292619,#0d0e0b)!important;border-bottom-color:#51472c!important}.vip-home-copy h2 span,.vip-benefit strong{color:#ffdc26!important}
.alert{background:#222719;border-color:#69763a}.alert.error{background:#351b1b;border-color:#944343}
::selection{background:#e4bf18;color:#10100b}
@media(max-width:760px){.site-header{min-height:76px!important}.brand-logo-box{width:96px!important;min-width:96px!important;max-width:96px!important;height:47px!important;min-height:47px!important;max-height:47px!important;flex-basis:96px!important}.brand-logo{width:96px!important;min-width:96px!important;max-width:96px!important;height:47px!important;min-height:47px!important;max-height:47px!important}.brand-title{font-size:12px!important}.site-header nav{gap:7px!important}.current-server{font-size:10px!important}}
