/* community-games */
/* ARENACTIVE v1.48.5.266 — Community Games artwork + home carousel.
   Shared visual layer for the home strip, game-first lobby directory and
   generic Community Game lobby creation. No Integrated-game layout changes. */

/* ---------- shared abstract game art ---------- */
.community-game-art{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 78% 18%,rgba(255,255,255,.16),transparent 22%),
    linear-gradient(135deg,#171c23 0%,#0b0f14 45%,#14181e 100%);
}
.community-game-art::before,
.community-game-art::after{content:"";position:absolute;pointer-events:none}
.community-game-art::before{
  z-index:0;inset:-18%;
  background:
    linear-gradient(125deg,transparent 0 32%,rgba(255,255,255,.065) 33% 35%,transparent 36% 100%),
    radial-gradient(circle at 70% 55%,rgba(237,23,23,.26),transparent 34%);
  transform:rotate(-7deg);
}
.community-game-art::after{
  z-index:1;left:-12%;right:-12%;bottom:-34%;height:66%;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.76));
  transform:skewY(-5deg);
}
.community-game-art>i{
  position:absolute;z-index:2;right:10px;bottom:8px;
  color:rgba(255,255,255,.86);font-style:normal;font-size:24px;font-weight:950;
  letter-spacing:-1.2px;text-shadow:0 5px 18px rgba(0,0,0,.62);
}

