/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-emerald-100: oklch(95% 0.052 163.051);
    --color-emerald-300: oklch(84.5% 0.143 164.978);
    --color-emerald-400: oklch(76.5% 0.177 163.223);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-emerald-600: oklch(59.6% 0.145 163.225);
    --color-teal-400: oklch(77.7% 0.152 181.912);
    --color-sky-800: oklch(44.3% 0.11 240.79);
    --color-sky-900: oklch(39.1% 0.09 240.876);
    --color-blue-400: oklch(70.7% 0.165 254.624);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-800: oklch(42.4% 0.199 265.638);
    --color-blue-900: oklch(37.9% 0.146 265.522);
    --color-indigo-300: oklch(78.5% 0.115 274.713);
    --color-indigo-400: oklch(67.3% 0.182 276.935);
    --color-indigo-500: oklch(58.5% 0.233 277.117);
    --color-violet-300: oklch(81.1% 0.111 293.571);
    --color-violet-400: oklch(70.2% 0.183 293.541);
    --color-violet-500: oklch(60.6% 0.25 292.717);
    --color-rose-400: oklch(71.2% 0.194 13.428);
    --color-rose-500: oklch(64.5% 0.246 16.439);
    --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: oklch(27.9% 0.041 260.031);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-slate-950: oklch(12.9% 0.042 264.695);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-xs: 20rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --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);
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    --tracking-tight: -0.025em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --blur-sm: 8px;
    --blur-3xl: 64px;
    --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);
    --animate-fade-in: fade-in 0.7s ease-out both;
    --animate-slide-up: slide-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    --animate-scale-in: scale-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
