/* Duneheon additions on top of app.css: the wide logo header, Duneheon+ plans, booster facts, rank prefixes and the leaderboards. */

body.wb {
    background:
        radial-gradient(1100px 620px at 50% -120px, rgba(44, 21, 50, .95), transparent 72%),
        radial-gradient(900px 500px at 50% 110%, rgba(52, 214, 126, .06), transparent 70%),
        var(--bg);
    background-attachment: scroll;
}
#wb-fireflies { height: 420px; }
.wb-glow { top: -40px; max-width: 980px; height: 460px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- header: a wide 16:9 logo over the bar ---------------- */
.wb-top { padding-top: 236px; }
.wb-logo { top: 6px; width: 620px; margin-left: -310px; filter: none; }
.wb-logo:hover { transform: scale(1.02); }
.wb-logo__img, .wb-logo .wb-art-logo {
    display: block; width: 100%; aspect-ratio: 1344 / 768; object-fit: contain;
    /* The logo has a solid dark purple background: feather its edges into the page instead of cutting it out */
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
}
.wb-logo .wb-art-logo { display: none; }
.wb-logo .wb-wordmark.is-backup { display: none; }
.wb-wordmark {
    display: flex; align-items: center; justify-content: center; height: 300px; padding-bottom: 36px; box-sizing: border-box;
    font: 400 84px/1 var(--title-font); letter-spacing: 2px; white-space: nowrap;
    background: linear-gradient(180deg, #FBE0FF 0%, #F08CFF 34%, #C657F2 62%, #9233C9 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    filter: drop-shadow(4px 0 0 #320F44) drop-shadow(-4px 0 0 #320F44) drop-shadow(0 4px 0 #320F44) drop-shadow(0 -4px 0 #320F44) drop-shadow(0 9px 0 #1C0828);
}
.wb-bar {
    height: 222px;
    background: radial-gradient(ellipse 46% 120% at 50% 18%, rgba(44, 21, 50, .95), transparent 70%), linear-gradient(180deg, #1f1027, #160b1b);
    border: 2px solid rgba(200, 76, 213, .16); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .18), 0 18px 40px rgba(0, 0, 0, .25);
}
.wb-account__btn { background: rgba(56, 33, 73, .85) !important; }
.wb-account__btn:hover { background: var(--panel-3) !important; }
.wb-ip { bottom: 14px; gap: 12px; color: var(--white) !important; background: rgba(20, 10, 25, .92) !important; border-color: rgba(52, 214, 126, .25) !important; animation: none; }
.wb-ip:hover { border-color: var(--emerald) !important; }
.wb-ip__text { animation: wb-tint 12s linear infinite; }
.wb-ip__dot { width: 9px; height: 9px; border-radius: 2px; background: var(--emerald); box-shadow: 0 0 0 3px rgba(52, 214, 126, .2), 0 0 12px rgba(52, 214, 126, .8); animation: dh-pulse 2s ease-in-out infinite; }
.wb-bar__right { display: flex; align-items: center; gap: 14px; }
.wb-lbbtn {
    display: flex; align-items: center; gap: 14px; height: 88px; padding: 0 22px; box-sizing: border-box; border-radius: 16px;
    background: rgba(56, 33, 73, .85); color: var(--white) !important; font: 400 18px/1 var(--title-font); text-transform: uppercase;
    box-shadow: 0 4px 0 0 #160a20; transition: transform .12s, box-shadow .12s, background .12s;
}
.wb-lbbtn i { font-size: 26px; color: var(--gold); filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .3)); }
.wb-lbbtn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 #160a20; background: var(--panel-3); }
.wb-lbbtn.is-on { background: var(--emerald-d); }
.wb-cart { box-shadow: 0 4px 0 0 var(--main-d); }

