/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --color-red-400: oklch(70.4% 0.191 22.216);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-amber-100: oklch(96.2% 0.059 95.617);
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-green-500: oklch(72.3% 0.219 149.579);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-teal-300: oklch(85.5% 0.138 181.071);
    --color-teal-500: #14b8a6;
    --color-cyan-500: oklch(71.5% 0.143 215.221);
    --color-sky-500: oklch(68.5% 0.169 237.323);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-400: oklch(70.4% 0.04 256.788);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-800: #1e293b;
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-relaxed: 1.625;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .m-0 {
    margin: calc(var(--spacing) * 0);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-\[2px\] {
    margin-top: 2px;
  }
  .mb-0 {
    margin-bottom: calc(var(--spacing) * 0);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .mb-\[2px\] {
    margin-bottom: 2px;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .table-row {
    display: table-row;
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .max-h-\[55vh\] {
    max-height: 55vh;
  }
  .min-h-\[85px\] {
    min-height: 85px;
  }
  .min-h-\[400px\] {
    min-height: 400px;
  }
  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-full {
    width: 100%;
  }
  .max-w-\[800px\] {
    max-width: 800px;
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .min-w-\[120px\] {
    min-width: 120px;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row-reverse {
    flex-direction: row-reverse;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-3\.5 {
    gap: calc(var(--spacing) * 3.5);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }
  .gap-\[0\.2rem\] {
    gap: 0.2rem;
  }
  .gap-\[0\.35rem\] {
    gap: 0.35rem;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t-\[3px\] {
    border-top-style: var(--tw-border-style);
    border-top-width: 3px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-l-4 {
    border-left-style: var(--tw-border-style);
    border-left-width: 4px;
  }
  .border-amber-400\/30 {
    border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-amber-400) 30%, transparent);
    }
  }
  .border-amber-400\/40 {
    border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-amber-400) 40%, transparent);
    }
  }
  .border-emerald-500\/30 {
    border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-emerald-500) 30%, transparent);
    }
  }
  .border-gray-400\/30 {
    border-color: color-mix(in srgb, oklch(70.7% 0.022 261.325) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-gray-400) 30%, transparent);
    }
  }
  .border-green-500\/30 {
    border-color: color-mix(in srgb, oklch(72.3% 0.219 149.579) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-green-500) 30%, transparent);
    }
  }
  .border-red-500\/30 {
    border-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-red-500) 30%, transparent);
    }
  }
  .border-sky-500\/30 {
    border-color: color-mix(in srgb, oklch(68.5% 0.169 237.323) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-sky-500) 30%, transparent);
    }
  }
  .border-slate-200\/15 {
    border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-200) 15%, transparent);
    }
  }
  .border-slate-400\/30 {
    border-color: color-mix(in srgb, oklch(70.4% 0.04 256.788) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-400) 30%, transparent);
    }
  }
  .border-teal-500\/15 {
    border-color: color-mix(in srgb, #14b8a6 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-teal-500) 15%, transparent);
    }
  }
  .border-teal-500\/20 {
    border-color: color-mix(in srgb, #14b8a6 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
    }
  }
  .border-transparent {
    border-color: transparent;
  }
  .border-white\/5 {
    border-color: color-mix(in srgb, #fff 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 5%, transparent);
    }
  }
  .border-t-blue-500 {
    border-top-color: var(--color-blue-500);
  }
  .border-t-emerald-500 {
    border-top-color: var(--color-emerald-500);
  }
  .border-t-red-500 {
    border-top-color: var(--color-red-500);
  }
  .border-l-amber-400 {
    border-left-color: var(--color-amber-400);
  }
  .border-l-emerald-500 {
    border-left-color: var(--color-emerald-500);
  }
  .border-l-red-500 {
    border-left-color: var(--color-red-500);
  }
  .border-l-slate-500 {
    border-left-color: var(--color-slate-500);
  }
  .bg-\[\#2a3549\] {
    background-color: #2a3549;
  }
  .bg-\[\#334155\] {
    background-color: #334155;
  }
  .bg-amber-500\/10 {
    background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);
    }
  }
  .bg-emerald-500\/10 {
    background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);
    }
  }
  .bg-green-500\/5 {
    background-color: color-mix(in srgb, oklch(72.3% 0.219 149.579) 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-green-500) 5%, transparent);
    }
  }
  .bg-red-500\/10 {
    background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);
    }
  }
  .bg-sky-500\/10 {
    background-color: color-mix(in srgb, oklch(68.5% 0.169 237.323) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-sky-500) 10%, transparent);
    }
  }
  .bg-slate-500\/10 {
    background-color: color-mix(in srgb, oklch(55.4% 0.046 257.417) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-500) 10%, transparent);
    }
  }
  .bg-slate-700 {
    background-color: var(--color-slate-700);
  }
  .bg-slate-800 {
    background-color: var(--color-slate-800);
  }
  .bg-teal-500\/5 {
    background-color: color-mix(in srgb, #14b8a6 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-teal-500) 5%, transparent);
    }
  }
  .bg-gradient-to-br {
    --tw-gradient-position: to bottom right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .from-teal-500 {
    --tw-gradient-from: var(--color-teal-500);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .to-cyan-500 {
    --tw-gradient-to: var(--color-cyan-500);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .p-0 {
    padding: calc(var(--spacing) * 0);
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-3\.5 {
    padding: calc(var(--spacing) * 3.5);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-\[0\.7rem_0\.5rem\] {
    padding: 0.7rem 0.5rem;
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .text-center {
    text-align: center;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[0\.8rem\] {
    font-size: 0.8rem;
  }
  .text-\[0\.9rem\] {
    font-size: 0.9rem;
  }
  .text-\[0\.85rem\] {
    font-size: 0.85rem;
  }
  .text-\[0\.95rem\] {
    font-size: 0.95rem;
  }
  .text-\[1\.1rem\] {
    font-size: 1.1rem;
  }
  .text-\[1\.3rem\] {
    font-size: 1.3rem;
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .leading-tight {
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .text-amber-100 {
    color: var(--color-amber-100);
  }
  .text-amber-400 {
    color: var(--color-amber-400);
  }
  .text-emerald-500 {
    color: var(--color-emerald-500);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-slate-100 {
    color: var(--color-slate-100);
  }
  .text-slate-300 {
    color: var(--color-slate-300);
  }
  .text-slate-400 {
    color: var(--color-slate-400);
  }
  .text-slate-500 {
    color: var(--color-slate-500);
  }
  .text-teal-300 {
    color: var(--color-teal-300);
  }
  .text-teal-500 {
    color: var(--color-teal-500);
  }
  .text-white {
    color: var(--color-white);
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .opacity-50 {
    opacity: 50%;
  }
  .opacity-70 {
    opacity: 70%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_0_0_1px_rgba\(239\,68\,68\,0\.2\)\,0_4px_6px_-1px_rgba\(0\,0\,0\,0\.1\)\] {
    --tw-shadow: 0 0 0 1px var(--tw-shadow-color, rgba(239,68,68,0.2)), 0 4px 6px -1px var(--tw-shadow-color, rgba(0,0,0,0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_2px_12px_rgba\(20\,184\,166\,0\.25\)\] {
    --tw-shadow: 0 2px 12px var(--tw-shadow-color, rgba(20,184,166,0.25));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_4px_6px_-1px_rgba\(0\,0\,0\,0\.1\)\,0_2px_4px_-1px_rgba\(0\,0\,0\,0\.06\)\] {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgba(0,0,0,0.1)), 0 2px 4px -1px var(--tw-shadow-color, rgba(0,0,0,0.06));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_4px_20px_rgba\(0\,0\,0\,0\.3\)\,0_1px_4px_rgba\(0\,0\,0\,0\.2\)\] {
    --tw-shadow: 0 4px 20px var(--tw-shadow-color, rgba(0,0,0,0.3)), 0 1px 4px var(--tw-shadow-color, rgba(0,0,0,0.2));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_4px_20px_rgba\(0\,0\,0\,0\.3\)\] {
    --tw-shadow: 0 4px 20px var(--tw-shadow-color, rgba(0,0,0,0.3));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .grayscale-\[0\.3\] {
    --tw-grayscale: grayscale(0.3);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-200 {
    --tw-duration: 200ms;
    transition-duration: 200ms;
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .group-hover\:scale-105 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-scale-x: 105%;
        --tw-scale-y: 105%;
        --tw-scale-z: 105%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
      }
    }
  }
  .group-hover\:shadow-\[0_4px_16px_rgba\(20\,184\,166\,0\.35\)\] {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-shadow: 0 4px 16px var(--tw-shadow-color, rgba(20,184,166,0.35));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .hover\:-translate-y-0\.5 {
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -0.5);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .hover\:border-teal-500\/30 {
    &:hover {
      @media (hover: hover) {
        border-color: color-mix(in srgb, #14b8a6 30%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          border-color: color-mix(in oklab, var(--color-teal-500) 30%, transparent);
        }
      }
    }
  }
  .hover\:bg-\[\#475569\] {
    &:hover {
      @media (hover: hover) {
        background-color: #475569;
      }
    }
  }
  .hover\:bg-white\/10 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, #fff 10%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
        }
      }
    }
  }
  .hover\:shadow-\[0_8px_30px_rgba\(20\,184\,166\,0\.2\)\] {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 8px 30px var(--tw-shadow-color, rgba(20,184,166,0.2));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .max-md\:w-full {
    @media (width < 48rem) {
      width: 100%;
    }
  }
  .max-md\:flex-col {
    @media (width < 48rem) {
      flex-direction: column;
    }
  }
  .max-md\:items-start {
    @media (width < 48rem) {
      align-items: flex-start;
    }
  }
  .max-md\:gap-2 {
    @media (width < 48rem) {
      gap: calc(var(--spacing) * 2);
    }
  }
}
:root {
  --sn-line: rgba(148, 163, 184, 0.14);
  --sn-line-2: rgba(148, 163, 184, 0.07);
  --sn-teal: #2dd4bf;
  --sn-teal-2: #14b8a6;
  --sn-amber: #fbbf24;
  --sn-amber-2: #f59e0b;
  --sn-azure: #38bdf8;
  --sn-azure-2: #0ea5e9;
  --sn-text: #e7eef9;
  --sn-muted: #8b9cba;
  --sn-faint: #5c6c89;
  --sn-won: #10b981;
  --sn-lost: #ef4444;
  --sn-cancelled: #64748b;
  --sn-gold-hi: #fff3c4;
  --sn-gold: #ffd24a;
  --sn-gold-2: #e0a012;
  --sn-gold-deep: #7d520e;
  --sn-gold-glow: rgba(255, 200, 60, 0.5);
  --sn-silver-hi: #fbfdff;
  --sn-silver: #dbe4f0;
  --sn-silver-2: #a9b6c8;
  --sn-silver-deep: #5c6b80;
  --sn-silver-glow: rgba(190, 210, 235, 0.4);
  --sn-bronze-hi: #e8a878;
  --sn-bronze: #c06a37;
  --sn-bronze-2: #8f4419;
  --sn-bronze-deep: #552408;
  --sn-bronze-glow: rgba(192, 106, 55, 0.45);
  --sn-font-display: "Anton", "Oswald", "Arial Narrow", "Helvetica Neue",
    sans-serif;
  --sn-font-body: var(--font-sans);
  --sn-font-mono: var(--font-mono);
  --sn-panel-bg: linear-gradient(180deg, rgba(22, 31, 54, 0.92), rgba(12, 19, 38, 0.92));
  --sn-panel-bg-soft: linear-gradient(180deg, rgba(20, 28, 50, 0.85), rgba(10, 16, 32, 0.85));
  --sn-panel-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
  --sn-panel-shadow-hover: 0 32px 60px -30px rgba(0, 0, 0, 0.95);
  --sn-radius: 16px;
}
@layer base {
  button, [type='button'], [type='reset'], [type='submit'] {
    font: revert;
  }
}
.container {
  max-width: none;
  margin: 10px 0;
  padding: 0 1rem;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 90%, #334155 100%);
  min-height: 100vh;
  color: #e2e8f0;
  line-height: 1.6;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #5eead4, var(--sn-teal-2));
  border-radius: 4px;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #67e8f9, #5eead4);
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.3);
}
::-webkit-scrollbar-corner {
  background: #334155;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #5eead4 #334155;
}
.hidden {
  display: none !important;
}
.main {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.app-content {
  animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.no-data {
  text-align: center;
  padding: 3rem;
  color: #94a3b8;
  background: #334155;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.3);
}
.no-usage-data {
  text-align: center;
  padding: 2rem;
  color: #94a3b8;
  background: #334155;
  border-radius: 8px;
  border: 1px dashed rgba(148, 163, 184, 0.3);
}
.loading {
  text-align: center;
  padding: 2rem;
  color: var(--sn-teal-2);
  font-size: 1.1rem;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.loading-overlay.show {
  opacity: 1;
}
.loading-content {
  text-align: center;
  color: var(--sn-teal-2);
  animation: fadeIn 0.5s ease;
}
.loading-content h2 {
  color: #f1f5f9;
  margin: 1rem 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 600;
}
.loading-content p {
  color: #94a3b8;
  margin: 0;
  font-size: 1rem;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(20, 184, 166, 0.2);
  border-top: 3px solid var(--sn-teal-2);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}
.loading-message {
  font-size: 1.1rem;
  font-weight: 500;
}
.initial-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 3rem 2rem;
}
@media (max-width: 768px) {
  .initial-loading {
    min-height: 300px;
    padding: 2rem 1rem;
  }
  .loading-content h2 {
    font-size: 1.5rem;
  }
  .loading-content p {
    font-size: 0.9rem;
  }
  .loading-spinner {
    width: 32px;
    height: 32px;
  }
}
.error-message {
  text-align: center;
  padding: 2rem;
  color: var(--sn-lost);
  background: #334155;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.error-message h3 {
  color: var(--sn-lost);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.error-message p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--sn-teal-2), #0d9488);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}
.scroll-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  :root {
    --tabbar-h: calc(3.75rem + env(safe-area-inset-bottom, 0px));
    --league-strip-h: 2.75rem;
  }
  .scroll-to-top {
    bottom: calc(var(--tabbar-h) + var(--league-strip-h) + 0.5rem);
    right: 12px;
    width: 40px;
    height: 40px;
  }
  #app-content {
    padding-bottom: var(--tabbar-h);
  }
  #sports-section {
    padding-bottom: var(--league-strip-h);
  }
}
.btn {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  --tw-border-style: none;
  border-style: none;
  padding-inline: calc(var(--spacing) * 6);
  padding-block: calc(var(--spacing) * 3);
  text-align: center;
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  text-decoration-line: none;
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
  gap: 0.375rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sn-teal), var(--sn-teal-2));
  color: white;
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
  }
}
.btn-secondary {
  background: linear-gradient(135deg, #64748b, #475569);
  color: white;
  border: none;
  &:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
  }
}
.btn-outline {
  border-style: var(--tw-border-style);
  border-width: 2px;
  --tw-border-style: solid;
  border-style: solid;
  background-color: transparent;
  color: var(--sn-teal);
  border-color: var(--sn-teal);
  &:hover {
    background: var(--sn-teal);
    color: #06121f;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
  }
}
.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  &:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  }
}
.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  &:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  }
}
.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
  }
}
.btn-info {
  background: linear-gradient(135deg, var(--sn-azure), var(--sn-azure-2));
  color: white;
  &:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
  }
}
.btn-sm {
  border-radius: var(--radius-md);
  padding-inline: calc(var(--spacing) * 4);
  padding-block: calc(var(--spacing) * 2);
  font-size: 0.8rem;
}
.btn-xs {
  border-radius: 0.25rem;
  padding-inline: calc(var(--spacing) * 2);
  padding-block: calc(var(--spacing) * 1);
  font-size: 0.75rem;
}
.btn-icon {
  display: flex;
  height: calc(var(--spacing) * 10);
  min-width: calc(var(--spacing) * 10);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  padding: calc(var(--spacing) * 2);
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  color: #94a3b8;
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
  &:hover {
    background: rgba(45, 212, 191, 0.1);
    color: var(--sn-teal);
    transform: translateY(-1px);
  }
  &:active {
    transform: translateY(0);
  }
  &:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.3);
  }
}
@media (max-width: 768px) {
  .btn-icon {
    min-width: 2.35rem;
    height: 2.35rem;
  }
}
@media (max-width: 480px) {
  .btn-icon {
    min-width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
  }
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
  font-weight: 500;
}
.form-group label i {
  color: var(--sn-teal);
}
.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(7, 11, 22, 0.55);
  color: var(--sn-text);
  transition: all 0.3s ease;
}
.form-group input:focus {
  outline: none;
  border-color: var(--sn-teal);
  background: rgba(7, 11, 22, 0.8);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}
