/* MEDIL v15.7 — sports page redesign + mobile menu head (loaded last) */

/* ================= SPORTS PAGE ================= */
.sports-page{display:flex;flex-direction:column;gap:14px;min-width:0;color:#f3f8ff}
.sports-page button{font:inherit;cursor:pointer}
.sports-page .sp-svg{width:16px;height:16px;flex:0 0 auto}
.sports-page .sp-svg.sm{width:12px;height:12px}

/* hero */
.sports-page .sp-hero{position:relative;overflow:hidden;border-radius:20px;min-height:268px;display:flex;flex-direction:column;justify-content:center;
  border:1px solid rgba(98,180,255,.24);background:#050f1c;box-shadow:0 20px 50px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.04);isolation:isolate}
.sports-page .sp-hero-media,.sports-page .sp-hero-media img{position:absolute;inset:0;width:100%;height:100%;display:block}
.sports-page .sp-hero-media img{object-fit:cover;object-position:right center}
.sports-page .sp-hero-media{z-index:-2}
.sports-page .sp-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(4,11,22,.92) 0%,rgba(4,11,22,.55) 34%,rgba(4,11,22,0) 58%),linear-gradient(0deg,rgba(3,9,18,.75) 0%,rgba(3,9,18,0) 40%)}
.sports-page .sp-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(95,229,255,.6),transparent)}
.sports-page .sp-hero-copy{position:relative;padding:26px 30px 74px;max-width:440px}
.sports-page .sp-kicker{display:inline-flex;align-items:center;gap:7px;height:24px;padding:0 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:2px;color:#7fecff;
  background:rgba(8,40,66,.72);border:1px solid rgba(95,229,255,.35);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.sports-page .sp-kicker i,.sports-page .sp-dot,.sports-page .sp-live-badge i{width:7px;height:7px;border-radius:50%;background:#ff4d6a;box-shadow:0 0 0 0 rgba(255,77,106,.6);animation:spPulse 1.6s infinite;display:inline-block}
@keyframes spPulse{0%{box-shadow:0 0 0 0 rgba(255,77,106,.55)}70%{box-shadow:0 0 0 7px rgba(255,77,106,0)}100%{box-shadow:0 0 0 0 rgba(255,77,106,0)}}
.sports-page .sp-hero h1{margin:12px 0 6px;font-size:40px;line-height:1;font-weight:900;letter-spacing:-1.4px;color:#fff;text-shadow:0 4px 24px rgba(0,0,0,.5);display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.sports-page .sp-hero h1 em{font-style:normal;font-size:11px;letter-spacing:2.4px;font-weight:800;color:#8fdcff;opacity:.9}
.sports-page .sp-hero p{margin:0;font-size:13px;line-height:1.55;color:#c7d7ea;max-width:340px;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.sports-page .sp-hero-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.sports-page .sp-cta{height:42px;padding:0 18px 0 20px!important;border-radius:12px!important;border:1px solid rgba(140,220,255,.5)!important;display:inline-flex;align-items:center;gap:6px;
  background:linear-gradient(180deg,#4fb8ff,#2a6cf5)!important;color:#fff!important;font-size:13px!important;font-weight:900!important;box-shadow:0 12px 28px rgba(36,120,255,.38),inset 0 1px 0 rgba(255,255,255,.3)!important;min-width:0!important;width:auto!important}
.sports-page .sp-cta-svg{width:16px;height:16px}
.sports-page .sp-ghost{height:42px;padding:0 15px;border-radius:12px;display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:800;color:#e2f3ff;text-decoration:none;
  background:rgba(7,22,38,.66);border:1px solid rgba(120,190,255,.3);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.sports-page .sp-ghost-svg{width:15px;height:15px;color:#6fe3ff}
.sports-page .sp-hero-stats{position:absolute;left:30px;bottom:18px;display:flex;gap:6px}
.sports-page .sp-hero-stats div{min-width:76px;padding:7px 11px;border-radius:11px;background:rgba(5,18,32,.72);border:1px solid rgba(110,185,255,.22);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:baseline;gap:6px}
.sports-page .sp-hero-stats b{font-size:16px;font-weight:900;color:#fff;font-variant-numeric:tabular-nums}
.sports-page .sp-hero-stats small{font-size:10px;color:#9fb6cc;font-weight:700}
.sports-page .sp-hero-stats .live b{color:#ff6a83}

/* chips */
.sports-page .sp-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.sports-page .sp-chip{height:50px;border-radius:14px;border:1px solid rgba(98,160,225,.2);background:linear-gradient(180deg,#0b1a2b,#07121f);color:#b8c9dc;
  display:flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;transition:border-color .18s,background .18s,color .18s,transform .18s}
.sports-page .sp-chip-ico{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:rgba(18,48,76,.7);color:#6fe3ff;border:1px solid rgba(95,229,255,.18)}
.sports-page .sp-chip b{font-size:13px;font-weight:800;color:inherit}
.sports-page .sp-chip em{font-style:normal;font-size:10px;font-weight:900;color:#7d93aa;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.05)}
.sports-page .sp-chip:hover{border-color:rgba(95,229,255,.45);color:#fff}
.sports-page .sp-chip.active{color:#fff;border-color:rgba(95,229,255,.75);background:linear-gradient(180deg,rgba(28,104,170,.55),rgba(10,40,70,.85));box-shadow:0 8px 22px rgba(30,130,230,.22),inset 0 1px 0 rgba(255,255,255,.08)}
.sports-page .sp-chip.active .sp-chip-ico{background:linear-gradient(180deg,#5cd3ff,#2a7cf0);color:#041222;border-color:transparent}
.sports-page .sp-chip.active em{background:rgba(95,229,255,.2);color:#bff4ff}

/* blocks */
.sports-page .sp-block{min-width:0}
.sports-page .sp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:2px 2px 10px}
.sports-page .sp-head span{display:inline-flex;align-items:center;gap:6px;font-size:9.5px;letter-spacing:2px;font-weight:900;color:#5fe5ff}
.sports-page .sp-head-svg{width:13px;height:13px}
.sports-page .sp-head h2{margin:4px 0 0;font-size:18px;line-height:1.15;font-weight:900;letter-spacing:-.5px;color:#fff}
.sports-page .sp-head>em{font-style:normal;font-size:11px;font-weight:800;color:#ff8ea0;background:rgba(255,77,106,.1);border:1px solid rgba(255,77,106,.28);padding:4px 9px;border-radius:999px}
.sports-page .sp-head>a{font-size:11.5px;font-weight:800;color:#8fdcff;text-decoration:none}

/* live cards */
.sports-page .sp-live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
.sports-page .sp-live-card{position:relative;overflow:hidden;border-radius:16px;padding:12px 12px 12px;border:1px solid rgba(98,170,240,.22);
  background:radial-gradient(circle at 50% -20%,rgba(48,140,255,.18),transparent 60%),linear-gradient(180deg,#0b1b2d,#071220);box-shadow:0 14px 32px rgba(0,0,0,.25)}
.sports-page .sp-live-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sports-page .sp-league{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#6fe3ff}
.sports-page .sp-league b{font-size:11px;font-weight:800;color:#c9d9ea;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sports-page .sp-live-badge{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;height:22px;padding:0 8px;border-radius:999px;font-size:10px;font-weight:900;color:#ffb3c0;background:rgba(255,64,96,.12);border:1px solid rgba(255,77,106,.3)}
.sports-page .sp-board{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;margin:12px 0 12px}
.sports-page .sp-team{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;text-align:center}
.sports-page .sp-team b{font-size:11px;font-weight:800;color:#eef6ff;line-height:1.25;letter-spacing:-.1px;max-width:100%;overflow-wrap:anywhere}
.sports-page .sp-crest{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:12px;font-weight:900;letter-spacing:.3px;color:#fff;
  background:linear-gradient(150deg,#2f8dff,#173f86);border:1px solid rgba(140,200,255,.45);box-shadow:0 6px 16px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.2)}
.sports-page .sp-crest.away{background:linear-gradient(150deg,#1fc7d8,#0f4e66);border-color:rgba(120,240,255,.4)}
.sports-page .sp-score{display:flex;align-items:center;gap:6px;font-size:28px;font-weight:900;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.5px;padding:0 4px}
.sports-page .sp-score i{font-style:normal;font-size:18px;color:#5fe5ff;opacity:.8;transform:translateY(-2px)}
.sports-page .sp-odds{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.sports-page .sp-odds button{height:44px;border-radius:10px;border:1px solid rgba(98,160,225,.22);background:rgba(9,26,44,.85);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0 4px;transition:border-color .18s,background .18s}
.sports-page .sp-odds button small{font-size:9.5px;color:#8ea6be;font-weight:700;white-space:nowrap}
.sports-page .sp-odds button b{font-size:13.5px;font-weight:900;color:#7fecff;font-variant-numeric:tabular-nums}
.sports-page .sp-odds button:hover{border-color:rgba(95,229,255,.6);background:rgba(18,56,90,.85)}
.sports-page .sp-pick{margin-top:8px;width:100%;height:38px;border-radius:10px;border:1px solid rgba(95,229,255,.35);background:linear-gradient(180deg,rgba(30,110,190,.38),rgba(14,50,92,.5));color:#e8f8ff;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:4px}
.sports-page .sp-pick:hover{border-color:#5fe5ff;background:linear-gradient(180deg,rgba(40,140,230,.5),rgba(18,64,116,.6))}
.sports-page .sp-pick-svg{width:14px;height:14px}

/* split: upcoming + leagues */
.sports-page .sp-split{display:grid;grid-template-columns:1.25fr 1fr;gap:14px;align-items:start}
.sports-page .sp-upcoming ul{list-style:none;margin:0;padding:0;border-radius:16px;overflow:hidden;border:1px solid rgba(98,160,225,.2);background:linear-gradient(180deg,#0a1828,#07111e)}
.sports-page .sp-upcoming li{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:10px;padding:11px 12px;border-bottom:1px solid rgba(98,160,225,.12)}
.sports-page .sp-upcoming li:last-child{border-bottom:0}
.sports-page .sp-up-time{display:flex;flex-direction:column;align-items:center;justify-content:center;height:46px;border-radius:11px;background:rgba(16,40,66,.7);border:1px solid rgba(95,229,255,.16)}
.sports-page .sp-up-time small{font-size:9.5px;color:#8ea6be;font-weight:700}
.sports-page .sp-up-time b{font-size:13px;font-weight:900;color:#fff;font-variant-numeric:tabular-nums}
.sports-page .sp-up-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.sports-page .sp-up-league{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;color:#79c9ea}
.sports-page .sp-up-main>b{font-size:12.5px;font-weight:800;color:#f2f8ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sports-page .sp-up-main>b i{font-style:normal;color:#5f7d99;font-weight:700;font-size:10.5px;margin:0 2px}
.sports-page .sp-up-odds{display:flex;gap:4px;margin-top:2px}
.sports-page .sp-up-odds span{font-size:10.5px;font-weight:800;color:#bfe9ff;padding:2px 6px;border-radius:6px;background:rgba(255,255,255,.04);border:1px solid rgba(98,160,225,.14);font-variant-numeric:tabular-nums}
.sports-page .sp-up-odds small{color:#64809b;font-size:9px;margin-right:4px}
.sports-page .sp-upcoming li>button{height:32px;padding:0 11px;border-radius:9px;border:1px solid rgba(95,229,255,.3);background:rgba(14,46,80,.6);color:#dff6ff;font-size:11px;font-weight:800;white-space:nowrap}
.sports-page .sp-upcoming li>button:hover{border-color:#5fe5ff}
.sports-page .sp-upcoming .sp-empty{display:block;text-align:center;color:#7f95ac;font-size:12px;padding:22px}
.sports-page .sp-league-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sports-page .sp-league-tile{display:grid;grid-template-columns:34px 1fr 14px;align-items:center;gap:9px;text-align:left;min-height:58px;padding:0 10px;border-radius:14px;border:1px solid rgba(98,160,225,.2);background:linear-gradient(160deg,#0d1f33,#08131f);color:#fff;transition:border-color .18s,transform .18s}
.sports-page .sp-league-tile:hover{border-color:rgba(95,229,255,.55);transform:translateY(-1px)}
.sports-page .sp-league-ico{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#6fe3ff;background:rgba(18,52,84,.75);border:1px solid rgba(95,229,255,.2)}
.sports-page .sp-league-ico .sp-svg{width:18px;height:18px}
.sports-page .sp-league-tile>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:2px}
.sports-page .sp-league-tile b{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sports-page .sp-league-tile small{font-size:10px;color:#8299b1;font-weight:700}
.sports-page .sp-tile-go{width:14px;height:14px;color:#56708b}

/* category tiles */
.sports-page .sp-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.sports-page .sp-cat{position:relative;overflow:hidden;height:132px;border-radius:16px;border:1px solid rgba(98,170,240,.22);padding:0;background:#071220;color:#fff;text-align:left;isolation:isolate}
.sports-page .sp-cat img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .35s ease}
.sports-page .sp-cat:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,11,22,.05) 20%,rgba(4,11,22,.92) 100%)}
.sports-page .sp-cat:hover img{transform:scale(1.05)}
.sports-page .sp-cat-ico{position:absolute;top:10px;left:10px;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;color:#7fecff;background:rgba(5,18,32,.7);border:1px solid rgba(95,229,255,.3);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.sports-page .sp-cat-txt{position:absolute;left:12px;right:12px;bottom:11px;display:flex;flex-direction:column;gap:2px}
.sports-page .sp-cat-txt b{font-size:14px;font-weight:900;letter-spacing:-.3px}
.sports-page .sp-cat-txt small{font-size:10.5px;color:#8fdcff;font-weight:800}

/* quick info */
.sports-page .sp-info{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sports-page .sp-info a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:14px;border:1px solid rgba(98,160,225,.18);background:linear-gradient(160deg,#0b1a2b,#07111d);color:#fff;text-decoration:none;min-width:0}
.sports-page .sp-info a:hover{border-color:rgba(95,229,255,.5)}
.sports-page .sp-info-svg{width:34px;height:34px;padding:8px;border-radius:11px;color:#6fe3ff;background:rgba(18,52,84,.7);flex:0 0 auto;box-sizing:border-box}
.sports-page .sp-info span{display:flex;flex-direction:column;gap:2px;min-width:0}
.sports-page .sp-info b{font-size:12px;font-weight:800;white-space:nowrap}
.sports-page .sp-info small{font-size:10px;color:#8299b1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(min-width:981px){
  .sports-page .sp-hero{min-height:300px}
  .sports-page .sp-hero-copy{padding:30px 36px 80px}
  .sports-page .sp-hero-stats{left:36px;bottom:22px}
}
@media(max-width:1180px) and (min-width:981px){
  .sports-page .sp-split{grid-template-columns:1fr}
}
@media(max-width:760px){
  .sports-page{gap:12px}
  .sports-page .sp-hero{min-height:0;justify-content:flex-end;border-radius:18px;aspect-ratio:auto}
  .sports-page .sp-hero-media img{object-position:62% 30%}
  .sports-page .sp-hero:before{background:linear-gradient(0deg,rgba(3,9,18,.96) 0%,rgba(3,9,18,.72) 40%,rgba(3,9,18,.1) 72%,rgba(3,9,18,0) 100%),linear-gradient(90deg,rgba(3,9,18,.55),rgba(3,9,18,0) 60%)}
  .sports-page .sp-hero-copy{padding:96px 16px 14px;max-width:none}
  .sports-page .sp-kicker{height:22px;font-size:9px;padding:0 9px}
  .sports-page .sp-hero h1{font-size:30px;margin:9px 0 5px;gap:9px}
  .sports-page .sp-hero h1 em{font-size:9.5px;letter-spacing:2px}
  .sports-page .sp-hero p{font-size:12px;max-width:300px}
  .sports-page .sp-hero-actions{margin-top:12px}
  .sports-page .sp-cta,.sports-page .sp-ghost{height:38px}
  .sports-page .sp-cta{font-size:12.5px!important;padding:0 14px 0 16px!important}
  .sports-page .sp-hero-stats{position:static;padding:0 16px 14px;gap:6px}
  .sports-page .sp-hero-stats div{flex:1;min-width:0;justify-content:center;padding:7px 6px}
  .sports-page .sp-hero-stats b{font-size:14px}
  .sports-page .sp-chips{gap:6px}
  .sports-page .sp-chip{height:44px;flex-direction:row;gap:5px;padding:0 6px;border-radius:12px}
  .sports-page .sp-chip-ico{width:24px;height:24px;border-radius:8px}
  .sports-page .sp-chip-ico .sp-svg{width:14px;height:14px}
  .sports-page .sp-chip b{font-size:12px}
  .sports-page .sp-chip em{display:none}
  .sports-page .sp-live-grid{grid-template-columns:1fr}
  .sports-page .sp-split{grid-template-columns:1fr;gap:12px}
  .sports-page .sp-head h2{font-size:16.5px}
  .sports-page .sp-cat-grid{grid-template-columns:1fr 1fr;gap:8px}
  .sports-page .sp-cat{height:104px;border-radius:14px}
  .sports-page .sp-info{gap:6px}
  .sports-page .sp-info a{flex-direction:column;align-items:flex-start;gap:8px;padding:11px}
  .sports-page .sp-info-svg{width:30px;height:30px;padding:7px}
}
@media(max-width:380px){
  .sports-page .sp-chip-ico{display:none}
  .sports-page .sp-upcoming li{grid-template-columns:46px 1fr auto;gap:8px;padding:10px}
}

/* ================= MOBILE MENU HEAD ================= */
.mobile-menu-drawer .mm-head{position:relative;padding:16px 16px 14px;border-bottom:1px solid #1d3349;
  background:radial-gradient(circle at 0% 0%,rgba(62,170,255,.20),transparent 46%),radial-gradient(circle at 100% 100%,rgba(40,200,230,.08),transparent 40%),linear-gradient(180deg,#0f2034,#08131f);display:flex;flex-direction:column;gap:12px}
.mm-head *{box-sizing:border-box}
.mm-head .mm-topbar{display:flex;align-items:center;gap:8px;height:32px}
.mm-head .mm-brand{display:inline-flex;align-items:center;gap:7px;font-size:9.5px;font-weight:900;letter-spacing:2px;color:#64dcff}
.mm-head .mm-brand i{width:6px;height:6px;border-radius:2px;background:linear-gradient(135deg,#6ff0ff,#2f7dff);transform:rotate(45deg)}
.mm-head .mm-ver{margin-left:auto;font-size:9px;font-weight:800;letter-spacing:.8px;color:#59738e;padding:3px 7px;border-radius:999px;border:1px solid rgba(90,130,170,.25)}
.mm-head .mm-close{width:32px;height:32px;border-radius:10px;border:1px solid rgba(100,160,215,.32);background:rgba(13,30,48,.9);color:#d9f4ff;display:grid;place-items:center;padding:0;cursor:pointer}
.mm-head .mm-close-svg{width:16px;height:16px}
.mm-head .mm-close:hover{border-color:#5fe5ff;color:#fff}
.mm-head .mm-profile{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px}
.mm-head .mm-avatar{position:relative;width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-size:20px;font-weight:900;color:#fff;
  background:linear-gradient(145deg,#3aa8ff,#1b4fb8);border:1px solid rgba(150,215,255,.5);box-shadow:0 10px 22px rgba(20,90,200,.35),inset 0 1px 0 rgba(255,255,255,.25)}
.mm-head .mm-avatar i{position:absolute;right:-3px;bottom:-3px;width:13px;height:13px;border-radius:50%;background:#2fe08a;border:2.5px solid #0c1c2e}
.mm-head .mm-ident{min-width:0;display:flex;flex-direction:column;gap:3px}
.mm-head .mm-ident small{font-size:10px;color:#7f97b0;font-weight:700;letter-spacing:.2px}
.mm-head .mm-ident strong{font-size:19px;line-height:1.1;font-weight:900;color:#fff;letter-spacing:-.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-head .mm-ident strong em{font-style:normal;font-size:14px;color:#9fb6cc;font-weight:700;margin-left:2px}
.mm-head .mm-logout,.mm-head .mm-login{height:34px;padding:0 11px;border-radius:10px;border:1px solid rgba(100,160,215,.3);background:rgba(10,25,41,.85);color:#c9d8e8;
  display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap;text-decoration:none}
.mm-head .mm-logout b{font-weight:800;color:inherit;font-size:11px}
.mm-head .mm-logout-svg{width:15px;height:15px;color:#68dcff}
.mm-head .mm-logout:hover{border-color:rgba(255,120,140,.55);color:#ffe3e8}
.mm-head .mm-login{background:linear-gradient(180deg,#4fb8ff,#2a6cf5);border-color:rgba(140,220,255,.5);color:#fff}
.mm-head .mm-balance{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:11px;padding:11px 11px 11px 12px;border-radius:16px;
  border:1px solid rgba(95,200,255,.24);background:linear-gradient(135deg,rgba(20,58,92,.72),rgba(8,24,40,.85));box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.mm-head .mm-wallet-ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#7fecff;background:rgba(8,32,54,.9);border:1px solid rgba(95,229,255,.28)}
.mm-head .mm-wallet-svg{width:22px;height:22px}
.mm-head .mm-balance-txt{min-width:0;display:flex;flex-direction:column;gap:3px}
.mm-head .mm-balance-txt small{font-size:10px;font-weight:700;color:#8aa3bc}
.mm-head .mm-balance-txt strong{font-size:17px;line-height:1.1;font-weight:900;color:#fff;letter-spacing:-.3px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-head .mm-charge{height:34px;padding:0 12px;border-radius:10px;display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:900;color:#fff;text-decoration:none;
  background:linear-gradient(180deg,#4fb8ff,#2a6cf5);border:1px solid rgba(140,220,255,.5);box-shadow:0 8px 18px rgba(36,120,255,.3)}
.mm-head .mm-charge span{font-size:13px;line-height:1}
.mm-head .mm-guest-copy{margin:-2px 0 0;font-size:11px;line-height:1.5;color:#8aa0b8}
.mm-head .mm-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.mm-head .mm-quick a{height:54px;border-radius:13px;border:1px solid rgba(90,150,210,.2);background:rgba(9,22,37,.8);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#cfe0f0;text-decoration:none;transition:border-color .18s,color .18s}
.mm-head .mm-quick a b{font-size:10.5px;font-weight:800;color:inherit}
.mm-head .mm-q-svg{width:19px;height:19px;color:#6fe3ff}
.mm-head .mm-quick a:hover,.mm-head .mm-quick a.active{border-color:rgba(95,229,255,.55);color:#fff;background:rgba(14,40,64,.85)}
.mm-head .mm-chat{position:relative;overflow:hidden;width:100%;min-height:58px;padding:9px 12px 9px 10px;border-radius:16px;display:grid;grid-template-columns:40px 1fr 28px;align-items:center;gap:11px;text-align:left;cursor:pointer;font:inherit;
  border:1px solid rgba(95,229,255,.5);color:#fff;background:linear-gradient(120deg,#1767b8 0%,#1b8fd8 55%,#21b6dc 100%);box-shadow:0 12px 26px rgba(20,120,220,.32),inset 0 1px 0 rgba(255,255,255,.22);transition:transform .18s,box-shadow .18s}
.mm-head .mm-chat:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% -30%,rgba(255,255,255,.28),transparent 45%);pointer-events:none}
.mm-head .mm-chat:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(20,120,220,.42),inset 0 1px 0 rgba(255,255,255,.26)}
.mm-head .mm-chat-ico{position:relative;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28)}
.mm-head .mm-chat-svg{width:22px;height:22px;color:#fff}
.mm-head .mm-chat-txt{position:relative;min-width:0;display:flex;flex-direction:column;gap:3px}
.mm-head .mm-chat-txt b{font-size:14.5px;font-weight:900;letter-spacing:-.3px;color:#fff;white-space:nowrap}
.mm-head .mm-chat-txt small{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;color:rgba(235,248,255,.88);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-head .mm-online{width:7px;height:7px;border-radius:50%;background:#3dff9a;box-shadow:0 0 0 0 rgba(61,255,154,.6);animation:mmOnline 1.8s infinite;flex:0 0 auto}
@keyframes mmOnline{0%{box-shadow:0 0 0 0 rgba(61,255,154,.55)}70%{box-shadow:0 0 0 6px rgba(61,255,154,0)}100%{box-shadow:0 0 0 0 rgba(61,255,154,0)}}
.mm-head .mm-chat-go{position:relative;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:rgba(4,30,60,.28)}
.mm-head .mm-go-svg{width:16px;height:16px;color:#fff}
@media(max-width:360px){
  .mm-head .mm-profile{grid-template-columns:42px 1fr auto;gap:10px}
  .mm-head .mm-avatar{width:42px;height:42px;font-size:18px}
  .mm-head .mm-ident strong{font-size:17px}
  .mm-head .mm-logout b{display:none}
}
@media(prefers-reduced-motion:reduce){.sports-page .sp-kicker i,.sports-page .sp-dot,.sports-page .sp-live-badge i,.mm-head .mm-online{animation:none}}

/* v15.7 refinements */
.sports-page .sp-side{display:flex;flex-direction:column;gap:10px;min-width:0}
.sports-page .sp-side .sp-info a{flex-direction:column;align-items:flex-start;gap:8px;padding:11px}
.sports-page .sp-side .sp-info-svg{width:30px;height:30px;padding:7px}
@media(max-width:760px){
  .sports-page .sp-live-card{padding:11px}
  .sports-page .sp-board{margin:9px 0 10px}
  .sports-page .sp-crest{width:34px;height:34px;border-radius:11px;font-size:11px}
  .sports-page .sp-score{font-size:26px}
  .sports-page .sp-odds button{height:40px}
  .sports-page .sp-pick{height:36px;margin-top:7px}
  .sports-page .sp-side{gap:12px}
}

/* v15.7.1 — PC: hide header balance pill while the right sidebar profile card (with balance) is visible.
   The sidebar .portal-right is shown only at >=1461px (hidden by max-width:1460px in style-v13c.css). */
@media(min-width:1461px){
  .portal-topline .header-action-cluster .top-balance{display:none!important}
}

/* ================= v15.8 — CASINO / SLOTS / EVENTS PAGES ================= */
.cat-page{--ac:#5fe5ff;--ac2:#2f7dff;--acs:rgba(95,229,255,.35);display:flex;flex-direction:column;gap:14px;min-width:0;color:#f3f8ff}
.casino-page{--ac:#f2c46d;--ac2:#b8862f;--acs:rgba(242,196,109,.38)}
.slots-page{--ac:#ffc04d;--ac2:#ff7a3d;--acs:rgba(255,192,77,.38)}
.events-page{--ac:#ff8fd6;--ac2:#9b6bff;--acs:rgba(255,143,214,.36)}
.cat-page button{font:inherit;cursor:pointer}
.cat-page .cp-svg{width:16px;height:16px;flex:0 0 auto}
.cat-page .cp-svg.sm{width:12px;height:12px}
.cat-page img{display:block}

/* hero */
.cat-page .cp-hero{position:relative;overflow:hidden;border-radius:20px;min-height:268px;display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(98,180,255,.24);background:#050f1c;box-shadow:0 20px 50px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.04);isolation:isolate}
.cat-page .cp-hero-media,.cat-page .cp-hero-media img{position:absolute;inset:0;width:100%;height:100%}
.cat-page .cp-hero-media{z-index:-2}.cat-page .cp-hero-media img{object-fit:cover;object-position:right center}
.cat-page .cp-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(4,11,22,.92) 0%,rgba(4,11,22,.55) 34%,rgba(4,11,22,0) 58%),linear-gradient(0deg,rgba(3,9,18,.75) 0%,rgba(3,9,18,0) 40%)}
.cat-page .cp-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--ac),transparent);opacity:.7}
.cat-page .cp-hero-copy{position:relative;padding:26px 30px 74px;max-width:470px}
.cat-page .cp-kicker{display:inline-flex;align-items:center;gap:7px;height:24px;padding:0 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:2px;color:var(--ac);background:rgba(8,22,40,.72);border:1px solid var(--acs);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.cat-page .cp-kicker i,.cat-page .cp-dot,.cat-page .cp-live i{width:7px;height:7px;border-radius:50%;background:#ff4d6a;animation:spPulse 1.6s infinite;display:inline-block}
.cat-page .cp-hero h1{margin:12px 0 6px;font-size:40px;line-height:1;font-weight:900;letter-spacing:-1.4px;color:#fff;text-shadow:0 4px 24px rgba(0,0,0,.5);display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.cat-page .cp-hero h1 em{font-style:normal;font-size:11px;letter-spacing:2.4px;font-weight:800;color:var(--ac);opacity:.95}
.cat-page .cp-hero p{margin:0;font-size:13px;line-height:1.55;color:#c7d7ea;max-width:360px;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.cat-page .cp-hero-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.cat-page .cp-cta{height:42px;padding:0 18px 0 20px!important;border-radius:12px!important;border:1px solid rgba(140,220,255,.5)!important;display:inline-flex;align-items:center;gap:6px;background:linear-gradient(180deg,#4fb8ff,#2a6cf5)!important;color:#fff!important;font-size:13px!important;font-weight:900!important;box-shadow:0 12px 28px rgba(36,120,255,.38),inset 0 1px 0 rgba(255,255,255,.3)!important;min-width:0!important;width:auto!important}
.cat-page .cp-cta-svg{width:16px;height:16px}
.cat-page .cp-ghost{height:42px;padding:0 15px;border-radius:12px;display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:800;color:#e2f3ff;text-decoration:none;background:rgba(7,22,38,.66);border:1px solid rgba(120,190,255,.3);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.cat-page .cp-ghost-svg{width:15px;height:15px;color:var(--ac)}
.cat-page .cp-hero-stats{position:absolute;left:30px;bottom:18px;display:flex;gap:6px}
.cat-page .cp-hero-stats div{min-width:76px;padding:7px 11px;border-radius:11px;background:rgba(5,18,32,.72);border:1px solid rgba(110,185,255,.22);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:baseline;gap:6px}
.cat-page .cp-hero-stats b{font-size:16px;font-weight:900;color:#fff;font-variant-numeric:tabular-nums}
.cat-page .cp-hero-stats small{font-size:10px;color:#9fb6cc;font-weight:700;white-space:nowrap}
.cat-page .cp-hero-stats .live b{color:#ff6a83}.cat-page .cp-hero-stats .gold b{color:var(--ac)}

/* chips */
.cat-page .cp-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:1px}
.cat-page .cp-chips::-webkit-scrollbar{display:none}
.cat-page .cp-chip{flex:1 0 auto;height:48px;border-radius:14px;border:1px solid rgba(98,160,225,.2);background:linear-gradient(180deg,#0b1a2b,#07121f);color:#b8c9dc;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;white-space:nowrap;transition:border-color .18s,background .18s,color .18s}
.cat-page .cp-chip-ico{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:rgba(18,48,76,.7);color:var(--ac);border:1px solid rgba(255,255,255,.08)}
.cat-page .cp-chip b{font-size:13px;font-weight:800;color:inherit}
.cat-page .cp-chip em{font-style:normal;font-size:10px;font-weight:900;color:#7d93aa;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.05)}
.cat-page .cp-chip:hover{border-color:var(--acs);color:#fff}
.cat-page .cp-chip.active{color:#fff;border-color:rgba(95,229,255,.75);background:linear-gradient(180deg,rgba(28,104,170,.55),rgba(10,40,70,.85));box-shadow:0 8px 22px rgba(30,130,230,.22),inset 0 1px 0 rgba(255,255,255,.08)}
.cat-page .cp-chip.active .cp-chip-ico{background:linear-gradient(180deg,#5cd3ff,#2a7cf0);color:#041222;border-color:transparent}
.cat-page .cp-chip.active em{background:rgba(95,229,255,.2);color:#bff4ff}
.cat-page .cp-chips.prov{gap:6px;margin-top:8px}
.cat-page .cp-chips.prov .cp-chip{flex:0 0 auto;height:34px;border-radius:999px;padding:0 14px}
.cat-page .cp-chips.prov .cp-chip b{font-size:12px}
.cat-page .cp-chips.prov .cp-chip.active{border-color:var(--ac);background:rgba(255,255,255,.06);box-shadow:none;color:var(--ac)}
.cat-page .cp-block>.cp-chips:not(.prov){margin-bottom:0}
.cat-page .cp-block>.cp-chips+.cp-slot-grid,.cat-page .cp-block>.cp-chips+.cp-event-grid{margin-top:12px}

/* heads */
.cat-page .cp-block{min-width:0}
.cat-page .cp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:2px 2px 10px}
.cat-page .cp-head span{display:inline-flex;align-items:center;gap:6px;font-size:9.5px;letter-spacing:2px;font-weight:900;color:var(--ac)}
.cat-page .cp-head-svg{width:13px;height:13px}
.cat-page .cp-head h2{margin:4px 0 0;font-size:18px;line-height:1.15;font-weight:900;letter-spacing:-.5px;color:#fff}
.cat-page .cp-count{font-style:normal;font-size:11px;font-weight:800;color:#bfe9ff;background:rgba(95,229,255,.08);border:1px solid rgba(95,229,255,.22);padding:4px 9px;border-radius:999px;white-space:nowrap}
.cat-page .cp-head>a{font-size:11.5px;font-weight:800;color:#8fdcff;text-decoration:none;white-space:nowrap}
.cat-page .cp-empty{grid-column:1/-1;text-align:center;color:#7f95ac;font-size:12px;padding:26px;border:1px dashed rgba(98,160,225,.25);border-radius:14px;margin:0}

/* casino tables */
.cat-page .cp-table-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.cat-page .cp-table{overflow:hidden;border-radius:16px;border:1px solid rgba(98,170,240,.2);background:linear-gradient(180deg,#0b1b2d,#071220);box-shadow:0 14px 32px rgba(0,0,0,.25);display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.cat-page .cp-table:hover{border-color:var(--acs);transform:translateY(-2px)}
.cat-page .cp-table-media{position:relative;aspect-ratio:16/8.4;overflow:hidden}
.cat-page .cp-table-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.cat-page .cp-table:hover .cp-table-media img{transform:scale(1.05)}
.cat-page .cp-table-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,11,22,.35) 0%,rgba(4,11,22,0) 35%,rgba(7,18,32,.85) 100%)}
.cat-page .cp-live,.cat-page .cp-players,.cat-page .cp-prov{position:absolute;z-index:1;display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:999px;font-size:10px;font-weight:900;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.cat-page .cp-live{top:9px;left:9px;color:#fff;background:rgba(220,40,70,.85)}
.cat-page .cp-live i{background:#fff;animation:none}
.cat-page .cp-players{top:9px;right:9px;color:#e8f4ff;background:rgba(5,16,30,.7);border:1px solid rgba(255,255,255,.14)}
.cat-page .cp-prov{left:9px;bottom:8px;color:var(--ac);background:rgba(5,16,30,.72);border:1px solid var(--acs)}
.cat-page .cp-table-body{padding:11px 12px 12px;display:flex;flex-direction:column;gap:10px;flex:1}
.cat-page .cp-table-title{display:flex;align-items:center;gap:10px;min-width:0}
.cat-page .cp-type{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto;color:var(--ac);background:rgba(40,30,10,.35);border:1px solid var(--acs)}
.cat-page .cp-type .cp-svg{width:18px;height:18px}
.cat-page .cp-table-title div{min-width:0;display:flex;flex-direction:column;gap:2px}
.cat-page .cp-table-title b{font-size:14px;font-weight:900;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-page .cp-table-title small{font-size:10.5px;color:#8ea6be;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-page .cp-road{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;padding:6px;border-radius:10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06)}
.cat-page .cp-road i{font-style:normal;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;font-size:8.5px;font-weight:900;color:#fff}
.cat-page .cp-road .r-P{background:#2f7dff}.cat-page .cp-road .r-B{background:#e5384f}.cat-page .cp-road .r-T{background:#22b573}
.cat-page .cp-nums{display:flex;gap:4px;padding:6px;border-radius:10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06)}
.cat-page .cp-nums i{font-style:normal;flex:1;min-width:0;height:22px;border-radius:6px;display:grid;place-items:center;font-size:10.5px;font-weight:900;color:#fff;background:#1b2838;font-variant-numeric:tabular-nums}
.cat-page .cp-nums i.r{background:#c92a45}.cat-page .cp-nums i.b{background:#111a26;border:1px solid rgba(255,255,255,.12)}.cat-page .cp-nums i.g{background:#1a9b5f}
.cat-page .cp-nums.sicbo i.hi{background:rgba(242,196,109,.2);color:#ffd98f;border:1px solid rgba(242,196,109,.35)}.cat-page .cp-nums.sicbo i.lo{background:rgba(95,229,255,.12);color:#9eeeff;border:1px solid rgba(95,229,255,.25)}
.cat-page .cp-nums.show i{background:rgba(155,107,255,.18);color:#d9c8ff;border:1px solid rgba(155,107,255,.3)}.cat-page .cp-nums.show i.hot{background:linear-gradient(180deg,#ffcf6b,#e08a1e);color:#2a1600;border:0}
.cat-page .cp-seats{display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);height:34px}
.cat-page .cp-seats i{width:16px;height:16px;border-radius:50%;border:1.5px solid rgba(255,255,255,.25)}
.cat-page .cp-seats i.on{background:var(--ac);border-color:var(--ac)}
.cat-page .cp-seats small{margin-left:auto;font-size:10.5px;color:#cfdcea;font-weight:800}
.cat-page .cp-enter,.cat-page .cp-more{margin-top:auto;height:38px;border-radius:10px;border:1px solid rgba(95,229,255,.35);background:linear-gradient(180deg,rgba(30,110,190,.38),rgba(14,50,92,.5));color:#e8f8ff;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:4px;width:100%}
.cat-page .cp-enter:hover,.cat-page .cp-more:hover{border-color:#5fe5ff;background:linear-gradient(180deg,rgba(40,140,230,.5),rgba(18,64,116,.6))}
.cat-page .cp-enter-svg{width:14px;height:14px}

/* VIP / feature banner */
.cat-page .cp-vip,.cat-page .cp-feature{position:relative;overflow:hidden;border-radius:20px;min-height:230px;display:flex;align-items:center;border:1px solid var(--acs);background:#07101c;isolation:isolate;box-shadow:0 18px 44px rgba(0,0,0,.32)}
.cat-page .cp-vip>img,.cat-page .cp-feature>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-2}
.cat-page .cp-vip:before,.cat-page .cp-feature:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,9,18,.95) 0%,rgba(5,9,18,.75) 38%,rgba(5,9,18,.05) 75%)}
.cat-page .cp-vip-copy,.cat-page .cp-feature-copy{padding:24px 28px;max-width:430px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.cat-page .cp-vip-kicker{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:900;letter-spacing:2.2px;color:var(--ac)}
.cat-page .cp-vip h2,.cat-page .cp-feature h2{margin:0;font-size:24px;font-weight:900;letter-spacing:-.6px;color:#fff}
.cat-page .cp-vip p,.cat-page .cp-feature p{margin:0;font-size:12.5px;line-height:1.55;color:#c3d1e2}
.cat-page .cp-vip ul{list-style:none;margin:2px 0 4px;padding:0;display:flex;flex-direction:column;gap:5px}
.cat-page .cp-vip li{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#e6eef8}
.cat-page .cp-vip li .cp-svg{color:var(--ac)}
.cat-page .cp-vip-btn{height:40px;padding:0 16px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;font-weight:900;color:#1d1405;border:1px solid rgba(255,230,170,.6);background:linear-gradient(180deg,#ffe29a,var(--ac) 45%,var(--ac2));box-shadow:0 10px 24px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.5)}
.events-page .cp-vip-btn{color:#fff;border-color:rgba(255,190,240,.55);background:linear-gradient(120deg,#ff6fc8,#9b6bff)}
.cat-page .cp-vip-btn:hover{filter:brightness(1.07)}
.cat-page .cp-feature-meta{display:flex;gap:6px;flex-wrap:wrap;margin:2px 0 4px}
.cat-page .cp-feature-meta span{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:800;color:#e9dcff;background:rgba(10,10,30,.55);border:1px solid rgba(255,255,255,.12)}

/* split */
.cat-page .cp-split{display:grid;grid-template-columns:1.15fr 1fr;gap:14px;align-items:start}
.cat-page .cp-prov-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cat-page .cp-prov-grid.four{grid-template-columns:repeat(4,1fr)}
.cat-page .cp-prov-tile{position:relative;overflow:hidden;height:112px;border-radius:15px;border:1px solid rgba(98,170,240,.22);padding:0;background:#071220;color:#fff;text-align:left;isolation:isolate}
.cat-page .cp-prov-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .35s}
.cat-page .cp-prov-tile:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,11,22,.05) 15%,rgba(4,11,22,.92) 100%)}
.cat-page .cp-prov-tile:hover img{transform:scale(1.05)}
.cat-page .cp-prov-tile span{position:absolute;left:12px;right:12px;bottom:10px;display:flex;flex-direction:column;gap:2px}
.cat-page .cp-prov-tile b{font-size:14px;font-weight:900;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-page .cp-prov-tile small{font-size:10.5px;color:var(--ac);font-weight:800}
.cat-page .cp-guide{display:flex;flex-direction:column;gap:8px}
.cat-page .cp-guide>div{display:flex;align-items:flex-start;gap:11px;padding:12px;border-radius:14px;border:1px solid rgba(98,160,225,.18);background:linear-gradient(160deg,#0b1a2b,#07111d)}
.cat-page .cp-guide-ico{width:36px;height:36px;border-radius:11px;flex:0 0 auto;display:grid;place-items:center;color:var(--ac);background:rgba(255,255,255,.05);border:1px solid var(--acs)}
.cat-page .cp-guide-ico .cp-svg{width:18px;height:18px}
.cat-page .cp-guide>div>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.cat-page .cp-guide b{font-size:13px;font-weight:900}
.cat-page .cp-guide small{font-size:11px;line-height:1.5;color:#8fa5bc}
.cat-page .cp-guide.row{flex-direction:row}
.cat-page .cp-guide.row>div{flex:1;min-width:0}
.cat-page .cp-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.cat-page .cp-quick a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:14px;border:1px solid rgba(98,160,225,.18);background:linear-gradient(160deg,#0b1a2b,#07111d);color:#fff;text-decoration:none;min-width:0}
.cat-page .cp-quick a:hover{border-color:var(--acs)}
.cat-page .cp-quick-svg{width:34px;height:34px;padding:8px;border-radius:11px;color:var(--ac);background:rgba(255,255,255,.05);flex:0 0 auto;box-sizing:border-box}
.cat-page .cp-quick span{display:flex;flex-direction:column;gap:2px;min-width:0}
.cat-page .cp-quick b{font-size:12px;font-weight:800;white-space:nowrap}
.cat-page .cp-quick small{font-size:10px;color:#8299b1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* slots: jackpot + top */
.cat-page .jp-split{align-items:stretch}
.cat-page .cp-jackpot{position:relative;overflow:hidden;border-radius:18px;padding:16px;border:1px solid var(--acs);display:flex;flex-direction:column;gap:12px;
  background:radial-gradient(circle at 15% 0%,rgba(255,192,77,.22),transparent 50%),radial-gradient(circle at 100% 100%,rgba(255,122,61,.14),transparent 45%),linear-gradient(160deg,#1a1408,#0b0f1a 60%);box-shadow:0 18px 40px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.06)}
.cat-page .cp-jackpot:after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,230,160,.12),transparent);animation:cpShine 4.5s infinite;pointer-events:none}
@keyframes cpShine{0%{left:-60%}60%,100%{left:130%}}
.cat-page .cp-jp-head{display:flex;align-items:center;justify-content:space-between}
.cat-page .cp-jp-head span{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:900;letter-spacing:2px;color:var(--ac)}
.cat-page .cp-jp-head small{font-size:9.5px;color:#a89470;font-weight:700;padding:2px 7px;border-radius:999px;border:1px solid rgba(255,192,77,.25)}
.cat-page .cp-jp-main{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 10px;border-radius:14px;background:rgba(0,0,0,.28);border:1px solid rgba(255,192,77,.2)}
.cat-page .cp-jp-main small{font-size:10px;font-weight:900;letter-spacing:2.5px;color:#f5d48e}
.cat-page .cp-jp-main strong{font-size:32px;font-weight:900;letter-spacing:-.5px;font-variant-numeric:tabular-nums;background:linear-gradient(180deg,#fff6d8,#ffc04d 55%,#e8892a);-webkit-background-clip:text;background-clip:text;color:transparent;display:flex;align-items:baseline;gap:6px;white-space:nowrap}
.cat-page .cp-jp-main strong em{font-style:normal;font-size:13px;color:#f5d48e;-webkit-text-fill-color:#f5d48e}
.cat-page .cp-jp-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.cat-page .cp-jp-tiers div{padding:8px 6px;border-radius:11px;text-align:center;background:rgba(255,255,255,.04);border:1px solid rgba(255,192,77,.16);display:flex;flex-direction:column;gap:2px;min-width:0}
.cat-page .cp-jp-tiers small{font-size:9px;font-weight:900;letter-spacing:1.5px;color:#c9ab6c}
.cat-page .cp-jp-tiers b{font-size:13px;font-weight:900;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.cat-page .cp-jp-note{margin:0;font-size:9.5px;color:#8a7f6a;text-align:center}
.cat-page .cp-top ol{list-style:none;margin:0;padding:0;border-radius:16px;overflow:hidden;border:1px solid rgba(98,160,225,.2);background:linear-gradient(180deg,#0a1828,#07111e)}
.cat-page .cp-top li{display:grid;grid-template-columns:22px 40px 1fr auto;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid rgba(98,160,225,.12)}
.cat-page .cp-top li:last-child{border-bottom:0}
.cat-page .cp-top .rk{font-size:15px;font-weight:900;color:#7b90a6;text-align:center;font-style:italic}
.cat-page .cp-top li:nth-child(-n+3) .rk{color:var(--ac)}
.cat-page .cp-top img{width:40px;height:40px;border-radius:10px;object-fit:cover}
.cat-page .cp-top li>span{min-width:0;display:flex;flex-direction:column;gap:2px}
.cat-page .cp-top li>span b{font-size:12.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-page .cp-top li>span small{font-size:10px;color:#8299b1;white-space:nowrap}
.cat-page .cp-top button{height:30px;padding:0 11px;border-radius:9px;border:1px solid var(--acs);background:rgba(255,192,77,.08);color:#ffe3a6;font-size:11px;font-weight:800}
.cat-page .cp-top button:hover{background:rgba(255,192,77,.18)}

/* slot grid */
.cat-page .cp-slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.cat-page .cp-slot{padding:0;border-radius:15px;overflow:hidden;border:1px solid rgba(98,170,240,.2);background:linear-gradient(180deg,#0b1b2d,#071220);color:#fff;text-align:left;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.cat-page .cp-slot:hover{border-color:var(--acs);transform:translateY(-2px)}
.cat-page .cp-slot-media{position:relative;aspect-ratio:1/0.82;overflow:hidden;display:block}
.cat-page .cp-slot-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.cat-page .cp-slot:hover .cp-slot-media img{transform:scale(1.06)}
.cat-page .cp-badge{position:absolute;top:8px;font-style:normal;height:19px;padding:0 7px;border-radius:6px;font-size:9px;font-weight:900;letter-spacing:.6px;display:inline-flex;align-items:center}
.cat-page .cp-badge.hot,.cat-page .cp-badge.new{left:8px}
.cat-page .cp-badge.hot{background:linear-gradient(180deg,#ff6a5a,#e0334b);color:#fff}
.cat-page .cp-badge.new{background:linear-gradient(180deg,#5cd3ff,#2a7cf0);color:#fff}
.cat-page .cp-badge.jp{right:8px;background:linear-gradient(180deg,#ffe29a,#f0a830);color:#2a1600}
.cat-page .cp-slot-play{position:absolute;right:8px;bottom:8px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(5,16,30,.75);border:1px solid var(--acs);color:var(--ac);opacity:.95}
.cat-page .cp-play-svg{width:15px;height:15px}
.cat-page .cp-slot-body{padding:9px 10px 10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.cat-page .cp-slot-body>b{font-size:12.5px;font-weight:900;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-page .cp-slot-body>small{font-size:10px;color:#8299b1;font-weight:700}
.cat-page .cp-slot-tags{display:flex;gap:4px;margin-top:5px;flex-wrap:wrap}
.cat-page .cp-slot-tags i{font-style:normal;font-size:9px;font-weight:800;padding:2px 6px;border-radius:5px;background:rgba(95,229,255,.1);color:#a8eeff;white-space:nowrap}
.cat-page .cp-slot-tags i.v-hi{background:rgba(255,106,90,.14);color:#ffb0a6}.cat-page .cp-slot-tags i.v-mid{background:rgba(255,192,77,.14);color:#ffd88f}.cat-page .cp-slot-tags i.v-lo{background:rgba(61,220,140,.13);color:#9df0c4}

/* events */
.cat-page .cp-tag{font-style:normal;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:10.5px;font-weight:900;color:#fff}
.cat-page .cp-tag.on{background:linear-gradient(180deg,#ff6fa0,#e0335f)}
.cat-page .cp-tag.always{background:linear-gradient(180deg,#5cd3ff,#2a7cf0)}
.cat-page .cp-tag.soon{background:rgba(155,107,255,.85)}
.cat-page .cp-tag.end{background:linear-gradient(180deg,#ffc04d,#e8892a);color:#2a1600}
.cat-page .cp-event-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.cat-page .cp-event{overflow:hidden;border-radius:16px;border:1px solid rgba(98,170,240,.2);background:linear-gradient(180deg,#0d1a2e,#08111f);display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.cat-page .cp-event:hover{border-color:var(--acs);transform:translateY(-2px)}
.cat-page .cp-event-media{position:relative;aspect-ratio:16/8;overflow:hidden}
.cat-page .cp-event-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.cat-page .cp-event:hover .cp-event-media img{transform:scale(1.05)}
.cat-page .cp-event-media .cp-tag{position:absolute;top:9px;left:9px}
.cat-page .cp-event-body{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}
.cat-page .cp-event-body>b{font-size:15px;font-weight:900;letter-spacing:-.4px}
.cat-page .cp-event-body>p{margin:0;font-size:11.5px;line-height:1.5;color:#9fb2c7;min-height:34px}
.cat-page .cp-event-body dl{margin:2px 0 4px;display:flex;flex-direction:column;gap:4px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06)}
.cat-page .cp-event-body dl div{display:flex;justify-content:space-between;gap:8px}
.cat-page .cp-event-body dt{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;color:#8299b1;font-weight:700}
.cat-page .cp-event-body dt .cp-svg{color:var(--ac)}
.cat-page .cp-event-body dd{margin:0;font-size:11px;font-weight:800;color:#e3ecf6;text-align:right}
.cat-page .cp-attend{border-radius:18px;padding:14px;border:1px solid rgba(255,143,214,.25);background:radial-gradient(circle at 0% 0%,rgba(255,111,200,.14),transparent 50%),linear-gradient(160deg,#130f26,#08111f);display:flex;flex-direction:column;gap:10px}
.cat-page .cp-attend .cp-head{margin-bottom:0}
.cat-page .cp-week{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.cat-page .cp-week>div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 2px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.cat-page .cp-week small{font-size:10.5px;font-weight:800;color:#a9b6c8}
.cat-page .cp-week span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#55657a;background:rgba(255,255,255,.04);border:1.5px dashed rgba(255,255,255,.14)}
.cat-page .cp-week em{font-style:normal;font-size:8.5px;font-weight:800;color:#6f7f93;white-space:nowrap}
.cat-page .cp-week .today{border-color:rgba(255,143,214,.6);background:rgba(255,111,200,.1)}
.cat-page .cp-week .today span{border:0;color:#fff;background:linear-gradient(135deg,#ff6fc8,#9b6bff);box-shadow:0 6px 16px rgba(255,111,200,.35)}
.cat-page .cp-week .today em,.cat-page .cp-week .today small{color:#ffc4ea}
.cat-page .cp-week .bonus span{border:1.5px solid rgba(255,192,77,.55);color:#ffc04d;border-style:solid}
.cat-page .cp-week .bonus em{color:#ffc04d}
.cat-page .cp-attend p{margin:0;font-size:11.5px;color:#a9b4c8}
.cat-page .cp-attend .cp-vip-btn{width:100%}
.cat-page .cp-faq>div:last-child{display:flex;flex-direction:column;gap:6px}
.cat-page .cp-faq details{border-radius:12px;border:1px solid rgba(98,160,225,.18);background:linear-gradient(160deg,#0b1a2b,#07111d);overflow:hidden}
.cat-page .cp-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;padding:11px 12px;font-size:12.5px;font-weight:800;color:#eef5fc}
.cat-page .cp-faq summary::-webkit-details-marker{display:none}
.cat-page .cp-faq summary>b{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-size:11px;font-weight:900;color:#fff;background:linear-gradient(135deg,#ff6fc8,#9b6bff);flex:0 0 auto}
.cat-page .cp-faq-svg{width:14px;height:14px;margin-left:auto;color:#6d8199;transition:transform .2s;flex:0 0 auto}
.cat-page .cp-faq details[open] .cp-faq-svg{transform:rotate(90deg)}
.cat-page .cp-faq details p{margin:0;padding:0 12px 12px 43px;font-size:11.5px;line-height:1.6;color:#9fb2c7}

@media(min-width:981px){
  .cat-page .cp-hero{min-height:300px}
  .cat-page .cp-hero-copy{padding:30px 36px 80px}
  .cat-page .cp-hero-stats{left:36px;bottom:22px}
}
@media(max-width:1180px) and (min-width:981px){
  .cat-page .cp-split{grid-template-columns:1fr}
}
@media(max-width:760px){
  .cat-page{gap:12px}
  .cat-page .cp-hero{min-height:0;justify-content:flex-end;border-radius:18px}
  .cat-page .cp-hero-media img{object-position:60% 35%}
  .cat-page .cp-hero:before{background:linear-gradient(0deg,rgba(3,9,18,.96) 0%,rgba(3,9,18,.72) 40%,rgba(3,9,18,.1) 72%,rgba(3,9,18,0) 100%),linear-gradient(90deg,rgba(3,9,18,.55),rgba(3,9,18,0) 60%)}
  .cat-page .cp-hero-copy{padding:96px 16px 14px;max-width:none}
  .cat-page .cp-kicker{height:22px;font-size:9px;padding:0 9px}
  .cat-page .cp-hero h1{font-size:30px;margin:9px 0 5px;gap:9px}
  .cat-page .cp-hero h1 em{font-size:9.5px;letter-spacing:2px}
  .cat-page .cp-hero p{font-size:12px;max-width:320px}
  .cat-page .cp-hero-actions{margin-top:12px}
  .cat-page .cp-cta,.cat-page .cp-ghost{height:38px}
  .cat-page .cp-cta{font-size:12.5px!important;padding:0 14px 0 16px!important}
  .cat-page .cp-hero-stats{position:static;padding:0 16px 14px}
  .cat-page .cp-hero-stats div{flex:1;min-width:0;justify-content:center;padding:7px 6px}
  .cat-page .cp-hero-stats b{font-size:14px}
  .cat-page .cp-chips{gap:6px;margin:0 -9px;padding:1px 9px}
  .cat-page .cp-chip{height:42px;padding:0 11px;gap:6px;border-radius:12px;flex:0 0 auto}
  .cat-page .cp-chip-ico{width:24px;height:24px;border-radius:8px}
  .cat-page .cp-chip-ico .cp-svg{width:14px;height:14px}
  .cat-page .cp-chip b{font-size:12px}
  .cat-page .cp-head h2{font-size:16.5px}
  .cat-page .cp-split{grid-template-columns:1fr;gap:12px}
  .cat-page .cp-table-grid{grid-template-columns:1fr 1fr;gap:8px}
  .cat-page .cp-table-media{aspect-ratio:16/10}
  .cat-page .cp-table-body{padding:9px;gap:8px}
  .cat-page .cp-type{display:none}
  .cat-page .cp-table-title b{font-size:12.5px}
  .cat-page .cp-table-title small{font-size:9.5px}
  .cat-page .cp-prov{display:none}
  .cat-page .cp-road{grid-template-columns:repeat(6,1fr);padding:5px;gap:3px}
  .cat-page .cp-road i:nth-child(n+13){display:none}
  .cat-page .cp-nums{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:5px}
  .cat-page .cp-nums i{height:20px;font-size:10px}
  .cat-page .cp-seats{height:auto;flex-wrap:wrap;gap:4px;padding:6px}
  .cat-page .cp-seats i{width:12px;height:12px}
  .cat-page .cp-seats small{margin-left:0;width:100%;font-size:10px}
  .cat-page .cp-enter,.cat-page .cp-more{height:34px;font-size:11.5px}
  .cat-page .cp-vip,.cat-page .cp-feature{min-height:0;align-items:flex-end;border-radius:18px}
  .cat-page .cp-vip>img,.cat-page .cp-feature>img{object-position:70% center}
  .cat-page .cp-vip:before,.cat-page .cp-feature:before{background:linear-gradient(0deg,rgba(5,9,18,.97) 0%,rgba(5,9,18,.8) 45%,rgba(5,9,18,.15) 100%)}
  .cat-page .cp-vip-copy,.cat-page .cp-feature-copy{padding:90px 16px 16px;max-width:none}
  .cat-page .cp-vip h2,.cat-page .cp-feature h2{font-size:20px}
  .cat-page .cp-prov-grid,.cat-page .cp-prov-grid.four{grid-template-columns:1fr 1fr;gap:8px}
  .cat-page .cp-prov-tile{height:96px;border-radius:14px}
  .cat-page .cp-guide.row{flex-direction:column}
  .cat-page .cp-quick{grid-template-columns:repeat(4,1fr);gap:6px}
  .cat-page .cp-quick a{flex-direction:column;align-items:center;text-align:center;gap:6px;padding:10px 4px}
  .cat-page .cp-quick span{align-items:center}
  .cat-page .cp-quick small{display:none}
  .cat-page .cp-quick b{font-size:11px}
  .cat-page .cp-quick-svg{width:30px;height:30px;padding:7px}
  .cat-page .cp-jp-main strong{font-size:27px}
  .cat-page .cp-jp-tiers b{font-size:12px}
  .cat-page .cp-slot-grid{grid-template-columns:repeat(3,1fr);gap:7px}
  .cat-page .cp-slot{border-radius:13px}
  .cat-page .cp-slot-body{padding:7px 8px 8px}
  .cat-page .cp-slot-body>b{font-size:11.5px}
  .cat-page .cp-slot-body>small{font-size:9.5px}
  .cat-page .cp-slot-tags i:last-child{display:none}
  .cat-page .cp-slot-play{width:26px;height:26px}
  .cat-page .cp-badge{top:6px;height:17px;font-size:8px;padding:0 5px}
  .cat-page .cp-badge.hot,.cat-page .cp-badge.new{left:6px}.cat-page .cp-badge.jp{right:6px}
  .cat-page .cp-event-grid{grid-template-columns:1fr;gap:10px}
  .cat-page .cp-event{flex-direction:row}
  .cat-page .cp-event-media{aspect-ratio:auto;width:38%;flex:0 0 38%}
  .cat-page .cp-event-body{padding:10px 11px;gap:4px}
  .cat-page .cp-event-body>b{font-size:13.5px}
  .cat-page .cp-event-body>p{font-size:11px;min-height:0}
  .cat-page .cp-event-body dl{padding:6px 8px;margin:2px 0}
  .cat-page .cp-event-body dt,.cat-page .cp-event-body dd{font-size:10px}
  .cat-page .cp-event-media .cp-tag{top:7px;left:7px;height:19px;font-size:9.5px;padding:0 7px}
}
@media(max-width:380px){
  .cat-page .cp-slot-grid{grid-template-columns:1fr 1fr}
  .cat-page .cp-table-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.cat-page .cp-kicker i,.cat-page .cp-dot,.cat-page .cp-jackpot:after{animation:none}}
@media(max-width:760px){
  .cat-page .cp-road{grid-template-columns:repeat(6,minmax(0,1fr));justify-items:center}
  .cat-page .cp-road i{width:100%;max-width:19px;font-size:8px}
}
.cat-page .cp-jackpot{justify-content:space-between}
.cat-page .cp-jp-main{flex:1;justify-content:center;min-height:104px}
.events-page .cp-feature>img{object-position:center 60%}
.cat-page>.cp-guide.row,.cat-page>.cp-quick{width:100%;box-sizing:border-box}
.cat-page .cp-guide.row>div{box-sizing:border-box}
@media(max-width:760px){.cat-page .cp-guide.row>div{width:100%;flex:none}}
/* explicit column counts so the 12 / 12 / 8 sample items fill complete rows */
@media(min-width:1181px){
  .cat-page .cp-table-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cat-page .cp-slot-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .cat-page .cp-event-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:761px) and (max-width:1180px){
  .cat-page .cp-table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cat-page .cp-slot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cat-page .cp-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ================= v15.8.1 — PC header auth (logged out) =================
   PC (>=981px): 로그인/회원가입 side by side in the header top-right, vertically centered, no wrap.
   Mobile (<=980px) header untouched. Logged-in cluster (.header-action-cluster without .guest) untouched. */
@media(min-width:981px){
  .portal-topline .header-action-cluster.guest{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;align-self:center!important;justify-content:flex-end;gap:8px!important;width:auto!important}
  .portal-topline .header-action-cluster.guest .top-mini{height:38px!important;min-width:76px!important;padding:0 18px!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important;flex:0 0 auto!important;word-break:keep-all}
  .portal-topline .header-action-cluster.guest .top-mini.deposit{min-width:86px!important}
}
/* PC: remove the logged-out login/signup card from the right sidebar (shown only >=1461px);
   the empty sidebar is hidden and main content spans its column. Logged-in sidebar unchanged. */
@media(min-width:1461px){
  .portal-right.guest-right.simple-auth-only{display:none!important}
  .portal-grid:has(> .portal-right.guest-right.simple-auth-only) > .portal-main{grid-column:2 / -1!important}
}


/* ================= v15.8.2 — PC header 1:1문의 (live chat) =================
   PC (>=981px): show "1:1문의" in header action cluster (guest + logged-in), matching top-mini.
   Mobile (<=980px): hide so mobile keeps using the 3-line menu chat only. */
.portal-topline .header-live-chat{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
}
.portal-topline .header-live-chat .header-chat-svg{
  width:14px;height:14px;flex:0 0 auto;
}
.portal-topline .header-live-chat b{font-weight:inherit}
@media(max-width:980px){
  /* beat .portal-topline.refined .header-action-cluster.guest .top-mini{display:inline-flex!important} */
  .portal-topline.refined .header-action-cluster.guest .top-mini.header-live-chat,
  .portal-topline.refined .header-action-cluster .top-mini.header-live-chat,
  .portal-topline .header-live-chat{display:none!important}
}
@media(min-width:981px){
  .portal-topline .header-action-cluster.guest .header-live-chat{
    height:38px!important;min-width:88px!important;padding:0 14px!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important;flex:0 0 auto!important;word-break:keep-all;
  }
  .portal-topline .header-action-cluster:not(.guest) .header-live-chat{
    /* inherits .top-mini logged-in sizing */
  }
}

/* lobby fetch wait — top progress + in-page bar */
#medil-page-progress{
  position:fixed;top:0;left:0;right:0;height:3px;z-index:2147483000;
  pointer-events:none;opacity:0;background:rgba(95,229,255,.08);
}
#medil-page-progress.on{opacity:1}
#medil-page-progress i{
  display:block;height:100%;width:0%;
  background:linear-gradient(90deg,#7c5cff,#2f7dff,#5fe5ff);
  box-shadow:0 0 14px rgba(95,229,255,.85);
  border-radius:0 3px 3px 0;
}
#medil-page-progress.on:not(.done) i{animation:medilProgWait 1.35s cubic-bezier(.2,.7,.2,1) forwards}
#medil-page-progress.done{opacity:0;transition:opacity .32s ease .08s}
#medil-page-progress.done i{animation:none;width:100%;transition:width .16s ease-out}
@keyframes medilProgWait{
  0%{width:0}
  18%{width:22%}
  42%{width:48%}
  70%{width:72%}
  100%{width:88%}
}
.lobby-loading{min-height:46vh;display:flex;align-items:center;justify-content:center;padding:48px 16px}
.lobby-loading-card{
  width:min(430px,100%);padding:26px 22px 22px;border-radius:18px;text-align:center;
  border:1px solid rgba(95,229,255,.24);
  background:linear-gradient(180deg,rgba(10,28,48,.94),rgba(4,12,22,.98));
  box-shadow:0 20px 44px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.05);
}
.lobby-loading-bar{height:6px;border-radius:99px;overflow:hidden;background:rgba(95,229,255,.12);margin-bottom:16px}
.lobby-loading-bar span{
  display:block;height:100%;width:38%;border-radius:99px;
  background:linear-gradient(90deg,rgba(95,229,255,0),#5fe5ff,#2f7dff,rgba(95,229,255,0));
  animation:medilLobbySlide 1.05s ease-in-out infinite;
}
@keyframes medilLobbySlide{0%{transform:translateX(-130%)}100%{transform:translateX(340%)}}
.lobby-loading-card b{display:block;font-size:16px;font-weight:800;color:#f4fbff;letter-spacing:-.3px}
.lobby-loading-card small{display:block;margin-top:8px;color:#9fb6cc;font-size:12.5px;line-height:1.45}

#medil-launch-loading{
  position:fixed;inset:0;z-index:2147482500;display:flex;align-items:center;justify-content:center;
  background:rgba(3,10,20,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  opacity:0;pointer-events:none;transition:opacity .18s ease;
}
#medil-launch-loading.on{opacity:1;pointer-events:auto}
.medil-launch-card{
  width:min(320px,calc(100% - 32px));padding:28px 22px 22px;border-radius:18px;text-align:center;
  border:1px solid rgba(95,229,255,.28);
  background:linear-gradient(180deg,rgba(10,28,48,.96),rgba(4,12,22,.98));
  box-shadow:0 24px 50px rgba(0,0,0,.45);
}
.medil-launch-spin{
  width:36px;height:36px;margin:0 auto 14px;border-radius:50%;
  border:3px solid rgba(95,229,255,.18);border-top-color:#5fe5ff;
  animation:medilSpin .7s linear infinite;
}
@keyframes medilSpin{to{transform:rotate(360deg)}}
.medil-launch-card b{display:block;font-size:15px;font-weight:800;color:#f4fbff}
.medil-launch-card small{display:block;margin-top:8px;color:#9fb6cc;font-size:12px}
button.is-launching, .cp-enter.is-launching{opacity:.7;pointer-events:none}
