html.lobby-v2 body .bg-plan,
html.lobby-v2 body .app {
  display: none !important;
}
html.lobby-v2 body {
  background: #0b0c10;
}

#lobby-v2 {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 16px 14px;
  color: #f4f4f5;
  background: #0b0c10;
  box-sizing: border-box;
}

.lv2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #0b0c10;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.lv2-bg-img {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  object-fit: cover;
  filter: blur(7px) brightness(0.8);
}
.lv2-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.62) 100%);
}

#lobby-v2 .lv2-top { position: relative; z-index: 30; }
#lobby-v2 .lv2-stage,
#lobby-v2 .lv2-bottom { position: relative; z-index: 1; }

#lobby-v2 * { box-sizing: border-box; }

.lv2-top,
.lv2-left,
.lv2-card,
.lv2-slot {
  background: rgba(16, 18, 26, 0.78);
  border: 1px solid rgba(255, 165, 2, 0.28);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.lv2-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(220px, 300px);
  gap: 12px;
}

.lv2-left,
.lv2-right,
.lv2-center { min-height: 0; }

.lv2-right {
  display: grid;
  grid-template-rows: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
  background: none;
  border: 0;
  box-shadow: none;
}

.lv2-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(220px, 300px);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.lv2-slot-c { border-radius: 22px; }

.lv2-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 12px;
  overflow: visible;
  position: relative;
  z-index: 30;
}

#lobby-v2 .brand { color: #f4f4f5; text-decoration: none; }
#lobby-v2 .brand img { width: 28px; height: 28px; border-radius: 8px; }
#lobby-v2 .brand b { font-size: .78rem; letter-spacing: .08em; }
#lobby-v2 .online { background: rgba(0, 0, 0, .35); border-color: rgba(46, 204, 113, .35); color: #d7dbe6; }

.lv2-tabs { display: flex; align-items: center; gap: 4px; min-width: 0; }
.lv2-drop { position: relative; }
.lv2-tab, .lv2-menu button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #d7dbe6;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.lv2-tab {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.lv2-tab.on { background: #ffa502; color: #16120a; }
.lv2-tab:hover:not(.on) { background: rgba(255, 255, 255, .06); }
.lv2-ico { font-size: .95rem; line-height: 1; }

.lv2-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(16, 18, 26, .96);
  border: 1px solid rgba(255, 165, 2, .45);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  z-index: 6;
}
.lv2-menu[hidden] { display: none; }
.lv2-menu button {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
}
.lv2-menu button:hover { background: rgba(255, 165, 2, .14); }

#lobby-v2 .sables {
  margin-left: auto;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 165, 2, .35);
  border-radius: 999px;
  padding: 6px 12px;
  color: #f4f4f5;
}
#lobby-v2 .sables .cent { color: #ffa502; }
#lobby-v2 .lang-switch { flex-shrink: 0; }
#lobby-v2 #lobby-fs-btn { width: 36px; height: 36px; border-radius: 999px; flex-shrink: 0; }

#lobby-v2 .lv2-left {
  background: rgba(8, 10, 16, .45);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  box-shadow: none;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

#lobby-v2 .lv2-hero {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 165, 2, .35);
  background: rgba(12, 14, 20, .92);
  flex-shrink: 0;
}
#lobby-v2 .lv2-hero-art {
  height: 88px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffb703 0%, #ff7a18 100%);
  color: #fff;
}
#lobby-v2 .lv2-hero-art i { font-size: 2.6rem; }
#lobby-v2 .lv2-hero-name {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 1.2rem;
  font-weight: 800;
}

#lobby-v2 #modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  padding: 6px;
  background: rgba(16, 18, 26, .78);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  flex-shrink: 0;
}
#lobby-v2 #modes .mode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: auto;
  min-height: 58px;
  flex: none;
  padding: 8px 2px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #9aa3b2;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.15;
}
#lobby-v2 #modes .mode i { font-size: 1.15rem; }
#lobby-v2 #modes .mode.on {
  background: rgba(255, 165, 2, .12);
  color: #ffa502;
  border-color: #ffa502;
}

