.crest:before,.crest:after{display:none}.crest img{width:100%;height:100%;object-fit:cover;border-radius:28px;filter:drop-shadow(0 0 28px rgba(255,75,0,.28))}.product-img{width:100%;height:100%;display:block;min-width:0;min-height:0}.field textarea{width:100%;padding:13px 14px;border-radius:10px;border:1px solid rgba(255,209,102,.13);background:#070402;color:#f8ead8;outline:none;resize:vertical;font:inherit}.field textarea:focus{border-color:#b6401f}.field label input[type=checkbox]{width:auto;margin-right:6px}.panel code,.notice code{display:inline-block;margin-top:8px;padding:8px 10px;border-radius:8px;background:#050302;color:#ffd166;word-break:break-all}.btn:disabled,.btn.disabled{opacity:.45;cursor:not-allowed;transform:none!important}.admin-wrap .filters{position:sticky;top:86px;z-index:10;padding:10px 0;background:linear-gradient(#050302 65%,transparent)}

/* Storefront polish */
body{background:radial-gradient(circle at 50% -15%,rgba(122,28,8,.48),transparent 42%),radial-gradient(circle at 8% 36%,rgba(86,15,7,.22),transparent 30%),linear-gradient(180deg,#090403 0%,#050302 56%,#030201 100%)}
.nav{height:72px;padding:0 max(4vw,24px);border-bottom:1px solid rgba(255,164,75,.16);background:rgba(7,3,2,.9);box-shadow:0 8px 30px rgba(0,0,0,.26)}
.navlinks a{position:relative;padding:26px 0 23px}.navlinks a:after{content:'';position:absolute;left:0;right:0;bottom:14px;height:2px;border-radius:99px;background:linear-gradient(90deg,#ff6a00,#ffd166);transform:scaleX(0);transform-origin:center;transition:transform .18s ease}.navlinks a:hover:after{transform:scaleX(1)}
.server-pill{border-color:rgba(255,191,112,.12);background:rgba(16,8,5,.82);box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)}
.container{width:min(1280px,92vw)}
.page-header{padding:42px 0 18px}.page-header h1{font-size:clamp(38px,5vw,54px);letter-spacing:-.025em;margin:8px 0 9px}.page-header p{margin:0;max-width:760px;line-height:1.6}
.filters{gap:9px;margin:8px 0 26px;padding-bottom:2px}.chip{padding:10px 15px;border-color:rgba(255,184,91,.13);background:rgba(13,7,5,.82);transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease}.chip:hover{transform:translateY(-1px);border-color:rgba(255,129,42,.46);color:#ffe4b0}.chip.active{background:linear-gradient(135deg,rgba(126,22,11,.95),rgba(66,11,7,.95));border-color:rgba(255,106,0,.62);box-shadow:0 8px 26px rgba(114,23,8,.2)}
.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.card{display:flex;min-width:0;flex-direction:column;border-radius:20px;border:1px solid rgba(255,183,94,.14);background:linear-gradient(165deg,rgba(27,12,7,.98),rgba(8,5,3,.98));box-shadow:0 18px 42px rgba(0,0,0,.24);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;isolation:isolate}.card:hover{transform:translateY(-4px);border-color:rgba(255,124,29,.42);box-shadow:0 25px 56px rgba(0,0,0,.34),0 0 0 1px rgba(255,116,24,.04)}
.product-art{height:250px;min-height:250px;overflow:hidden;position:relative;padding:12px;border-bottom:1px solid rgba(255,190,105,.1);background:radial-gradient(circle at 50% 34%,rgba(255,91,0,.17),transparent 55%),linear-gradient(145deg,#110704,#070403)}.product-art:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 -35px 45px rgba(4,2,1,.22)}.product-art .product-img{object-fit:contain;border-radius:11px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.34));transition:transform .22s ease}.card:hover .product-art .product-img{transform:scale(1.018)}
.product-body{display:flex;flex:1;min-width:0;flex-direction:column;padding:18px 19px 19px}.rarity{font-size:10px;line-height:1.2;letter-spacing:2.2px}.product-body h3{font-size:19px;line-height:1.28;margin:8px 0 9px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.product-body p{margin:0;color:#bca992;font-size:14px;line-height:1.58;min-height:66px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.price-row{margin-top:auto;padding-top:18px;gap:14px;border-top:1px solid rgba(255,255,255,.05)}.price{font-size:22px;white-space:nowrap}.price-row .btn{flex:0 0 auto;border-color:rgba(255,169,76,.2);background:rgba(16,8,5,.88)}.price-row .btn:hover{border-color:rgba(255,121,28,.5);background:rgba(59,15,8,.84);color:#ffe2a8}
.big-art{overflow:hidden;padding:18px;background:radial-gradient(circle at 50% 35%,rgba(255,88,0,.16),transparent 60%),#090503}.big-art .product-img{object-fit:contain;border-radius:15px}.checkout .product-art{height:190px!important;min-height:190px}.checkout .product-art .product-img{object-fit:contain}
.category{transition:transform .16s ease,border-color .16s ease,background .16s ease}.category:hover{background:#130906}
footer{background:rgba(4,2,1,.42)}

/* Homepage trailer */
.hero.hero-video-layout{grid-template-columns:minmax(0,.92fr) minmax(460px,1.08fr);gap:58px;padding:68px 0 52px}.hero-copy,.hero-media{min-width:0}.hero-video-shell{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:26px;background:#020101;border:1px solid rgba(255,169,69,.28);box-shadow:0 34px 90px rgba(0,0,0,.52),0 0 65px rgba(160,36,8,.12);isolation:isolate}.hero-video-shell:before{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,226,170,.025),inset 0 -60px 80px rgba(0,0,0,.18)}.hero-video{width:100%;height:100%;display:block;object-fit:cover;background:#000}.hero-sound-btn{position:absolute;z-index:4;left:16px;bottom:16px;border:1px solid rgba(255,210,150,.28);border-radius:999px;padding:10px 14px;background:rgba(6,3,2,.82);backdrop-filter:blur(12px);color:#ffe5b2;font-weight:800;cursor:pointer;box-shadow:0 8px 30px rgba(0,0,0,.35)}.hero-sound-btn:hover{background:rgba(85,21,8,.9)}.hero-video-badge{position:absolute;z-index:3;right:14px;top:14px;padding:7px 10px;border:1px solid rgba(255,189,94,.18);border-radius:999px;background:rgba(8,4,2,.68);backdrop-filter:blur(10px);color:#e8c79d;font-size:10px;font-weight:900;letter-spacing:1.1px;text-transform:uppercase}.hero-video-empty{display:grid;place-items:center;background:radial-gradient(circle at 50% 45%,rgba(229,75,13,.2),transparent 42%),linear-gradient(145deg,#120704,#020101)}.hero-video-empty>div{text-align:center}.hero-video-empty span{display:block;color:#ffd166;font-size:12px;font-weight:900;letter-spacing:5px}.hero-video-empty strong{display:block;margin:12px 0 4px;font-family:Georgia,serif;font-size:clamp(28px,4vw,46px);color:#fff0cf;text-shadow:0 0 28px rgba(255,92,0,.2)}.hero-video-empty small{color:#bb9672;letter-spacing:2px;text-transform:uppercase}.hero-copy p{max-width:650px}.hero-copy .actions{align-items:center}

/* Admin homepage video uploader */
.video-admin-panel{margin-bottom:18px;background:radial-gradient(circle at 95% 0,rgba(146,31,8,.13),transparent 42%),#0b0705}.video-admin-head{margin-bottom:8px}.video-admin-head h2{margin:4px 0 0}.video-admin-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:18px}.video-upload-box,.video-url-box{padding:18px;border:1px solid rgba(255,190,105,.1);border-radius:16px;background:rgba(6,3,2,.46)}.upload-drop{display:block;padding:20px;border:1px dashed rgba(255,158,62,.34);border-radius:14px;background:rgba(44,12,5,.28);cursor:pointer;transition:.18s}.upload-drop:hover{border-color:rgba(255,125,27,.7);background:rgba(68,17,6,.38)}.upload-drop b{display:block;color:#ffe0a8;font-size:15px}.upload-drop span{display:block;margin-top:5px;color:#a99179;font-size:12px}.upload-drop input{width:100%;margin-top:14px;color:#d8c1a6}.video-meta{min-height:20px;margin:12px 0;font-size:12px}.upload-progress{height:7px;overflow:hidden;margin:12px 0 16px;border-radius:999px;background:#160906;border:1px solid rgba(255,255,255,.04)}.upload-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9f1b0c,#ff6a00,#ffd166);transition:width .12s linear}.storage-state{margin-top:10px;font-size:11px}.storage-state.ready{color:#80d99c}.storage-state.waiting{color:#d9a57d}.admin-video-preview{display:grid;grid-template-columns:minmax(240px,420px) 1fr;gap:16px;align-items:center;margin:16px 0;padding:12px;border:1px solid rgba(255,186,95,.12);border-radius:16px;background:#070402}.admin-video-preview video{width:100%;aspect-ratio:16/9;display:block;object-fit:cover;border-radius:11px;background:#000}.admin-video-preview strong,.admin-video-preview span{display:block}.admin-video-preview span{margin-top:6px;color:#a99580;font-size:12px}.video-url-box .btn{margin:4px 8px 0 0}.danger-btn{border-color:rgba(255,75,50,.25)!important;color:#ffb3a2!important}.admin-integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-bottom-actions{padding-bottom:10px}

/* Responsive site */
@media(max-width:1080px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-art{height:270px;min-height:270px}.hero.hero-video-layout{grid-template-columns:minmax(0,.9fr) minmax(390px,1.1fr);gap:38px}.hero h1{font-size:clamp(44px,6vw,68px)}}

@media(max-width:900px){
  .container{width:min(760px,92vw)}.page-header{padding-top:34px}.product-art{height:260px;min-height:260px}.crest img{border-radius:22px}
  .hero.hero-video-layout{grid-template-columns:1fr;gap:26px;padding:30px 0 38px}.hero-media{order:1}.hero-copy{order:2}.hero-copy p{font-size:16px;line-height:1.65}.hero h1{font-size:clamp(46px,9vw,66px)}
  .hero-video-shell{border-radius:22px}
  .video-admin-grid{grid-template-columns:1fr}.admin-video-preview{grid-template-columns:1fr}.admin-integration-grid{grid-template-columns:1fr}
  .product-page,.checkout{gap:22px}
}

@media(max-width:760px){
  .nav{height:auto;min-height:0;flex-wrap:wrap;gap:8px 12px;padding:10px 14px 0}.brand{letter-spacing:1.2px}.logo-mark{width:32px;height:32px}.navright{margin-left:auto}.server-pill{display:inline-flex!important;align-items:center;padding:7px 9px;font-size:10px}.navlinks{display:flex!important;order:3;flex:0 0 calc(100% + 28px);width:calc(100% + 28px);margin:0 -14px;gap:20px;overflow-x:auto;padding:1px 14px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.navlinks::-webkit-scrollbar{display:none}.navlinks a{flex:0 0 auto;white-space:nowrap;padding:9px 0 6px;font-size:12px}.navlinks a:after{bottom:0}
  .admin-wrap .filters{top:92px}
  footer{margin-top:38px;padding:24px 18px;flex-wrap:wrap;align-items:flex-start}footer p{width:100%;margin:8px 0 0;line-height:1.5}
}

@media(max-width:640px){
  .container{width:min(100% - 28px,620px)}
  .grid{grid-template-columns:1fr;gap:18px}.filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-14px;padding-right:14px;padding-bottom:7px;-webkit-overflow-scrolling:touch}.filters::-webkit-scrollbar{display:none}.chip{flex:0 0 auto;min-height:42px;display:inline-flex;align-items:center}
  .page-header{padding:30px 0 14px}.page-header h1{font-size:38px}.page-header p{font-size:14px}
  .hero.hero-video-layout{padding-top:20px}.hero-video-shell{border-radius:18px}.hero-video-badge{display:none}.hero-sound-btn{left:10px;bottom:10px;padding:9px 12px;font-size:12px}.hero h1{font-size:clamp(42px,13vw,58px);margin:10px 0 16px}.hero-copy p{font-size:15px}.hero-copy .actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px}.hero-copy .actions .btn{width:100%;padding:13px 12px}
  .section{padding:34px 0}.section-head{align-items:flex-start}.section h2{font-size:27px}.section-head>.muted{font-size:12px}.category-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.category{padding:17px 10px;border-radius:14px}
  .product-art{height:clamp(245px,82vw,330px);min-height:0}.product-body{padding:17px}.product-body p{min-height:0;-webkit-line-clamp:3}.price-row{align-items:center}.price{font-size:21px}.card{border-radius:17px}
  .product-page{padding:26px 0}.big-art{min-height:0;aspect-ratio:1/1;padding:12px;border-radius:18px}.detail h1{font-size:36px;line-height:1.08}.detail p{font-size:15px;line-height:1.7}.features{grid-template-columns:1fr}
  .checkout{padding:26px 0}.checkout .panel,.panel{padding:18px}.checkout .product-art{height:220px!important;min-height:220px!important}.login-card{margin:28px auto;padding:22px;width:min(100%,470px)}.login-card h1{font-size:30px}
  .field{margin:14px 0}.field input,.field select,.field textarea{font-size:16px;min-height:44px}.field textarea{min-height:110px}.btn{min-height:44px}.actions{gap:9px}
  .admin-wrap{width:min(100% - 24px,620px);padding:24px 0}.admin-wrap .filters{margin-right:-12px;padding-right:12px}.admin-wrap h2{font-size:25px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:14px}.stat strong{font-size:22px}.video-admin-panel{padding:16px}.video-upload-box,.video-url-box{padding:14px}.upload-drop{padding:16px}.admin-video-preview{padding:9px}.admin-bottom-actions{display:grid;grid-template-columns:1fr 1fr}.admin-bottom-actions .btn{width:100%}
  .table{min-width:700px}.panel[style*="overflow:auto"]{-webkit-overflow-scrolling:touch;padding:10px}.table th,.table td{padding:10px;font-size:12px}
  .toast{left:14px;right:14px;bottom:max(14px,env(safe-area-inset-bottom));text-align:center}
}

@media(max-width:480px){
  .brand span:last-child{font-size:13px}.server-pill{max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-copy .actions{grid-template-columns:1fr}.category-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.section-head{gap:10px}.section-head>.muted{display:none}.product-art{height:270px}.dashboard-grid{grid-template-columns:1fr 1fr}.admin-bottom-actions{grid-template-columns:1fr}.video-url-box .btn{width:100%;margin:6px 0 0}.price-row{gap:10px}
}

@media(max-width:390px){.product-art{height:245px}.price-row{align-items:stretch;flex-direction:column}.price-row .btn{width:100%}.dashboard-grid{grid-template-columns:1fr}.hero h1{font-size:42px}.hero-video-shell{border-radius:15px}}

@media(prefers-reduced-motion:reduce){.embers{display:none}.card,.chip,.btn,.category,.product-art .product-img{transition:none!important}.card:hover,.chip:hover,.category:hover,.btn.primary:hover{transform:none!important}}