@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%;
    -moz-tab-size: 4;
      -o-tab-size: 4;
         tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)) {
    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;
  }
  ::-moz-placeholder {
    opacity: 1;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::-moz-placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
    ::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 {
    -webkit-appearance: button;
       -moz-appearance: button;
            appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }
  .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;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: 0px;
  }
  .-top-2 {
    top: calc(var(--spacing) * -2);
  }
  .top-0 {
    top: 0px;
  }
  .top-1\/2 {
    top: calc(1 / 2 * 100%);
  }
  .top-\[-20\%\] {
    top: -20%;
  }
  .-right-2 {
    right: calc(var(--spacing) * -2);
  }
  .right-3 {
    right: calc(var(--spacing) * 3);
  }
  .right-\[-8\%\] {
    right: -8%;
  }
  .bottom-\[-10\%\] {
    bottom: -10%;
  }
  .left-3 {
    left: calc(var(--spacing) * 3);
  }
  .left-3\.5 {
    left: calc(var(--spacing) * 3.5);
  }
  .left-\[-10\%\] {
    left: -10%;
  }
  .z-10 {
    z-index: 10;
  }
  .z-40 {
    z-index: 40;
  }
  .z-50 {
    z-index: 50;
  }
  .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;
    }
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-1 {
    margin-top: var(--spacing);
  }
  .mt-1\.5 {
    margin-top: calc(var(--spacing) * 1.5);
  }
  .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-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-auto {
    margin-top: auto;
  }
  .mb-1 {
    margin-bottom: var(--spacing);
  }
  .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-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .ml-1 {
    margin-left: var(--spacing);
  }
  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }
  .ml-auto {
    margin-left: auto;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .h-1\.5 {
    height: calc(var(--spacing) * 1.5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-28 {
    height: calc(var(--spacing) * 28);
  }
  .h-full {
    height: 100%;
  }
  .max-h-\[46vh\] {
    max-height: 46vh;
  }
  .min-h-16 {
    min-height: calc(var(--spacing) * 16);
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-7 {
    width: calc(var(--spacing) * 7);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-12 {
    width: calc(var(--spacing) * 12);
  }
  .w-28 {
    width: calc(var(--spacing) * 28);
  }
  .w-72 {
    width: calc(var(--spacing) * 72);
  }
  .w-fit {
    width: -moz-fit-content;
    width: fit-content;
  }
  .w-full {
    width: 100%;
  }
  .max-w-\[1600px\] {
    max-width: 1600px;
  }
  .max-w-full {
    max-width: 100%;
  }
  .max-w-lg {
    max-width: var(--container-lg);
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .min-w-0 {
    min-width: 0px;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-fade-in {
    animation: var(--animate-fade-in);
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .animate-scale-in {
    animation: var(--animate-scale-in);
  }
  .animate-slide-up {
    animation: var(--animate-slide-up);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .appearance-none {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-items-center {
    place-items: center;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .gap-0\.5 {
    gap: calc(var(--spacing) * 0.5);
  }
  .gap-1 {
    gap: var(--spacing);
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  :where(.divide-y > :not(:last-child)) {
    --tw-divide-y-reverse: 0;
    border-bottom-style: var(--tw-border-style);
    border-top-style: var(--tw-border-style);
    border-top-width: calc(1px * var(--tw-divide-y-reverse));
    border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  }
  :where(.divide-slate-800\/60 > :not(:last-child)) {
    border-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-800) 60%, transparent);
    }
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .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 {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-emerald-400 {
    border-color: var(--color-emerald-400);
  }
  .border-slate-200\/70 {
    border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-200) 70%, transparent);
    }
  }
  .border-slate-300 {
    border-color: var(--color-slate-300);
  }
  .border-slate-700 {
    border-color: var(--color-slate-700);
  }
  .border-slate-700\/70 {
    border-color: color-mix(in srgb, oklch(37.2% 0.044 257.287) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-700) 70%, transparent);
    }
  }
  .border-slate-700\/80 {
    border-color: color-mix(in srgb, oklch(37.2% 0.044 257.287) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-700) 80%, transparent);
    }
  }
  .border-slate-800 {
    border-color: var(--color-slate-800);
  }
  .border-white\/10 {
    border-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .bg-\[\#0b1530\] {
    background-color: #0b1530;
  }
  .bg-\[\#229ED9\] {
    background-color: #229ED9;
  }
  .bg-amber-400 {
    background-color: var(--color-amber-400);
  }
  .bg-amber-400\/10 {
    background-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-amber-400) 10%, transparent);
    }
  }
  .bg-amber-400\/15 {
    background-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-amber-400) 15%, transparent);
    }
  }
  .bg-black\/60 {
    background-color: color-mix(in srgb, #000 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 60%, transparent);
    }
  }
  .bg-black\/70 {
    background-color: color-mix(in srgb, #000 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 70%, transparent);
    }
  }
  .bg-blue-400\/20 {
    background-color: color-mix(in srgb, oklch(70.7% 0.165 254.624) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-blue-400) 20%, transparent);
    }
  }
  .bg-blue-500\/15 {
    background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-blue-500) 15%, transparent);
    }
  }
  .bg-blue-600 {
    background-color: var(--color-blue-600);
  }
  .bg-emerald-400 {
    background-color: var(--color-emerald-400);
  }
  .bg-emerald-400\/10 {
    background-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-emerald-400) 10%, transparent);
    }
  }
  .bg-emerald-400\/15 {
    background-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-emerald-400) 15%, transparent);
    }
  }
  .bg-emerald-400\/20 {
    background-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-emerald-400) 20%, transparent);
    }
  }
  .bg-indigo-500 {
    background-color: var(--color-indigo-500);
  }
  .bg-indigo-500\/15 {
    background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-indigo-500) 15%, transparent);
    }
  }
  .bg-indigo-500\/20 {
    background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);
    }
  }
  .bg-rose-500 {
    background-color: var(--color-rose-500);
  }
  .bg-rose-500\/15 {
    background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-rose-500) 15%, transparent);
    }
  }
  .bg-rose-500\/20 {
    background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);
    }
  }
  .bg-slate-400\/10 {
    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);
    }
  }
  .bg-slate-700 {
    background-color: var(--color-slate-700);
  }
  .bg-slate-800 {
    background-color: var(--color-slate-800);
  }
  .bg-slate-800\/60 {
    background-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-800) 60%, transparent);
    }
  }
  .bg-slate-800\/80 {
    background-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-800) 80%, transparent);
    }
  }
  .bg-slate-900 {
    background-color: var(--color-slate-900);
  }
  .bg-slate-900\/60 {
    background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);
    }
  }
  .bg-slate-950 {
    background-color: var(--color-slate-950);
  }
  .bg-slate-950\/50 {
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 50%, transparent);
    }
  }
  .bg-slate-950\/60 {
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 60%, transparent);
    }
  }
  .bg-slate-950\/90 {
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 90%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 90%, transparent);
    }
  }
  .bg-transparent {
    background-color: transparent;
  }
  .bg-violet-500\/15 {
    background-color: color-mix(in srgb, oklch(60.6% 0.25 292.717) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-violet-500) 15%, transparent);
    }
  }
  .bg-white\/5 {
    background-color: color-mix(in srgb, #fff 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
    }
  }
  .bg-white\/90 {
    background-color: color-mix(in srgb, #fff 90%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 90%, transparent);
    }
  }
  .bg-gradient-to-b {
    --tw-gradient-position: to bottom in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-gradient-to-br {
    --tw-gradient-position: to bottom right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .from-emerald-500\/15 {
    --tw-gradient-from: color-mix(in srgb, oklch(69.6% 0.17 162.48) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-from: color-mix(in oklab, var(--color-emerald-500) 15%, transparent);
    }
    --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));
  }
  .from-slate-900 {
    --tw-gradient-from: var(--color-slate-900);
    --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-blue-500\/15 {
    --tw-gradient-to: color-mix(in srgb, oklch(62.3% 0.214 259.815) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-to: color-mix(in oklab, var(--color-blue-500) 15%, transparent);
    }
    --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-slate-950 {
    --tw-gradient-to: var(--color-slate-950);
    --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));
  }
  .object-contain {
    -o-object-fit: contain;
       object-fit: contain;
  }
  .p-1 {
    padding: var(--spacing);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-8 {
    padding: calc(var(--spacing) * 8);
  }
  .px-1 {
    padding-inline: var(--spacing);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-3\.5 {
    padding-inline: calc(var(--spacing) * 3.5);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-1 {
    padding-block: var(--spacing);
  }
  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }
  .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-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .pt-1 {
    padding-top: var(--spacing);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pr-9 {
    padding-right: calc(var(--spacing) * 9);
  }
  .pb-1 {
    padding-bottom: var(--spacing);
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .pb-5 {
    padding-bottom: calc(var(--spacing) * 5);
  }
  .pl-1 {
    padding-left: var(--spacing);
  }
  .pl-10 {
    padding-left: calc(var(--spacing) * 10);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--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\.7rem\] {
    font-size: 0.7rem;
  }
  .text-\[0\.62rem\] {
    font-size: 0.62rem;
  }
  .text-\[0\.65rem\] {
    font-size: 0.65rem;
  }
  .text-\[0\.68rem\] {
    font-size: 0.68rem;
  }
  .text-\[15px\] {
    font-size: 15px;
  }
  .text-\[20px\] {
    font-size: 20px;
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .font-black {
    --tw-font-weight: var(--font-weight-black);
    font-weight: var(--font-weight-black);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }
  .tracking-wider {
    --tw-tracking: var(--tracking-wider);
    letter-spacing: var(--tracking-wider);
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-amber-400 {
    color: var(--color-amber-400);
  }
  .text-amber-400\/70 {
    color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-amber-400) 70%, transparent);
    }
  }
  .text-blue-400 {
    color: var(--color-blue-400);
  }
  .text-emerald-300 {
    color: var(--color-emerald-300);
  }
  .text-emerald-400 {
    color: var(--color-emerald-400);
  }
  .text-emerald-600 {
    color: var(--color-emerald-600);
  }
  .text-indigo-300 {
    color: var(--color-indigo-300);
  }
  .text-indigo-400 {
    color: var(--color-indigo-400);
  }
  .text-rose-400 {
    color: var(--color-rose-400);
  }
  .text-rose-400\/90 {
    color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 90%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-rose-400) 90%, transparent);
    }
  }
  .text-slate-100 {
    color: var(--color-slate-100);
  }
  .text-slate-200 {
    color: var(--color-slate-200);
  }
  .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-slate-600 {
    color: var(--color-slate-600);
  }
  .text-slate-700 {
    color: var(--color-slate-700);
  }
  .text-slate-900 {
    color: var(--color-slate-900);
  }
  .text-slate-950 {
    color: var(--color-slate-950);
  }
  .text-teal-400 {
    color: var(--color-teal-400);
  }
  .text-violet-300 {
    color: var(--color-violet-300);
  }
  .text-violet-400 {
    color: var(--color-violet-400);
  }
  .text-white {
    color: var(--color-white);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .opacity-0 {
    opacity: 0%;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .shadow-2xl {
    --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 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_12px_30px_rgba\(2\,6\,23\,0\.08\)\] {
    --tw-shadow: 0 12px 30px var(--tw-shadow-color, rgba(2,6,23,0.08));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px 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);
  }
  .ring-1 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-2 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-blue-900\/40 {
    --tw-shadow-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-blue-900) 40%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }
  .shadow-sky-900\/40 {
    --tw-shadow-color: color-mix(in srgb, oklch(39.1% 0.09 240.876) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-sky-900) 40%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }
  .ring-amber-400\/20 {
    --tw-ring-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-amber-400) 20%, transparent);
    }
  }
  .ring-amber-400\/30 {
    --tw-ring-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-amber-400) 30%, transparent);
    }
  }
  .ring-blue-500\/30 {
    --tw-ring-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-blue-500) 30%, transparent);
    }
  }
  .ring-emerald-400\/30 {
    --tw-ring-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-emerald-400) 30%, transparent);
    }
  }
  .ring-emerald-400\/70 {
    --tw-ring-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-emerald-400) 70%, transparent);
    }
  }
  .ring-emerald-500\/20 {
    --tw-ring-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);
    }
  }
  .ring-indigo-500\/30 {
    --tw-ring-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-indigo-500) 30%, transparent);
    }
  }
  .ring-rose-500\/30 {
    --tw-ring-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-rose-500) 30%, transparent);
    }
  }
  .ring-rose-500\/40 {
    --tw-ring-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-rose-500) 40%, transparent);
    }
  }
  .ring-slate-400\/20 {
    --tw-ring-color: color-mix(in srgb, oklch(70.4% 0.04 256.788) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-slate-400) 20%, transparent);
    }
  }
  .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,);
  }
  .blur-3xl {
    --tw-blur: blur(var(--blur-3xl));
    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,);
  }
  .backdrop-blur {
    --tw-backdrop-blur: blur(8px);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-sm {
    --tw-backdrop-blur: blur(var(--blur-sm));
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .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, 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));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
  .\[animation-delay\:100ms\] {
    animation-delay: 100ms;
  }
  .\[animation-delay\:120ms\] {
    animation-delay: 120ms;
  }
  .\[animation-delay\:150ms\] {
    animation-delay: 150ms;
  }
  .\[animation-delay\:200ms\] {
    animation-delay: 200ms;
  }
  .\[animation-delay\:250ms\] {
    animation-delay: 250ms;
  }
  @media (hover: hover) {
    .group-hover\:opacity-100:is(:where(.group):hover *) {
      opacity: 100%;
    }
    .hover\:-translate-y-0\.5:hover {
      --tw-translate-y: calc(var(--spacing) * -0.5);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .hover\:-translate-y-1:hover {
      --tw-translate-y: calc(var(--spacing) * -1);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .hover\:scale-105:hover {
      --tw-scale-x: 105%;
      --tw-scale-y: 105%;
      --tw-scale-z: 105%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
    .hover\:scale-110:hover {
      --tw-scale-x: 110%;
      --tw-scale-y: 110%;
      --tw-scale-z: 110%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
    .hover\:scale-\[1\.02\]:hover {
      scale: 1.02;
    }
    .hover\:scale-\[1\.03\]:hover {
      scale: 1.03;
    }
    .hover\:border-emerald-400:hover {
      border-color: var(--color-emerald-400);
    }
    .hover\:border-emerald-400\/40:hover {
      border-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 40%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:border-emerald-400\/40:hover {
        border-color: color-mix(in oklab, var(--color-emerald-400) 40%, transparent);
      }
    }
    .hover\:border-emerald-400\/50:hover {
      border-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 50%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:border-emerald-400\/50:hover {
        border-color: color-mix(in oklab, var(--color-emerald-400) 50%, transparent);
      }
    }
    .hover\:border-slate-600:hover {
      border-color: var(--color-slate-600);
    }
    .hover\:bg-\[\#1f8fc5\]:hover {
      background-color: #1f8fc5;
    }
    .hover\:bg-blue-500:hover {
      background-color: var(--color-blue-500);
    }
    .hover\:bg-blue-500\/25:hover {
      background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 25%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-blue-500\/25:hover {
        background-color: color-mix(in oklab, var(--color-blue-500) 25%, transparent);
      }
    }
    .hover\:bg-emerald-300:hover {
      background-color: var(--color-emerald-300);
    }
    .hover\:bg-emerald-400\/10:hover {
      background-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 10%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-emerald-400\/10:hover {
        background-color: color-mix(in oklab, var(--color-emerald-400) 10%, transparent);
      }
    }
    .hover\:bg-indigo-400:hover {
      background-color: var(--color-indigo-400);
    }
    .hover\:bg-rose-400:hover {
      background-color: var(--color-rose-400);
    }
    .hover\:bg-rose-500\/25:hover {
      background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 25%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-rose-500\/25:hover {
        background-color: color-mix(in oklab, var(--color-rose-500) 25%, transparent);
      }
    }
    .hover\:bg-slate-600:hover {
      background-color: var(--color-slate-600);
    }
    .hover\:bg-slate-700:hover {
      background-color: var(--color-slate-700);
    }
    .hover\:bg-slate-800:hover {
      background-color: var(--color-slate-800);
    }
    .hover\:bg-slate-800\/40:hover {
      background-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 40%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-slate-800\/40:hover {
        background-color: color-mix(in oklab, var(--color-slate-800) 40%, transparent);
      }
    }
    .hover\:text-emerald-100:hover {
      color: var(--color-emerald-100);
    }
    .hover\:text-emerald-300:hover {
      color: var(--color-emerald-300);
    }
    .hover\:text-emerald-400:hover {
      color: var(--color-emerald-400);
    }
    .hover\:text-emerald-600:hover {
      color: var(--color-emerald-600);
    }
    .hover\:text-indigo-300:hover {
      color: var(--color-indigo-300);
    }
    .hover\:text-slate-200:hover {
      color: var(--color-slate-200);
    }
    .hover\:shadow-\[0_18px_45px_rgba\(16\,185\,129\,0\.16\)\,0_0_40px_rgba\(59\,130\,246\,0\.12\)\]:hover {
      --tw-shadow: 0 18px 45px var(--tw-shadow-color, rgba(16,185,129,0.16)), 0 0 40px var(--tw-shadow-color, rgba(59,130,246,0.12));
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
    .hover\:shadow-blue-800\/40:hover {
      --tw-shadow-color: color-mix(in srgb, oklch(42.4% 0.199 265.638) 40%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:shadow-blue-800\/40:hover {
        --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-blue-800) 40%, transparent) var(--tw-shadow-alpha), transparent);
      }
    }
    .hover\:shadow-sky-800\/40:hover {
      --tw-shadow-color: color-mix(in srgb, oklch(44.3% 0.11 240.79) 40%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:shadow-sky-800\/40:hover {
        --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-sky-800) 40%, transparent) var(--tw-shadow-alpha), transparent);
      }
    }
  }
  .focus\:scale-105:focus {
    --tw-scale-x: 105%;
    --tw-scale-y: 105%;
    --tw-scale-z: 105%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .focus\:scale-\[1\.02\]:focus {
    scale: 1.02;
  }
  .focus\:border-emerald-400\/50:focus {
    border-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-emerald-400) 50%, transparent);
    }
  }
  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .focus\:ring-amber-400\/40:focus {
    --tw-ring-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-amber-400) 40%, transparent);
    }
  }
  .focus\:ring-blue-400\/40:focus {
    --tw-ring-color: color-mix(in srgb, oklch(70.7% 0.165 254.624) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-blue-400) 40%, transparent);
    }
  }
  .focus\:ring-emerald-400\/20:focus {
    --tw-ring-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-emerald-400) 20%, transparent);
    }
  }
  .focus\:ring-emerald-400\/40:focus {
    --tw-ring-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-emerald-400) 40%, transparent);
    }
  }
  .focus\:ring-indigo-400\/40:focus {
    --tw-ring-color: color-mix(in srgb, oklch(67.3% 0.182 276.935) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-indigo-400) 40%, transparent);
    }
  }
  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }
  .active\:scale-\[0\.98\]:active {
    scale: 0.98;
  }
  @media (width >= 40rem) {
    .sm\:inline {
      display: inline;
    }
    .sm\:w-auto {
      width: auto;
    }
    .sm\:max-w-xs {
      max-width: var(--container-xs);
    }
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm\:gap-2 {
      gap: calc(var(--spacing) * 2);
    }
    .sm\:gap-3 {
      gap: calc(var(--spacing) * 3);
    }
    .sm\:px-4 {
      padding-inline: calc(var(--spacing) * 4);
    }
  }
  @media (width >= 48rem) {
    .md\:inline {
      display: inline;
    }
    .md\:min-w-180 {
      min-width: calc(var(--spacing) * 180);
    }
  }
  @media (width >= 64rem) {
    .lg\:block {
      display: block;
    }
    .lg\:flex {
      display: flex;
    }
  }
  @media (width >= 80rem) {
    .xl\:hidden {
      display: none;
    }
    .xl\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .xl\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .xl\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  @media (prefers-color-scheme: dark) {
    .dark\:border-slate-700 {
      border-color: var(--color-slate-700);
    }
    .dark\:border-slate-800 {
      border-color: var(--color-slate-800);
    }
    .dark\:bg-slate-900\/80 {
      background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 80%, transparent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .dark\:bg-slate-900\/80 {
        background-color: color-mix(in oklab, var(--color-slate-900) 80%, transparent);
      }
    }
    .dark\:text-emerald-300 {
      color: var(--color-emerald-300);
    }
    .dark\:text-slate-100 {
      color: var(--color-slate-100);
    }
    .dark\:text-slate-200 {
      color: var(--color-slate-200);
    }
    .dark\:text-slate-300 {
      color: var(--color-slate-300);
    }
    .dark\:shadow-\[0_12px_30px_rgba\(2\,6\,23\,0\.35\)\] {
      --tw-shadow: 0 12px 30px var(--tw-shadow-color, rgba(2,6,23,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);
    }
    @media (hover: hover) {
      .dark\:hover\:border-emerald-400:hover {
        border-color: var(--color-emerald-400);
      }
      .dark\:hover\:text-emerald-300:hover {
        color: var(--color-emerald-300);
      }
    }
  }
  .\[\&\>option\]\:bg-slate-900 > option {
    background-color: var(--color-slate-900);
  }
}
:root {
  --color-emerald-strong: #0f766e;
  --color-emerald: #10b981;
  --color-emerald-soft: #34d399;
  --color-emerald-glow: rgba(52, 211, 153, 0.24);
  --color-emerald-glow-strong: rgba(52, 211, 153, 0.26);
  --color-blue: #3b82f6;
  --color-blue-soft: #60a5fa;
  --color-blue-glow: rgba(59, 130, 246, 0.16);
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-border: rgba(148, 163, 184, 0.28);
  --color-border-soft: rgba(148, 163, 184, 0.2);
  --color-border-muted: rgba(148, 163, 184, 0.24);
  --color-border-strong: rgba(148, 163, 184, 0.5);
  --color-focus: var(--color-emerald-soft);
  --color-bg-page: #020617;
  --color-bg-card: rgba(15, 23, 42, 0.78);
  --color-bg-input: rgba(15, 23, 42, 0.72);
  --color-card-surface: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.72));
  --color-card-surface-soft: linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.72));
  --color-surface-muted: rgba(248, 250, 252, 0.08);
  --color-surface-muted-strong: rgba(248, 250, 252, 0.14);
  --color-surface-soft: rgba(248, 250, 252, 0.98);
  --color-white-glass: rgba(248, 250, 252, 0.38);
  --color-error: #f87171;
  --color-error-bg: rgba(127, 29, 29, 0.25);
  --color-success: var(--color-emerald-soft);
  --color-success-bg: rgba(6, 78, 59, 0.35);
  --color-warning: #fbbf24;
  --primary-dark: var(--color-emerald-strong);
  --primary-mid: var(--color-emerald-soft);
  --primary-light: var(--color-blue-soft);
  --primary-glow: var(--color-emerald-glow);
  --accent-gradient: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-blue) 100%);
  --text-primary: var(--color-text-primary);
  --text-secondary: var(--color-text-secondary);
  --text-muted: var(--color-text-muted);
  --border-color: var(--color-border);
  --border-focus: var(--color-focus);
  --bg-page: var(--color-bg-page);
  --bg-card: var(--color-bg-card);
  --bg-input: var(--color-bg-input);
  --error-color: var(--color-error);
  --error-bg: var(--color-error-bg);
  --success-color: var(--color-success);
  --success-bg: var(--color-success-bg);
  --warning-color: var(--color-warning);
  --shadow-lg: 0 24px 80px rgba(2, 6, 23, 0.55);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 45px rgba(74, 222, 128, 0.12);
  --shadow-input: inset 0 1px 2px rgba(2, 6, 23, 0.32);
  --shadow-focus-ring: 0 0 0 3px rgba(52, 211, 153, 0.16), var(--shadow-input);
  --shadow-focus-ring-error: 0 0 0 3px rgba(248, 113, 113, 0.12);
  --shadow-button: 0 12px 26px rgba(16, 185, 129, 0.22);
  --shadow-button-hover: 0 16px 34px rgba(59, 130, 246, 0.22);
  --shadow-google: 0 10px 24px rgba(2, 6, 23, 0.16);
  --shadow-google-hover: 0 12px 30px rgba(2, 6, 23, 0.2);
  --shadow-card-soft: 0 10px 30px rgba(2, 6, 23, 0.45), 0 0 36px rgba(52, 211, 153, 0.04);
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;
  --space-1: var(--spacing-xs);
  --space-2: var(--spacing-sm);
  --space-3: var(--spacing-md);
  --space-4: var(--spacing-lg);
  --space-5: var(--spacing-xl);
  --space-6: var(--spacing-2xl);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --radius-input: var(--radius-md);
  --radius-card: var(--radius-xl);
  --radius-pill: var(--radius-full);
  --transition-fast: 180ms ease;
  --transition-normal: 280ms ease;
  --font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 1.875rem;
}
@layer base {
  *, *::before, *::after {
    box-sizing: border-box;
  }
  * {
    margin: 0;
    padding: 0;
  }
}
html {
  scroll-behavior: smooth;
}
body.auth-page {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), transparent 28%), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.16), transparent 24%), linear-gradient(135deg, var(--color-bg-page) 0%, var(--color-bg-card) 45%, #111827 100%);
  position: relative;
  overflow-x: clip;
}
.auth-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 15% 10%, rgba(34, 197, 94, 0.18), transparent 50%), radial-gradient(ellipse 60% 50% at 85% 85%, rgba(59, 130, 246, 0.16), transparent 45%);
}
.auth-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 25%, transparent 86%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 25%, transparent 86%);
}
.auth-background__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: orbFloat 10s ease-in-out infinite;
  opacity: 0.8;
}
.auth-background__orb--1 {
  width: 320px;
  height: 320px;
  background: rgba(16, 185, 129, 0.18);
  top: -90px;
  right: -70px;
}
.auth-background__orb--2 {
  width: 280px;
  height: 280px;
  background: rgba(59, 130, 246, 0.16);
  bottom: -80px;
  left: -50px;
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -16px, 0) scale(1.05);
  }
}
.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: slideInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.login-container, .signup-container {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  animation: slideInDown 0.8s ease;
}
.logo {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 10px 24px var(--color-emerald-glow-strong));
  transition: transform var(--transition-normal);
}
.logo:hover {
  transform: scale(1.04) rotate(-2deg);
}
.brand-tagline {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.62);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-panel {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.9)), radial-gradient(circle at top left, rgba(16, 185, 129, 0.24), transparent 28%), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.2), transparent 24%);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.32), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(248, 250, 252, 0.14), transparent 20%), radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.22), transparent 24%), radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.18), transparent 26%);
  pointer-events: none;
  z-index: -1;
}
.hero-panel::after {
  content: '';
  position: absolute;
  right: -3rem;
  top: -2rem;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 0 60px rgba(255,255,255,0.05);
  transform: rotate(18deg);
  pointer-events: none;
}
.hero-panel__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.hero-pill {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.34);
  background: rgba(16, 185, 129, 0.12);
  color: #d1fae5;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.04em;
  max-width: 620px;
}
.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.82);
  max-width: 590px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.4rem;
}
.hero-cta {
  min-width: 180px;
  width: auto;
  margin-top: 0;
}
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.3rem;
}
.hero-highlights span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(248, 250, 252, 0.84);
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.hero-scoreboard {
  width: min(100%, 320px);
  padding: 1.2rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.1), rgba(15, 23, 42, 0.12));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 20px 45px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(12px);
}
.hero-scoreboard p {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bfdbfe;
  margin-bottom: 0.8rem;
}
.hero-scoreboard__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  font-weight: 700;
  color: #f8fafc;
}
.hero-scoreboard__teams strong {
  font-size: 1.7rem;
  color: #34d399;
}
.hero-scoreboard__bar {
  height: 8px;
  border-radius: 999px;
  margin-top: 1rem;
  background: linear-gradient(90deg, #34d399 0%, #3b82f6 100%);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.24);
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% {
    transform: scaleX(0.96);
    opacity: 0.95;
  }
  50% {
    transform: scaleX(1.02);
    opacity: 1;
  }
}
.stats-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.18);
  backdrop-filter: blur(18px);
}
.stats-intro {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(132, 204, 22, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
}
.stats-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.05;
}
.stats-copy {
  color: rgba(226, 232, 240, 0.76);
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stat-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.22);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  animation: fadeInUp 0.8s ease both;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 28%);
  opacity: 0.7;
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 68px rgba(2, 6, 23, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}
.ranking-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  background: rgba(12, 20, 40, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.18);
  backdrop-filter: blur(18px);
}
.ranking-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ranking-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.05;
}
.ranking-copy {
  color: rgba(226, 232, 240, 0.76);
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ranking-card {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, rgba(7, 14, 28, 0.94), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.22);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInUp 0.8s ease both;
}
.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 68px rgba(2, 6, 23, 0.32);
  border-color: rgba(59, 130, 246, 0.3);
}
.ranking-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 28%);
  opacity: 0.7;
  pointer-events: none;
}
.ranking-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.ranking-rank {
  font-size: 1.5rem;
  font-weight: 800;
  color: #93c5fd;
}
.ranking-avatar {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(16, 185, 129, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ranking-name {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}
.ranking-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.ranking-detail {
  padding: 0.9rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.ranking-detail strong {
  display: block;
  font-size: 1.15rem;
  color: #f8fafc;
}
.ranking-detail span {
  display: block;
  color: rgba(203, 213, 225, 0.78);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}
.stat-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: rgba(30, 64, 175, 0.14);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}
.stat-label {
  color: rgba(203, 213, 225, 0.85);
  font-size: 0.93rem;
  margin-bottom: 0.55rem;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
.login-card, .signup-card {
  background: var(--color-card-surface);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  width: 100%;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out 0.12s both;
}
.login-card::before, .signup-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(52, 211, 153, 0.08), transparent 35%, rgba(59, 130, 246, 0.08));
  pointer-events: none;
}
.login-title, .signup-title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  text-align: center;
  letter-spacing: -0.02em;
}
.auth-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 0;
}
.auth-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 1;
}
.auth-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.status-banner {
  display: none;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  animation: slideInDown 0.25s ease-out;
  position: relative;
  z-index: 1;
}
.status-banner.visible {
  display: block;
}
.status-banner--success {
  background: var(--success-bg);
  color: #bbf7d0;
  border: 1px solid rgba(52, 211, 153, 0.28);
}
.status-banner--error {
  background: var(--error-bg);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.26);
}
.login-form, .signup-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.field-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.input-shell, .password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-shell:focus-within, .password-wrapper:focus-within {
  transform: translateY(-1px);
}
.input-icon {
  position: absolute;
  left: 0.95rem;
  width: 18px;
  height: 18px;
  color: rgba(148, 163, 184, 0.86);
  pointer-events: none;
  transition: color var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
  z-index: 1;
}
.input-shell:focus-within .input-icon, .password-wrapper:focus-within .input-icon {
  color: var(--color-emerald-soft);
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.24));
}
.input-field {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 3.2rem !important;
  font-size: var(--font-size-base);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.85));
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(2, 6, 23, 0.32), 0 0 0 1px rgba(255,255,255,0.03);
}
.input-field::-moz-placeholder {
  color: rgba(148, 163, 184, 0.8);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.input-field::placeholder {
  color: rgba(148, 163, 184, 0.8);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.input-field:hover:not(:disabled):not(.error) {
  border-color: rgba(96, 165, 250, 0.55);
  transform: translateY(-1px);
}
.input-field:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18), inset 0 1px 2px rgba(2, 6, 23, 0.32);
  background: rgba(2, 6, 23, 0.95);
  transform: translateY(-1px);
}
.input-field:focus::-moz-placeholder {
  color: rgba(148, 163, 184, 0.62);
}
.input-field:focus::placeholder {
  color: rgba(148, 163, 184, 0.62);
}
.input-field.error {
  border-color: var(--error-color);
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.24), rgba(69, 10, 10, 0.24));
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.14), inset 0 1px 2px rgba(2, 6, 23, 0.28);
}
.input-field:valid:not(:-moz-placeholder):not(.error) {
  border-color: rgba(74, 222, 128, 0.8);
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.12), inset 0 1px 2px rgba(2, 6, 23, 0.28);
}
.input-field:valid:not(:placeholder-shown):not(.error) {
  border-color: rgba(74, 222, 128, 0.8);
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.12), inset 0 1px 2px rgba(2, 6, 23, 0.28);
}
.input-field:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.password-wrapper .input-field {
  padding-left: 3.2rem;
  padding-right: 3.4rem;
}
.toggle-password {
  position: absolute;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--color-border-soft);
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  outline: none;
  z-index: 2;
}
.toggle-password:hover {
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.26);
  transform: translateY(-1px);
}
.eye-icon, .eye-off-icon {
  width: 20px;
  height: 20px;
}
.error-message {
  display: none;
  color: var(--error-color);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding-left: 2px;
  animation: slideInDown 0.25s ease-out;
}
.error-message.visible {
  display: block;
}
.password-link-section {
  display: flex;
  justify-content: flex-end;
  margin-top: calc(var(--spacing-sm) * -1);
}
.reset-password-link, .signup-link, .login-link {
  font-size: var(--font-size-sm);
  color: #86efac;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
}
.reset-password-link:hover, .signup-link:hover, .login-link:hover {
  color: #d1fae5;
  transform: translateY(-1px);
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}
.checkbox-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-dark);
  border-radius: 4px;
}
.checkbox-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.checkbox-input:checked ~ .checkbox-label {
  color: #f8fafc;
  font-weight: 600;
}
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0.95rem var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  outline: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  min-height: 48px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.16);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
}
.btn:hover::before {
  transform: translateX(120%);
}
.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22), 0 10px 24px rgba(2, 6, 23, 0.16);
}
.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}
.btn-primary, .btn--primary {
  background: var(--accent-gradient);
  color: #f8fafc;
  width: 100%;
  margin-top: var(--spacing-sm);
  box-shadow: var(--shadow-button);
}
.btn-primary:hover:not(:disabled), .btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
}
.btn-secondary, .btn--secondary {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.82));
  color: rgba(248, 250, 252, 0.92);
  border-color: rgba(148, 163, 184, 0.24);
  min-width: 200px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
}
.btn-secondary:hover:not(:disabled), .btn--secondary:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.9));
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.16);
}
.btn-outline, .btn--outline {
  background: transparent;
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-outline:hover:not(:disabled), .btn--outline:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.48);
  color: #ecfdf5;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.16);
}
.btn-google, .btn--google {
  width: 100%;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.95));
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: var(--shadow-google);
}
.btn-google:hover:not(:disabled), .btn--google:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-google-hover);
}
.btn-danger, .btn--danger {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  color: #ffffff;
  border-color: rgba(244, 63, 94, 0.28);
  box-shadow: 0 12px 26px rgba(244, 63, 94, 0.2);
}
.btn-danger:hover:not(:disabled), .btn--danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(244, 63, 94, 0.26);
}
.google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--spacing-sm) 0;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
  margin: 0 var(--spacing-md);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn.loading {
  pointer-events: none;
  opacity: 0.85;
  position: relative;
  color: transparent;
}
.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.signup-section, .login-link-section {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border-muted);
  text-align: center;
}
.signup-section {
  flex-direction: column;
  gap: var(--spacing-sm);
}
.signup-prompt, .login-link-section p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}
.signup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: 700;
  min-height: 50px;
  padding: 0.9rem 1.15rem;
  color: #ffffff;
  background: #f59e0b;
  border: 1px solid #f59e0b;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.signup-link:hover {
  color: #ffffff;
  background: #d97706;
  border-color: #d97706;
  transform: translateY(-1px);
}
.login-container .brand-tagline {
  color: #f8fafc;
}
.login-card {
  padding: var(--spacing-xl);
}
.login-card .auth-card__header {
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}
.login-card .login-card__brand {
  gap: var(--spacing-sm);
}
.login-card .login-card__brand .logo {
  width: 76px;
  height: 76px;
}
.login-card .brand-tagline {
  font-size: 0.68rem;
}
.login-card .login-title {
  margin-bottom: 0;
}
.login-form {
  gap: var(--spacing-md);
}
.login-form .input-field {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.login-card .signup-section {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
}
.login-card .signup-link {
  min-height: 44px;
  padding: 0.7rem 1.15rem;
}
.auth-footer-note {
  font-size: var(--font-size-xs);
  color: var(--color-white-glass);
  text-align: center;
  margin-top: var(--spacing-md);
}
@media (max-width: 768px) {
  body.auth-page {
    padding: var(--spacing-md);
    align-items: flex-start;
    padding-top: var(--spacing-xl);
  }
  .login-container, .signup-container {
    max-width: 100%;
  }
  .login-card, .signup-card {
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
  }
  .logo {
    width: 74px;
    height: 74px;
  }
  .login-title, .signup-title {
    font-size: var(--font-size-xl);
  }
  .btn-secondary {
    min-width: auto;
    width: 100%;
  }
}
@media (max-width: 900px) {
  .hero-panel {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .hero-visual {
    min-height: 200px;
  }
}
@media (max-width: 768px) {
  .login-card, .signup-card {
    padding: var(--spacing-xl);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-cta {
    width: 100%;
  }
  .input-field {
    font-size: 16px;
    padding: 0.8rem 0.9rem;
  }
  .btn {
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.btn:focus-visible, .input-field:focus-visible, .toggle-password:focus-visible, a:focus-visible, .checkbox-input:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}
@media print {
  .auth-background {
    display: none;
  }
  body.auth-page {
    background: white;
  }
  .login-card, .signup-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
.btn-ghost {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.4));
  color: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
}
.btn-ghost:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6));
  border-color: rgba(59, 130, 246, 0.35);
  color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-contact {
  width: 100%;
  margin-top: var(--spacing-md);
  padding: 0.85rem var(--spacing-xl);
  font-size: var(--font-size-sm);
}
.btn-contact .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--spacing-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.contact-modal[hidden] {
  display: none;
}
.contact-modal.is-active {
  opacity: 1;
  visibility: visible;
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(12px);
  transition: opacity 0.32s ease;
}
.contact-modal__sheet {
  position: relative;
  width: min(100%, 360px);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border: 1px solid var(--border-color);
  border-bottom: none;
  background: var(--color-card-surface);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(74, 222, 128, 0.08);
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.contact-modal.is-active .contact-modal__sheet {
  transform: translateY(0);
}
.contact-modal__sheet::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(52, 211, 153, 0.08), transparent 35%, rgba(59, 130, 246, 0.08));
  pointer-events: none;
}
.contact-modal__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
}
.contact-modal__title {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-align: center;
  flex: 1;
}
.contact-modal__close {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}
.contact-modal__close:hover {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.24);
  color: #fca5a5;
  transform: rotate(90deg);
}
.contact-modal__close svg {
  width: 20px;
  height: 20px;
}
.contact-modal__body {
  position: relative;
  z-index: 1;
  padding: var(--spacing-2xl) var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  text-align: center;
}
.contact-modal__email {
  margin: 0;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}