/* ---------------- shared page heading ---------------- */
.wb-pagehead { margin-bottom: 18px; text-align: center; }
.wb-pagehead h1 { font: 400 48px/52px var(--title-font); color: var(--white); text-transform: uppercase; text-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
.wb-pagehead p { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--text); }
.wb-tile h2, .wb-tile h3 { text-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
.wb-tile--low .wb-tile__text { top: 30px; left: 34px; }
.wb-sticker { background: var(--lamp); color: var(--ink); }

/* ---------------- ranks: Minecraft-coloured prefixes ---------------- */
.mc-a { color: #55FF55 !important; } .mc-b { color: #55FFFF !important; } .mc-c { color: #FF5555 !important; } .mc-e { color: #FFFF55 !important; } .mc-6 { color: #FFAA00 !important; } .mc-d { color: #FF55FF !important; }
.wb-rank-head__tag { font: 400 16px/20px var(--menu-font) !important; letter-spacing: .5px; color: var(--white); text-shadow: 2px 2px 0 rgba(0, 0, 0, .45); }
.wb-rank-head__tag span { display: inline; font: inherit; }
.wb-ranks__row { grid-template-columns: 210px repeat(6, minmax(0, 1fr)); }
.wb-rank-label { font-size: 13px; padding: 4px 14px; }
.wb-rank-head .wb-rank-head__tag { display: block; padding: 16px 6px 14px; font-size: 18px !important; line-height: 22px; }
.wb-rank-head__flag { background: var(--gold); }
.wb-rank-head__art .wb-art { width: 88%; aspect-ratio: 1 / 1; background-position: center; background-size: contain; }
.wb-rankcard__art .wb-art { width: 140px; aspect-ratio: 1 / 1; background-position: center; background-size: contain; }
.wb-rankcard.is-top { box-shadow: inset 0 0 0 2px rgba(245, 196, 67, .45); }
.wb-rankcard.is-top .wb-rankcard__art { background: radial-gradient(closest-side, rgba(255, 217, 118, .25), transparent), #4A361C; }
.wb-rankcard h3.wb-rank-head__tag { font-size: 22px !important; line-height: 28px; text-align: center; }
.wb-rankcard__plus { margin: 4px 0 2px; font-size: 12px; line-height: 18px; color: var(--text); text-align: center; }
.wb-rank-label { background: var(--panel-2); }
.wb-rank-cell b { color: var(--white); }

/* ---------------- Duneheon+ plans ---------------- */
.wb-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.wb-plans--1 { grid-template-columns: minmax(0, 480px); justify-content: center; }
.wb-plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.wb-plan { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--panel); border: 2px solid var(--line); text-align: center; }
.wb-plan.is-gold { border-color: rgba(245, 196, 67, .55); box-shadow: 0 0 0 4px rgba(245, 196, 67, .08), 0 20px 40px rgba(0, 0, 0, .25); }
.wb-plan__flag { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 400 12px/16px var(--body-font); text-transform: uppercase; box-shadow: 0 3px 0 var(--gold-d); }
.wb-plan__art { display: grid; place-items: center; height: 250px; background: radial-gradient(closest-side, rgba(214, 64, 143, .28), transparent), var(--panel-2); }
.wb-plan.is-gold .wb-plan__art { background: radial-gradient(closest-side, rgba(255, 217, 118, .32), transparent), #3F2D1B; }
.wb-plan__art .wb-art { width: 64%; height: 210px; aspect-ratio: auto; background-position: center; background-size: contain; filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .25)); }
.wb-plan__body { display: grid; gap: 10px; padding: 26px 28px 28px; }
.wb-plan h2 { font: 400 32px/36px var(--title-font); color: var(--white); text-transform: uppercase; }
.wb-plan.is-gold h2 { color: var(--gold); }
.wb-plan__price { font: 400 24px/30px var(--title-font); color: var(--emerald); }
.wb-plan__line { margin-bottom: 8px; font-size: 13px; line-height: 20px; }
.wb-plan .wb-btn { margin-top: auto; }

/* ---------------- perk tiles (Duneheon+ and boosters) ---------------- */
.wb-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wb-perk { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.wb-perk__icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--panel-3); color: var(--emerald); font-size: 18px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.wb-perk b { display: block; font: 400 14px/20px var(--title-font); color: var(--white); text-transform: uppercase; }
.wb-perk p { margin-top: 4px; font-size: 12px; line-height: 18px; }
.wb-compare { margin-top: 18px; text-align: center; }
.wb-compare a { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 10px; background: var(--panel); color: var(--emerald); font-size: 13px; }
.wb-compare a:hover { background: var(--panel-2); }

/* ---------------- leaderboards: Minecraft fonts for headings only, a clean font for the rows ---------------- */
.lb { --read: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.lb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.lb-head h1 { font: 400 52px/56px var(--title-font); color: var(--white); text-transform: uppercase; text-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
.lb-updated { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 500 14px/20px var(--read); color: #D9CBE3; }
.lb-live { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px rgba(52, 214, 126, .8); animation: dh-pulse 2s ease-in-out infinite; }
.lb-search { display: flex; width: 340px; max-width: 100%; border-radius: 12px; background: #1A0D21; border: 2px solid rgba(255, 255, 255, .12); overflow: hidden; }
.lb-search:focus-within { border-color: var(--main); }
.lb-search input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 0; background: transparent; color: var(--white); font: 500 16px/1 var(--read); outline: 0; }
.lb-search input::placeholder { color: #A893B5; }
.lb-search button { width: 54px; background: var(--main) !important; color: var(--white) !important; font-size: 16px !important; }

.lb-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.lb-tile { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border-radius: 12px; background: var(--panel-2) !important; border: 2px solid rgba(255, 255, 255, .06) !important; text-align: left; transition: background .12s, border-color .12s, transform .12s; }
.lb-tile:hover { background: var(--panel-3) !important; transform: translateY(-1px); }
.lb-tile b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 15px/20px var(--title-font); color: var(--white); text-transform: uppercase; }
.lb-tile.is-on { background: linear-gradient(180deg, #C84CD5, #8E37A8) !important; border-color: rgba(233, 160, 238, .7) !important; box-shadow: 0 4px 0 var(--main-d); }
.lb-ico { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(0, 0, 0, .28); color: var(--lamp); font-size: 17px; }
.lb-ico .wb-art { position: absolute; inset: 3px; background-position: center; background-size: contain; image-rendering: pixelated; }
.lb-ico--big { width: 52px; height: 52px; border-radius: 12px; font-size: 24px; }

.lb-panel { padding: 24px; border-radius: 20px; background: var(--panel); border: 2px solid rgba(255, 255, 255, .07); }
.lb-panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.lb-panel__head h2 { font: 400 30px/34px var(--title-font); color: var(--white); text-transform: uppercase; }
.lb-panel__unit { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); font: 600 13px/18px var(--read); color: #D9CBE3; text-transform: uppercase; letter-spacing: .04em; }
.lb-floors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lb-floor { height: 40px; padding: 0 16px; border-radius: 10px; background: var(--panel-2) !important; color: #E6DAEE !important; font: 600 15px/1 var(--read) !important; border: 2px solid transparent !important; }
.lb-floor:hover { background: var(--panel-3) !important; }
.lb-floor.is-on { background: var(--main) !important; color: var(--white) !important; border-color: rgba(233, 160, 238, .6) !important; }
.lb-empty { padding: 26px; border-radius: 14px; background: var(--panel-2); font: 500 16px/24px var(--read); color: #E6DAEE; text-align: center; }

.lb-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lb-row { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 14px 8px 10px; border-radius: 12px; background: #2A1736; border: 1px solid rgba(255, 255, 255, .07); font: 600 16px/22px var(--read); }
.lb-row:nth-child(even) { background: #251431; }
.lb-row:hover { border-color: rgba(255, 255, 255, .16); }
.lb-row__rank { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; min-width: 44px; height: 34px; padding: 0 8px; box-sizing: border-box; border-radius: 9px; background: rgba(0, 0, 0, .3); color: #E6DAEE; font: 700 15px/1 var(--read); font-variant-numeric: tabular-nums; }
.lb-row img { flex-shrink: 0; width: 36px; height: 36px; border-radius: 6px; image-rendering: pixelated; }
.lb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 16px/22px var(--read); color: var(--white); text-shadow: 0 1px 0 rgba(0, 0, 0, .45); }
.lb-tag { font-weight: 800; }
.lb-row__value { flex-shrink: 0; padding: 4px 6px; border-radius: 6px; color: #6BF0A6 !important; font: 700 17px/22px var(--read) !important; font-variant-numeric: tabular-nums; cursor: help; }
.lb-row__value:hover { background: rgba(255, 255, 255, .06) !important; }
.lb-row--1, .lb-row--2, .lb-row--3 { min-height: 64px; border-width: 2px; }
.lb-row--1 { background: linear-gradient(90deg, rgba(245, 196, 67, .26), rgba(245, 196, 67, .06) 60%), #2A1736 !important; border-color: rgba(245, 196, 67, .55); }
.lb-row--2 { background: linear-gradient(90deg, rgba(214, 219, 230, .2), rgba(214, 219, 230, .04) 60%), #2A1736 !important; border-color: rgba(214, 219, 230, .4); }
.lb-row--3 { background: linear-gradient(90deg, rgba(222, 141, 79, .22), rgba(222, 141, 79, .05) 60%), #2A1736 !important; border-color: rgba(222, 141, 79, .45); }
.lb-row--1 .lb-row__rank { background: var(--gold); color: var(--ink); }
.lb-row--2 .lb-row__rank { background: #D6DBE6; color: var(--ink); }
.lb-row--3 .lb-row__rank { background: #DE8D4F; color: var(--ink); }
.lb-row--1 img, .lb-row--2 img, .lb-row--3 img { width: 42px; height: 42px; }
.lb-row--1 .lb-name, .lb-row--2 .lb-name, .lb-row--3 .lb-name { font-size: 17px; }
.lb-row--1 .lb-row__value { color: var(--gold) !important; font-size: 18px !important; }
.lb-row.is-me { border-color: var(--lamp) !important; box-shadow: 0 0 0 1px var(--lamp); }
.lb-more { display: flex; justify-content: center; margin-top: 18px; }

.lb-player { margin-bottom: 18px; }
.lb-player__none { padding: 14px 18px; border-radius: 12px; background: var(--panel); font: 500 16px/24px var(--read); color: #E6DAEE; text-align: center; }
.lb-player__none b { color: var(--white); }
.lb-player__card { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; padding: 16px 52px 16px 16px; border-radius: 16px; background: var(--panel); border: 2px solid rgba(255, 217, 118, .45); }
.lb-player__card > img { width: 56px; height: 56px; image-rendering: pixelated; }
.lb-player__who { min-width: 0; }
.lb-player__who .lb-name { display: block; font-size: 20px; line-height: 26px; }
.lb-player__who small { font: 500 13px/18px var(--read); color: #BCA8C6; }
.lb-player__ranks { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.lb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; background: var(--panel-2) !important; color: var(--white) !important; font: 600 14px/18px var(--read) !important; }
.lb-chip:hover { background: var(--panel-3) !important; }
.lb-chip em { font-style: normal; color: var(--lamp); font-variant-numeric: tabular-nums; }
.lb-player__x { position: absolute; top: 12px; right: 14px; color: #BCA8C6 !important; font-size: 18px !important; }

.lb-state { padding: 46px 28px; border-radius: 20px; background: var(--panel); border: 2px solid var(--line); text-align: center; }
.lb-state .wb-art { width: 180px; aspect-ratio: 1 / 1; margin: 0 auto 10px; background-position: center; background-size: contain; }
.lb-state h2 { font: 400 30px/36px var(--title-font); color: var(--white); text-transform: uppercase; }
.lb-state p { max-width: 520px; margin: 10px auto 20px; font: 500 16px/24px var(--read); color: #E6DAEE; }
.lb-skel__chip { display: block; height: 60px; border-radius: 12px; background: var(--panel-2); animation: dh-skel 1.4s ease-in-out infinite; }
.lb-skel__panel { display: block; height: 420px; border-radius: 20px; background: var(--panel); animation: dh-skel 1.4s ease-in-out infinite; }

/* ---------------- home: Ranks big on the left, Duneheon+ and Boosters stacked on the right ---------------- */
.wb-tiles { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-auto-rows: 206px; }
.wb-tile--hero { grid-row: span 2; height: auto; }
.wb-tile--side { height: auto; }
.wb-tile--side .wb-tile__text { top: 28px; left: 32px; }
.t-ranks .wb-tile__art { width: 380px; right: 22px; bottom: 18px; aspect-ratio: 1 / 1; }
.t-plus .wb-tile__art, .t-boosters .wb-tile__art { width: 196px; right: 18px; bottom: 6px; aspect-ratio: 1 / 1; }
.t-ranks .wb-tile__art, .t-plus .wb-tile__art, .t-boosters .wb-tile__art { filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, .22)); }

/* ---------------- spots without art ---------------- */
.wb-guest { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: rgba(0, 0, 0, .25); color: #D9CBE3; font-size: 24px; }
.wb-foot__crest { width: 40px; height: 40px; background-size: contain; background-position: center; }
.wb-login__logo { width: 200px; aspect-ratio: 320 / 259; margin: 0 auto; background-size: contain; background-position: center; }
.wb-browse__ico { display: grid; place-items: center; width: 66px; height: 66px; color: var(--gold); font-size: 34px; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .3)); }
.wb-browse .wb-art { background-position: center right; }

.wb-foot__icon { width: 40px; height: 40px; border-radius: 8px; }
.wb-empty .wb-art, .wb-thanks .wb-art { width: 220px; aspect-ratio: 4 / 3; background-position: center; background-size: contain; }

@keyframes dh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes dh-skel { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wb-ip__dot, .lb-live, .wb-ip__text, .lb-skel__chip, .lb-skel__panel { animation: none; } }

@media (max-width: 1100px) {
    .wb-logo { width: 440px; margin-left: -220px; top: -6px; }
    .wb-wordmark { height: 240px; font-size: 64px; }
    .wb-top { padding-top: 150px; }
    .wb-bar { height: 200px; }
    .wb-lbbtn span { display: none; }
    .wb-lbbtn { width: 88px; justify-content: center; padding: 0; }
    .wb-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-plans--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .t-ranks .wb-tile__art { width: 280px; }
    .t-plus .wb-tile__art, .t-boosters .wb-tile__art { width: 150px; }
}
@media (max-width: 760px) {
    .wb-top { padding-top: 196px; }
    .wb-logo { top: 0; width: 340px; margin-left: -170px; }
    .wb-wordmark { height: 196px; font-size: 44px; padding-bottom: 20px; }
    .wb-bar { height: auto; }
    .wb-lbbtn, .wb-cart { width: 64px; height: 64px; }
    .wb-lbbtn i { font-size: 22px; }
    .wb-bar__right { gap: 10px; }
    .wb-pagehead h1 { font-size: 36px; line-height: 40px; }
    .t-leaderboards h3 { font-size: 28px; line-height: 32px; }
    .t-leaderboards .wb-tile__text { max-width: 64%; }
    .wb-plans, .wb-plans--3 { grid-template-columns: minmax(0, 1fr); }
    .wb-plan__art { height: 200px; }
    .wb-perks { grid-template-columns: minmax(0, 1fr); }
    .wb-tiles { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
    .wb-tile--hero { grid-row: auto; height: 240px; }
    .wb-tile--side { height: 190px; }
    .t-ranks .wb-tile__art { width: 190px; right: 8px; bottom: 10px; }
    .t-plus .wb-tile__art, .t-boosters .wb-tile__art { width: 150px; right: 6px; bottom: 6px; }
    .wb-tile--side .wb-tile__text { top: 20px; left: 20px; }
    .lb-head { flex-direction: column; align-items: stretch; }
    .lb-head h1 { font-size: 40px; line-height: 44px; }
    .lb-search { width: 100%; }
    .lb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .lb-tile { min-height: 52px; padding: 8px 10px; gap: 10px; }
    .lb-tile b { font-size: 13px; line-height: 18px; }
    .lb-ico { width: 30px; height: 30px; font-size: 14px; }
    .lb-panel { padding: 14px; border-radius: 16px; }
    .lb-panel__head h2 { font-size: 24px; line-height: 28px; }
    .lb-floor { height: 38px; padding: 0 12px; font-size: 14px !important; }
    .lb-row { gap: 10px; padding: 8px 10px 8px 8px; }
    .lb-row__rank { min-width: 38px; height: 32px; font-size: 14px; }
    .lb-row img { width: 32px; height: 32px; }
    .lb-row--1 img, .lb-row--2 img, .lb-row--3 img { width: 36px; height: 36px; }
    .lb-name, .lb-row--1 .lb-name, .lb-row--2 .lb-name, .lb-row--3 .lb-name { font-size: 15px; }
    .lb-row__value, .lb-row--1 .lb-row__value { font-size: 15px !important; padding: 4px 2px; }
}

/* ---------------- header v2 (owner, 2026-11-18): the logo gets its own space above the bar and never overlaps it.
   Big logo on the home page only (about 420px, 260px on phones); inner pages get the small logo (about 200px). ---------------- */
.wb-top { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 18px; }
.wb-top .wb-logo { position: relative; top: auto; left: auto; z-index: 1; width: 420px; max-width: 78vw; margin: 0; transition: transform .15s; }
.wb-top.is-compact .wb-logo { width: 200px; max-width: 52vw; }
.wb-logo .wb-logo__small { display: block; width: 100%; aspect-ratio: 320 / 259; background-size: contain; background-position: center; -webkit-mask-image: none; mask-image: none; }
.wb-top .wb-bar {
    position: relative; width: 100%; height: auto; min-height: 96px; padding: 12px 14px; box-sizing: border-box;
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px;
    background: linear-gradient(180deg, #23122c, #1a0d21);
}
.wb-bar > :first-child { justify-self: start; }
.wb-bar__right { justify-self: end; }
.wb-top .wb-ip { position: static; transform: none; bottom: auto; left: auto; justify-self: center; }
.wb-top .wb-ip:hover { transform: translateY(-2px); }
.wb-top .wb-ip:active { transform: translateY(1px); }
.wb-top .wb-account__btn { height: 72px; }
.wb-top .wb-lbbtn, .wb-top .wb-cart { height: 72px; }
.wb-top .wb-cart { width: 72px; font-size: 26px !important; }
.wb-top .wb-account__btn b { font-size: 26px; line-height: 26px; }
.wb-top .wb-account__menu { top: 80px; }

@media (max-width: 960px) {
    .wb-top .wb-bar { grid-template-columns: minmax(0, 1fr) auto; }
    .wb-top .wb-logo { width: 340px; }
    .wb-top .wb-ip { grid-column: 1 / -1; order: -1; justify-self: stretch; justify-content: center; }
    .wb-lbbtn span { display: none; }
    .wb-top .wb-lbbtn { width: 72px; justify-content: center; padding: 0; }
}
@media (max-width: 760px) {
    .wb-top { padding-top: 12px; gap: 10px; }
    .wb-top .wb-logo { width: 260px; }
    .wb-top.is-compact .wb-logo { width: 150px; }
    .wb-top .wb-bar { padding: 10px; gap: 10px; }
    .wb-top .wb-ip { margin-top: 0; font-size: 14px !important; }
    .wb-top .wb-account__btn { height: 60px; gap: 10px; padding: 0 12px 0 8px; }
    .wb-top .wb-account__btn b { font-size: 20px; line-height: 22px; max-width: 120px; }
    .wb-top .wb-lbbtn, .wb-top .wb-cart { width: 60px; height: 60px; }
    .wb-guest { width: 44px; height: 44px; font-size: 20px; }
}

/* ---------------- leaderboards v3 (owner, 2026-11-18): top 3 on podium cards (#2, #1 raised, #3) on a subtle stone floor,
   period tabs with a reset countdown, positions 4+ in the table ---------------- */
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.lb-bar .lb-floors { margin-bottom: 0; }
.lb-periods { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.lb-period { height: 36px; padding: 0 14px; border-radius: 9px; background: transparent !important; color: #D9CBE3 !important; font: 600 15px/1 var(--read) !important; }
.lb-period:hover { background: rgba(255, 255, 255, .06) !important; color: var(--white) !important; }
.lb-period.is-on { background: var(--emerald-d) !important; color: var(--white) !important; box-shadow: inset 0 0 0 1px rgba(107, 240, 166, .5); }
.lb-resets { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/20px var(--read); color: var(--lamp); }
.lb-resets::before { content: '\f017'; font: 900 13px/1 'Font Awesome 6 Free'; }
.lb-loading { padding: 24px; text-align: center; font: 600 15px/20px var(--read); color: #D9CBE3; }

.lb-podium {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 16px;
    margin: 4px 0 18px; padding: 34px 18px 18px; border-radius: 16px;
    background:
        linear-gradient(rgba(255, 255, 255, .025) 2px, transparent 2px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, .025) 2px, transparent 2px) 24px 0 / 48px 48px,
        radial-gradient(ellipse 60% 80% at 50% 100%, rgba(200, 76, 213, .14), transparent 70%),
        #1B1022;
    border: 2px solid rgba(255, 255, 255, .06);
}
.lb-card {
    --c: #D6DBE6; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0;
    padding: 30px 14px 18px; border-radius: 16px; text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .1)), #26152F;
    border: 2px solid color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.lb-card--1 { --c: #F5C443; order: 2; transform: translateY(-18px); padding-top: 36px; padding-bottom: 24px; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 196, 67, .2), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .1)), #2B1833; }
.lb-card--2 { --c: #D6DBE6; order: 1; }
.lb-card--3 { --c: #E38B4C; order: 3; }
.lb-card__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 9px; background: var(--c); color: var(--ink); font: 800 15px/20px var(--read); font-variant-numeric: tabular-nums; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.lb-card__head { width: 96px; height: 96px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .45)); }
.lb-card--1 .lb-card__head { width: 120px; height: 120px; }
.lb-card__name { flex: none; max-width: 100%; font-size: 17px; text-align: center; }
.lb-card__value { padding: 2px 8px; border-radius: 8px; color: var(--c) !important; font: 800 26px/32px var(--read) !important; font-variant-numeric: tabular-nums; cursor: help; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.lb-card__value:hover { background: rgba(255, 255, 255, .06) !important; }
.lb-card--1 .lb-card__value { font-size: 30px !important; line-height: 36px; }
.lb-change { font: 700 14px/18px var(--read); color: #6BF0A6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-change--row { flex-shrink: 0; font-size: 13px; opacity: .9; }
.lb-card.is-me { box-shadow: 0 0 0 3px var(--lamp), 0 10px 24px rgba(0, 0, 0, .35); }

@media (max-width: 760px) {
    .lb-bar { gap: 8px; }
    .lb-periods { width: 100%; }
    .lb-period { flex: 1; padding: 0 6px; font-size: 14px !important; }
    .lb-podium { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 10px 12px; }
    .lb-card, .lb-card--1 { order: 0; transform: none; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "head name" "head value" "head change"; justify-items: start; align-items: center; gap: 0 14px; padding: 16px 14px 12px; text-align: left; }
    .lb-card--1 { order: 1; } .lb-card--2 { order: 2; } .lb-card--3 { order: 3; }
    .lb-card__badge { left: 14px; transform: none; top: -13px; font-size: 13px; padding: 2px 10px; }
    .lb-card__head, .lb-card--1 .lb-card__head { grid-area: head; width: 64px; height: 64px; }
    .lb-card__name { grid-area: name; font-size: 16px; text-align: left; }
    .lb-card__value, .lb-card--1 .lb-card__value { grid-area: value; padding: 0; font-size: 22px !important; line-height: 28px; }
    .lb-card .lb-change { grid-area: change; }
    .lb-change--row { display: none; }
}

/* ---------------- rank art may be wide name-tag bars (owner, 2026-11-18): fit any shape, never force a square ---------------- */
.wb-rank-head__art .wb-art { width: 94%; height: 128px; aspect-ratio: auto; background-size: contain; background-position: center; }
.wb-rankcard__art .wb-art { width: 86%; height: 140px; aspect-ratio: auto; background-size: contain; background-position: center; }
.t-ranks .wb-tile__art { width: 60%; height: 72%; right: 18px; bottom: 18px; aspect-ratio: auto; background-size: contain; background-position: right center; }
.wb-browse .wb-art { width: 140px; height: 66px; aspect-ratio: auto; background-size: contain; }
.wb-picker__art .wb-art, .wb-card__art .wb-art, .wb-modal__art .wb-art { background-size: contain; background-position: center; }
@media (max-width: 1100px) { .t-ranks .wb-tile__art { width: 56%; height: 64%; } }
@media (max-width: 760px) {
    .t-ranks .wb-tile__art { width: 52%; height: 70%; right: 8px; bottom: 12px; }
    .wb-tile--hero .wb-tile__text { max-width: 46%; }
}

/* ---------------- final art (2026-11-18): stone-brick page texture, sharp icons ---------------- */
body.wb {
    background:
        radial-gradient(1100px 620px at 50% -120px, rgba(44, 21, 50, .9), transparent 72%),
        linear-gradient(rgba(20, 10, 25, .86), rgba(20, 10, 25, .86)),
        var(--bg-tile, none) 0 0 / 128px 128px repeat,
        var(--bg);
}
.lb-podium {
    background:
        radial-gradient(ellipse 60% 80% at 50% 100%, rgba(200, 76, 213, .16), transparent 70%),
        linear-gradient(rgba(22, 12, 28, .7), rgba(22, 12, 28, .7)),
        var(--bg-tile, none) 0 0 / 96px 96px repeat,
        #1B1022;
}
.lb-ico .wb-art, .wb-foot__crest { image-rendering: pixelated; }
.wb-foot__crest { border-radius: 8px; }

/* a product page has one option: no tab needed */
.wb-tabs--1 { display: none; }

/* ---------------- home tile art, polish pass (2026-11-18): tile renders are trimmed to their content by build_art.
   Ranks: the tag fan fills the right half, anchored bottom-right, bleeding a little past the edge (the clip keeps the
   rounded corners). Duneheon+: a bigger plus. Boosters: lifted so the bottle bases are never cut. ---------------- */
.wb-tile .wb-tile__art { background-size: contain; background-repeat: no-repeat; }
.t-ranks .wb-tile__art { width: 72%; height: auto; right: -5%; bottom: -4%; background-position: right bottom; }
.t-plus .wb-tile__art { width: auto; height: 78%; right: 30px; bottom: 7%; background-position: center; }
.t-boosters .wb-tile__art { width: auto; height: 80%; right: 22px; bottom: 9%; background-position: center bottom; }
.wb-tile__text { z-index: 2; }
@media (max-width: 1100px) {
    .t-ranks .wb-tile__art { width: 70%; }
    .t-plus .wb-tile__art { height: 72%; }
    .t-boosters .wb-tile__art { height: 72%; }
}
@media (max-width: 760px) {
    .t-ranks .wb-tile__art { width: 70%; height: auto; right: -5%; bottom: -6%; }
    .t-plus .wb-tile__art { height: 70%; right: 14px; bottom: 7%; }
    .t-boosters .wb-tile__art { height: 58%; right: 10px; bottom: 9%; }
}

/* ---------------- auras (2026-11-19): five permanent boosts + the Universal Aura. The pictures are pixel orbs from
   art/tools/aura_art.py (32x32 sprites at 12x, in art.css as .wb-art-<slug>), coloured like the in-game rings
   (config/auras.yml). ---------------- */
.wb-aura--damage { --aura: #FF4B4B; }
.wb-aura--coin { --aura: #FFC531; }
.wb-aura--gem { --aura: #4BFF7A; }
.wb-aura--soul { --aura: #B45CFF; }
.wb-aura--xp { --aura: #D8FF4B; }
.wb-pxorb {
    display: block; width: 150px; height: 150px; aspect-ratio: 1 / 1;
    background-size: contain !important; background-position: center !important; background-repeat: no-repeat;
    image-rendering: pixelated; filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .25));
    animation: dh-bob 3.2s steps(4, end) infinite;
}
.wb-pxorb--big { width: 220px; height: 220px; }
.wb-art-damage-aura, .wb-art-coin-aura, .wb-art-gem-aura, .wb-art-soul-aura, .wb-art-experience-aura, .wb-art-universal-aura { image-rendering: pixelated; }

/* the five aura cards */
.wb-auras { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 26px 0 8px; }
.wb-aura { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--panel); border: 2px solid color-mix(in srgb, var(--aura) 24%, transparent); text-align: center; }
.wb-aura__art { display: grid; place-items: center; height: 190px; background: radial-gradient(closest-side, color-mix(in srgb, var(--aura) 22%, transparent), transparent), var(--panel-2); }
.wb-aura__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 18px 22px; }
.wb-aura h3 { font: 400 22px/26px var(--title-font); color: var(--white); text-transform: uppercase; }
.wb-aura__big { font: 400 15px/22px var(--body-font); color: var(--white); text-transform: uppercase; }
.wb-aura__big b { display: block; font: 400 34px/38px var(--title-font); color: var(--aura); text-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
.wb-aura__line { font-size: 12px; line-height: 18px; }
.wb-aura__price { margin-top: auto; padding-top: 6px; font: 400 20px/26px var(--title-font); color: var(--emerald); }

/* the Universal Aura, wide on top */
.wb-aura-uni {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); overflow: hidden; border-radius: 20px;
    background: var(--panel); border: 2px solid rgba(245, 196, 67, .55); box-shadow: 0 0 0 4px rgba(245, 196, 67, .08), 0 20px 40px rgba(0, 0, 0, .25);
}
.wb-aura-uni__art { position: relative; display: grid; place-items: center; min-height: 340px; background: radial-gradient(closest-side, rgba(255, 217, 118, .2), transparent), #2E1A33; }
.wb-aura-uni__art > .wb-pxorb { grid-area: 1 / 1; }
.wb-aura-uni__moon { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; animation: none; }
.wb-aura-uni__moon:nth-of-type(2) { transform: rotate(-90deg) translateX(138px) rotate(90deg); }
.wb-aura-uni__moon:nth-of-type(3) { transform: rotate(-18deg) translateX(138px) rotate(18deg); }
.wb-aura-uni__moon:nth-of-type(4) { transform: rotate(54deg) translateX(138px) rotate(-54deg); }
.wb-aura-uni__moon:nth-of-type(5) { transform: rotate(126deg) translateX(138px) rotate(-126deg); }
.wb-aura-uni__moon:nth-of-type(6) { transform: rotate(198deg) translateX(138px) rotate(-198deg); }
.wb-aura-uni__body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 34px 40px; }
.wb-aura-uni h2 { font: 400 40px/44px var(--title-font); color: var(--gold); text-transform: uppercase; text-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
.wb-aura-uni__line { font-size: 14px; line-height: 22px; }
.wb-aura-uni__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.wb-aura-uni__list li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); font-size: 12px; line-height: 16px; color: var(--white); }
.wb-aura-uni__list i { width: 18px; color: var(--aura); text-align: center; }
.wb-aura-uni__list b { color: var(--aura); }
.wb-aura-uni__price { display: flex; align-items: baseline; gap: 12px; font: 400 28px/34px var(--title-font); color: var(--emerald); }
.wb-aura-uni__price s { font-size: 18px; color: var(--text); opacity: .75; }
.wb-aura-uni .wb-plan__flag { position: static; align-self: flex-start; }
.wb-aura-uni .wb-btn { align-self: flex-start; min-width: 260px; }

/* home: the Auras banner under the three tiles */
.t-auras { --tile: #2F6FD6; --edge: #1B3F85; }
.wb-tile__orbs { position: absolute; right: 30px; top: 50%; display: flex; align-items: center; gap: 6px; transform: translateY(-50%); }
.wb-tile__orbs .wb-pxorb { width: 96px; height: 96px; animation: none; transition: transform .18s ease-out; }
.wb-tile__orbs .wb-pxorb--big { width: 150px; height: 150px; }
.wb-tile:hover .wb-tile__orbs .wb-pxorb { transform: translateY(-4px); }

/* product pop-up and product page: the sprite is square, keep it crisp */
.wb-modal__art .wb-art-damage-aura, .wb-modal__art .wb-art-coin-aura, .wb-modal__art .wb-art-gem-aura, .wb-modal__art .wb-art-soul-aura,
.wb-modal__art .wb-art-experience-aura, .wb-modal__art .wb-art-universal-aura { background-size: contain; background-position: center; }

@keyframes dh-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .wb-pxorb { animation: none; } }
@media (max-width: 1100px) {
    .wb-auras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wb-aura-uni { grid-template-columns: minmax(0, 1fr); }
    .wb-tile__orbs { right: 16px; }
    .wb-tile__orbs .wb-pxorb { width: 72px; height: 72px; }
    .wb-tile__orbs .wb-pxorb--big { width: 116px; height: 116px; }
}
@media (max-width: 760px) {
    .wb-auras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .wb-aura__art { height: 150px; }
    .wb-aura .wb-pxorb { width: 116px; height: 116px; }
    .wb-aura__body { padding: 16px 12px 18px; }
    .wb-aura h3 { font-size: 18px; line-height: 22px; }
    .wb-aura-uni__body { padding: 24px 18px; }
    .wb-aura-uni h2 { font-size: 30px; line-height: 34px; }
    .wb-aura-uni__list { grid-template-columns: minmax(0, 1fr); }
    .wb-aura-uni .wb-btn { align-self: stretch; min-width: 0; }
    .wb-aura-uni__art { min-height: 300px; }
    .wb-aura-uni__art .wb-pxorb--big { width: 150px; height: 150px; }
    .wb-aura-uni__moon { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
    .wb-aura-uni__moon:nth-of-type(2) { transform: rotate(-90deg) translateX(108px) rotate(90deg); }
    .wb-aura-uni__moon:nth-of-type(3) { transform: rotate(-18deg) translateX(108px) rotate(18deg); }
    .wb-aura-uni__moon:nth-of-type(4) { transform: rotate(54deg) translateX(108px) rotate(-54deg); }
    .wb-aura-uni__moon:nth-of-type(5) { transform: rotate(126deg) translateX(108px) rotate(-126deg); }
    .wb-aura-uni__moon:nth-of-type(6) { transform: rotate(198deg) translateX(108px) rotate(-198deg); }
    .wb-tile__orbs { top: auto; bottom: 14px; right: 10px; gap: 2px; transform: none; }
    .wb-tile__orbs .wb-pxorb { width: 52px; height: 52px; }
    .wb-tile__orbs .wb-pxorb--big { width: 80px; height: 80px; }
    .wb-tile__orbs .wb-pxorb:nth-child(1), .wb-tile__orbs .wb-pxorb:nth-child(2), .wb-tile__orbs .wb-pxorb:nth-child(6) { display: none; }
    .t-auras .wb-tile__text { max-width: 54%; }
}

/* ---------------- leaderboards, Cobblestone-style pass (owner, 2026-11-20): player counts on the tiles, a podium that
   always has three places (#2 left, #1 middle, #3 right; open places are empty cards), and one table with the whole
   top 100 from #1 under it. ---------------- */
.lb-tile__text { display: flex; flex-direction: column; min-width: 0; }
.lb-tile small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12px/16px var(--read); color: #BFA9CB; }
.lb-tile.is-on small { color: rgba(255, 255, 255, .85); }

.lb-card.is-empty { background: rgba(38, 21, 47, .55); border-style: dashed; box-shadow: none; }
.lb-card.is-empty .lb-card__badge { opacity: .7; }
.lb-card__open { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lb-card__mystery { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 2px dashed rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .3); font-size: 34px; }
.lb-card--1 .lb-card__mystery { width: 104px; height: 104px; font-size: 42px; }
.lb-card__open b { font: 700 17px/22px var(--read); color: #BFA9CB; }
.lb-card__dash { font: 800 26px/32px var(--read); color: color-mix(in srgb, var(--c) 55%, transparent); }

.lb-table { margin-top: 4px; }
.lb-table__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 12px; }
.lb-table__head h3 { font: 400 22px/26px var(--title-font); color: var(--white); text-transform: uppercase; }
.lb-table__count { font: 600 14px/20px var(--read); color: #BFA9CB; }
.lb-table__busy { margin-left: auto; font: 600 13px/20px var(--read); color: #D9CBE3; }
.lb-cols { display: flex; align-items: center; gap: 14px; padding: 0 14px 8px 10px; font: 700 11px/16px var(--read); color: #9F8AAE; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid rgba(255, 255, 255, .07); margin-bottom: 8px; }
.lb-cols__rank { flex-shrink: 0; width: 52px; }
.lb-cols__player { flex: 1; min-width: 0; }
.lb-cols__change { flex-shrink: 0; width: 96px; text-align: right; }
.lb-cols__value { flex-shrink: 0; min-width: 96px; text-align: right; }

.lb-list { gap: 4px; }
.lb-row { min-height: 46px; padding: 6px 14px 6px 10px; border-radius: 10px; }
.lb-row__rank { width: 52px; min-width: 52px; height: 30px; background: transparent; justify-content: flex-start; padding: 0 0 0 4px; color: #A893B5; font-size: 15px; }
.lb-row img { width: 32px; height: 32px; border-radius: 5px; }
.lb-row--1, .lb-row--2, .lb-row--3 { min-height: 52px; border-width: 1px; }
.lb-row--1 .lb-row__rank, .lb-row--2 .lb-row__rank, .lb-row--3 .lb-row__rank { background: transparent; }
.lb-row--1 .lb-row__rank { color: var(--gold); }
.lb-row--2 .lb-row__rank { color: #D6DBE6; }
.lb-row--3 .lb-row__rank { color: #E38B4C; }
.lb-row--1 img, .lb-row--2 img, .lb-row--3 img { width: 32px; height: 32px; }
.lb-change--row { width: 96px; text-align: right; }
.lb-row__value { min-width: 96px; text-align: right; }

@media (max-width: 760px) {
    .lb-card.is-empty { display: none; }
    .lb-cols { padding: 0 10px 8px 8px; gap: 10px; }
    .lb-cols__rank { width: 40px; }
    .lb-cols__change { display: none; }
    .lb-cols__value { min-width: 0; }
    .lb-row__rank { width: 40px; min-width: 40px; font-size: 14px; padding-left: 2px; }
    .lb-row__value, .lb-row--1 .lb-row__value { min-width: 0; }
    .lb-table__busy { margin-left: 0; width: 100%; }
}

/* ---------------- sales (2026-11-20): a PayNow sale shows on every price (struck-through original + "-10%" tag), in
   the product pop-up, and as a banner on the pages that list products. Nothing shows when no sale runs. ---------------- */
.wb-salewas { margin-right: 6px; font-size: .7em; color: var(--text); opacity: .7; text-decoration: line-through; text-decoration-thickness: 2px; }
.wb-saletag { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 7px; background: var(--gold); color: var(--ink); font: 800 12px/14px 'Inter', system-ui, sans-serif; letter-spacing: .02em; vertical-align: middle; box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.wb-modal__title .wb-salewas { font-size: 15px; }
.wb-salebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin: 0 0 20px; padding: 11px 18px; border-radius: 14px; text-align: center;
    background: linear-gradient(90deg, rgba(245, 196, 67, .16), rgba(200, 76, 213, .2), rgba(245, 196, 67, .16)); border: 2px solid rgba(245, 196, 67, .5); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.wb-salebar i { color: var(--gold); font-size: 17px; }
.wb-salebar b { font: 400 18px/22px var(--title-font); color: var(--gold); letter-spacing: .04em; text-shadow: 2px 2px 0 rgba(0, 0, 0, .35); }
.wb-salebar span { font: 700 16px/22px 'Inter', system-ui, sans-serif; color: var(--white); }
@media (max-width: 760px) {
    .wb-salebar { padding: 9px 12px; margin-bottom: 14px; }
    .wb-salebar b { font-size: 15px; line-height: 20px; }
    .wb-salebar span { font-size: 14px; line-height: 20px; }
}

/* ---------------- header with the Wiki button (2026-11-24): three buttons fit beside the account on phones ---------------- */
@media (max-width: 760px) {
    .wb-top .wb-bar__right { gap: 8px; }
}
@media (max-width: 480px) {
    .wb-top .wb-account__btn { height: 52px; gap: 8px; padding: 0 8px 0 6px; }
    .wb-top .wb-lbbtn, .wb-top .wb-cart { width: 52px; height: 52px; border-radius: 14px; }
    .wb-top .wb-lbbtn i { font-size: 19px; }
    .wb-top .wb-account__btn img { width: 36px; height: 36px; }
    .wb-guest { width: 34px; height: 34px; font-size: 16px; }
    .wb-top .wb-account__btn b { max-width: 78px; font-size: 17px; line-height: 20px; }
    .wb-top .wb-account__btn small { font-size: 11px; }
}
