/* Consistency polish 2026-10-18 (docs/UI_CONSISTENCY_RULES.md). Small, targeted overrides. */

/* Lobby top bar: the settings gear sits in the same chip as everything else on that row. */
#releaseLobby .top047>.icon-button045{box-sizing:border-box;border:1px solid #5B7385!important;border-image:none!important;border-radius:4px!important;
 background:linear-gradient(180deg,rgba(58,78,94,.94),rgba(38,52,64,.94))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 2px 0 rgba(0,0,0,.35)!important}
#releaseLobby .top047>.icon-button045 .atlas-icon045{transform:scale(.82)}
#releaseLobby .top047 .gold047{cursor:pointer}

/* Range sliders (music volume etc.): the fill reaches the end at 100%. */
#releasePanel input[type=range]{-webkit-appearance:none;appearance:none;padding:0!important;border:0!important;border-image:none!important;background:transparent!important;box-shadow:none!important;height:24px;min-height:24px;accent-color:var(--c-accent,#E3B04B);cursor:pointer}
#releasePanel input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(90deg,var(--c-accent,#E3B04B) var(--fill,50%),#3A4E5E var(--fill,50%))}
#releasePanel input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-6px;border-radius:50%;background:#FFF0B8;border:2px solid #6b4c16}
#releasePanel input[type=range]::-moz-range-track{height:6px;border-radius:3px;background:#3A4E5E}
#releasePanel input[type=range]::-moz-range-progress{height:6px;border-radius:3px;background:var(--c-accent,#E3B04B)}
#releasePanel input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#FFF0B8;border:2px solid #6b4c16}

/* Upgrade: grade filter first, bulk upgrade right next to it, the count after them. */
/* Independent audio channels, with the same layout and control sizes. */
#releasePanel .audio-row1018{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:8px 12px;align-items:center;max-width:460px;margin:8px 0;padding:12px;border:1px solid #49616C;border-radius:6px;background:#102735}
#releasePanel .audio-row1018 .audio-label1018{font-size:14px}
#releasePanel .audio-row1018 .audio-mute1018{width:116px!important;min-height:38px!important;margin:0!important;padding:6px!important;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px}
#releasePanel .audio-row1018 .audio-volume1018{width:100%;min-width:0;margin:0}
#releasePanel .audio-row1018 .audio-value1018{text-align:center;font-size:12px;font-variant-numeric:tabular-nums;color:#E5C786}
#releasePanel .audio-row1018.is-muted .audio-value1018{color:#A9B3BA}
/* Battle draw/merge results fit portrait, name and the owning player's unit level. */
html body .merge-feed.merge-feed{width:max-content!important;max-width:min(210px,calc(50vw - 12px))!important;gap:2px!important;padding:0!important;min-height:0!important}
html body .merge-feed.merge-feed .compact-notice1018.compact-notice1018{display:flex!important;flex:0 0 auto!important;width:max-content!important;max-width:min(210px,calc(50vw - 12px))!important;min-width:0!important;height:32px!important;min-height:32px!important;margin:0!important;padding:1px 4px!important;gap:4px!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box}
html body .merge-feed.merge-feed .compact-notice1018>img{display:block!important;position:static!important;width:28px!important;height:28px!important;min-width:28px;object-fit:contain;image-rendering:auto;flex:0 0 28px;margin:0!important;padding:0!important}
html body .merge-feed.merge-feed .compact-notice1018>strong{display:block!important;flex:0 1 auto!important;font-size:11px!important;line-height:16px!important;height:auto!important;min-width:0;margin:0!important;padding:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}
html body .merge-feed.merge-feed .compact-notice1018>.notice-level1019{display:block!important;flex:0 0 auto!important;font-size:10px!important;line-height:16px!important;margin:0!important;padding:0!important;color:#E5C786;white-space:nowrap!important;font-variant-numeric:tabular-nums}
#releasePanel .work-toolbar089{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}
/* Keep 44px touch tabs in their own row, with one complete card row on short phones. */
#releasePanel .work-classic-20261007.work089{grid-template-rows:44px minmax(0,1fr)!important}
#releasePanel .work-classic-20261007 .work-races050{height:44px!important;min-height:44px!important}
#releasePanel .work089 .work-grid076{scroll-snap-type:y proximity;scroll-padding-block:5px}
#releasePanel .work089 .work-card076{scroll-snap-align:start}
@media(max-height:450px){
 #releasePanel .work089 .work-grid076{grid-auto-rows:clamp(130px,calc(100dvh - 136px),200px)!important}
 #releasePanel .work089 .work-grid076 .work-card076{height:clamp(130px,calc(100dvh - 136px),200px)!important;min-height:0!important}
 #releasePanel .work089 .work-card076>.work-portrait089{height:calc(100% - 64px)!important;object-fit:contain}
}
#releasePanel .work-toolbar089 .work-filter045{order:-2;margin:0!important}
#releasePanel .work-toolbar089>button{order:-1;margin:0!important}
#releasePanel .work-toolbar089>strong{order:0;margin-left:auto!important;color:var(--c-text-2,#A9B3BA)}

/* Shop cards: name and contents wrap onto lines instead of a sideways-scrolling strip. */
#releasePanel .product044>h3,#releasePanel .product044>small{white-space:normal!important;overflow:visible!important;text-overflow:clip;word-break:keep-all;overflow-wrap:anywhere;text-align:center}
#releasePanel .product044>h3{line-height:1.2}
#releasePanel .product044>small{font-size:13px!important;line-height:1.35!important;height:auto!important;max-height:none!important;color:var(--c-text,#ECE6D6)!important;
 display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 6px;padding:4px 0}
