:root{
  --bg:#08111f;--surface:#101b2d;--surface2:#152238;--text:#f7f9fc;--muted:#91a0b6;
  --line:rgba(255,255,255,.09);--accent:#ffb400;--live:#ff453a;--shadow:0 16px 38px rgba(0,0,0,.28);
  --ticker-h:32px;--header-h:132px;
  /* UKURAN LOGO: ubah dua nilai berikut bila ingin lebih besar/kecil */
  --logo-desktop-width:320px;--logo-mobile-width:190px;
  --sticky-top:calc(var(--ticker-h) + var(--header-h));
  --mobile-sponsor-h:132px;
}
html[data-theme="light"]{--bg:#edf2f6;--surface:#fff;--surface2:#f7f9fb;--text:#101827;--muted:#66758a;--line:#dce3ea;--shadow:0 12px 30px rgba(14,28,45,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;overflow-x:hidden}a{color:inherit}.container{width:min(1760px,calc(100% - 32px));margin-inline:auto}
.ticker{position:sticky;top:0;z-index:1000;height:var(--ticker-h);display:flex;background:#030812;color:#fff;overflow:hidden}.ticker-badge{display:flex;align-items:center;gap:7px;padding:0 15px;background:var(--live);font-size:9px;font-weight:900;letter-spacing:.1em;white-space:nowrap}.ticker-badge span,.live-pill span{width:7px;height:7px;border-radius:50%;background:currentColor;animation:pulse 1.2s infinite}.ticker-viewport{flex:1;overflow:hidden;display:flex;align-items:center}.ticker-track{display:inline-block;min-width:max-content;padding-left:100%;white-space:nowrap;font-size:11px;font-weight:700;animation:ticker 30s linear infinite}
.site-header{position:sticky;top:var(--ticker-h);z-index:990;height:var(--header-h);background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;min-width:0;text-decoration:none;height:100%;overflow:visible}.brand img{display:block;width:var(--logo-desktop-width);height:auto;max-width:42vw;max-height:124px;object-fit:contain;object-position:left center}.header-actions{display:flex;align-items:center;gap:9px}.clock{display:grid;padding:7px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface2)}.clock small{font-size:7px;color:var(--muted);font-weight:800;letter-spacing:.11em}.clock strong{font-size:13px}.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--text);font-size:18px;cursor:pointer}.site-btn{height:42px;padding:0 17px;border-radius:10px;background:var(--accent);color:#171000;text-decoration:none;display:flex;align-items:center;gap:12px;font-size:11px;font-weight:950;letter-spacing:.08em}
.dashboard{display:grid;grid-template-columns:270px minmax(0,1fr) 270px;gap:22px;align-items:start;padding:0 0 50px}.desktop-rail{position:sticky;top:var(--sticky-top);height:max-content;max-height:calc(100vh - var(--sticky-top));overflow:auto;padding-top:12px;scrollbar-width:thin}.rail-inner{display:grid;gap:11px}.rail-label{font-size:8px;font-weight:900;letter-spacing:.17em;color:var(--muted)}.rail-ad{display:block;width:270px;height:100px;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--surface2);box-shadow:var(--shadow);transition:.2s}.rail-ad:hover{transform:translateY(-2px);border-color:var(--accent)}.rail-ad img,.center-ad img,.mobile-slide img{display:block;width:100%;height:100%;object-fit:cover}.main-column{min-width:0}.score-sticky{position:sticky;top:var(--sticky-top);z-index:40;background:var(--bg);padding:12px 0 10px}.score-heading{min-height:70px;padding:13px 17px;border:1px solid var(--line);border-radius:14px 14px 0 0;background:var(--surface);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:15px}.score-heading small{display:block;color:var(--accent);font-size:8px;font-weight:950;letter-spacing:.16em}.score-heading h1{margin:4px 0 0;font-size:22px}.live-pill{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid color-mix(in srgb,var(--live) 35%,var(--line));border-radius:999px;color:var(--live);font-size:9px;font-weight:850;letter-spacing:.1em}.center-ad{display:block;width:100%;height:105px;overflow:hidden;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;background:var(--surface2);box-shadow:var(--shadow)}
.score-card{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow)}.score-card-head{min-height:62px;padding:12px 16px;border-bottom:1px solid var(--line);background:var(--surface2);display:flex;align-items:center;justify-content:space-between;gap:12px}.score-card-head strong,.score-card-head small{display:block}.score-card-head strong{font-size:14px}.score-card-head small{margin-top:4px;color:var(--muted);font-size:9px}.score-card-head button{border:1px solid var(--line);border-radius:9px;padding:8px 11px;background:var(--surface);color:var(--text);cursor:pointer}.score-embed{position:relative;min-height:1800px;background:#fff}.score-embed iframe{display:block;width:100%;min-height:1800px;border:0;background:#fff}.embed-loading{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-start;justify-content:center;gap:10px;padding-top:35px;background:var(--surface);color:var(--muted)}.embed-loading span{width:18px;height:18px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}.score-embed.loaded .embed-loading{display:none}
.mobile-sponsor-sticky{display:none}footer{border-top:1px solid var(--line);background:var(--surface)}.footer-inner{height:64px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}.footer-inner strong{color:var(--text)}.back-top{position:fixed;right:16px;bottom:16px;z-index:120;width:42px;height:42px;border:0;border-radius:50%;background:var(--accent);font-weight:950;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s}.back-top.show{opacity:1;pointer-events:auto;transform:none}
@keyframes ticker{to{transform:translateX(-100%)}}@keyframes pulse{50%{opacity:.35}}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){
  :root{--mobile-sponsor-h:142px}.container{width:min(940px,calc(100% - 20px))}.dashboard{display:block;padding:0 0 35px}.desktop-rail{display:none}.mobile-sponsor-sticky{display:block;position:sticky;top:var(--sticky-top);z-index:70;height:var(--mobile-sponsor-h);padding:8px 0 5px;background:var(--bg);overflow:hidden}.mobile-slider{width:min(270px,calc(100% - 36px));margin:auto;overflow:hidden;border-radius:11px;box-shadow:var(--shadow);touch-action:pan-y}.mobile-track{display:flex;will-change:transform;transition:transform .45s ease}.mobile-track.dragging{transition:none}.mobile-slide{flex:0 0 100%;aspect-ratio:2/1;overflow:hidden;border:1px solid var(--line);background:var(--surface2);user-select:none;-webkit-user-drag:none}.mobile-slide img{pointer-events:none}.mobile-dots{display:flex;justify-content:center;gap:5px;margin-top:5px}.mobile-dots button{width:6px;height:6px;padding:0;border:0;border-radius:10px;background:color-mix(in srgb,var(--muted) 55%,transparent)}.mobile-dots button.active{width:18px;background:var(--accent)}.score-sticky{top:calc(var(--sticky-top) + var(--mobile-sponsor-h));padding:0 0 7px}.score-heading{min-height:54px;border-radius:0;padding:9px 12px}.score-heading h1{font-size:17px}.center-ad{height:70px;border-radius:0}.score-card{margin-bottom:24px}
}
@media(max-width:600px){
  :root{--ticker-h:30px;--header-h:82px;--mobile-sponsor-h:126px;--logo-mobile-width:190px}.container{width:100%}.ticker-badge{padding:0 8px;font-size:8px}.ticker-track{font-size:9px}.header-inner{padding:0 9px}.brand img{width:var(--logo-mobile-width);height:auto;max-width:52vw;max-height:74px}.clock{display:none}.icon-btn{width:35px;height:35px;border-radius:8px}.site-btn{height:36px;padding:0 10px;font-size:9px;border-radius:8px}.mobile-sponsor-sticky{padding:4px 0}.mobile-slider{width:min(240px,calc(100% - 92px));min-width:205px;border-radius:9px}.mobile-dots{margin-top:3px}.score-sticky{padding:0 0 5px}.score-heading{min-height:46px;padding:6px 10px}.score-heading small{font-size:7px}.score-heading h1{font-size:15px;margin-top:2px}.live-pill{padding:5px 7px;font-size:8px}.center-ad{height:54px}.score-card{margin:0 8px 20px;border-radius:11px}.score-card-head{min-height:55px;padding:10px 11px}.score-card-head strong{font-size:12px}.score-card-head small{font-size:8px}.score-card-head button{padding:7px 8px;font-size:11px}.score-embed,.score-embed iframe{min-height:1650px}.footer-inner{padding:0 10px}.back-top{right:11px;bottom:11px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.ticker-track,.ticker-badge span,.live-pill span,.embed-loading span{animation:none}.mobile-track{transition:none}}





/* =========================================================
   V3.5 PREMIUM BILLBOARD + TEAM SEARCH
   ========================================================= */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.team-search{
  padding:9px 12px 8px;
  background:var(--surface);
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
}

.team-search-box{
  min-height:46px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:5px 6px 5px 13px;
  border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));
  border-radius:12px;
  background:var(--surface2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.team-search-icon{
  color:var(--accent);
  font-size:22px;
  line-height:1;
  transform:rotate(-15deg);
}

.team-search input{
  min-width:0;
  width:100%;
  height:34px;
  border:0;
  outline:0;
  color:var(--text);
  background:transparent;
  font:600 13px/1.2 Inter,Segoe UI,Arial,sans-serif;
}

.team-search input::placeholder{
  color:var(--muted);
  font-weight:500;
}

.team-search button{
  height:34px;
  padding:0 16px;
  border:0;
  border-radius:9px;
  background:var(--accent);
  color:#171000;
  font-size:9px;
  font-weight:950;
  letter-spacing:.1em;
  cursor:pointer;
}

.team-search-status{
  display:none;
  margin-top:7px;
  padding:7px 10px;
  border-radius:8px;
  color:var(--muted);
  background:var(--surface2);
  font-size:9px;
  line-height:1.45;
}

.team-search-status.show{
  display:block;
}

.team-search-status.success{
  color:#59d98e;
}

.team-search-status.warning{
  color:#ffd36a;
}

/* Billboard premium desktop: rasio 970x250, tetapi tidak terlalu tinggi */
.center-ad{
  display:block;
  width:100%;
  height:auto;
  min-height:170px;
  max-height:220px;
  aspect-ratio:970/250;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));
  border-top:0;
  border-radius:0 0 15px 15px;
  background:var(--surface2);
  box-shadow:var(--shadow);
}

