/* Additions on top of the original stylesheet (app.css).
   Links replace the original's <button>s, so reset their link styling. */
a.fip-row, a.fip-quick-btn, a.navbar-tab, a.navbar-subnav-btn, a.sidebar-mobile-nav-btn,
a.sidebar-item, a.sidebar-vip-card, a.sidebar-promo, a.navbar-logo, a.navbar-mobile-brand,
a.fair-provider-card, a.upcoming-top-all, a.wallet-action, a.cl-rail-item, a.cl-tab,
a.cl-view-all, a.cb-plain { color: inherit; text-decoration: none; }
a.fip-row { display: flex; width: 100%; }
.sidebar-link-fill { display: contents; color: inherit; text-decoration: none; }
:where(h1, h2, h3).fip-head-sport, :where(h1).market-title-name { font-size: inherit; font-weight: inherit; line-height: inherit; }
.fip-head-sport a { color: inherit; text-decoration: none; }
.navbar-search { margin: 0; }

/* Admin-editable SEO section */
.cb-seo { margin: 24px 12px 32px; padding: 20px 22px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-primary); line-height: 1.6; }
.cb-seo-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.cb-seo-intro { color: var(--text-secondary); margin-bottom: 12px; }
.cb-seo-body h2 { font-size: 18px; margin: 16px 0 6px; }
.cb-seo-body h3 { font-size: 15px; margin: 12px 0 4px; }
.cb-seo-body p, .cb-seo-body ul, .cb-seo-body ol { margin: 0 0 10px; }
.cb-seo-body ul, .cb-seo-body ol { padding-left: 20px; }
.cb-seo-body a { color: var(--ui-accent); }
.cb-seo-faq { margin-top: 16px; }
.cb-seo-faq details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.cb-seo-faq details summary::-webkit-details-marker { display: none; }
.cb-seo-faq .faq-item-a { padding-top: 6px; }

/* Breadcrumbs */
.cb-crumbs { padding: 8px 12px 0; font-size: 12px; color: var(--text-muted); }
.cb-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.cb-crumbs li + li::before { content: "›"; margin-right: 6px; }
.cb-crumbs a { color: inherit; text-decoration: none; }
.cb-crumbs a:hover { text-decoration: underline; }

/* Betslip selection (the original fills this from its API) */
.cb-slip { padding: 12px; display: grid; gap: 8px; font-size: 13px; color: var(--text-primary); }
.cb-slip--back { border-left: 4px solid var(--back-bg); }
.cb-slip--lay { border-left: 4px solid var(--lay-bg); }
.cb-slip-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.cb-slip-x { background: none; border: 0; font-size: 18px; cursor: pointer; color: inherit; }
.cb-slip-market { color: var(--text-muted); font-size: 12px; }
.cb-slip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cb-slip-row label { display: grid; gap: 4px; font-size: 11px; color: var(--text-secondary); }
.cb-slip-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-slip-chips button { flex: 1; padding: 6px 0; border-radius: 6px; border: 1px solid var(--border-color); background: var(--bg-elevated); cursor: pointer; color: inherit; }
.cb-auth-note { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: var(--theme-color-light); font-size: 13px; text-align: center; }
.cb-auth-note a { color: var(--ui-accent); font-weight: 700; }
.sidebar-backdrop { position: fixed; inset: 0; z-index: 998; background: rgba(0,0,0,.45); }

/* Internal link lists (competitions etc.) */
.cb-links ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }
.cb-links a { color: var(--ui-accent); text-decoration: none; font-weight: 600; }
.cb-links span { color: var(--text-muted); font-size: 12px; }

/* Headings we promoted from span/div for SEO keep the original look */
:where(h2).odds-type-section-header, :where(h3).fancy-subsection-title { font-size: inherit; font-weight: inherit; line-height: inherit; }
a.odds-market-terms-btn { display: inline-flex; color: inherit; }
:where(h3).casino-tile-title { font-size: inherit; font-weight: inherit; line-height: inherit; }
.cl-row--all { flex-wrap: wrap; overflow: visible; }
.faq-list details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.faq-list details summary::-webkit-details-marker { display: none; }