.contact-modal__email:hover {
  color: var(--text-primary);
}
.contact-modal__telegram-btn {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  outline: none;
}
.contact-modal__telegram-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0088cc, #00a8e8);
  opacity: 0;
  filter: blur(12px);
  transition: opacity var(--transition-normal);
  z-index: -1;
}
.contact-modal__telegram-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 36px rgba(0, 136, 204, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.contact-modal__telegram-btn:hover::before {
  opacity: 0.6;
}
.contact-modal__telegram-btn:active {
  transform: translateY(-1px) scale(1.02);
}
.contact-modal__telegram-btn:focus-visible {
  outline: 3px solid #00a8e8;
  outline-offset: 3px;
}
.contact-modal__telegram-btn svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: transform var(--transition-fast);
}
.contact-modal__telegram-btn:hover svg {
  transform: scale(1.1);
}
@media (min-width: 769px) {
  .contact-modal {
    align-items: center;
    padding: var(--spacing-xl);
  }
  .contact-modal__sheet {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    max-height: 90vh;
    transform: translateY(16px) scale(0.98);
  }
  .contact-modal.is-active .contact-modal__sheet {
    transform: translateY(0) scale(1);
  }
  .contact-modal__header {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border-bottom: 1px solid var(--border-color);
  }
  .contact-modal__body {
    padding: var(--spacing-2xl) var(--spacing-2xl) var(--spacing-3xl);
    gap: var(--spacing-xl);
  }
}
@media (max-width: 480px) {
  .contact-modal {
    padding: 0;
  }
  .contact-modal__sheet {
    border-radius: 0;
    max-height: 100vh;
    height: 100vh;
  }
  .contact-modal__header {
    padding: var(--spacing-md) var(--spacing-lg);
  }
  .contact-modal__body {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-2xl);
    gap: var(--spacing-lg);
  }
  .contact-modal__telegram-btn {
    width: 56px;
    height: 56px;
  }
  .contact-modal__telegram-btn svg {
    width: 24px;
    height: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-modal, .contact-modal__sheet, .contact-modal__backdrop, .contact-modal__telegram-btn {
    transition: none;
    animation: none;
  }
}
.contact-section {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-border-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
  width: 100%;
}
.contact-section__title {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.contact-section__email {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}
.contact-section__email:hover {
  color: var(--text-primary);
}
.contact-section__telegram {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 6px 18px rgba(0, 136, 204, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
  outline: none;
  text-decoration: none;
}
.contact-section__telegram::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0088cc, #00a8e8);
  opacity: 0;
  filter: blur(10px);
  transition: opacity var(--transition-normal);
  z-index: -1;
}
.contact-section__telegram:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 136, 204, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.contact-section__telegram:hover::before {
  opacity: 0.5;
}
.contact-section__telegram:active {
  transform: translateY(0) scale(1.02);
}
.contact-section__telegram:focus-visible {
  outline: 3px solid #00a8e8;
  outline-offset: 3px;
}
.contact-section__telegram svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
  transition: transform var(--transition-fast);
}
.contact-section__telegram:hover svg {
  transform: scale(1.1);
}
.how-to-play-section {
  width: 100%;
  margin-top: var(--spacing-lg);
  text-align: center;
  color: var(--text-secondary);
}
.how-to-play-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}
.htp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  align-items: stretch;
}
.htp-card {
  background: var(--color-card-surface-soft);
  padding: calc(var(--spacing-md) + 0.5rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.08);
  box-shadow: var(--shadow-card-soft);
  backdrop-filter: blur(8px);
  text-align: left;
}
.htp-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.htp-card-text {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.4;
}
.htp-list {
  margin: 0.5rem 0 0 1rem;
  color: var(--text-secondary);
}
@media (max-width: 980px) {
  .htp-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .htp-cards {
    grid-template-columns: 1fr;
  }
  .how-to-play-section {
    padding: 0 var(--spacing-md);
  }
  .htp-card {
    text-align: left;
  }
}
body.auth-page.dashboard-page {
  align-items: flex-start;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-lg);
}
.login-page-shell {
  width: min(100%, 520px);
}
.login-page-shell .login-card {
  width: 100%;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(7, 19, 32, 0.88));
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.62), 0 0 55px rgba(16, 185, 129, 0.08);
}
.login-page-shell .auth-card__header {
  gap: 0.6rem;
}
.login-card__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}
.login-card__brand .logo {
  width: 68px;
  height: 68px;
}
.login-eyebrow, .login-contact__eyebrow {
  margin: 0;
  color: var(--color-emerald-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.login-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}
.login-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: -0.1rem;
}
.login-form__meta .checkbox-group {
  margin: 0;
}
.login-form__meta .reset-password-link {
  font-size: 0.78rem;
  text-align: right;
}
.login-contact {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.22), rgba(15, 23, 42, 0.68));
}
.login-contact::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  right: -70px;
  top: -72px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(52, 211, 153, 0.04), 0 0 0 36px rgba(52, 211, 153, 0.03);
}
.login-contact__heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.login-contact__status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-emerald-soft);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12), 0 0 14px rgba(52, 211, 153, 0.6);
}
.login-contact h2 {
  position: relative;
  z-index: 1;
  margin: 0.3rem 0 0.2rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.login-contact__copy {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.login-contact__links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
}
.login-contact__email, .login-contact__telegram {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 11px;
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.login-contact__email:hover, .login-contact__telegram:hover {
  border-color: rgba(52, 211, 153, 0.48);
  background: rgba(248, 250, 252, 0.06);
  transform: translateY(-1px);
}
.login-contact__icon, .login-contact__telegram-mark {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--color-emerald-soft);
  font-size: 1rem;
  font-weight: 800;
}
.login-contact__telegram-mark {
  background: #0088cc;
  color: #fff;
}
.login-contact__telegram-mark svg {
  width: 17px;
  height: 17px;
}
.login-contact__email span:last-child, .login-contact__telegram span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.08rem;
}
.login-contact small {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.login-contact strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.login-contact__arrow {
  margin-left: auto;
  color: var(--color-emerald-soft);
  font-size: 1rem;
}
@media (max-width: 480px) {
  body.auth-page {
    align-items: flex-start;
    padding: 1rem;
  }
  .login-page-shell {
    margin: 0.35rem 0;
  }
  .login-page-shell .login-card {
    padding: 1.35rem 1rem;
    border-radius: 18px;
  }
  .login-form__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
  .login-form__meta .reset-password-link {
    text-align: left;
  }
}
.dashboard-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  animation: slideInDown 0.6s ease both;
}
.dashboard-header .logo-section {
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-md);
  text-align: left;
}
.dashboard-header .logo {
  width: 64px;
  height: 64px;
}
.dashboard-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.dashboard-sub {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}
.dashboard-actions {
  display: flex;
  gap: var(--spacing-sm);
}
.rooms-dashboard {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.18);
  backdrop-filter: blur(18px);
}
.rooms-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rooms-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.05;
}
.rooms-sub {
  color: rgba(226, 232, 240, 0.76);
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1.25rem;
}
.rooms-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #cbd5e1;
  transition: all 0.2s ease;
  cursor: pointer;
}
.rooms-tab:hover {
  background: rgba(255, 255, 255, 0.1);
}
.rooms-tab.is-active {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
}
.room-card--add {
  display: flex;
  align-items: stretch;
  border: 1px dashed rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.04);
}
.room-card__add-btn {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #6ee7b7;
  transition: all 0.2s ease;
}
.room-card__add-btn:hover {
  background: rgba(52, 211, 153, 0.08);
}
.room-card__add-plus {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.room-card__add-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #6ee7b7;
}
.room-card__add-sub {
  font-size: 0.78rem;
  color: rgba(203, 213, 225, 0.7);
}
.room-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, rgba(7, 14, 28, 0.94), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.22);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  animation: fadeInUp 0.8s ease both;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 68px rgba(2, 6, 23, 0.32);
  border-color: rgba(59, 130, 246, 0.3);
}
.room-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.1), transparent 30%);
  opacity: 0.7;
  pointer-events: none;
}
.room-card__head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.room-card__title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.room-card__type {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a7f3d0;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.room-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}
.room-card__code {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.82);
  letter-spacing: 0.04em;
}
.room-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.room-badge--open {
  color: #bbf7d0;
  background: var(--success-bg);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.room-badge--almost-full {
  color: #fde68a;
  background: rgba(113, 63, 18, 0.3);
  border: 1px solid rgba(251, 191, 36, 0.32);
}
.room-badge--full {
  color: #fecaca;
  background: var(--error-bg);
  border: 1px solid rgba(248, 113, 113, 0.28);
}
.room-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.room-stat {
  padding: 0.9rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.room-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #f8fafc;
}
.room-stat span {
  display: block;
  color: rgba(203, 213, 225, 0.78);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}
.room-progress {
  position: relative;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}
.room-progress__bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-emerald) 0%, var(--color-blue) 100%);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.28);
  transition: width 0.6s ease;
}
.room-card--stake-5::before, .room-card--stake-10::before, .room-card--stake-20::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.room-card--stake-5::before {
  background: linear-gradient(90deg, #38bdf8, #3b82f6);
}
.room-card--stake-10::before {
  background: linear-gradient(90deg, #34d399, #10b981);
}
.room-card--stake-20::before {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.room-card__actions {
  position: relative;
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
.room-card__actions .btn {
  flex: 1;
  margin-top: 0;
  min-height: 42px;
  padding: 0.6rem 1rem;
  font-size: var(--font-size-sm);
}
.room-card__actions .btn-primary {
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.22);
}
@media (max-width: 768px) {
  body.auth-page.dashboard-page {
    padding-top: var(--spacing-xl);
  }
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-actions {
    width: 100%;
  }
  .dashboard-actions .btn {
    width: 100%;
  }
  .room-card__actions {
    flex-direction: column;
  }
}
.room-card--public {
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.42), rgba(15, 23, 42, 0.92));
  border-color: rgba(52, 211, 153, 0.28);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.22), 0 0 30px rgba(16, 185, 129, 0.08);
}
.room-card--public:hover {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 26px 68px rgba(2, 6, 23, 0.32), 0 0 42px rgba(16, 185, 129, 0.16);
}
.room-card--public::before {
  background: radial-gradient(circle at top left, rgba(52, 211, 153, 0.22), transparent 34%);
}
.room-card--private {
  background: linear-gradient(145deg, rgba(30, 27, 75, 0.5), rgba(15, 23, 42, 0.92));
  border-color: rgba(99, 102, 241, 0.32);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.22), 0 0 30px rgba(99, 102, 241, 0.1);
}
.room-card--private:hover {
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 26px 68px rgba(2, 6, 23, 0.32), 0 0 42px rgba(99, 102, 241, 0.18);
}
.room-card--private::before {
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.2), transparent 34%);
}
.room-private-access {
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.room-private-access__dialog {
  width: min(100%, 480px);
  background: linear-gradient(160deg, #0b1530, #0f172a);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 1.75rem;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.6), 0 0 40px rgba(99, 102, 241, 0.08);
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  text-align: center;
  animation: scaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.room-private-access__codes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--spacing-xs);
}
.room-private-access__code {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.7rem;
}
.room-private-access__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.5s ease both;
}
.room-private-access__note {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.room-private-access__note strong {
  color: #a5b4fc;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.rooms-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.rooms-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.rooms-tab:hover {
  color: #d1fae5;
  border-color: rgba(52, 211, 153, 0.35);
}
.rooms-tab.is-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(59, 130, 246, 0.22));
  border-color: rgba(52, 211, 153, 0.5);
  color: #d1fae5;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.18);
}
.rooms-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}
.rooms-tab__icon {
  display: grid;
  place-items: center;
}
.rooms-tab__icon svg {
  width: 18px;
  height: 18px;
}
.room-card__name, .room-card__sport-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.room-card__sport-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  min-width: 0;
}
.room-card__sport-text {
  min-width: 0;
}
.room-card__room-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1f5f9;
}
.room-card__sport {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.35));
}
.room-card__sport-icons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.room-card__sport-icons .room-card__sport {
  width: 22px;
  height: 22px;
}
.room-card__sport-emoji {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.35));
}
.room-card__sport-glyph {
  display: inline-block;
}
.room-card__code--neon {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #22d3ee;
  text-shadow: 0 0 6px rgba(34, 211, 238, 0.55), 0 0 18px rgba(34, 211, 238, 0.35);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(99, 102, 241, 0.12));
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 211, 238, 0.3);
}
.room-card__type--private {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.32);
}
.room-card__lock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.room-card__lock[hidden] {
  display: none;
}
.room-card__lock svg {
  width: 13px;
  height: 13px;
}
.room-key-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: var(--spacing-md);
}
.room-key-modal[hidden] {
  display: none;
}
.room-key-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease both;
}
.room-key-modal__dialog {
  position: relative;
  width: min(100%, 420px);
  background: linear-gradient(160deg, #0b1530, #0f172a);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.75rem;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.6);
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  animation: scaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  text-align: center;
}
.room-key-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}
.room-key-modal__icon svg {
  width: 26px;
  height: 26px;
}
.room-key-modal__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
}
.room-key-modal__room {
  font-size: 0.95rem;
  font-weight: 700;
  color: #a7f3d0;
}
.room-key-modal__hint {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.room-key-modal .input-field {
  margin-top: var(--spacing-sm);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-left: 1rem;
  padding-right: 1rem;
}
.room-key-modal__actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}
.room-key-modal__actions .btn {
  flex: 1;
  min-height: 44px;
}
@media (max-width: 480px) {
  .rooms-tab {
    flex: 1;
    justify-content: center;
  }
  .room-key-modal__dialog {
    padding: var(--spacing-xl);
  }
}
@media (max-width: 640px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
:root, [data-theme="dark"] {
  --tp-bg-page: #020617;
  --tp-bg-surface: rgba(15, 23, 42, 0.6);
  --tp-bg-surface-strong: rgba(15, 23, 42, 0.85);
  --tp-bg-float: rgba(15, 23, 42, 0.72);
  --tp-bg-hover: rgba(248, 250, 252, 0.04);
  --tp-border: rgba(30, 41, 59, 0.9);
  --tp-border-soft: rgba(51, 65, 85, 0.6);
  --tp-text: #e2e8f0;
  --tp-text-strong: #f1f5f9;
  --tp-text-muted: #94a3b8;
  --tp-text-faint: #64748b;
  --tp-accent: #34d399;
  --tp-accent-soft: rgba(16, 185, 129, 0.12);
  --tp-shadow-card: 0 12px 40px rgba(2, 6, 23, 0.28);
  --tp-shadow-kpi: 0 10px 30px rgba(2, 6, 23, 0.25);
  --tp-table-head: rgba(15, 23, 42, 0.55);
}
[data-theme="light"] {
  --tp-bg-page: #f1f5f9;
  --tp-bg-surface: rgba(255, 255, 255, 0.85);
  --tp-bg-surface-strong: #ffffff;
  --tp-bg-float: rgba(255, 255, 255, 0.92);
  --tp-bg-hover: rgba(15, 23, 42, 0.05);
  --tp-border: rgba(226, 232, 240, 1);
  --tp-border-soft: rgba(203, 213, 225, 0.8);
  --tp-text: #1e293b;
  --tp-text-strong: #0f172a;
  --tp-text-muted: #475569;
  --tp-text-faint: #64748b;
  --tp-accent: #10b981;
  --tp-accent-soft: rgba(16, 185, 129, 0.14);
  --tp-shadow-card: 0 12px 34px rgba(15, 23, 42, 0.1);
  --tp-shadow-kpi: 0 8px 24px rgba(15, 23, 42, 0.08);
  --tp-table-head: rgba(241, 245, 249, 0.9);
}
body {
  background-color: var(--tp-bg-page);
  color: var(--tp-text);
}
.admin-ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 15% 10%, rgba(16, 185, 129, 0.1), transparent 50%), radial-gradient(ellipse 60% 50% at 85% 85%, rgba(59, 130, 246, 0.1), transparent 45%);
}
.admin-ambience__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.admin-ambience__orb--1 {
  width: 340px;
  height: 340px;
  background: rgba(16, 185, 129, 0.16);
  top: -110px;
  right: -80px;
}
.admin-ambience__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.14);
  bottom: -100px;
  left: -60px;
}
.tp-pill {
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
[data-admin-tab].is-active, [data-pay-tab].is-active {
  background-color: var(--tp-accent-soft);
  color: var(--tp-accent);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.35), 0 0 20px rgba(16, 185, 129, 0.15);
}
.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.6rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.tp-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}
.tp-btn--blue {
  background: #3b82f6;
  color: #ffffff;
}
.tp-btn--blue:hover {
  background: #60a5fa;
  transform: translateY(-1px);
}
.tp-btn--emerald {
  background: #34d399;
  color: #020617;
}
.tp-btn--emerald:hover {
  background: #6ee7b7;
  transform: translateY(-1px);
}
.tp-btn--danger {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.3);
}
.tp-btn--danger:hover {
  background: rgba(244, 63, 94, 0.2);
  transform: translateY(-1px);
}
.tp-btn--ghost {
  background: rgba(248, 250, 252, 0.08);
  color: var(--tp-text-muted);
  box-shadow: inset 0 0 0 1px var(--tp-border-soft);
}
.tp-btn--ghost:hover {
  background: rgba(248, 250, 252, 0.12);
  color: var(--tp-text);
}
.tp-input, .tp-select {
  border-radius: 0.8rem;
  border: 1px solid var(--tp-border-soft);
  background: var(--tp-bg-float);
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
  color: var(--tp-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.tp-input::-moz-placeholder {
  color: var(--tp-text-faint);
}
.tp-input::placeholder {
  color: var(--tp-text-faint);
}
.tp-input:focus, .tp-select:focus {
  outline: none;
  border-color: var(--tp-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.tp-select option {
  background: var(--tp-bg-surface-strong);
  color: var(--tp-text);
}
.tp-card {
  border-radius: 1rem;
  border: 1px solid var(--tp-border);
  background: var(--tp-bg-surface);
  box-shadow: var(--tp-shadow-card);
  backdrop-filter: blur(6px);
}
.tp-table-head {
  background: var(--tp-table-head);
  backdrop-filter: blur(4px);
}
.admin-table tbody tr {
  transition: background 0.15s ease;
}
.admin-table tbody tr:hover {
  background: var(--tp-bg-hover);
}
.tp-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}
.tp-section-icon--emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}
.tp-users-count {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.35);
}
.tp-users-count strong {
  font-weight: 800;
  letter-spacing: 0.01em;
}
[data-theme="light"] .tp-users-count {
  color: #b45309;
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.3);
}
.tp-kpi-card {
  position: relative;
  border-radius: 0.9rem;
  border: 1px solid var(--tp-border);
  background: var(--tp-bg-surface);
  padding: 1rem 1.1rem;
  box-shadow: var(--tp-shadow-kpi);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.tp-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tp-kpi-accent, rgba(16, 185, 129, 0.6));
}
.tp-kpi-card--emerald {
  --tp-kpi-accent: #34d399;
}
.tp-kpi-card--amber {
  --tp-kpi-accent: #fbbf24;
}
.tp-kpi-card--violet {
  --tp-kpi-accent: #a78bfa;
}
.tp-kpi-card--blue {
  --tp-kpi-accent: #60a5fa;
}
.tp-kpi-card--teal {
  --tp-kpi-accent: #2dd4bf;
}
.tp-kpi-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  margin-bottom: 0.75rem;
  background: var(--tp-kpi-chip-bg, rgba(16, 185, 129, 0.12));
  color: var(--tp-kpi-chip, #34d399);
}
.tp-kpi-chip--emerald {
  --tp-kpi-chip: #34d399;
  --tp-kpi-chip-bg: rgba(16, 185, 129, 0.12);
}
.tp-kpi-chip--amber {
  --tp-kpi-chip: #fbbf24;
  --tp-kpi-chip-bg: rgba(251, 191, 36, 0.12);
}
.tp-kpi-chip--violet {
  --tp-kpi-chip: #a78bfa;
  --tp-kpi-chip-bg: rgba(167, 139, 250, 0.12);
}
.tp-kpi-chip--blue {
  --tp-kpi-chip: #60a5fa;
  --tp-kpi-chip-bg: rgba(96, 165, 250, 0.12);
}
.tp-kpi-chip--teal {
  --tp-kpi-chip: #2dd4bf;
  --tp-kpi-chip-bg: rgba(45, 212, 191, 0.12);
}
.tp-skeleton, .tp-skeleton-inline {
  background: linear-gradient( 100deg, rgba(30, 41, 59, 0.5) 40%, rgba(51, 65, 85, 0.65) 50%, rgba(30, 41, 59, 0.5) 60% );
  background-size: 200% 100%;
  animation: tpShimmer 1.6s linear infinite;
}
.tp-skeleton {
  min-height: 3rem;
}
.tp-skeleton-inline {
  display: inline-block;
  width: 100%;
  height: 1rem;
  border-radius: 0.5rem;
}
@keyframes tpShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.tp-room-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tp-room-badge--active {
  background: rgba(16,185,129,.12);
  color: #34d399;
}
.tp-room-badge--closed {
  background: rgba(148,163,184,.12);
  color: #94a3b8;
}
.tp-event-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.tp-event-status--SCHEDULED {
  background: rgba(59,130,246,.15);
  color: #60a5fa;
}
.tp-event-status--LIVE {
  background: rgba(16,185,129,.15);
  color: #34d399;
}
.tp-event-status--FINISHED {
  background: rgba(99,102,241,.15);
  color: #818cf8;
}
.tp-event-status--CANCELLED {
  background: rgba(148,163,184,.15);
  color: #94a3b8;
}
.tp-code-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.6rem;
  border: 1px dashed rgba(16,185,129,.4);
  background: rgba(16,185,129,.06);
  padding: 0.4rem 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #34d399;
}
.tp-action-btn {
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all .15s ease;
}
.tp-action-btn:hover {
  filter: brightness(1.1);
}
.tp-action-btn--copy {
  background: rgba(59,130,246,.15);
  color: #60a5fa;
}
.tp-action-btn--regen {
  background: rgba(99,102,241,.15);
  color: #818cf8;
}
.tp-action-btn--toggle {
  background: rgba(16,185,129,.15);
  color: #34d399;
}
.tp-action-btn--danger {
  background: rgba(239,68,68,.15);
  color: #f87171;
}
.tp-btn-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.tp-btn-credit:hover {
  background: rgba(251, 191, 36, 0.24);
  transform: translateY(-1px);
}
.tp-btn-credit:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.35), 0 0 0 3px rgba(251, 191, 36, 0.25);
}
[data-theme="light"] .tp-btn-credit {
  color: #b45309;
}
.tp-credit-amount {
  padding-left: 1.9rem;
}
.tp-input.error, .tp-credit-amount.error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
.tp-form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}
.tp-form-field input, .tp-form-field select {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #334155;
  background: #0f172a;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  outline: none;
}
.tp-form-field input:focus, .tp-form-field select:focus {
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.tp-league-fieldset {
  display: grid;
  gap: 0.75rem;
  max-height: 18rem;
  overflow-y: auto;
  border: 1px solid #334155;
  border-radius: 0.6rem;
  padding: 0.6rem 0.75rem 0.75rem;
}
.tp-league-fieldset legend {
  padding: 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}
.tp-league-group__title {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}
.tp-league-group__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tp-league-pick {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  color: #e2e8f0;
  cursor: pointer;
}
.tp-league-pick:has(input:checked) {
  border-color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}
.tp-league-pick input {
  accent-color: #34d399;
}
.tp-scroll-thin::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.tp-scroll-thin::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 8px;
}
body {
  overflow-x: clip;
}
.tp-code-box {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="light"] body {
  background: var(--tp-bg-page);
  color: var(--tp-text);
}
[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--tp-border);
}
[data-theme="light"] .bg-slate-950\/60, [data-theme="light"] .bg-slate-900\/60, [data-theme="light"] .bg-slate-900, [data-theme="light"] .from-slate-900, [data-theme="light"] .to-slate-950 {
  background: var(--tp-bg-surface-strong);
}
[data-theme="light"] .bg-slate-800, [data-theme="light"] .bg-slate-800\/60 {
  background: #e2e8f0;
}
[data-theme="light"] .bg-slate-800\/40, [data-theme="light"] .hover\:bg-slate-800\/40:hover {
  background: #eef2f7;
}
[data-theme="light"] .bg-slate-900\/40 {
  background: rgba(255, 255, 255, 0.6);
}
[data-theme="light"] .bg-gradient-to-b.from-slate-900.to-slate-950 {
  background-image: linear-gradient(to bottom, #ffffff, #f8fafc);
}
[data-theme="light"] .border-slate-800, [data-theme="light"] .border-slate-700, [data-theme="light"] .border-slate-700\/80 {
  border-color: var(--tp-border);
}
[data-theme="light"] .divide-slate-800\/60 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--tp-border);
}
[data-theme="light"] .text-slate-100, [data-theme="light"] .text-slate-200 {
  color: #0f172a;
}
[data-theme="light"] .text-slate-300 {
  color: #334155;
}
[data-theme="light"] .text-slate-400, [data-theme="light"] .text-slate-500 {
  color: #64748b;
}
[data-theme="light"] .text-slate-600 {
  color: #94a3b8;
}
[data-theme="light"] .placeholder\:text-slate-500::-moz-placeholder, [data-theme="light"] input::-moz-placeholder {
  color: #94a3b8;
}
[data-theme="light"] .placeholder\:text-slate-500::placeholder, [data-theme="light"] input::placeholder {
  color: #94a3b8;
}
[data-theme="light"] .text-emerald-400 {
  color: #059669;
}
[data-theme="light"] .text-amber-400 {
  color: #d97706;
}
[data-theme="light"] .text-violet-400 {
  color: #7c3aed;
}
[data-theme="light"] .text-blue-400 {
  color: #2563eb;
}
[data-theme="light"] .text-teal-400 {
  color: #0d9488;
}
[data-theme="light"] .text-rose-400 {
  color: #e11d48;
}
[data-theme="light"] .text-indigo-300, [data-theme="light"] .text-indigo-400 {
  color: #4f46e5;
}
[data-theme="light"] .text-violet-300 {
  color: #7c3aed;
}
[data-theme="light"] .hover\:border-slate-600:hover {
  border-color: rgba(16, 185, 129, 0.5);
}
[data-theme="light"] .tp-table-head {
  background: var(--tp-table-head);
}
[data-theme="light"] .tp-btn--ghost {
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}
[data-theme="light"] .tp-skeleton, [data-theme="light"] .tp-skeleton-inline {
  background: linear-gradient( 100deg, rgba(203, 213, 225, 0.6) 40%, rgba(226, 232, 240, 0.9) 50%, rgba(203, 213, 225, 0.6) 60% );
  background-size: 200% 100%;
}
@media (max-width: 767px) {
  .admin-table thead {
    display: none;
  }
  .admin-table, .admin-table tbody {
    display: block;
    width: 100%;
  }
  .admin-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 0.7rem;
    background: rgba(15, 23, 42, 0.45);
  }
  .admin-table tbody tr:has(td[colspan]) {
    display: block;
  }
  .admin-table td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.1rem 0;
    text-align: left;
    overflow-wrap: anywhere;
  }
  .admin-table td::before {
    content: attr(data-label);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.15rem;
  }
  .admin-table td[colspan]::before {
    content: none;
  }
}
.tp-stand, .tp-table {
  overflow: hidden;
  border: 1px solid var(--tp-border);
  border-radius: 1rem;
  background: var(--tp-bg-surface-strong);
  box-shadow: var(--tp-shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tp-stand:hover, .tp-table:hover {
  border-color: var(--tp-border-soft);
}
.tp-stand__head, .tp-table__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--tp-border);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.25));
}
.tp-stand__room, .tp-table__room {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.tp-stand__room-badge, .tp-table__room-badge {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 0.75rem;
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 900;
  border: 1px solid rgba(99, 102, 241, 0.35);
}
[data-theme="light"] .tp-stand__room-badge, [data-theme="light"] .tp-table__room-badge {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}
.tp-stand__room-title, .tp-table__room-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--tp-text-strong);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-stand__room-sport, .tp-table__room-sport {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-text-faint);
}
.tp-stand__count, .tp-table__count {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tp-accent);
  background: var(--tp-accent-soft);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  white-space: nowrap;
}
.tp-table__state {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  white-space: nowrap;
}
.tp-table__state--ok {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}
.tp-table__state--warn {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}
.tp-stand__wrap, .tp-table__wrap {
  overflow-x: auto;
}
.tp-stand__table, .tp-table__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 340px;
}
.tp-table__table--wide {
  min-width: 980px;
}
.tp-stand__th, .tp-table__th {
  padding: 0.62rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tp-text-faint);
  background: var(--tp-table-head);
  border-bottom: 1px solid var(--tp-border);
  text-align: center;
}
.tp-stand__th--left, .tp-table__th--left {
  text-align: left;
}
.tp-stand__row, .tp-table__row {
  border-bottom: 1px solid rgba(51, 65, 85, 0.35);
  transition: background 0.15s ease;
}
.tp-stand__row:last-child, .tp-table__row:last-child {
  border-bottom: none;
}
.tp-stand__row:hover, .tp-table__row:hover {
  background: var(--tp-bg-hover);
}
.tp-stand__row.is-winner, .tp-table__row.is-winner {
  background: var(--tp-accent-soft);
}
.tp-stand__row.is-empty, .tp-table__row.is-empty {
  opacity: 0.55;
}
.tp-stand__row.is-empty:hover, .tp-table__row.is-empty:hover {
  background: transparent;
}
.tp-stand__cell, .tp-table__cell {
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
  color: var(--tp-text);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-table__cell--left {
  text-align: left;
}
.tp-table__cell--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  color: var(--tp-text-faint);
  max-width: 11rem;
}
.tp-stand__pos, .tp-table__pos {
  width: 3.2rem;
}
.tp-stand__pos-num, .tp-table__pos-num {
  font-weight: 800;
  color: var(--tp-text-faint);
}
.tp-stand__pos-medal, .tp-table__pos-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
}
.tp-stand__name, .tp-table__name {
  text-align: left;
}
.tp-stand__name-cell, .tp-table__name-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.tp-stand__avatar, .tp-table__avatar {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.16);
  color: #a5b4fc;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}