.center-ad img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

@media(max-width:1100px){
  .team-search{
    padding:7px 9px;
  }

  .team-search-box{
    min-height:42px;
  }

  .center-ad{
    min-height:132px;
    max-height:160px;
    aspect-ratio:auto;
  }
}

@media(max-width:600px){
  .score-sticky{
    padding-left:5px;
    padding-right:5px;
  }

  .team-search{
    padding:6px 7px;
  }

  .team-search-box{
    min-height:40px;
    gap:6px;
    padding:3px 4px 3px 10px;
    border-radius:9px;
  }

  .team-search-icon{
    font-size:18px;
  }

  .team-search input{
    height:32px;
    font-size:11px;
  }

  .team-search button{
    height:32px;
    padding:0 11px;
    border-radius:7px;
    font-size:8px;
  }

  .team-search-status{
    margin-top:5px;
    padding:6px 8px;
    font-size:8px;
  }

  /* Mobile premium: lebih tinggi dari banner biasa */
  .center-ad{
    width:min(calc(100vw - 10px),390px);
    height:170px;
    min-height:170px;
    max-height:170px;
    margin:0 auto;
    aspect-ratio:auto;
    border-radius:0 0 12px 12px;
  }

  .center-ad img{
    object-fit:cover;
  }
}


/* =========================================================
   V3.6 COMPACT SEARCH + REFRESH
   ========================================================= */
