/* Fonte Satoshi */
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-BlackItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-base: #040713;
  --bg-panel: rgba(6, 12, 25, 0.9);
  --bg-panel-soft: rgba(12, 18, 38, 0.85);
  --border-soft: rgba(148, 163, 184, 0.25);
  --border-strong: rgba(59, 130, 246, 0.35);
  --text-body: #c7d2fe;
  --text-muted: #94a3b8;
  --text-subtle: rgba(148, 163, 184, 0.8);
  --accent-emerald: #10b981;
  --accent-blue: #38bdf8;
  --shadow-strong: 0 30px 80px -40px rgba(2, 6, 23, 0.9);
  --ui-surface-1: rgba(15, 23, 42, 0.72);
  --ui-surface-2: rgba(15, 23, 42, 0.62);
  --ui-surface-3: rgba(15, 23, 42, 0.9);
  --ui-border-soft: rgba(148, 163, 184, 0.2);
  --ui-border-strong: rgba(56, 189, 248, 0.45);
  --ui-focus-ring: rgba(56, 189, 248, 0.85);
  --ui-radius-md: 0.8rem;
  --ui-radius-lg: 0.95rem;
  --ui-shadow-card: 0 18px 40px rgba(2, 6, 23, 0.45);
  --ui-text-strong: #f8fafc;
  --ui-text-muted: rgba(148, 163, 184, 0.9);
}

html[data-theme='light'] {
  color-scheme: light;
  --bg-base: #eef4fb;
  --bg-panel: rgba(255, 255, 255, 0.92);
  --bg-panel-soft: rgba(248, 250, 252, 0.94);
  --border-soft: rgba(148, 163, 184, 0.2);
  --border-strong: rgba(14, 116, 144, 0.25);
  --text-body: #0f172a;
  --text-muted: #475569;
  --text-subtle: rgba(71, 85, 105, 0.82);
  --shadow-strong: 0 24px 60px -42px rgba(15, 23, 42, 0.22);
  --ui-surface-1: rgba(255, 255, 255, 0.84);
  --ui-surface-2: rgba(248, 250, 252, 0.94);
  --ui-surface-3: rgba(255, 255, 255, 0.98);
  --ui-border-soft: rgba(148, 163, 184, 0.18);
  --ui-border-strong: rgba(14, 165, 233, 0.32);
  --ui-focus-ring: rgba(14, 165, 233, 0.35);
  --ui-shadow-card: 0 16px 34px rgba(148, 163, 184, 0.18);
  --ui-text-strong: #0f172a;
  --ui-text-muted: rgba(71, 85, 105, 0.92);
}

/* ==========================================================================
   PAGE TRANSITION OVERLAY
   ========================================================================== */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.12), transparent 45%),
    rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.page-transition-spinner {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(56, 189, 248, 0.22);
  border-top-color: rgba(56, 189, 248, 0.95);
  border-radius: 50%;
  animation: page-transition-spin 0.9s linear infinite;
}

@keyframes page-transition-spin {
  to {
    transform: rotate(360deg);
  }
}

html,
body {
  max-width: 100%;
}

body {
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-base);
  color: var(--text-body);
}

html[data-theme='light'] body {
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 38%),
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 42%, #e8f0fa 100%);
}

html[data-theme='light'] .card,
html[data-theme='light'] .app-user-chip,
html[data-theme='light'] .admin-home-card,
html[data-theme='light'] .notification-modal__content,
html[data-theme='light'] .survey-modal__content,
html[data-theme='light'] .announcement-modal__content,
html[data-theme='light'] .mobile-drawer__panel,
html[data-theme='light'] .desktop-live-ticker,
html[data-theme='light'] .app-desktop-toolbar,
html[data-theme='light'] .app-topbar {
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 255, 0.98));
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 18px 38px rgba(148, 163, 184, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme='light'] .app-sidebar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
  border-right-color: rgba(148, 163, 184, 0.16);
  box-shadow: inset -1px 0 0 rgba(148, 163, 184, 0.08);
}

html[data-theme='light'] .app-sidebar__footer,
html[data-theme='light'] .app-desktop-toolbar,
html[data-theme='light'] .app-topbar,
html[data-theme='light'] .mobile-drawer__version {
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .app-nav-item,
html[data-theme='light'] .app-user-chip,
html[data-theme='light'] .app-topbar__title,
html[data-theme='light'] .mobile-drawer__nav a,
html[data-theme='light'] .mobile-drawer__close,
html[data-theme='light'] .app-desktop-toolbar__page,
html[data-theme='light'] .app-desktop-toolbar__history-btn,
html[data-theme='light'] .app-desktop-toolbar__search,
html[data-theme='light'] .app-desktop-toolbar__help,
html[data-theme='light'] .app-bottom-nav__item,
html[data-theme='light'] .app-topbar__menu,
html[data-theme='light'] .app-topbar__drawer,
html[data-theme='light'] .app-topbar__avatar {
  color: #0f172a;
}

html[data-theme='light'] .app-nav-item:hover,
html[data-theme='light'] .mobile-drawer__nav a.is-active,
html[data-theme='light'] .app-desktop-toolbar__search:hover,
html[data-theme='light'] .app-desktop-toolbar__help:hover {
  color: #0f172a;
}

html[data-theme='light'] .app-nav-icon,
html[data-theme='light'] .app-user-chip,
html[data-theme='light'] .app-user-chip__avatar,
html[data-theme='light'] .app-desktop-toolbar__history-btn,
html[data-theme='light'] .app-desktop-toolbar__search,
html[data-theme='light'] .app-desktop-toolbar__help,
html[data-theme='light'] .app-topbar__avatar,
html[data-theme='light'] .mobile-drawer__close {
  background: rgba(226, 232, 240, 0.72);
  border-color: rgba(148, 163, 184, 0.22);
}

html[data-theme='light'] .app-nav-icon {
  color: #475569;
}

html[data-theme='light'] .app-nav-item:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.14);
}

html[data-theme='light'] .app-nav-item.is-active {
  color: #0f172a;
  background: linear-gradient(110deg, rgba(16, 185, 129, 0.14), rgba(14, 165, 233, 0.1));
  border-color: rgba(16, 185, 129, 0.22);
  box-shadow: inset 2px 0 0 rgba(16, 185, 129, 0.6);
}

html[data-theme='light'] .app-nav-item.is-active .app-nav-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #0f172a;
}

html[data-theme='light'] .app-desktop-toolbar,
html[data-theme='light'] .app-topbar {
  background: rgba(248, 250, 252, 0.92);
}

html[data-theme='light'] .app-desktop-toolbar__search-icon {
  color: #64748b;
}

html[data-theme='light'] .app-desktop-toolbar__search-text {
  color: #334155;
}

html[data-theme='light'] .app-desktop-toolbar__search-kbd {
  color: #475569;
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme='light'] .app-user-chip__label,
html[data-theme='light'] .app-user-chip__gear {
  color: #0f172a;
}

html[data-theme='light'] .app-user-chip__gear:hover {
  background: rgba(14, 165, 233, 0.1);
  color: #0f172a;
}

html[data-theme='light'] .desktop-live-ticker {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.98));
  color: #0f172a;
  border-color: rgba(248, 113, 113, 0.24);
}

html[data-theme='light'] .mobile-drawer__panel,
html[data-theme='light'] .notification-modal__content,
html[data-theme='light'] .survey-modal__content,
html[data-theme='light'] .announcement-modal__content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .notification-card,
html[data-theme='light'] .notification-loading,
html[data-theme='light'] .survey-form,
html[data-theme='light'] .survey-modal__intro {
  background-color: rgba(248, 250, 252, 0.7);
}

html[data-theme='light'] .notification-modal__header,
html[data-theme='light'] .notification-empty__title,
html[data-theme='light'] .notification-card__title,
html[data-theme='light'] .survey-modal__title,
html[data-theme='light'] .announcement-modal__header h3 {
  color: #0f172a;
}

html[data-theme='light'] .notification-empty__text,
html[data-theme='light'] .notification-loading,
html[data-theme='light'] .notification-card__message,
html[data-theme='light'] .notification-card__time,
html[data-theme='light'] .survey-modal__text,
html[data-theme='light'] .survey-modal__kicker,
html[data-theme='light'] .announcement-modal__body {
  color: #475569;
}

html[data-theme='light'] .notification-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94));
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .notification-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.96));
  border-color: rgba(14, 165, 233, 0.24);
}

html[data-theme='light'] .notification-card.is-unread {
  border-color: rgba(14, 165, 233, 0.32);
  box-shadow: 0 12px 28px -22px rgba(14, 165, 233, 0.22);
}

html[data-theme='light'] .notification-card.is-read:not(.is-dismissed) {
  opacity: 1;
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.94));
}

html[data-theme='light'] .notification-card.is-dismissed {
  opacity: 0.8;
  filter: saturate(0.88);
}

html[data-theme='light'] .notification-card.is-urgent {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(145deg, rgba(255, 251, 235, 0.96), rgba(254, 249, 195, 0.9));
}

html[data-theme='light'] .notification-card.is-booster {
  border-color: rgba(168, 85, 247, 0.24);
  background: linear-gradient(145deg, rgba(250, 245, 255, 0.96), rgba(243, 232, 255, 0.9));
}

html[data-theme='light'] .notification-card__status.is-unread {
  color: #0369a1;
  background: rgba(224, 242, 254, 0.92);
  border-color: rgba(14, 165, 233, 0.22);
}

html[data-theme='light'] .notification-card__status.is-read {
  color: #475569;
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .notification-card__cta {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.96), rgba(236, 253, 245, 0.9));
  border-color: rgba(14, 165, 233, 0.24);
  color: #0369a1;
}

html[data-theme='light'] .notification-card__cta:hover {
  background: linear-gradient(135deg, rgba(186, 230, 253, 0.96), rgba(209, 250, 229, 0.92));
  border-color: rgba(14, 165, 233, 0.32);
}

html[data-theme='light'] .notification-card__media {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(248, 250, 252, 0.94);
}

html[data-theme='light'] .btn-secondary {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .btn-secondary:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.28);
}

html[data-theme='light'] .notification-modal__icon-btn,
html[data-theme='light'] .notification-modal__close,
html[data-theme='light'] .survey-modal__close {
  color: #475569;
}

html[data-theme='light'] .notification-modal__icon-btn,
html[data-theme='light'] .announcement-modal__icon,
html[data-theme='light'] .profile-achievement-icon {
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .input-control {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.22);
  color: #0f172a;
}

html[data-theme='light'] .input-control::placeholder {
  color: rgba(100, 116, 139, 0.9);
}

html[data-theme='light'] .select-wrap .input-control {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(14, 165, 233, 0.25);
  color: #0f172a;
}

html[data-theme='light'] .select-wrap::after {
  border-top-color: rgba(14, 116, 144, 0.85);
}

html[data-theme='light'] .text-white,
html[data-theme='light'] .text-slate-100,
html[data-theme='light'] .text-slate-200 {
  color: #0f172a !important;
}

html[data-theme='light'] .text-slate-300,
html[data-theme='light'] .text-slate-400 {
  color: #475569 !important;
}

html[data-theme='light'] .text-slate-500 {
  color: #64748b !important;
}

html[data-theme='light'] .profile-achievement-item {
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .profile-achievement-item:hover {
  background: rgba(241, 245, 249, 0.96);
}

html[data-theme='light'] .profile-achievement-title,
html[data-theme='light'] .profile-section-title {
  color: #0f172a;
}

html[data-theme='light'] .profile-achievement-desc,
html[data-theme='light'] .profile-achievement-count,
html[data-theme='light'] .profile-section-link {
  color: #475569;
}

html[data-theme='light'] .border-slate-800,
html[data-theme='light'] .border-slate-700 {
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme='light'] .bg-slate-800\/30,
html[data-theme='light'] .bg-slate-800\/20,
html[data-theme='light'] .bg-slate-800\/40,
html[data-theme='light'] .bg-slate-900\/60,
html[data-theme='light'] .bg-slate-900\/70,
html[data-theme='light'] .bg-slate-900\/80 {
  background: rgba(241, 245, 249, 0.88) !important;
}

html[data-theme='light'] .app-bottom-nav {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.98));
  border-top-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 -10px 24px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .app-bottom-nav__icon {
  color: #475569;
}

html[data-theme='light'] .app-bottom-nav__item.is-active {
  color: #0f172a;
}

html[data-theme='light'] .boloes-hub-head,
html[data-theme='light'] .boloes-section__header {
  color: #0f172a;
}

html[data-theme='light'] .boloes-hub-head .text-slate-400,
html[data-theme='light'] .boloes-section__header span {
  color: #64748b !important;
}

html[data-theme='light'] .boloes-hub-tab {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.78);
  color: #475569;
}

html[data-theme='light'] .boloes-hub-tab:hover {
  border-color: rgba(14, 165, 233, 0.34);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
}

html[data-theme='light'] .boloes-hub-tab.is-active {
  border-color: rgba(14, 165, 233, 0.34);
  background: rgba(224, 242, 254, 0.95);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

html[data-theme='light'] .boloes-hub-empty {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.72);
  color: #475569;
}

html[data-theme='light'] .boloes-section__header h3 {
  color: #0f172a;
}

html[data-theme='light'] .bolao-card {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(241, 245, 249, 0.99));
  box-shadow:
    0 16px 28px rgba(148, 163, 184, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

html[data-theme='light'] .bolao-card--preview {
  border-color: rgba(148, 163, 184, 0.26);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(226, 232, 240, 0.94), rgba(241, 245, 249, 0.98));
}

html[data-theme='light'] .bolao-card--preview .bolao-card__title,
html[data-theme='light'] .bolao-card--preview .bolao-card__meta,
html[data-theme='light'] .bolao-card--preview .bolao-card__summary,
html[data-theme='light'] .bolao-card--preview .bolao-card__hint {
  color: #334155;
}

html[data-theme='light'] .bolao-badge {
  border-color: rgba(148, 163, 184, 0.28);
  color: #334155;
  background: rgba(248, 250, 252, 0.92);
}

html[data-theme='light'] .bolao-badge--active {
  border-color: rgba(14, 165, 233, 0.28);
  color: #0369a1;
  background: rgba(224, 242, 254, 0.92);
}

html[data-theme='light'] .bolao-badge--closed {
  color: #64748b;
}

html[data-theme='light'] .bolao-card__hint {
  color: #64748b;
}

html[data-theme='light'] .bolao-card__title {
  color: #0f172a;
}

html[data-theme='light'] .bolao-card__meta {
  color: #475569;
}

html[data-theme='light'] .bolao-card__summary {
  color: #334155;
}

html[data-theme='light'] .boloes-hub-search.input-control,
html[data-theme='light'] .boloes-hub-search {
  color: #0f172a;
}

html[data-theme='light'] .boloes-hub-search::placeholder {
  color: #64748b;
}

html[data-theme='light'] .home-shell {
  border-color: rgba(148, 163, 184, 0.2);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
}

html[data-theme='light'] .home-shell--priorities {
  border-color: rgba(14, 165, 233, 0.22);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.98));
}

html[data-theme='light'] .home-shell--top {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
}

html[data-theme='light'] .home-block-head,
html[data-theme='light'] .home-shell__header,
html[data-theme='light'] .dashboard-card-header {
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .home-priority-card,
html[data-theme='light'] .home-bolao-card,
html[data-theme='light'] .home-performance-card,
html[data-theme='light'] .stats-card {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.14), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.96));
  box-shadow:
    0 12px 26px rgba(148, 163, 184, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

html[data-theme='light'] .home-boloes-grid .bolao-carousel__card,
html[data-theme='light'] .dashboard-boloes-panel .bolao-carousel__card {
  border-color: rgba(148, 163, 184, 0.18) !important;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98)) !important;
  box-shadow:
    0 16px 30px rgba(148, 163, 184, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

html[data-theme='light'] .home-boloes-grid .bolao-carousel__card .text-white,
html[data-theme='light'] .dashboard-boloes-panel .bolao-carousel__card .text-white {
  color: #0f172a !important;
}

html[data-theme='light'] .home-boloes-grid .bolao-carousel__card .text-slate-300,
html[data-theme='light'] .home-boloes-grid .bolao-carousel__card .text-slate-400,
html[data-theme='light'] .dashboard-boloes-panel .bolao-carousel__card .text-slate-300,
html[data-theme='light'] .dashboard-boloes-panel .bolao-carousel__card .text-slate-400 {
  color: #475569 !important;
}

html[data-theme='light'] .home-boloes-grid .bolao-carousel__card .border-slate-200\\/60,
html[data-theme='light'] .dashboard-boloes-panel .bolao-carousel__card .border-slate-200\\/60 {
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-theme='light'] .home-boloes-grid .bolao-carousel__card .hover\\:border-white:hover,
html[data-theme='light'] .dashboard-boloes-panel .bolao-carousel__card .hover\\:border-white:hover {
  border-color: rgba(14, 165, 233, 0.28) !important;
}

html[data-theme='light'] .home-boloes-grid .bolao-carousel__card .bg-cyan-500\\/80,
html[data-theme='light'] .dashboard-boloes-panel .bolao-carousel__card .bg-cyan-500\\/80 {
  background: linear-gradient(90deg, #38bdf8, #10b981) !important;
}

html[data-theme='light'] .team-badge--image {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme='light'] .team-badge--image img {
  background: transparent !important;
}

html[data-theme='light'] .home-priority-card__rodada {
  border-color: rgba(14, 165, 233, 0.28);
  background: rgba(224, 242, 254, 0.9);
  color: #0f172a;
}

html[data-theme='light'] .home-priority-card__lock {
  border-color: rgba(14, 165, 233, 0.26);
  background: rgba(224, 242, 254, 0.92);
  color: #075985;
}

html[data-theme='light'] .home-priority-card__ranking-pos {
  color: #0284c7;
}

html[data-theme='light'] .home-priority-card__ranking-points {
  color: #334155;
}

html[data-theme='light'] .home-priority-card__ranking-empty,
html[data-theme='light'] .home-empty-state,
html[data-theme='light'] .home-bolao-card__meta,
html[data-theme='light'] .home-performance-card__meta {
  color: #475569;
}

html[data-theme='light'] .home-priority-card__ranking-list .ranking-row--gold:hover {
  border-color: rgba(251, 191, 36, 0.32);
  background: linear-gradient(120deg, rgba(254, 249, 195, 0.9), rgba(255, 255, 255, 0.86));
}

html[data-theme='light'] .home-priority-card__ranking-list .ranking-row--silver:hover {
  border-color: rgba(148, 163, 184, 0.32);
  background: linear-gradient(120deg, rgba(241, 245, 249, 0.95), rgba(255, 255, 255, 0.9));
}

html[data-theme='light'] .home-priority-card__ranking-list .ranking-row--bronze:hover {
  border-color: rgba(249, 115, 22, 0.3);
  background: linear-gradient(120deg, rgba(255, 237, 213, 0.9), rgba(255, 255, 255, 0.86));
}

html[data-theme='light'] .home-priority-card__pending {
  color: #075985;
  border-color: rgba(14, 165, 233, 0.28);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.9));
}

html[data-theme='light'] .home-priority-card__pending--danger {
  color: #991b1b;
  border-color: rgba(239, 68, 68, 0.36);
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.96), rgba(254, 242, 242, 0.9));
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.14);
}

html[data-theme='light'] .dashboard-quick-action {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.98));
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .dashboard-quick-action:hover {
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.98));
  box-shadow: 0 20px 40px rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .dashboard-quick-action--primary {
  border-color: rgba(14, 165, 233, 0.22);
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.96), rgba(239, 246, 255, 0.95));
}

html[data-theme='light'] .dashboard-quick-action--secondary {
  border-color: rgba(96, 165, 250, 0.22);
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(238, 242, 255, 0.94));
}

html[data-theme='light'] .dashboard-quick-action--neutral {
  border-color: rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.94));
}

html[data-theme='light'] .dashboard-quick-action__kicker,
html[data-theme='light'] .dashboard-quick-action__cta,
html[data-theme='light'] .dashboard-quick-action__pill {
  color: #334155;
}

html[data-theme='light'] .dashboard-quick-action__pill {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme='light'] .dashboard-quick-action__alert {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(254, 226, 226, 0.9);
  color: #991b1b;
}

html[data-theme='light'] .stats-chart {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme='light'] .stats-chart__legend {
  color: #475569;
}

html[data-theme='light'] .bolao-header-strip {
  border-top-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .bolao-hero-card {
  border-color: rgba(203, 213, 225, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

html[data-theme='light'] .bolao-hero-card h2 {
  color: #0f172a;
}

html[data-theme='light'] .bolao-hero-card .text-slate-400 {
  color: #475569 !important;
}

html[data-theme='light'] .bolao-hero-card .text-slate-300 {
  color: #334155 !important;
}

html[data-theme='light'] .bolao-hero-card .text-emerald-300 {
  color: #059669 !important;
}

html[data-theme='light'] .bolao-chip {
  color: #334155;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme='light'] .bolao-chip--warn {
  border-color: rgba(245, 158, 11, 0.28);
  color: #92400e;
  background: rgba(255, 251, 235, 0.92);
}

html[data-theme='light'] .bolao-chip--ok {
  border-color: rgba(14, 165, 233, 0.26);
  color: #075985;
  background: rgba(224, 242, 254, 0.92);
}

html[data-theme='light'] .bolao-chip--link:hover {
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(224, 242, 254, 0.96);
  color: #0f172a;
}

html[data-theme='light'] .bolao-context-card,
html[data-theme='light'] .bolao-context-action {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.08);
}

html[data-theme='light'] .bolao-context-card__label {
  color: #64748b;
}

html[data-theme='light'] .bolao-context-card__value {
  color: #0f172a;
}

html[data-theme='light'] .bolao-context-action {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.18);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(240, 249, 255, 0.94));
}

html[data-theme='light'] .rodada-col--sticky-right {
  background: rgba(248, 250, 252, 0.98);
  box-shadow: -10px 0 18px -14px rgba(148, 163, 184, 0.24);
  border-left-color: rgba(14, 165, 233, 0.14);
}

html[data-theme='light'] .tab-trigger {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.84);
  color: #334155;
}

html[data-theme='light'] .tab-trigger.active {
  border-color: rgba(14, 165, 233, 0.24);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.9));
  color: #075985;
}

html[data-theme='light'] .bolao-hero-meta .bolao-chip {
  background: rgba(255, 255, 255, 0.88);
}

html[data-theme='light'] .bolao-hero-side__metric span,
html[data-theme='light'] .bolao-hero-side .text-slate-400 {
  color: #64748b !important;
}

html[data-theme='light'] .bolao-hero-side .text-slate-300,
html[data-theme='light'] .bolao-hero-side__hint,
html[data-theme='light'] .bolao-hero-side__metric strong {
  color: #334155 !important;
}

html[data-theme='light'] .bolao-hero-side .text-emerald-300 {
  color: #059669 !important;
}

html[data-theme='light'] .bolao-regras-summary__item {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(203, 213, 225, 0.9);
}

html[data-theme='light'] .bolao-regras-summary__label {
  color: #64748b;
}

html[data-theme='light'] .bolao-regras-summary__value {
  color: #0f172a;
}

html[data-theme='light'] .rodada-block {
  border-color: rgba(148, 163, 184, 0.18) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96)) !important;
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] .rodada-header {
  border-bottom-color: rgba(148, 163, 184, 0.14);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.92));
}

html[data-theme='light'] .rodada-block.status-empty .rodada-header {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .rodada-block.status-partial .rodada-header {
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(254, 243, 199, 0.92));
  border-color: rgba(245, 158, 11, 0.18);
}

html[data-theme='light'] .rodada-block.status-complete .rodada-header {
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.9));
  border-color: rgba(14, 165, 233, 0.18);
}

html[data-theme='light'] .rodada-block--featured {
  border-color: rgba(14, 165, 233, 0.22) !important;
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .rodada-header .text-white,
html[data-theme='light'] .rodada-header h4,
html[data-theme='light'] .rodada-block .text-white {
  color: #0f172a !important;
}

html[data-theme='light'] .rodada-header__state,
html[data-theme='light'] .rodada-header__meta-pill {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(203, 213, 225, 0.9);
  color: #334155;
}

html[data-theme='light'] .rodada-header__state--active,
html[data-theme='light'] .rodada-header__state--live {
  border-color: rgba(16, 185, 129, 0.24);
  color: #047857;
}

html[data-theme='light'] .rodada-header__state--upcoming {
  border-color: rgba(14, 165, 233, 0.24);
  color: #075985;
}

html[data-theme='light'] .rodada-header__state--complete {
  border-color: rgba(245, 158, 11, 0.24);
  color: #92400e;
}

html[data-theme='light'] .rodada-header__meta-line,
html[data-theme='light'] .rodada-header__summary-label {
  color: #64748b;
}

html[data-theme='light'] .rodada-header__phase {
  color: #047857;
}

html[data-theme='light'] .rodada-header__summary-value {
  color: #0f172a;
}

html[data-theme='light'] .rodada-block .text-slate-400,
html[data-theme='light'] .rodada-block .text-slate-300 {
  color: #475569 !important;
}

html[data-theme='light'] .rodada-table thead,
html[data-theme='light'] .rodada-table thead.bg-slate-900\/80 {
  background: rgba(248, 250, 252, 0.98) !important;
}

html[data-theme='light'] .rodada-table thead tr {
  border-bottom-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme='light'] .rodada-col--game,
html[data-theme='light'] .rodada-col--sticky-right {
  background: rgba(255, 255, 255, 0.98);
}

html[data-theme='light'] .rodada-col--game {
  border-right-color: rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .rodada-table tbody tr {
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .matchup-team span,
html[data-theme='light'] .rodada-col--status p,
html[data-theme='light'] .rodada-col--game .text-xs {
  color: #334155;
}

html[data-theme='light'] .matchup-x {
  color: #64748b;
}

html[data-theme='light'] .team-badge {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(241, 245, 249, 0.96);
  color: #0369a1;
}

html[data-theme='light'] .match-score-badge {
  border-color: rgba(14, 165, 233, 0.22);
  background: rgba(224, 242, 254, 0.92);
  color: #075985;
}

html[data-theme='light'] .palpite-box .input-control {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.2);
  color: #0f172a;
}

html[data-theme='light'] .palpite-box span {
  color: #475569;
}

html[data-theme='light'] .palpite-box--cravado .input-control {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(254, 243, 199, 0.88));
  color: #92400e;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
}

html[data-theme='light'] .palpite-box--acerto .input-control {
  border-color: rgba(14, 165, 233, 0.24);
  background: rgba(240, 249, 255, 0.94);
  color: #075985;
}

html[data-theme='light'] .status-pill {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(248, 250, 252, 0.94);
  color: #475569;
}

html[data-theme='light'] .status-pill.status-active {
  border-color: rgba(14, 165, 233, 0.24);
  color: #075985;
}

html[data-theme='light'] .status-pill.status-bloqueado {
  border-color: rgba(239, 68, 68, 0.22);
  color: #991b1b;
}

html[data-theme='light'] .rodada-mobile-trigger {
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.96), rgba(255, 255, 255, 0.98));
  color: #0f172a;
  box-shadow: 0 12px 24px -18px rgba(148, 163, 184, 0.2);
}

html[data-theme='light'] .rodada-mobile-meta,
html[data-theme='light'] .rodada-mobile-caret,
html[data-theme='light'] .rodada-mobile-sheet__meta,
html[data-theme='light'] .palpite-save-cta__status {
  color: #64748b;
}

html[data-theme='light'] .rodada-mobile-status,
html[data-theme='light'] .rodada-mobile-sheet__title,
html[data-theme='light'] .rodada-mobile-sheet__item {
  color: #0f172a;
}

html[data-theme='light'] .rodada-mobile-sheet__panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 245, 249, 0.98));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 -16px 30px -20px rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .rodada-mobile-sheet__item {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.9);
}

html[data-theme='light'] .resultados-header .text-slate-400,
html[data-theme='light'] .resultados-sidebar .text-slate-400,
html[data-theme='light'] .resultados-main .text-slate-400 {
  color: #475569 !important;
}

html[data-theme='light'] .resultados-header .text-slate-500,
html[data-theme='light'] .resultados-sidebar .text-slate-500,
html[data-theme='light'] .resultados-main .text-slate-500 {
  color: #64748b !important;
}

html[data-theme='light'] .resultados-main .text-slate-300 {
  color: #334155 !important;
}

html[data-theme='light'] .resultados-sidebar .rodada-nav-btn {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94));
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

html[data-theme='light'] .resultados-sidebar .rodada-nav-btn:hover {
  border-color: rgba(14, 165, 233, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.96));
  box-shadow: 0 14px 28px -24px rgba(14, 165, 233, 0.18);
}

html[data-theme='light'] .resultados-sidebar .rodada-nav-btn.active {
  border-color: rgba(14, 165, 233, 0.24);
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.96), rgba(219, 234, 254, 0.9));
  color: #0f172a;
  box-shadow: 0 16px 30px -24px rgba(14, 165, 233, 0.14);
}

html[data-theme='light'] .resultados-rodada-label {
  color: #0f172a;
}

html[data-theme='light'] .resultados-rodada-meta {
  color: #475569;
}

html[data-theme='light'] .resultados-main .accordion-trigger {
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.95)) !important;
  color: #0f172a;
}

html[data-theme='light'] .resultados-main [data-rodada-section] {
  border-color: rgba(148, 163, 184, 0.16) !important;
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme='light'] .resultados-main [data-jogo-card].bg-slate-900\/50,
html[data-theme='light'] .resultados-main [data-jogo-card].bg-slate-950\/40 {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.94)) !important;
}

html[data-theme='light'] .resultados-palpite {
  background: rgba(241, 245, 249, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
  color: #0f172a;
}

html[data-theme='light'] .resultados-live-chip {
  border-color: rgba(239, 68, 68, 0.26);
  background: rgba(254, 242, 242, 0.94);
  color: #991b1b;
}

html[data-theme='light'] .stats-page-header {
  border-color: rgba(14, 165, 233, 0.2);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.98));
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .stats-page-kpi {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
  box-shadow:
    0 14px 28px rgba(148, 163, 184, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme='light'] .stats-page-kpi::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 28%);
}

