/* Reference-matched lobby rail. Gameplay is outside these selectors. */
body.redesign-v2 #s2-card-main .lp-panel[hidden],body.redesign-v2 #s2-profile-hero.hidden+.lp-panel,.lp-live[hidden]{display:none!important}
@media(min-width:720px){
 body.redesign-v2 #s2-card-main{width:320px!important;padding:10px 9px 18px!important;background:#0e0e0e!important;border-right:1px solid #282828!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color: var(--muck-line-strong) transparent}
 body.redesign-v2 .lobby-scroll-body{padding-left:320px!important}
 body.redesign-v2 #s2-profile-hero:not(.hidden){display:grid!important;grid-template-columns:52px minmax(0,1fr);grid-template-rows:52px auto;align-items:center;gap:2px 11px!important;position:relative;padding:10px 12px 12px!important;margin:0 0 7px!important;border:1px solid #2e2e2e!important;border-radius:8px!important;background:radial-gradient(ellipse at 10% 0,#26325344,transparent 58%),linear-gradient(120deg,#141414,#111111)!important;box-shadow:inset 0 1px #ffffff04}
 body.redesign-v2 #s2-profile-hero::before{display:none!important}
 body.redesign-v2 #s2-profile-hero::after{content:'›';position:absolute;right:11px;top:25px;color:#8a8a8a;font-size:21px}
 body.redesign-v2 #s2-profile-hero .s2-profile-av-wrap{width:52px!important;height:52px!important;position:relative}
 body.redesign-v2 #s2-profile-hero .s2-profile-img{width:52px!important;height:52px!important;border:2px solid #a970ff!important;border-radius:50%;box-shadow:0 0 0 2px #d8bd8440!important;object-fit:cover}
 body.redesign-v2 #s2-profile-hero .s2-profile-online{position:absolute!important;width:11px!important;height:11px!important;right:0!important;bottom:0!important;background:#35d364!important;border:2px solid #181818!important;border-radius:50%}
 body.redesign-v2 #s2-profile-hero .s2-profile-info{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:7px;padding-right:17px}
 body.redesign-v2 #s2-profile-hero .s2-profile-name{font-size:14px!important;line-height:20px!important;margin:0!important;font-weight:750;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#f1f2f7}
 body.redesign-v2 #s2-profile-hero .s2-profile-meta{grid-column:1/-1;font-size:15px!important;line-height:24px!important;color:#ffd34f!important;opacity:1!important;margin-top:2px;font-weight:650}
 body.redesign-v2 #s2-profile-hero .s2-profile-edit-btn{display:none!important}
 .lp-level{font-size:9px;line-height:17px;font-weight:650;color:#c9a7ff;background:#7c3aed48;border-radius:5px;padding:1px 6px;white-space:nowrap}
 .lp-xp{grid-column:1/-1;width:100%;margin-top:0}
 .lp-xp-label{display:flex;justify-content:flex-end;font-size:9px;line-height:12px;color:#8a8a8a;font-variant-numeric:tabular-nums;margin-bottom:3px}
 .lp-xp-caption{display:none}
 .lp-xp-track{height:5px;border-radius:5px;background:#292929;overflow:hidden}
 .lp-xp-track i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#a970ff,#a970ff)}
 .lp-panel{display:grid;gap:6px;margin-bottom:8px}
 .lp-card{width:100%;min-height:64px;display:flex;align-items:center;gap:12px;text-align:left;padding:11px 12px;background:linear-gradient(115deg,#181818,#0f0f0f);border:1px solid #303030;border-radius:8px;color:#eff0f5;box-shadow:inset 0 1px #ffffff04;cursor:pointer;font-family:inherit}
 .lp-card:hover,.lp-banner:hover{border-color:#647084;filter:brightness(1.1)}
 .lp-card:focus-visible,.lp-banner:focus-visible,.lp-live button:focus-visible{outline:2px solid #c9a7ff;outline-offset:3px}
 .lp-symbol{font-size:29px;font-variation-settings:'FILL' 1,'wght' 600;flex:0 0 34px;text-align:center;color:#ffd34f}
 .lp-streak{background:radial-gradient(ellipse at 9% 75%,#f3692020,transparent 42%),linear-gradient(115deg,#161616,#0f0f0f)}
 .lp-streak .lp-symbol{font-size:36px;background:linear-gradient(#ffd34f,#ff553c);background-clip:text;-webkit-background-clip:text;color:transparent;filter:drop-shadow(0 0 7px #ff651f35)}
 .lp-bonus .lp-symbol{font-size:32px;color:#7c3aed;filter:drop-shadow(0 0 8px #7c3aed35)}
 .lp-copy{flex:1;min-width:0}
 .lp-copy strong{display:block;font-size:13px;line-height:18px;font-weight:700;letter-spacing:0}
 .lp-copy small{display:block;font-size:11px;line-height:15px;color:#b4b4b4;margin-top:1px}
 .lp-chevron{font-size:20px;line-height:1;color:#8a8a8a;flex:none}
 .lp-action{display:flex;align-items:center;justify-content:center;min-width:74px;min-height:34px;padding:7px 11px;font-size:12px;font-weight:750;background:linear-gradient(#ffd34f,#ffd34f);color:#302003;border:1px solid #d8bd8466;border-radius:6px;box-shadow:0 2px 12px #ffd34f17}
 .lp-days{display:flex;gap:8px;flex:none}
 .lp-days span{width:21px;height:21px;display:flex;align-items:center;justify-content:center;border:1px solid #374152;border-radius:50%;font-size:14px;color:#251b07;font-weight:800;box-shadow:inset 0 1px 2px #0004}
 .lp-days .is-visited{background:linear-gradient(#ffd34f,#ffd34f);border-color:#ffd34f;box-shadow:0 0 8px #ffd34f13}
 .lp-streak .lp-copy{min-width:85px}
 .lp-challenges{min-height:49px}
 .lp-challenges .lp-symbol{font-size:25px}
 .lp-challenges .lp-copy strong{font-size:12px}
 .lp-challenges>small{font-size:11px;color:#b4b4b4;white-space:nowrap}
 .lp-discovery{display:grid;gap:8px;margin-bottom:16px}
 .lp-live{border:1px solid #2f2f2f;border-radius:8px;background:linear-gradient(125deg,#191919,#0f0f0f);padding:0 12px 3px}
 .lp-live header{display:flex;align-items:center;justify-content:space-between;min-height:38px;border-bottom:1px solid #313131}
 .lp-live header strong{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:750;color:#eff1f5}
 .lp-live header i{width:8px;height:8px;border-radius:50%;background:#37d163;box-shadow:0 0 7px #37d16330}
 .lp-live header button{font:500 10px Inter,system-ui;color:#b4b4b4;background:none;border:0;padding:7px 0 7px 7px;cursor:pointer}
 .lp-live-row{display:flex;align-items:center;gap:9px;min-height:49px;border-bottom:1px solid #313131}
 .lp-live-row:last-child{border-bottom:0}
 .lp-live-row>.material-symbols-rounded{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#a56b1220;color:#ffd34f;font-size:24px;font-variation-settings:'FILL' 1}
 .lp-live-copy{flex:1;min-width:0}
 .lp-live-copy strong{display:block;font-size:12px;color:#eef0f4;line-height:17px}
 .lp-live-copy small{display:block;font-size:10px;color:#b4b4b4;white-space:nowrap}
 .lp-live-seats{display:flex;align-items:center;gap:4px;font-size:11px;color:#d7deea}
 .lp-live-seats .material-symbols-rounded{font-size:14px;color:#35d575;font-variation-settings:'FILL' 1}
 .lp-live-row>button{min-width:50px;min-height:31px;border:1px solid #a970ff2b;border-radius:6px;background:linear-gradient(145deg,#a970ff,#7c3aed);color:#fff;font:650 11px Inter,system-ui;cursor:pointer;box-shadow:inset 0 1px #ffffff18}
 .lp-live-row>button:hover{background:linear-gradient(145deg,#a970ff,#7c3aed)}
 .lp-banner{position:relative;isolation:isolate;width:100%;min-height:78px;display:flex;align-items:center;justify-content:space-between;text-align:left;overflow:hidden;border:1px solid #535066;border-radius:7px;padding:13px 15px;background:#171717;box-shadow:inset 0 0 0 1px #d5a45111;cursor:pointer;color:#f1f0f7;font-family:inherit}
 .lp-banner::before{content:'';position:absolute;inset:0;z-index:-1;background-repeat:no-repeat;background-size:cover;background-position:right center}
 .lp-banner>span:first-child{position:relative;z-index:1;max-width:88%}
 .lp-banner strong{display:block;font-size:14px;line-height:19px;font-weight:750;letter-spacing:-.2px}
 .lp-banner b{display:block;font-size:14px;line-height:19px;color:#ffd34f;font-weight:750}
 .lp-banner small{display:block;font-size:10px;line-height:16px;color:#b0aabe}
 .lp-banner-missions::before{background-image:linear-gradient(90deg,#281430cc,#24122330 65%,transparent),url('lobby-art/missions-objects-v9.webp')}
 .lp-banner-leaderboard{min-height:77px;padding-left:59px}
 .lp-banner-leaderboard::before{background-image:linear-gradient(90deg,#1212121a,#121212c7 25%,#121212f7 70%),url('lobby-art/standings-objects-v9.webp');background-position:center,93% 55%;background-size:cover,auto 190%}
 .lp-banner-leaderboard::after{content:'';position:absolute;left:6px;bottom:0;width:50px;height:72px;background:url('lobby-art/standings-objects-v9.webp') 73% center/auto 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);filter:drop-shadow(0 0 5px #ffd34f33)}
 body.redesign-v2 #s2-card-main .lv2-util-group-label{margin-top:12px!important}
 body.redesign-v2 #s2-card-main .lv2-util-btn{min-height:39px!important}
}
@media(min-width:720px) and (max-width:1050px){
 body.redesign-v2 #s2-card-main{width:290px!important;padding:8px!important}
 body.redesign-v2 .lobby-scroll-body{padding-left:290px!important}
 .lp-card{gap:8px;padding:10px}.lp-days{gap:5px}.lp-action{min-width:62px;padding:7px}
 body.redesign-v2 #s2-profile-hero .s2-profile-name{font-size:13px!important}
 .lp-live-row{gap:6px}.lp-live-copy small{font-size:9px}
 body.redesign-v2 #lobby .ls-hero-headline{font-size:34px!important}
}
@media(max-width:719px){.lp-panel,.lp-discovery,.lp-level,.lp-xp{display:none!important}}
body.redesign-v2 #s2-card-opentables .v2-fmt-card{background:linear-gradient(145deg,#1f1f1f,#121212)!important;border-color:#2a3545!important;box-shadow:inset 0 1px #ffffff06,0 8px 24px #0001}
body.redesign-v2 #lobby .ls-promo-card{border:1px solid #303945;border-radius:10px;box-shadow:inset 0 1px #ffffff06}
body.redesign-v2 #lobby :is(.rwd-card,.missions-card,.lb-table-wrap){border-color:#303945!important}

/* Lower navigation uses the same inset cards as the progression section. */
@media(min-width:720px){
 body.redesign-v2 #s2-card-main .lv2-util-bar{gap:14px!important;padding:0!important;margin-top:14px!important}
 body.redesign-v2 #s2-card-main .lv2-util-group{display:flex!important;flex-direction:column!important;gap:6px!important;padding:0!important;border:0!important}
 body.redesign-v2 #s2-card-main .lv2-util-group.hidden{display:none!important}
 body.redesign-v2 #s2-card-main .lv2-util-group-label{padding:5px 4px!important;margin:0 0 2px!important;color:#b4b4b4!important;font-size:10px!important;letter-spacing:.12em!important}
 body.redesign-v2 #s2-card-main .lv2-util-btn{width:100%!important;min-height:49px!important;padding:8px 12px!important;gap:12px!important;background:linear-gradient(115deg,#181818,#0f0f0f)!important;border:1px solid #303030!important;border-radius:8px!important;color:#e4e8f0!important;font-size:13px!important;font-weight:650!important;box-shadow:inset 0 1px #ffffff04!important;text-decoration:none!important;transition:border-color .15s,background .15s!important}
 body.redesign-v2 #s2-card-main .lv2-util-btn>.material-symbols-rounded:first-child{display:grid!important;place-items:center;width:30px!important;height:30px!important;flex:0 0 30px;font-size:20px!important;border-radius:8px;background:#ffd34f10;color:#ffd34f!important}
 body.redesign-v2 #s2-card-main :is(#btn-rewards-nav,#btn-missions-nav,#btn-sidebar-mystats,#btn-sidebar-handreviews)>.material-symbols-rounded:first-child{background:#a970ff19;color:#a970ff!important}
 body.redesign-v2 #s2-card-main .lv2-util-btn:hover{border-color:#5d6b83!important;background:linear-gradient(115deg,#262626,#191919)!important}
 body.redesign-v2 #s2-card-main .lv2-util-btn.s2-active,body.redesign-v2:not(.s2-panel-active) #s2-card-main .lv2-nav-home{background:linear-gradient(110deg,#2a1d44,#1c1c1c)!important;border-color:#7c3aed!important;color:#f3e8ff!important;box-shadow:inset 0 1px #ffffff0a!important}
 body.redesign-v2 #s2-card-main .lv2-util-btn::after{content:none!important}
 body.redesign-v2 #s2-card-main .lv2-util-btn:focus-visible{outline:2px solid #c9a7ff!important;outline-offset:2px!important}
 body.redesign-v2 #s2-card-main .lp-banner-leaderboard{min-height:90px;padding:14px 12px;border-color:#56432b}
 body.redesign-v2 #s2-card-main .lp-banner-leaderboard::before{background-image:linear-gradient(90deg,#171119f5 0%,#171119ad 42%,#17111900 78%),url('lobby-art/standings-objects-v9.webp');background-position:center,right center;background-size:cover,auto 125%;opacity:1}
 body.redesign-v2 #s2-card-main .lp-banner-leaderboard::after{display:none}
 body.redesign-v2 #s2-card-main .lp-banner-leaderboard>span:first-child{max-width:165px}
 body.redesign-v2 #s2-card-main .lp-banner-leaderboard strong{max-width:145px;line-height:1.3}
 body.redesign-v2 #s2-card-main .lp-banner-leaderboard small{max-width:155px;color:#ffd34f;line-height:1.35;margin-top:4px}
}
.lp-top-nav{display:none}
@media(min-width:1001px){
 body.redesign-v2 #lobby-mobile-header .lp-top-nav{display:flex;align-items:center;gap:6px;margin-left:32px;margin-right:auto}
 body.redesign-v2 .lp-top-nav :is(button,a){text-decoration:none;display:flex;align-items:center;gap:8px;padding:10px 15px;min-height:40px;background:transparent;border:1px solid transparent;border-radius:7px;color:#b4b4b4;font:650 13px Inter,system-ui,sans-serif;cursor:pointer}
 body.redesign-v2 .lp-top-nav button .material-symbols-rounded{font-size:19px}
 body.redesign-v2 .lp-top-nav button:hover{background:#242424;color:#f1f2f7}
 body.redesign-v2 .lp-top-nav button[aria-current=page]{background:linear-gradient(#2a1d44,#1b1827);border-color:#7c3aed;color:#c9a7ff}
 body.redesign-v2 #s2-card-main :is(#btn-sidebar-home,#btn-live-games,#btn-how-to-play-lobby){display:none!important}
}

/* chips under the name (lobby-progress.js) and level on the own profile (leaderboard.js) */
.lp-chips{display:inline-flex;align-items:center;gap:3px;color:#ffd34f!important;font-weight:700}
.lp-chips .material-symbols-rounded{font-size:12px;line-height:1}
.profile-level{font-size:12px;font-weight:700;color:#c9a7ff;margin-top:4px}

/* Style guide (docs/STYLE-GUIDE.md): every icon in the home status strip is gold, the one accent colour. */
.lp-symbol,body.home-v3 .home-status-link .material-symbols-rounded,body.home-v3 .home-status-gto .material-symbols-rounded{color:var(--muck-gold,#ffd34f)!important}