.team-search-box{
  grid-template-columns:auto minmax(0,1fr) auto;
}

.team-search-actions{
  display:flex;
  align-items:center;
  gap:6px;
}

.team-refresh-button{
  width:34px;
  min-width:34px;
  height:34px;
  padding:0;
  border:1px solid color-mix(in srgb,var(--accent) 40%,var(--line));
  border-radius:9px;
  background:var(--surface);
  color:var(--accent);
  font-size:18px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}

.team-refresh-button:hover{
  transform:rotate(20deg);
  background:var(--surface2);
}

.score-card__header{
  display:none!important;
}

.score-card{
  margin-top:0;
}

.score-embed{
  border-top:0;
}

@media(max-width:600px){
  .team-search-actions{
    gap:4px;
  }

  .team-refresh-button{
    width:32px;
    min-width:32px;
    height:32px;
    border-radius:7px;
    font-size:16px;
  }
}


/* =========================================================
   V3.7 SCOREBAT UP — REMOVE TOP CONTROL PANEL
   ========================================================= */
.score-heading,
.team-search,
.score-card-head{
  display:none!important;
}

.score-sticky{
  padding-top:0!important;
}

.center-ad{
  border-radius:15px!important;
  border-top:1px solid color-mix(in srgb,var(--accent) 45%,var(--line))!important;
}

.score-card{
  margin-top:12px!important;
}

.score-embed{
  border-top:0!important;
}

@media(max-width:600px){
  .score-card{
    margin-top:8px!important;
  }
}


/* =========================================================
   V4 ULTIMATE — FLOATING SCORE TOOLS
   ========================================================= */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.score-card{
  position:relative;
  overflow:visible;
}

.floating-score-tools{
  position:absolute;
  top:14px;
  right:14px;
  z-index:80;
  display:grid;
  grid-template-columns:auto minmax(180px,280px) auto;
  align-items:center;
  gap:7px;
  padding:7px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(8,17,31,.88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 32px rgba(0,0,0,.35);
}

.floating-live{
  height:36px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 12px;
  border:1px solid rgba(255,69,58,.45);
  border-radius:10px;
  color:#ff5b52;
  font-size:9px;
  font-weight:950;
  letter-spacing:.1em;
  white-space:nowrap;
}

.floating-live span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff453a;
  animation:pulse 1.15s infinite;
}

.floating-search{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:6px;
}

.floating-search input{
  width:100%;
  min-width:0;
  height:36px;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  outline:0;
  background:#111d30;
  color:#fff;
  font:600 11px/1 Inter,Segoe UI,Arial,sans-serif;
}

.floating-search input::placeholder{
  color:#91a0b6;
}

.floating-search-button,
.floating-refresh{
  height:36px;
  border:0;
  border-radius:9px;
  background:#ffb400;
  color:#171000;
  font-weight:950;
  cursor:pointer;
}

.floating-search-button{
  padding:0 12px;
  font-size:8px;
  letter-spacing:.08em;
}

.floating-refresh{
  width:36px;
  font-size:17px;
}

.floating-search-status{
  display:none;
  grid-column:1/-1;
  max-width:420px;
  padding:7px 9px;
  border-radius:8px;
  background:#111d30;
  color:#ffd36a;
  font-size:8px;
  line-height:1.4;
}

.floating-search-status.show{
  display:block;
}

.floating-search-status.success{
  color:#59d98e;
}

.score-embed{
  position:relative;
}

/* Beri jarak kecil agar toolbar tidak menutupi navigasi ScoreBat bagian atas */
.score-embed iframe{
  padding-top:0;
}

/* Mobile: bar mengambang di bawah layar, tidak menambah tinggi halaman */
@media(max-width:600px){
  .floating-score-tools{
    position:fixed;
    left:8px;
    right:8px;
    top:auto;
    bottom:8px;
    z-index:1200;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:5px;
    padding:6px;
    border-radius:12px;
    background:rgba(8,17,31,.94);
  }

  .floating-live{
    height:34px;
    padding:0 9px;
    font-size:8px;
  }

  .floating-search{
    grid-template-columns:minmax(0,1fr) auto;
    gap:4px;
  }

  .floating-search input{
    height:34px;
    padding:0 8px;
    font-size:10px;
  }

  .floating-search-button{
    height:34px;
    padding:0 9px;
    font-size:7px;
  }

  .floating-refresh{
    width:34px;
    height:34px;
    font-size:16px;
  }

  .floating-search-status{
    position:absolute;
    left:0;
    right:0;
    bottom:48px;
    max-width:none;
    margin:0;
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 10px 24px rgba(0,0,0,.3);
  }

  .back-top{
    bottom:64px;
  }
}

@media(min-width:601px) and (max-width:1100px){
  .floating-score-tools{
    grid-template-columns:auto minmax(160px,240px) auto;
  }
}


