/* AISports Frontend CSS v2.6.9 */
/* Scoped to .as-page (the plugin's own content wrapper) instead of a bare
   universal selector. A site-wide `*{margin:0;padding:0}` reset was being
   enqueued on every aisports-routed page — including theme-header-footer
   mode, where the theme's own header/footer markup sits OUTSIDE .as-page.
   That reset has 0 specificity but still wins the cascade on anything the
   theme didn't explicitly restyle (e.g. relying on UA-default ul/li/heading
   spacing), stripping it and making the theme header render unstyled. Main
   site pages never load this file, which is why only aisports pages showed
   the issue. */
.as-page,.as-page *,.as-page *::before,.as-page *::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --as-danger:#EF4444;
  --as-warn:#F59E0B;
  --as-muted:#94A3B8;
  --as-dim:#1A1A28;
  --as-radius:10px;
  --as-radius-sm:7px;
  --as-header-h:62px;
}

html{scroll-behavior:smooth}
body.aisports-full-body{
  background:var(--as-bg) !important;
  color:var(--as-text) !important;
  font-family:var(--as-font) !important;
  font-size:17px;line-height:1.6;min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
.as-page{min-height:100vh;display:flex;flex-direction:column;background:var(--as-bg) !important}
.as-container{width:100%;max-width:860px;margin:0 auto;padding:0 20px}

nav.as-news-breadcrumb a {
    color: var(--link-color, red);
}

/* ═══════════════════════════════════════════════════
   DESKTOP SIDEBARS — left/right widget areas around main content.
   Main content keeps its own internal max-width/centering untouched;
   this row only adds optional columns beside it with a 10px gap.
═══════════════════════════════════════════════════ */
.as-content-row{display:flex !important;flex-wrap:nowrap;align-items:flex-start;justify-content:center;gap:10px;width:100%;padding:0;box-sizing:border-box}
@media(min-width:1025px){
  .as-content-row{padding:0 5%}
}
@media(min-width:735px){
  .as-content-row{padding:0 5%}
}
.as-content-main{flex:1 1 auto;min-width:0;width:auto}
.as-desktop-sidebar{display:none !important;flex:0 0 350px;flex-shrink:0;max-width:350px;width:100%}
@media(min-width:1025px){
  .as-desktop-sidebar{
    display:block !important;
    position:sticky;
    top:calc(var(--as-header-h) + 12px);
    max-height:calc(100vh - var(--as-header-h) - 24px);
    overflow-y:auto;
    scrollbar-width:thin;
  }
}
/* When a sidebar is present, the row's own gap already provides spacing,
   so drop the matching side padding inside the main column to avoid a
   doubled-up gap. */
.as-content-row:has(.as-desktop-sidebar-left)  .as-content-main > .as-container,
.as-content-row:has(.as-desktop-sidebar-left)  .as-content-main .as-page > .as-container{padding-left:0}
.as-content-row:has(.as-desktop-sidebar-right) .as-content-main > .as-container,
.as-content-row:has(.as-desktop-sidebar-right) .as-content-main .as-page > .as-container{padding-right:0}
.as-sidebar-widget{padding:1px;margin-bottom:14px;color:var(--as-text) !important}
.as-sidebar-widget-title{font-size:16px;font-weight:700;margin:0 0 10px;color:var(--as-text) !important}
.as-sidebar-empty{font-size:15px;opacity:.6}

/* ═══════════════════════════════════════════════════
   HEADER — LiveScore style: hamburger | logo | nav | badge+avatar
═══════════════════════════════════════════════════ */
.as-header{
  position:sticky;top:0;z-index:200;height:var(--as-header-h);
  background:var(--as-header-bg,rgba(10,10,15,.97)) !important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.055);
}
.as-header-inner{
  max-width:1140px;margin:0 auto;padding:0 18px;
  height:100%;display:flex;align-items:center;gap:12px;
}
/* Hamburger — mobile only */
.as-hamburger{
  width:36px;height:36px;background:none;border:none;cursor:pointer;flex-shrink:0;
  display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:4px;
}
.as-hamburger span{
  display:block;width:22px;height:2px;background:var(--as-muted) !important;
  border-radius:2px;transition:all .22s ease;
}
.as-hamburger:hover span{background:var(--as-text) !important}
.as-hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.as-hamburger.open span:nth-child(2){opacity:0}
.as-hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Logo */
.as-logo{display:flex;align-items:center;gap:9px;text-decoration:none !important;flex-shrink:0;margin-right:4px}
.as-logo-img{height:34px;width:auto;object-fit:contain;display:block}
.as-logo-icon{
  width:34px;height:34px;background:var(--as-primary) !important;
  border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;
}
.as-logo-text{font-size:18px;font-weight:900;color:var(--as-text) !important;letter-spacing:-.03em}

/* Desktop nav — visible on desktop, hidden on mobile */
.as-header-nav{display:flex;align-items:center;gap:2px;margin-left:10px}
.as-hnav-link{
  padding:7px 13px;font-size:15px;font-weight:600;
  color:var(--as-muted) !important;text-decoration:none !important;
  border-radius:var(--as-radius-sm);transition:all .15s;white-space:nowrap;
}
.as-hnav-link:hover,.as-hnav-link.active{
  background:rgba(var(--as-primary-rgb,37,99,235),.12) !important;color:var(--as-primary) !important;
}

/* Right side */
.as-header-right{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}

/* Ghost "Log In" link */
.as-header-btn{
  display:inline-flex;align-items:center;font-size:15px;font-weight:600;
  padding:7px 14px;border-radius:var(--as-radius-sm);text-decoration:none !important;
  transition:opacity .15s;white-space:nowrap;
}
.as-header-btn-ghost{color:var(--as-muted) !important;background:transparent}
.as-header-btn-ghost:hover{color:var(--as-text) !important}

/* Upgrade / plan badge pill — LiveScore LSBet style */
.as-header-badge{
  display:inline-flex;align-items:center;justify-content:center;
  padding:6px 14px;border-radius:22px;font-size:14px;font-weight:700;
  text-decoration:none !important;white-space:nowrap;transition:opacity .15s;
}
.as-header-badge-upgrade{
  background:var(--as-primary) !important;color:#fff !important;
}
.as-header-badge-upgrade:hover{opacity:.85}
.as-header-badge-plan{
  background:rgba(245,158,11,.15) !important;color:var(--as-accent) !important;
  border:1px solid rgba(245,158,11,.3);
}
.as-header-badge-plan:hover{opacity:.85}

/* Profile icon link */
.as-header-profile{
  width:34px;height:34px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;background:var(--as-primary) !important;
  text-decoration:none !important;flex-shrink:0;
}
.as-header-avatar-letter{
  font-size:16px;font-weight:800;color:#fff;line-height:1;
}

/* ═══════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════ */
.as-sidebar-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:299;
  opacity:0;pointer-events:none;transition:opacity .25s ease;
}
.as-sidebar-overlay.open{opacity:1;pointer-events:all}
.as-sidebar{
  position:fixed;top:0;left:0;height:100vh;width:272px;
  background:var(--as-card) !important;z-index:300;
  transform:translateX(-100%);transition:transform .28s cubic-bezier(.4,0,.2,1);
  display:flex;flex-direction:column;overflow-y:auto;
}
.as-sidebar.open{transform:translateX(0)}
.as-sidebar-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.05);flex-shrink:0;
}
.as-sidebar-title{font-size:16px;font-weight:800;letter-spacing:.02em;color:var(--as-text) !important}
.as-sidebar-close{background:none;border:none;color:var(--as-muted) !important;cursor:pointer;padding:4px;line-height:0}
.as-sidebar-close:hover{color:var(--as-text) !important}
.as-sidebar-nav{padding:10px 0;flex:1}
.as-sidebar-link{
  display:flex;align-items:center;gap:12px;padding:13px 20px;
  font-size:16px;font-weight:500;color:var(--as-muted) !important;
  text-decoration:none !important;transition:all .15s;
}
.as-sidebar-link:hover,.as-sidebar-link.active{
  color:var(--as-text) !important;background:rgba(255,255,255,.04) !important;
}
.as-sidebar-link.active{color:var(--as-primary) !important}
.as-sidebar-link svg{flex-shrink:0}
.as-sidebar-link-accent{color:var(--as-primary) !important}
.as-sidebar-logout{color:var(--as-danger) !important}
.as-sidebar-divider{height:1px;background:rgba(255,255,255,.05);margin:8px 20px}

/* ═══════════════════════════════════════════════════
   SPORT TABS BAR (homepage, mobile-only secondary nav)
   Hidden on desktop — header nav covers it there
═══════════════════════════════════════════════════ */
.as-sport-tabs-bar{
  display:none;
  align-items:center;gap:0;
  background:var(--as-card) !important;
  border-bottom:1px solid rgba(255,255,255,.06);
  overflow-x:auto;scrollbar-width:none;
  padding:0 16px;
}
.as-sport-tabs-bar::-webkit-scrollbar{display:none}
.as-stab{
  display:inline-flex;align-items:center;gap:6px;
  padding:14px 18px;font-size:15px;font-weight:700;
  color:var(--as-muted) !important;text-decoration:none !important;
  border-bottom:2px solid transparent;transition:all .15s;white-space:nowrap;
}
.as-stab:hover{color:var(--as-text) !important}
.as-stab-active{color:var(--as-text) !important;border-bottom-color:var(--as-primary) !important}