#releasePanel .product044 .product-art052{flex:1 1 auto;min-height:0}

/* Battle on large tablets: the spell-change button stays inside its own column (no zoom overflow onto the cards). */
.ui-large1017 #controls .spell-change{zoom:1!important;width:calc(var(--skill-width048,220px) - 14px)!important;height:34px!important;min-height:34px!important;max-height:34px!important;font-size:13px!important;line-height:26px!important}

/* ---------- Chest opening: every reward on one screen, cards burst out of the chest, grade colours ---------- */
#releasePanel .chest-opening090 .loot-cards{display:grid!important;grid-template-columns:repeat(var(--loot-cols,4),minmax(0,1fr))!important;grid-template-rows:repeat(var(--loot-rows,1),var(--loot-row,150px))!important;grid-auto-rows:var(--loot-row,150px)!important;
 align-content:center!important;gap:10px!important;overflow:visible!important;padding:6px!important}
#releasePanel .chest-opening090 .loot-card{min-height:0!important;height:auto!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;
 overflow:hidden;border-radius:8px!important;border:2px solid #7D8A94!important;background:linear-gradient(180deg,#2A3642,#1C252E)!important;box-shadow:0 3px 0 rgba(0,0,0,.45)!important;
 animation:loot-burst1018 .7s cubic-bezier(.2,.9,.25,1.15) both!important;animation-delay:calc(var(--i,0) * 90ms + 380ms)!important}