/* =========================================================
   KALKULASCORE V5 FINAL PREMIUM
   ========================================================= */

/* Logo clean tanpa garis oranye */
.brand img{
  width:330px!important;
  max-width:44vw!important;
  max-height:116px!important;
  object-fit:contain!important;
  object-position:left center!important;
}

/* Jam premium */
.premium-clock{
  min-width:148px;
  padding:10px 13px 9px;
  border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));
  border-radius:14px;
  background:
    linear-gradient(145deg,rgba(255,180,0,.08),transparent 42%),
    color-mix(in srgb,var(--surface2) 94%,transparent);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 28px rgba(0,0,0,.24),
    0 0 20px rgba(255,180,0,.05);
  backdrop-filter:blur(14px);
}

.premium-clock__top,
.premium-clock__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.premium-clock__top small{
  color:#7ee6a5;
  font-size:7px;
  font-weight:950;
  letter-spacing:.15em;
}

.premium-clock__live{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#39d979;
  box-shadow:0 0 0 4px rgba(57,217,121,.10),0 0 12px rgba(57,217,121,.7);
  animation:pulse 1.15s infinite;
}

.premium-clock strong{
  display:block;
  margin:5px 0 4px;
  color:var(--text);
  font-size:23px;
  line-height:1;
  font-variant-numeric:tabular-nums;
  letter-spacing:.04em;
  text-shadow:0 0 14px rgba(255,255,255,.08);
}

.premium-clock__bottom span{
  color:var(--muted);
  font-size:7px;
  text-transform:uppercase;
}

.premium-clock__bottom b{
  color:var(--accent);
  font-size:7px;
  letter-spacing:.08em;
}

/* Empat iklan tengah: 2 atas + 2 bawah */
.center-ad-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:0;
}

.center-ad-item{
  display:block;
  min-width:0;
  height:132px;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));
  border-radius:13px;
  background:var(--surface2);
  box-shadow:var(--shadow);
  transition:transform .2s ease,border-color .2s ease;
}

.center-ad-item:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--accent) 70%,var(--line));
}

.center-ad-item img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* Panel Search + LIVE + Refresh biasa, tidak floating */
.floating-score-tools{
  display:none!important;
}

.score-control-bar{
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:8px 9px;
  border:1px solid var(--line);
  border-bottom:0;
  border-radius:14px 14px 0 0;
  background:var(--surface);
}

.score-control-live{
  height:38px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 12px;
  border:1px solid rgba(255,69,58,.4);
  border-radius:10px;
  color:#ff6259;
  font-size:9px;
  font-weight:950;
  letter-spacing:.1em;
}

.score-control-live span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff453a;
  animation:pulse 1.15s infinite;
}

.score-control-search input{
  width:100%;
  height:38px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:10px;
  outline:0;
  background:var(--surface2);
  color:var(--text);
  font:600 12px/1 Inter,Segoe UI,Arial,sans-serif;
}

.score-control-search input:focus{
  border-color:color-mix(in srgb,var(--accent) 70%,var(--line));
  box-shadow:0 0 0 3px rgba(255,180,0,.08);
}

.score-control-refresh{
  width:38px;
  height:38px;
  border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));
  border-radius:10px;
  background:var(--accent);
  color:#171000;
  font-size:18px;
  font-weight:950;
  cursor:pointer;
}

.score-control-status{
  display:none;
  grid-column:1/-1;
  padding:7px 9px;
  border-radius:8px;
  background:var(--surface2);
  color:#ffd36a;
  font-size:8px;
}

.score-control-status.show{
  display:block;
}

.score-control-status.success{
  color:#59d98e;
}

.score-card{
  margin-top:12px;
}

.score-embed{
  border-radius:0 0 14px 14px;
}

/* Desktop sidebar tetap premium */
@media(min-width:1101px){
  .dashboard{
    grid-template-columns:270px minmax(0,1fr) 270px!important;
  }

  .rail-ad{
    width:270px!important;
    height:100px!important;
  }
}

/* Mobile: grid iklan tengah tetap 2×2 */
@media(max-width:600px){
  .brand img{
    width:205px!important;
    max-width:53vw!important;
    max-height:76px!important;
  }

  .premium-clock{
    display:none;
  }

  .center-ad-grid{
    gap:6px;
  }

  .center-ad-item{
    height:96px;
    border-radius:9px;
  }

  .score-control-bar{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:5px;
    padding:6px;
    border-radius:10px 10px 0 0;
  }

  .score-control-live{
    height:34px;
    padding:0 8px;
    font-size:8px;
  }

  .score-control-search input{
    height:34px;
    padding:0 9px;
    font-size:10px;
  }

  .score-control-refresh{
    width:34px;
    height:34px;
    border-radius:8px;
    font-size:16px;
  }
}


/* =========================================================
   KALKULASCORE V5.1 PREMIUM COMPACT
   ========================================================= */

/* Empat iklan tengah diperkecil secukupnya */
.center-ad-item{
  height:112px!important;
}

/* Jam digital premium versi baru */
.premium-clock{
  position:relative;
  min-width:174px;
  padding:10px 14px 9px;
  overflow:hidden;
  border:1px solid rgba(255,190,35,.48);
  border-radius:16px;
  background:
    radial-gradient(circle at 85% 18%,rgba(255,180,0,.18),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.055),transparent 42%),
    linear-gradient(135deg,#16243a,#0b1424 72%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(255,180,0,.08),
    0 12px 30px rgba(0,0,0,.34),
    0 0 24px rgba(255,180,0,.07);
}