.form-group input.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.form-group input.success {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}
.form-input {
  width: 100%;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid var(--sn-line);
  color: var(--sn-text);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  resize: vertical;
}
.form-input:focus {
  outline: none;
  border-color: var(--sn-teal);
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}
select.form-input {
  cursor: pointer;
}
.form-select {
  width: 100%;
  padding: 0.5rem 1rem;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  color: var(--sn-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-select:focus {
  outline: none;
  border-color: var(--sn-teal);
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}
.form-select option {
  background: #0b1220;
  color: var(--sn-text);
  padding: 0.5rem;
}
.error-container {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 1px solid #ef4444;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: white;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}
.error-container.hidden {
  display: none;
}
.error-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.error-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.error-list li::before {
  content: "\26A0";
  color: #fbbf24;
  font-weight: bold;
}
.field-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  min-height: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.field-error:not(:empty)::before {
  content: "\26A0";
  color: #ef4444;
}
.field-help {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.help-text {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f5f9;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 3px;
  cursor: pointer;
  appearance: none;
  position: relative;
  transition: all 0.3s ease;
}
.checkbox-label input[type="checkbox"]:checked {
  background: #14b8a6;
  border-color: #14b8a6;
}
.checkbox-label input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 2px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}
.checkbox-label input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}
.balance {
  background: linear-gradient(135deg, var(--sn-teal), var(--sn-teal-2));
  color: #06121f;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.3);
}
.username {
  font-weight: 500;
  color: #cbd5e1;
  font-size: 0.9rem;
}
#username {
  font-weight: 500;
  font-size: 0.9rem;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}
.balance, #username {
  line-height: 1.25rem;
}
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--sn-font-display);
  letter-spacing: 0.02em;
  color: var(--sn-teal);
  text-shadow: 0 0 12px rgba(45, 212, 191, 0.35);
}
.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-anchor {
  color: #94a3b8;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid rgba(148, 163, 184, 0.3);
  &:hover {
    color: var(--sn-teal);
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-2px);
  }
}
.nav-separator {
  width: 1px;
  height: 40px;
  background: rgba(100, 116, 139, 0.3);
  margin: 0 0.4rem;
}
.content-tab-btn {
  flex: 1;
  padding: 0.6rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  background: transparent;
  color: #8b9cba;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  &:hover {
    color: #e7eef9;
    background: rgba(45, 212, 191, 0.07);
  }
  &.active {
    color: #5eead4;
    background: linear-gradient(180deg, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0.07));
    border-color: rgba(45, 212, 191, 0.5);
    font-weight: 700;
    box-shadow: 0 10px 26px -14px rgba(20, 184, 166, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }
}
.content-tab-btn::before {
  content: attr(data-icon);
  font-size: 1.1rem;
  line-height: 1;
}
@media (min-width: 768px) {
  .content-tab-btn {
    flex-direction: row;
    padding: 1rem 0;
  }
}
.admin-tabs {
  display: flex;
  background: var(--sn-panel-bg-soft);
  border: 1px solid var(--sn-line);
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.admin-tab-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #8b9cba;
  white-space: nowrap;
  min-width: fit-content;
  &:hover {
    color: var(--sn-text);
    background: rgba(45, 212, 191, 0.06);
  }
  &.active {
    background: linear-gradient(180deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.05));
    color: #5eead4;
    box-shadow: inset 0 -2px 0 var(--sn-teal);
  }
}
@media (max-width: 768px) {
  .nav {
    padding: 0.3rem 0.5rem;
  }
  .logo {
    font-size: 1.05rem;
  }
  .user-info {
    gap: 0.4rem;
  }
  #username {
    max-width: 5rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
  }
  .balance {
    font-size: 0.78rem;
    padding: 0.15rem 0.5rem;
  }
  .balance, #username {
    line-height: 1rem;
  }
  .user-actions .btn-icon {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    font-size: 0.85rem;
  }
  .nav-anchor {
    text-align: center;
    padding: 0.75rem;
  }
  .admin-tabs {
    margin-bottom: 1rem;
    border-radius: 6px;
    padding: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .admin-tab-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem;
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgba(20, 184, 166, 0.1);
  }
  .admin-tab-btn.active {
    font-weight: 600;
    border-color: rgba(20, 184, 166, 0.3);
  }
  .nav-group {
    justify-content: center;
    gap: 0.2rem;
    flex-wrap: wrap;
  }
  .nav-separator {
    height: 35px;
  }
}
@media (max-width: 480px) {
  .nav {
    flex-direction: row;
    gap: 0.5rem;
    text-align: left;
  }
  .user-info {
    gap: 0.5rem;
  }
  .user-details {
    gap: 0.15rem;
  }
  .user-actions {
    gap: 0.25rem;
  }
  .admin-tabs {
    padding: 0.375rem;
    gap: 0.375rem;
  }
  .admin-tab-btn {
    padding: 0.625rem 0.75rem;
    font-size: 0.85rem;
    min-width: calc(50% - 0.25rem);
    flex: 1 1 calc(50% - 0.25rem);
  }
  .nav-group {
    justify-content: center;
    gap: 0.15rem;
  }
  .nav-separator {
    height: 30px;
  }
}
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 0;
}
.auth-container {
  background: var(--sn-panel-bg);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  animation: fadeInUp 0.8s ease-out;
  backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
  .auth-container {
    padding: 1.5rem;
  }
  .auth-section .container {
    padding: 0;
  }
}
@media (max-width: 480px) {
  .auth-container {
    margin: 0 10px;
  }
}
.auth-form {
  padding: 1rem;
}
.auth-form h2 {
  font-size: 2.5rem;
  font-weight: 400;
  font-family: var(--sn-font-display);
  letter-spacing: 0.02em;
  color: var(--sn-teal);
  text-shadow: 0 0 12px rgba(45, 212, 191, 0.35);
  margin-bottom: 1rem;
  text-align: center;
  animation: fadeInDown 0.6s ease-out;
}
.auth-subtitle {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
  animation: fadeIn 1.2s ease-out 0.6s both;
}
.auth-subtitle:last-of-type {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(20, 184, 166, 0.2);
  color: #cbd5e1;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.6;
}
.auth-subtitle:last-of-type::before {
  content: "\01F512";
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1rem;
  filter: drop-shadow(0 0 4px rgba(20, 184, 166, 0.3));
}
.auth-subtitle.auth-tagline {
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeIn 0.8s ease-out;
  line-height: 1.5;
}
.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2.5rem 0;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.oauth-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.1), transparent );
  transition: left 0.5s ease;
}
.oauth-btn:hover::before {
  left: 100%;
}
.oauth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}
.oauth-icon {
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}
.oauth-btn:hover .oauth-icon {
  transform: scale(1.1);
}
.auth-info {
  margin-top: 2.5rem;
  text-align: center;
  animation: fadeIn 1s ease-out 0.4s both;
}
.auth-disclaimer {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.8;
  padding: 1.25rem 1.5rem;
  background: linear-gradient( 135deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.05) );
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  margin: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}
.auth-disclaimer strong {
  color: var(--sn-teal);
  font-weight: 600;
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
.password-requirements {
  margin-top: 0.75rem;
  padding: 1rem;
  background: rgba(7, 11, 22, 0.5);
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  font-size: 0.85rem;
}
.password-requirements.all-valid {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05);
}
.requirements-title {
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}
.password-requirements.all-valid .requirements-title {
  color: #22c55e;
}
.requirement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}
.requirement:last-child {
  margin-bottom: 0;
}
.req-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  transition: all 0.3s ease;
}
.requirement.valid .req-icon {
  color: #22c55e;
}
.requirement.invalid .req-icon {
  color: #ef4444;
}
.requirement.valid .req-icon::before {
  content: "\2713";
}
.requirement.invalid .req-icon::before {
  content: "\2717";
}
.req-text {
  color: #94a3b8;
  transition: all 0.3s ease;
}
.requirement.valid .req-text {
  color: #22c55e;
}
.requirement.invalid .req-text {
  color: #94a3b8;
}
.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #14b8a6, #0d9488);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.stat-card:hover::before {
  opacity: 1;
}
.stat-card:hover {
  background: #3d4a5c;
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}
.match-card {
  position: relative;
  overflow: hidden;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.match-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #14b8a6, #0891b2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.match-card:hover::before {
  opacity: 1;
}
.match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.25), 0 4px 16px rgba(0, 0, 0, 0.3);
  border-color: rgba(20, 184, 166, 0.5);
}
.match-card.upcoming::before {
  opacity: 0.6;
}
.ufc-event-card {
  position: relative;
  overflow: hidden;
}
.ufc-event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ufc-event-card:hover::before {
  opacity: 1;
}
.ufc-event-card.live::before {
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.8), transparent);
  opacity: 1;
}
.user-rank-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #3b82f6, #14b8a6);
  border-radius: 12px 12px 0 0;
}
.pick-leaderboard-item.current-user::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  border-radius: 12px 0 0 12px;
}
.sport-card.selected {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.5);
}
.sport-card:hover {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateX(2px);
}
.sport-card > * {
  position: relative;
  z-index: 2;
}
.modal {
  position: fixed;
  inset: calc(var(--spacing) * 0);
  z-index: 1001;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: color-mix(in srgb, #000 50%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
  }
  padding: calc(var(--spacing) * 8);
  padding-inline: calc(var(--spacing) * 4);
  backdrop-filter: blur(5px);
}
.modal-content {
  width: 90%;
  max-width: 90%;
  border-radius: var(--radius-2xl);
  color: var(--color-slate-200);
  background: var(--sn-panel-bg);
  border: 1px solid var(--sn-line);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: modalSlideIn 0.3s ease-out;
}
.modal-content.modal-large {
  position: fixed !important;
  inset: calc(var(--spacing) * 0) !important;
  margin: calc(var(--spacing) * 4) !important;
  display: flex !important;
  height: calc(100vh - 2rem) !important;
  max-height: calc(100vh - 2rem) !important;
  width: calc(100vw - 2rem) !important;
  max-width: calc(100vw - 2rem) !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  border-radius: var(--radius-lg) !important;
}
#favorites-modal .modal-content {
  width: min(calc(100vw - 2rem), 34rem);
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-content h3 {
  color: var(--color-teal-500);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--spacing) * 6);
  border-bottom: 1px solid var(--sn-line);
}
.modal-header h3 {
  margin: calc(var(--spacing) * 0);
  font-family: var(--sn-font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sn-text);
}
.modal-header-actions {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
}
.modal-body {
  padding: calc(var(--spacing) * 6);
}
.modal-actions {
  margin-top: calc(var(--spacing) * 6);
  margin-bottom: calc(var(--spacing) * 0);
  display: flex;
  justify-content: flex-end;
  gap: calc(var(--spacing) * 4);
  padding: calc(var(--spacing) * 6);
  padding-bottom: calc(var(--spacing) * 4);
  background: var(--sn-panel-bg-soft);
  border-top: 1px solid var(--sn-line);
}
.modal-balance {
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--sn-teal);
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
}
.close-btn {
  display: flex;
  height: calc(var(--spacing) * 10);
  width: calc(var(--spacing) * 10);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  padding: calc(var(--spacing) * 2);
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  color: var(--color-slate-400);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
}
.close-btn:hover {
  color: var(--color-red-400);
  background: rgba(239, 68, 68, 0.12);
}
.picks-modal-content {
  position: relative;
  margin-block: calc(var(--spacing) * 8);
  height: auto;
  max-height: calc(100vh - 4rem);
  min-height: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.picks-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--spacing) * 6);
  border-bottom: 1px solid var(--sn-line);
}
.picks-modal-body {
  padding: calc(var(--spacing) * 6);
  padding-bottom: calc(var(--spacing) * 8);
}
.modal-title-section h3 {
  font-family: var(--sn-font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sn-text);
}
.modal-odds-grid-ordered {
  margin-block: calc(var(--spacing) * 4);
  display: grid;
  align-items: stretch;
  gap: calc(var(--spacing) * 3);
  grid-template-columns: 1fr auto 1fr;
}
.modal-odds-grid-ordered .modal-vs-separator {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  align-self: center;
}
.modal-odds-grid-ordered:not(:has(.modal-other-odds)) .modal-vs-separator {
  margin-bottom: calc(var(--spacing) * 0);
  align-self: center;
}
.modal-odds-grid-ordered .modal-other-odds {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: auto;
  max-width: 300px;
  margin-top: 0.3rem;
  padding: 0.6rem 1.25rem;
  min-height: 0;
}
.modal-odds-grid-ordered .modal-other-odds .modal-outcome-name {
  margin: calc(var(--spacing) * 0);
  margin-bottom: calc(var(--spacing) * 2);
  text-align: center;
  color: var(--sn-text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}
.modal-vs-separator {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sn-font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sn-teal);
  background: radial-gradient(circle at 50% 35%, rgba(45, 212, 191, 0.22), rgba(10, 16, 32, 0.92) 72%);
  border: 1px solid rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.06), 0 8px 22px -10px rgba(20, 184, 166, 0.85);
}
.modal-outcome-odds {
  position: relative;
  display: flex;
  min-height: 120px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-xl);
  padding-inline: calc(var(--spacing) * 3);
  padding-block: calc(var(--spacing) * 5);
  text-align: center;
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
  min-width: 0;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.55));
  border: 1px solid var(--sn-line);
  overflow: hidden;
}
.modal-outcome-odds:hover {
  background: linear-gradient(180deg, rgba(40, 54, 78, 0.7), rgba(20, 30, 52, 0.7));
  --tw-translate-y: calc(var(--spacing) * -0.5);
  translate: var(--tw-translate-x) var(--tw-translate-y);
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 10px 26px -14px rgba(20, 184, 166, 0.55);
}
.modal-outcome-odds:active {
  --tw-translate-y: calc(var(--spacing) * 0);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}
.modal-outcome-odds::after {
  content: "";
  position: absolute;
  bottom: 0;
  top: auto;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 2px;
  opacity: 0.85;
  transition: opacity 0.3s ease, left 0.3s ease, right 0.3s ease;
}
.modal-away-odds::after {
  background: linear-gradient(90deg, transparent, var(--sn-amber), transparent);
}
.modal-home-odds::after {
  background: linear-gradient(90deg, transparent, var(--sn-azure), transparent);
}
.modal-other-odds::after {
  background: linear-gradient(90deg, transparent, var(--sn-teal), transparent);
}
.modal-outcome-odds.selected::after {
  display: none;
}
.modal-outcome-odds:hover::after {
  opacity: 1;
  left: 0;
  right: 0;
}
.modal-outcome-odds.selected {
  background: linear-gradient(135deg, var(--sn-teal), var(--sn-teal-2));
  border: 2px solid #5eead4;
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4), 0 0 0 3px rgba(94, 234, 212, 0.3);
  --tw-translate-y: calc(var(--spacing) * -1);
  translate: var(--tw-translate-x) var(--tw-translate-y);
  scale: 1.02;
}
.modal-team-name {
  margin-bottom: calc(var(--spacing) * 2);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 3);
  text-align: center;
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-slate-200);
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
}
.modal-team-logo {
  flex-shrink: 0;
  width: clamp(72px, 13vw, 116px);
  height: clamp(72px, 13vw, 116px);
  object-fit: contain;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #eef3f6 55%, #e2ecef 100%);
  padding: 0;
  border-radius: 22%;
  box-shadow: 0 0 0 1.5px rgba(45, 212, 191, 0.55), 0 4px 13px rgba(20, 184, 166, 0.22), inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.modal-team-logo.fighter-image {
  max-width: none;
  object-fit: cover;
  object-position: top;
}
.modal-outcome-name {
  margin-bottom: calc(var(--spacing) * 2);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-leading: var(--leading-tight);
  line-height: var(--leading-tight);
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-slate-400);
}
.modal-best-odds {
  margin-bottom: calc(var(--spacing) * 1);
  --tw-leading: 1;
  line-height: 1;
  font-family: var(--sn-font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.modal-bookmaker {
  --tw-leading: var(--leading-tight);
  line-height: var(--leading-tight);
  font-family: var(--sn-font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sn-muted);
}
.modal-away-odds .modal-best-odds {
  color: var(--sn-amber);
  text-shadow: 0 0 18px rgba(251, 191, 36, 0.4);
}
.modal-home-odds .modal-best-odds {
  color: var(--sn-azure);
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
}
.modal-other-odds .modal-best-odds {
  color: var(--sn-teal);
  text-shadow: 0 0 18px rgba(45, 212, 191, 0.4);
}
.modal-away-odds {
  order: 1;
}
.modal-home-odds {
  order: 3;
}
.modal-other-odds {
  order: 4;
  margin-top: calc(var(--spacing) * 2);
}
.modal-outcome-odds.selected .modal-best-odds {
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.modal-outcome-odds.selected .modal-team-name, .modal-outcome-odds.selected .modal-outcome-name {
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.modal-outcome-odds.selected .modal-bookmaker {
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-slate-100);
}
.match-time-modal {
  align-self: center;
  border-radius: var(--radius-xl);
  padding-inline: calc(var(--spacing) * 3);
  padding-block: calc(var(--spacing) * 1);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  font-family: var(--sn-font-mono);
  color: var(--sn-muted);
  background: rgba(7, 11, 22, 0.5);
  border: 1px solid var(--sn-line);
}
.bet-amount input, #bet-amount-input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  color: var(--sn-text);
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.bet-amount input:focus, #bet-amount-input:focus {
  outline: none;
  border-color: var(--sn-teal);
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}
.bet-error {
  margin-top: calc(var(--spacing) * 4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--spacing) * 3);
  border-radius: var(--radius-lg);
  padding-inline: calc(var(--spacing) * 4);
  padding-block: calc(var(--spacing) * 3);
  color: var(--color-white);
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.bet-error.hidden {
  display: none;
}
.bet-error-message {
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
}
.bet-error-close {
  cursor: pointer;
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  padding-inline: calc(var(--spacing) * 1);
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  --tw-leading: 1;
  line-height: 1;
  color: var(--color-white);
  opacity: 80%;
}
.bet-error-close:hover {
  opacity: 100%;
}
.btn-confirm-pick {
  width: 100%;
  padding-inline: calc(var(--spacing) * 6);
  padding-block: calc(var(--spacing) * 3.5);
  font-size: var(--text-lg);
  line-height: var(--tw-leading, var(--text-lg--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
}
.bet-success-notification {
  pointer-events: none;
  position: fixed;
  inset: calc(var(--spacing) * 0);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bet-success-notification.show {
  pointer-events: auto;
  opacity: 100%;
}
.bet-success-notification.closing {
  opacity: 0%;
}
.bet-success-backdrop {
  position: absolute;
  inset: calc(var(--spacing) * 0);
  background-color: color-mix(in srgb, #000 50%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
  }
  backdrop-filter: blur(4px);
}
.bet-success-content {
  position: relative;
  display: flex;
  max-width: 460px;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 5);
  border-radius: var(--radius-2xl);
  padding: calc(var(--spacing) * 10);
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 2px solid #14b8a6;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.3);
  backdrop-filter: blur(10px);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bet-success-notification.show .bet-success-content {
  --tw-scale-x: 100%;
  --tw-scale-y: 100%;
  --tw-scale-z: 100%;
  scale: var(--tw-scale-x) var(--tw-scale-y);
}
.bet-success-notification .success-icon {
  font-size: var(--text-6xl);
  line-height: var(--tw-leading, var(--text-6xl--line-height));
  color: var(--color-teal-500);
  animation: successIconPulse 2s ease-in-out infinite;
}
@keyframes successIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.bet-success-notification .success-message h3 {
  margin: calc(var(--spacing) * 0);
  margin-bottom: calc(var(--spacing) * 2);
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-slate-100);
}
.bet-success-notification .success-message p {
  margin: calc(var(--spacing) * 0);
  margin-bottom: calc(var(--spacing) * 4);
  color: var(--color-slate-300);
}
.bet-summary-notification {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: calc(var(--spacing) * 2.5);
  border-radius: var(--radius-lg);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 30%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 30%, transparent);
  }
  background-color: color-mix(in srgb, #14b8a6 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
  }
  padding: calc(var(--spacing) * 5);
}
.bet-summary-notification .summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bet-summary-notification .label {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  color: var(--color-slate-400);
}
.bet-summary-notification .value {
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-slate-100);
}
.bet-summary-notification .potential-win .value {
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
}
.close-notification {
  position: absolute;
  top: calc(var(--spacing) * 3);
  right: calc(var(--spacing) * 3);
  z-index: 10;
  display: flex;
  height: calc(var(--spacing) * 8);
  width: calc(var(--spacing) * 8);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: color-mix(in srgb, oklch(55.4% 0.046 257.417) 30%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-slate-500) 30%, transparent);
  }
  background-color: color-mix(in srgb, oklch(70.4% 0.04 256.788) 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-slate-400) 10%, transparent);
  }
  padding: calc(var(--spacing) * 2);
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  color: var(--color-slate-400);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 200ms;
  transition-duration: 200ms;
}
.close-notification:hover {
  background-color: color-mix(in srgb, oklch(70.4% 0.04 256.788) 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-slate-400) 20%, transparent);
  }
  color: var(--color-slate-100);
}
.toast-container {
  position: fixed;
  top: calc(var(--spacing) * 5);
  right: calc(var(--spacing) * 5);
  z-index: 2000;
}
.toast {
  position: relative;
  margin-bottom: calc(var(--spacing) * 2);
  display: flex;
  --tw-translate-x: 100%;
  translate: var(--tw-translate-x) var(--tw-translate-y);
  align-items: center;
  gap: calc(var(--spacing) * 2);
  border-radius: var(--radius-lg);
  padding-inline: calc(var(--spacing) * 6);
  padding-block: calc(var(--spacing) * 4);
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  opacity: 0%;
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
}
.toast.show {
  --tw-translate-x: calc(var(--spacing) * 0);
  translate: var(--tw-translate-x) var(--tw-translate-y);
  opacity: 100%;
}
.toast.success {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: var(--color-white);
}
.toast.error {
  background: linear-gradient(135deg, #f87171, #dc2626);
  color: var(--color-white);
}
.toast.info {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  color: var(--color-white);
}
.toast-message {
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
}
.chart-modal {
  position: fixed;
  inset: calc(var(--spacing) * 0);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background-color: var(--color-slate-800);
  animation: modalSlideIn 0.3s ease-out;
}
.chart-modal-content {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--color-slate-800);
}
.chart-modal-header {
  display: flex;
  flex-direction: column;
  border-bottom-style: var(--tw-border-style);
  border-bottom-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
  }
  background-color: var(--color-slate-800);
  padding-inline: calc(var(--spacing) * 8);
  padding-block: calc(var(--spacing) * 6);
}
.chart-header-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.chart-modal-header h3 {
  margin: calc(var(--spacing) * 0);
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  font-family: var(--sn-font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sn-text);
}
.close-chart-modal {
  display: flex;
  height: calc(var(--spacing) * 10);
  width: calc(var(--spacing) * 10);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  justify-self: flex-end;
  border-radius: var(--radius-lg);
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  padding: calc(var(--spacing) * 2);
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  color: var(--color-slate-400);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 200ms;
  transition-duration: 200ms;
}
.close-chart-modal:hover {
  background-color: color-mix(in srgb, #14b8a6 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
  }
  color: var(--color-teal-500);
}
.chart-date-range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 2);
  border-bottom-style: var(--tw-border-style);
  border-bottom-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
  }
  background-color: var(--color-slate-800);
  padding-inline: calc(var(--spacing) * 8);
  padding-block: calc(var(--spacing) * 4);
}
.chart-legend {
  margin: calc(var(--spacing) * 0);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 6);
  padding: calc(var(--spacing) * 0);
}
.chart-legend-item {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
  transition-property: opacity;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 200ms;
  transition-duration: 200ms;
}
.chart-legend-item:hover {
  opacity: 80%;
}
.chart-legend-color {
  display: inline-block;
  height: calc(var(--spacing) * 4);
  width: calc(var(--spacing) * 4);
  border-radius: calc(infinity * 1px);
  border-style: var(--tw-border-style);
  border-width: 2px;
  border-color: var(--color-white);
}
.chart-legend-label {
  text-align: center;
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-slate-100);
}
.chart-legend-hidden {
  opacity: 50%;
}
.chart-legend-hidden .chart-legend-label {
  color: var(--color-slate-400);
  text-decoration-line: line-through;
}
.chart-legend-hidden .chart-legend-color {
  opacity: 50%;
}
.date-range-btn {
  min-width: 50px;
  cursor: pointer;
  border-radius: var(--radius-lg);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
  }
  background-color: var(--color-slate-700);
  padding-inline: calc(var(--spacing) * 4);
  padding-block: calc(var(--spacing) * 2);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-400);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 200ms;
  transition-duration: 200ms;
}
.date-range-btn:hover {
  border-color: color-mix(in srgb, #14b8a6 40%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 40%, transparent);
  }
  background-color: color-mix(in srgb, #14b8a6 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
  }
  color: var(--color-teal-500);
}
.date-range-btn.active {
  border-color: var(--color-teal-500);
  background-color: color-mix(in srgb, #14b8a6 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
  }
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-teal-500);
}
.chart-wrapper {
  position: relative;
  margin: calc(var(--spacing) * 0);
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  padding: calc(var(--spacing) * 0);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 184, 166, 0.3) #1e293b;
}
.chart-y-axis-locked {
  pointer-events: none;
  position: sticky;
  top: calc(var(--spacing) * 0);
  left: calc(var(--spacing) * 0);
  z-index: 10;
  margin: calc(var(--spacing) * 0);
  display: flex;
  height: 100%;
  width: calc(var(--spacing) * 20);
  flex-shrink: 0;
  align-items: center;
  background-color: var(--color-slate-800);
  padding: calc(var(--spacing) * 0);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
}
.y-axis-labels {
  position: relative;
  margin: calc(var(--spacing) * 0);
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  padding: calc(var(--spacing) * 0);
}
.y-axis-tick {
  position: absolute;
  inset-inline: calc(var(--spacing) * 0);
  margin: calc(var(--spacing) * 0);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: calc(var(--spacing) * 0);
  transform: translateY(-50%);
}
.y-axis-label {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
  color: var(--color-slate-100);
}
.y-axis-zero-label {
  font-size: 13px;
  --tw-font-weight: var(--font-weight-black);
  font-weight: var(--font-weight-black);
  color: var(--color-teal-500);
}
.chart-wrapper::-webkit-scrollbar {
  height: 8px;
}
.chart-wrapper::-webkit-scrollbar-track {
  background: #1e293b;
}
.chart-wrapper::-webkit-scrollbar-thumb {
  background: rgba(20, 184, 166, 0.3);
  border-radius: 4px;
}
.chart-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 184, 166, 0.5);
}
.chart-container {
  position: relative;
  z-index: 5;
  margin: calc(var(--spacing) * 0);
  height: 100%;
  width: 100%;
  flex: 1;
  overflow: visible;
  background-color: var(--color-slate-800);
  padding: calc(var(--spacing) * 0);
}
.chart-stats {
  display: grid;
  gap: calc(var(--spacing) * 4);
  border-top-style: var(--tw-border-style);
  border-top-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
  }
  background-color: var(--color-slate-800);
  padding: calc(var(--spacing) * 4);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.chart-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-xl);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
  }
  background-color: var(--color-slate-700);
  padding: calc(var(--spacing) * 4);
  text-align: center;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.chart-stat-label {
  margin-bottom: calc(var(--spacing) * 2);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-400);
}
.chart-stat-value {
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  overflow-wrap: break-word;
  color: var(--color-slate-100);
}
.chart-stat-value.positive {
  color: var(--color-emerald-500);
}
.chart-stat-value.negative {
  color: var(--color-red-500);
}
.starting-balance-modal {
  visibility: hidden;
  position: fixed;
  inset: calc(var(--spacing) * 0);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0%;
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
}
.starting-balance-modal.show {
  visibility: visible;
  opacity: 100%;
}
.starting-balance-modal.closing {
  --tw-scale-x: 95%;
  --tw-scale-y: 95%;
  --tw-scale-z: 95%;
  scale: var(--tw-scale-x) var(--tw-scale-y);
  opacity: 0%;
}
.starting-balance-overlay {
  position: absolute;
  inset: calc(var(--spacing) * 0);
  background-color: color-mix(in srgb, #000 80%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-black) 80%, transparent);
  }
  backdrop-filter: blur(5px);
}
.starting-balance-content {
  position: relative;
  max-height: 90vh;
  width: 90%;
  max-width: 500px;
  overflow-y: auto;
  border-radius: 20px;
  padding: calc(var(--spacing) * 8);
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 2px solid #14b8a6;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.3);
  transform: translateY(-20px);
  transition: all 0.3s ease;
}
.starting-balance-modal.show .starting-balance-content {
  --tw-translate-y: calc(var(--spacing) * 0);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}