html[data-theme='light'] .stats-page-kpi:hover {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .stats-page-kpi__value {
  text-shadow: 0 4px 14px rgba(14, 165, 233, 0.08);
}

html[data-theme='light'] .stats-page-kpi--accent-cyan .stats-page-kpi__value {
  background: linear-gradient(120deg, #0ea5e9, #0284c7 55%, #0f766e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme='light'] .stats-page-kpi--accent-violet .stats-page-kpi__value {
  background: linear-gradient(120deg, #8b5cf6, #7c3aed 58%, #0369a1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme='light'] .stats-page-kpi--accent-blue .stats-page-kpi__value {
  background: linear-gradient(120deg, #2563eb, #0284c7 55%, #0f766e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme='light'] .stats-page-kpi--accent-emerald .stats-page-kpi__value {
  background: linear-gradient(120deg, #059669, #10b981 55%, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme='light'] .stats-page-kpi--accent-orange .stats-page-kpi__value {
  background: linear-gradient(120deg, #d97706, #ea580c 55%, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme='light'] .stats-page-filters,
html[data-theme='light'] .stats-page-achievements {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
}

html[data-theme='light'] .stats-page-mode-switch__segment {
  background: rgba(241, 245, 249, 0.86);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .stats-page-mode-switch__option {
  color: #475569;
}

html[data-theme='light'] .stats-page-mode-switch__option.is-active {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(14, 165, 233, 0.32);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .stats-page-mode-switch__copy {
  color: #475569;
}

html[data-theme='light'] .stats-page-header .text-slate-300 {
  color: #475569 !important;
}

html[data-theme='light'] .stats-page-header .text-slate-200,
html[data-theme='light'] .stats-page-empty .text-slate-200 {
  color: #334155 !important;
}

html[data-theme='light'] .stats-page-filters__helper,
html[data-theme='light'] .stats-page-chart__window {
  color: #475569;
}

html[data-theme='light'] .stats-page-team-badge--fallback {
  border-color: rgba(148, 163, 184, 0.24);
  color: #334155;
  background: rgba(241, 245, 249, 0.96);
}

html[data-theme='light'] .stats-page-achievements .profile-achievement-item {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .stats-page-achievements .profile-achievement-title {
  color: #0f172a;
}

html[data-theme='light'] .stats-page-achievements .profile-achievement-desc,
html[data-theme='light'] .stats-page-achievements .profile-section-link {
  color: #475569;
}

html[data-theme='light'] .stats-page-achievements .profile-achievement-icon {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .stats-page-achievements .profile-achievement-count {
  background: rgba(224, 242, 254, 0.9);
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.2);
}

html[data-theme='light'] .stats-page-context__pill--cyan {
  color: #0c4a6e;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(224, 242, 254, 0.92);
}

html[data-theme='light'] .stats-page-context__pill--slate {
  color: #334155;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(248, 250, 252, 0.9);
}

html[data-theme='light'] .stats-page-context__pill--blue {
  color: #1e3a8a;
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(219, 234, 254, 0.9);
}

html[data-theme='light'] .stats-page-context__warning {
  color: #92400e;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(254, 243, 199, 0.88);
}

html[data-theme='light'] .stats-page-insights__card {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .stats-page-insights__label {
  color: #64748b;
}

html[data-theme='light'] .stats-page-insights__value {
  color: #0f172a;
}

html[data-theme='light'] .stats-page-insights__meta {
  color: #475569;
}

html[data-theme='light'] .stats-page-general-overview__highlight {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .stats-page-general-overview__label {
  color: #64748b;
}

html[data-theme='light'] .stats-page-general-overview__value {
  color: #0f172a;
}

html[data-theme='light'] .stats-page-general-overview__meta {
  color: #475569;
}

html[data-theme='light'] .stats-page-general-overview__row {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .stats-page-general-overview__row-title {
  color: #0f172a;
}

html[data-theme='light'] .stats-page-general-overview__row-subtitle {
  color: #475569;
}

html[data-theme='light'] .stats-page-general-overview__row-stats span {
  color: #334155;
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(241, 245, 249, 0.95);
}

html[data-theme='light'] .stats-page-compare-preview__card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94));
  border-color: rgba(148, 163, 184, 0.26);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .stats-page-compare-preview__card--me {
  border-color: rgba(14, 165, 233, 0.34);
}

html[data-theme='light'] .stats-page-compare-preview__tag {
  color: #64748b;
}

html[data-theme='light'] .stats-page-compare-preview__name,
html[data-theme='light'] .stats-page-compare-preview__points {
  color: #0f172a;
}

html[data-theme='light'] .stats-page-compare-preview__rank,
html[data-theme='light'] .stats-page-compare-preview__points span {
  color: #475569;
}

html[data-theme='light'] .stats-page-compare-preview__chips span {
  color: #334155;
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(248, 250, 252, 0.9);
}

html[data-theme='light'] .stats-page-compare-preview__vs {
  color: #475569;
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(241, 245, 249, 0.95);
}

html[data-theme='light'] .stats-chart-tooltip {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(14, 165, 233, 0.26);
  box-shadow: 0 12px 26px rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .stats-chart-tooltip__title,
html[data-theme='light'] .stats-chart-tooltip__row strong {
  color: #0f172a;
}

html[data-theme='light'] .stats-chart-tooltip__row {
  color: #475569;
}

html[data-theme='light'] .stats-chart-tooltip__delta {
  color: #0369a1;
}

html[data-theme='light'] .admin-home-header .text-slate-400 {
  color: #475569 !important;
}

html[data-theme='light'] .admin-home-card {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(241, 245, 249, 0.99)) !important;
  box-shadow:
    0 14px 28px rgba(148, 163, 184, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme='light'] .admin-home-card:hover {
  border-color: rgba(14, 165, 233, 0.26);
  box-shadow:
    0 18px 34px rgba(148, 163, 184, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme='light'] .admin-home-card__icon {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.96), rgba(239, 246, 255, 0.92)) !important;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .admin-home-card__badge {
  color: #9f1239;
  border-color: rgba(225, 29, 72, 0.28);
  background: rgba(255, 228, 230, 0.92);
}

html[data-theme='light'] .admin-triage-shortcuts__item {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(241, 245, 249, 0.92);
  color: #334155;
}

html[data-theme='light'] .admin-triage-shortcuts__item:hover {
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(224, 242, 254, 0.92);
  color: #0c4a6e;
}

html[data-theme='light'] .admin-research-table thead th {
  color: #475569;
  border-bottom-color: rgba(148, 163, 184, 0.3);
}

html[data-theme='light'] .admin-research-table tbody tr {
  border-bottom-color: rgba(148, 163, 184, 0.3);
}

html[data-theme='light'] .admin-research-table td {
  color: #0f172a;
}

html[data-theme='light'] .admin-research-user__nick {
  color: #0369a1;
}

html[data-theme='light'] .admin-research-pill {
  color: #334155;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(248, 250, 252, 0.92);
}

html[data-theme='light'] .admin-research-pill--stars {
  color: #92400e;
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(254, 243, 199, 0.9);
}

html[data-theme='light'] .admin-research-pill--exp {
  color: #1e3a8a;
  border-color: rgba(96, 165, 250, 0.42);
  background: rgba(219, 234, 254, 0.92);
}

html[data-theme='light'] .admin-research-pill--nps {
  color: #065f46;
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(209, 250, 229, 0.9);
}

html[data-theme='light'] .admin-research-tag {
  color: #0c4a6e;
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(224, 242, 254, 0.94);
}

html[data-theme='light'] .admin-research-comment {
  color: #334155;
}

html[data-theme='light'] .admin-research-table .btn-secondary {
  color: #1e293b;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme='light'] .admin-research-table .btn-secondary:hover {
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(224, 242, 254, 0.92);
}

html[data-theme='light'] .member-modal-profile-link {
  color: #0284c7;
}

html[data-theme='light'] .member-modal-profile-link:hover {
  color: #0369a1;
}

html[data-theme='light'] .btn-primary {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 16px 34px -20px rgba(14, 165, 233, 0.55);
}

html[data-theme='light'] .btn-primary:hover {
  background: #0284c7;
  box-shadow: 0 18px 36px -20px rgba(2, 132, 199, 0.5);
}

html[data-theme='light'] .rodada-nav-btn,
html[data-theme='light'] .resultados-main .accordion-trigger,
html[data-theme='light'] [data-rodada-section] {
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .resultados-sidebar .rodada-nav-btn,
html[data-theme='light'] .resultados-main .accordion-trigger,
html[data-theme='light'] [data-jogo-card].bg-slate-900\\/50,
html[data-theme='light'] [data-jogo-card].bg-slate-950\\/40 {
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98)) !important;
}

html[data-theme='light'] .rodada-block,
html[data-theme='light'] .rodada-col--game,
html[data-theme='light'] .rodada-col--sticky-right,
html[data-theme='light'] .rodada-table thead,
html[data-theme='light'] .bg-slate-900\\/60,
html[data-theme='light'] .bg-slate-900\\/70,
html[data-theme='light'] .bg-slate-900\\/80,
html[data-theme='light'] .bg-slate-800\\/60,
html[data-theme='light'] .bg-slate-800\\/50 {
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.1), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98)) !important;
}

html[data-theme='light'] .booster-row--hit .rodada-col--game,
html[data-theme='light'] .booster-row--hit .rodada-col--sticky-right {
  background:
    linear-gradient(145deg, rgba(245, 243, 255, 0.96), rgba(248, 250, 252, 0.98)) !important;
}

html[data-theme='light'] .admin-home-card h3.text-white {
  color: #0f172a !important;
}

html[data-theme='light'] .admin-home-card .text-slate-400 {
  color: #475569 !important;
}

html[data-theme='light'] .stats-page-empty-inline {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(248, 250, 252, 0.88);
  color: #475569;
}

html[data-theme='light'] body.has-mobile-bottom-nav .app-topbar__right .app-topbar__drawer {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] body.has-mobile-bottom-nav .app-topbar__left .app-topbar__avatar {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.82);
  color: #0f172a;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.18);
}

.theme-switcher {
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.42));
}

.theme-switcher__copy {
  margin-bottom: 0.9rem;
}

.theme-switcher__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.theme-switcher__title {
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.theme-switcher__actions {
  display: flex;
}

.theme-toggle {
  position: relative;
  width: min(100%, 20.5rem);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 0.28rem;
  background: linear-gradient(135deg, #111827, #020617);
  color: #f8fafc;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.theme-toggle:hover {
  border-color: rgba(56, 189, 248, 0.36);
}

.theme-toggle__track {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.3rem;
  padding: 0.12rem 0.8rem 0.12rem 4.05rem;
  border-radius: 999px;
}

.theme-toggle__thumb {
  position: absolute;
  top: 0.28rem;
  left: 0.28rem;
  width: 2.72rem;
  height: 2.72rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
  transition: left 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.theme-toggle.is-light .theme-toggle__thumb {
  left: calc(100% - 3rem);
}

.theme-toggle__icon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-toggle.is-dark .theme-toggle__icon--moon,
.theme-toggle.is-light .theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1);
}

.theme-toggle__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.theme-toggle__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}

.theme-toggle__mode {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.theme-toggle__hint {
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.75);
  letter-spacing: 0.02em;
}

.theme-toggle.is-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
  color: #0f172a;
}

.theme-toggle.is-light .theme-toggle__track {
  padding: 0.12rem 4.05rem 0.12rem 0.8rem;
}

.theme-toggle.is-light .theme-toggle__text {
  align-items: flex-end;
}

.theme-toggle.is-light .theme-toggle__hint {
  color: rgba(51, 65, 85, 0.72);
}

html[data-theme='light'] .theme-switcher {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.96));
}

html[data-theme='light'] .theme-switcher__eyebrow {
  color: #64748b;
}

html[data-theme='light'] .theme-switcher__title {
  color: #334155;
}

html[data-theme='light'] .theme-toggle {
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 26px rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .theme-toggle.is-dark {
  background: linear-gradient(135deg, #111827, #020617);
  color: #f8fafc;
}

html[data-theme='light'] .theme-toggle.is-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
  color: #0f172a;
}

html[data-theme='light'] .theme-toggle.is-light .theme-toggle__hint {
  color: rgba(51, 65, 85, 0.72);
}

.landing-page {
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.landing-page.page-entering {
  opacity: 0.92;
  transform: translateY(4px);
}

.page-transitioning.landing-page {
  opacity: 0.88;
  transform: translateY(4px);
}

.login-hero {
  background: #040713;
}

.login-screen {
  min-height: 100vh;
  margin: 0;
  padding: 16px 20px;
}

.login-shell {
  width: min(1180px, 100%);
  min-height: calc(100vh - 32px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 440px);
  gap: 20px;
  align-items: stretch;
  align-content: center;
}

.login-showcase,
.login-panel {
  min-width: 0;
  display: flex;
  align-self: stretch;
}

.login-showcase__surface,
.login-panel__card {
  position: relative;
  flex: 1;
  min-height: auto;
  border-radius: 32px;
  border: 1px solid rgba(56, 189, 248, 0.16);
  background: rgba(4, 7, 19, 0.96);
  box-shadow:
    0 24px 70px -42px rgba(2, 8, 23, 0.92),
    0 0 0 1px rgba(8, 47, 73, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.018);
  overflow: hidden;
}

.login-showcase__surface {
  padding: clamp(24px, 3.6vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
  overflow: hidden;
}

.login-showcase__surface::before,
.login-showcase__surface::after {
  display: none;
}

.login-showcase__surface > * ,
.login-panel__card > * {
  position: relative;
  z-index: 1;
}

.login-panel__card::before {
  display: none;
}

.login-showcase__back,
.login-panel__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.85);
}

.login-showcase__back {
  width: fit-content;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(7, 22, 46, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.login-showcase__back svg {
  width: 15px;
  height: 15px;
}

.login-showcase__back span[aria-hidden="true"] {
  font-size: 1rem;
  line-height: 1;
}

.login-showcase__back:hover {
  color: #e0f2fe;
  border-color: rgba(125, 211, 252, 0.3);
  background: rgba(8, 29, 60, 0.7);
  transform: translateX(-1px);
}

.login-showcase__logo {
  width: min(280px, 78%);
  margin-top: 6px;
}

.login-mobile-hero {
  display: none;
}

.login-showcase__title {
  margin: 10px 0 0;
  max-width: 10ch;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #f8fafc;
}

.login-showcase__subtitle {
  margin: 6px 0 0;
  max-width: 540px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.76);
}

.login-showcase__signals {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.login-showcase__signal-card {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(160deg, rgba(8, 19, 40, 0.58), rgba(2, 6, 23, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.login-showcase__signal-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.82);
}

.login-showcase__signal-value {
  margin-top: 10px;
  display: block;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.92);
}

.login-panel__card {
  width: 100%;
  padding: clamp(20px, 3vw, 27px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.login-panel__title {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.login-panel__subtitle {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.76);
}

.login-toast-container {
  position: static;
  margin-top: 18px;
}

.login-form {
  margin-top: 20px;
}

.login-form__field + .login-form__field {
  margin-top: 16px;
}

.login-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.82);
}

.login-form .input-control {
  background: rgba(2, 6, 23, 0.54);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.login-form .input-control:focus {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.login-form__meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.login-form__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.86);
}

.login-form__link {
  font-size: 0.8rem;
  color: #7dd3fc;
}

.login-form__link:hover {
  color: #bae6fd;
}

.login-form__submit {
  margin-top: 18px;
  min-height: 56px;
  border-radius: 1rem;
}

.login-form__oauth {
  margin-top: 14px;
}

.login-form__google {
  min-height: 52px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.login-form__foot {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.login-form__register,
.login-form__terms {
  margin: 0;
  text-align: center;
}

.login-form__register {
  font-size: 0.82rem;
  color: rgba(203, 213, 225, 0.74);
}

.login-form__register a,
.login-form__terms a {
  color: #7dd3fc;
}

.login-form__register a:hover,
.login-form__terms a:hover {
  color: #bae6fd;
}

.login-form__terms {
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.72);
}

@media (max-width: 980px) {
  .login-screen {
    min-height: 100svh;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 16px;
  }

  .login-shell {
    width: 100%;
    min-height: auto;
    display: block;
  }

  .login-showcase {
    display: none;
  }

  .login-panel {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    box-sizing: border-box;
    padding: calc(20px + env(safe-area-inset-top, 0px)) 0 calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .login-mobile-hero {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .login-mobile-hero__logo {
    width: min(220px, 70vw);
  }

  .login-mobile-hero__subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(203, 213, 225, 0.82);
  }

  .login-panel__head {
    display: none;
  }

  .login-panel__card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    min-height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }

  .login-panel__card::before {
    display: none;
  }

  .login-form {
    margin-top: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .login-screen {
    padding: 0 16px;
  }

  .login-panel {
    gap: 14px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 0 calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .login-mobile-hero__logo {
    width: min(200px, 68vw);
  }

  .login-mobile-hero,
  .login-panel__card {
    width: 93%;
    margin-left: auto;
    margin-right: auto;
  }

  .login-panel__card {
    max-width: 100%;
  }

  .login-form__meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.landing-page {
  min-height: 100vh;
  background: #020617;
}

.landing-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 4vw;
  gap: 2rem;
  z-index: 2;
  background: transparent;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-logo {
  height: 52px;
  width: 52px;
  border-radius: 16px;
  background: #10b981;
  color: #0f172a;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
}

.app-logo {
  width: 40px;
  height: 40px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.app-logo--md {
  width: 52px;
  height: 52px;
  border-radius: 0;
}

.app-logo--lg {
  width: 56px;
  height: 56px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.auth-wordmark-logo {
  width: min(210px, 68vw);
  height: auto;
  display: block;
  object-fit: contain;
}

.landing-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f8fafc;
}

.landing-subtitle {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.9);
}

.landing-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.landing-hero {
  padding: 0;
  min-height: 100vh;
}

.landing-banner {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 4vw;
  min-height: 360px;
  position: relative;
}

.landing-banner--fullscreen {
  min-height: 100vh;
  height: 100vh;
  padding: 8rem 6vw 4rem;
  background-image: url('../img/banner-home.jpg');
  background-size: cover;
  background-position: center;
}

.landing-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.88));
  pointer-events: none;
}

.landing-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4vh;
}

.landing-banner__eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(148, 163, 184, 0.8);
}

.landing-banner__title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: #f8fafc;
}

.landing-banner__copy {
  font-size: 1rem;
  color: rgba(203, 213, 225, 0.9);
  max-width: 36ch;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
}

.landing-banner__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.landing-banner__cta .btn-primary,
.landing-banner__cta .btn-ghost {
  min-height: 48px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
}

.landing-banner__cta .btn-primary:active,
.landing-banner__cta .btn-ghost:active {
  transform: scale(0.98);
}

.landing-banner__trust {
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.landing-banner__trust li {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(224, 242, 254, 0.96);
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  padding: 0.34rem 0.62rem;
}

.card-accent {
  position: relative;
  border-color: rgba(56, 189, 248, 0.35);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(56, 189, 248, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, rgba(10, 18, 35, 0.95), rgba(6, 30, 40, 0.7));
  box-shadow:
    0 25px 60px rgba(2, 6, 23, 0.55),
    0 0 0 1px rgba(45, 212, 191, 0.08),
    0 0 28px rgba(56, 189, 248, 0.18);
}

.card-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.card-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.9), rgba(20, 184, 166, 0.8), rgba(16, 185, 129, 0.6));
  opacity: 0.75;
}

@media (max-width: 900px) {
  .landing-header {
    flex-direction: row;
    align-items: center;
    padding: 1.1rem 6vw;
  }

  .landing-nav,
  .landing-actions {
    display: none;
  }

  .landing-banner {
    padding: 2rem 6vw;
  }

  .landing-banner--fullscreen {
    height: auto;
    min-height: 100vh;
    padding: 8rem 6vw 4rem;
  }

  .landing-banner__trust li {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

}

[data-autosave-status] {
  display: inline-block;
  min-height: 1.1rem;
  min-width: 140px;
  line-height: 1.1rem;
  white-space: nowrap;
}

@keyframes login-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(241, 245, 249, 0.9);
  border-radius: 0.85rem;
  background: linear-gradient(120deg, rgba(148, 163, 184, 0.06), rgba(148, 163, 184, 0.03));
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-link__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-link__label {
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: #ecfeff;
  border-color: var(--border-strong);
  transform: translateX(6px);
  box-shadow: 0 10px 30px -20px rgba(59, 130, 246, 0.8);
}

.nav-link:hover .nav-link__dot {
  background: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  transform: scale(1.05);
}

.nav-link.is-active {
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(120deg, rgba(14, 116, 144, 0.2), rgba(16, 185, 129, 0.12));
  box-shadow: inset 2px 0 0 rgba(56, 189, 248, 0.9);
}

.nav-link.is-active .nav-link__dot {
  background: rgba(16, 185, 129, 0.95);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
}

.nav-link--danger {
  color: #fca5a5;
}

.nav-link--danger .nav-link__dot {
  background: rgba(248, 113, 113, 0.75);
}

.sidebar {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.92));
  box-shadow: 12px 0 40px -30px rgba(15, 23, 42, 0.8);
}

.table-scroll {
  overflow-x: auto;
  position: relative;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.table-scroll--ranking {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  width: 100%;
  max-width: 100%;
  display: block;
  min-width: 0;
}

.table-scroll--ranking .ranking-table {
  width: 100%;
  min-width: 900px;
}

.table-scroll--ranking th,
.table-scroll--ranking td {
  white-space: nowrap;
}

.table-scroll-hint {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.7);
  margin-bottom: 0.5rem;
  display: none;
}

.rodada-table {
  min-width: 920px;
  border-collapse: separate;
}

.rodada-col {
  white-space: nowrap;
}

.rodada-col--game {
  min-width: 320px;
  white-space: normal;
  position: sticky;
  left: 0;
  background: #0b1220;
  z-index: 2;
  background-clip: padding-box;
}

.rodada-col--game {
  border-right: 1px solid rgba(56, 189, 248, 0.25);
}

.matchup-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(70px, 90px) minmax(140px, 1fr);
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.matchup-team {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.matchup-team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matchup-team--home {
  justify-content: flex-start;
}

.matchup-team--away {
  justify-content: flex-end;
  text-align: right;
}

.matchup-score {
  display: flex;
  justify-content: center;
}

.matchup-x {
  color: rgba(148, 163, 184, 0.7);
  font-weight: 600;
}

.rodada-col--datetime {
  min-width: 120px;
}

.rodada-col--palpite {
  min-width: 180px;
}

.palpite-user-summary {
  display: none;
}

.rodada-col--status {
  min-width: 200px;
}

.rodada-col--booster {
  min-width: 120px;
}

.rodada-col--sticky-right {
  position: sticky;
  right: 0;
  background: #0b1220;
  z-index: 1;
  box-shadow: -10px 0 18px -14px rgba(15, 23, 42, 0.9);
  border-left: 1px solid rgba(16, 185, 129, 0.22);
  background-clip: padding-box;
}

.bolao-header-strip {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bolao-header-strip__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bolao-header-strip__actions {
  margin-left: auto;
  align-items: center;
}

.bolao-header-strip__cta-chip {
  white-space: nowrap;
  box-shadow: 0 10px 24px -16px rgba(16, 185, 129, 0.68);
}

.bolao-context-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.bolao-context-card,
.bolao-context-action {
  min-width: 0;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.42);
  padding: 0.85rem 0.95rem;
}

.bolao-context-card {
  display: grid;
  gap: 0.3rem;
}

.bolao-context-card__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
}

.bolao-context-card__value {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #f8fafc;
}

.bolao-context-card--note .bolao-context-card__value {
  color: rgba(226, 232, 240, 0.94);
}

.bolao-context-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d1fae5;
  border-color: rgba(16, 185, 129, 0.26);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.34), rgba(15, 23, 42, 0.46));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.bolao-context-action:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, 0.42);
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.4), rgba(15, 23, 42, 0.54));
}

.bolao-context-action:disabled {
  opacity: 0.78;
}

.bolao-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.32rem 0.6rem;
}

.bolao-chip--warn {
  border-color: rgba(251, 191, 36, 0.45);
  color: rgba(254, 240, 138, 0.95);
  background: rgba(120, 53, 15, 0.18);
}

.bolao-chip--ok {
  border-color: rgba(16, 185, 129, 0.4);
  color: rgba(167, 243, 208, 0.95);
  background: rgba(6, 78, 59, 0.2);
}

.bolao-chip--link {
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.bolao-chip--link:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(14, 116, 144, 0.22);
  color: #e0f2fe;
}

.bolao-chip--link:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.72);
  outline-offset: 2px;
}

.rodada-mobile-header,
.rodada-mobile-sheet,
.palpite-save-cta {
  display: none;
}

.rodada-mobile-header {
  position: sticky;
  top: calc(0.6rem + env(safe-area-inset-top, 0px));
  z-index: 30;
  margin-bottom: 0.75rem;
}

  .rodada-mobile-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(15, 23, 42, 0.82));
    color: #e2e8f0;
    text-align: left;
    box-shadow: 0 14px 28px -20px rgba(0, 0, 0, 0.8);
  }

.rodada-mobile-title {
  font-weight: 700;
  font-size: 1rem;
}

.rodada-mobile-meta {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.9);
  margin-top: 0.2rem;
}

  .rodada-mobile-status {
    font-size: 0.78rem;
    color: #a7f3d0;
    font-weight: 600;
    white-space: nowrap;
  }


.rodada-mobile-caret {
  font-size: 1.1rem;
  color: rgba(148, 163, 184, 0.9);
}

.rodada-mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.rodada-mobile-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(2px);
}

.rodada-mobile-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0b1220;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -16px 30px -20px rgba(0, 0, 0, 0.85);
}

.rodada-mobile-sheet__handle {
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  margin: 0 auto 0.75rem;
}

.rodada-mobile-sheet__title {
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
}

.rodada-mobile-sheet__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 60vh;
  overflow-y: auto;
}

.rodada-mobile-sheet__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  text-align: left;
}

  .rodada-mobile-sheet__item.is-active {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 10px 24px -18px rgba(16, 185, 129, 0.6);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(15, 23, 42, 0.82));
  }

.rodada-mobile-sheet__label {
  font-weight: 600;
}

.rodada-mobile-sheet__meta {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.8);
  margin-top: 0.15rem;
}

.rodada-mobile-sheet__badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(148, 163, 184, 0.85);
}

.rodada-mobile-sheet__badge--active {
  border-color: rgba(16, 185, 129, 0.6);
  color: rgba(16, 185, 129, 0.9);
}

.rodada-mobile-sheet__badge--complete {
  border-color: rgba(56, 189, 248, 0.6);
  color: rgba(56, 189, 248, 0.9);
}

.rodada-mobile-sheet__badge--closed {
  border-color: rgba(148, 163, 184, 0.45);
  color: rgba(148, 163, 184, 0.85);
}

.palpite-save-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.palpite-save-cta__btn {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(6, 182, 212, 0.8));
  color: #021110;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rodada-mobile-trigger,
.palpite-save-cta__btn,
.tab-trigger,
.btn-primary,
.btn-secondary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.rodada-block {
  scroll-margin-top: calc(5.2rem + env(safe-area-inset-top, 0px));
}

.palpite-save-cta__status {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.9);
}

.palpite-save-cta.is-loading .palpite-save-cta__btn {
  opacity: 0.75;
}

.palpite-save-cta.has-error .palpite-save-cta__btn {
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(30, 41, 59, 0.8);
  color: rgba(248, 113, 113, 0.9);
}


@media (max-width: 1024px) {
  .table-scroll-hint {
    display: block;
  }
}

@media (max-width: 768px) {
  .bolao-header-strip {
    align-items: stretch;
  }

  .bolao-header-strip__status {
    width: 100%;
  }

  .rodada-mobile-header,
  .palpite-save-cta {
    display: flex;
  }

  .rodada-mobile-sheet.is-open {
    display: block;
  }

  .palpite-filters,
  [data-palpite-shortcuts] {
    display: none;
  }

  .rodada-block.is-mobile-hidden {
    display: none !important;
  }

  .rodada-block--featured {
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 16px 30px rgba(16, 185, 129, 0.08);
  }

  [data-palpite-container] {
    padding-bottom: 5rem;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
  }

  .page-header__left p {
    display: none;
  }

  .page-header__left h1 {
    font-size: 1.35rem;
  }

.page-header__right {
  width: 100%;
  justify-content: flex-start;
  gap: 0.75rem;
}

.page-header__left,
.page-header__right,
main,
.card {
  max-width: 100%;
  min-width: 0;
}

  .page-header__right .mobile-menu-toggle {
    margin-right: 0.2rem;
  }

  .page-header__clock,
  .page-header__right .btn-secondary,
  .page-header__user p.text-xs {
    display: none;
  }

  .page-header__user {
    text-align: left;
  }

  .page-header__right > .page-header__user {
    flex: 1;
  }

  main {
    padding: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .table-scroll {
    width: 100%;
  }

  .rodada-table {
    font-size: 0.8rem;
    min-width: 700px;
  }

  .rodada-table th,
  .rodada-table td {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .rodada-col--game {
    position: static;
    min-width: 220px;
  }

  .rodada-col--sticky-right {
    position: static;
    box-shadow: none;
    border-left: 0;
  }

  .filter-grid .filter-card,
  .filter-select-wrapper {
    min-width: 100%;
    max-width: 100%;
  }

  .filter-chip {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  /* ==================== TABELA → CARDS ==================== */

  /* Remove scroll horizontal */
  .table-scroll {
    overflow-x: visible !important;
  }

  .table-scroll--ranking {
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .rodada-table {
    min-width: 100%;
    display: block;
  }

  .rodada-table thead {
    display: none; /* Esconde cabeçalho da tabela */
  }

  .rodada-table tbody {
    display: block;
  }

  .rodada-table tbody tr {
    display: block;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    margin-bottom: 0.75rem;
    padding: 0.8rem 0.9rem;
  }

  .rodada-table tbody tr.booster-row {
    display: block !important;
    margin: 15px 0 !important;
  }

  .rodada-table tbody tr.booster-row.highlight {
    border-color: rgba(168, 85, 247, 0.7) !important;
    background: linear-gradient(
      135deg,
      rgba(168, 85, 247, 0.26) 0%,
      rgba(76, 29, 149, 0.26) 55%,
      rgba(15, 23, 42, 0.45) 100%
    ) !important;
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.28);
    padding: 10px !important;
    margin: 10px 0 !important;
  }

  .rodada-table tbody tr.palpite-row--cravado:not(.booster-row--hit) {
    border-color: rgba(250, 204, 21, 0.5) !important;
    background: linear-gradient(
      135deg,
      rgba(250, 204, 21, 0.18) 0%,
      rgba(251, 191, 36, 0.12) 55%,
      rgba(15, 23, 42, 0.45) 100%
    ) !important;
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.2);
  }

  .rodada-table tbody tr.palpite-row--acerto:not(.booster-row--hit) {
    border-color: rgba(16, 185, 129, 0.38) !important;
    background: linear-gradient(
      135deg,
      rgba(16, 185, 129, 0.16) 0%,
      rgba(6, 182, 212, 0.08) 55%,
      rgba(15, 23, 42, 0.45) 100%
    ) !important;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.14);
  }

  .rodada-table tbody tr.palpite-row--cravado td {
    background: transparent !important;
  }

  .rodada-table tbody tr.palpite-row--acerto td {
    background: transparent !important;
  }

  .rodada-table tbody tr.booster-row.highlight td {
    background: transparent !important;
  }

  /* Remove sticky e borders */
  .rodada-col--game {
    position: static;
    border-right: none;
  }

  .rodada-col--sticky-right {
    position: static;
    box-shadow: none;
    border-left: none;
  }

  /* Todas as colunas viram blocos empilhados */
  .rodada-table td {
    display: block;
    width: 100%;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  .rodada-table td:last-child {
    border-bottom: none;
  }

  /* ==================== SEÇÃO: JOGO ==================== */

  .rodada-col--game {
    padding-bottom: 0.75rem !important;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15) !important;
  }

  /* Times lado a lado (mantém grid) */
  .matchup-row {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
  }

  .matchup-team span {
    font-size: 0.875rem; /* 14px */
  }

  /* Jogo #X menor */
  .rodada-col--game .text-xs {
    font-size: 0.75rem; /* 12px */
  }

  /* ==================== SEÇÃO: PALPITE ==================== */

  .rodada-col--palpite {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  /* Label visual antes dos inputs */
  .rodada-col--palpite::before {
    content: "Palpite";
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(148, 163, 184, 0.6);
    margin-bottom: 0.5rem;
  }

  /* Inputs de palpite maiores (touch-friendly) */
  .palpite-box {
    justify-content: center;
  }

  .palpite-box .input-control {
    width: 3.8rem;
    height: 36px;
    font-size: 16px;
  }

  .palpite-box span {
    font-size: 1.25rem; /* "x" maior */
  }

  .palpite-user-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.9);
  }

  .palpite-user-summary.is-cravado {
    color: rgba(250, 204, 21, 0.95);
  }

  .palpite-user-summary.is-acerto {
    color: rgba(16, 185, 129, 0.95);
  }

  .palpite-user-booster {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
    color: rgba(168, 85, 247, 0.95);
    font-weight: 600;
  }

  /* ==================== SEÇÃO: STATUS ==================== */

  .rodada-col--status {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .rodada-col--status::before {
    content: "Status";
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(148, 163, 184, 0.6);
    margin-bottom: 0.5rem;
  }

  .rodada-col--status p {
    display: block;
    margin-top: 0.2rem;
    line-height: 1.35;
  }

  /* Autosave status mais visível */
  [data-autosave-status] {
    min-width: auto;
    display: block;
    margin-top: 0.35rem;
    font-weight: 600;
    color: rgba(186, 230, 253, 0.95) !important;
  }

  /* ==================== SEÇÃO: BOOSTER ==================== */

  .rodada-col--booster {
    padding-top: 0.75rem !important;
    padding-bottom: 0 !important;
  }

  .rodada-col--booster::before {
    content: "Booster";
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(148, 163, 184, 0.6);
    margin-bottom: 0.5rem;
  }

  /* Label do checkbox maior (touch-friendly) */
.rodada-col--booster label {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  gap: 0.5rem;
}

  .rodada-col--booster input[type="radio"] {
    width: 18px;
    height: 18px;
  }

.booster-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.booster-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: rgba(168, 85, 247, 0.9);
}

.booster-icon svg {
  width: 100%;
  height: 100%;
}

  .rodada-table tbody tr[data-can-edit="0"] .rodada-col--booster {
    display: none;
  }

  .rodada-table tbody tr[data-can-edit="0"] .rodada-col--palpite .palpite-box {
    display: none;
  }

  .rodada-table tbody tr[data-can-edit="1"],
  .rodada-table tbody tr[data-can-edit="0"],
  .rodada-table tbody tr.jogo-inativo {
    border-color: rgba(148, 163, 184, 0.22);
  }

  .rodada-table tbody tr.booster-row.highlight {
    border-color: rgba(168, 85, 247, 0.7) !important;
    background: linear-gradient(
      135deg,
      rgba(168, 85, 247, 0.26) 0%,
      rgba(76, 29, 149, 0.26) 55%,
      rgba(15, 23, 42, 0.45) 100%
    ) !important;
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.28);
  }

  .rodada-table tbody tr.booster-row.highlight td {
    background: transparent !important;
  }

  /* ==================== BOOSTER HIGHLIGHT ==================== */

  /* Ajusta highlight para cards */
  .booster-row.highlight {
    border-color: rgba(168, 85, 247, 0.65);
    border-left-width: 3px;
    background: linear-gradient(
      135deg,
      rgba(168, 85, 247, 0.22) 0%,
      rgba(76, 29, 149, 0.22) 55%,
      rgba(15, 23, 42, 0.4) 100%
    );
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.25);
  }

  .booster-row.highlight td {
    background: transparent !important;
  }

  .booster-row.highlight td:first-child {
    border-left: none;
  }

  .booster-row.highlight td:last-child {
    border-right: none;
  }

  html[data-theme='light'] .rodada-table tbody tr {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 14px 30px rgba(148, 163, 184, 0.12);
  }

  html[data-theme='light'] .rodada-mobile-trigger {
    border-color: rgba(14, 165, 233, 0.2);
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.98), rgba(224, 242, 254, 0.92));
    color: #0f172a;
    box-shadow: 0 14px 28px rgba(148, 163, 184, 0.14);
  }

  html[data-theme='light'] .rodada-mobile-meta {
    color: #64748b;
  }

  html[data-theme='light'] .rodada-mobile-status {
    color: #047857;
  }

  html[data-theme='light'] .rodada-mobile-sheet__item.is-active {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(240, 249, 255, 0.95));
  }

  html[data-theme='light'] .rodada-table tbody tr[data-can-edit="1"],
  html[data-theme='light'] .rodada-table tbody tr[data-can-edit="0"],
  html[data-theme='light'] .rodada-table tbody tr.jogo-inativo {
    border-color: rgba(148, 163, 184, 0.24);
  }

  html[data-theme='light'] .rodada-table tbody tr.palpite-row--cravado:not(.booster-row--hit) {
    border-color: rgba(245, 158, 11, 0.28) !important;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 251, 235, 0.98) 100%
    ) !important;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.08);
  }

  html[data-theme='light'] .rodada-table tbody tr.palpite-row--acerto:not(.booster-row--hit) {
    border-color: rgba(16, 185, 129, 0.22) !important;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(236, 253, 245, 0.98) 100%
    ) !important;
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.08);
  }

  html[data-theme='light'] .rodada-table tbody tr.booster-row.highlight,
  html[data-theme='light'] .booster-row.highlight {
    border-color: rgba(168, 85, 247, 0.28) !important;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(250, 245, 255, 0.98) 100%
    ) !important;
    box-shadow: 0 14px 30px rgba(168, 85, 247, 0.08);
  }

  html[data-theme='light'] .rodada-table td {
    border-bottom-color: rgba(226, 232, 240, 0.9);
    background: transparent !important;
  }

  html[data-theme='light'] .rodada-col--game {
    background: rgba(248, 250, 252, 0.96) !important;
    border-bottom-color: rgba(226, 232, 240, 0.92) !important;
    border-radius: 16px;
    padding: 0.9rem !important;
  }

  html[data-theme='light'] .rodada-col--palpite::before,
  html[data-theme='light'] .rodada-col--status::before,
  html[data-theme='light'] .rodada-col--booster::before {
    color: #64748b;
  }

  html[data-theme='light'] [data-autosave-status] {
    color: #075985 !important;
  }

  html[data-theme='light'] .rodada-col--booster label {
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: 0.75rem 0.9rem;
    color: #334155;
  }

  html[data-theme='light'] .booster-inline {
    color: #334155;
  }

  html[data-theme='light'] .booster-icon {
    color: #8b5cf6;
  }

  /* ==================== TABELA PARTICIPANTES → CARDS ==================== */

  /* Tabela de participantes (admin_participantes.php) */
  .participantes-table-container {
    overflow-x: visible !important;
  }

  .participantes-table {
    display: block;
  }

  .participantes-table thead {
    display: none;
  }

  .participantes-table tbody {
    display: block;
  }

  .participantes-table tbody tr {
    display: block;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .participantes-table td {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  .participantes-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Labels visuais para cada seção */
  .participantes-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(148, 163, 184, 0.6);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  /* Primeira coluna (Participante) - destaque maior */
  .participantes-table td:first-child {
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15) !important;
  }

  .participantes-table td[data-cell="actions"]::before {
    font-size: 0.75rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(16, 185, 129, 0.08));
    border-left: 3px solid rgba(56, 189, 248, 0.5);
    padding: 0.42rem 0.65rem;
    margin: -0.5rem 0 0.8rem 0;
    border-radius: 0.5rem;
  }

  /* Ajusta formulário de ações para mobile */
  .participantes-table td[data-cell="actions"] form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .participantes-table td[data-cell="actions"] form.participante-form--compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.6rem;
  }

  /* Wrapper para cada campo */
  .participantes-table td[data-cell="actions"] .participante-field-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Labels dos campos - só visível no mobile */
  .participantes-table td[data-cell="actions"] .participante-field-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .participantes-table td[data-cell="actions"] select {
    width: 100% !important;
    min-height: 44px;
    padding: 0.68rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    appearance: auto;
    -webkit-appearance: menulist;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
  }

  .participantes-table td[data-cell="actions"] select:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background-color: rgba(15, 23, 42, 0.9);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
  }

  .participantes-table td[data-cell="actions"] select:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  }

  .participantes-table td[data-cell="actions"] button {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #e0f2fe;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .participantes-table td[data-cell="actions"] form.participante-form--compact button {
    width: auto;
    min-width: 110px;
    white-space: nowrap;
  }

  .participantes-table td[data-cell="actions"] button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(16, 185, 129, 0.25));
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.3);
  }

  .participantes-table td[data-cell="actions"] button:active {
    transform: translateY(0);
  }

  /* Comprovantes em coluna no mobile */
  .participantes-table td[data-label="Comprovantes"] > div {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Esconde labels de campos no desktop */
.participante-field-label {
  display: none;
}

html[data-theme='light'] .participantes-table thead {
  background: rgba(241, 245, 249, 0.95);
  color: #334155;
}

html[data-theme='light'] .participantes-table tbody tr {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .participantes-table td {
  border-bottom-color: rgba(226, 232, 240, 0.92);
}

html[data-theme='light'] .participantes-table td .text-white {
  color: #0f172a !important;
}

html[data-theme='light'] .participantes-table td .text-slate-400 {
  color: #64748b !important;
}

html[data-theme='light'] .participantes-table td .text-slate-500 {
  color: #64748b !important;
}

html[data-theme='light'] .participantes-table td .text-emerald-300 {
  color: #059669 !important;
}

html[data-theme='light'] .participantes-table td[data-cell="actions"]::before {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.92), rgba(236, 253, 245, 0.9));
  border-left-color: rgba(14, 165, 233, 0.45);
  color: #0f172a;
}

