/* Back your faction (fan-power.html), the free fan card (fan.html) and the thanks pages. Loaded after css/site.css and
   built only from its tokens (navy, orange, teal, gold, coral). Phone first: every rule works at 360 px wide. */

/* Intro */
.back .twocol { max-width: 860px; }
.back-ctas { margin-top: 20px; }

/* Buy: the checkout panel sits beside the picker on wide screens, below it on phones. Not sticky: it holds fields. */
.back-layout { align-items: start; }
@media (min-width: 980px) { .back-layout.layout { grid-template-columns: 1fr 400px; } .back-layout .side { position: static; } }
.checkout { padding: 20px; }
.checkout .stepnum { margin: 0 0 6px; }
.co-title { font-size: clamp(26px, 6.5vw, 32px); margin: 0 0 4px; line-height: 1.02; }
.co-local { color: var(--mute); font-size: 14px; margin: 0 0 14px; }
.co-sub { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--gold); margin: 0 0 6px; }
.co-list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 7px; }
.co-list li { position: relative; padding-left: 20px; color: var(--paper); font-size: 15px; line-height: 1.4; }
.co-list li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.co-note { color: var(--dim); font-size: 14.5px; line-height: 1.45; margin: 0 0 8px; }
.co-refund { color: var(--mute); font-size: 13.5px; line-height: 1.45; margin: 16px 0 12px; }
.co-seller { color: var(--mute); font-size: 12.5px; line-height: 1.45; margin: 12px 0 0; }
.checkout .field input { width: 100%; }
.checkout .check { margin-top: 16px; }
.field .hint.left { text-align: left; }
.field .hint.bad { color: var(--coral); }
input[aria-invalid="true"] { border-color: var(--coral); }
.fallen-tag { color: var(--coral); font-weight: 400; }

/* The wall */
.wall { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 14px; }
.wall .eyebrow { margin-bottom: 6px; }
.wall-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.wall-head .eyebrow { flex: 1 0 100%; }
.wall-head h3 { margin: 0; font-size: 26px; }
.wall-count { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--gold); border: 1px solid rgba(243, 196, 95, .45); border-radius: 999px; padding: 4px 10px; }
.wall-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wall-list li { font-family: var(--head); font-weight: 600; letter-spacing: .02em; font-size: 16px; color: var(--paper); background: rgba(94, 230, 220, .07); border: 1px solid rgba(94, 230, 220, .28); border-radius: 8px; padding: 6px 9px; overflow-wrap: anywhere; }
.wall-list li.pending { color: var(--dim); background: rgba(255, 255, 255, .03); border-color: var(--line-strong); }
.wall-empty { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: clamp(24px, 6vw, 30px); line-height: 1.05; color: var(--orange); margin: 4px 0 8px; }
.wall .small { margin: 0; }
.wall .btn { margin-bottom: 12px; }

/* Tonight's new supporters (fan-power.html #credits, from supporters.json "credits"); reuses the wall's chips */
#credits { scroll-margin-top: 80px; }
.credits-list { margin-top: 14px; }
.credits-list li a { color: inherit; }
.credits-list li a:hover { text-decoration: underline; }
.credits-list li span { font-family: var(--body); font-weight: 400; letter-spacing: 0; font-size: 14px; color: var(--mute); margin-left: 4px; }

/* Rules */
.back-rules { margin: 8px 0 18px; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; max-width: 760px; }
.back-rules li { counter-increment: r; position: relative; padding: 2px 0 2px 42px; color: var(--dim); font-size: 16px; line-height: 1.5; }
.back-rules li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 8px; background: rgba(242, 103, 41, .14); border: 1px solid rgba(242, 103, 41, .45); color: var(--orange); font-family: var(--head); font-weight: 600; font-size: 18px; display: grid; place-items: center; }

/* Free fan card sign-up (fan-power.html #fan-card, thanks.html, every dossier through js/follow.js) */
#fan-card { scroll-margin-top: 80px; }
#fan-card .follow { margin-top: 0; max-width: 860px; }
.follow .row.fc-grid { display: grid; gap: 10px; margin-top: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .follow .row.fc-grid { grid-template-columns: 1fr 1fr 1fr; align-items: end; } .follow .row.fc-grid.two { grid-template-columns: 1fr 1fr; } }
.fc-form .check { margin-top: 14px; }
.follow .eyebrow { color: var(--orange); }
.follow .legal a { color: var(--teal); }
.fc-form .fc-actions { margin-top: 14px; }

/* Fan card (fan.html) */
.fan-find { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin: 18px 0 0; }
.fan-find .search { flex: 1 1 220px; }
.fan-out { margin-top: 26px; }
.fancard { position: relative; overflow: hidden; width: 100%; max-width: 440px; border-radius: 20px; padding: 20px 20px 18px; color: var(--paper);
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(242, 103, 41, .35), transparent 65%),
    radial-gradient(360px 260px at 0% 100%, rgba(94, 230, 220, .14), transparent 65%),
    linear-gradient(160deg, #13283a, var(--board) 55%, var(--deep));
  border: 1px solid rgba(94, 230, 220, .3); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .03); }
.fancard::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px); }
.fancard > * { position: relative; z-index: 1; }
.fc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fc-logo { width: 132px; height: auto; }
.fc-kind { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--teal); border: 1px solid rgba(94, 230, 220, .45); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.fc-no { margin: 18px 0 0; display: flex; align-items: baseline; gap: 10px; }
.fc-no .lab, .fc-lab { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--mute); }
.fc-no b { font-family: var(--head); font-weight: 600; font-size: clamp(64px, 20vw, 92px); line-height: .9; color: var(--orange); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fc-handle { font-family: var(--head); font-weight: 600; font-size: clamp(28px, 8vw, 36px); line-height: 1.05; margin: 6px 0 14px; overflow-wrap: anywhere; }
.fc-stamps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fc-stamp { display: inline-block; transform: rotate(-3deg); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--gold); border: 2px solid var(--gold); outline: 1px solid rgba(243, 196, 95, .5); outline-offset: 2px; border-radius: 6px; padding: 5px 9px; background: rgba(243, 196, 95, .08); }
.fc-rank { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--teal); border: 1px solid rgba(94, 230, 220, .45); border-radius: 999px; padding: 5px 11px; }
.fc-backed { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.fc-backed ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.fc-backed li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 15px; }
.fc-backed li img { width: 42px; height: 28px; object-fit: contain; background: #0a1521; border-radius: 4px; }
.fc-backed li a { color: var(--paper); }
.fc-backed li b { font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--gold); font-variant-numeric: tabular-nums; }
.fc-backed .none { color: var(--mute); font-size: 14px; margin: 6px 0 0; }
.fc-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--mute); }
.fan-miss { max-width: 640px; }
.fan-miss h2 { font-size: clamp(26px, 6vw, 36px); }

/* Thanks pages */
.thanks-chosen { max-width: 520px; }
