/* FRAGELITE V8 — real art, typography & art fixes. No gameplay logic changed. */
/* Promo strip: smaller and image-backed, accessible anchor remains clickable. */
.feh-home .feh-promos{gap:12px;margin-top:11px}
.feh-home .feh-promo{height:164px;border-radius:12px}
.feh-home .feh-promo img{height:100%;width:100%;object-fit:cover;object-position:center center}
.feh-home .feh-promo .feh-promo-copy{inset:13px auto 11px 17px;width:43%}
.feh-home .feh-promo-copy small{font-size:9px;letter-spacing:1px}
.feh-home .feh-promo-copy strong{font-size:clamp(19px,2.1vw,27px);line-height:.92;margin:7px 0 5px}
.feh-home .feh-promo-copy>span{font-size:10px}
.feh-home .feh-promo-copy b{font-size:10px;padding:7px 10px}
.feh-home .feh-promo-battle img{object-position:center 55%}
.feh-home .feh-promo-battle:after{background:linear-gradient(90deg,#060814ed 0%,#070a18a8 38%,transparent 79%)}
/* Upgrade: supplied user banner already contains its title & CTA: no duplicate overlay lettering. */
.feh-home .feh-promo-upgrade-v8:after{background:linear-gradient(0deg,rgba(9,8,22,.16),transparent 35%)}
.feh-home .feh-promo-upgrade-v8 .feh-promo-copy{display:none!important}
.feh-home .feh-promo-upgrade-v8:hover img{filter:saturate(1.16) brightness(1.12)}
/* Premium catalogue order follows PHP 150 / 200 / 300 / 350 / 500 / 500 / 600 / 1000. */
.feh-home .feh-premium-grid,.feh-premium-page .feh-premium-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.feh-home .feh-case-art,.feh-premium-page .feh-case-art{height:124px}
.feh-home .feh-case-art img,.feh-premium-page .feh-case-art img{width:100%;height:100%;object-fit:contain}
.feh-home .feh-case-name{line-height:1.2;min-height:17px}
/* Arsenal: intentionally no false Sticker Capsule artwork. */
.feh-arsenal-visual{height:88%;width:88%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#ffdfb8;border:2px solid #e78a35;border-radius:13px;background:linear-gradient(145deg,#7d361e,#211528 55%,#ac5e20);box-shadow:inset 0 0 0 5px #150c16,0 7px 21px #0008,0 0 18px #ff982b21;transform:perspective(400px) rotateX(5deg)}
.feh-arsenal-visual:before{content:'';position:absolute;inset:9px;border:1px dashed #ffb65b70;border-radius:8px;pointer-events:none}
.feh-arsenal-visual>span{font-size:27px;font-weight:1000;font-style:italic;color:#ffe8c1;line-height:1}
.feh-arsenal-visual>b{font-size:clamp(13px,1.3vw,20px);letter-spacing:.08em;text-shadow:0 0 12px #ff9b48}
.feh-arsenal-visual>small{font-size:8px;letter-spacing:.07em;color:#f5cda6}
/* Agent Cases: fit a correctly sized name on top of the pre-existing crate nameplate. */
.feh-agent-original,.febp-agent-original{display:block;position:relative;width:100%;height:100%}
.feh-agent-original img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.feh-agent-nameplate{position:absolute;left:16%;top:65%;width:48%;height:15%;display:grid;place-items:center;white-space:nowrap;overflow:hidden;border:1px solid #a67a34;border-radius:3px;background:linear-gradient(155deg,#18171a,#06080c);box-shadow:0 0 0 2px #211a12;color:#ffebbf;font-weight:1000;font-size:clamp(8px,.85vw,14px);letter-spacing:-.025em;text-shadow:0 1px 2px #000;pointer-events:none}
/* Battle Pass: reward icons balanced and names/amounts readable, no overlap. */
.febp-page .febp-tracks{grid-template-columns:94px repeat(35,137px);grid-template-rows:149px 149px 35px;gap:6px}
.febp-page .febp-reward{padding:6px;gap:2px;justify-content:flex-start}
.febp-page .febp-card-top{width:100%;height:11px}
.febp-page .febp-card-art{height:80px;min-height:80px;flex:none;overflow:hidden}
.febp-page .febp-card-art .febp-reward-img{height:100%;width:100%;max-width:118px;object-fit:contain}
.febp-page .febp-reward>strong{display:block!important;min-height:28px!important;max-height:30px!important;margin-top:1px;font-size:11px!important;line-height:1.24!important;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}
.febp-page .febp-reward-status{margin-top:auto;font-size:8px}
.febp-page .febp-reward button{margin-top:auto}
.febp-page .febp-qty{z-index:3;top:12px;right:3px}
.febp-page .febp-bitcoin-symbol{width:63px;height:63px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ffe299 0%,#f4b632 30%,#9b5e13 95%);border:5px double #ffdc7a;box-shadow:inset 0 0 0 3px #bb7318,0 5px 17px #e69e3739,0 0 12px #fbdc8230;color:#3c2007;font-weight:1000;font-size:41px;line-height:1;font-family:'DejaVu Sans',Arial,sans-serif;text-shadow:0 1px 1px #fff8}
.febp-page .febp-sticker-symbol{display:flex;align-items:center;justify-content:center;flex-direction:column;width:68px;height:68px;border:1px solid #b763f9;border-radius:8px;background:linear-gradient(130deg,#32185d,#153d61);transform:rotate(-6deg);box-shadow:0 0 16px #b44bff55;color:#efb3ff}
.febp-page .febp-sticker-symbol>span{font-size:39px;line-height:1}
.febp-page .febp-sticker-symbol small{font-size:10px;letter-spacing:.11em;font-weight:1000}
.febp-page .febp-arsenal-case{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(155deg,#8e421c,#291b30);border:1px solid #f5a042;border-radius:7px;color:#ffca7b;text-shadow:0 0 8px #ed6e38}
.febp-page .febp-arsenal-case>b{font-size:16px;color:#ffefcc}
.febp-page .febp-arsenal-case>strong{font-size:13px;letter-spacing:.02em}
.febp-page .febp-arsenal-case small{font-size:8px;color:#f8cfaf}
.febp-page .febp-agent-nameplate{left:16%;top:65%;width:49%;height:15%;font-size:7px}
.febp-page .febp-random-cases{width:100%;height:100%;display:grid;place-items:center;position:relative}
.febp-page .febp-random-cases .febp-official-holder{height:88%;width:85%}
.febp-page .febp-random-cases>span:last-child{position:absolute;bottom:0;left:0;right:0;text-align:center;color:#3ae9ee;background:#121329d9;border-radius:4px;font-size:9px;font-weight:1000}
.febp-page .febp-reward .febp-reward-img[alt="Dollars FRAGELITE"]{max-width:86px}
/* Sticker Capsules / details / roller: eliminate all inherited green surfaces. Rarity colors preserved. */
.sticker-hero,.sticker-detail-hero{background:radial-gradient(circle at 83% 30%,rgba(118,62,225,.17),transparent 45%),radial-gradient(circle at 80% 85%,rgba(24,227,224,.11),transparent 45%),linear-gradient(135deg,#140d27,#071321)!important;border-color:#7a4db159!important}
.sticker-hero:before,.sticker-detail-hero:before{background:repeating-linear-gradient(120deg,transparent 0 84px,rgba(169,95,249,.027) 86px,transparent 88px)!important}
.sticker-hero-inner{min-height:225px!important;gap:30px!important}
.sticker-hero h1,.sticker-detail-copy h1{font-size:clamp(34px,4.5vw,58px)!important;margin:8px 0 13px!important}
.sticker-hero p,.sticker-detail-copy p{font-size:13px!important;color:#bbb1d5!important;line-height:1.6!important}
.sticker-hero-badge{width:148px!important;height:148px!important;border-color:#a966ff82!important;box-shadow:inset 0 0 40px #9555d42c!important}
.sticker-hero-badge span{font-size:60px!important;color:#36dfdc!important;text-shadow:0 0 20px #29e2dd63!important}
.sticker-hero-badge small{color:#b4a6cc!important}
.sticker-capsule-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:13px}
.sticker-capsule-card{background:linear-gradient(160deg,#1e1430,#0b1626)!important;border:1px solid #6b46a577!important;min-height:340px!important;padding:14px!important;border-radius:12px}
.sticker-capsule-glow{background:radial-gradient(circle at 55% 25%,#923cec32,transparent 64%)!important}
.sticker-capsule-media{height:176px!important}.sticker-capsule-media img{max-height:154px!important}
.sticker-capsule-label{color:#35e6df!important;font-size:10px!important}
.sticker-capsule-card h3{font-size:21px!important;margin:6px 0!important}
.sticker-capsule-card p{font-size:12px!important;color:#bab3d3!important;min-height:0!important}
.sticker-capsule-footer{margin-top:12px!important;padding-top:10px!important}
.sticker-capsule-footer strong{font-size:21px!important}.sticker-capsule-footer small{color:#41e0dc!important}
.sticker-detail-layout{min-height:360px!important;gap:35px}.sticker-detail-copy{padding:24px 0!important}.sticker-detail-art{min-height:260px!important}.sticker-detail-art img{max-height:240px!important}
.sticker-detail-art>span,.sticker-open-panel strong small,.sticker-opening-cost{color:#3ce7df!important}
.sticker-orbit{width:250px!important;height:250px!important;border-color:#ac62f780!important;box-shadow:0 0 60px #822be72a!important}
.sticker-open-panel{background:#18152a!important;border-color:#714baf!important;border-radius:11px;padding:13px!important}
.sticker-open-panel span,.sticker-open-panel em{color:#a9a5c3!important}
.sticker-card{background:linear-gradient(140deg,#1c1731,#0b1425)!important;border-color:#5e438977!important;min-height:205px!important;padding:11px!important}
.sticker-card-media{height:115px!important}.sticker-card img{max-height:108px!important}.sticker-card small{color:#aaa5c1!important}
.sticker-opening-overlay{background:#080712ee!important}
.sticker-opening-stage{background:linear-gradient(145deg,#1a1130,#0b1629)!important;border-color:#8f56ed70!important;border-radius:14px!important}
.sticker-roller-wrap{background:#0b1122!important;border-color:#7a4fb290!important}
.sticker-roll-card{background:linear-gradient(160deg,#251639,#111c2d)!important}
.sticker-opening-status,.sticker-prize>span{color:#c1abd9!important}
.sticker-opening-overlay[hidden]{display:none!important}
/* Responsive: maintain readability on smaller devices. */
@media(max-width:1150px){.feh-home .feh-premium-grid,.feh-premium-page .feh-premium-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.feh-home .feh-case-art{height:138px}}
@media(max-width:850px){.feh-home .feh-premium-grid,.feh-premium-page .feh-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feh-home .feh-promo{height:170px}}
@media(max-width:600px){.feh-home .feh-promo{height:145px}.feh-home .feh-promo-copy strong{font-size:23px}.feh-home .feh-case-art,.feh-premium-page .feh-case-art{height:128px}.febp-page .febp-tracks{grid-template-columns:77px repeat(35,130px);grid-template-rows:149px 149px 35px;gap:6px}}
@media(prefers-reduced-motion:reduce){.feh-home .feh-promo-battle img{animation:none!important}}

.febp-page .febp-random-silhouette{display:grid;place-items:center;width:80%;height:72%;border-radius:8px;background:linear-gradient(140deg,#223051,#16132c);border:1px solid #30dfdd66;font-size:38px;color:#27eeee;text-shadow:0 0 12px #36efff}