html[data-theme='light'] .participantes-table td[data-cell="actions"] .participante-field-label {
  color: #64748b;
}

html[data-theme='light'] .participantes-table td[data-cell="actions"] select {
  border-color: rgba(148, 163, 184, 0.35);
  background-color: rgba(248, 250, 252, 0.98);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] .participantes-table td[data-cell="actions"] select:hover {
  border-color: rgba(14, 165, 233, 0.42);
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

html[data-theme='light'] .participantes-table td[data-cell="actions"] select:focus {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}

html[data-theme='light'] .participantes-table td[data-cell="actions"] button {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98), rgba(236, 253, 245, 0.95));
  border-color: rgba(14, 165, 233, 0.28);
  color: #075985;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] .participantes-table td[data-cell="actions"] button:hover {
  background: linear-gradient(135deg, rgba(186, 230, 253, 0.98), rgba(209, 250, 229, 0.96));
  border-color: rgba(14, 165, 233, 0.42);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.14);
}

html[data-theme='light'] .admin-bolao-hub .border-emerald-500\/40.bg-emerald-500\/10.text-emerald-100,
html[data-theme='light'] .admin-bolao-hub .border-emerald-500\/40.bg-emerald-500\/10.text-emerald-200 {
  background: rgba(236, 253, 245, 0.95) !important;
  border-color: rgba(16, 185, 129, 0.28) !important;
  color: #065f46 !important;
}

html[data-theme='light'] .admin-bolao-hub .border-emerald-500\/40.bg-emerald-500\/10.text-emerald-100 a,
html[data-theme='light'] .admin-bolao-hub .border-emerald-500\/40.bg-emerald-500\/10.text-emerald-200 a {
  color: #065f46 !important;
}

.admin-section-header {
  text-align: left;
}

.invite-link-callout__url {
  color: inherit;
}

.invite-link-callout__row {
  display: grid;
  gap: 0.25rem;
}

.invite-link-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.invite-link-callout__feedback {
  min-height: 1rem;
}

.invite-type-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.invite-type-toggle__option {
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.invite-type-toggle__option.is-active {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(16, 185, 129, 0.14));
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.14);
}

.invite-type-toggle__option:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

.invite-type-toggle__option:active {
  transform: translateY(0);
}

.invite-funnel {
  border-top: 1px solid rgba(51, 65, 85, 0.75);
  padding-top: 1rem;
}

.invite-funnel__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.invite-funnel__stat {
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 0.9rem;
  background: rgba(2, 6, 23, 0.48);
  padding: 0.7rem 0.75rem;
  display: grid;
  gap: 0.18rem;
}

.invite-funnel__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.invite-funnel__stat strong {
  font-size: 1.15rem;
  color: rgba(248, 250, 252, 0.98);
  line-height: 1.1;
}

.invite-funnel__stat small {
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.95);
}

.invite-funnel__table-wrap {
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 0.9rem;
  overflow: auto;
}

.invite-funnel__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.invite-funnel__table th,
.invite-funnel__table td {
  padding: 0.56rem 0.62rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.65);
  text-align: left;
  vertical-align: middle;
}

.invite-funnel__table th {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
  background: rgba(2, 6, 23, 0.5);
}

.invite-funnel__table tbody tr:last-child td {
  border-bottom: 0;
}

html[data-theme='light'] .invite-link-callout {
  background: rgba(236, 253, 245, 0.96) !important;
  border-color: rgba(16, 185, 129, 0.26) !important;
  color: #065f46 !important;
}

html[data-theme='light'] .invite-link-callout__url {
  color: #047857 !important;
}

html[data-theme='light'] .invite-type-toggle__option {
  border-color: rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
}

html[data-theme='light'] .invite-type-toggle__option.is-active {
  border-color: rgba(14, 165, 233, 0.28);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98), rgba(236, 253, 245, 0.96));
  color: #075985;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] .invite-funnel {
  border-top-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .invite-funnel__stat,
html[data-theme='light'] .invite-funnel__table-wrap {
  border-color: rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.96);
}

html[data-theme='light'] .invite-funnel__label,
html[data-theme='light'] .invite-funnel__stat small,
html[data-theme='light'] .invite-funnel__table th {
  color: #64748b;
}

html[data-theme='light'] .invite-funnel__stat strong {
  color: #0f172a;
}

html[data-theme='light'] .invite-funnel__table th {
  background: rgba(241, 245, 249, 0.98);
}

html[data-theme='light'] .invite-funnel__table td {
  border-bottom-color: rgba(226, 232, 240, 0.95);
  color: #0f172a;
}

@media (max-width: 640px) {
  .invite-link-callout__actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .invite-funnel__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invite-funnel__table {
    min-width: 540px;
  }

  .page-header__left {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
  }

  .page-header__left .app-logo--md {
    width: 40px;
    height: 40px;
  }

  .page-header__left h1 {
    font-size: 1.15rem;
  }

  .page-header__left > .flex {
    flex-basis: 100%;
  }

  .page-header__right {
    flex-wrap: wrap;
  }

  .page-header__right .page-header__user {
    min-width: 0;
    order: 2;
  }

  .page-header__right .page-header__user p {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-header__right .mobile-menu-toggle {
    order: 1;
  }

  .page-header__right > div:last-child {
    order: 3;
  }
}

@media (max-width: 900px) {
  .admin-jogos-header,
  .admin-jogos-actions {
    width: 100%;
  }

  .admin-jogos-header form {
    width: 100%;
  }

  .admin-jogos-header select,
  .admin-jogos-header .btn-secondary,
  .admin-jogos-header .btn-primary {
    width: 100%;
  }

  .admin-jogos-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   ADMIN ACCORDION (Mobile Collapse)
   ========================================================================== */
.admin-accordion {
  overflow: hidden;
}

.admin-accordion__trigger {
  display: none;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.admin-accordion__trigger::after {
  content: '▼';
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.2s ease;
}

.admin-accordion__trigger[aria-expanded="false"]::after {
  transform: rotate(-90deg);
}

.admin-accordion__content {
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

@media (max-width: 768px) {
  .admin-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .admin-accordion__content[data-collapsed="true"] {
    max-height: 0 !important;
    opacity: 0;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .admin-accordion__content[data-collapsed="false"] {
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
}

.admin-stats-section {
  margin-bottom: 2rem;
}

.admin-stats-title {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.admin-stats-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin-stats-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 1rem;
  min-height: 92px;
}

.admin-stats-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.7);
  margin-bottom: 0.5rem;
}

.admin-stats-card__value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f8fafc;
}

.admin-stats-card__suffix {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.8);
}

.admin-stats-card__sub {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.85);
}

.admin-stats-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.admin-stats-chart-card {
  background: rgba(15, 23, 42, 0.65);
}

.admin-stats-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.admin-stats-pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(148, 163, 184, 0.8);
}

.admin-stats-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-stats-bar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.8);
}

.admin-stats-bar__label {
  text-align: left;
  font-weight: 600;
}

.admin-stats-bar__track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.admin-stats-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.9), rgba(45, 212, 191, 0.9));
}

.admin-stats-bar__fill--alt {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.9), rgba(99, 102, 241, 0.9));
}

.admin-stats-bar__value {
  text-align: right;
  font-weight: 600;
}

.admin-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-stats-table th {
  text-align: left;
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding-bottom: 0.5rem;
}

.admin-stats-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: rgba(226, 232, 240, 0.9);
}

.admin-stats-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-stats-errors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.admin-stats-errors__meta {
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.7);
  margin-bottom: 0.2rem;
}

.admin-stats-errors__text {
  color: rgba(226, 232, 240, 0.9);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.admin-stats-note {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.85);
}

.admin-stats-note__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.9);
}

@media (max-width: 640px) {
  .admin-stats-grid,
  .admin-stats-split {
    grid-template-columns: 1fr;
  }

  .admin-stats-bar {
    grid-template-columns: 40px 1fr 36px;
  }
}

/* ==========================================================================
   ADMIN MODAL MOBILE FIX
   ========================================================================== */
#modal-backdrop {
  padding: 1rem;
  overflow-y: auto;
}

#modal-backdrop > div {
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  margin: auto;
}

@media (max-width: 768px) {
  #modal-backdrop {
    padding: 0.5rem;
    align-items: flex-start;
  }

  #modal-backdrop > div {
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
    width: 100%;
    max-width: 100%;
    border-radius: 1rem;
    padding: 1rem;
  }

  #modal-backdrop .grid.md\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  #modal-backdrop .flex.items-center.justify-between.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }

  #modal-backdrop .flex.items-center.gap-2.flex-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  #modal-backdrop button[type="submit"],
  #modal-backdrop .btn-primary,
  #modal-backdrop .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  #modal-backdrop #prev-jogo,
  #modal-backdrop #next-jogo {
    flex: 1;
    min-width: 0;
  }

  #modal-backdrop .score-input-grid {
    max-width: 200px;
  }
}

@media (max-width: 900px) {
  .resultados-header__inner {
    align-items: flex-start;
  }

  .resultados-filter-form {
    width: 100%;
    flex-wrap: wrap;
  }

  .resultados-filter-form select {
    width: 100%;
  }

  .resultados-layout {
    grid-template-columns: 1fr;
  }

  .resultados-sidebar {
    position: static;
    max-height: none;
  }

  .resultados-sidebar .rodada-nav-btn {
    padding: 0.5rem 0.75rem;
  }

  .resultados-main .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .perfil-avatar-row {
    align-items: flex-start;
  }

  .avatar-frame {
    width: 88px;
    height: 88px;
    font-size: 2rem;
  }

  .perfil-summary-grid {
    text-align: left;
  }

  .perfil-participacao-card .text-right {
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .admin-page-header,
  .boloes-header,
  .resultados-header__inner,
  .resultados-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .admin-page-header > a,
  .admin-page-header .btn-secondary,
  .admin-page-header .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .resultados-filter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .perfil-top-grid,
  .perfil-summary-grid {
    grid-template-columns: 1fr;
  }

  .perfil-participacao-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .bolao-select-form {
    flex-direction: column;
    align-items: stretch;
  }

  .bolao-select-form select,
  .bolao-select-form .input-control {
    width: 100%;
  }
}

.mobile-menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.mobile-menu-toggle span {
  width: 1.2rem;
  height: 2px;
  background: rgba(226, 232, 240, 0.9);
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
}

.mobile-menu.hidden {
  display: none;
}

/* How Steps Cards Layout */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.how-step-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(2, 6, 23, 0.5);
  border-color: var(--border-strong);
}

.how-step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 1rem;
}

.how-step-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f8fafc;
}

.how-step-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .how-step-card {
    padding: 1.25rem;
  }
}

.resultados-palpite-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.resultados-palpite {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.6);
}

.resultados-palpite.resultados-palpite--cravado {
  color: #facc15 !important;
  background: rgba(120, 53, 15, 0.22) !important;
  border-color: rgba(250, 204, 21, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.12);
}

.resultados-palpite.resultados-palpite--acerto {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
}

.resultados-palpite.resultados-palpite--oculto {
  color: #64748b !important;
  background: rgba(100, 116, 139, 0.12) !important;
  border-color: rgba(100, 116, 139, 0.25) !important;
  font-style: normal;
  letter-spacing: 0.15em;
  cursor: help;
}

.resultados-palpite__booster {
  display: inline-flex;
  width: 0.9rem;
  height: 0.9rem;
  align-items: center;
  justify-content: center;
  color: #a855f7;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4));
}

.resultados-palpite__booster svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* Contraste refinado para a página de resultados */
.resultados-header .text-slate-400,
.resultados-sidebar .text-slate-400,
.resultados-main .text-slate-400 {
  color: rgba(226, 232, 240, 0.84) !important;
}

.resultados-header .text-slate-500,
.resultados-sidebar .text-slate-500,
.resultados-main .text-slate-500 {
  color: rgba(203, 213, 225, 0.78) !important;
}

.resultados-main .text-slate-300 {
  color: rgba(226, 232, 240, 0.9) !important;
}

.resultados-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 63, 94, 0.38);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.resultados-live-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  animation: live-dot-pulse 1.8s ease infinite;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(6px);
}

.mobile-menu__panel {
  position: relative;
  margin-left: auto;
  width: min(320px, 80vw);
  height: 100%;
  background: rgba(8, 12, 24, 0.98);
  border-left: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding-bottom: 0.8rem;
}

.mobile-menu__close {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  font-size: 1.2rem;
}

.mobile-menu__nav {
  display: grid;
  gap: 0.6rem;
}

.mobile-menu__nav a {
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.06);
  color: #e2e8f0;
  font-weight: 600;
}

.mobile-menu__nav a.is-active {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(14, 116, 144, 0.25);
}

.mobile-menu__nav a.is-danger {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #38bdf8, #10b981);
  color: #011627;
  font-weight: 600;
  box-shadow: 0 20px 50px -28px rgba(56, 189, 248, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 25px 60px -28px rgba(16, 185, 129, 0.95);
}

.toast-container {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1000;
}

.toast {
  min-width: 260px;
  max-width: 340px;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toastIn 0.2s ease-out;
}

.toast.hidden {
  display: none;
}

.toast-success {
  border-color: rgba(16, 185, 129, 0.5);
}

.toast-error {
  border-color: rgba(248, 113, 113, 0.5);
}

.toast-content {
  flex: 1;
  font-size: 0.95rem;
}

.toast-close {
  background: transparent;
  border: none;
  color: rgba(226, 232, 240, 0.7);
  font-size: 1rem;
  cursor: pointer;
}

.toast-close:hover {
  color: white;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-secondary {
  padding: 0.6rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.btn-secondary.is-active {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.6);
  color: #f8fafc;
}

.btn-danger {
  border-color: rgba(248, 113, 113, 0.5);
  color: rgba(254, 202, 202, 0.95);
}

.btn-danger:hover {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.8);
}

.input-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: white;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  position: relative;
}

.select-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(125, 211, 252, 0.9);
  transform: translateY(-50%);
  pointer-events: none;
}

.select-wrap .input-control {
  background: rgba(51, 65, 85, 0.45);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #f8fafc;
  padding-right: 2.5rem;
  min-width: 0;
}

.select-wrap .input-control:focus {
  border-color: rgba(94, 234, 212, 0.9);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

.select-wrap .input-control option {
  color: #0f172a;
  background: #f8fafc;
}

.welcome-modal {
  width: min(660px, calc(100vw - 56px));
  padding: 22px;
  background: rgba(11, 18, 32, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
}

.welcome-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.welcome-modal__logo {
  height: 28px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.9;
}

.welcome-modal__close {
  color: rgba(148, 163, 184, 0.8);
  font-size: 20px;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.welcome-modal__close:hover {
  color: #f8fafc;
  background: rgba(51, 65, 85, 0.35);
}

.welcome-modal__body {
  display: grid;
  gap: 16px;
}

.welcome-modal__title {
  display: grid;
  gap: 8px;
}

.welcome-modal__icon {
  color: rgba(45, 212, 191, 0.8);
  background: rgba(20, 184, 166, 0.12);
  border-radius: 999px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.7;
}

.welcome-modal__headline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
}

.welcome-modal__subtitle {
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.5;
  font-size: 0.95rem;
}

.welcome-steps {
  list-style: decimal;
  padding-left: 1.1rem;
  margin: 0;
  display: grid;
  gap: 8px;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.5;
}

.welcome-steps li {
  padding-left: 4px;
}

.welcome-modal__footer {
  margin-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.welcome-modal__link {
  color: rgba(125, 211, 252, 0.9);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.welcome-modal__link:hover {
  color: #f8fafc;
}

.welcome-onboarding-open {
  overflow: hidden;
}

.welcome-onboarding-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.welcome-onboarding-backdrop__scrim {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(4px);
}

.welcome-onboarding {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.welcome-onboarding__progress {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  padding-bottom: 0.75rem;
}

.welcome-onboarding__progress-copy {
  display: grid;
  gap: 0.2rem;
}

.welcome-onboarding__progress-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.82);
}

.welcome-onboarding__progress-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.9);
}

.welcome-onboarding__progress-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.welcome-onboarding__progress-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  transition: width 0.18s ease, background 0.18s ease;
}

.welcome-onboarding__progress-dot.is-active {
  width: 1.35rem;
  background: linear-gradient(90deg, #38bdf8, #10b981);
}

.welcome-onboarding__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.1rem;
  align-items: start;
}

.welcome-onboarding__visual,
.welcome-onboarding__content {
  min-width: 0;
}

.welcome-onboarding__visual {
  display: flex;
}

.welcome-onboarding__visual-frame {
  width: 100%;
  min-height: clamp(15.5rem, 28vw, 18.5rem);
  height: clamp(15.5rem, 28vw, 18.5rem);
  aspect-ratio: 4 / 3;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.welcome-onboarding__visual-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.welcome-onboarding__visual-art {
  width: 100%;
  min-height: 100%;
  padding: 1.35rem;
  display: grid;
  align-content: space-between;
  gap: 1rem;
}

.welcome-onboarding__visual-art--finish {
  align-content: center;
  justify-items: center;
  text-align: center;
  place-items: center;
}

.welcome-onboarding__visual-art--placeholder {
  min-height: 100%;
  align-content: stretch;
  gap: 0;
}

.welcome-onboarding__visual-placeholder {
  width: 100%;
  max-width: 320px;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.28);
  text-align: left;
}

.welcome-onboarding__visual-placeholder--full {
  max-width: none;
  min-height: 100%;
  padding: 1.2rem;
  align-content: space-between;
}

.welcome-onboarding__visual-placeholder strong {
  font-size: 0.88rem;
  color: #f8fafc;
}

.welcome-onboarding__visual-placeholder span {
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.82);
}

.welcome-onboarding__visual-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(15, 23, 42, 0.32);
  color: #e0f2fe;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.welcome-onboarding__visual-chip--live {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

.welcome-onboarding__visual-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 9rem;
}

.welcome-onboarding__visual-glow {
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.42), rgba(16, 185, 129, 0.08) 62%, transparent 70%);
  filter: blur(3px);
}

.welcome-onboarding__visual-ball {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.55);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.welcome-onboarding__visual-ball svg {
  width: 2rem;
  height: 2rem;
  display: block;
}

.welcome-onboarding__visual-stack {
  position: relative;
  min-height: 8.4rem;
}

.welcome-onboarding__visual-card {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #f8fafc;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 16px 28px -20px rgba(2, 6, 23, 0.8);
}

.welcome-onboarding__visual-card--front {
  top: 0;
  z-index: 2;
}

.welcome-onboarding__visual-card--back {
  top: 2rem;
  z-index: 1;
  transform: translateX(1rem);
  background: rgba(30, 41, 59, 0.52);
}

.welcome-onboarding__visual-scoreboard {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1;
}

.welcome-onboarding__visual-divider {
  font-size: 1.2rem;
  color: rgba(148, 163, 184, 0.7);
}

.welcome-onboarding__visual-copy p {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
}

.welcome-onboarding__content {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 0.15rem 0;
}

.welcome-onboarding__theme {
  margin-top: 0.15rem;
  max-width: 40rem;
}

.welcome-onboarding__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.welcome-onboarding__checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.9rem;
  line-height: 1.4;
}

.welcome-onboarding__checklist li::before {
  content: '';
  position: absolute;
  top: 0.42rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #10b981);
  box-shadow: 0 0 0 0.18rem rgba(56, 189, 248, 0.12);
}

.welcome-onboarding__closing {
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 0.85rem;
  padding: 0;
}

.welcome-onboarding__closing-logo {
  height: 34px;
  max-width: 200px;
  width: auto;
}

.welcome-onboarding__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 0.85rem;
}

.welcome-onboarding__actions .btn-primary,
.welcome-onboarding__actions .btn-secondary {
  min-width: 132px;
  justify-content: center;
}

.welcome-onboarding__actions .welcome-modal__link {
  margin-left: auto;
}

html[data-theme='light'] .welcome-onboarding-backdrop__scrim {
  background: rgba(226, 232, 240, 0.72);
}

html[data-theme='light'] .welcome-onboarding__progress {
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

html[data-theme='light'] .welcome-onboarding__progress-dot {
  background: rgba(148, 163, 184, 0.3);
}

html[data-theme='light'] .welcome-onboarding__progress-dot.is-active {
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
}

html[data-theme='light'] .welcome-onboarding.welcome-modal {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, 0.22);
}

html[data-theme='light'] .welcome-onboarding__visual-frame {
  border-color: rgba(148, 163, 184, 0.18);
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
}

html[data-theme='light'] .welcome-onboarding__visual-chip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(14, 165, 233, 0.18);
  color: #0f172a;
}

html[data-theme='light'] .welcome-onboarding__visual-chip--live {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(248, 113, 113, 0.2);
  color: #991b1b;
}

html[data-theme='light'] .welcome-onboarding__visual-ball,
html[data-theme='light'] .welcome-onboarding__visual-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.18);
  color: #0f172a;
  box-shadow: 0 16px 28px -22px rgba(15, 23, 42, 0.18);
}

html[data-theme='light'] .welcome-onboarding__visual-card--back {
  background: rgba(248, 250, 252, 0.96);
}

html[data-theme='light'] .welcome-onboarding__visual-placeholder {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme='light'] .welcome-onboarding__visual-placeholder strong {
  color: #0f172a;
}

html[data-theme='light'] .welcome-onboarding__visual-placeholder span {
  color: #475569;
}

html[data-theme='light'] .welcome-onboarding__visual-scoreboard {
  color: #0f172a;
}

html[data-theme='light'] .welcome-onboarding__visual-divider {
  color: rgba(71, 85, 105, 0.7);
}

html[data-theme='light'] .welcome-onboarding__visual-copy p,
html[data-theme='light'] .welcome-onboarding__checklist li {
  color: #475569;
}

html[data-theme='light'] .welcome-onboarding .welcome-modal__headline {
  color: #0f172a;
}

html[data-theme='light'] .welcome-onboarding .welcome-modal__subtitle,
html[data-theme='light'] .welcome-onboarding .welcome-modal__close {
  color: #475569;
}

html[data-theme='light'] .welcome-onboarding__progress-kicker {
  color: rgba(71, 85, 105, 0.8);
}

html[data-theme='light'] .welcome-onboarding__progress-count {
  color: #0f172a;
}

html[data-theme='light'] .welcome-onboarding__actions {
  border-top-color: rgba(148, 163, 184, 0.22);
}

@media (max-width: 640px) {
  .welcome-modal {
    padding: 20px;
    width: calc(100vw - 32px);
  }

  .welcome-onboarding-backdrop {
    padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem
      max(1rem, env(safe-area-inset-bottom, 0px));
    align-items: flex-start;
  }

  .welcome-onboarding {
    width: min(100%, 560px);
    height: calc(
      100dvh - max(1rem, env(safe-area-inset-top, 0px)) -
        max(1rem, env(safe-area-inset-bottom, 0px))
    );
    max-height: calc(
      100dvh - max(1rem, env(safe-area-inset-top, 0px)) -
        max(1rem, env(safe-area-inset-bottom, 0px))
    );
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    column-gap: 0.75rem;
    row-gap: 0.85rem;
    overflow: hidden;
  }

  .welcome-modal__header {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .welcome-onboarding__progress {
    grid-column: 1;
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    padding-bottom: 0.7rem;
  }

  .welcome-modal__body {
    grid-column: 1 / -1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.15rem;
  }

  .welcome-onboarding__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .welcome-onboarding__visual-frame,
  .welcome-onboarding__visual-image,
  .welcome-onboarding__visual-art {
    aspect-ratio: auto;
    min-height: 12.5rem;
    height: auto;
  }

  .welcome-onboarding__content {
    gap: 0.85rem;
  }

  .welcome-onboarding__actions {
    display: contents;
  }

  .welcome-onboarding__actions .welcome-modal__link {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    width: auto;
    margin-left: 0;
    text-align: center;
  }

  .welcome-onboarding__actions .btn-secondary {
    grid-column: 1;
    grid-row: 4;
    width: auto;
    min-width: 124px;
    justify-self: start;
  }

  .welcome-onboarding__actions .btn-primary {
    grid-column: 2;
    grid-row: 4;
    width: auto;
    min-width: 148px;
    justify-self: end;
  }
}

.input-control option {
  color: #0f172a;
}

.input-control:focus {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.no-spinner[type=number] {
  -moz-appearance: textfield;
}

.card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(4, 7, 18, 0.9));
  box-shadow: var(--shadow-strong);
}

.booster-row {
  position: relative;
}

.booster-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.booster-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: rgba(168, 85, 247, 0.9);
  flex-shrink: 0;
}

.booster-icon svg {
  width: 100%;
  height: 100%;
}

.booster-row.highlight {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.22) 0%,
    rgba(76, 29, 149, 0.22) 55%,
    rgba(15, 23, 42, 0.4) 100%
  );
  border-left: 3px solid rgba(168, 85, 247, 0.7);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.25);
}

.booster-row--hit {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.18), rgba(126, 34, 206, 0.1), rgba(168, 85, 247, 0.18));
  border-left: 3px solid rgba(168, 85, 247, 0.7);
}

.booster-row.highlight td {
  background: transparent !important;
}

.booster-row td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.booster-row--hit td {
  background: rgba(46, 16, 71, 0.6);
}

.booster-row.highlight td:first-child {
  border-left: 3px solid rgba(168, 85, 247, 0.6);
}

.booster-row--hit td:first-child {
  border-left: 3px solid rgba(168, 85, 247, 0.7);
}

.booster-row.highlight td:last-child {
  border-right: 3px solid rgba(168, 85, 247, 0.6);
}

.booster-row--hit td:last-child {
  border-right: 3px solid rgba(168, 85, 247, 0.7);
}

.booster-row.highlight .rodada-col--game,
.booster-row.highlight .rodada-col--sticky-right {
  background: transparent !important;
}

.booster-row--hit .rodada-col--game,
.booster-row--hit .rodada-col--sticky-right {
  background: #1f1031;
}
.booster-row.highlight .rodada-col--sticky-right {
  z-index: 3;
}

/* Jogos adiados ou cancelados */
.jogo-inativo {
  opacity: 0.45;
  background: rgba(100, 116, 139, 0.08) !important;
}

.jogo-inativo td {
  background: rgba(100, 116, 139, 0.05) !important;
  color: #64748b;
}

.jogo-inativo td:first-child {
  border-left: 3px solid rgba(100, 116, 139, 0.4);
}

.jogo-inativo .input-control {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(51, 65, 85, 0.4);
}

.jogo-inativo .matchup-row {
  filter: grayscale(60%);
}

.jogo-inativo .matchup-team span,
.jogo-inativo .text-slate-400 {
  color: #475569;
}

@media (max-width: 767px) {
  .rodada-table tbody tr.booster-row.highlight {
    border-color: rgba(168, 85, 247, 0.7) !important;
    background: linear-gradient(
      135deg,
      rgba(168, 85, 247, 0.26) 0%,
      rgba(76, 29, 149, 0.26) 55%,
      rgba(15, 23, 42, 0.45) 100%
    ) !important;
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.28) !important;
  }

  .rodada-table tbody tr.booster-row.highlight td {
    background: transparent !important;
  }
}

.jogo-inativo .match-score-badge {
  opacity: 0.5;
}

/* Card de jogo adiado em resultados */
.jogo-card-inativo {
  opacity: 0.5;
  background: rgba(100, 116, 139, 0.08) !important;
  border-left: 3px solid rgba(100, 116, 139, 0.4);
}

.jogo-card-inativo .team-badge,
.jogo-card-inativo .match-score-badge {
  filter: grayscale(60%);
  opacity: 0.6;
}

.rodada-block {
  border-radius: 0.9rem;
  overflow: hidden;
}

.rodada-block table th,
.rodada-block table td {
  padding-left: 1rem;
  padding-right: 1rem;
}

.rodada-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

.sticky-header {
  position: sticky;
  top: 0;
}

.tab-panel {
}

.tab-panel:not(.hidden) {
}

.tab-panel [data-tab-list] {
  display: flex;
  flex-wrap: wrap;
}

.tab-panel [data-tab-list]::-webkit-scrollbar {
  height: 6px;
}

.tab-panel [data-tab-list]::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.rodada-nav-btn,
.rodada-nav-btn.active {
}

.rodada-nav-btn:hover {
}

.btn-secondary,
.btn-primary {
}

.btn-secondary:hover,
.btn-primary:hover {
}

.next-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #e2e8f0;
  box-shadow: 0 8px 25px -18px rgba(16, 185, 129, 0.8);
}

.tab-trigger {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: rgb(226, 232, 240);
  font-size: 0.85rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: width 0.2s ease;
}

.progress-fill.error {
  background: linear-gradient(90deg, #f87171, #fb7185);
}

.progress-fill-info {
  background: linear-gradient(90deg, #60a5fa, #a855f7);
}

.tab-trigger.active {
  border-color: rgba(16, 185, 129, 0.7);
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
}

.bolao-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.25rem;
  align-items: center;
}

.bolao-hero-main {
  min-width: 0;
}

.bolao-hero-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bolao-hero-side {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
  text-align: right;
  justify-self: end;
  align-self: start;
  max-width: 340px;
  width: 100%;
}

.bolao-hero-side__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.7rem;
  width: 100%;
}

.bolao-hero-side__metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bolao-hero-side__metric span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
}

.bolao-hero-side__metric strong {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.bolao-hero-side__hint {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.9);
}

.bolao-hero-cta {
  width: auto;
  min-width: 240px;
  justify-content: center;
  align-self: flex-end;
}

.tab-trigger {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}

.tab-trigger__label {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.1;
}

.tab-trigger__meta {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
}

.bolao-tab-list {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.bolao-tab-list .tab-trigger {
  flex: 0 0 168px;
  width: 168px;
  min-height: 0;
  justify-content: flex-start;
}

.bolao-regras-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.bolao-regras-summary__item {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.45);
  padding: 0.9rem 1rem;
}