#lobby-v2 .lv2-atelier { display: none; }
#lobby-v2 .lv2-left:has(.mode[data-squad="creative"].on) .lv2-atelier {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 165, 2, .45);
  background: rgba(16, 18, 26, .9);
  color: #f4f4f5;
  font-weight: 800;
  cursor: pointer;
}

#lobby-v2 #multi-sub.show,
#lobby-v2 #squad-size.show,
#lobby-v2 #private-options.show {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
#lobby-v2 #squad-mode,
#lobby-v2 #ten-match,
#lobby-v2 #rookie-mode,
#lobby-v2 #story-pvp {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  grid-template-areas: "ico name badge" "ico meta badge";
  align-items: center;
  column-gap: 10px;
  row-gap: 1px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 8px 10px;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0;
  font-size: .92rem;
  background: rgba(16, 18, 26, .55);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #f4f4f5;
}
#lobby-v2 #squad-mode i,
#lobby-v2 #ten-match i,
#lobby-v2 #rookie-mode i,
#lobby-v2 #story-pvp i {
  grid-area: ico;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 165, 2, .16);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
}
#lobby-v2 #multi-sub .lv2-name {
  grid-area: name;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lobby-v2 #multi-sub .lv2-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  color: #9aa3b2;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
#lobby-v2 #multi-sub .lv2-meta span { white-space: nowrap; }
#lobby-v2 #multi-sub .lv2-meta span:first-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #2ecc71;
  vertical-align: middle;
}
#lobby-v2 .lv2-badge {
  grid-area: badge;
  justify-self: end;
  background: #5b3d86;
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: .62rem;
  font-weight: 800;
}
#lobby-v2 #squad-mode.on,
#lobby-v2 #ten-match.on,
#lobby-v2 #rookie-mode.on,
#lobby-v2 #story-pvp.on {
  border: 2px solid #ffa502;
  background: rgba(16, 18, 26, .72);
  color: #f4f4f5;
}
#lobby-v2 #crea-drafts.show,
#lobby-v2 #room-code,
#lobby-v2 #team-select { width: 100%; }

#lobby-v2 .lv2-left,
#lobby-v2 .lv2-right { position: relative; z-index: 3; }
#lobby-v2 .lv2-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  background: none;
}
#lobby-v2 .lv2-center:has(.lv2-sheet:not([hidden])) { z-index: 4; }
#lobby-v2 .lv2-player[hidden],
#lobby-v2 .lv2-stats[hidden] { display: none !important; }
#lobby-v2 .lv2-sheet {
  flex: 1;
  align-self: stretch;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 16px 18px 18px;
  background: rgba(16, 18, 26, .55);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 165, 2, .28);
  border-radius: 22px;
}
#lobby-v2 .lv2-sheet[hidden] { display: none !important; }
#lobby-v2 .lv2-sheet .panel-content {
  display: block;
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: auto;
  padding: 0;
  background: transparent;
  color: #f4f4f5;
}
#lobby-v2 .lv2-sheet #panel-top100 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#lobby-v2 .lv2-sheet #panel-top100 .panel-title,
#lobby-v2 .lv2-sheet #panel-top100 .social-tabs,
#lobby-v2 .lv2-sheet #panel-top100 .friend-add { flex-shrink: 0; }
#lobby-v2 .lv2-sheet #top100-list,
#lobby-v2 .lv2-sheet #friends-list,
#lobby-v2 .lv2-sheet #recent-list {
  min-height: 0;
  max-height: none !important;
  overflow: auto;
}
#lobby-v2 .lv2-sheet #top100-list,
#lobby-v2 .lv2-sheet #friends-list { flex: 1 1 auto; }
#lobby-v2 .lv2-sheet #recent-list { flex: 0 1 28%; }
#lobby-v2 .lv2-sheet .panel-title { color: #ffa502; }
#lobby-v2 .lv2-player {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8%;
  overflow: hidden;
}
#lobby-v2 .lv2-fly {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
#lobby-v2 .lv2-fly[hidden] { display: none !important; }
#lobby-v2 .lv2-plane {
  width: 46px;
  height: auto;
  display: block;
  image-rendering: pixelated;
  flex-shrink: 0;
}
#lobby-v2 .lv2-fly-track {
  position: absolute;
  top: 36%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: lv2-tow 18s linear infinite;
}
#lobby-v2 .lv2-banner {
  margin: 0;
  padding: 7px 16px;
  border-radius: 3px 12px 12px 3px;
  background: #16120a;
  color: #ffa502;
  border: 2px solid #ffa502;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
  transform-origin: left center;
  animation: lv2-flutter 1.1s ease-in-out infinite;
}
#lobby-v2 .lv2-banner b {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #5b3d86;
  color: #fff;
  font-size: .68rem;
}
@keyframes lv2-tow {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}
@keyframes lv2-flutter {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  #lobby-v2 .lv2-fly-track {
    animation: none;
    left: 50%;
    top: 12%;
    transform: translateX(-50%);
  }
  #lobby-v2 .lv2-banner { animation: none; }
}
#lobby-v2 #avatar-icon {
  position: relative;
  width: 220px;
  height: 220px;
  max-width: 36%;
  background: none !important;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}
