/* FOOTZ7 Phase 26: non-destructive theme layer. Supports original Botble cookie consent widget. */
.footz7-theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;
  width:42px;height:42px;padding:0;border:1px solid #e0eaf4;border-radius:14px;
  color:#244c87;background:linear-gradient(145deg,#fafcff,#eaf3fa);
  box-shadow:4px 4px 11px #dce7f0,-4px -4px 10px #fff;cursor:pointer;
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.footz7-theme-toggle:hover{transform:translateY(-1px)}
.footz7-theme-toggle:focus-visible{outline:3px solid #4b99e8;outline-offset:3px}
.footz7-theme-toggle .footz7-icon-sun{display:none}
html[data-footz7-theme="dark"] .footz7-theme-toggle .footz7-icon-moon{display:none}
html[data-footz7-theme="dark"] .footz7-theme-toggle .footz7-icon-sun{display:block}
@media(max-width:520px){.utility-actions{gap:5px!important}.footz7-theme-toggle{width:36px;height:36px;flex-basis:36px;border-radius:12px}.footz7-theme-toggle svg{width:18px;height:18px}}

/* Botble cookie consent visual wrapper (the original consent logic and persistence remain untouched). */
body .site-notice,body .site-notice *{box-sizing:border-box!important}
body .site-notice,
body .site-notice.site-notice-minimal,
body .site-notice.site-notice-full-width{
  position:fixed!important;left:auto!important;right:max(18px,env(safe-area-inset-right))!important;
  bottom:max(18px,env(safe-area-inset-bottom))!important;top:auto!important;
  display:none;flex-direction:column;width:min(420px,calc(100vw - 36px))!important;
  max-width:420px!important;max-height:min(80dvh,650px);overflow-y:auto;
  margin:0!important;padding:0!important;background:transparent!important;
  color:inherit!important;border:0!important;box-shadow:none!important;border-radius:24px!important;
  z-index:99999!important;overscroll-behavior:contain;
}
body .site-notice.site-notice--visible{display:flex!important}
body .site-notice .site-notice-body,
body .site-notice.site-notice-minimal .site-notice-body{
  width:100%!important;max-width:100%!important;margin:0!important;
  padding:19px 20px 18px!important;border:1px solid #dfeaf5!important;
  border-radius:22px!important;color:#183454!important;
  background:linear-gradient(145deg,#fff,#f0f7fc)!important;
  box-shadow:10px 12px 38px #6a8eae48,-5px -5px 20px #ffffffce!important;
}
body .site-notice .site-notice__inner,
body .site-notice.site-notice-minimal .site-notice__inner{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:15px!important;padding:0!important;
}
body .site-notice .site-notice__message,
body .site-notice.site-notice-minimal .site-notice__message{
  padding:0!important;margin:0!important;min-width:0!important;
  line-height:1.65!important;font-size:13px!important;font-weight:500!important;
  color:#435a75!important;overflow-wrap:anywhere;
}
body .site-notice .site-notice__message a{color:#236bd1!important;text-underline-offset:3px!important}
body .site-notice .site-notice__actions,
body .site-notice.site-notice-minimal .site-notice__actions{
  display:flex!important;flex-direction:row!important;align-items:stretch!important;
  justify-content:flex-end!important;flex-wrap:wrap!important;gap:9px!important;
  margin:0!important;padding:0!important;
}
body .site-notice .site-notice__actions button,
body .site-notice.site-notice-minimal .site-notice__actions button{
  flex:1 1 auto!important;max-width:none!important;min-width:0!important;
  min-height:41px!important;padding:10px 12px!important;margin:0!important;
  border-radius:12px!important;white-space:normal!important;overflow:visible!important;
  font-size:12px!important;line-height:1.3!important;font-weight:750!important;
  font-family:inherit!important;cursor:pointer!important;
  background:#edf4fa!important;color:#335679!important;border:1px solid #dbe7f3!important;
  box-shadow:3px 3px 8px #dbe5ee,-3px -3px 8px #fff!important;
}
body .site-notice .site-notice__actions .js-site-notice-agree{
  color:#fff!important;background:linear-gradient(125deg,#39ac79,#168d5b)!important;
  border-color:transparent!important;box-shadow:3px 5px 12px #2a9a6340!important;
}
body .site-notice .site-notice__actions .js-site-notice-agree:before{content:none!important}
body .site-notice .site-notice__categories{
  margin-top:13px!important;padding:14px 0 0!important;
  border-top:1px solid #dbe7f1!important;color:#3d5571!important;
}
body .site-notice .cookie-category{border:1px solid #e1eaf3!important;background:#f4f9fd!important;border-radius:12px!important;padding:10px!important}
body .site-notice .site-notice__save{padding:0!important}
body .site-notice .site-notice__save .js-site-notice-save{
  cursor:pointer!important;border-radius:11px!important;border:0!important;
  min-height:38px!important;padding:9px 16px!important;background:#278cc4!important;color:white!important;
}
@media(max-width:520px){
  body .site-notice,body .site-notice.site-notice-minimal,body .site-notice.site-notice-full-width{
    width:auto!important;max-width:none!important;left:12px!important;right:12px!important;
    bottom:max(12px,env(safe-area-inset-bottom))!important;
  }
  body .site-notice .site-notice-body,body .site-notice.site-notice-minimal .site-notice-body{
    padding:17px 15px!important;border-radius:18px!important;
  }
  body .site-notice .site-notice__actions button{min-height:39px!important;font-size:11px!important}
}

/* Dark Neumorphism across the public site. Admin, external widgets and uploaded logos are not transformed. */
html[data-footz7-theme="dark"]{
  color-scheme:dark;--bg:#121e2d;--panel:#1a2a3d;--ink:#eaf3ff;
  --muted:#a4b5ca;--green:#48ce91;--blue:#74abff;
  --shadow:8px 8px 20px #091321,-7px -7px 18px #273a50;
  --inset:inset 4px 4px 10px #0c1b2b,inset -4px -4px 10px #2a3b50;
}
html[data-footz7-theme="dark"] body{color:var(--ink)!important;background:linear-gradient(140deg,#121e2d,#182637 75%)!important}
html[data-footz7-theme="dark"] :where(h1,h2,h3,h4,h5,h6,strong,b){color:inherit}
html[data-footz7-theme="dark"] :where(.utility,.site-footer){border-color:#304356!important;color:#adbed1!important}
html[data-footz7-theme="dark"] header.navbar{background:#192839!important;border-color:#33475a!important;box-shadow:7px 8px 22px #0c1624,-6px -6px 19px #28384b!important}
html[data-footz7-theme="dark"] :where(.utility input,.utility-account,.notification-shortcut,.footz7-theme-toggle){
  color:#e6f0ff!important;background:linear-gradient(145deg,#24374b,#1a2a3b)!important;
  border:1px solid #344a62!important;box-shadow:4px 4px 10px #0e1926,-3px -3px 10px #324459!important;
}
html[data-footz7-theme="dark"] .utility input::placeholder{color:#a8b8c8!important}
html[data-footz7-theme="dark"] .footz7-theme-toggle{color:#f0cb70!important}
html[data-footz7-theme="dark"] header.navbar :where(nav a,#menu-toggle){color:#e5eefb!important}
html[data-footz7-theme="dark"] header.navbar nav a:hover,
html[data-footz7-theme="dark"] header.navbar nav a.active{background:#244d42!important;color:#8aefbe!important;box-shadow:inset 2px 2px 6px #112d28,2px 2px 6px #22394a!important}
html[data-footz7-theme="dark"] :where(.panel,.match-tile,.article-card,.subpage-head,.scores-strip,.fz-tomorrow-card,.fz-ad-slot,.fz-match-ad,.watch-item,.match-tabs,.fz-player-card,.fz-club-card,.fz-player-profile-panel,.fz-player-profile-hero,.fz-club-hero,.fz-club-filter-panel,.fz-match-center,.saved-page,.member-main,.member-benefits,.alert-page,.alert-item,.alert-note,.alert-message,.fz-home-scores,.fz-home-news){
  color:#e8f0fc!important;background:#1c2b3e!important;border-color:#34475c!important;
  box-shadow:7px 8px 22px #0b1725,-5px -5px 18px #2a3a4e!important;
}
html[data-footz7-theme="dark"] :where(.panel,.article-card,.match-tile,.fz-player-card,.fz-club-card,.fz-match-center,.fz-home-news,.member-main,.member-benefits) :where(h1,h2,h3,h4,strong,b){color:#eff6ff!important}
html[data-footz7-theme="dark"] :where(.panel,.article-card,.match-tile,.fz-player-card,.fz-club-card,.fz-home-news,.subpage-head,.member-main,.member-benefits) :where(p,small,.source-note,.placeholder-text,.fz-home-empty){color:#a8bbd0!important}
html[data-footz7-theme="dark"] :where(.table-line,.table-head,.simple-row,.news-entry,.alert-toggle,.fz-home-player,.member-profile-row){border-color:#33465c!important}
html[data-footz7-theme="dark"] :where(.tabs span,.chip,.pill,.tag,.save-btn,.soft-btn,.white-btn,.fz-tomorrow-card,.fz-home-player-icon,.fz-news-marker,.fz-club-hero-crest,.fz-match-crest,.fz-player-profile-picture,.fz-player-photo-panel,.fz-player-club-row,.video-fallback){
  color:#dcecfb!important;background:#26394d!important;border-color:#354e63!important;box-shadow:inset 3px 3px 8px #13263a,inset -3px -3px 8px #35495e!important;
}
html[data-footz7-theme="dark"] :where(.tabs .selected,.tag.red,.tag.green,.live-badge,.badge.live){box-shadow:none!important}
html[data-footz7-theme="dark"] :where(.article-image,.fz-player-photo-panel){background-color:#293d51!important}
html[data-footz7-theme="dark"] :where(input,select,textarea):not([type="checkbox"]):not([type="radio"]){
  color:#eaf3ff!important;background:#192a3d!important;border-color:#3a4e65!important;box-shadow:inset 3px 3px 7px #101f2f,inset -3px -3px 7px #263b50!important;
}
html[data-footz7-theme="dark"] :where(input,textarea)::placeholder{color:#97aabe!important}
html[data-footz7-theme="dark"] :where(.member-notice,.alert-message,.alert-note){color:#c2e0ee!important;background:#1c4146!important;border-color:#315958!important}
html[data-footz7-theme="dark"] :where(.fz-ad-label,.fz-home-subheading,.fz-match-time,.fz-match-day-label){color:#a5b7cf!important}
html[data-footz7-theme="dark"] :where(.fz-player-card-body h2,.fz-match-side h1,.fz-club-card h2){color:#eef6ff!important}
html[data-footz7-theme="dark"] :where(.fz-match-crest>img,.fz-home-player>img){background:#f5f8fc!important}
html[data-footz7-theme="dark"] .watch-banner,
html[data-footz7-theme="dark"] .feature-photo{box-shadow:none!important}
html[data-footz7-theme="dark"] .site-footer{border-top-color:#36485c!important}
html[data-footz7-theme="dark"] #main-nav.open{background:#1b2c3f!important}
html[data-footz7-theme="dark"] .site-notice .site-notice-body{background:linear-gradient(140deg,#23354a,#1b2d40)!important;border-color:#3d536a!important;color:#ecf4ff!important;box-shadow:9px 11px 31px #07101a,-5px -5px 16px #33465b!important}
html[data-footz7-theme="dark"] .site-notice .site-notice__message,
html[data-footz7-theme="dark"] .site-notice .site-notice__message a{color:#d1e2f5!important}
html[data-footz7-theme="dark"] .site-notice .site-notice__actions button{background:#293f54!important;border-color:#44617a!important;color:#dfeeff!important;box-shadow:3px 3px 8px #111e2d,-3px -3px 7px #31485f!important}
html[data-footz7-theme="dark"] .site-notice .site-notice__actions .js-site-notice-agree{background:linear-gradient(120deg,#279b6b,#156f52)!important;color:#fff!important}
html[data-footz7-theme="dark"] .site-notice .site-notice__categories{border-color:#3e5366!important;color:#d7e7f8!important}
html[data-footz7-theme="dark"] .site-notice .cookie-category{background:#263a50!important;border-color:#40566e!important}
@media(max-width:1024px){html[data-footz7-theme="dark"] header.navbar #main-nav{background:#1b2c3f!important}}
@media(prefers-reduced-motion:reduce){.footz7-theme-toggle{transition:none!important}}