#releasePanel .chest-opening090 .loot-card img{position:relative;z-index:1;width:auto!important;height:calc(var(--loot-row,150px) * .46)!important;max-width:80%;object-fit:contain}
#releasePanel .chest-opening090 .loot-card strong{position:relative;z-index:1;font-size:clamp(11px,calc(var(--loot-row,150px) * .085),15px)!important;line-height:1.2;text-align:center;color:var(--c-text,#ECE6D6)}
#releasePanel .chest-opening090 .loot-card>span:not(.loot-glow1018){position:relative;z-index:1;font-size:clamp(13px,calc(var(--loot-row,150px) * .11),20px)!important;color:var(--c-accent,#E3B04B);margin:0!important}
#releasePanel .chest-opening090 .loot-card::before{position:absolute;top:6px;left:8px;z-index:2;font-size:11px!important;letter-spacing:0!important}
#releasePanel .chest-opening090 .loot-card.tier-2{border-color:var(--c-g2,#62AEDB)!important;background:radial-gradient(ellipse at 50% 30%,#2D5F80,#16283A 75%)!important;box-shadow:0 0 12px rgba(98,174,219,.45),0 3px 0 rgba(0,0,0,.45)!important}
#releasePanel .chest-opening090 .loot-card.tier-3{border-color:var(--c-g3,#B78BE0)!important;background:radial-gradient(ellipse at 50% 30%,#6B3F9A,#24163A 75%)!important;
 animation:loot-burst1018 .7s cubic-bezier(.2,.9,.25,1.15) both,loot-pulse3 1.8s ease-in-out infinite!important;animation-delay:calc(var(--i,0) * 90ms + 380ms),calc(var(--i,0) * 90ms + 1100ms)!important}
#releasePanel .chest-opening090 .loot-card.tier-4{border-color:#FFD27A!important;background:radial-gradient(ellipse at 50% 30%,#A8722A,#3A2412 75%)!important;
 animation:loot-burst1018 .8s cubic-bezier(.2,.9,.25,1.2) both,loot-pulse4 1.4s ease-in-out infinite!important;animation-delay:calc(var(--i,0) * 90ms + 380ms),calc(var(--i,0) * 90ms + 1200ms)!important}
#releasePanel .chest-opening090 .loot-card.tier-3::before{color:#E9D2FF!important}
#releasePanel .chest-opening090 .loot-card.tier-4::before{color:#FFE7AE!important}
/* Halo behind the portrait for unique / legendary. */
.loot-glow1018{position:absolute;left:50%;top:42%;width:140%;aspect-ratio:1;transform:translate(-50%,-50%);z-index:0;pointer-events:none;opacity:.85;border-radius:50%;
 animation:loot-spin1018 7s linear infinite;mix-blend-mode:screen}
#releasePanel .tier-3>.loot-glow1018{background:repeating-conic-gradient(rgba(214,170,255,.55) 0 8deg,transparent 8deg 22deg);-webkit-mask:radial-gradient(circle,#000 18%,transparent 62%);mask:radial-gradient(circle,#000 18%,transparent 62%)}
#releasePanel .tier-4>.loot-glow1018{background:repeating-conic-gradient(rgba(255,220,140,.7) 0 7deg,transparent 7deg 18deg);-webkit-mask:radial-gradient(circle,#000 20%,transparent 66%);mask:radial-gradient(circle,#000 20%,transparent 66%)}
#releasePanel .tier-4>.loot-glow1018::after{content:'';position:absolute;inset:30%;border-radius:50%;background:radial-gradient(circle,rgba(255,240,190,.9),rgba(255,200,90,0) 70%)}
#releasePanel .chest-opening090 .loot-card.tier-4::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(115deg,transparent 35%,rgba(255,245,210,.45) 50%,transparent 65%);background-size:250% 100%;animation:loot-shine1018 2.4s ease-in-out infinite}
@keyframes loot-burst1018{0%{opacity:0;transform:translate(var(--fx,0),var(--fy,0)) scale(.12) rotate(-14deg)}35%{opacity:1}75%{transform:translate(0,0) scale(1.07) rotate(1deg)}100%{opacity:1;transform:none}}
@keyframes loot-pulse3{0%,100%{box-shadow:0 0 10px rgba(183,139,224,.45),0 3px 0 rgba(0,0,0,.45)}50%{box-shadow:0 0 24px rgba(183,139,224,.85),0 3px 0 rgba(0,0,0,.45)}}
@keyframes loot-pulse4{0%,100%{box-shadow:0 0 14px rgba(255,190,90,.55),0 3px 0 rgba(0,0,0,.45)}50%{box-shadow:0 0 34px rgba(255,200,100,.95),0 3px 0 rgba(0,0,0,.45)}}
@keyframes loot-spin1018{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes loot-shine1018{0%{background-position:150% 0}60%,100%{background-position:-50% 0}}
.chest-opening090 .loot-scroll122{display:none!important}
@media (prefers-reduced-motion:reduce){.chest-opening090 .loot-card,.loot-glow1018,.chest-opening090 .loot-card::after{animation:none!important}}
#releasePanel .chest-opening090 .loot-cards{min-height:0!important;max-height:100%!important;overflow:visible!important}
#releasePanel .chest-opening090 .loot-card img{flex:0 0 auto!important;width:auto!important}
#releasePanel .chest-opening090 .loot-card strong{font-size:clamp(10px,calc(var(--loot-row,150px) * .1),15px)!important;line-height:1.15!important}

/* Demon lobby embers (polish-20261018.js) */
.lobby-embers1018{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;image-rendering:pixelated;mix-blend-mode:screen}
#releaseLobby[data-race=demon] .world047::after{content:'';position:absolute;left:0;right:0;bottom:0;height:45%;z-index:0;pointer-events:none;
 background:radial-gradient(ellipse 60% 70% at 50% 100%,rgba(255,96,40,.32),transparent 70%);animation:ember-glow1018 3.2s ease-in-out infinite alternate}