.starting-balance-header {
  margin-bottom: calc(var(--spacing) * 8);
  text-align: center;
}
.starting-balance-header h2 {
  margin-bottom: calc(var(--spacing) * 2);
  font-size: 1.8rem;
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}
.starting-balance-header p {
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  --tw-leading: var(--leading-relaxed);
  line-height: var(--leading-relaxed);
  color: var(--color-slate-300);
}
.starting-balance-body {
  margin-bottom: calc(var(--spacing) * 8);
  text-align: center;
}
.welcome-text {
  margin-bottom: calc(var(--spacing) * 6);
}
.welcome-text h3 {
  margin-bottom: calc(var(--spacing) * 2);
  font-size: 1.3rem;
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-slate-100);
}
.welcome-text p {
  font-size: 0.95rem;
  --tw-leading: var(--leading-relaxed);
  line-height: var(--leading-relaxed);
  color: var(--color-slate-400);
}
.balance-preview {
  margin-block: calc(var(--spacing) * 6);
  border-radius: 15px;
  border-style: var(--tw-border-style);
  border-width: 2px;
  border-color: color-mix(in srgb, #14b8a6 30%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 30%, transparent);
  }
  background-color: color-mix(in srgb, #14b8a6 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
  }
  padding: calc(var(--spacing) * 6);
}
.balance-amount {
  margin-bottom: calc(var(--spacing) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.balance-amount .currency {
  font-size: 2.5rem;
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
}
.balance-amount .amount {
  margin-left: calc(var(--spacing) * 1);
  font-size: 2.5rem;
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
}
.balance-amount .amount.mystery-amount {
  font-family: var(--font-mono);
  --tw-tracking: var(--tracking-widest);
  letter-spacing: var(--tracking-widest);
  color: var(--color-slate-500);
  animation: mysteryFloat 2.5s ease-in-out infinite;
}
.balance-amount .amount.revealed-amount {
  color: var(--color-teal-500);
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}
.balance-amount .amount.pulse-animation {
  animation: balancePulse 0.6s ease-in-out 3;
}
@keyframes balancePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@keyframes mysteryFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.balance-label {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-400);
}
.starting-balance-actions {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 4);
}
.claim-btn {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 2);
  border-radius: var(--radius-xl);
  --tw-border-style: none;
  border-style: none;
  padding-inline: calc(var(--spacing) * 8);
  padding-block: calc(var(--spacing) * 4);
  font-size: var(--text-lg);
  line-height: var(--tw-leading, var(--text-lg--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}
.claim-btn:hover:not(:disabled) {
  --tw-translate-y: calc(var(--spacing) * -0.5);
  translate: var(--tw-translate-x) var(--tw-translate-y);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}
.claim-btn:disabled {
  --tw-translate-y: calc(var(--spacing) * 0);
  translate: var(--tw-translate-x) var(--tw-translate-y);
  cursor: not-allowed;
  opacity: 70%;
}
.success-animation {
  position: absolute;
  inset: calc(var(--spacing) * 0);
  display: flex;
  scale: 0.8;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background-color: color-mix(in srgb, #1e293b 95%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-slate-800) 95%, transparent);
  }
  opacity: 0%;
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 500ms;
  transition-duration: 500ms;
  backdrop-filter: blur(10px);
}
.success-animation.animate {
  --tw-scale-x: 100%;
  --tw-scale-y: 100%;
  --tw-scale-z: 100%;
  scale: var(--tw-scale-x) var(--tw-scale-y);
  opacity: 100%;
}
.success-message {
  z-index: 10;
  text-align: center;
}
.success-message h3 {
  margin-bottom: calc(var(--spacing) * 4);
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}
.success-message p {
  margin-bottom: calc(var(--spacing) * 4);
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  color: var(--color-slate-300);
}
.success-subtitle {
  margin-top: calc(var(--spacing) * 4) !important;
  font-size: var(--text-sm) !important;
  line-height: var(--tw-leading, var(--text-sm--line-height)) !important;
  color: var(--color-slate-400) !important;
}
.click-to-continue {
  position: absolute;
  bottom: calc(var(--spacing) * 8);
  left: calc(1 / 2 * 100%);
  --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
  translate: var(--tw-translate-x) var(--tw-translate-y);
  animation: clickMessageFade 0.5s ease-in-out;
}
.click-to-continue p {
  margin: calc(var(--spacing) * 0);
  text-align: center;
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  color: var(--color-slate-400);
  opacity: 80%;
  animation: clickMessagePulse 2s ease-in-out infinite;
}
@keyframes clickMessageFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes clickMessagePulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.balance-update {
  margin-block: calc(var(--spacing) * 4);
  border-radius: 10px;
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 30%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 30%, transparent);
  }
  background-color: color-mix(in srgb, #14b8a6 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
  }
  padding: calc(var(--spacing) * 4);
}
.new-balance {
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-teal-500);
  text-shadow: 0 0 10px rgba(20, 184, 166, 0.3);
}
.error-icon {
  margin-bottom: calc(var(--spacing) * 2);
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
}
.weekly-bonus-modal {
  visibility: hidden;
  position: fixed;
  inset: calc(var(--spacing) * 0);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0%;
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
}
.weekly-bonus-modal.show {
  visibility: visible;
  opacity: 100%;
}
.weekly-bonus-modal.closing {
  --tw-scale-x: 95%;
  --tw-scale-y: 95%;
  --tw-scale-z: 95%;
  scale: var(--tw-scale-x) var(--tw-scale-y);
  opacity: 0%;
}
.weekly-bonus-overlay {
  position: absolute;
  inset: calc(var(--spacing) * 0);
  background-color: color-mix(in srgb, #000 80%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-black) 80%, transparent);
  }
  backdrop-filter: blur(5px);
}
.weekly-bonus-content {
  position: relative;
  max-height: 90vh;
  width: 90%;
  max-width: 500px;
  overflow-y: auto;
  border-radius: 20px;
  padding: calc(var(--spacing) * 8);
  background: var(--sn-panel-bg);
  border: 2px solid var(--sn-teal);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.3);
  transform: translateY(-20px);
  transition: all 0.3s ease;
}
.weekly-bonus-modal.show .weekly-bonus-content {
  --tw-translate-y: calc(var(--spacing) * 0);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}
.weekly-bonus-header {
  margin-bottom: calc(var(--spacing) * 8);
  text-align: center;
}
.weekly-bonus-header h2 {
  margin-bottom: calc(var(--spacing) * 2);
  font-size: 1.8rem;
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}
.weekly-bonus-header p {
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  --tw-leading: var(--leading-relaxed);
  line-height: var(--leading-relaxed);
  color: var(--color-slate-300);
}
.weekly-bonus-body {
  margin-bottom: calc(var(--spacing) * 8);
  text-align: center;
}
.bonus-amount-display {
  margin-block: calc(var(--spacing) * 6);
  border-radius: 15px;
  border-style: var(--tw-border-style);
  border-width: 2px;
  border-color: color-mix(in srgb, #14b8a6 30%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 30%, transparent);
  }
  background-color: color-mix(in srgb, #14b8a6 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
  }
  padding: calc(var(--spacing) * 6);
}
.bonus-amount {
  margin-bottom: calc(var(--spacing) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bonus-amount .currency {
  font-size: 2.5rem;
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
  font-family: var(--sn-font-mono);
}
.bonus-amount .amount {
  margin-left: calc(var(--spacing) * 1);
  font-size: 2.5rem;
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
  font-family: var(--sn-font-mono);
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
  animation: weeklyBonusPulse 0.6s ease-in-out 3;
}
@keyframes weeklyBonusPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.bonus-label {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-400);
}
.weekly-bonus-actions {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 4);
  text-align: center;
}
.weekly-bonus-actions .click-to-continue {
  position: static;
  --tw-translate-x: calc(var(--spacing) * 0);
  translate: var(--tw-translate-x) var(--tw-translate-y);
  animation: clickMessageFade 0.5s ease-in-out;
}
.calculator-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.5;
}
.calculator-btn:hover {
  opacity: 1;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: scale(1.05);
}
.calculator-btn:active {
  transform: scale(0.95);
}
@media (max-width: 768px) {
  .calculator-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}
.calculator-modal-content {
  max-height: 90vh;
  max-width: 600px;
  overflow-y: auto;
}
.calculator-modal-body {
  padding: calc(var(--spacing) * 6);
}
.calculator-boxes {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: stretch;
}
.calculator-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.25rem;
  background: linear-gradient( 180deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.035) );
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 12px;
  min-width: 150px;
  min-height: 104px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.calculator-box:focus-within {
  border-color: rgba(20, 184, 166, 0.55);
  background: linear-gradient( 180deg, rgba(20, 184, 166, 0.16), rgba(20, 184, 166, 0.06) );
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12), 0 10px 26px -14px rgba(20, 184, 166, 0.45);
}
.calculator-box label {
  color: var(--sn-faint);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.calculator-box input {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--sn-teal);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
  transition: none;
  width: 100%;
  margin-top: 0.4rem;
}
.calculator-box input::placeholder {
  color: rgba(45, 212, 191, 0.42);
  font-size: 1.2rem;
  font-weight: 500;
}
.calculator-box input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}
.calculator-box input.error {
  color: #ef4444;
}
.calculator-swap {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--sn-teal);
  font-size: 1.05rem;
  line-height: 1;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(20, 184, 166, 0.28);
  box-shadow: 0 0 14px rgba(20, 184, 166, 0.18);
  user-select: none;
}
.calculator-examples {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sn-line);
}
.calculator-examples h4 {
  color: var(--sn-faint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.example-item {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.85rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--sn-line-2);
  border-radius: 8px;
  gap: 0.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.example-item:hover {
  border-color: rgba(20, 184, 166, 0.3);
  background: rgba(20, 184, 166, 0.06);
  transform: translateY(-1px);
}
.example-label {
  color: var(--sn-muted);
  font-size: 0.8rem;
}
.example-value {
  color: var(--sn-teal);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 768px) {
  .calculator-boxes {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .calculator-box {
    min-width: auto;
  }
  .examples-grid {
    grid-template-columns: 1fr;
  }
}
#add-ufc-event-modal .modal-content {
  max-width: 500px;
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
  }
  background-color: var(--color-slate-800);
  color: var(--color-slate-200);
}
#add-ufc-event-modal .form-group {
  margin-bottom: calc(var(--spacing) * 6);
}
#add-ufc-event-modal .form-group:last-of-type {
  margin-bottom: calc(var(--spacing) * 8);
}
#add-ufc-event-modal label {
  margin-bottom: calc(var(--spacing) * 2);
  display: block;
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
}
#add-ufc-event-modal .form-group label:has(input[type="radio"]) {
  margin-right: calc(var(--spacing) * 5);
  margin-bottom: calc(var(--spacing) * 2.5);
  display: inline-block;
  cursor: pointer;
  --tw-font-weight: var(--font-weight-normal);
  font-weight: var(--font-weight-normal);
}
#add-ufc-event-modal .form-group input[type="radio"] {
  margin-right: calc(var(--spacing) * 2);
}
#add-ufc-event-modal input {
  width: 100%;
  border-radius: var(--radius-md);
  padding-inline: calc(var(--spacing) * 3);
  padding-block: calc(var(--spacing) * 3);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 200ms;
  transition-duration: 200ms;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid var(--sn-line);
  color: var(--sn-text);
}
#add-ufc-event-modal input:focus {
  border-color: var(--color-teal-500);
  --tw-outline-style: none;
  outline-style: none;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
#add-ufc-event-modal small {
  margin-top: calc(var(--spacing) * 1);
  display: block;
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  color: var(--color-gray-500);
}
#add-ufc-event-modal .modal-header {
  border-bottom-style: var(--tw-border-style);
  border-bottom-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
  }
}
#add-ufc-event-modal .modal-header h3 {
  color: var(--color-slate-100);
}
#user-settings-modal .modal-content {
  max-height: 90vh;
  max-width: 600px;
  overflow-y: auto;
}
.settings-section {
  border-radius: 0;
  padding: calc(var(--spacing) * 0);
  background: none;
  border: none;
}
.settings-section + .settings-section {
  padding-top: calc(var(--spacing) * 8);
  border-top: 1px solid var(--sn-line);
}
.settings-section h4 {
  margin: calc(var(--spacing) * 0);
  margin-bottom: calc(var(--spacing) * 2);
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2.5);
  font-size: var(--text-lg);
  line-height: var(--tw-leading, var(--text-lg--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-slate-100);
}
.settings-section h4::before {
  content: "";
  display: inline-block;
  height: 1.05em;
  width: 3px;
  border-radius: calc(infinity * 1px);
  background: linear-gradient(var(--sn-teal), var(--sn-teal-2));
  box-shadow: 0 0 8px rgba(20, 184, 166, 0.5);
}
.availability-status {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
}
.availability-status.checking {
  color: var(--color-teal-500);
}
.availability-status.available {
  color: var(--color-emerald-500);
}
.availability-status.unavailable {
  color: var(--color-red-500);
}
.availability-status.error {
  color: var(--color-amber-500);
}
.username {
  cursor: pointer;
  border-radius: var(--radius-md);
  padding-inline: calc(var(--spacing) * 2);
  padding-block: calc(var(--spacing) * 1);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 200ms;
  transition-duration: 200ms;
}
.username:hover {
  background-color: color-mix(in srgb, #14b8a6 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
  }
  color: var(--color-teal-500);
}
.resettle-bet-modal .modal-content {
  max-width: 600px;
}
#user-details-modal .close {
  display: flex;
  height: calc(var(--spacing) * 12);
  width: calc(var(--spacing) * 12);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  padding: calc(var(--spacing) * 2);
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-slate-400);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 300ms;
  transition-duration: 300ms;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(20, 184, 166, 0.2);
}
#user-details-modal .close:hover {
  color: var(--color-slate-100);
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.4);
}
#user-details-modal .modal-header {
  position: static;
  z-index: auto;
  border-bottom-style: var(--tw-border-style);
  border-bottom-width: 1px;
  border-color: color-mix(in srgb, #14b8a6 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
  }
  background-color: var(--color-slate-800);
  padding-inline: calc(var(--spacing) * 6);
  padding-block: calc(var(--spacing) * 4);
  transform: none !important;
  will-change: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
@media (max-width: 768px) {
  .picks-modal-content {
    margin-block: calc(var(--spacing) * 4);
    height: auto;
    min-height: auto;
    width: 95%;
    max-width: 95%;
    max-height: calc(100vh - 3rem);
  }
  .picks-modal-header {
    padding: calc(var(--spacing) * 4);
  }
  .picks-modal-body {
    padding: calc(var(--spacing) * 4);
  }
  .modal-header-actions {
    gap: calc(var(--spacing) * 1);
  }
  .modal-outcome-odds {
    min-height: 90px;
    padding-block: calc(var(--spacing) * 3.5);
  }
  .modal-team-name, .modal-outcome-name {
    font-size: 0.95rem;
  }
  .modal-best-odds {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .modal-outcome-odds.selected .modal-best-odds {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .modal-odds-grid-ordered {
    grid-template-columns: 1fr auto 1fr;
    gap: calc(var(--spacing) * 3);
  }
  .modal-vs-separator {
    order: 2;
    margin-bottom: calc(var(--spacing) * 2);
    align-self: flex-start;
    padding-inline: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 1);
    font-size: 0.7rem;
  }
  .modal-outcome-odds {
    min-height: 100px;
    padding: calc(var(--spacing) * 4);
  }
  .modal-team-name, .modal-outcome-name {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .modal-outcome-odds.selected .modal-team-name, .modal-outcome-odds.selected .modal-outcome-name {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .modal-best-odds {
    font-size: 1.2rem;
  }
  .modal-outcome-odds.selected .modal-best-odds {
    font-size: 1.3rem;
  }
  .btn-confirm-pick {
    --tw-border-style: none;
    border-style: none;
    background-color: var(--color-teal-500);
    padding-inline: calc(var(--spacing) * 6);
    padding-block: calc(var(--spacing) * 4);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
  }
  .bet-success-content {
    width: 94vw;
    max-width: 460px;
    padding: calc(var(--spacing) * 8);
  }
  .bet-success-notification .success-message h3 {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .bet-success-notification .success-message p {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .bet-success-notification .success-icon {
    font-size: var(--text-7xl);
    line-height: var(--tw-leading, var(--text-7xl--line-height));
  }
  .bet-summary-notification {
    padding: calc(var(--spacing) * 5);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .chart-modal-header {
    padding: calc(var(--spacing) * 4);
    padding-inline: calc(var(--spacing) * 5);
  }
  .chart-modal-header h3 {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .chart-legend {
    gap: calc(var(--spacing) * 4);
  }
  .chart-legend-label {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .chart-legend-color {
    height: calc(var(--spacing) * 3);
    width: calc(var(--spacing) * 3);
  }
  .chart-date-range {
    gap: calc(var(--spacing) * 1.5);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
  }
  .date-range-btn {
    min-width: 40px;
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 1.5);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .chart-y-axis-locked {
    width: 60px;
  }
  .y-axis-label {
    font-size: 10px;
  }
  .chart-container {
    padding: calc(var(--spacing) * 2);
    padding-bottom: calc(var(--spacing) * 10);
    padding-left: calc(var(--spacing) * 4);
    height: calc(100vh - 280px);
    min-height: 350px;
    min-width: 600px;
  }
  .chart-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing) * 2);
    padding: calc(var(--spacing) * 3);
    padding-inline: calc(var(--spacing) * 4);
  }
  .chart-stat {
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
  }
  .chart-stat-label {
    margin-bottom: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .chart-stat-value {
    font-size: 0.95rem;
  }
  #user-settings-modal .modal-content {
    margin: calc(var(--spacing) * 4);
    max-height: 95vh;
    max-width: 95%;
  }
  .starting-balance-content {
    margin: calc(var(--spacing) * 4);
    padding: calc(var(--spacing) * 6);
  }
  .starting-balance-header h2 {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .balance-amount .amount {
    height: 45px;
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .modal-large .modal-content {
    width: calc(100vw - 1rem);
    height: calc(100vh - 1rem);
    margin: 0.5rem;
  }
  #user-details-modal .close {
    height: calc(var(--spacing) * 10);
    width: calc(var(--spacing) * 10);
    padding: calc(var(--spacing) * 1);
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .calculator-modal-content {
    margin: calc(var(--spacing) * 4);
    max-height: 95vh;
    max-width: 95%;
  }
}
@media (max-width: 480px) {
  .chart-modal-header {
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3.5);
  }
  .chart-modal-header h3 {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .chart-legend {
    gap: calc(var(--spacing) * 3);
  }
  .chart-legend-label {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .chart-legend-color {
    height: calc(var(--spacing) * 2.5);
    width: calc(var(--spacing) * 2.5);
  }
  .chart-date-range {
    gap: calc(var(--spacing) * 1);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2.5);
  }
  .date-range-btn {
    min-width: 35px;
    padding-inline: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .chart-container {
    height: calc(100vh - 300px);
    min-height: 300px;
  }
  .chart-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing) * 2);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2.5);
  }
  .chart-stat {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--spacing) * 2);
    text-align: left;
  }
  .chart-stat-label {
    margin-right: calc(var(--spacing) * 2);
    margin-bottom: calc(var(--spacing) * 0);
    flex-shrink: 0;
    font-size: 0.7rem;
  }
  .chart-stat-value {
    flex: 1;
    text-align: right;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .modal-team-logo {
    width: clamp(64px, 16vw, 92px);
    height: clamp(64px, 16vw, 92px);
  }
}
.balance-info {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
.odds-history {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.odds-history .oh-tone-azure {
  --oh: var(--sn-azure);
  --oh-2: var(--sn-azure-2);
  --oh-glow: rgba(56, 189, 248, 0.45);
}
.odds-history .oh-tone-amber {
  --oh: var(--sn-amber);
  --oh-2: var(--sn-amber-2);
  --oh-glow: rgba(251, 191, 36, 0.45);
}
.odds-history .oh-tone-teal {
  --oh: var(--sn-teal);
  --oh-2: var(--sn-teal-2);
  --oh-glow: rgba(45, 212, 191, 0.45);
}
.odds-history .oh-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--sn-line);
}
.odds-history .oh-eyebrow {
  font-family: var(--sn-font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sn-teal);
}
.odds-history .oh-matchup {
  margin: 0.15rem 0 0;
  font-family: var(--sn-font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 3.4vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sn-text);
}
.odds-history .oh-matchup .oh-vs {
  font-family: var(--sn-font-mono);
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--sn-faint);
  margin: 0 0.15em;
  text-transform: lowercase;
}
.odds-history .oh-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  font-family: var(--sn-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--sn-muted);
}
.odds-history .oh-meta i {
  color: var(--sn-faint);
  margin-right: 0.3rem;
  width: 0.85rem;
  text-align: center;
}
.odds-history .oh-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.odds-history .oh-market-pill {
  padding: 0.3rem 0.8rem;
  font-family: var(--sn-font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sn-muted);
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--sn-line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.odds-history .oh-market-pill:hover {
  color: var(--sn-text);
  border-color: rgba(45, 212, 191, 0.4);
}
.odds-history .oh-market-pill.is-active {
  color: #06121a;
  background: linear-gradient(135deg, var(--sn-teal), var(--sn-teal-2));
  border-color: transparent;
  box-shadow: 0 4px 14px -6px rgba(20, 184, 166, 0.8);
}
.odds-history .oh-board {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.odds-history .oh-outcome {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: var(--sn-radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.55));
  border: 1px solid var(--sn-line);
  overflow: hidden;
  animation: ohFadeUp 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.odds-history .oh-outcome:nth-child(1) {
  animation-delay: 0.04s;
}
.odds-history .oh-outcome:nth-child(2) {
  animation-delay: 0.10s;
}
.odds-history .oh-outcome:nth-child(3) {
  animation-delay: 0.16s;
}
.odds-history .oh-outcome:nth-child(4) {
  animation-delay: 0.22s;
}
.odds-history .oh-outcome:nth-child(5) {
  animation-delay: 0.28s;
}
.odds-history .oh-outcome:nth-child(6) {
  animation-delay: 0.34s;
}
@keyframes ohFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .odds-history .oh-outcome {
    animation: none;
  }
}
.odds-history .oh-outcome::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--oh), var(--oh-2));
  box-shadow: 0 0 12px var(--oh-glow);
}
.odds-history .oh-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.odds-history .oh-id {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.odds-history .oh-name {
  font-family: var(--sn-font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--sn-text);
  overflow-wrap: anywhere;
}
.odds-history .oh-sub {
  font-family: var(--sn-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--sn-muted);
}
.odds-history .oh-sub b {
  font-weight: 700;
  color: var(--sn-text);
  font-variant-numeric: tabular-nums;
}
.odds-history .oh-sub .oh-arrow {
  color: var(--sn-faint);
  margin: 0 0.35rem;
}
.odds-history .oh-now {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
}
.odds-history .oh-price {
  font-family: var(--sn-font-mono);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--oh);
  text-shadow: 0 0 18px var(--oh-glow);
}
.odds-history .oh-move {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--sn-font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.odds-history .oh-move i {
  font-size: 0.75em;
}
.odds-history .oh-move-up {
  color: var(--sn-won);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}
.odds-history .oh-move-down {
  color: var(--sn-lost);
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}
.odds-history .oh-move-flat {
  color: var(--sn-muted);
  background: rgba(148, 163, 184, 0.1);
  border-color: var(--sn-line);
}
.odds-history .oh-spark {
  position: relative;
  height: 46px;
  width: 100%;
}
.odds-history .oh-spark-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.odds-history .oh-spark-line {
  fill: none;
  stroke: var(--oh);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px var(--oh-glow));
}
.odds-history .oh-spark-area {
  fill: var(--oh);
  opacity: 0.14;
}
.odds-history .oh-spark-baseline {
  stroke: var(--sn-line);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}
