/* ═══ MMID247 HOME — SOFT PREMIUM LIGHT ═══ */
:root{
  --k7-bg:#F5F6F7;
  --k7-card:#FFFFFF;
  --k7-text:#1A2540;
  --k7-text-soft:#5A6B85;
  --k7-muted:#5A6B85;
  --k7-line:#E8ECF1;
  --k7-teal:#2DBDB0;
  --k7-teal-soft:#B8E5E0;
  --k7-teal-grad:linear-gradient(135deg,#2DBDB0,#3FD3C5);
  --k7-green:#6BC272;
  --k7-green-grad:linear-gradient(135deg,#6BC272,#8BD48F);
  --k7-orange:#FF6B00;
  --k7-orange-grad:linear-gradient(135deg,#FF6B00,#FF8C33);
  --k7-red-soft:#F8C8C8;
  --k7-red:#E96A6A;
  --k7-back:#A7D8D6;
  --k7-lay:#E9A19A;
  --k7-shadow:0 2px 10px rgba(26,37,64,0.05);
  --k7-shadow-md:0 4px 18px rgba(26,37,64,0.08);
  --k7-glow-orange:0 0 14px rgba(255,107,0,0.28);
  --k7-glow-teal:0 0 14px rgba(45,189,176,0.22);
  --k7-glow-mix:0 0 12px rgba(255,107,0,0.2),0 0 18px rgba(45,189,176,0.16);
  --k7-radius:4px;
  --k7-radius-sm:3px;
  --k7-font:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* Do not pad .k7-home or .k7-footer for the fixed bottom-nav — that
   created a white void under the copyright bar. Nav overlays the viewport. */
.k7-home{background:#fff;min-height:0;padding:0;color:var(--k7-text);font-family:var(--k7-font);max-width:900px;margin:0 auto;position:relative;width:100%;}
.k7-home *{box-sizing:border-box;}
body{background:#E8ECF1 !important;}

/* Desktop polish */
@media (min-width:992px){
  body{background:#E8ECF1 !important;}
  .k7-home{
    max-width:900px;
    margin:20px auto;
    box-shadow:0 4px 30px rgba(26,37,64,0.08);
    border-radius:6px;
    overflow:visible;
    padding:0 0 0px;
  }
  .k7-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:14px 12px!important;}
  .k7-sport-chip{width:96px;min-width:96px;height:84px;font-size:12px;padding:10px 8px;}
  .k7-sport-chip .k7-chip-icon{width:24px;height:24px;margin-bottom:8px;}
  .k7-sport-chips{padding:12px 40px 14px 14px;gap:10px;}
  .k7-prov{padding:8px 6px;}
  .k7-prov img{height:32px;width:32px;}
  .k7-prov span{font-size:10px;}
  .k7-section-head{padding:16px 20px;border: 1px solid var(--k7-line);}
  .k7-section-title{font-size:18px;}
  .k7-match-meta{padding:14px 16px 6px;}
  .k7-team-row{padding:8px 16px;}
  .k7-team-name{font-size:11px;}
  .k7-team-icon{width:30px;height:30px;font-size:13px;}
  .k7-odds-cell{width:68px;height:44px;font-size:14px;}
  .k7-cricket-head .k7-h-cell{width:68px;}
  .k7-cricket-head{padding:10px 16px;font-size:11px;}
}

@media (max-width:991px) and (min-width:561px){
  .k7-home{max-width:640px;}
}

@media (max-width:560px){
  .k7-home{max-width:100%;box-shadow:none;border-radius:0;margin:0;}
  body{background:#F5F6F7 !important;}
}

/* ── Hero banners: one auto-sliding rounded glow tab ── */
.k7-banner{
  position:relative;margin:8px 10px 10px;padding:0;background:transparent;
  border-radius:16px;overflow:visible;max-width:calc(100% - 20px);
  box-shadow:0 0 14px rgba(255,107,0,.32),0 0 22px rgba(45,189,176,.2);
}
.k7-banner.k7-glow-tab{isolation:isolate;}
.k7-banner-track{display:block;width:100%;position:relative;border-radius:16px;overflow:hidden;background:#0c1c36;}
.k7-banner-card{position:relative;display:block;border-radius:0;overflow:hidden;background:#0c1c36;height:auto;
  border:none;box-shadow:none;transition:none;text-decoration:none;color:inherit;}
.k7-banner-card img,.k7-banner-card picture{width:100%;height:auto;max-width:100%;display:block;}
.k7-banner-card img{object-fit:contain;object-position:top center;background:#0c1c36;vertical-align:top;}
.k7-banner-card.is-empty{display:none;}
.k7-carousel-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.92);border:none;color:var(--k7-text);width:30px;height:30px;border-radius:50%;font-size:16px;cursor:pointer;z-index:3;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 10px rgba(26,37,64,.12);transition:all .2s;}
.k7-carousel-btn.prev{left:2px;} .k7-carousel-btn.next{right:2px;}
.k7-carousel-btn:hover{background:#fff;transform:translateY(-50%) scale(1.08);box-shadow:0 0 12px rgba(255,107,0,.25);}
.k7-carousel-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;gap:6px;z-index:2;justify-content:center;padding:0;}
.k7-carousel-dot{width:8px;height:8px;border-radius:50%;background:rgba(26,37,64,.18);border:none;cursor:pointer;transition:all .3s;}
.k7-carousel-dot.active{background:var(--k7-orange);width:20px;border-radius:5px;box-shadow:0 0 8px rgba(255,107,0,.45);}

/* ── Promo Cards ── */
.k7-promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px;}
.k7-promo-card{border-radius:var(--k7-radius);overflow:hidden;cursor:pointer;background:#fff;box-shadow:var(--k7-shadow);transition:transform .3s,box-shadow .3s;}
.k7-promo-card:hover{transform:translateY(-2px);box-shadow:var(--k7-shadow-md);}
.k7-promo-card img{width:100%;height:100px;object-fit:cover;display:block;}

/* ── Big Pill Buttons ── */
.k7-quick-btns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:14px;
    padding:12px 12px 10px !important;  /* room for glow ring */
    width:100%;
    box-sizing:border-box;
}
.k7-quick-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 14px;
    min-height:50px;
    border-radius:16px;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    letter-spacing:.3px;
    border:none;
    transition:transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s;
    box-shadow:0 0 14px rgba(255,107,0,.32),0 0 22px rgba(45,189,176,.2);
    white-space:nowrap;
    overflow:visible;
    text-overflow:ellipsis;
    box-sizing:border-box;
}
.k7-quick-btn i{font-size:15px;flex-shrink:0;}
.k7-quick-btn.sportsbook{
    background:linear-gradient(135deg,#C5E4E1 0%,#A5D4D0 100%);
    color:#0B3B39;
}
.k7-quick-btn.casino{
    background:linear-gradient(135deg,#F1C1BB 0%,#E79E96 100%);
    color:#6E1F17;
}
.k7-quick-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 0 18px rgba(255,107,0,.4),0 0 26px rgba(45,189,176,.28);
}
.k7-quick-btn:active{transform:translateY(0);}

/* Tablet */
@media (min-width:561px) and (max-width:991px){
    .k7-quick-btns{gap:12px;padding:12px 16px 6px !important;}
    .k7-quick-btn{padding:14px 18px;font-size:14px;min-height:56px;border-radius:14px;}
    .k7-quick-btn i{font-size:16px;}
}
/* Desktop */
@media(min-width:992px){
    .k7-quick-btns{gap:14px;padding:14px 20px 8px !important;max-width:900px;margin:0 auto 16px;}
    .k7-quick-btn{padding:16px 22px;font-size:14px;min-height:60px;border-radius:14px;letter-spacing:.4px;}
    .k7-quick-btn i{font-size:17px;}
}
/* Small mobile */
@media (max-width:360px){
    .k7-quick-btns{gap:8px;padding:8px 10px 4px !important;}
    .k7-quick-btn{padding:11px 10px;font-size:12px;min-height:46px;gap:6px;}
    .k7-quick-btn i{font-size:14px;}
}

/* ── Section Heading (match image: "All Games" with collapse arrow) ── */
.k7-section{margin-bottom:0;}
.k7-section-head{border:1px solid var(--k7-line);display:flex;align-items:center;justify-content:space-between;padding:12px 12px 10px;background:#F0FBFA;}
.k7-section-title{font-size:16px;font-weight:800;color:var(--k7-text);}
.k7-section-link{font-size:12px;color:var(--k7-teal);font-weight:700;text-decoration:none;display:flex;align-items:center;gap:4px;}

/* ── Peer home lobbies: Casino + Sportsbook ── */
.k7-home-section{margin:0;background:#fff;border-top:1px solid var(--k7-line);animation:k7SectionIn .45s ease both;}
.k7-casino-home{animation-delay:.05s;}
.k7-sports-home{animation-delay:.12s;}
@keyframes k7SectionIn{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
.k7-home-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 12px 10px;background:#fff;position:relative;}
.k7-home-section-head::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#FF6B00,#2DBDB0,#FF8C33,#A7D8D6);box-shadow:0 0 10px rgba(255,107,0,.35),0 0 14px rgba(45,189,176,.25);opacity:.9;}
.k7-home-section-title{font-size:clamp(13px,3.6vw,16px);font-weight:800;line-height:1.2;white-space:nowrap;}
.k7-home-section-sub{font-size:12px;color:var(--k7-text-soft);font-weight:500;margin-top:3px;line-height:1.35;}
.k7-home-section-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 12px;flex-shrink:0;}
.k7-home-section-link{font-size:12px;color:var(--k7-orange,#FF6B00);font-weight:700;text-decoration:none;white-space:nowrap;transition:opacity .2s;}
.k7-home-section-link:hover{opacity:.8;text-decoration:underline;}
.k7-home-section-link i{font-size:10px;margin-left:2px;}
.k7-sports-foot{padding:8px 12px;text-align:center;border-top:1px solid var(--k7-line);background:#FAFBFC;margin:0;}
.k7hs-list{min-height:0;}
.k7-sports-home,.k7-cricket-wrap,.k7hs-board{min-height:0;margin-bottom:0;}
.k7-sports-foot a{font-size:13px;font-weight:700;color:var(--k7-orange,#FF6B00);text-decoration:none;}
.k7-sports-foot a:hover{text-decoration:underline;}
.k7-casino-home .k7-games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 6px 14px;}
.k7-prov{transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s,border-color .2s;}
.k7-prov:active{transform:scale(.96);}
.k7-live-pill{animation:k7LivePulse 1.6s ease-in-out infinite;}
@keyframes k7LivePulse{0%,100%{opacity:1;}50%{opacity:.72;}}

/* ── Cricket Live Sportsbook — Imp listing chrome (matches _sport_listing) ── */
.k7-cricket-wrap{background:#fff;border:none;border-radius:0;box-shadow:none;overflow:visible;}
.k7hs-board{background:#fff;}
.k7hs-hero{
  position:relative;background:linear-gradient(135deg,#4CAF50,#81C784);color:#fff;
  padding:16px 14px;overflow:hidden;
}
.k7hs-hero::before{
  content:'\f433';position:absolute;right:-18px;top:50%;transform:translateY(-50%);
  font-family:'Font Awesome 6 Free';font-weight:900;font-size:88px;opacity:.14;line-height:1;color:#fff;
}
.k7hs-hero-inner{position:relative;z-index:1;display:flex;align-items:center;gap:12px;}
.k7hs-hero-icon{
  width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.2);
  display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;
  border:1px solid rgba(255,255,255,.28);
}
.k7hs-hero-text{flex:1;min-width:0;}
.k7hs-hero-text strong{display:block;font-size:16px;font-weight:800;line-height:1.15;}
.k7hs-hero-text span{display:block;font-size:11px;font-weight:600;opacity:.9;margin-top:3px;}
.k7hs-hero-count{
  background:rgba(255,255,255,.22);color:#fff;padding:5px 12px;border-radius:20px;
  font-size:11px;font-weight:800;border:1px solid rgba(255,255,255,.3);flex-shrink:0;
}
.k7hs-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 14px;background:#F7F9FB;border-bottom:1px solid var(--k7-line);
  font-size:10px;font-weight:800;color:var(--k7-text-soft);text-transform:uppercase;letter-spacing:.5px;
}
.k7hs-toolbar-dot{display:inline-flex;align-items:center;gap:6px;}
.k7hs-toolbar-dot::before{content:'';width:5px;height:5px;border-radius:50%;background:#4CAF50;}
.k7hs-list{display:flex;flex-direction:column;}
.k7hs-match{
  display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #F0F2F5;
  cursor:pointer;text-decoration:none;color:var(--k7-text);background:#fff;transition:background .2s,transform .2s;
  position:relative;overflow:hidden;min-height:52px;
}
.k7hs-match::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:0;
  background:linear-gradient(90deg,#E8F5E9,transparent);transition:width .25s;
  pointer-events:none;z-index:0;
}
.k7hs-match:hover{background:#FAFBFC;transform:translateX(2px);}
.k7hs-match:hover::before{width:100%;}
.k7hs-match:last-child{border-bottom:none;}
.k7hs-status{flex-shrink:0;width:8px;display:flex;justify-content:center;position:relative;z-index:1;}
.k7hs-live{width:8px;height:8px;border-radius:50%;background:#E96A6A;box-shadow:0 0 0 2px rgba(233,106,106,.2);}
.k7hs-upcoming{width:6px;height:6px;border-radius:50%;background:#F5A623;}
.k7hs-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;position:relative;z-index:1;}
.k7hs-title{font-size:11px;font-weight:800;white-space:normal;overflow:hidden;text-overflow:ellipsis;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;}
.k7hs-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--k7-muted);font-weight:600;}
.k7hs-meta .k7hs-league{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;}
.k7hs-live-pill{background:#FFEFEF;color:#E96A6A;padding:1px 6px;border-radius:3px;font-weight:800;font-size:9px;letter-spacing:.3px;}
.k7hs-upcoming-pill{background:#FFF6E8;color:#C47A10;padding:1px 6px;border-radius:3px;font-weight:800;font-size:9px;letter-spacing:.3px;}
.k7hs-odds{display:flex;gap:4px;flex-shrink:0;position:relative;z-index:1;}
.k7hs-odd{
  width:54px;height:38px;border-radius:4px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;font-weight:800;font-size:13px;color:var(--k7-text);text-align:center;line-height:1.1;
}
.k7hs-odd.back{background:var(--k7-back,#A7D8D6);}
.k7hs-odd.lay{background:var(--k7-lay,#E9A19A);}
.k7hs-odd.empty{background:#F1F3F5;color:var(--k7-muted);font-weight:600;}
.k7hs-odd .k7hs-odd-sub{font-size:8px;font-weight:600;color:var(--k7-text-soft);margin-top:1px;}
.k7hs-arrow{
  width:22px;height:22px;border-radius:50%;background:#E8F5E9;color:#4CAF50;
  display:flex;align-items:center;justify-content:center;font-size:10px;flex-shrink:0;
  position:relative;z-index:1;opacity:.85;
}
.k7hs-empty,.k7-empty{text-align:center;padding:36px 20px;color:var(--k7-muted);font-size:13px;}
.k7hs-empty i,.k7-empty i{display:block;font-size:22px;margin-bottom:8px;opacity:.5;}
@media (max-width:560px){
  .k7hs-odd{width:64px;height:40px;font-size:14px;}
  .k7hs-arrow{display:none;}
  .k7hs-title{font-size:11px;}
}

/* ── Provider Strip (primary tab bar) ── */
.k7-providers{background:transparent;border-bottom:none;padding:12px 10px;display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;margin-bottom:0;-webkit-overflow-scrolling:touch;max-width:100%;width:100%;}
.k7-providers::-webkit-scrollbar{display:none;}
.k7-prov{flex:0 0 auto;min-width:68px;padding:8px 8px 8px;text-align:center;cursor:pointer;border-radius:16px;transition:all .2s;text-decoration:none;color:var(--k7-text);position:relative;border:none;background:#fff;}
.k7-prov img{height:40px;width:40px;max-width:40px;object-fit:contain;margin:0 auto 4px;display:block;filter:none!important;background:#fff;border:none;border-radius:10px;padding:5px;box-shadow:none;transition:transform .2s;}
.k7-prov span{display:block;font-size:9px;font-weight:800;color:var(--k7-text-soft);text-transform:uppercase;letter-spacing:.3px;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 auto;}
.k7-prov.active img,.k7-prov:hover img{filter:none!important;transform:translateY(-1px);}
.k7-prov.active{background:#FFF8F2;}
.k7-prov.active span{color:var(--k7-orange);}
.k7-prov:hover{background:#FFF8F2;}

/* ── Quick Nav Slider ── */
.k7-slider-section{position:relative;margin-bottom:18px;background:#fff;border-radius:var(--k7-radius);padding:12px 8px;box-shadow:var(--k7-shadow);}
.k7-slider-wrap{overflow-x:scroll;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;}
.k7-slider-wrap::-webkit-scrollbar{display:none;}
.k7-slider-track{display:flex;gap:10px;padding:2px 0;}
.k7-game-slide{flex:0 0 auto;width:96px;text-align:center;text-decoration:none;color:var(--k7-text);}
.k7-game-slide img{width:96px;height:96px;object-fit:cover;border-radius:var(--k7-radius-sm);box-shadow:var(--k7-shadow);transition:transform .25s;}
.k7-game-slide:hover img{transform:translateY(-3px);}
.k7-game-slide span{display:block;font-size:11px;margin-top:6px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.k7-slider-btn{position:absolute;top:50%;transform:translateY(-50%);background:#fff;border:none;color:var(--k7-text);width:30px;height:30px;border-radius:50%;font-size:14px;cursor:pointer;z-index:2;display:flex;align-items:center;justify-content:center;box-shadow:var(--k7-shadow-md);}
.k7-slider-btn.left{left:2px;} .k7-slider-btn.right{right:2px;}

/* ── Category Tabs (sub-filter under provider strip — reads as secondary) ── */
.k7-cat-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:10px 12px;margin:0;background:transparent;border-bottom:none;}
.k7-cat-tabs::-webkit-scrollbar{display:none;}
.k7-cat-tab{padding:6px 14px;border-radius:16px;border:none;background:#fff;color:var(--k7-text-soft);font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s;}
.k7-cat-tab:hover{color:var(--k7-text);background:#FFF8F2;}
.k7-cat-tab.active{background:#FFF8F2;color:var(--k7-orange);}

/* ── Games Grid (smooth card + image) ── */
.k7-games-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 6px;}
.k7-game-card{background:#fff;border-radius:12px;overflow:hidden;cursor:pointer;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s;box-shadow:0 2px 12px rgba(255,107,0,0.16),0 0 0 1.5px rgba(255,107,0,0.35),0 0 16px rgba(45,189,176,0.22);border:1.5px solid rgba(255,107,0,0.28);position:relative;display:block;text-decoration:none;color:inherit;}
.k7-game-card::before{content:"";position:absolute;inset:0;border-radius:12px;padding:1.5px;background:linear-gradient(145deg,#FF6B00,#2DBDB0,#FF8C33);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:3;opacity:.55;transition:opacity .25s;}
.k7-game-card::after{content:"Play";position:absolute;left:50%;top:42%;transform:translate(-50%,-50%) scale(.92);padding:5px 12px;border-radius:999px;background:rgba(255,107,0,.92);color:#fff;font-size:10px;font-weight:800;letter-spacing:.3px;opacity:0;pointer-events:none;z-index:4;box-shadow:0 4px 14px rgba(255,107,0,.4);transition:opacity .25s,transform .25s;}
.k7-game-card:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 0 18px rgba(255,107,0,0.35),0 0 22px rgba(45,189,176,0.22),0 8px 20px rgba(26,37,64,0.1);}
.k7-game-card:hover::before{opacity:1;}
.k7-game-card:hover::after{opacity:1;transform:translate(-50%,-50%) scale(1);}
.k7-game-card .k7-gc-thumb{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;background:#F2F4F6;}
.k7-game-card .k7-gc-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(26,37,64,0.55) 100%);pointer-events:none;z-index:1;}
.k7-game-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s cubic-bezier(.2,.8,.2,1);}
.k7-gc-no-img{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:linear-gradient(145deg,#FFF4EB,#F2F4F6);color:#1A2540;text-align:center;padding:10px 8px;gap:6px;}
.k7-gc-no-img i{font-size:22px;color:#FF6B00;opacity:.75;}
.k7-gc-no-img .k7-gc-no-img-name{font-size:11px;font-weight:800;line-height:1.25;max-height:3.6em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;}
.k7-gc-no-img .k7-gc-no-img-tag{font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:#9AA7BD;font-weight:700;}
.k7-game-card:hover img{transform:scale(1.07);}
.k7-gc-provider{position:absolute;left:0;right:0;bottom:28px;z-index:2;font-size:8px;color:rgba(255,255,255,.85);font-weight:800;padding:0 8px;text-transform:uppercase;letter-spacing:.4px;pointer-events:none;}
.k7-gc-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:110px;background:linear-gradient(145deg,#FFF4EB,#F2F4F6);color:#1A2540;font-size:12px;font-weight:800;text-align:center;padding:10px;border-radius:8px;}.k7-gc-name{position:absolute;left:0;right:0;bottom:0;z-index:2;font-size:11px;color:#fff;font-weight:800;padding:0 8px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;text-shadow:0 1px 4px rgba(0,0,0,.35);}
.k7-game-card--featured{box-shadow:0 2px 14px rgba(255,107,0,0.28),0 0 0 1.5px rgba(255,107,0,0.5),0 0 18px rgba(45,189,176,0.28);}
.k7-game-card--featured::before{opacity:.9;}
.k7-gc-featured{
  position:absolute;top:6px;left:6px;z-index:5;
  display:inline-flex;align-items:center;gap:4px;
  padding:3px 7px;border-radius:6px;
  background:linear-gradient(135deg,#FF6B00,#FF8C33);
  color:#fff;font-size:8px;font-weight:800;letter-spacing:.45px;text-transform:uppercase;
  line-height:1.2;pointer-events:none;
  box-shadow:0 2px 8px rgba(255,107,0,.45);
}
.k7-gc-featured i{font-size:7px;opacity:.95;}

/* ── Empty/Loading ── */
.k7-empty{text-align:center;padding:30px 20px;color:var(--k7-muted);}
.k7-empty i{font-size:36px;margin-bottom:10px;display:block;}
.k7-loading{padding:30px;text-align:center;color:var(--k7-muted);font-size:13px;}
.k7-loading .k7-spin{display:inline-block;width:18px;height:18px;border:2px solid var(--k7-line);border-top-color:var(--k7-teal);border-radius:50%;animation:k7spin .8s linear infinite;margin-right:8px;vertical-align:middle;}
@keyframes k7spin{to{transform:rotate(360deg);}}


.k7-skeleton-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 6px;}
.k7-skeleton-item{background:linear-gradient(90deg,#EEF1F4 0%,#F7F9FB 50%,#EEF1F4 100%);background-size:200% 100%;border-radius:var(--k7-radius-sm);height:170px;animation:k7shim 1.4s infinite;}
@keyframes k7shim{0%{background-position:200% 0;}100%{background-position:-200% 0;}}

/* ── Sports LTR slider (placed below banners) ── */
.k7-sport-slider{
  position:relative;
  background:transparent;
  border:none;
  margin:0;
  overflow:visible;
}
.k7-sport-chips{
  display:flex;
  gap:10px;
  padding:12px 36px 16px 12px;
  margin:0;
  overflow-x:auto;
  overflow-y:visible;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}
.k7-sport-chips::-webkit-scrollbar{display:none;}
.k7-sport-chip{
  flex:0 0 auto;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:88px;
  min-width:88px;
  height:78px;
  padding:8px 6px;
  background:#FFFFFF;
  border-radius:16px;
  text-decoration:none;
  color:var(--k7-text-soft);
  font-weight:700;
  font-size:11px;
  text-align:center;
  transition:all .25s cubic-bezier(.2,.8,.2,1);
  border:none;
  cursor:pointer;
  position:relative;
}
.k7-sport-chip:hover{background:#FFF8F2;color:var(--k7-orange);transform:translateY(-1px);}
.k7-sport-chip:hover .k7-chip-icon{transform:scale(1.1);}
.k7-sport-chip.active{color:var(--k7-orange);background:#FFF8F2;}
.k7-sport-chip.active .k7-chip-icon{transform:scale(1.05);}
.k7-sport-chip span{display:block;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.k7-sport-chip .k7-chip-icon{width:22px;height:22px;object-fit:contain;display:block;margin:0 auto 6px;transition:transform .25s;}
.k7-sport-slide-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border-radius:50%;
  border:1px solid var(--k7-line);background:rgba(255,255,255,.96);
  color:var(--k7-text);display:flex;align-items:center;justify-content:center;
  z-index:2;cursor:pointer;box-shadow:0 2px 8px rgba(26,37,64,.1);
  font-size:14px;line-height:1;padding:0;
}
.k7-sport-slide-btn.prev{left:4px;}
.k7-sport-slide-btn.next{right:4px;}
.k7-sport-slide-btn:hover{color:var(--k7-orange);border-color:rgba(255,107,0,.4);}
.k7-more-rail{display:none!important;}

/* ── Section header with collapse ── */
.k7-section-arrow{font-size:14px;color:var(--k7-muted);transition:transform .25s;}
.k7-section-arrow.rotated{transform:rotate(180deg);}
#k7AllGames.collapsed, #k7CasinoGames.collapsed{display:none;}
.k7-footer-body{
    background-color: transparent;
}
/* ── 5-column Cricket Odds Layout ── */
.k7-cricket-head{display:flex;align-items:center;padding:10px 12px;background:#DAFDFC;border-bottom:1px solid var(--k7-line);font-size:10px;font-weight:800;color:var(--k7-text-soft);text-transform:uppercase;letter-spacing:.4px;}
.k7-cricket-head .k7-h-team{flex:1;min-width:0;}
.k7-cricket-head .k7-h-cell{width:52px;text-align:center;}
.k7-team-row{display:flex;align-items:center;gap:6px;margin-bottom:6px;}
.k7-team-row:last-child{margin-bottom:0;}
.k7-odds-cell{width:52px;height:42px;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800;font-size:12px;color:var(--k7-text);text-align:center;margin-left:3px;line-height:1.1;}
.k7-odds-cell.back{background:#A7D8D6;color:#1A2540;}
.k7-odds-cell.spread{background:#BFE5E2;color:#1A2540;font-size:10px;}
.k7-odds-cell.money{background:#CDEBE7;color:#1A2540;font-size:11px;}
.k7-odds-cell.lay{background:#E9A19A;color:#1A2540;}
.k7-odds-cell.total{background:#E7D0EA;color:#1A2540;font-size:10px;}
.k7-odds-cell .k7-sub{font-size:9px;font-weight:600;color:var(--k7-text-soft);margin-top:1px;}
.k7-odds-cell.dash{color:var(--k7-muted);font-weight:600;}

/* ── Bottom Mobile Navigation ── */
.k7-bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:900px;background:#fff;border-top:1px solid var(--k7-line);box-shadow:0 -4px 16px rgba(26,37,64,0.08);display:flex;align-items:center;justify-content:space-around;padding:8px 4px 10px;z-index:998;}
@media (max-width:991px) and (min-width:561px){.k7-bottom-nav{max-width:640px;}}
@media (max-width:560px){.k7-bottom-nav{max-width:100%;border-radius:0;}}
@media (min-width:992px){.k7-bottom-nav{border-radius:6px 6px 0 0;}}
.k7-bottom-nav a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:var(--k7-text-soft);font-size:10px;font-weight:700;padding:4px 2px;transition:color .2s;overflow:hidden;}
.k7-bottom-nav a span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.k7-bottom-nav a:hover,.k7-bottom-nav a.active{color:var(--k7-orange);}
.k7-bottom-nav a i{font-size:18px;}
.k7-bottom-nav a.bn-account{color:var(--k7-text);font-weight:800;}
.k7-bottom-nav a.bn-account .bn-bal{color:var(--k7-orange);font-weight:900;font-size:12px;}
.k7-bottom-nav a{min-height:44px;}

/* ── Responsive ── */
.k7-home, .k7-home *{min-width:0;} .k7-home img, .k7-home video, .k7-home iframe, .k7-home table{max-width:100%;}

/* ── Mobile: only show best BACK (b1) + best LAY (l1), hide b2/b3/l2/l3 ── */
@media (max-width:600px){
  .k7-home{padding:0;}
  .k7-cricket-head .k7-h-b3,
  .k7-cricket-head .k7-h-b2,
  .k7-cricket-head .k7-h-l2,
  .k7-cricket-head .k7-h-l3{display:none;}
  .k7-odds-cell.b3,.k7-odds-cell.b2,.k7-odds-cell.l2,.k7-odds-cell.l3{display:none;}
  .k7-odds-cell{width:78px;height:44px;font-size:14px;}
  .k7-cricket-head .k7-h-cell{width:78px;}
  .k7-team-name{font-size:11px;max-width:140px;}
  .k7-team-icon{width:24px;height:24px;font-size:10px;}
  .k7-match-meta{padding:8px 10px 3px;}
  .k7-team-row{padding:4px 10px;}
  .k7-sport-chip{height:64px;font-size:10px;padding:6px 4px;border:none;}
  .k7-sport-chip .k7-chip-icon{width:20px;height:20px;margin-bottom:5px;}
  .k7-games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 4px;}
  .k7-gc-provider{font-size:7px;padding:0 6px;}
  .k7-gc-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:110px;background:linear-gradient(145deg,#FFF4EB,#F2F4F6);color:#1A2540;font-size:12px;font-weight:800;text-align:center;padding:10px;border-radius:8px;}.k7-gc-name{font-size:10px;padding:0 6px 6px;}
  .k7-cat-tab{padding:5px 12px;font-size:11px;}
  .k7-section-title{font-size:14px;}
}
@media (max-width:420px){
  .k7-games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px 3px;}
  .k7-banner-card{height:auto;}
  .k7-odds-cell{width:62px;height:36px;font-size:12px;}
  .k7-cricket-head .k7-h-cell{width:62px;}
  .k7-team-name{font-size:11px;max-width:110px;}
  .k7-sport-chip{width:72px;min-width:72px;height:64px;font-size:9px;padding:5px 2px;}
  .k7-sport-chip .k7-chip-icon{width:18px;height:18px;margin-bottom:4px;}
}
@media (max-width:360px){
  .k7-odds-cell{width:54px;height:34px;font-size:11px;}
  .k7-cricket-head .k7-h-cell{width:54px;}
  .k7-team-name{font-size:11px;max-width:90px;}
  .k7-team-icon{width:22px;height:22px;font-size:9px;}
}


/* ═══ Mobile beauty: slim first viewport, 1+1 odds, source order Casino→Sports ═══ */
@media (max-width:991px){
  .k7-home{
    display:flex;
    flex-direction:column;
    padding:0;
    background:var(--k7-bg);
  }
  .k7-banner{order:1;border-bottom:none;padding:0;}
  .k7-sport-slider{order:2;}
  .k7-sport-chips{order:2;height:auto;display:flex!important;grid-template-columns:none!important;}
  .k7-more-rail{order:2;}
  .k7-quick-btns{order:3;}
  .k7-casino-home{order:4;}
  .k7-sports-home{order:5;}

  .k7-sport-chip{width:76px;min-width:76px;height:68px;font-size:10px;min-height:44px;padding:6px 4px;}
  .k7-sport-chip .k7-chip-icon{width:20px;height:20px;margin-bottom:4px;}
  .k7-sport-chips{padding:10px 32px 14px 10px;gap:8px;}
  .k7-banner-card{height:auto;}
  .k7-quick-btns{padding:10px 12px 8px !important;gap:8px;}
  .k7-quick-btn{min-height:44px;border-radius:16px;font-size:13px;}
  .k7-quick-btn.sportsbook{
    background:var(--k7-orange-grad) !important;
    color:#fff !important;
    border-color:var(--k7-orange) !important;
  }
  .k7-quick-btn.casino{
    background:#fff !important;
    color:var(--k7-navy,#1A2540) !important;
    border:1.5px solid var(--k7-line) !important;
  }
  .k7-section-head{background:#FFF4EB;border-color:var(--k7-line);}
  .k7-cricket-head{background:#F7F9FB;}
  .k7-team-name{font-size:11px;}
  .k7-team-row{min-height:44px;padding:6px 10px !important;}
  .k7-odds-cell{min-height:44px;border-radius:4px;}
  .k7-home-section-head{padding:12px 12px 8px;}
  .k7-home-section-title{font-size:clamp(13px,3.6vw,15px);}
  .k7-casino-home .k7-games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px 4px 12px;}
}

@media (max-width:560px){
  .k7-cricket-head .k7-h-b3,
  .k7-cricket-head .k7-h-b2,
  .k7-cricket-head .k7-h-l2,
  .k7-cricket-head .k7-h-l3{display:none;}
  .k7-odds-cell.b3,.k7-odds-cell.b2,.k7-odds-cell.l2,.k7-odds-cell.l3{display:none;}
  .k7-odds-cell{width:78px;height:44px;font-size:14px;}
  .k7-cricket-head .k7-h-cell{width:78px;}
  .k7-team-name{font-size:11px !important;max-width:48vw;}
}

@media (min-width:561px) and (max-width:991px){
  .k7-odds-cell{height:42px;}
}


/* VL polish pass — spacing, Casino CTA, Back+Lay visibility */
@media (max-width:991px){
  .k7-banner{border-bottom:none !important;}
  .k7-quick-btns{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    padding:10px 12px 8px !important;
  }
  .k7-quick-btn{
    width:100%;
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    padding:12px 10px !important;
    font-size:12px !important;
  }
  .k7-sport-chips{display:flex!important;grid-template-columns:none!important;}
  .k7-sport-chip{width:72px;min-width:72px;border:none;}
  .k7-team-row{
    display:flex;align-items:center;gap:4px;
    padding:8px 10px !important;
    min-height:48px;
    overflow:visible;
  }
  .k7-team{flex:1 1 auto;min-width:0;max-width:42%;}
  .k7-odds-cell{
    flex:0 0 auto !important;
    width:68px !important;
    min-width:64px !important;
    height:44px !important;
    min-height:44px !important;
    margin-left:3px !important;
    border-radius:4px !important;
  }
  .k7-odds-cell.back.b1{background:var(--k7-back,#A7D8D6) !important;}
  .k7-odds-cell.lay.l1{background:var(--k7-lay,#E9A19A) !important;}
  .k7-cricket-head .k7-h-cell{width:68px !important;}
  .k7-cricket-wrap{overflow:visible;}
}
@media (max-width:420px){
  .k7-odds-cell{width:64px !important;height:44px !important;font-size:13px !important;}
  .k7-cricket-head .k7-h-cell{width:64px !important;}
  .k7-team-name{font-size:11px !important;max-width:none;}
}
@media (max-width:360px){
  .k7-odds-cell{width:58px !important;height:44px !important;font-size:12px !important;}
  .k7-cricket-head .k7-h-cell{width:58px !important;}
}
/* ═══ MMID247 Brand Wings — docked beside center column (≥1200px) ═══ */
.k7-wing{display:none;pointer-events:none;}
@media (min-width:1200px){
  html body.main-content-pages #main,
  html body.main-content-pages #main > .row.mx-0,
  html body.main-content-pages #main > .row{
    max-width:1400px !important;
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  html body.main-content-pages{background:linear-gradient(180deg,#E8ECF1 0%,#F5F6F7 50%,#E8ECF1 100%) !important;}
  main.main{
    display:grid !important;
    grid-template-columns:minmax(200px,240px) minmax(0,1fr) minmax(200px,240px);
    gap:16px;
    align-items:start;
    max-width:none !important;
    width:100% !important;
    margin:0 !important;
    padding:20px 12px 24px;
    box-sizing:border-box;
  }
  .k7-wing-left{grid-column:1;grid-row:1;}
  .k7-home{grid-column:2;grid-row:1;max-width:none !important;width:100% !important;margin:0 !important;}
  .k7-wing-right{grid-column:3;grid-row:1;}
  .k7-wing{
    display:flex;
    flex-direction:column;
    position:sticky;
    top:84px;
    width:100%;
    max-height:calc(100vh - 100px);
    z-index:2;
    overflow:hidden;
    pointer-events:auto;
    color:#1A2540;
    font-family:var(--k7-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif);
    background:#FFFFFF;
    border:1px solid #E8ECF1;
    border-radius:14px;
    box-shadow:0 4px 18px rgba(26,37,64,0.07);
  }
  .k7-wing-left,.k7-wing-right{
    left:auto;right:auto;
    align-items:stretch;
    padding:16px 12px 18px;
  }
  .k7-wing::before{
    content:'';
    position:absolute;inset:0;
    background:
      radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255,140,0,0.07) 0%, transparent 60%),
      radial-gradient(ellipse 70% 30% at 80% 100%, rgba(45,189,176,0.06) 0%, transparent 55%);
    opacity:1;
    pointer-events:none;
    border-radius:inherit;
  }
  .k7-wing-inner{
    position:relative;z-index:1;
    display:flex;flex-direction:column;align-items:stretch;
    justify-content:flex-start;
    gap:12px;
    width:100%;max-width:none;
    height:auto;max-height:calc(100vh - 132px);
    min-height:0;
    overflow-y:auto;overflow-x:hidden;
    box-sizing:border-box;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
  }
  .k7-wing-orbit{
    position:relative;
    width:min(104px,60%);
    aspect-ratio:1;
    margin:2px auto 8px;
    flex:0 0 auto;
    display:flex;align-items:center;justify-content:center;
  }
  .k7-wing-orbit::before{
    content:'';
    position:absolute;inset:-6%;
    border-radius:50%;
    border:1.5px solid transparent;
    border-top-color:#FF8C00;
    border-right-color:rgba(255,140,0,0.45);
    border-bottom-color:rgba(45,189,176,0.3);
    animation:k7WingOrbit 20s linear infinite;
  }
  .k7-wing-orbit::after{
    content:'';
    position:absolute;inset:4%;
    border-radius:50%;
    border:1px dashed rgba(26,37,64,0.12);
    animation:k7WingOrbit 28s linear infinite reverse;
  }
  .k7-wing-orbit a{
    position:relative;z-index:1;
    width:78%;height:78%;
    border-radius:50%;
    background:#FFFFFF;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 2px 8px rgba(26,37,64,0.08);
    overflow:hidden;
  }
  .k7-wing-watermark{
    width:88%;
    max-width:none;
    height:auto;
    opacity:1;
    filter:none;
    animation:none;
    user-select:none;
    display:block;
    object-fit:contain;
  }
  .k7-wing-label{
    font-size:11px;font-weight:800;letter-spacing:1.6px;
    text-transform:uppercase;color:#FF8C00;
    margin:0;text-align:left;flex:0 0 auto;
    padding:0 2px;
  }
  .k7-wing-chips{
    display:flex;flex-direction:column;gap:8px;width:100%;
    flex:0 0 auto;
  }
  .k7-wing-chip{
    display:flex;align-items:center;gap:8px;
    width:100%;
    padding:10px 10px;
    border-radius:16px;
    background:#FFFFFF;
    border:none;
    color:#1A2540;
    text-decoration:none;
    font-size:12px;font-weight:700;
    pointer-events:auto;
    transition:transform .2s,background .2s;
  }
  .k7-wing-chip:hover{
    transform:translateY(-1px);
    color:#FF6B00;
    background:#FFF8F2;
  }
  .k7-wing-chip span:first-of-type{flex:1;min-width:0;}
  .k7-wing-chip i{width:18px;text-align:center;color:#FF8C00;font-size:14px;}
  .k7-wing-chip img{width:18px;height:18px;object-fit:contain;flex-shrink:0;display:block;}
  .k7-wing-live{
    margin-left:auto;
    font-size:9px;font-weight:800;letter-spacing:.6px;
    text-transform:uppercase;color:#E53935;
    display:inline-flex;align-items:center;gap:4px;
  }
  .k7-wing-live::before{
    content:'';width:6px;height:6px;border-radius:50%;background:#E53935;
    animation:k7WingPulse 1.6s ease-out infinite;
  }
  .k7-wing-promo{
    position:relative;overflow:hidden;
    width:100%;
    padding:14px 12px 12px;
    border-radius:12px;
    background:linear-gradient(160deg,#FFF8F0 0%,#FFFFFF 55%,#F3FFFD 100%);
    border:1px solid rgba(255,107,0,0.22);
    box-shadow:0 4px 14px rgba(255,107,0,0.08);
    text-align:center;
    flex:0 0 auto;
  }
  .k7-wing-promo::before{
    content:'';position:absolute;inset:0;
    background:radial-gradient(circle at 80% 0%, rgba(255,140,0,0.12), transparent 45%);
    pointer-events:none;
  }
  .k7-wing-promo-flame{display:none;}
  .k7-wing-promo-pct{
    position:relative;z-index:1;
    font-size:28px;font-weight:900;line-height:1;
    background:linear-gradient(135deg,#FF6B00,#FF8C33);
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .k7-wing-promo-title{
    margin:4px 0 0;font-size:12px;font-weight:800;
    letter-spacing:1.2px;color:#1A2540;text-transform:uppercase;
  }
  .k7-wing-promo-sub{
    margin:6px 0 0;font-size:11px;font-weight:600;
    color:#5A6B85;line-height:1.35;
  }
  .k7-wing-trust{
    display:flex;flex-direction:column;gap:8px;
    width:100%;margin:0;
    flex:0 0 auto;
  }
  .k7-wing-trust-item{
    display:flex;align-items:center;gap:10px;
    padding:9px 10px;
    border-radius:10px;
    background:#FAFBFC;
    border:1px solid #E8ECF1;
    font-size:12px;font-weight:700;color:#1A2540;
  }
  .k7-wing-trust-item i{
    width:22px;height:22px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    font-size:10px;color:#FFFFFF;
    background:linear-gradient(135deg,#FF8C00,#FFB347);
    flex-shrink:0;
  }
  .k7-wing-logo-mark{
    margin:4px auto 0;padding-top:0;
    width:110px;max-width:100%;opacity:1;height:auto;
    filter:none;
    flex:0 0 auto;
    display:block;
  }
  @media (max-width:1399px){
    main.main{grid-template-columns:minmax(160px,200px) minmax(0,1fr) minmax(160px,200px);gap:12px;padding:16px 12px;}
    .k7-wing{padding:12px 10px 14px;border-radius:12px;}
    .k7-wing-orbit{width:min(88px,56%);}
    .k7-wing-chip{padding:8px 8px;font-size:11px;gap:6px;}
    .k7-wing-promo{padding:12px 10px 10px;}
    .k7-wing-promo-pct{font-size:24px;}
    .k7-wing-trust-item{font-size:11px;padding:8px;}
    .k7-wing-logo-mark{width:96px;}
  }
}
@media (min-width:1200px) and (max-width:1279px){
  main.main{grid-template-columns:minmax(148px,176px) minmax(0,1fr) minmax(148px,176px);gap:10px;}
}
@keyframes k7WingOrbit{to{transform:rotate(360deg);}}
@keyframes k7WingPulse{
  0%{box-shadow:0 0 0 0 rgba(255,59,59,0.55);}
  70%{box-shadow:0 0 0 8px rgba(255,59,59,0);}
  100%{box-shadow:0 0 0 0 rgba(255,59,59,0);}
}
@keyframes k7WingBreathe{
  0%,100%{opacity:0.28;transform:scale(1);}
  50%{opacity:0.42;transform:scale(1.03);}
}
@media (prefers-reduced-motion:reduce){
  .k7-wing-orbit::before,
  .k7-wing-orbit::after,
  .k7-wing-watermark,
  .k7-wing-live::before{animation:none !important;}
}
@media (min-width:992px){
  .k7-bottom-nav{display:none!important;}
}

/* Sticky FAB cluster — bottom right, above bottom nav */
#k7NotifCluster {
  position: fixed;
  bottom: 74px; /* above .k7-bottom-nav (~64px) */
  right: 14px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
@media (max-width:991px){
  #k7NotifCluster{
    bottom: calc(78px + env(safe-area-inset-bottom,0px));
    right: 8px;
    gap: 8px;
  }
  .k7-fab{width:40px !important;height:40px !important;font-size:15px !important;opacity:.9;}
}
.k7-fab {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; outline: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: transform .18s, box-shadow .18s;
  font-size: 18px; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.k7-fab:active { transform: scale(.92); }
.k7-fab.notif  { background: linear-gradient(135deg,#FF6B35,#FF4500); color:#fff; }
.k7-fab.news   { background: linear-gradient(135deg,#1565C0,#1E88E5); color:#fff; }
.k7-fab .k7-fab-badge {
  position:absolute; top:-4px; right:-4px;
  background:#ef4444; color:#fff; font-size:9px; font-weight:700;
  min-width:16px; height:16px; border-radius:99px;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
  border:2px solid #fff; line-height:1;
}
/* Notification panel */
.k7-notif-panel {
  position: fixed;
  bottom: 134px;
  right: 14px;
  width: min(340px, calc(100vw - 28px));
  max-height: 420px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  z-index: 991;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.k7-notif-panel.open { display: flex; }
.k7-notif-head {
  padding: 14px 16px 10px;
  font-weight: 800; font-size: 13px; color: #1A2540;
  border-bottom: 1px solid #f0f2f5;
  display: flex; justify-content: space-between; align-items: center;
}
.k7-notif-head button { background:none; border:none; cursor:pointer; color:#9AA7BD; font-size:14px; padding:2px 4px; }
.k7-notif-body { overflow-y: auto; flex: 1; }
.k7-notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f2f5;
  display: flex; gap: 10px; align-items: flex-start;
}
.k7-notif-item:last-child { border-bottom: none; }
.k7-notif-icon { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0; }
.k7-notif-icon.deposit  { background:#dcfce7; color:#16a34a; }
.k7-notif-icon.withdraw { background:#fef3c7; color:#d97706; }
.k7-notif-icon.promo    { background:#fce7f3; color:#db2777; }
.k7-notif-icon.system   { background:#eff6ff; color:#2563eb; }
.k7-notif-text { flex:1; min-width:0; }
.k7-notif-title { font-size:12px; font-weight:700; color:#1A2540; margin-bottom:2px; }
.k7-notif-desc  { font-size:11px; color:#5A6B85; line-height:1.4; }
.k7-notif-time  { font-size:10px; color:#9AA7BD; margin-top:3px; }
.k7-notif-empty { padding:28px 16px; text-align:center; color:#9AA7BD; font-size:12px; }
/* News panel */
.k7-news-panel {
  position: fixed;
  bottom: 134px;
  right: 14px;
  width: min(360px, calc(100vw - 28px));
  max-height: 440px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  z-index: 991;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.k7-news-panel.open { display: flex; }
.k7-news-head {
  padding: 14px 16px 10px;
  font-weight: 800; font-size: 13px; color: #1A2540;
  background: linear-gradient(135deg,#1565C0,#1E88E5);
  color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.k7-news-head button { background:none; border:none; cursor:pointer; color:rgba(255,255,255,.8); font-size:14px; }
.k7-news-body { overflow-y: auto; flex: 1; }
.k7-news-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f2f5;
}
.k7-news-item:last-child { border-bottom: none; }
.k7-news-tag  { display:inline-block; font-size:9px; font-weight:700; letter-spacing:.8px; padding:2px 7px; border-radius:99px; margin-bottom:5px; text-transform:uppercase; }
.k7-news-tag.live    { background:#fef2f2; color:#ef4444; }
.k7-news-tag.promo   { background:#fef3c7; color:#d97706; }
.k7-news-tag.update  { background:#eff6ff; color:#2563eb; }
.k7-news-title { font-size:13px; font-weight:700; color:#1A2540; margin-bottom:3px; }
.k7-news-body-text { font-size:11px; color:#5A6B85; line-height:1.5; }
.k7-news-time  { font-size:10px; color:#9AA7BD; margin-top:4px; }