[data-theme="light"] .tp-stand__avatar, [data-theme="light"] .tp-table__avatar {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}
.tp-stand__name-text, .tp-table__name-text {
  font-weight: 700;
  color: var(--tp-text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-stand__name-text.is-winner, .tp-table__name-text.is-winner {
  color: var(--tp-accent);
}
.tp-stand__name-empty, .tp-table__name-empty {
  color: var(--tp-text-faint);
  font-weight: 600;
}
.tp-stand__preds {
  width: 7.5rem;
  font-variant-numeric: tabular-nums;
}
.tp-stand__th.tp-stand__preds {
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tp-stand__preds-won, .tp-table__won {
  color: var(--tp-accent);
  font-weight: 700;
}
.tp-stand__preds-lost, .tp-table__lost {
  color: #fb7185;
  font-weight: 700;
}
.tp-stand__preds-sep {
  color: var(--tp-text-faint);
  margin: 0 0.12rem;
}
.tp-table__won, .tp-table__lost {
  width: 5.5rem;
  font-variant-numeric: tabular-nums;
}
.tp-stand__pts, .tp-table__pts {
  width: 4.4rem;
  font-weight: 800;
  color: var(--tp-text-strong);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid rgba(51, 65, 85, 0.35);
}
.tp-stand__pts.is-winner, .tp-table__pts.is-winner {
  color: #fbbf24;
}
.tp-stand__foot, .tp-table__foot {
  display: flex;
  justify-content: flex-end;
  padding: 0.6rem 0.8rem;
  border-top: 1px solid var(--tp-border);
}
@media (max-width: 767px) {
  .tp-table thead {
    display: none;
  }
  .tp-table, .tp-table tbody {
    display: block;
    width: 100%;
  }
  .tp-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 0.7rem;
    background: rgba(15, 23, 42, 0.45);
  }
  .tp-table tbody tr:has(td[colspan]) {
    display: block;
  }
  .tp-table td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.1rem 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .tp-table td::before {
    content: attr(data-label);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.15rem;
  }
  .tp-table td[colspan]::before {
    content: none;
  }
  .tp-table td.tp-table__cell--mono {
    word-break: break-all;
  }
}
.predictions-container {
  width: min(100%, 1080px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}
.predictions-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  animation: slideInDown 0.6s ease both;
}
.predictions-header .logo-section {
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-md);
  text-align: left;
}
.predictions-header .logo {
  width: 64px;
  height: 64px;
}
.predictions-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.predictions-sub {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}
.predictions-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}
.predictions-actions .btn {
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  font-size: var(--font-size-sm);
}
.predictions-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.18);
  backdrop-filter: blur(18px);
  animation: fadeIn 0.6s ease-out 0.12s both;
}
.predictions-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}
.predictions-toolbar__info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.predictions-toolbar__info h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.05;
}
.predictions-summary {
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.98rem;
  line-height: 1.6;
}
.predictions-filter {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}
.predictions-filter__date {
  flex: 0 0 180px;
  width: 180px;
}
.predictions-filter__search {
  flex: 1 1 240px;
  width: auto;
  min-width: 180px;
}
.predictions-filter__search .input-field, .predictions-filter__date .input-field {
  min-height: 42px;
  padding: 0.6rem 1rem !important;
  font-size: 0.95rem;
}
.predictions-filter__search .input-field {
  padding-left: 2.9rem !important;
  padding-right: 2.5rem !important;
}
.predictions-filter__date .input-field {
  padding-left: 2.9rem !important;
  padding-right: 0.9rem !important;
}
.predictions-filter .input-icon {
  width: 16px;
  height: 16px;
  left: 0.85rem;
}
.predictions-filter__clear-x {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(248, 250, 252, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.predictions-filter__clear-x:hover {
  background: rgba(248, 250, 252, 0.18);
  color: #f8fafc;
}
.predictions-filter__clear-x[hidden] {
  display: none;
}
.predictions-filter__clear-x svg {
  width: 13px;
  height: 13px;
}
.input-field--date {
  padding-left: 3.2rem;
  color-scheme: dark;
}
.input-field--date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.7);
}
.predictions-filter__clear {
  margin-top: 0;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  font-size: var(--font-size-sm);
  white-space: nowrap;
}
.predictions-empty {
  padding: var(--spacing-xl);
  text-align: center;
  color: var(--text-secondary);
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
}
.predictions-empty[hidden] {
  display: none;
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  body.auth-page {
    padding: var(--spacing-md);
    padding-top: var(--spacing-xl);
  }
  .predictions-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .predictions-actions {
    width: 100%;
  }
  .predictions-actions .btn {
    flex: 1;
  }
  .predictions-panel {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
  }
  .predictions-filter {
    width: 100%;
  }
  .predictions-filter__date {
    flex: 0 0 170px;
    width: 170px;
  }
  .predictions-filter__search {
    flex: 1 1 100%;
    width: auto;
  }
}
@media (max-width: 480px) {
  .predictions-actions .btn {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .predictions-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .predictions-toolbar__info h2 {
    font-size: 1.45rem;
  }
  .predictions-filter {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .predictions-filter__search {
    flex: 1 1 100%;
    width: 100%;
  }
  .predictions-filter__date {
    flex: 0 0 150px;
    width: 150px;
  }
  .predictions-filter__search .input-field, .predictions-filter__date .input-field {
    min-height: 40px;
    padding: 0.5rem 1rem !important;
    font-size: 16px;
  }
  .predictions-filter__search .input-field {
    padding-left: 2.7rem !important;
    padding-right: 2.3rem !important;
  }
  .predictions-filter__date .input-field {
    padding-left: 2.7rem !important;
    padding-right: 0.9rem !important;
  }
}
@media (max-width: 380px) {
  .predictions-filter__date {
    flex: 1 1 100%;
    width: 100%;
  }
}
.tp-history__list.predictions-tickets {
  margin-top: var(--spacing-md, 1rem);
  padding: 0;
  overflow: visible;
}
.tp-notify-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  width: min(100% - 2rem, 360px);
  pointer-events: none;
}
.tp-notify {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1rem 1.1rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.45);
  color: #f8fafc;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  overflow: hidden;
  opacity: 0;
  transform: translateX(120%);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tp-notify::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: currentColor;
  opacity: 0.85;
}
.tp-notify.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.tp-notify.is-leaving {
  opacity: 0;
  transform: translateX(120%);
}
.tp-notify__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.tp-notify__icon svg {
  width: 20px;
  height: 20px;
}
.tp-notify__body {
  flex: 1;
  min-width: 0;
}
.tp-notify__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.tp-notify__message {
  font-size: var(--font-size-sm, 0.875rem);
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.45;
  word-break: break-word;
}
.tp-notify__close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.06);
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  transition: color var(--transition-fast, 180ms ease), background var(--transition-fast, 180ms ease), transform var(--transition-fast, 180ms ease);
}
.tp-notify__close:hover {
  color: #f8fafc;
  background: rgba(248, 250, 252, 0.14);
  transform: translateY(-1px);
}
.tp-notify__close svg {
  width: 14px;
  height: 14px;
}
.tp-notify__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  animation-name: tpNotifyProgress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
.tp-notify:hover .tp-notify__progress {
  animation-play-state: paused;
}
.tp-notify--success {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.28);
}
.tp-notify--success .tp-notify__title, .tp-notify--success .tp-notify__icon {
  color: #a7f3d0;
}
.tp-notify--success .tp-notify__progress {
  background: linear-gradient(90deg, #10b981, #34d399);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}
.tp-notify--warning {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
.tp-notify--warning .tp-notify__title, .tp-notify--warning .tp-notify__icon {
  color: #fde68a;
}
.tp-notify--warning .tp-notify__progress {
  background: linear-gradient(90deg, #d97706, #fbbf24);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}
.tp-notify--error {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}
.tp-notify--error .tp-notify__title, .tp-notify--error .tp-notify__icon {
  color: #fecaca;
}
.tp-notify--error .tp-notify__progress {
  background: linear-gradient(90deg, #dc2626, #f87171);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}
.tp-notify--info {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}
.tp-notify--info .tp-notify__title, .tp-notify--info .tp-notify__icon {
  color: #bfdbfe;
}
.tp-notify--info .tp-notify__progress {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}
@keyframes tpNotifyProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
@media (max-width: 480px) {
  .tp-notify-container {
    top: 0.75rem;
    right: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tp-notify {
    transition: none;
  }
  .tp-notify__progress {
    animation: none;
  }
}
.tp-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg, 1.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.tp-modal.is-active {
  opacity: 1;
  visibility: visible;
}
.tp-modal[hidden] {
  display: none;
}
.tp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
}
.tp-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md, 1rem);
  padding: var(--spacing-xl, 2rem);
  border-radius: var(--radius-xl, 24px);
  border: 1px solid var(--border-color, rgba(148, 163, 184, 0.28));
  background: var(--color-card-surface, linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.72)));
  box-shadow: var(--shadow-lg, 0 24px 80px rgba(2, 6, 23, 0.55)), 0 0 45px rgba(74, 222, 128, 0.08);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.tp-modal.is-active .tp-modal__dialog {
  transform: translateY(0) scale(1);
}
.tp-modal__dialog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(52, 211, 153, 0.08), transparent 40%, rgba(59, 130, 246, 0.08));
  pointer-events: none;
}
.tp-modal__icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-xs, 0.25rem);
  border-radius: 18px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}