.odds-history .oh-spark-now {
  position: absolute;
  right: -1px;
  transform: translate(50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oh);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.9), 0 0 10px var(--oh-glow);
}
.odds-history .oh-spark-peak {
  position: absolute;
  top: -2px;
  left: 0;
  font-family: var(--sn-font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sn-amber);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.odds-history .oh-books {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.odds-history .oh-book {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.6rem;
  min-width: 3.6rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--sn-line);
  transition: all 0.2s ease;
}
.odds-history .oh-book-name {
  font-family: var(--sn-font-mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sn-muted);
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.odds-history .oh-book-price {
  font-family: var(--sn-font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sn-text);
  font-variant-numeric: tabular-nums;
}
.odds-history .oh-book-best {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.18), rgba(20, 184, 166, 0.06));
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.15), 0 6px 16px -10px rgba(20, 184, 166, 0.8);
}
.odds-history .oh-book-best .oh-book-price {
  color: var(--sn-teal);
}
.odds-history .oh-log {
  margin-top: 0.4rem;
  border-top: 1px solid var(--sn-line);
  padding-top: 0.6rem;
}
.odds-history .oh-log > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sn-font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sn-muted);
  transition: color 0.2s ease;
}
.odds-history .oh-log > summary::-webkit-details-marker {
  display: none;
}
.odds-history .oh-log > summary:hover {
  color: var(--sn-text);
}
.odds-history .oh-log-count {
  font-weight: 500;
  color: var(--sn-faint);
  background: rgba(148, 163, 184, 0.1);
  padding: 0 0.4rem;
  border-radius: 999px;
}
.odds-history .oh-log[open] > summary {
  color: var(--sn-teal);
  margin-bottom: 0.6rem;
}
.odds-history .oh-log-scroll {
  max-height: 280px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid var(--sn-line-2);
}
.odds-history .oh-log-scroll table {
  width: 100%;
  border-collapse: collapse;
}
.odds-history .oh-log-scroll th, .odds-history .oh-log-scroll td {
  padding: 0.4rem 0.6rem;
  text-align: left;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--sn-line-2);
  color: var(--sn-text);
}
.odds-history .oh-log-scroll th {
  position: sticky;
  top: 0;
  background: rgba(30, 41, 59, 0.96);
  font-family: var(--sn-font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sn-teal);
}
.odds-history .oh-log-price {
  font-family: var(--sn-font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.odds-history .oh-current {
  color: var(--sn-teal);
}
#global-modal .modal-content:has(.odds-history) {
  position: relative;
  width: min(680px, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#global-modal .modal-content:has(.odds-history) > .close-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
}
#global-modal .modal-content:has(.odds-history) > .odds-history {
  overflow-y: auto;
  min-height: 0;
  padding: 2.6rem 1.5rem 1.5rem;
}
.admin-content {
  animation: fadeIn 0.5s ease;
}
#admin-bets-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
  border-left: none;
  border-right: none;
  padding: 2rem 1rem;
}
#admin-bets-section .bets-content {
  max-width: none;
  width: 100%;
}
#admin-bets-section .bets-container {
  width: 100%;
  max-width: none;
}
#admin-bets-section .admin-bets-table {
  width: 100%;
  max-width: none;
  margin: 0;
}
#admin-bets-section .stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
#admin-bets-section .bets-header {
  width: 100%;
  max-width: none;
  padding: 0 1rem;
}
@media (max-width: 1600px) {
  #admin-bets-section {
    padding: 1.5rem 0.75rem;
  }
}
@media (max-width: 1200px) {
  #admin-bets-section {
    padding: 1rem 0.5rem;
  }
}
.admin-subsection {
  background: var(--sn-panel-bg-soft);
  border: 1px solid var(--sn-line);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}
