/* Sponsly's own brand, used only on the platform site (homepage, sign-up)
   and the console. Club pages keep each club's own colours. Warnings and
   errors stay red everywhere. */
:root{
  --tl-green:#1d5a3c; --tl-green-hover:#164a31; --tl-green-text:#1d5a3c; --tl-green-soft:#e4f0e8;
  --tl-yellow:#f2b705; --tl-mark-top:#1d5a3c;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --tl-green:#2c7a52; --tl-green-hover:#348d5f; --tl-green-text:#7fc79c; --tl-green-soft:#173024; --tl-mark-top:#3f9a68}}
:root[data-theme="dark"]{--tl-green:#2c7a52; --tl-green-hover:#348d5f; --tl-green-text:#7fc79c; --tl-green-soft:#173024; --tl-mark-top:#3f9a68}

body.tl a{color:var(--tl-green-text)}
body.tl .btn.primary{background:var(--tl-green);border-color:var(--tl-green);color:#fff}
body.tl .btn.primary:hover{background:var(--tl-green-hover);border-color:var(--tl-green-hover)}
body.tl .eyebrow{color:var(--tl-green-text)}
body.tl input[type="checkbox"],body.tl input[type="radio"]{accent-color:var(--tl-green)}
body.tl .tabs .active,body.tl .tabs [aria-selected="true"]{border-bottom-color:var(--tl-green)}
body.tl{--focus:0 0 0 3px rgba(242,183,5,.6)}

/* The logo: a slanted green-over-yellow stripe and the name. */
.wordmark{display:inline-flex;align-items:center;gap:.55rem;font-family:var(--font-display);font-size:1.6rem;font-weight:800;
  letter-spacing:.03em;text-transform:uppercase;color:var(--text);text-decoration:none;line-height:1}
body.tl a.wordmark{color:var(--text)}
.wordmark::before{content:"";flex:none;width:.5rem;height:1.5rem;border-radius:2px;
  background:linear-gradient(var(--tl-mark-top) 0 50%,var(--tl-yellow) 50% 100%);transform:skewX(-12deg)}