.bolao-regras-summary__label {
  display: block;
  color: rgba(148, 163, 184, 0.84);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bolao-regras-summary__value {
  display: block;
  margin-top: 0.35rem;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .tab-panel [data-tab-list]:not(.bolao-tab-list) {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .tab-trigger {
    min-width: 0;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
  }

  .tab-trigger__meta {
    font-size: 0.62rem;
  }

  .bolao-tab-list .tab-trigger {
    flex: initial;
    width: 100%;
    min-height: 48px;
    padding: 0.32rem 0.7rem;
    justify-content: center;
    gap: 0.04rem;
    align-items: center;
  }

  .bolao-tab-list .tab-trigger .tab-trigger__label {
    line-height: 1.1;
  }

  .bolao-tab-list .tab-trigger .tab-trigger__meta {
    line-height: 1.05;
  }

  .bolao-hero-layout {
    grid-template-columns: 1fr;
  }

  .bolao-context-strip {
    grid-template-columns: 1fr;
  }

  .bolao-context-card,
  .bolao-context-action {
    padding: 0.75rem 0.85rem;
  }

  .bolao-regras-summary {
    grid-template-columns: 1fr;
  }

  .bolao-hero-side {
    align-items: flex-start;
    text-align: left;
    justify-self: stretch;
    max-width: none;
  }

  .bolao-hero-cta {
    width: 100%;
    min-width: 0;
    align-self: stretch;
  }

  .bolao-hero-side__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bolao-hero-side__metric strong {
    font-size: 0.95rem;
  }

  .bolao-hero-side__hint {
    font-size: 0.8rem;
  }

  .ranking-utility-actions {
    margin-left: 0;
    width: 100%;
  }

  .ranking-mini-toggle {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.team-badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #a5f3fc;
  font-size: 0.8rem;
}

.team-badge--image {
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.team-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rodada-table .team-badge {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}

.rodada-table .matchup-row {
  column-gap: 0.35rem;
}

.rodada-table tbody tr {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.rodada-table tbody tr:last-child {
  border-bottom: none;
}

.result-row.past {
  opacity: 0.6;
}

.result-row td {
  vertical-align: middle;
}

.result-row span.text-slate-500 {
  font-weight: 600;
}

.avatar-frame {
  width: 110px;
  height: 110px;
  border-radius: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(226, 232, 240, 0.8);
  overflow: hidden;
  position: relative;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% calc(var(--focus, 50) * 1%);
  display: block;
}

.avatar-frame span {
  line-height: 1;
}

.avatar-frame.has-image {
  border-style: solid;
  border-color: rgba(16, 185, 129, 0.5);
}

.avatar-frame--lg {
  width: 100px;
  height: 100px;
  border-radius: 1.25rem;
  font-size: 3rem;
  border: 2px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
}

@media (min-width: 640px) {
  .avatar-frame--lg {
    width: 120px;
    height: 120px;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  text-transform: capitalize;
}

.status-pill.status-aprovado,
.status-pill.status-ok,
.status-pill.status-active {
  border-color: rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
}

.status-pill.status-pendente {
  border-color: rgba(251, 191, 36, 0.4);
  color: #fcd34d;
}

.status-pill.status-bloqueado {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

.status-pill.status-isento {
  border-color: rgba(129, 140, 248, 0.4);
  color: #c7d2fe;
}

.rodada-nav-btn {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.rodada-nav-btn:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 16px 40px -30px rgba(56, 189, 248, 0.6);
}

.rodada-nav-btn.active {
  border-color: rgba(16, 185, 129, 0.7);
  background: rgba(4, 13, 27, 0.95);
  box-shadow: 0 22px 60px -34px rgba(16, 185, 129, 0.7);
}

.rodada-header {
  margin: -1px -1px 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(16, 185, 129, 0.15));
  border-bottom: 1px solid rgba(15, 23, 42, 0.6);
  border-radius: 0;
  align-items: flex-start;
  gap: 1rem;
}

.rodada-header h4 {
  font-size: 1.15rem;
}

.rodada-block--featured {
  border-color: rgba(16, 185, 129, 0.28) !important;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
}

.rodada-header__main {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.rodada-header__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.rodada-header__state {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.36);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rodada-header__state--active,
.rodada-header__state--live {
  border-color: rgba(16, 185, 129, 0.34);
  color: rgba(167, 243, 208, 0.98);
}

.rodada-header__state--live {
  background: rgba(16, 185, 129, 0.12);
}

.rodada-header__state--upcoming {
  border-color: rgba(56, 189, 248, 0.34);
  color: rgba(186, 230, 253, 0.98);
}

.rodada-header__state--complete {
  border-color: rgba(245, 158, 11, 0.34);
  color: rgba(254, 240, 138, 0.98);
}

.rodada-header__state--idle,
.rodada-header__state--closed {
  color: rgba(226, 232, 240, 0.88);
}

.rodada-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.rodada-header__meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.26);
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.9);
}

.rodada-header__meta-pill--phase {
  border-color: rgba(16, 185, 129, 0.22);
  color: rgba(167, 243, 208, 0.95);
}

.rodada-header__meta {
  display: none;
}

.rodada-header__meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
}

.rodada-header__phase {
  color: rgba(167, 243, 208, 0.95);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rodada-header__summary {
  min-width: 104px;
  margin-left: auto;
  text-align: right;
}

.rodada-header__summary-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
}

.rodada-header__summary-value {
  display: block;
  margin-top: 0.18rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.rodada-block.status-empty .rodada-header {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(15, 23, 42, 0.8));
  border-color: rgba(148, 163, 184, 0.3);
}

.rodada-block.status-partial .rodada-header {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(120, 53, 15, 0.4));
  border-color: rgba(245, 158, 11, 0.4);
}

.rodada-block.status-complete .rodada-header {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(5, 46, 22, 0.8));
  border-color: rgba(16, 185, 129, 0.5);
}

@media (min-width: 768px) {
  .rodada-table tbody tr {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .rodada-table tbody tr:not(.palpite-row--cravado):not(.palpite-row--acerto):not(.booster-row):hover td {
    background: rgba(15, 23, 42, 0.22);
  }

  .rodada-table tbody tr:not(.palpite-row--cravado):not(.palpite-row--acerto):not(.booster-row):hover .rodada-col--sticky-right {
    background: #111827;
  }

  .rodada-table tbody tr:not(.palpite-row--cravado):not(.palpite-row--acerto):not(.booster-row):hover {
    transform: translateY(-1px);
  }

  html[data-theme='light'] .rodada-table tbody tr:not(.palpite-row--cravado):not(.palpite-row--acerto):not(.booster-row):hover td {
    background: rgba(241, 245, 249, 0.9);
  }

  html[data-theme='light'] .rodada-table tbody tr:not(.palpite-row--cravado):not(.palpite-row--acerto):not(.booster-row):hover .rodada-col--sticky-right {
    background: rgba(248, 250, 252, 0.98);
  }
}

.rodada-nav-btn[data-progress=\"complete\"] {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.1);
}

.rodada-nav-btn[data-progress=\"partial\"] {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.12);
}

.rodada-nav-btn[data-progress=\"empty\"] {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.7);
}

.resultados-rodada-label {
  font-weight: 700;
  color: rgba(226, 232, 240, 0.94);
}

.resultados-rodada-meta {
  font-weight: 500;
  color: rgba(148, 163, 184, 0.9);
}

.summary-card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.7);
}

.summary-card p {
  color: rgba(148, 163, 184, 0.8);
  margin-bottom: 0.35rem;
}

.summary-card strong {
  display: block;
  font-size: 1.3rem;
  color: #e2e8f0;
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
}
.filter-grid .filter-card {
  min-width: 220px;
}

.filter-bar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.filter-chip-group {
  display: inline-flex;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
  gap: 0.3rem;
}

.filter-chip {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  min-width: 120px;
  cursor: pointer;
}

.filter-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.filter-chip span {
  display: block;
  padding: 0.6rem 1.35rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.75);
  transition: all 0.15s ease;
}

.filter-chip input:checked + span,
.filter-chip.active span {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(59, 130, 246, 0.25));
  color: #ecfccb;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.4);
}

.filter-select-wrapper {
  flex: 1;
  min-width: 260px;
  max-width: 420px;
  position: relative;
}

.filter-select-wrapper::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(226, 232, 240, 0.8);
  border-bottom: 2px solid rgba(226, 232, 240, 0.8);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.dashboard-banner {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  position: relative;
  box-shadow: 0 45px 90px -40px rgba(2, 6, 23, 0.85);
  height: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.dashboard-banner img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

@media (max-width: 768px) {
  .dashboard-banner {
    height: auto;
    background: #0ea5e9;
    max-width: 100%;
  }

  .dashboard-banner img {
    height: auto;
    object-fit: contain;
    max-width: 100%;
  }
}

.dashboard-boloes-panel {
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.dashboard-summary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(140deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.9));
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.5);
}

.dashboard-summary::before {
  content: none;
}

.dashboard-summary__header {
  position: relative;
  z-index: 1;
}

.dashboard-summary__intro h2 {
  letter-spacing: -0.01em;
}

.dashboard-summary__rank p.text-4xl {
  text-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
}

.dashboard-summary__metrics {
  position: relative;
  z-index: 1;
}

.dashboard-quick-actions {
  align-items: stretch;
  gap: 0.8rem;
}

.btn-sm {
  padding: 0.48rem 0.9rem;
  font-size: 0.76rem;
}

.home-top-lite {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-top-lite__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.home-top-lite__identity {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.home-top-lite__avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.home-top-lite__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-top-lite__avatar--fallback {
  letter-spacing: 0.02em;
}

.home-top-lite__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.home-top-lite__title {
  margin-top: 0.3rem;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ui-text-strong);
}

.home-mobile-search {
  display: none;
}

.home-mobile-live {
  display: none;
}

.home-top-lite__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-top-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.42);
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.72rem;
}

.home-top-chip strong {
  font-size: 0.78rem;
  color: #f8fafc;
}

.home-top-lite__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.42);
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home-top-link:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(2, 132, 199, 0.15);
  color: #f0f9ff;
}

.home-shell {
  border-color: var(--ui-border-soft);
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.92));
  box-shadow: var(--ui-shadow-card);
}

.home-shell--priorities {
  border-color: rgba(34, 211, 238, 0.34);
  background: linear-gradient(140deg, rgba(6, 78, 59, 0.24), rgba(7, 89, 133, 0.3), rgba(15, 23, 42, 0.92));
}

.home-shell--top {
  background: linear-gradient(145deg, rgba(7, 89, 133, 0.22), rgba(15, 23, 42, 0.94) 55%, rgba(2, 6, 23, 0.95));
}

.home-shell--live {
  border-color: rgba(34, 197, 94, 0.35);
}

.home-shell__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.home-shell__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
}

.home-shell__title {
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ui-text-strong);
}

.home-shell__subtitle {
  margin-top: 0.45rem;
  color: var(--ui-text-muted);
  max-width: 62ch;
}

.home-notify-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.95);
  background: rgba(15, 23, 42, 0.65);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-notify-btn:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(2, 132, 199, 0.25);
}

.home-notify-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.home-meta-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.home-meta-pill {
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.62rem 0.75rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.home-meta-pill__label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.86);
}

.home-meta-pill strong {
  font-size: 1rem;
  color: #e2e8f0;
}

.home-actions-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.home-block-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ui-text-strong);
}

.home-performance-bolao {
  color: #22d3ee;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.28);
}

.home-block-hint {
  font-size: 0.75rem;
  color: var(--ui-text-muted);
}

.home-block-link {
  font-size: 0.78rem;
  text-decoration: none;
  color: #7dd3fc;
}

.home-block-link:hover {
  color: #e0f2fe;
}

.home-priority-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-priority-slider {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.home-priority-slider__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.home-priority-slider__arrow {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(226, 232, 240, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1rem;
}

.home-priority-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-priority-slider__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  border: 0;
  background: rgba(148, 163, 184, 0.6);
}

.home-priority-slider__dot.is-active {
  width: 0.9rem;
  background: linear-gradient(90deg, #22d3ee, #2dd4bf);
}

.home-priority-card {
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: rgba(15, 23, 42, 0.62);
  padding: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.home-priority-card__label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ui-text-muted);
}

.home-priority-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ui-text-strong);
}

.home-priority-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
}

.home-priority-card__rodada,
.home-priority-card__lock {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 0.18rem 0.58rem;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.94);
}

.home-priority-card__rodada {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(8, 47, 73, 0.35);
}

.home-priority-card__lock {
  border-color: rgba(45, 212, 191, 0.42);
  color: rgba(167, 243, 208, 0.95);
}

.home-priority-card__ranking {
  padding: 0;
  background: transparent;
}

.home-priority-card__ranking-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ui-text-muted);
  margin-bottom: 0.28rem;
}

.home-priority-card__ranking-list {
  display: grid;
  gap: 0.28rem;
}

.home-priority-card__ranking-list li {
  position: relative;
  padding: 0.28rem 0;
  border-radius: 0;
  border: 0;
  min-height: 0;
  box-shadow: none;
}

.home-priority-card__ranking-list .ranking-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.56rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.home-priority-card__ranking-list .ranking-row--card,
.home-priority-card__ranking-list .ranking-row--gold,
.home-priority-card__ranking-list .ranking-row--silver,
.home-priority-card__ranking-list .ranking-row--bronze {
  border: 1px solid transparent;
  border-radius: 0.72rem;
  background: transparent;
  box-shadow: none;
  padding: 0.3rem 0.5rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-priority-card__ranking-list .ranking-row--gold:hover {
  border: 1px solid rgba(251, 191, 36, 0.38);
  background: linear-gradient(120deg, rgba(120, 53, 15, 0.22), rgba(30, 41, 59, 0.4));
}

.home-priority-card__ranking-list .ranking-row--silver:hover {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(120deg, rgba(71, 85, 105, 0.28), rgba(15, 23, 42, 0.5));
}

.home-priority-card__ranking-list .ranking-row--bronze:hover {
  border: 1px solid rgba(217, 119, 6, 0.4);
  background: linear-gradient(120deg, rgba(124, 45, 18, 0.22), rgba(15, 23, 42, 0.45));
}

.home-priority-card__ranking-pos {
  font-size: 0.74rem;
  font-weight: 700;
  color: #7dd3fc;
  min-width: 1.6rem;
  text-align: left;
}

.home-priority-card__ranking-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ui-text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-priority-card__ranking-points {
  font-size: 0.72rem;
  color: rgba(191, 219, 254, 0.95);
  white-space: nowrap;
}

.home-priority-card__ranking-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 47, 73, 0.55);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-priority-card__ranking-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-priority-card__ranking-empty {
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.78);
}

.home-priority-card__pending {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(74, 222, 128, 0.96);
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.42), rgba(5, 46, 22, 0.36));
}

.home-priority-card__pending--danger {
  color: #fee2e2;
  border-color: rgba(239, 68, 68, 0.6);
  background: linear-gradient(135deg, rgba(153, 27, 27, 0.6), rgba(127, 29, 29, 0.45));
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.2) inset;
}

.home-priority-card__pending--booster {
  color: #fecaca;
}

.home-priority-card__booster-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-priority-card__booster-icon svg {
  width: 100%;
  height: 100%;
}

.home-live-card {
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: var(--ui-radius-md);
  background: linear-gradient(145deg, rgba(5, 46, 22, 0.44), rgba(15, 23, 42, 0.8));
  padding: 1rem;
}

.home-live-card__meta {
  font-size: 0.75rem;
  color: rgba(134, 239, 172, 0.9);
}

.home-live-card__meta span {
  margin: 0 0.25rem;
}

.home-live-card__match {
  margin-top: 0.5rem;
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: #f8fafc;
}

.home-live-card__score {
  display: inline-flex;
  margin: 0 0.45rem;
  color: #22d3ee;
}

.home-live-card__actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-boloes-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-boloes-grid .bolao-carousel__item {
  min-width: 0;
  width: auto;
  max-width: none;
  flex: initial;
  height: auto;
  display: block;
}

.home-boloes-grid__item .bolao-carousel__card {
  height: 100%;
}

.home-bolao-card {
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: rgba(15, 23, 42, 0.62);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-bolao-card.is-closed {
  opacity: 0.88;
}

.home-bolao-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
}

.home-bolao-card__head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.home-bolao-status {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-bolao-status.is-closed {
  border-color: rgba(148, 163, 184, 0.42);
  color: rgba(148, 163, 184, 0.95);
}

.home-bolao-card__meta {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.9);
}

.home-bolao-card__hint {
  font-size: 0.75rem;
  color: rgba(191, 219, 254, 0.85);
}

.home-performance-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-performance-card {
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: rgba(15, 23, 42, 0.62);
  padding: 0.85rem;
}

.home-performance-card__label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.86);
}

.home-performance-card__value {
  margin-top: 0.35rem;
  font-size: 1.55rem;
  font-weight: 700;
  color: #f8fafc;
}

.home-performance-card__meta {
  margin-top: 0.25rem;
  font-size: 0.76rem;
  color: rgba(148, 163, 184, 0.9);
}

.home-empty-state {
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: var(--ui-radius-md);
  padding: 0.95rem;
  color: rgba(148, 163, 184, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dashboard-page-head p {
  letter-spacing: 0.24em;
  color: rgba(148, 163, 184, 0.78);
}

.dashboard-page-head h1 {
  letter-spacing: -0.02em;
  line-height: 1.14;
  max-width: 22ch;
}

.dashboard-filter-line {
  padding: 0.1rem 0 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.dashboard-filter-line__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dashboard-filter-line__controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.dashboard-filter-line__select-wrap {
  flex: 1;
  min-width: 0;
}

.dashboard-filter-line__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.84);
  white-space: nowrap;
}

.dashboard-filter-line .input-control {
  background: rgba(15, 23, 42, 0.52);
  border-color: rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  min-height: 42px;
}

@media (min-width: 768px) {
  .dashboard-filter-line__form {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .dashboard-filter-line__controls {
    flex: 1;
    width: auto;
  }
}

.dashboard-card-header {
  position: relative;
  padding-bottom: 0.55rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.dashboard-card-title {
  letter-spacing: -0.01em;
}

.dashboard-insights-grid {
  align-items: stretch;
}

.dashboard-quick-action {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-lg);
  padding: 1rem 1rem 0.9rem;
  background: var(--ui-surface-1);
  min-height: 148px;
  box-shadow: 0 20px 45px -30px rgba(2, 6, 23, 0.9);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.dashboard-quick-action::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.dashboard-quick-action:hover {
  border-color: var(--ui-border-strong);
  background: rgba(15, 23, 42, 0.92);
  transform: translateY(-3px);
  box-shadow: 0 24px 55px -28px rgba(8, 47, 73, 0.85);
}

.dashboard-quick-action:focus-visible {
  outline: 2px solid var(--ui-focus-ring);
  outline-offset: 2px;
}

.dashboard-quick-action--primary {
  border-color: rgba(34, 211, 238, 0.55);
  background: linear-gradient(140deg, rgba(6, 78, 59, 0.45), rgba(7, 89, 133, 0.5), rgba(15, 23, 42, 0.93));
}

.dashboard-quick-action--secondary {
  border-color: rgba(96, 165, 250, 0.5);
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.42), rgba(67, 56, 202, 0.36), rgba(15, 23, 42, 0.92));
}

.dashboard-quick-action--neutral {
  border-color: rgba(148, 163, 184, 0.42);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(51, 65, 85, 0.5), rgba(15, 23, 42, 0.92));
}

.dashboard-quick-action__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dashboard-quick-action__kicker {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(226, 232, 240, 0.82);
}

.dashboard-quick-action__pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.45);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.5);
}

.dashboard-quick-action__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ui-text-strong);
  line-height: 1.25;
}

.dashboard-quick-action__meta {
  font-size: 0.78rem;
  color: var(--ui-text-muted);
  line-height: 1.45;
  max-width: 32ch;
}

.dashboard-quick-action__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 249, 255, 0.95);
}

.dashboard-quick-action__cta::after {
  content: ">";
  font-size: 0.8rem;
  opacity: 0.8;
}

.dashboard-quick-action__alert {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 9rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(248, 113, 113, 0.55);
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.78);
  color: #fee2e2;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  letter-spacing: 0.02em;
}

.dashboard-quick-action--has-alert .dashboard-quick-action__cta {
  padding-right: 9.3rem;
}

.dashboard-quick-action__alert.is-urgent {
  border-color: rgba(252, 165, 165, 0.72);
  background: rgba(153, 27, 27, 0.88);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

.dashboard-context-card {
  border-color: var(--ui-border-soft);
}

.dashboard-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.dashboard-context-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.8);
}

.dashboard-context-value {
  margin-top: 0.2rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #e2e8f0;
}

.dashboard-round-pill {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.12);
  font-size: 0.75rem;
  color: #d1fae5;
}

.dashboard-round-pill strong {
  color: #ecfdf5;
}

.dashboard-lock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface-2);
}

.dashboard-lock-row.is-urgent {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(120, 53, 15, 0.18);
}

.dashboard-lock-countdown {
  letter-spacing: 0.01em;
  font-weight: 600;
}

.dashboard-lock-empty {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.85rem 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: var(--ui-radius-md);
  background: rgba(15, 23, 42, 0.45);
}

.dashboard-lock-empty__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7dd3fc;
  text-decoration: none;
}

.dashboard-lock-empty__cta:hover {
  color: #e0f2fe;
}

.dashboard-checklist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface-2);
}

.dashboard-checklist-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #bae6fd;
}

.dashboard-feed-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface-2);
}

.dashboard-feed-row > span {
  margin-top: 0.1rem;
  white-space: nowrap;
}

.dashboard-summary__stat {
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.9));
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.08), 0 16px 28px rgba(2, 6, 23, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 992px) {
  .dashboard-summary__stat:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.18), 0 22px 35px rgba(2, 6, 23, 0.45);
  }
}

.dashboard-card {
  border: 1px solid var(--ui-border-soft);
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.92));
  box-shadow: var(--ui-shadow-card);
}

@media (min-width: 992px) {
  .dashboard-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .dashboard-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 22px 45px rgba(2, 6, 23, 0.55);
  }

}

.ranking-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.6);
}

.ranking-row--card {
  box-shadow: 0 16px 35px rgba(2, 6, 23, 0.35);
}

.ranking-row--gold {
  border-color: rgba(251, 191, 36, 0.4);
  background: linear-gradient(120deg, rgba(120, 53, 15, 0.25), rgba(30, 41, 59, 0.4));
}

.ranking-row--silver {
  border-color: rgba(148, 163, 184, 0.5);
  background: linear-gradient(120deg, rgba(71, 85, 105, 0.35), rgba(15, 23, 42, 0.55));
}

.ranking-row--bronze {
  border-color: rgba(217, 119, 6, 0.45);
  background: linear-gradient(120deg, rgba(124, 45, 18, 0.25), rgba(15, 23, 42, 0.5));
}

.ranking-row--self {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
}

.ranking-rank {
  height: 2rem;
  width: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #bae6fd;
  font-weight: 700;
  font-size: 0.85rem;
}

.ranking-rank--self {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
  color: #ecfdf3;
}

.ranking-points {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
}

.ranking-points--self {
  color: #ecfdf3;
}

.history-row {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.6);
}

.history-row,
.ranking-row,
.team-accuracy-row {
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

@media (min-width: 992px) {
  .history-row:hover,
  .ranking-row:hover,
  .team-accuracy-row:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.75);
    transform: translateY(-1px);
  }
}

.dashboard-stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stats-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.06);
}

.stats-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ui-text-muted);
}

.stats-card__value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ui-text-strong);
  margin-top: 0.35rem;
}

.stats-card__meta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--ui-text-muted);
}

.stats-chart {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.1rem;
  padding: 1rem;
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), rgba(2, 6, 23, 0.8));
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.05);
}

.stats-chart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.stats-chart__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.stats-chart__legend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.75);
}

.stats-chart__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #34d399);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

.stats-chart__legend--avg .stats-chart__legend-dot {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.35);
}

.stats-chart__apex {
  position: relative;
  width: 100%;
  min-height: 220px;
}

.stats-chart__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
}

.stats-chart__apex.is-ready .stats-chart__fallback {
  display: none;
}

.team-accuracy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.6);
}

.team-accuracy-pct {
  font-weight: 700;
  color: #34d399;
}

@media (max-width: 768px) {
  .home-top-lite {
    gap: 1.45rem;
    margin: 1.25rem 0 2.9rem;
  }

  .home-top-lite__avatar {
    display: none;
  }

  .home-top-lite__main {
    justify-content: center;
    align-items: center;
    padding-inline: 0.35rem;
  }

  .home-top-lite__identity {
    justify-content: center;
  }

  .home-top-lite__title {
    margin-top: 0;
    text-align: center;
  }

  .home-mobile-search {
    width: calc(100% - 0.7rem);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    height: 50px;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.58);
    color: rgba(226, 232, 240, 0.95);
    padding: 0 1.25rem;
    text-align: left;
    margin-inline: 0.35rem;
    margin-top: 0.625rem;
  }

  .home-mobile-live {
    width: calc(100% - 0.7rem);
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    height: 44px;
    border-radius: 1.1rem;
    border: 1px solid rgba(244, 63, 94, 0.3);
    background: linear-gradient(125deg, rgba(127, 29, 29, 0.2), rgba(15, 23, 42, 0.62));
    color: #f1f5f9;
    padding: 0 1rem;
    margin-inline: 0.35rem;
    margin-top: 0.35rem;
    text-decoration: none;
  }

  .home-mobile-live__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fecaca;
    flex: 0 0 auto;
  }

  .home-mobile-live__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
    animation: live-dot-pulse 1.8s ease infinite;
  }

  .home-mobile-live__match {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-mobile-live__score {
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
  }

  .home-mobile-search__icon {
    width: 18px;
    height: 18px;
    color: rgba(148, 163, 184, 0.95);
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
  }

  .home-mobile-search__icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .home-mobile-search__text {
    font-size: 0.92rem;
    color: rgba(148, 163, 184, 0.98);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-top-lite__chips {
    width: 100%;
  }

  .home-top-chip {
    flex: 1 1 auto;
    justify-content: center;
  }

  .home-top-lite__links {
    width: 100%;
  }

  .home-top-link {
    flex: 1 1 auto;
    text-align: center;
  }

  .home-shell__header {
    align-items: center;
  }

  .home-meta-row {
    grid-template-columns: 1fr;
  }

  .home-priority-grid,
  .home-boloes-grid,
  .home-performance-grid {
    grid-template-columns: 1fr;
  }

  .home-priority-slider[data-slider-enabled="1"] {
    overflow: hidden;
  }

  .home-priority-slider[data-slider-enabled="1"] .home-priority-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    transition: transform 0.35s ease;
    will-change: transform;
  }

  .home-priority-slider[data-slider-enabled="1"] .home-priority-card {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
  }

  .home-priority-slider[data-slider-enabled="1"] .home-priority-card.is-active {
    display: flex;
  }

  .home-priority-slider[data-slider-enabled="1"] .home-priority-slider__controls {
    display: flex;
  }

  .home-shell .dashboard-stats-cards {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
  }

  .home-shell .stats-card {
    padding: 0.62rem 0.78rem;
    border-radius: 0.8rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label value"
      "meta value";
    column-gap: 0.7rem;
    align-items: center;
  }

  .home-shell .stats-card__label {
    grid-area: label;
    margin: 0;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .home-shell .stats-card__value {
    grid-area: value;
    margin: 0;
    font-size: 1.38rem;
    text-align: right;
  }

  .home-shell .stats-card__meta {
    grid-area: meta;
    margin-top: 0.1rem;
    font-size: 0.74rem;
  }

  .home-actions-row .btn-secondary,
  .home-actions-row .btn-primary {
    flex: 1 1 auto;
    text-align: center;
  }

  .dashboard-page-head h1 {
    max-width: 100%;
    font-size: 1.78rem;
  }

  .dashboard-quick-action {
    min-height: 136px;
    padding: 0.92rem 0.95rem 0.85rem;
  }

  .dashboard-quick-action__alert {
    bottom: 0.6rem;
    right: 0.6rem;
    max-width: 7.8rem;
    font-size: 0.58rem;
    padding: 0.18rem 0.45rem;
  }

  .dashboard-quick-action--has-alert .dashboard-quick-action__cta {
    padding-right: 7.9rem;
  }

  .dashboard-context-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-lock-row,
  .dashboard-checklist-row,
  .dashboard-feed-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-lock-row {
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    padding: 0.68rem 0.72rem;
  }

  .dashboard-lock-row > div:last-child {
    margin-left: auto;
    min-width: 6.4rem;
    text-align: right;
  }

  .dashboard-lock-countdown {
    font-size: 0.72rem;
  }

  .dashboard-lock-empty {
    padding: 0.78rem 0.8rem;
  }

  .dashboard-card-header {
    margin-bottom: 0.7rem;
    padding-bottom: 0.45rem;
  }

  .stats-chart__apex {
    min-height: 200px;
  }

  .stats-chart__legend {
    font-size: 0.7rem;
  }
}

.dashboard-banner__content {
  position: absolute;
  inset: 0;
  padding: clamp(1.2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.75), rgba(2, 6, 23, 0.1));
}

.dashboard-banner__badge {
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e0f2fe;
  background: rgba(8, 47, 73, 0.6);
  font-size: 0.8rem;
}

.dashboard-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.calendar-item {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.85rem;
  padding: 0.85rem;
  background: rgba(15, 23, 42, 0.8);
}

.boloes-section {
  margin-top: 1.5rem;
}

.boloes-copa-banner {
  --copa-overlay-start: rgba(2, 6, 23, 0.72);
  --copa-overlay-end: rgba(2, 6, 23, 0.44);
  --copa-image-opacity: 0.72;
  --copa-border-color: rgba(34, 211, 238, 0.4);
  --copa-event-color: rgba(226, 232, 240, 0.92);
  --copa-countdown-color: #f8fafc;
  --copa-separator-color: rgba(224, 242, 254, 0.82);
  --copa-text-shadow: 0 8px 22px rgba(2, 6, 23, 0.45);
  position: relative;
  width: 100%;
  height: clamp(150px, 18vw, 200px);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--copa-border-color);
  background: #040713;
}

.boloes-copa-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, var(--copa-overlay-start), var(--copa-overlay-end)),
    url('../img/copa-2026.png');
  background-size: cover;
  background-position: center;
  opacity: var(--copa-image-opacity);
}

.boloes-copa-banner__content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.boloes-copa-banner__event {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copa-event-color);
}

.boloes-copa-banner__countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--copa-countdown-color);
  font-variant-numeric: tabular-nums;
  text-shadow: var(--copa-text-shadow);
}

.boloes-copa-banner__countdown [data-copa-unit] {
  min-width: 2ch;
  text-align: center;
}

.boloes-copa-banner__separator {
  color: var(--copa-separator-color);
}

/* V1: mais dramático e contrastado */
.boloes-copa-banner--v1 {
  --copa-overlay-start: rgba(2, 6, 23, 0.82);
  --copa-overlay-end: rgba(4, 7, 19, 0.56);
  --copa-image-opacity: 0.82;
  --copa-border-color: rgba(34, 211, 238, 0.48);
  --copa-event-color: rgba(226, 232, 240, 0.96);
  --copa-countdown-color: #f8fafc;
  --copa-separator-color: rgba(186, 230, 253, 0.88);
  --copa-text-shadow: 0 10px 28px rgba(2, 6, 23, 0.56);
}

/* V2: equilibrado (padrão) */
.boloes-copa-banner--v2 {
  --copa-overlay-start: rgba(2, 6, 23, 0.72);
  --copa-overlay-end: rgba(2, 6, 23, 0.44);
  --copa-image-opacity: 0.72;
  --copa-border-color: rgba(34, 211, 238, 0.4);
  --copa-event-color: rgba(226, 232, 240, 0.92);
  --copa-countdown-color: #f8fafc;
  --copa-separator-color: rgba(224, 242, 254, 0.82);
  --copa-text-shadow: 0 8px 22px rgba(2, 6, 23, 0.45);
}

/* V3: mais claro e “clean premium” */
.boloes-copa-banner--v3 {
  --copa-overlay-start: rgba(8, 47, 73, 0.56);
  --copa-overlay-end: rgba(15, 23, 42, 0.34);
  --copa-image-opacity: 0.66;
  --copa-border-color: rgba(56, 189, 248, 0.44);
  --copa-event-color: rgba(240, 249, 255, 0.95);
  --copa-countdown-color: #e0f2fe;
  --copa-separator-color: rgba(186, 230, 253, 0.86);
  --copa-text-shadow: 0 6px 18px rgba(2, 6, 23, 0.36);
}

.boloes-hub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.boloes-hub-search-wrap {
  margin-bottom: 1rem;
}

.boloes-hub-search {
  width: 100%;
}

.boloes-hub-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
}

.boloes-hub-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 0.45rem 0.92rem;
  font-size: 0.76rem;
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.boloes-hub-tab:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: #f0f9ff;
}

.boloes-hub-tab.is-active {
  border-color: rgba(34, 211, 238, 0.52);
  background: rgba(8, 47, 73, 0.5);
  color: #e0f2fe;
}

.boloes-hub-panel {
  display: none;
}

.boloes-hub-panel.is-active {
  display: block;
}

.boloes-hub-empty {
  border: 1px dashed rgba(148, 163, 184, 0.32);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(15, 23, 42, 0.6);
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.86rem;
}

.boloes-hub-empty--search {
  margin-top: 0.85rem;
}

.boloes-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.boloes-section__header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.boloes-section__header span {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
}

.boloes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.bolao-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.75);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bolao-card--closed {
  opacity: 0.85;
}

.bolao-card--preview {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
}

.bolao-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bolao-card__header-left {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.bolao-card__header-right {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.bolao-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #cbd5f5;
}

.bolao-badge--active {
  border-color: rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

.bolao-badge--instant {
  border-color: rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.bolao-badge--public {
  border-color: rgba(129, 140, 248, 0.4);
  color: #c7d2fe;
}

.bolao-badge--closed {
  border-color: rgba(148, 163, 184, 0.3);
  color: rgba(148, 163, 184, 0.8);
}

.bolao-card__hint {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
}

.bolao-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fca5a5;
}

.bolao-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
  animation: bolao-live-pulse 1.6s ease-in-out infinite;
}

@keyframes bolao-live-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.4);
    opacity: 0.35;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.9;
  }
}

.bolao-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f8fafc;
}

.bolao-card__meta {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
}

.bolao-card__summary {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.75);
}

.bolao-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

@media (max-width: 768px) {
  .boloes-copa-banner {
    height: clamp(150px, 32vw, 182px);
  }

  .boloes-copa-banner__content {
    padding: 0.8rem 0.9rem;
  }

  .boloes-copa-banner__countdown {
    font-size: clamp(1.45rem, 8.4vw, 2.25rem);
  }

  .boloes-hub-head {
    align-items: center;
  }

  .boloes-grid {
    grid-template-columns: 1fr;
  }
}

.bolao-final-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(56, 189, 248, 0.3);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(16, 185, 129, 0.22), transparent 48%),
    radial-gradient(120% 120% at 100% 0%, rgba(56, 189, 248, 0.18), transparent 50%),
    linear-gradient(150deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.95));
}

.bolao-final-hero__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.bolao-final-hero__badges {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.bolao-final-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #bae6fd;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bolao-final-badge--muted {
  border-color: rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.82);
}

.bolao-final-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.bolao-final-hero__main {
  min-width: 0;
}

.bolao-final-hero__title {
  font-size: clamp(1.9rem, 2.9vw, 2.8rem);
  font-weight: 700;
  color: #f8fafc;
}

.bolao-final-hero__meta {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.75);
}

.bolao-final-hero__actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bolao-final-hero__snapshot {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 40%),
    linear-gradient(150deg, rgba(15, 23, 42, 0.9), rgba(7, 32, 58, 0.82));
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.08);
}

.bolao-final-hero__snapshot-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.bolao-final-hero__winner {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(251, 191, 36, 0.32);
  background: linear-gradient(120deg, rgba(120, 53, 15, 0.28), rgba(15, 23, 42, 0.7));
}

.bolao-final-hero__winner-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.45);
}

.bolao-final-hero__winner-k {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.95);
}