.tp-modal__icon--danger {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.24);
  color: #fca5a5;
}
.tp-modal__icon svg {
  width: 26px;
  height: 26px;
}
.tp-modal__title {
  position: relative;
  font-size: var(--font-size-xl, 1.5rem);
  font-weight: 800;
  color: var(--text-primary, #f8fafc);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tp-modal__message {
  position: relative;
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.6;
  word-break: break-word;
}
.tp-modal__actions {
  position: relative;
  display: flex;
  gap: var(--spacing-sm, 0.5rem);
  margin-top: var(--spacing-sm, 0.5rem);
}
.tp-modal__actions .btn {
  flex: 1;
  margin-top: 0;
}
.tp-modal__actions .btn-danger {
  flex: 1;
  margin-top: 0;
}
@media (max-width: 480px) {
  .tp-modal__actions {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tp-modal, .tp-modal__dialog {
    transition: none;
  }
}
.profile-container {
  width: min(100%, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}
.profile-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  animation: slideInDown 0.6s ease both;
}
.profile-header .logo-section {
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-md);
  text-align: left;
}
.profile-header .logo {
  width: 64px;
  height: 64px;
}
.profile-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.profile-sub {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}
.profile-actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  flex-wrap: wrap;
}
.profile-edit-btn {
  width: auto;
  margin-top: 0;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  font-size: var(--font-size-sm);
}
.profile-actions .btn-outline {
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  font-size: var(--font-size-sm);
}
.profile-card {
  width: 100%;
  background: var(--color-card-surface);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out 0.12s both;
}
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(52, 211, 153, 0.08), transparent 35%, rgba(59, 130, 246, 0.08));
  pointer-events: none;
}
.profile-card[hidden] {
  display: none;
}
.profile-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border-muted);
  flex-wrap: wrap;
}
.profile-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(52, 211, 153, 0.4);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(16, 185, 129, 0.9));
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  outline: none;
  box-shadow: 0 0 0 4px rgba(2, 6, 23, 0.55), 0 0 30px rgba(52, 211, 153, 0.18);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.profile-avatar:hover {
  transform: scale(1.05);
  border-color: var(--color-emerald-soft);
  box-shadow: 0 0 0 4px rgba(2, 6, 23, 0.55), 0 0 38px rgba(52, 211, 153, 0.3);
}
.profile-avatar:focus-visible {
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3), 0 0 30px rgba(52, 211, 153, 0.24);
}
.profile-avatar__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.profile-avatar__initials {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}
.profile-avatar__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, 0.55);
  color: #f8fafc;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.profile-avatar__overlay svg {
  width: 26px;
  height: 26px;
}
.profile-avatar:hover .profile-avatar__overlay {
  opacity: 1;
}
.profile-identity {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  min-width: 0;
}
.profile-name {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  word-break: break-word;
}
.profile-email {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  word-break: break-word;
}
.profile-badge {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a7f3d0;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.profile-details {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--spacing-lg);
}
.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-border-muted);
  flex-wrap: wrap;
}
.profile-row:last-child {
  border-bottom: none;
}
.profile-row__label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 600;
}
.profile-row__value {
  font-size: var(--font-size-base);
  color: #f8fafc;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}
.profile-row__value--code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: #d1fae5;
}
.profile-room {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
}
.profile-room .profile-row__value {
  text-align: right;
}
.profile-room__badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.profile-room__badge--public {
  color: #bbf7d0;
  background: var(--success-bg);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.profile-room__badge--private {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.32);
}
.profile-room__meta {
  flex-basis: 100%;
  font-size: 0.74rem;
  color: var(--text-secondary);
  text-align: right;
}
.profile-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: var(--spacing-lg);
}
.profile-stat {
  padding: 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.profile-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.3);
}
.profile-stat__value {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.profile-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.profile-stat__icon svg {
  width: 22px;
  height: 22px;
}
.profile-stat__icon--points {
  color: #fbbf24;
}
.profile-stat__icon--wins {
  color: #34d399;
}
.profile-stat__icon--losses {
  color: #f87171;
}
.profile-stat__label {
  display: block;
  margin-top: 0.25rem;
  color: rgba(203, 213, 225, 0.78);
  font-size: 0.8rem;
}
.profile-card--edit {
  width: min(100%, 520px);
}
.profile-edit-title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  text-align: center;
  letter-spacing: -0.02em;
}
.profile-edit-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}
.profile-edit-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--spacing-xs);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.profile-edit-divider span {
  flex-shrink: 0;
}
.profile-edit-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border-muted);
}
.profile-edit-form select.input-field option {
  background: #0f172a;
  color: #f8fafc;
}
.phone-group {
  gap: var(--spacing-sm);
}
.phone-input-wrapper {
  display: flex;
  gap: var(--spacing-sm);
  align-items: stretch;
}
.phone-input-wrapper .input-shell {
  min-width: 0;
  flex: 1;
}
.country-selector {
  position: relative;
  flex-shrink: 0;
}
.country-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 100%;
  padding: 0 0.8rem;
  font-size: var(--font-size-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  outline: none;
  min-width: 118px;
  box-shadow: var(--shadow-input);
}
.country-dropdown__trigger:hover {
  border-color: rgba(96, 165, 250, 0.55);
}
.country-dropdown__trigger:focus-visible, .country-dropdown__trigger[aria-expanded="true"] {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus-ring);
}
.country-dropdown__flag {
  width: 20px;
  height: 15px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.country-dropdown__code {
  font-weight: 700;
  color: var(--text-primary);
}
.country-dropdown__caret {
  color: rgba(167, 243, 208, 0.9);
  flex-shrink: 0;
}
.country-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 210px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #10b981 #0b1226;
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(160deg, #0b1530, #0f172a);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
  animation: scaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.country-dropdown__panel::-webkit-scrollbar {
  width: 8px;
}
.country-dropdown__panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}
.country-dropdown__panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #10b981, #3b82f6);
  border-radius: 10px;
  border: 2px solid #0f172a;
}
.country-dropdown__panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #34d399, #60a5fa);
}
.country-dropdown__panel[hidden] {
  display: none;
}
.country-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}
.country-dropdown__option:hover, .country-dropdown__option:focus-visible {
  background: rgba(52, 211, 153, 0.12);
  outline: none;
}
.country-dropdown__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.country-dropdown__dial {
  font-weight: 700;
  color: #a7f3d0;
  flex-shrink: 0;
}
.phone-input {
  flex: 1;
}
.input-field--readonly {
  cursor: default;
  opacity: 1;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.85));
  border-color: rgba(148, 163, 184, 0.24);
  color: var(--text-primary);
}
.input-field--readonly:hover {
  transform: none;
  border-color: rgba(148, 163, 184, 0.24);
}
.input-field--readonly:focus {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14), inset 0 1px 2px rgba(2, 6, 23, 0.32);
  transform: none;
}
.profile-edit-actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}
.profile-edit-actions .btn {
  flex: 1;
  margin-top: 0;
}
@media (max-width: 768px) {
  body.auth-page {
    padding: var(--spacing-md);
    padding-top: var(--spacing-xl);
  }
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-actions {
    width: 100%;
  }
  .profile-actions .btn {
    flex: 1;
  }
  .profile-hero {
    gap: var(--spacing-md);
  }
  .profile-card {
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
  }
}
@media (max-width: 640px) {
  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .profile-stats {
    grid-template-columns: 1fr;
  }
  .phone-input-wrapper {
    flex-direction: column;
  }
  .country-selector {
    width: 100%;
  }
  .country-dropdown__trigger {
    width: 100%;
    min-width: auto;
    justify-content: center;
    height: auto;
    padding: 0.65rem 0.8rem;
  }
  .profile-edit-actions {
    flex-direction: column;
  }
  .profile-edit-actions .btn {
    width: 100%;
  }
}
@media (hover: none) {
  .profile-avatar__overlay {
    opacity: 1;
  }
}
.tp-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.tp-loader.is-active {
  opacity: 1;
  visibility: visible;
}
.tp-loader__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.16), transparent 55%), radial-gradient(circle at 50% 40%, rgba(59, 130, 246, 0.14), transparent 68%), linear-gradient(135deg, #020617, #0f172a 60%, #1e293b);
  backdrop-filter: blur(10px);
}
.tp-loader__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  transform: translateY(6px);
  transition: transform 0.35s ease;
}
.tp-loader.is-active .tp-loader__content {
  transform: translateY(0);
}
.tp-loader__spinner {
  position: relative;
  width: 130px;
  height: 130px;
}
.tp-loader__ring {
  position: absolute;
  border-radius: 50%;
}
.tp-loader__ring--outer {
  inset: 0;
  border: 3px solid transparent;
  border-top-color: #34d399;
  border-right-color: #3b82f6;
  animation: tpSpin 1.1s linear infinite;
  filter: drop-shadow(0 0 14px rgba(52, 211, 153, 0.55));
}
.tp-loader__ring--dash {
  inset: 13px;
  border: 2px dashed rgba(148, 163, 184, 0.32);
  border-top-color: #60a5fa;
  animation: tpSpinReverse 2s linear infinite;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.4));
}
.tp-loader__ring--inner {
  inset: 27px;
  border: 3px solid transparent;
  border-bottom-color: #10b981;
  border-left-color: #60a5fa;
  animation: tpSpin 1.4s linear infinite reverse;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.55));
}
.tp-loader__ball {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%), radial-gradient(circle at 50% 50%, #34d399 0%, #0f766e 68%, #064e3b 100%);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.6), 0 0 40px rgba(59, 130, 246, 0.38), inset 0 0 12px rgba(255, 255, 255, 0.22);
  animation: tpBallPulse 1.6s ease-in-out infinite;
}
.tp-loader__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.85);
  animation: tpLabelPulse 1.8s ease-in-out infinite;
}
@keyframes tpSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes tpSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes tpBallPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.6), 0 0 40px rgba(59, 130, 246, 0.38), inset 0 0 12px rgba(255, 255, 255, 0.22);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.14);
    box-shadow: 0 0 26px rgba(52, 211, 153, 0.85), 0 0 56px rgba(59, 130, 246, 0.55), inset 0 0 14px rgba(255, 255, 255, 0.3);
  }
}
@keyframes tpLabelPulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tp-loader__ring, .tp-loader__ball, .tp-loader__label {
    animation: none !important;
  }
  .tp-loader, .tp-loader__content {
    transition: none;
  }
}
.btn, .toggle-password, .tp-notify__close, .profile-avatar {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.05) saturate(1.06);
}
.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.96);
  transition-duration: 120ms;
  filter: brightness(0.97);
}
.btn:focus-visible {
  transform: scale(1.02);
}
.btn-primary:hover:not(:disabled), .btn--primary:hover:not(:disabled) {
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.18), 0 16px 40px rgba(16, 185, 129, 0.32), 0 0 30px rgba(52, 211, 153, 0.28);
}
.btn-danger:hover:not(:disabled), .btn--danger:hover:not(:disabled) {
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.18), 0 16px 40px rgba(244, 63, 94, 0.32), 0 0 30px rgba(244, 63, 94, 0.26);
}
.btn-outline:hover:not(:disabled), .btn--outline:hover:not(:disabled) {
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.14), 0 12px 30px rgba(2, 6, 23, 0.35), 0 0 26px rgba(52, 211, 153, 0.16);
}
.btn-secondary:hover:not(:disabled), .btn--secondary:hover:not(:disabled) {
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.16), 0 14px 32px rgba(2, 6, 23, 0.32), 0 0 26px rgba(96, 165, 250, 0.18);
}
.btn-google:hover:not(:disabled), .btn--google:hover:not(:disabled) {
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.14), 0 14px 32px rgba(2, 6, 23, 0.28), 0 0 26px rgba(248, 250, 252, 0.12);
}
.toggle-password:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.22);
}
.toggle-password:active {
  transform: scale(0.94);
  transition-duration: 120ms;
}
.tp-notify__close:hover {
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(148, 163, 184, 0.25);
}
.tp-notify__close:active {
  transform: scale(0.9);
  transition-duration: 120ms;
}
.profile-avatar:hover {
  box-shadow: 0 0 0 4px rgba(2, 6, 23, 0.55), 0 0 40px rgba(52, 211, 153, 0.4);
}
.profile-avatar:active {
  transform: scale(0.95);
  transition-duration: 120ms;
}
@media (prefers-reduced-motion: reduce) {
  .btn, .toggle-password, .tp-notify__close, .profile-avatar {
    transition: none !important;
  }
  .btn:hover:not(:disabled), .btn:active:not(:disabled), .toggle-password:hover, .toggle-password:active, .tp-notify__close:hover, .tp-notify__close:active, .profile-avatar:active {
    transform: none;
    filter: none;
  }
}
.settings-container {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}
.settings-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  animation: slideInDown 0.6s ease both;
}
.settings-header .logo-section {
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-md);
  text-align: left;
}
.settings-header .logo {
  width: 64px;
  height: 64px;
}
.settings-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.settings-sub {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}
.settings-actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  flex-wrap: wrap;
}
.settings-actions .btn {
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  font-size: var(--font-size-sm);
}
.settings-card {
  width: 100%;
  background: var(--color-card-surface);
  padding: var(--spacing-xl) var(--spacing-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out 0.12s both;
}
.settings-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(52, 211, 153, 0.08), transparent 35%, rgba(59, 130, 246, 0.08));
  pointer-events: none;
}
.settings-card__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-bottom: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border-muted);
}
.settings-card__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #a7f3d0;
}
.settings-card__icon svg {
  width: 20px;
  height: 20px;
}
.settings-card__title {
  font-size: var(--font-size-base);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.settings-card__sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.settings-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-border-muted);
  flex-wrap: wrap;
}
.settings-row:last-child {
  border-bottom: none;
}
.settings-row__label {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #f8fafc;
}
.settings-row__desc {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.settings-row__control {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}
.settings-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.settings-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.settings-switch__track {
  position: absolute;
  inset: 0;
  cursor: pointer;
  border-radius: var(--radius-full);
  background: rgba(148, 163, 184, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.settings-switch__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 0 2px 6px rgba(2, 6, 23, 0.5);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.settings-switch input:checked + .settings-switch__track {
  background: linear-gradient(135deg, #10b981, #3b82f6);
  border-color: rgba(52, 211, 153, 0.5);
}
.settings-switch input:checked + .settings-switch__track::after {
  transform: translateX(20px);
}
.settings-switch input:focus-visible + .settings-switch__track {
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}
.settings-segmented {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-muted);
}
.settings-segmented button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.settings-segmented button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(59, 130, 246, 0.25));
  color: #d1fae5;
}
.settings-segmented button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}
.settings-select {
  min-width: 180px;
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.55rem 0.9rem;
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a7f3d0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.settings-select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}
.settings-select option {
  background: #0f172a;
  color: #f8fafc;
}
.settings-radios {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}
.settings-radio {
  position: relative;
}
.settings-radio input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.settings-radio span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-muted);
  background: rgba(255, 255, 255, 0.03);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}
