/* FC Arena — quiet, editorial UI layer */
:root {
  --bg: #0c0d0f;
  --surface: #111315;
  --surface-2: #151719;
  --surface-3: #1b1d20;
  --line: #272a2e;
  --line-strong: #3b3f44;
  --text: #ececea;
  --muted: #96999d;
  --faint: #6e7277;
  --lime: #d5f36a;
  --cyan: #aab0b5;
  --purple: #aeb1b5;
  --orange: #c1c4c7;
  --red: #c7a0a0;
  --radius: 8px;
  --shadow: none;
}
html { font-size: 14px; }
body { background: var(--bg); }
body::before, body::after { display: none; }
.sidebar { width: 224px; padding: 25px 14px 18px; border-right-color: var(--line); background: var(--bg); backdrop-filter: none; }
.brand { font-size: 15px; }.brand b { color: var(--text); font-weight: 700; }.brand-mark span { background: var(--text); }.sidebar-label { margin-top: 46px; color: var(--faint); }.side-nav { gap: 1px; }.side-link, .profile-mini { border-radius: 6px; }.side-link.is-active { background: var(--surface-2); box-shadow: inset 2px 0 var(--text); }.count-pill { background: var(--text); color: var(--bg) !important; }.sidebar-card { border-color: var(--line); background: var(--surface); border-radius: 7px; }.live-dot { background: var(--text); box-shadow: none; }
.main-content { width: calc(100% - 224px); margin-left: 224px; }.topbar { height: 68px; padding: 0 42px; border-bottom-color: var(--line); }.top-actions { gap: 14px; }.auth-button { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; color: var(--text); font-size: 10px; }.auth-button:hover { border-color: var(--text); }.icon-button { border-radius: 6px; }.notification-dot { background: var(--text); }.view-container { max-width: 1240px; padding: 42px 42px 72px; }.view { animation: none; }.eyebrow { color: var(--faint); letter-spacing: .11em; }.hero-heading { min-height: 170px; }.hero-heading h1, .page-heading h1, .profile-banner h1 { letter-spacing: -.065em; font-weight: 700; }.hero-heading h1 span { color: var(--text); }.hero-orb { width: 110px; height: 110px; border: 1px solid var(--line-strong); color: var(--muted); background: transparent; box-shadow: none; transform: none; font-size: 25px; }.hero-orb strong { color: var(--muted); }.hero-orb i { display: none; }
.stat-grid, .tournament-grid, .dashboard-columns, .profile-grid { gap: 8px; }.stat-card, .tournament-card, .panel, .large-tournament-card, .match-detail-card, .players-table, .profile-banner, .profile-stats > div, .info-card { border-color: var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: none; }.stat-card { min-height: 100px; background: var(--surface); }.tournament-grid .tournament-card { display: flex; flex-direction: column; }.tournament-grid .tournament-footer { width: 100%; min-height: 29px; margin-top: auto; }.tournament-grid .progress { margin-bottom: 16px; }.stat-card:hover, .tournament-card:hover, .large-tournament-card:hover { transform: none; border-color: var(--line-strong); }.stat-icon, .mini-ball, .avatar, .team-badge { border-radius: 6px; }.stat-icon { background: var(--surface-3); color: var(--muted); }.yellow, .green, .purple, .orange { background: var(--surface-3); color: var(--muted); }.trend.up, .trend.neutral, .earned, .deadline-note, .form i, .form i.loss { color: var(--muted); }.form i, .form i.loss { background: var(--muted); }.avatar-blue, .avatar-gold, .avatar-purple, .avatar-cyan, .avatar-red, .team-badge, .team-badge.red, .team-badge.green, .team-badge.purple { background: var(--surface-3); color: var(--muted); }
.section-row { margin: 44px 0 14px; }.section-row h2, .panel-heading h2 { font-size: 18px; font-weight: 600; }.tournament-card.featured { background: var(--surface); }.tournament-brand { margin: 22px 0 25px; }.mini-ball, .mini-ball.cyan { border-color: var(--line-strong); color: var(--text); background: var(--surface-3); }.progress { background: var(--surface-3); }.progress i { background: var(--text); }.status-badge, .filter-tab { border-radius: 5px; }.status-badge.live, .status-badge.soon, .status-badge.finished, .status-badge.confirmed, .status-badge.awaiting { color: var(--muted); background: var(--surface-3); }.status-badge.live i, .deadline-note i { background: var(--muted); box-shadow: none; }.join-button, .primary-button { border-radius: 6px; background: var(--text); color: var(--bg); }.join-button:hover, .primary-button:hover { background: #fff; transform: none; }.arrow-button, .small-arrow, .outline-button, .confirm-button, .reject-button { border-radius: 6px; }.arrow-button:hover, .small-arrow:hover { border-color: var(--text); color: var(--text); transform: none; }
.large-card-accent, .large-card-accent.cyan, .large-card-accent.purple { background: var(--line-strong); }.large-card-main h2 { font-weight: 600; }.large-card-side strong { font-weight: 600; }.match-detail-card.urgent { border-color: var(--line-strong); }.score-inputs input, .modal-versus input, .search-box { border-radius: 6px; border-color: var(--line-strong); background: var(--bg); }.score-inputs input:focus { border-color: var(--text); }.confirm-button { background: var(--text); color: var(--bg); }.reject-button { color: var(--muted); }.side-info-card { border-color: var(--line); border-radius: var(--radius); background: var(--surface); }
.profile-banner { background: var(--surface); }.profile-banner:after { display: none; }.profile-avatar-large { border-radius: 9px; box-shadow: none; }.profile-tags span { border-radius: 5px; }.history-result.win, .history-result.loss { background: var(--surface-3); color: var(--muted); }.award { border-radius: 7px; background: var(--surface-3) !important; border-color: var(--line-strong) !important; color: var(--muted) !important; }.award-note { color: var(--muted); }.profile-logout { margin-top: 18px; }.profile-logout:hover { border-color: var(--text); color: var(--text); }
.modal-backdrop { backdrop-filter: none; background: rgba(0,0,0,.72); }.modal { border-radius: 9px; background: var(--surface-2); box-shadow: none; }.auth-modal { position: relative; width: min(100%, 480px); max-height: min(720px, calc(100vh - 32px)); overflow-y: auto; padding: 28px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-2); }.auth-heading h2 { margin: 8px 0; font-size: 28px; letter-spacing: -.065em; }.auth-heading > p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.auth-tabs { display: flex; gap: 4px; margin: 24px 0 20px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }.auth-tab { flex: 1; padding: 9px; border-radius: 5px; background: transparent; color: var(--muted); font-size: 11px; }.auth-tab.is-active { background: var(--surface-3); color: var(--text); }.auth-form { display: none; gap: 13px; }.auth-form.is-active { display: grid; }.auth-form label { display: grid; gap: 7px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; }.auth-form input:not([type="checkbox"]), .auth-form select { width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 6px; outline: 0; background: var(--bg); color: var(--text); font: 13px Manrope, sans-serif; text-transform: none; }.auth-form input:focus, .auth-form select:focus { border-color: var(--text); }.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.auth-form .primary-button { width: 100%; margin-top: 5px; }.auth-link { justify-self: center; padding: 0; background: transparent; color: var(--muted); font-size: 10px; }.auth-link:hover { color: var(--text); }.auth-check { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: 8px !important; color: var(--muted) !important; font: 10px Manrope, sans-serif !important; text-transform: none !important; line-height: 1.4; }.auth-check input { margin-top: 2px; accent-color: var(--text); }.auth-note, .prototype-note { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }.prototype-note { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--faint); font: 9px 'DM Mono', monospace; }.auth-modal .modal-close { top: 14px; right: 16px; }.toast { border-color: var(--line-strong); border-radius: 6px; background: var(--surface-2); color: var(--text); }
.tournament-grid { align-items: stretch; }.tournament-grid .tournament-card { height: 238px; min-height: 238px; padding: 20px; }.tournament-grid .tournament-brand { margin: 18px 0 20px; }.tournament-grid .tournament-footer { padding-top: 14px; border-top: 1px solid var(--line); }.dashboard-columns { align-items: stretch; }.dashboard-columns > .panel { min-height: 292px; }.upcoming-panel .match-list, .leaderboard-panel .leaderboard { margin-top: 18px; }
.filter-tab.is-active { border-color: var(--text); color: var(--text); background: var(--surface-3); }.filter-tab:focus-visible, .join-tournament:focus-visible, .profile-logout:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }.large-tournament-card[hidden], .players-row[hidden] { display: none; }.empty-state { padding: 28px 0; color: var(--muted); font-size: 12px; }.join-tournament.is-joined { border-color: var(--line-strong); background: var(--surface-3); color: var(--text); }.join-button.is-joined { background: var(--surface-3); color: var(--text); }.profile-logout { display: inline-flex; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 1080px) { .sidebar { width: 208px; }.main-content { width: calc(100% - 208px); margin-left: 208px; }.view-container { padding-inline: 28px; }.topbar { padding-inline: 28px; } }
@media (max-width: 720px) { .sidebar { width: 236px; }.main-content { width: 100%; margin-left: 0; }.topbar { padding: 0 16px; }.view-container { padding: 28px 16px 56px; }.hero-heading { min-height: 0; }.hero-orb { width: 76px; height: 76px; flex-basis: 76px; font-size: 18px; }.hero-orb strong { font-size: 10px; }.stat-card { min-height: 88px; }.stat-card strong { font-size: 20px; }.tournament-card { min-height: 205px; }.tournament-grid .tournament-card { height: auto; min-height: 205px; }.tournament-grid .tournament-footer { margin-top: auto; }.dashboard-columns > .panel { min-height: 0; }.auth-modal { padding: 22px; }.auth-form-grid { grid-template-columns: 1fr; }.profile-banner { border-radius: 8px; }.profile-logout { margin-top: 14px; } }
@media (max-width: 480px) { .large-tournament-card { flex-direction: column; gap: 0; }.large-card-accent { width: 100%; height: 4px; flex-basis: 4px; }.large-card-main { padding: 17px; }.large-card-side { width: auto; flex-basis: auto; flex-direction: row; align-items: center; gap: 10px; padding: 0 17px 17px; }.large-card-side > span { margin: 0 0 0 4px; } .large-card-side .outline-button { margin-left: auto; } }
@media (prefers-reduced-motion: no-preference) { .view.is-visible { animation: quiet-in .22s ease both; } @keyframes quiet-in { from { opacity: 0; } to { opacity: 1; } } }