.community-game-art.has-image>img{position:absolute;z-index:0;inset:0;width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.92) contrast(1.05) brightness(.88);transform:scale(1.01);transition:transform .22s ease,filter .22s ease}
.community-game-art.has-image::before{z-index:1;inset:0;transform:none;background:linear-gradient(180deg,rgba(0,0,0,.03) 18%,rgba(0,0,0,.10) 48%,rgba(0,0,0,.46) 100%)}
.community-game-art.has-image::after{z-index:2;left:0;right:0;bottom:0;height:58%;transform:none;background:linear-gradient(180deg,transparent,rgba(4,6,9,.80))}
.home-community-card:hover .community-game-art.has-image>img,.game-directory-card:hover .community-game-art.has-image>img{transform:scale(1.045);filter:saturate(1.02) contrast(1.06) brightness(.94)}
.community-game-art.theme-racing{background:linear-gradient(135deg,#314d54,#0b1116 48%,#59120f)}
.community-game-art.theme-racing::before{background:radial-gradient(circle at 74% 52%,rgba(255,65,48,.52),transparent 28%),linear-gradient(153deg,transparent 0 43%,rgba(255,255,255,.15) 44% 46%,transparent 47% 100%)}
.community-game-art.theme-neon-racing{background:linear-gradient(135deg,#081318,#0d3131 42%,#5a0b49)}
.community-game-art.theme-neon-racing::before{background:radial-gradient(circle at 70% 52%,rgba(0,255,207,.30),transparent 26%),radial-gradient(circle at 34% 30%,rgba(255,0,181,.30),transparent 30%)}
.community-game-art.theme-fighter{background:linear-gradient(135deg,#3e130b,#130b09 48%,#7d2d08)}
.community-game-art.theme-fighter-blue{background:linear-gradient(135deg,#0b1b35,#100d17 52%,#45142b)}
.community-game-art.theme-fighter-orange{background:linear-gradient(135deg,#3b1609,#161015 48%,#8f3a10)}
.community-game-art.theme-space{background:linear-gradient(135deg,#4a4b2d,#11150f 48%,#1d2c26)}
.community-game-art.theme-space-blue{background:linear-gradient(135deg,#0a2638,#0c111d 52%,#273e5c)}
.community-game-art.theme-space-purple{background:linear-gradient(135deg,#1f1741,#090e18 50%,#30556f)}
.community-game-art.theme-sport{background:linear-gradient(135deg,#082d53,#101720 50%,#0c6a7a)}
.community-game-art.theme-city{background:linear-gradient(135deg,#173448,#10161c 47%,#67301a)}
.community-game-art.theme-tactical{background:linear-gradient(135deg,#252a2e,#0d1115 50%,#5b4d1e)}
.community-game-art.theme-hero{background:linear-gradient(135deg,#17314d,#11131a 47%,#784126)}
.community-game-art.theme-hero-red{background:linear-gradient(135deg,#4e1018,#11131b 50%,#17335a)}
.community-game-art.theme-horror{background:linear-gradient(135deg,#211c1c,#07090b 50%,#4f151a)}
.community-game-art.theme-survival{background:linear-gradient(135deg,#59321d,#10110f 50%,#263724)}
.community-game-art.theme-survival-dark{background:linear-gradient(135deg,#283025,#0a0d0c 50%,#45251f)}
.community-game-art.theme-ocean{background:linear-gradient(135deg,#0c4553,#07131a 50%,#1e6f77)}
.community-game-art.theme-arena{background:linear-gradient(135deg,#5a1016,#100d12 48%,#a0131d)}
.community-game-art.theme-fantasy{background:linear-gradient(135deg,#235052,#10161b 50%,#584477)}
.community-game-art.theme-wilds{background:linear-gradient(135deg,#594a2b,#171812 50%,#3d5c43)}
.community-game-art.theme-fantasy-gold{background:linear-gradient(135deg,#514125,#12120f 50%,#776532)}

/* ---------- home Community Games strip ---------- */
.home-community-games{
  position:relative;z-index:10;
  padding:10px 34px 12px;
  border-bottom:1px solid rgba(255,255,255,.065);
  background:
    linear-gradient(180deg,rgba(13,17,22,.76),rgba(5,7,10,.98)),
    radial-gradient(ellipse at 36% 0%,rgba(237,23,23,.06),transparent 45%);
}
.home-community-games::before{
  content:"";position:absolute;left:34px;right:34px;top:0;height:1px;
  background:linear-gradient(90deg,rgba(237,23,23,.62),rgba(237,23,23,.08) 46%,transparent 84%);
}
.home-community-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:9px}
.home-community-head>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.home-community-head span{color:#f0f3f5;font-size:10.5px;font-weight:950;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap}
.home-community-head span b{color:#ed1717;font-size:15px}
.home-community-head p{margin:0;color:#89939d;font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-community-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.home-community-actions>a{min-height:29px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;border:1px solid rgba(237,23,23,.24);border-radius:999px;background:rgba(237,23,23,.055);color:#d8dde1;font-size:10px;font-weight:950;letter-spacing:.45px}
.home-community-actions>a:hover{border-color:rgba(237,23,23,.42);background:rgba(237,23,23,.10);color:#fff}
.home-community-actions>a b{color:#ff4a4f;font-size:14px}
.home-community-scroll-controls{display:flex;gap:5px}
.home-community-scroll-controls button{width:29px;height:29px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.10);border-radius:50%;background:#0a0e13;color:#cbd2d8;font:950 18px/1 Arial,sans-serif;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,opacity .15s ease}
.home-community-scroll-controls button:hover:not(:disabled){border-color:rgba(237,23,23,.40);background:rgba(237,23,23,.09);color:#fff}
.home-community-scroll-controls button:disabled{opacity:.28;cursor:default}
.home-community-grid{display:flex;gap:10px;overflow-x:auto;padding:1px 1px 4px;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-inline:contain}
.home-community-grid::-webkit-scrollbar{display:none}
.home-community-card{
  position:relative;min-width:0;flex:0 0 calc((100% - 50px)/6);height:106px;overflow:hidden;scroll-snap-align:start;
  border:1px solid rgba(255,255,255,.085);border-radius:10px;
  background:#090d12;box-shadow:0 9px 24px rgba(0,0,0,.20);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.home-community-card:hover{transform:translateY(-2px);border-color:rgba(237,23,23,.30);box-shadow:0 14px 28px rgba(0,0,0,.28)}
.home-community-art{position:absolute;inset:0;height:auto}
.home-community-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 16%,rgba(5,7,10,.06) 42%,rgba(5,7,10,.94) 74%,#070a0e 100%);pointer-events:none}
.home-community-badge{position:absolute;z-index:3;left:8px;top:7px;padding:3px 6px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(6,9,13,.72);backdrop-filter:blur(5px);color:#c0c8cf;font-size:10px;font-weight:950;letter-spacing:.38px;text-transform:uppercase}
.home-community-card>strong{position:absolute;z-index:3;left:9px;right:8px;bottom:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5f7f8;font-size:10.5px;font-weight:950}
.home-community-card>small{position:absolute;z-index:3;left:9px;right:8px;bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#89939d;font-size:10px;font-weight:800}

/* ---------- game-first lobby directory ---------- */
.game-directory{display:grid;gap:22px;margin-top:18px}
.game-directory-intro{padding:16px 18px;border:1px solid rgba(255,255,255,.07);border-left:2px solid rgba(237,23,23,.62);border-radius:12px;background:linear-gradient(135deg,rgba(237,23,23,.045),rgba(9,12,16,.78))}
.game-directory-intro>span,.game-directory-section-head span{display:block;color:#f3f5f7;font-size:10px;font-weight:950;letter-spacing:.75px;text-transform:uppercase}
.game-directory-intro>span{color:#ff5f64}
.game-directory-intro h2{margin:5px 0 4px;color:#f7f8f9;font-size:23px;line-height:1.05;font-weight:950;letter-spacing:-.35px}
.game-directory-intro p,.game-directory-section-head p{margin:0;color:#8e98a2;font-size:10.5px;line-height:1.5}
.game-directory-section{display:grid;gap:10px;scroll-margin-top:95px}
.game-directory-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.game-directory-section-head>div{display:grid;gap:3px}
.game-directory-section-head>div>span::first-letter{color:inherit}
.game-directory-section-head>b{color:#737e88;font-size:10px;font-weight:900;letter-spacing:.45px;text-transform:uppercase}
.game-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.game-directory-card{position:relative;height:124px;overflow:hidden;border:1px solid rgba(255,255,255,.085);border-radius:11px;background:#090d12;box-shadow:0 10px 26px rgba(0,0,0,.18);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.game-directory-card:hover{transform:translateY(-2px);border-color:rgba(237,23,23,.30);box-shadow:0 15px 31px rgba(0,0,0,.27)}
.game-directory-art{position:absolute;inset:0;overflow:hidden;background:linear-gradient(135deg,#202630,#090c10)}
.game-directory-art img{width:100%;height:100%;object-fit:cover;filter:saturate(.90) contrast(1.02) brightness(.82)}
.game-directory-art.is-voxel{background:linear-gradient(180deg,#54788d 0 45%,#5e8b46 45% 55%,#59432f 55% 100%)}
.game-directory-art.is-voxel::before{content:"";position:absolute;left:-5%;right:-5%;top:34%;height:34%;background:linear-gradient(45deg,#406c3c 0 25%,#6e9b50 25% 50%,#4f7c42 50% 75%,#719d53 75%);background-size:44px 44px;transform:skewY(-4deg)}
.game-directory-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 16%,rgba(0,0,0,.18) 48%,rgba(4,6,9,.95) 81%,#06090d 100%)}
.game-directory-badge{position:absolute;z-index:3;left:9px;top:8px;padding:3px 6px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(6,9,13,.72);color:#c6ced5;font-size:10px;font-weight:950;letter-spacing:.36px;text-transform:uppercase}
.game-directory-card.is-integrated .game-directory-badge{border-color:rgba(68,217,130,.24);background:rgba(18,75,48,.40);color:#82e8ad}
.game-directory-card>strong{position:absolute;z-index:3;left:10px;right:10px;bottom:23px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5f7f8;font-size:11px;font-weight:950}
.game-directory-card>small{position:absolute;z-index:3;left:10px;right:10px;bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8f99a3;font-size:10px;font-weight:800}

/* ---------- Create Lobby community bridge ---------- */
.lobby-create-modern .create-choice-grid.is-community-single{grid-template-columns:minmax(0,1fr)}
.lobby-create-modern .create-choice-card.is-community .create-choice-body{min-height:70px}
.lobby-create-modern .create-choice-card.is-community .create-choice-game-art{position:relative}
.lobby-create-modern .create-choice-card.is-community .create-choice-game-art>i{right:7px;bottom:4px;font-size:17px}
.lobby-create-modern .create-choice-card.is-community .create-choice-copy small{display:block;margin-top:3px;color:#87919a;font-size:10px;font-weight:900;letter-spacing:.45px}
.community-create-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-2px 0 14px;padding:11px 12px;border:1px solid rgba(237,23,23,.16);border-radius:9px;background:linear-gradient(135deg,rgba(237,23,23,.045),rgba(9,12,16,.72));color:#e7ebee}
.community-create-entry span{display:grid;gap:3px}.community-create-entry b{font-size:10.5px;letter-spacing:.55px}.community-create-entry small{color:#88929c;font-size:10px;line-height:1.35}.community-create-entry>strong{flex:0 0 auto;color:#ff6267;font-size:10px;font-weight:950;letter-spacing:.4px}
.community-create-entry:hover{border-color:rgba(237,23,23,.30);background:linear-gradient(135deg,rgba(237,23,23,.075),rgba(9,12,16,.80))}
.community-create-note{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:-2px 0 14px;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-left:2px solid rgba(237,23,23,.66);border-radius:9px;background:#090d12}
.community-create-note>span{padding:4px 7px;border:1px solid rgba(255,255,255,.11);border-radius:999px;color:#c5cdd4;font-size:10px;font-weight:950;letter-spacing:.4px}
.community-create-note>div{min-width:0}.community-create-note strong{display:block;color:#eef1f3;font-size:10.5px;font-weight:950}.community-create-note p{margin:3px 0 0;color:#88939d;font-size:10px;line-height:1.4}.community-create-note>a{color:#ff686d;font-size:10px;font-weight:950;white-space:nowrap}

@media(max-width:1180px){
  .home-community-card{flex-basis:calc((100% - 20px)/3);height:100px}
  .game-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .home-community-games{padding:11px 14px 13px}
  .home-community-games::before{left:14px;right:14px}
  .home-community-head{align-items:flex-start}
  .home-community-head>div{display:grid;gap:3px}
  .home-community-head p{white-space:normal}
  .home-community-grid{gap:9px;padding-bottom:3px;scroll-snap-type:x proximity}
  .home-community-card{flex:0 0 188px;height:104px}
  .game-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .community-create-note{grid-template-columns:1fr;align-items:start}
  .community-create-note>a{justify-self:start}
}
@media(max-width:480px){
  .home-community-actions{gap:5px}.home-community-actions>a{padding:0 9px}.home-community-actions>a b{display:none}
  .home-community-scroll-controls button{width:28px;height:28px}
  .game-directory-grid{grid-template-columns:1fr 1fr;gap:8px}
  .game-directory-card{height:112px}
  .game-directory-intro{padding:14px}
  .game-directory-intro h2{font-size:20px}
  .game-directory-section-head{align-items:flex-start;flex-direction:column;gap:6px}
}

/* ===== ARENACTIVE v1.48.5.272 — Integrated Games moved below the hero =====
   Keep the new hero artwork visually open. Integrated titles now live in their
   own full-width rail directly above Community Games. This is visual/navigation
   only: no matchmaking, lobby or game-adapter behavior changes. */
.home-integrated-games{
  position:relative;
  padding:14px 16px 16px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(8,13,18,.86),rgba(5,8,12,.92));
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 18px 36px rgba(0,0,0,.22);
  overflow:hidden;
}
.home-integrated-games::before{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:1px;
  background:linear-gradient(90deg,rgba(237,23,23,.48),rgba(237,23,23,0));
}
.home-integrated-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}
.home-integrated-head>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.home-integrated-head span{color:#f2f5f6;font-size:10.5px;font-weight:950;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap}
.home-integrated-head span b{color:#ed1717;font-size:15px}
.home-integrated-head p{margin:0;color:#87929c;font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-integrated-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.home-integrated-card{
  position:relative;
  isolation:isolate;
  display:block;
  min-width:0;
  height:106px;
  overflow:hidden;
  border:1px solid rgba(155,169,181,.22);
  border-radius:12px;
  background:#080c11;
  box-shadow:0 13px 30px rgba(0,0,0,.24);
  transform:translateZ(0);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.home-integrated-card:hover{
  transform:translateY(-3px);
  border-color:rgba(78,221,143,.46);
  box-shadow:0 20px 40px rgba(0,0,0,.34),0 0 0 1px rgba(78,221,143,.05) inset;
}
.home-integrated-card::before{
  content:"";
  position:absolute;
  z-index:7;
  right:-1px;
  top:-1px;
  width:46px;
  height:2px;
  background:linear-gradient(90deg,transparent,#ed1717);
  opacity:.66;
  pointer-events:none;
}
.home-integrated-card::after{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(2,5,8,0) 0%,rgba(2,5,8,.03) 44%,rgba(3,6,9,.24) 60%,rgba(4,7,10,.72) 100%);
}
.home-integrated-art{position:absolute;inset:0;display:block;overflow:hidden;background:#0c1117}
.home-integrated-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
  filter:saturate(1.06) contrast(1.04) brightness(.98);
  transform:scale(1.002);
  transition:transform .24s ease,filter .24s ease;
}
.home-integrated-card:hover .home-integrated-bg{transform:scale(1.035);filter:saturate(1.10) contrast(1.055) brightness(1.02)}
.home-integrated-art::after{
  content:"";
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  height:26px;
  background:linear-gradient(180deg,rgba(5,8,12,.10),rgba(5,8,12,.56));
  backdrop-filter:blur(2px);
  pointer-events:none;
}

.home-integrated-badge{
  position:absolute;
  z-index:5;
  left:8px;
  top:8px;
  display:inline-flex;
  align-items:center;
  padding:4px 7px;
  border:1px solid rgba(90,233,164,.34);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(17,102,73,.90),rgba(9,70,49,.88));
  color:#bdf8db;
  font-size:9.9px;
  line-height:1;
  font-weight:950;
  letter-spacing:.035em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
  box-shadow:0 7px 18px rgba(0,0,0,.23),0 0 0 1px rgba(94,240,171,.04) inset;
}
.home-integrated-card>strong{
  position:absolute;
  z-index:6;
  left:9px;
  right:9px;
  bottom:8px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:12px;
  line-height:1.08;
  font-weight:950;
  text-shadow:0 3px 14px rgba(0,0,0,.86);
}

@media(max-width:1180px){
  .home-integrated-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
  .home-integrated-card{height:104px}
}
@media(max-width:760px){
  .home-integrated-games{padding:11px 14px 13px}
  .home-integrated-games::before{left:14px;right:14px}
  .home-integrated-head{align-items:flex-start}
  .home-integrated-head>div{display:grid;gap:3px}
  .home-integrated-head p{white-space:normal}
  .home-integrated-grid{display:flex;gap:9px;overflow-x:auto;padding:1px 1px 4px;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-inline:contain}
  .home-integrated-grid::-webkit-scrollbar{display:none}
  .home-integrated-card{flex:0 0 182px;height:106px;scroll-snap-align:start}
  .home-integrated-badge{left:7px;top:7px;padding:3px 6px;font-size:9.2px}
    .home-integrated-card>strong{font-size:11.4px;bottom:8px;left:8px;right:8px}
  }
/* ===== ARENACTIVE v22 — Lobby directory readability =====
   Keep the existing card art/style, but make the game directory easier to scan
   on desktop and mobile. Active games are visible immediately without opening
   every card. */
@media(min-width:1181px){
  .lobbies-page .lobbies-shell{width:min(1420px,100%)}
}
.game-directory{gap:25px}
.game-directory-grid{gap:12px}
.game-directory-card{
  height:136px;
  border-color:rgba(255,255,255,.105);
  box-shadow:0 11px 30px rgba(0,0,0,.22);
}
.game-directory-card::after{
  background:linear-gradient(180deg,rgba(0,0,0,.015) 12%,rgba(0,0,0,.13) 43%,rgba(4,6,9,.82) 68%,#05080c 100%);
}
.game-directory-badge{font-size:10.8px;padding:4px 7px;background:rgba(5,8,12,.82)}
.game-directory-card>strong{
  left:11px;right:11px;bottom:40px;
  color:#fff;font-size:13px;line-height:1.15;
  text-shadow:0 2px 12px rgba(0,0,0,.82);
}
.game-directory-stats{
  position:absolute;z-index:4;left:10px;right:10px;bottom:8px;
  display:flex;align-items:center;gap:6px;
  overflow:visible!important;white-space:normal!important;
  color:#c3cbd2!important;font-size:11.3px!important;font-weight:900!important;
}
.game-directory-stats>span{
  min-width:0;padding:4px 7px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  border:1px solid rgba(255,255,255,.11);border-radius:6px;
  background:rgba(5,8,12,.78);backdrop-filter:blur(5px);
  box-shadow:0 4px 12px rgba(0,0,0,.16);
}
.game-directory-stats>span.is-active{
  border-color:rgba(84,220,139,.34);
  background:rgba(17,91,54,.44);
  color:#a8f2c5;
}
.game-directory-card.has-activity{
  border-color:rgba(84,220,139,.30);
  box-shadow:0 12px 32px rgba(0,0,0,.24),0 0 0 1px rgba(84,220,139,.04) inset;
}
.game-directory-card.has-activity:hover{border-color:rgba(84,220,139,.48)}
.game-directory-intro>span,.game-directory-section-head span{font-size:11.5px}
.game-directory-intro p,.game-directory-section-head p{font-size:11.5px}
.game-directory-section-head>b{font-size:11px;color:#929ca5}

@media(max-width:760px){
  .game-directory-card{height:128px}
  .game-directory-card>strong{bottom:39px;font-size:12.3px}
  .game-directory-stats{left:8px;right:8px;bottom:7px;gap:4px;font-size:10.8px!important}
  .game-directory-stats>span{padding:4px 5px}
}
@media(max-width:480px){
  .game-directory-card{height:126px}
  .game-directory-badge{left:7px;top:7px;font-size:10.2px;padding:3px 5px}
  .game-directory-card>strong{left:8px;right:8px;bottom:39px;font-size:11.7px}
  .game-directory-stats{font-size:10.5px!important}
}

/* ===== ARENACTIVE v23 — integrated directory art refresh =====
   Replace blurry low-resolution promo crops with crisp logo-led art cards.
   This keeps the aggressive ARENACTIVE look while making each game readable
   on both desktop and mobile. */
.game-directory-card.is-integrated.is-game-cs2 .game-directory-art{
  background:
    radial-gradient(circle at 82% 22%,rgba(255,170,72,.28),transparent 28%),
    radial-gradient(circle at 64% 78%,rgba(106,61,16,.26),transparent 42%),
    linear-gradient(135deg,#2d1e10 0%,#15100d 40%,#090c10 100%);
}
.game-directory-card.is-integrated.is-game-cod .game-directory-art{
  background:
    radial-gradient(circle at 82% 20%,rgba(97,208,126,.22),transparent 26%),
    radial-gradient(circle at 60% 75%,rgba(38,84,45,.30),transparent 42%),
    linear-gradient(135deg,#18231b 0%,#0d1410 42%,#090c10 100%);
}
.game-directory-card.is-integrated.is-game-apex .game-directory-art{
  background:
    radial-gradient(circle at 80% 18%,rgba(255,116,82,.24),transparent 28%),
    radial-gradient(circle at 62% 82%,rgba(112,25,24,.26),transparent 46%),
    linear-gradient(135deg,#2a1013 0%,#150d10 42%,#090c10 100%);
}
.game-directory-card.is-integrated.is-game-valorant .game-directory-art{
  background:
    radial-gradient(circle at 84% 20%,rgba(75,155,255,.24),transparent 27%),
    radial-gradient(circle at 66% 78%,rgba(159,52,71,.24),transparent 42%),
    linear-gradient(135deg,#161a2d 0%,#121017 42%,#090c10 100%);
}
.game-directory-card.is-integrated.is-game-league .game-directory-art{
  background:
    radial-gradient(circle at 80% 18%,rgba(84,181,255,.22),transparent 28%),
    radial-gradient(circle at 64% 80%,rgba(196,154,59,.16),transparent 42%),
    linear-gradient(135deg,#0f2230 0%,#11151a 42%,#090c10 100%);
}
.game-directory-card.is-integrated.is-game-fortnite .game-directory-art{
  background:
    radial-gradient(circle at 82% 18%,rgba(114,121,255,.26),transparent 27%),
    radial-gradient(circle at 62% 80%,rgba(138,73,207,.22),transparent 42%),
    linear-gradient(135deg,#171d35 0%,#161223 42%,#090c10 100%);
}
.game-directory-card.is-integrated.is-game-samp .game-directory-art{
  background:
    radial-gradient(circle at 82% 18%,rgba(255,185,90,.22),transparent 27%),
    radial-gradient(circle at 64% 84%,rgba(119,52,23,.28),transparent 42%),
    linear-gradient(135deg,#352010 0%,#18120d 42%,#090c10 100%);
}
.game-directory-card.is-integrated .game-directory-art.is-game-samp .game-directory-bg{
  opacity:.33;
  object-position:right center;
  filter:saturate(.92) contrast(1.04) brightness(.72);
  transform:scale(1.12);
}
.game-directory-card.is-integrated .game-directory-brand{
  position:absolute;
  z-index:2;
  right:10px;
  top:34px;
  bottom:44px;
  width:44%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  pointer-events:none;
}
.game-directory-card.is-integrated .game-directory-brand img{
  width:100%;
  max-height:48px;
  object-fit:contain;
  object-position:right center;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.36));
  opacity:.92;
}
.game-directory-card.is-integrated .game-directory-brand.is-text b{
  display:block;
  max-width:100%;
  color:rgba(255,255,255,.88);
  font-size:30px;
  line-height:.9;
  font-weight:1000;
  letter-spacing:-1.7px;
  text-align:right;
  text-transform:uppercase;
  text-shadow:0 10px 26px rgba(0,0,0,.34);
}
.game-directory-card.is-integrated .game-directory-brand.is-game-minecraft b{
  color:rgba(229,243,232,.92);
  font-size:34px;
  letter-spacing:-1px;
}
.game-directory-card.is-integrated .game-directory-brand.is-game-cod b{
  font-size:23px;
  letter-spacing:-.9px;
}
.game-directory-card.is-integrated>strong{max-width:56%}
.game-directory-card.is-integrated .game-directory-stats{right:9px}
@media(max-width:760px){
  .game-directory-card.is-integrated .game-directory-brand{right:8px;top:33px;bottom:44px;width:42%}
  .game-directory-card.is-integrated .game-directory-brand img{max-height:42px}
  .game-directory-card.is-integrated .game-directory-brand.is-text b{font-size:25px}
  .game-directory-card.is-integrated .game-directory-brand.is-game-cod b{font-size:19px}
}
@media(max-width:480px){
  .game-directory-card.is-integrated .game-directory-brand{width:40%}
  .game-directory-card.is-integrated .game-directory-brand img{max-height:38px}
  .game-directory-card.is-integrated .game-directory-brand.is-text b{font-size:22px}
  .game-directory-card.is-integrated .game-directory-brand.is-game-minecraft b{font-size:28px}
  .game-directory-card.is-integrated>strong{max-width:60%}
}


/* lobbies-browser-v41 */
/* ArenaActive lobby directory v38. Scoped to /lobbies; replaces v31/v32/v36. */
.lobby-browser{--lb-line:#ffffff12;--lb-muted:#95a0b1;--lb-red:#ff2949;padding:0 0 40px!important;background:#10141d;color:#f4f5f8}
.lobby-browser *{box-sizing:border-box}
.lobby-browser .lobbies-shell{width:100%;max-width:none;margin:0;display:grid;grid-template-columns:68px minmax(0,1fr) 260px;gap:0;align-items:start}
.lobby-browser a{text-decoration:none}
.lobby-browser :is(a,button,input,select):focus-visible{outline:2px solid #ff667d;outline-offset:3px}
.lobby-browser .browser-sidebar{position:sticky;top:74px;height:calc(100dvh - 74px);min-width:0;padding:12px 8px;background:#0c1018;border-right:1px solid var(--lb-line);display:flex;flex-direction:column;z-index:5}
.lobby-browser .browser-heading{flex:0 0 46px;width:46px;margin:0 auto 14px;background:#191e29 url('/assets/brand/raiet-logo-512.png') center/32px no-repeat;border:1px solid #ffffff1c;border-radius:12px}
.lobby-browser .browser-heading>*{display:none}
.lobby-browser .browser-game-search{position:relative;display:block;height:40px;flex:0 0 40px;margin:0 2px 12px;z-index:6}
.lobby-browser .browser-game-search:before{content:'⌕';position:absolute;inset:0;display:grid;place-items:center;font:26px sans-serif;color:#a4afbf;pointer-events:none;z-index:1}
.lobby-browser .browser-game-search input{position:absolute;left:0;top:0;width:100%;height:40px;padding:0;border:1px solid var(--lb-line);border-radius:11px;background:#1c2230;color:transparent;caret-color:transparent;font:13px sans-serif}
.lobby-browser .browser-game-search input::placeholder{color:transparent}
.lobby-browser .browser-game-search:focus-within:before{display:none}
.lobby-browser .browser-game-search input:focus{width:240px;padding:0 12px;color:#fff;caret-color:#fff;background:#1c2230;box-shadow:0 12px 24px #0008}
.lobby-browser .browser-game-search input:focus::placeholder{color:#a4afbf}
.lobby-browser .browser-games{flex:1;min-height:0;overflow:auto;scrollbar-width:none;padding:2px 3px 20px}
.lobby-browser .browser-games::-webkit-scrollbar{display:none}
.lobby-browser .browser-game-group+ .browser-game-group{border-top:1px solid #ffffff16;margin-top:12px;padding-top:12px}
.lobby-browser .browser-game-group h2,.lobby-browser .browser-game strong,.lobby-browser .browser-game-count{display:none}
.lobby-browser .browser-game{position:relative;display:block;width:44px;height:44px;margin:0 auto 9px;border:1px solid #ffffff16;border-radius:13px;background:#212736;transition:border-color .16s,transform .16s}
.lobby-browser .browser-game:hover{border-color:#a8b1c2;transform:translateY(-1px)}
.lobby-browser .browser-game.is-selected{border:2px solid var(--lb-red);box-shadow:0 0 0 2px #ff294925}
.lobby-browser .browser-game-art{display:block;width:100%;height:100%;border-radius:11px;overflow:hidden}
.lobby-browser .browser-game-art img{width:100%;height:100%;object-fit:cover}
.lobby-browser .browser-game[hidden],.lobby-browser .browser-game-group[hidden]{display:none}
.lobby-browser .browser-results{min-width:0;padding:24px 30px 32px;max-width:1480px;width:100%;margin:0 auto}
.lobby-browser .browser-hero{position:relative;isolation:isolate;min-height:310px;display:flex;align-items:center;overflow:hidden;border:1px solid #ffffff16;border-radius:8px;background:#161d28}
.lobby-browser .browser-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center;z-index:-2}
.lobby-browser .browser-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b101bf5 0%,#0b101ba6 42%,#0b101b08 78%),linear-gradient(0deg,#0b101b9c,transparent 65%)}
.lobby-browser .browser-hero-copy{padding:34px;max-width:72%}
.lobby-browser .browser-eyebrow{color:#ff5470;font-size:10px;font-weight:900;letter-spacing:2px}
.lobby-browser .browser-hero h2{font-size:clamp(30px,3.5vw,58px);line-height:1.03;letter-spacing:-1px;font-weight:950;font-style:italic;text-transform:uppercase;margin:14px 0;overflow-wrap:anywhere;text-shadow:0 2px 22px #0008}
.lobby-browser .browser-hero p{color:#d3d8e2;font-size:12px;letter-spacing:1px;margin:0 0 25px;text-transform:uppercase}
.lobby-browser .browser-button,.lobby-browser .browser-row-action .lobby-primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:40px;padding:11px 17px;background:var(--lb-red);border:1px solid #ff4962;border-radius:4px;color:#fff;font:800 11px/1.4 sans-serif;text-transform:uppercase;cursor:pointer;text-align:center}
.lobby-browser .browser-button:hover,.lobby-browser .browser-row-action .lobby-primary:hover{background:#e61f40}
.lobby-browser .browser-button>span{font-size:20px;line-height:1}
.lobby-browser .browser-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 13px}
.lobby-browser .browser-section-head h2{font-size:18px;font-weight:850;margin:0;text-transform:none}
.lobby-browser .browser-section-head>span{font-size:10px;letter-spacing:1px;color:var(--lb-muted)}
.lobby-browser .browser-game-cards{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(120px,1fr);gap:12px;overflow-x:auto;padding:2px 2px 12px;scrollbar-width:thin;scrollbar-color:#414a5b transparent}
.lobby-browser .browser-game-card{display:block;min-width:0;color:#e7eaf1}
.lobby-browser .browser-card-cover{position:relative;aspect-ratio:4/5;overflow:hidden;background:#232d3e;border-radius:6px;border:1px solid #ffffff16;transition:border-color .15s}
.lobby-browser .browser-card-cover img{width:100%;height:100%;object-fit:cover;object-position:65% center;transition:transform .2s}
.lobby-browser .browser-card-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#06091399,transparent 60%);pointer-events:none}
.lobby-browser .browser-game-card:hover img{transform:scale(1.05)}
.lobby-browser .browser-game-card.is-selected .browser-card-cover{border:2px solid var(--lb-red)}
.lobby-browser .browser-card-arrow{position:absolute;right:8px;bottom:5px;color:#fff;z-index:1;font:20px sans-serif}
.lobby-browser .browser-game-card strong{display:block;font:700 11px/1.5 sans-serif;margin:9px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lobby-browser .browser-game-card small{font:10px/1.5 sans-serif;color:var(--lb-muted)}
.lobby-browser .browser-community-discover{margin-top:2px;padding-top:4px;border-top:1px solid var(--lb-line)}
.lobby-browser .browser-community-discover .browser-game-cards{grid-auto-columns:minmax(180px,220px)}
.lobby-browser .browser-community-card .browser-card-cover{aspect-ratio:16/9;background:#202a38}
.lobby-browser .browser-community-card .browser-card-cover img{object-position:center;filter:saturate(1.08) contrast(1.04)}
.lobby-browser .browser-community-badge{position:absolute;left:8px;top:8px;z-index:2;padding:4px 6px;border:1px solid #ffffff30;border-radius:3px;background:#0b101bd9;color:#f5f7fb;font:800 8px/1 sans-serif;letter-spacing:1px}
.lobby-browser .browser-community-card small{display:flex;align-items:center;gap:5px}
.lobby-browser .browser-community-card small i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#50db8b;box-shadow:0 0 8px #50db8b}
.lobby-browser .browser-open-head{padding-top:17px;border-top:1px solid var(--lb-line);margin-top:8px}
.lobby-browser .browser-total{display:inline-block;vertical-align:middle;padding:3px 7px;margin-left:6px;background:#252c3a;color:#d3d9e5;border-radius:4px;font:11px sans-serif}
.lobby-browser .lobby-empty{max-width:none;width:100%;margin:0;padding:26px 22px;border:1px solid #ffffff10;border-radius:7px;background:radial-gradient(ellipse at 50% 0,#ff294908,transparent 65%),#131924;box-shadow:none;text-align:center}
.lobby-browser .browser-empty-mark{display:flex;align-items:center;justify-content:center;margin-bottom:15px}
.lobby-browser .browser-empty-mark img{display:block;width:72px;height:35px;object-fit:contain}
.lobby-browser .lobby-empty h2{font-size:15px;margin:0 0 8px}
.lobby-browser .lobby-empty p{font-size:12px;line-height:1.6;color:var(--lb-muted)}
.lobby-browser .lobby-empty>a{font-size:11px;color:#ff6a81;margin-top:12px}
.lobby-browser .game-watch-control{margin:18px auto 0;padding-top:16px;border-top:1px solid var(--lb-line);max-width:500px}
.lobby-browser .game-watch-button{max-width:100%;white-space:normal;clip-path:none;border-radius:4px}
.lobby-browser .players-secondary-link{font-size:11px;line-height:1.6;margin-top:20px;color:var(--lb-muted)}
.lobby-browser .browser-tools{position:sticky;top:74px;min-width:0;min-height:calc(100dvh - 74px);background:#0c1018;border-left:1px solid var(--lb-line);padding:25px 20px}
.lobby-browser .browser-tools-heading>span{font-size:9px;color:#ff526e;letter-spacing:1.7px;font-weight:800}
.lobby-browser .browser-tools-heading h2{font-size:19px;margin:9px 0 22px}
.lobby-browser .browser-filters{display:grid;gap:13px;margin:0;padding:0}
.lobby-browser .browser-filters label{display:grid;gap:8px;min-width:0}
.lobby-browser .browser-filters label>span{font-size:10px;letter-spacing:1px;color:var(--lb-muted);text-transform:uppercase}
.lobby-browser .browser-filters select{width:100%;min-width:0;height:42px;padding:0 10px;border:1px solid #ffffff20;border-radius:4px;background:#181e2a;color:#edf0f5;font:12px sans-serif}
.lobby-browser .browser-filter-submit{width:100%;min-height:40px;border:1px solid #ffffff20;border-radius:4px;background:#2b3445;color:#fff;font:800 11px sans-serif;cursor:pointer;clip-path:none}
.lobby-browser .browser-filter-submit:hover{background:#39445a}
.lobby-browser .browser-filters>a{font-size:11px;color:#ff6a81}
.lobby-browser .browser-page-status{display:none}
.lobby-browser .browser-tools-game{display:flex;gap:10px;align-items:center;margin-top:24px;padding:20px 0;border-block:1px solid var(--lb-line)}
.lobby-browser .browser-tools-game img{width:42px;height:48px;object-fit:cover;border-radius:5px}
.lobby-browser .browser-tools-game div{min-width:0}
.lobby-browser .browser-tools-game small{display:block;color:var(--lb-muted);font-size:10px;margin-bottom:5px}
.lobby-browser .browser-tools-game strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.lobby-browser .browser-tools-cta{padding:25px 0 22px}
.lobby-browser .browser-tools-symbol{display:grid;place-items:center;width:40px;height:40px;border:1px dashed #ff526e66;border-radius:50%;color:#ff526e;font:25px sans-serif}
.lobby-browser .browser-tools-cta h3{font-size:15px;margin:14px 0 9px}
.lobby-browser .browser-tools-cta p{color:var(--lb-muted);font:12px/1.7 sans-serif;margin:0 0 17px}
.lobby-browser .browser-tools-cta .browser-button{width:100%;font-size:10px;padding-inline:10px;gap:8px}
.lobby-browser .browser-tools-players{display:flex;justify-content:space-between;gap:8px;padding-top:20px;border-top:1px solid var(--lb-line);font-size:11px;color:#c6cfe0}
.lobby-browser .browser-lobby-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:14px}
.lobby-browser .browser-lobby-row{display:grid;grid-template-columns:1fr auto;gap:12px;min-width:0;border:1px solid #ffffff16;border-radius:7px;background:#171d29;overflow:hidden;padding:0 16px 16px;align-content:start}
.lobby-browser .browser-lobby-row:hover{border-color:#ffffff38}
.lobby-browser .browser-row-art{position:relative;display:block;grid-column:1/-1;height:105px;margin:0 -16px 2px;overflow:hidden;background:#202a38}
.lobby-browser .browser-row-art img{width:100%;height:100%;object-fit:cover;object-position:70% center}
.lobby-browser .browser-row-art>span{position:absolute;bottom:9px;left:12px;border:1px solid #ffffff22;border-radius:3px;background:#090e18c9;padding:4px 7px;color:#fff;font-size:10px}
.lobby-browser .browser-row-copy{grid-column:1/-1;min-width:0}
.lobby-browser .browser-row-copy h3{margin:0 0 8px;font-size:16px;overflow-wrap:anywhere}
.lobby-browser .browser-row-copy h3 a{color:#fff}
.lobby-browser .browser-row-meta{display:flex;gap:4px 10px;flex-wrap:wrap;font:11px/1.6 sans-serif;color:var(--lb-muted);overflow-wrap:anywhere}
.lobby-browser .browser-row-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font:11px/1.6 sans-serif;color:#b4bdcd;margin:8px 0 0}
.lobby-browser .browser-row-slots{align-self:end}
.lobby-browser .browser-row-slots strong{font-size:18px}
.lobby-browser .browser-row-slots strong span{font-size:12px;color:var(--lb-muted)}
.lobby-browser .browser-row-slots small{display:block;color:var(--lb-muted);font-size:10px;margin-top:4px}
.lobby-browser .browser-row-slots progress{display:block;width:72px;height:3px;margin-top:8px;accent-color:var(--lb-red);border:0}
.lobby-browser .browser-row-action{align-self:end;max-width:150px}
.lobby-browser .browser-row-action form{margin:0}
.lobby-browser .browser-row-action .lobby-primary{font-size:10px;padding:8px 12px;min-height:34px;clip-path:none}
.lobby-browser .browser-pagination{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:22px 0}
.lobby-browser .browser-pagination a,.lobby-browser .browser-pagination>span{padding:9px 12px;border:1px solid var(--lb-line);background:#1a2230;color:#cdd5e2;font-size:12px;border-radius:4px}
.lobby-browser .browser-pagination a[aria-current]{background:var(--lb-red);color:#fff}
@media(min-width:1800px){.lobby-browser .browser-game-cards{grid-auto-columns:minmax(130px,1fr)}.lobby-browser .browser-hero{min-height:350px}}
@media(max-width:1200px){.lobby-browser .lobbies-shell{grid-template-columns:64px minmax(0,1fr) 225px}.lobby-browser .browser-results{padding:20px}.lobby-browser .browser-tools{padding:22px 15px}.lobby-browser .browser-hero-copy{max-width:85%;padding:26px}.lobby-browser .browser-hero{min-height:280px}}
@media(max-width:900px){.lobby-browser .lobbies-shell{grid-template-columns:60px minmax(0,1fr)}.lobby-browser .browser-sidebar{grid-row:1/3;top:64px;height:calc(100dvh - 64px);padding-inline:5px}.lobby-browser .browser-tools{grid-column:2;grid-row:1;position:static;min-height:0;border-left:0;border-bottom:1px solid var(--lb-line);padding:16px 20px}.lobby-browser .browser-tools-heading h2{font-size:16px;margin:0 0 12px}.lobby-browser .browser-tools-heading>span,.lobby-browser .browser-tools-game,.lobby-browser .browser-tools-cta,.lobby-browser .browser-tools-players{display:none}.lobby-browser .browser-filters{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.lobby-browser .browser-filter-submit{padding:0 18px;height:42px}.lobby-browser .browser-results{grid-column:2;grid-row:2}.lobby-browser .browser-hero-copy{max-width:90%}}
@media(max-width:560px){.lobby-browser .lobbies-shell{grid-template-columns:52px minmax(0,1fr)}.lobby-browser .browser-sidebar{padding:10px 3px}.lobby-browser .browser-heading{width:40px;flex-basis:40px;background-size:28px}.lobby-browser .browser-game{width:38px;height:38px;border-radius:11px}.lobby-browser .browser-games{padding-inline:2px}.lobby-browser .browser-results{padding:12px}.lobby-browser .browser-tools{padding:14px 12px}.lobby-browser .browser-hero{min-height:250px}.lobby-browser .browser-hero-copy{padding:22px 16px;max-width:100%}.lobby-browser .browser-hero h2{font-size:30px}.lobby-browser .browser-hero:after{background:linear-gradient(90deg,#0b101be8,#0b101b55)}.lobby-browser .browser-section-head h2{font-size:15px}.lobby-browser .browser-section-head>span{font-size:9px;letter-spacing:0}.lobby-browser .browser-game-cards{grid-auto-columns:110px;gap:10px}.lobby-browser .browser-community-discover .browser-game-cards{grid-auto-columns:160px}.lobby-browser .browser-filters{grid-template-columns:1fr}.lobby-browser .browser-filter-submit{height:38px}.lobby-browser .lobby-empty{padding:24px 14px}.lobby-browser .lobby-empty h2{font-size:13px}.lobby-browser .lobby-empty p{font-size:11px}.lobby-browser .browser-button{font-size:10px;gap:10px}.lobby-browser .browser-eyebrow{font-size:9px}.lobby-browser .browser-row-action{max-width:120px}}
@media(prefers-reduced-motion:reduce){.lobby-browser *{transition:none!important;scroll-behavior:auto!important}}

/* V38: logo-only rail, slightly larger targets, viewport-level tooltips. */
.lobby-browser .browser-game-logo{padding:4px;display:grid;place-items:center;background:#192231}
.lobby-browser .browser-game-logo img{object-fit:contain;width:100%;height:100%}
.lobby-browser .browser-hero p{margin-bottom:0}
.browser-game-tooltip{position:fixed;z-index:10000;max-width:min(280px,calc(100vw - 90px));padding:10px 14px;border:1px solid #ffffff24;border-radius:6px;background:#202838;color:#fff;box-shadow:0 8px 28px #0007;font:700 12px/1.45 sans-serif;pointer-events:none;overflow-wrap:anywhere}
.browser-game-tooltip[hidden]{display:none}
@media(min-width:901px){.lobby-browser .lobbies-shell{grid-template-columns:80px minmax(0,1fr) 260px}.lobby-browser .browser-game{width:54px;height:54px;border-radius:15px;margin-bottom:10px}.lobby-browser .browser-game-art{border-radius:13px}.lobby-browser .browser-heading{width:54px;flex-basis:54px}.lobby-browser .browser-game-search{margin-inline:5px;height:46px;flex-basis:46px}.lobby-browser .browser-game-search input{height:46px}}
@media(min-width:901px) and (max-width:1200px){.lobby-browser .lobbies-shell{grid-template-columns:80px minmax(0,1fr) 225px}}
@media(max-width:900px){.lobby-browser .lobbies-shell{grid-template-columns:68px minmax(0,1fr)}.lobby-browser .browser-game{width:50px;height:50px}}
@media(max-width:560px){.lobby-browser .lobbies-shell{grid-template-columns:62px minmax(0,1fr)}.lobby-browser .browser-game{width:48px;height:48px}.lobby-browser .browser-heading{width:46px;flex-basis:46px}}

/* V39: direct game rail, no brand tile or expanding search. */
.lobby-browser .browser-sidebar{padding-top:14px}
.lobby-browser .browser-game-logo{padding:0}
.lobby-browser .browser-game-logo img{object-fit:contain}
.lobby-browser .browser-game-art.is-image-missing::after{content:attr(data-fallback-label);display:grid;place-items:center;width:100%;height:100%;padding:3px;color:#dfe5ef;font:700 9px/1.2 sans-serif;text-align:center;overflow-wrap:anywhere}

/* V41: wide game artwork and a lower identity band. Keep this deployed filename. */
.lobby-browser .browser-results{padding-top:0}
.lobby-browser .browser-hero{position:relative;isolation:isolate;display:block;min-height:0;overflow:visible;margin:0 -30px 28px;border:0;border-radius:0;background:#131924;box-shadow:none}
.lobby-browser .browser-hero-scene{position:relative;height:clamp(280px,26vw,430px);overflow:hidden;background:#111722}
.lobby-browser .browser-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;transform:none;filter:none;image-rendering:auto}
.lobby-browser .browser-hero-scene:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#13192400 35%,#13192470 72%,#131924 100%)}
.lobby-browser .browser-hero:before,.lobby-browser .browser-hero:after{content:none}
.lobby-browser .browser-hero-identity{position:relative;z-index:1;display:flex;align-items:center;gap:26px;margin:-64px 30px 0;padding:0 0 26px;border-bottom:1px solid #ffffff16;min-height:190px}
.lobby-browser .browser-hero-cover{flex:0 0 120px;width:120px;height:180px;overflow:hidden;border-radius:7px;border:1px solid #ffffff2b;background:#1b2331;box-shadow:0 12px 30px #0007}
.lobby-browser .browser-hero-cover img{display:block;width:100%;height:100%;object-fit:cover}
.lobby-browser .browser-hero-copy{min-width:0;flex:1;max-width:none;padding:28px 0 0}
.lobby-browser .browser-hero .browser-eyebrow{font-size:9px;letter-spacing:2.4px;color:#ff5d76}
.lobby-browser .browser-hero h2{margin:10px 0 9px;font-size:clamp(26px,2.8vw,44px);line-height:1.12;letter-spacing:-.7px;font-weight:900;font-style:normal;text-transform:none;text-shadow:none;overflow-wrap:anywhere}
.lobby-browser .browser-hero p{margin:0;color:#a8b3c5;font-size:11px;line-height:1.5;letter-spacing:.4px;text-transform:none}
.lobby-browser .browser-hero-action{flex:0 0 auto;margin-top:28px;gap:14px;max-width:230px;min-height:42px;border-radius:5px}
@media(max-width:1200px){.lobby-browser .browser-hero{margin-inline:-20px}.lobby-browser .browser-hero-identity{margin-inline:20px;gap:20px}.lobby-browser .browser-hero-cover{flex-basis:104px;width:104px;height:156px}.lobby-browser .browser-hero h2{font-size:30px}.lobby-browser .browser-hero-action{max-width:190px}}
@media(max-width:900px){.lobby-browser .browser-results{padding-top:0}.lobby-browser .browser-hero-scene{height:280px}.lobby-browser .browser-hero-identity{flex-wrap:wrap;min-height:0;gap:16px;margin-top:-48px;padding-bottom:22px}.lobby-browser .browser-hero-copy{max-width:none;padding-top:30px}.lobby-browser .browser-hero-action{margin:0 0 0 120px;max-width:none}}
@media(max-width:560px){.lobby-browser .browser-hero{margin:0 -12px 22px;border-radius:0}.lobby-browser .browser-hero-scene{height:220px}.lobby-browser .browser-hero-identity{margin:-32px 12px 0;gap:14px}.lobby-browser .browser-hero-cover{flex-basis:76px;width:76px;height:114px;border-radius:5px}.lobby-browser .browser-hero-copy{padding-top:26px}.lobby-browser .browser-hero h2{font-size:24px;margin:8px 0;letter-spacing:-.4px}.lobby-browser .browser-hero .browser-eyebrow{font-size:8px;letter-spacing:1.5px}.lobby-browser .browser-hero-action{margin:0;width:100%;min-height:40px}}

/* Integrated cards share the centered landscape layout of community cards. */
.lobby-browser .browser-discover:not(.browser-community-discover) .browser-game-cards{grid-auto-columns:minmax(180px,220px)}
.lobby-browser .browser-discover:not(.browser-community-discover) .browser-card-cover{aspect-ratio:16/9}
.lobby-browser .browser-discover:not(.browser-community-discover) .browser-card-cover img{object-fit:cover;object-position:center;transform:none;image-rendering:auto}
.lobby-browser .browser-discover:not(.browser-community-discover) .browser-game-card:hover .browser-card-cover img{transform:scale(1.035)}
@media(max-width:560px){.lobby-browser .browser-discover:not(.browser-community-discover) .browser-game-cards{grid-auto-columns:160px}}
.lobby-browser .browser-results[aria-busy="true"]{opacity:.65;transition:opacity .12s}
.lobby-browser .browser-load-error{border:1px solid #ff526e66;background:#241721;color:#ffe0e5;padding:12px 16px;margin-bottom:12px;font:13px/1.5 sans-serif;border-radius:6px}




/* Horizontal game navigation gives phone results the full screen width. */
@media(max-width:900px){
 .lobby-browser .lobbies-shell{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important}
 .lobby-browser .browser-sidebar{grid-column:1!important;grid-row:1!important;position:static!important;top:auto!important;height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:12px!important;border-right:0!important;border-bottom:1px solid var(--lb-line)!important}
 .lobby-browser .browser-heading{display:none!important}
 .lobby-browser .browser-game-search{height:40px!important;min-width:0!important;margin:0!important}
 .lobby-browser .browser-game-search:before{display:none!important}
 .lobby-browser .browser-game-search input,.lobby-browser .browser-game-search input:focus{position:static!important;width:100%!important;height:40px!important;padding:0 12px!important;color:#fff!important;caret-color:#fff!important;box-sizing:border-box!important;box-shadow:none!important}
 .lobby-browser .browser-game-search input::placeholder{color:#a4afbf!important}
 .lobby-browser .browser-games{display:flex!important;gap:12px!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 6px!important;overscroll-behavior-inline:contain}
 .lobby-browser .browser-game-group{display:flex;flex:0 0 auto;gap:8px}
 .lobby-browser .browser-game-group+.browser-game-group{border-top:0!important;border-left:1px solid #ffffff16!important;padding:0 0 0 12px!important;margin:0!important}
 .lobby-browser .browser-game{flex:0 0 48px!important;width:48px!important;height:48px!important;margin:0!important}
 .lobby-browser .browser-tools{grid-column:1!important;grid-row:2!important;position:static!important;min-height:0!important}
 .lobby-browser .browser-results{grid-column:1!important;grid-row:3!important;min-width:0!important}
}