.premium-clock::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.07) 43%,transparent 65%);
  transform:translateX(-100%);
  animation:clockSheen 5s ease-in-out infinite;
}

.premium-clock__digits{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:3px;
  margin:6px 0 5px!important;
  font-size:24px!important;
  font-weight:950;
  font-variant-numeric:tabular-nums;
  letter-spacing:.03em!important;
}

.premium-clock__digits i{
  color:var(--muted);
  font-style:normal;
  animation:clockBlink 1s steps(1,end) infinite;
}

.premium-clock__digits .clock-second{
  min-width:32px;
  padding:4px 5px;
  border:1px solid rgba(255,180,0,.26);
  border-radius:7px;
  background:rgba(255,180,0,.10);
  color:var(--accent);
  font-size:16px;
  text-align:center;
  box-shadow:inset 0 0 12px rgba(255,180,0,.04);
}

.premium-clock__bottom{
  padding-top:5px;
  border-top:1px solid rgba(255,255,255,.07);
}

@keyframes clockBlink{
  50%{opacity:.25}
}

@keyframes clockSheen{
  0%,70%{transform:translateX(-110%)}
  100%{transform:translateX(110%)}
}

/* Smartphone: sponsor dari sidebar tidak tampil di atas iklan tengah */
@media(max-width:600px){
  .mobile-sponsor-sticky{
    display:none!important;
    height:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  /* Karena slider mobile dihapus, sticky utama langsung di bawah header */
  .score-sticky{
    top:var(--sticky-top)!important;
  }

  .center-ad-item{
    height:82px!important;
  }
}

/* Tablet kecil juga lebih ringkas, tetapi slider masih boleh tampil */
@media(min-width:601px) and (max-width:1100px){
  .center-ad-item{
    height:98px!important;
  }
}


/* =========================================================
   V5.2 MOBILE FLOATING ROTATING ADS
   ========================================================= */

.mobile-floating-ad{
  display:none;
}

@media(max-width:600px){
  .mobile-floating-ad{
    position:fixed;
    left:50%;
    bottom:10px;
    z-index:1400;
    display:block;
    width:min(calc(100vw - 24px),320px);
    transform:translateX(-50%);
    padding:5px 5px 7px;
    border:1px solid color-mix(in srgb,var(--accent) 42%,var(--line));
    border-radius:13px;
    background:rgba(8,17,31,.94);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    box-shadow:0 14px 34px rgba(0,0,0,.42);
    transition:opacity .25s ease,transform .25s ease;
  }

  .mobile-floating-ad.is-hidden{
    opacity:0;
    pointer-events:none;
    transform:translate(-50%,18px);
  }

  .mobile-floating-ad__close{
    position:absolute;
    top:-10px;
    right:-8px;
    z-index:3;
    width:24px;
    height:24px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:50%;
    background:#0d1727;
    color:#fff;
    font-size:17px;
    line-height:20px;
    cursor:pointer;
    box-shadow:0 5px 14px rgba(0,0,0,.3);
  }

  .mobile-floating-ad__viewport{
    width:100%;
    height:75px;
    overflow:hidden;
    border-radius:9px;
  }

  .mobile-floating-ad__track{
    display:flex;
    height:100%;
    will-change:transform;
    transition:transform .45s ease;
  }

  .mobile-floating-ad__slide{
    flex:0 0 100%;
    min-width:100%;
    height:75px;
    overflow:hidden;
    border-radius:9px;
    background:var(--surface2);
  }

  .mobile-floating-ad__slide img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  .mobile-floating-ad__dots{
    display:flex;
    justify-content:center;
    gap:5px;
    margin-top:5px;
  }

  .mobile-floating-ad__dots button{
    width:5px;
    height:5px;
    padding:0;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.28);
  }

  .mobile-floating-ad__dots button.active{
    width:15px;
    border-radius:99px;
    background:var(--accent);
  }

  /* Hindari tumpang tindih dengan tombol back-to-top */
  .back-top{
    bottom:108px!important;
  }
}


/* =========================================================
   V5.3 MOBILE POLISHED
   ========================================================= */

/* Iklan tengah dibuat lebih pendek agar lebih memanjang */
.center-ad-item{
  height:96px!important;
}

@media(min-width:601px) and (max-width:1100px){
  .center-ad-item{
    height:88px!important;
  }
}

@media(max-width:600px){
  .center-ad-item{
    height:70px!important;
  }

  /* Jam premium tetap tampil pada mobile */
  .premium-clock{
    display:block!important;
    min-width:104px;
    padding:7px 8px 6px;
    border-radius:11px;
  }

  .premium-clock__top small{
    font-size:5px;
    letter-spacing:.1em;
  }

  .premium-clock__live{
    width:5px;
    height:5px;
  }

  .premium-clock__digits{
    margin:4px 0!important;
    gap:1px;
    font-size:15px!important;
  }

  .premium-clock__digits .clock-second{
    min-width:23px;
    padding:2px 3px;
    border-radius:5px;
    font-size:11px;
  }

  .premium-clock__bottom{
    padding-top:3px;
  }

  .premium-clock__bottom span,
  .premium-clock__bottom b{
    font-size:5px;
  }

  /* Beri ruang header agar jam dan tombol tetap muat */
  .header__actions{
    gap:5px!important;
  }

  .site-button{
    padding:0 8px!important;
    font-size:8px!important;
  }
}


/* =========================================================
   KALKULASCORE V5.4 REFINED
   ========================================================= */