#lobby-v2 #avatar-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  background: transparent !important;
}
#lobby-v2 .lv2-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(560px, 100%);
  margin-bottom: 2px;
  padding: 8px;
  background: rgba(8, 10, 16, .45);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
}
#lobby-v2 .lv2-stat {
  background: rgba(16, 18, 26, .72);
  border: 1px solid rgba(255, 165, 2, .28);
  border-radius: 14px;
  padding: 8px 6px 7px;
  text-align: center;
}
#lobby-v2 .lv2-stat b {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#lobby-v2 .lv2-stat span {
  display: block;
  margin-top: 2px;
  color: #9aa3b2;
  font-size: .68rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#lobby-v2 .lv2-glass {
  min-height: 0;
  overflow: auto;
  padding: 12px;
  background: rgba(8, 10, 16, .45);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
}
#lobby-v2 .lv2-party:has(#party-box[hidden]) { display: none; }
#lobby-v2 #party-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
#lobby-v2 #party-title {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#lobby-v2 #party-slots { margin: 0; color: #9aa3b2; font-size: .72rem; text-align: right; }
#lobby-v2 #party-members,
#lobby-v2 #party-wait,
#lobby-v2 #party-join-now,
#lobby-v2 #party-invite,
#lobby-v2 #party-friends,
#lobby-v2 #party-leave,
#lobby-v2 #party-code-line { grid-column: 1 / -1; margin: 0; }
#lobby-v2 #party-members li { min-height: 36px; }
#lobby-v2 .lv2-pava {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 165, 2, .18);
  font-weight: 800;
  font-size: .8rem;
}
#lobby-v2 .lv2-host {
  background: #ffa502;
  color: #16120a;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: .62rem;
  font-weight: 800;
}
#lobby-v2 #party-invite {
  border: 1px dashed rgba(255, 255, 255, .35);
  background: transparent;
}
#lobby-v2 #party-code-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9aa3b2;
  font-size: .75rem;
  font-weight: 700;
}
#lobby-v2 #party-code-line[hidden] { display: none !important; }
#lobby-v2 #party-code { color: #ffa502; letter-spacing: .08em; }
#lobby-v2 .lv2-board-title {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#lobby-v2 .lv2-me {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 165, 2, .16);
  font-size: .75rem;
  font-weight: 700;
}
#lobby-v2 .lv2-me[hidden] { display: none !important; }
#lobby-v2 .lv2-me em { font-style: normal; color: #9aa3b2; }
#lobby-v2 .lv2-me b { color: #ffa502; }