@keyframes ember-glow1018{from{opacity:.6}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#releaseLobby[data-race=demon] .world047::after{animation:none}}

/* ---------- Phones (landscape, short screens): menus as left/right columns, bigger text (20261018c) ---------- */
@media (max-height:500px){
 html.lobby-dock-on1017 .lobby-dock1017{top:0!important;bottom:0;transform:none!important;display:block!important;padding:0}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-gap1017{display:none}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017{position:fixed;top:calc(var(--safe-t,env(safe-area-inset-top,0px)) + 84px);bottom:calc(var(--safe-b,env(safe-area-inset-bottom,0px)) + 8px);width:84px;
  display:grid!important;grid-template-rows:repeat(4,minmax(0,1fr));justify-items:center;align-items:stretch;gap:4px!important;pointer-events:none;padding:6px 0;border-radius:12px;box-sizing:border-box}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017.left{left:calc(env(safe-area-inset-left,0px) + 6px);background:linear-gradient(90deg,rgba(10,16,22,.55),rgba(10,16,22,0))}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017.right{right:calc(env(safe-area-inset-right,0px) + 6px);background:linear-gradient(270deg,rgba(10,16,22,.55),rgba(10,16,22,0))}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017.dock-tab1017{pointer-events:auto;flex:none!important;width:80px!important;height:100%!important;min-height:0;padding:2px 0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;box-sizing:border-box}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017 .dock-icon1017,html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017 .dock-icon1017.white-outline1017{width:44px!important;height:44px!important}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-label1017{font-size:14px!important;line-height:16px!important;min-height:0!important;font-weight:700;color:#FFF7E2;text-shadow:0 0 3px #000,0 1px 0 #000,1px 0 0 #000,-1px 0 0 #000,0 -1px 0 #000!important;white-space:nowrap!important}
 /* Top bar: readable chips */
 html body #releaseLobby .top047{--top-f:14px!important;--top-h:36px!important}
 #releaseLobby .top047 .reward-icon254{width:24px!important;height:24px!important}
 #releaseLobby .top047 .currency-value571{font-size:15px!important}
 #releaseLobby .pass-progress047,#releaseLobby .season047 span{font-size:13px}
}
/* Tall-but-narrow content check: fewer than 400px tall phones (SE class) shrink slightly */
@media (max-height:380px){
 html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017{top:calc(env(safe-area-inset-top,0px) + 78px)}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017 .dock-icon1017,html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017 .dock-icon1017.white-outline1017{width:clamp(28px,calc((100dvh - 190px)/4),40px)!important;height:clamp(28px,calc((100dvh - 190px)/4),40px)!important;flex-shrink:0}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-label1017{font-size:13px!important}
}

/* Human/elf lobby ambience canvas */
.lobby-ambient1018{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;image-rendering:pixelated}
#releaseLobby[data-race=elf] .world047::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse 40% 30% at 20% 70%,rgba(200,255,140,.10),transparent 70%),radial-gradient(ellipse 35% 28% at 80% 65%,rgba(200,255,140,.08),transparent 70%)}

/* Pass entry chip: framed, gold accent, pass art, clearly tappable */
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season{position:relative;display:flex!important;align-items:center;gap:8px;padding:4px 12px 4px 40px!important;min-height:34px!important;
 border:2px solid #E3B04B!important;border-image:none!important;border-radius:8px!important;background:linear-gradient(180deg,rgba(58,44,20,.92),rgba(26,32,40,.92))!important;
 box-shadow:0 0 0 1px rgba(255,240,184,.25) inset,0 2px 0 rgba(0,0,0,.45),0 0 12px rgba(227,176,75,.35)!important;color:#FFF0C8!important;font-weight:700;cursor:pointer;overflow:visible;transition:transform .12s,filter .12s}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season::before{content:'';position:absolute;left:4px;top:50%;width:32px;height:32px;transform:translateY(-50%);background:url('assets/pixel-20261109/shop-products-20261011/pass-beginner.webp') center/contain no-repeat;filter:drop-shadow(0 2px 2px rgba(0,0,0,.6))}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season::after{content:'';position:absolute;inset:0;border-radius:6px;pointer-events:none;background:linear-gradient(110deg,transparent 35%,rgba(255,240,200,.28) 50%,transparent 65%);background-size:250% 100%;animation:pu-shine 3.2s ease-in-out infinite}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season>span{font-size:13px;text-shadow:0 1px 0 #000}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season .pass-progress047{appearance:none;-webkit-appearance:none;width:64px;height:8px;border:1px solid #6b5326;border-radius:4px;background:#0f161d;overflow:hidden}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season .pass-progress047::-webkit-progress-bar{background:#0f161d}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season .pass-progress047::-webkit-progress-value{background:linear-gradient(90deg,#D9A23F,#F4D27A)}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season .pass-progress047::-moz-progress-bar{background:linear-gradient(90deg,#D9A23F,#F4D27A)}
@media(hover:hover){html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season:hover{transform:translateY(-1px);filter:brightness(1.12)}}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season:active{transform:translateY(1px) scale(.98)}
@media (max-height:500px){html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season{min-height:30px!important;padding:3px 10px 3px 36px!important}html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season::before{width:28px;height:28px}html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season>span{font-size:13px}}
@keyframes pu-shine{0%{background-position:150% 0}60%,100%{background-position:-50% 0}}
@media (prefers-reduced-motion:reduce){#releaseLobby .release-season::after{animation:none}}

/* Phone side columns (v3): fixed 66px pitch, centred; dark fade glued to the screen edge, top bar to bottom */
@media (max-height:500px){
 html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017{top:44px!important;bottom:0!important;width:calc(env(safe-area-inset-left,0px) + 96px)!important;padding:0!important;border-radius:0!important;
  grid-template-rows:none!important;grid-auto-rows:62px!important;align-content:center!important;gap:4px!important}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017.left{left:0!important;padding-left:env(safe-area-inset-left,0px)!important;background:none!important}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017.right{right:0!important;width:calc(env(safe-area-inset-right,0px) + 96px)!important;padding-right:env(safe-area-inset-right,0px)!important;background:none!important}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017.dock-tab1017{height:62px!important;justify-content:flex-start!important;gap:2px!important;padding:2px 0 0!important}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017 .dock-icon1017,html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017 .dock-icon1017.white-outline1017{width:40px!important;height:40px!important;flex:none!important}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-label1017{height:16px!important;line-height:16px!important;position:relative}
 html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017[data-tab=upgrade].is-new1017 .dock-label1017::after{position:absolute;left:calc(100% + 2px);top:50%;transform:translateY(-50%)}
}
@media (max-height:380px){html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017{grid-auto-rows:56px!important}html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017.dock-tab1017{height:56px!important}html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017 .dock-icon1017,html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017 .dock-icon1017.white-outline1017{width:34px!important;height:34px!important}}

@media (max-height:500px){html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017,html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017::before,html.lobby-dock-on1017 .lobby-dock1017 .dock-side1017::after{background:none!important;box-shadow:none!important;border:0!important}html.lobby-dock-on1017 .lobby-dock1017 .dock-tab1017.dock-tab1017{background:none!important;border:0!important;box-shadow:none!important;border-image:none!important}}

/* ---------- Backgrounds keep their subject at any aspect ratio (20261018) ---------- */
/* Loading art: dragons sit at the top centre, heroes at the sides. Wide screens anchor the top so the
   dragons are never cut; narrow (4:3) screens crop the sides evenly. */
@media (min-aspect-ratio:16/9){
 #loading059,#boot074.boot-game-loading20261008{background-position:50% 0%!important}
 .account-entry070{background-position:center,50% 0%!important}
}
/* Lobby: on wide phones the castle roofs hid under the top bar; start the art just below the bar. */
@media (min-aspect-ratio:17/9) and (max-height:500px){
 #releaseLobby{background-position:50% 40px!important;background-size:cover!important}
}
/* Rank action and attendance pass share one centered column in normal flow. */
html.lobby-dock-on1017 body #releaseLobby{grid-template-rows:auto minmax(0,1fr) auto auto!important}
html.lobby-dock-on1017 body #releaseLobby .footer047{display:flex!important;justify-content:center;align-items:flex-start;min-height:0;height:auto;padding:4px 0 8px!important;box-sizing:border-box}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;z-index:6;width:min(380px,calc(36vw / var(--ui-k,1)))!important;max-width:none!important;margin:0!important;transform:none!important;box-sizing:border-box;justify-content:center;gap:6px}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season>span{white-space:nowrap;min-width:0}
html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season progress{flex:1 1 32px;min-width:20px;max-width:64px}
@media(max-width:760px){html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season progress{display:none}html.lobby-dock-on1017 body #releaseLobby .footer047 .release-season>span{font-size:11px}}

/* Deck header: evolution fragments */
.frag-wallet1018{display:inline-flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 10px;min-width:0}
.frag1018{display:inline-flex;align-items:center;gap:3px;font-size:14px;color:var(--c-text,#ECE6D6)}
.frag1018 img{width:24px;height:24px;object-fit:contain;image-rendering:auto;flex-shrink:0}
.frag1018 b{font-variant-numeric:tabular-nums;white-space:nowrap}
.frag1018.tier-2 b{color:var(--c-g2,#62AEDB)}.frag1018.tier-3 b{color:var(--c-g3,#B78BE0)}.frag1018.tier-4 b{color:var(--c-g4,#EE9A4E)}
@media (max-height:500px){.frag-wallet1018{gap:6px}.frag1018{font-size:12px}.frag1018 img{width:18px;height:18px}}

/* embers start at the screen bottom: canvas may extend below the world box */
#releaseLobby .world047{overflow:visible}
.lobby-embers1018{top:0!important;height:auto!important}
/* lava glow sits on the screen bottom too (no hard edge above the rank button) */
#releaseLobby[data-race=demon] .world047::after{bottom:calc(-1 * var(--world-extra1018,0px))!important;height:calc(45% + var(--world-extra1018,0px))!important}
