/* TaosAds. Same fonts and building blocks as PlayTaos/HomeTaos; dusk purple + sunset gold so it reads as its own (umbrella) product. */
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/BricolageGrotesque-normal-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/BricolageGrotesque-normal-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/SourceSans3-normal-latin.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/SourceSans3-normal-latin-ext.woff2) format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; font-style: italic; src: url(/fonts/SourceSans3-italic-latin.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
:root {
  --dusk: #2b2350; --dusk-2: #40357a; --gold: #f2a541; --clay: #c4562e; --sky: #2c6e9b;
  --sand: #f7f4ec; --card: #fff; --ink: #1f1d26; --muted: #5d5a66; --line: #ddd8cb;
  --ok: #2f7a52; --warn: #a86a06; --alert: #b3361b;
  --r: 14px; --shadow: 0 1px 2px rgba(43,35,80,.06), 0 4px 16px rgba(43,35,80,.07);
  --head: "Bricolage Grotesque", system-ui, sans-serif; --body: "Source Sans 3", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 5vw, 2.5rem); font-weight: 750; }
h2 { font-size: 1.3rem; font-weight: 700; margin-top: 1.6em; }
h3 { font-size: 1.05rem; font-weight: 650; }
.h-small { font-size: 1.05rem; margin-top: 0; }
a { color: var(--dusk-2); text-underline-offset: 2px; }
a:hover { color: var(--clay); }
img { max-width: 100%; height: auto; }
p { margin: 0 0 .9em; }
code { font-size: .85em; background: #eee9dc; padding: 1px 5px; border-radius: 5px; word-break: break-all; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.fine { font-size: .875rem; color: var(--muted); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.lede { font-size: 1.1rem; color: var(--muted); }
.block { padding: 8px 16px 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* header */
.hdr { background: var(--dusk); color: #fff; }
.hdr-in { display: flex; align-items: center; gap: 12px; min-height: 58px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 750 1.25rem var(--head); margin-right: auto; }
.logo:hover { color: #fff; }
.logo-mark { width: 30px; height: 30px; color: #8d7fe0; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { color: #ebe8f7; text-decoration: none; padding: 7px 11px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.nav a[aria-current] { background: rgba(255,255,255,.14); color: #fff; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav .nav-cta { background: var(--gold); color: var(--dusk); }
.lang { color: #fff; font-size: .9rem; font-weight: 600; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; text-decoration: none; }
.lang:hover { color: var(--dusk); background: #fff; }
.subnav { background: #ece8f6; border-bottom: 1px solid #dcd6ee; overflow-x: auto; }
.subnav .wrap { display: flex; gap: 2px; }
.subnav a { padding: 9px 12px; text-decoration: none; color: var(--dusk); font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a[aria-current] { border-bottom-color: var(--dusk-2); }

/* hero */
.hero { background: radial-gradient(120% 90% at 85% 0%, #6a58b8 0%, var(--dusk-2) 40%, var(--dusk) 85%); color: #fff; padding: 40px 0 34px; }
.hero h1 { max-width: 20ch; }
.hero .lede { color: #e5e1f5; max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--gold); }
.steps { padding-left: 1.2em; max-width: 70ch; } .steps li { margin-bottom: .6em; }
.rules { max-width: 75ch; } .rules li { margin-bottom: .4em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 9px 20px; border: 0; border-radius: 999px;
  background: var(--dusk); color: #fff; font: 650 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--dusk-2); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-small { min-height: 34px; padding: 5px 14px; font-size: .9rem; }
.btn-wide { width: 100%; }
.btn-ghost { background: transparent; color: var(--dusk); box-shadow: inset 0 0 0 2px var(--dusk); }
.btn-ghost:hover { background: var(--dusk); color: #fff; }
.btn-light { background: var(--gold); color: var(--dusk); }
.btn-light:hover { background: #ffbb5c; color: var(--dusk); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--dusk); }
.btn-danger { background: var(--alert); }

/* forms */
.page-head { padding: 26px 0 6px; }
.acct { padding-bottom: 40px; }
.card-form { background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.narrow-form { max-width: 560px; }
.fld { margin-bottom: 12px; }
.fld label, .fld legend { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 4px; }
.fld input:not([type=checkbox]):not([type=radio]), .fld select, .fld textarea, .row-form input, .card-form > input {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: inherit; }
.row-form input, .card-form > input { margin: 4px 0 8px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--dusk-2); outline: none; box-shadow: 0 0 0 3px rgba(64,53,122,.18); }
.fld .hint { font-size: .85rem; color: var(--muted); margin: 0 0 4px; }
.err, .fld .err { color: var(--alert); font-size: .9rem; margin: 4px 0 0; }
.has-err input, .has-err select { border-color: var(--alert) !important; }
.fld-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.fld-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--dusk-2); flex: none; }
.hp { position: absolute; left: -9999px; }
.row-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row-form input { flex: 1 1 220px; width: auto; margin: 0; }
.row-form label { font-weight: 600; }
form.inline { display: inline; }
.num-in { width: 7em !important; min-height: 34px !important; padding: 4px 8px !important; border: 1.5px solid var(--line); border-radius: 8px; }

/* notes, badges */
.note { border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; border-left: 5px solid; background: #fff; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note-ok { border-color: var(--ok); background: #eef7f1; }
.note-info { border-color: var(--sky); background: #eef4f9; }
.note-warn { border-color: var(--gold); background: #fff7e6; }
.note-alert { border-color: var(--alert); background: #fdeeea; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e9e4d6; color: var(--ink); vertical-align: middle; }
.badge-approved, .badge-live, .badge-paid, .badge-sent { background: #dff0e6; color: #1e5a3b; }
.badge-pending, .badge-waiting_review, .badge-open, .badge-pending_payment, .badge-scheduled { background: #fff1d6; color: #7a4d00; }
.badge-rejected, .badge-suspended, .badge-canceled, .badge-disputed, .badge-failed, .badge-expired { background: #fbe1da; color: #8c2a14; }
.flags { margin: 0 0 10px; padding-left: 1.1em; font-size: .92rem; } .flags li { margin-bottom: 4px; }
.quote-text { background: #faf8f2; padding: 8px 12px; border-radius: 8px; }
.code strong { font: 750 1.4rem var(--head); letter-spacing: .08em; }

/* tables */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: 10px; margin-bottom: 14px; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #eee9dc; vertical-align: top; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #faf8f2; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl tr.total td { font-weight: 700; border-top: 2px solid var(--line); }
.tbl tr.off td { color: #9a96a3; }
.tbl-tight th, .tbl-tight td { padding: 6px 10px; }
.pills-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pills-row a { padding: 4px 12px; border-radius: 999px; background: #e9e4d6; text-decoration: none; color: var(--ink); font-size: .9rem; }
.pills-row a[aria-current] { background: var(--dusk); color: #fff; }
.list { padding-left: 1.1em; }

/* layout bits */
.two-col { display: grid; gap: 22px; }
.cards, .cards2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tile { display: block; background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); margin-bottom: 14px; }
.tile strong { display: block; font: 700 1.1rem var(--head); margin-bottom: 4px; color: var(--dusk); }
.tile span { color: var(--muted); font-size: .95rem; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.stats > div { background: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow); min-width: 140px; }
.stats strong { display: block; font: 750 1.4rem var(--head); }
.stats span { font-size: .85rem; color: var(--muted); }
.spark { width: 100%; height: 60px; display: block; margin: 0 0 6px; }
.spark rect { fill: var(--dusk-2); }
.quote .tbl { margin: 8px 0 14px; }
.cr { background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .two-col { grid-template-columns: 3fr 2fr; } }

/* sponsor card previews: same idea as the sister sites' slot markup */
.adslot { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; background: #fff; }
.adslot-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 0 0 6px; }
.adslot-link { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.adslot-text { display: flex; flex-direction: column; gap: 2px; }
.adslot-text span { color: var(--muted); font-size: .92rem; }
.adslot-card .adslot-link { flex-direction: column; align-items: stretch; }
.adslot-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.adslot-banner img { width: 38%; max-width: 220px; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; }
.adslot-logo_strip img { width: 64px; height: 40px; object-fit: contain; }

.ftr { background: #ece8f6; margin-top: 40px; padding: 22px 0; font-size: .95rem; }
.ftr p { max-width: 80ch; }