.settings-radio input:checked + span {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.45);
  color: #d1fae5;
}
.settings-radio input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}
.settings-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-border-muted);
  align-items: end;
}
.settings-form .form-group {
  margin: 0;
}
.settings-form .btn {
  min-height: 44px;
}
.settings-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border-muted);
  flex-wrap: wrap;
}
.settings-session:last-child {
  border-bottom: none;
}
.settings-session__info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-width: 0;
}
.settings-session__device {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-muted);
  color: #94a3b8;
}
.settings-session__device svg {
  width: 18px;
  height: 18px;
}
.settings-session__name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #f8fafc;
}
.settings-session__meta {
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.settings-session__tag {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: var(--spacing-sm);
}
.settings-session__actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}
.settings-session .btn-outline {
  min-height: 36px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
}
.settings-actions-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-border-muted);
  flex-wrap: wrap;
}
.settings-actions-row:last-child {
  border-bottom: none;
}
.settings-actions-row__label {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #f8fafc;
}
.settings-actions-row__desc {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.settings-actions-row .btn {
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}
.settings-saved {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #d1fae5;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.settings-saved.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 768px) {
  body.auth-page {
    padding: var(--spacing-md);
    padding-top: var(--spacing-xl);
  }
  .settings-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .settings-actions {
    width: 100%;
  }
  .settings-actions .btn {
    flex: 1;
  }
  .settings-card {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
  }
  .settings-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .settings-segmented {
    display: flex;
    width: 100%;
  }
  .settings-segmented button {
    flex: 1;
    padding: 0.5rem 0.6rem;
  }
  .settings-select {
    width: 100%;
    min-width: 0;
  }
}
:root {
  --tp-bg: #020617;
  --tp-panel: rgba(15, 23, 42, 0.62);
  --tp-panel-solid: #0f172a;
  --tp-border: rgba(51, 65, 85, 0.55);
  --tp-border-strong: rgba(71, 85, 105, 0.7);
  --tp-text: #e2e8f0;
  --tp-muted: #94a3b8;
  --tp-emerald: #34d399;
  --tp-blue: #3b82f6;
  --tp-indigo: #6366f1;
  --tp-live: #fb7185;
  --tp-radius: 0.9rem;
  --tp-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --tp-glow: 0 0 18px rgba(52, 211, 153, 0.35);
}
.tp-shell {
  min-height: 100vh;
  background: radial-gradient(1000px 500px at 85% -10%, rgba(59, 130, 246, 0.12), transparent 60%), radial-gradient(900px 480px at 0% 110%, rgba(99, 102, 241, 0.1), transparent 60%), linear-gradient(180deg, #020617 0%, #0f172a 100%);
}
.tp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .tp-layout {
    grid-template-columns: 252px minmax(0, 1fr);
  }
}
@media (min-width: 1280px) {
  .tp-layout {
    grid-template-columns: 252px minmax(0, 1fr) 312px;
  }
}
.tp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tp-border);
}
.tp-logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(59, 130, 246, 0.18));
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: var(--tp-glow);
  font-weight: 900;
  font-size: 1.05rem;
  color: #6ee7b7;
}
.tp-nav-link {
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tp-muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.tp-nav-link:hover {
  color: var(--tp-text);
  background: rgba(148, 163, 184, 0.08);
}
.tp-nav-link.is-active {
  color: var(--tp-emerald);
}
.tp-date-picker {
  position: relative;
  display: inline-flex;
}
.tp-date-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--tp-text);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tp-date-btn:hover, .tp-date-btn[aria-expanded="true"] {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.08);
}
.tp-date-btn__chevron {
  transition: transform 0.2s ease;
}
.tp-date-btn[aria-expanded="true"] .tp-date-btn__chevron {
  transform: rotate(180deg);
}
.tp-date-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 70;
  width: 268px;
  max-height: 340px;
  overflow-y: auto;
  padding: 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(100, 116, 139, 0.6);
  background: #0d1526;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85);
}
.tp-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.1rem 0.1rem 0.5rem;
}
.tp-cal__month {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--tp-text);
  text-transform: capitalize;
}
.tp-cal__nav {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 0.5rem;
  color: var(--tp-muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tp-cal__nav:hover {
  background: rgba(148, 163, 184, 0.12);
  color: var(--tp-text);
}
.tp-cal__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}
.tp-cal__week span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--tp-text);
  padding: 2px 0;
}
.tp-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.tp-cal__day {
  position: relative;
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--tp-text);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.tp-cal__day:hover:not(:disabled) {
  background: rgba(148, 163, 184, 0.12);
}
.tp-cal__day.is-today {
  color: var(--tp-emerald);
}
.tp-cal__day.is-selected {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #022c22;
  box-shadow: 0 4px 14px -4px rgba(16, 185, 129, 0.6);
}
.tp-cal__day.is-past {
  color: rgba(100, 116, 139, 0.35);
  cursor: default;
}
.tp-cal__day.is-empty {
  pointer-events: none;
}
.tp-cal__dot {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--tp-emerald);
}
.tp-cal__day.is-selected .tp-cal__dot {
  background: #022c22;
}
.tp-date-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tp-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tp-date-item:hover {
  background: rgba(148, 163, 184, 0.1);
  color: var(--tp-text);
}
.tp-date-item.is-active {
  color: var(--tp-emerald);
  background: rgba(16, 185, 129, 0.1);
}
.tp-date-item__count {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--tp-muted);
  background: rgba(71, 85, 105, 0.25);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}
.tp-date-item.is-active .tp-date-item__count {
  color: var(--tp-emerald);
}
.tp-date-empty {
  padding: 0.7rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--tp-muted);
}
.tp-flag {
  display: inline-block;
  width: 18px;
  height: 13px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.tp-flag--svg {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  border-radius: 999px;
  box-shadow: none;
}
.tp-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tp-emerald), var(--tp-blue));
}
.tp-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  border: 1px solid var(--tp-border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--tp-muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tp-icon-btn:hover {
  color: var(--tp-text);
  border-color: var(--tp-border-strong);
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-1px);
}
.tp-icon-btn.is-open {
  color: var(--tp-emerald);
  border-color: rgba(52, 211, 153, 0.5);
}
.tp-icon-btn--rank-refresh {
  color: var(--tp-emerald);
  border-color: rgba(52, 211, 153, 0.35);
}
.tp-icon-btn--rank-refresh:hover {
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.65);
}
.tp-ranking-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid var(--tp-border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--tp-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tp-ranking-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tp-emerald);
}
.tp-ranking-btn:hover {
  color: var(--tp-text);
  border-color: var(--tp-border-strong);
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-1px);
}
.tp-ranking-btn:active {
  transform: translateY(0) scale(0.97);
}
.tp-ranking-btn:focus-visible {
  outline: 2px solid var(--tp-emerald);
  outline-offset: 2px;
  border-color: rgba(52, 211, 153, 0.5);
}
@media (max-width: 639px) {
  .tp-ranking-btn {
    padding: 0 0.625rem;
  }
}
@media (max-width: 1023.98px) {
  .tp-ranking-btn {
    display: none;
  }
}
.tp-badge-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fecdd3;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.55);
}
.tp-search {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 380px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .tp-search {
    max-width: 460px;
  }
}
.tp-search input {
  width: 100%;
  height: 40px;
  padding: 0 0.9rem 0 2.4rem;
  border-radius: 0.75rem;
  border: 1px solid var(--tp-border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--tp-text);
  font-size: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, width 0.25s ease;
}
.tp-search input::-moz-placeholder {
  color: var(--tp-muted);
}
.tp-search input::placeholder {
  color: var(--tp-muted);
}
.tp-search input:focus {
  outline: none;
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.tp-search svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tp-muted);
  pointer-events: none;
}
.tp-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.7rem 0.3rem 0.35rem;
  border-radius: 0.9rem;
  border: 1px solid var(--tp-border);
  background: rgba(15, 23, 42, 0.6);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tp-profile-btn:hover {
  border-color: rgba(99, 102, 241, 0.55);
  transform: translateY(-1px);
}
.tp-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #c7d2fe;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}
.tp-avatar.is-photo {
  background: none;
  box-shadow: none;
  overflow: hidden;
}
.tp-avatar img, .tp-avatar__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 999px;
  display: block;
}
.tp-avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.tp-avatar--nav {
  width: 24px;
  height: 24px;
  font-size: 0.62rem;
  flex-shrink: 0;
}
.tp-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  padding: 0.4rem;
  border-radius: 0.9rem;
  border: 1px solid var(--tp-border);
  background: rgba(10, 15, 30, 0.96);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.tp-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.tp-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tp-muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.tp-dropdown__item:hover {
  background: rgba(52, 211, 153, 0.1);
  color: var(--tp-emerald);
}
.tp-dropdown__item.is-active {
  color: var(--tp-emerald);
  background: rgba(52, 211, 153, 0.12);
}
.tp-dropdown__sep {
  height: 1px;
  margin: 0.35rem 0.5rem;
  background: var(--tp-border);
}
.tp-notif {
  display: flex;
  gap: 0.7rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.6rem;
  transition: background 0.15s ease, opacity 0.15s ease;
}
[data-notif-list] {
  max-height: 320px;
  overflow-y: auto;
}
[data-notif-list]::-webkit-scrollbar {
  width: 6px;
}
[data-notif-list]::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 6px;
}
.tp-notif:hover {
  background: rgba(148, 163, 184, 0.08);
}
.tp-notif.is-read {
  opacity: 0.55;
}
.tp-notif__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  color: var(--tp-emerald);
  background: rgba(16, 185, 129, 0.12);
}
.tp-sidebar {
  background: var(--tp-panel);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}
.tp-sidebar__scroll {
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
  padding: 0.9rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 85, 105, 0.6) transparent;
}
.tp-side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tp-side-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tp-muted);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.tp-side-item:hover {
  background: rgba(148, 163, 184, 0.08);
  color: var(--tp-text);
  transform: translateX(2px);
}
.tp-side-item.is-active {
  color: var(--tp-emerald);
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.14), rgba(52, 211, 153, 0.03));
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.tp-side-item.is-active .tp-side-count {
  background: rgba(52, 211, 153, 0.18);
  color: var(--tp-emerald);
}
.tp-side-count {
  margin-left: auto;
  min-width: 22px;
  text-align: center;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.12);
  color: var(--tp-muted);
}
.tp-side-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tp-muted);
}
.tp-collapse-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.28s ease;
}
.tp-collapse-body.is-collapsed {
  grid-template-rows: 0fr;
}
.tp-collapse-body.is-collapsed > div {
  overflow: hidden;
}
.tp-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.65rem;
}
@media (min-width: 1024px) {
  .tp-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tp-events-grid .tp-event {
    border: 1px solid var(--tp-border);
    border-radius: 0.8rem;
  }
  .tp-events-grid .tp-event + .tp-event {
    border-bottom: 1px solid var(--tp-border);
  }
}
.tp-chevron {
  margin-left: auto;
  transition: transform 0.25s ease;
}
.tp-chevron.is-open {
  transform: rotate(180deg);
}
.tp-fav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.8rem;
  color: var(--tp-muted);
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.tp-fav-link:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--tp-text);
}
.tp-side-sport {
  display: flex;
  flex-direction: column;
}
.tp-side-sport__head {
  cursor: pointer;
}
.tp-side-sep {
  margin: 0.6rem 0 0.4rem;
  border-top: 1px solid var(--tp-border);
}
.tp-tab {
  position: relative;
  padding: 0.5rem 1.1rem;
  border-radius: 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tp-muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.tp-tab:hover {
  color: var(--tp-text);
  background: rgba(148, 163, 184, 0.08);
}
.tp-tab.is-active {
  color: #022c22;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 4px 16px -4px rgba(16, 185, 129, 0.5);
}
.tp-tab__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.4rem;
  border-radius: 999px;
  background: currentColor;
  vertical-align: middle;
}
.tp-sport-card {
  background: var(--tp-panel);
  border: 1px solid var(--tp-border);
  border-radius: 1rem;
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}
.tp-sport-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.06), transparent 70%);
  border-bottom: 1px solid var(--tp-border);
}
.tp-sport-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 34px;
  height: 34px;
  padding: 0 0.45rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  border: 1px solid var(--tp-border-strong);
  background: rgba(15, 23, 42, 0.8);
}
.tp-league-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tp-muted);
  background: rgba(2, 6, 23, 0.35);
  border-bottom: 1px solid var(--tp-border);
  transition: color 0.2s ease, background 0.2s ease;
}
.tp-league-head:hover {
  color: var(--tp-text);
  background: rgba(2, 6, 23, 0.55);
}
.tp-event {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--tp-border);
  transition: background 0.2s ease;
  animation: tpRise 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tp-event:last-child {
  border-bottom: none;
}
.tp-event:hover {
  background: rgba(148, 163, 184, 0.05);
}
.tp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.tp-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.4);
}
.tp-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--tp-live);
  animation: tpLivePulse 1.1s ease-in-out infinite;
}
.tp-fav-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 0.6rem;
  color: var(--tp-muted);
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.tp-fav-btn:hover {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  transform: scale(1.12);
}
.tp-fav-btn.is-fav {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}
.tp-team {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.tp-team--right {
  align-items: flex-end;
  text-align: right;
}
.tp-team__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-team__short {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tp-muted);
}
.tp-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--tp-emerald);
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}
.tp-live-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tp-live);
}
.tp-market {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.6rem;
  align-items: center;
}
.tp-mlb-grid {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tp-mlb-grid__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.1rem;
}
.tp-mlb-grid__coltitle {
  text-align: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tp-muted);
  white-space: nowrap;
}
.tp-mlb-grid__row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.35rem;
}
.tp-mlb-grid__team {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.tp-mlb-grid__logo {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--tp-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.tp-mlb-grid__teaminfo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.tp-mlb-grid__teamname {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-mlb-grid__pitcher {
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-mlb-grid__cell {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.tp-mlb-grid .tp-odd {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.6rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
  padding: 0.45rem 0.4rem;
  border-radius: 0.55rem;
}
.tp-mlb-grid .tp-odd__line {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-mlb-grid .tp-odd__price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--tp-text);
  flex-shrink: 0;
}
.tp-mlb-grid .tp-odd__badge {
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.15rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  color: #1e293b;
  background: #fbbf24;
  border: 1.5px solid #0f172a;
  box-shadow: 0 2px 8px -2px rgba(251, 191, 36, 0.6);
}
.tp-mlb-grid .tp-odd--bare {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.tp-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.tp-foot__teams {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.tp-foot__team {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.tp-foot__logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--tp-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}
.tp-foot__teaminfo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.tp-foot__teamname {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--tp-text);
  white-space: normal;
  hyphens: auto;
  overflow-wrap: break-word;
  max-width: 100%;
}
.tp-foot__teamname--full, .tp-bb-teamname--full {
  display: none;
}
.tp-foot__pitcher {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-foot__pitcher-record {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--tp-emerald);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tp-foot__markets {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tp-foot__market {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.tp-foot__market.is-active {
  display: flex;
}
.tp-foot__market-title {
  text-align: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-foot__options {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}
.tp-foot .tp-odd {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 3rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.12rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.6rem;
}
.tp-foot .tp-odd__line {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-foot .tp-odd__price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--tp-text);
  flex-shrink: 0;
}
.tp-foot .tp-odd__badge {
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.15rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  color: #1e293b;
  background: #fbbf24;
  border: 1.5px solid #0f172a;
  box-shadow: 0 2px 8px -2px rgba(251, 191, 36, 0.6);
}
.tp-foot__nav {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 0.6rem;
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.tp-foot__nav:hover {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.55);
  transform: translateX(2px);
}
.tp-bb {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tp-bb-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0 0.15rem;
}
.tp-bb-coltitle {
  text-align: center;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-bb-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  align-items: center;
}
.tp-bb-team {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.tp-bb-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--tp-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}
.tp-bb-teaminfo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.tp-bb-teamname {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--tp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-bb-pitcher {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-bb-pitcher-record {
  font-size: 0.54rem;
  font-weight: 800;
  color: var(--tp-emerald);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tp-bb-cell {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.tp-bb .tp-odd {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
  padding: 0.38rem 0.35rem;
  border-radius: 0.5rem;
}
.tp-bb .tp-odd__line {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-bb .tp-odd__price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--tp-text);
  flex-shrink: 0;
}
.tp-bb .tp-odd__badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.15rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  color: #1e293b;
  background: #fbbf24;
  border: 1.5px solid #0f172a;
  box-shadow: 0 2px 8px -2px rgba(251, 191, 36, 0.6);
}
.tp-market__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tp-muted);
}
.tp-market__odds {
  display: flex;
  gap: 0.45rem;
}
.tp-odd {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.42rem 0.4rem;
  border-radius: 0.6rem;
  border: 1px solid var(--tp-border);
  background: rgba(15, 23, 42, 0.65);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.tp-odd:hover {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(52, 211, 153, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px rgba(52, 211, 153, 0.45);
}
.tp-odd__line {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-odd__price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--tp-text);
}
.tp-odd--noprice .tp-odd__price {
  color: var(--tp-muted);
  font-weight: 600;
}
.tp-odd.is-selected {
  border-color: rgba(52, 211, 153, 0.8);
  background: rgba(16, 185, 129, 0.16);
  box-shadow: var(--tp-glow);
}
.tp-odd.is-selected .tp-odd__price {
  color: var(--tp-emerald);
}
.tp-odd.is-selected .tp-odd__line {
  color: #6ee7b7;
}
.tp-odd.is-mine {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.12);
}
.tp-odd.is-mine .tp-odd__price {
  color: #a5b4fc;
}
.tp-odd.is-mine.is-selected {
  border-color: rgba(52, 211, 153, 0.8);
  background: rgba(16, 185, 129, 0.16);
  box-shadow: var(--tp-glow);
}
.tp-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--tp-muted);
}
.tp-coupon {
  display: flex;
  flex-direction: column;
  background: var(--tp-panel);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}
.tp-coupon__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--tp-border);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.06));
}
.tp-coupon__count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #022c22;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
  transition: transform 0.25s ease;
}
.tp-coupon__count.is-bump {
  animation: tpBump 0.3s ease;
}
.tp-coupon__list {
  flex: 1;
  overflow-y: auto;
  padding: 0.6rem 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 85, 105, 0.6) transparent;
}
.tp-coupon-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.6rem 0.65rem 0.6rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(16, 185, 129, 0.07);
  margin-bottom: 0.55rem;
  animation: tpSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tp-coupon-item__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tp-text);
}
.tp-coupon-item__pick {
  font-size: 0.72rem;
  color: var(--tp-muted);
}
.tp-coupon-item__odds {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--tp-emerald);
}
.tp-coupon-item__remove {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 0.5rem;
  color: var(--tp-muted);
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.tp-coupon-item__remove:hover {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.12);
  transform: rotate(90deg);
}
.tp-coupon-empty {
  padding: 1.8rem 0.5rem;
  text-align: center;
}
.tp-coupon__foot {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--tp-border);
  background: rgba(2, 6, 23, 0.4);
}
.tp-coupon__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--tp-muted);
}
.tp-coupon__total {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--tp-emerald);
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}
.tp-coupon__points {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  color: #1e293b;
  background: #fbbf24;
  box-shadow: 0 2px 10px -2px rgba(251, 191, 36, 0.55);
}
.tp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #022c22;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 6px 20px -6px rgba(16, 185, 129, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.tp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -6px rgba(16, 185, 129, 0.75);
  filter: brightness(1.05);
}
.tp-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.tp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tp-muted);
  border: 1px solid var(--tp-border);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tp-btn-ghost:hover {
  color: var(--tp-text);
  border-color: var(--tp-border-strong);
  background: rgba(148, 163, 184, 0.08);
}
.tp-coupon-fab {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #022c22;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 10px 30px -6px rgba(16, 185, 129, 0.7);
  animation: tpRise 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tp-coupon-fab__count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  color: #022c22;
  background: #ecfdf5;
}
.tp-coupon-fab[hidden] {
  display: none;
}
.tp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tp-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.tp-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  align-items: stretch;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--tp-border-strong);
  padding-bottom: env(safe-area-inset-bottom);
}
.tp-bottomnav__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 56px;
  padding: 0.5rem 0.25rem;
  color: var(--tp-muted);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.tp-bottomnav__btn:hover, .tp-bottomnav__btn:focus-visible {
  color: var(--tp-text);
  background: rgba(148, 163, 184, 0.08);
}
.tp-bottomnav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 0.15rem;
  color: currentColor;
}
.tp-bottomnav__icon svg {
  width: 22px;
  height: 22px;
}
.tp-bottomnav__icon--tint {
  color: #5eead4;
  filter: drop-shadow(0 0 6px rgba(45, 212, 191, 0.55));
}
.tp-bottomnav__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .tp-bottomnav {
    display: none;
  }
}
.tp-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tp-sheet[hidden] {
  display: none;
}
.tp-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(4px);
}
.tp-sheet__panel {
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 1.2rem 1.2rem 0 0;
  border-top: 1px solid var(--tp-border-strong);
  background: #0f172a;
  padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom));
  animation: tpRise 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tp-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.tp-sheet__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--tp-text);
}
.tp-sheet__close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 0.6rem;
  color: var(--tp-muted);
  background: rgba(148, 163, 184, 0.1);
  font-size: 0.9rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.tp-sheet__close:hover, .tp-sheet__close:focus-visible {
  color: var(--tp-text);
  background: rgba(148, 163, 184, 0.2);
}
.tp-sheet__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.6rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tp-text);
  text-decoration: none;
  transition: background 0.2s ease;
}
.tp-sheet__item:hover, .tp-sheet__item:focus-visible {
  background: rgba(148, 163, 184, 0.1);
}
.tp-sheet__sep {
  height: 1px;
  margin: 0.5rem 0;
  background: var(--tp-border);
}
.tp-sheet__item [data-icon-host] {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 0.6rem;
  background: rgba(148, 163, 184, 0.08);
}
.tp-sheet__item--profile, .tp-sheet__item--preds, .tp-sheet__item--settings {
  color: #2dd4bf;
  text-shadow: 0 0 14px rgba(45, 212, 191, 0.35);
}
.tp-sheet__item--profile [data-icon-host], .tp-sheet__item--preds [data-icon-host], .tp-sheet__item--settings [data-icon-host] {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.14);
  box-shadow: 0 0 12px -2px rgba(45, 212, 191, 0.4);
}
.tp-sheet__item--logout {
  color: #fb7185;
}
.tp-sheet__item--logout [data-icon-host] {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.14);
}
@media (min-width: 1280px) {
  .tp-coupon {
    position: sticky;
    top: 5.25rem;
    max-height: calc(100vh - 6rem);
  }
}
@media (max-width: 1279px) and (min-width: 1024px) {
  .tp-coupon {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 92vw);
    border-radius: 0;
    border-left: 1px solid var(--tp-border-strong);
    transform: translateX(102%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 60;
    max-height: none;
  }
  .tp-coupon.is-open {
    transform: translateX(0);
  }
}
@media (max-width: 1023px) {
  .tp-sidebar {
    display: none;
  }
  .tp-coupon {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 80vh;
    border-radius: 1.1rem 1.1rem 0 0;
    border-bottom: none;
    border-left: 1px solid var(--tp-border-strong);
    border-right: 1px solid var(--tp-border-strong);
    transform: translateY(103%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 60;
  }
  .tp-coupon.is-open {
    transform: translateY(0);
  }
  .tp-coupon-fab {
    bottom: calc(5.4rem + env(safe-area-inset-bottom));
  }
  .tp-footer {
    margin-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
}
.tp-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid transparent;
  -o-border-image: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent) 1;
     border-image: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent) 1;
  background: radial-gradient(120% 150% at 10% 0%, rgba(16, 185, 129, 0.1), transparent 55%), linear-gradient(180deg, rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.94));
}
.tp-footer__glow {
  position: absolute;
  top: -90px;
  left: -70px;
  width: 340px;
  height: 340px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.16), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}