/* Empat iklan tengah: masing-masing 402 x 50 */
.center-ad-grid{
  grid-template-columns:repeat(2,minmax(0,402px))!important;
  justify-content:center!important;
  gap:8px!important;
}

.center-ad-item{
  width:100%!important;
  max-width:402px!important;
  height:50px!important;
  min-height:50px!important;
  border-radius:8px!important;
}

.center-ad-item img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

/* Jam premium tanpa frame/kotak */
.premium-clock{
  min-width:150px!important;
  padding:4px 8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible!important;
}

.premium-clock::before{
  display:none!important;
}

.premium-clock__bottom{
  border-top:0!important;
  padding-top:2px!important;
}

/* Logo clean: tidak ada garis oranye luar */
.brand img{
  object-fit:contain!important;
  filter:none!important;
}

/* Mobile: logo dan tombol di baris pertama, jam di baris kedua */
@media(max-width:600px){
  :root{
    --header-h:112px!important;
  }

  .header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:64px 42px!important;
    align-items:center!important;
    gap:0 8px!important;
    padding:0 10px!important;
  }

  .brand{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
  }

  .brand img{
    width:190px!important;
    max-width:56vw!important;
    max-height:62px!important;
  }

  .header-actions{
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
  }

  .premium-clock{
    grid-column:1 / -1!important;
    grid-row:2!important;
    justify-self:center!important;
    align-self:start!important;
    min-width:170px!important;
    padding:0 4px 4px!important;
    text-align:center!important;
  }

  .premium-clock__top{
    justify-content:center!important;
  }

  .premium-clock__digits{
    justify-content:center!important;
    margin:2px 0!important;
    font-size:17px!important;
  }

  .premium-clock__bottom{
    justify-content:center!important;
    gap:8px!important;
  }

  .center-ad-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }

  .center-ad-item{
    width:100%!important;
    max-width:none!important;
    height:50px!important;
    min-height:50px!important;
    border-radius:7px!important;
  }
}


/* =========================================================
   KALKULASCORE V5.5 PRODUCTION STABLE
   ========================================================= */

.header-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}

.header-right .premium-clock,
.header-right .header-actions{
  flex:0 0 auto;
}

.premium-clock{
  min-width:150px!important;
  padding:2px 4px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

.premium-clock::before{
  display:none!important;
}

.premium-clock__bottom{
  border:0!important;
  padding-top:1px!important;
}

.center-ad-grid{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  justify-content:stretch!important;
  align-items:stretch!important;
  gap:8px!important;
}

.center-ad-item{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:65px!important;
  min-height:65px!important;
  border-radius:9px!important;
}

.center-ad-item img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}

.brand img{
  filter:none!important;
  transform:none!important;
  object-fit:contain!important;
}

@media(min-width:601px) and (max-width:1100px){
  .center-ad-item{
    height:60px!important;
    min-height:60px!important;
  }
}

@media(max-width:600px){
  :root{
    --header-h:108px!important;
  }

  .header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:64px 38px!important;
    align-items:center!important;
    column-gap:8px!important;
    padding:0 9px!important;
  }

  .brand{
    grid-column:1!important;
    grid-row:1!important;
  }

  .brand img{
    width:185px!important;
    max-width:55vw!important;
    max-height:62px!important;
  }

  .header-right{
    display:contents!important;
  }

  .header-actions{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
  }

  .premium-clock{
    grid-column:1 / -1!important;
    grid-row:2!important;
    justify-self:end!important;
    min-width:145px!important;
    padding:0 3px 3px!important;
    text-align:right!important;
  }

  .premium-clock__top,
  .premium-clock__bottom,
  .premium-clock__digits{
    justify-content:flex-end!important;
  }

  .premium-clock__digits{
    margin:1px 0!important;
    font-size:16px!important;
  }

  .premium-clock__digits .clock-second{
    min-width:23px!important;
    padding:2px 3px!important;
    font-size:11px!important;
  }

  .center-ad-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }

  .center-ad-item{
    width:100%!important;
    height:58px!important;
    min-height:58px!important;
    border-radius:7px!important;
  }
}


/* =========================================================
   V6.1 CORRECTED + VERIFIED
   ========================================================= */

/* Logo PNG asli transparan, dibuat lebih besar dan tetap utuh */
.site-header{
  height:126px!important;
}

.header-inner{
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  padding:0 18px!important;
}

.brand{
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  overflow:visible!important;
}

.brand img{
  width:430px!important;
  max-width:49vw!important;
  max-height:116px!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.28))!important;
  transform:none!important;
}

/* Jam desktop tetap kanan dekat toggle */
.header-right{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:13px!important;
}

/* Iklan tengah menyatu rapat dengan ScoreBat */
.score-sticky{
  padding-bottom:0!important;
  margin-bottom:0!important;
  background:var(--bg)!important;
}

.center-ad-grid{
  width:100%!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
}

.center-ad-item{
  width:100%!important;
  max-width:none!important;
  height:68px!important;
  min-height:68px!important;
}

.score-card{
  margin-top:0!important;
  border-top-left-radius:0!important;
  border-top-right-radius:0!important;
}

.score-control-bar{
  margin-top:0!important;
  border-top:0!important;
  border-radius:0!important;
}

.score-embed{
  min-height:1650px!important;
  background:#fff!important;
}

.score-embed iframe{
  display:block!important;
  width:100%!important;
  min-height:1650px!important;
  border:0!important;
  background:#fff!important;
}

.scorebat-fallback{
  padding:12px;
  background:#fff4d6;
  color:#624600;
  font-size:12px;
  text-align:center;
}