/* ═══════════════════════════════════════════════════
   HOME — Quick ribbon
═══════════════════════════════════════════════════ */
.as-home-ribbon{
  background:var(--as-card) !important;
  border-bottom:1px solid rgba(255,255,255,.05);
  padding:0 16px;
}
.as-home-ribbon-inner{
  display:flex;gap:0;max-width:860px;margin:0 auto;
  overflow-x:auto;scrollbar-width:none;
}
.as-home-ribbon-inner::-webkit-scrollbar{display:none}
.as-ribbon-item{
  display:flex;flex-direction:column;align-items:center;gap:7px;
  padding:14px 18px;text-decoration:none !important;
  color:var(--as-muted) !important;font-size:13px;font-weight:700;
  letter-spacing:.02em;white-space:nowrap;transition:color .15s;min-width:64px;
}
.as-ribbon-item:hover{color:var(--as-text) !important}
.as-ribbon-icon{
  width:40px;height:40px;border-radius:50%;display:flex;
  align-items:center;justify-content:center;
}
.as-ribbon-icon-football{background:rgba(37,99,235,.15) !important;color:var(--as-primary) !important}
.as-ribbon-icon-basketball{background:rgba(245,158,11,.12) !important;color:var(--as-accent) !important}
.as-ribbon-icon-tennis{background:rgba(34,197,94,.12) !important;color:#22c55e !important}
.as-ribbon-icon-predictions{background:rgba(139,92,246,.12) !important;color:#a78bfa !important}
.as-ribbon-icon-plans{background:rgba(248,113,113,.1) !important;color:#f87171 !important}

/* ═══════════════════════════════════════════════════
   HOME — Section blocks
═══════════════════════════════════════════════════ */
.as-home-body{flex:1}
.as-home-section{
  max-width:860px;margin:0 auto;padding:20px 16px 8px;
}
.as-home-section-hd{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:10px;margin-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.as-home-section-title{font-size:15px;font-weight:800;letter-spacing:.01em;color:var(--as-text) !important;text-transform:uppercase}
.as-home-section-more{
  font-size:14px;font-weight:700;color:var(--as-primary) !important;
  text-decoration:none !important;
}

/* Prediction list rows (home) */
.as-home-pred-list{display:flex;flex-direction:column;gap:2px}
.as-home-pred-row{
  display:flex;align-items:center;gap:10px;padding:12px 14px;
  background:var(--as-card) !important;border-radius:var(--as-radius-sm);
  text-decoration:none !important;transition:background .13s;
}
.as-home-pred-row:hover{background:var(--as-dim) !important}
.as-home-pred-teams{flex:1;display:flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--as-text) !important;flex-wrap:wrap}
.as-home-pred-vs{color:var(--as-muted) !important;font-size:12px;font-weight:700;text-transform:uppercase}
.as-home-pred-pick{
  font-size:14px;font-weight:700;color:var(--as-primary) !important;
  white-space:nowrap;
}
.as-home-pred-conf{
  font-size:13px;font-weight:800;white-space:nowrap;padding:3px 8px;
  border-radius:20px;
}
.as-home-pred-conf.as-pred-conf-high{background:rgba(34,197,94,.1) !important;color:#22c55e !important}
.as-home-pred-conf.as-pred-conf-medium{background:rgba(245,158,11,.1) !important;color:#f59e0b !important}
.as-home-pred-conf.as-pred-conf-low{background:rgba(239,68,68,.08) !important;color:#ef4444 !important}
.as-home-pred-empty{padding:16px 0}
.as-home-analyse-cta{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--as-primary) !important;color:#fff !important;
  font-size:15px;font-weight:700;padding:11px 20px;border-radius:var(--as-radius-sm);
  text-decoration:none !important;
}

/* Sport cards list */
.as-home-sport-cards{display:flex;flex-direction:column;gap:2px}
.as-home-sport-card{
  display:flex;align-items:center;gap:14px;padding:14px 16px;
  background:var(--as-card) !important;border-radius:var(--as-radius-sm);
  text-decoration:none !important;transition:background .13s;
}
.as-home-sport-card:hover{background:none !important}
.as-hsc-icon{
  width:42px;height:42px;border-radius:50%;display:flex;
  align-items:center;justify-content:center;flex-shrink:0;
}
.as-hsc-icon-football{background:rgba(37,99,235,.15) !important;color:var(--as-primary) !important}
.as-hsc-icon-basketball{background:rgba(245,158,11,.12) !important;color:var(--as-accent) !important}
.as-hsc-icon-tennis{background:rgba(34,197,94,.12) !important;color:#22c55e !important}
.as-hsc-body{flex:1;display:flex;flex-direction:column;gap:2px}
.as-hsc-body strong{font-size:16px;font-weight:700;color:var(--as-text) !important}
.as-hsc-body span{font-size:14px;color:var(--as-muted) !important}
.as-hsc-arrow{color:var(--as-muted) !important;flex-shrink:0}

/* Feature list */
.as-home-features-list{display:flex;flex-direction:column;gap:2px}
.as-home-feat{
  display:flex;align-items:flex-start;gap:14px;padding:14px 16px;
  background:var(--as-card) !important;border-radius:var(--as-radius-sm);
}
.as-home-feat-icon{
  width:34px;height:34px;border-radius:8px;flex-shrink:0;
  background:rgba(37,99,235,.12) !important;color:var(--as-primary) !important;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}
.as-home-feat strong{display:block;font-size:15px;font-weight:700;color:var(--as-text) !important;margin-bottom:3px}
.as-home-feat p{font-size:14px;color:var(--as-muted) !important;line-height:1.55}

/* CTA bar */
.as-home-cta-bar{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:var(--as-primary) !important;
  padding:18px 20px;margin:16px;border-radius:var(--as-radius);flex-wrap:wrap;
}
.as-home-cta-text{display:flex;flex-direction:column;gap:2px}
.as-home-cta-text strong{font-size:16px;font-weight:800;color:#fff}
.as-home-cta-text span{font-size:14px;color:rgba(255,255,255,.75)}
.as-home-cta-btn{
  display:inline-flex;align-items:center;
  background:#fff !important;color:var(--as-primary) !important;
  font-size:15px;font-weight:800;padding:10px 20px;border-radius:var(--as-radius-sm);
  text-decoration:none !important;white-space:nowrap;
}

/* ═══════════════════════════════════════════════════
   LIVESCORE-STYLE FIXTURES
═══════════════════════════════════════════════════ */
.as-ls-wrap{width:100%;max-width:860px;margin:0 auto}

/* Date tab bar */
.as-ls-date-bar{
  display:flex;align-items:center;gap:4px;
  padding:10px 12px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.as-ls-date-tab{
  background:none;border:none;outline:none;cursor:pointer;
  font-family:var(--as-font) !important;font-size:15px;font-weight:700;
  color:var(--as-muted) !important;padding:8px 14px;border-radius:var(--as-radius-sm) var(--as-radius-sm) 0 0;
  transition:color .15s,background .15s;position:relative;
}
.as-ls-date-tab.active{
  color:var(--as-text) !important;background:var(--as-card) !important;
}
.as-ls-date-tab.active::after{
  content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;
  background:var(--as-primary) !important;
}
.as-ls-date-cal{
  margin-left:auto;position:relative;
  background:none;border:none;outline:none;cursor:pointer;
  color:var(--as-muted) !important;padding:6px 10px;
  display:flex;align-items:center;transition:color .15s;
}
.as-ls-date-cal:hover{color:var(--as-text) !important}
.as-ls-date-cal input[type=date]{
  position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;border:none;
}

/* Fixtures body */
.as-ls-fixtures-body{padding:0 0 8px}

/* Filter bar (hidden by default, shown when data loads) */
.as-ls-filter-bar{
  display:flex;align-items:center;gap:8px;padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.05);flex-wrap:wrap;
}
.as-ls-filter-sel{
  background:var(--as-card) !important;color:var(--as-text) !important;
  font-family:var(--as-font) !important;font-size:14px;font-weight:600;
  padding:6px 10px;border:none;border-radius:var(--as-radius-sm);
  outline:none;-webkit-appearance:none;cursor:pointer;flex:1;min-width:100px;
}

/* League group wrapper */
.as-ls-league-group{margin-bottom:2px}

/* League group header – mimics LiveScore's "WC 26 / World Cup 2026" row */
.as-ls-league-head{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.04);
  cursor:pointer;user-select:none;
  transition:background .13s;
}
.as-ls-league-head:hover{background:rgba(255,255,255,.03) !important}
.as-ls-league-flag{
  width:28px;height:28px;border-radius:50%;
  background:rgba(255,255,255,.06) !important;
  display:flex;align-items:center;justify-content:center;
  font-size:16px;flex-shrink:0;
  overflow:hidden;
}
.as-ls-league-flag img{width:100%;height:100%;object-fit:cover}
.as-ls-league-info{flex:1;min-width:0}
.as-ls-league-country{font-size:12px;font-weight:700;color:var(--as-muted) !important;text-transform:uppercase;letter-spacing:.05em}
.as-ls-league-name{font-size:15px;font-weight:700;color:var(--as-text) !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.as-ls-league-chevron{flex-shrink:0;color:var(--as-muted) !important;transition:transform .2s}
.as-ls-league-head.open .as-ls-league-chevron{transform:rotate(180deg)}

/* Match rows — wrapped in a padded area with card per match */
.as-fx-matches{display:flex;flex-direction:column;gap:6px;padding:8px 10px 10px}
.as-fixture-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;cursor:pointer;
  /* Adaptive card: white overlay on any admin bg, + matching border */
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  transition:background .13s,border-color .13s;
}
.as-fixture-item:hover{
  background:rgba(255,255,255,.09) !important;
  border-color:rgba(255,255,255,.15);
}
.as-fixture-time-col{
  width:48px;flex-shrink:0;text-align:center;
}
.as-fixture-time{font-size:14px;font-weight:700;color:var(--as-muted) !important}
.as-fixture-teams-col{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.as-fixture-team-row{font-size:15px;font-weight:600;color:var(--as-text) !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.as-fixture-use-btn{
  font-size:13px;font-weight:700;color:var(--as-primary) !important;
  background:rgba(37,99,235,.1) !important;padding:5px 10px;border-radius:4px;
  white-space:nowrap;flex-shrink:0;
}

/* Loading / empty states */
.as-fixtures-loading{
  display:flex;align-items:center;justify-content:center;gap:10px;
  padding:32px 20px;font-size:15px;color:var(--as-muted) !important;
}
.as-fixtures-spinner{
  width:16px;height:16px;border:2px solid rgba(37,99,235,.15);
  border-top-color:var(--as-primary) !important;
  border-radius:50%;animation:as-spin .7s linear infinite;flex-shrink:0;
}
.as-fixtures-empty{text-align:center;padding:32px 20px;color:var(--as-muted) !important;font-size:15px}

/* ═══════════════════════════════════════════════════
   RESULTS MODAL (full-screen scrollable)
═══════════════════════════════════════════════════ */
.as-results-modal-overlay{
  position:fixed;inset:0;z-index:100001 !important;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  display:flex;align-items:flex-end;justify-content:center;
}
@media(min-width:540px){
  .as-results-modal-overlay{align-items:center;padding:20px}
}
.as-results-modal-box{
  width:100%;max-width:680px;max-height:92vh;
  background:var(--as-bg) !important;
  border:1px solid rgba(255,255,255,.09);
  border-bottom:none;
  border-radius:16px 16px 0 0;
  display:flex;flex-direction:column;
  animation:as-modal-up .22s cubic-bezier(.22,.68,0,1.2);
  overflow:hidden;
}
@media(min-width:540px){
  .as-results-modal-box{border-radius:16px;border:1px solid rgba(255,255,255,.09);max-height:88vh}
}
.as-results-modal-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:15px 18px;border-bottom:1px solid rgba(255,255,255,.07);
  flex-shrink:0;
}
.as-results-modal-title{
  font-size:16px;font-weight:800;color:var(--as-text) !important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80%;
}
/* Scrollable results body */
.as-results-modal-box .as-loading-wrap,
.as-results-modal-box .as-results-section,
.as-results-modal-box .as-error-bar{
  overflow-y:auto;flex:1;
  /* hide scrollbar on mobile, thin on desktop */
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.12) transparent;
}
.as-results-modal-box .as-results-section::-webkit-scrollbar{width:4px}
.as-results-modal-box .as-results-section::-webkit-scrollbar-track{background:transparent}
.as-results-modal-box .as-results-section::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:4px}
@media(max-width:539px){
  .as-results-modal-box .as-results-section::-webkit-scrollbar{display:none}
  .as-results-modal-box .as-results-section{scrollbar-width:none}
}
.as-results-modal-box .as-results-section{display:block;padding:14px 14px 40px}
.as-results-modal-box .as-container{padding:0}
.as-results-modal-box .as-loading-inner{padding:48px 20px}

/* ─── FAB ─────────────────────────────────────── */
.as-analyse-fab{
  position:fixed;bottom:24px;right:20px;z-index:900;
  display:inline-flex;align-items:center;gap:8px;
  background:var(--as-primary) !important;color:#fff !important;
  font-family:var(--as-font) !important;font-size:16px;font-weight:700;
  padding:13px 22px;border:none;border-radius:50px;cursor:pointer;
  box-shadow:0 4px 24px rgba(37,99,235,.5);
  transition:opacity .15s,transform .12s;
}
.as-analyse-fab:hover{opacity:.9;transform:translateY(-1px)}
.as-analyse-fab:active{transform:scale(.97)}

/* ─── Manual Form Modal overlay ──────────────── */
.as-modal-overlay{
  position:fixed;inset:0;z-index:100001 !important;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  display:flex;align-items:flex-end;justify-content:center;
  padding:0;
}
@media(min-width:540px){
  .as-modal-overlay{align-items:center;padding:20px}
}
/* Modal box — blends body bg color, border same as fixture cards */
.as-modal-box{
  width:100%;max-width:500px;
  background:var(--as-bg) !important;
  border:1px solid rgba(255,255,255,.09);
  border-bottom:none;
  border-radius:16px 16px 0 0;
  display:flex;flex-direction:column;
  max-height:90vh;
  animation:as-modal-up .22s cubic-bezier(.22,.68,0,1.2);
  overflow:hidden;
}
@media(min-width:540px){
  .as-modal-box{border-radius:16px;border:1px solid rgba(255,255,255,.09);max-height:85vh}
}
/* Modal body scrolls, button is sticky */
.as-modal-body{
  overflow-y:auto;flex:1;padding:20px 18px 0;
}
/* Sticky submit at bottom of form modal */
.as-form-actions{
  padding:14px 18px 20px;flex-shrink:0;
  border-top:1px solid rgba(255,255,255,.06);
  background:var(--as-bg) !important;
  position:sticky;bottom:0;
}
@keyframes as-modal-up{from{transform:translateY(28px);opacity:0}to{transform:none;opacity:1}}
.as-modal-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:15px 18px;border-bottom:1px solid rgba(255,255,255,.07);
  flex-shrink:0;
}
.as-modal-title{font-size:17px;font-weight:800;color:var(--as-text) !important}

/* Country/League collapsible inside modal */
.as-modal-field-toggle{
  display:flex;align-items:center;gap:7px;
  font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:var(--as-muted) !important;cursor:pointer;padding:8px 0 10px;
  border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:2px;
  user-select:none;
}
.as-modal-field-hint{font-weight:400;text-transform:none;letter-spacing:0;font-size:13px}
.as-modal-chevron{margin-left:auto;transition:transform .2s}
.as-modal-field-toggle.open .as-modal-chevron{transform:rotate(180deg)}
.as-modal-field-body{padding:10px 0 4px}

/* Form card (shared styles now apply inside modal) */
.as-form-section{padding:0 0 22px}
.as-form-card{background:var(--as-card) !important;border-radius:var(--as-radius);padding:24px}
.as-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}
.as-form-row-single{grid-template-columns:1fr}
.as-form-col{display:flex;flex-direction:column;gap:5px}
.as-label{font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--as-muted) !important}
.as-label-hint{font-weight:400;text-transform:none;font-size:13px;letter-spacing:0}
.as-input,.as-select{
  background:var(--as-bg) !important;color:var(--as-text) !important;
  font-family:var(--as-font) !important;font-size:16px;
  padding:11px 13px;border-radius:var(--as-radius-sm);border:none;outline:none;
  width:100%;-webkit-appearance:none;transition:background .15s;
}
.as-input::placeholder{color:var(--as-muted) !important}
.as-input:focus{background:rgba(255,255,255,.04) !important}
.as-vs-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px;margin-bottom:18px}
.as-team-input-wrap{display:flex;flex-direction:column;gap:5px}
.as-team-input{font-size:18px !important;font-weight:700 !important;padding:13px 14px !important}
.as-vs-badge{font-size:13px;font-weight:800;letter-spacing:.1em;color:var(--as-muted) !important;padding-bottom:13px;text-align:center}
.as-form-actions{display:flex;justify-content:center}
.as-btn-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  background:var(--as-primary) !important;color:var(--as-nav-btn-text,#fff) !important;
  font-family:var(--as-font) !important;font-size:17px;font-weight:700;
  padding:14px 32px;border:none;border-radius:var(--as-radius-sm);cursor:pointer;
  letter-spacing:-.01em;transition:opacity .15s,transform .12s;width:100%;
}
.as-btn-primary:hover{opacity:.88}
.as-btn-primary:active{transform:scale(.98)}
.as-btn-primary:disabled{opacity:.4;cursor:not-allowed;transform:none}
.as-btn-secondary{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--as-card) !important;color:var(--as-text) !important;
  font-family:var(--as-font) !important;font-size:16px;font-weight:600;
  padding:11px 22px;border:none;border-radius:var(--as-radius-sm);cursor:pointer;transition:opacity .15s;
}
.as-btn-secondary:hover{opacity:.75}
.as-btn-sm{padding:8px 14px !important;font-size:14px !important}
.as-paywall-notice{
  display:flex;align-items:flex-start;gap:14px;
  background:rgba(245,158,11,.07) !important;
  padding:16px 18px;border-radius:var(--as-radius-sm);margin-top:16px;
}
.as-paywall-notice svg{color:var(--as-accent) !important;flex-shrink:0;margin-top:2px}
.as-paywall-text p{font-size:16px;color:var(--as-text) !important;margin-bottom:12px;line-height:1.55}
.as-paywall-actions{display:flex;gap:8px;flex-wrap:wrap}
.as-btn-paywall-login{
  display:inline-flex;align-items:center;padding:9px 18px;
  background:var(--as-primary) !important;color:var(--as-nav-btn-text,#fff) !important;
  font-size:15px;font-weight:700;text-decoration:none !important;border-radius:var(--as-radius-sm);
}
.as-btn-paywall-register{
  display:inline-flex;align-items:center;padding:9px 18px;
  background:rgba(255,255,255,.07) !important;color:var(--as-text) !important;
  font-size:15px;font-weight:600;text-decoration:none !important;border-radius:var(--as-radius-sm);
}
.as-btn-paywall-upgrade{
  display:inline-flex;align-items:center;padding:9px 18px;
  background:var(--as-accent) !important;color:#000 !important;
  font-size:15px;font-weight:700;text-decoration:none !important;border-radius:var(--as-radius-sm);
}

/* ═══════════════════════════════════════════════════
   ERROR / LOADING
═══════════════════════════════════════════════════ */
.as-error-bar{
  background:rgba(239,68,68,.1) !important;color:#FCA5A5;
  font-size:16px;font-weight:500;padding:12px 16px;
  border-radius:var(--as-radius-sm);margin-bottom:16px;
  display:flex;align-items:center;gap:8px;
}
.as-loading-wrap{flex:1;display:flex;align-items:center;justify-content:center;padding:80px 20px}
.as-loading-inner{text-align:center}
.as-spinner{
  width:38px;height:38px;
  border:3px solid rgba(37,99,235,.15);border-top-color:var(--as-primary) !important;
  border-radius:50%;animation:as-spin .7s linear infinite;margin:0 auto 18px;
}
@keyframes as-spin{to{transform:rotate(360deg)}}
.as-loading-text{font-size:17px;font-weight:600;color:var(--as-text) !important;margin-bottom:5px}
.as-loading-sub{font-size:14px;color:var(--as-muted) !important}

/* ═══════════════════════════════════════════════════
   RESULTS — sleek redesign v2.3.2
═══════════════════════════════════════════════════ */
.as-results-section{padding:0 0 32px}

/* ── X close button (both modals) ── */
.as-modal-close{
  display:flex !important;align-items:center;justify-content:center;
  width:36px;height:36px;min-width:36px;flex-shrink:0;
  border-radius:50%;padding:0;line-height:0;
  background:rgba(255,255,255,.08) !important;border:none;
  cursor:pointer;color:var(--as-text) !important;
  transition:background .15s;
  -webkit-appearance:none;appearance:none;
  visibility:visible !important;opacity:1 !important;
  position:relative;z-index:10;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  margin-left:8px;
}
.as-modal-close:hover,.as-modal-close:active{background:rgba(255,255,255,.18) !important}
.as-modal-close svg{display:block !important;pointer-events:none;flex-shrink:0}
/* On mobile the modal is a bottom-sheet; pin the X so it stays visible
   regardless of how far the content scrolls */
@media(max-width:539px){
  .as-results-modal-box,
  .as-modal-box{overflow:visible}
  #asResultsModalClose,
  #asModalClose{
    position:fixed;top:12px;right:12px;
    width:40px;height:40px;min-width:40px;
    background:rgba(30,30,40,.92) !important;
    box-shadow:0 2px 8px rgba(0,0,0,.45);
    z-index:1200;
  }
}

/* ── Match Hero header ── */
.as-result-header{
  background:linear-gradient(160deg,rgba(255,255,255,.055) 0%,rgba(255,255,255,.025) 100%) !important;
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;padding:22px 18px 20px;margin-bottom:14px;text-align:center;
}
.as-rh-sport{
  display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;color:var(--as-primary) !important;
  margin-bottom:16px;opacity:.9;
}
.as-rh-matchup{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:16px}
.as-rh-team{
  font-size:clamp(16px,3.8vw,23px);font-weight:800;letter-spacing:-.02em;
  flex:1;color:var(--as-text) !important;line-height:1.2;
}
.as-rh-team.home{text-align:right}
.as-rh-team.away{text-align:left}
.as-rh-vs{
  font-size:12px;font-weight:800;color:var(--as-muted) !important;
  letter-spacing:.1em;flex-shrink:0;
  background:rgba(255,255,255,.07);padding:5px 8px;border-radius:6px;
}
.as-rh-predicted{
  font-size:44px;font-weight:900;letter-spacing:-.05em;
  color:var(--as-primary) !important;margin-bottom:4px;line-height:1;
}
.as-rh-predicted-label{font-size:11px;color:var(--as-muted) !important;text-transform:uppercase;letter-spacing:.1em}

