/* panels-economy.css — Store, Daily, VIP, Passes, Radar, Arena (prefix ec-). Tokens from style.css / panels.css. */
:root { --ec-ruby: #ff4f8b; --ec-ruby2: #a3124a; --ec-dark: #0b110d; }

/* ---------- shared bits ---------- */
.ec-btn { min-height: 44px; padding: 8px 14px; border-radius: 12px; font-weight: 800; letter-spacing: .02em; background: linear-gradient(#34463a, #223028); border: 1px solid #4a6352; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 0 rgba(0,0,0,.45); transition: transform .08s, filter .15s; white-space: nowrap; }
.ec-btn:active:not([disabled]) { transform: translateY(1px) scale(.98); }
.ec-btn[disabled] { filter: grayscale(1) brightness(.7); cursor: default; }
.ec-btn.gold { background: linear-gradient(#ffd97a, #e3a12f 55%, #b8761a); border-color: #ffe7a6; color: #2a1a03; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.ec-btn.red { background: linear-gradient(#ff7a62, #d0412f 55%, #8f2318); border-color: #ffab9c; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.5); }
.ec-btn.ghost { background: rgba(0,0,0,.3); box-shadow: none; }
.ec-btn.sm { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.ec-btn.wide { width: 100%; min-height: 54px; font-size: 17px; margin-top: 12px; }
.ec-btn.pulse { animation: ecPulse 1.4s ease-in-out infinite; }
@keyframes ecPulse { 50% { box-shadow: 0 0 0 4px rgba(255,210,110,.25), 0 0 22px rgba(255,190,70,.6); transform: scale(1.02); } }

.ec-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ec-rc { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.ec-chips.tiny { gap: 2px; justify-content: center; }
.ec-chips.tiny .ec-rc { font-size: 10px; padding: 0 4px; border: 0; background: rgba(0,0,0,.35); }

.ec-wallet { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 4px 0 6px; border-radius: 999px; background: linear-gradient(#3a0f22, #1c0712); border: 1px solid var(--ec-ruby); box-shadow: 0 0 10px rgba(255,79,139,.35), inset 0 1px 0 rgba(255,255,255,.15); font-size: 14px; }
.ec-wallet b { color: #ffd1e1; padding-right: 6px; }
.ec-wallet .gem { font-size: 18px; filter: drop-shadow(0 0 4px var(--ec-ruby)); }
.ec-wallet .plus { width: 28px; height: 28px; min-height: 0; padding: 0; border-radius: 50%; background: linear-gradient(#7ee08a, #2f9d4a); border: 1px solid #c9ffd0; color: #062b0e; font-weight: 900; line-height: 1; }
.ec-wallet::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); animation: ecShine 3.2s ease-in-out infinite; pointer-events: none; }
.pn-title .ec-wallet { height: 30px; font-size: 12px; margin-right: 2px; }
.pn-title:has(.ec-wallet) { grid-template-columns: 44px 1fr minmax(44px, auto); }
@keyframes ecShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

.ec-tabs button { font-weight: 700; }
.ec-sec-row { display: flex; justify-content: space-between; align-items: center; }
.ec-c { text-align: center; }
.ec-link { text-align: center; color: var(--pn-gold); font-weight: 700; padding: 14px 0 4px; cursor: pointer; }
.ec-soon { display: grid; justify-items: center; gap: 8px; padding: 50px 16px; text-align: center; background: radial-gradient(circle at 50% 30%, #2c2412, transparent 70%); }
.ec-soon .ic { font-size: 72px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.6)); animation: ecBob 2.4s ease-in-out infinite; }
.ec-soon b { font-size: 20px; color: var(--pn-gold); }
@keyframes ecBob { 50% { transform: translateY(-6px); } }
.ec-note-gold { background: linear-gradient(90deg, #4a3108, #2a1d07); border: 1px solid var(--pn-gold2); border-radius: 12px; padding: 8px 10px; font-size: 13px; font-weight: 600; color: var(--c-amber-pale); margin-bottom: 10px; }
.ec-stamp { justify-self: end; align-self: center; transform: rotate(-8deg); border: 3px solid var(--c-blood); color: #ff8a7e; font-weight: 900; letter-spacing: .1em; padding: 2px 10px; border-radius: 8px; font-size: 15px; }
.ec-ribbon { position: absolute; top: 10px; right: -30px; transform: rotate(35deg); background: linear-gradient(#ffdf7e, #d99b28); color: #3a2205; font-size: 11px; font-weight: 900; letter-spacing: .1em; padding: 3px 34px; box-shadow: 0 2px 6px rgba(0,0,0,.5); }

/* ---------- reward popup ---------- */
.ec-pop, .ec-vs { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.72); display: grid; place-items: center; padding: 16px; animation: ecFade .2s ease-out; backdrop-filter: blur(2px); }
.ec-pop.out, .ec-vs.out { opacity: 0; transition: opacity .2s; }
@keyframes ecFade { from { opacity: 0; } }
.ec-pop-card { position: relative; width: min(340px, 100%); overflow: hidden; border-radius: 20px; padding: 22px 16px 16px; text-align: center; background: linear-gradient(#3a2a10, #1a1407 60%, #120d05); border: 2px solid var(--pn-gold); box-shadow: 0 0 40px rgba(240,180,60,.45), inset 0 1px 0 rgba(255,230,160,.3); animation: ecZoom .35s cubic-bezier(.2,1.6,.4,1); display: grid; gap: 10px; }
@keyframes ecZoom { from { transform: scale(.5); opacity: 0; } }
.ec-rays { position: absolute; left: 50%; top: 40%; width: 640px; height: 640px; margin: -320px 0 0 -320px; background: repeating-conic-gradient(rgba(255,215,120,.16) 0 10deg, transparent 10deg 20deg); border-radius: 50%; animation: ecSpin 14s linear infinite; pointer-events: none; -webkit-mask: radial-gradient(circle, #000 20%, transparent 65%); mask: radial-gradient(circle, #000 20%, transparent 65%); }
.ec-rays.slow { animation-duration: 40s; }
@keyframes ecSpin { to { transform: rotate(360deg); } }
.ec-pop-title { position: relative; font-size: 22px; font-weight: 900; color: var(--c-amber-pale); text-shadow: 0 2px 0 #6b4108, 0 0 14px rgba(255,200,90,.6); text-transform: uppercase; letter-spacing: .04em; }
.ec-pop-sub { position: relative; font-size: 13px; color: #e8d6a8; }
.ec-pop-items { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ec-pop-it { width: 74px; display: grid; justify-items: center; gap: 1px; padding: 8px 2px 6px; border-radius: 12px; background: radial-gradient(circle at 50% 30%, #4a3a1a, #1a1408); border: 1px solid var(--pn-gold2); opacity: 0; transform: scale(.4); animation: ecPopIn .4s cubic-bezier(.2,1.6,.4,1) forwards; }
.ec-pop-it .ic { font-size: 30px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.ec-pop-it b { font-size: 14px; color: #fff; }
.ec-pop-it small { font-size: 9px; color: #cdb98a; text-transform: capitalize; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes ecPopIn { to { opacity: 1; transform: none; } }
.ec-pop-card .ec-btn { position: relative; min-height: 48px; font-size: 16px; }

/* ---------- store ---------- */
.ec-store-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 12px; border-radius: var(--pn-r); background: linear-gradient(120deg, #3a1230, #1a1020 60%, #16201a); border: 1px solid #7a2f6a; }
.ec-store-head .ec-wallet { height: 40px; font-size: 16px; flex: 0 0 auto; }
.ec-kicker { font-weight: 900; font-size: 16px; color: #ffd1e1; letter-spacing: .03em; }
.ec-pack { position: relative; overflow: hidden; display: grid; gap: 8px; margin-bottom: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(150deg, var(--c), #141a16 75%); border: 2px solid color-mix(in srgb, var(--c) 60%, #fff 25%); box-shadow: 0 6px 16px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18); }
.ec-pack .top { display: flex; align-items: center; gap: 10px; }
.ec-pack .big { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 32px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 -4px 0 rgba(0,0,0,.3); }
.ec-pack .grow, .ec-item .grow, .ec-mis .grow, .ec-opp .grow, .ec-hist .grow, .ec-chestcard .grow, .ec-pass .grow, .ec-vipcard .grow, .ec-arena-head .grow, .ec-radar-head .grow { flex: 1; min-width: 0; }
.ec-pack .nm { font-size: 18px; font-weight: 900; text-shadow: 0 2px 2px rgba(0,0,0,.6); }
.ec-pack .lim { display: inline-block; margin-top: 2px; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.45); border-radius: 999px; padding: 1px 8px; color: var(--c-amber-pale); }
.ec-pack .cont { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.ec-tile { display: grid; justify-items: center; padding: 6px 2px 4px; border-radius: 10px; background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.12); }
.ec-tile .ic { font-size: 22px; }
.ec-tile b { font-size: 12px; }
.ec-pack .buy { justify-self: stretch; min-height: 48px; font-size: 17px; background: linear-gradient(#ff8ab0, #e0336f 55%, #9a1446); border-color: #ffc2d6; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.5); }
.ec-pack.out { filter: saturate(.35) brightness(.75); }
.ec-rubygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ec-ruby { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 2px; padding: 14px 8px 10px; border-radius: 16px; background: radial-gradient(circle at 50% 25%, #5a1a3a, #1e0b16 70%); border: 2px solid #b0306a; box-shadow: 0 4px 12px rgba(0,0,0,.4), inset 0 0 18px rgba(255,79,139,.15); text-align: center; }
.ec-ruby .pile { height: 50px; display: grid; place-items: center; filter: drop-shadow(0 0 8px rgba(255,79,139,.7)); }
.ec-ruby .amt { font-size: 22px; font-weight: 900; color: #fff; text-shadow: 0 2px 0 #6b0a30; }
.ec-ruby .bonus { font-size: 12px; font-weight: 800; color: #7ee08a; }
.ec-ruby .nm { font-size: 11px; color: #e3b5c8; margin-bottom: 6px; }
.ec-x2 { position: absolute; top: 6px; left: 6px; background: linear-gradient(#ffdf7e, #d99b28); color: #3a2205; font-size: 11px; font-weight: 900; border-radius: 8px; padding: 1px 6px; transform: rotate(-8deg); }
.ec-tag { position: relative; width: 100%; min-height: 42px; display: flex; justify-content: center; align-items: center; gap: 8px; border-radius: 10px 10px 10px 10px; background: linear-gradient(#7ee08a, #2f9d4a 60%, #1d6a30); border: 1px solid #c9ffd0; color: #062b0e; font-weight: 900; font-size: 16px; box-shadow: 0 2px 0 rgba(0,0,0,.4); clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); padding-left: 16px; }
.ec-tag s { font-size: 12px; font-weight: 700; color: #134a20; opacity: .8; }
.ec-tag.done { background: #26302a; border-color: #3c4a40; color: #8fe09a; font-size: 13px; }
.ec-ruby.done { filter: saturate(.3); border-color: #4a3a42; }
.ec-ruby.done .pile { filter: grayscale(.7); }
.ec-item { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 8px; border-radius: 14px; background: linear-gradient(#1f2a22, #172019); border: 1px solid var(--line); flex-wrap: wrap; }
.ec-item .ic { position: relative; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; font-size: 26px; background: radial-gradient(circle at 40% 30%, #3a4a3e, var(--c-ink)); border: 1px solid var(--pn-gold2); }
.ec-item .ic i { position: absolute; bottom: -4px; right: -6px; font-size: 10px; font-style: normal; font-weight: 800; background: var(--pn-gold); color: var(--c-amber-ink); border-radius: 6px; padding: 0 4px; }
.ec-item .nm { font-weight: 700; font-size: 14px; }
.ec-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--c-ink); }
.ec-step button { min-height: 36px; min-width: 34px; padding: 0 8px; border: 0; border-radius: 0; font-weight: 900; font-size: 16px; }
.ec-step button.x10 { font-size: 11px; color: var(--pn-gold); border-left: 1px solid var(--line); }
.ec-step span { min-width: 28px; text-align: center; font-weight: 800; }
.ec-step .ec-qty { width: 42px; min-height: 36px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; text-align: center; -moz-appearance: textfield; }
.ec-step .ec-qty::-webkit-outer-spin-button, .ec-step .ec-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ec-step .ec-qty:focus { outline: 2px solid var(--pn-gold); outline-offset: -2px; }
.ec-item .buy { margin-left: auto; min-width: 86px; }
.ec-item > .grow { flex: 1 1 150px; } /* narrow phones: name keeps its width, the stepper + buy button wrap below */
@media (max-width: 400px) { .ec-item .ec-step { margin-left: 54px; } }

/* ---------- daily ---------- */
.ec-daily-head { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 10px; border-radius: var(--pn-r); background: linear-gradient(120deg, #5a1d10, #2a1208 60%, #16201a); border: 1px solid #c2582f; }
.ec-daily-head .flame { font-size: 38px; animation: ecFlicker 1.2s ease-in-out infinite; filter: drop-shadow(0 0 10px #ff7a2a); }
.ec-daily-head .big { font-size: 20px; font-weight: 900; color: #ffc48a; }
@keyframes ecFlicker { 50% { transform: scale(1.12) rotate(-4deg); } }
.ec-cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ec-day { position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; min-height: 104px; padding: 6px 3px; border-radius: 12px; background: linear-gradient(#253229, #151d17); border: 1px solid var(--line); text-align: center; }
.ec-day .dn { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.ec-day .ic { font-size: 32px; line-height: 1.2; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.ec-day.big { grid-column: span 2; background: linear-gradient(135deg, #4a2a08, #1d150a); border-color: var(--pn-gold2); }
.ec-day.big .ic { font-size: 44px; }
.ec-day.done { background: linear-gradient(#1f4a2a, #12261a); border-color: #3f8f52; }
.ec-day.done .ic { opacity: .55; }
.ec-day .ck { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 900; color: #7ee08a; text-shadow: 0 2px 6px #000; }
.ec-day.today { border: 2px solid var(--pn-gold); background: linear-gradient(#5a3f10, #2a1d07); animation: ecGlow 1.2s ease-in-out infinite; }
.ec-day.today .dn { color: var(--c-amber-pale); }
.ec-day.today .ic { animation: ecBob 1.2s ease-in-out infinite; }
.ec-day.future { filter: brightness(.85); }
@keyframes ecGlow { 50% { box-shadow: 0 0 18px rgba(255,200,80,.75); transform: scale(1.04); } }
.ec-claimed { margin-top: 12px; text-align: center; padding: 12px; border-radius: 12px; background: #12261a; border: 1px solid #3f8f52; color: #9fe8aa; font-weight: 700; }
.ec-chestcard { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 16px; background: radial-gradient(circle at 20% 50%, #4a2a6a, #1a1226 55%, #16201a); border: 2px solid #9a6ad0; box-shadow: 0 0 18px rgba(154,106,208,.25); }
.ec-chestcard .nm { font-size: 17px; font-weight: 900; color: #e6d0ff; }
.ec-chestcard .ec-btn { margin-top: 6px; }
.ec-chestcard.done { border-color: #4a3a5a; box-shadow: none; }
/* CSS treasure chest */
.ec-chest { position: relative; width: 84px; height: 72px; flex: 0 0 auto; }
.ec-chest .base { position: absolute; left: 4px; right: 4px; bottom: 0; height: 40px; border-radius: 4px 4px 8px 8px; background: linear-gradient(90deg, transparent 18%, #d9a63a 18% 26%, transparent 26% 74%, #d9a63a 74% 82%, transparent 82%), linear-gradient(#8a3fd0, #4a1880); border: 2px solid #2a0c48; box-shadow: inset 0 -5px 0 rgba(0,0,0,.3); }
.ec-chest .lid { position: absolute; left: 2px; right: 2px; top: 6px; height: 30px; border-radius: 40px 40px 4px 4px; background: linear-gradient(90deg, transparent 18%, #f0c75a 18% 26%, transparent 26% 74%, #f0c75a 74% 82%, transparent 82%), linear-gradient(#b06ae8, #6a2aa8); border: 2px solid #2a0c48; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3,1.6,.5,1); z-index: 2; }
.ec-chest .lock { position: absolute; left: 50%; top: 28px; width: 16px; height: 18px; margin-left: -8px; border-radius: 4px; background: linear-gradient(var(--c-amber-pale), var(--c-amber-lo)); border: 2px solid #5a3a08; z-index: 3; transition: opacity .2s; }
.ec-chest .glow { position: absolute; left: 50%; top: 40%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 30px 18px rgba(255,220,120,.0); opacity: 0; transition: all .4s; }
.ec-chest:not(.open) { animation: ecWiggle 2.6s ease-in-out infinite; }
.ec-chest.shake { animation: ecShake .12s linear infinite; }
.ec-chest.open .lid { transform: translateY(-12px) rotate(-28deg) translateX(-8px); }
.ec-chest.open .lock { opacity: 0; }
.ec-chest.burst .glow { opacity: 1; box-shadow: 0 0 40px 26px rgba(255,220,120,.85); }
.ec-chestcard.done .ec-chest { filter: grayscale(.6) brightness(.8); }
@keyframes ecWiggle { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-6deg); } 90% { transform: rotate(6deg); } 95% { transform: rotate(-3deg); } }
@keyframes ecShake { 25% { transform: translate(-2px, 1px) rotate(-3deg); } 75% { transform: translate(2px, -1px) rotate(3deg); } }

/* ---------- VIP ---------- */
.ec-viphero { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 6px; padding: 18px 14px 14px; margin-bottom: 4px; border-radius: 18px; background: radial-gradient(circle at 50% 30%, #5a3f10, #1d150a 65%); border: 2px solid var(--pn-gold); box-shadow: 0 0 24px rgba(240,180,60,.25); text-align: center; }
.ec-viphero > * { position: relative; }
.ec-viphero .ec-rays { top: 32%; }
.ec-viphero .pts { font-weight: 800; color: var(--c-amber-pale); }
.ec-viphero .ec-fat { width: 100%; height: 14px; border-radius: 8px; border-color: var(--pn-gold2); }
.ec-emblem { position: relative; display: grid; justify-items: center; }
.ec-emblem .crown { font-size: 34px; margin-bottom: -14px; z-index: 2; filter: drop-shadow(0 3px 3px rgba(0,0,0,.6)); }
.ec-emblem .shield { width: 96px; height: 110px; display: grid; place-content: center; text-align: center; clip-path: polygon(50% 0, 100% 14%, 100% 55%, 50% 100%, 0 55%, 0 14%); background: radial-gradient(circle at 50% 30%, #ffe9a8, #e0a43a 45%, #8d5f12 90%); box-shadow: inset 0 0 0 4px rgba(0,0,0,.2); }
.ec-emblem .shield small { font-size: 13px; font-weight: 900; letter-spacing: .15em; color: #4a2c05; }
.ec-emblem .shield b { font-size: 44px; line-height: .9; font-weight: 900; color: #fff; text-shadow: 0 3px 0 #7a4a08, 0 0 12px rgba(255,255,255,.6); }
.ec-emblem.t2 .shield { background: radial-gradient(circle at 50% 30%, #ffd0f0, #d04ab0 45%, #5a1050 90%); }
.ec-emblem.t2 .shield small { color: #3a0430; }
.ec-emblem.t3 .shield { background: radial-gradient(circle at 50% 30%, #e0fbff, #3ac0e0 45%, #0a4a6a 90%); }
.ec-emblem.t3 .shield small { color: #022a3a; }
.ec-emblem.big .shield { animation: ecFloat 3s ease-in-out infinite; }
@keyframes ecFloat { 50% { transform: translateY(-4px); filter: brightness(1.12); } }
.ec-emblem.sm .crown { font-size: 18px; margin-bottom: -8px; }
.ec-emblem.sm .shield { width: 46px; height: 54px; }
.ec-emblem.sm .shield small { font-size: 7px; }
.ec-emblem.sm .shield b { font-size: 20px; }
.ec-vipcard { border-radius: 16px; padding: 10px; background: linear-gradient(#232b20, #151b14); border: 2px solid var(--line); }
.ec-vipcard.cur { border-color: var(--pn-gold); box-shadow: 0 0 18px rgba(240,180,60,.3); }
.ec-vipcard.got { border-color: #3f8f52; }
.ec-vipcard .hd { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin-bottom: 8px; }
.ec-vipcard .nav { width: 44px; height: 44px; padding: 0; font-size: 26px; border-radius: 50%; color: var(--pn-gold); }
.ec-vipcard .mid { display: flex; justify-content: center; align-items: center; gap: 10px; }
.ec-vipcard .nm { font-size: 20px; font-weight: 900; color: var(--c-amber-pale); }
.ec-vipcard .st { font-size: 12px; font-weight: 700; color: var(--muted); }
.ec-vipcard.cur .st { color: var(--pn-gold); }
.ec-vipcard.got .st { color: var(--good); }
.ec-vipcard .buffs { display: grid; gap: 4px; }
.ec-vipcard .bf { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: rgba(0,0,0,.3); }
.ec-vipcard .bf .ic { width: 22px; text-align: center; }
.ec-vipcard .bf b { color: var(--good); }
.ec-vipcard .bf.zero { opacity: .45; }
.ec-vipcard .bf.zero b { color: var(--muted); }
.ec-vipcard .bf.up { background: linear-gradient(90deg, rgba(240,180,60,.18), rgba(0,0,0,.3)); }
.ec-vipcard .bf .new { font-style: normal; font-size: 9px; font-weight: 900; background: var(--bad); color: #fff; border-radius: 6px; padding: 1px 4px; }
.ec-vipcard.lock .buffs { filter: saturate(.5); }
.ec-vipcard .chest { margin-top: 8px; font-size: 12px; text-align: center; color: #d8c08a; }
.ec-dots { display: flex; justify-content: space-between; gap: 2px; margin: 10px 0 14px; }
.ec-dots button { width: 28px; height: 28px; min-height: 0; padding: 0; border-radius: 50%; font-size: 11px; font-weight: 800; background: #1a221c; color: var(--muted); }
.ec-dots button.got { background: #3a2a0a; color: var(--c-amber-pale); border-color: var(--pn-gold2); }
.ec-dots button.cur { box-shadow: 0 0 0 2px var(--pn-gold), 0 0 10px rgba(240,180,60,.7); }
.ec-dots button.sel { background: var(--pn-gold); color: var(--c-amber-ink); transform: scale(1.15); }

/* ---------- passes ---------- */
.ec-banner { padding: 12px; margin-bottom: 12px; border-radius: var(--pn-r); background: linear-gradient(120deg, #173a66, #16201a 70%); border: 1px solid #3f8fd9; }
.ec-banner b { font-size: 16px; color: #bfe0ff; }
.ec-pass { margin-bottom: 14px; padding: 12px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 55%, #000), #141a16 70%); border: 2px solid var(--c); box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.ec-pass.active { box-shadow: 0 0 20px color-mix(in srgb, var(--c) 60%, transparent); }
.ec-pass .hd { display: flex; align-items: center; gap: 10px; }
.ec-pass .hd > .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2); }
.ec-pass .nm { font-size: 18px; font-weight: 900; }
.ec-pass .buy { min-width: 92px; }
.ec-active { display: grid; justify-items: center; font-weight: 900; color: #7ee08a; font-size: 13px; background: rgba(0,0,0,.4); border: 1px solid #3f8f52; border-radius: 10px; padding: 4px 8px; }
.ec-active small { font-size: 10px; color: var(--muted); font-weight: 600; }
.ec-pass .prog { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 6px; font-size: 13px; }
.ec-pass .prog b { color: var(--pn-gold); }
.ec-track { display: flex; gap: 6px; overflow-x: auto; padding: 6px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ec-pday { position: relative; flex: 0 0 70px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 6px 3px 4px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); text-align: center; }
.ec-pday .dn { font-size: 10px; font-weight: 800; color: var(--muted); }
.ec-pday .ic { font-size: 26px; }
.ec-pday .st { font-size: 11px; font-weight: 900; margin-top: auto; }
.ec-pday.star { background: linear-gradient(#4a3108, rgba(0,0,0,.5)); border-color: var(--pn-gold2); }
.ec-pday.done { background: #12261a; border-color: #3f8f52; }
.ec-pday.done .ic, .ec-pday.done .ec-chips { opacity: .45; }
.ec-pday.done .st { color: #7ee08a; font-size: 16px; }
.ec-pday.avail { cursor: pointer; border: 2px solid var(--pn-gold); background: linear-gradient(#5a3f10, #2a1d07); animation: ecGlow 1.2s ease-in-out infinite; }
.ec-pday.avail .st { background: var(--pn-gold); color: var(--c-amber-ink); border-radius: 6px; padding: 0 6px; }
.ec-pday.lock { filter: brightness(.65); }

/* ---------- radar ---------- */
.ec-radar-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--pn-r); background: linear-gradient(120deg, #0f3a22, #16201a 70%); border: 1px solid #2f9d5f; }
.ec-radar-head .lv { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; display: grid; place-content: center; text-align: center; font-size: 22px; font-weight: 900; line-height: 1; color: #c9ffd8; background: radial-gradient(circle at 40% 35%, #2f9d5f, #0b2a16); border: 2px solid #7ee0a0; box-shadow: 0 0 12px rgba(94,196,107,.5); }
.ec-radar-head .lv small { font-size: 9px; letter-spacing: .1em; }
.ec-radar-head .row1 { display: flex; justify-content: space-between; }
.ec-scope-wrap { margin: 12px 0; }
.ec-scope { position: relative; width: min(300px, 82vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, #0f3320, #071a0e 70%, #03100a); border: 3px solid #2f9d5f; box-shadow: 0 0 24px rgba(94,196,107,.35), inset 0 0 40px rgba(0,0,0,.8); }
.ec-scope .rings { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 calc(16.66% - 1px), rgba(126,224,160,.25) calc(16.66% - 1px) 16.66%), linear-gradient(transparent calc(50% - .5px), rgba(126,224,160,.25) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(90deg, transparent calc(50% - .5px), rgba(126,224,160,.25) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)); pointer-events: none; }
.ec-scope .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(126,255,170,.55), rgba(126,255,170,.12) 40deg, transparent 90deg); animation: ecSpin 4s linear infinite; pointer-events: none; }
.ec-scope .base { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 22px; filter: drop-shadow(0 0 6px #7ee0a0); }
.ec-scope .blip { position: absolute; width: 34px; height: 34px; margin: -17px; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.ec-scope .blip span { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: color-mix(in srgb, var(--c) 45%, #000); border: 2px solid var(--c); box-shadow: 0 0 10px var(--c); }
.ec-scope .blip i { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--c); animation: ecPing 1.6s ease-out infinite; }
.ec-scope .blip.done { opacity: .35; filter: grayscale(1); }
.ec-scope .blip.done i { display: none; }
@keyframes ecPing { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.ec-legend { display: flex; justify-content: center; gap: 10px; margin-top: 8px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.ec-legend span { border-bottom: 2px solid var(--c); padding-bottom: 1px; }
.ec-radar-acts { display: flex; align-items: center; gap: 8px; }
.ec-radar-acts .q { display: grid; justify-items: center; line-height: 1.05; min-width: 64px; }
.ec-radar-acts .q b { font-size: 20px; color: #7ee0a0; }
.ec-radar-acts .q small { font-size: 9px; color: var(--muted); text-align: center; }
.ec-radar-acts .gold { flex: 1; }
.ec-mis { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border-radius: 14px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 22%, var(--c-panel)), #172019 60%); border: 1px solid color-mix(in srgb, var(--c) 50%, var(--line)); border-left: 4px solid var(--c); transition: box-shadow .3s; }
.ec-mis .ic { position: relative; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: rgba(0,0,0,.4); border: 1px solid var(--c); }
.ec-mis .ic i { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); font-size: 9px; font-style: normal; font-weight: 900; background: var(--c); color: #000; border-radius: 6px; padding: 0 4px; white-space: nowrap; }
.ec-mis .nm { font-weight: 800; font-size: 14px; }
.ec-mis .meta { display: flex; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); margin: 2px 0 4px; }
.ec-mis .ty { font-weight: 800; color: var(--c); text-transform: uppercase; font-size: 10px; }
.ec-mis .ec-chips.tiny { justify-content: flex-start; }
.ec-mis.done { opacity: .5; filter: grayscale(.6); }
.ec-mis.flash { box-shadow: 0 0 0 2px var(--c), 0 0 18px var(--c); }
.ec-done { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #7ee08a; border: 2px solid #3f8f52; }

/* ---------- arena ---------- */
.ec-arena-head { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: radial-gradient(circle at 15% 50%, color-mix(in srgb, var(--m) 35%, #000), #1a1210 60%, #16201a); border: 2px solid var(--m); box-shadow: 0 0 22px color-mix(in srgb, var(--m) 35%, transparent); }
.ec-arena-head .pts { font-size: 30px; font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 2px 0 rgba(0,0,0,.6); }
.ec-arena-head .pts small { font-size: 13px; color: var(--muted); }
.ec-arena-head .stats { display: flex; gap: 12px; margin: 6px 0 4px; font-size: 14px; }
.ec-arena-head .stats b { color: var(--pn-gold); }
.ec-medal { position: relative; width: 84px; height: 100px; flex: 0 0 auto; display: grid; justify-items: center; }
.ec-medal .rib { position: absolute; top: 0; width: 22px; height: 40px; background: linear-gradient(#c2443c, #7a1a14); }
.ec-medal .rib.l { left: 20px; transform: skewX(14deg); }
.ec-medal .rib.r { right: 20px; transform: skewX(-14deg); background: linear-gradient(#2f6fa8, #173a66); }
.ec-medal .disc { position: relative; margin-top: 18px; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff 0, var(--m) 30%, color-mix(in srgb, var(--m) 50%, #000) 95%); border: 3px solid color-mix(in srgb, var(--m) 60%, #fff); box-shadow: 0 4px 10px rgba(0,0,0,.6), inset 0 0 0 4px rgba(0,0,0,.18), 0 0 18px var(--m); font-size: 30px; }
.ec-medal .disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 250% 100%; animation: ecMedal 3.5s ease-in-out infinite; }
@keyframes ecMedal { 0%, 60% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.ec-medal .lg { position: absolute; bottom: 0; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; background: rgba(0,0,0,.75); border: 1px solid var(--m); color: var(--m); border-radius: 999px; padding: 0 8px; }
.ec-claim-season { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: linear-gradient(90deg, #5a3f10, #2a1d07); border: 1px solid var(--pn-gold); font-weight: 800; color: var(--c-amber-pale); }
.ec-lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ec-lineup .slot { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 14px; background: linear-gradient(#2a2410, #151b14); border: 2px solid var(--pn-gold2); cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.ec-lineup .slot img.pn-portrait, .ec-lineup .slot .pn-portrait-fallback { border-radius: 14px; border: 2px solid var(--pn-gold); }
.ec-lineup .slot .nm { font-size: 12px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-lineup .slot > i { position: absolute; top: 4px; left: 6px; font-style: normal; font-size: 11px; font-weight: 900; color: var(--pn-gold); }
.ec-lineup .slot.empty { border-style: dashed; border-color: var(--line); }
.ec-lineup.five { grid-template-columns: repeat(var(--n, 5), 1fr); gap: 5px; }
.ec-lineup.five .slot { padding: 14px 2px 6px; border-radius: 11px; }
.ec-lineup.five .slot .nm { font-size: 10px; }
.ec-lineup.five .plus { width: 52px; height: 52px; font-size: 26px; border-radius: 11px; }
.ec-bracket { margin-top: 6px; }
.ec-lineup .plus { width: 76px; height: 76px; border-radius: 14px; display: grid; place-items: center; font-size: 36px; color: var(--pn-gold); background: rgba(0,0,0,.35); border: 2px dashed var(--pn-gold2); }
.ec-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.ec-pick-h { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: var(--panel2); border: 2px solid var(--line); cursor: pointer; text-align: center; }
.ec-pick-h img.pn-portrait, .ec-pick-h .pn-portrait-fallback { border-radius: 12px; }
.ec-pick-h .nm { font-size: 12px; font-weight: 800; }
.ec-pick-h .pw { font-size: 11px; color: var(--pn-gold); }
.ec-pick-h > i { position: absolute; top: 4px; right: 6px; font-style: normal; font-size: 11px; font-weight: 900; background: var(--pn-gold); color: var(--c-amber-ink); border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; }
.ec-pick-h.sel { border-color: var(--good); box-shadow: 0 0 10px rgba(94,196,107,.5); }
.ec-pick-h.used { opacity: .7; }
.ec-opp { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 14px; background: linear-gradient(90deg, #2a1614, #172019 70%); border: 1px solid #5a2a24; }
.ec-opp .nm { font-weight: 900; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.ec-npc { font-size: 9px; font-weight: 900; letter-spacing: .08em; background: #4a4f5a; color: #e0e6ee; border-radius: 6px; padding: 1px 5px; }
.ec-opp .meta { display: flex; gap: 10px; font-size: 12px; color: var(--muted); margin: 2px 0 4px; }
.ec-opp .hs { display: flex; gap: 4px; }
.ec-opp .hs img.pn-portrait, .ec-opp .hs .pn-portrait-fallback { border-radius: 8px; border-width: 1px; }
.ec-opp .fight { min-width: 78px; min-height: 46px; font-size: 15px; }
.ec-hist { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.ec-hist .r { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; }
.ec-hist.w .r { background: #1f4a2a; color: #7ee08a; }
.ec-hist.l .r { background: #4a1f1a; color: #ff8a7e; }
.ec-hist.w .d { color: #7ee08a; }
.ec-hist.l .d { color: #ff8a7e; }
/* VS overlay */
.ec-vs-card { position: relative; width: min(360px, 100%); display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 18px 12px 14px; border-radius: 20px; background: linear-gradient(100deg, #173a66 0%, #101820 48%, #101820 52%, #661a17 100%); border: 2px solid #ffffff30; box-shadow: 0 0 40px rgba(0,0,0,.6); animation: ecZoom .35s cubic-bezier(.2,1.6,.4,1); text-align: center; overflow: hidden; }
.ec-vs-card .side { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.ec-vs-card .side .nm { font-weight: 900; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-vs-card .side .hs { display: grid; gap: 4px; }
.ec-vs-card .side img.pn-portrait, .ec-vs-card .side .pn-portrait-fallback { border-radius: 10px; }
.ec-vs-card .side.me { animation: ecSlideL .45s ease-out; }
.ec-vs-card .side.op { animation: ecSlideR .45s ease-out; }
.ec-vs-card .side .pw { font-size: 12px; font-weight: 800; color: var(--pn-gold); }
.ec-vs-card .vs { font-size: 34px; font-weight: 900; font-style: italic; color: var(--c-amber-pale); text-shadow: 0 0 14px #ff9a2a, 0 3px 0 #7a2a08; }
.ec-vs-card .stamp { grid-column: 1 / -1; justify-self: center; font-size: 52px; font-weight: 900; letter-spacing: .08em; padding: 0 18px; border: 5px solid; border-radius: 14px; transform: rotate(-8deg); animation: ecStamp .5s .35s cubic-bezier(.2,1.8,.4,1) both; }
.ec-vs.win .stamp { color: #ffd84a; border-color: #ffd84a; text-shadow: 0 0 18px rgba(255,216,74,.8); box-shadow: 0 0 22px rgba(255,216,74,.5); }
.ec-vs.lose .stamp { color: #ff6a5a; border-color: #ff6a5a; text-shadow: 0 0 18px rgba(255,106,90,.6); }
.ec-vs-card .delta { grid-column: 1 / -1; font-size: 22px; font-weight: 900; display: grid; }
.ec-vs.win .delta { color: #7ee08a; }
.ec-vs.lose .delta { color: #ff8a7e; }
.ec-vs-card .delta small { font-size: 12px; font-weight: 600; color: var(--muted); }
.ec-vs-card > .ec-btn { grid-column: 1 / -1; min-height: 48px; }
@keyframes ecStamp { from { transform: rotate(-8deg) scale(3); opacity: 0; } }
@keyframes ecSlideL { from { transform: translateX(-60px); opacity: 0; } }
@keyframes ecSlideR { from { transform: translateX(60px); opacity: 0; } }
/* Radar as a night field seen from above: the camp in the middle, mission pins around it */
.ec-scope { width: 100%; aspect-ratio: auto; height: min(58vh, 460px); border-radius: 18px; border: 2px solid #2b4f73;
  background: radial-gradient(ellipse at 50% 55%, #2a5a86 0%, #17364f 45%, #0c1f30 100%); box-shadow: inset 0 0 60px rgba(0,0,0,.7); }
.ec-scope::before { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(circle at 22% 30%, rgba(10,25,38,.9) 0 3%, transparent 4%), radial-gradient(circle at 70% 18%, rgba(10,25,38,.9) 0 4%, transparent 5%), radial-gradient(circle at 82% 66%, rgba(10,25,38,.9) 0 3%, transparent 4%),
    radial-gradient(circle at 34% 78%, rgba(10,25,38,.9) 0 4%, transparent 5%), radial-gradient(circle at 55% 40%, rgba(120,170,210,.25) 0 14%, transparent 30%); }
.ec-scope .rings { border-radius: 18px; opacity: .35; }
.ec-scope .sweep { inset: -40%; border-radius: 50%; opacity: .45; }
.ec-scope .base { font-size: 34px; filter: drop-shadow(0 0 14px #ffd27a); }
.ec-scope .blip { width: 44px; height: 54px; margin: -50px -22px 0; }
.ec-scope .blip span { width: 38px; height: 38px; font-size: 19px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 4px 8px rgba(0,0,0,.5); }
.ec-scope .blip span::after { content: ''; position: absolute; left: 50%; bottom: -11px; margin-left: -7px; border: 7px solid transparent; border-top: 10px solid #fff; border-bottom: 0; }
.ec-scope .blip i { inset: auto 12px -4px 12px; height: 8px; border-radius: 50%; border: 0; background: rgba(0,0,0,.4); animation: none; }
.ec-mis-text { font-size: 14px; line-height: 1.4; margin: 2px 0 10px; opacity: .9; }

/* real-money offers (client panels-economy offerSections) */
.ec-was { opacity: .6; margin-right: 6px; font-weight: 600; }
.ec-pack.starter { box-shadow: 0 0 0 2px #ffd27a, 0 0 18px rgba(255,190,70,.35); }
.ec-fund { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ec-fstep { display: grid; gap: 2px; justify-items: center; padding: 6px 2px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.ec-fstep .cc { font-size: 11px; opacity: .8; } .ec-fstep b { font-size: 12px; white-space: nowrap; }
.ec-fstep .st { font-size: 10px; font-weight: 900; }
.ec-fstep.avail { border-color: #ffd27a; box-shadow: 0 0 10px rgba(255,200,80,.4); cursor: pointer; } .ec-fstep.avail .st { color: #ffd27a; }
.ec-fstep.done { opacity: .55; }
@media (max-width: 380px) { .ec-fund { grid-template-columns: repeat(3, 1fr); } }
.pn-section > small { margin-left: 8px; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .75; }

/* ---------- the Store, page by page (owner's reference recording 2026-10-15) ---------- */
.ds-store { background: radial-gradient(100% 45% at 50% 0%, #54402a 0%, #28251f 48%, #131613 100%); margin: -12px -12px 0; padding: 22px 12px 0; min-height: 100%; position: relative; }
.ds-store::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; z-index: 2;
  background: repeating-linear-gradient(90deg, #f28a2a 0 22px, #fff2d8 22px 44px); border-radius: 0 0 12px 12px; box-shadow: 0 4px 8px rgba(0,0,0,.35);
  -webkit-mask: radial-gradient(circle 11px at 11px 14px, transparent 98%, #000) 0 0 / 22px 100% repeat-x; mask: radial-gradient(circle 11px at 11px 14px, transparent 98%, #000) 0 0 / 22px 100% repeat-x; }
.ds-store > .pn-title { position: relative; z-index: 1; }
.ds-banner { position: relative; overflow: hidden; display: grid; gap: 4px; min-height: 150px; margin: 6px 0 12px; padding: 14px 120px 14px 14px; border-radius: 16px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); border: 2px solid rgba(255,255,255,.25); box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.3); color: #fff; }
.ds-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 50%, rgba(255,255,255,.25), transparent 70%); pointer-events: none; }
.ds-banner h2 { margin: 0; font: 900 26px/1.05 system-ui; text-shadow: 0 2px 0 rgba(0,0,0,.45), 0 0 12px rgba(0,0,0,.3); letter-spacing: .01em; }
.ds-banner p { margin: 0; font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.5); max-width: 240px; }
.ds-timer { justify-self: start; padding: 2px 10px; border-radius: 999px; background: rgba(0,0,0,.45); font: 800 13px/1.6 system-ui; }
.ds-art { position: absolute; right: 8px; top: 50%; transform: translateY(-50%) rotate(-6deg); font-size: 96px; line-height: 1; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); z-index: 1; }
.ds-page { display: grid; gap: 12px; padding-bottom: 104px; }
.ds-card { --a: #5ac24a; --b: #2f8a2c; --h: #7ad66a; position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(#ffffff22, transparent), linear-gradient(var(--a), var(--b));
  border: 2px solid rgba(255,255,255,.35); box-shadow: 0 5px 0 rgba(0,0,0,.25), 0 8px 18px rgba(0,0,0,.35); color: #fff; }
.ds-card.t1 { --a: #4aa8f0; --b: #2a5ad0; --h: #7ac4ff; }
.ds-card.t2 { --a: #b06af0; --b: #6a2ac8; --h: #d09aff; }
.ds-card.t3 { --a: #ffc84a; --b: #e08a1a; --h: #ffe07a; }
.ds-card.out { filter: grayscale(.6) brightness(.8); }
.ds-head { padding: 8px 60px; text-align: center; font: 900 17px/1.2 system-ui; text-shadow: 0 2px 0 rgba(0,0,0,.4); background: linear-gradient(var(--h), var(--a)); border-bottom: 2px solid rgba(0,0,0,.15); }
.ds-corner { position: absolute; top: 12px; right: -30px; width: 110px; transform: rotate(40deg); text-align: center; background: linear-gradient(#ff7aa8, #d0306a); font: 900 11px/1.7 system-ui; text-shadow: 0 1px 0 rgba(0,0,0,.4); box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.ds-body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; padding: 10px; background: rgba(255,255,255,.12); margin: 8px; border-radius: 12px; }
.ds-big { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font: 900 26px/1 system-ui; text-shadow: 0 2px 0 rgba(0,0,0,.45); }
.ds-big span { font-size: 26px; }
.ds-note { grid-column: 1 / -1; font-size: 13px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.ds-tiles { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-tile { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(#ffffff, #d8d0f0); border: 2px solid #fff; box-shadow: 0 2px 0 rgba(0,0,0,.3); }
.ds-tile .ic { font-size: 28px; line-height: 1; }
.ds-tile b { position: absolute; right: 3px; bottom: 1px; font: 900 12px/1 system-ui; color: #fff; text-shadow: 0 0 3px #000, 0 1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 -1px 0 #000; }
.ds-buy { display: grid; justify-items: center; gap: 3px; }
.ds-was { font-size: 12px; font-weight: 700; opacity: .85; }
.ds-price { min-width: 110px; min-height: 42px; padding: 0 14px; border-radius: 999px; font: 900 18px/1 system-ui; color: #5a2a00; text-shadow: 0 1px 0 rgba(255,255,255,.6);
  background: linear-gradient(#fff3a0, #ffd23a 45%, #f0a01a); border: 2px solid #fff6c8; box-shadow: 0 3px 0 #a85a0a, 0 6px 10px rgba(0,0,0,.3); }
.ds-price:active { transform: translateY(2px); box-shadow: 0 1px 0 #a85a0a; }
.ds-left { font-size: 11px; font-weight: 700; opacity: .95; text-shadow: 0 1px 1px rgba(0,0,0,.5); }
.ds-sold { padding: 8px 14px; border-radius: 10px; background: rgba(0,0,0,.4); font: 900 14px/1 system-ui; letter-spacing: .08em; }
.ds-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 8px calc(8px + var(--safe-bottom, 0px));
  background: linear-gradient(#30271e, #141613); border-top: 2px solid #b76a2d; box-shadow: 0 -4px 12px rgba(0,0,0,.55); }
.ds-tabbar::-webkit-scrollbar { display: none; }
.ds-tab { position: relative; flex: none; width: 76px; min-height: 64px; padding: 4px 2px; display: grid; justify-items: center; gap: 2px; border-radius: 10px; background: transparent; border: 0; color: #fff; }
.ds-tab .ic { font-size: 30px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.ds-tab b { font: 800 11px/1.1 system-ui; text-align: center; text-shadow: 0 1px 1px rgba(0,0,0,.6); }
.ds-tab.on { background: linear-gradient(#f6bd53, #b65b1e); box-shadow: 0 0 0 2px #ffe0a0, 0 4px 8px rgba(0,0,0,.45); }
.ds-tab.on b { color: #38200c; text-shadow: none; }
.ds-dot { position: absolute; top: 2px; right: 8px; width: 12px; height: 12px; border-radius: 50%; background: #ff3a2a; border: 2px solid #fff; }
.ds-store .ec-pass, .ds-store .ec-pack.fund { box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.ds-store .pn-section { color: #ffe9a8; }
.ds-store.ds-giftcode .ec-store-head { background: linear-gradient(125deg,#383128,#191b18 62%,#241c14); border-color: #8c592d; }
.ds-store.ds-giftcode .ec-kicker { color: #ffd27a; }
.ds-store.ds-giftcode .ec-wallet { background: linear-gradient(#30271d,#171714); border-color: #b77737; box-shadow: 0 0 10px #d17a3033,inset 0 1px 0 #ffffff26; }
.ds-store.ds-giftcode .ec-wallet b { color: #ffe1a4; }
.ds-store.ds-giftcode .ec-wallet .gem { filter: sepia(1) saturate(2) hue-rotate(340deg) drop-shadow(0 0 4px #d98932); }
.ds-store.ds-giftcode .ds-tab .ic { filter: sepia(.85) saturate(1.7) hue-rotate(340deg) drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.ds-code-card { padding: 18px; border-radius: 16px; color: #f6ead7; text-align: center; background: radial-gradient(ellipse at 50% 0%,#55432c99,transparent 65%), repeating-linear-gradient(135deg,#ffffff08 0 2px,transparent 2px 9px), linear-gradient(145deg,#34312a,#1b1e1a 70%,#111613); border: 2px solid #aa6935; box-shadow: 0 6px 0 rgba(0,0,0,.4), 0 10px 22px rgba(0,0,0,.4), inset 0 1px 0 #fff3d233; }
.ds-code-tag { display: inline-block; padding: 5px 16px; border-radius: 6px; color: #ffe0a0; background: linear-gradient(#26251f,#171a17); border: 1px solid #b77a3e; font: 900 12px/1.2 system-ui; letter-spacing: .12em; box-shadow: 0 0 14px #d77c2944; }
.ds-code-card h3 { margin: 12px 0 4px; font: 900 22px/1.15 system-ui; color: #ffd27a; text-shadow: 0 2px 3px #000; }
.ds-code-card p { max-width: 440px; margin: 0 auto 16px; font-weight: 600; line-height: 1.45; color: #ddd2be; }
.ds-code-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; max-width: 420px; margin: auto; }
.ds-code-input { min-width: 0; padding: 11px 12px; border-radius: 8px; border: 2px solid #c18643; background: #211f1a; color: #ffe2a6; font: 900 16px system-ui; letter-spacing: .1em; text-transform: uppercase; box-shadow: inset 0 2px 6px #0009; }
.ds-code-form .ec-btn.gold { color: #26180c; background: linear-gradient(#ffd16e,#c36b28); border: 1px solid #ffe0a0; box-shadow: 0 3px 0 #653817, 0 5px 9px #0008; }
@media (max-width: 420px) { .ds-code-form { grid-template-columns: 1fr; } }

/* Phone-sized cards keep their reward tracks inside the card. */
.ds-page { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.ds-page > *, .ec-pass, .ec-track { min-width: 0; max-width: 100%; }
.ec-pass .hd { flex-wrap: wrap; }
.ec-pass .hd > .ic { flex-shrink: 0; }
.ec-pass .hd .grow { flex-basis: 120px; }
.ds-banner { padding-right: 110px; }
.ds-banner > :not(.ds-art) { position: relative; z-index: 2; }
@media (max-width: 420px) {
  .ds-banner { padding: 14px 82px 14px 12px; }
  .ds-art { font-size: 64px; right: 6px; }
  .ec-pass .buy, .ec-pass .ec-active { margin-left: auto; }
}
