/* The front page (pick a sport) in its light look. Dark is the base in brand.css, portal.css and about.css; this file only changes
   what a light page needs and applies under <html data-theme="light"> on body.portal, so the sign-in pages that share brand.css are untouched. */

.brand-home .is-on-light{display:none}
.brand-nav .theme-toggle{color:var(--cream)}

html[data-theme="light"] body.portal{
  --bg:#fff;
  --surface:#fff;
  --surface-2:#f6f6f6;
  --field:#f6f6f6;
  --line:#e2e2e2;
  --line-2:#c4c4c4;
  --steel:#9a9a9a;
  --cream:#111;
  --muted:rgba(17,17,17,.62);
  --faint:rgba(17,17,17,.45);
  --glass:#fff;
  --glass-edge:0 1px 2px rgba(0,0,0,.04);
  --danger:#d92d20;
  color-scheme:light;
  background:#fff;
}
html[data-theme="light"]{background:#fff;color-scheme:light}
html[data-theme="light"] body.portal ::selection{background:rgba(244,118,33,.25)}
html[data-theme="light"] .brand-home .brand-logo:not(.is-on-light){display:none}
html[data-theme="light"] .brand-home .is-on-light{display:block}

/* Outline words: soft grey until hovered, as in dark. */
html[data-theme="light"] body.portal .sport .brand-word path{stroke-opacity:.55}
html[data-theme="light"] body.portal .sport.is-soon:hover .brand-word path{stroke:#6b6b6b}
html[data-theme="light"] body.portal .sport-card{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}

/* A lit word fills with solid colour on hover. */
html[data-theme="light"] body.portal .sport:is(.is-live,.is-lit):hover .brand-word path,
html[data-theme="light"] body.portal .sport:is(.is-live,.is-lit):focus-visible .brand-word path{fill:var(--hl,var(--orange))}

/* The /crease-style mark in the corner: the slash with the script G on it. */
body.portal .brand-corner.is-mark{width:60px;height:auto;display:block}
body.portal .brand-corner.is-on-light{display:none}
html[data-theme="light"] body.portal .brand-corner.is-on-light{display:block}
html[data-theme="light"] body.portal .brand-corner:not(.is-on-light){display:none}

/* The Open / Coming soon button: white with a grey edge; once the poster shows (card hovered) it goes back to the dark chip. */
html[data-theme="light"] body.portal .sport-cta{border-color:#c4c4c4;background:#fff;color:#111}
html[data-theme="light"] body.portal .sport:is(.is-live,.is-lit):hover .sport-cta,
html[data-theme="light"] body.portal .sport:is(.is-live,.is-lit):focus-visible .sport-cta{background:rgba(10,10,10,.72);border-color:var(--hl,var(--orange));color:var(--hl,var(--orange))}
html[data-theme="light"] body.portal .sport-cta:hover,
html[data-theme="light"] body.portal .sport-cta:focus-visible{background:#f4f4f4}

/* The expanded About panel and its playground. */
html[data-theme="light"] body.portal .sport-panel-close{color:#111}
html[data-theme="light"] body.portal .about-themes button,
html[data-theme="light"] body.portal .about-gfx-list button,
html[data-theme="light"] body.portal .about-image-upload,
html[data-theme="light"] body.portal .about-image-actions button,
html[data-theme="light"] body.portal .about-sky-menu{background:#fff;color:#111}
html[data-theme="light"] body.portal .about-themes button[aria-checked="true"],
html[data-theme="light"] body.portal .about-gfx-list button[aria-selected="true"]{background:#fff3ea;color:#111}
html[data-theme="light"] body.portal .about-edit input[type="text"],
html[data-theme="light"] body.portal .about-swatch,
html[data-theme="light"] body.portal .about-image-preview{background-color:#f6f6f6;color:#111}
html[data-theme="light"] body.portal .about-sky-menu{box-shadow:0 10px 24px rgba(0,0,0,.14)}
html[data-theme="light"] body.portal .about-sky-menu button{color:#111}
html[data-theme="light"] body.portal .about-sky-menu button:hover{background:#f4f4f4}
html[data-theme="light"] body.portal .about-go.is-ghost{color:#111}
html[data-theme="light"] body.portal .about-field a{color:#111}

html[data-theme="light"] ::-webkit-scrollbar-thumb{background:rgba(0,0,0,.18);background-clip:padding-box}
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.36)}