#lobby-v2 .lv2-slot-l {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  min-height: 72px;
  overflow: hidden;
  padding: 12px 16px;
  background: rgba(8, 10, 16, .45);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 165, 2, .45);
  border-radius: 18px;
  box-shadow: none;
}
#lobby-v2 .lv2-slot-r {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 8px;
  background: rgba(8, 10, 16, .45);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  box-shadow: none;
}
#lobby-v2 .lv2-play-sub {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.1;
}
#lobby-v2 .lv2-play-room {
  margin: 0;
  color: #ffa502;
  font-size: .82rem;
  font-weight: 800;
}
#lobby-v2 #mm-status {
  margin: 2px 0 0;
  max-width: 100%;
  text-align: left;
  color: #d7dbe6;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
}
#lobby-v2 .lv2-slot-c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  background: none;
  border: 0;
  box-shadow: none;
}
#lobby-v2 #party-box .lv2-fill {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: auto;
  margin: 4px 0 0;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .28);
  color: #f4f4f5;
  font-size: .78rem;
  font-weight: 800;
}
#lobby-v2 #party-box .lv2-fill[aria-disabled="true"] { opacity: .4; }
#lobby-v2 #party-box .lv2-switch {
  flex-shrink: 0;
  width: 36px;
  height: 20px;
  min-height: 20px;
  border: 0;
  border-radius: 999px;
  background: #3a3f4b;
  position: relative;
  padding: 0;
}
#lobby-v2 #party-box .lv2-switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}
#lobby-v2 #party-box .lv2-switch.on { background: #2ecc71; }
#lobby-v2 #party-box .lv2-switch.on i { left: 19px; }
#lobby-v2 #btn-deploy-action {
  width: min(480px, 100%);
  height: 100%;
  min-height: 96px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffb703 0%, #ff7a18 100%);
  color: #16120a;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(255, 122, 24, .35);
  transform: none;
}
#lobby-v2 #btn-deploy-action:hover { filter: brightness(1.06); }
#lobby-v2 #btn-deploy-action:active { transform: scale(.98); }
#lobby-v2 #btn-deploy-action.private {
  background: #3d2a55;
  color: #f3e8ff;
  border: 0;
  box-shadow: none;
  text-shadow: none;
}
#lobby-v2 #btn-deploy-action:disabled,
#lobby-v2 #btn-deploy-action.locked {
  filter: none;
  transform: none;
  opacity: .45;
}
#lobby-v2.lv2-nop #btn-deploy-action { display: none !important; }
#lobby-v2.lv2-nop .lv2-slot-c { display: none; }
#lobby-v2.lv2-nop .lv2-slot-l { grid-column: 1; }
#lobby-v2.lv2-nop .lv2-slot-r { grid-column: 3; }
#lobby-v2 .lv2-slot-r [data-open] {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .28);
  color: #f4f4f5;
  font-weight: 800;
}