.bolao-final-hero__winner-v {
  margin-top: 0.08rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.bolao-final-hero__winner-meta {
  margin-top: 0.08rem;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.82);
}

.bolao-final-hero__snapshot-grid {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.bolao-final-hero__snapshot-grid > div {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.bolao-final-hero__snapshot-grid > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.bolao-final-hero__snapshot-k {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.9);
}

.bolao-final-hero__snapshot-v {
  margin-top: 0.12rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}

.bolao-final-notice {
  border-color: rgba(251, 191, 36, 0.34);
  background: rgba(120, 53, 15, 0.18);
}

.bolao-final-notice__title {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbbf24;
}

.bolao-final-notice__text {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.9);
}

.bolao-final-highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.bolao-final-highlight__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.8);
}

.bolao-final-highlight__value {
  font-size: 1.4rem;
  font-weight: 600;
  color: #f8fafc;
  margin-top: 0.4rem;
}

.bolao-final-highlight__meta {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.7);
}

.bolao-final-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bolao-final-section__header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e2e8f0;
}

.bolao-final-section__header span {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
}

.bolao-final-ranking__self {
  margin-top: 1rem;
}

.bolao-final-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
}

.bolao-final-stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.8);
}

.bolao-final-stat__value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin-top: 0.4rem;
}

.bolao-final-stat__meta {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.7);
}

.bolao-final-timeline__list {
  display: grid;
  gap: 0.9rem;
}

.bolao-final-timeline__list--refined {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.bolao-final-timeline__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.bolao-final-timeline__item--card {
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.62);
  padding: 0.82rem 0.88rem;
}

.bolao-final-timeline__dot {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.85), rgba(20, 184, 166, 0.95));
  margin-top: 0;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  color: #082f49;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bolao-final-timeline__content {
  min-width: 0;
}

.bolao-final-timeline__title {
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.3;
}

.bolao-final-timeline__detail {
  margin-top: 0.18rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.74);
  line-height: 1.35;
}

.bolao-final-impact__grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.bolao-final-impact__card {
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.65);
}

.bolao-final-impact__title {
  font-weight: 600;
  color: #f8fafc;
}

.bolao-final-impact__detail {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.7);
}

.bolao-final-analytics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.bolao-final-analytics__card {
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.42);
  padding: 0.88rem 0.92rem;
}

.bolao-final-analytics__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.82);
}

.bolao-final-analytics__value {
  margin-top: 0.42rem;
  font-size: 1.14rem;
  font-weight: 700;
  color: #f8fafc;
}

.bolao-final-analytics__meta {
  margin-top: 0.3rem;
  font-size: 0.83rem;
  color: rgba(148, 163, 184, 0.84);
}

.bolao-final-tabs__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.56);
  margin-bottom: 1rem;
}

.bolao-final-tabs__btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  height: 2.1rem;
  min-width: 120px;
  padding: 0 0.92rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.bolao-final-tabs__btn.is-active {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(56, 189, 248, 0.34);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.34);
}

.bolao-final-tabs__panel {
  display: block;
}

.bolao-final-tabs__panel + .bolao-final-tabs__panel {
  margin-top: 0.4rem;
}

.bolao-final-ranking-table {
  width: 100%;
}

.bolao-final-ranking-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.bolao-final-ranking-cell__badges {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  flex-wrap: wrap;
}

.bolao-final-ranking-table__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.36);
  background: rgba(5, 150, 105, 0.22);
  color: #6ee7b7;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.bolao-final-ranking-table__tag--self {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(8, 47, 73, 0.66);
  color: #7dd3fc;
}

.bolao-final-ranking-table--self .table-scroll {
  margin-bottom: 0;
}

.bolao-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bolao-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

html[data-theme='light'] .bolao-final-hero {
  border-color: rgba(56, 189, 248, 0.24);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(16, 185, 129, 0.1), transparent 48%),
    radial-gradient(120% 120% at 100% 0%, rgba(56, 189, 248, 0.08), transparent 50%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.96));
}

html[data-theme='light'] .bolao-final-badge {
  color: #0369a1;
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(224, 242, 254, 0.88);
}

html[data-theme='light'] .bolao-final-badge--muted {
  color: #334155;
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(241, 245, 249, 0.88);
}

html[data-theme='light'] .bolao-final-hero__title,
html[data-theme='light'] .bolao-final-highlight__value,
html[data-theme='light'] .bolao-final-analytics__value,
html[data-theme='light'] .bolao-final-stat__value,
html[data-theme='light'] .bolao-final-timeline__title,
html[data-theme='light'] .bolao-final-impact__title {
  color: #0f172a;
}

html[data-theme='light'] .bolao-final-hero__meta,
html[data-theme='light'] .bolao-final-highlight__meta,
html[data-theme='light'] .bolao-final-analytics__meta,
html[data-theme='light'] .bolao-final-stat__meta,
html[data-theme='light'] .bolao-final-timeline__detail,
html[data-theme='light'] .bolao-final-impact__detail,
html[data-theme='light'] .bolao-final-section__header span {
  color: #475569;
}

html[data-theme='light'] .bolao-final-hero__snapshot {
  border-color: rgba(148, 163, 184, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.94));
}

html[data-theme='light'] .bolao-final-hero__winner {
  border-color: rgba(245, 158, 11, 0.32);
  background: linear-gradient(120deg, rgba(254, 243, 199, 0.95), rgba(241, 245, 249, 0.95));
}

html[data-theme='light'] .bolao-final-hero__winner-icon {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(255, 255, 255, 0.96);
}

html[data-theme='light'] .bolao-final-hero__winner-k {
  color: #92400e;
}

html[data-theme='light'] .bolao-final-hero__winner-v,
html[data-theme='light'] .bolao-final-hero__snapshot-v {
  color: #0f172a;
}

html[data-theme='light'] .bolao-final-hero__winner-meta,
html[data-theme='light'] .bolao-final-hero__snapshot-k {
  color: #64748b;
}

html[data-theme='light'] .bolao-final-notice {
  border-color: rgba(251, 191, 36, 0.46);
  background: rgba(254, 243, 199, 0.88);
}

html[data-theme='light'] .bolao-final-notice__title {
  color: #92400e;
}

html[data-theme='light'] .bolao-final-notice__text {
  color: #7c2d12;
}

html[data-theme='light'] .bolao-final-analytics__card,
html[data-theme='light'] .bolao-final-impact__card,
html[data-theme='light'] .bolao-final-stat,
html[data-theme='light'] .bolao-final-highlight,
html[data-theme='light'] .bolao-final-timeline__item--card {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .bolao-final-timeline__dot {
  color: #0c4a6e;
}

html[data-theme='light'] .bolao-final-tabs__nav {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .bolao-final-tabs__btn {
  color: #475569;
}

html[data-theme='light'] .bolao-final-tabs__btn.is-active {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(14, 165, 233, 0.3);
}

html[data-theme='light'] .bolao-final-analytics__label,
html[data-theme='light'] .bolao-final-highlight__label,
html[data-theme='light'] .bolao-final-stat__label,
html[data-theme='light'] .bolao-final-section__header h2 {
  color: #64748b;
}

html[data-theme='light'] .bolao-final-ranking-table__tag {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(209, 250, 229, 0.82);
}

html[data-theme='light'] .bolao-final-ranking-table__tag--self {
  color: #0c4a6e;
  border-color: rgba(14, 165, 233, 0.34);
  background: rgba(224, 242, 254, 0.9);
}

@media (max-width: 768px) {
  .bolao-final-hero__body {
    grid-template-columns: 1fr;
  }

  .bolao-final-hero__snapshot {
    padding: 0.85rem;
  }

  .bolao-final-highlights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bolao-final-analytics__grid {
    grid-template-columns: 1fr;
  }

  .bolao-final-tabs__nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bolao-final-tabs__btn {
    min-width: 0;
    width: 100%;
    font-size: 0.78rem;
    padding: 0 0.3rem;
  }

  .bolao-final-section__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .bolao-final-ranking-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
  }

  .bolao-final-timeline__list--refined {
    grid-template-columns: 1fr;
  }

  .bolao-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
.member-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

.member-avatar:hover,
.member-avatar:focus {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.6);
}

.member-avatar-sm {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 0.8rem;
}

.member-popover {
  position: absolute;
  min-width: 220px;
  max-width: 280px;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 25px 60px -40px rgba(0, 0, 0, 0.9);
  z-index: 60;
  backdrop-filter: blur(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.member-popover.hidden {
  opacity: 0;
  pointer-events: none;
}

.member-popover-header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.member-popover-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
  font-weight: 600;
  overflow: hidden;
}

.member-popover-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-popover-name {
  font-weight: 600;
  color: #f8fafc;
}

.member-popover-accuracy {
  font-size: 0.75rem;
  color: #a7f3d0;
}

.member-popover-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding: 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
}

.member-popover-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.7);
}

.member-popover-stat-value {
  font-weight: 600;
  color: #e2e8f0;
}

.member-popover-achievements {
  margin-bottom: 0.6rem;
}

.member-popover-section {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.7);
  margin-bottom: 0.35rem;
}

.member-popover-achievement-list {
  display: grid;
  gap: 0.45rem;
}

.member-popover-achievement {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.65rem;
  padding: 0.45rem 0.55rem;
  background: rgba(16, 185, 129, 0.08);
}

.member-popover-achievement-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  overflow: hidden;
}

.member-popover-achievement-icon img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.member-popover-achievement-count {
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  text-transform: uppercase;
}

.member-popover-achievement-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
}

.member-popover-achievement-desc {
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.8);
}

.member-popover-boloes {
  margin-top: 0.6rem;
}

.member-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-modal.hidden {
  display: none;
}

.member-modal.is-open {
}

.member-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(6px);
}

.member-modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 92vw);
  max-height: 80vh;
  overflow-y: auto;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(10, 15, 31, 0.95);
  box-shadow: 0 35px 90px -50px rgba(0, 0, 0, 0.9);
}

.member-modal.is-open .member-modal-card {
}

.member-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-modal-close:hover {
  border-color: rgba(56, 189, 248, 0.6);
}

.member-popover-cover {
  position: relative;
  min-height: 140px;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.member-popover-cover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 50%;
  filter: saturate(1.05);
}

.member-popover-cover-bg.is-empty {
  background-image: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.18), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.2), transparent 45%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
}

.member-popover-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.75));
}

.member-popover-cover-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.3rem 1.4rem 1.1rem;
}

.member-popover-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.member-popover-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

@media (max-width: 640px) {
  .member-modal-card {
    width: min(94vw, 420px);
    max-height: 86vh;
    padding: 0;
  }
  .member-popover-body {
    padding: 1.1rem 1.1rem 1.3rem;
  }
  .member-popover-cover-content {
    padding: 1.1rem 1.1rem 0.95rem;
  }
}

.member-popover-item {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.65rem;
  padding: 0.5rem 0.6rem;
  margin-bottom: 0.45rem;
  background: rgba(15, 118, 110, 0.08);
}

.member-popover-item:last-child {
  margin-bottom: 0;
}

.member-popover-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

.member-popover-item-meta {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.member-card-hitbox {
  cursor: pointer;
}

.member-card-hitbox:hover .member-avatar,
.member-card-hitbox:hover .member-avatar-sm {
  border-color: rgba(56, 189, 248, 0.6);
}

/* Modal - link ver perfil */
.member-modal-profile-link {
  margin-left: auto;
  font-size: 0.75rem;
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.15s ease;
}
.member-modal-profile-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* Ranking podium */
.ranking-table td {
  height: 54px;
}

.ranking-table--card {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.ranking-table--card tbody tr {
  background: transparent;
}

.ranking-table--card tbody tr td {
  background: rgba(15, 23, 42, 0.65);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  background-clip: padding-box;
  background-attachment: fixed;
}

.ranking-table--card tbody tr td:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  border-left: 1px solid rgba(148, 163, 184, 0.15);
}

.ranking-table--card tbody tr td:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  border-right: 1px solid rgba(148, 163, 184, 0.15);
}

.ranking-table--card .ranking-row--gold::before {
  background: none;
  border-color: transparent;
}

.ranking-table--card .ranking-row--silver::before {
  background: none;
  border-color: transparent;
}

.ranking-table--card .ranking-row--bronze::before {
  background: none;
  border-color: transparent;
}

.ranking-table--card .ranking-row--gold td {
  background-image: linear-gradient(90deg, rgba(245, 158, 11, 0.22), rgba(15, 23, 42, 0.7));
  border-color: rgba(245, 158, 11, 0.45);
}

.ranking-table--card .ranking-row--silver td {
  background-image: linear-gradient(90deg, rgba(148, 163, 184, 0.18), rgba(15, 23, 42, 0.7));
  border-color: rgba(148, 163, 184, 0.35);
}

.ranking-table--card .ranking-row--bronze td {
  background-image: linear-gradient(90deg, rgba(180, 83, 9, 0.2), rgba(15, 23, 42, 0.7));
  border-color: rgba(180, 83, 9, 0.45);
}

.ranking-table--card .ranking-row--self td {
  background-image: linear-gradient(90deg, rgba(5, 150, 105, 0.2), rgba(15, 23, 42, 0.7));
  border-color: rgba(16, 185, 129, 0.38);
}

.ranking-table .ranking-row--gold {
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.35), rgba(250, 204, 21, 0.12));
}

.ranking-table .ranking-row--silver {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.18), rgba(148, 163, 184, 0.08));
}

.ranking-table .ranking-row--bronze {
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.2), rgba(180, 83, 9, 0.08));
}


.ranking-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ranking-utility-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.ranking-mini-toggle {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.48);
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ranking-mini-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(15, 23, 42, 0.62);
}

.ranking-explain {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.42);
}

.ranking-explain__title {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.88);
}

.ranking-explain__list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.86rem;
  line-height: 1.55;
}

.ranking-share-btn svg {
  width: 20px;
  height: 20px;
  color: rgba(56, 189, 248, 0.95);
}

.compare-share-btn svg {
  width: 20px;
  height: 20px;
  color: rgba(56, 189, 248, 0.95);
}

.ranking-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
}

.ranking-tab {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ranking-tab.is-active {
  background: rgba(16, 185, 129, 0.18);
  color: #d1fae5;
  font-weight: 600;
}

.ranking-select {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.85);
}

.ranking-select select {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
  padding: 0.35rem 0.6rem;
  border-radius: 0.6rem;
  font-size: 0.75rem;
}

.ranking-share {
  position: relative;
}

.ranking-share-trigger {
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.15);
  color: #dbeafe;
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ranking-share-trigger:hover {
  background: rgba(59, 130, 246, 0.25);
}

.ranking-share-panel {
  position: absolute;
  top: 2.4rem;
  right: 0;
  min-width: 210px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.9rem;
  padding: 0.75rem;
  display: none;
  z-index: 25;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.35);
}

.ranking-share-panel.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ranking-share-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.75);
  margin-bottom: 0.35rem;
}

.ranking-share-option {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.6);
  color: #e2e8f0;
  padding: 0.45rem 0.6rem;
  border-radius: 0.7rem;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ranking-share-option:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.18);
}

/* ========================================
   PÁGINA DE PERFIL PÚBLICO
   ======================================== */
.profile-card-header {
  padding: 0;
  overflow: hidden;
}
.profile-cover {
  min-height: 280px;
  background: linear-gradient(135deg,
    rgba(16, 185, 129, 0.4) 0%,
    rgba(6, 78, 59, 0.6) 50%,
    rgba(15, 23, 42, 0.9) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}
/* Header: avatar sobreposto na capa */
.profile-header-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 1.5rem 1.5rem 1.5rem;
  position: relative;
}
.profile-public-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  border: 4px solid #0f172a;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  margin-top: -3.5rem;
}
.profile-public-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
  gap: 1rem;
}
.profile-public-info {
  flex: 1;
}
.profile-public-info h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.2;
}
.profile-public-info .profile-fullname {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.profile-meta-right {
  text-align: right;
  flex-shrink: 0;
}
.profile-header-actions {
  position: absolute;
  right: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}
.profile-header-action {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: rgba(226, 232, 240, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  padding: 0;
  cursor: pointer;
}
.profile-header-action svg {
  width: 18px;
  height: 18px;
}
.profile-compare-icon {
  border-color: rgba(148, 163, 184, 0.3);
}
.profile-compare-icon:hover {
  border-color: rgba(56, 189, 248, 0.65);
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
}
.profile-report-icon {
  border-color: rgba(244, 114, 182, 0.45);
  color: rgba(253, 164, 175, 0.98);
  background: rgba(76, 5, 25, 0.32);
}
.profile-report-icon:hover {
  border-color: rgba(251, 113, 133, 0.85);
  color: #fecdd3;
  background: rgba(127, 29, 29, 0.45);
}
.profile-member-since {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.35rem;
}
/* Mobile: centraliza */
@media (max-width: 640px) {
  .profile-cover {
    height: 150px;
  }
  .profile-header-content {
    align-items: center;
  }
  .profile-public-avatar {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 2.25rem;
    margin-top: -2.75rem;
  }
  .profile-info-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-public-info h1 {
    font-size: 1.5rem;
  }
  .profile-meta-right {
    text-align: center;
  }
  .profile-header-actions {
    right: 0.8rem;
    top: 0.8rem;
  }
  .profile-header-action {
    width: 34px;
    height: 34px;
  }
}

/* Sequências */
.profile-sequencias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0 0;
}
@media (min-width: 768px) {
  .profile-sequencias {
    justify-content: flex-start;
    margin-top: 1rem;
    gap: 0.75rem;
  }
}
.profile-sequencia-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  color: #fcd34d;
}
.profile-sequencia-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.profile-sequencia-icon svg {
  width: 100%;
  height: 100%;
}
.profile-sequencia-text {
  font-weight: 500;
}
.profile-sequencia-camp {
  opacity: 0.7;
  font-weight: 400;
  font-size: 0.9em;
}
.profile-sequencia-camp::before {
  content: "• ";
}
@media (min-width: 768px) {
  .profile-sequencia-item {
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }
  .profile-sequencia-icon {
    width: 1.1rem;
    height: 1.1rem;
  }
}
.profile-sequencia-item.booster {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
}
.profile-sequencia-item.acertos {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.profile-public-role {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.member-role-admin {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.member-role-moderator {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.member-role-user {
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Stats dashboard cards */
.profile-stats-dashboard {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .profile-stats-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}
.profile-dash-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.profile-dash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.profile-dash-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.profile-dash-icon svg {
  width: 24px;
  height: 24px;
}
.profile-dash-content {
  flex: 1;
  min-width: 0;
}
.profile-dash-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: #f8fafc;
}
.profile-dash-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* Variantes de cor */
.profile-dash-card.gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(217, 119, 6, 0.1));
  border-color: rgba(251, 191, 36, 0.25);
}
.profile-dash-card.gold .profile-dash-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1c1917;
}
.profile-dash-card.gold .profile-dash-value {
  color: #fcd34d;
}

.profile-dash-card.green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 95, 70, 0.1));
  border-color: rgba(16, 185, 129, 0.2);
}
.profile-dash-card.green .profile-dash-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ecfdf5;
}
.profile-dash-card.green .profile-dash-value {
  color: #34d399;
}

.profile-dash-card.purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(91, 33, 182, 0.1));
  border-color: rgba(139, 92, 246, 0.2);
}
.profile-dash-card.purple .profile-dash-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #f5f3ff;
}
.profile-dash-card.purple .profile-dash-value {
  color: #a78bfa;
}

.profile-dash-card.blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(29, 78, 216, 0.1));
  border-color: rgba(59, 130, 246, 0.2);
}
.profile-dash-card.blue .profile-dash-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #eff6ff;
}
.profile-dash-card.blue .profile-dash-value {
  color: #60a5fa;
}

.profile-dash-card.slate {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.2), rgba(30, 41, 59, 0.3));
  border-color: rgba(148, 163, 184, 0.15);
}
.profile-dash-card.slate .profile-dash-icon {
  background: linear-gradient(135deg, #475569, #334155);
  color: #e2e8f0;
}

/* Card de taxa de acerto com barra */
.profile-dash-card.rate .profile-dash-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.profile-dash-bar {
  height: 6px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 3px;
  overflow: hidden;
}
.profile-dash-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}
.profile-dash-card.rate.green .profile-dash-bar-fill {
  background: linear-gradient(90deg, #059669, #34d399);
}
.profile-dash-card.rate.amber .profile-dash-bar-fill {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}
.profile-dash-card.rate.red .profile-dash-bar-fill {
  background: linear-gradient(90deg, #dc2626, #f87171);
}
.profile-dash-card.rate.amber {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(217, 119, 6, 0.08));
  border-color: rgba(251, 191, 36, 0.2);
}
.profile-dash-card.rate.amber .profile-dash-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1c1917;
}
.profile-dash-card.rate.amber .profile-dash-value {
  color: #fcd34d;
}
.profile-dash-card.rate.red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(185, 28, 28, 0.08));
  border-color: rgba(239, 68, 68, 0.2);
}
.profile-dash-card.rate.red .profile-dash-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fef2f2;
}
.profile-dash-card.rate.red .profile-dash-value {
  color: #f87171;
}

/* Divider sutil */
.profile-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
  margin: 0 1.5rem;
}

/* Conquistas - mais compacto */
.profile-achievements-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 6px;
  font-size: 0.8rem;
  color: #cbd5e1;
  transition: transform 0.15s ease, background 0.15s ease;
}
.profile-badge:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.8);
}
.profile-badge-icon {
  font-size: 1rem;
}
.profile-badge-count {
  font-size: 0.65rem;
  color: #64748b;
  margin-left: 0.15rem;
}

/* Grid de conquistas (versão expandida) */
.profile-achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.6rem;
}
.profile-achievement-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  transition: background 0.15s ease;
}
.profile-achievement-item:hover {
  background: rgba(15, 23, 42, 0.7);
}
.profile-achievement-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-achievement-icon img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
}
.profile-achievement-title {
  font-weight: 500;
  color: #e2e8f0;
  font-size: 0.85rem;
}
.profile-achievement-desc {
  font-size: 0.7rem;
  color: #64748b;
}
.profile-achievement-count {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
}

/* Bolões list - mais clean */
.profile-boloes-list {
  display: grid;
  gap: 0.35rem;
}
.profile-bolao-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  transition: padding-left 0.15s ease;
}
.profile-bolao-item:last-child {
  border-bottom: none;
}
.profile-bolao-item:hover {
  padding-left: 0.5rem;
}
.profile-bolao-name {
  font-weight: 500;
  color: #e2e8f0;
  font-size: 0.9rem;
}
.profile-bolao-meta {
  font-size: 0.7rem;
  color: #64748b;
}
.profile-bolao-stats {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.profile-bolao-pos {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fbbf24;
}
.profile-bolao-pts {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Empty state */
.profile-empty {
  text-align: center;
  padding: 1.5rem;
  color: #64748b;
  font-size: 0.85rem;
}

/* Palpites recentes */
.profile-recent-predictions {
  display: grid;
  gap: 0.5rem;
}
.profile-prediction {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.profile-prediction:last-child {
  border-bottom: none;
}
.profile-prediction-result {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.profile-prediction-result.cravada {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.profile-prediction-result.acerto {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}
.profile-prediction-result.erro {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.profile-prediction-match {
  flex: 1;
  min-width: 0;
}
.profile-prediction-teams {
  font-size: 0.8rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-prediction-scores {
  font-size: 0.7rem;
  color: #64748b;
}
.profile-prediction-scores span {
  color: #94a3b8;
}
.profile-prediction-pts {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
}
.profile-prediction-pts.zero {
  color: #64748b;
}

/* Section headers mais leves */
.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.profile-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.profile-section-link {
  font-size: 0.75rem;
  color: #64748b;
  text-decoration: none;
}
.profile-section-link:hover {
  color: #94a3b8;
}

/* Cover edit button */
.profile-cover-edit-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  backdrop-filter: blur(4px);
}
.profile-cover-edit-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(16, 185, 129, 0.5);
}
.profile-cover-edit-btn svg {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .profile-cover-edit-btn span {
    display: none;
  }
  .profile-cover-edit-btn {
    padding: 0.5rem;
  }
}

html[data-theme='light'] .home-mobile-search {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(59, 130, 246, 0.18);
  color: #0f172a;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] .home-mobile-search__icon {
  color: #475569;
}

html[data-theme='light'] .home-mobile-search__text {
  color: #475569;
}

html[data-theme='light'] .profile-card-header {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .profile-cover {
  background: linear-gradient(145deg,
    rgba(224, 242, 254, 0.9) 0%,
    rgba(219, 234, 254, 0.92) 45%,
    rgba(241, 245, 249, 0.98) 100%);
}

html[data-theme='light'] .profile-public-avatar {
  border-color: #0f172a;
  background: #e2e8f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

html[data-theme='light'] .profile-public-info h1 {
  color: #0f172a;
}

html[data-theme='light'] .profile-public-info .profile-fullname,
html[data-theme='light'] .profile-member-since {
  color: #64748b;
}

html[data-theme='light'] .profile-public-role {
  font-weight: 600;
}

html[data-theme='light'] .member-role-admin {
  background: rgba(254, 226, 226, 0.92);
  color: #b91c1c;
  border-color: rgba(248, 113, 113, 0.34);
}

html[data-theme='light'] .member-role-moderator {
  background: rgba(243, 232, 255, 0.96);
  color: #6d28d9;
  border-color: rgba(139, 92, 246, 0.28);
}

html[data-theme='light'] .member-role-user {
  background: rgba(224, 242, 254, 0.96);
  color: #0369a1;
  border-color: rgba(56, 189, 248, 0.26);
}

html[data-theme='light'] .profile-sequencia-item {
  background: rgba(255, 251, 235, 0.96);
  border-color: rgba(245, 158, 11, 0.28);
  color: #b45309;
}

html[data-theme='light'] .profile-sequencia-item.booster {
  background: rgba(245, 243, 255, 0.96);
  border-color: rgba(168, 85, 247, 0.24);
  color: #7c3aed;
}

html[data-theme='light'] .profile-sequencia-item.acertos {
  background: rgba(224, 242, 254, 0.96);
  border-color: rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

html[data-theme='light'] .profile-sequencia-camp {
  color: #64748b;
  opacity: 1;
}

html[data-theme='light'] .profile-dash-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .profile-dash-card:hover {
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .profile-dash-value {
  color: #0f172a;
}

html[data-theme='light'] .profile-dash-label {
  color: #64748b;
}

html[data-theme='light'] .profile-dash-card.blue {
  border-color: rgba(59, 130, 246, 0.22);
}

html[data-theme='light'] .profile-dash-card.blue .profile-dash-value {
  color: #2563eb;
}

html[data-theme='light'] .profile-dash-card.slate {
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .profile-dash-card.slate .profile-dash-value {
  color: #334155;
}

html[data-theme='light'] .profile-dash-card.gold {
  border-color: rgba(245, 158, 11, 0.22);
}

html[data-theme='light'] .profile-dash-card.gold .profile-dash-value {
  color: #b45309;
}

html[data-theme='light'] .profile-dash-card.green {
  border-color: rgba(59, 130, 246, 0.2);
}

html[data-theme='light'] .profile-dash-card.green .profile-dash-value {
  color: #2563eb;
}

html[data-theme='light'] .profile-dash-card.purple {
  border-color: rgba(139, 92, 246, 0.2);
}

html[data-theme='light'] .profile-dash-card.purple .profile-dash-value {
  color: #7c3aed;
}

html[data-theme='light'] .profile-dash-card.rate.amber .profile-dash-value {
  color: #b45309;
}

html[data-theme='light'] .profile-dash-card.rate.red .profile-dash-value {
  color: #dc2626;
}

html[data-theme='light'] .profile-cover-edit-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  color: #334155;
}

html[data-theme='light'] .profile-cover-edit-btn:hover {
  background: rgba(239, 246, 255, 0.96);
  border-color: rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

html[data-theme='light'] .profile-header-action {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.25);
  color: #334155;
}

html[data-theme='light'] .profile-compare-icon:hover {
  border-color: rgba(59, 130, 246, 0.45);
  color: #1d4ed8;
  background: rgba(239, 246, 255, 0.98);
}

html[data-theme='light'] .profile-report-icon {
  border-color: rgba(251, 113, 133, 0.42);
  color: #be123c;
  background: rgba(255, 241, 242, 0.95);
}

html[data-theme='light'] .profile-report-icon:hover {
  border-color: rgba(225, 29, 72, 0.6);
  color: #9f1239;
  background: rgba(255, 228, 230, 0.98);
}

html[data-theme='light'] .summary-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)) !important;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] .summary-card p {
  color: #64748b;
}

html[data-theme='light'] .summary-card strong {
  color: #0f172a;
}

html[data-theme='light'] .perfil-participacao-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .perfil-participacao-card h4 {
  color: #0f172a;
}

html[data-theme='light'] .perfil-participacao-card .text-slate-400 {
  color: #64748b !important;
}

html[data-theme='light'] .perfil-participacao-card .text-slate-500 {
  color: #64748b !important;
}

html[data-theme='light'] .perfil-participacao-card .text-emerald-300 {
  color: #2563eb !important;
}

html[data-theme='light'] .perfil-participacao-card .text-right {
  min-width: 8rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(191, 219, 254, 0.95);
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.96), rgba(219, 234, 254, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html[data-theme='light'] .perfil-participacao-card .text-right .text-3xl {
  color: #2563eb !important;
}

html[data-theme='light'] .perfil-participacao-card .text-right .text-slate-500 {
  color: #64748b !important;
}

html[data-theme='light'] .perfil-participacao-card .status-pill.status-aprovado,
html[data-theme='light'] .perfil-participacao-card .status-pill.status-approved,
html[data-theme='light'] .perfil-participacao-card .status-pill.status-ok {
  background: rgba(239, 246, 255, 0.96);
  border-color: rgba(59, 130, 246, 0.22);
  color: #1d4ed8;
}

html[data-theme='light'] .ranking-tabs {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(148, 163, 184, 0.2);
}

html[data-theme='light'] .ranking-tab {
  color: #64748b;
}

html[data-theme='light'] .ranking-tab.is-active {
  background: rgba(219, 234, 254, 0.98);
  color: #1d4ed8;
}

html[data-theme='light'] .ranking-select {
  color: #94a3b8;
}

html[data-theme='light'] .ranking-select select {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.2);
  color: #334155;
}

html[data-theme='light'] .ranking-mini-toggle {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
  color: #334155;
}

html[data-theme='light'] .ranking-mini-toggle:hover {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(14, 165, 233, 0.2);
}

html[data-theme='light'] .ranking-explain {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .ranking-explain__title {
  color: #64748b;
}

html[data-theme='light'] .ranking-explain__list {
  color: #334155;
}

html[data-theme='light'] .ranking-share-trigger {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.2);
  color: #38bdf8;
}

html[data-theme='light'] .ranking-share-trigger:hover {
  background: rgba(239, 246, 255, 0.96);
  border-color: rgba(59, 130, 246, 0.24);
}

html[data-theme='light'] .table-scroll--ranking .ranking-table thead th {
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.92), rgba(203, 213, 225, 0.92));
  color: #475569;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .table-scroll--ranking .ranking-table thead th:first-child {
  border-top-left-radius: 0.9rem;
  border-bottom-left-radius: 0.9rem;
  border-left: 1px solid rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .table-scroll--ranking .ranking-table thead th:last-child {
  border-top-right-radius: 0.9rem;
  border-bottom-right-radius: 0.9rem;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .ranking-table th {
  color: #475569;
}

html[data-theme='light'] .ranking-table td {
  color: #0f172a;
}

html[data-theme='light'] .ranking-table--card tbody tr td {
  background: rgba(255, 255, 255, 0.98);
  background-image: none !important;
  border-top-color: rgba(148, 163, 184, 0.16);
  border-bottom-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.08);
}

html[data-theme='light'] .ranking-table--card tbody tr td + td {
  border-left: 1px solid rgba(226, 232, 240, 0.9);
}

html[data-theme='light'] .ranking-table--card tbody tr td:first-child {
  border-left-color: rgba(148, 163, 184, 0.16);
  box-shadow: -8px 10px 24px rgba(148, 163, 184, 0.08);
}

html[data-theme='light'] .ranking-table--card tbody tr td:last-child {
  border-right-color: rgba(148, 163, 184, 0.16);
  box-shadow: 8px 10px 24px rgba(148, 163, 184, 0.08);
}

html[data-theme='light'] .ranking-table--card .ranking-row--gold td {
  background: rgba(255, 251, 235, 0.98);
  border-color: rgba(245, 158, 11, 0.24);
}

html[data-theme='light'] .ranking-table--card .ranking-row--silver td {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme='light'] .ranking-table--card .ranking-row--bronze td {
  background: rgba(255, 247, 237, 0.98);
  border-color: rgba(217, 119, 6, 0.24);
}

html[data-theme='light'] .ranking-table--card .ranking-row--self td {
  background: rgba(236, 253, 245, 0.98);
  border-color: rgba(16, 185, 129, 0.26);
}

html[data-theme='light'] .ranking-table--card .ranking-row--gold td:first-child {
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.98), rgba(253, 230, 138, 0.95));
  color: #92400e;
}

html[data-theme='light'] .ranking-table--card .ranking-row--silver td:first-child {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.98), rgba(226, 232, 240, 0.95));
  color: #475569;
}

html[data-theme='light'] .ranking-table--card .ranking-row--bronze td:first-child {
  background: linear-gradient(180deg, rgba(255, 237, 213, 0.98), rgba(253, 186, 116, 0.95));
  color: #9a3412;
}

html[data-theme='light'] .ranking-rank {
  background: rgba(219, 234, 254, 0.9);
  border-color: rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

html[data-theme='light'] .ranking-rank--self {
  background: rgba(239, 246, 255, 0.98);
  border-color: rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

html[data-theme='light'] .ranking-points {
  color: #2563eb;
}

html[data-theme='light'] .ranking-points--self {
  color: #1d4ed8;
}

html[data-theme='light'] .ranking-table .text-emerald-300,
html[data-theme='light'] .ranking-table .text-emerald-200 {
  color: #2563eb !important;
}

html[data-theme='light'] .bolao-final-ranking-table .text-white {
  color: #0f172a !important;
}

html[data-theme='light'] .ranking-row .text-white,
html[data-theme='light'] .ranking-row .text-slate-200,
html[data-theme='light'] .ranking-row .text-slate-100 {
  color: #0f172a !important;
}

html[data-theme='light'] .ranking-row .text-slate-400,
html[data-theme='light'] .ranking-row .text-slate-500 {
  color: #64748b !important;
}

html[data-theme='light'] .ranking-row .btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(59, 130, 246, 0.22);
  color: #2563eb;
}

html[data-theme='light'] .ranking-row .btn-secondary:hover {
  background: rgba(239, 246, 255, 0.98);
  border-color: rgba(59, 130, 246, 0.28);
}

html[data-theme='light'] .member-avatar {
  border-color: rgba(59, 130, 246, 0.24);
  background: rgba(219, 234, 254, 0.7);
  color: #1d4ed8;
}

html[data-theme='light'] .ranking-compare-link {
  border-color: rgba(59, 130, 246, 0.22);
  background: rgba(255, 255, 255, 0.94);
  color: #2563eb;
}

html[data-theme='light'] .ranking-compare-link:hover {
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(239, 246, 255, 0.98);
  color: #1d4ed8;
}

html[data-theme='light'] .perfil-summary-grid .text-emerald-300 {
  color: #2563eb !important;
}

html[data-theme='light'] .perfil-summary-grid .text-amber-300 {
  color: #d97706 !important;
}

html[data-theme='light'] [data-admin-shortcuts] .rodada-nav-btn,
html[data-theme='light'] [data-admin-rodada-shortcut].rodada-nav-btn {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98)) !important;
  color: #0f172a;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.1);
}

