/* NEFUTBOL V151 - Visual restoration from the user's V139 design reference.
   Keep V150 endpoints and app functionality unchanged. */
:root{--bg:#070c17;--bg2:#0b1222;--side:#080e1c;--panel:#101b2d;--card:#132036;--card2:#19283b;--line:#2e4059;--text:#f6f9ff;--sub:#ccd7e6;--muted:#91a3ba;--lime:#caff37;--sky:#65e7ff;--magenta:#d784ff;--shadow:0 13px 38px #0207116b;--radius:18px}
body{background:#070c17}
main#app{background:radial-gradient(ellipse at 100% 4%,#421d6422,transparent 32%),radial-gradient(ellipse at 0% 95%,#18354b20,transparent 32%),var(--bg)}
#site-sidebar{background:linear-gradient(to bottom,#060d18 0%,#0b1120 53%,#111027ea 75%,#090d1ac0 100%),url('/assets/partners/left-football.webp') center bottom/100% 205px no-repeat;box-shadow:5px 0 24px #0005}
#site-sidebar .brand{height:106px;padding:10px 15px;background:#080e1b90}
#site-sidebar .brand img{max-width:205px;max-height:92px}
#site-sidebar nav{padding:16px 11px;gap:5px}
#site-sidebar .navlink{border-radius:11px;min-height:43px;font-weight:850;color:#c8d1e0}
#site-sidebar .navlink.active{border:1px solid #e9ff97;background:linear-gradient(115deg,#d9ff55,#a5ed2e);box-shadow:0 2px 15px #b0e72c36;color:#091723}
#site-sidebar .sidebar-foot{min-height:135px;display:flex;justify-content:center;align-items:end;border:0;padding:15px 9px;font-family:var(--display);font-size:17px;line-height:.95;letter-spacing:.06em;color:#d8e5fa;text-shadow:0 2px 9px #020511}
#site-header{border-bottom-color:#374157;background:#0b1024ed;box-shadow:0 5px 35px #0004}
.site-search{background:linear-gradient(100deg,#151b33,#12132a);border:1px solid #aa79f48a}
.radio{background:linear-gradient(110deg,#0d1a1d,#13243b);border-color:#6ec89799}
.icon-btn,.header-lang,.my-profile{border-radius:11px;background:#131b30}
.my-profile{border-radius:30px;border-color:#a0dc4588}
.eyebrow{color:#5ee5ff;font-size:10px;letter-spacing:.13em}
h1,h2,h3{letter-spacing:-.01em;text-transform:uppercase;text-wrap:balance}
h1{line-height:.92}h2{line-height:.96}
.section{margin-top:33px}.section-head{margin-bottom:17px}
.panel,.social-post,.calendar-match,.coupon,.history-day,.person-card{background:linear-gradient(155deg,#121f32,#0f192a);border:1px solid #4a5c78a1;border-radius:19px 8px 19px 8px;box-shadow:0 12px 32px #0004}
.panel:hover,.person-card:hover{border-color:#a2de58ab}
.btn{border-radius:10px;font-weight:900;letter-spacing:.03em}.btn.primary{background:linear-gradient(115deg,#d7ff59,#a6f131);color:#102016;border-color:#c3ff57}
/* V139 original photographic hero, framing and lighting */
.hero{min-height:405px;padding:clamp(25px,4vw,55px);border:1px solid #b5da6e8c;border-radius:33px 55px 35px 56px;background:linear-gradient(105deg,#070c1bf7 0%,#0d1025e9 35%,#10132daa 57%,#08111b5c 100%),url('/assets/v132/stadium-night.svg') center/cover no-repeat;box-shadow:0 26px 68px #02071299;isolation:isolate}
.hero::before{content:'';position:absolute;top:0;bottom:0;right:0;width:58%;background:url('/assets/v134/hero-original.webp') right 43%/cover no-repeat;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 19%,#000);-webkit-mask-image:linear-gradient(90deg,transparent,#000 19%,#000)}
.hero-content{max-width:620px}.hero h1{font-style:italic;font-size:clamp(64px,7.4vw,106px);line-height:.88;text-shadow:2px 4px 0 #020513a8}.hero h1 em{color:#caff37}
.hero p{max-width:450px;color:#f2f6ff;text-shadow:0 1px 10px #000b}
.hero .btn{border-radius:9px}
/* Distinct V139 image tiles rather than generic cards */
.feature{min-height:175px;padding:17px 17px 15px;border-radius:19px 8px 19px 8px;border:1px solid #b6d9ff75;box-shadow:0 13px 33px #0009;transition:transform .2s,box-shadow .2s}
.feature:hover{transform:translateY(-4px);box-shadow:0 18px 43px #000b}
.feature:before{background-image:linear-gradient(90deg,#08111fe6 0%,#111a2cb0 50%,#11132b35 100%),var(--feature);transition:transform .3s}
.feature:nth-child(1){border-color:#a7ff4a;background:#071713}.feature:nth-child(1):before{background-image:linear-gradient(90deg,#071713ef 0%,#071913a8 51%,transparent 100%),url('/assets/v134/oracle-scene.webp')}
.feature:nth-child(2){border-color:#e66aff;background:#1a0c30}.feature:nth-child(2):before{background-image:linear-gradient(90deg,#1a0c30eb 0%,#250a40ac 51%,transparent 100%),url('/assets/v134/battle-clash.webp')}
.feature:nth-child(3){border-color:#f780d6;background:#2b0d2d}.feature:nth-child(3):before{background-image:linear-gradient(90deg,#2b0d2deb 0%,#481634a8 54%,transparent 100%),url('/assets/v134/feed-scene.webp')}
.feature h3{font-style:italic;font-size:clamp(29px,3vw,40px);line-height:.91;text-shadow:2px 3px 0 #090716;margin-bottom:8px}
.feature p{line-height:1.3;color:#fff;font-size:11px;max-width:79%;text-shadow:0 1px 5px #000}
.feature .eyebrow{color:#d8ff5c;font-size:9px}
/* Full-image V139 editorial news instead of empty image strip + separate body */
.news-card.panel{position:relative;min-height:265px;height:265px;display:flex;flex-direction:column;justify-content:flex-end;padding:0;overflow:hidden;background:#142335;border:1px solid #7f93a26d;border-radius:17px 7px 17px 7px;box-shadow:0 13px 32px #02071188;isolation:isolate;transition:transform .2s,border-color .2s}
.news-card.panel:nth-child(3n+2){border-radius:8px 18px 8px 18px}
.news-card.panel:hover{transform:translateY(-4px);border-color:#caff37}
.news-card .news-art{position:absolute;inset:0;width:100%;height:100%;min-height:100%;z-index:-1;background:radial-gradient(ellipse at 70% 32%,#575cab4b,transparent 56%),linear-gradient(135deg,#122b40,#26132f);background-position:center;background-size:cover;transition:transform .3s}
.news-card:hover .news-art{transform:scale(1.03)}
.news-card .news-art:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0b102217 0%,#09102322 20%,#050a15cc 70%,#030611ed 100%);pointer-events:none}
.news-card .news-art span{z-index:2;left:14px;top:14px;bottom:auto;background:#ceff49;color:#0c1710;border:0;border-radius:30px;padding:6px 10px;font-size:9px}
.news-card:nth-child(3n+1) .news-art span{background:#d57aff;color:#190b2b}
.news-card:nth-child(3n) .news-art span{background:#ff8cba;color:#290a1d}
.news-card .news-copy{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;min-height:124px;padding:16px 15px 17px;background:transparent}
.news-card .news-copy h3{font-family:var(--display);font-weight:900;font-style:italic;line-height:1.05;letter-spacing:.005em;font-size:clamp(22px,2.15vw,30px);text-shadow:0 2px 9px #000}
.news-card .news-copy .statline{color:#dee8fa;font-size:10px;text-shadow:0 1px 7px #000}
.news-card .news-copy .link-arrow{color:#caff37;font-size:10px;font-weight:900;text-transform:uppercase}
/* Retain detailed V148 Oracle panels, but align them to V139 visual language */
.oracle-hero{min-height:305px;border:1px solid #a7ff4a;border-radius:29px 10px 29px 10px;background:linear-gradient(90deg,#071713f5,#071913c7 55%,transparent),url('/assets/v134/oracle-scene.webp') right center/cover no-repeat}
.battle-hero{border:1px solid #e66aff;border-radius:29px 10px 29px 10px;background:linear-gradient(90deg,#1a0c30f5,#250a40bd 52%,transparent),url('/assets/v134/battle-clash.webp') right center/cover no-repeat}
.oracle-coupon{border-radius:19px 8px 19px 8px}
.oracle-leg{border-radius:14px 6px 14px 6px}
.oracle-selection,.oracle-pick{border-color:#5addba9c}
.league-card{border-radius:19px 8px 19px 8px;box-shadow:0 12px 32px #0008}
.league-card h3{font-style:italic}
.social-post{padding:21px}.social-post h3{text-transform:none}
[data-theme='light']{--bg:#eff3f9;--bg2:#e6edf6;--panel:#fff;--card:#f6faff;--text:#162334;--sub:#3d5167;--muted:#66778d;--line:#bdcde0}
[data-theme='light'] .news-card .news-copy h3,[data-theme='light'] .news-card .news-copy .statline{color:#fff}
[data-theme='light'] .news-card .news-copy .link-arrow{color:#caff37}
[data-theme='light'] #site-sidebar{background:linear-gradient(to bottom,#fff 0%,#eaf0fa 65%,#cbd5ebc7 100%),url('/assets/partners/left-football.webp') center bottom/100% 205px no-repeat}
[data-theme='light'] #site-sidebar .navlink{color:#24324a}[data-theme='light'] #site-sidebar .navlink.active{color:#081716}
[data-theme='light'] #site-header{background:#ffffffed}
[data-theme='light'] .feature h3,[data-theme='light'] .feature p,[data-theme='light'] .hero h1,[data-theme='light'] .hero p{color:#fff}
@media(max-width:1100px){.news-card.panel{height:245px;min-height:245px}.hero{min-height:355px}.feature{min-height:165px}.feature h3{font-size:30px}}
@media(max-width:900px){#site-sidebar .brand{height:94px}.hero::before{width:70%;opacity:.7}.news-card.panel{height:255px;min-height:255px}.news-card .news-copy h3{font-size:25px}}
@media(max-width:600px){.hero{min-height:355px;border-radius:24px 34px 24px 34px;padding:23px}.hero::before{width:95%;opacity:.39}.hero h1{font-size:clamp(59px,13.5vw,88px)}.hero p{max-width:95%}.feature{min-height:158px}.news-card.panel{height:255px;min-height:255px}.news-card .news-copy h3{font-size:25px}.oracle-hero,.battle-hero{border-radius:23px 8px 23px 8px}}

/* V152: English-only chrome, clean sidebar and readable light theme. */
.header-lang{display:none!important}
#site-sidebar,[data-theme='light'] #site-sidebar{background-image:none!important}
#site-sidebar .sidebar-foot{display:none!important}
/* V152 homepage: compact forecast strip just below the hero, without the old generic standards panel. */
.home-picks{margin-top:12px;margin-bottom:12px;padding:14px 17px;border:1px solid var(--line);border-radius:15px;background:var(--panel)}
.home-picks .section-head{margin-bottom:8px;align-items:center}.home-picks h2{font-size:clamp(22px,2.2vw,30px)}
.home-picks .eyebrow{font-size:9px}.home-picks-grid{display:block}
.home-picks #home-free{padding:8px!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;background:transparent;border:0;box-shadow:none}
.home-picks .oracle-single{min-width:0;min-height:0;margin:0;padding:12px 14px;border-radius:10px}
.home-picks .oracle-single strong{font-size:12px}.home-picks .oracle-pick{padding:9px;margin-top:7px}
.home-picks .oracle-single .analysis-trigger{font-size:10px;padding:6px 10px}
/* News: crisp native-resolution images with headlines anchored to the bottom. */
.news-card.panel{justify-content:flex-end}
.news-card .news-art{z-index:0;overflow:hidden;transform:none!important}
.news-card .news-art .news-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;transform:none}
.news-card .news-art:after{background:linear-gradient(to bottom,#07101b22 0%,#07101b08 30%,#040a15ba 63%,#020611f7 100%)}
.news-card .news-copy{z-index:1;margin-top:auto;min-height:0!important;justify-content:flex-end;padding:16px 16px 17px}
.news-card .news-copy h3{font-size:clamp(19px,1.6vw,25px);max-width:100%;overflow-wrap:anywhere;line-height:1.09;margin:0;color:#fff}
.news-card .news-copy .statline{color:#fff}.news-card .news-copy .link-arrow{color:#d7ff58}
/* Light mode fully readable: dark surfaces keep white text, light surfaces keep dark text. */
[data-theme='light'] main#app{background:#edf2f9!important;color:#17283b}
[data-theme='light'] .section h2,[data-theme='light'] main#app>div h2,[data-theme='light'] .section-head h2{color:#14253b}
[data-theme='light'] .panel,[data-theme='light'] .social-post,[data-theme='light'] .history-day,[data-theme='light'] .calendar-match,[data-theme='light'] .person-card{background:#fff;border-color:#b7c7dc;color:#16283f;box-shadow:0 8px 24px #243f5e13}
[data-theme='light'] .panel h2,[data-theme='light'] .panel h3,[data-theme='light'] .panel strong,[data-theme='light'] .social-post h3{color:#13243b}
[data-theme='light'] .panel p,[data-theme='light'] .social-post p,[data-theme='light'] .panel .micro,[data-theme='light'] .panel .muted{color:#354c66}
[data-theme='light'] .home-picks{background:#fff;border-color:#b9cadc}
[data-theme='light'] .home-picks .oracle-single{background:#f6f9ff;color:#14263b;border-color:#adbed4}
[data-theme='light'] .home-picks .oracle-pick{background:#eaf9f2}
[data-theme='light'] .news-card.panel{background:#0d192b;color:#fff}
[data-theme='light'] .news-card.panel h3,[data-theme='light'] .news-card.panel p,[data-theme='light'] .news-card.panel .statline{color:#fff!important}
[data-theme='light'] .oracle-day,[data-theme='light'] .oracle-day *{text-shadow:none}
[data-theme='light'] #oracle-day .panel,[data-theme='light'] #oracle-day .coupon,[data-theme='light'] #oracle-day .oracle-coupon{background:#fff;color:#16273b;border-color:#b3c5d8}
[data-theme='light'] #oracle-day .coupon-title,[data-theme='light'] #oracle-day .coupon-metrics,[data-theme='light'] #oracle-day .oracle-leg-info,[data-theme='light'] #oracle-day .oracle-explain{color:#253e58}
[data-theme='light'] #oracle-day .oracle-selection{background:#e5f8f3;color:#153b36}
[data-theme='light'] #oracle-day .oracle-leg{background:#f8fbff;border-color:#bbcadb}
[data-theme='light'] #oracle-day .oracle-leg strong{color:#172e45}
[data-theme='light'] .oracle-hero h1,[data-theme='light'] .oracle-hero p,[data-theme='light'] .oracle-hero .eyebrow{color:#fff}
[data-theme='light'] .sidebar-foot{display:none}
@media(max-width:650px){.home-picks #home-free{grid-template-columns:1fr}.home-picks{padding:12px}.home-picks .section-head{gap:10px}.home-picks h2{font-size:23px}}

/* V155 — news cards: title below image, better image presentation */
.news-card.panel{height:auto!important;min-height:0!important;display:grid!important;grid-template-rows:minmax(190px,190px) auto!important;justify-content:stretch!important;padding:0!important;overflow:hidden!important;background:#0f192a!important}
.news-card .news-art{position:relative!important;inset:auto!important;width:100%!important;height:190px!important;min-height:190px!important;z-index:0!important;background:radial-gradient(circle at 70% 20%,#335a8a66,transparent 36%),linear-gradient(135deg,#152944,#102231)!important;overflow:hidden!important}
.news-card .news-art:after{background:linear-gradient(180deg,#07101b12 0%,#07101b08 18%,#05112022 60%,#02061166 100%)!important}
.news-card .news-art span{top:12px!important;left:12px!important;bottom:auto!important}
.news-card .news-art .news-photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;filter:none!important;transform:none!important}
.news-card .news-copy{position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:8px!important;min-height:0!important;margin:0!important;padding:16px 16px 18px!important;background:linear-gradient(180deg,#0f1827 0%,#101b2b 100%)!important}
.news-card .news-copy h3{margin:0!important;font-family:var(--display)!important;font-style:italic!important;font-weight:900!important;font-size:clamp(18px,1.5vw,24px)!important;line-height:1.08!important;color:#fff!important;text-shadow:none!important}
.news-card .news-copy .statline{color:#d8e4f4!important;font-size:10px!important;text-shadow:none!important}.news-card .news-copy .link-arrow{margin-top:auto!important;color:#d8ff58!important}
[data-theme='light'] .news-card.panel{background:#101d30!important}.news-card.panel:hover .news-art{transform:none!important}
@media(max-width:900px){.news-card.panel{grid-template-rows:minmax(180px,180px) auto!important}.news-card .news-art{height:180px!important;min-height:180px!important}}
@media(max-width:600px){.news-card.panel{grid-template-rows:minmax(170px,170px) auto!important}.news-card .news-art{height:170px!important;min-height:170px!important}.news-card .news-copy h3{font-size:22px!important}}


/* NEFUTBOL light-mode contrast rescue / edge patch 2026-11-05.
   Scoped to html[data-theme="light"] so dark mode remains unchanged. */
html[data-theme="light"] {
  --bg:#edf3fa;
  --bg2:#e7f0f8;
  --side:#0b1626;
  --panel:#ffffff;
  --card:#f8fbff;
  --card2:#eef5fb;
  --line:#afc2d3;
  --text:#132a40;
  --sub:#30495f;
  --muted:#526a7e;
  --sky:#086d8d;
  --lime:#668400;
  --magenta:#893ba3;
  color-scheme:light;
}
html[data-theme="light"] body {background:#edf3fa;color:#132a40;}
/* Sidebar keeps the NEFUTBOL dark identity; make EVERY link legible. */
html[data-theme="light"] #site-sidebar {
  background-color:#0a1424!important;
  background-image:none!important;
  border-right:1px solid #2f435c!important;
  color:#e8f2fc!important;
  box-shadow:6px 0 28px #10223733!important;
}
html[data-theme="light"] #site-sidebar .brand {
  background:#091420!important;border-bottom-color:#2f4359!important;
}
html[data-theme="light"] #site-sidebar nav .navlink {
  color:#dce8f6!important;
  background:transparent;
  border-color:transparent;
}
html[data-theme="light"] #site-sidebar nav .navlink:not(.active):hover,
html[data-theme="light"] #site-sidebar nav .navlink:not(.active):focus-visible {
  background:#1c3047!important;
  color:#ffffff!important;
  border-color:#37516a!important;
}
html[data-theme="light"] #site-sidebar nav .navlink.active {
  background:linear-gradient(115deg,#ddff5e,#adf337)!important;
  border-color:#e0ff88!important;
  box-shadow:0 3px 15px #b0e72c26!important;
  color:#102115!important;
}
html[data-theme="light"] #site-sidebar nav .navlink.active .nav-ic {color:#102115!important;}
html[data-theme="light"] #site-sidebar nav .navlink .nav-ic {color:inherit!important;opacity:1!important;}
html[data-theme="light"] #site-sidebar .nav-new {background:#f3a4ef!important;color:#35133e!important;}
/* Header: no dark input with dark type in light mode. Radio stays dark by design. */
html[data-theme="light"] #site-header {
  background:rgba(251,253,255,.97)!important;
  border-bottom:1px solid #c2d1df!important;
  box-shadow:0 4px 19px #132d4714!important;
  color:#142d43!important;
}
html[data-theme="light"] #site-header .site-search {
  background:linear-gradient(110deg,#f6faff,#ecf3fc)!important;
  border:1px solid #a9bdd5!important;
  box-shadow:inset 0 1px 2px #31496908!important;
  color:#193247!important;
}
html[data-theme="light"] #site-header .site-search input {
  color:#182e43!important;
  -webkit-text-fill-color:#182e43!important;
  caret-color:#076d8c;
}
html[data-theme="light"] #site-header .site-search input::placeholder {
  color:#61768b!important;
  -webkit-text-fill-color:#61768b!important;
  opacity:1!important;
}
html[data-theme="light"] #site-header .site-search .search-icon,
html[data-theme="light"] #site-header .site-search .search-submit {
  color:#284a65!important;
}
html[data-theme="light"] #site-header .search-submit {border-color:#aabdd0!important;}
html[data-theme="light"] #site-header .icon-btn,
html[data-theme="light"] #site-header .header-lang,
html[data-theme="light"] #site-header .my-profile {
  background:#f3f7fc!important;
  color:#16314a!important;
  border-color:#b8cbda!important;
}
html[data-theme="light"] #site-header .icon-btn svg {color:#19344d!important;stroke:#19344d!important;}
html[data-theme="light"] #site-header .icon-btn:hover {
  background:#e8f3fd!important;border-color:#5f9cb8!important;
}
html[data-theme="light"] #site-header .my-profile .name {color:#142b40!important;}
html[data-theme="light"] #site-header .radio {
  background:linear-gradient(110deg,#0a1b1b,#132333)!important;
  color:#f4fff7!important;
  border-color:#6ec89799!important;
}
html[data-theme="light"] #site-header .radio *:not(.radio-play) {color:inherit;}
html[data-theme="light"] #site-header .radio .radio-track {color:#bfced8!important;}
html[data-theme="light"] #site-header .radio .radio-label b em {color:#ccff47!important;}
html[data-theme="light"] #site-header .radio .radio-play {background:#c9ff3f!important;color:#0f1c15!important;}
html[data-theme="light"] #site-header .radio .radio-next {color:#fff!important;}
/* Common typography and form controls for feed, forum, wall, profiles, stats, admin. */
html[data-theme="light"] main#app,
html[data-theme="light"] main#app .section-head h2 {color:#152c42;}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .link-arrow,
html[data-theme="light"] .coupon-title {color:#086b8a!important;}
html[data-theme="light"] .muted,
html[data-theme="light"] .statline {color:#4d6479!important;}
html[data-theme="light"] .accent {color:#587b00!important;}
html[data-theme="light"] .error,
html[data-theme="light"] .notice.bad,
html[data-theme="light"] .btn.danger {color:#a52a40!important;}
html[data-theme="light"] .success {color:#086b44!important;}
html[data-theme="light"] .state,
html[data-theme="light"] .notice,
html[data-theme="light"] .analysis-result,
html[data-theme="light"] .history-coupon,
html[data-theme="light"] .kpi,
html[data-theme="light"] .thread-row,
html[data-theme="light"] .transfer-item,
html[data-theme="light"] .sidebar-note {
  color:#1f374c;
  background:#f7fbff;
  border-color:#b9cbd9;
}
html[data-theme="light"] .panel,
html[data-theme="light"] .social-post,
html[data-theme="light"] .person-card,
html[data-theme="light"] .history-day,
html[data-theme="light"] .calendar-match {
  color:#142d44;
  border-color:#b5c7d9;
}
html[data-theme="light"] :is(.panel,.social-post,.person-card,.history-day,.calendar-match,.history-coupon) :is(p,small,.micro) {
  color:#3d566c;
}
html[data-theme="light"] :is(.input,.textarea,.select,input,textarea,select):not(.radio-volume) {
  accent-color:#0a7792;
}
html[data-theme="light"] :is(.input,.textarea,.select) {
  color:#162d44!important;
  background:#f8fbff!important;
  border-color:#9fb8ca!important;
}
html[data-theme="light"] :is(.input,.textarea,.select)::placeholder {
  color:#637b91!important;
  opacity:1;
}
html[data-theme="light"] .btn:not(.primary):not(.ref-flex-analysis):not(.screenshot-main-link) {
  color:#17344a;
  border-color:#a9bfd2;
}
html[data-theme="light"] .btn.ghost {background:#eff5fb;}
html[data-theme="light"] .btn.primary,
html[data-theme="light"] .tabs .btn.active {color:#132413!important;}
html[data-theme="light"] .standings td:first-child {color:#4f7100!important;}
html[data-theme="light"] .chip.warn {color:#915305!important;border-color:#c79951!important;}
html[data-theme="light"] .chip.pink {color:#842e9f!important;}
html[data-theme="light"] :is(a,button,input,textarea,select,summary):focus-visible {
  outline:3px solid #087da3!important;outline-offset:3px!important;
}
/* Only light-background coupon cards get dark text; image banners remain dark. */
html[data-theme="light"] .ref-flex-card.coupon {
  background:linear-gradient(160deg,#f4f9ff,#e6f0f8)!important;
  border:1px solid #94b1c6!important;
  color:#172d42!important;
}
html[data-theme="light"] .ref-flex-card .ref-flex-top {color:#075b70!important;}
html[data-theme="light"] .ref-flex-card .ref-flex-price {
  color:#905000!important;
  text-shadow:none!important;
}
html[data-theme="light"] .ref-flex-card .ref-flex-summary {color:#355268!important;}
html[data-theme="light"] .ref-flex-card .ref-flex-teams strong {color:#132b42!important;}
html[data-theme="light"] .ref-flex-card .ref-separator {color:#536f86!important;}
html[data-theme="light"] .ref-flex-card .ref-flex-legs,
html[data-theme="light"] .ref-flex-card .ref-flex-leg,
html[data-theme="light"] .ref-flex-card .ref-flex-bottom {
  border-color:#a6bfd0!important;
}
html[data-theme="light"] .ref-flex-card .ref-flex-market,
html[data-theme="light"] .ref-flex-card .ref-flex-market span {color:#294960!important;}
html[data-theme="light"] .ref-flex-card .ref-flex-market b {color:#203c55!important;}
html[data-theme="light"] .ref-flex-card .ref-flex-bottom {color:#35566c!important;}
html[data-theme="light"] .ref-flex-card .ref-flex-analysis.btn,
html[data-theme="light"] .screenshot-main-link {
  background:linear-gradient(100deg,#19374f,#382545)!important;
  border-color:#6b8faf!important;
  color:#fff!important;
}
html[data-theme="light"] .ref-flex-card .ref-reaction-pills span {
  background:#173449!important;
  border-color:#38617c!important;
  color:#ffdc7e!important;
}
html[data-theme="light"] .ref-flex-card .coupon-team-fallback {
  background:#dce8f0!important;color:#22435b!important;
}
html[data-theme="light"] .flex-coupon .flex-card-value strong,
html[data-theme="light"] .screenshot-card .flex-card-value strong,
html[data-theme="light"] .coupon:not(.ref-flex-card) .price {
  color:#91520a!important;text-shadow:none!important;
}
html[data-theme="light"] .screenshot-card .flex-card-tag {color:#075f79!important;}
html[data-theme="light"] .screenshot-card .simple-leg-teams strong {color:#132b42!important;}
html[data-theme="light"] .screenshot-card .simple-leg-market span {color:#315066!important;}
/* Strengthen small text and status chips without changing status meaning. */
html[data-theme="light"] .flex-tier-heading h3 {color:#162a40!important;}
html[data-theme="light"] .flex-tier-heading h3 small {
  color:#e5eef6!important;
  background:#182e45!important;
  border-color:#6a8ea6!important;
}
html[data-theme="light"] #oracle-day .oracle-selection small {color:#06604f!important;}
html[data-theme="light"] #oracle-day .oracle-odd {color:#845100!important;}
html[data-theme="light"] #oracle-day .oracle-prob {color:#006941!important;}
/* Preserve white type on photo/dark surfaces (no washed-out title overlays). */
html[data-theme="light"] :is(.hero,.battle-hero,.oracle-hero,.transfer-hero,.feature,.league-card,.news-card.panel) :is(h1,h2,h3,p,strong,.statline) {
  color:#fff!important;
}
html[data-theme="light"] :is(.hero,.battle-hero,.oracle-hero,.feature,.league-card) .eyebrow {
  color:#caff57!important;
}
html[data-theme="light"] .news-card.panel .statline,
html[data-theme="light"] .news-card.panel .muted {color:#d9e5f6!important;}
html[data-theme="light"] .news-card.panel .link-arrow {color:#d6ff55!important;}
/* The audience widget uses the same tokens and must stay readable in light mode. */
html[data-theme="light"] #nef-audience .naf-labeltop {color:#075f7d!important;}
html[data-theme="light"] #nef-audience .naf-cell:first-child .naf-number {color:#427000!important;}
html[data-theme="light"] #nef-audience .naf-cell:nth-child(2) .naf-number {color:#076a8b!important;}
html[data-theme="light"] #nef-audience .naf-cell:nth-child(4) .naf-number {color:#852ca8!important;}
@media (max-width:900px){
  html[data-theme="light"] #site-sidebar {box-shadow:15px 0 45px #0006!important;}
}