/* ── Summary + Confidence row ── */
.as-result-meta{margin-bottom:14px}
.as-meta-summary{
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;padding:14px 16px;margin-bottom:10px;
  font-size:15px;line-height:1.7;color:var(--as-muted) !important;
}
.as-meta-confidence{
  display:inline-flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;padding:10px 16px;
}
.as-conf-label{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--as-muted) !important}
.as-conf-value{font-size:15px;font-weight:800;letter-spacing:-.01em}
.as-conf-value.as-conf-high,.as-conf-value.high{color:#22c55e !important}
.as-conf-value.as-conf-medium,.as-conf-value.medium{color:#f59e0b !important}
.as-conf-value.as-conf-low,.as-conf-value.low{color:#ef4444 !important}

/* ── Section label ── */
.as-section-label{
  font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:var(--as-accent) !important;margin:20px 0 10px;
}

/* ── Live sources ── */
.as-live-sources-wrap{margin-bottom:14px}
.as-live-sources-title{
  font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:var(--as-muted) !important;margin-bottom:8px;
}
.as-live-sources-list{display:flex;flex-wrap:wrap;gap:6px}
.as-live-source-pill{
  display:inline-flex;padding:4px 10px;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.09);
  border-radius:20px;font-size:13px;font-weight:600;color:var(--as-muted) !important;
}

/* ── Injuries ── */
.as-injuries-wrap{margin-bottom:14px}
.as-injuries-title{
  font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:var(--as-muted) !important;margin-bottom:8px;
}
.as-injuries-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.as-injuries-team{
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.07);border-radius:10px;padding:12px;
}
.as-injuries-team-label{font-size:13px;font-weight:800;color:var(--as-text) !important;margin-bottom:8px}
.as-injury-item{
  font-size:13px;color:var(--as-muted) !important;padding:3px 0;
  border-bottom:1px solid rgba(255,255,255,.04);
}
.as-injury-item:last-child{border-bottom:none}

/* ── Market cards ── */
.as-markets-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:14px}
.as-market-card{
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;padding:14px 12px;cursor:pointer;
  transition:border-color .13s,background .13s;
}
.as-market-card:hover{background:rgba(255,255,255,.07) !important;border-color:rgba(255,255,255,.14)}
.as-market-card.in-slip{border-color:var(--as-primary) !important;background:rgba(37,99,235,.08) !important}
.as-market-top{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;margin-bottom:8px}
.as-market-label{
  font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;
  color:var(--as-muted) !important;line-height:1.3;flex:1;
}
.as-market-verdict{
  font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  padding:3px 7px;border-radius:20px;white-space:nowrap;flex-shrink:0;
}
.as-market-card.yes .as-market-verdict,.as-market-card.high .as-market-verdict{background:rgba(34,197,94,.15);color:#22c55e}
.as-market-card.no .as-market-verdict,.as-market-card.low .as-market-verdict{background:rgba(239,68,68,.12);color:#ef4444}
.as-market-card.neutral .as-market-verdict,.as-market-card.medium .as-market-verdict{background:rgba(245,158,11,.12);color:#f59e0b}
.as-market-prob-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.as-market-prob-bar{flex:1;height:3px;background:rgba(255,255,255,.08);border-radius:2px;overflow:hidden}
.as-market-prob-fill{height:100%;border-radius:2px;transition:width .3s}
.as-market-prob-fill.prob-high{background:#22c55e}
.as-market-prob-fill.prob-mid{background:#f59e0b}
.as-market-prob-fill.prob-low{background:#ef4444}
.as-market-prob-pct{font-size:15px;font-weight:800;color:var(--as-text) !important;white-space:nowrap}
.as-market-odds{font-size:13px;color:var(--as-muted) !important}
.as-market-odds strong{color:var(--as-accent) !important}
.as-market-slip-badge{
  display:block;margin-top:6px;font-size:11px;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:var(--as-primary) !important;
}

/* ── Stats row (Form + H2H) ── */
.as-stats-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.as-stat-card{
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:14px 12px;
}
.as-stat-card-title{
  font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;
  color:var(--as-muted) !important;margin-bottom:12px;
}
/* Form rows */
.as-form-row-stat{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
.as-form-row-stat:last-of-type{margin-bottom:0}
.as-form-team-name{font-size:13px;font-weight:700;color:var(--as-text) !important;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.as-form-badges{display:flex;gap:3px;flex-shrink:0}
.as-form-badge{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:4px;
  font-size:11px;font-weight:800;
}
.as-form-badge.W{background:rgba(34,197,94,.2);color:#22c55e}
.as-form-badge.D{background:rgba(245,158,11,.2);color:#f59e0b}
.as-form-badge.L{background:rgba(239,68,68,.15);color:#ef4444}
/* H2H grid */
.as-h2h-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;text-align:center}
.as-h2h-item{padding:6px 4px}
.as-h2h-num{font-size:25px;font-weight:900;letter-spacing:-.03em;line-height:1}
.as-h2h-lbl{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--as-muted) !important;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h2h-home{color:var(--as-primary) !important}
.h2h-draw{color:var(--as-muted) !important}
.h2h-away{color:var(--as-accent) !important}

/* ── Key factors ── */
.as-factors-wrap{margin-bottom:14px}
.as-factors-title{
  font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:var(--as-muted) !important;margin-bottom:8px;
}
.as-factor-item{
  display:flex;align-items:flex-start;gap:9px;padding:10px 12px;
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.07);border-radius:10px;margin-bottom:6px;
  font-size:14px;line-height:1.5;color:var(--as-muted) !important;
}
.as-factor-item:last-child{margin-bottom:0}
.as-factor-dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--as-primary) !important;
  flex-shrink:0;margin-top:5px;
}

/* ── Risk warning ── */
.as-risk-bar{
  background:rgba(239,68,68,.07) !important;
  border:1px solid rgba(239,68,68,.18);
  border-radius:10px;padding:12px 14px;font-size:14px;color:#FCA5A5;margin-bottom:14px;
  display:flex;align-items:flex-start;gap:9px;
}
.as-risk-bar svg{flex-shrink:0;margin-top:1px;color:#ef4444}

/* ── Result actions ── */
.as-result-actions{display:flex;justify-content:center;padding:8px 0 16px}

/* ── Stat util (kept for legacy) ── */
.as-stat-label{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--as-muted) !important;margin-bottom:7px}
.as-stat-value{font-size:25px;font-weight:900;letter-spacing:-.03em;color:var(--as-text) !important}
.as-stat-sub{font-size:13px;color:var(--as-muted) !important;margin-top:4px}

/* Betslip */
.as-betslip-section{
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;padding:16px;margin-bottom:14px;
}
.as-betslip-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.as-betslip-hint{font-size:13px;color:var(--as-muted) !important}
.as-betslip-empty{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  padding:20px 16px;color:var(--as-muted) !important;text-align:center;font-size:14px;
}
.as-betslip-empty svg{opacity:.25}
.as-betslip-list{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.as-slip-item{
  display:flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.05) !important;
  border-radius:8px;padding:9px 11px;font-size:14px;
}
.as-slip-item-label{flex:1;font-weight:600;color:var(--as-text) !important;font-size:14px}
.as-slip-item-prob{font-size:14px;font-weight:800;color:var(--as-primary) !important;white-space:nowrap}
.as-slip-item-odds{font-size:13px;font-weight:700;color:var(--as-accent) !important;white-space:nowrap;margin-left:4px}
.as-slip-remove{
  background:none;border:none;color:var(--as-muted) !important;
  cursor:pointer;padding:2px;line-height:0;flex-shrink:0;
}
.as-slip-remove:hover{color:#ef4444 !important}
.as-betslip-totals{
  background:rgba(255,255,255,.04) !important;
  border-radius:8px;padding:10px 12px;margin-bottom:12px;
}
.as-betslip-total-row{
  display:flex;justify-content:space-between;
  font-size:14px;color:var(--as-text) !important;padding:3px 0;
}
.as-betslip-total-row span:last-child{font-weight:700}
.as-betslip-share-row{display:flex;gap:8px}
.as-btn-share{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:9px 14px;border-radius:8px;font-size:14px;font-weight:700;
  text-decoration:none !important;transition:opacity .15s;flex:1;
}
.as-btn-wa{background:#25D366 !important;color:#fff !important}
.as-btn-tg{background:#229ED9 !important;color:#fff !important}
.as-btn-share:hover{opacity:.85}
.as-btn-secondary{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.08) !important;color:var(--as-text) !important;
  font-family:var(--as-font) !important;font-size:15px;font-weight:600;
  padding:9px 18px;border:1px solid rgba(255,255,255,.1);
  border-radius:8px;cursor:pointer;transition:background .15s;
}
.as-btn-secondary:hover{background:rgba(255,255,255,.13) !important}
.as-btn-sm{padding:7px 13px !important;font-size:13px !important}

/* ═══════════════════════════════════════════════════
   ADD TO PREDICTIONS (admin panel)
═══════════════════════════════════════════════════ */
.as-btn-add-pred{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  background:var(--as-primary) !important;color:var(--as-nav-btn-text,#fff) !important;
  font-size:16px;font-weight:700;padding:12px 28px;border:none;border-radius:10px;
  cursor:pointer;font-family:inherit;transition:opacity .15s,transform .12s;
}
.as-btn-add-pred:hover{opacity:.88;transform:translateY(-1px)}
.as-btn-add-pred:active{transform:scale(.98)}
.as-add-pred-panel{
  background:var(--as-card) !important;border-radius:var(--as-radius);
  padding:20px 22px;margin-top:14px;
}
.as-add-pred-head{
  display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;
  color:var(--as-text) !important;margin-bottom:16px;
}
.as-add-pred-row{margin-bottom:13px}
.as-add-pred-label{display:block;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--as-muted) !important;margin-bottom:5px}
.as-add-pred-select,.as-add-pred-input{
  width:100%;padding:9px 11px;background:var(--as-bg) !important;color:var(--as-text) !important;
  border:1px solid rgba(255,255,255,.08);border-radius:var(--as-radius-sm);
  font-size:15px;font-family:inherit;outline:none;transition:border-color .15s;
}
.as-add-pred-select:focus,.as-add-pred-input:focus{border-color:var(--as-primary) !important}
.as-add-pred-actions{display:flex;gap:8px;margin-top:16px}
.as-add-pred-msg{font-size:14px;font-weight:600;padding:8px 12px;border-radius:6px;margin-top:10px}
.as-add-pred-msg-success{background:rgba(34,197,94,.12) !important;color:#22c55e !important}
.as-add-pred-msg-error{background:rgba(239,68,68,.1) !important;color:#ef4444 !important}

/* ═══════════════════════════════════════════════════
   PREDICTIONS PAGE — LiveScore layout
═══════════════════════════════════════════════════ */
.as-pred-hero{
  background:var(--as-card) !important;
  border-bottom:1px solid rgba(255,255,255,.05);
  padding:0;
  max-width:860px;margin:0 auto;width:100%;
}
/* Sport tabs — inside hero */
.as-pred-sport-tabs{
  display:flex;align-items:center;gap:0;
  border-bottom:1px solid rgba(255,255,255,.06);
  overflow-x:auto;scrollbar-width:none;padding:0 16px;
}
.as-pred-sport-tabs::-webkit-scrollbar{display:none}
.as-pred-sport-tab{
  display:inline-flex;align-items:center;gap:6px;padding:14px 18px;
  font-size:15px;font-weight:700;text-decoration:none !important;
  color:var(--as-muted) !important;border-bottom:2px solid transparent;
  transition:all .15s;white-space:nowrap;
}
.as-pred-sport-tab:hover{color:var(--as-text) !important}
.as-pred-sport-tab.active{color:var(--as-text) !important;border-bottom-color:var(--as-primary) !important}

/* Hero inner */
.as-pred-hero-inner{padding:24px 20px 20px;max-width:860px;margin:0 auto}
.as-pred-hero-title{font-size:clamp(23px,4vw,31px);font-weight:800;color:var(--as-text) !important;margin-bottom:6px;letter-spacing:-.02em}
.as-pred-hero-sub{font-size:15px;color:var(--as-muted) !important;margin-bottom:16px}

/* Slot tabs — All / Today / Tomorrow / Yesterday */
.as-pred-slot-tabs{
  display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;
}
.as-pred-slot-tabs::-webkit-scrollbar{display:none}
.as-pred-slot-tab{
  display:inline-flex;align-items:center;padding:7px 16px;
  border-radius:20px;font-size:14px;font-weight:700;text-decoration:none !important;
  color:var(--as-muted) !important;background:rgba(255,255,255,.05) !important;
  transition:all .15s;white-space:nowrap;
}
.as-pred-slot-tab:hover{color:var(--as-text) !important;background:rgba(255,255,255,.09) !important}
.as-pred-slot-tab.active{background:var(--as-primary) !important;color:#fff !important}

.as-pred-main{padding-top:24px;padding-bottom:48px}

/* Section headers */
.as-pred-section{margin-bottom:32px}
.as-pred-section-head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.06);
}
.as-pred-section-label{display:flex;align-items:center;gap:10px}
.as-pred-count{font-size:14px;color:var(--as-muted) !important;font-weight:600}
.as-pred-section-date{font-size:14px;color:var(--as-muted) !important}

/* Slot badges */
.as-pred-slot-badge{
  display:inline-flex;padding:4px 11px;border-radius:20px;
  font-size:13px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;
}
.as-pred-slot-today{background:rgba(var(--as-primary-rgb,37,99,235),.15) !important;color:var(--as-primary) !important}
.as-pred-slot-tomorrow{background:rgba(245,158,11,.13) !important;color:#f59e0b !important}
.as-pred-slot-day_after{background:rgba(139,92,246,.13) !important;color:#a78bfa !important}
.as-pred-slot-past{background:rgba(148,163,184,.1) !important;color:var(--as-muted) !important}

/* Prediction cards — match row style (LiveScore-inspired) */
.as-pred-cards{display:flex;flex-direction:column;gap:3px}
.as-pred-card{
  position:relative;overflow:hidden;
  background:var(--as-card) !important;
  border-left:3px solid transparent;
  display:flex;align-items:center;gap:14px;
  padding:14px 16px;
  transition:background .13s;
}
.as-pred-card:hover{background:none !important}
.as-pred-card-football{border-left-color:var(--as-primary)}
.as-pred-card-basketball{border-left-color:var(--as-accent)}
.as-pred-card-tennis{border-left-color:#22c55e}

.as-pred-card-top{flex:1;min-width:0}
.as-pred-match-info{flex:1;min-width:0}
.as-pred-teams{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:3px}
.as-pred-team{font-size:16px;font-weight:700;color:var(--as-text) !important}
.as-pred-vs{font-size:12px;color:var(--as-muted) !important;font-weight:600;text-transform:uppercase}
.as-pred-country{font-size:13px;color:var(--as-muted) !important}
.as-pred-card-pick{margin:8px 0}
.as-pred-market-label{font-size:12px;color:var(--as-muted) !important;text-transform:uppercase;letter-spacing:.04em;font-weight:700;margin-bottom:3px}
.as-pred-pick-value{font-size:17px;font-weight:800;color:var(--as-text) !important}
.as-pred-card-foot{display:flex;align-items:center;gap:8px;margin-top:8px}
.as-pred-odds{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:700;color:var(--as-accent) !important}
.as-pred-conf-bar-wrap{flex:1;height:3px;background:rgba(255,255,255,.07);border-radius:2px;overflow:hidden}
.as-pred-conf-bar{height:100%;border-radius:2px;transition:width .4s ease}
.as-pred-conf-bar-high{background:#22c55e}
.as-pred-conf-bar-medium{background:#f59e0b}
.as-pred-conf-bar-low{background:#ef4444}
.as-pred-conf-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.as-pred-conf-label-high{color:#22c55e !important}
.as-pred-conf-label-medium{color:#f59e0b !important}
.as-pred-conf-label-low{color:#ef4444 !important}

/* Confidence ring — right side of card */
.as-pred-conf-ring{
  flex-shrink:0;width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:2px solid transparent;
}
.as-pred-conf-ring span{font-size:13px;font-weight:800}
.as-pred-conf-high{border-color:#22c55e !important}
.as-pred-conf-high span{color:#22c55e !important}
.as-pred-conf-medium{border-color:#f59e0b !important}
.as-pred-conf-medium span{color:#f59e0b !important}
.as-pred-conf-low{border-color:#ef4444 !important}
.as-pred-conf-low span{color:#ef4444 !important}

/* Empty state */
.as-pred-empty{
  text-align:center;padding:56px 24px;color:var(--as-muted) !important;
}
.as-pred-empty svg{margin:0 auto 16px;display:block;opacity:.4}
.as-pred-empty p{font-size:16px}

/* Past results table */
.as-pred-section-past{margin-top:40px;padding-top:28px;border-top:1px solid rgba(255,255,255,.06)}
.as-pred-past-table-wrap{background:var(--as-card) !important;border-radius:var(--as-radius);overflow:auto}
.as-pred-past-table{width:100%;border-collapse:collapse;font-size:15px}
.as-pred-past-table thead th{
  padding:11px 14px;text-align:left;font-size:13px;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;color:var(--as-muted) !important;
  background:rgba(255,255,255,.03) !important;white-space:nowrap;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.as-pred-past-table tbody tr{border-bottom:1px solid rgba(255,255,255,.04)}
.as-pred-past-table tbody td{padding:10px 14px;color:var(--as-text) !important}
.as-pred-pt-match strong{color:var(--as-text) !important}
.as-pred-pt-match span{color:var(--as-muted) !important}
.as-pred-pt-pick{font-weight:700}
.as-pred-pt-conf{color:var(--as-muted) !important}
.as-pred-result-badge{
  display:inline-flex;padding:3px 10px;border-radius:20px;font-size:13px;font-weight:700;
}
.as-pred-result-win{background:rgba(34,197,94,.12) !important;color:#22c55e !important}
.as-pred-result-loss{background:rgba(239,68,68,.1) !important;color:#ef4444 !important}
.as-pred-result-void{background:rgba(148,163,184,.1) !important;color:#94a3b8 !important}
.as-pred-result-pending{background:rgba(245,158,11,.1) !important;color:#f59e0b !important}

/* Card outcome states */
.as-pred-card--win{background:linear-gradient(135deg,rgba(20,83,45,.55) 0%,rgba(21,128,61,.28) 100%) !important;border-left-color:rgba(34,197,94,.6) !important}
.as-pred-card--win .as-pred-team,.as-pred-card--win .as-pred-pick-value{color:#bbf7d0 !important}
.as-pred-card--win .as-pred-market-label{color:rgba(187,247,208,.65) !important}
.as-pred-card--win .as-pred-country,.as-pred-card--win .as-pred-vs,.as-pred-card--win .as-pred-odds{color:rgba(187,247,208,.55) !important}
.as-pred-card--loss{background:linear-gradient(135deg,rgba(127,29,29,.55) 0%,rgba(153,27,27,.28) 100%) !important;border-left-color:rgba(239,68,68,.4) !important}
.as-pred-card--loss .as-pred-team,.as-pred-card--loss .as-pred-pick-value{color:#fecaca !important}
.as-pred-card--loss .as-pred-market-label{color:rgba(254,202,202,.65) !important}
.as-pred-card--loss .as-pred-country,.as-pred-card--loss .as-pred-vs,.as-pred-card--loss .as-pred-odds{color:rgba(254,202,202,.55) !important}
.as-pred-card--void{background:rgba(30,41,59,.55) !important;opacity:.72}
.as-pred-card--void .as-pred-team,.as-pred-card--void .as-pred-pick-value{color:#94a3b8 !important}
.as-pred-card-result-ribbon{
  position:absolute;top:10px;right:10px;
  display:inline-flex;align-items:center;gap:4px;
  padding:3px 9px;border-radius:20px;
  font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;pointer-events:none;
}
.as-pred-ribbon-win{background:rgba(34,197,94,.2);color:#4ade80;border:1px solid rgba(74,222,128,.3)}
.as-pred-ribbon-loss{background:rgba(239,68,68,.18);color:#f87171;border:1px solid rgba(248,113,113,.3)}
.as-pred-ribbon-void{background:rgba(148,163,184,.15);color:#94a3b8;border:1px solid rgba(148,163,184,.25)}

/* ═══════════════════════════════════════════════════
   USER / SUBSCRIBE / AUTH pages
═══════════════════════════════════════════════════ */
.as-user-section,.as-subscribe-section{padding:32px 0 60px}
.as-user-title,.as-subscribe-title{font-size:clamp(25px,4vw,33px);font-weight:800;letter-spacing:-.02em;color:var(--as-text) !important;margin-bottom:4px}
.as-subscribe-hero{text-align:center;margin-bottom:32px}
.as-subscribe-sub{font-size:16px;color:var(--as-muted) !important;margin-top:8px}
.as-profile-grid{display:grid;grid-template-columns:340px 1fr;gap:20px;margin-top:24px}
.as-profile-card{
  background:var(--as-card) !important;border-radius:var(--as-radius);
  padding:24px;display:flex;align-items:center;gap:18px;
}
.as-profile-avatar{
  width:60px;height:60px;border-radius:50%;background:var(--as-primary) !important;
  color:#fff;font-size:27px;font-weight:900;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.as-profile-name{font-size:19px;font-weight:800;color:var(--as-text) !important;margin-bottom:3px}
.as-profile-email{font-size:14px;color:var(--as-muted) !important;margin-bottom:10px}
.as-plan-badge{display:inline-flex;padding:4px 12px;border-radius:20px;font-size:14px;font-weight:700}
.as-plan-badge-active{background:rgba(34,197,94,.12) !important;color:#22c55e !important}
.as-plan-badge-free{background:rgba(148,163,184,.1) !important;color:var(--as-muted) !important}
.as-plan-expires{font-size:13px;color:var(--as-muted) !important;margin-left:8px}
.as-plan-upgrade-link{font-size:14px;color:var(--as-primary) !important;text-decoration:none !important;font-weight:600;margin-left:8px}
.as-profile-form-card{
  background:var(--as-card) !important;border-radius:var(--as-radius);padding:24px;
}
.as-profile-form-card h3{font-size:17px;font-weight:700;color:var(--as-text) !important;margin-bottom:18px}
.as-current-plan-notice{
  display:flex;align-items:center;gap:8px;
  background:rgba(37,99,235,.08) !important;color:var(--as-primary) !important;
  padding:12px 16px;border-radius:var(--as-radius-sm);font-size:15px;margin-bottom:24px;
}
.as-empty-plans{text-align:center;color:var(--as-muted) !important;padding:40px;font-size:16px}
.as-plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.as-plan-card{
  background:var(--as-card) !important;border-radius:var(--as-radius);padding:24px;
  position:relative;transition:transform .15s;
}
.as-plan-card:hover{transform:translateY(-2px)}
.as-plan-card-current{outline:2px solid var(--as-primary) !important}
.as-plan-current-tag{
  display:inline-flex;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:800;
  background:var(--as-primary) !important;color:#fff;margin-bottom:12px;
}
.as-plan-name{font-size:15px;font-weight:700;color:var(--as-muted) !important;text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.as-plan-price{display:flex;align-items:baseline;gap:2px;margin-bottom:14px}
.as-plan-currency{font-size:23px;font-weight:800;color:var(--as-text) !important}
.as-plan-amount{font-size:40px;font-weight:900;letter-spacing:-.03em;color:var(--as-text) !important}
.as-plan-cycle{font-size:15px;color:var(--as-muted) !important}
.as-plan-desc{font-size:15px;color:var(--as-muted) !important;margin-bottom:16px;line-height:1.55}
.as-plan-features{list-style:none;display:flex;flex-direction:column;gap:10px;margin-bottom:20px}
.as-plan-features li{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--as-muted) !important}
.as-plan-features li svg{color:#22c55e !important;flex-shrink:0}
.as-plan-btn{
  display:block;width:100%;text-align:center;padding:12px 20px;
  background:var(--as-primary) !important;color:#fff !important;
  font-size:16px;font-weight:700;border:none;border-radius:var(--as-radius-sm);
  cursor:pointer;text-decoration:none !important;transition:opacity .15s;font-family:inherit;
}
.as-plan-btn:hover{opacity:.88}
.as-plan-btn-active{
  text-align:center;padding:12px 20px;
  background:rgba(34,197,94,.1) !important;color:#22c55e !important;
  font-size:16px;font-weight:700;border-radius:var(--as-radius-sm);
}

/* Auth */
.as-auth-section{flex:1;display:flex;align-items:center;justify-content:center;padding:48px 20px}
.as-auth-card{background:var(--as-card) !important;border-radius:var(--as-radius);padding:32px;max-width:400px;width:100%}
.as-auth-title{font-size:25px;font-weight:800;color:var(--as-text) !important;text-align:center;margin-bottom:20px;letter-spacing:-.02em}
.as-auth-notice{
  padding:10px 14px;border-radius:var(--as-radius-sm);font-size:15px;
  background:rgba(37,99,235,.1) !important;color:var(--as-primary) !important;margin-bottom:16px;
}
.as-auth-notice-success{background:rgba(34,197,94,.1) !important;color:#22c55e !important}
.as-auth-notice-error{background:rgba(239,68,68,.1) !important;color:#ef4444 !important}
.as-auth-form{display:flex;flex-direction:column;gap:14px}
.as-auth-field{display:flex;flex-direction:column;gap:5px}
.as-auth-field label{font-size:14px;font-weight:700;color:var(--as-muted) !important}
.as-auth-input{
  background:var(--as-bg) !important;color:var(--as-text) !important;
  font-family:var(--as-font) !important;font-size:16px;padding:12px 13px;
  border:none;border-radius:var(--as-radius-sm);outline:none;width:100%;
}
.as-auth-input::placeholder{color:var(--as-muted) !important}
.as-auth-input:focus{background:rgba(255,255,255,.04) !important}
.as-auth-row-split{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--as-muted) !important}
.as-auth-check{display:flex;align-items:center;gap:6px;cursor:pointer}
.as-auth-link{color:var(--as-primary) !important;text-decoration:none !important;font-weight:600}
/* reCAPTCHA widget */
.as-recaptcha-wrap{display:flex;justify-content:center;padding:4px 0}
.as-recaptcha-wrap .g-recaptcha{transform-origin:center top}
.as-auth-btn{
  display:block;width:100%;padding:13px 20px;
  background:var(--as-primary) !important;color:#fff !important;
  font-size:16px;font-weight:700;border:none;border-radius:var(--as-radius-sm);
  cursor:pointer;transition:opacity .15s;font-family:inherit;
}
.as-auth-btn:hover{opacity:.88}
.as-auth-btn:disabled{opacity:.4;cursor:not-allowed}
.as-auth-switch{text-align:center;font-size:15px;color:var(--as-muted) !important;margin-top:4px}
.as-auth-switch a{color:var(--as-primary) !important;text-decoration:none !important;font-weight:600}
.as-auth-field input{margin-top:2px}

/* ═══════════════════════════════════════════════════
   PAST RESULTS — date collapse groups
═══════════════════════════════════════════════════ */
.as-past-results-section{
  margin-top:36px;padding-top:28px;
  border-top:1px solid rgba(255,255,255,.06);
}
.as-past-results-header{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:16px;flex-wrap:wrap;gap:8px;
}
.as-past-results-title{
  display:flex;align-items:center;gap:8px;
  font-size:15px;font-weight:800;letter-spacing:.01em;text-transform:uppercase;
  color:var(--as-text) !important;
}
.as-past-total-badge{
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(148,163,184,.12) !important;color:var(--as-muted) !important;
  font-size:13px;font-weight:700;padding:2px 8px;border-radius:20px;
}
.as-past-results-hint{
  font-size:13px;color:var(--as-muted) !important;
}
.as-past-groups-wrap{display:flex;flex-direction:column;gap:3px}

/* <details> group row */
.as-past-group{
  background:var(--as-card) !important;
  border-radius:var(--as-radius-sm);
  overflow:hidden;
}
.as-past-group-summary{
  display:flex;align-items:center;justify-content:space-between;
  padding:13px 16px;cursor:pointer;list-style:none;
  user-select:none;transition:background .13s;gap:10px;
}
.as-past-group-summary::-webkit-details-marker{display:none}
.as-past-group-summary:hover{background:rgba(255,255,255,.03) !important}
.as-past-group-left{
  display:flex;align-items:center;gap:9px;min-width:0;flex:1;
}
.as-past-group-chevron{
  color:var(--as-muted) !important;flex-shrink:0;
  transition:transform .2s ease;
}
.as-past-group[open] .as-past-group-chevron{
  transform:rotate(90deg);
  color:var(--as-primary) !important;
}
.as-past-group-date{
  font-size:15px;font-weight:700;color:var(--as-text) !important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.as-past-group-count{
  font-size:13px;color:var(--as-muted) !important;white-space:nowrap;
}
.as-past-group-right{
  display:flex;align-items:center;gap:5px;flex-shrink:0;
}
/* Small stat badges inside the summary row */
.as-past-badge{
  display:inline-flex;align-items:center;justify-content:center;
  padding:2px 7px;border-radius:12px;font-size:13px;font-weight:800;white-space:nowrap;
}
.as-past-badge-win{background:rgba(34,197,94,.12) !important;color:#22c55e !important}
.as-past-badge-loss{background:rgba(239,68,68,.1) !important;color:#ef4444 !important}
.as-past-badge-void{background:rgba(148,163,184,.1) !important;color:#94a3b8 !important}
.as-past-badge-rate{background:rgba(37,99,235,.1) !important;color:var(--as-primary) !important}

/* Body inside the expanded details — uses the existing pred-card styles */
.as-past-group-body{
  padding:2px 0 8px;
  display:flex;flex-direction:column;gap:3px;
}
.as-past-group-body .as-pred-card{
  border-radius:0;
  border-left-width:3px;
}
.as-past-group-body .as-pred-card:last-child{
  border-radius:0 0 var(--as-radius-sm) var(--as-radius-sm);
}

/* AJAX loading overlay inside the groups wrap */
.as-past-loading{
  display:flex;align-items:center;justify-content:center;
  gap:10px;padding:28px 20px;
  font-size:15px;color:var(--as-muted) !important;
}
.as-past-loading-spinner{
  width:20px;height:20px;border:2px solid rgba(37,99,235,.15);
  border-top-color:var(--as-primary) !important;
  border-radius:50%;animation:as-spin .7s linear infinite;flex-shrink:0;
}

/* Pagination bar */
.as-past-pagination{margin-top:16px}
.as-past-pager{
  display:flex;align-items:center;justify-content:center;gap:12px;
}
.as-past-pager-btn{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--as-card) !important;color:var(--as-text) !important;
  font-family:var(--as-font) !important;font-size:15px;font-weight:600;
  padding:9px 18px;border:none;border-radius:var(--as-radius-sm);
  cursor:pointer;transition:opacity .15s;
}
.as-past-pager-btn:hover:not(:disabled){background:var(--as-dim) !important}
.as-past-pager-btn:disabled{opacity:.35;cursor:not-allowed}
.as-past-pager-info{
  font-size:14px;font-weight:600;color:var(--as-muted) !important;white-space:nowrap;
}

/* ═══════════════════════════════════════════════════
   FOOTER — LiveScore exact style: logo + pipe links bar
═══════════════════════════════════════════════════ */
.as-footer{
  background:var(--as-card) !important;
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,.06);
}
.as-footer-logo-wrap{
  padding:32px 24px 24px;
  text-align:center;
}
.as-footer-logo-img{
  height:32px;width:auto;display:inline-block;
}
.as-footer-site-name{
  font-size:23px;font-weight:900;
  color:var(--as-text) !important;
  letter-spacing:-.03em;
}
.as-footer-bottom{
  border-top:1px solid rgba(255,255,255,.06);
  padding:18px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  text-align:center;
}
.as-footer-copy{
  font-size:15px;
  color:rgba(148,163,184,.55);
}
.as-footer-pipe-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 6px;
}
.as-footer-pipe-links a{
  font-size:15px;
  color:rgba(148,163,184,.7) !important;
  text-decoration:none !important;
  transition:color .15s;
  white-space:nowrap;
}
.as-footer-pipe-links a:hover{
  color:var(--as-text) !important;
}
.as-footer-pipe-links span{
  font-size:15px;
  color:rgba(148,163,184,.3);
  user-select:none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media(max-width:900px){
  .as-profile-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  /* Show hamburger on mobile */
  .as-hamburger{display:flex}
  /* Hide desktop nav on mobile */
  .as-header-nav{display:none}
  /* Show sport tabs bar on mobile (replaces nav) */
  .as-sport-tabs-bar{display:flex}
  .as-plans-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .as-header-inner{padding:0 12px}
  .as-header-btn-ghost{display:none}
  .as-form-card{padding:16px 13px}
  .as-analyse-fab{bottom:16px;right:14px;padding:11px 16px;font-size:15px}
  .as-ls-date-tab{padding:7px 10px;font-size:14px}
  .as-form-row{grid-template-columns:1fr}
  .as-vs-row{gap:6px}
  .as-team-input{font-size:16px !important;padding:11px 11px !important}
  .as-markets-grid{grid-template-columns:1fr}
  .as-stats-row{grid-template-columns:1fr}
  .as-injuries-grid{grid-template-columns:1fr}
  .as-result-meta{flex-direction:column}
  .as-meta-confidence{flex-direction:row;gap:14px;justify-content:flex-start}
  .as-betslip-share-row{flex-direction:column;align-items:stretch}
  .as-btn-share{justify-content:center}
  .as-auth-card{padding:24px 16px}
  .as-home-cta-bar{flex-direction:column;align-items:flex-start}
  .as-pred-hero-title{font-size:23px}
  .as-pred-past-table{font-size:14px}
  .as-pred-past-table thead th,.as-pred-past-table tbody td{padding:8px 10px}
  .as-footer-logo-wrap{padding:24px 16px 18px}
  .as-footer-bottom{padding:14px 16px;gap:10px}
  .as-footer-pipe-links{gap:6px 4px}
  .as-footer-pipe-links a,.as-footer-pipe-links span{font-size:14px}
}

/* ═══════════════════════════════════════════════════════════
   COMMUNITY — Tips Feed, Leaderboard, Tipster Profile
   v2.5.5
═══════════════════════════════════════════════════════════ */

/* ── Page wrapper ────────────────────────────────────────── */
.as-community-wrap{padding:0 0 60px}
@media(max-width:700px){
  .as-community-wrap{padding:0 10px 60px}
}

/* ── Page header ────────────────────────────────────────── */
.as-comm-header{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:12px;padding:22px 0 16px;flex-wrap:wrap;
}
.as-comm-header-left{flex:1;min-width:0}
.as-comm-header-right{display:flex;align-items:center;gap:10px;flex-shrink:0;flex-wrap:wrap}
.as-comm-title{font-size:25px;font-weight:800;color:var(--as-text);margin:0 0 4px}
.as-comm-sub{font-size:15px;color:rgba(var(--as-text-rgb,248,250,252),.5);margin:0}

/* ── Shared button styles ───────────────────────────────── */
.as-btn-primary{
  display:inline-flex;align-items:center;gap:6px;
  padding:9px 16px;border-radius:8px;border:none;
  background:var(--as-primary);color:#fff;
  font-size:15px;font-weight:600;cursor:pointer;
  transition:opacity .15s;white-space:nowrap;
  text-decoration:none;
}
.as-btn-primary:hover{opacity:.88}
.as-btn-outline{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:8px;
  border:1px solid rgba(255,255,255,.14);
  background:transparent;color:var(--as-text);
  font-size:15px;font-weight:500;cursor:pointer;
  transition:background .15s;white-space:nowrap;
  text-decoration:none;
}
.as-btn-outline:hover{background:rgba(255,255,255,.06)}

/* ── Filters bar ────────────────────────────────────────── */
.as-comm-filters{
  display:flex;gap:10px;flex-wrap:wrap;
  padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.07);
  margin-bottom:16px;
}
.as-comm-filter-group{display:flex;gap:6px;flex-wrap:wrap}
.as-comm-filter-btn,.as-comm-sport-btn{
  padding:6px 12px;border-radius:20px;border:1px solid rgba(255,255,255,.1);
  background:transparent;color:var(--as-primary)!important;
  font-size:14px;font-weight:500;cursor:pointer;transition:all .15s;
}
.as-comm-filter-btn.active,.as-comm-sport-btn.active,
.as-comm-filter-btn:hover,.as-comm-sport-btn:hover{
  background:var(--as-primary);color:var(--as-nav-btn-text) !important;border-color:var(--as-primary);
}

/* ── Feed tabs (All / Following) ────────────────────────── */
.as-comm-feed-tabs{
  display:flex;gap:0;margin-bottom:16px;
  border-bottom:2px solid rgba(255,255,255,.07);
}
.as-comm-feed-tab{
  padding:9px 18px;font-size:15px;font-weight:600;
  background:transparent;border:none;color:rgba(var(--as-text-rgb,248,250,252),.5);
  cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .15s;
}
.as-comm-feed-tab.active{color:var(--as-nav-btn-tex) !important;border-bottom-color:var(--as-primary)}

/* ── Tips feed list ─────────────────────────────────────── */
.as-tips-feed{display:flex;flex-direction:column;gap:10px;min-height:200px}
.as-tips-loading{display:flex;justify-content:center;align-items:center;min-height:160px}

/* ── Single tip card ────────────────────────────────────── */
.as-tip-card{
  background:var(--as-card);border:1px solid rgba(255,255,255,.07);
  border-radius:12px;padding:16px 18px;
}
.as-tip-card-head{
  display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap;
}
.as-tip-avatar{
  width:34px;height:34px;border-radius:50%;
  background:var(--as-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:16px;font-weight:700;flex-shrink:0;
}
.as-tip-user{flex:1;min-width:0}
.as-tip-username{
  font-size:15px;font-weight:600;color:var(--as-text);
  text-decoration:none;display:block;
}
.as-tip-username:hover{color:var(--as-primary)}
.as-tip-time{font-size:13px;color:rgba(var(--as-text-rgb,248,250,252),.4);margin-top:1px}
.as-tip-sport-badge{
  font-size:13px;font-weight:600;padding:3px 9px;border-radius:20px;text-transform:capitalize;
}
.as-tip-sport-badge.football{background:rgba(37,99,235,.18);color:#60a5fa}
.as-tip-sport-badge.basketball{background:rgba(245,158,11,.14);color:#fbbf24}
.as-tip-sport-badge.tennis{background:rgba(16,185,129,.14);color:#34d399}

/* Result badge */
.as-tip-result-badge{
  font-size:13px;font-weight:700;padding:3px 9px;border-radius:20px;
  text-transform:uppercase;letter-spacing:.04em;
}
.as-tip-result-badge.won{background:rgba(16,185,129,.18);color:#34d399}
.as-tip-result-badge.lost{background:rgba(239,68,68,.16);color:#f87171}
.as-tip-result-badge.void{background:rgba(148,163,184,.14);color:#94a3b8}

/* Match row */
.as-tip-match{
  display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap;
}
.as-tip-teams{
  font-size:17px;font-weight:700;color:var(--as-text);flex:1;min-width:0;
}
.as-tip-date{font-size:14px;color:rgba(var(--as-text-rgb,248,250,252),.45);white-space:nowrap}

/* Pick row */
.as-tip-pick-row{
  display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap;
}
.as-tip-market{font-size:14px;color:rgba(var(--as-text-rgb,248,250,252),.5)}
.as-tip-pick{
  font-size:15px;font-weight:700;color:var(--as-accent);
}
.as-tip-conf-badge{
  margin-left:auto;font-size:14px;font-weight:700;padding:3px 9px;border-radius:20px;
}
.as-tip-conf-badge.high{background:rgba(16,185,129,.18);color:#34d399}
.as-tip-conf-badge.medium{background:rgba(245,158,11,.14);color:#fbbf24}
.as-tip-conf-badge.low{background:rgba(239,68,68,.13);color:#f87171}

/* Note */
.as-tip-note{
  font-size:14px;color:rgba(var(--as-text-rgb,248,250,252),.55);
  margin-bottom:12px;line-height:1.5;padding:8px 10px;
  background:rgba(255,255,255,.04);border-radius:7px;
  border-left:2px solid rgba(255,255,255,.1);
}

/* Actions row */
.as-tip-actions{display:flex;align-items:center;gap:12px}
.as-tip-vote-btn{
  display:inline-flex;align-items:center;gap:5px;
  background:transparent;border:1px solid rgba(255,255,255,.1);
  border-radius:8px;padding:6px 12px;
  font-size:14px;font-weight:600;color:rgba(var(--as-text-rgb,248,250,252),.6);
  cursor:pointer;transition:all .15s;
}
.as-tip-vote-btn:hover,.as-tip-vote-btn.voted{
  background:rgba(37,99,235,.18);border-color:var(--as-primary);color:var(--as-primary);
}
.as-tip-vote-btn.voted svg{fill:var(--as-primary);stroke:var(--as-primary)}
.as-tip-vote-count{font-weight:700}

/* ── Empty state ────────────────────────────────────────── */
.as-comm-empty,.as-tips-empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:60px 20px;gap:14px;color:rgba(var(--as-text-rgb,248,250,252),.4);
  text-align:center;
}
.as-comm-empty svg,.as-tips-empty svg{opacity:.3}
.as-comm-empty p,.as-tips-empty p{margin:0;font-size:16px}

/* ── Pagination ─────────────────────────────────────────── */
.as-comm-pagination{
  display:flex;align-items:center;justify-content:center;
  gap:14px;padding:24px 0 0;
}
.as-comm-page-btn{
  display:inline-flex;align-items:center;gap:5px;
  padding:8px 16px;border-radius:8px;border:1px solid rgba(255,255,255,.1);
  background:transparent;color:var(--as-text);font-size:15px;font-weight:500;
  cursor:pointer;transition:all .15s;
}
.as-comm-page-btn:hover:not(:disabled){background:rgba(255,255,255,.06)}
.as-comm-page-btn:disabled{opacity:.35;cursor:not-allowed}
.as-comm-page-info{font-size:15px;color:rgba(var(--as-text-rgb,248,250,252),.5)}

/* ── Submit Tip modal body ──────────────────────────────── */
.as-modal-body.as-tip-form{padding:18px 20px;overflow-y:auto;max-height:65vh}
.as-tip-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.as-tip-field{display:flex;flex-direction:column;gap:5px}
.as-label{font-size:14px;font-weight:600;color:rgba(var(--as-text-rgb,248,250,252),.65)}
.as-select{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  border-radius:8px;padding:10px 12px;color:var(--as-text);
  font-size:15px;font-family:var(--as-font);cursor:pointer;
}
.as-select option{background:#1a1a2e;color:var(--as-text)}

/* Confidence slider */
.as-tip-conf-wrap{margin-bottom:14px}
.as-tip-range{
  width:100%;height:4px;border-radius:4px;margin:8px 0 4px;
  -webkit-appearance:none;appearance:none;
  background:linear-gradient(to right, var(--as-primary) 50%, rgba(255,255,255,.12) 50%);
  cursor:pointer;
}
.as-tip-range::-webkit-slider-thumb{
  -webkit-appearance:none;width:18px;height:18px;border-radius:50%;
  background:var(--as-primary);cursor:pointer;border:2px solid #fff;
}
.as-tip-conf-labels{
  display:flex;justify-content:space-between;
  font-size:12px;color:rgba(var(--as-text-rgb,248,250,252),.35);
}
.as-form-actions{
  padding:14px 20px 18px;border-top:1px solid rgba(255,255,255,.07);
  display:flex;justify-content:flex-end;
}

/* ── Leaderboard table ──────────────────────────────────── */
.as-leaderboard-wrap{overflow-x:auto}
.as-leaderboard-table{
  width:100%;border-collapse:collapse;font-size:15px;
}
.as-leaderboard-table thead th{
  padding:10px 14px;text-align:left;
  font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;
  color:rgba(var(--as-text-rgb,248,250,252),.4);
  border-bottom:1px solid rgba(255,255,255,.08);white-space:nowrap;
}
.as-leaderboard-table tbody tr{
  border-bottom:1px solid rgba(255,255,255,.05);transition:background .12s;
}
.as-leaderboard-table tbody tr:hover{background:rgba(255,255,255,.03)}
.as-leaderboard-table tbody td{
  padding:12px 14px;color:var(--as-text);vertical-align:middle;
}
.as-lb-rank{
  font-size:17px;font-weight:800;width:36px;text-align:center;
  color:rgba(var(--as-text-rgb,248,250,252),.35);
}
.as-lb-rank.top1{color:#fbbf24}
.as-lb-rank.top2{color:#94a3b8}
.as-lb-rank.top3{color:#c97c3a}
.as-lb-user{display:flex;align-items:center;gap:10px}
.as-lb-avatar{
  width:32px;height:32px;border-radius:50%;
  background:var(--as-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:700;flex-shrink:0;
}
.as-lb-name{font-weight:600;font-size:15px;text-decoration:none;color:var(--as-text)}
.as-lb-name:hover{color:var(--as-primary)}
.as-lb-winrate{font-size:16px;font-weight:800;color:#34d399}
.as-lb-winrate.na{color:rgba(var(--as-text-rgb,248,250,252),.35);font-size:14px;font-weight:400}
.as-lb-tips{color:rgba(var(--as-text-rgb,248,250,252),.7)}
.as-lb-wl{font-size:14px}
.as-lb-wl .w{color:#34d399}
.as-lb-wl .l{color:#f87171}
.as-follow-sm-btn{
  padding:5px 12px;border-radius:7px;border:1px solid rgba(255,255,255,.12);
  background:transparent;color:rgba(var(--as-text-rgb,248,250,252),.7);
  font-size:13px;font-weight:600;cursor:pointer;transition:all .15s;white-space:nowrap;
}
.as-follow-sm-btn.following{
  background:rgba(37,99,235,.18);border-color:var(--as-primary);color:var(--as-primary);
}
.as-follow-sm-btn:hover{background:rgba(37,99,235,.18);border-color:var(--as-primary);color:var(--as-primary)}
.as-lb-empty{
  text-align:center;padding:48px 20px;
  color:rgba(var(--as-text-rgb,248,250,252),.35);font-size:15px;
}

/* ── Tipster hero ───────────────────────────────────────── */
.as-tipster-hero{
  display:flex;align-items:center;gap:16px;
  padding:24px 0 20px;border-bottom:1px solid rgba(255,255,255,.07);
  margin-bottom:20px;flex-wrap:wrap;
}
.as-tipster-avatar{
  width:60px;height:60px;border-radius:50%;
  background:var(--as-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:27px;font-weight:800;flex-shrink:0;
}
.as-tipster-meta{flex:1;min-width:0}
.as-tipster-name{font-size:23px;font-weight:800;color:var(--as-text);margin:0 0 8px}
.as-tipster-stats-row{display:flex;gap:18px;flex-wrap:wrap}
.as-tipster-stat{display:flex;flex-direction:column;gap:2px}
.as-tipster-stat-val{font-size:18px;font-weight:800;color:var(--as-text)}
.as-tipster-stat-lbl{font-size:13px;color:rgba(var(--as-text-rgb,248,250,252),.4);text-transform:uppercase;letter-spacing:.05em}

/* Follow button */
.as-follow-btn{
  padding:9px 20px;border-radius:9px;border:1px solid rgba(255,255,255,.15);
  background:transparent;color:var(--as-text);
  font-size:15px;font-weight:600;cursor:pointer;transition:all .15s;
  white-space:nowrap;flex-shrink:0;
}
.as-follow-btn.following{
  background:var(--as-primary);border-color:var(--as-primary);color:#fff;
}
.as-follow-btn:hover{background:var(--as-primary);border-color:var(--as-primary);color:#fff}

/* Back links row */
.as-tipster-back{display:flex;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.as-back-link{
  display:inline-flex;align-items:center;gap:5px;
  font-size:14px;color:rgba(var(--as-text-rgb,248,250,252),.5);
  text-decoration:none;transition:color .15s;
}
.as-back-link:hover{color:var(--as-primary)}

/* ── Responsive ─────────────────────────────────────────── */
@media(max-width:700px){
  .as-tip-form-row{grid-template-columns:1fr}
  .as-comm-header{flex-direction:column}
  .as-comm-header-right{width:100%}
  .as-leaderboard-table thead th:nth-child(5),
  .as-leaderboard-table tbody td:nth-child(5){display:none}
}
@media(max-width:520px){
  .as-tip-teams{font-size:16px}
  .as-tipster-name{font-size:19px}
  .as-tipster-avatar{width:48px;height:48px;font-size:21px}
  .as-leaderboard-table thead th:nth-child(4),
  .as-leaderboard-table tbody td:nth-child(4){display:none}
  .as-tip-card{padding:13px 14px}
}

/* ═══════════════════════════════════════════════════════════
   COMMUNITY v2.5.5 — Slim tip card, Single page, Comments
   Profile pic/bio, Add-to-Community-Tips button
═══════════════════════════════════════════════════════════ */

/* ── Slim tip card (pred-card style) ────────────────────── */
/* Replaces .as-tip-card with .as-tip-card-slim              */
.as-tip-card-slim{
  position:relative;overflow:hidden;
  background:var(--as-card) !important;
  border-left:3px solid transparent;
  display:flex;align-items:center;gap:14px;
  padding:12px 16px;
  transition:background .13s;
  cursor:pointer;
  text-decoration:none;
}
.as-tip-card-slim:hover{background:none !important}
.as-tip-card-slim.football {border-left-color:var(--as-primary)}
.as-tip-card-slim.basketball{border-left-color:var(--as-accent)}
.as-tip-card-slim.tennis   {border-left-color:#22c55e}

.as-tip-slim-left{flex:1;min-width:0}
.as-tip-slim-top{display:flex;align-items:center;gap:7px;margin-bottom:4px;flex-wrap:wrap}
.as-tip-slim-sport{display:flex;align-items:center;opacity:.55}
.as-tip-slim-date{font-size:13px;color:var(--as-muted) !important}
.as-tip-slim-result{
  font-size:12px;font-weight:700;padding:2px 7px;border-radius:20px;text-transform:uppercase;letter-spacing:.04em;
}
.as-tip-slim-result.won {background:rgba(34,197,94,.18);color:#4ade80}
.as-tip-slim-result.lost{background:rgba(239,68,68,.16);color:#f87171}
.as-tip-slim-result.void{background:rgba(148,163,184,.13);color:#94a3b8}

.as-tip-slim-teams{
  display:flex;align-items:center;gap:6px;
  font-size:16px;font-weight:700;color:var(--as-text) !important;
  margin-bottom:4px;flex-wrap:wrap;
}
.as-tip-slim-vs{font-size:12px;color:var(--as-muted) !important;font-weight:600;text-transform:uppercase}
.as-tip-slim-pick-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.as-tip-slim-market{font-size:12px;color:var(--as-muted) !important;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.as-tip-slim-pick{font-size:15px;font-weight:800;color:var(--as-text) !important}

/* Bottom counts row */
.as-tip-slim-foot{
  display:flex;align-items:center;gap:10px;margin-top:6px;
}
.as-tip-slim-vote,.as-tip-slim-comments{
  display:inline-flex;align-items:center;gap:4px;
  font-size:13px;font-weight:600;color:rgba(var(--as-text-rgb,248,250,252),.5);
}
.as-tip-slim-vote.voted{color:var(--as-primary)}
.as-tip-slim-vote svg,.as-tip-slim-comments svg{flex-shrink:0}

/* Confidence ring — right */
/* Reuses .as-pred-conf-ring and .as-pred-conf-* already defined */

/* Delete button on slim card */
.as-tip-slim-delete{
  display:inline-flex;align-items:center;gap:3px;
  background:transparent;border:none;padding:3px 6px;border-radius:5px;
  font-size:13px;color:rgba(239,68,68,.55);cursor:pointer;
  transition:color .12s;margin-left:auto;
}
.as-tip-slim-delete:hover{color:#f87171}

/* Feed now uses slim cards */
.as-tips-feed{display:flex;flex-direction:column;gap:3px;min-height:200px}

/* ── "Add to Community Tips" button in results modal ─────── */
.as-btn-add-comm-tip{
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 18px;border-radius:8px;
  border:1px solid rgba(var(--as-text-rgb,248,250,252),.15);
  background:transparent;color:var(--as-text);
  font-size:15px;font-weight:600;cursor:pointer;
  transition:all .15s;
}
.as-btn-add-comm-tip:hover,.as-btn-add-comm-tip.active{
  background:rgba(37,99,235,.18);border-color:var(--as-primary);color:var(--as-primary);
}
.as-add-comm-tip-panel{
  margin:0 20px 14px;padding:16px;
  background:rgba(255,255,255,.04);border-radius:10px;
  border:1px solid rgba(255,255,255,.09);
}

/* ── Tip single page ─────────────────────────────────────── */
.as-tip-single-wrap{padding-bottom:60px}

.as-tip-single-card{
  margin:16px 0;border-radius:12px !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:0 !important;
  padding:0 !important;
}
.as-tip-single-card .as-pred-card-top{padding:18px 18px 0}
.as-tip-single-card .as-pred-conf-ring{
  position:absolute;top:16px;right:16px;
  width:52px;height:52px;
}
.as-tip-single-card .as-pred-conf-ring span{font-size:15px}

.as-tip-single-meta-row{
  display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap;
}
.as-tip-sport-icon-wrap{
  display:flex;align-items:center;justify-content:center;
  width:24px;height:24px;border-radius:50%;
  background:rgba(255,255,255,.07);flex-shrink:0;
}
.as-tip-uid-badge{
  font-size:12px;font-weight:700;color:rgba(var(--as-text-rgb,248,250,252),.35);
  letter-spacing:.04em;
}
.as-tip-single-note{
  font-size:15px;color:rgba(var(--as-text-rgb,248,250,252),.6);
  margin:10px 0;padding:10px 12px;
  background:rgba(255,255,255,.04);border-radius:8px;
  border-left:2px solid rgba(255,255,255,.1);line-height:1.55;
}
.as-tip-single-counts{
  display:flex;align-items:center;gap:12px;
  padding:12px 18px 16px;border-top:1px solid rgba(255,255,255,.06);
  margin-top:12px;
}
.as-tip-single-comment-count{
  display:inline-flex;align-items:center;gap:5px;
  font-size:14px;font-weight:600;color:rgba(var(--as-text-rgb,248,250,252),.5);
}
.as-tip-delete-btn{
  display:inline-flex;align-items:center;gap:5px;
  background:transparent;border:1px solid rgba(239,68,68,.25);
  border-radius:7px;padding:5px 11px;
  font-size:13px;color:rgba(239,68,68,.65);cursor:pointer;
  transition:all .15s;margin-left:auto;
}
.as-tip-delete-btn:hover{border-color:#f87171;color:#f87171}

/* ── Tipster info card on single page ───────────────────── */
.as-tip-single-tipster{
  display:flex;align-items:flex-start;gap:13px;
  padding:16px 18px;
  background:var(--as-card);
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;margin:10px 0;flex-wrap:wrap;
}
.as-tip-single-tipster-avatar{
  width:44px;height:44px;border-radius:50%;
  background:var(--as-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:19px;font-weight:800;flex-shrink:0;overflow:hidden;
}
.as-tip-single-tipster-avatar img{width:100%;height:100%;object-fit:cover}
.as-tip-single-tipster-meta{flex:1;min-width:0}
.as-tip-single-tipster-name{
  font-size:16px;font-weight:700;color:var(--as-text);
  text-decoration:none;display:block;margin-bottom:2px;
}
.as-tip-single-tipster-name:hover{color:var(--as-primary)}
.as-tip-single-tipster-time{font-size:13px;color:rgba(var(--as-text-rgb,248,250,252),.4);margin-bottom:5px}
.as-tip-single-tipster-bio{
  font-size:14px;color:rgba(var(--as-text-rgb,248,250,252),.6);
  margin:0;line-height:1.5;
}

/* ── Comments section ────────────────────────────────────── */
.as-comments-section{margin-top:6px}
.as-comments-title{
  font-size:18px;font-weight:800;color:var(--as-text);
  margin:0 0 14px;padding-top:8px;
}

/* Comment form */
.as-comment-form{
  display:flex;gap:10px;margin-bottom:18px;align-items:flex-start;
}
.as-comment-form-avatar{
  width:34px;height:34px;border-radius:50%;flex-shrink:0;
  background:var(--as-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:700;overflow:hidden;
}
.as-comment-form-avatar img{width:100%;height:100%;object-fit:cover}
.as-comment-form-body{flex:1;min-width:0}
.as-comment-textarea{
  width:100%;box-sizing:border-box;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  border-radius:9px;padding:10px 13px;
  color:var(--as-text);font-size:15px;font-family:var(--as-font);
  resize:none;transition:border-color .15s;min-height:64px;
}
.as-comment-textarea:focus{outline:none;border-color:rgba(37,99,235,.5)}
.as-comment-form-foot{
  display:flex;align-items:center;justify-content:flex-end;
  gap:10px;margin-top:7px;
}
.as-comment-char-count{font-size:13px;color:rgba(var(--as-text-rgb,248,250,252),.35)}
.as-comment-login-prompt{
  padding:14px 0 18px;
  display:flex;align-items:center;justify-content:center;
}

/* Comments list */
.as-comments-list{display:flex;flex-direction:column;gap:0}

/* Single comment */
.as-comment{
  padding:13px 0;border-bottom:1px solid rgba(255,255,255,.05);
}
.as-comment:last-child{border-bottom:none}
.as-comment-head{display:flex;align-items:center;gap:9px;margin-bottom:7px}
.as-comment-avatar{
  width:30px;height:30px;border-radius:50%;flex-shrink:0;
  background:var(--as-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;overflow:hidden;
}
.as-comment-avatar img{width:100%;height:100%;object-fit:cover}
.as-comment-username{font-size:15px;font-weight:700;color:var(--as-text)}
.as-comment-time{font-size:13px;color:rgba(var(--as-text-rgb,248,250,252),.35);margin-left:4px}
.as-comment-body{font-size:15px;color:rgba(var(--as-text-rgb,248,250,252),.85);line-height:1.55;padding-left:39px}
.as-comment-actions{
  display:flex;align-items:center;gap:10px;padding-left:39px;margin-top:6px;
}
.as-comment-reply-btn,.as-comment-delete-btn{
  background:transparent;border:none;padding:0;
  font-size:13px;font-weight:600;cursor:pointer;
  transition:color .13s;
}
.as-comment-reply-btn{color:rgba(var(--as-text-rgb,248,250,252),.4)}
.as-comment-reply-btn:hover{color:var(--as-primary)}
.as-comment-delete-btn{color:rgba(239,68,68,.45)}
.as-comment-delete-btn:hover{color:#f87171}

/* Replies (indented) */
.as-comment-replies{
  padding-left:39px;margin-top:4px;
  border-left:2px solid rgba(255,255,255,.07);
  margin-left:15px;
}
.as-comment-replies .as-comment{padding:9px 0 9px 10px;border-bottom:none}
.as-comment-replies .as-comment-body{padding-left:39px}
.as-comment-replies .as-comment-actions{padding-left:39px}

/* Inline reply form */
.as-reply-form{
  display:flex;gap:8px;margin-top:8px;align-items:flex-start;padding-left:10px;
}
.as-reply-form .as-comment-form-body{flex:1}
.as-reply-textarea{
  width:100%;box-sizing:border-box;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  border-radius:8px;padding:8px 11px;
  color:var(--as-text);font-size:14px;font-family:var(--as-font);
  resize:none;min-height:52px;
}
.as-reply-textarea:focus{outline:none;border-color:rgba(37,99,235,.5)}
.as-reply-form-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:5px}

/* ── Profile pic / bio form ──────────────────────────────── */
.as-pic-upload-row{
  display:flex;align-items:flex-start;gap:14px;margin-bottom:16px;flex-wrap:wrap;
}
.as-pic-preview{
  width:64px;height:64px;border-radius:50%;flex-shrink:0;
  background:var(--as-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:27px;font-weight:800;overflow:hidden;
  border:2px solid rgba(255,255,255,.1);
}
.as-pic-preview img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.as-pic-initial{font-size:27px;font-weight:800}
.as-pic-url-wrap{flex:1;min-width:160px;display:flex;flex-direction:column;gap:5px}
.as-auth-field-label{font-size:14px;font-weight:600;color:rgba(var(--as-text-rgb,248,250,252),.65)}
.as-pic-hint{font-size:13px;color:rgba(var(--as-text-rgb,248,250,252),.35);margin-top:2px}
.as-bio-counter{font-size:13px;color:rgba(var(--as-text-rgb,248,250,252),.35);text-align:right;margin-top:3px}
.as-profile-form-hint{font-size:14px;color:rgba(var(--as-text-rgb,248,250,252),.45);margin:-6px 0 14px}

/* ── Responsive ─────────────────────────────────────────── */
@media(max-width:520px){
  .as-tip-single-card .as-pred-conf-ring{width:44px;height:44px}
  .as-tip-single-card .as-pred-conf-ring span{font-size:13px}
  .as-pic-upload-row{flex-direction:row}
  .as-comment-form{gap:8px}
}

/* ── Country / League labels v2.5.5 ─────────────────────────
   .as-tip-slim-cl  — slim card feed (tiny, near date)
   .as-tip-single-cl — single tip page (same row as date)
─────────────────────────────────────────────────────────── */
.as-tip-slim-cl{
  display:inline-flex;align-items:center;gap:3px;
  font-size:12px;font-weight:500;
  color:rgba(var(--as-text-rgb,248,250,252),.38);
  white-space:nowrap;max-width:120px;
  overflow:hidden;text-overflow:ellipsis;
}
.as-tip-single-cl{
  display:inline-flex;align-items:center;gap:4px;
  font-size:13px;font-weight:500;
  color:rgba(var(--as-text-rgb,248,250,252),.42);
  white-space:nowrap;
}

/* ── Advertisement Zones v2.6.4 ─────────────────────────────── */
.as-adzone { width:100%; box-sizing:border-box; }
.as-ad-label {
  text-align:center; font-size:12px; color:rgba(255,255,255,.28);
  margin:2px 0 6px; letter-spacing:.04em; text-transform:uppercase;
}

/* 3-Grid Banner — desktop constrained to content width */
.as-adzone-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  padding:8px 0 0;
  margin:0 auto 2px;
  max-width:860px;
  width:100%;
  padding-left:16px;
  padding-right:16px;
  box-sizing:border-box;
}
.as-adzone-grid.as-adzone-grid-1 { grid-template-columns:1fr; max-width:480px; }
.as-adzone-grid.as-adzone-grid-2 { grid-template-columns:repeat(2,1fr); max-width:860px; }

/* Card: no individual background, no border — image fills the card */
.as-ad-card {
  background:transparent;
  border:none;
  border-radius:10px;
  overflow:hidden;
  position:relative;
  transition:transform .15s;
}
.as-ad-card:hover { transform:translateY(-2px); }

/* Inner link: image fills, text/button overlay on top */
.as-ad-inner {
  display:block;text-decoration:none;color:#fff;
  position:relative;
}
.as-ad-img {
  width:100%;height:110px;object-fit:cover;border-radius:10px;display:block;
}

/* Gradient overlay for text readability */
.as-ad-inner::after {
  content:'';
  position:absolute;bottom:0;left:0;right:0;
  height:70%;
  background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.3) 60%,transparent 100%);
  border-radius:0 0 10px 10px;
  pointer-events:none;
}

/* Text/button sit above the gradient */
.as-ad-overlay {
  position:absolute;bottom:0;left:0;right:0;
  padding:8px 10px;z-index:2;
}
.as-ad-title {
  font-weight:700;font-size:14px;line-height:1.3;margin-bottom:4px;color:#fff;
}
.as-ad-desc {
  font-size:12px;color:rgba(255,255,255,.75);line-height:1.3;margin-bottom:6px;
}
.as-ad-btn {
  display:inline-block;
  background:var(--as-primary,#2563eb);
  color:#fff;
  font-size:13px;font-weight:600;
  padding:4px 10px;border-radius:5px;
  text-align:center;width:100%;box-sizing:border-box;
}

/* Small Banner */
.as-adzone-banner { padding:8px 16px; }
.as-adbanner-inner {
  display:flex;align-items:center;gap:12px;
  background:var(--as-card,#111118);
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;padding:10px 14px;
  text-decoration:none;color:var(--as-text,#f8fafc);
  transition:border-color .15s;
}
.as-adbanner-inner:hover { border-color:rgba(255,255,255,.22); }
.as-adbanner-inner img { height:44px;width:auto;border-radius:4px;flex-shrink:0; }
.as-adbanner-text { flex:1;font-size:15px;font-weight:600; }
.as-adbanner-btn {
  background:var(--as-primary,#2563eb);color:#fff;
  font-size:14px;font-weight:600;padding:6px 14px;border-radius:6px;
  white-space:nowrap;flex-shrink:0;
}

/* Sticky Bottom Bar */
.as-adzone-sticky {
  position:fixed;bottom:0;left:0;right:0;z-index:9999;
  background:var(--as-card,#111118);
  border-top:1px solid rgba(255,255,255,.1);
  padding:6px 16px 10px;
  display:flex;flex-direction:column;align-items:center;
  box-shadow:0 -4px 24px rgba(0,0,0,.5);
}
.as-adzone-sticky.as-ad-hidden { display:none; }
.as-adsticky-inner {
  display:flex;align-items:center;gap:12px;
  text-decoration:none;color:var(--as-text,#f8fafc);
  max-width:700px;width:100%;
}
.as-adsticky-inner img { height:50px;width:auto;border-radius:6px;flex-shrink:0; }
.as-adsticky-text { flex:1;font-size:15px;font-weight:600; }
.as-adsticky-btn {
  background:var(--as-accent,#F59E0B);color:#000;
  font-size:14px;font-weight:700;padding:7px 16px;border-radius:6px;white-space:nowrap;
}
.as-adsticky-close {
  position:absolute;top:6px;right:12px;
  background:transparent;border:none;color:rgba(255,255,255,.45);
  font-size:18px;cursor:pointer;line-height:1;padding:2px 4px;
}

/* Mobile bottom nav offset when sticky ad visible */
body.as-sticky-ad-visible .as-footer-bar { bottom:calc(72px + env(safe-area-inset-bottom,0px)); }

/* Responsive */
@media (max-width:640px) {
  /* Mobile: always 3-col, no gap between columns, compact */
  .as-adzone-grid {
    grid-template-columns:repeat(3,1fr);
    gap:0;
    padding:6px 12px 0;
  }
  .as-adzone-grid.as-adzone-grid-1 { grid-template-columns:1fr; }
  .as-adzone-grid.as-adzone-grid-2 { grid-template-columns:repeat(2,1fr); }
  .as-ad-img { height:90px; }
  /* Tighter overlay on small cards */
  .as-ad-overlay { padding:6px 7px; }
  .as-ad-title { font-size:12px; margin-bottom:3px; }
  .as-ad-desc { display:none; }
  .as-ad-btn { font-size:12px; padding:3px 6px; }
  .as-adsticky-inner img { height:40px; }
  .as-adsticky-text { font-size:14px; }
}
@media (min-width:641px) and (max-width:900px) {
  .as-adzone-grid { grid-template-columns:repeat(3,1fr); gap:8px; }
  .as-adzone-grid.as-adzone-grid-1 { grid-template-columns:1fr; }
  .as-adzone-grid.as-adzone-grid-2 { grid-template-columns:repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════════════════════
   AISports News – v2.6.8
   Follows the dark-card LiveScore design language of the plugin.
═══════════════════════════════════════════════════════════════════ */

/* ── News body wrapper ─────────────────────────────────────────── */
.as-news-body {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 14px 60px;
}

/* ── Filter bar (reuses as-sport-tabs-bar) ─────────────────────── */
.as-news-filter-bar {
  flex-wrap: wrap;
  gap: 6px;
  row-gap: 6px;
  margin-bottom: 0;
}

/* ── Page header ───────────────────────────────────────────────── */
.as-news-header {
  padding: 22px 0 10px;
}
.as-news-page-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--as-text, #F8FAFC);
  margin: 0 0 4px;
}
.as-news-page-sub {
  font-size: 15px;
  color: rgba(248,250,252,.5);
  margin: 0;
}

/* ── Badge pill ────────────────────────────────────────────────── */
.as-news-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  background: var(--as-primary, #2563EB);
  color: #fff;
  margin-bottom: 10px;
}
.as-news-badge-lg {
  font-size: 14px;
  padding: 4px 12px;
}

/* ── Feature article (first/hero post) ─────────────────────────── */
.as-news-feature {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 14px;
  overflow: hidden;
  background: var(--as-card, #111118);
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  color: inherit;
  margin: 16px 0 20px;
  transition: border-color .2s, transform .2s;
}
@media (min-width: 640px) {
  .as-news-feature {
    grid-template-columns: 320px 1fr;
    min-height: 220px;
  }
}
.as-news-feature:hover {
  border-color: var(--as-primary, #2563EB);
  transform: translateY(-2px);
}
.as-news-feature-img {
  background-size: cover;
  background-position: center;
  min-height: 200px;
  background-color: rgba(255,255,255,.04);
}
.as-news-no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}
.as-news-feature-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.as-news-feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--as-text, #F8FAFC);
  line-height: 1.35;
  margin: 0 0 6px;
}
.as-news-feature-excerpt {
  font-size: 15px;
  color: rgba(248,250,252,.6);
  line-height: 1.55;
  margin: 0 0 10px;
}
.as-news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(248,250,252,.45);
}
.as-news-read-more {
  color: var(--as-primary, #2563EB);
  font-weight: 600;
  margin-left: auto;
}

/* ── News grid ─────────────────────────────────────────────────── */
.as-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.as-news-grid-sm {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ── News card ─────────────────────────────────────────────────── */
.as-news-card {
  display: flex;
  flex-direction: column;
  background: var(--as-card, #111118);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.as-news-card:hover {
  border-color: var(--as-primary, #2563EB);
  transform: translateY(-2px);
}
.as-news-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.as-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.as-news-card:hover .as-news-card-img img { transform: scale(1.04); }
.as-news-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.as-news-card-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--as-primary, #2563EB);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}
.as-news-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.as-news-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--as-text, #F8FAFC);
  line-height: 1.4;
  margin: 0;
}
.as-news-card-excerpt {
  font-size: 14px;
  color: rgba(248,250,252,.55);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.as-news-card-date {
  font-size: 13px;
  color: rgba(248,250,252,.35);
  margin-top: auto;
}

/* ── Pagination ────────────────────────────────────────────────── */
.as-news-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 24px 0;
  flex-wrap: wrap;
}
.as-news-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: var(--as-card, #111118);
  color: var(--as-text, #F8FAFC);
  text-decoration: none;
  font-size: 15px;
  transition: background .15s, border-color .15s;
}
.as-news-page-btn:hover,
.as-news-page-btn.as-active {
  background: var(--as-primary, #2563EB);
  border-color: var(--as-primary, #2563EB);
  color: #fff;
}

/* ── Empty / 404 states ────────────────────────────────────────── */
.as-news-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(248,250,252,.4);
}
.as-news-empty p { margin-top: 12px; font-size: 16px; }
.as-news-404 { padding: 60px 20px; text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE ARTICLE
═══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ────────────────────────────────────────────────── */
.as-news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(248,250,252,.45);
  padding: 14px 0 0;
  flex-wrap: wrap;
}
.as-news-breadcrumb a {
  color: rgba(248,250,252,.55);
  text-decoration: none;
}
.as-news-breadcrumb a:hover { color: var(--as-primary, #2563EB); }
.as-news-breadcrumb span { opacity: .5; }

/* ── Article header ────────────────────────────────────────────── */
.as-news-article {
  max-width: 740px;
  margin: 0 auto;
}
.as-news-article-header {
  padding: 18px 0 14px;
}
.as-news-article-title {
  font-size: clamp(23px, 4vw, 31px);
  font-weight: 800;
  color: var(--as-text, #F8FAFC);
  line-height: 1.28;
  margin: 8px 0 12px;
}
.as-news-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-color);
  flex-wrap: wrap;
}
.as-news-updated {
  padding: 2px 8px;
  background: rgba(245,158,11,.15);
  color: #F59E0B;
  border-radius: 6px;
  font-size: 13px;
}
.as-news-kw-pill {
  padding: 2px 10px;
  background: rgba(37,99,235,.18);
  color: var(--as-primary, #2563EB);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Hero image ────────────────────────────────────────────────── */
.as-news-hero-img {
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 20px;
  background: rgba(255,255,255,.04);
}
.as-news-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 440px;
  object-fit: cover;
}

/* ── Share bar ─────────────────────────────────────────────────── */
.as-news-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.as-news-share-label {
  font-size: 14px;
  color: rgba(248,250,252,.4);
  margin-right: 2px;
}
.as-news-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
}
.as-news-share-btn:hover { opacity: .8; }
.as-share-x   { background: #000; color: #fff; }
.as-share-fb  { background: #1877f2; color: #fff; }
.as-share-wa  { background: #25d366; color: #fff; }
.as-share-copy { background: rgba(255,255,255,.1); color: var(--as-text, #F8FAFC); }

/* ── Article body ──────────────────────────────────────────────── */
.as-news-article-body {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(var(--as-text-rgb,248,250,252),.88);
}
.as-news-article-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--as-text, #F8FAFC);
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--as-primary, #2563EB);
}
.as-news-article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--as-text, #F8FAFC);
  margin: 22px 0 8px;
}
.as-news-article-body p {
  margin: 0 0 18px;
}
.as-news-article-body ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.as-news-article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: rgba(var(--as-text-rgb,248,250,252),.82);
}
.as-news-article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--as-primary, #2563EB);
}
.as-news-article-body strong { color: var(--as-text, #F8FAFC); }

/* ── YouTube embed ─────────────────────────────────────────────── */
.as-yt-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  margin: 20px 0 24px;
}
.as-yt-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Tags ──────────────────────────────────────────────────────── */
.as-news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 20px;
}
.as-news-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(37,99,235,.4);
  color: var(--as-primary, #2563EB);
  font-size: 14px;
  text-decoration: none;
  transition: background .15s;
}
.as-news-tag:hover {
  background: rgba(37,99,235,.15);
}

/* ── Related articles section ──────────────────────────────────── */
.as-news-related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.as-news-related-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--as-text, #F8FAFC);
  margin: 0 0 16px;
}

/* ── Back link ─────────────────────────────────────────────────── */
.as-news-back {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.as-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: var(--as-text, #F8FAFC);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background .15s;
}
.as-btn-secondary:hover { background: rgba(255,255,255,.14); }

/* ── Mobile tweaks ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .as-news-feature { grid-template-columns: 1fr; }
  .as-news-feature-img { min-height: 160px; }
  .as-news-grid { grid-template-columns: 1fr 1fr; }
  .as-news-article-title { font-size: 23px; }
  .as-news-article-body { font-size: 16px; }
}
@media (max-width: 420px) {
  .as-news-grid { grid-template-columns: 1fr; }
}

/* ── News list layout (uniform, image-left) ───────────────────────── */
.as-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}
.as-news-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--as-border, rgba(255,255,255,.08));
  text-decoration: none;
  color: inherit;
  transition: opacity .15s;
}
.as-news-list-item:first-child { border-top: 1px solid var(--as-border, rgba(255,255,255,.08)); }
.as-news-list-item:hover { opacity: .8; }
.as-news-list-thumb {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 66px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--as-card, #1E2535);
}
.as-news-list-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.as-news-list-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.as-news-list-badge {
  position: absolute;
  bottom: 4px; left: 4px;
  background: var(--as-accent, #3B82F6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 2px 5px;
  border-radius: 4px;
}
.as-news-list-info {
  flex: 1;
  min-width: 0;
}
.as-news-list-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--as-text, #F8FAFC);
  margin: 0 0 6px;
  /* Clamp to 2 lines — keeps every item same visual weight */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.as-news-list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.as-news-list-date {
  font-size: 13px;
  color: var(--as-muted, #64748B);
}
.as-news-list-read {
  font-size: 13px;
  font-weight: 600;
  color: var(--as-accent, #3B82F6);
}
@media (max-width: 480px) {
  .as-news-list-thumb { width: 72px; height: 54px; }
  .as-news-list-title { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════
   ELEGANCE LAYER v2.8.6 — FastNaija-inspired refinements
   Targeted overrides only. No structural rewrites.
   ─────────────────────────────────────────────────────────
   Goals: sharper typography, bolder contrast, softer radii,
   smoother transitions, richer shadows — matching the clean
   editorial authority of the FastNaija theme design language.
═══════════════════════════════════════════════════════════ */

/* ── Header: tighter height, stronger backdrop, richer border ── */
.as-header {
  height: 60px !important;
  background: var(--as-header-bg, rgba(10,10,15,.98)) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.45) !important;
}
:root { --as-header-h: 60px !important; }

/* ── Logo text: bolder, tighter tracking — matches fn-site-title weight ── */
.as-logo-text {
  font-size: 19px !important;
  font-weight: 900 !important;
  letter-spacing: -.04em !important;
}
.as-logo-icon {
  border-radius: 10px !important;
}
.as-logo-img {
  height: 200px !important;
}

/* ── Desktop nav links: crisper weight and hover feel ── */
.as-hnav-link {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: .005em !important;
  text-transform: uppercase !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  transition: all .18s ease !important;
}
.as-hnav-link:hover,
.as-hnav-link.active {
  background: rgba(var(--as-primary-rgb, 37,99,235), .14) !important;
}

/* ── Header badges: pill shape, stronger contrast ── */
.as-header-badge {
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  border-radius: 50px !important;
  padding: 6px 16px !important;
}
.as-header-badge-upgrade {
  box-shadow: 0 2px 10px rgba(37,99,235,.35) !important;
}

/* ── Avatar circle: subtle ring ── */
.as-header-profile {
  box-shadow: 0 0 0 2px rgba(255,255,255,.12) !important;
}

/* ── Ghost login link: lighter, cleaner ── */
.as-header-btn-ghost {
  font-weight: 600 !important;
  opacity: .75;
}
.as-header-btn-ghost:hover { opacity: 1 !important; }

/* ── Hamburger lines: slightly thicker for boldness ── */
.as-hamburger span {
  height: 2.5px !important;
  border-radius: 3px !important;
}

/* ── Sidebar: tighter, richer shadow ── */
.as-sidebar {
  width: 264px !important;
  box-shadow: 4px 0 40px rgba(0,0,0,.55) !important;
}
.as-sidebar-title {
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}
.as-sidebar-link {
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  margin: 1px 10px !important;
  padding: 10px 12px !important;
  transition: all .15s ease !important;
}
.as-sidebar-link:hover,
.as-sidebar-link.active {
  background: rgba(var(--as-primary-rgb, 37,99,235), .1) !important;
}
.as-sidebar-divider {
  margin: 10px 14px !important;
}

/* ── Page / content typography: richer heading weight ── */
.as-page-title,
.as-section-title,
.as-card-title,
.as-pred-title,
.as-community-title,
.as-news-title,
.as-home-section-title {
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
}

/* ── Cards: softer radius, more air, gentle depth ── */
.as-card,
.as-fixture-item,
.as-community-tip-card,
.as-news-card,
.as-home-feat,
.as-home-pred-item,
.as-home-sc-item,
.as-form-card,
.as-plans-card {
  border-radius: 12px !important;
  transition: box-shadow .2s ease, transform .18s ease !important;
}
.as-card:hover,
.as-fixture-item:hover,
.as-community-tip-card:hover,
.as-news-card:hover {
  box-shadow: 0 4px 28px rgba(0,0,0,.35) !important;
  transform: translateY(-1px) !important;
}

/* ── Primary action buttons: bolder, softer shape, glow shadow ── */
.as-btn,
.as-analyse-fab,
.as-auth-submit {
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  border-radius: 10px !important;
}
.as-btn:hover,
.as-analyse-fab:hover,
.as-auth-submit:hover {
  opacity: .9 !important;
  transform: translateY(-1px) !important;
}

/* ── Sport tabs bar: bolder active indicator ── */
.as-sport-tabs-link.active {
  font-weight: 800 !important;
}

/* ── Prediction results: team names pop more ── */
.as-pred-hero-title {
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
}
.as-fixture-team-row {
  font-weight: 700 !important;
}

/* ── Footer: FastNaija-style compact elegance ── */
.as-footer {
  border-top: 1px solid rgba(255,255,255,.07) !important;
  background: var(--as-card) !important;
}
.as-footer-site-name {
  font-weight: 900 !important;
  letter-spacing: -.04em !important;
}
.as-footer-copy {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(148,163,184,.5) !important;
}
.as-footer-pipe-links a {
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: color .18s ease !important;
}
.as-footer-pipe-links a:hover {
  color: var(--as-primary) !important;
}
.as-footer-pipe-links span {
  font-size: 13px !important;
  opacity: .25 !important;
}
.as-footer-bottom {
  padding: 16px 24px !important;
  gap: 10px !important;
}

/* ── Badge / pill labels: uppercase micro-caps ── */
.as-badge,
.as-pred-outcome-badge,
.as-confidence-chip,
.as-ls-league-country {
  font-weight: 800 !important;
  letter-spacing: .05em !important;
}

/* ── Loading / spinner text: softer ── */
.as-loading-text {
  font-weight: 700 !important;
}
.as-loading-sub {
  font-weight: 400 !important;
  opacity: .65 !important;
}

/* ── Paywall banner: warmer, more editorial ── */
.as-paywall {
  border-radius: 12px !important;
}
.as-paywall-text p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* ── Form inputs: softer, warmer ── */
.as-input,
.as-team-input,
.as-select {
  border-radius: 9px !important;
}

/* ── Auth card: more breathing room ── */
.as-auth-card {
  border-radius: 16px !important;
}

/* ── Modal sheets: refined radii ── */
.as-modal-box,
.as-results-modal-box {
  border-radius: 18px !important;
}
.as-modal-title {
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
}

/* ── Smooth global transition additions ── */
a { transition: color .15s ease, opacity .15s ease; }
button { transition: opacity .15s ease, transform .12s ease, background .15s ease; }

/* ── Responsive tweaks for elegance layer ── */
@media (max-width: 520px) {
  .as-logo-text { font-size: 17px !important; }
  .as-footer-bottom { padding: 14px 16px !important; }
  .as-footer-pipe-links a { font-size: 13px !important; }
}

/* ═══════════════════════════════════════════════════════════
   FastNaija-style Header & Footer — AISports v3.0.4
   ═══════════════════════════════════════════════════════════ */

/* ── Fixed header ── */
#as-masthead {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: var(--as-header-bg, rgba(10,10,15,.97)) !important;
  box-sizing: border-box !important;
}
.as-header-main {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  max-width: 1280px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  height: 60px !important;
  box-sizing: border-box !important;
}
/* offset page content below fixed header */
.as-page, .aisports-full-body > div:not(#as-masthead):not(.as-channel-bar):not(#as-search-form):not(.as-mobile-panel):not(.as-overlay) {
  padding-top: 60px !important;
}

/* ── Logo ── */
.as-site-branding {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}
.as-logo-link {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  color: #fff !important;
}
.as-logo-text {
  font-size: 25px !important;
  font-weight: 700 !important;
  color: #fff !important;
  white-space: nowrap !important;
}

/* ── Nav group (pushed right) ── */
.as-nav-group {
  display: flex !important;
  margin-left: auto !important;
  align-items: center !important;
  position: relative !important;
  box-sizing: border-box !important;
  gap: 4px !important;
}

/* ── Desktop nav menu ── */
.as-main-navigation { display: block !important; }
.as-menu {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
}
.as-menu-item {
  position: relative !important;
  margin: 0 !important;
}
.as-menu-item > a {
  display: flex !important;
  align-items: center !important;
  padding: 0 14px !important;
  height: 60px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  white-space: nowrap !important;
  transition: color .15s !important;
}
.as-menu-item > a:hover,
.as-menu-item.current-menu-item > a {
  color: var(--as-primary, #2563EB) !important;
}
/* Chevron */
.as-chevron {
  display: inline-block !important;
  margin-left: 5px !important;
  width: 11px !important;
  height: 11px !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}
/* Flyout sub-menu */
.as-menu .sub-menu {
  display: none !important;
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  z-index: 99999 !important;
  background: var(--as-header-bg, #0A0A0F) !important;
  border-top: 1px solid rgba(255,255,255,.1) !important;
  min-width: 16rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.as-menu .menu-item-has-children:hover > .sub-menu,
.as-menu .menu-item-has-children:focus-within > .sub-menu {
  display: block !important;
}
.as-menu .sub-menu li a {
  display: block !important;
  padding: 14px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  transition: background .15s !important;
}
.as-menu .sub-menu li:last-child a { border-bottom: none !important; }
.as-menu .sub-menu li a:hover {
  background: rgba(255,255,255,.08) !important;
  color: var(--as-primary, #2563EB) !important;
}

/* ── Upgrade badge (kept from old header) ── */
.as-header-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  margin-left: 4px !important;
}
.as-header-badge-upgrade {
  background: var(--as-primary, #2563EB) !important;
  color: var(--as-nav-btn-text, #fff) !important;
}
.as-header-badge-plan {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}

/* ── Profile / login icon ── */
.as-profile-icon-mobile,
.as-profile-icon-desktop {
  display: flex !important;
  align-items: center !important;
}
.as-profile-link {
  display: flex !important;
  align-items: center !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: opacity .15s !important;
  padding: 0 4px !important;
}
.as-profile-link:hover { opacity: .8 !important; }
.as-profile-icon-mobile  { display: flex !important; }
.as-profile-icon-desktop { display: none !important; }
.as-mobile-right-icons { display: flex !important; align-items: center !important; }
@media (min-width: 768px) {
  .as-profile-icon-mobile  { display: none !important; }
  .as-profile-icon-desktop { display: flex !important; }
  .as-mobile-right-icons { display: none !important; }
}

/* ── Search icons ── */
.as-search-toggle {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 6px !important;
  transition: opacity .15s !important;
}
.as-search-toggle:hover { opacity: .75 !important; }
.as-search-toggle svg { width: 24px !important; height: 24px !important; fill: #fff !important; }
.as-search-icon-mobile { display: none !important; }
.as-search-icon-desktop { display: flex !important; align-items: center !important; }

/* ── Burger ── */
.as-burger-wrap { display: none !important; }
.as-burger {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer !important;
  display: none !important;
  align-items: center !important;
  padding: 0 !important;
}
.as-burger svg { width: 32px !important; height: 32px !important; fill: #fff !important; }

/* ── Telegram / channel bar ── */
.as-channel-bar {
  display: flex !important;
  background: var(--as-primary, #2563EB) !important;
  justify-content: center !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.4) !important;
  position: relative !important;
  z-index: 100 !important;
}
.as-channel-bar-inner {
  max-width: 1280px !important;
  width: 100% !important;
  padding: 8px 40px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
.as-channel-bar-inner a {
  color: var(--as-nav-btn-text, #fff) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}
.as-channel-bar-inner a:hover { opacity: .85 !important; }

/* ── Search bar (below channel bar / header) ── */
.as-search-bar {
  background: var(--as-card, #111118) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  padding: 12px 40px !important;
  box-sizing: border-box !important;
}
.as-search-inner { max-width: 1280px !important; margin: 0 auto !important; }
.as-search-form {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.as-search-label { flex: 1 !important; }
.as-search-field {
  width: 100% !important;
  padding: 8px 14px !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 6px !important;
  background: rgba(255,255,255,.06) !important;
  color: var(--as-text, #F8FAFC) !important;
  font-size: 17px !important;
  outline: none !important;
}
.as-search-submit {
  background: var(--as-primary, #2563EB) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  color: #fff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
}
.as-search-submit svg { fill: #fff !important; width: 20px !important; height: 20px !important; }

/* ── Mobile panel ── */
.as-mobile-panel {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: 100% !important;
  background: var(--as-header-bg, rgba(10,10,15,.97)) !important;
  z-index: 100000 !important;
  overflow-y: auto !important;
  transform: translateY(-100%) !important;
  transition: transform .35s cubic-bezier(.4,0,.2,1) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.5) !important;
}
.as-mobile-panel.is-open { transform: translateY(0) !important; }
.as-mobile-panel-close-wrap {
  display: flex !important;
  justify-content: flex-end !important;
  padding: 12px 16px 0 !important;
}
.as-panel-close {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer !important;
  padding: 4px !important;
}
.as-mobile-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 12px 0 !important;
}
.as-mobile-list li { position: relative !important; }
.as-mobile-list li a {
  display: block !important;
  padding: 12px 20px !important;
  color: var(--as-nav-btn-text, #fff) !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  transition: background .15s !important;
}
.as-mobile-list li a:hover { background: rgba(255,255,255,.06) !important; }
.as-sub-toggle {
  position: absolute !important;
  right: 12px !important;
  top: 8px !important;
  background: transparent !important;
  border: none !important;
  color: var(--as-nav-btn-text, #fff) !important;
  cursor: pointer !important;
  padding: 4px !important;
}
.as-mobile-list .sub-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.as-mobile-list .sub-menu li a {
  padding-left: 36px !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--as-nav-btn-text, rgba(255,255,255,.75)) !important;
}
.as-mobile-divider {
  height: 1px !important;
  background: rgba(255,255,255,.1) !important;
  margin: 8px 20px !important;
}
.as-overlay {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: var(--as-header-bg) !important;
  z-index: 99999 !important;
}
.as-overlay.is-visible { display: block !important; }

/* ── Footer (FastNaija-style) ── */
.as-footer-outer {
  background: var(--as-header-bg) !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
.as-site-footer {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 18px 35px !important;
  box-sizing: border-box !important;
}
.as-site-info { text-align: center !important; }
.as-credit-link {
  color: rgba(255,255,255,.55) !important;
  font-size: 15px !important;
  line-height: 2 !important;
}
.as-credit-link a {
  color: rgba(255,255,255,.75) !important;
  text-decoration: none !important;
  transition: color .15s !important;
}
.as-credit-link a:hover { color: var(--as-primary, #2563EB) !important; }
.as-footer-pipe { color: rgba(255,255,255,.3) !important; }

/* ── Mobile overrides ── */
@media (max-width: 767px) {
  .as-header-main {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    grid-template-areas: "left center right" !important;
    align-items: center !important;
    padding: 0 16px !important;
  }
  .as-search-icon-mobile {
    grid-area: left !important;
    justify-self: start !important;
    display: flex !important;
    align-items: center !important;
  }
  .as-site-branding {
    grid-area: center !important;
    justify-self: center !important;
  }
  .as-nav-group { display: none !important; }
  .as-mobile-right-icons {
    grid-area: right !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
  }
  .as-profile-icon-mobile {
    display: flex !important;
    align-items: center !important;
  }
  .as-burger-wrap {
    display: flex !important;
    align-items: center !important;
  }
  .as-burger { display: flex !important; }
  .as-search-icon-desktop { display: none !important; }
  .as-search-bar { padding: 10px 16px !important; }
  .as-channel-bar-inner { padding: 8px 16px !important; }
  .as-site-footer { padding: 16px 20px !important; }
  .as-credit-link { font-size: 14px !important; }
}

/* ── Persistent PWA "Install App" button ── */
#asInstallAppBtn{
  display:none;align-items:center;gap:8px;
  position:fixed;bottom:24px;left:20px;z-index:900;
  background:var(--as-card,#16161f) !important;color:var(--as-text,#fff) !important;
  font-family:var(--as-font) !important;font-size:14px;font-weight:700;
  padding:11px 18px;border:1px solid rgba(255,255,255,.14);border-radius:50px;cursor:pointer;
  box-shadow:0 4px 24px rgba(0,0,0,.4);
  transition:opacity .15s,transform .12s;
}
#asInstallAppBtn svg{flex-shrink:0}
#asInstallAppBtn:hover{opacity:.9;transform:translateY(-1px)}
#asInstallAppBtn:active{transform:scale(.97)}
@media(max-width:600px){
  #asInstallAppBtn{bottom:16px;left:14px;padding:10px 16px;font-size:13px}
}

/* ── Ghost button (profile photo upload, etc.) ── */
.as-auth-btn-ghost{
  display:inline-block;width:auto;padding:9px 16px;
  background:transparent !important;color:var(--as-text) !important;
  font-size:13px;font-weight:700;border:1px solid rgba(255,255,255,.18);border-radius:var(--as-radius-sm,8px);
  cursor:pointer;transition:opacity .15s,border-color .15s;font-family:inherit;
}
.as-auth-btn-ghost:hover{opacity:.85;border-color:rgba(255,255,255,.32)}
.as-auth-btn-ghost:disabled{opacity:.4;cursor:not-allowed}
.as-pic-hint.as-pic-hint-error{color:#ef4444 !important}

/* ── Avatar image (real uploaded photo, when available) ── */
.as-tip-avatar-img{
  width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0;display:block;
}
.as-pic-preview img,.as-pic-preview .as-tip-avatar-img{width:100%;height:100%;object-fit:cover}

/* ── Tweet-style community post card ── */
.as-post-card{
  flex-direction:column;align-items:stretch;gap:0;display:flex;
}
.as-post-card-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.as-post-avatar{width:36px;height:36px;font-size:15px}
.as-post-card-meta{flex:1;min-width:0;display:flex;flex-direction:column}
.as-post-username{font-size:14px;font-weight:700;color:var(--as-text) !important}
.as-post-time{font-size:12px;color:var(--as-muted) !important}
.as-post-card-text{
  font-size:15px;line-height:1.5;color:var(--as-text) !important;
  white-space:pre-wrap;word-break:break-word;margin-bottom:8px;
}

/* ── Sports Tip / Post toggle (submit modal) ── */
.as-tip-type-toggle{display:flex;gap:8px;margin-bottom:16px}
.as-tip-type-btn{
  flex:1;padding:10px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.12);
  background:transparent;color:var(--as-muted) !important;font-weight:700;font-size:14px;
  cursor:pointer;transition:all .15s;font-family:inherit;
}
.as-tip-type-btn .as-tip-type-hint{font-weight:400;font-size:11px;opacity:.7}
.as-tip-type-btn.active{
  background:var(--as-primary) !important;color:#fff !important;border-color:var(--as-primary);
}

/* ── Tweet-style community post (single page) ── */
.as-tip-single-note-post{
  font-size:19px;font-weight:500;color:var(--as-text) !important;
  background:none;border-left:none;padding:6px 0 14px;margin:4px 0 6px;
  line-height:1.45;white-space:pre-wrap;word-break:break-word;
}
