/* Sakura_Squad website. Mobile first, from the Paper designs ("lacquerware": lacquer black, washi paper, sakura pink, gold inlay). */

@font-face { font-family: Figtree; src: url(/fonts/figtree-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Cinzel; src: url(/fonts/cinzel-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Caveat; src: url(/fonts/caveat-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
	--bg: #121013; --raised: #1C1A1E; --border: #2E292F; --chip: #3A3339;
	--text: #EFE7E3; --muted: #A39AA1; --faint: #6B6169;
	--pink: #F4A6C0; --gold: #C8A15A; --red: #E0726B; --seal: #C2453F;
	--out: #6B4452; --none: #2E292F;
	--line: rgba(200, 161, 90, 0.2); --line-strong: rgba(200, 161, 90, 0.35);
	--tabbar: 66px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.45 Figtree, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
html { overflow-x: hidden; } /* older iPhones: never scroll sideways */
body { overflow-x: clip; } /* never scroll sideways, whatever sticks out */
p, h3 { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

/* helpers */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 600; }
.light { font-weight: 400; }
.pink { color: var(--pink); }
.red { color: var(--red); }
.text { color: var(--text); }
.italic { font-style: italic; }
.nowrap { white-space: nowrap; }
.grow { flex: 1; min-width: 0; }
.col { display: flex; flex-direction: column; gap: 3px; }
.center { text-align: center; }
.error { color: var(--red); font-weight: 600; font-size: 14px; }
.fine { color: var(--muted); font-size: 13px; line-height: 19px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic.sm { width: 16px; height: 16px; stroke-width: 2; }

/* buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 54px; border-radius: 12px; font: 700 16px Figtree, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn.primary { background: var(--pink); color: var(--bg); }
.btn.outline { border: 1px solid var(--pink); color: var(--pink); background: none; }
.btn.discord { background: #5865F2; color: #fff; }
.discord-logo { width: 24px; height: 24px; }
.center-link { display: block; text-align: center; font-weight: 500; font-size: 15px; text-decoration: none; padding: 6px; }

/* brand */
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark img { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font: 600 13px Cinzel, serif; letter-spacing: 0.14em; color: var(--text); }
.brand-sub { font: 600 10px Figtree, sans-serif; letter-spacing: 0.22em; color: var(--gold); }
/* The blossom branch hangs off the right edge. It sits in a clipped frame, so the page can never scroll sideways. */
.branch-wrap { position: absolute; left: 0; right: 0; overflow: hidden; pointer-events: none; user-select: none; z-index: 0; }
.branch { position: absolute; height: auto; }

/* ---------- public page ---------- */
body.public { max-width: 480px; margin: 0 auto; position: relative; overflow-x: clip; }
.pub-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: calc(18px + env(safe-area-inset-top)) 24px 0; }
.pub-nav a { text-decoration: none; }
.muted-link { color: var(--muted); font-weight: 500; font-size: 14px; }
.hero-branch { top: calc(64px + env(safe-area-inset-top)); height: 230px; }
.hero-branch .branch { top: 0; right: -110px; width: 430px; }
.hero { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding: 196px 24px 0; }
.kicker { color: var(--gold); font-weight: 500; font-size: 15px; }
.wordmark { position: relative; }
.wordmark h1 { font: 600 60px/60px Cinzel, serif; letter-spacing: -0.01em; }
.seal { position: absolute; left: 238px; top: 60px; width: 54px; height: 54px; opacity: 0.92; }
.brush { width: 132px; height: 14px; fill: var(--pink); margin-top: -4px; }
.lead { font-size: 18px; line-height: 27px; padding-top: 6px; }
.lead strong { color: var(--pink); font-weight: 600; }
.hero .btn { margin-top: 10px; }
.pub-section { padding: 72px 24px 0; }
.pub-section h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; padding-bottom: 10px; }
.feature { padding: 10px 0; }
.feature h3 { font-size: 17px; font-weight: 600; padding-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 23px; }
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-no { width: 28px; flex-shrink: 0; font-weight: 700; font-size: 30px; line-height: 30px; letter-spacing: -0.02em; color: var(--pink); }
.steps p { color: var(--muted); font-size: 16px; line-height: 24px; }
.steps strong { color: var(--text); font-weight: 600; }
.note-wrap { padding: 72px 30px 0; }
.note { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 24px 22px; background: var(--text); color: #241E22; border-radius: 3px; transform: rotate(-1.5deg); }
.tape { position: absolute; top: -11px; left: 50%; width: 76px; height: 22px; margin-left: -38px; background: rgba(244, 166, 192, 0.6); transform: rotate(3deg); }
.note-from { color: #7A6E75; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.note-text { font-weight: 500; font-size: 18px; line-height: 27px; }
.signature { font: 600 30px/30px Caveat, cursive; color: var(--seal); transform: rotate(-3deg); transform-origin: left; padding-top: 4px; }
.pub-foot { padding: 72px 24px calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 20px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: 13px; color: var(--muted); }
.foot-row a { color: var(--text); font-weight: 500; text-decoration: none; white-space: nowrap; }

/* ---------- simple pages (login, leaders only, not found) ---------- */
body.simple { max-width: 480px; margin: 0 auto; position: relative; overflow-x: clip; min-height: 100vh; }
body.simple .branch-wrap { top: env(safe-area-inset-top); height: 215px; }
body.simple .branch { top: 0; right: -120px; width: 430px; }
.simple-main { position: relative; display: flex; flex-direction: column; gap: 22px; padding: calc(230px + env(safe-area-inset-top)) 28px calc(40px + env(safe-area-inset-bottom)); }
.simple-main .brand-mark img { display: none; }
.simple-main .brand-name { font-size: 15px; }
.simple-main .brand-sub { font-size: 11px; }
.simple-title { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.02em; }
.simple-text { color: var(--muted); font-size: 16px; line-height: 24px; }
.simple-text strong { color: var(--text); }
.center-link.bottom { margin-top: 30px; }

/* ---------- HQ shell ---------- */
.topbar { max-width: 480px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 24px 0; }
.topbar a { text-decoration: none; }
.page { max-width: 480px; margin: 0 auto; padding: 26px 24px calc(var(--tabbar) + 48px + env(safe-area-inset-bottom)); }
.flash { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; background: rgba(244, 166, 192, 0.12); color: var(--pink); font-weight: 600; font-size: 14px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; background: rgba(18, 16, 19, 0.96); border-top: 1px solid rgba(200, 161, 90, 0.3); padding: 10px 8px calc(8px + env(safe-area-inset-bottom)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tabbar a { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-weight: 500; font-size: 11px; text-decoration: none; padding: 2px 0; }
.tabbar a.on { color: var(--pink); font-weight: 600; }
.tabbar .ic { width: 24px; height: 24px; }

/* bottom sheets (account menu, sort): plain <details>, so they work without JavaScript */
.sheet > summary { list-style: none; cursor: pointer; }
.sheet > summary::-webkit-details-marker { display: none; }
.sheet[open] > summary::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(8, 6, 9, 0.62); cursor: default; }
.sheet-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-width: 480px; margin: 0 auto; max-height: 86vh; overflow-y: auto; background: var(--raised); border-top: 1px solid var(--border); border-radius: 22px 22px 0 0; padding: 10px 24px calc(28px + env(safe-area-inset-bottom)); }
.handle { width: 40px; height: 5px; border-radius: 3px; background: var(--chip); margin: 0 auto 18px; }
.sheet h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; padding-bottom: 6px; }
.sheet h2 + p { padding-bottom: 12px; }
.sheet-rows { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.sheet-rows form { margin: 0; }
.sheet-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--text); font: 500 16px Figtree, sans-serif; text-decoration: none; text-align: left; padding: 0; cursor: pointer; }
.sheet-row .ic { color: var(--muted); }
.sheet-row.danger, .sheet-row.danger .ic { color: var(--red); font-weight: 600; }
.sort .sheet-row { justify-content: space-between; }
.sheet-row.on { color: var(--pink); font-weight: 600; }
.sheet-row.on .ic { color: var(--pink); stroke-width: 2.4; }
.account > summary img { display: block; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.me-row { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; }
.me-row img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.me-name { font-weight: 700; font-size: 19px; }
.me-row .muted { font-size: 14px; }

/* page parts */
.title h1 { font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.title p { font-size: 15px; margin-top: 4px; }
section { margin-top: 34px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding-bottom: 10px; }
.section-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.section-head h2 .light { font-size: 15px; }
.rows > * { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 14px; padding: 10px 0; text-decoration: none; }
.av { width: 36px; height: 36px; border-radius: 50%; background: #2A2529; object-fit: cover; flex-shrink: 0; }
.more { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: var(--pink); font-weight: 600; font-size: 15px; text-decoration: none; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 500; font-size: 15px; text-decoration: none; margin-bottom: 16px; }
.back .ic { width: 18px; height: 18px; stroke-width: 2; }
.callout { margin-top: 22px; padding: 16px; border: 1px dashed var(--chip); border-radius: 12px; color: var(--muted); font-size: 15px; line-height: 22px; }
.empty-note { padding: 14px 0; }

/* overview */
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 18px 0; text-decoration: none; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 18px; padding-right: 0; }
.stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.stat-label { color: var(--muted); font-weight: 500; font-size: 14px; }
.stat-value { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.03em; }
.stat-sub { color: var(--muted); font-size: 13px; }
.stat-sub.pink { color: var(--pink); font-weight: 600; }
.event { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; }
.event p { font-size: 15px; }
.event a { text-decoration: none; }
.event strong { font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; margin: 7px 3px 0; flex-shrink: 0; }
.dot.pink { background: var(--pink); }
.dot.gold { background: var(--gold); }
.dot.red { background: var(--red); }
.dot.ring { border: 1.5px solid var(--muted); }

/* roster */
.search { display: flex; align-items: center; gap: 10px; height: 48px; margin-top: 18px; padding: 0 16px; border-radius: 12px; background: var(--raised); border: 1px solid var(--border); color: var(--muted); }
.search:focus-within { border-color: var(--pink); }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--text); font: 400 16px Figtree, sans-serif; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #8A8088; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.chips { display: flex; gap: 8px; margin: 14px -24px 0; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--chip); color: var(--text); font-weight: 500; font-size: 14px; text-decoration: none; white-space: nowrap; }
.chip.on { background: var(--pink); border-color: var(--pink); color: var(--bg); font-weight: 600; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-bottom: 10px; font-size: 14px; }
.sort > summary { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.hunter { display: flex; align-items: center; gap: 14px; padding: 14px 0; text-decoration: none; }
.hunter .av { width: 42px; height: 42px; }
.hunter strong { font-size: 16px; font-weight: 600; }
.hunter .muted, .hunter .pink { font-size: 14px; }
.clash-line { display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.blocks { display: inline-flex; gap: 4px; }
.b { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--none); flex-shrink: 0; }
.b.in { background: var(--pink); }
.b.out { background: var(--out); }
.b.big { width: 14px; height: 14px; border-radius: 3px; }
.b.sm { width: 8px; height: 8px; }
.ar { width: 48px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; }
.ar strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ar span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }

/* hunter profile */
.card { margin: 22px 0 0; }
.card img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.card figcaption { margin-top: 8px; }
.facts { margin-top: 24px; border-bottom: 1px solid var(--line); }
.fact { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.fact strong { font-weight: 600; text-align: right; }
.weeks { display: flex; gap: 8px; margin-bottom: 14px; }
.week { flex: 1; min-width: 0; max-width: 72px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; text-decoration: none; }
.week .b { width: 100%; height: 30px; border-radius: 6px; }
.week .strong { color: var(--text); }

/* kick records */
.record { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; }
.record-top { display: flex; align-items: baseline; gap: 8px; }
.record-top strong { font-size: 18px; font-weight: 600; }
.record-top a { text-decoration: none; }
.reason { color: var(--red); font-weight: 600; font-size: 14px; }
.quote { font-style: italic; font-size: 16px; line-height: 23px; }
.record.deleted { opacity: 0.45; }
.record.deleted .record-top strong, .record.deleted .reason { text-decoration: line-through; color: var(--muted); }

/* guild clash */
.numbers { display: flex; align-items: flex-end; gap: 28px; margin-top: 22px; text-decoration: none; }
.numbers > span { display: flex; flex-direction: column; gap: 2px; }
.numbers strong { font-size: 44px; line-height: 46px; font-weight: 700; letter-spacing: -0.03em; }
.numbers .muted { font-size: 14px; white-space: nowrap; }
.numbers + .more { margin-top: 18px; }
.grid { margin-top: 26px; }
.grid-row { display: flex; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.grid-head { border-top: 0; padding: 0 0 10px; }
.grid-name { font-size: 15px; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 6px; }
.cell { width: 34px; flex-shrink: 0; display: flex; justify-content: center; }
.date { color: var(--muted); font-size: 11px; text-decoration: none; }
.date.strong { color: var(--text); }
.total { width: 40px; flex-shrink: 0; text-align: right; font-weight: 700; font-size: 15px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .b { width: 10px; height: 10px; }
.bars { margin: 12px 0; }
.bar-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; text-decoration: none; }
.bar-name { width: 84px; flex-shrink: 0; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { flex: 1; height: 10px; border-radius: 5px; background: var(--none); display: flex; overflow: hidden; }
.bar i { display: block; height: 10px; border-radius: 5px; background: var(--pink); }
.bar i.thin { opacity: 0.6; }
.bar-value { width: 50px; flex-shrink: 0; text-align: right; font-weight: 600; font-size: 14px; }
.action { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--pink); border-radius: 12px; color: var(--pink); text-decoration: none; }
.action strong { font-weight: 700; font-size: 15px; }
.player { display: flex; align-items: center; gap: 12px; padding: 11px 0; text-decoration: none; }
.player strong { font-size: 15px; font-weight: 600; }
.names h3 { font-size: 17px; font-weight: 600; margin: 22px 0 6px; }
.names h3:first-child { margin-top: 0; }
.names p { font-size: 15px; line-height: 23px; }
.names .italic { color: var(--text); font-size: 14px; margin-top: 6px; }

/* score entry */
.progress { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; }
.progress-bar { height: 4px; border-radius: 2px; background: var(--none); overflow: hidden; }
.progress-bar i { display: block; height: 4px; border-radius: 2px; background: var(--pink); transition: width 0.2s; }
.scores-form .rows { margin-top: 18px; }
.scores-form .error[role="alert"] { margin-top: 14px; }
.entry { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.entry strong { font-size: 16px; font-weight: 600; }
input.score { width: 128px; height: 46px; flex-shrink: 0; padding: 0 14px; border-radius: 10px; background: var(--raised); border: 1px solid var(--border); color: var(--text); font: 600 18px Figtree, sans-serif; letter-spacing: -0.01em; text-align: right; -webkit-appearance: none; appearance: none; }
input.score::placeholder { color: var(--faint); font-weight: 400; font-size: 16px; }
input.score:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.has-error input.score { border-color: var(--red); }
.add-player { padding-top: 14px; border-top: 1px solid var(--line); }
.add-player summary { display: flex; align-items: center; gap: 10px; color: var(--pink); font-weight: 600; font-size: 15px; list-style: none; cursor: pointer; }
.add-player summary::-webkit-details-marker { display: none; }
.add-fields { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.add-fields select { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border-radius: 10px; background: var(--raised); border: 1px solid var(--border); color: var(--text); font: 400 16px Figtree, sans-serif; }
.add-fields .error { width: 100%; }
.save-bar { position: sticky; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); z-index: 20; margin: 24px -24px 0; padding: 14px 24px 10px; background: rgba(18, 16, 19, 0.97); border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 8px; }

/* bar widths (classes instead of inline styles, for the security policy) */
.w-0 { width: 0%; }
.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }

/* ---------- desktop (900px and wider) ---------- */
@media (min-width: 900px) {
	/* public page */
	body.public { max-width: 1120px; }
	.pub-nav { padding: 32px 56px 0; }
	.hero-branch { top: 30px; height: 600px; }
	.hero-branch .branch { top: 60px; right: -30px; width: 700px; }
	.hero { max-width: 640px; gap: 22px; padding: 190px 56px 0; }
	.wordmark h1 { font-size: 104px; line-height: 100px; }
	.seal { left: 410px; top: 104px; width: 84px; height: 84px; }
	.brush { width: 200px; height: 21px; }
	.lead { font-size: 21px; line-height: 32px; max-width: 540px; }
	.hero .btn { width: auto; align-self: flex-start; padding: 0 34px; }
	.hero .center-link { text-align: left; padding: 6px 0; }
	.pub-section { padding: 130px 56px 0; }
	.pub-section h2 { font-size: 34px; padding-bottom: 28px; }
	.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
	.feature { padding: 0; }
	.feature h3 { font-size: 19px; }
	.feature p, .steps p { font-size: 16px; line-height: 25px; }
	.steps { flex-direction: row; gap: 44px; margin-top: 0; }
	.steps li { flex: 1; flex-direction: column; gap: 14px; }
	.step-no { font-size: 40px; line-height: 40px; }
	.note-wrap { display: flex; justify-content: center; padding: 130px 56px 0; }
	.note { max-width: 560px; }
	.pub-foot { align-items: center; padding: 110px 56px 56px; }
	.pub-foot .btn { max-width: 360px; }
	.foot-row { width: 100%; }

	/* login, leaders only, not found */
	body.simple { max-width: none; }
	body.simple .branch-wrap { height: 460px; }
	body.simple .branch { top: 20px; right: max(-60px, calc(50vw - 640px)); width: 640px; }
	.simple-main { max-width: 470px; margin: 0 auto; padding-top: 250px; }

	/* staff HQ: sidebar instead of the bottom tab bar */
	:root { --tabbar: 0px; }
	body.hq { padding-left: 232px; }
	.topbar { max-width: 1000px; padding: 28px 48px 0; min-height: 62px; justify-content: flex-end; }
	.topbar > a { position: fixed; top: 30px; left: 28px; z-index: 31; }
	.page { max-width: 1000px; padding: 20px 48px 80px; }
	.tabbar { top: 0; right: auto; bottom: 0; width: 232px; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 110px 16px 24px; border-top: 0; border-right: 1px solid rgba(200, 161, 90, 0.3); background: #161317; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.tabbar a { flex: none; max-width: none; flex-direction: row; gap: 12px; padding: 11px 14px; border-radius: 10px; font-size: 15px; }
	.tabbar a:hover { background: rgba(239, 231, 227, 0.05); }
	.tabbar a.on { background: rgba(244, 166, 192, 0.1); }
	.title h1 { font-size: 40px; }
	.title p { font-size: 16px; }
	.stats { grid-template-columns: repeat(4, 1fr); }
	.stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 0; }
	.stat:first-child { padding-left: 0; }
	.stat:last-child { border-right: 0; }
	.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
	.chips { margin: 14px 0 0; padding: 0; flex-wrap: wrap; overflow: visible; }
	.search { max-width: 560px; }
	.card { max-width: 600px; }
	.facts { max-width: 600px; }
	.hunter:hover, .row:hover, .player:hover, .bar-row:hover { background: rgba(239, 231, 227, 0.03); }
	.grid, .legend, .bars { max-width: 720px; }
	.scores-form { max-width: 640px; }
	.save-bar { bottom: 0; margin: 24px -48px 0; padding: 16px 48px 12px; }
	/* menus open as a centered window instead of a bottom sheet */
	.sheet-panel { top: 50%; right: auto; bottom: auto; left: 50%; width: 440px; transform: translate(-50%, -50%); border: 1px solid var(--border); border-radius: 18px; padding: 26px 28px; }
	.handle { display: none; }
	a, summary, button { cursor: pointer; }
}