.scorebat-fallback a{
  color:#8c5a00;
  font-weight:800;
}

/* Mobile: logo baris pertama, jam kanan di bawah tombol */
@media(max-width:600px){
  :root{
    --header-h:118px!important;
  }

  .site-header{
    height:118px!important;
  }

  .header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:68px 44px!important;
    column-gap:8px!important;
    padding:0 9px!important;
  }

  .brand{
    grid-column:1!important;
    grid-row:1!important;
  }

  .brand img{
    width:220px!important;
    max-width:61vw!important;
    max-height:66px!important;
  }

  .header-right{
    display:contents!important;
  }

  .header-actions{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
  }

  .premium-clock{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:end!important;
    min-width:142px!important;
    text-align:right!important;
  }

  .premium-clock__top,
  .premium-clock__digits,
  .premium-clock__bottom{
    justify-content:flex-end!important;
  }

  .center-ad-item{
    height:58px!important;
    min-height:58px!important;
  }
}


/* =========================================================
   KALKULASCORE V6.2 STADIUM + MOBILE CLOCK + NO GAP
   ========================================================= */

/* Background stadion premium */
body{
  background:
    linear-gradient(rgba(2,7,14,.78),rgba(2,7,14,.92)),
    url("../img/stadium-bg.webp") center top / cover fixed no-repeat!important;
}

.site-header{
  background:
    linear-gradient(rgba(7,16,29,.36),rgba(7,16,29,.70)),
    url("../img/stadium-bg.webp") center 22% / cover no-repeat!important;
}

.dashboard,
.main-column{
  background:transparent!important;
}

/* Tutup celah antara iklan sticky dan ScoreBat */
.score-sticky{
  padding-bottom:0!important;
  margin-bottom:0!important;
  background:
    linear-gradient(rgba(5,11,20,.96),rgba(5,11,20,.96)),
    url("../img/stadium-bg.webp") center top / cover no-repeat!important;
}

.center-ad-section,
.center-ad-grid{
  margin-bottom:0!important;
}

.center-ad-section{
  border-radius:14px 14px 0 0!important;
  border-bottom:0!important;
}

.score-section-label{
  display:none!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}

.score-card{
  margin-top:0!important;
  border-top:0!important;
  border-radius:0 0 14px 14px!important;
}

.score-control-bar{
  border-radius:0!important;
}

.score-embed,
.score-embed iframe{
  background:transparent!important;
}

.score-embed{
  overflow:hidden!important;
}

/* Hilangkan lapisan putih dari container lokal */
.embed-loading{
  background:rgba(7,16,29,.96)!important;
}

/* Jam mobile: kanan, tepat di bawah theme toggle + SITUS */
@media(max-width:600px){
  :root{
    --header-h:118px!important;
  }

  .site-header{
    height:118px!important;
  }

  .header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:66px 46px!important;
    align-items:center!important;
    gap:0 8px!important;
    padding:0 9px!important;
  }

  .brand{
    grid-column:1!important;
    grid-row:1 / 3!important;
    align-self:center!important;
  }

  .brand img{
    width:215px!important;
    max-width:58vw!important;
    max-height:82px!important;
  }

  .header-right{
    display:grid!important;
    grid-column:2!important;
    grid-row:1 / 3!important;
    grid-template-rows:60px 44px!important;
    align-items:center!important;
    justify-items:end!important;
    gap:0!important;
  }

  .header-actions{
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
  }

  .premium-clock{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    grid-row:2!important;
    justify-self:end!important;
    align-self:start!important;
    min-width:138px!important;
    width:auto!important;
    padding:0!important;
    text-align:right!important;
  }

  .premium-clock__top,
  .premium-clock__digits,
  .premium-clock__bottom{
    display:flex!important;
    justify-content:flex-end!important;
  }

  .premium-clock__top{
    gap:5px!important;
  }

  .premium-clock__digits{
    margin:1px 0!important;
    font-size:16px!important;
  }

  .premium-clock__digits .clock-second{
    min-width:23px!important;
    padding:2px 3px!important;
    font-size:11px!important;
  }

  .premium-clock__bottom span,
  .premium-clock__bottom b{
    font-size:5px!important;
  }

  .score-sticky{
    top:calc(var(--ticker-h) + var(--header-h))!important;
  }

  .center-ad-section{
    border-radius:10px 10px 0 0!important;
  }

  .score-card{
    border-radius:0 0 11px 11px!important;
  }
}

/* =========================================================
   V6.3 MOBILE CENTER ADS - FULL IMAGE, NO CROP
   Menjaga rasio asli banner tengah di smartphone.
   ========================================================= */