.hub-bar {
  height: 64px;
  flex-shrink: 0;
  margin: 12px 16px 0;
  padding: 0 10px 0 12px;
  gap: 10px;
  background: rgba(16, 18, 26, .78);
  border: 1px solid rgba(255, 165, 2, .28);
  border-radius: 18px;
  z-index: 30;
}
.hub-bar .brand { display: inline-flex; align-items: center; gap: 8px; color: #f4f4f5; text-decoration: none; flex-shrink: 0; }
.hub-bar .brand img { width: 28px; height: 28px; border-radius: 8px; }
.hub-bar .brand b { font-size: .78rem; letter-spacing: .08em; }
.hub-bar .brand b span { color: #ffa502; }
.hub-bar .online { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.35); border: 1px solid rgba(46,204,113,.35); border-radius: 999px; padding: 4px 10px; font-size: .7rem; font-weight: 700; color: #d7dbe6; white-space: nowrap; }
.hub-bar .online i { width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 3px rgba(46,204,113,.18); }
.hub-bar .sables { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,165,2,.35); border-radius: 999px; padding: 6px 12px; color: #f4f4f5; font-weight: 800; font-size: .95rem; }
.hub-bar .sables .cent { color: #ffa502; font-size: 1.1rem; }
.hub-bar .lang-switch { display: flex; gap: 2px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 2px; flex-shrink: 0; }
.hub-bar .lang-switch button { border: 0; background: transparent; color: #9aa3b2; font-weight: 800; font-size: .65rem; padding: 5px 7px; border-radius: 7px; }
.hub-bar .lang-switch button.on { background: #ffa502; color: #16120a; }
.hub-bar .chip,
.hub-bar #lobby-fs-btn { width: 36px; height: 36px; min-width: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.35); color: #d7dbe6; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hub-bar .chip.on { color: #fff; border-color: #2ecc71; }
@media (orientation: landscape) and (max-height: 520px) {
  .hub-bar { height: 40px; margin: 6px 8px 0; }
  .hub-bar .brand b { display: none; }
  .hub-bar .lv2-tab { height: 30px; padding: 0 8px; }
  .hub-bar .lv2-tab > span:not(.lv2-ico) { display: none; }
  .hub-bar .lv2-tab.on > span { display: inline; }
  .hub-bar .lang-switch button { padding: 0 6px; height: 26px; }
  .hub-bar #lobby-fs-btn { width: 30px; height: 30px; min-width: 30px; }
}

@media (orientation: landscape) and (max-height: 520px) {
  #lobby-v2 {
    padding: 6px 8px 8px;
    gap: 6px;
    grid-template-rows: 40px minmax(0, 1fr) auto;
  }
  #lobby-v2 .brand b { display: none; }
  #lobby-v2 .lv2-tab { height: 30px; padding: 0 8px; }
  #lobby-v2 .lv2-tab > span:not(.lv2-ico) { display: none; }
  #lobby-v2 .lv2-tab.on > span { display: inline; }
  #lobby-v2 .lang-switch button { padding: 0 6px; height: 26px; }
  #lobby-v2 .lv2-stage,
  #lobby-v2 .lv2-bottom {
    grid-template-columns: minmax(156px, 210px) minmax(0, 1fr) minmax(148px, 200px);
    gap: 6px;
  }
  #lobby-v2 .lv2-left { padding: 6px; gap: 4px; }
  #lobby-v2 .lv2-hero-art { height: 36px; }
  #lobby-v2 .lv2-hero-art i { font-size: 1.3rem; }
  #lobby-v2 .lv2-hero-name { padding: 4px 8px 6px; font-size: .82rem; }
  #lobby-v2 #modes { padding: 4px; gap: 2px; }
  #lobby-v2 #modes .mode { min-height: 36px; padding: 4px 1px; font-size: .52rem; }
  #lobby-v2 #squad-mode,
  #lobby-v2 #ten-match,
  #lobby-v2 #rookie-mode,
  #lobby-v2 #story-pvp { padding: 4px 6px; font-size: .72rem; border-radius: 12px; column-gap: 6px; }
  #lobby-v2 #squad-mode i,
  #lobby-v2 #ten-match i,
  #lobby-v2 #rookie-mode i,
  #lobby-v2 #story-pvp i { width: 26px; height: 26px; font-size: .9rem; }
  #lobby-v2 #multi-sub .lv2-meta { font-size: .58rem; gap: 4px; }
  #lobby-v2 .lv2-badge { padding: 2px 6px; font-size: .55rem; }
  #lobby-v2 .lv2-fly { display: none !important; }
  #lobby-v2 .lv2-player { padding-top: 0; }
  #lobby-v2 #avatar-icon { width: 110px; height: 110px; max-width: 46%; }
  #lobby-v2 .lv2-stats { gap: 4px; padding: 4px; width: min(420px, 100%); }
  #lobby-v2 .lv2-stat { padding: 4px 2px; border-radius: 10px; }
  #lobby-v2 .lv2-stat b { font-size: .85rem; }
  #lobby-v2 .lv2-stat span { font-size: .55rem; }
  #lobby-v2 .lv2-slot-l { padding: 6px 8px; min-height: 0; }
  #lobby-v2 .lv2-play-sub { font-size: .85rem; }
  #lobby-v2 .lv2-slot-r { padding: 4px; }
  #lobby-v2 .lv2-slot-r [data-open] { height: 44px; font-size: .72rem; }
  #lobby-v2 #btn-deploy-action {
    min-height: 52px;
    font-size: .95rem;
    letter-spacing: .08em;
    border-radius: 14px;
  }
  #lobby-v2 .lv2-party,
  #lobby-v2 .lv2-board { padding: 8px; }
  #lobby-v2 .lv2-board-title { font-size: .72rem; }
}