.admin-subsection h3 {
  color: #f1f5f9;
  font-size: 1.25rem;
}
.admin-fights-grid {
  display: grid;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .fights-grid, .admin-fights-grid {
    grid-template-columns: 1fr;
  }
}
.admin-fight-header {
  display: flex;
  justify-content: between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.admin-fight-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-upcoming {
  background: rgba(56, 189, 248, 0.18);
  color: var(--sn-azure);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.status-completed {
  background: rgba(20, 184, 166, 0.2);
  color: var(--sn-teal-2);
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.admin-fighters {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-fighter {
  flex: 1;
  text-align: center;
  padding: 1rem;
  border: 2px solid #475569;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #1e293b;
  color: #e2e8f0;
}
.admin-fighter.winner {
  background: rgba(20, 184, 166, 0.2);
  border-color: var(--sn-teal-2);
  color: var(--sn-teal-2);
  font-weight: 600;
}
.bet-stats {
  background: #334155;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.bet-stats h4 {
  color: #f1f5f9;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #94a3b8;
}
.empty-state h3 {
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.admin-bets-table {
  background: var(--sn-panel-bg-soft);
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  overflow: hidden;
}
.table-header {
  display: grid;
  grid-template-columns: 80px 220px 300px 160px 100px 100px 100px 200px 100px;
  gap: 0.75rem 0.5rem;
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.9), rgba(12, 19, 38, 0.9));
  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  border-bottom: 1px solid var(--sn-line);
}
.table-row {
  display: grid;
  grid-template-columns: 80px 220px 300px 160px 100px 100px 100px 200px 100px;
  gap: 0.75rem 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--sn-line);
  transition: background-color 0.2s ease;
  align-items: center;
  min-height: 50px;
}
.table-row:hover {
  background: rgba(20, 184, 166, 0.05);
}
.table-row.pending {
  border-left: 3px solid #fbbf24;
}
.table-row.won {
  border-left: 3px solid #22c55e;
}
.table-row.lost {
  border-left: 3px solid var(--sn-lost);
}
.table-row.cancelled {
  border-left: 3px solid #6b7280;
}
.table-row.name-mismatch {
  background: rgba(251, 191, 36, 0.1);
  border-right: 3px solid #fbbf24;
}
.pick-id {
  font-weight: 600;
  color: var(--sn-teal-2);
  font-size: 0.85rem;
}
.text-warning {
  color: #fbbf24;
  font-size: 0.7rem;
}
.col-match {
  font-size: 0.85rem;
  text-align: left;
}
.col-match .match-info {
  text-align: left;
  margin-bottom: 0;
}
.col-match .teams {
  justify-content: flex-start;
  margin-bottom: 0;
}
.match-info .teams {
  color: #f1f5f9;
  font-weight: 500;
  margin-bottom: 0.125rem;
}
.match-info .sport {
  color: #64748b;
  font-size: 0.7rem;
  display: block;
}
.match-info .winner {
  color: #22c55e;
  font-size: 0.7rem;
  display: block;
}
.col-pick {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sn-teal-2);
}
.col-amount, .col-odds {
  font-weight: 600;
}
.col-odds {
  text-align: left;
}
.col-status {
  text-align: center;
}
.status-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.status-badge.pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}
.status-badge.won {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}
.status-badge.lost {
  background: rgba(239, 68, 68, 0.2);
  color: var(--sn-lost);
}
.status-badge.cancelled {
  background: rgba(107, 114, 128, 0.2);
  color: #9ca3af;
}
.col-date {
  font-size: 0.75rem;
}
.date-info small {
  color: #94a3b8;
  display: block;
  line-height: 1.3;
}
.col-actions {
  text-align: center;
}
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--sn-panel-bg-soft);
  border-top: 1px solid var(--sn-line);
  margin-top: 1rem;
  border-radius: 8px;
}
.pagination-info {
  color: #94a3b8;
  font-size: 0.9rem;
}
.pagination-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.page-btn {
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(20, 184, 166, 0.3);
  background: transparent;
  color: #f1f5f9;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.page-btn:hover:not(:disabled) {
  background: rgba(20, 184, 166, 0.2);
  border-color: var(--sn-teal-2);
}
.page-btn.active {
  background: var(--sn-teal);
  border-color: var(--sn-teal);
  color: #06121f;
  font-weight: 600;
}
.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pagination-ellipsis {
  color: #64748b;
  padding: 0 0.25rem;
}
.prev-page-btn, .next-page-btn {
  padding: 0.375rem 0.75rem;
}
@media (max-width: 1400px) {
  .table-header, .table-row {
    grid-template-columns: 70px 200px 250px 140px 90px 90px 90px 180px 80px;
    font-size: 0.8rem;
  }
  .col-date {
    font-size: 0.7rem;
  }
}
@media (max-width: 1200px) {
  .table-header, .table-row {
    grid-template-columns: 60px 180px 220px 120px 80px 80px 80px 140px 70px;
    font-size: 0.8rem;
  }
  .col-date {
    font-size: 0.7rem;
  }
}
@media (max-width: 900px) {
  .table-header {
    display: none;
  }
  .admin-bets-table {
    background: transparent;
    border: none;
  }
  .table-row {
    display: block;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 12px;
    background: #1e293b;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  .table-row:nth-child(even) {
    background: #1a2332;
    border-color: rgba(20, 184, 166, 0.25);
  }
  .table-row:hover {
    background: rgba(20, 184, 166, 0.05);
  }
  .bet-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  }
  .table-row .col-id {
    display: inline-block;
    font-weight: 700;
    color: var(--sn-teal-2);
    font-size: 1rem;
  }
  .table-row .col-status {
    display: inline-block;
    text-align: right;
  }
  .table-row .user-info {
    margin-bottom: 0.75rem;
  }
  .table-row .user-info::before {
    content: "User: ";
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }
  .table-row .col-match {
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
  }
  .table-row .col-match::before {
    content: "Match: ";
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }
  .table-row .col-match {
    text-align: left;
  }
  .table-row .col-match .match-info {
    text-align: left !important;
  }
  .table-row .col-match .match-info .teams {
    text-align: left !important;
    display: block;
    width: 100%;
  }
  .table-row .col-match .match-info .sport {
    text-align: left !important;
  }
  .table-row .col-match * {
    text-align: left !important;
  }
  .bet-details-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
  }
  .table-row .col-pick {
    text-align: left;
  }
  .table-row .col-pick::before {
    content: "Pick";
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }
  .table-row .col-amount::before {
    content: "Amount";
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }
  .table-row .col-odds {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .table-row .col-odds::before {
    content: "Odds";
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }
  .table-row .col-date {
    margin-bottom: 1rem;
  }
  .table-row .col-date::before {
    content: "Date: ";
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }
  .table-row .col-actions {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(30, 41, 59, 0.3);
    text-align: left;
  }
  .table-row {
    display: block;
  }
  .table-row > * {
    display: block;
    width: 100%;
  }
  .table-row .col-id {
    order: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  }
  .table-row .col-status {
    order: 1;
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: block;
    margin: 0;
    padding: 0;
  }
  .table-row .user-info {
    order: 2;
    margin-bottom: 0.75rem;
  }
  .table-row .col-match {
    order: 3;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
  }
  .table-row .col-pick {
    order: 4;
    margin-bottom: 0.75rem;
  }
  .table-row .col-amount {
    order: 5;
    margin-bottom: 0.75rem;
  }
  .table-row .col-odds {
    order: 6;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
  }
  .table-row .col-date {
    order: 7;
    margin-bottom: 0.75rem;
  }
  .table-row .col-actions {
    order: 8;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(30, 41, 59, 0.3);
  }
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--sn-panel-bg-soft);
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.admin-table th, .admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--sn-line);
}
.admin-table th {
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.9), rgba(12, 19, 38, 0.9));
  font-weight: 600;
  color: #f1f5f9;
}
.admin-table tbody tr:hover {
  background: rgba(20, 184, 166, 0.05);
}
.admin-table.compact th, .admin-table.compact td {
  padding: 8px;
  font-size: 0.9rem;
}
.users-table-container, .bets-table-container, .bonuses-table-container, .settlements-table-container {
  overflow-x: auto;
}
.admin-badge {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 8px;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}
.win-loss-breakdown {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 2px;
}
.balance.positive, .net-profit.positive {
  color: #34d399;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.balance.negative, .net-profit.negative {
  color: #fca5a5;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.user-details-container {
  padding: 1rem;
  max-height: none;
  overflow-y: visible;
}
.user-details-section {
  margin-bottom: 2rem;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  background: rgba(20, 184, 166, 0.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.user-details-section h4 {
  margin: 0 0 1rem 0;
  color: var(--sn-teal-2);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sn-teal-2);
}
.user-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  padding: 0.5rem;
}
.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
  background: rgba(20, 184, 166, 0.03);
  border-radius: 6px;
  transition: background-color 0.2s ease;
  min-height: 45px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.detail-item:hover {
  background: rgba(20, 184, 166, 0.08);
}
.detail-item label {
  font-weight: 600;
  color: #94a3b8;
  font-size: 0.9rem;
  min-width: 130px;
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.detail-item span {
  color: #f1f5f9;
  font-weight: 500;
  text-align: right;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  word-break: break-all;
  max-width: 100%;
}
.detail-item .balance.positive {
  color: var(--sn-won);
  font-weight: 600;
}
.detail-item .balance.negative {
  color: var(--sn-lost);
  font-weight: 600;
}
.user-basic-info {
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.user-basic-header {
  text-align: center;
}
.user-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.user-basic-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.user-basic-details .username {
  font-size: 0.95rem;
  color: var(--sn-teal-2);
  font-weight: 600;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
}
.user-basic-details .email-address {
  font-size: 0.85rem;
  color: #94a3b8;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  word-break: break-all;
  overflow-wrap: anywhere;
  text-align: center;
  max-width: 100%;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.user-basic-details .email-address:hover {
  color: var(--sn-teal-2);
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.4);
}
.user-timestamps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(20, 184, 166, 0.2);
}
.user-timestamps .timestamp {
  font-size: 0.75rem;
  color: #64748b;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  text-align: center;
}
.detail-item .email-address {
  word-break: break-all;
  overflow-wrap: anywhere;
  hyphens: none;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
  max-width: 100%;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.detail-item .email-address:hover {
  color: var(--sn-teal-2);
  text-decoration: underline;
}
.detail-item .email-address::after {
  content: attr(data-full-email);
  position: absolute;
  bottom: 100%;
  left: 0;
  background: rgba(15, 23, 42, 0.95);
  color: #e2e8f0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  border: 1px solid rgba(20, 184, 166, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 300px;
  word-break: break-all;
  white-space: normal;
}
.detail-item .email-address:hover::after {
  opacity: 1;
  visibility: visible;
}
.match-info {
  line-height: 1.3;
  color: #f1f5f9;
}
.users-header, .users-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.users-header h2 {
  color: var(--sn-teal-2);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}
.users-actions {
  gap: 1rem;
}
.users-stats-container {
  margin-bottom: 2rem;
}
.date {
  font-size: 0.9rem;
  color: #94a3b8;
}
.resettle-bet-info {
  background: #0f172a;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.resettle-bet-info h4 {
  color: #f1f5f9;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.bet-summary {
  margin-bottom: 1rem;
}
.bet-summary p {
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}
.warning-notice {
  background: rgba(251, 146, 60, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 6px;
  padding: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.warning-notice i {
  color: #fb923c;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.warning-notice strong {
  color: #fb923c;
}
@media (max-width: 768px) {
  .bets-header {
    flex-direction: column;
    align-items: stretch;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bets-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .month-separator {
    margin: 1.5rem 0 0.75rem 0;
  }
  .month-year-header {
    font-size: 1rem;
    padding: 0.4rem 1.2rem;
  }
  .day-separator {
    margin: 1.5rem 0 0.75rem 0;
  }
  .day-header {
    font-size: 1rem;
    padding: 0.4rem 1.2rem;
  }
  .month-navigation {
    margin: 0.75rem 0 1rem 0;
    padding: 0.75rem;
  }
  .month-nav-label {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  .month-nav-buttons {
    gap: 0.4rem;
  }
  .month-nav-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  .bet-header {
    gap: 0.5rem;
  }
  .bet-match {
    gap: 0.4rem;
  }
  .bet-details {
    grid-template-columns: repeat(2, 1fr);
  }
  .bet-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .bet-timestamps {
    justify-content: center;
  }
  .bet-actions {
    justify-content: center;
  }
  .user-details-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.6rem;
  }
  .detail-item {
    padding: 0.6rem 0.8rem;
    min-height: 50px;
  }
  .detail-item .email-address {
    font-size: 0.8rem;
    line-height: 1.3;
    word-break: break-all;
  }
  .user-basic-info {
    padding: 16px;
    margin-bottom: 16px;
  }
  .user-name {
    font-size: 1.1rem;
  }
  .user-basic-details .username {
    font-size: 0.85rem;
  }
  .user-basic-details .email-address {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  .user-timestamps .timestamp {
    font-size: 0.7rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bet-details {
    grid-template-columns: 1fr;
  }
  .bet-timestamps {
    flex-direction: column;
    gap: 0.5rem;
  }
  .bet-timestamps-compact {
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin-top: 0.5rem;
  }
  .bet-card {
    padding: 0.875rem;
    gap: 0.6rem;
  }
  .bet-match .teams-main {
    font-size: 0.95rem;
  }
  .bet-details-compact {
    padding: 0.6rem;
    gap: 0.6rem;
  }
  .bet-timestamps-compact {
    padding: 0.6rem;
    gap: 0.6rem;
  }
  .bet-match-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
}
@media (max-width: 1800px) {
  .stats-grid {
    grid-template-columns: repeat(10, 1fr);
    gap: 0.5rem;
  }
  .stat-card {
    padding: 0.6rem 0.4rem;
    min-height: 80px;
  }
  .stat-value {
    font-size: 0.95rem;
  }
  .stat-label {
    font-size: 0.6rem;
  }
}
@media (max-width: 1600px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
  }
  .stat-card {
    padding: 0.7rem 0.5rem;
    min-height: 85px;
  }
}
@media (max-width: 1400px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 1000px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
#admin-section .stat-value, #admin-section .pick-id {
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
}
.sports-table {
  width: 100%;
  margin: 1rem 0;
}
.sport-group {
  margin-bottom: 2rem;
}
.sport-group-title {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: #1e293b;
  border-radius: 4px;
  color: var(--sn-teal-2);
  font-weight: 600;
  font-size: 1.1rem;
}
.sports-table-content {
  border: 1px solid #475569;
  border-radius: 4px;
  overflow: hidden;
  background: #1e293b;
}
.sports-table-header {
  display: grid;
  grid-template-columns: 40px 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #334155;
  border-bottom: 2px solid #475569;
  font-weight: 600;
  color: #94a3b8;
  font-size: 1rem;
}
.sport-row {
  display: grid;
  grid-template-columns: 40px 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  align-items: center;
  border-bottom: 1px solid #475569;
  transition: background-color 0.2s;
  background: #1e293b;
  color: #e2e8f0;
}
.sport-row:hover {
  background-color: #334155;
}
.sport-row.inactive {
  opacity: 0.7;
}
.sport-row.no-scores {
  border-left: 3px solid var(--sn-amber-2);
  background: rgba(245, 158, 11, 0.05);
}
.status-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}
.status-indicator:hover:not(.disabled) {
  transform: scale(1.2);
}
.status-indicator.active {
  background-color: #28a745;
}
.status-indicator.inactive {
  background-color: #dc3545;
}
.status-indicator.disabled {
  background-color: #6b7280;
  cursor: not-allowed;
}
.no-scores-warning {
  color: var(--sn-amber-2);
  font-size: 12px;
  margin-left: 4px;
}
.no-scores-badge {
  display: inline-block;
  background: var(--sn-amber-2);
  color: #000;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}
.refresh-scores-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.col-name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}
.col-matches {
  display: flex;
  justify-content: center;
  align-items: center;
}
.col-odds, .col-results {
  display: flex;
  justify-content: center;
  align-items: center;
}
.col-matches .btn {
  background-color: #28a745;
  border-color: #28a745;
}
.col-matches .btn:hover {
  background-color: #218838;
  border-color: #1e7e34;
}
.col-odds .btn, .col-results .btn {
  padding: 0.5rem;
  width: auto;
  min-width: 140px;
}
.last-updated {
  font-size: 0.875rem;
  text-align: center;
  min-width: 100px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
}
.last-updated:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.last-updated.last-odds, .last-updated.last-scores {
  color: var(--sn-teal-2);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.last-updated.last-odds:hover, .last-updated.last-scores:hover {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.4);
  color: white;
}
.last-updated:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.last-updated:disabled:hover {
  transform: none;
  box-shadow: none;
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.2);
}
.matches-section {
  margin-bottom: 2rem;
}
.matches-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #1e293b;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.upcoming-title {
  color: #22c55e;
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}
.upcoming-title i {
  color: #22c55e;
}
.past-title {
  color: #94a3b8;
  border-color: #475569;
  background: rgba(148, 163, 184, 0.05);
}
.past-title i {
  color: #94a3b8;
}
.sports-header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.jump-to-past-btn {
  text-decoration: none;
  transition: all 0.3s ease;
}
.jump-to-past-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
@media (max-width: 768px) {
  .sports-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .sports-header-actions {
    justify-content: center;
  }
}
.api-usage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.api-usage-header h2 {
  color: var(--sn-teal-2);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}
.usage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.stat {
  background: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
}
.stat:hover {
  background: #475569;
  border-color: rgba(20, 184, 166, 0.3);
}
.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f1f5f9;
}
.stat-value.status-good {
  color: var(--sn-won);
}
.stat-value.status-warning {
  color: var(--sn-amber-2);
}
.stat-value.status-critical {
  color: var(--sn-lost);
}
.usage-warnings {
  margin-top: 1rem;
}
.warning {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.warning.warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--sn-amber-2);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid var(--sn-amber-2);
}
.warning.critical {
  background: rgba(239, 68, 68, 0.1);
  color: var(--sn-lost);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid var(--sn-lost);
}
.breakdown-table {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(100, 116, 139, 0.3);
}
.breakdown-table table {
  width: 100%;
  border-collapse: collapse;
}
.breakdown-table th, .breakdown-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
}
.breakdown-table th {
  background: #334155;
  font-weight: 600;
  color: var(--sn-teal-2);
  border-bottom: 2px solid rgba(20, 184, 166, 0.3);
}
.breakdown-table .total-row {
  background: #334155;
  font-weight: 600;
  border-top: 2px solid rgba(20, 184, 166, 0.3);
}
.api-info {
  margin-bottom: 1.5rem;
}
.api-info p {
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}
.api-info a {
  color: var(--sn-teal-2);
  text-decoration: none;
}
.api-info a:hover {
  text-decoration: underline;
}
.recommendations h4 {
  color: var(--sn-teal-2);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.recommendations ul {
  margin-left: 1rem;
  margin-top: 0.5rem;
}
.recommendations li {
  margin-bottom: 0.5rem;
  color: #94a3b8;
  line-height: 1.5;
}
.scores-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.scores-header h2 {
  color: var(--sn-teal-2);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}
.scores-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.scores-status-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.status-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.status-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--sn-teal-2);
  margin-bottom: 0.25rem;
}
.status-label {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}
.sports-needing-updates, .all-sports-with-bets {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sports-needing-updates h3, .all-sports-with-bets h3 {
  color: var(--sn-teal-2);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.sports-update-table, .sports-summary-table {
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background: #334155;
}
.update-table-header, .summary-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #475569;
  font-weight: 600;
  color: var(--sn-teal-2);
  font-size: 0.9rem;
}
.summary-table-header {
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
}
.update-table-row, .summary-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
}
.summary-table-row {
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
}
.update-table-row:hover, .summary-table-row:hover {
  background-color: #475569;
}
.sport-key {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}
.badge-primary {
  background: rgba(20, 184, 166, 0.2);
  color: var(--sn-teal-2);
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.badge-secondary {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}
.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}
.status-badge.needs-update {
  background: rgba(245, 158, 11, 0.2);
  color: var(--sn-amber-2);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.status-badge.up-to-date {
  background: rgba(16, 185, 129, 0.2);
  color: var(--sn-won);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.never-updated {
  color: var(--sn-lost);
  font-style: italic;
}
.update-results {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.update-results h3 {
  color: var(--sn-teal-2);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.results-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.result-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.result-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}
.result-label {
  font-size: 0.8rem;
  color: #94a3b8;
}
.sports-processed {
  margin-top: 1.5rem;
}
.sports-processed h4 {
  color: var(--sn-teal-2);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.processed-sports-table {
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background: #334155;
}
.processed-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #475569;
  font-weight: 600;
  color: var(--sn-teal-2);
  font-size: 0.9rem;
}
.processed-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
}
.processed-table-row:hover {
  background-color: #475569;
}
.update-errors {
  margin-top: 1.5rem;
}
.update-errors h4 {
  color: var(--sn-lost);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.error-list {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 1rem;
}
.error-item {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--sn-lost);
  font-family: "Monaco", "Menlo", monospace;
  font-size: 0.9rem;
}
.error-item:last-child {
  border-bottom: none;
}
.ufc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(20, 184, 166, 0.3);
}
.ufc-header h2 {
  margin: 0;
  color: var(--sn-teal-2);
  font-size: 1.5rem;
  font-weight: 600;
}
.ufc-actions {
  display: flex;
  gap: 0.75rem;
}
.ufc-info-box {
  background: linear-gradient( 135deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.05) );
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.ufc-info-box h3 {
  margin: 0 0 1rem 0;
  color: var(--sn-teal-2);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ufc-info-box p {
  margin: 0 0 0.75rem 0;
  color: #64748b;
}
.ufc-info-box ul {
  margin: 0;
  padding-left: 1.5rem;
  color: #64748b;
}
.ufc-info-box li {
  margin-bottom: 0.5rem;
}
.ufc-info-box code {
  background: rgba(20, 184, 166, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--sn-teal-2);
}
.ufc-events-container {
  position: relative;
}
.ufc-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}
.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}
.event-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  flex-shrink: 0;
}
.ufc-event-card.upcoming .event-status {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.ufc-event-card.live .event-status {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.ufc-event-card.completed .event-status {
  background: rgba(16, 185, 129, 0.15);
  color: #86efac;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.event-status .text-live {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.event-content {
  padding: 0 1.25rem;
  margin-bottom: 1rem;
}
.event-name {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-details {
  display: flex;
  flex-direction: column;
}
.detail-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  font-size: 0.85rem;
}
.detail-row i {
  width: 14px;
  color: var(--sn-teal-2);
  flex-shrink: 0;
}
.event-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: rgba(15, 23, 42, 0.3);
  border-top: 1px solid rgba(226, 232, 240, 0.06);
  margin: 1rem 0 0 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0.75rem;
  background: rgba(51, 65, 85, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.08);
}
.stat-label {
  font-size: 0.7rem;
  color: #cbd5e1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
}
.stat-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}
.results-status.fetched .stat-value {
  color: #4ade80;
}
.results-status.not-fetched .stat-value {
  color: #facc15;
}
.event-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem 1.125rem 1.25rem;
  background: rgba(15, 23, 42, 0.25);
}
.event-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  min-height: 32px;
  transition: all 0.2s ease;
  text-align: center;
}
.fetch-results-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(50%);
}
.no-events {
  text-align: center;
  padding: 3rem 2rem;
  color: #64748b;
}
.no-events i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}
.no-events h3 {
  margin: 0 0 0.5rem 0;
  color: #475569;
  font-size: 1.25rem;
}
.no-events p {
  margin: 0;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .ufc-events-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ufc-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .ufc-actions {
    justify-content: center;
  }
  .event-header {
    padding: 1rem 1rem 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .event-status {
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }
  .event-content {
    padding: 0 1rem;
    margin-bottom: 0.875rem;
  }
  .event-name {
    font-size: 1rem;
  }
  .event-details {
    gap: 0.375rem;
  }
  .detail-row {
    font-size: 0.8rem;
  }
  .event-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin: 0.875rem 0 0 0;
  }
  .stat {
    padding: 0.5rem 0.625rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .stat-value {
    font-size: 0.85rem;
  }
  .event-actions {
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem 1rem 1rem 1rem;
    gap: 0.5rem;
  }
  .event-actions .btn {
    min-height: 36px;
    font-size: 0.7rem;
    padding: 0.4375rem 0.5rem;
  }
  .ufc-info-box {
    padding: 1rem;
  }
  .ufc-info-box h3 {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .ufc-events-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
  .event-header {
    padding: 0.875rem 0.875rem 0.25rem 0.875rem;
    gap: 0.625rem;
  }
  .event-status {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }
  .event-content {
    padding: 0 0.875rem;
    margin-bottom: 0.75rem;
  }
  .event-name {
    font-size: 0.9375rem;
    line-height: 1.35;
  }
  .detail-row {
    font-size: 0.75rem;
    gap: 0.5rem;
  }
  .detail-row i {
    width: 13px;
  }
  .event-stats {
    grid-template-columns: 1fr;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    margin: 0.75rem 0 0 0;
  }
  .stat {
    padding: 0.4375rem 0.5625rem;
  }
  .stat-label {
    font-size: 0.6rem;
  }
  .stat-value {
    font-size: 0.8rem;
  }
  .event-actions {
    grid-template-columns: 1fr 1fr;
    padding: 0.625rem 0.875rem 0.875rem 0.875rem;
    gap: 0.375rem;
  }
  .event-actions .btn {
    min-height: 34px;
    font-size: 0.65rem;
    padding: 0.375rem 0.5rem;
    gap: 0.1875rem;
  }
  .ufc-info-box ul {
    padding-left: 1rem;
  }
}
.ufc-event-card .detail-row {
  margin-bottom: 0.5rem;
}
.ufc-event-card .detail-row:last-child {
  margin-bottom: 0;
}
.ufc-event-card .detail-row a {
  word-break: break-all;
}
.ufc-event-card .event-actions {
  gap: 0.5rem;
}
.ufc-event-card .event-actions .btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}
.ufc-event-card.live .event-status .status-text {
  animation: pulse 2s infinite;
}
.text-live {
  color: var(--sn-lost);
  font-weight: 600;
  margin-left: 0.5rem;
}
.last-fetch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  color: #64748b;
}
.last-fetch i {
  color: var(--sn-teal-2);
}
.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #475569;
}
.settings-header h2 {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.settings-section {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid #475569;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.settings-section h3 {
  color: var(--sn-teal-2);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.settings-description {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.setting-item {
  margin-bottom: 1.5rem;
}
.setting-item label {
  display: block;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.setting-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.setting-input-group input {
  flex: 1;
  max-width: 200px;
}
.setting-help {
  color: #64748b;
  font-size: 0.8rem;
  display: block;
  margin-top: 0.25rem;
}
.settings-table-container {
  margin-top: 1rem;
}
.settings-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  overflow: hidden;
}
.settings-table th, .settings-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #475569;
}
.settings-table th {
  background: rgba(20, 184, 166, 0.1);
  color: var(--sn-teal-2);
  font-weight: 600;
  font-size: 0.9rem;
}
.settings-table td {
  color: #cbd5e1;
  font-size: 0.9rem;
}
.settings-table tr:hover {
  background: rgba(30, 41, 59, 0.3);
}
.settings-table tr:last-child td {
  border-bottom: none;
}
.setting-key {
  font-family: monospace;
  color: #fbbf24;
  font-weight: 500;
}
.setting-value {
  font-family: monospace;
  color: var(--sn-teal-2);
}
.setting-type {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}
@media (max-width: 768px) {
  .settings-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .setting-input-group {
    flex-direction: column;
    align-items: stretch;
  }
  .setting-input-group input {
    max-width: none;
  }
  .settings-table {
    font-size: 0.8rem;
  }
  .settings-table th, .settings-table td {
    padding: 0.5rem;
  }
}
@media (max-width: 768px) {
  .sports-header, .api-usage-header, .scores-header {
    flex-direction: column;
    align-items: stretch;
  }
  .scores-actions {
    justify-content: center;
  }
  .scores-status-overview {
    grid-template-columns: 1fr;
  }
  .results-overview {
    grid-template-columns: repeat(2, 1fr);
  }
  .update-table-header, .update-table-row, .summary-table-header, .summary-table-row, .processed-table-header, .processed-table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .col-sport, .col-bets, .col-matches, .col-status, .col-last-update {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
  }
  .col-sport::before {
    content: "Sport: ";
    font-weight: 600;
  }
  .col-bets::before {
    content: "Pending Bets: ";
    font-weight: 600;
  }
  .col-matches::before {
    content: "Total Matches: ";
    font-weight: 600;
  }
  .col-status::before {
    content: "Status: ";
    font-weight: 600;
  }
  .col-last-update::before {
    content: "Last Update: ";
    font-weight: 600;
  }
  .usage-stats {
    grid-template-columns: 1fr;
  }
  .breakdown-table {
    font-size: 0.8rem;
  }
  .sports-table-header, .sports-table-content .sports-table-header {
    display: none !important;
  }
  .sport-row {
    display: block !important;
    grid-template-columns: none !important;
    padding: 1rem !important;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #334155 !important;
    border: 1px solid #475569;
  }
  .sport-row .col-status, .sport-row .col-name, .sport-row .col-matches, .sport-row .col-odds, .sport-row .col-results {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    margin: 0;
  }
  .sport-row .col-status::before {
    content: "Status: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-name::before {
    content: "Sport: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-matches::before {
    content: "Matches: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-odds::before {
    content: "Odds: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-results::before {
    content: "Results: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-results {
    border-bottom: none !important;
  }
  .sport-row .col-odds .btn, .sport-row .col-results .btn {
    max-width: none !important;
    width: auto !important;
    min-width: 160px;
    font-size: 0.8rem;
    padding: 0.5rem;
    margin: 0;
    white-space: nowrap;
  }
  .sport-row .col-odds, .sport-row .col-results {
    text-align: center;
  }
  .sport-row .col-odds::before, .sport-row .col-results::before {
    display: block;
    text-align: left;
    margin-bottom: 0.25rem;
  }
}
.sports-header h2 {
  color: #14b8a6;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}
.sports-sidebar {
  flex: 0 0 280px;
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.1);
  border-radius: 12px;
  padding: 1rem;
  overflow-y: auto;
  max-height: 80vh;
}
.sports-list-compact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
}
.match-time-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.match-time {
  flex: 1;
  text-align: right;
}
.match-league-info {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: rgba(15, 23, 42, 0.95);
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  backdrop-filter: blur(4px);
  min-width: 2.5rem;
  max-width: 8rem;
}
.league-icon {
  font-size: 0.875rem;
  color: #f1f5f9;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
}
.league-name {
  font-size: 0.625rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  line-height: 1;
  display: inline-block !important;
  margin: 0;
  padding: 0;
}
.outcome-odds .team-name {
  position: relative;
  padding: 0.75rem 0.5rem;
  margin: 0.25rem 0;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.outcome-odds .team-name:has(.team-logo) {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  min-height: auto;
}
@media (max-width: 1024px) {
  .sports-content {
    flex-direction: column;
    gap: 1rem;
  }
  .outcome-odds .team-name {
    min-height: auto;
  }
  #sports-section .sports-sidebar {
    flex: none;
    max-height: none;
    overflow-y: visible;
    position: sticky;
    top: 70px;
    z-index: 50;
    padding: 0.5rem;
  }
  #sports-section .sports-list-compact {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }
  #sports-section .sports-list-compact::-webkit-scrollbar {
    display: none;
  }
  #sports-section .sport-card {
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
  }
  #sports-section .sport-card h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 9rem;
  }
  #sports-section .fav-toggle {
    display: none;
  }
  .matches-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