.tp-footer__inner {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 3rem 1rem 0;
}
.tp-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
.tp-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.tp-footer__logo .tp-logo-mark {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.45));
}
.tp-footer__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}
.tp-footer__desc {
  margin-top: 1.1rem;
  max-width: 32rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #cbd5e1;
}
.tp-footer__hl {
  font-weight: 600;
  color: #cbd5e1;
}
.tp-footer__hl--emerald {
  color: #34d399;
}
.tp-footer__heading {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
.tp-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.tp-footer__email:hover {
  color: #34d399;
}
.tp-footer__social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.tp-footer__hint {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #64748b;
}
.tp-footer__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 2.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(30, 41, 59, 0.85);
}
.tp-footer__bar p {
  font-size: 0.72rem;
  color: #475569;
}
@media (min-width: 640px) {
  .tp-footer__main {
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
  }
  .tp-footer__bar {
    flex-direction: row;
  }
}
.tp-social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 0.7rem;
  border: 1px solid var(--tp-border);
  color: var(--tp-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tp-social:hover {
  color: var(--tp-emerald);
  border-color: rgba(52, 211, 153, 0.5);
  transform: translateY(-2px);
}
.tp-social--whatsapp {
  width: 46px;
  height: 46px;
  border-radius: 0.85rem;
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.tp-social--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
}
.tp-scroll-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.tp-scroll-thin::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.6);
  border-radius: 999px;
}
.tp-scroll-thin::-webkit-scrollbar-track {
  background: transparent;
}
@keyframes tpRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes tpSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes tpBump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes tpLivePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}
.tp-highlight {
  animation: tpFlash 1.8s ease;
}
@keyframes tpFlash {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
  25% {
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.4), 0 0 24px rgba(52, 211, 153, 0.25);
  }
}
.tp-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient( 90deg, rgba(148, 163, 184, 0.07) 25%, rgba(148, 163, 184, 0.16) 37%, rgba(148, 163, 184, 0.07) 63% );
  background-size: 400% 100%;
  animation: tpShimmer 1.4s ease-in-out infinite;
}
.tp-icon-btn.tp-is-busy {
  pointer-events: none;
  opacity: 0.6;
}
.tp-icon-btn.tp-is-busy svg {
  animation: tpSpinIcon 0.8s linear infinite;
}
@keyframes tpSpinIcon {
  to {
    transform: rotate(360deg);
  }
}
@keyframes tpShimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.tp-fade-in {
  animation: tpRise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .tp-odd, .tp-icon-btn, .tp-btn-primary, .tp-btn-ghost, .tp-fav-btn, .tp-nav-link, .tp-profile-btn, .tp-side-item, .tp-coupon-fab, .tp-coupon-item, .tp-event {
    animation: none !important;
    transition: none !important;
  }
  .tp-live-dot {
    animation: none !important;
  }
}
.tp-wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(59, 130, 246, 0.1));
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tp-wallet-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(52, 211, 153, 0.8);
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.35);
}
.tp-wallet-btn__icon {
  font-size: 1rem;
  line-height: 1;
}
@media (max-width: 639px) {
  .tp-wallet-btn {
    padding: 0.35rem 0.55rem;
    gap: 0.35rem;
    min-width: 0;
    max-width: 46vw;
  }
  .tp-wallet-btn__amount {
    display: inline;
    font-size: 0.78rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.tp-wallet-menu {
  width: 272px;
  padding: 0.9rem;
}
.tp-wallet-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--tp-border);
}
.tp-wallet-head__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.tp-wallet-head__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tp-muted);
}
.tp-wallet-head__balance {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--tp-emerald);
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.3);
}
.tp-wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.tp-wallet-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 0.4rem;
  border-radius: 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.tp-wallet-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.tp-wallet-action__icon {
  font-size: 1.1rem;
  line-height: 1;
}
.tp-wallet-action--deposit {
  color: #022c22;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 6px 18px -6px rgba(16, 185, 129, 0.6);
}
.tp-wallet-action--withdraw {
  color: #e0e7ff;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  box-shadow: 0 6px 18px -6px rgba(99, 102, 241, 0.6);
}
.tp-wallet-history {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.65rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--tp-border);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tp-wallet-history:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.1);
}
.tp-wallet-history__icon {
  font-size: 1.1rem;
  line-height: 1;
}
.tp-wallet-history__sub {
  font-size: 0.68rem;
  color: var(--tp-muted);
}
.tp-wmodal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.tp-wmodal.is-active {
  opacity: 1;
  visibility: visible;
}
.tp-wmodal[hidden] {
  display: none;
}
.tp-wmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(8px);
}
.tp-wmodal__dialog {
  position: relative;
  width: min(100%, 420px);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 1.1rem;
  border: 1px solid var(--tp-border-strong);
  background: linear-gradient(160deg, #0f172a, #0b1220);
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.6);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 85, 105, 0.6) transparent;
}
.tp-wmodal.is-active .tp-wmodal__dialog {
  transform: translateY(0) scale(1);
}
.tp-wstep {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.3rem 1.4rem;
}
.tp-wstep--center {
  align-items: center;
  text-align: center;
}
.tp-wtitle {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--tp-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tp-wsub {
  font-size: 0.82rem;
  color: var(--tp-muted);
  line-height: 1.5;
}
.tp-wback {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--tp-muted);
  background: rgba(148, 163, 184, 0.08);
  transition: color 0.15s ease, background 0.15s ease;
}
.tp-wback:hover {
  color: var(--tp-text);
  background: rgba(148, 163, 184, 0.15);
}
.tp-wclose {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--tp-muted);
  background: rgba(148, 163, 184, 0.08);
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.tp-wclose:hover {
  color: var(--tp-text);
  background: rgba(148, 163, 184, 0.18);
  transform: rotate(90deg);
}
.tp-wmethod-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.tp-methods {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tp-method-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid var(--tp-border);
  background: rgba(15, 23, 42, 0.6);
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tp-method-card:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(16, 185, 129, 0.08);
}
.tp-method-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #d1fae5;
  background: radial-gradient(circle at 30% 25%, #10b981, #0f766e);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}
.tp-network-logo {
  color: #a5f3fc;
  background: radial-gradient(circle at 30% 25%, #22d3ee, #0e7490);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.3);
  font-size: 0.95rem;
}
.tp-method-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}
.tp-method-info strong {
  font-size: 0.9rem;
  color: var(--tp-text);
}
.tp-method-info small {
  font-size: 0.72rem;
  color: var(--tp-muted);
}
.tp-amount-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid var(--tp-border-strong);
  background: rgba(2, 6, 23, 0.5);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tp-amount-row:focus-within {
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.tp-amount-cur {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--tp-emerald);
}
.tp-amount-cur--unit {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--tp-emerald);
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 0.45rem;
  white-space: nowrap;
}
.tp-amount-row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--tp-text);
  font-size: 1.5rem;
  font-weight: 800;
}
.tp-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tp-quick-chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--tp-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--tp-border);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.tp-quick-chip:hover {
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(16, 185, 129, 0.08);
}
.tp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.tp-field label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-muted);
}
.tp-field input {
  padding: 0.65rem 0.85rem;
  border-radius: 0.7rem;
  border: 1px solid var(--tp-border-strong);
  background: rgba(2, 6, 23, 0.5);
  color: var(--tp-text);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tp-field input:focus {
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.tp-addr-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
  border: 1px dashed rgba(52, 211, 153, 0.5);
  background: rgba(16, 185, 129, 0.06);
}
.tp-addr-box code {
  flex: 1;
  min-width: 0;
  font-size: 0.76rem;
  word-break: break-all;
  color: #6ee7b7;
}
.tp-copy-btn {
  padding: 0.35rem 0.7rem;
  border-radius: 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #022c22;
  background: linear-gradient(135deg, #34d399, #10b981);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.tp-copy-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.tp-note {
  font-size: 0.74rem;
  color: var(--tp-muted);
  line-height: 1.5;
}
.tp-note--warn {
  padding: 0.6rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.07);
  color: #fcd34d;
}
.tp-note--warn strong {
  color: #fde68a;
}
.tp-exact {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.08);
}
.tp-exact__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tp-muted);
}
.tp-exact__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.tp-exact__value {
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  color: #6ee7b7;
}
.tp-exact__value small {
  font-size: 0.8rem;
  color: var(--tp-muted);
}
.tp-wcountdown {
  font-size: 0.8rem;
  color: var(--tp-muted);
}
.tp-wcountdown strong {
  font-variant-numeric: tabular-nums;
  color: #e2e8f0;
}
.tp-wcountdown.is-expired {
  color: #fca5a5;
}
.tp-wnotice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.tp-coupon__monto-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.25rem 0.55rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tp-coupon__monto-wrap:hover {
  border-color: rgba(52, 211, 153, 0.35);
}
.tp-coupon__monto-wrap:focus-within {
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.tp-coupon__monto-cur {
  font-weight: 800;
  color: #64748b;
  font-size: 0.85rem;
}
.tp-coupon__monto {
  width: 4rem;
  border: none;
  background: transparent;
  padding: 0.25rem 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fbbf24;
  text-align: right;
  outline: none;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
}
.tp-coupon__monto::-webkit-outer-spin-button, .tp-coupon__monto::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.tp-coupon__warn {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 0.6rem;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.tp-review {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid var(--tp-border);
  background: rgba(2, 6, 23, 0.4);
}
.tp-review__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
}
.tp-review__row span {
  color: var(--tp-muted);
}
.tp-review__row strong {
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tp-text);
}
.tp-btn-blue {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  box-shadow: 0 6px 20px -6px rgba(99, 102, 241, 0.6);
}
.tp-wspinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(52, 211, 153, 0.2);
  border-top-color: #34d399;
  border-right-color: #3b82f6;
  animation: tpSpinIcon 0.9s linear infinite;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}