@media(max-width:600px){
  .center-ad-grid{
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    align-items:start!important;
    overflow:visible!important;
  }

  .center-ad-item{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    line-height:0!important;
  }

  .center-ad-item img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

/* =========================================================
   V6.4 CENTER ADS RESPONSIVE SAFE - NO CROP ON ANY PHONE
   ========================================================= */
@media (max-width:1100px){
  .center-ad-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:auto!important;
    width:100%!important;
    max-width:100%!important;
    gap:6px!important;
    padding:0!important;
    margin:0!important;
    align-items:start!important;
    overflow:visible!important;
  }

  .center-ad-item{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    line-height:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  .center-ad-item img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
}

@media (max-width:600px){
  .center-ad-grid{
    gap:4px!important;
    padding-left:4px!important;
    padding-right:4px!important;
    box-sizing:border-box!important;
  }

  .center-ad-item{
    border-radius:6px!important;
  }
}

@media (max-width:340px){
  .center-ad-grid{
    gap:3px!important;
    padding-left:3px!important;
    padding-right:3px!important;
  }
}

/* =========================================================
   V6.5 FINAL MOBILE CENTER ADS - SAME AS DESKTOP, SCALE ONLY
   Mobile uses the exact same ad files as desktop. No crop.
   ========================================================= */
@media (max-width: 768px){
  .score-sticky{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }

  .center-ad-grid{
    display:grid!important;
    grid-template-columns:repeat(2, minmax(0, 1fr))!important;
    grid-auto-rows:auto!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    gap:4px!important;
    padding:0 4px!important;
    margin:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  .center-ad-item{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    line-height:0!important;
    box-sizing:border-box!important;
  }

  .center-ad-item img{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:fill!important;
    object-position:center!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    clip-path:none!important;
  }
}

@media (max-width: 360px){
  .center-ad-grid{
    gap:3px!important;
    padding-left:3px!important;
    padding-right:3px!important;
  }
}

/* =========================================================
   V6.6 SIDEBAR ADS — MOBILE SAME AS DESKTOP, NO CROP
   File iklan kiri/kanan yang sama dipakai di desktop & mobile.
   Di mobile hanya di-scale proporsional mengikuti rasio desktop 270x100.
   ========================================================= */
@media(max-width:600px){
  .mobile-floating-ad{
    width:min(calc(100vw - 24px),320px)!important;
  }

  .mobile-floating-ad__viewport{
    width:100%!important;
    height:auto!important;
    aspect-ratio:27 / 10!important;
    overflow:hidden!important;
  }

  .mobile-floating-ad__track{
    width:100%!important;
    height:100%!important;
  }

  .mobile-floating-ad__slide{
    flex:0 0 100%!important;
    min-width:100%!important;
    width:100%!important;
    height:100%!important;
    overflow:hidden!important;
  }

  .mobile-floating-ad__slide img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .back-top{
    bottom:145px!important;
  }
}


/* =========================================================
   V6.7 MOBILE FLOATING SIDEBAR FIX
   - Floating sidebar aktif hingga 768px (ponsel besar / landscape)
   - File iklan sama dengan desktop
   - Tidak crop, rasio desktop 270x100 dipertahankan
   ========================================================= */
@media (max-width:768px){
  .mobile-floating-ad{
    display:block!important;
    position:fixed!important;
    left:50%!important;
    bottom:max(10px, env(safe-area-inset-bottom))!important;
    z-index:2147483000!important;
    width:min(calc(100vw - 24px),320px)!important;
    transform:translateX(-50%)!important;
    padding:5px 5px 7px!important;
    visibility:visible!important;
    opacity:1!important;
  }

  .mobile-floating-ad.is-hidden{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translate(-50%,18px)!important;
  }

  .mobile-floating-ad__viewport{
    display:block!important;
    width:100%!important;
    aspect-ratio:27 / 10!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  .mobile-floating-ad__track{
    display:flex!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
  }

  .mobile-floating-ad__slide{
    display:block!important;
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    height:100%!important;
    overflow:hidden!important;
  }

  .mobile-floating-ad__slide img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .mobile-floating-ad__dots{
    display:flex!important;
  }
}

/* V6.8 MOBILE CENTER ADS - LARGER & NO CROP */
@media (max-width:480px){
  .center-ad-grid{grid-template-columns:1fr!important;gap:4px!important;padding:0 4px!important}
  .center-ad-item{width:100%!important;height:auto!important;overflow:visible!important}
  .center-ad-item img{width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important}
}


/* V6.9 FLOATING ADS: 8s autoplay + native horizontal swipe */
@media (max-width:768px){
  .mobile-floating-ad__viewport,
  .mobile-floating-ad__track{
    touch-action:pan-y!important;
    -webkit-user-select:none;
    user-select:none;
  }
  .mobile-floating-ad__slide,
  .mobile-floating-ad__slide img{
    -webkit-user-drag:none;
    user-select:none;
  }
}

/* Render work outside the viewport more efficiently where supported */
@supports (content-visibility:auto){
  footer{content-visibility:auto;contain-intrinsic-size:80px}
}


/* =========================================================
   V6.10 RESPONSIVE + LIGHT MOBILE
   ========================================================= */
@media (max-width:768px){
  /* Hindari dua slider sponsor sekaligus pada HP/tablet kecil */
  .mobile-sponsor-sticky{
    display:none!important;
    height:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
  }

  .score-sticky{
    top:var(--sticky-top)!important;
  }

  .mobile-floating-ad{
    width:min(calc(100vw - 16px),340px)!important;
    padding:4px 4px 6px!important;
  }

  .mobile-floating-ad__viewport{
    width:100%!important;
    max-width:100%!important;
  }

  .mobile-floating-ad__track{
    touch-action:pan-y!important;
    will-change:transform;
  }

  .score-embed,
  .score-embed iframe,
  iframe._scorebatEmbeddedPlayer_{
    width:100%!important;
    max-width:100%!important;
  }

  img{
    max-width:100%;
  }
}

@media (max-width:480px){
  .mobile-floating-ad{
    width:calc(100vw - 12px)!important;
    max-width:336px!important;
  }

  .center-ad-grid{
    width:100%!important;
    padding-left:3px!important;
    padding-right:3px!important;
  }
}

/* Kurangi pekerjaan render elemen yang belum terlihat */
@supports (content-visibility:auto){
  .desktop-rail,
  footer{
    content-visibility:auto;
  }
}