html[data-theme='light'] [data-admin-shortcuts] .rodada-nav-btn:hover,
html[data-theme='light'] [data-admin-rodada-shortcut].rodada-nav-btn:hover {
  border-color: rgba(59, 130, 246, 0.24);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(239, 246, 255, 0.98)) !important;
  box-shadow: 0 16px 28px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] [data-admin-shortcuts] .rodada-nav-btn .text-slate-400,
html[data-theme='light'] [data-admin-rodada-shortcut].rodada-nav-btn .text-slate-400 {
  color: #64748b !important;
}

html[data-theme='light'] [data-admin-shortcuts] .rodada-nav-btn .text-slate-500,
html[data-theme='light'] [data-admin-rodada-shortcut].rodada-nav-btn .text-slate-500,
html[data-theme='light'] [data-admin-shortcuts] .rodada-nav-btn .text-slate-400:last-child,
html[data-theme='light'] [data-admin-rodada-shortcut].rodada-nav-btn .text-slate-400:last-child {
  color: #94a3b8 !important;
}

html[data-theme='light'] [data-admin-rodada-section] {
  border-color: rgba(148, 163, 184, 0.16) !important;
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.1), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)) !important;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] [data-admin-rodada-section] .bg-gradient-to-br.from-emerald-400\/20.to-blue-400\/20 {
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.95)) !important;
  border-color: rgba(59, 130, 246, 0.18) !important;
  color: #2563eb !important;
}

html[data-theme='light'] [data-admin-rodada-section] .text-white {
  color: #0f172a !important;
}

html[data-theme='light'] [data-admin-rodada-section] .text-slate-400 {
  color: #64748b !important;
}

html[data-theme='light'] [data-admin-rodada-section] .text-slate-500 {
  color: #94a3b8 !important;
}

html[data-theme='light'] .bulk-import {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme='light'] .admin-jogo-modal {
  background: rgba(15, 23, 42, 0.42);
}

html[data-theme='light'] .admin-jogo-modal__panel {
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.99)) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme='light'] .admin-jogo-modal__header .text-white {
  color: #0f172a !important;
}

html[data-theme='light'] .admin-jogo-modal__header .text-slate-400,
html[data-theme='light'] .admin-jogo-modal__body .text-slate-400 {
  color: #64748b !important;
}

html[data-theme='light'] .admin-jogo-modal__footer .text-slate-500 {
  color: #64748b !important;
}

html[data-theme='light'] .admin-jogo-modal__footer {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.96) 26%);
}

html[data-theme='light'] .admin-jogo-modal__panel #modal-close {
  background: rgba(239, 246, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #475569 !important;
  box-shadow: 0 10px 20px rgba(148, 163, 184, 0.14);
}

html[data-theme='light'] .admin-jogo-modal__panel #modal-close:hover {
  color: #0f172a !important;
  border-color: rgba(59, 130, 246, 0.24);
  background: rgba(255, 255, 255, 1);
}

/* Profile report modal */
.profile-report-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.profile-report-modal.hidden {
  display: none;
}

.profile-report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(4px);
}

.profile-report-modal__card {
  position: relative;
  width: min(560px, 96vw);
  border-radius: 1rem;
  border: 1px solid rgba(244, 114, 182, 0.35);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
  box-shadow: 0 28px 58px rgba(2, 6, 23, 0.45);
  max-height: min(88vh, 740px);
  overflow: hidden;
}

.profile-report-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.profile-report-modal__header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #f8fafc;
}

.profile-report-modal__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.profile-report-modal__close:hover {
  background: rgba(148, 163, 184, 0.12);
}

.profile-report-modal__form {
  padding: 1rem 1.1rem 1.15rem;
  overflow: auto;
  max-height: calc(min(88vh, 740px) - 68px);
}

.profile-report-modal__copy {
  margin: 0 0 0.85rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.profile-report-modal__reasons {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.profile-report-modal__reasons label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.65);
  border-radius: 0.75rem;
  padding: 0.56rem 0.7rem;
  color: #e2e8f0;
  font-size: 0.88rem;
}

.profile-report-modal__reasons label input {
  margin-top: 0.15rem;
  accent-color: #f43f5e;
}

.profile-report-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.profile-report-modal__field span {
  font-size: 0.82rem;
  color: #94a3b8;
}

.profile-report-modal__field textarea {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  padding: 0.8rem 0.9rem;
  resize: vertical;
  min-height: 90px;
}

.profile-report-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

html[data-theme='light'] .profile-report-modal__card {
  border-color: rgba(251, 113, 133, 0.32);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.99));
  box-shadow: 0 20px 46px rgba(148, 163, 184, 0.2);
}

html[data-theme='light'] .profile-report-modal__header {
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

html[data-theme='light'] .profile-report-modal__header h3 {
  color: #0f172a;
}

html[data-theme='light'] .profile-report-modal__close {
  color: #475569;
}

html[data-theme='light'] .profile-report-modal__close:hover {
  background: rgba(148, 163, 184, 0.18);
}

html[data-theme='light'] .profile-report-modal__copy {
  color: #334155;
}

html[data-theme='light'] .profile-report-modal__reasons label {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(248, 250, 252, 0.98);
  color: #0f172a;
}

html[data-theme='light'] .profile-report-modal__field span {
  color: #64748b;
}

html[data-theme='light'] .profile-report-modal__field textarea {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
}

@media (max-width: 640px) {
  .profile-report-modal {
    padding: 0.75rem;
  }

  .profile-report-modal__card {
    width: min(100%, 96vw);
    max-height: calc(100vh - 1.5rem);
  }

  .profile-report-modal__form {
    max-height: calc(100vh - 130px);
  }

  .profile-report-modal__actions {
    flex-direction: column-reverse;
  }

  .profile-report-modal__actions .btn-secondary,
  .profile-report-modal__actions .btn-danger {
    width: 100%;
    justify-content: center;
  }
}

/* Cover Modal */
.cover-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cover-modal.hidden {
  display: none;
}
.cover-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.cover-modal-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  overflow: hidden;
}
.cover-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.cover-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
}
.cover-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
.cover-modal-close:hover {
  color: #e2e8f0;
}
.cover-modal-body {
  padding: 1.25rem;
}
.cover-preview-container {
  margin-bottom: 1rem;
}
.cover-preview {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg,
    rgba(16, 185, 129, 0.3) 0%,
    rgba(6, 78, 59, 0.5) 50%,
    rgba(15, 23, 42, 0.8) 100%);
  background-size: cover;
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(148, 163, 184, 0.3);
  transition: border-color 0.15s ease;
}
.cover-preview:hover {
  border-color: rgba(16, 185, 129, 0.5);
}
.cover-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #64748b;
}
.cover-preview-placeholder svg {
  opacity: 0.5;
}
.cover-preview-placeholder p {
  font-size: 0.9rem;
}
.cover-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cover-file-btn,
.cover-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cover-file-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}
.cover-file-btn:hover {
  background: rgba(16, 185, 129, 0.25);
}
.cover-remove-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.cover-remove-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}
.cover-focus-control {
  margin-bottom: 1rem;
}
.cover-focus-control label {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.cover-focus-control input[type="range"] {
  width: 100%;
  height: 6px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 3px;
  appearance: none;
  cursor: pointer;
}
.cover-focus-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: #10b981;
  border-radius: 50%;
  cursor: pointer;
}
.cover-focus-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #10b981;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
.cover-hint {
  font-size: 0.75rem;
  color: #64748b;
}
.cover-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.5);
}

.btn-reaction {
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 999px;
  padding: 0.15rem 0.85rem;
  color: #bfdbfe;
  background: rgba(30, 64, 175, 0.2);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-reaction:hover {
  background: rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}


.hero-card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.25), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 25px 80px -45px rgba(16, 185, 129, 0.9);
}

.hero-rank {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.hero-card__alias {
  word-break: break-word;
}

.hero-card__points {
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-card__diff {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-rank {
    font-size: 2.4rem;
  }
}

.ranking-card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.85rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.7);
}

.ranking-row.is-user {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.08);
}

.card-alert {
  border-radius: 1rem;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: linear-gradient(120deg, rgba(251, 191, 36, 0.15), rgba(15, 23, 42, 0.92));
  box-shadow: 0 25px 70px -35px rgba(251, 191, 36, 0.45);
}

.card-alert .btn-secondary {
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.25), rgba(16, 185, 129, 0.35));
  border-color: rgba(59, 130, 246, 0.3);
  color: #ecfeff;
}

.card-alert .btn-secondary:hover {
  opacity: 0.9;
}

.unlock-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.unlock-form--alert {
  border: 1px solid rgba(249, 115, 22, 0.5);
  border-radius: 0.85rem;
  padding: 0.75rem;
  background: rgba(249, 115, 22, 0.08);
}

.unlock-form__flag {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-weight: 600;
  color: #fed7aa;
}

.unlock-form__badge {
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.7);
  padding: 0.15rem 0.65rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.unlock-form select {
  min-width: 130px;
}

.autosave-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5f5;
}

.autosave-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.5);
}

.autosave-pill--idle {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5f5;
}

.autosave-pill--idle .autosave-dot {
  background: rgba(148, 163, 184, 0.6);
  box-shadow: 0 0 8px rgba(148, 163, 184, 0.45);
}

.autosave-pill--dirty {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
}

.autosave-pill--dirty .autosave-dot {
  background: rgba(251, 191, 36, 0.9);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.65);
}

.autosave-pill--saving {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(14, 165, 233, 0.12);
  color: #bae6fd;
}

.autosave-pill--saving .autosave-dot {
  background: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.autosave-pill--saved {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}

.autosave-pill--saved .autosave-dot {
  background: rgba(16, 185, 129, 0.9);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

.autosave-pill--error {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}

.autosave-pill--error .autosave-dot {
  background: rgba(239, 68, 68, 0.9);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.7);
}

.score-input-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.score-divider {
  font-weight: 700;
  color: #94a3b8;
}

.bulk-import {
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 0.85rem;
  padding: 0.85rem;
  background: rgba(15, 23, 42, 0.6);
  margin-bottom: 0.75rem;
}

.bulk-import__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
[data-dashboard-filter] .segmented-control input:checked {
  pointer-events: auto;
}

.filter-hero {
  border-radius: 1.25rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: linear-gradient(130deg, rgba(15, 23, 42, 0.85), rgba(12, 83, 93, 0.9), rgba(6, 182, 212, 0.18));
  box-shadow: 0 40px 80px -50px rgba(6, 182, 212, 0.6);
}

.filter-hero__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.badge-pill {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
}

.badge-pill__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 0.75rem;
}

.badge-count {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.9);
}

.badge-pill.is-locked {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  opacity: 0.55;
  filter: grayscale(0.75);
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.achievement-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
  min-height: 120px;
  position: relative;
}

.achievement-card.is-locked {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  opacity: 0.6;
  filter: grayscale(1);
}

.achievement-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.achievement-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.achievement-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.achievement-title {
  font-weight: 600;
  color: #f8fafc;
  font-size: 0.95rem;
}

.achievement-desc {
  font-size: 0.75rem;
  color: #94a3b8;
}

.achievement-locked {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #64748b;
  min-height: 0.75rem;
}

.achievement-count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  text-transform: uppercase;
}

.achievement-lock {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5f5;
}

.achievement-lock::before {
  content: '🔒';
}

.achievement-card.is-locked .achievement-count {
  display: none;
}

.achievement-editor {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 180px;
}

.achievement-editor .input-control {
  padding: 0.4rem 0.6rem;
}

.achievement-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.achievement-admin-card {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.achievement-admin-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.achievement-admin-editor {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 0.75rem;
}

.achievement-admin-editor summary {
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  list-style: none;
}

.achievement-admin-editor summary::-webkit-details-marker {
  display: none;
}

.achievement-admin-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(15, 23, 42, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #cbd5f5;
}

.live-indicator__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #64748b;
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.live-indicator.is-online {
  border-color: rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

.live-indicator.is-online .live-indicator__dot {
  background: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.live-indicator.is-offline {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.live-indicator.is-offline .live-indicator__dot {
  background: #f87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.4);
}

.match-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.palpite-box--cravado .input-control {
  border-color: rgba(250, 204, 21, 0.65);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(251, 191, 36, 0.1));
  color: #fff7d1;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.25), inset 0 0 0 1px rgba(250, 204, 21, 0.18);
}

.palpite-box--acerto .input-control {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.15);
  color: #d1fae5;
}

.admin-notify {
  position: relative;
}

.admin-notify__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-notify__badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #052e2b;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.35);
}

.admin-notify__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(340px, 88vw);
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
  display: none;
  z-index: 30;
}

.admin-notify__panel.is-open {
  display: block;
}

.admin-notify__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-notify__item + .admin-notify__item {
  margin-top: 0.5rem;
}

.admin-notify__count {
  font-size: 0.8rem;
  font-weight: 700;
  color: #67e8f9;
  background: rgba(8, 145, 178, 0.22);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.admin-notify__empty {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .page-content,
  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .page-header__left,
  .page-header__right {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .page-header__left img,
  .page-header__left .brand-logo {
    height: 36px;
    max-width: 140px;
  }

  .page-header__title {
    font-size: 1.35rem;
  }

  .page-header__clock,
  .page-header__user {
    width: auto;
    font-size: 0.85rem;
  }

  .admin-page-header,
  .admin-jogos-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .admin-jogos-actions,
  .admin-page-header .admin-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .admin-jogos-actions > *,
  .admin-page-header .admin-actions > * {
    width: 100%;
  }

  .resultados-header__inner,
  .resultados-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .resultados-filter-form {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .resultados-layout {
    flex-direction: column;
  }

  .resultados-sidebar,
  .resultados-main {
    width: 100%;
  }

  .resultados-sidebar .rodada-nav-btn {
    width: 100%;
  }

  .resultados-main .overflow-x-auto,
  .resultados-main table {
    width: 100%;
  }

  .bolao-select-form {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .bolao-select-form .btn,
  .bolao-select-form select,
  .bolao-select-form input {
    width: 100%;
  }

  .bolao-tabs,
  .bolao-tabs__actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .bolao-tabs .btn,
  .bolao-tabs__actions .btn {
    width: 100%;
  }

  .rodada-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .rodada-nav-btn {
    width: 100%;
  }

  .rodada-block,
  .rodada-table,
  .palpite-table {
    overflow-x: auto;
  }

  .member-modal-card {
    width: min(92vw, 560px);
    max-height: 80vh;
    overflow-y: auto;
  }
}

@media (max-width: 640px) {
  .page-header__title {
    font-size: 1.1rem;
  }

  .page-header__right {
    align-items: flex-start;
  }

  .rodada-nav {
    grid-template-columns: 1fr;
  }

  .admin-jogos-actions .btn,
  .admin-page-header .admin-actions .btn {
    padding: 0.65rem 0.9rem;
  }

  .resultados-main table {
    min-width: 520px;
  }

  .bolao-tabs .btn,
  .bolao-tabs__actions .btn {
    text-align: left;
  }

  .admin-section-header {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left;
  }

  .admin-section-header > div,
  .admin-section-header > span {
    width: 100%;
    text-align: left;
  }

  .invite-type-toggle {
    grid-template-columns: 1fr;
  }

  .invite-form__actions {
    width: 100%;
  }

  .invite-form__actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   App Shell / Sidebar / Mobile Drawer (2026 Refresh)
   ========================================================= */
.app-shell {
  display: flex;
  min-height: 100vh;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  width: 220px;
  background: #091b30;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  padding: 1.4rem 1.1rem;
  gap: 1.2rem;
  position: sticky;
  top: 0;
  height: 100vh;
}


.app-sidebar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.app-sidebar__logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.app-theme-logo {
  display: inline-flex;
  align-items: center;
}

.app-theme-logo img {
  display: block;
}

.app-theme-logo__light {
  display: none !important;
}

html[data-theme='light'] .app-theme-logo__dark {
  display: none !important;
}

html[data-theme='light'] .app-theme-logo__light {
  display: block !important;
}

html[data-theme='light'] .app-nav-item__badge-new {
  border-color: rgba(14, 165, 233, 0.32);
  background: rgba(224, 242, 254, 0.96);
  color: #075985;
}

html[data-theme='light'] .app-nav-item__badge-alert,
html[data-theme='light'] .mobile-drawer__badge-alert {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(254, 226, 226, 0.96);
  color: #991b1b;
}

.app-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: auto 0;
}

.app-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  color: rgba(226, 232, 240, 0.82);
  font-weight: 500;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid transparent;
}

.app-nav-item__text {
  min-width: 0;
}

.app-nav-item__badge-new {
  margin-left: auto;
  margin-right: 0.12rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 0.98rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.22), rgba(16, 185, 129, 0.18));
  color: #a5f3fc;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.app-nav-item__badge-alert {
  margin-left: auto;
  margin-right: 0.12rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.15rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: linear-gradient(120deg, rgba(239, 68, 68, 0.22), rgba(251, 146, 60, 0.2));
  color: #fee2e2;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.app-nav-item:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.18);
  color: #e2e8f0;
}

.app-nav-item.is-active {
  background: linear-gradient(110deg, rgba(16, 185, 129, 0.18), rgba(56, 189, 248, 0.12));
  border-color: rgba(16, 185, 129, 0.35);
  color: #f8fafc;
  box-shadow: inset 2px 0 0 rgba(16, 185, 129, 0.7);
}

.app-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.8);
  color: rgba(148, 163, 184, 0.9);
}

.app-nav-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.app-nav-item.is-active .app-nav-icon {
  color: #e2e8f0;
  background: rgba(16, 185, 129, 0.2);
}

.app-sidebar__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.app-version-tag {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
}

.app-sidebar__footer-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.app-sidebar__footer-actions .search-toggle,
.app-sidebar__footer-actions .notification-toggle {
  margin-bottom: 0;
}

.app-user-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.app-user-chip__profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.app-user-chip__profile:hover .app-user-chip__label {
  color: #38bdf8;
}

.app-user-chip__avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(56, 189, 248, 0.15);
  display: grid;
  place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}

.app-user-chip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-user-chip__label {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.app-user-chip__gear {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: rgba(148, 163, 184, 0.8);
  text-decoration: none;
  padding: 0.25rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.app-user-chip__gear svg {
  width: 16px;
  height: 16px;
}

.app-user-chip__gear:hover {
  background: rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
}

.admin-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.admin-home-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-home-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 18px 35px rgba(2, 6, 23, 0.35);
}

.admin-home-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.12);
  font-size: 1.25rem;
}

.admin-home-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-home-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fecaca;
  border: 1px solid rgba(251, 113, 133, 0.45);
  background: rgba(127, 29, 29, 0.32);
}

.admin-triage-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-triage-shortcuts__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.48);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.74rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-triage-shortcuts__item:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.62);
  color: #e0f2fe;
}

.admin-triage-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-main {
  flex: 1;
  padding: 1.75rem clamp(1rem, 2.5vw, 2.5rem) 3rem;
}

.app-desktop-toolbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 24;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 640px) minmax(0, 1fr);
  align-items: center;
  column-gap: 0.9rem;
  padding: 0.72rem clamp(1rem, 2.5vw, 2.5rem);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.app-desktop-toolbar__left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.app-desktop-toolbar__history {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.app-desktop-toolbar__history-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.82);
  display: inline-grid;
  place-items: center;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.app-desktop-toolbar__history-btn svg {
  width: 15px;
  height: 15px;
}

.app-desktop-toolbar__history-btn:hover:not(:disabled) {
  border-color: rgba(56, 189, 248, 0.45);
  color: #e2e8f0;
  background: rgba(8, 47, 73, 0.5);
}

.app-desktop-toolbar__history-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.app-desktop-toolbar__page {
  font-size: 0.98rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-desktop-toolbar__search {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.68);
  color: rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  height: 40px;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.app-desktop-toolbar__search:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.82);
}

.app-desktop-toolbar__search:focus-visible {
  outline: none;
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.app-desktop-toolbar__search-icon {
  width: 18px;
  height: 18px;
  color: rgba(148, 163, 184, 0.95);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.app-desktop-toolbar__search-icon svg {
  width: 100%;
  height: 100%;
}

.app-desktop-toolbar__search-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.86);
}

.app-desktop-toolbar__search-kbd {
  margin-left: auto;
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  padding: 0.2rem 0.44rem;
  line-height: 1;
}

.app-desktop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  justify-content: flex-end;
  justify-self: end;
}

.desktop-live-ticker {
  min-width: 220px;
  max-width: 320px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.24);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.82));
  color: #e2e8f0;
  padding: 0 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.desktop-live-ticker:hover {
  border-color: rgba(244, 63, 94, 0.42);
  background: linear-gradient(135deg, rgba(15, 23, 42, 1), rgba(30, 41, 59, 0.9));
}

.desktop-live-ticker.is-swapping {
  opacity: 0.6;
  transform: translateY(1px);
}

.desktop-live-ticker__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fecdd3;
}

.desktop-live-ticker__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  animation: live-dot-pulse 1.8s ease infinite;
}

.desktop-live-ticker__teams {
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
}

.desktop-live-ticker__badge {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.desktop-live-ticker__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.desktop-live-ticker__badge span {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.92);
}

.desktop-live-ticker__score {
  min-width: 3.4rem;
  text-align: center;
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f8fafc;
}

@keyframes live-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.48);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.app-desktop-toolbar__notify {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 12px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.app-desktop-toolbar__help {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.68);
  color: rgba(226, 232, 240, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.app-desktop-toolbar__help:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
}

.app-desktop-toolbar__help:focus-visible {
  outline: none;
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.app-desktop-toolbar__notify .notification-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transform: none;
}

.app-desktop-toolbar__notify .notification-toggle__icon svg {
  width: 1.06rem;
  height: 1.06rem;
  display: block;
  transform: translateY(1px);
}

.app-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.95);
  position: sticky;
  top: 0;
  z-index: 30;
}

.app-topbar__left,
.app-topbar__right {
  width: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-topbar__menu {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  display: grid;
  place-items: center;
  background: transparent;
  color: #e2e8f0;
}

.app-topbar__drawer {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  display: grid;
  place-items: center;
  background: transparent;
  color: #e2e8f0;
}

.app-topbar__menu svg {
  width: 24px;
  height: 24px;
}

.app-topbar__drawer svg {
  width: 24px;
  height: 24px;
}

.app-topbar__brand img {
  width: 140px;
  height: auto;
}

.app-topbar__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.app-topbar__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

.app-topbar__avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.app-topbar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.82rem;
}

.app-topbar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-drawer__panel {
  position: relative;
  height: 100%;
  width: min(78vw, 300px);
  background: #0b1220;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 30px 0 80px rgba(2, 6, 23, 0.7);
  transform: translateX(-108%);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer.is-closing {
  opacity: 1;
  pointer-events: none;
}

.mobile-drawer.is-closing .mobile-drawer__backdrop {
  opacity: 0;
}

.mobile-drawer.is-closing .mobile-drawer__panel {
  transform: translateX(-108%);
}

body.mobile-drawer-open {
  overflow: hidden;
  touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .mobile-drawer__backdrop,
  .mobile-drawer__panel {
    transition: none;
  }
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer__head img {
  width: 140px;
  height: auto;
}

.mobile-drawer__close {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-drawer__version {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
}

.mobile-drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  color: rgba(226, 232, 240, 0.85);
  font-weight: 500;
}

.mobile-drawer__badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 0.95rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.2), rgba(16, 185, 129, 0.16));
  color: #a5f3fc;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-left: 0.45rem;
}

.mobile-drawer__badge-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.28rem;
  height: 1.12rem;
  padding: 0 0.34rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: linear-gradient(120deg, rgba(239, 68, 68, 0.22), rgba(251, 146, 60, 0.2));
  color: #fee2e2;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.45rem;
}

.mobile-drawer__nav a.is-active {
  background: rgba(56, 189, 248, 0.15);
  color: #f8fafc;
}

.mobile-drawer__nav a.is-danger {
  color: #fca5a5;
}

.app-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  bottom: 0;
  z-index: 50;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 0.2rem;
  background: linear-gradient(180deg, rgba(12, 17, 29, 0.97), rgba(6, 10, 20, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -14px 34px rgba(2, 6, 23, 0.5);
  padding: 0.3rem 0.35rem calc(0.5rem + env(safe-area-inset-bottom));
}

.app-bottom-nav__item {
  min-height: 54px;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.78);
  transition: color 0.22s ease, transform 0.22s ease;
  position: relative;
}

.app-bottom-nav__item:hover {
  color: #f8fafc;
  transform: none;
}

.app-bottom-nav__item.is-active {
  color: #67e8f9;
  transform: none;
}

.app-bottom-nav__icon {
  width: 22px;
  height: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  color: rgba(226, 232, 240, 0.8);
  transition: all 0.22s ease;
}

.app-bottom-nav__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 1.85;
}

.app-bottom-nav__item.is-active .app-bottom-nav__icon {
  width: 22px;
  height: 22px;
  background: transparent;
  color: #22d3ee;
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.app-bottom-nav__item.is-active .app-bottom-nav__icon svg path:nth-child(odd),
.app-bottom-nav__item.is-active .app-bottom-nav__icon svg circle:nth-child(odd) {
  stroke: #22d3ee;
}

.app-bottom-nav__item.is-active .app-bottom-nav__icon svg path:nth-child(even),
.app-bottom-nav__item.is-active .app-bottom-nav__icon svg circle:nth-child(even) {
  stroke: #10b981;
}

.app-bottom-nav__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-bottom-nav__item.is-active .app-bottom-nav__label {
  position: absolute;
}

.app-bottom-nav__badge-new {
  position: absolute;
  top: 0.18rem;
  right: 0.42rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 0.72rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.24), rgba(16, 185, 129, 0.2));
  color: #a5f3fc;
  font-size: 0.41rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .app-sidebar {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .app-desktop-toolbar {
    display: none !important;
  }

  .app-main {
    padding: 1.25rem 1rem 2rem;
  }

  body.has-mobile-bottom-nav .app-topbar {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    top: max(10px, calc(env(safe-area-inset-top, 0px) + 0.25rem));
    padding: 0.55rem 1rem;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.has-mobile-bottom-nav .app-topbar__menu {
    display: none;
  }

  body.has-mobile-bottom-nav .app-topbar__left {
    justify-content: flex-start;
  }

  body.has-mobile-bottom-nav .app-topbar__brand {
    justify-self: center;
  }

  body.has-mobile-bottom-nav .app-topbar__brand img {
    width: 148px;
  }

  body.has-mobile-bottom-nav .app-topbar__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    gap: 0.45rem;
  }

  body.has-mobile-bottom-nav .app-topbar__right .notification-toggle--mobile {
    background: linear-gradient(135deg, #06b6d4, #10b981);
    border: 1px solid rgba(125, 211, 252, 0.45);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.28);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: #ffffff;
  }

  body.has-mobile-bottom-nav .app-topbar__right .notification-toggle--mobile .notification-toggle__icon svg {
    width: 1.12rem;
    height: 1.12rem;
  }

  body.has-mobile-bottom-nav .app-topbar__right .app-topbar__drawer {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.56);
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.32);
  }

  body.has-mobile-bottom-nav .app-topbar__right .app-topbar__drawer svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  body.has-mobile-bottom-nav .app-topbar__left .app-topbar__avatar {
    width: 38px;
    height: 38px;
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.32);
  }

  body.has-mobile-bottom-nav .app-main {
    padding-top: calc(1.35rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(6.6rem + env(safe-area-inset-bottom));
  }

  body.has-mobile-bottom-nav .app-bottom-nav {
    display: grid;
  }
}

@media (display-mode: standalone) and (max-width: 768px) {
  body.has-mobile-bottom-nav .app-topbar {
    top: 0;
    padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
  }

  body.has-mobile-bottom-nav .app-main {
    padding-top: calc(1.35rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(6.9rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-drawer__panel {
    padding-top: calc(1.4rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  }

  .notification-modal,
  .survey-modal,
  .announcement-modal {
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 768px) {
  html.is-capacitor-app body.has-mobile-bottom-nav .app-topbar {
    top: 0;
    padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
  }

  html.is-capacitor-app body.has-mobile-bottom-nav .app-main {
    padding-top: calc(1.35rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(6.9rem + env(safe-area-inset-bottom, 0px));
  }

  html.is-capacitor-app .mobile-drawer__panel {
    padding-top: calc(1.4rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  }

  html.is-capacitor-app .notification-modal,
  html.is-capacitor-app .survey-modal,
  html.is-capacitor-app .announcement-modal {
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (display-mode: standalone) {
  body.login-hero {
    min-height: 100dvh;
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

html.is-capacitor-app body.login-hero {
  min-height: 100dvh;
  padding-top: calc(1rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 769px) {
  .app-desktop-toolbar {
    display: grid;
  }
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.bolao-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.bolao-carousel__track {
  display: flex;
  gap: 0.75rem;
  overflow: visible;
  scroll-snap-type: none;
  scroll-behavior: smooth;
  padding-bottom: 0;
  box-sizing: border-box;
}

.bolao-carousel__track::-webkit-scrollbar {
  height: 0;
}

.bolao-carousel__item {
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
}

.dashboard-boloes-panel .bolao-carousel {
  flex: 1;
  display: flex;
  min-height: 0;
}

.dashboard-boloes-panel .bolao-carousel__track {
  flex: 1;
}

.dashboard-boloes-panel .bolao-carousel__item > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bolao-carousel {
  height: 100%;
  display: flex;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.bolao-carousel::-webkit-scrollbar {
  display: none;
}

.bolao-carousel__track {
  display: flex;
  height: 100%;
  flex: 1;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
}

.bolao-carousel__item {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  min-width: 100%;
}

.bolao-carousel__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

@media (min-width: 1024px) {
  .dashboard-boloes-panel {
    height: 100%;
    min-height: 0;
  }
}

.dashboard-top-grid {
  align-items: stretch;
}

.dashboard-top-grid > * {
  min-width: 0;
  min-height: 0;
  height: 100%;
}

@media (min-width: 1024px) {
  .dashboard-top-grid {
    display: grid;
    grid-auto-rows: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-boloes-panel {
    height: auto;
  }
}

/* Alinhar alturas banner x card (desktop) */
@media (min-width: 1024px) {
  .dashboard-banner {
    height: 100%;
  }

  .dashboard-banner img {
    height: 100%;
    object-fit: cover;
  }

  .dashboard-boloes-panel,
  .bolao-carousel,
  .bolao-carousel__track,
  .bolao-carousel__item,
  .bolao-carousel__card {
    height: 100%;
  }
}

/* ==========================================================================
   LANDING PAGE - EXPANDED STYLES
   ========================================================================== */

/* Navigation */
.landing-nav {
  display: none;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .landing-nav {
    display: flex;
  }
}

.landing-nav__link {
  padding: 0.5rem 1rem;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.landing-nav__link:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.landing-nav__link.is-active {
  color: #38bdf8;
}

/* Brand link */
.landing-brand__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

/* Mobile menu toggle */
.landing-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 900px) {
  .landing-menu-toggle {
    display: none;
  }
}

.landing-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile menu */
.landing-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.landing-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.landing-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: slideInRight 0.25s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.landing-mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-mobile-menu__close {
  font-size: 2rem;
  line-height: 1;
  color: #94a3b8;
  background: transparent;
  border: none;
  cursor: pointer;
}

.landing-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.landing-mobile-menu__nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: #e2e8f0;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.landing-mobile-menu__nav a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.landing-mobile-menu__nav hr {
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin: 1rem 0;
}

.landing-mobile-menu__nav .btn-primary,
.landing-mobile-menu__nav .btn-secondary {
  text-align: center;
  margin-top: 0.5rem;
}

/* Header solid variant */
.landing-header--solid {
  position: relative;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.8) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* Header scroll state */
.landing-header.is-scrolled {
  position: fixed;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1rem 4vw;
  animation: headerSlideDown 0.3s ease;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Landing stats */
.landing-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.landing-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.landing-stat__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #38bdf8;
}

.landing-stat__label {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scroll indicator */
.landing-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(148, 163, 184, 0.6);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Landing sections */
.landing-section {
  padding: 6rem 0;
}

.legal-section {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
}

.legal-content {
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35);
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  color: #f8fafc;
  margin: 2rem 0 1rem;
  font-weight: 700;
}

.legal-content h1 { font-size: 1.6rem; }
.legal-content h2 { font-size: 1.35rem; }
.legal-content h3 { font-size: 1.15rem; }

.legal-content p {
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
  color: rgba(226, 232, 240, 0.9);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: #38bdf8;
  text-decoration: underline;
}

.legal-content strong {
  color: #f8fafc;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4vw;
}

.landing-container--narrow {
  max-width: 800px;
}

.landing-section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.landing-section__eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #38bdf8;
  margin-bottom: 1rem;
}

.landing-section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.landing-section__subtitle {
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.9);
  max-width: 50ch;
  margin: 0 auto;
}

.landing-section__cta {
  text-align: center;
  margin-top: 3rem;
}

/* Features section */
.landing-features {
  background: linear-gradient(180deg, #020617 0%, #0f172a 50%, #020617 100%);
}

.landing-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .landing-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .landing-features__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.benefits-grid {
  margin-top: 1rem;
}

.landing-how .how-steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.landing-how .how-step-card__desc {
  margin-top: 0.25rem;
}

.landing-proof .landing-section__title {
  margin-bottom: 1.5rem;
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: rgba(226, 232, 240, 0.9);
}

.proof-list li {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.landing-footer--simple .footer-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.landing-footer--simple .footer-simple a {
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
}

.landing-footer--simple .footer-simple a:hover {
  color: #f8fafc;
}

.feature-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.6));
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 40px -20px rgba(56, 189, 248, 0.15);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin-bottom: 1.25rem;
}

.feature-card__icon--emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  border-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.feature-card__icon--amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  border-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.feature-card__icon--purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05));
  border-color: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.6;
}

/* Mockup device */
.landing-features__mockup {
  display: flex;
  justify-content: center;
}

.mockup-device {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 100%;
}

.mockup-device__screen {
  background: #020617;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.mockup-device__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Leagues section */
.landing-leagues {
  background: #020617;
}

.leagues-carousel {
  overflow: hidden;
}

.leagues-carousel__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.leagues-carousel__track::-webkit-scrollbar {
  height: 4px;
}

.leagues-carousel__track::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.1);
  border-radius: 2px;
}

.leagues-carousel__track::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 2px;
}

.league-card {
  min-width: 320px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  scroll-snap-align: start;
  transition: border-color 0.3s;
}

.league-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.league-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 1rem;
}

.league-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.league-card__badge {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.league-card__badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.league-card__cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  color: #38bdf8;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.league-card__cta:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
}

/* How it works section */
.landing-how {
  background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

.how-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: flex-start;
}

.how-step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
}

.how-step__number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #38bdf8, #10b981);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #020617;
  margin: 0 auto 1rem;
}

.how-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.how-step__desc {
  font-size: 0.875rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.5;
}

.how-step__connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #10b981);
  opacity: 0.3;
  margin-top: 24px;
  display: none;
}

@media (min-width: 900px) {
  .how-step__connector {
    display: block;
  }
}

/* FAQ section */
.landing-faq {
  background: #020617;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(2, 6, 23, 0.4));
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(148, 163, 184, 0.2);
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.3);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question span {
  font-size: 1rem;
  font-weight: 500;
  color: #f8fafc;
}

.faq-item__icon {
  color: #94a3b8;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item__answer p {
  margin: 0;
}

.faq-item__answer ol,
.faq-item__answer ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.faq-item__answer li {
  margin-bottom: 0.5rem;
}

/* FAQ categories */
.faq-category {
  margin-bottom: 3rem;
}

.faq-category__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

/* FAQ CTA */
.faq-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.1), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  margin-top: 3rem;
}

