:root {
  --bg: #070b12;
  --surface: #0f1724;
  --surface-2: #151f2e;
  --surface-3: #1b2839;
  --gold: #f5b81f;
  --gold-2: #ffd45c;
  --text: #f8fafc;
  --muted: #aab4c4;
  --line: rgba(255,255,255,.1);
  --danger: #ff5b65;
  --success: #31d17c;
  --warning: #ffbe3d;
  --info: #5ab4ff;
  --shadow: 0 22px 70px rgba(0,0,0,.35);
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% -10%, #1d2b42 0, var(--bg) 42%, #04070c 100%); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 20% 18%, rgba(245,184,31,.07) 0 1px, transparent 2px), radial-gradient(circle at 80% 32%, rgba(90,180,255,.05) 0 1px, transparent 2px); background-size: 38px 38px, 52px 52px; opacity: .5; z-index: -1; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff0ae; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
input, select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #0a111c; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245,184,31,.12); background: #0d1623; }
input[readonly] { color: var(--gold-2); background: #101725; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
label, legend { font-weight: 750; color: #eef3fa; }
small { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1 { letter-spacing: -.04em; line-height: 1.06; }
h2 { letter-spacing: -.025em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.required { color: var(--gold); }
.optional { color: var(--muted); font-weight: 500; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.block-small { display: block; margin-top: 3px; }

.site-header, .admin-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 10px max(18px, env(safe-area-inset-left)) 10px max(18px, env(safe-area-inset-right)); background: rgba(5,9,15,.84); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.site-brand:hover { color: var(--text); }
.site-brand-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; border-radius: 13px; background: linear-gradient(145deg, var(--gold-2), #c68200); box-shadow: 0 8px 24px rgba(245,184,31,.2); }
.site-brand span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand strong { font-size: .98rem; }
.site-brand small { margin-top: 4px; font-size: .7rem; }
.header-nav { display: flex; align-items: center; gap: 18px; }
.header-nav a { color: #dfe7f3; font-weight: 750; font-size: .9rem; }

.page-shell, .admin-shell { width: min(1180px, calc(100% - 32px)); margin: 30px auto 70px; }
.narrow-shell { width: min(620px, calc(100% - 32px)); margin: 54px auto; }
.hero-card { display: grid; grid-template-columns: minmax(260px, 390px) 1fr; overflow: hidden; min-height: 420px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, rgba(27,40,57,.95), rgba(10,16,25,.96)); box-shadow: var(--shadow); }
.hero-image-wrap { position: relative; min-height: 390px; overflow: hidden; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #101824 100%); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 64px); }
.hero-copy h1 { max-width: 680px; margin-bottom: 16px; font-size: clamp(2.2rem, 5.2vw, 4.7rem); }
.hero-copy > p:not(.eyebrow) { max-width: 680px; color: #c7d0df; font-size: 1.08rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-meta span { padding: 9px 12px; border: 1px solid rgba(245,184,31,.18); border-radius: 999px; background: rgba(245,184,31,.07); color: #f7e3a4; font-size: .84rem; font-weight: 750; }

.rules-card, .form-section, .lookup-card, .filter-card, .players-card, .detail-card, .decision-card { margin-top: 24px; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(20,31,46,.96), rgba(10,16,25,.97)); box-shadow: 0 18px 55px rgba(0,0,0,.18); }
.section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.section-heading.compact { margin-bottom: 20px; }
.section-number { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; background: linear-gradient(145deg, var(--gold-2), #d28b00); color: #111; font-weight: 950; box-shadow: 0 8px 24px rgba(245,184,31,.18); }
.section-heading h2 { margin-bottom: 4px; font-size: clamp(1.25rem, 3vw, 1.65rem); }
.section-heading p { margin: 0; color: var(--muted); }
.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.rules-grid article { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.rules-grid strong { color: var(--gold-2); }
.rules-grid p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.registration-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field > legend { display: block; margin-bottom: 8px; font-size: .9rem; }
.field small { display: block; margin-top: 7px; font-size: .78rem; }
.choice-fieldset { margin: 0; padding: 0; border: 0; }
.choice-fieldset > legend { margin-bottom: 12px; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.choice-card { position: relative; display: flex; align-items: center; gap: 13px; min-height: 78px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: #0b131f; cursor: pointer; transition: transform .18s, border-color .18s, background .18s; }
.choice-card:hover { transform: translateY(-1px); border-color: rgba(245,184,31,.42); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-dot { width: 21px; height: 21px; flex: 0 0 auto; border: 2px solid #718096; border-radius: 50%; box-shadow: inset 0 0 0 4px #0b131f; }
.choice-card input:checked + .choice-dot { border-color: var(--gold); background: var(--gold); }
.choice-card:has(input:checked) { border-color: var(--gold); background: rgba(245,184,31,.07); box-shadow: 0 0 0 3px rgba(245,184,31,.08); }
.choice-card span:last-child { display: flex; flex-direction: column; }
.choice-card small { margin-top: 3px; font-weight: 500; }
.choice-danger:has(input:checked) { border-color: var(--danger); background: rgba(255,91,101,.08); box-shadow: 0 0 0 3px rgba(255,91,101,.08); }
.choice-danger input:checked + .choice-dot { border-color: var(--danger); background: var(--danger); }
.inline-fieldset { margin-top: 2px; }
.compact-choices .choice-card { min-height: 60px; }
.upload-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; padding: 25px; text-align: center; border: 1.5px dashed rgba(245,184,31,.45); border-radius: 20px; background: rgba(245,184,31,.035); cursor: pointer; overflow: hidden; }
.upload-box:hover { background: rgba(245,184,31,.06); }
.upload-box input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.upload-icon { margin-bottom: 9px; font-size: 2rem; }
.upload-box small { margin-top: 5px; }
.upload-preview { max-width: 260px; max-height: 260px; margin-top: 18px; border-radius: 14px; border: 1px solid var(--line); object-fit: contain; }
.compression-note { margin-top: 10px; color: var(--success); font-size: .78rem; }
.error-text { color: var(--danger) !important; }
.declaration-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid rgba(245,184,31,.25); border-radius: 16px; background: rgba(245,184,31,.045); cursor: pointer; }
.declaration-card input { position: absolute; opacity: 0; pointer-events: none; }
.check-ui { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border: 2px solid #748093; border-radius: 7px; color: transparent; }
.declaration-card:has(input:checked) .check-ui { border-color: var(--gold); background: var(--gold); color: #111; }
.submit-panel { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 18px; border: 1px solid rgba(245,184,31,.28); border-radius: 18px; background: rgba(10,16,25,.9); backdrop-filter: blur(18px); box-shadow: 0 18px 55px rgba(0,0,0,.35); }
.submit-panel div:first-child { display: flex; flex-direction: column; }
.submit-panel small { margin-top: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 12px; font-weight: 850; cursor: pointer; transition: transform .18s, filter .18s, border-color .18s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold-2), #dd9300); color: #111; box-shadow: 0 10px 30px rgba(245,184,31,.2); }
.btn-primary:hover { color: #111; }
.btn-secondary { background: #182334; border-color: var(--line); color: #f3f7fd; }
.btn-secondary:hover { color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: #d7dfec; }
.btn-large { min-height: 54px; padding-inline: 25px; }
.btn-small { min-height: 38px; padding: 7px 12px; border-radius: 10px; font-size: .84rem; }
.btn-full { width: 100%; }
.btn-approve { background: rgba(49,209,124,.13); border-color: rgba(49,209,124,.4); color: #84f4b8; }
.btn-reject { background: rgba(255,91,101,.12); border-color: rgba(255,91,101,.35); color: #ff9aa1; }
.btn-whatsapp { background: #20b965; color: white; }
.btn-whatsapp:hover { color: white; }

.alert { margin: 18px 0; padding: 14px 16px; border-radius: 13px; border: 1px solid; font-weight: 650; }
.alert-error { background: rgba(255,91,101,.1); border-color: rgba(255,91,101,.35); color: #ffc0c4; }
.alert-success { background: rgba(49,209,124,.1); border-color: rgba(49,209,124,.35); color: #a6f6c8; }
.alert-warning { background: rgba(255,190,61,.1); border-color: rgba(255,190,61,.35); color: #ffe2a4; }
.alert-info { background: rgba(90,180,255,.1); border-color: rgba(90,180,255,.35); color: #c5e7ff; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.site-footer { padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); text-align: center; color: #8591a3; border-top: 1px solid var(--line); }
.site-footer p { margin: 3px 0; font-size: .84rem; }

.lookup-card { margin-top: 0; }
.lookup-card h1 { margin-bottom: 10px; font-size: clamp(2rem, 7vw, 3.2rem); }
.stack-form { display: grid; gap: 17px; margin-top: 25px; }
.status-result { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #0a121d; }
.status-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.status-result-head small { color: var(--gold); font-weight: 850; }
.status-result-head h2 { margin: 5px 0 0; }
.status-result dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 20px 0; }
.status-result dl div { padding: 12px; border-radius: 12px; background: #111b29; }
.status-result dt { color: var(--muted); font-size: .75rem; }
.status-result dd { margin: 3px 0 0; font-weight: 800; }
.notice-text { margin: 0; padding: 12px; border-radius: 12px; background: rgba(255,190,61,.08); color: #f7d892; }
.approved-text { background: rgba(49,209,124,.08); color: #a6f6c8; }
.rejected-text { background: rgba(255,91,101,.08); color: #ffc0c4; }
.status { display: inline-flex; align-items: center; justify-content: center; min-width: 84px; padding: 6px 10px; border-radius: 999px; font-size: .73rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.status-pending { background: rgba(255,190,61,.13); color: #ffd98f; border: 1px solid rgba(255,190,61,.25); }
.status-approved { background: rgba(49,209,124,.13); color: #8af0b6; border: 1px solid rgba(49,209,124,.25); }
.status-rejected { background: rgba(255,91,101,.13); color: #ff9fa5; border: 1px solid rgba(255,91,101,.25); }

.success-page, .install-page, .login-page { display: grid; place-items: center; min-height: 100vh; padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
.success-shell { width: min(650px, 100%); }
.success-card { padding: clamp(26px, 6vw, 50px); text-align: center; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, #142034, #090f19); box-shadow: var(--shadow); }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--success); color: #072413; font-size: 2rem; font-weight: 950; box-shadow: 0 14px 40px rgba(49,209,124,.2); }
.success-card h1 { font-size: clamp(2rem, 7vw, 3.35rem); }
.registration-ticket { margin: 25px 0; padding: 22px; border: 1px dashed rgba(245,184,31,.45); border-radius: 18px; background: rgba(245,184,31,.055); }
.registration-ticket small { display: block; }
.registration-ticket strong { display: block; margin: 7px 0 13px; color: var(--gold-2); font: 900 clamp(1.7rem, 7vw, 2.5rem)/1 ui-monospace, monospace; }
.notice-box { padding: 15px; border-radius: 14px; background: #0b131f; }
.notice-box p { margin: 5px 0 0; color: var(--muted); }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

.install-shell { width: min(760px, 100%); }
.install-card { padding: clamp(24px, 5vw, 46px); border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(145deg, #142034, #090f19); box-shadow: var(--shadow); }
.install-card h1 { font-size: clamp(2rem, 6vw, 3rem); }
.brand-mark { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 18px; background: linear-gradient(145deg, var(--gold-2), #c47d00); font-size: 1.7rem; }
.install-form { margin-top: 24px; }
.install-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.security-note { margin: 18px 0 0; color: #f6d68c; }

.login-shell { display: grid; grid-template-columns: minmax(260px, 420px) minmax(340px, 520px); width: min(940px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #0c141f; box-shadow: var(--shadow); }
.login-visual { min-height: 650px; overflow: hidden; }
.login-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 6vw, 56px); }
.login-card h1 { margin-bottom: 10px; font-size: clamp(2.2rem, 6vw, 3.4rem); }
.back-link { display: inline-block; margin-bottom: 28px; color: #dbe3ee; font-weight: 750; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 72px; }
.password-toggle { position: absolute; right: 7px; top: 7px; min-height: 34px; padding: 4px 9px; border: 0; border-radius: 8px; background: #1a2636; color: #cfd8e6; cursor: pointer; }

.admin-body { background: #080d15; }
.admin-header { position: sticky; }
.admin-user { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.admin-title-row h1 { margin: 0 0 7px; font-size: clamp(2rem, 5vw, 3.2rem); }
.admin-title-row p:last-child { margin-bottom: 0; }
.title-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.stat-card { display: flex; align-items: center; gap: 14px; min-height: 110px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #142034, #0d1521); color: var(--text); }
.stat-card:hover { color: var(--text); border-color: rgba(245,184,31,.28); }
.stat-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(245,184,31,.1); }
.stat-card div { display: flex; flex-direction: column; }
.stat-card small { font-size: .78rem; }
.stat-card strong { margin-top: 3px; font-size: 1.7rem; }
.filter-form { display: grid; grid-template-columns: minmax(260px, 1.5fr) minmax(150px, .6fr) minmax(150px, .6fr) auto; align-items: end; gap: 14px; }
.filter-actions { display: flex; gap: 8px; }
.players-card { padding: 0; overflow: hidden; }
.table-head { display: flex; align-items: center; justify-content: space-between; padding: 23px 25px; border-bottom: 1px solid var(--line); }
.table-head h2 { margin: 0; }
.table-head p { margin: 3px 0 0; color: var(--muted); font-size: .85rem; }
.desktop-table-wrap { overflow-x: auto; }
.players-table { width: 100%; border-collapse: collapse; min-width: 960px; }
.players-table th { padding: 12px 16px; text-align: left; color: #8f9bad; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: #0b121d; }
.players-table td { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.06); vertical-align: middle; color: #dfe6ef; font-size: .9rem; }
.players-table tr:hover td { background: rgba(255,255,255,.02); }
.player-cell { display: flex; align-items: center; gap: 11px; min-width: 220px; }
.player-cell img { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; background: #1b2736; }
.player-cell div { display: flex; flex-direction: column; }
.player-cell small { margin-top: 3px; }
.mobile-player-list { display: none; }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state span { font-size: 2.4rem; }
.empty-state h3 { margin: 12px 0 5px; }
.empty-state p { color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 20px; border-top: 1px solid var(--line); }
.pagination a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; color: #dbe3ee; }
.pagination a.active { border-color: var(--gold); background: var(--gold); color: #111; font-weight: 900; }

.detail-shell { width: min(1040px, calc(100% - 32px)); }
.detail-hero { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 22px; margin-top: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #172337, #0b121d); }
.detail-avatar { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; border: 1px solid rgba(245,184,31,.3); }
.detail-kicker { display: flex; align-items: center; gap: 10px; }
.detail-title h1 { margin: 8px 0 6px; }
.detail-title p { margin: 0; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.detail-card h2, .decision-card h2 { margin-bottom: 20px; }
.detail-list { display: grid; gap: 1px; margin: 0; border-radius: 14px; overflow: hidden; }
.detail-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 14px; padding: 13px 15px; background: rgba(255,255,255,.027); }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 750; }
.verified-chip { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: rgba(49,209,124,.12); color: #8ef0b7; font-size: .78rem; }
.document-preview { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #070c13; }
.document-preview img { width: 100%; max-height: 520px; object-fit: contain; }
.document-preview span { display: block; padding: 12px; text-align: center; background: #111a27; }
.decision-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: start; }
.decision-actions { display: grid; gap: 10px; }
.reject-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

@media (max-width: 900px) {
  .hero-card { grid-template-columns: 300px 1fr; }
  .hero-copy { padding: 34px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .filter-form { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .filter-actions { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1fr; }
  .decision-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header, .admin-header { min-height: 64px; }
  .header-nav { gap: 12px; }
  .header-nav a { font-size: .8rem; }
  .site-brand-icon { width: 38px; height: 38px; border-radius: 11px; }
  .site-brand small { display: none; }
  .page-shell, .admin-shell, .detail-shell { width: min(100% - 20px, 1180px); margin-top: 14px; }
  .narrow-shell { width: min(100% - 20px, 620px); margin: 20px auto; }
  .hero-card { grid-template-columns: 1fr; min-height: 0; border-radius: 20px; }
  .hero-image-wrap { min-height: 0; aspect-ratio: 4 / 4.35; }
  .hero-image-wrap::after { background: linear-gradient(0deg, #101824 0%, transparent 38%); }
  .hero-copy { padding: 23px; }
  .hero-copy h1 { font-size: 2.15rem; }
  .hero-copy > p:not(.eyebrow) { font-size: .98rem; }
  .rules-card, .form-section, .lookup-card, .filter-card, .detail-card, .decision-card { margin-top: 14px; padding: 20px 16px; border-radius: 18px; }
  .rules-grid, .form-grid, .choice-grid.two, .choice-grid.three { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .choice-card { min-height: 66px; }
  .submit-panel { flex-direction: column; align-items: stretch; bottom: max(8px, env(safe-area-inset-bottom)); padding: 12px; }
  .submit-panel > div:first-child { display: none; }
  .submit-panel .btn { width: 100%; }
  .status-result dl { grid-template-columns: 1fr; }
  .success-actions .btn { width: 100%; }
  .login-shell { grid-template-columns: 1fr; border-radius: 20px; }
  .login-visual { min-height: 250px; max-height: 320px; }
  .login-card { padding: 26px 20px; }
  .install-card { border-radius: 20px; }
  .install-form { grid-template-columns: 1fr; }
  .admin-title-row { align-items: stretch; flex-direction: column; }
  .title-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .stat-card { min-height: 92px; padding: 14px; }
  .stat-icon { width: 39px; height: 39px; }
  .stat-card strong { font-size: 1.45rem; }
  .filter-form { grid-template-columns: 1fr; }
  .search-field, .filter-actions { grid-column: auto; }
  .filter-actions .btn { flex: 1; }
  .players-card { margin-top: 14px; border-radius: 18px; }
  .desktop-table-wrap { display: none; }
  .mobile-player-list { display: grid; gap: 12px; padding: 12px; }
  .mobile-player-card { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #0b131e; }
  .mobile-player-top { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; }
  .mobile-player-top img { width: 58px; height: 58px; border-radius: 13px; object-fit: cover; }
  .mobile-player-top h3 { margin: 3px 0 2px; font-size: 1rem; }
  .mobile-player-top p { margin: 0; color: var(--muted); font-size: .78rem; }
  .mobile-player-top .status { min-width: 0; padding: 5px 7px; font-size: .62rem; }
  .mobile-player-meta { display: flex; flex-wrap: wrap; gap: 7px 11px; margin: 13px 0; color: #b8c2d0; font-size: .78rem; }
  .detail-hero { grid-template-columns: 82px 1fr; gap: 14px; padding: 16px; }
  .detail-avatar { width: 82px; height: 82px; border-radius: 16px; }
  .detail-hero > .btn { grid-column: 1 / -1; width: 100%; }
  .detail-kicker { align-items: flex-start; flex-direction: column; gap: 5px; }
  .detail-title h1 { font-size: 1.55rem; }
  .detail-title p { font-size: .82rem; }
  .detail-list > div { grid-template-columns: 1fr; gap: 3px; }
  .reject-form { grid-template-columns: 1fr; }
  .desktop-only { display: none; }
}

@media (max-width: 430px) {
  .header-nav a:first-child { display: none; }
  .site-brand strong { font-size: .88rem; }
  .hero-meta span { width: 100%; text-align: center; }
  .section-heading { gap: 10px; }
  .section-number { width: 34px; height: 34px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { gap: 9px; }
  .stat-card small { font-size: .69rem; }
  .title-actions { grid-template-columns: 1fr; }
}

@media print {
  body { background: white; color: black; }
  body::before, .site-header, .site-footer, .success-actions { display: none !important; }
  .success-card { box-shadow: none; border: 1px solid #ccc; color: black; background: white; }
  .success-card .muted, .success-card small, .notice-box p { color: #444; }
}