@media (max-width: 768px) {
  .sports-content {
    gap: 0.75rem;
  }
  #sports-section .sports-list-compact {
    flex: 1;
    min-width: 0;
    padding-bottom: 0;
  }
  #sports-section .sport-card {
    padding: 0.2rem 0.45rem;
    gap: 0.35rem;
  }
  #sports-section .sport-card > div:first-child {
    width: 1.4rem;
    height: 1.4rem;
    font-size: 0.8rem;
  }
  #sports-section .sport-card h4 {
    font-size: 0.72rem;
    max-width: 7rem;
  }
  .matches-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .outcome-odds {
    padding: 0.875rem 0.625rem;
    min-height: 90px;
  }
  .outcome-odds.clickable:hover {
    transform: translateY(-2px);
  }
  .best-odds {
    font-size: 1.125rem;
  }
  .vs-separator {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
  .odds-grid-ordered {
    grid-template-columns: 1fr auto 1fr;
  }
  .odds-grid-ordered .other-odds {
    width: 95%;
    min-height: 75px;
    padding: 0.5rem 0.3rem;
  }
  .odds-grid-ordered .other-odds .outcome-name {
    font-size: 0.7rem;
  }
  .odds-grid-ordered .other-odds .best-odds {
    font-size: 0.95rem;
  }
  .odds-grid-ordered .other-odds .bookmaker {
    font-size: 0.55rem;
  }
  .match-time-footer {
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  #sports-section .sport-card > div:first-child {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.72rem;
  }
  #sports-section .sport-card h4 {
    font-size: 0.68rem;
    max-width: 6rem;
  }
}
.disabled-indicator {
  background: #ef4444;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 0.5rem;
}
.odds-grid-ordered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: stretch;
}
.odds-grid-ordered .vs-separator {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
}
.odds-grid-ordered:not(:has(.other-odds)) .vs-separator {
  align-self: center;
}
.odds-grid-ordered .other-odds {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: end;
  width: 80%;
  min-height: 80px;
  padding: 0.6rem 0.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #475569 0%, #3b4757 100%);
  border: 1px solid rgba(100, 116, 139, 0.4);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.odds-grid-ordered .other-odds .outcome-name, .odds-grid-ordered .other-odds .best-odds, .odds-grid-ordered .other-odds .bookmaker {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.odds-grid-ordered .other-odds .outcome-name {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  width: 100%;
  line-height: 1.2;
}
.odds-grid-ordered .other-odds .best-odds {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.1;
}
.odds-grid-ordered .other-odds .bookmaker {
  font-size: 0.6rem;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  width: 100%;
  line-height: 1.2;
}
.vs-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.team-name {
  font-size: 1rem;
  color: #f1f5f9;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  min-height: 1.7rem;
  word-break: break-word;
  hyphens: auto;
}
.team-logo {
  width: clamp(46px, 9vw, 70px);
  height: clamp(46px, 9vw, 70px);
  object-fit: contain;
  flex-shrink: 0;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #eef3f6 55%, #e2ecef 100%);
  padding: 0;
  border-radius: 22%;
  box-shadow: 0 0 0 1.5px rgba(45, 212, 191, 0.55), 0 3px 10px rgba(20, 184, 166, 0.2), inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.team-name-with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}
.team-name-with-logo .team-logo {
  width: clamp(58px, 11vw, 88px);
  height: clamp(58px, 11vw, 88px);
  margin-bottom: 0.25rem;
}
.team-logo-small {
  width: clamp(28px, 4.5vw, 38px);
  height: clamp(28px, 4.5vw, 38px);
  object-fit: contain;
  flex-shrink: 0;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #eef3f6 55%, #e2ecef 100%);
  padding: 0;
  border-radius: 22%;
  box-shadow: 0 0 0 1.5px rgba(45, 212, 191, 0.55), 0 2px 6px rgba(20, 184, 166, 0.18), inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  margin-right: 0.5rem;
}
.team-logo-bet {
  width: clamp(38px, 6.5vw, 56px);
  height: clamp(38px, 6.5vw, 56px);
  object-fit: contain;
  flex-shrink: 0;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #eef3f6 55%, #e2ecef 100%);
  padding: 0;
  border-radius: 22%;
  box-shadow: 0 0 0 1.5px rgba(45, 212, 191, 0.55), 0 3px 8px rgba(20, 184, 166, 0.2), inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.team-logo-large {
  width: clamp(70px, 13vw, 116px);
  height: clamp(70px, 13vw, 116px);
  object-fit: contain;
  flex-shrink: 0;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #eef3f6 55%, #e2ecef 100%);
  padding: 0;
  border-radius: 22%;
  box-shadow: 0 0 0 1.5px rgba(45, 212, 191, 0.55), 0 4px 13px rgba(20, 184, 166, 0.22), inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.team-logo.fighter-image, .team-name-with-logo .team-logo.fighter-image, .team-logo-small.fighter-image, .team-logo-bet.fighter-image, .team-logo-large.fighter-image {
  object-fit: cover;
  object-position: top;
  max-width: none;
}
.team-name-text {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}
.team-name-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  min-height: 2.6em;
  min-height: 2lh;
}
.teams-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.team-with-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
}
.team-with-logo:first-child {
  justify-content: center;
}
.team-with-logo:last-child {
  justify-content: center;
}
.teams-main:not(:has(img)) .team-with-logo {
  justify-content: center;
  text-align: center;
}
.vs-text {
  font-weight: 600;
  color: #14b8a6;
  font-size: 0.9rem;
}
.outcome-odds {
  text-align: center;
  padding: 1rem 0.75rem;
  background: linear-gradient(135deg, #334155 0%, #2a3441 100%);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.outcome-odds::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient( 135deg, rgba(20, 184, 166, 0.1), rgba(8, 145, 178, 0.1) );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.outcome-odds.clickable {
  cursor: pointer;
}
.outcome-odds.clickable:hover {
  background: linear-gradient(135deg, #475569 0%, #3b4757 100%);
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.odds-grid-ordered .other-odds.clickable:hover {
  background: linear-gradient(135deg, #475569 0%, #3b4757 100%);
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.outcome-odds.clickable:hover::before {
  opacity: 1;
}
.outcome-odds.clickable:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
}
.outcome-odds.clickable:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
}
.outcome-odds.loading {
  position: relative;
  pointer-events: none;
}
.outcome-odds.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid #14b8a6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.outcome-odds.loading .best-odds, .outcome-odds.loading .team-name, .outcome-odds.loading .bookmaker {
  opacity: 0.3;
}
.outcome-name {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}
.best-odds {
  font-weight: 800;
  font-size: 1.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.bookmaker {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.match-actions {
  text-align: center;
  margin-top: 1rem;
}
.match-meta {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  padding-top: 0.75rem;
}
.match-time-footer {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 400;
  border-top: 1px solid rgba(100, 116, 139, 0.15);
}
.match-teams-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.away-team-main {
  font-weight: 700;
  font-size: 1.25rem;
  color: #f59e0b;
  text-align: center;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}
.home-team-main {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0ea5e9;
  text-align: center;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}
.vs-main {
  font-weight: 700;
  font-size: 0.8rem;
  color: #14b8a6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(20, 184, 166, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  flex-shrink: 0;
}
.match-card .odds-grid {
  margin-top: 0.5rem;
}
.match-card .outcome-odds {
  padding: 1rem 0.75rem;
  transition: all 0.3s ease;
}
.match-card .outcome-odds .outcome-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}
.match-card .outcome-odds .best-odds {
  font-weight: 800;
}
.match-card .outcome-odds .bookmaker {
  font-size: 0.5rem;
  color: #94a3b8;
  font-weight: 500;
}
.match-card .outcome-odds.clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
  border-color: rgba(20, 184, 166, 0.5);
}
.pick-options {
  margin: 1.5rem 0;
}
.bet-summary {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.summary-row:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #14b8a6;
}
.match-info {
  text-align: center;
  margin-bottom: 1.5rem;
}
.teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.team {
  font-weight: 600;
  font-size: 1.1rem;
  color: #f1f5f9;
}
.match-info-enhanced {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.status-past {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
:is(#sports-section, #admin-sports-section) {
  position: relative;
  isolation: isolate;
}
:is(#sports-section, #admin-sports-section)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(75% 60% at 50% 34%, rgba(6, 10, 20, 0.5), transparent 72%), radial-gradient(820px 460px at 6% -8%, rgba(45, 212, 191, 0.14), transparent 60%), radial-gradient(760px 560px at 108% 4%, rgba(56, 189, 248, 0.11), transparent 55%), radial-gradient(700px 700px at 50% 120%, rgba(20, 184, 166, 0.08), transparent 60%);
}
:is(#sports-section, #admin-sports-section)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  -webkit-mask-image: radial-gradient(125% 85% at 50% -5%, #000 22%, transparent 100%);
  mask-image: radial-gradient(125% 85% at 50% -5%, #000 22%, transparent 100%);
}
:is(#sports-section, #admin-sports-section) > *, :is(#sports-section, #admin-sports-section) .sports-content {
  position: relative;
  z-index: 1;
}
:is(#sports-section, #admin-sports-section) .sports-sidebar {
  background: linear-gradient(180deg, rgba(20, 28, 50, 0.85), rgba(10, 16, 32, 0.85));
  border: 1px solid var(--sn-line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -26px rgba(0, 0, 0, 0.85);
}
@media (max-width: 1024px) {
  #sports-section .sports-sidebar {
    background: #0f172a;
  }
}
@media (max-width: 768px) {
  #sports-section .sports-sidebar {
    position: fixed;
    bottom: var(--tabbar-h, 3rem);
    left: 0;
    right: 0;
    top: auto;
    z-index: 80;
    height: var(--league-strip-h, 2.75rem);
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    background: #0f172a;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--sn-line);
    box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, 0.7);
  }
}
:is(#sports-section, #admin-sports-section) .sport-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--sn-line-2);
  border-radius: 12px;
  box-shadow: none;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
:is(#sports-section, #admin-sports-section) .sport-card > div:first-child {
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9) !important;
  border-radius: 10px;
  box-shadow: 0 6px 18px -6px rgba(20, 184, 166, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
:is(#sports-section, #admin-sports-section) .sport-card h4 {
  letter-spacing: -0.01em;
  color: var(--sn-text);
}
:is(#sports-section, #admin-sports-section) .sport-card:hover {
  transform: translateX(3px);
  background: rgba(45, 212, 191, 0.07);
  border-color: rgba(45, 212, 191, 0.35);
}
:is(#sports-section, #admin-sports-section) .sport-card.selected {
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.03));
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: inset 3px 0 0 0 var(--sn-teal), inset 0 0 0 1px rgba(45, 212, 191, 0.18), 0 12px 30px -18px rgba(20, 184, 166, 0.75);
}
:is(#sports-section, #admin-sports-section) .match-card {
  background: linear-gradient(180deg, rgba(22, 31, 54, 0.92), rgba(12, 19, 38, 0.92));
  border: 1px solid var(--sn-line);
  border-left: 1px solid var(--sn-line);
  border-radius: 16px;
  padding: 0.85rem;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px -28px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
:is(#sports-section, #admin-sports-section) .match-card.past {
  opacity: 0.6;
}
:is(#sports-section, #admin-sports-section) .match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 32px 60px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(45, 212, 191, 0.15);
}
:is(#sports-section, #admin-sports-section) .match-card::before, :is(#sports-section, #admin-sports-section) .match-card.upcoming::before, :is(#sports-section, #admin-sports-section) .match-card:hover::before {
  display: none;
}
:is(#sports-section, #admin-sports-section) .outcome-odds {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.55));
  border: 1px solid var(--sn-line);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  min-height: 100px;
  padding: 0.8rem 0.6rem;
}
:is(#sports-section, #admin-sports-section) .outcome-odds::before {
  display: none;
}
:is(#sports-section, #admin-sports-section) .outcome-odds::after {
  content: "";
  position: absolute;
  bottom: 0;
  top: auto;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 2px;
  opacity: 0.85;
  transition: opacity 0.3s ease, left 0.3s ease, right 0.3s ease;
}
:is(#sports-section, #admin-sports-section) .outcome-odds.away-odds::after {
  background: linear-gradient(90deg, transparent, var(--sn-amber), transparent);
}
:is(#sports-section, #admin-sports-section) .outcome-odds.home-odds::after {
  background: linear-gradient(90deg, transparent, var(--sn-azure), transparent);
}
:is(#sports-section, #admin-sports-section) .outcome-odds.other-odds::after {
  background: linear-gradient(90deg, transparent, var(--sn-teal), transparent);
}
:is(#sports-section, #admin-sports-section) .outcome-odds.clickable:hover {
  background: linear-gradient(180deg, rgba(40, 54, 78, 0.7), rgba(20, 30, 52, 0.7));
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 10px 26px -14px rgba(20, 184, 166, 0.55);
}
:is(#sports-section, #admin-sports-section) .outcome-odds.clickable:hover::after {
  opacity: 1;
  left: 0;
  right: 0;
}
:is(#sports-section, #admin-sports-section) .outcome-odds.loading::after {
  content: "";
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--sn-teal);
  background: none;
  opacity: 1;
  animation: spin 0.8s linear infinite;
}
:is(#sports-section, #admin-sports-section) .team-name {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--sn-text);
}
:is(#sports-section, #admin-sports-section) .team-name-with-logo .team-logo {
  width: clamp(56px, 9vw, 80px);
  height: clamp(56px, 9vw, 80px);
  margin-bottom: 0.2rem;
}
:is(#sports-section, #admin-sports-section) .best-odds {
  font-family: var(--sn-font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
:is(#sports-section, #admin-sports-section) .away-odds .best-odds {
  color: var(--sn-amber);
  text-shadow: 0 0 18px rgba(251, 191, 36, 0.4);
}
:is(#sports-section, #admin-sports-section) .home-odds .best-odds {
  color: var(--sn-azure);
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
}
:is(#sports-section, #admin-sports-section) .other-odds .best-odds {
  color: var(--sn-teal);
  text-shadow: 0 0 18px rgba(45, 212, 191, 0.4);
}
:is(#sports-section, #admin-sports-section) .bookmaker {
  font-family: var(--sn-font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sn-muted);
}
:is(#sports-section, #admin-sports-section) .outcome-name {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sn-muted);
}
:is(#sports-section, #admin-sports-section) .odds-grid-ordered .other-odds {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: auto;
  max-width: 300px;
  margin-top: 0.3rem;
  padding: 0.6rem 1.25rem;
  min-height: 0;
}
:is(#sports-section, #admin-sports-section) .odds-grid-ordered .other-odds .outcome-name {
  width: auto;
  margin: 0 0 0.5rem;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--sn-text);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
}
:is(#sports-section, #admin-sports-section) .odds-grid-ordered .vs-separator {
  align-self: center;
}
:is(#sports-section, #admin-sports-section) .vs-separator {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sn-font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sn-teal);
  background: radial-gradient(circle at 50% 35%, rgba(45, 212, 191, 0.22), rgba(10, 16, 32, 0.92) 72%);
  border: 1px solid rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.06), 0 8px 22px -10px rgba(20, 184, 166, 0.85);
}
:is(#sports-section, #admin-sports-section) .vs-separator::before, :is(#sports-section, #admin-sports-section) .vs-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  width: 80px;
}
:is(#sports-section, #admin-sports-section) .vs-separator::before {
  right: 100%;
  background: linear-gradient(270deg, rgba(45, 212, 191, 0.4), transparent);
}
:is(#sports-section, #admin-sports-section) .vs-separator::after {
  left: 100%;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.4), transparent);
}
:is(#sports-section, #admin-sports-section) .pick-volume-container {
  margin-top: 0.5rem;
  position: relative;
}
:is(#sports-section, #admin-sports-section) .volume-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
}
:is(#sports-section, #admin-sports-section) .volume-segment.away-volume {
  background: linear-gradient(90deg, var(--sn-amber-2), var(--sn-amber));
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}
:is(#sports-section, #admin-sports-section) .volume-segment.home-volume {
  background: linear-gradient(90deg, var(--sn-azure), var(--sn-azure-2));
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}
:is(#sports-section, #admin-sports-section) .volume-amounts {
  position: relative;
  font-family: var(--sn-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  margin-top: 0.32rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
:is(#sports-section, #admin-sports-section) .volume-amounts::before {
  content: "Volume";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sn-faint);
  pointer-events: none;
}
:is(#sports-section, #admin-sports-section) .away-amount {
  color: var(--sn-amber);
  text-align: left;
}
:is(#sports-section, #admin-sports-section) .home-amount {
  color: var(--sn-azure);
  text-align: right;
}
:is(#sports-section, #admin-sports-section) .match-time-footer {
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--sn-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
:is(#sports-section, #admin-sports-section) .match-time {
  font-family: var(--sn-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: var(--sn-muted);
  text-align: right;
}
:is(#sports-section, #admin-sports-section) .match-league-info {
  background: rgba(7, 11, 22, 0.7);
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  padding: 0.26rem 0.5rem;
}
:is(#sports-section, #admin-sports-section) .league-name {
  font-family: var(--sn-font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sn-faint);
}
:is(#sports-section, #admin-sports-section) .day-separator {
  margin: 2.1rem 0 1.05rem;
}
:is(#sports-section, #admin-sports-section) .day-separator::before {
  height: 1px;
  top: 0.95em;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.42) 18%, rgba(45, 212, 191, 0.42) 82%, transparent);
}
:is(#sports-section, #admin-sports-section) .day-separator:has(.date-event-name)::before {
  display: none;
}
:is(#sports-section, #admin-sports-section) .day-header {
  background: linear-gradient(180deg, rgba(20, 28, 50, 0.96), rgba(10, 16, 32, 0.96));
  color: var(--sn-text);
  font-family: var(--sn-font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 10px;
  padding: 0.45rem 1.05rem;
  box-shadow: 0 10px 30px -18px rgba(20, 184, 166, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
:is(#sports-section, #admin-sports-section) .day-header .date-count {
  font-family: var(--sn-font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sn-teal);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.55rem;
  vertical-align: middle;
}
:is(#sports-section, #admin-sports-section) .day-separator .date-event-name {
  font-family: var(--sn-font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sn-text);
  text-shadow: 0 0 26px rgba(45, 212, 191, 0.28);
}
@keyframes sn-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
:is(#sports-section, #admin-sports-section) .match-card, :is(#sports-section, #admin-sports-section) .day-separator {
  animation: sn-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
:is(#sports-section, #admin-sports-section) .day-matches > .match-card:nth-child(1) {
  animation-delay: 0.03s;
}
:is(#sports-section, #admin-sports-section) .day-matches > .match-card:nth-child(2) {
  animation-delay: 0.07s;
}
:is(#sports-section, #admin-sports-section) .day-matches > .match-card:nth-child(3) {
  animation-delay: 0.11s;
}
:is(#sports-section, #admin-sports-section) .day-matches > .match-card:nth-child(4) {
  animation-delay: 0.15s;
}
:is(#sports-section, #admin-sports-section) .day-matches > .match-card:nth-child(5) {
  animation-delay: 0.19s;
}
:is(#sports-section, #admin-sports-section) .day-matches > .match-card:nth-child(6) {
  animation-delay: 0.23s;
}
:is(#sports-section, #admin-sports-section) .day-matches > .match-card:nth-child(7) {
  animation-delay: 0.27s;
}
:is(#sports-section, #admin-sports-section) .day-matches > .match-card:nth-child(8) {
  animation-delay: 0.31s;
}
@media (max-width: 768px) {
  :is(#sports-section, #admin-sports-section) .match-card {
    padding: 0.8rem;
  }
  :is(#sports-section, #admin-sports-section) .outcome-odds {
    min-height: 88px;
    padding: 0.85rem 0.6rem;
  }
  :is(#sports-section, #admin-sports-section) .best-odds {
    font-size: 1.3rem;
  }
  :is(#sports-section, #admin-sports-section) .team-name {
    font-size: 0.9rem;
  }
  :is(#sports-section, #admin-sports-section) .vs-separator {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }
  :is(#sports-section, #admin-sports-section) .volume-amounts::before {
    display: none;
  }
  :is(#sports-section, #admin-sports-section) .day-header {
    font-size: 1rem;
    padding: 0.4rem 0.85rem;
  }
  :is(#sports-section, #admin-sports-section) .day-separator .date-event-name {
    font-size: 1.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(#sports-section, #admin-sports-section) .match-card, :is(#sports-section, #admin-sports-section) .day-separator {
    animation: none !important;
  }
  :is(#sports-section, #admin-sports-section) .match-card:hover, :is(#sports-section, #admin-sports-section) .sport-card:hover, :is(#sports-section, #admin-sports-section) .outcome-odds.clickable:hover {
    transform: none !important;
  }
}
@media (max-width: 768px) {
  .matches-grid {
    grid-template-columns: 1fr;
  }
  .odds-grid {
    grid-template-columns: 1fr 1fr;
  }
  .match-teams {
    flex-direction: column;
  }
  .team.home-team {
    text-align: center;
    color: #0ea5e9;
  }
  .team.away-team {
    text-align: center;
    color: #f59e0b;
  }
  .match-teams-main {
    flex-direction: column;
    gap: 0.5rem;
  }
  .away-team-main, .home-team-main {
    font-size: 1.1rem;
  }
  .vs-main {
    align-self: center;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  .match-card .outcome-odds .best-odds {
    font-size: 1.1rem;
  }
  .date-count {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }
}
.date-count {
  font-size: 0.9rem;
  color: #94a3b8;
  background: rgba(20, 184, 166, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.date-event-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #14b8a6;
  margin-bottom: 0.5rem;
}
.date-event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.date-event-venue, .date-event-location {
  font-size: 0.9rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.date-event-venue i, .date-event-location i {
  width: 14px;
  color: #14b8a6;
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .team-logo {
    width: clamp(44px, 11vw, 58px);
    height: clamp(44px, 11vw, 58px);
  }
  .team-name-with-logo .team-logo {
    width: clamp(54px, 13vw, 74px);
    height: clamp(54px, 13vw, 74px);
  }
  .team-logo-small {
    width: clamp(26px, 5.5vw, 34px);
    height: clamp(26px, 5.5vw, 34px);
  }
  .team-logo-bet {
    width: clamp(36px, 7.5vw, 48px);
    height: clamp(36px, 7.5vw, 48px);
  }
  .team-logo-large {
    width: clamp(60px, 16vw, 92px);
    height: clamp(60px, 16vw, 92px);
  }
}
@media (max-width: 480px) {
  .team-logo {
    width: clamp(40px, 13vw, 52px);
    height: clamp(40px, 13vw, 52px);
  }
  .team-name-with-logo .team-logo {
    width: clamp(50px, 16vw, 68px);
    height: clamp(50px, 16vw, 68px);
  }
  .team-logo-small {
    width: clamp(24px, 6.5vw, 32px);
    height: clamp(24px, 6.5vw, 32px);
  }
  .team-logo-bet {
    width: clamp(32px, 8.5vw, 42px);
    height: clamp(32px, 8.5vw, 42px);
  }
  .team-logo-large {
    width: clamp(54px, 19vw, 78px);
    height: clamp(54px, 19vw, 78px);
  }
  :is(#sports-section, #admin-sports-section) .team-name-with-logo .team-logo {
    width: clamp(64px, 16vw, 80px);
    height: clamp(64px, 16vw, 80px);
  }
}
.pick-volume-container {
  margin: 0.35rem 0;
}
.pick-volume-display {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pick-volume-display.no-volume {
  color: #64748b;
  font-size: 0.75rem;
  text-align: center;
}
.pick-volume-display.error {
  color: #ef4444;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.375rem;
  font-style: italic;
}
.pick-volume-loading {
  color: #94a3b8;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.375rem;
  font-style: italic;
}
.upcoming-matches-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  min-height: 200px;
}
.upcoming-matches-loading .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(20, 184, 166, 0.3);
  border-top: 3px solid #14b8a6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
.upcoming-matches-loading .loading-message {
  color: #14b8a6;
  font-size: 1.1rem;
  font-weight: 500;
}
.no-upcoming-matches {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  min-height: 200px;
}
.no-upcoming-matches .no-matches-icon {
  font-size: 3rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.no-upcoming-matches .no-matches-message h3 {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}
.no-upcoming-matches .no-matches-message p {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
}
.volume-bar {
  display: flex;
  height: 6px;
  background: rgba(51, 65, 85, 0.3);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.volume-segment {
  height: 100%;
  transition: width 0.3s ease;
  position: relative;
}
.volume-segment.away-volume {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 4px 0 0 4px;
}
.volume-segment.home-volume {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
  border-radius: 0 4px 4px 0;
  margin-left: auto;
}
.volume-segment.no-volume-segment {
  background: #475569;
  border-radius: 4px;
}
.volume-segment.no-volume-away {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 4px 0 0 4px;
}
.volume-segment.no-volume-home {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
  border-radius: 0 4px 4px 0;
}
.volume-amounts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.125rem;
}
.away-amount {
  color: #f59e0b;
}
.home-amount {
  color: #0ea5e9;
}
.pick-volume-display.no-volume .away-amount, .pick-volume-display.no-volume .home-amount {
  color: #94a3b8;
}
.pick-volume-display:hover .volume-bar {
  transform: scaleY(1.2);
  transition: transform 0.2s ease;
}
.pick-volume-display:hover .volume-amounts {
  font-weight: 700;
}
@media (max-width: 768px) {
  .pick-volume-display {
    gap: 0.2rem;
  }
  .volume-amounts {
    font-size: 0.65rem;
  }
}
.btn-chart {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-chart:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
}
.btn-chart:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}
.btn-chart i {
  font-size: 1rem;
}
.btn-chart-size {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-chart-size i {
  font-size: 0.9rem;
}
.content-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, rgba(20, 28, 50, 0.85), rgba(10, 16, 32, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.14);
  padding: 0.45rem;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 30px -22px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
}
@media (max-width: 768px) {
  .content-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--tabbar-h);
    margin: 0;
    border-radius: 14px 14px 0 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-top: 1px solid rgba(100, 116, 139, 0.3);
    padding: 0 0.5rem env(safe-area-inset-bottom, 0px);
    align-items: center;
    background: linear-gradient(180deg, rgba(20, 28, 50, 0.98), rgba(10, 16, 32, 0.98));
    backdrop-filter: blur(10px);
  }
  .content-tab-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.25rem;
    min-width: 0;
  }
  .content-tab-btn .tab-label {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
  }
}
.section {
  display: none;
  animation: slideIn 0.5s ease-out;
}
.section.active {
  display: block;
}
.leaderboard-interface {
  margin-top: 1rem;
}
.leaderboard-controls {
  margin-bottom: 1rem;
}
.leaderboard-compact-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.desktop-only {
  display: block;
}
.picks-separator {
  margin: 0 0.5rem;
}
.leaderboard-compact-btn {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--sn-line-2);
  border-radius: 8px;
  color: var(--sn-muted);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  font-size: 0.8rem;
}
.leaderboard-compact-btn:hover {
  background: rgba(45, 212, 191, 0.07);
  border-color: rgba(45, 212, 191, 0.35);
  color: var(--sn-text);
  transform: translateY(-1px);
}
.leaderboard-compact-btn.active {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0.07));
  border-color: rgba(45, 212, 191, 0.5);
  color: #5eead4;
}
.leaderboard-compact-btn.active:hover {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.28), rgba(45, 212, 191, 0.1));
  border-color: rgba(45, 212, 191, 0.6);
  color: #5eead4;
  transform: translateY(-1px);
}
.leaderboard-compact-btn .btn-icon {
  font-size: 1rem;
}
.leaderboard-compact-btn .btn-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-align: center;
  line-height: 1;
}
.leaderboard-display {
  padding: 1.25rem;
  background: var(--sn-panel-bg-soft);
  border-radius: 12px;
  border: 1px solid var(--sn-line);
}
@media (max-width: 768px) {
  .leaderboard-display {
    padding: 0.75rem;
  }
}
.leaderboard-header {
  margin-bottom: 2rem;
}
.leaderboard-header h3 {
  color: var(--sn-text);
  font-family: var(--sn-font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.leaderboard-description {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.4;
}
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.leaderboard-list-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem 0.5rem;
  border-bottom: 1px solid var(--sn-line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sn-faint);
}
.leaderboard-list-head .head-rank {
  width: 2.75rem;
  flex-shrink: 0;
  text-align: center;
}
.leaderboard-list-head .head-player {
  flex: 1;
  min-width: 0;
}
.leaderboard-list-head .head-value {
  flex-shrink: 0;
  text-align: right;
  padding-left: 0.75rem;
  min-width: 8.5rem;
}
.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--sn-panel-bg);
  border: 1px solid var(--sn-line);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.leaderboard-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient( 130% 120% at 0% 50%, rgba(45, 212, 191, 0.07), transparent 55% );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.leaderboard-item:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: var(--sn-panel-shadow), 0 0 0 1px rgba(45, 212, 191, 0.08);
}
.leaderboard-item:hover::after {
  opacity: 1;
}
.leaderboard-item .rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  position: relative;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid var(--sn-line);
  border-radius: 50%;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.leaderboard-item .rank-number {
  position: relative;
  z-index: 1;
  color: var(--sn-text);
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  font-weight: 700;
}
.leaderboard-item .player-name {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.leaderboard-item .player-name-text {
  min-width: 0;
  color: var(--sn-text);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.leaderboard-item .you-badge {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--sn-teal);
  background: rgba(20, 184, 166, 0.14);
  border: 1px solid rgba(20, 184, 166, 0.4);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}
.leaderboard-item .player-value {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
  min-width: 8.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--sn-line);
  color: var(--sn-teal);
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  font-weight: 700;
}
.leaderboard-item.rank-1 {
  border-color: rgba(255, 200, 60, 0.55);
  background: linear-gradient(180deg, rgba(255, 210, 74, 0.16), rgba(255, 210, 74, 0) 24%), radial-gradient(130% 150% at 6% 40%, rgba(255, 200, 60, 0.12), transparent 60%), linear-gradient(135deg, rgba(45, 52, 72, 0.92) 0%, rgba(12, 18, 36, 0.92) 100%);
  box-shadow: var(--sn-panel-shadow), 0 0 26px rgba(255, 200, 60, 0.1);
}
.leaderboard-item.rank-1 .rank {
  background: radial-gradient(80% 60% at 35% 26%, var(--sn-gold-hi) 0%, rgba(255, 243, 196, 0) 55%), linear-gradient(155deg, var(--sn-gold) 0%, var(--sn-gold-2) 46%, var(--sn-gold-deep) 100%);
  border-color: rgba(255, 210, 74, 0.9);
  box-shadow: inset 0 1.5px 1px rgba(255, 247, 204, 0.85), inset 0 -3px 4px rgba(125, 82, 14, 0.6), 0 0 0 1px rgba(255, 210, 74, 0.25), 0 5px 14px rgba(255, 180, 40, 0.4), 0 0 22px var(--sn-gold-glow);
}
.leaderboard-item.rank-1 .rank-number {
  color: #3a2700;
}
.leaderboard-item.rank-1 .player-value {
  color: var(--sn-gold);
  text-shadow: 0 0 14px var(--sn-gold-glow);
}
.leaderboard-item.rank-1 .rank::after {
  content: "👑";
  position: absolute;
  top: -0.66rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  line-height: 1;
  color: var(--sn-gold);
  text-shadow: 0 0 6px var(--sn-gold-glow), 0 1px 1.5px rgba(0, 0, 0, 0.75);
  z-index: 2;
  animation: crownSettle 0.5s ease 0.35s both;
}
.leaderboard-item.rank-1 .rank::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient( 115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 62% );
  background-size: 250% 250%;
  background-position: 140% 0%;
  pointer-events: none;
  animation: goldShimmer 5s ease-in-out infinite;
}
.leaderboard-item.rank-2 {
  border-color: rgba(190, 210, 235, 0.42);
  background: linear-gradient(180deg, rgba(219, 228, 240, 0.12), rgba(219, 228, 240, 0) 24%), radial-gradient(130% 150% at 6% 40%, rgba(190, 210, 235, 0.1), transparent 60%), linear-gradient(135deg, rgba(42, 49, 67, 0.92) 0%, rgba(11, 17, 33, 0.92) 100%);
  box-shadow: var(--sn-panel-shadow), 0 0 22px rgba(190, 210, 235, 0.07);
}
.leaderboard-item.rank-2 .rank {
  background: radial-gradient(80% 60% at 35% 26%, var(--sn-silver-hi) 0%, rgba(251, 253, 255, 0) 55%), linear-gradient(155deg, var(--sn-silver) 0%, var(--sn-silver-2) 48%, var(--sn-silver-deep) 100%);
  border-color: rgba(219, 228, 240, 0.85);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.9), inset 0 -3px 4px rgba(92, 107, 128, 0.55), 0 0 0 1px rgba(180, 200, 225, 0.2), 0 4px 12px rgba(170, 190, 215, 0.3), 0 0 18px var(--sn-silver-glow);
}
.leaderboard-item.rank-2 .rank-number {
  color: #1a2230;
}
.leaderboard-item.rank-2 .player-value {
  color: var(--sn-silver);
  text-shadow: 0 0 12px var(--sn-silver-glow);
}
.leaderboard-item.rank-3 {
  border-color: rgba(192, 106, 55, 0.48);
  background: linear-gradient(180deg, rgba(192, 106, 55, 0.12), rgba(192, 106, 55, 0) 24%), radial-gradient(130% 150% at 6% 40%, rgba(192, 106, 55, 0.1), transparent 60%), linear-gradient(135deg, rgba(43, 45, 58, 0.92) 0%, rgba(15, 17, 30, 0.92) 100%);
  box-shadow: var(--sn-panel-shadow), 0 0 22px rgba(192, 106, 55, 0.08);
}
.leaderboard-item.rank-3 .rank {
  background: radial-gradient(80% 60% at 35% 26%, var(--sn-bronze-hi) 0%, rgba(244, 195, 154, 0) 55%), linear-gradient(155deg, var(--sn-bronze) 0%, var(--sn-bronze-2) 48%, var(--sn-bronze-deep) 100%);
  border-color: rgba(192, 106, 55, 0.9);
  box-shadow: inset 0 1.5px 1px rgba(244, 195, 154, 0.85), inset 0 -3px 4px rgba(94, 50, 16, 0.6), 0 0 0 1px rgba(192, 106, 55, 0.2), 0 4px 12px rgba(180, 110, 50, 0.32), 0 0 18px var(--sn-bronze-glow);
}
.leaderboard-item.rank-3 .rank-number {
  color: #2a1606;
}
.leaderboard-item.rank-3 .player-value {
  color: var(--sn-bronze-hi);
  text-shadow: 0 0 12px var(--sn-bronze-glow);
}
.leaderboard-item.rank-1:hover, .leaderboard-item.rank-2:hover, .leaderboard-item.rank-3:hover {
  box-shadow: var(--sn-panel-shadow-hover), 0 0 34px rgba(255, 200, 60, 0.18);
}
.leaderboard-item.current-user.rank-1 {
  border-color: rgba(255, 200, 60, 0.6);
}
.leaderboard-item.current-user.rank-2 {
  border-color: rgba(190, 210, 235, 0.5);
}
.leaderboard-item.current-user.rank-3 {
  border-color: rgba(192, 106, 55, 0.55);
}
.leaderboard-item.current-user {
  border-color: rgba(20, 184, 166, 0.5);
  background: linear-gradient( 135deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.04) 100% );
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.15), 0 14px 34px -26px rgba(20, 184, 166, 0.5);
}
.leaderboard-item.current-user::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sn-teal), #5eead4);
}
.leaderboard-item.current-user .player-name-text {
  color: var(--sn-teal);
}
.leaderboard-item.current-user:hover {
  background: linear-gradient( 135deg, rgba(20, 184, 166, 0.16) 0%, rgba(20, 184, 166, 0.06) 100% );
}
.leaderboard-item.current-user.rank-1 .player-name-text, .leaderboard-item.current-user.rank-2 .player-name-text, .leaderboard-item.current-user.rank-3 .player-name-text {
  color: var(--sn-teal);
}
@media (max-width: 768px) {
  .leaderboard-list {
    gap: 0.5rem;
  }
  .leaderboard-list-head {
    gap: 0.75rem;
    padding: 0 0.875rem 0.4rem;
  }
  .leaderboard-list-head .head-rank {
    width: 2.4rem;
  }
  .leaderboard-item {
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
  }
  .leaderboard-item .rank {
    width: 2.4rem;
    height: 2.4rem;
  }
  .leaderboard-item .rank-number {
    font-size: 0.85rem;
  }
  .leaderboard-item .player-name-text {
    font-size: 0.98rem;
  }
  .leaderboard-item .player-value {
    font-size: 1.02rem;
    padding-left: 0.625rem;
    min-width: 7rem;
  }
  .leaderboard-list-head .head-value {
    min-width: 7rem;
  }
}
@media (max-width: 380px) {
  .leaderboard-item {
    gap: 0.6rem;
    padding: 0.7rem 0.75rem;
  }
  .leaderboard-item .rank {
    width: 2.15rem;
    height: 2.15rem;
  }
  .leaderboard-item .rank-number {
    font-size: 0.8rem;
  }
  .leaderboard-item .player-name-text {
    font-size: 0.92rem;
  }
  .leaderboard-item .player-value {
    font-size: 0.95rem;
    min-width: 6rem;
  }
  .leaderboard-list-head .head-value {
    min-width: 6rem;
  }
  .leaderboard-list-head {
    gap: 0.6rem;
    padding: 0 0.75rem 0.35rem;
  }
  .leaderboard-list-head .head-rank {
    width: 2.15rem;
  }
}
.user-ranking-section {
  margin-bottom: 1rem;
}
.user-rank-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  color: var(--sn-text);
  font-weight: 700;
  font-size: 0.95rem;
}
.user-rank-icon {
  font-size: 1.15rem;
  line-height: 1;
}
.user-rank-position {
  margin-left: auto;
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sn-teal);
  text-shadow: 0 2px 6px rgba(20, 184, 166, 0.35);
}
.user-rank-value-block {
  flex-shrink: 0;
  text-align: right;
  min-width: 8.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--sn-line);
}
.user-rank-value {
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sn-text);
  line-height: 1.1;
}
.user-rank-label {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sn-faint);
}
@media (max-width: 768px) {
  .leaderboard-controls {
    margin-bottom: 1.5rem;
    padding: 0 0.2rem;
  }
  .leaderboard-compact-nav {
    gap: 1rem;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.4);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(100, 116, 139, 0.2);
  }
  .leaderboard-compact-nav .nav-group {
    gap: 0.15rem;
  }
  .desktop-only {
    display: none;
  }
  .picks-separator {
    margin: 0 0.3rem;
  }
  .leaderboard-compact-btn {
    min-width: 60px;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    transition: all 0.2s ease;
  }
  .leaderboard-compact-btn:hover {
    background: rgba(71, 85, 105, 0.8);
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateY(-1px);
  }
  .leaderboard-compact-btn.active {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border-color: #14b8a6;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
  }
  .leaderboard-compact-btn .btn-icon {
    font-size: 1rem;
  }
  .leaderboard-compact-btn .btn-label {
    font-size: 0.8rem;
    font-weight: 500;
  }
  .leaderboard-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  .leaderboard-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
  }
  .leaderboard-description {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
  }
  .leaderboard-compact-btn .btn-label {
    font-size: 0.6rem;
  }
}
@media (max-width: 480px) {
  .leaderboard-compact-nav {
    gap: 0.5rem;
    padding: 0 0.2rem;
    flex-direction: column;
  }
  .leaderboard-compact-nav .nav-group {
    gap: 0.1rem;
  }
  .picks-separator {
    margin: 0 0.25rem;
  }
  .leaderboard-compact-btn {
    min-width: 50px;
    padding: 0.35rem 0.4rem;
  }
  .leaderboard-compact-btn .btn-icon {
    font-size: 0.85rem;
  }
  .leaderboard-compact-btn .btn-label {
    font-size: 0.55rem;
  }
}
.display-name-prompt {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.prompt-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.prompt-content {
  flex: 1;
}
.prompt-content h4 {
  color: #60a5fa;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}
.prompt-content p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.prompt-content a {
  color: #14b8a6;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.prompt-content a:hover {
  color: #5eead4;
  border-bottom-color: #14b8a6;
}
@media (max-width: 768px) {
  .display-name-prompt {
    padding: 1rem;
    gap: 0.75rem;
  }
  .prompt-icon {
    font-size: 1.25rem;
  }
  .prompt-content h4 {
    font-size: 1rem;
  }
  .prompt-content p {
    font-size: 0.85rem;
  }
}
.picks-leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rank-badge {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 4px rgba(20, 184, 166, 0.3);
}
.pick-leaderboard-item.rank-1 .rank-badge {
  background: linear-gradient(135deg, var(--sn-gold), var(--sn-gold-2));
  color: #3a2700;
  box-shadow: 0 2px 8px var(--sn-gold-glow);
}
.pick-leaderboard-item.rank-2 .rank-badge {
  background: linear-gradient(135deg, var(--sn-silver), var(--sn-silver-2));
  color: #1a2230;
  box-shadow: 0 2px 8px var(--sn-silver-glow);
}
.pick-leaderboard-item.rank-3 .rank-badge {
  background: linear-gradient(135deg, var(--sn-bronze), var(--sn-bronze-2));
  color: #2a1606;
  box-shadow: 0 2px 8px var(--sn-bronze-glow);
}
.pick-leaderboard-item .teams-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pick-leaderboard-item .bet-header, .pick-leaderboard-item .bet-content, .pick-leaderboard-item .bet-footer {
  width: 100% !important;
}
.pick-leaderboard-item .bet-match {
  width: 100% !important;
}
.pick-leaderboard-item .pick-rank-user {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0;
}
.pick-leaderboard-item .pick-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  position: relative;
  background: #475569;
  border: 2px solid rgba(100, 116, 139, 0.4);
  border-radius: 50%;
  flex-shrink: 0;
}
.pick-leaderboard-item .pick-rank-number {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.pick-leaderboard-item .pick-user {
  font-size: 1.3rem;
  font-weight: 700;
  color: #10b981;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
.pick-leaderboard-item .pick-user.worst-pick {
  color: #ef4444;
}
.pick-leaderboard-item.rank-1 .pick-rank {
  background: radial-gradient(80% 60% at 35% 26%, var(--sn-gold-hi) 0%, rgba(255, 243, 196, 0) 55%), linear-gradient(155deg, var(--sn-gold) 0%, var(--sn-gold-2) 46%, var(--sn-gold-deep) 100%);
  border-color: rgba(255, 210, 74, 0.9);
  box-shadow: inset 0 1.5px 1px rgba(255, 247, 204, 0.85), inset 0 -3px 4px rgba(125, 82, 14, 0.6), 0 0 0 1px rgba(255, 210, 74, 0.25), 0 6px 16px rgba(255, 180, 40, 0.42), 0 0 26px var(--sn-gold-glow);
}
.pick-leaderboard-item.rank-1 .pick-rank-number {
  color: #3a2700;
}
.pick-leaderboard-item.rank-1 .pick-rank::after {
  content: "👑";
  position: absolute;
  top: -0.78rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.92rem;
  line-height: 1;
  color: var(--sn-gold);
  text-shadow: 0 0 7px var(--sn-gold-glow), 0 1px 1.5px rgba(0, 0, 0, 0.75);
  z-index: 2;
  animation: crownSettle 0.5s ease 0.35s both;
}
.pick-leaderboard-item.rank-1 .pick-rank::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient( 115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 62% );
  background-size: 250% 250%;
  background-position: 140% 0%;
  pointer-events: none;
  animation: goldShimmer 5s ease-in-out infinite;
}
.pick-leaderboard-item.rank-2 .pick-rank {
  background: radial-gradient(80% 60% at 35% 26%, var(--sn-silver-hi) 0%, rgba(251, 253, 255, 0) 55%), linear-gradient(155deg, var(--sn-silver) 0%, var(--sn-silver-2) 48%, var(--sn-silver-deep) 100%);
  border-color: rgba(219, 228, 240, 0.85);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.9), inset 0 -3px 4px rgba(92, 107, 128, 0.55), 0 0 0 1px rgba(180, 200, 225, 0.2), 0 5px 14px rgba(170, 190, 215, 0.3), 0 0 22px var(--sn-silver-glow);
}
.pick-leaderboard-item.rank-2 .pick-rank-number {
  color: #1a2230;
}
.pick-leaderboard-item.rank-3 .pick-rank {
  background: radial-gradient(80% 60% at 35% 26%, var(--sn-bronze-hi) 0%, rgba(244, 195, 154, 0) 55%), linear-gradient(155deg, var(--sn-bronze) 0%, var(--sn-bronze-2) 48%, var(--sn-bronze-deep) 100%);
  border-color: rgba(192, 106, 55, 0.9);
  box-shadow: inset 0 1.5px 1px rgba(244, 195, 154, 0.85), inset 0 -3px 4px rgba(94, 50, 16, 0.6), 0 0 0 1px rgba(192, 106, 55, 0.2), 0 5px 14px rgba(180, 110, 50, 0.32), 0 0 22px var(--sn-bronze-glow);
}
.pick-leaderboard-item.rank-3 .pick-rank-number {
  color: #2a1606;
}
.pick-leaderboard-item .bet-timestamps-compact {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pick-leaderboard-item .timestamp-compact {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pick-leaderboard-item .team-with-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pick-leaderboard-item .team-name-text {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}
.pick-leaderboard-item .team-with-logo.picked-team {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
}
.pick-leaderboard-item .team-with-logo.picked-team.status-won {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.pick-leaderboard-item .team-with-logo.picked-team.status-lost {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.pick-leaderboard-item.rank-1 .pick-rank {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.pick-leaderboard-item.rank-2 .pick-rank {
  color: #c0c0c0;
  text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}
.pick-leaderboard-item.rank-3 .pick-rank {
  color: #cd7f32;
  text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}
.pick-leaderboard-item {
  display: flex;
  align-items: flex-start;
  background: var(--sn-panel-bg);
  border: 1px solid var(--sn-line);
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
  position: relative;
  gap: 1rem;
}
.pick-leaderboard-item:hover {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.85));
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-2px);
}
.pick-main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.pick-left {
  flex: 1;
  min-width: 0;
}
.pick-right {
  flex-shrink: 0;
  text-align: right;
}
.pick-user {
  color: #10b981;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.pick-selection {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.pick-selection .pick-label {
  color: #94a3b8;
  font-size: 0.85rem;
}
.pick-selection .pick-value {
  color: #14b8a6;
  font-weight: 600;
  font-size: 0.9rem;
}
.pick-selection-styled {
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  margin: 0.25rem 0;
  display: inline-block;
  font-size: 0.9rem;
}
.pick-selection-styled.status-won {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}
.pick-selection-styled.status-lost {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.match-teams {
  display: inline;
}
@media (max-width: 768px) {
  .match-teams {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .match-teams span:not(.team-name) {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 400;
  }
}
.team-name {
  font-weight: 500;
}
.team-name.picked-team {
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  margin: 0.125rem 0;
}
.team-name.picked-team.status-won {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}
.team-name.picked-team.status-lost {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.pick-amount {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.pick-amount.amount-won {
  color: #22c55e;
}
.pick-amount.amount-lost {
  color: #ef4444;
}
.detail-value.amount-lost {
  color: #ef4444;
  font-size: 1.1em;
  font-weight: 600;
}
.pick-amount-label {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
}
.original-pick-amount {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.25rem;
}
.pick-match-info {
  margin-bottom: 0.75rem;
}
.pick-match-info .sport-title {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}
.pick-match-info .match-teams {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}
.pick-date {
  color: #94a3b8;
  font-size: 0.8rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.pick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.pick-amounts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.pick-bet-amount {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}
.pick-info {
  margin-bottom: 0.75rem;
}
.pick-match {
  margin-bottom: 0.5rem;
}
.sport-title {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}
.match-teams {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}
.pick-outcome {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.pick-label {
  color: #94a3b8;
  font-size: 0.85rem;
}
.pick-value {
  color: #14b8a6;
  font-weight: 600;
  font-size: 0.9rem;
}
.pick-leaderboard-item.rank-1 {
  border-color: rgba(255, 200, 60, 0.6);
  background: linear-gradient(180deg, rgba(255, 210, 74, 0.16), rgba(255, 210, 74, 0) 22%), radial-gradient(110% 120% at 8% 0%, rgba(255, 200, 60, 0.14), transparent 55%), linear-gradient(160deg, rgba(45, 52, 72, 0.96), rgba(12, 18, 36, 0.96));
}
@media (max-width: 768px) {
  .pick-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}
.pick-leaderboard-item.rank-2 {
  border-color: rgba(190, 210, 235, 0.5);
  background: linear-gradient(180deg, rgba(219, 228, 240, 0.12), rgba(219, 228, 240, 0) 22%), radial-gradient(110% 120% at 8% 0%, rgba(190, 210, 235, 0.12), transparent 55%), linear-gradient(160deg, rgba(42, 49, 67, 0.96), rgba(11, 17, 33, 0.96));
}
.pick-leaderboard-item.rank-3 {
  border-color: rgba(192, 106, 55, 0.55);
  background: linear-gradient(180deg, rgba(192, 106, 55, 0.12), rgba(192, 106, 55, 0) 22%), radial-gradient(110% 120% at 8% 0%, rgba(192, 106, 55, 0.12), transparent 55%), linear-gradient(160deg, rgba(43, 45, 58, 0.96), rgba(15, 17, 30, 0.96));
}
.pick-leaderboard-item.current-user {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(20, 184, 166, 0.05));
  border: 2px solid rgba(45, 212, 191, 0.4);
}
.pick-leaderboard-item.current-user::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sn-teal), #5eead4);
  border-radius: 0 8px 8px 0;
}
.pick-leaderboard-item.current-user .pick-user {
  color: var(--sn-teal);
  font-weight: 700;
}
@media (max-width: 768px) {
  .picks-leaderboard-list {
    gap: 1rem;
  }
  .pick-leaderboard-item.bet-card {
    padding: 0.875rem;
    margin-bottom: 0.75rem;
  }
  .pick-leaderboard-item .pick-rank-user {
    gap: 0.75rem;
    margin: 0.5rem 0;
  }
  .pick-leaderboard-item .pick-rank {
    width: 3rem;
    height: 3rem;
  }
  .pick-leaderboard-item .pick-rank-number {
    font-size: 1rem;
  }
  .pick-leaderboard-item .pick-user {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
  }
  .pick-leaderboard-item .teams-main {
    gap: 0.4rem;
  }
  .pick-leaderboard-item .team-with-logo {
    padding: 0.4rem;
  }
  .pick-leaderboard-item .team-name-text {
    font-size: 0.9rem;
  }
  .pick-leaderboard-item .rank {
    margin-right: 1rem;
    flex-shrink: 0;
  }
  .pick-leaderboard-item .rank-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    background: #475569;
    color: #f1f5f9;
    border: 2px solid rgba(100, 116, 139, 0.3);
  }
  .pick-leaderboard-item.rank-1 .rank-number {
    background: linear-gradient(135deg, var(--sn-gold), var(--sn-gold-2));
    color: #3a2700;
    border-color: rgba(255, 210, 74, 0.9);
    box-shadow: 0 0 15px var(--sn-gold-glow);
  }
  .pick-leaderboard-item.rank-2 .rank-number {
    background: linear-gradient(135deg, var(--sn-silver), var(--sn-silver-2));
    color: #1a2230;
    border-color: rgba(219, 228, 240, 0.85);
    box-shadow: 0 0 12px var(--sn-silver-glow);
  }
  .pick-leaderboard-item.rank-3 .rank-number {
    background: linear-gradient(135deg, var(--sn-bronze), var(--sn-bronze-2));
    color: #2a1606;
    border-color: rgba(192, 106, 55, 0.9);
    box-shadow: 0 0 10px var(--sn-bronze-glow);
  }
  .pick-main-content {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 0.75rem;
  }
  .pick-left {
    order: 1;
  }
  .pick-right {
    order: 2;
    text-align: left;
    background: rgba(15, 23, 42, 0.3);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 116, 139, 0.2);
  }
  .pick-user {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.25rem;
    text-align: left;
  }
  .pick-amount {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0.25rem;
  }
  .pick-amount.amount-won {
    color: #10b981;
  }
  .pick-amount.amount-lost {
    color: #ef4444;
    font-size: 1.1em;
    font-weight: 600;
  }
  .original-pick-amount {
    font-size: 0.9rem;
    color: #94a3b8;
    text-align: left;
  }
  .pick-match-info {
    order: 3;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
  }
  .sport-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
  }
  .match-teams {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    text-align: left;
  }
  .match-teams span:not(.team-name) {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 400;
    text-align: center;
    margin: 0.25rem 0;
  }
  .team-name {
    font-weight: 500;
    color: #e2e8f0;
  }
  .team-name.picked-team {
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    margin: 0.125rem 0;
    display: inline-block;
  }
  .team-name.picked-team.status-won {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
  }
  .team-name.picked-team.status-lost {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
  }
  .pick-date {
    order: 4;
    text-align: left;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(100, 116, 139, 0.1);
  }
  .pick-leaderboard-item.current-user {
    border: 2px solid rgba(45, 212, 191, 0.5);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(20, 184, 166, 0.06));
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.18);
  }
  .pick-leaderboard-item.current-user .pick-user {
    color: var(--sn-teal);
  }
  .pick-leaderboard-item:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  .original-pick-amount {
    text-align: left;
  }
  .empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    margin: 1rem 0.5rem;
  }
  .empty-state h3 {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-bottom: 0.75rem;
  }
  .empty-state p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
  }
  .loading {
    text-align: center;
    padding: 2rem 1rem;
    color: #94a3b8;
    font-size: 0.9rem;
  }
  .loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 2rem 1rem;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
  }
  .loading-overlay.show {
    opacity: 1;
  }
  .loading-content {
    text-align: center;
  }
  .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(100, 116, 139, 0.3);
    border-top: 3px solid #14b8a6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
  }
  .loading-message {
    color: #94a3b8;
    font-size: 0.9rem;
  }
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  .pick-leaderboard-item {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .pick-leaderboard-item:hover {
    will-change: auto;
  }
  @media (prefers-reduced-motion: reduce) {
    .pick-leaderboard-item {
      transition: none;
    }
    .pick-leaderboard-item:hover {
      transform: none;
    }
    .loading-spinner {
      animation: none;
    }
  }
  .pick-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .pick-amounts {
    align-items: flex-start;
    text-align: left;
  }
  .pick-bet-amount {
    text-align: left;
  }
  .match-teams {
    font-size: 0.85rem;
    text-align: left;
  }
}
#leaderboard-section .user-rank-card {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
#leaderboard-section .user-rank-card:hover {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(56, 189, 248, 0.12));
  border-color: rgba(45, 212, 191, 0.45);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  #leaderboard-section .user-rank-card {
    padding: 0.75rem 0.875rem;
  }
  .user-rank-title {
    font-size: 0.85rem;
  }
  .user-rank-position {
    font-size: 1.35rem;
  }
  .user-rank-value {
    font-size: 1.05rem;
  }
  .user-rank-value-block {
    min-width: 7rem;
    padding-left: 0.75rem;
  }
}
@media (max-width: 380px) {
  .user-rank-value-block {
    min-width: 5.5rem;
  }
}
#leaderboard-section .rank-number, #leaderboard-section .player-value, #leaderboard-section .pick-rank-number, #leaderboard-section .pick-amount {
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
}
.period-selector {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
}
.period-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
.period-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  text-align: center;
}
.period-select {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}
.period-select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.period-select:hover {
  border-color: #14b8a6;
  background: #334155;
}
.period-select option {
  background: #1e293b;
  color: #e2e8f0;
  padding: 0.5rem;
}
@media (max-width: 768px) {
  .period-controls {
    flex-direction: column;
    gap: 1rem;
  }
  .period-select {
    min-width: 100%;
  }
}
.leaderboard-item, .pick-leaderboard-item {
  animation: podiumRise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.leaderboard-item:nth-child(2) {
  animation-delay: 0s;
}
.leaderboard-item:nth-child(3) {
  animation-delay: 0.08s;
}
.leaderboard-item:nth-child(4) {
  animation-delay: 0.16s;
}
.leaderboard-item:nth-child(5) {
  animation-delay: 0.22s;
}
.leaderboard-item:nth-child(6) {
  animation-delay: 0.28s;
}
.leaderboard-item:nth-child(7) {
  animation-delay: 0.32s;
}
.leaderboard-item:nth-child(n + 8) {
  animation-delay: 0.34s;
}
.pick-leaderboard-item:nth-child(1) {
  animation-delay: 0s;
}
.pick-leaderboard-item:nth-child(2) {
  animation-delay: 0.08s;
}
.pick-leaderboard-item:nth-child(3) {
  animation-delay: 0.16s;
}
.pick-leaderboard-item:nth-child(n + 4) {
  animation-delay: 0.26s;
}
.leaderboard-item.rank-1 .rank, .pick-leaderboard-item.rank-1 .pick-rank {
  animation: medalPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: 0.06s;
}
.leaderboard-item.rank-2 .rank, .pick-leaderboard-item.rank-2 .pick-rank {
  animation: medalPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: 0.14s;
}
.leaderboard-item.rank-3 .rank, .pick-leaderboard-item.rank-3 .pick-rank {
  animation: medalPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: 0.22s;
}
@keyframes podiumRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes medalPop {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-14deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes crownSettle {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes goldShimmer {
  0%, 15% {
    background-position: 140% 0%;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  60% {
    background-position: -40% 100%;
    opacity: 1;
  }
  72%, 100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .leaderboard-item, .pick-leaderboard-item, .leaderboard-item .rank, .pick-leaderboard-item .pick-rank {
    animation: none !important;
  }
  .leaderboard-item.rank-1 .rank::before, .pick-leaderboard-item.rank-1 .pick-rank::before {
    animation: none !important;
    opacity: 0;
  }
}
.bet-btn {
  margin-top: calc(var(--spacing) * 4);
  width: 100%;
}
.bets-list {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 4);
}
.amount {
  margin-bottom: calc(var(--spacing) * 1);
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
}
.bet-amount {
  margin-bottom: calc(var(--spacing) * 6);
}
.bet-amount label {
  margin-bottom: calc(var(--spacing) * 2);
  display: block;
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-300);
}
.bet-amount input {
  width: 100%;
  border-radius: var(--radius-lg);
  border-style: var(--tw-border-style);
  border-width: 2px;
  border-color: var(--color-slate-600);
  background-color: var(--color-slate-700);
  padding: calc(var(--spacing) * 3);
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  color: var(--color-slate-200);
}
.bet-amount input:focus {
  border-color: var(--color-teal-500);
  background-color: var(--color-slate-600);
  --tw-outline-style: none;
  outline-style: none;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.bet-status {
  border-radius: calc(infinity * 1px);
  padding-inline: calc(var(--spacing) * 2);
  padding-block: calc(var(--spacing) * 1);
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
}
.status-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.status-won {
  background: rgba(20, 184, 166, 0.2);
  color: #14b8a6;
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.status-lost {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.bets-header {
  margin-bottom: calc(var(--spacing) * 8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bets-header h2 {
  margin: calc(var(--spacing) * 0);
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-slate-100);
}
.bets-stats {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  margin-bottom: calc(var(--spacing) * 4);
  border-radius: var(--radius-xl);
  padding: calc(var(--spacing) * 6);
}
.stats-grid {
  display: grid;
  gap: calc(var(--spacing) * 2.5);
  overflow-x: auto;
  padding: calc(var(--spacing) * 3);
  grid-template-columns: repeat(10, 1fr);
}
#bets-section .stat-value {
  margin-bottom: calc(var(--spacing) * 1);
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  --tw-leading: var(--leading-tight);
  line-height: var(--leading-tight);
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  overflow-wrap: break-word;
  color: var(--color-teal-500);
  hyphens: auto;
}
#bets-section .stat-value.positive {
  color: var(--color-emerald-500);
}
#bets-section .stat-value.negative {
  color: var(--color-red-500);
}
#bets-section .stat-label {
  font-size: 0.65rem;
  --tw-leading: var(--leading-tight);
  line-height: var(--leading-tight);
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  --tw-tracking: var(--tracking-wide);
  letter-spacing: var(--tracking-wide);
  overflow-wrap: break-word;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  hyphens: auto;
}
.bets-section {
  margin-bottom: calc(var(--spacing) * 12);
}
.bets-section h3 {
  margin-bottom: calc(var(--spacing) * 4);
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-teal-500);
}
.bets-grid {
  display: grid;
  gap: calc(var(--spacing) * 4);
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}
.load-more-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 3);
  padding-inline: calc(var(--spacing) * 4);
  padding-block: calc(var(--spacing) * 8);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  color: var(--color-slate-400);
}
.load-more-indicator .loading-spinner {
  margin: calc(var(--spacing) * 0);
  height: calc(var(--spacing) * 5);
  width: calc(var(--spacing) * 5);
  border-width: 2px;
}
.month-separator {
  position: relative;
  grid-column: 1 / -1;
  margin-block: calc(var(--spacing) * 8);
  margin-top: calc(var(--spacing) * 8);
  margin-bottom: calc(var(--spacing) * 4);
  text-align: center;
}
.month-separator::before {
  content: "";
  position: absolute;
  top: calc(1 / 2 * 100%);
  right: calc(var(--spacing) * 0);
  left: calc(var(--spacing) * 0);
  z-index: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(20, 184, 166, 0.3), transparent);
}
.month-year-header {
  background: #1e293b;
  color: #14b8a6;
  position: relative;
  z-index: 1;
  display: inline-block;
  border-radius: calc(infinity * 1px);
  padding-inline: calc(var(--spacing) * 6);
  padding-block: calc(var(--spacing) * 2);
  font-size: var(--text-lg);
  line-height: var(--tw-leading, var(--text-lg--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  border: 1px solid rgba(20, 184, 166, 0.3);
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.1);
}
.month-bets {
  display: contents;
}
.day-separator {
  position: relative;
  grid-column: 1 / -1;
  margin-block: calc(var(--spacing) * 8);
  margin-top: calc(var(--spacing) * 8);
  margin-bottom: calc(var(--spacing) * 4);
  text-align: center;
}
.day-separator::before {
  content: "";
  position: absolute;
  top: calc(1 / 2 * 100%);
  right: calc(var(--spacing) * 0);
  left: calc(var(--spacing) * 0);
  z-index: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #374151, transparent);
}
.day-header {
  background: #1e293b;
  color: #14b8a6;
  position: relative;
  z-index: 2;
  display: inline-block;
  border-radius: calc(infinity * 1px);
  padding-inline: calc(var(--spacing) * 6);
  padding-block: calc(var(--spacing) * 2);
  font-size: var(--text-lg);
  line-height: var(--tw-leading, var(--text-lg--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  border: 1px solid #374151;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}
.day-header .date-count {
  margin-left: calc(var(--spacing) * 2);
  border-radius: calc(infinity * 1px);
  padding-inline: calc(var(--spacing) * 2.5);
  padding-block: calc(var(--spacing) * 0.5);
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-400);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.day-matches {
  display: contents;
}
.day-separator .date-event-name {
  margin-bottom: calc(var(--spacing) * 3);
  text-align: center;
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal-500);
  text-shadow: 0 0 10px rgba(20, 184, 166, 0.3);
}
.day-separator .date-event-details {
  margin-top: calc(var(--spacing) * 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 1);
}
.day-separator .date-event-venue, .day-separator .date-event-location {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  color: var(--color-slate-300);
}
.day-separator .date-event-venue i, .day-separator .date-event-location i {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  color: var(--color-teal-500);
}
.month-navigation {
  margin-block: calc(var(--spacing) * 4);
  margin-bottom: calc(var(--spacing) * 6);
  border-radius: var(--radius-lg);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: var(--color-slate-700);
  background-color: var(--color-slate-800);
  padding: calc(var(--spacing) * 4);
}
.month-nav-label {
  margin-bottom: calc(var(--spacing) * 3);
  text-align: center;
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-400);
}
.month-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(var(--spacing) * 2);
}
.month-nav-btn {
  cursor: pointer;
  border-radius: var(--radius-md);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: var(--color-slate-600);
  background-color: var(--color-slate-700);
  padding-inline: calc(var(--spacing) * 4);
  padding-block: calc(var(--spacing) * 2);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  color: var(--color-slate-200);
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 200ms;
  transition-duration: 200ms;
}
.month-nav-btn:hover {
  --tw-translate-y: -1px;
  translate: var(--tw-translate-x) var(--tw-translate-y);
  border-color: var(--color-slate-500);
  background-color: var(--color-slate-600);
  color: var(--color-slate-100);
}
.month-nav-btn:active {
  --tw-translate-y: calc(var(--spacing) * 0);
  translate: var(--tw-translate-x) var(--tw-translate-y);
  background-color: var(--color-slate-800);
}
.month-highlight {
  animation: monthHighlight 2s ease-in-out;
}
@keyframes monthHighlight {
  0% {
    background-color: #1e293b;
  }
  50% {
    background-color: #0f172a;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
  }
  100% {
    background-color: #1e293b;
  }
}
.bet-header {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 3);
}
.bet-match {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
}
.bet-match-header {
  margin-bottom: calc(var(--spacing) * 2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bet-match .teams-main {
  margin-bottom: calc(var(--spacing) * 1);
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  --tw-leading: var(--leading-snug);
  line-height: var(--leading-snug);
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-slate-100);
}
.bet-match .sport-title {
  margin-top: calc(var(--spacing) * 1);
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 1.5);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  --tw-tracking: var(--tracking-wider);
  letter-spacing: var(--tracking-wider);
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bet-content {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 3);
}
.team-with-logo.picked-team {
  margin-block: calc(var(--spacing) * 1);
  border-radius: var(--radius-xl);
  padding-inline: calc(var(--spacing) * 3);
  padding-block: calc(var(--spacing) * 2);
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
}
.team-with-logo.picked-team.status-pending {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
}
.team-with-logo.picked-team.status-pending .team-name-text {
  color: #fbbf24;
}
.team-with-logo.picked-team.status-won {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.team-with-logo.picked-team.status-won .team-name-text {
  color: #10b981;
}
.team-with-logo.picked-team.status-lost {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.team-with-logo.picked-team.status-lost .team-name-text {
  color: #ef4444;
}
.team-with-logo.picked-team.status-cancelled {
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.2);
}
.team-with-logo.picked-team.status-cancelled .team-name-text {
  color: #64748b;
}
.status-badge {
  border-radius: calc(infinity * 1px);
  padding-inline: calc(var(--spacing) * 2);
  padding-block: calc(var(--spacing) * 1);
  font-size: 0.7rem;
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
}
.status-badge.status-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.status-badge.status-won {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-badge.status-lost {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.status-badge.status-cancelled {
  background: rgba(100, 116, 139, 0.2);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.3);
}
.bet-details-compact {
  display: flex;
  justify-content: space-between;
  gap: calc(var(--spacing) * 4);
  border-radius: var(--radius-lg);
  background-color: var(--color-slate-700);
  padding: calc(var(--spacing) * 2);
}
.bet-detail {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 1);
}
.detail-label {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-400);
}
.detail-value {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-slate-100);
}
.detail-value.odds {
  color: #fbbf24;
}
.detail-value.amount {
  color: #fbbf24;
}
.detail-value.profit {
  font-size: var(--text-lg);
  line-height: var(--tw-leading, var(--text-lg--line-height));
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
  color: var(--color-emerald-500);
}
.bet-footer {
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(var(--spacing) * 4);
  padding-top: calc(var(--spacing) * 2);
}
.bet-timestamps-compact {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: calc(var(--spacing) * 1);
}
.timestamp-compact {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
}
.timestamp-label {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-slate-400);
  min-width: 55px;
}
.timestamp-value {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  --tw-font-weight: var(--font-weight-normal);
  font-weight: var(--font-weight-normal);
  color: var(--color-slate-200);
}
.match-status-compact {
  display: flex;
  align-items: center;
  border-radius: calc(infinity * 1px);
  padding-inline: calc(var(--spacing) * 2);
  padding-block: calc(var(--spacing) * 1);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.live-indicator {
  color: #ef4444 !important;
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
}
@media (max-width: 768px) {
  .bet-card {
    margin-bottom: calc(var(--spacing) * 4);
    gap: calc(var(--spacing) * 3);
    padding: calc(var(--spacing) * 4);
  }
  .bet-match .teams-main {
    gap: calc(var(--spacing) * 1.5);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .bet-match-header {
    margin-bottom: calc(var(--spacing) * 1.5);
    justify-content: space-between;
  }
  .bet-match .sport-title {
    gap: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .team-with-logo {
    gap: calc(var(--spacing) * 1.5);
  }
  .bet-details-compact {
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    border-radius: var(--radius-lg);
    padding: calc(var(--spacing) * 3);
    background: rgba(255, 255, 255, 0.02);
  }
  .bet-detail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .bet-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--spacing) * 2);
  }
  .timestamp-compact {
    justify-content: space-between;
  }
  .timestamp-label {
    min-width: auto;
  }
}
@media (max-width: 480px) {
  .bet-match .teams-main {
    gap: calc(var(--spacing) * 1.5);
  }
  .bet-match-header {
    margin-bottom: calc(var(--spacing) * 1);
    justify-content: space-between;
  }
  .bet-match .sport-title {
    gap: calc(var(--spacing) * 1);
    font-size: 0.75rem;
  }
  .team-with-logo {
    gap: calc(var(--spacing) * 1.5);
  }
}
.bets-actions {
  margin-block: calc(var(--spacing) * 4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 4);
}
.bets-stats-container {
  margin-bottom: calc(var(--spacing) * 8);
}
.bets-stats-container .stats-grid {
  gap: calc(var(--spacing) * 4);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.bets-stats-container .stat-value {
  margin-bottom: calc(var(--spacing) * 1);
  display: block;
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  color: var(--color-slate-100);
}
.bets-stats-container .stat-label {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  --tw-tracking: var(--tracking-wider);
  letter-spacing: var(--tracking-wider);
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .bets-header {
    margin-bottom: calc(var(--spacing) * 2);
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .bets-stats {
    margin-bottom: calc(var(--spacing) * 2);
    padding: calc(var(--spacing) * 2);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr);
  }
  .stat-card {
    min-width: 0;
    padding: 0.35rem;
    font-size: 0.8rem;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 0;
    flex: 0 0 auto;
  }
  .stat-value {
    margin-bottom: calc(var(--spacing) * 0.5);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .stat-label {
    font-size: 0.7rem;
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }
}
#bets-section .bets-stats {
  background: var(--sn-panel-bg-soft);
  border-color: var(--sn-line);
}
#bets-section .stat-card {
  background: var(--sn-panel-bg);
  border-color: var(--sn-line);
}
#bets-section .stat-value {
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
}
#bets-section .bet-card {
  background: var(--sn-panel-bg);
  border-top-color: var(--sn-line);
  border-right-color: var(--sn-line);
  border-bottom-color: var(--sn-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), var(--sn-panel-shadow);
}
#bets-section .bet-card:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--sn-panel-shadow-hover), 0 0 0 1px rgba(45, 212, 191, 0.15);
}
#bets-section .amount, #bets-section .detail-value, #bets-section .timestamp-value {
  font-family: var(--sn-font-mono);
  font-variant-numeric: tabular-nums;
}
#bets-section .month-year-header, #bets-section .day-header {
  background: linear-gradient(180deg, rgba(20, 28, 50, 0.96), rgba(10, 16, 32, 0.96));
  color: var(--sn-text);
  font-family: var(--sn-font-display);
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 10px;
  box-shadow: 0 10px 30px -18px rgba(20, 184, 166, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
#bets-section .month-separator::before, #bets-section .day-separator::before {
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.42) 18%, rgba(45, 212, 191, 0.42) 82%, transparent);
}
#bets-section .month-navigation {
  background: var(--sn-panel-bg-soft);
  border-color: var(--sn-line);
}
#bets-section .month-nav-btn {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--sn-line-2);
  color: var(--sn-muted);
}
#bets-section .month-nav-btn:hover {
  background: rgba(45, 212, 191, 0.07);
  border-color: rgba(45, 212, 191, 0.35);
  color: var(--sn-text);
}
@media (max-width: 768px) {
  #bets-section .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-gradient-position {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
    }
  }
}