.tp-wsuccess {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
  color: #022c22;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
  animation: tpBump 0.4s ease;
}
.tp-tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 85, 105, 0.6) transparent;
}
.tp-tx-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--tp-border);
  background: rgba(15, 23, 42, 0.5);
}
.tp-tx-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1;
}
.tp-tx-item--in .tp-tx-icon {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
}
.tp-tx-item--out .tp-tx-icon {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
}
.tp-tx-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tp-text);
}
.tp-tx-date {
  font-size: 0.7rem;
  color: var(--tp-muted);
}
.tp-tx-reason {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--tp-danger, #f87171);
}
.tp-tx-retry {
  margin-top: 0.3rem;
}
.tp-tx-amount {
  font-size: 0.88rem;
  font-weight: 900;
}
.tp-tx-empty {
  padding: 1.5rem 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--tp-muted);
  border: 1px dashed var(--tp-border);
  border-radius: 0.75rem;
}
@media (prefers-reduced-motion: reduce) {
  .tp-wmodal, .tp-wmodal__dialog, .tp-wallet-btn, .tp-wallet-action, .tp-method-card, .tp-wspinner, .tp-wsuccess {
    animation: none !important;
    transition: none !important;
  }
}
.tp-wmodal--rank .tp-wmodal__dialog {
  width: min(100%, 560px);
}
.tp-rank {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem 1.35rem 1.4rem;
}
.tp-rank__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-right: 2.4rem;
}
.tp-rank__room {
  font-size: 0.78rem;
  color: var(--tp-muted);
}
.tp-rank__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--tp-border);
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.4);
}
.tp-rank__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.tp-rank__th {
  padding: 0.6rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tp-muted);
  border-bottom: 1px solid var(--tp-border);
  text-align: left;
  background: rgba(2, 6, 23, 0.4);
}
.tp-rank__row {
  border-bottom: 1px solid rgba(51, 65, 85, 0.35);
  transition: background 0.15s ease;
}
.tp-rank__row:last-child {
  border-bottom: none;
}
.tp-rank__row:hover {
  background: rgba(30, 41, 59, 0.5);
}
.tp-rank__row.is-me {
  background: rgba(52, 211, 153, 0.08);
  box-shadow: inset 3px 0 0 var(--tp-emerald);
}
.tp-rank__row.is-me:hover {
  background: rgba(52, 211, 153, 0.14);
}
.tp-rank__row.is-empty {
  opacity: 0.55;
}
.tp-rank__row.is-empty:hover {
  background: transparent;
}
.tp-rank__row.is-empty td {
  color: var(--tp-muted);
}
.tp-rank__name-text--empty {
  font-weight: 500;
  color: var(--tp-muted);
}
.tp-rank__row td {
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: var(--tp-text);
}
.tp-rank__pos {
  width: 46px;
  text-align: center;
  vertical-align: middle;
}
.tp-rank__num {
  font-weight: 800;
  color: var(--tp-muted);
}
.tp-rank__pts {
  width: 92px;
  text-align: center;
  font-weight: 800;
  white-space: nowrap;
  border-left: 1px solid rgba(51, 65, 85, 0.35);
}
.tp-rank__preds {
  width: 120px;
  text-align: center;
  color: var(--tp-muted);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid rgba(51, 65, 85, 0.35);
}
.tp-rank__preds-won {
  color: var(--tp-emerald);
  font-weight: 700;
}
.tp-rank__preds-lost {
  color: #fb7185;
  font-weight: 700;
}
.tp-rank__preds-sep {
  color: var(--tp-muted);
  margin: 0 0.15rem;
}
.tp-rank__th.tp-rank__preds {
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tp-rank__name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
}
.tp-rank__name-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-rank__you {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #052e22;
  background: var(--tp-emerald);
}
.tp-rank__medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tp-rank__medal--gold {
  color: #fbbf24;
}
.tp-rank__medal--silver {
  color: #cbd5e1;
}
.tp-rank__medal--bronze {
  color: #d97706;
}
.tp-rank__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px dashed var(--tp-border);
  border-radius: 0.9rem;
  color: var(--tp-muted);
}
.tp-rank__state-icon {
  color: var(--tp-emerald);
}
.tp-rank__outside {
  border: 1px solid var(--tp-border-strong);
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
  background: rgba(30, 41, 59, 0.5);
}
.tp-rank__outside-title {
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tp-muted);
}
.tp-rank__outside-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.tp-rank__outside-pos {
  font-weight: 800;
  color: var(--tp-emerald);
}
@media (max-width: 639px) {
  .tp-wmodal {
    padding: 0.6rem;
  }
  .tp-rank {
    padding: 0.9rem 0.75rem 1rem;
  }
  .tp-rank__table {
    min-width: 0;
  }
  .tp-rank__pos {
    width: 30px;
  }
  .tp-rank__preds {
    width: 58px;
  }
  .tp-rank__pts {
    width: 64px;
  }
  .tp-rank__th.tp-rank__pts {
    letter-spacing: 0;
    white-space: nowrap;
    text-align: center;
  }
  .tp-rank__row td {
    padding: 0.48rem 0.5rem;
    font-size: 0.82rem;
  }
  .tp-rank__th {
    padding: 0.5rem 0.5rem;
    font-size: 0.62rem;
  }
  .tp-rank__name {
    gap: 0.3rem;
  }
  .tp-rank__you {
    margin-left: 0.3rem;
    padding: 0.05rem 0.35rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tp-rank__row, .tp-rank__state {
    transition: none !important;
  }
}
.tp-match {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tp-match__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.tp-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tp-muted);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--tp-border);
}
.tp-status__sub {
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.tp-status.is-live {
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.14);
  border-color: rgba(244, 63, 94, 0.4);
}
.tp-status.is-final {
  color: var(--tp-emerald);
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
}
.tp-status.is-cancelled {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border-color: var(--tp-border);
  text-decoration: line-through;
}
.tp-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--tp-border);
}
.tp-odd.is-mine:disabled {
  opacity: 1;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.tp-match__body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tp-match__vs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}
.tp-no-markets {
  margin: 0.6rem 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.75);
  text-align: center;
}
.tp-match__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  flex: 1 1 0;
}
.tp-match__side:first-child {
  text-align: center;
}
.tp-match__logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--tp-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}
.tp-match__logo-img, .tp-team-mark {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 50%;
  border: 2px solid transparent;
}
.tp-match__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  flex-shrink: 0;
  min-width: 3rem;
}
.tp-match__time {
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--tp-text);
}
.tp-match__vslabel {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tp-muted);
}
.tp-match__teams {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.tp-match__teamline {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.tp-match__teamname {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tp-match__short {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tp-muted);
}
.tp-match__score {
  flex-shrink: 0;
  align-self: center;
  padding: 0.15rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--tp-text);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--tp-border);
}
.tp-match__info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tp-match__info-item {
  font-size: 0.7rem;
  color: var(--tp-muted);
}
.tp-match__info-item b {
  font-weight: 700;
  color: var(--tp-text);
}
.tp-match__main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tp-match__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px dashed var(--tp-border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tp-muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.tp-match__more:hover {
  color: var(--tp-text);
  background: rgba(148, 163, 184, 0.06);
  border-color: var(--tp-border-strong);
}
.tp-match__more-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tp-ach-category {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tp-ach-category__title {
  margin: 0.15rem 0 0;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tp-muted);
}
.tp-odd:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.tp-odd:disabled:hover {
  transform: none;
  background: rgba(15, 23, 42, 0.65);
  border-color: var(--tp-border);
  box-shadow: none;
}
.tp-match__extra {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
@media (max-width: 639px) {
  .tp-event {
    padding: 0.6rem 0.65rem;
  }
  .tp-match {
    gap: 0.55rem;
  }
  .tp-match__top {
    flex-wrap: wrap;
  }
  .tp-match__teamname {
    font-size: 0.88rem;
  }
  .tp-match__score {
    font-size: 0.82rem;
  }
  .tp-match__logo {
    width: 28px;
    height: 28px;
    font-size: 0.54rem;
  }
  .tp-match__time {
    font-size: 0.7rem;
  }
  .tp-match__vs {
    gap: 0.5rem;
  }
  .tp-market__odds {
    flex-wrap: wrap;
  }
  .tp-mlb-grid__head {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
  }
  .tp-mlb-grid__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: 'team team team' 'c1 c2 c3';
    gap: 0.25rem;
    row-gap: 0.45rem;
  }
  .tp-mlb-grid__team {
    grid-area: team;
  }
  .tp-mlb-grid__cell:nth-child(2) {
    grid-area: c1;
  }
  .tp-mlb-grid__cell:nth-child(3) {
    grid-area: c2;
  }
  .tp-mlb-grid__cell:nth-child(4) {
    grid-area: c3;
  }
  .tp-mlb-grid__spacer {
    display: none;
  }
  .tp-mlb-grid__coltitle {
    font-size: 0.52rem;
  }
  .tp-mlb-grid__logo {
    width: 20px;
    height: 20px;
    font-size: 0.48rem;
  }
  .tp-mlb-grid__teamname {
    font-size: 0.62rem;
  }
  .tp-mlb-grid .tp-odd {
    min-height: 2.6rem;
    padding: 0.4rem 0.3rem;
  }
  .tp-mlb-grid .tp-odd__badge {
    top: -0.25rem;
    right: -0.25rem;
    min-width: 0.95rem;
    height: 0.95rem;
    font-size: 0.54rem;
  }
  .tp-foot {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.45rem;
  }
  .tp-foot__markets {
    max-width: 10.6rem;
  }
  .tp-foot__options {
    gap: 0.3rem;
  }
  .tp-foot__team {
    gap: 0.4rem;
  }
  .tp-foot__teams {
    gap: 0.45rem;
  }
  .tp-foot__logo {
    width: 26px;
    height: 26px;
    font-size: 0.5rem;
  }
  .tp-foot__teamname, .tp-bb-teamname {
    display: none;
  }
  .tp-foot__teamname--full, .tp-bb-teamname--full {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
    max-width: 100%;
  }
  .tp-match__teamname, .tp-mlb-grid__teamname {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
  }
  .tp-mlb-grid__teamname {
    font-size: 0.72rem;
  }
  .tp-foot .tp-odd__line {
    font-size: 0.66rem;
  }
  .tp-foot .tp-odd__price {
    font-size: 0.86rem;
  }
  .tp-foot__pitcher {
    font-size: 0.64rem;
  }
  .tp-foot__pitcher-record {
    font-size: 0.54rem;
  }
  .tp-foot .tp-odd {
    flex: 0 0 3.35rem;
    width: 3.35rem;
    min-height: 2.75rem;
    padding: 0.4rem 0.2rem;
  }
  .tp-foot__nav {
    width: 26px;
    height: 26px;
  }
  .tp-bb-head {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
  }
  .tp-bb-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: 'team team team' 'c1 c2 c3';
    gap: 0.25rem;
    row-gap: 0.45rem;
  }
  .tp-bb-team {
    grid-area: team;
  }
  .tp-bb-cell:nth-child(2) {
    grid-area: c1;
  }
  .tp-bb-cell:nth-child(3) {
    grid-area: c2;
  }
  .tp-bb-cell:nth-child(4) {
    grid-area: c3;
  }
  .tp-bb-spacer {
    display: none;
  }
  .tp-bb-coltitle {
    font-size: 0.5rem;
  }
  .tp-bb-logo {
    width: 30px;
    height: 30px;
    font-size: 0.52rem;
  }
  .tp-bb-teamname {
    font-size: 0.74rem;
  }
  .tp-bb-pitcher {
    font-size: 0.58rem;
  }
  .tp-bb-pitcher-record {
    font-size: 0.5rem;
  }
  .tp-bb .tp-odd {
    min-height: 2.6rem;
    padding: 0.38rem 0.3rem;
  }
  .tp-bb .tp-odd__line {
    font-size: 0.58rem;
  }
  .tp-bb .tp-odd__price {
    font-size: 0.76rem;
  }
  .tp-bb .tp-odd__badge {
    top: -0.25rem;
    right: -0.25rem;
    min-width: 0.9rem;
    height: 0.9rem;
    font-size: 0.52rem;
  }
}
.tp-mlb-clock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--tp-text);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--tp-border);
}
.tp-mlb-clock__label {
  color: var(--tp-muted);
  font-weight: 700;
}
.tp-mlb-clock__value {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.tp-mlb-clock__hint {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--tp-muted);
  white-space: nowrap;
}
.tp-mlb-clock.is-live {
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.35);
}
.tp-mlb-clock.is-final {
  color: var(--tp-emerald);
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
}
.tp-room-request {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  padding: 1.4rem;
  background: radial-gradient(500px 260px at 50% -10%, rgba(59, 130, 246, 0.14), transparent 60%), var(--tp-panel);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  text-align: center;
}
.tp-room-request[hidden], .tp-coupon[hidden] {
  display: none;
}
.tp-room-request__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 1.2rem;
  color: var(--tp-emerald);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.18);
}
.tp-room-request__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tp-text);
  line-height: 1.3;
}
.tp-room-request__sports {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tp-room-request__sport {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tp-muted);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--tp-border);
}
.tp-room-request__desc {
  font-size: 0.82rem;
  color: var(--tp-muted);
  line-height: 1.5;
}
.tp-room-request__recarga {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.06));
  color: #fde68a;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
.tp-room-request__recarga svg {
  flex-shrink: 0;
  color: #fbbf24;
}
.tp-room-request__recarga p {
  margin: 0;
}
.tp-room-request__recarga strong {
  color: #fff7ed;
  font-weight: 800;
}
.tp-room-request__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tp-room-request__hint {
  font-size: 0.72rem;
  color: #64748b;
}
.tp-telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 44px;
  padding: 0 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(56, 161, 238, 0.4);
  background: linear-gradient(135deg, #229ED9, #1d8cc4);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tp-telegram-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(34, 158, 217, 0.7);
}
.tp-telegram-btn:active {
  transform: translateY(0) scale(0.98);
}
.tp-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 44px;
  padding: 0 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #25d366, #1ebe5b);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tp-whatsapp-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.7);
}
.tp-whatsapp-btn:active {
  transform: translateY(0) scale(0.98);
}
.tp-request-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--tp-border-strong);
  background: rgba(15, 23, 42, 0.7);
  color: var(--tp-text);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tp-request-enter-btn:hover {
  color: #ecfdf5;
  border-color: var(--tp-emerald);
  background: rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}
.tp-room-key-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.tp-room-key-modal[hidden] {
  display: none;
}
.tp-room-key-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
}
.tp-room-key-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 1.6rem;
  border-radius: 1.1rem;
  border: 1px solid var(--tp-border-strong);
  background: #0f172a;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8);
  animation: tpModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes tpModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.tp-room-key-modal__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.8rem;
  border-radius: 1rem;
  color: var(--tp-emerald);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.tp-room-key-modal__title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tp-text);
  margin-bottom: 0.3rem;
}
.tp-room-key-modal__room {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tp-emerald);
  margin-bottom: 0.4rem;
}
.tp-room-key-modal__hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--tp-muted);
  margin-bottom: 1rem;
  line-height: 1.45;
}
.tp-room-key-modal__input {
  width: 100%;
  height: 46px;
  padding: 0 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--tp-border-strong);
  background: #020617;
  color: var(--tp-text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.tp-room-key-modal__input:focus {
  outline: none;
  border-color: var(--tp-emerald);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}
.tp-room-key-modal__input.error {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2);
}
.tp-room-key-modal__error {
  display: block;
  min-height: 1rem;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fda4af;
}
.tp-room-key-modal__error:not(:empty) {
  animation: tpShake 0.35s ease;
}
@keyframes tpShake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}
.tp-room-key-modal__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.tp-room-key-modal__actions .tp-modal-btn {
  flex: 1;
  height: 42px;
  border-radius: 0.7rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.tp-room-key-modal__actions .tp-modal-btn:hover {
  transform: translateY(-1px);
}
.tp-room-key-modal__actions .tp-modal-btn--cancel {
  border: 1px solid var(--tp-border-strong);
  background: transparent;
  color: var(--tp-muted);
}
.tp-room-key-modal__actions .tp-modal-btn--submit {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}
.tp-room-key-modal__actions .tp-modal-btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.tp-sport-emoji {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  line-height: 1;
  vertical-align: middle;
}
.tp-sport-emoji__glyph {
  display: inline-block;
}
.tp-coupon__errors {
  font-size: 0.72rem;
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.75rem;
}
.tp-coupon__errors[hidden] {
  display: none;
}
.tp-coupon__errors-title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.tp-coupon__errors ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 0.9rem;
  list-style: disc;
}
.tp-coupon-item.is-rejected {
  border-color: rgba(244, 63, 94, 0.55);
  background: rgba(244, 63, 94, 0.08);
}
.tp-room-chip {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}
.tp-room-chip[hidden] {
  display: none;
}
.tp-room-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.8rem;
}
.tp-room-banner__icon {
  display: grid;
  flex: none;
  color: var(--tp-emerald);
}
.tp-room-banner__text {
  flex: 1;
  min-width: 0;
  color: var(--tp-text);
}
.tp-room-banner__close {
  flex: none;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #022c22;
  background: var(--tp-emerald);
  transition: filter 0.15s ease;
}
.tp-room-banner__close:hover {
  filter: brightness(1.1);
}
@media (max-width: 640px) {
  .tp-room-banner {
    flex-wrap: wrap;
  }
  .tp-room-banner__close {
    margin-left: auto;
  }
}
.tp-rank__note {
  font-size: 0.8rem;
  color: var(--tp-text);
}
@media (max-width: 400px) {
  .tp-foot__logo {
    display: none;
  }
  .tp-foot__teamname {
    font-size: 0.78rem;
  }
  .tp-foot .tp-odd {
    flex-basis: 3.15rem;
    width: 3.15rem;
  }
  .tp-foot__markets {
    max-width: 10rem;
  }
}
.signup-container {
  max-width: 470px;
}
.signup-card {
  overflow: visible;
}
.signup-card::before {
  border-radius: inherit;
}
.signup-btn {
  width: 100%;
  margin-top: var(--spacing-sm);
  background: #f59e0b;
  color: #ffffff;
  border: 1px solid #f59e0b;
}
.signup-btn:hover:not(:disabled), .signup-btn:focus-visible {
  background: #d97706;
  border-color: #d97706;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.18), 0 16px 40px rgba(217, 119, 6, 0.32), 0 0 30px rgba(245, 158, 11, 0.28);
}
.phone-group {
  gap: var(--spacing-sm);
}
.phone-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.phone-input-wrapper {
  display: flex;
  gap: var(--spacing-sm);
  align-items: stretch;
}
.country-selector {
  position: relative;
  flex-shrink: 0;
}
.country-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 100%;
  padding: 0 0.8rem;
  font-size: var(--font-size-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  outline: none;
  min-width: 118px;
  box-shadow: var(--shadow-input);
}
.country-dropdown__trigger:hover {
  border-color: rgba(96, 165, 250, 0.55);
}
.country-dropdown__trigger:focus-visible, .country-dropdown__trigger[aria-expanded="true"] {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus-ring);
}
.country-dropdown__flag {
  width: 20px;
  height: 15px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.country-dropdown__code {
  font-weight: 700;
  color: var(--text-primary);
}
.country-dropdown__caret {
  color: rgba(167, 243, 208, 0.9);
  flex-shrink: 0;
}
.country-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 210px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #10b981 #0b1226;
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(160deg, #0b1530, #0f172a);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
  animation: scaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.country-dropdown__panel::-webkit-scrollbar {
  width: 8px;
}
.country-dropdown__panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}
.country-dropdown__panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #10b981, #3b82f6);
  border-radius: 10px;
  border: 2px solid #0f172a;
}
.country-dropdown__panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #34d399, #60a5fa);
}
.country-dropdown__panel[hidden] {
  display: none;
}
.country-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}
.country-dropdown__option:hover, .country-dropdown__option:focus-visible {
  background: rgba(52, 211, 153, 0.12);
  outline: none;
}
.country-dropdown__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.country-dropdown__dial {
  font-weight: 700;
  color: #a7f3d0;
  flex-shrink: 0;
}
.phone-input {
  flex: 1;
}
@media (max-width: 768px) {
  .country-dropdown__trigger {
    min-width: 108px;
    font-size: var(--font-size-xs);
    padding: 0 0.6rem;
  }
}
@media (max-width: 480px) {
  .signup-form {
    gap: var(--spacing-md);
  }
  .phone-input-wrapper {
    flex-direction: column;
  }
  .country-dropdown__trigger {
    width: 100%;
    min-width: auto;
    justify-content: center;
    min-height: 46px;
  }
  .signup-container {
    max-width: 100%;
  }
}
@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;
}
@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-divide-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@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-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  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;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@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-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-divide-y-reverse: 0;
      --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-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
    }
  }
}