/* Alliance Wars - lane C: quests, event, expeditions, shop, ranking, season. Portrait first (412x860). */
.q-grow { flex: 1; min-width: 0; }
.q-grow small, .sh-item small, .sh-adv small { display: block; }
.q-head { gap: 10px; margin-bottom: 10px; }
.q-head h3 { font-size: 18px; }
.q-count { font: 700 22px var(--pix); color: var(--gold); } .q-count span { color: var(--ink2); font-size: 15px; }
.q-timer { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.4); font-weight: 800; color: var(--gold); white-space: nowrap; }
.q-note { text-align: center; margin: 14px 0 4px; }
.q-prog { margin-top: 8px; gap: 8px; } .q-prog .bar { flex: 1; height: 14px; }
.q-num { font-weight: 800; font-size: 13px; min-width: 54px; text-align: right; }
.q-done { color: var(--green); font-weight: 800; }
.q-qt { font-size: 15px; } .q-qt small { color: var(--gold); }
.card.ready { border-color: var(--green); box-shadow: 0 0 0 2px rgba(79,207,110,.35), inset 0 2px 0 rgba(255,255,255,.05); }
.card.claimed { opacity: .62; }
.q-stars i { font-style: normal; color: #4a5470; font-size: 15px; letter-spacing: -1px; } .q-stars i.on { color: var(--gold); text-shadow: 0 1px 0 #6b4a0e; }

/* calendar: fills the panel down to the bottom, 7 columns x 4 rows; scrolls only when rows would drop under 66px */
.pn-body:has(.q-calwrap) { display: flex; flex-direction: column; }
.q-calwrap { flex: 1 0 auto; display: flex; flex-direction: column; gap: 10px; }
.q-calwrap .q-head { margin: 0; }
.q-cal { flex: 1 0 auto; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(66px, 1fr)); gap: 5px; }
.q-day { position: relative; min-width: 0; border-radius: 11px; background: linear-gradient(170deg, #2e3a58, #1d2538); border: 2px solid #0c1019; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 rgba(0,0,0,.35); padding: 18px 1px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; overflow: hidden; color: var(--ink); font: inherit; }
.q-dn { position: absolute; top: 0; left: 0; right: 0; font-size: 11.5px; font-weight: 800; text-align: center; background: rgba(0,0,0,.4); color: var(--ink2); line-height: 16px; }
.q-dchips { justify-content: center; } .q-dchips .chip { padding: 0; background: none; box-shadow: none; flex-direction: column; gap: 1px; font-size: 14px; }
.q-dchips .chip b { text-shadow: 0 1px 0 #000, 0 0 3px #000; line-height: 1; }
.q-cal .q-dchips .ic { width: clamp(28px, 8.4vw, 42px); height: clamp(28px, 8.4vw, 42px); filter: drop-shadow(0 2px 1px rgba(0,0,0,.55)); }
.q-day.big { background: radial-gradient(circle at 50% 60%, #6a4fa0, #2b2448 75%); border-color: #e9c76a; }
.q-cal .q-bigchest .ic { width: clamp(36px, 10.5vw, 54px); height: clamp(36px, 10.5vw, 54px); filter: drop-shadow(0 3px 2px rgba(0,0,0,.6)); }
.q-day.big .q-dn { background: rgba(233,199,106,.25); color: #ffe7a8; }
.q-day.done > :not(.q-check):not(.q-dn) { filter: saturate(.25) brightness(.55); }
.q-day.done { background: #161c2a; border-color: #1f5a33; }
.q-day.done .q-dn { background: #1f5a33; color: #c8f5d3; }
.q-check { position: absolute; inset: 16px 0 0; display: grid; place-items: center; font-size: clamp(22px, 7vw, 32px); font-weight: 900; color: #5fe07a; text-shadow: 0 2px 0 #0b2a13, 0 0 8px rgba(0,0,0,.7); }
.q-day.locked .q-dn { color: #8a93a8; }
.q-lock { position: absolute; right: 2px; bottom: 2px; opacity: .7; } .q-lock .ic { width: 13px; height: 13px; }
.q-day.today { border-color: var(--gold); background: radial-gradient(circle at 50% 60%, #6b5320, #2b2a2f 80%); box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(245,198,60,.55); z-index: 1; }
.q-day.today.claim { cursor: pointer; animation: q-glow 1.4s infinite alternate; }
.q-day.today .q-dn { background: var(--gold); color: #3b2a1a; }
.q-claimall { flex: none; min-height: 50px; font-size: 17px; }
@keyframes q-glow { to { box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(245,198,60,.9); transform: translateY(-1px); } }
@media (min-width: 560px) { .q-cal .q-dchips .ic { width: 44px; height: 44px; } .q-cal .q-bigchest .ic { width: 58px; height: 58px; } .q-dchips .chip { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .q-day.today.claim { animation: none; } }

/* achievements */
.q-seg { margin-bottom: 10px; overflow-x: auto; } .q-seg button { min-height: 40px; white-space: nowrap; padding: 7px 8px; }
.q-all { margin-bottom: 10px; }
.q-ach .muted { margin-top: 3px; }

/* story book */
.q-book { position: relative; padding: 16px 16px 14px; border-width: 3px; box-shadow: inset 0 0 0 3px rgba(139,106,62,.35), 0 6px 0 #6b4f2a; }
.q-book::before { content: ''; pointer-events: none; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 0; border-left: 2px dashed rgba(139,106,62,.0); }
.q-bhead { border-bottom: 2px solid rgba(91,62,30,.35); padding-bottom: 6px; margin-bottom: 10px; }
.q-chap { font: 700 18px var(--pix); } .q-chap small { opacity: .65; }
.q-npc { gap: 12px; } .q-npc b { font: 700 18px var(--pix); } .q-ntitle { font-size: 13px; opacity: .75; }
.q-por { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: #c9b07a; border: 3px solid #6b4f2a; }
.q-btitle { font-size: 21px; margin: 12px 0 6px; color: #5b2a12; text-align: center; }
.q-btext { font-size: 15px; line-height: 1.45; font-style: italic; margin: 0 0 12px; }
.q-task { background: rgba(91,62,30,.14); border-radius: 10px; padding: 8px 10px; } .q-task .bar { margin-top: 6px; height: 14px; }
.q-brw { margin: 10px 0 12px; } .muted-p { opacity: .7; font-weight: 800; }
.q-book .chip { background: rgba(59,42,26,.82); color: var(--ink); }
.q-past summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; cursor: pointer; list-style: none; }
.q-past summary::-webkit-details-marker { display: none; }
.q-past p { margin: 8px 0 0; font-size: 13px; }
.q-locked { margin-top: 10px; opacity: .8; }

/* event */
.ev-hero h3 { font-size: 20px; color: var(--gold); }
.ev-meta { margin-top: 10px; flex-wrap: wrap; }
.ev-track { position: relative; padding-left: 46px; }
.ev-track::before { content: ''; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 6px; border-radius: 3px; background: #11161f; }
.ev-step { position: relative; margin-bottom: 10px; }
.ev-node { position: absolute; left: -46px; top: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 17px var(--pix); background: var(--card2); border: 3px solid #11161f; }
.ev-step.claimed .ev-node { background: var(--green); color: #0b2a13; }
.ev-step.ready .ev-node { background: var(--gold); color: #3b2a1a; animation: q-pulse 1s infinite alternate; }
.ev-step.claimed .ev-card { opacity: .6; } .ev-step.ready .ev-card { border-color: var(--gold); }
.ev-claim { margin-top: 8px; }
@keyframes q-pulse { to { transform: scale(1.1); } }

/* expeditions */

/* shop */
.sh-wallet { margin-bottom: 0; } .sh-wallet b { font-size: 20px; }
.sh-bonus { gap: 10px; }
.sh-price { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; }
.sh-offer { position: relative; text-align: center; background: linear-gradient(#3b2f5e, #231d3c); border-color: #e9c76a; padding-top: 22px; }
.sh-offer .chips { justify-content: center; margin-bottom: 10px; }
.sh-offer.sold { filter: grayscale(.6); }
.sh-tag { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font: 700 13px var(--pix); padding: 2px 12px; border-radius: 0 0 10px 10px; }
.sh-chest { margin: 0 !important; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.sh-chest small { min-height: 30px; font-size: 12px; }
.sh-art { width: 72px; height: 64px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle, rgba(245,198,60,.35), transparent 70%); }
.sh-chest .btn { width: 100%; min-height: 40px; }
.sh-item { margin: 0 !important; display: flex; flex-direction: column; gap: 8px; justify-content: space-between; }
.sh-item .btn, .sh-adv .btn { min-height: 40px; }
.sh-item small { font-size: 12px; } .sh-own { color: var(--ink2); }
.sh-adv { display: flex; flex-direction: column; gap: 8px; } .sh-adv.on { border-color: var(--green); }

/* ranking */
.rk-head { gap: 10px; margin-bottom: 10px; } .rk-head small { display: block; }
.rk-ref { flex: none; }
.rk-list { display: flex; flex-direction: column; gap: 5px; }
.rk-row { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 6px 10px; border-radius: 10px; background: var(--card); border: 2px solid #11161f; text-align: left; }
.rk-row.me { background: linear-gradient(#35507e, #26385c); border-color: var(--sapph); }
.rk-name { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }
.rk-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.rk-name small { width: 100%; color: var(--mute); font-size: 12px; }
.rk-tag { color: var(--gold); font-size: 12px; font-weight: 800; }
.rk-val { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; white-space: nowrap; }
.rk-n { width: 30px; text-align: center; font: 700 15px var(--pix); color: var(--ink2); flex: none; }
.rk-medal { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 15px var(--pix); color: #3b2a1a; flex: none; border: 2px solid #1b1424; }
.rk-medal.m0 { background: linear-gradient(#ffe27a, #e09a1f); } .rk-medal.m1 { background: linear-gradient(#f1f4f8, #9aa6b8); } .rk-medal.m2 { background: linear-gradient(#f0b27a, #a8642c); }
.rk-pin { position: sticky; bottom: -20px; margin: 8px -4px 0; padding: 4px; background: var(--bg); border-top: 2px solid var(--line); }
.rk-pin.hide { display: none; }
.rk-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 6px; margin: 4px 0 12px; }
.rk-pod { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 8px 4px 0; text-align: center; }
.rk-pod b { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 6px; }
.rk-step { display: block; width: 100%; margin-top: 4px; font: 700 22px var(--pix); font-style: normal; border-radius: 10px 10px 0 0; border: 2px solid #11161f; }
.rk-pod.p0 .rk-step { height: 54px; background: linear-gradient(#ffe27a, #c98f1c); color: #3b2a1a; }
.rk-pod.p1 .rk-step { height: 38px; background: linear-gradient(#e3e8ef, #8a96a8); color: #23262e; }
.rk-pod.p2 .rk-step { height: 28px; background: linear-gradient(#f0b27a, #8f5424); color: #2b1608; }
.rk-fate { display: flex; height: 30px; border-radius: 9px; overflow: hidden; border: 2px solid #11161f; }
.rk-fate i { display: grid; place-items: center; font: 700 12px var(--pix); font-style: normal; white-space: nowrap; overflow: hidden; }
.rk-fate .up { background: #2f9c45; } .rk-fate .keep { background: #4b5878; } .rk-fate .down { background: #b8402f; }
.rk-ticks { position: relative; height: 18px; font-size: 11px; color: var(--ink2); margin-top: 2px; }
.rk-ticks span { position: absolute; transform: translateX(-50%); } .rk-ticks span:first-child { transform: none; left: 0; } .rk-ticks span:last-child { transform: translateX(-100%); }
.rk-lgs { display: flex; flex-direction: column; gap: 4px; }
.rk-lg { position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 10px; border-radius: 10px; background: var(--card); border: 2px solid #11161f; }
.rk-lg b { flex: 1; } .rk-lg .muted { font-size: 12px; }
.rk-base { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; color: var(--green); min-width: 50px; justify-content: flex-end; }
.rk-lg.me { border-color: var(--gold); background: linear-gradient(#4a3f22, #2e2816); }
.rk-you { position: absolute; left: -2px; top: -8px; background: var(--gold); color: #3b2a1a; font: 700 11px var(--pix); font-style: normal; padding: 0 6px; border-radius: 6px; }
.rk-br { width: 100%; border-collapse: collapse; font-size: 13px; }
.rk-br th { color: var(--ink2); font-size: 12px; text-align: left; padding: 4px; } .rk-br td { padding: 6px 4px; border-top: 1px solid var(--line); white-space: nowrap; }
.rk-hist + .rk-hist { margin-top: 8px; }
.rk-htop { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; } .rk-htop span { display: flex; align-items: center; gap: 6px; }

/* season flow */
.se-wrap { display: flex; flex-direction: column; gap: 14px; min-height: 100%; justify-content: center; }
.se-dots { display: flex; justify-content: center; gap: 8px; }
.se-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--card2); border: 2px solid #11161f; } .se-dots i.past { background: var(--gold2); } .se-dots i.on { background: var(--gold); transform: scale(1.25); }
.se-card { text-align: center; padding: 22px 16px; animation: pop .3s; background: linear-gradient(#26304a, #1a2234); border-color: #e9c76a; }
.se-big { display: flex; justify-content: center; margin-bottom: 10px; } .se-big .ic.xl { width: 84px; height: 84px; }
.se-title { font-size: 26px; color: var(--gold); margin: 6px 0; } .se-title.se-up { color: var(--green); } .se-title.se-down { color: var(--red); }
.se-txt { color: var(--ink2); font-size: 15px; line-height: 1.4; margin: 8px 0; }
.se-rank { font: 700 48px var(--pix); color: var(--ink); text-shadow: 0 3px 0 #0d111a; } .se-rank small { font-size: 18px; color: var(--ink2); }
.se-stats { margin-top: 12px; } .se-stats .card { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; } .se-stats b { font-size: 18px; } .se-stats small { color: var(--mute); }
.se-move { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0; }
.se-from, .se-to { display: flex; flex-direction: column; align-items: center; gap: 4px; } .se-move .ic.xl { width: 72px; height: 72px; }
.se-from { animation: se-fade 1.2s .2s both; } .se-to { animation: se-rise 1s .9s both; }
.se-arrow { font-size: 34px; animation: se-bounce .8s .6s both; } .se-up .se-arrow { color: var(--green); } .se-down .se-arrow { color: var(--red); } .se-stay .se-arrow { color: var(--ink2); }
.se-down .se-to { animation-name: se-drop; }
.se-rw { justify-content: center; margin: 18px 0 6px; } .se-rw .chip { animation: pop .4s both; } .se-rw .chip:nth-child(2) { animation-delay: .15s; } .se-rw .chip:nth-child(3) { animation-delay: .3s; }
.se-next { min-height: 52px; font-size: 18px; }
@keyframes se-fade { from { opacity: 0; transform: scale(.7); } to { opacity: .7; } }
@keyframes se-rise { from { opacity: 0; transform: translateY(40px) scale(.6); } }
@keyframes se-drop { from { opacity: 0; transform: translateY(-40px) scale(.6); } }
@keyframes se-bounce { from { opacity: 0; transform: scale(2); } }


/* ---- premium pass ---- */
.q-ico { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 35%, #3e5078, #1a2234 80%); border: 2px solid #0c1019; box-shadow: inset 0 0 0 1px rgba(233,199,106,.3), inset 0 -3px 0 rgba(0,0,0,.3); }
.q-ico .ic.lg { width: 42px; height: 42px; filter: drop-shadow(0 2px 1px rgba(0,0,0,.5)); }
.card.ready .q-ico { border-color: var(--green); box-shadow: 0 0 10px rgba(79,207,110,.4); }
.q-quest .row.sp, .q-ach > .row { align-items: center; }
.q-head > .ic.lg, .q-head > div > .ic.lg, .rk-head > .ic.lg { width: 48px; height: 48px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.q-head, .rk-head, .ev-hero { box-shadow: inset 0 0 0 1px rgba(233,199,106,.3), inset 0 1px 0 rgba(255,255,255,.1), 0 3px 0 rgba(0,0,0,.35); background: linear-gradient(160deg, #33436a, #1e263a); }
.q-head h3, .ev-hero h3 { color: #ffe7a8; text-shadow: 0 2px 0 #0b0f18; }
.q-por { width: 84px; height: 84px; background: radial-gradient(circle at 50% 35%, #e9d39c, #b89660); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.25); }
.q-por .ic.xl { width: 76px; height: 76px; }
.ev-hero .ic.xl { width: 64px; height: 64px; }
/* shop */
.sh-wallet { background: linear-gradient(160deg, #23406a, #1a2640); box-shadow: inset 0 0 0 1px rgba(95,180,255,.35), 0 3px 0 rgba(0,0,0,.35); }
.sh-wallet b { font: 700 24px var(--pix); display: inline-flex; align-items: center; gap: 6px; } .sh-wallet b .ic { width: 30px; height: 30px; }
.sh-bonus > .ic.lg { width: 52px; height: 52px; }
.sh-art { width: 100%; height: 104px; background: radial-gradient(circle at 50% 55%, rgba(245,198,60,.38), transparent 62%); }
.sh-art .ic.xl { width: 96px; height: 96px; filter: drop-shadow(0 4px 2px rgba(0,0,0,.55)); }
.sh-chest { padding-top: 6px; background: linear-gradient(175deg, #2e3a5a, #1d2539); box-shadow: inset 0 0 0 1px rgba(233,199,106,.28), inset 0 1px 0 rgba(255,255,255,.1), 0 3px 0 rgba(0,0,0,.35); }
.sh-chest b { font: 700 16px var(--pix); color: #ffe7a8; }
.sh-item .ic.lg { width: 48px; height: 48px; }
.sh-adv .ic.xl { width: 64px; height: 64px; border-radius: 12px; background: radial-gradient(circle at 50% 35%, #4a5f8c, #1f2840); border: 2px solid #c9a24a; }
.sh-offer .chip .ic { width: 34px; height: 34px; }
/* ranking */
.rk-row { min-height: 60px; background: linear-gradient(175deg, #283450, #1f283d); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 2px 0 rgba(0,0,0,.3); }
.rk-row .avatar { border-width: 2px; border-radius: 10px; }
.rk-name .banner { align-self: center; margin-right: -1px; }
.rk-val .ic { width: 24px; height: 24px; }
.rk-lg .ic.lg { width: 40px; height: 40px; filter: drop-shadow(0 2px 1px rgba(0,0,0,.5)); }
.rk-lg { min-height: 52px; background: linear-gradient(175deg, #283450, #1f283d); }
.rk-pod .avatar { border-width: 3px; }
.se-big .ic.xl { width: 112px; height: 112px; filter: drop-shadow(0 0 18px rgba(245,198,60,.45)) drop-shadow(0 4px 2px rgba(0,0,0,.6)); }
.se-move .ic.xl { width: 88px; height: 88px; filter: drop-shadow(0 3px 2px rgba(0,0,0,.6)); }
.q-book .btn.q-wait { filter: none; background: rgba(91,62,30,.18); color: #6b4f2a; text-shadow: none; box-shadow: inset 0 0 0 2px rgba(91,62,30,.35); border-color: transparent; }
.q-book { box-shadow: inset 0 0 0 3px rgba(139,106,62,.35), inset 0 0 30px rgba(139,106,62,.25), 0 6px 0 #6b4f2a, 0 10px 20px rgba(0,0,0,.4); }
.se-big { position: relative; }
.se-big::before { content: ''; position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; background: repeating-conic-gradient(rgba(255,215,95,.14) 0 10deg, transparent 10deg 24deg); animation: spin 22s linear infinite; pointer-events: none; }
.se-big .ic { position: relative; }
.se-card { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 30px rgba(245,198,60,.18), 0 4px 0 rgba(0,0,0,.4); overflow: hidden; }
.q-grow .q-qt small { display: inline; color: var(--gold); font-size: 13px; }

/* parity lane: my standing card, clan rank, progression, daily bonus crate */
.rk-mine { margin: 8px 0; border: 1.5px solid #e9c76a55; }
.rk-mine > .row > div:first-child { display: flex; flex-direction: column; align-items: center; min-width: 86px; }
.rk-mine .q-grow { display: flex; flex-direction: column; gap: 3px; }
.rk-big { font: 700 26px var(--pix); color: #f3d27a; }
.rk-fate-t.up { color: #7fe08a; } .rk-fate-t.down { color: #ff8a7a; } .rk-fate-t.keep { color: #cfd8e8; }
.rk-prog .so-kv { gap: 8px; padding: 6px 0; border-bottom: 1px solid #ffffff12; } .rk-prog .so-kv:last-child { border: 0; }
.q-bonus { border: 1.5px dashed #e9c76a88; }
.se-podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin: 10px 0; }
.se-pod { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 31%; min-width: 0; padding: 8px 4px 0; border-radius: 12px 12px 0 0; background: linear-gradient(#2c3856, #1b2236); }
.se-pod b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.se-pod small { color: var(--ink2); font-size: 12px; } .se-pod span { display: flex; align-items: center; gap: 3px; font: 700 12px var(--pix); }
.se-pod.p0 { padding-bottom: 26px; border: 1.5px solid #e9c76a; } .se-pod.p1 { padding-bottom: 14px; } .se-pod.p2 { padding-bottom: 6px; }
.se-step { font: 700 16px var(--pix); color: #f3d27a; font-style: normal; }
.q-bchips { margin-top: 6px; }
.q-calwrap .q-note { margin: 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
@media (max-height: 700px) { .q-calwrap { gap: 7px; } .q-calwrap .q-head { padding-top: 8px; padding-bottom: 8px; } .q-calwrap .q-head .muted { font-size: 12.5px; } .q-claimall { min-height: 44px; } }
.sh-odds { display: block; font-size: 10.5px; line-height: 1.3; margin: 2px 0 4px; color: #c9cfdb; }
.sh-odds i { font-style: normal; font-weight: 800; white-space: nowrap; }
/* polish A: shop buttons sit on one line across a row, sapphire packs stacked like the chests, event shop prices */
.sh-chest .btn, .sh-pack .btn { margin-top: auto; }
.sh-pack .row { flex-direction: column; text-align: center; gap: 4px; } .sh-pack .ic.lg { width: 44px; height: 44px; }
.sh-pack b { display: block; font-size: 15px; line-height: 1.2; }
.ev-shop { display: flex; flex-direction: column; gap: 8px; margin: 0 !important; } .ev-shop .chips { justify-content: center; }
.ev-shop .btn { margin-top: auto; min-height: 40px; } .ev-shop .btn .ic.sm { width: 20px; height: 20px; }
/* chest x1 and x5 / x10 buttons stack full width so prices never clip on a phone */
.sh-chest > .row { width: 100%; flex-direction: column; gap: 6px; }
.sh-chest > .row .btn { width: 100%; flex: none; white-space: nowrap; }

/* shop art (lane-bundle-art): painted banner on each special offer, painted pack and pass art */
.sh-bundle { padding: 0 0 12px; overflow: hidden; }
.sh-bn-art { position: relative; height: 150px; margin: 0 0 10px; background-size: cover; background-position: center; image-rendering: pixelated;
  border-bottom: 2px solid #e9c76a; box-shadow: inset 0 -60px 40px -20px rgba(16,12,32,.92); }
.sh-bn-art .sh-tag { top: 0; z-index: 1; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.sh-bn-name { position: absolute; left: 12px; bottom: 8px; font: 800 20px/1.1 var(--pix); color: #ffe27a; text-shadow: 0 2px 0 #000, 0 0 8px rgba(0,0,0,.8); }
.sh-bn-time { position: absolute; right: 8px; bottom: 9px; background: rgba(0,0,0,.6); }
.sh-bundle > .chips, .sh-bundle > .row, .sh-bundle > .btn { margin-left: 12px; margin-right: 12px; }
.sh-bundle > .btn { width: calc(100% - 24px); }
.sh-pk-art { display: grid; place-items: center; width: 84px; height: 72px; margin: 2px auto 0; border-radius: 12px;
  background: radial-gradient(circle at 50% 55%, rgba(95,180,255,.35), rgba(0,0,0,0) 70%); }
.sh-pk-art img { max-width: 72px; max-height: 68px; image-rendering: pixelated; filter: drop-shadow(0 3px 3px rgba(0,0,0,.5)); }
.sh-pack.pass .sh-pk-art { background: radial-gradient(circle at 50% 55%, rgba(255,214,120,.38), rgba(0,0,0,0) 70%); }
.sh-pack.top { border-color: #e9c76a; box-shadow: 0 0 12px rgba(233,199,106,.35); }
.sh-ch-art { width: 56px; height: 56px; object-fit: contain; image-rendering: pixelated; }
/* calendar money events in the shop (client/panels/shop.js fortuneHTML) */
.sh-fortune { border-color: var(--gold2); background: linear-gradient(180deg, rgba(245,198,60,.12), rgba(245,198,60,.02)), var(--card); box-shadow: 0 0 12px rgba(245,198,60,.2); display: flex; flex-direction: column; gap: 6px; }
.sh-prizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sh-prize { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border-radius: 10px; background: rgba(0,0,0,.25); border: 2px solid #11161f; }
.sh-fortune .btn { min-height: 42px; }
/* Four Banners (client/panels/banners.js, entry card in the event panel) */
.bn-entry { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin-bottom: 10px; text-align: left; border-color: var(--bn); box-shadow: 0 0 12px color-mix(in srgb, var(--bn) 35%, transparent), inset 4px 0 0 var(--bn); }
.bn-entry small { color: var(--ink2); }
.bn-mine { border-color: var(--bn); box-shadow: inset 4px 0 0 var(--bn); display: flex; flex-direction: column; gap: 2px; }
.bn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bn-side { display: flex; flex-direction: column; gap: 4px; min-width: 0; border-top: 4px solid var(--bn); }
.bn-side.me { box-shadow: 0 0 14px color-mix(in srgb, var(--bn) 45%, transparent); }
.bn-side b { color: var(--bn); }
.bn-place { font-weight: 700; color: var(--gold); }
.bn-bar { height: 10px; border-radius: 6px; background: rgba(0,0,0,.35); overflow: hidden; }
.bn-bar i { display: block; height: 100%; background: var(--bn); }
.bn-side .btn { min-height: 36px; }
.sh-prize { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0; background: none; border: 0; }
.sh-prize .rw-tiles { grid-template-columns: 1fr; }
.rw-tiles.rw-sm { width: auto; grid-template-columns: repeat(2, 64px); }
.rw-tiles.rw-sm .rw-tile { min-height: 64px; }
.sh-tok { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.bn-rw { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }
.bn-rw:first-of-type { border-top: 0; }
.bn-rw .rw-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---- league information (ranking > League) ---- */
.lg-info { display: flex; flex-direction: column; gap: 10px; }
.lg-top { display: grid; gap: 10px; }
.lg-season { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 12px; }
.lg-sh b { font-size: 20px; color: var(--gold); display: block; } .lg-sh small { color: var(--mute); }
.lg-emb .ic { width: 112px; height: 112px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.lg-rt { font-size: 14px; color: var(--ink2); margin-top: 2px; }
.lg-rule { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; font-size: 13px; padding: 4px 6px; border-radius: 8px; background: rgba(0,0,0,.22); }
.lg-rule .ic { width: 22px; height: 22px; flex: none; }
.lg-rank { padding: 12px; } .lg-rh { font-size: 17px; }
.lg-rp { margin: 6px 0 8px; font-size: 13.5px; color: var(--ink2); text-align: center; }
.lg-now { text-align: center; } .lg-rw { justify-content: center; margin-top: 6px; }
.lg-bar { position: relative; height: 54px; margin: 14px 6px 0; }
.lg-zones { position: absolute; left: 0; right: 0; top: 14px; height: 12px; border-radius: 6px; overflow: hidden; display: flex; box-shadow: inset 0 0 0 2px #0d111a; }
.lg-zones .z.down { background: linear-gradient(#e0574d, #8f2a22); } .lg-zones .z.keep { background: linear-gradient(#8aa0c8, #4a5d86); } .lg-zones .z.up { background: linear-gradient(#ffd75f, #c98f1c); }
.lg-mark { position: absolute; top: 8px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.lg-mark i { width: 3px; height: 24px; background: #0d111a; border-radius: 2px; } .lg-mark small { font-size: 11px; color: var(--mute); margin-top: 2px; }
.lg-mark.keep small { color: #cfd8e4; font-weight: 800; } .lg-mark.up small { color: var(--gold); font-weight: 800; }
.lg-mark:first-child { transform: none; align-items: flex-start; } .lg-mark:last-of-type { transform: translateX(-100%); align-items: flex-end; }
.lg-you { position: absolute; top: -14px; transform: translateX(-50%); filter: drop-shadow(0 2px 3px #000); }
.lg-key { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; margin-top: 2px; }
.lg-key .down { color: var(--red); } .lg-key .keep { color: #cfd8e4; } .lg-key .up { color: var(--gold); }
.lg-how { padding: 12px; text-align: center; } .lg-how p { margin: 0 0 8px; font-size: 13.5px; color: var(--ink2); }
.lg-steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.lg-steps3 div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; background: rgba(0,0,0,.28); }
.lg-steps3 b { font-size: 13px; } .lg-steps3 .ic { width: 64px; height: 64px; }
.lg-ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 10px 6px; }
.lg-step { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; border-radius: 12px; }
.lg-step .ic { width: 100%; max-width: 64px; aspect-ratio: 1; height: auto; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.lg-step b { font-size: 11.5px; } .lg-step.me { background: radial-gradient(circle at 50% 35%, rgba(245,198,60,.3), transparent 70%); box-shadow: inset 0 0 0 2px var(--gold2); }
.lg-divs { display: flex; gap: 2px; min-height: 16px; } .lg-divs i { min-width: 15px; height: 15px; border-radius: 4px; background: #0d111a; border: 1px solid #3a4867; font: 800 10px/13px var(--txt); font-style: normal; text-align: center; }
.lg-divs i:empty { display: none; } .lg-divs i.on { background: var(--gold2); color: #1a1205; border-color: var(--gold); }
.lg-pop-art { display: grid; place-items: center; } .lg-pop-art .ic { width: 110px; height: 110px; }
.lg-div { margin-top: 10px; padding: 8px; border-radius: 12px; background: rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 4px; }
.lg-div.me { box-shadow: inset 0 0 0 2px var(--gold2); } .lg-div > b { font-size: 15px; }
.ic.flip { transform: rotate(180deg); filter: hue-rotate(150deg) saturate(1.4); }
.lg-rw .rw-tile { width: 86px; height: 86px; flex: none; }
.rw-tiles.lg-rw { display: flex; flex-wrap: wrap; gap: 8px; }