/* FAQ answers with steps / bullets (components/InfoPage.js FaqAnswer) */
.faq-item-a p { margin: 0 0 8px; }
.faq-item-a p:last-child { margin-bottom: 0; }
.faq-item-a ol, .faq-item-a ul { margin: 4px 0 10px; padding-left: 22px; }
.faq-item-a ol { list-style: decimal; }
.faq-item-a ul { list-style: disc; }
.faq-item-a li { margin: 4px 0; }
.trust-faq .info-section > h2 { margin-top: 8px; }

/* Play Now is a link (WhatsApp) — keep the button look */
a.casino-tile-play { display: block; text-align: center; text-decoration: none !important; }

/* ============================================================
   Sky Exchange colour theme — override the cricbet99 palette.
   Same layout; gold (#ffb80c) accent + dark navy chrome.
   ============================================================ */
:root{
  --primary:#ffb80c; --primary-lite:#ffcf4d;
  --ui-accent:#ffb80c; --ui-accent-lite:#ffcf4d;
  --primary-foreground:#141922;
  --theme-color:#ffb80c;
  --accent-purple:#ffb80c; --accent-purple-hover:#ffcf4d;
  --cta:#ffb80c; --cta-lite:#ffd873; --cta-deep:#c9920f;
}
/* dark navy top bar + sub nav */
.navbar, .navbar-subnav{ background:#141b24 !important; border-bottom:1px solid #273140 !important; color:#e8edf2 !important; }
.navbar-search-input{ background:#1e2733 !important; color:#e8edf2 !important; border-color:#2d3a49 !important; }
.navbar-tab, .navbar-subnav-btn, .navbar-subnav-label, .navbar-icon-btn, .language-picker-trigger{ color:#cfd8e3 !important; }
.navbar-tab.active, .navbar-subnav-btn.active, .navbar-tab:hover, .navbar-subnav-btn:hover{ color:#ffb80c !important; }
.logo-text{ color:#fff !important; }
/* Sign up = gold pill, sign in = light outline */
.login-btn-signup{ background:#ffb80c !important; color:#141922 !important; }
.login-btn-secondary{ color:#fff !important; border-color:#ffffff66 !important; }

/* Diamond-skin core colours -> Sky Exchange (ui-violet is the active skin).
   Structural bars/strips = dark navy; GOLD is the accent (active tabs, buttons,
   highlights use --theme-color/--primary/--dmd-accent, set to gold above). */
html.ui-violet.ui-violet.ui-diamond.ui-diamond.ui-classic{
  --dmd-nav:#ffb80c;       /* was purple #8000ff -> Sky Exchange gold */
  --dmd-header:#10171f;
  --dmd-panel:#1e2733;
  --dmd-accent:#ffb80c;
  --dmd-hot:#ffb80c;
  --dmd-on-dark:#ffffff;   /* light text for the DARK bars (ticker, sidebar, header); gold bars get dark text via the rules below */
}
/* make sure every bar/title on the gold --dmd-nav has readable dark text */
.footer-trust-title, .footer-payments-title, .app-footer-col h4,
.fip-quick-btn, .diamond-home .fip-quick-btn, .navbar-subnav-btn.active,
.fip-head-sport, .fancy-head, .odds-type-section-header{ color:#141922 !important; }

/* dark text on the gold hc- badges (homepage content) */
.hc-step-n, .hc-screen-head, .hc-promo-tag, .hc-chip{ color:#141922 !important; }
.hc-eyebrow{ color:#c9920f !important; }

/* text sitting on gold elements must be dark to stay readable */
.fip-sport.is-active, .fip-sport.is-active *,
.hc-btn--violet, .hc-btn--violet *,
.hc-us, .hc-us *, .hc-app{ color:#141922 !important; }

/* ---- comprehensive contrast pass: dark text on every gold element ---- */
/* tournament quick-link bars: all consistent gold + dark text (no odd navy one) */
.fip-quick-btn, .fip-quick-btn.is-active, .fip-quick-btn.active, .fip-quick-btn[aria-current]{ background:#ffb80c !important; }
.fip-quick-btn, .fip-quick-btn *{ color:#141922 !important; }
/* gold section-header rails (Trending Games, Live Casino Games, View all) */
.upcoming-top-title, .upcoming-top-title *, .upcoming-top-all, .upcoming-top-all *{ color:#141922 !important; }
/* homepage hero + final CTA keep a dark backdrop for their white text */
.hc-hero{ background:linear-gradient(135deg,#1a2230,#0f1620) !important; }
.hc-final{ background:linear-gradient(135deg,#141b24,#0f1620) !important; }

/* Sign In button: transparent outline on the dark header (was white-on-white) */
.login-btn-secondary{ background:transparent !important; color:#fff !important; border:1.5px solid rgba(255,255,255,.6) !important; }

/* gold casino-provider cards: dark text */
.fair-provider-name, .fair-provider-count, .fair-provider-card .fair-provider-name{ color:#141922 !important; }

/* last one: hero mockup match label (gold-on-white) -> dark */
.hc-bl-match{ color:#141922 !important; }

/* ---- new homepage-content components (Google-doc sections) ---- */
/* Top-10 trending list: numbered cards */
.hc-trend{ list-style:none; margin:18px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:10px; counter-reset:hct; }
.hc-trend li{ counter-increment:hct; position:relative; padding:13px 15px 13px 48px; background:#fff; border:1px solid #e7e4ef; border-radius:10px; font-size:14px; line-height:1.55; }
.hc-trend li::before{ content:counter(hct); position:absolute; left:12px; top:12px; width:26px; height:26px; border-radius:50%; background:#ffb80c; color:#141922; font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; }
.hc-trend li b{ color:#141922; }
/* Player review cards (on .hc-card) */
.hc-review{ display:flex !important; flex-direction:column; gap:4px; }
.hc-review p{ font-style:italic; margin:0 0 6px; }
.hc-review strong{ color:#141922; }
.hc-review em{ color:#6b7280; font-size:12.5px; font-style:normal; }
/* Disclaimer / copyright block */
.hc-disclaimer{ max-width:1180px; margin:10px auto 0; padding:18px 20px; border:1px solid #e7e4ef; border-radius:12px; background:#f7f8fa; color:#5b616b; font-size:12.5px; line-height:1.75; }
.hc-disclaimer h2{ font-size:15px; margin:0 0 8px; color:#141922; }
.hc-disclaimer p{ margin:0 0 8px; }
.hc-disclaimer p:last-child{ margin-bottom:0; }
.hc-disclaimer strong{ color:#141922; }


/* ---- hc- content variables for subpage SEO/info bodies (NOT under .hc) ---- */
.cb-seo-body, .cb-info-body{
  --hc-violet:#ffb80c; --hc-violet-2:#e0a500; --hc-violet-soft:#fff6e0;
  --hc-ink:#0b0b12; --hc-text:#1f2230; --hc-muted:#5d6273; --hc-line:#e6e3ef;
  --hc-card:#ffffff; --hc-bg:#f7f5fb; --hc-back:#a4d2f4; --hc-back-ink:#0b4f86;
  --hc-lay:#f7c5cf; --hc-lay-ink:#9a1f3b; --hc-green:#06a73f; --hc-wa:#25d366;
  --hc-gold:#f5b974; --hc-gold-2:#d8862a; --hc-yellow:#ffc81a;
  color:var(--hc-text); line-height:1.55;
}
.cb-seo-body .hc-sec, .cb-info-body .hc-sec{ max-width:1180px; margin:0 auto 30px; }

/* info-card meta label: gold was too light on white -> dark amber for contrast */
.info-card-meta{ color:#8a5e00 !important; }

/* internal content links (keyword -> related page) */
.cb-seo-body .cb-ilink, .cb-info-body .cb-ilink, .hc .cb-ilink{ color:#8a5e00 !important; font-weight:700; text-decoration:underline; text-underline-offset:2px; }
.cb-seo-body .cb-ilink:hover, .cb-info-body .cb-ilink:hover, .hc .cb-ilink:hover{ color:#6d4a00 !important; }

/* homepage step sections (Open Account / First Bet): 3 per row = clean 3x3 blocks, no 5+1 orphan gap */
.hc .hc-steps{ grid-template-columns:repeat(3,1fr) !important; }
.hc .hc-steps li::after{ display:none !important; }
@media (max-width:860px){ .hc .hc-steps{ grid-template-columns:repeat(2,1fr) !important; } }
@media (max-width:540px){ .hc .hc-steps{ grid-template-columns:1fr !important; } }

/* homepage hero H1: cap at 32px (was 46px) */
.hc .hc-hero-copy h1{ font-size:32px !important; line-height:1.2 !important; }
@media (max-width:560px){ .hc .hc-hero-copy h1{ font-size:26px !important; } }