.faq-cta__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.faq-cta__desc {
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 1.5rem;
}

/* CTA section */
.landing-cta-section {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.landing-cta-box {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.08), rgba(16, 185, 129, 0.04));
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.landing-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #10b981, transparent);
}

.landing-cta-box__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.landing-cta-box__desc {
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 2rem;
  max-width: 45ch;
  margin-left: auto;
  margin-right: auto;
}

.landing-cta-box__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.landing-footer {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 4rem 0 2rem;
}

.landing-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .landing-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .landing-footer__grid {
    grid-template-columns: 1fr;
  }
}

.landing-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-footer__tagline {
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.8);
  line-height: 1.6;
  max-width: 30ch;
}

.landing-footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.landing-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.landing-footer__links a {
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.landing-footer__links a:hover {
  color: #38bdf8;
}

.landing-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  text-align: center;
}

.landing-footer__bottom p {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.6);
  margin: 0;
}

.landing-footer__disclaimer {
  margin-top: 0.5rem !important;
  font-size: 0.75rem !important;
}

/* Page header */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.95) 0%, #020617 100%);
  text-align: center;
}

.page-header__eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #38bdf8;
  margin-bottom: 1rem;
}

.page-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.page-header__subtitle {
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.9);
  max-width: 50ch;
  margin: 0 auto;
}

/* Guide tabs */
.guide-tabs-section {
  padding: 1.25rem 0 0.75rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.8));
}

.guide-tabs-shell {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 0.85rem;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.8);
}

.guide-tabs-caption {
  margin: 0 0 0.65rem;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
}

.guide-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.guide-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.guide-tab__kicker {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(2, 6, 23, 0.65);
  color: #7dd3fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.guide-tab__kicker svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.guide-tab__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.guide-tab__label {
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
}

.guide-tab__step {
  margin-left: 0.35rem;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-tab__desc {
  margin-top: 0.15rem;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.76rem;
  line-height: 1.2;
}

.guide-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(15, 23, 42, 0.85);
}

.guide-tab:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.9);
  outline-offset: 2px;
}

.guide-tab.is-active {
  border-color: rgba(56, 189, 248, 0.9);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(16, 185, 129, 0.18));
  color: #f8fafc;
}

.guide-tab.is-active .guide-tab__kicker {
  background: rgba(56, 189, 248, 0.24);
  border-color: rgba(56, 189, 248, 0.85);
  color: #e0f2fe;
}

@media (max-width: 900px) {
  .guide-tabs {
    grid-template-columns: 1fr;
  }

  .guide-tabs-caption {
    text-align: left;
  }
}

.landing-nav__link:focus-visible,
.landing-mobile-menu__nav a:focus-visible,
.landing-footer__links a:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.85);
  outline-offset: 2px;
  border-radius: 6px;
}

.institutional-showcase-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.institutional-showcase-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.86));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 1rem;
}

.institutional-showcase-card__head {
  margin-bottom: 0.85rem;
}

.institutional-showcase-card__kicker {
  margin: 0 0 0.3rem;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
}

.institutional-showcase-card__title {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
}

.institutional-showcase-card__link {
  margin-top: 0.85rem;
  display: inline-flex;
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.86rem;
  font-weight: 600;
}

.institutional-ranking {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.institutional-ranking li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
}

.institutional-ranking__pos {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  color: #e0f2fe;
  font-size: 0.75rem;
  font-weight: 700;
}

.institutional-ranking__name {
  color: #f8fafc;
  font-size: 0.87rem;
  font-weight: 600;
}

.institutional-ranking__pts {
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.8rem;
}

.institutional-picks {
  display: grid;
  gap: 0.45rem;
}

.institutional-picks__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
}

.institutional-picks__row span {
  color: #e2e8f0;
  font-size: 0.82rem;
}

.institutional-picks__row strong {
  color: #f8fafc;
  font-size: 0.86rem;
}

.institutional-picks__row em {
  color: #0f172a;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8, #10b981);
  border-radius: 999px;
  padding: 0.15rem 0.4rem;
}

.institutional-mini-chart {
  margin-top: 0.8rem;
  height: 70px;
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.institutional-mini-chart span {
  flex: 1 1 0;
  min-width: 8px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.92), rgba(16, 185, 129, 0.9));
}

@media (max-width: 900px) {
  .institutional-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* Button variants */
.btn-primary--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-ghost {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

/* Fade in animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HOW IT WORKS PAGE - DETAILED SECTIONS
   ========================================================================== */

.how-section {
  padding: 5rem 0;
}

.how-section--alt {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.how-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.how-section__content--reverse {
  direction: rtl;
}

.how-section__content--reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .how-section__content,
  .how-section__content--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
}

.how-section__badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.how-section__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 1rem;
}

.how-section__desc {
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.how-section__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.how-section__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(203, 213, 225, 0.9);
  font-size: 0.95rem;
}

.how-section__list svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Visual cards */
.how-visual-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}

.how-visual-card__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin: 0 auto 1.5rem;
}

.how-visual-card__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.how-visual-card__input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.875rem;
}

.how-visual-card__button {
  background: linear-gradient(135deg, #38bdf8, #10b981);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #020617;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0.5rem;
}

/* League visual */
.how-visual-card--leagues {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-visual-league {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.how-visual-league__badge {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.how-visual-league strong {
  display: block;
  color: #f8fafc;
  font-size: 0.9rem;
}

.how-visual-league span {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
}

/* Match visual */
.how-visual-card--match {
  text-align: center;
}

.how-visual-match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.how-visual-match__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.how-visual-match__team img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.how-visual-match__team span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
}

.how-visual-match__score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.how-visual-match__score input {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.how-visual-match__score span {
  color: #64748b;
  font-weight: 500;
}

.how-visual-match__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #10b981;
  font-size: 0.85rem;
}

/* Ranking visual */
.how-visual-card--ranking {
  padding: 1.5rem;
}

.how-visual-ranking {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.how-visual-ranking__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid transparent;
}

.how-visual-ranking__item--gold {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

.how-visual-ranking__item--silver {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.2);
}

.how-visual-ranking__item--bronze {
  background: rgba(180, 83, 9, 0.1);
  border-color: rgba(180, 83, 9, 0.3);
}

.how-visual-ranking__item--you {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.how-visual-ranking__pos {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f8fafc;
}

.how-visual-ranking__item--gold .how-visual-ranking__pos {
  background: #f59e0b;
  color: #020617;
}

.how-visual-ranking__item--silver .how-visual-ranking__pos {
  background: #94a3b8;
  color: #020617;
}

.how-visual-ranking__item--bronze .how-visual-ranking__pos {
  background: #b45309;
  color: #fef3c7;
}

.how-visual-ranking__name {
  flex: 1;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.how-visual-ranking__item--you .how-visual-ranking__name {
  color: #38bdf8;
  font-weight: 600;
}

.how-visual-ranking__pts {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

/* Scoring section */
.how-scoring {
  background: #020617;
}

.scoring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.scoring-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.6));
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.scoring-card:hover {
  transform: translateY(-4px);
}

.scoring-card--gold {
  border-color: rgba(245, 158, 11, 0.3);
}

.scoring-card--gold:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

.scoring-card--silver {
  border-color: rgba(148, 163, 184, 0.2);
}

.scoring-card--bronze {
  border-color: rgba(180, 83, 9, 0.3);
}

.scoring-card__points {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.scoring-card--gold .scoring-card__points {
  color: #f59e0b;
}

.scoring-card--silver .scoring-card__points {
  color: #94a3b8;
}

.scoring-card--bronze .scoring-card__points {
  color: #d97706;
}

.scoring-card__points {
  color: #38bdf8;
}

.scoring-card__label {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.scoring-card__desc {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
  line-height: 1.5;
}

/* Booster highlight */
.scoring-booster {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.02));
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 16px;
}

@media (max-width: 600px) {
  .scoring-booster {
    flex-direction: column;
    text-align: center;
  }
}

.scoring-booster__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
  flex-shrink: 0;
}

.scoring-booster__content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.scoring-booster__content p {
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.6;
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .landing-header {
    flex-wrap: nowrap;
  }

  .landing-actions {
    display: none;
  }

  .landing-nav {
    display: none;
  }

  .landing-subtitle {
    display: none;
  }

  .landing-stats {
    gap: 1.5rem;
  }

  .landing-section {
    padding: 4rem 0;
  }

  .how-steps {
    flex-direction: column;
    align-items: center;
  }

  .how-step {
    max-width: 300px;
  }

  .how-step__connector {
    display: none;
  }
}

/* ==========================================================================
   SEARCH TOGGLE
   ========================================================================== */

.search-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.75rem;
  color: #94a3b8;
}

.search-toggle:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.search-toggle svg {
  width: 20px;
  height: 20px;
}

.search-toggle--mobile {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  background: transparent;
  border: none;
}

.search-toggle--mobile svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   NOTIFICATION SYSTEM - Facebook-style
   ========================================================================== */

/* Toggle button */
.notification-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.75rem;
}

.notification-toggle:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.home-notify-btn.notification-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  margin-bottom: 0;
}

.notification-toggle--mobile {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
}

.app-desktop-toolbar .notification-toggle.app-desktop-toolbar__notify {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  padding: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.app-desktop-toolbar .notification-toggle.app-desktop-toolbar__notify .notification-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.app-desktop-toolbar .notification-toggle.app-desktop-toolbar__notify .notification-toggle__icon svg {
  width: 1.06rem;
  height: 1.06rem;
  display: block;
  transform: translateY(1px);
}

.app-desktop-toolbar .notification-toggle.app-desktop-toolbar__notify.has-unread {
  background: linear-gradient(135deg, #22d3ee, #10b981);
  border-color: rgba(34, 211, 238, 0.58);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(6, 182, 212, 0.28);
}

.app-desktop-toolbar .notification-toggle.app-desktop-toolbar__notify.has-unread:hover {
  background: linear-gradient(135deg, #22d3ee, #10b981);
  border-color: rgba(34, 211, 238, 0.68);
  color: #ffffff;
}

.notification-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.notification-toggle__icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

/* Animação pulsar quando tem notificações */
.notification-toggle.has-unread .notification-toggle__icon {
  animation: notification-bell-shake 2s ease-in-out infinite;
}

@keyframes notification-bell-shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-10deg);
  }
  20%, 40% {
    transform: rotate(10deg);
  }
  50%, 100% {
    transform: rotate(0deg);
  }
}

/* Badge com destaque */
.notification-toggle__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.5);
  animation: badge-pop 0.3s ease-out, badge-pulse 2s ease-in-out infinite 0.3s;
  border: 2px solid #0f172a;
}

@keyframes badge-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.7);
  }
}

/* Tooltip/Hint */
.notification-toggle::after {
  content: attr(data-hint);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification-toggle::before {
  content: '';
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1001;
}

.notification-toggle:hover::after,
.notification-toggle:hover::before {
  opacity: 1;
}

.notification-toggle:hover::after {
  transform: translateX(-50%) translateY(0);
}

/* Esconder tooltip no mobile */
@media (max-width: 768px) {
  .notification-toggle::after,
  .notification-toggle::before {
    display: none;
  }
}

/* Modal */
.notification-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.notification-modal.is-open {
  pointer-events: auto;
}

.notification-modal.is-visible {
  opacity: 1;
}

.notification-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.notification-modal__content {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 2rem);
  background: linear-gradient(180deg, #0f172a 0%, #0a1120 100%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-10px);
  transition: transform 0.2s ease;
}

.notification-modal.is-visible .notification-modal__content {
  transform: translateY(0);
}

.notification-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.notification-modal__actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.notification-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.notification-modal__icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.45);
  color: #93c5fd;
  transition: all 0.2s ease;
}

.notification-modal__icon-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.notification-modal__icon-btn:hover {
  border-color: rgba(56, 189, 248, 0.5);
  color: #67e8f9;
  background: rgba(14, 116, 144, 0.15);
}

.notification-modal__icon-btn.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  color: #a5f3fc;
  background: rgba(56, 189, 248, 0.16);
}

.notification-modal__close:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #f8fafc;
}

.notification-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

/* Notification list */
.notification-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Notification card */
.notification-card {
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.notification-card:hover {
  background: rgba(56, 189, 248, 0.05);
  border-color: rgba(56, 189, 248, 0.2);
}

.notification-card.is-unread {
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 12px 28px -22px rgba(56, 189, 248, 0.8);
}

.notification-card.is-read:not(.is-dismissed) {
  opacity: 0.82;
}

.notification-card.is-urgent {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.notification-card.is-urgent:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}

.notification-card.is-booster {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(88, 28, 135, 0.15);
}

.notification-card.is-booster:hover {
  border-color: rgba(168, 85, 247, 0.7);
  background: rgba(88, 28, 135, 0.22);
}

.notification-card.is-dismissed {
  opacity: 0.58;
  filter: saturate(0.75);
}

.notification-card__dismiss {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: 0;
  background: transparent;
  color: rgba(148, 163, 184, 0.7);
  font-size: 1rem;
  cursor: pointer;
}

.notification-card__dismiss:hover {
  color: #e2e8f0;
}

.notification-card__time {
  font-size: 0.7rem;
  color: #64748b;
}

.notification-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.notification-card__status {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.16rem 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.notification-card__status.is-unread {
  color: #67e8f9;
  background: rgba(14, 116, 144, 0.16);
  border-color: rgba(56, 189, 248, 0.35);
}

.notification-card__status.is-read {
  color: #cbd5e1;
  background: rgba(51, 65, 85, 0.42);
  border-color: rgba(148, 163, 184, 0.28);
}

.notification-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.notification-card__media {
  margin-bottom: 0.65rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.65);
}

.notification-card__media img {
  width: 100%;
  display: block;
  max-height: 150px;
  object-fit: cover;
}

.notification-card__icon {
  font-size: 1rem;
}

.notification-card__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.notification-card.is-booster .notification-card__icon {
  color: rgba(168, 85, 247, 0.95);
}

.notification-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8fafc;
}

.notification-card__message {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-card__cta {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.notification-card__cta:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(16, 185, 129, 0.15));
  border-color: rgba(56, 189, 248, 0.5);
}

/* Empty state */
.notification-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

.notification-empty__icon {
  opacity: 0.5;
  margin-bottom: 1rem;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
}

.notification-empty__icon svg {
  width: 100%;
  height: 100%;
}

.notification-empty__title {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.25rem 0;
}

.notification-empty__text {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

/* Loading state */
.notification-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 1.5rem;
  color: #64748b;
  font-size: 0.85rem;
}

.notification-loading__spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(56, 189, 248, 0.15);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: notification-spin 0.8s linear infinite;
}

@keyframes notification-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error state */
.notification-error {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #f87171;
  font-size: 0.85rem;
}

/* Topbar actions */
.app-topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .notification-modal {
    padding: max(0.75rem, env(safe-area-inset-top, 0px)) 0
      max(0.75rem, env(safe-area-inset-bottom, 0px));
    align-items: stretch;
    justify-content: stretch;
  }

  .notification-modal__content {
    max-width: 100%;
    max-height: calc(
      100dvh - max(0.75rem, env(safe-area-inset-top, 0px)) -
        max(0.75rem, env(safe-area-inset-bottom, 0px))
    );
    border-radius: 18px 18px 0 0;
  }

  .notification-modal__header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, #0f172a 0%, #0a1120 100%);
  }
}

/* Notifications page (mobile-first, também no desktop) */
.notifications-page {
  position: relative;
}

.notifications-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.notifications-page__tabs {
  margin-top: 1rem;
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
}

.notifications-page__tab {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notifications-page__tab.is-active {
  color: #e0f2fe;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.24), rgba(16, 185, 129, 0.2));
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.notifications-page__list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.notifications-page__empty {
  text-align: center;
  padding: 2.2rem 1.2rem;
}

.notifications-page__empty-icon {
  font-size: 1.8rem;
  opacity: 0.45;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.notifications-page__empty-title {
  margin: 0;
  font-size: 1rem;
  color: #f8fafc;
  font-weight: 600;
}

.notifications-page__empty-text {
  margin: 0.35rem 0 0;
  font-size: 0.83rem;
  color: #94a3b8;
}

.notifications-page__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .notification-modal__header {
    gap: 0.45rem;
  }

  .notification-modal__icon-btn,
  .notification-modal__close {
    width: 30px;
    height: 30px;
  }

  .notifications-page {
    margin-top: 0.2rem;
  }

  [data-jogo-item] {
    align-items: flex-start;
    gap: 0.75rem;
    flex-direction: column;
  }

  [data-jogo-item] > div:first-child {
    width: 100%;
  }

  [data-jogo-item] [data-edit-jogo] {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    min-height: 42px;
  }

  .unlock-form form,
  .unlock-form .flex.gap-2 {
    width: 100%;
  }

  .unlock-form .btn-secondary,
  .unlock-form .input-control {
    width: 100%;
  }

  .admin-jogo-modal {
    z-index: 90 !important;
    padding: 1rem 0.75rem;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-jogo-modal__panel {
    width: 100%;
    max-width: 100%;
    height: min(88dvh, calc(100dvh - 2rem));
    min-height: 0;
    padding: 3.2rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
    border-radius: 18px 18px 12px 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 0;
  }

  .admin-jogo-modal__header {
    padding-right: 2rem;
    margin-bottom: 0.85rem;
    align-items: flex-start;
    gap: 0.75rem;
    flex-direction: column;
  }

  .admin-jogo-modal__form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  .admin-jogo-modal__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.1rem;
    padding-bottom: 0.35rem;
  }

  .admin-jogo-modal__body::-webkit-scrollbar {
    width: 6px;
  }

  .admin-jogo-modal__body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.28);
    border-radius: 999px;
  }

  .admin-jogo-modal__footer {
    position: relative;
    margin-top: auto;
    padding-top: 0.8rem;
    padding-bottom: max(0.9rem, env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.98) 24%);
    justify-content: stretch;
  }

  .admin-jogo-modal__footer .btn-secondary,
  .admin-jogo-modal__footer .btn-primary {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .admin-jogo-modal__footer > :first-child {
    width: 100%;
  }

  .admin-jogo-modal__panel #modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    z-index: 5;
    touch-action: manipulation;
  }
}

@media (max-width: 480px) {
  .admin-jogo-modal {
    padding: max(1rem, env(safe-area-inset-top, 0px)) 0.45rem
      max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .admin-jogo-modal__panel {
    height: calc(
      100dvh - max(1rem, env(safe-area-inset-top, 0px)) -
        max(0.8rem, env(safe-area-inset-bottom, 0px))
    );
    border-radius: 18px 18px 0 0;
  }

  .admin-jogo-modal__header .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .admin-jogo-modal__panel #modal-close {
    top: max(0.75rem, env(safe-area-inset-top, 0px));
  }
}

@media (display-mode: standalone) and (max-width: 480px) {
  .notification-modal {
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(0.9rem, env(safe-area-inset-bottom, 0px));
  }

  .notification-modal__content {
    max-height: calc(
      100dvh - max(1rem, env(safe-area-inset-top, 0px)) -
        max(0.9rem, env(safe-area-inset-bottom, 0px))
    );
  }
}

/* Survey modal */
.survey-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.survey-modal.is-open {
  pointer-events: auto;
}

.survey-modal.is-visible {
  opacity: 1;
}

.survey-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(4px);
}

.survey-modal__content {
  position: relative;
  z-index: 1;
  width: min(640px, 96vw);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(3, 10, 28, 0.98));
  box-shadow: 0 28px 58px -28px rgba(8, 47, 73, 0.7);
  padding: 1.2rem 1.2rem 1.1rem;
}

.survey-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.survey-modal__close:hover {
  border-color: rgba(56, 189, 248, 0.6);
  color: #f8fafc;
}

.survey-modal__kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #67e8f9;
}

.survey-modal__title {
  margin-top: 0.45rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: #f8fafc;
}

.survey-modal__text {
  margin-top: 0.55rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.survey-modal__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.survey-modal__link-btn {
  border: 0;
  background: transparent;
  color: #7dd3fc;
  font-size: 0.84rem;
  padding: 0.45rem 0.2rem;
  cursor: pointer;
}

.survey-modal__link-btn:hover {
  color: #bae6fd;
}

.survey-form__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.9rem;
}

.survey-form__block {
  margin-bottom: 0.95rem;
}

.survey-form__label {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 0.45rem;
  display: block;
}

.survey-form__label span {
  color: #fda4af;
}

.survey-rating-grid,
.survey-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.45rem;
}

.survey-rating-grid label,
.survey-check-grid label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  background: rgba(15, 23, 42, 0.45);
  font-size: 0.82rem;
  color: #e2e8f0;
}

.survey-nps-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.survey-nps-value {
  width: 38px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.12);
  color: #67e8f9;
  font-weight: 700;
}

.survey-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.survey-stars label {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  background: rgba(15, 23, 42, 0.45);
  color: #fcd34d;
  font-size: 0.9rem;
}

.survey-stars input {
  margin-right: 0.35rem;
}

.survey-form__actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.survey-form__feedback {
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.survey-form__feedback.is-error {
  color: #fda4af;
}

.survey-form__feedback.is-success {
  color: #86efac;
}

@media (max-width: 768px) {
  .survey-modal {
    padding: 0.5rem;
  }

  .survey-modal__content {
    width: 100%;
    max-height: calc(100vh - 1rem);
    border-radius: 14px;
    padding: 1rem 0.95rem;
  }

  .survey-modal__title {
    font-size: 1.2rem;
    padding-right: 2rem;
  }

  .survey-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .survey-form__actions {
    justify-content: stretch;
  }

  .survey-form__actions .btn-secondary,
  .survey-form__actions .btn-primary {
    width: 100%;
  }
}

/* Admin research */
.admin-research-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}

.admin-research-filters__actions {
  display: flex;
  align-items: flex-end;
}

.admin-research-table th,
.admin-research-table td {
  padding: 0.7rem 0.75rem;
  vertical-align: top;
}

.admin-research-table thead th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94a3b8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.admin-research-table tbody tr {
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

.admin-research-user {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.admin-research-user__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-weight: 700;
  overflow: hidden;
}

.admin-research-user__avatar--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-research-user__nick {
  display: block;
  font-size: 0.76rem;
  color: #7dd3fc;
}

.admin-research-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  color: #e2e8f0;
}

.admin-research-pill--nps {
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.admin-research-pill--stars {
  border-color: rgba(250, 204, 21, 0.4);
  color: #fde68a;
}

.admin-research-pill--exp {
  border-color: rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

.admin-research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-research-tag {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(14, 116, 144, 0.15);
  color: #bae6fd;
  font-size: 0.72rem;
  padding: 0.16rem 0.45rem;
}

.admin-research-comment {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.45;
  font-size: 0.81rem;
  max-width: 320px;
}

.admin-research-pagination {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-research-pagination a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.8rem;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.55);
}

.admin-research-pagination a.is-active {
  border-color: rgba(56, 189, 248, 0.58);
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   SPOTLIGHT SEARCH (Cmd+K)
   ========================================================================== */
.spotlight-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.spotlight-backdrop.spotlight-open {
  opacity: 1;
  visibility: visible;
}

.spotlight-modal {
  width: 100%;
  max-width: 580px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: scale(0.95) translateY(-10px);
  transition: transform 0.15s ease;
}

.spotlight-open .spotlight-modal {
  transform: scale(1) translateY(0);
}

.spotlight-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.spotlight-input-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}

.spotlight-input-icon svg {
  width: 100%;
  height: 100%;
}

.spotlight-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: #f8fafc;
  font-family: inherit;
}

.spotlight-input::placeholder {
  color: #64748b;
}

.spotlight-kbd {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.7rem;
  color: #64748b;
  font-family: inherit;
}

.spotlight-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 0.5rem;
}

.spotlight-group {
  margin-bottom: 0.5rem;
}

.spotlight-group-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

.spotlight-group-label svg {
  width: 0.85rem;
  height: 0.85rem;
}

.spotlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.spotlight-item:hover,
.spotlight-item--selected {
  background: rgba(59, 130, 246, 0.15);
}

.spotlight-item-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
}

.spotlight-item-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.spotlight-item-avatar {
  padding: 0;
  overflow: hidden;
}

.spotlight-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-item-emoji {
  font-size: 1.2rem;
  background: transparent;
}

.spotlight-item--selected .spotlight-item-icon {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.spotlight-item--selected .spotlight-item-emoji {
  background: rgba(59, 130, 246, 0.2);
}

.spotlight-item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.spotlight-item-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-item-sublabel {
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-item-arrow {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: #475569;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.spotlight-item-arrow svg {
  width: 100%;
  height: 100%;
}

.spotlight-item:hover .spotlight-item-arrow,
.spotlight-item--selected .spotlight-item-arrow {
  opacity: 1;
}

.spotlight-empty,
.spotlight-loading {
  padding: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

.spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(15, 23, 42, 0.5);
}

.spotlight-footer span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: #64748b;
}

.spotlight-footer kbd {
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.65rem;
  font-family: inherit;
}

@media (max-width: 640px) {
  .spotlight-backdrop {
    padding: 1rem;
    padding-top: 10vh;
  }

  .spotlight-modal {
    max-width: 100%;
  }

  .spotlight-input {
    font-size: 1rem;
  }

  .spotlight-footer {
    display: none;
  }
}

/* ==========================================================================
   ANNOUNCEMENT MODAL
   ========================================================================== */
.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.announcement-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.announcement-modal.is-closing {
  opacity: 0;
}

.announcement-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 15, 0.85);
  backdrop-filter: blur(4px);
}

.announcement-modal__content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 820px);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(6, 12, 25, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.7);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.announcement-modal.is-visible .announcement-modal__content {
  transform: translateY(0) scale(1);
}

.announcement-modal.is-closing .announcement-modal__content {
  transform: translateY(-20px) scale(0.95);
}

.announcement-modal__image {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.5);
}

.announcement-modal__image img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.announcement-modal--has-image .announcement-modal__content {
  max-width: 420px;
}

.announcement-modal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.announcement-modal__icon {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.announcement-modal__icon svg {
  width: 100%;
  height: 100%;
}

.announcement-modal__header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}

.announcement-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #cbd5e1;
  white-space: pre-line;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.announcement-modal__body::-webkit-scrollbar {
  width: 8px;
}

.announcement-modal__body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.45);
  border-radius: 999px;
}

.announcement-modal__body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.75), rgba(16, 185, 129, 0.75));
  border-radius: 999px;
}

.announcement-modal__body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.9), rgba(16, 185, 129, 0.9));
}

.announcement-modal__footer {
  padding: 1rem 1.5rem 1.5rem;
}

.announcement-modal__footer .btn-primary {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Tipos de aviso */
.announcement-modal--info .announcement-modal__header {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
}

.announcement-modal--success .announcement-modal__header {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), transparent);
}

.announcement-modal--warning .announcement-modal__header {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), transparent);
}

.announcement-modal--urgent .announcement-modal__header {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), transparent);
}

.announcement-modal--urgent .announcement-modal__content {
  border-color: rgba(239, 68, 68, 0.3);
}

@media (max-width: 480px) {
  .announcement-modal {
    padding: 1rem 0.85rem calc(1rem + env(safe-area-inset-bottom));
    align-items: center;
  }

  .announcement-modal__content {
    width: min(100%, 430px);
    max-height: min(82dvh, 680px);
    border-radius: 1.05rem;
    margin: 0 auto;
  }

  .announcement-modal__body {
    padding: 1.1rem 1rem;
  }
}

/* ==================== PROGRESSO DE PALPITES ==================== */

.palpite-progress-bar {
  position: sticky;
  top: 0.75rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(16px) saturate(120%);
  box-shadow:
    0 18px 40px rgba(2, 6, 23, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.palpite-progress-bar.is-fixed {
  position: fixed;
  left: 1rem;
  right: 1rem;
  max-width: 900px;
  margin: 0 auto;
}


.palpite-complete-toast {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.palpite-complete-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.palpite-complete-toast__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(2px);
}

.palpite-complete-toast__card {
  position: relative;
  width: min(320px, 84vw);
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.35), rgba(34, 197, 94, 0.15));
  color: #ecfdf3;
  text-align: center;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.55);
  transform: scale(0.95);
  transition: transform 0.2s ease;
  animation: palpite-toast-pulse 0.9s ease;
}

.palpite-complete-toast__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 253, 243, 0.45);
  background: rgba(2, 6, 23, 0.35);
  color: #ecfdf3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.palpite-complete-toast__close:hover,
.palpite-complete-toast__close:focus-visible {
  background: rgba(2, 6, 23, 0.62);
  border-color: rgba(236, 253, 243, 0.75);
  outline: none;
}

.palpite-complete-toast__close:active {
  transform: scale(0.96);
}

.palpite-complete-toast.is-visible .palpite-complete-toast__card {
  transform: scale(1);
}

.palpite-complete-toast__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(167, 243, 208, 0.55);
  color: #bbf7d0;
}

.palpite-complete-toast__title {
  font-size: 1rem;
  font-weight: 700;
}

.palpite-complete-toast__subtitle {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(236, 253, 243, 0.85);
}

@keyframes palpite-toast-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35); }
  70% { box-shadow: 0 0 0 18px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (max-width: 768px) {
  .palpite-progress-bar {
    display: none !important;
  }

  .palpite-progress-bar {
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    gap: 0.35rem;
  }

  .palpite-progress-bar__status {
    display: none;
  }

  .palpite-progress-bar__count {
    font-size: 0.85rem;
  }

  .palpite-progress-bar__meter {
    height: 4px;
  }

  .palpite-complete-toast__card {
    width: min(320px, 86vw);
  }
}

.palpite-progress-bar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.palpite-progress-bar__eyebrow {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.7);
}

.palpite-progress-bar__count {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

.palpite-progress-bar__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.95);
}

.palpite-progress-bar__check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #34d399;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.palpite-progress-bar__meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.palpite-progress-bar__meter span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #34d399);
  transition: width 0.3s ease;
}

.palpite-progress-bar.is-complete .palpite-progress-bar__check {
  transform: scale(1);
  opacity: 1;
}

.palpite-progress-bar.is-complete .palpite-progress-bar__meter span {
  background: linear-gradient(90deg, #34d399, #10b981);
}

.compare-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compare-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}

.compare-hero-actions {
  display: flex;
  gap: 12px;
}

.compare-selector {
  padding: 20px 24px;
}

.compare-selector-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.compare-bolao-select {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.compare-bolao-select--hero {
  margin-top: 14px;
}

.compare-bolao-select select {
  appearance: none;
  padding: 0 24px 0 0;
  border: none;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.compare-bolao-select select:focus {
  outline: none;
  color: #7dd3fc;
}

.compare-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #e2e8f0;
}

.compare-section-sub {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
}

.compare-selector-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.7);
  font-size: 12px;
  color: #e2e8f0;
}

.compare-chip button {
  border: none;
  background: transparent;
  color: rgba(148, 163, 184, 0.9);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.compare-input-wrap {
  position: relative;
}

.compare-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  font-size: 13px;
}

.compare-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.6);
}

.compare-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 20;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compare-option {
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #e2e8f0;
  font-size: 12px;
  cursor: pointer;
}

.compare-option:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.1);
}

.compare-option.hidden {
  display: none;
}

.compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  margin-left: 6px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.compare-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.compare-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
}

.compare-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-name {
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
}

.compare-fullname {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
}

.compare-profile-link {
  margin-left: auto;
  font-size: 12px;
  color: #7dd3fc;
}

.compare-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.compare-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.compare-metric-label {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.compare-metric-value {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
}

.compare-bars {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.compare-bar-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-bar-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.8);
}

.compare-bar-item {
  display: grid;
  grid-template-columns: 120px 1fr 50px;
  align-items: center;
  gap: 12px;
}

.compare-bar-name {
  font-size: 12px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-bar-track {
  background: rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.compare-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.9), rgba(34, 211, 238, 0.8));
  border-radius: 999px;
}

.compare-bar-fill.is-leader {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.9));
}

.compare-bar-value {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.9);
  text-align: right;
}

.ranking-compare-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  background: rgba(14, 116, 144, 0.16);
  color: rgba(125, 211, 252, 0.9);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ranking-compare-link:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 116, 144, 0.3);
  color: #e0f2fe;
}

