/* GameBoostr design system. Dark only. Tokens and the reference each came from: docs/DESIGN.md */
:root {
  color-scheme: dark;
  /* surfaces: blue-tinted near-black, steps ~6-8 L apart (Roblox Creator Hub, Raycast, start.gg) */
  --bg: #07080c;
  --s1: #0e1016;
  --s2: #151821;
  --s3: #1e222d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  /* text */
  --text: #eceef2;
  --muted: #a1a7b3;
  --faint: #6b7180;
  /* one accent: the Lift logo blue (#005BFD); a lighter tint for text on dark (AA) */
  --blue: #005bfd;
  --blue-hi: #2f7bff;
  --blue-text: #7aa7ff;
  --blue-soft: rgba(0, 91, 253, .16);
  --blue-line: rgba(47, 123, 255, .45);
  --glow: 0 0 0 1px rgba(47, 123, 255, .5), 0 8px 32px rgba(0, 91, 253, .35);
  /* states (sparingly) */
  --green: #3ddc84;
  --amber: #f5b544;
  --red: #ff6b5e;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--ui);
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; font-size: 16px; letter-spacing: -0.005em; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(0, 91, 253, .10), transparent 60%), var(--bg); background-repeat: no-repeat; }
main { flex: 1 0 auto; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: #a9c6ff; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; color: #fff; }
h1, h2, .display { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .875rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; word-break: break-all; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--blue-hi); border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 8, 12, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 6px 0; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a, .nav button { color: var(--muted); text-decoration: none; padding: 0 12px; border-radius: 10px; font: inherit; font-size: .95rem; font-weight: 600; background: none; border: 0; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav a:hover, .nav button:hover, .nav a.on { color: #fff; background: rgba(255, 255, 255, .06); }
.nav form { margin: 0; }
.nav .btn { margin-left: 6px; color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--s3); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .2s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { background: #272c39; color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn:active { transform: translateY(1px); }
.btn.primary, .btn.lime { background: var(--blue); border-color: var(--blue-hi); color: #fff; box-shadow: 0 6px 24px rgba(0, 91, 253, .28); }
.btn.primary:hover, .btn.lime:hover { background: var(--blue-hi); box-shadow: var(--glow); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.btn.danger { background: transparent; color: var(--red); border-color: rgba(255, 107, 94, .4); }
.btn.danger:hover { background: rgba(255, 107, 94, .1); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.btn.big { min-height: 56px; padding: 0 26px; font-size: 1.05rem; border-radius: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.auto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0; }
.auto-grid label { font-size: 0.85rem; }
.auto-grid input { width: 100%; margin-top: 4px; }
@media (max-width: 480px) { .auto-grid { grid-template-columns: 1fr; } }

/* forms */
label, .label { display: block; font-weight: 600; margin: 0 0 6px; color: #fff; }
.field { margin-bottom: 18px; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 6px; font-weight: 400; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); min-height: 48px; transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input[readonly] { color: var(--muted); background: var(--s1); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.8); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(47, 123, 255, .3); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin-bottom: 8px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--blue); }
.money-input { position: relative; }
.money-input::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money-input input { padding-left: 28px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* surfaces */
main { padding: 36px 0 80px; }
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.card h2 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.card.raised { background: var(--s2); }
.flash { background: rgba(245, 181, 68, .1); border: 1px solid rgba(245, 181, 68, .35); color: #ffe2a8; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .08); color: var(--muted); white-space: nowrap; border: 1px solid transparent; }
.pill.live, .pill.approved, .pill.paid, .pill.sent, .pill.funded { background: rgba(61, 220, 132, .12); color: var(--green); border-color: rgba(61, 220, 132, .25); }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(61, 220, 132, .2); }
.pill.draft, .pill.tracking, .pill.scheduled, .pill.pending { background: rgba(255, 255, 255, .07); color: #c9ced8; }
.pill.review, .pill.needs_views, .pill.counting, .pill.held, .pill.paused { background: rgba(245, 181, 68, .12); color: var(--amber); border-color: rgba(245, 181, 68, .25); }
.pill.rejected, .pill.failed, .pill.declined { background: rgba(255, 107, 94, .12); color: var(--red); border-color: rgba(255, 107, 94, .25); }
.pill.closed { background: var(--blue-soft); color: var(--blue-text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; min-width: 0; }
.stat b { display: block; font-family: var(--display); font-stretch: 112%; font-size: 1.45rem; letter-spacing: -0.02em; color: #fff; overflow-wrap: anywhere; }
.stat span { color: var(--muted); font-size: .85rem; }
.bar { height: 8px; background: var(--s3); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); border-radius: 99px; }
.flags { margin: 6px 0 0; padding-left: 18px; color: var(--amber); font-size: .9rem; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 6px 0 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; margin-bottom: 14px; min-height: 32px; }
.back:hover { color: #fff; }

/* tables become cards on phones */
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 700; }
tbody tr:hover td { background: rgba(255, 255, 255, .02); }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.stack { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; }
table.stack tr:last-child td { border-bottom: 0; }
.game-cell { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; text-decoration: none; }
.game-cell img, .game-cell .gicon-fallback { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: var(--s3); }
code { background: var(--s3); padding: 2px 6px; border-radius: 6px; color: #dfe6ff; }
pre { background: var(--bg); border: 1px solid var(--line); color: #e7ebef; padding: 16px; border-radius: 12px; overflow-x: auto; font-size: .85rem; }

/* ---- game cards (image first, like a store tile: Steam, Epic) */
.campaigns { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.gcard { position: relative; display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
a.gcard:hover { transform: translateY(-3px); border-color: var(--blue-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); color: var(--text); }
.gcard-art { position: relative; aspect-ratio: 16 / 9; background: var(--s3); overflow: hidden; }
.gcard-art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.gcard:hover .gcard-art > img { transform: scale(1.04); }
.gcard-art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 8, 12, 0) 45%, rgba(14, 16, 22, .95) 100%); pointer-events: none; }
.gcard-fallback { position: absolute; inset: 0; display: grid; place-items: center; background:
  radial-gradient(120% 90% at 20% 10%, rgba(47, 123, 255, .45), transparent 55%),
  radial-gradient(90% 80% at 90% 100%, rgba(0, 91, 253, .35), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px), var(--s2); }
.gcard-fallback { grid-template-rows: auto; align-content: center; gap: 10px; padding: 12px; text-align: center; }
.gcard-fallback .fb-letter { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2.6rem; color: rgba(255, 255, 255, .9); text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.gcard-fallback .fb-icon { position: relative; overflow: hidden; display: grid; place-items: center; width: 34%; max-width: 96px; aspect-ratio: 1; border-radius: 22%; background: linear-gradient(135deg, var(--blue), #0a2c7a); border: 2px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.gcard-fallback .fb-icon b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff; }
.gcard-fallback .fb-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard-fallback .fb-name { display: none; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1rem; line-height: 1.15; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.gcard-fallback.tall .fb-icon { width: 52%; }
.gcard-fallback.tall .fb-name { display: block; }
.art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.gcard-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.plat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; background: rgba(7, 8, 12, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plat i { width: 8px; height: 8px; border-radius: 2px; background: var(--blue-hi); transform: rotate(15deg); }
.plat.steam i { background: #66c0f4; border-radius: 50%; transform: none; }
.plat.fortnite i { background: #b98cff; border-radius: 2px; transform: rotate(45deg); }
.plat.ios i, .plat.mobile i { background: #e8eaee; border-radius: 3px; width: 7px; height: 10px; transform: none; }
.gcard .pill { background: rgba(7, 8, 12, .72); backdrop-filter: blur(6px); }
.gcard-body { position: relative; padding: 0 16px 16px; margin-top: -30px; z-index: 2; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gcard-title { display: flex; align-items: flex-end; gap: 12px; }
.gicon { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; border: 2px solid var(--s1); background: var(--s3); flex: 0 0 auto; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.gicon-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gicon-fallback { position: relative; overflow: hidden; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), #0a2c7a); }
.gcard-title h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gcard-rate { display: flex; align-items: baseline; gap: 6px; }
.gcard-rate b { font-family: var(--display); font-stretch: 112%; font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; }
.gcard-rate span { color: var(--muted); font-size: .85rem; }
.gcard-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .84rem; }
.gcard-meta b { color: var(--text); font-weight: 600; }
.gcard .bar { margin: 0; height: 6px; }
.gcard-cta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--blue-text); font-weight: 700; font-size: .9rem; padding-top: 4px; }

/* creator video cards (vertical, like a Short) */
.vcard { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--s3); border: 1px solid var(--line); }
.vcard > img { width: 100%; height: 100%; object-fit: cover; }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 25%, transparent 55%, rgba(0, 0, 0, .85) 100%); }
.vcard-top, .vcard-bot { position: absolute; left: 10px; right: 10px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.vcard-top { top: 10px; justify-content: space-between; }
.vcard-bot { bottom: 10px; flex-direction: column; align-items: flex-start; gap: 2px; }
.vcard-views { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.15rem; color: #fff; display: flex; align-items: center; gap: 6px; }
.vcard-views svg { width: 16px; height: 16px; }
.vcard-handle { font-size: .8rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.soc { display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 8px; border-radius: 7px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .16); }
.soc.tiktok { background: #111; box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55; }
.soc.youtube { background: #e1251b; border-color: #e1251b; }
.soc.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); border-color: transparent; }
.example-tag { position: absolute; z-index: 3; top: 10px; right: 10px; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #0b0d12; }

/* ---- landing */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(0, 91, 253, .28), transparent 70%); filter: blur(20px); pointer-events: none; animation: breathe 6s ease-in-out infinite; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: .98; margin-bottom: 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #5b95ff, #a8c6ff); -webkit-background-clip: text; background-clip: text; }
.hero .lead { font-size: clamp(1.05rem, 2.1vw, 1.25rem); color: #c3c8d2; max-width: 560px; }
.hero .lead b { color: #fff; }
.hero .btns { margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before, .checks li::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%237aa7ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.reveal { opacity: 0; transform: translateY(14px); filter: blur(8px); animation: reveal .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; } .reveal.d4 { animation-delay: .32s; }
@keyframes reveal { to { opacity: 1; transform: none; filter: none; } }
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* hero product collage: a campaign card, a creator video, a results chart */
.collage { position: relative; min-height: 540px; }
.collage .gcard { position: absolute; left: 0; top: 24px; width: 64%; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); z-index: 2; }
.collage .vcard { position: absolute; right: 0; top: 0; width: 38%; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); z-index: 3; transform: rotate(2.5deg); }
.collage .chart-card { position: absolute; right: 6%; bottom: 0; width: 58%; z-index: 4; }
.chart-card { background: rgba(21, 24, 33, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.chart-card .ch-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .8rem; color: var(--muted); }
.chart-card .ch-num { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; color: #fff; }
.chart-card svg { width: 100%; height: 70px; display: block; margin-top: 6px; }
.chart-card .ch-foot { display: flex; justify-content: space-between; font-size: .75rem; color: var(--faint); }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(14, 16, 22, .6); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .wrap > div { padding: 22px 20px; border-left: 1px solid var(--line); }
.strip .wrap > div:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; font-family: var(--display); font-stretch: 112%; font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: #fff; letter-spacing: -0.02em; }
.strip span { color: var(--muted); font-size: .88rem; }

.section { padding: 88px 0 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.75rem, 4.2vw, 2.8rem); line-height: 1.04; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; overflow: hidden; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(122, 167, 255, .6); margin-bottom: 16px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-col { border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); background: var(--s1); }
.vs-col.us { background: linear-gradient(180deg, rgba(0, 91, 253, .14), rgba(0, 91, 253, .02) 60%), var(--s1); border-color: var(--blue-line); box-shadow: 0 0 0 1px rgba(47, 123, 255, .15), 0 24px 60px rgba(0, 40, 120, .25); }
.vs-col h3 { font-family: var(--display); font-stretch: 112%; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; min-height: 30px; }
.vs-col h3 img { height: 22px; width: auto; }
.vs-col .tagline { color: var(--muted); margin-bottom: 18px; }
.flow { list-style: none; padding: 0; margin: 0 0 18px; }
.flow li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 0 0 16px; margin: 0; color: #c9ced8; }
.flow li::before { content: ""; width: 12px; height: 12px; margin: 6px 0 0 8px; border-radius: 50%; border: 2px solid var(--faint); }
.flow li::after { content: ""; position: absolute; left: 13px; top: 22px; bottom: 2px; width: 2px; background: var(--line-2); }
.flow li:last-child::after { display: none; }
.vs-col.us .flow li::before { border-color: var(--blue-hi); background: var(--blue-soft); }
.vs-col.us .flow li::after { background: rgba(47, 123, 255, .35); }
.flow li.bad::before { border-color: var(--red); }
.flow li.good::before { border-color: var(--green); background: rgba(61, 220, 132, .15); }
.flow b { color: #fff; }
.vs-result { border-radius: 12px; padding: 12px 14px; font-size: .93rem; }
.vs-result.bad { background: rgba(255, 107, 94, .08); border: 1px solid rgba(255, 107, 94, .25); color: #ffc6c0; }
.vs-result.good { background: rgba(61, 220, 132, .08); border: 1px solid rgba(61, 220, 132, .25); color: #bff3d6; }
.disclaim { color: var(--faint); font-size: .8rem; margin-top: 14px; }

.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; }
.price.featured { border-color: var(--blue-line); background: linear-gradient(180deg, rgba(0, 91, 253, .14), transparent 55%), var(--s1); }
.price .tagtop { position: absolute; top: -11px; left: 20px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 7px; }
.price h3 { font-size: .9rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.price .amt { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2.3rem; color: #fff; letter-spacing: -0.03em; line-height: 1.1; }
.price .views { color: var(--blue-text); font-weight: 700; }
.price ul { list-style: none; padding: 0; margin: 10px 0 18px; font-size: .9rem; color: var(--muted); }
.price li { padding-left: 22px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--blue-text); border-bottom: 2px solid var(--blue-text); transform: rotate(-45deg); }
.price .btn { margin-top: auto; }
.worked { margin-top: 18px; background: var(--s1); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 16px 18px; color: var(--muted); }
.worked b { color: #fff; }

.creators-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--s2), var(--s1)); border: 1px solid var(--line); border-radius: 28px; padding: 40px; overflow: hidden; }
.vrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 18px; }
.vrow .vcard:nth-child(2) { transform: translateY(-18px); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; color: #c9ced8; }
.checks li::before { margin-top: 3px; }
.ourgames { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.ourgame { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--s3); border: 1px solid var(--line); text-decoration: none; color: #fff; }
.ourgame .art-img { transition: transform .4s ease; }
.ourgame:hover .art-img { transform: scale(1.05); }
.ourgame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .88)); }
.ourgame > span { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.ourgame small { display: block; color: rgba(255, 255, 255, .78); font-weight: 600; }
.cta-band { text-align: center; padding: 64px 24px; border-radius: 28px; border: 1px solid var(--blue-line); background: radial-gradient(80% 120% at 50% 0%, rgba(0, 91, 253, .32), transparent 70%), var(--s1); }
.cta-band h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
.cta-band p { color: #c3c8d2; }
.cta-band .btns { justify-content: center; }

.faq details { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq details[open] { border-color: var(--line-2); padding-bottom: 4px; }
.faq summary { font-weight: 700; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-text); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) { color: #c3c8d2; }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); background: var(--s1); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty h3 { font-family: var(--display); font-stretch: 112%; font-size: 1.3rem; }
.empty .btns { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: .9rem; background: rgba(7, 8, 12, .6); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.logo-icon, .show-sm { display: none; }
.foot a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot-links form { margin: 0; display: flex; }
.foot button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; }
.foot button:hover { color: #fff; }
.foot a:hover { color: #fff; }
.foot img { height: 22px; width: auto; margin-bottom: 10px; }
.auth { max-width: 460px; margin: 12px auto 0; }
.auth h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); border: 1px solid var(--line); padding: 5px; border-radius: 14px; margin-bottom: 20px; }
.tabs a { text-align: center; padding: 10px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--muted); min-height: 44px; display: flex; align-items: center; justify-content: center; }
.tabs a.on { background: var(--s3); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.summary-line.total { font-weight: 800; border-bottom: 0; font-size: 1.1rem; color: #fff; }
.pay-lines { margin: 12px 0; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--s2); }
.pay-lines p { margin: 0; }
.pay-line { font-size: 1.05rem; color: #fff; overflow-wrap: anywhere; }
.pay-credit { margin-top: 6px !important; color: var(--green); font-weight: 600; }
.pay-total { margin-top: 6px !important; font-size: 1.1rem; color: #fff; }
.pay-total b { font-family: var(--display, inherit); }
/* Players first: joins next to views at the top of a boost's results */
.stats-top .stat.players b { color: var(--green); }
/* Numbered setup steps with a copy-paste code box */
.setup-steps { counter-reset: s; list-style: none; padding: 0; margin: 12px 0 0; }
.setup-steps > li { counter-increment: s; position: relative; padding: 0 0 18px 44px; }
.setup-steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: .95rem; }
.setup-steps h3 { margin: 0 0 6px; font-size: 1.02rem; }
.codebox { position: relative; margin-top: 8px; }
.codebox pre { margin: 0; max-height: 260px; overflow: auto; padding: 14px; padding-top: 44px; font-size: .8rem; line-height: 1.45;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; white-space: pre; }
.codebox .copy-btn { position: absolute; top: 8px; right: 8px; }
.check-result { margin-top: 10px; }
.check-result.ok { color: var(--green); font-weight: 600; }
.acct { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.acct:last-child { border-bottom: 0; }

/* ---- campaign page header with art */
.camp-hero { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--s2); margin-bottom: 20px; }
.camp-hero-art { position: relative; aspect-ratio: 21 / 8; min-height: 200px; }
.camp-hero-art > img { width: 100%; height: 100%; object-fit: cover; }
.camp-hero-art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 8, 12, .1), rgba(21, 24, 33, .97) 92%); }
.camp-hero-body { position: relative; z-index: 2; display: flex; gap: 18px; align-items: flex-end; padding: 0 24px 22px; margin-top: -88px; flex-wrap: wrap; }
.camp-hero-body .gicon { width: 96px; height: 96px; border-radius: 22px; border-width: 3px; border-color: var(--s2); font-size: 2rem; }
.camp-hero-body h1 { margin: 0 0 8px; }
.camp-hero-body .grow { flex: 1 1 280px; min-width: 0; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 30%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-bottom: 16px; }
.shots img { width: 100%; height: auto; border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; scroll-snap-align: start; border: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.sticky { position: sticky; top: 84px; }

/* ---- campaign builder: steps + live preview */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 20px; list-style: none; padding: 0; counter-reset: st; }
.stepper li { margin: 0; }
.stepper button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--s1); color: var(--muted); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; text-align: left; }
.stepper button::before { counter-increment: st; content: counter(st); flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--s3); color: var(--muted); font-size: .8rem; }
.stepper button[aria-current="step"] { border-color: var(--blue-line); color: #fff; background: var(--s2); }
.stepper button[aria-current="step"]::before { background: var(--blue); color: #fff; }
.stepper button.done::before { content: "\2713"; background: rgba(61, 220, 132, .18); color: var(--green); }
.stepper button.done { color: #d5d9e1; }
.wizard .panel > h2 { margin-top: 28px; }
.wizard .panel > h2:first-child { margin-top: 0; }
.js .wizard .panel { display: none; }
.js .wizard .panel.on { display: block; animation: reveal .35s ease forwards; }
.wizard-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.wizard-nav .btn { min-width: 140px; }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.pkg-grid.three { grid-template-columns: repeat(3, 1fr); }
.pkg-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); cursor: pointer; min-height: 44px; transition: border-color .15s ease, background-color .15s ease; font-weight: 400; margin: 0; }
.pkg-card:hover { border-color: rgba(255, 255, 255, .25); }
.pkg-card input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-card:has(input:disabled) { opacity: .45; }
.pkg-card:has(input:checked) { border-color: var(--blue-hi); background: var(--blue-soft); box-shadow: 0 0 0 1px var(--blue-hi); }
.pkg-card:has(input:checked)::after { content: "\2713"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.pkg-card:has(input:focus-visible) { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.pkg-name { font-weight: 700; color: #fff; padding-right: 24px; }
.pkg-price { font-family: var(--display); font-stretch: 112%; font-size: 1.35rem; color: #fff; }
.preview-label { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.preview .gcard { pointer-events: none; }
.preview .summary { margin-top: 14px; }
.applicant { border-top: 1px solid var(--line); padding: 14px 0; }
.applicant:first-of-type { border-top: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }

@media (max-width: 1000px) {
  .hero-grid, .creators-band, .two-col { grid-template-columns: 1fr; }
  .collage { min-height: 0; height: 540px; max-width: 560px; width: 100%; margin: 8px auto 0; }
  .steps, .pricing { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  main { padding: 24px 0 56px; }
  .wrap { padding: 0 16px; }
  .top .wrap { min-height: 58px; gap: 8px; }
  .logo img { height: 22px; }
  .nav { overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a, .nav button { padding: 0 9px; font-size: .9rem; }
  .nav .hide-sm { display: none; }
  .nav .show-sm { display: inline; }
  .top.signed-in .logo-full { display: none; }
  .top.signed-in .logo-icon { display: block; height: 28px; width: 28px; }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .pkg-grid.three { grid-template-columns: 1fr; }
  .grid2, .grid3, .versus, .steps, .pricing { grid-template-columns: 1fr; }
  .stats, .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip .wrap > div { border-left: 0; border-top: 1px solid var(--line); padding: 16px 12px 16px 0; }
  .strip .wrap > div:nth-child(-n+2) { border-top: 0; }
  .hero { padding: 36px 0 28px; }
  .collage { height: 470px; }
  .collage .gcard { width: 68%; top: 18px; }
  .collage .vcard { width: 36%; }
  .collage .chart-card { width: 78%; right: 0; }
  .section { padding-top: 64px; }
  .creators-band { padding: 24px; border-radius: 22px; }
  .card { padding: 18px; border-radius: 16px; }
  .camp-hero-art { aspect-ratio: 16 / 9; min-height: 0; }
  .camp-hero-body { padding: 0 16px 18px; margin-top: -64px; }
  .camp-hero-body .gicon { width: 72px; height: 72px; border-radius: 18px; }
  .stepper { gap: 6px; }
  .stepper button { flex-direction: column; justify-content: center; text-align: center; gap: 4px; padding: 8px 4px; font-size: .72rem; min-height: 62px; line-height: 1.15; }
  table.stack { background: none; border: 0; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; background: var(--s1); }
  table.stack td { border: 0; padding: 4px 0; text-align: left; }
  table.stack td[data-label]::before { content: attr(data-label) ": "; color: var(--faint); font-size: .85rem; }
  .btns .btn { flex: 1 1 auto; }
  .hero .btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .chart-line { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
.stat b.long { font-size: 1.05rem; line-height: 1.3; padding-top: 4px; overflow-wrap: anywhere; }
.vcard-top { flex-wrap: wrap; row-gap: 4px; }
.vcard .example-tag { font-size: .6rem; padding: 3px 6px; }

/* ---- analytics (creator + studio): one accent series per chart, recessive grid, hover/touch tooltip */
.stats.stats-5 { grid-template-columns: repeat(5, 1fr); }
.stat small { display: block; color: var(--faint); font-size: .78rem; margin-top: 4px; line-height: 1.35; }
.stat b.money, .money { color: var(--green); }
.payout-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; padding: 22px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(61, 220, 132, .10), rgba(0, 91, 253, .08) 60%, transparent), var(--s1); border: 1px solid rgba(61, 220, 132, .22); }
.payout-card .eyebrow { margin-bottom: 6px; color: var(--green); }
.payout-card .eyebrow::before { background: var(--green); }
.payout-card p { margin: 2px 0 0; }
.payout-amt { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: clamp(2.2rem, 7vw, 3rem); line-height: 1.05; color: var(--green); letter-spacing: -0.02em; }
.payout-amt.muted-amt { color: #fff; }
.chart-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 20px; }
.achart { margin: 0; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px 14px; min-width: 0; }
.achart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.achart-head b { font-family: var(--display); font-stretch: 112%; font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; }
.achart-plot { position: relative; margin-top: 10px; }
.achart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.achart .grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.achart .axis { stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.achart .line { fill: none; stroke: var(--blue-hi); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.achart .area { fill: rgba(47, 123, 255, .14); }
.achart .dot { fill: var(--blue-hi); stroke: var(--s1); stroke-width: 2; opacity: 0; r: 6px; }
.achart .dot.on { opacity: 1; }
.achart .guide { stroke: rgba(255, 255, 255, .25); stroke-width: 1; opacity: 0; }
.achart .barm { fill: var(--blue); }
.achart .barm.on { fill: var(--blue-hi); }
.achart-top { position: absolute; left: 2px; top: -6px; font-size: .72rem; color: var(--faint); background: var(--s1); padding: 0 4px; border-radius: 4px; }
.achart .tip { position: absolute; top: -34px; padding: 5px 10px; border-radius: 8px; background: var(--s3); border: 1px solid var(--line-2); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; pointer-events: none; z-index: 2; }
.achart-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0 16px; text-align: center; color: var(--muted); font-size: .9rem; }
.achart-foot { display: flex; justify-content: space-between; font-size: .75rem; color: var(--faint); margin-top: 6px; }
.achart-table { margin-top: 8px; font-size: .85rem; }
.achart-table summary { cursor: pointer; color: var(--muted); min-height: 32px; display: flex; align-items: center; }
.achart-table table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.achart-table td, .achart-table th { padding: 4px 0; border-bottom: 1px solid var(--line); text-align: left; }
.achart-table .num { text-align: right; }
.vlist, .clist { list-style: none; margin: 0; padding: 0; }
.vitem { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; gap: 6px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.vitem:first-child { border-top: 0; padding-top: 4px; }
.vitem-main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.vitem-title { font-weight: 700; color: #fff; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.vitem-title:hover { text-decoration: underline; }
.vitem-main .small { flex: 1 1 100%; }
.vitem-nums { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.vitem-views { font-weight: 700; font-variant-numeric: tabular-nums; }
.vitem-views small { color: var(--faint); font-weight: 500; }
.vitem-pay { font-family: var(--display); font-stretch: 112%; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.vitem-pay.est { color: var(--muted); font-family: var(--ui); font-weight: 600; font-size: .9rem; }
.vitem-note { grid-column: 1 / -1; margin: 0; }
.spark { width: 96px; height: 28px; display: block; }
.spark polyline { fill: none; stroke: var(--blue-hi); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark-none { border-bottom: 1px dashed var(--line-2); height: 14px; }
.citem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.clist li:first-child .citem { border-top: 0; padding-top: 4px; }
.citem .gicon { width: 48px; height: 48px; border-radius: 12px; }
.citem-name, .citem-right { display: flex; flex-direction: column; min-width: 0; }
.citem-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.citem-right { align-items: flex-end; }
.citem:hover b:not(.money) { text-decoration: underline; }
.empty-inline { text-align: center; padding: 8px 0 4px; }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.filters select { min-height: 44px; background: var(--s3); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; font: inherit; max-width: 100%; }
.budget-cell { min-width: 140px; }
.budget-cell .bar { margin: 4px 0 0; }
.rank { color: var(--faint); font-variant-numeric: tabular-nums; min-width: 2em; display: inline-block; }

/* ---- web app: install hint and notifications */
.install { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border-radius: var(--radius); background: var(--s2); border: 1px solid var(--blue-line); position: relative; }
.install[hidden] { display: none; }
.install img { border-radius: 12px; flex: 0 0 auto; }
.install-text { flex: 1; min-width: 0; }
.install-text p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.install-text .btn { margin-top: 8px; }
.ios-share { display: inline-flex; vertical-align: -3px; color: var(--blue-text); }
.ios-share svg { width: 18px; height: 18px; }
.install-close { background: none; border: 0; color: var(--muted); font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; cursor: pointer; border-radius: 10px; align-self: flex-start; margin: -8px -8px 0 0; }
.install-close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.card.notify { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.card.notify h2 { margin: 0 0 4px; }
.card.notify p { margin: 0; }
.card.notify [data-push-note]:empty { display: none; }
.card.notify [data-push-note] { margin-top: 6px; color: var(--blue-text); }
@media (max-width: 1000px) {
  .stats.stats-5 { grid-template-columns: repeat(3, 1fr); }
  .chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .stats.stats-5 { grid-template-columns: 1fr 1fr; }
  .stats.stats-5 .stat:first-child { grid-column: 1 / -1; }
  .payout-card { padding: 18px; }
  .payout-card .btn { flex: 1 1 100%; }
  .achart { padding: 16px 14px 12px; }
  .vitem { grid-template-columns: minmax(0, 1fr) auto; }
  .vitem .spark { grid-column: 1; grid-row: 2; width: 100%; max-width: 160px; }
  .vitem-nums { grid-column: 2; grid-row: 1 / span 2; }
  .card.notify .btns { width: 100%; }
}
@supports (padding: env(safe-area-inset-top)) {
  .top { padding-top: env(safe-area-inset-top); }
  .foot { padding-bottom: env(safe-area-inset-bottom); }
}
.vcard-bot { overflow: hidden; }
.vcard-handle { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) {
  .vcard-views { font-size: .9rem; gap: 4px; }
  .vcard-views svg { width: 12px; height: 12px; }
  .vcard-handle { font-size: .68rem; }
  .vcard-top { left: 6px; right: 6px; flex-wrap: wrap; gap: 4px; }
  .vcard-bot { left: 7px; right: 7px; bottom: 7px; }
}

/* ---- Sign in (Discord / Roblox / Google / email code), role step, Account > Linked sign-ins */
.signin > p.muted { margin-top: -4px; }
.sso-list { display: grid; gap: 10px; margin-top: 20px; }
.btn.sso { width: 100%; justify-content: flex-start; gap: 12px; padding: 0 16px; background: var(--s2); }
.btn.sso:hover { background: var(--s3); }
/* Google dark-theme button spec: fill #131314, 1px #8E918F stroke, text #E3E3E3, the G unchanged */
.btn.sso.google { background: #131314; border: 1px solid #8E918F; color: #E3E3E3; }
.btn.sso.google:hover { background: #1f1f21; }
.sso-mark.discord { background: #5865F2 !important; border-color: #5865F2; }
.sso-mark.google { background: transparent !important; border-color: transparent; }
.sso-mark.google img { display: block; }
.sso-mark.line { color: var(--text); }
.email-more > summary { list-style: none; cursor: pointer; }
.email-more > summary::-webkit-details-marker { display: none; }
.email-more[open] > summary { display: none; }
.email-more .email-form { margin: 0; }
.more-opts { margin: 4px 0 8px; }
.more-opts > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--blue-text); font-weight: 600; }
.btn.sso.off { opacity: .5; cursor: not-allowed; color: var(--muted); font-weight: 600; }
.sso-mark { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--s3); border: 1px solid var(--line-2); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: .95rem; color: var(--blue-text); }
.btn.sso .sso-mark { background: var(--bg); }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--faint); font-size: .85rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.email-form { display: grid; gap: 10px; }
.email-form .hint { margin: 0; }
.legacy { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.legacy summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legacy form { margin-top: 14px; }
.terms-line { margin: 16px 0 0; }
.text { color: var(--text); }
.btn.wide { width: 100%; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.code-input { font-family: var(--display); font-stretch: 112%; font-size: 1.6rem; letter-spacing: .3em; text-align: center; }
.resend { margin-top: 14px; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.who-pic { border-radius: 50%; border: 1px solid var(--line-2); background: var(--s3); }
.role-pick { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.role-card { position: relative; display: block; cursor: pointer; }
.role-card input { position: absolute; opacity: 0; inset: 0; }
.role-card span { display: grid; gap: 4px; height: 100%; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--s2); min-height: 92px; transition: border-color .15s ease, background-color .15s ease; }
.role-card b { font-size: 1rem; }
.role-card small { color: var(--muted); font-size: .85rem; line-height: 1.35; }
.role-card input:checked + span { border-color: var(--blue-hi); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue-hi); }
.role-card .tick { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--s3); }
.role-card input:checked + span .tick { background: var(--blue); border-color: var(--blue-hi); }
.role-card input:checked + span .tick::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.role-card b { padding-right: 26px; }
.role-card input:focus-visible + span { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
.welcome-form .only-studio, .welcome-form .only-creator { display: none; }
.welcome-form:has(input[value="studio"]:checked) .only-studio { display: block; }
.welcome-form:has(input[value="creator"]:checked) .only-creator { display: flex; }
.links-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 2px; }
.link-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.link-row:first-child { border-top: 0; }
.link-main { display: grid; gap: 2px; flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input { flex: 1 1 200px; min-height: 40px; padding: 8px 12px; width: auto; }
.how { margin-top: 12px; }
.how summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; }
.how ol { padding-left: 20px; }
@media (max-width: 760px) {
  .link-row .inline-form { flex: 1 1 100%; }
  .role-card span { min-height: 108px; }
}

/* Small phones: icon logo for everyone so the signed-out header (Campaigns, Sign in, Start) fits without scrolling. */
@media (max-width: 420px) {
  .top .logo-full { display: none; }
  .top .logo-icon { display: block; height: 28px; width: 28px; }
  .nav a, .nav button { padding: 0 6px; }
  .nav .btn { margin-left: 4px; }
}
.signin > p.terms-line { margin-top: 20px; }

/* Ratings (docs/ROLES-RATINGS.md): badge, stars, the rating form, the role switcher */
.rate-badge { display: inline-flex; gap: 4px; align-items: baseline; font-size: .9rem; white-space: nowrap; }
.rate-badge b { color: var(--amber); font-weight: 700; }
.rate-link { text-decoration: none; }
.pill.rate-new { background: var(--blue-soft); color: var(--blue-text); }
.stars-text i { font-style: normal; color: var(--s3); letter-spacing: 1px; }
.stars-text i.on { color: var(--amber); }
.star-input { border: 0; padding: 0; margin: 0 0 12px; }
.star-input legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 1.7rem; line-height: 1; color: var(--s3); background: var(--s2); border: 1px solid var(--line-2); cursor: pointer; transition: color .12s ease; }
.star-row label:hover, .star-row label:hover ~ label, .star-row input:checked ~ label { color: var(--amber); }
.star-row input:focus-visible + label { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.rate-form textarea, .private-note textarea { width: 100%; }
.private-note { margin: 0 0 8px; }
.private-note summary { cursor: pointer; padding: 8px 0; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.rate-item { padding: 14px 0; border-top: 1px solid var(--line); }
.rate-item:first-of-type { border-top: 0; }
.rate-item p { margin: 4px 0; }
.rate-reply { margin: 8px 0 0 12px; padding-left: 12px; border-left: 2px solid var(--line-2); color: var(--muted); }
.rate-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sort-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.sort-links a { padding: 6px 12px; min-height: 36px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--muted); font-size: .85rem; }
.sort-links a.on { color: var(--text); border-color: var(--blue-hi); background: var(--blue-soft); }
.role-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line-2); }
.role-switch button, .role-switch span { border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 12px; min-height: 34px; border-radius: 999px; cursor: pointer; }
.role-switch span { background: var(--blue); color: #fff; cursor: default; }
.role-switch form { margin: 0; display: inline-flex; }
@media (max-width: 560px) { .role-switch button, .role-switch span { padding: 6px 10px; } }
.private-note > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; }
.private-note > summary::-webkit-details-marker { display: none; }
.private-note > summary::before { content: "+"; color: var(--blue-text); font-size: 1.2rem; width: 1ch; }
.private-note[open] > summary::before { content: "\2212"; }

/* Invite page (referrals) */
.copy-row { display: flex; gap: 8px; margin: 6px 0 18px; }
.copy-row input { flex: 1; min-width: 0; }
.invite-people { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.invite-people li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.invite-teaser { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; margin-bottom: 16px; }
.invite-card + .invite-card { margin-top: 16px; }
tr.flagged td { background: rgba(245, 181, 68, .06); }

/* Phones: people with both roles get the Creator / Game dev switch on its own row, so the nav never runs off screen. */
@media (max-width: 560px) {
  .nav:has(.role-switch) { flex-wrap: wrap; overflow: visible; justify-content: flex-end; row-gap: 6px; }
  .nav .role-switch { order: 99; flex-basis: 100%; display: flex; justify-content: center; }
  .nav .role-switch form, .nav .role-switch span { flex: 1; justify-content: center; text-align: center; }
  .nav .role-switch button { width: 100%; }
}

/* Perks card (docs/PERKS-API.md) */
.perk-list { list-style: none; padding: 0; margin: 0 0 12px; }
.perk-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
fieldset.plain { border: 0; padding: 0; margin: 8px 0; }
#perks details > summary { list-style: none; display: inline-flex; margin: 6px 0 4px; }
#perks details > summary::-webkit-details-marker { display: none; }
#perks h3 { margin-top: 18px; }
#perks select, #perks input[type=password] { max-width: 100%; }
.pill.roles { background: rgba(122,167,255,.15); color: #b9d0ff; }
.api-key-once .code-block { word-break: break-all; white-space: pre-wrap; }
.code-block { overflow-x: auto; white-space: pre; font-size: 13px; padding: 12px; border-radius: 8px; background: rgba(255,255,255,.05); }

/* Boost page title with the game icon (art fetched on the page if it was missing) */
.boost-title { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.boost-title h1 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.boost-title .gicon { width: 48px; height: 48px; border-radius: 12px; font-size: 1.3rem; }
.art-status:empty { display: none; }