.ranking-compare-link:focus-visible {
  outline: 2px solid var(--ui-focus-ring);
  outline-offset: 2px;
  border-radius: 999px;
}


@media (max-width: 768px) {
  .compare-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-selector-header {
    align-items: flex-start;
  }

  .compare-bar-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .compare-bar-value {
    text-align: left;
  }
}
.compare-hero-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compare-hero-select {
  appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  padding-right: 28px;
  cursor: pointer;
  line-height: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23e2e8f0' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.compare-hero-select:focus {
  outline: none;
  color: #7dd3fc;
}
/* AdSense slots */
.landing-section--ads {
    padding: 1.1rem 0 1.4rem;
}

.adsense-slot {
    margin: 16px 0 24px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.4);
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.adsense-slot ins {
    width: 100%;
    min-height: 90px;
}

.adsense-slot__label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.92);
}

.adsense-slot--institutional {
    margin: 0;
    background: rgba(15, 23, 42, 0.32);
}

@media (max-width: 900px) {
    .landing-section--ads {
        padding: 0.8rem 0 1rem;
    }
}

@media (max-width: 768px) {
    .adsense-slot--bolao,
    .desktop-only {
        display: none !important;
    }
}

/* Copa 2026 landing + countdown institutional */
.copa-home-countdown {
  margin-top: 1.25rem;
  width: min(720px, 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(2px);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.copa-home-countdown__head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.copa-home-countdown__event {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7dd3fc;
}

.copa-home-countdown__date {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.88);
}

.copa-home-countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(56px, 1fr));
  gap: 0.55rem;
}

.copa-home-countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.8);
  min-width: 56px;
  padding: 0.45rem 0.5rem;
}

.copa-home-countdown__item strong {
  font-size: 1.1rem;
  color: #f8fafc;
}

.copa-home-countdown__item span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.86);
}

.copa-landing-page .landing-banner--fullscreen {
  padding: 6.15rem 6vw 2.6rem;
}

.copa-landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 4vw;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.72));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.copa-landing-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.copa-landing-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f8fafc;
  font-weight: 600;
}

.copa-landing-header__logo .app-logo {
  width: 34px;
  height: 34px;
}

.copa-landing-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.copa-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-content: center;
  background-image:
    linear-gradient(132deg, rgba(2, 6, 23, 0.32), rgba(2, 6, 23, 0.2)),
    url('../img/copa-2026.png');
  background-position: center;
  background-size: cover;
}

.copa-hero::after {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.26), rgba(2, 6, 23, 0.62));
}

.copa-hero--centered .landing-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.copa-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  padding-top: 0;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copa-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.6);
  color: #a7f3d0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.24), rgba(14, 165, 233, 0.18));
}

.copa-hero__title {
  margin-top: 0.75rem;
  font-size: clamp(2.2rem, 5.2vw, 5rem);
  line-height: 1.1;
  font-weight: 800;
  color: #f8fafc;
  text-wrap: balance;
  max-width: 18ch;
}

.copa-hero__subtitle {
  margin-top: 0.7rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 1.02rem;
  max-width: 56ch;
}

.copa-hero__countdown-label {
  margin: 0.8rem 0 0;
  color: rgba(191, 219, 254, 0.94);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.copa-countdown-inline {
  margin-top: 0.7rem;
}

.copa-countdown-inline--hero {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.copa-countdown-inline__number {
  font-size: clamp(2.8rem, 8.8vw, 6.3rem);
  font-weight: 800;
  line-height: 1;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.copa-countdown-inline__separator {
  color: rgba(226, 232, 240, 0.86);
  font-size: clamp(2.4rem, 7.2vw, 5.2rem);
  font-weight: 700;
  line-height: 0.92;
}


.copa-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.copa-prize {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.copa-prize__visual {
  display: flex;
  justify-content: center;
}

.copa-shirt-mock {
  width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: 1.1rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: linear-gradient(145deg, rgba(22, 78, 99, 0.95), rgba(5, 150, 105, 0.72));
  box-shadow: 0 25px 55px -30px rgba(16, 185, 129, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.copa-shirt-mock span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(240, 253, 250, 0.95);
}

.copa-shirt-mock strong {
  font-size: 2.3rem;
  color: #ecfeff;
}

.copa-ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.copa-ranking-list li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.72);
  padding: 0.7rem 0.85rem;
}

.copa-ranking-list__pos {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(2, 132, 199, 0.2);
  font-weight: 700;
}

.copa-ranking-list__name {
  color: #f8fafc;
  font-weight: 600;
}

.copa-ranking-list__pts {
  color: #a7f3d0;
}

.copa-waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.copa-waitlist-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
}

.copa-waitlist-modal__panel {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  margin: 9vh auto 0;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 30px 70px -36px rgba(2, 6, 23, 0.95);
}

.copa-waitlist-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: rgba(148, 163, 184, 0.9);
  font-size: 1.7rem;
  cursor: pointer;
}

.copa-waitlist-modal__panel h3 {
  font-size: 1.2rem;
  color: #f8fafc;
  margin-bottom: 0.45rem;
  padding-right: 1.7rem;
}

.copa-waitlist-modal__text {
  color: rgba(203, 213, 225, 0.88);
  margin-bottom: 0.95rem;
}

.copa-waitlist-modal__field {
  margin-bottom: 0.65rem;
}

.copa-waitlist-modal__field label {
  display: block;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.86);
  margin-bottom: 0.28rem;
}

.copa-waitlist-modal__field input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  padding: 0.62rem 0.75rem;
}

.copa-waitlist-modal__feedback {
  margin-top: 0.65rem;
  min-height: 1.15rem;
  font-size: 0.82rem;
  color: #86efac;
}

.copa-waitlist-modal__feedback.is-error {
  color: #fca5a5;
}

@media (max-width: 960px) {
  .copa-countdown-inline--hero {
    gap: 0.18rem;
  }

  .copa-prize {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .copa-landing-page .landing-banner--fullscreen {
    padding: 6.3rem 5vw 2rem;
  }

  .copa-hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

/* Stats page */
.stats-page-header {
  border-color: rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(6, 182, 212, 0.12), transparent 52%),
    linear-gradient(140deg, rgba(8, 47, 73, 0.28), rgba(15, 23, 42, 0.92));
  box-shadow: 0 16px 28px rgba(2, 8, 23, 0.35);
}

.stats-page-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.stats-page-mode-switch__segment {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.58);
}

.stats-page-mode-switch__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 2.2rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.82);
  transition: all 0.18s ease;
}

.stats-page-mode-switch__option.is-active {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(56, 189, 248, 0.34);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.35);
}

.stats-page-mode-switch__copy {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ui-text-muted);
}

.stats-page-filters__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px) auto;
  gap: 0.85rem;
  align-items: end;
}

.stats-page-filters__form--general {
  grid-template-columns: minmax(0, 280px) auto;
  justify-content: flex-start;
}

.stats-page-filters__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
  margin-bottom: 0.35rem;
}

.stats-page-filters__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.stats-page-filters__helper {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--ui-text-muted);
}

.stats-page-context__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stats-page-context__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.64rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.stats-page-context__pill--cyan {
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(8, 47, 73, 0.45);
}

.stats-page-context__pill--slate {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.48);
}

.stats-page-context__pill--blue {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(30, 58, 138, 0.24);
}

.stats-page-context__warning {
  margin-top: 0.65rem;
  padding: 0.62rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(120, 53, 15, 0.22);
  color: #fde68a;
  font-size: 0.84rem;
  line-height: 1.45;
}

.stats-page-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stats-page-insights__card {
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  padding: 0.88rem 0.92rem;
}

.stats-page-insights__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
}

.stats-page-insights__value {
  margin-top: 0.42rem;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 700;
  color: #f8fafc;
}

.stats-page-insights__meta {
  margin-top: 0.38rem;
  font-size: 0.84rem;
  color: var(--ui-text-muted);
}

.stats-page-general-overview__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stats-page-general-overview__highlight {
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  padding: 0.88rem 0.92rem;
}

.stats-page-general-overview__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
}

.stats-page-general-overview__value {
  margin-top: 0.42rem;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 700;
  color: #f8fafc;
}

.stats-page-general-overview__meta {
  margin-top: 0.38rem;
  font-size: 0.84rem;
  color: var(--ui-text-muted);
}

.stats-page-general-overview__list {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.stats-page-general-overview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.8rem 0.88rem;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.stats-page-general-overview__row:hover {
  border-color: rgba(56, 189, 248, 0.34);
  transform: translateY(-1px);
}

.stats-page-general-overview__row-main {
  min-width: 0;
}

.stats-page-general-overview__row-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #f8fafc;
}

.stats-page-general-overview__row-subtitle {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--ui-text-muted);
}

.stats-page-general-overview__row-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stats-page-general-overview__row-stats span {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.54rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
  font-size: 0.77rem;
  color: rgba(226, 232, 240, 0.9);
}

.stats-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.stats-page-kpi {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(118deg, rgba(14, 116, 144, 0.2), rgba(14, 116, 144, 0) 34%),
    linear-gradient(300deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0) 40%),
    linear-gradient(158deg, rgba(15, 23, 42, 0.96), rgba(8, 20, 44, 0.93) 55%, rgba(6, 14, 34, 0.94));
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.32);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.stats-page-kpi::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.045), rgba(248, 250, 252, 0) 26%);
  pointer-events: none;
}

.stats-page-kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.38);
  box-shadow: 0 14px 34px rgba(2, 8, 23, 0.48);
}

.stats-page-kpi__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ui-text-muted);
}

.stats-page-kpi__value {
  margin-top: 0.62rem;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.15;
  text-shadow: 0 4px 14px rgba(34, 211, 238, 0.22);
}

.stats-page-kpi__value--md {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.25;
}

.stats-page-kpi__meta {
  margin-top: 0.52rem;
  font-size: 0.86rem;
  color: var(--ui-text-muted);
}

.stats-page-kpi__team {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.stats-page-team-badge {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stats-page-team-badge--image {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.stats-page-team-badge--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stats-page-team-badge--fallback {
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.stats-page-kpi--accent-cyan .stats-page-kpi__value {
  background: linear-gradient(120deg, #7dd3fc, #22d3ee 55%, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-page-kpi--accent-violet .stats-page-kpi__value {
  background: linear-gradient(120deg, #d8b4fe, #c084fc 58%, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-page-kpi--accent-blue .stats-page-kpi__value {
  background: linear-gradient(120deg, #bfdbfe, #60a5fa 55%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-page-kpi--accent-emerald .stats-page-kpi__value {
  background: linear-gradient(120deg, #bbf7d0, #34d399 55%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-page-kpi--accent-orange .stats-page-kpi__value {
  background: linear-gradient(120deg, #fde68a, #f59e0b 55%, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-page-chart__head,
.stats-page-compare__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.stats-page-chart__actions {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.stats-page-chart__window {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ui-text-muted);
}

.stats-page-chart__share {
  white-space: nowrap;
}

.stats-page-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ui-text-strong);
}

.stats-page-subtitle {
  margin-top: 0.28rem;
  font-size: 0.88rem;
  color: var(--ui-text-muted);
}

.stats-page-chart {
  min-height: 260px;
}

.stats-page-chart__fallback {
  display: inline-block;
  font-size: 0.86rem;
  color: var(--ui-text-muted);
}

.stats-page-chart.is-ready .stats-page-chart__fallback {
  display: none;
}

.stats-chart-tooltip {
  min-width: 180px;
  padding: 0.65rem 0.72rem;
  border-radius: 0.7rem;
  background: rgba(2, 6, 23, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.5);
}

.stats-chart-tooltip__title {
  margin: 0 0 0.42rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}

.stats-chart-tooltip__row {
  margin: 0.12rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.stats-chart-tooltip__row strong {
  color: #f8fafc;
  font-weight: 700;
}

.stats-chart-tooltip__delta {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: #67e8f9;
}

.stats-page-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.stats-page-compare-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.78rem;
  align-items: stretch;
}

.stats-page-compare-preview__card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  background:
    linear-gradient(125deg, rgba(6, 182, 212, 0.08), rgba(6, 182, 212, 0) 36%),
    linear-gradient(150deg, rgba(15, 23, 42, 0.92), rgba(7, 32, 58, 0.86));
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.34);
}

.stats-page-compare-preview__card--me {
  border-color: rgba(34, 211, 238, 0.34);
}

.stats-page-compare-preview__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 240, 0.72);
}

.stats-page-compare-preview__name {
  margin-top: 0.35rem;
  font-size: 1.12rem;
  font-weight: 600;
  color: #f8fafc;
}

.stats-page-compare-preview__rank {
  margin-top: 0.18rem;
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.8);
}

.stats-page-compare-preview__points {
  margin-top: 0.52rem;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: #f8fafc;
}

.stats-page-compare-preview__points span {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.82);
}

.stats-page-compare-preview__chips {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.stats-page-compare-preview__chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
  font-size: 0.77rem;
  color: rgba(226, 232, 240, 0.9);
}

.stats-page-compare-preview__vs {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.78);
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.stats-page-compare-preview__summary {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.stats-page-compare-preview__summary--up {
  color: #6ee7b7;
}

.stats-page-compare-preview__summary--down {
  color: #fda4af;
}

.stats-page-compare-preview__summary--tie {
  color: #bae6fd;
}

.stats-page-compare-preview__actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

.stats-page-empty-inline {
  border: 1px dashed rgba(148, 163, 184, 0.25);
  border-radius: 0.9rem;
  padding: 1rem;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .stats-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .stats-page-mode-switch__segment {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-page-mode-switch__option {
    min-width: 0;
    width: 100%;
  }

  .stats-page-filters__form {
    grid-template-columns: 1fr;
  }

  .stats-page-filters__actions {
    justify-content: flex-start;
  }

  .stats-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-page-insights__grid {
    grid-template-columns: 1fr;
  }

  .stats-page-general-overview__highlights {
    grid-template-columns: 1fr;
  }

  .stats-page-general-overview__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-page-general-overview__row-stats {
    justify-content: flex-start;
  }

  .stats-page-compare-preview {
    grid-template-columns: 1fr;
  }

  .stats-page-compare-preview__vs {
    display: none;
  }
}

@media (max-width: 640px) {
  .stats-page-grid {
    grid-template-columns: 1fr;
  }

  .stats-page-chart__head,
  .stats-page-compare__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-page-chart__actions {
    width: 100%;
    align-items: flex-start;
  }

  .stats-page-header__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-page-compare-preview__actions {
    justify-content: flex-start;
  }
}

.admin-boloes-create-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-boloes-create-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-boloes-create-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.admin-boloes-create-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.75);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-boloes-hub {
  margin-bottom: 1rem;
}

.admin-boloes-hub__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-boloes-hub__stats,
.admin-boloes-hub__meta,
.admin-boloes-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-boloes-hub__pill,
.admin-boloes-hub__meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: rgba(15, 23, 42, 0.6);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.75rem;
}

.admin-boloes-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.admin-boloes-list__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(30, 41, 59, 0.9);
  background: rgba(2, 6, 23, 0.62);
}

.admin-boloes-list__main {
  min-width: 0;
  flex: 1 1 320px;
}

.admin-boloes-list__meta,
.admin-boloes-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-boloes-list__meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: rgba(15, 23, 42, 0.52);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.74rem;
}

html[data-theme='light'] .admin-boloes-hub__pill {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(241, 245, 249, 0.96);
  color: #334155;
}

html[data-theme='light'] .admin-boloes-list__row {
  border-color: rgba(203, 213, 225, 0.92);
  background: rgba(248, 250, 252, 0.98);
}

html[data-theme='light'] .admin-boloes-list__row .text-white {
  color: #0f172a !important;
}

html[data-theme='light'] .admin-boloes-list__row .text-slate-400 {
  color: #64748b !important;
}

html[data-theme='light'] .admin-boloes-list__meta-pill {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(241, 245, 249, 0.92);
  color: #334155;
}

.bolao-create-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bolao-create-modal.is-open {
  display: flex;
}

.bolao-create-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
}

.bolao-create-modal__panel {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.96));
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.42);
  overflow: hidden;
}

.bolao-create-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
}

.bolao-create-modal__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: rgba(226, 232, 240, 0.9);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.bolao-create-modal__form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.bolao-create-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 1rem 1.4rem 0;
}

.bolao-create-step-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(30, 41, 59, 0.8);
  background: rgba(15, 23, 42, 0.45);
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
}

.bolao-create-step-pill.is-active,
.bolao-create-step-pill.is-complete {
  border-color: rgba(16, 185, 129, 0.45);
  color: rgba(226, 232, 240, 0.96);
}

.bolao-create-step-pill__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.85);
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.74rem;
}

.bolao-create-step-pill.is-active .bolao-create-step-pill__index,
.bolao-create-step-pill.is-complete .bolao-create-step-pill__index {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(14, 116, 144, 0.85));
}

.bolao-create-modal__body {
  padding: 1rem 1.4rem;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
}

.bolao-create-step {
  display: none;
}

.bolao-create-step.is-active {
  display: block;
}

.bolao-create-step__intro h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.bolao-create-step__intro p {
  margin: 0.45rem 0 0;
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.95rem;
}

.bolao-create-choice-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.bolao-create-choice {
  text-align: left;
  width: 100%;
  padding: 1.1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(30, 41, 59, 0.92);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.8));
  color: rgba(226, 232, 240, 0.95);
  display: grid;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bolao-create-choice:hover:not(.is-disabled),
.bolao-create-choice.is-selected {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.24);
}

.bolao-create-choice strong {
  font-size: 1rem;
}

.bolao-create-choice span:last-child {
  color: rgba(148, 163, 184, 0.94);
  font-size: 0.9rem;
}

.bolao-create-choice.is-disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.bolao-create-choice__badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: rgba(167, 243, 208, 0.98);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bolao-create-choice__badge--soon {
  background: rgba(249, 115, 22, 0.12);
  color: rgba(254, 215, 170, 0.98);
}

.bolao-create-presets {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bolao-create-preset {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 0.95rem;
  background: rgba(15, 23, 42, 0.5);
  color: rgba(226, 232, 240, 0.95);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.22rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.bolao-create-preset strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.bolao-create-preset span {
  font-size: 0.84rem;
  color: rgba(148, 163, 184, 0.95);
}

.bolao-create-preset--recommended {
  border-color: rgba(16, 185, 129, 0.52);
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(6, 95, 70, 0.28), rgba(15, 23, 42, 0.62));
}

.bolao-create-preset--recommended strong {
  color: rgba(167, 243, 208, 0.98);
}

.bolao-create-preset--recommended span {
  color: rgba(209, 250, 229, 0.92);
}

.bolao-create-preset:hover,
.bolao-create-preset.is-selected {
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.2);
}

.bolao-create-hint {
  position: relative;
  display: inline-block;
  margin-left: 0.35rem;
  color: #f59e0b;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

.bolao-create-hint:hover,
.bolao-create-hint:focus-visible {
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.bolao-create-hint::after {
  content: attr(data-hint);
  position: absolute;
  left: 50%;
  top: calc(100% + 0.45rem);
  transform: translateX(-50%) translateY(-3px);
  width: max-content;
  max-width: 220px;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  background: rgba(2, 6, 23, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.98);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  pointer-events: none;
  z-index: 50;
}

.bolao-create-hint::before {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(100% + 0.12rem);
  transform: translateX(-50%);
  border: 0.3rem solid transparent;
  border-bottom-color: rgba(2, 6, 23, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
  pointer-events: none;
  z-index: 51;
}

.bolao-create-hint:hover::after,
.bolao-create-hint:hover::before,
.bolao-create-hint:focus-visible::after,
.bolao-create-hint:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

.bolao-create-hint:hover::after,
.bolao-create-hint:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

.bolao-create-hint:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.7);
  outline-offset: 2px;
}

.bolao-create-booster-title {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.bolao-create-booster-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: #c084fc;
  display: inline-flex;
}

.bolao-create-booster-icon svg {
  width: 100%;
  height: 100%;
}

.bolao-create-sim-card {
  border: 1px dashed rgba(56, 189, 248, 0.36);
  border-radius: 0.95rem;
  background: rgba(8, 47, 73, 0.22);
  padding: 0.95rem 1rem;
}

.bolao-create-sim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.bolao-create-sim-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.36);
  color: rgba(186, 230, 253, 0.96);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bolao-create-sim-ranking {
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: 0.8rem;
  overflow: hidden;
}

.bolao-create-sim-ranking__header,
.bolao-create-sim-ranking__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1.5fr) 64px 64px 64px 72px;
  gap: 0.4rem;
  align-items: center;
  padding: 0.58rem 0.72rem;
}

.bolao-create-sim-ranking__header {
  background: rgba(2, 6, 23, 0.55);
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bolao-create-sim-ranking__row {
  background: rgba(15, 23, 42, 0.52);
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.86rem;
}

.bolao-create-sim-ranking__pos {
  font-weight: 700;
  color: rgba(56, 189, 248, 0.95);
}

.bolao-create-sim-ranking__user {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.bolao-create-sim-avatar {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.98);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.85), rgba(16, 185, 129, 0.8));
}

.bolao-create-sim-usercopy {
  min-width: 0;
  display: grid;
  gap: 0.05rem;
}

.bolao-create-sim-usercopy strong {
  color: rgba(248, 250, 252, 0.98);
  font-size: 0.85rem;
  line-height: 1.1;
}

.bolao-create-sim-usercopy small {
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bolao-create-info-card,
.bolao-create-score-card,
.bolao-create-campeonato-preview {
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.48);
  padding: 1rem;
}

.bolao-create-info-card--field {
  min-height: 4.2rem;
  display: flex;
  align-items: center;
}

.bolao-create-info-card--field p {
  margin: 0;
  line-height: 1.35;
}

.bolao-create-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem 1.2rem;
  border-top: 1px solid rgba(30, 41, 59, 0.9);
}

.bolao-success-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bolao-success-modal.is-open {
  display: flex;
}

.bolao-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
}

.bolao-success-modal__panel {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  margin: 0;
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.96));
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.42);
  padding: 1.5rem;
  text-align: center;
}

.bolao-success-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: rgba(226, 232, 240, 0.9);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.bolao-success-modal__icon {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(167, 243, 208, 0.98);
  border: 1px solid rgba(16, 185, 129, 0.24);
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.42), rgba(15, 23, 42, 0.52));
}

.bolao-success-modal__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.92);
}

.bolao-success-modal__title {
  margin: 0.5rem 0 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #f8fafc;
}

.bolao-success-modal__text {
  margin: 0.8rem 0 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.82);
}

.bolao-success-modal__actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

html[data-theme='light'] .admin-boloes-create-pill,
html[data-theme='light'] .bolao-create-step-pill,
html[data-theme='light'] .bolao-create-choice,
html[data-theme='light'] .bolao-create-preset,
html[data-theme='light'] .bolao-create-info-card,
html[data-theme='light'] .bolao-create-score-card,
html[data-theme='light'] .bolao-create-campeonato-preview {
  background: rgba(248, 250, 252, 0.94);
  border-color: rgba(203, 213, 225, 0.95);
  color: #0f172a;
}

html[data-theme='light'] .bolao-create-modal__panel {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .bolao-create-modal__header,
html[data-theme='light'] .bolao-create-modal__footer {
  border-color: rgba(226, 232, 240, 0.98);
}

html[data-theme='light'] .bolao-create-step__intro h4,
html[data-theme='light'] .bolao-create-choice strong {
  color: #0f172a;
}

html[data-theme='light'] .bolao-create-step__intro p,
html[data-theme='light'] .bolao-create-choice span:last-child {
  color: #475569;
}

html[data-theme='light'] .bolao-create-choice__badge {
  background: rgba(16, 185, 129, 0.2);
  color: #047857;
}

html[data-theme='light'] .bolao-create-choice__badge--soon {
  background: rgba(249, 115, 22, 0.2);
  color: #b45309;
}

html[data-theme='light'] .bolao-create-choice.is-disabled {
  opacity: 1;
  background: rgba(241, 245, 249, 0.94);
  border-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .bolao-create-choice.is-disabled strong {
  color: #475569;
}

html[data-theme='light'] .bolao-create-choice.is-disabled span:last-child {
  color: #64748b;
}

html[data-theme='light'] .bolao-create-preset span {
  color: #64748b;
}

html[data-theme='light'] .bolao-create-preset--recommended {
  border-color: rgba(16, 185, 129, 0.48);
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.13), transparent 44%),
    linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(239, 246, 255, 0.96));
}

html[data-theme='light'] .bolao-create-preset--recommended strong {
  color: #047857;
}

html[data-theme='light'] .bolao-create-preset--recommended span {
  color: #065f46;
}

html[data-theme='light'] .bolao-create-preset:hover,
html[data-theme='light'] .bolao-create-preset.is-selected {
  border-color: rgba(14, 165, 233, 0.48);
}

html[data-theme='light'] .bolao-create-hint {
  color: #b45309;
  text-shadow: none;
}

html[data-theme='light'] .bolao-create-hint:hover,
html[data-theme='light'] .bolao-create-hint:focus-visible {
  color: #92400e;
}

html[data-theme='light'] .bolao-create-hint::after {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(148, 163, 184, 0.45);
  color: #0f172a;
}

html[data-theme='light'] .bolao-create-hint::before {
  border-bottom-color: rgba(255, 255, 255, 0.98);
}

html[data-theme='light'] .bolao-create-booster-icon {
  color: #7c3aed;
}

html[data-theme='light'] .bolao-create-sim-card {
  border-color: rgba(14, 165, 233, 0.34);
  background: rgba(239, 246, 255, 0.92);
}

html[data-theme='light'] .bolao-create-sim-badge {
  border-color: rgba(14, 165, 233, 0.34);
  color: #0369a1;
}

html[data-theme='light'] .bolao-create-sim-ranking {
  border-color: rgba(148, 163, 184, 0.3);
}

html[data-theme='light'] .bolao-create-sim-ranking__header {
  background: rgba(241, 245, 249, 0.98);
  color: #64748b;
}

html[data-theme='light'] .bolao-create-sim-ranking__row {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}

html[data-theme='light'] .bolao-create-sim-ranking__pos {
  color: #0369a1;
}

html[data-theme='light'] .bolao-create-sim-usercopy strong {
  color: #0f172a;
}

html[data-theme='light'] .bolao-create-sim-usercopy small {
  color: #64748b;
}

html[data-theme='light'] .bolao-create-modal__close {
  background: rgba(241, 245, 249, 0.95);
  color: #0f172a;
}

html[data-theme='light'] .bolao-success-modal__panel {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .bolao-success-modal__close {
  background: rgba(241, 245, 249, 0.95);
  color: #0f172a;
}

html[data-theme='light'] .bolao-success-modal__icon {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.18);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(240, 249, 255, 0.94));
}

html[data-theme='light'] .bolao-success-modal__title {
  color: #0f172a;
}

html[data-theme='light'] .bolao-success-modal__text {
  color: #475569;
}

@media (max-width: 640px) {
  .bolao-create-modal {
    padding: 0;
  }

  .bolao-create-modal__panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .bolao-success-modal__panel {
    width: min(100%, 560px);
    padding: 1.15rem;
  }

  .bolao-success-modal__actions {
    flex-direction: column;
  }

  .bolao-success-modal__actions .btn-primary,
  .bolao-success-modal__actions .btn-secondary {
    width: 100%;
  }

  .bolao-create-steps {
    padding-inline: 1rem;
  }

  .bolao-create-modal__header,
  .bolao-create-modal__body,
  .bolao-create-modal__footer {
    padding-inline: 1rem;
  }

  .bolao-create-modal__header {
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
  }

  .bolao-create-modal__body {
    -webkit-overflow-scrolling: touch;
  }

  .bolao-create-modal__footer {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .bolao-create-modal__footer > div:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
  }

  .bolao-create-modal__footer .btn-primary,
  .bolao-create-modal__footer .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .bolao-create-sim-card {
    padding: 0.78rem 0.8rem;
  }

  .bolao-create-sim-head {
    margin-bottom: 0.28rem;
  }

  .bolao-create-sim-ranking__header {
    display: none;
  }

  .bolao-create-sim-ranking__row {
    grid-template-columns: 24px repeat(4, minmax(0, 1fr));
    gap: 0.42rem;
    padding: 0.62rem 0.58rem;
    align-items: start;
  }

  .bolao-create-sim-ranking__pos {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-size: 1.15rem;
    line-height: 1;
    padding-top: 0.08rem;
  }

  .bolao-create-sim-ranking__user {
    grid-column: 2 / -1;
    grid-row: 1;
    gap: 0.46rem;
    align-items: flex-start;
  }

  .bolao-create-sim-avatar {
    width: 1.82rem;
    height: 1.82rem;
    font-size: 0.72rem;
  }

  .bolao-create-sim-usercopy strong {
    font-size: 0.95rem;
  }

  .bolao-create-sim-usercopy small {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    line-height: 1.25;
    font-size: 0.66rem;
    margin-top: 0.08rem;
  }

  .bolao-create-sim-ranking__row span:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .bolao-create-sim-ranking__row span:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }

  .bolao-create-sim-ranking__row span:nth-child(5) {
    grid-column: 4;
    grid-row: 2;
  }

  .bolao-create-sim-ranking__row span:nth-child(6) {
    grid-column: 5;
    grid-row: 2;
  }

  .bolao-create-sim-ranking__row span:nth-child(3),
  .bolao-create-sim-ranking__row span:nth-child(4),
  .bolao-create-sim-ranking__row span:nth-child(5),
  .bolao-create-sim-ranking__row span:nth-child(6) {
    min-width: 0;
    height: 1.72rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.34);
    background: rgba(2, 6, 23, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(226, 232, 240, 0.98);
  }

  .bolao-create-sim-ranking__row span:nth-child(3)::before {
    content: 'PTS ';
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    opacity: 0.78;
    margin-right: 0.18rem;
  }

  .bolao-create-sim-ranking__row span:nth-child(4)::before {
    content: 'CRAV ';
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    opacity: 0.78;
    margin-right: 0.18rem;
  }

  .bolao-create-sim-ranking__row span:nth-child(5)::before {
    content: 'RES ';
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    opacity: 0.78;
    margin-right: 0.18rem;
  }

  .bolao-create-sim-ranking__row span:nth-child(6)::before {
    content: 'BOOST ';
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    opacity: 0.78;
    margin-right: 0.18rem;
  }

  html[data-theme='light'] .bolao-create-sim-ranking__row span:nth-child(3),
  html[data-theme='light'] .bolao-create-sim-ranking__row span:nth-child(4),
  html[data-theme='light'] .bolao-create-sim-ranking__row span:nth-child(5),
  html[data-theme='light'] .bolao-create-sim-ranking__row span:nth-child(6) {
    border-color: rgba(14, 165, 233, 0.34);
    background: rgba(239, 246, 255, 0.98);
    color: #0f172a;
  }

  html[data-theme='light'] .bolao-create-sim-ranking__row span:nth-child(3)::before,
  html[data-theme='light'] .bolao-create-sim-ranking__row span:nth-child(4)::before,
  html[data-theme='light'] .bolao-create-sim-ranking__row span:nth-child(5)::before,
  html[data-theme='light'] .bolao-create-sim-ranking__row span:nth-child(6)::before {
    color: #0369a1;
    opacity: 1;
  }
}

.admin-bolao-hub {
  display: grid;
  gap: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.94));
}

.admin-bolao-hub__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-bolao-hub__title {
  margin: 0.2rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.admin-bolao-hub__subtitle {
  margin: 0.45rem 0 0;
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.94rem;
  max-width: 56rem;
}

.admin-bolao-hub__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-bolao-hub__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.82);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-bolao-hub__badge--highlight {
  border-color: rgba(16, 185, 129, 0.45);
  color: rgba(167, 243, 208, 0.98);
}

.admin-bolao-hub__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 1rem;
}

.admin-bolao-hub__stat {
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.48);
  padding: 1.05rem;
}

.admin-bolao-hub__stat-label {
  display: block;
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-bolao-hub__stat-value {
  display: block;
  margin-top: 0.45rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

.admin-bolao-hub__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.admin-bolao-hub__action {
  display: grid;
  gap: 0.6rem;
  padding: 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.95);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(2, 6, 23, 0.82));
  color: rgba(226, 232, 240, 0.94);
  text-decoration: none;
  align-content: start;
  min-height: 144px;
  box-shadow:
    inset 0 1px 0 rgba(148, 163, 184, 0.08),
    0 14px 24px rgba(2, 6, 23, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  position: relative;
  overflow: hidden;
}

.admin-bolao-hub__action:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.42);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(148, 163, 184, 0.1),
    0 18px 30px rgba(2, 6, 23, 0.24);
}

.admin-bolao-hub__action:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(148, 163, 184, 0.08),
    0 10px 18px rgba(2, 6, 23, 0.18);
}

.admin-bolao-hub__action strong {
  font-size: 1rem;
  color: #fff;
}

.admin-bolao-hub__action span:last-child {
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-bolao-hub__action-kicker {
  color: rgba(16, 185, 129, 0.92);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-bolao-hub__action::after {
  content: "Abrir";
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 92px;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
  color: rgba(167, 243, 208, 0.96);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme='light'] .admin-bolao-hub {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

html[data-theme='light'] .admin-bolao-hub__title,
html[data-theme='light'] .admin-bolao-hub__stat-value,
html[data-theme='light'] .admin-bolao-hub__action strong {
  color: #0f172a;
}

html[data-theme='light'] .admin-bolao-hub__subtitle,
html[data-theme='light'] .admin-bolao-hub__stat-label,
html[data-theme='light'] .admin-bolao-hub__action span:last-child {
  color: #475569;
}

html[data-theme='light'] .admin-bolao-hub__badge,
html[data-theme='light'] .admin-bolao-hub__stat,
html[data-theme='light'] .admin-bolao-hub__action {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(203, 213, 225, 0.95);
  color: #0f172a;
}

html[data-theme='light'] .admin-bolao-hub__action {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 12px 22px rgba(148, 163, 184, 0.12);
}

html[data-theme='light'] .admin-bolao-hub__action:hover {
  border-color: rgba(16, 185, 129, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(241, 245, 249, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 16px 28px rgba(148, 163, 184, 0.16);
}

html[data-theme='light'] .admin-bolao-hub__action::after {
  border-color: rgba(14, 165, 233, 0.2);
  background: rgba(224, 242, 254, 0.95);
  color: #075985;
}

@media (max-width: 1100px) {
  .admin-bolao-hub__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-bolao-hub__stats,
  .admin-bolao-hub__actions {
    grid-template-columns: 1fr;
  }
}
