*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.12 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Text, Inter, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden] {
  display: none;
}
  html {
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Text, Inter, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color-scheme: light dark;
}
  body {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
}
  @media (prefers-color-scheme: dark) {
    body {
    --tw-bg-opacity: 1;
    background-color: rgb(15 23 42 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(226 232 240 / var(--tw-text-opacity));
  }
  }
  /* Optional: slightly tighter headings; components already set sizes */
  h1, h2, h3 {
    letter-spacing: -0.01em;
  }

/* Base typography tweaks for modern, Apple-like rendering */

/* Utility classes for accessibility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Hide scrollbars utility */
.no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.no-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
  width: 0;
  height: 0;
}

/* Pin pulse animation */
@keyframes pinPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.pin-pulse {
  animation: pinPulse 0.35s ease-out;
}

:root {
  --nba-blue-50: #e8f1ff;
  --nba-blue-100: #d2e2ff;
  --nba-blue-200: #a5c5ff;
  --nba-blue-400: #3d7eff;
  --nba-blue-500: #1f6bff;
  --nba-blue-600: #1553cc;
  --nba-blue-700: #0e3b99;

  --nba-red-50: #ffecec;
  --nba-red-100: #ffd6d6;
  --nba-red-200: #ffa9a9;
  --nba-red-400: #ff4747;
  --nba-red-500: #ff2d2d;
  --nba-red-600: #d42020;
  --nba-red-700: #a31818;

  --nba-slate-50: #f8fafc;
  --nba-slate-100: #f1f5f9;
  --nba-slate-200: #e2e8f0;
  --nba-slate-300: #cbd5f5;
  --nba-slate-400: #94a3b8;
  --nba-slate-500: #64748b;
  --nba-slate-600: #475569;
  --nba-slate-900: #0f172a;

  --standings-card-bg: #ffffff;
  --standings-card-border: rgba(15, 23, 42, 0.08);
  --standings-card-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  --standings-card-shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.08);

  --east-gradient: linear-gradient(135deg, rgba(31, 107, 255, 0.18), rgba(14, 59, 153, 0.18));
  --west-gradient: linear-gradient(135deg, rgba(255, 45, 45, 0.18), rgba(163, 24, 24, 0.18));
}

.standings-shell {
  width: 100%;
  background: var(--standings-card-bg);
  border: 1px solid var(--standings-card-border);
  border-radius: 1.25rem;
  box-shadow: var(--standings-card-shadow);
  transition: box-shadow 200ms ease;
}

.standings-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0.75rem 0.25rem;
  overflow: hidden;
}

.standings-wrapper--dragging {
  cursor: grabbing;
}

.standings-grid {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  overflow: hidden;
  width: 100%;
  max-width: min(100%, 560px);
  margin: 0 auto;
}

.standings-column {
  flex: 1 1 0;
  min-width: 160px;
  max-width: 248px;
}

.standings-loading {
  padding: 3rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--nba-slate-500);
}

.conference-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0 0.2rem;
  font-weight: 600;
  color: var(--nba-slate-900);
  font-size: 0.85rem;
}

.conference-header .badge {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.conference-header .badge.east {
  background: var(--nba-blue-500);
}

.conference-header .badge.west {
  background: var(--nba-red-500);
}

.conference-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-radius: 0.9rem;
  padding: 0.6rem;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  min-height: 22rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  overflow: hidden;
}

.conference-list.east {
  border-left: 4px solid var(--nba-blue-500);
}

.conference-list.west {
  border-left: 4px solid var(--nba-red-500);
}

.conference-team {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--nba-slate-600);
  transition: box-shadow 160ms ease;
  cursor: grab;
  width: 100%;
}

.conference-team.dragging {
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
}

.conference-team:active {
  cursor: grabbing;
}

.conference-team .position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  min-width: 1.6rem;
  height: 1.35rem;
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.08);
  color: var(--nba-slate-600);
  font-weight: 700;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.conference-team .name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--nba-slate-900);
}

.conference-team .logo {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain;
}

.standings-empty {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--nba-slate-500);
}

.standings-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.standings-button {
  padding: 0.55rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.standings-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.standings-button.edit {
  background: var(--nba-blue-500);
  color: #fff;
}

.standings-button.save {
  background: var(--nba-blue-600);
  color: #fff;
}

.standings-button.cancel {
  background: var(--nba-red-500);
  color: #fff;
}

.standings-button.ghost {
  background: rgba(15, 23, 42, 0.05);
  color: var(--nba-slate-600);
}

.standings-button.ghost:hover {
  background: rgba(15, 23, 42, 0.1);
}

.standings-button:disabled {
  opacity: 0.55;
  pointer-events: none;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .conference-list {
    min-height: 20rem;
  }
}

@media (max-width: 640px) {
  .conference-list {
    min-height: 16rem;
  }
}

@media (max-width: 480px) {
  .standings-grid {
    gap: 0.5rem;
    max-width: min(100%, 520px);
  }
  .standings-column {
    min-width: 150px;
  }
  .conference-list {
    min-height: 16rem;
  }
}

@media (max-width: 360px) {
  .standings-column {
    min-width: 140px;
  }
}

.overunder-scale {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.45), rgba(255, 255, 255, 0.92));
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.overunder-scale::after {
  content: '';
  position: absolute;
  inset: 0.2rem;
  border-radius: 1.05rem;
  background: radial-gradient(circle at 50% 20%, rgba(148, 163, 184, 0.2), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.overunder-scale--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.overunder-choice {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  z-index: 1;
  padding: 0.8rem 1.05rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--nba-slate-600);
  transition: color 160ms ease, transform 160ms ease;
}

.overunder-choice::before {
  content: '';
  position: absolute;
  inset: 0.25rem;
  border-radius: 0.95rem;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 200ms ease, transform 220ms ease;
  z-index: -1;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.overunder-choice--over::before {
  background: linear-gradient(135deg, rgba(61, 126, 255, 0.25), rgba(31, 107, 255, 0.45));
}

.overunder-choice--under::before {
  background: linear-gradient(135deg, rgba(255, 71, 71, 0.25), rgba(255, 45, 45, 0.4));
}

.overunder-choice:not(.is-disabled):hover {
  color: var(--nba-slate-900);
}

.overunder-choice:not(.is-disabled):hover::before {
  opacity: 0.85;
  transform: scale(0.98);
}

.overunder-choice.is-selected {
  transform: translateY(-2px) scale(1.01);
}

.overunder-choice--over.is-selected {
  color: var(--nba-blue-600);
}

.overunder-choice--under.is-selected {
  color: var(--nba-red-600);
}

.overunder-choice.is-selected::before {
  opacity: 1;
  transform: scale(1);
}

.overunder-choice.is-disabled,
.overunder-choice.is-disabled:hover {
  cursor: not-allowed;
  color: rgba(100, 116, 139, 0.8);
}

.overunder-choice.is-disabled::before,
.overunder-choice.is-disabled:hover::before {
  opacity: 0;
  transform: scale(0.95);
  box-shadow: none;
}

.overunder-choice-label {
  font-size: 0.95rem;
  font-weight: 800;
}

.overunder-divider {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.9rem;
  min-width: 72px;
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-left: 1px dashed rgba(148, 163, 184, 0.35);
  border-right: 1px dashed rgba(148, 163, 184, 0.35);
}

.overunder-divider::before,
.overunder-divider::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 36%;
  background: linear-gradient(to bottom, transparent, rgba(148, 163, 184, 0.45), transparent);
  left: 50%;
  transform: translateX(-50%);
}

.overunder-divider::before {
  top: 0.35rem;
}

.overunder-divider::after {
  bottom: 0.35rem;
}

.overunder-divider-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: rgba(100, 116, 139, 0.85);
}

.overunder-divider-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--nba-slate-900);
  letter-spacing: 0.02em;
}

.overunder-indicator {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0.2rem;
  width: calc(50% - 0.35rem);
  border-radius: 1rem;
  opacity: 0;
  transform: translateX(0);
  transition: transform 260ms cubic-bezier(0.22, 0.9, 0.3, 1.1), opacity 180ms ease;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}

.overunder-scale--under .overunder-indicator {
  opacity: 1;
  transform: translateX(0);
  background: linear-gradient(135deg, rgba(255, 71, 71, 0.12), rgba(255, 45, 45, 0.32));
}

.overunder-scale--over .overunder-indicator {
  opacity: 1;
  transform: translateX(calc(100% + 0.45rem));
  background: linear-gradient(135deg, rgba(61, 126, 255, 0.12), rgba(31, 107, 255, 0.35));
}

.overunder-scale:not(.overunder-scale--under):not(.overunder-scale--over) .overunder-indicator {
  opacity: 0;
}

@media (max-width: 640px) {
  .overunder-scale {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    border-radius: 1.25rem;
  }
  .overunder-choice {
    padding: 0.7rem 0.65rem;
    font-size: 0.85rem;
  }
  .overunder-choice::before {
    inset: 0.2rem;
    border-radius: 0.85rem;
  }
  .overunder-divider {
    padding: 0.55rem 0.75rem;
    min-width: 64px;
  }
  .overunder-divider-value {
    font-size: 1rem;
  }
  .overunder-indicator {
    top: 0.18rem;
    bottom: 0.18rem;
    left: 0.18rem;
    width: calc(50% - 0.3rem);
    border-radius: 0.85rem;
  }
  .overunder-scale--over .overunder-indicator {
    transform: translateX(calc(100% + 0.4rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .overunder-choice,
  .overunder-choice::before {
    transition: none;
    transform: none !important;
  }
  .overunder-indicator {
    transition: none;
  }
}


.home-page-root {
  padding: 2.5rem 1.25rem 3.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .home-page-root {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }
}

.home-shell {
  width: 100%;
  max-width: 1160px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.home-hero {
  position: relative;
  border-radius: 24px;
  padding: 2rem;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--nba-blue-600), var(--nba-red-500));
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
}

@media (min-width: 1024px) {
  .home-hero {
    padding: 2.5rem 3rem;
  }
}



.home-hero__background {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.25), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.home-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 1;
}

.home-hero__body,
.home-hero__preview {
  flex: 1 1 auto;
}

@media (min-width: 900px) {
  .home-hero__content {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.75rem;
  }
  .home-hero__body {
    flex: 0 0 56%;
    max-width: 56%;
  }
  .home-hero__preview {
    flex: 0 0 44%;
    max-width: 44%;
    display: flex;
    align-items: stretch;
  }
}

.home-hero__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 560px;
}

.home-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  width: -moz-fit-content;
  width: fit-content;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.home-hero__brand img {
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}

.home-hero__meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.home-hero__body h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.home-hero__subcopy {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}

.home-hero__preview {
  margin-top: 0.25rem;
}

.home-hero__preview .home-submission-card {
  width: 100%;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.home-hero__preview .home-submission-card__board {
  background: rgba(248, 250, 252, 0.85);
}

.home-hero__preview .home-submission-card__fold {
  background: rgba(15, 23, 42, 0.05);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  border: 1px solid transparent;
}

.home-cta.primary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--nba-slate-900);
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.18);
}

.home-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.25);
}

.home-cta.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.home-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.home-hero__deadline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  width: -moz-fit-content;
  width: fit-content;
}

.home-hero__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(79, 255, 173, 0.22);
  color: #e9fffa;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.home-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .home-section__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.home-section__header h2 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--nba-slate-900);
  letter-spacing: -0.01em;
}

.home-section__header p {
  font-size: 0.95rem;
  color: var(--nba-slate-500);
  max-width: 720px;
  line-height: 1.6;
}

.home-section--tight {
  gap: 1.25rem;
}

.home-main {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.home-main__col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-main__col--primary {
  width: 100%;
}

.home-main__col--secondary {
  width: 100%;
}

@media (min-width: 1024px) {
  .home-main {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .home-main__col--primary {
    flex: 0 0 58%;
    max-width: 58%;
  }
  .home-main__col--secondary {
    flex: 0 0 42%;
    max-width: 42%;
  }
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nba-blue-600);
  transition: color 160ms ease;
}

.home-link:hover {
  color: var(--nba-red-500);
}

.home-feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.home-feature-card {
  position: relative;
  border-radius: 20px;
  padding: 1.5rem;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 1.1rem;
}

.home-feature-card--east {
  border-left: 5px solid var(--nba-blue-500);
}

.home-feature-card--west {
  border-left: 5px solid var(--nba-red-500);
}

.home-feature-card--default {
  border-left: 5px solid var(--nba-slate-400);
}

.home-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--nba-blue-600);
}

.home-feature-card--west .home-feature-card__icon {
  color: var(--nba-red-500);
}

.home-feature-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nba-slate-900);
  margin-bottom: 0.4rem;
}

.home-feature-card__body p {
  font-size: 0.92rem;
  color: var(--nba-slate-500);
  line-height: 1.6;
}

.home-onboarding-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-onboarding-card {
  padding: 1.4rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.home-onboarding-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(31, 107, 255, 0.12);
  color: var(--nba-blue-600);
}

.home-onboarding-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nba-slate-900);
  margin-bottom: 0.35rem;
}

.home-onboarding-card p {
  font-size: 0.9rem;
  color: var(--nba-slate-500);
  line-height: 1.6;
}

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

.home-stat-card {
  border-radius: 22px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.home-stat-card--link:hover {
  box-shadow: 0 24px 40px rgba(31, 107, 255, 0.18);
  transform: translateY(-2px);
}

.home-stat-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nba-blue-600);
}

.home-stat-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nba-slate-500);
}

.home-stat-card__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nba-slate-900);
}

.home-stat-card__subtle {
  font-size: 0.85rem;
  color: var(--nba-slate-500);
}

.home-submission-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem 1.4rem 1.3rem;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(246, 248, 252, 0.94), rgba(237, 242, 250, 0.86));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.home-submission-card--link {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-submission-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 46px rgba(15, 23, 42, 0.14);
}

.home-submission-card--complete {
  background: linear-gradient(165deg, rgba(232, 241, 255, 0.96), rgba(214, 228, 254, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.home-submission-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nba-slate-500);
}

.home-submission-card__title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--nba-slate-700);
}

.home-submission-card__title svg {
  color: var(--nba-blue-500);
}

.home-submission-card--complete .home-submission-card__title svg {
  color: var(--nba-blue-500);
}

.home-submission-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--nba-slate-500);
}

.home-submission-card__status svg {
  color: inherit;
}

.home-submission-card__board {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.home-submission-card__standings {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-submission-card__column header {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--nba-slate-400);
  margin-bottom: 0.35rem;
}

.home-submission-card__column--east header {
  color: var(--nba-blue-500);
}

.home-submission-card__column--west header {
  color: var(--nba-red-500);
}

.home-submission-card__column ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-submission-card__column li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--nba-slate-600);
  min-height: 28px;
  max-height: 28px;
}

.home-submission-card__seed {
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  min-width: 1.3rem;
  height: 1.1rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.08);
  text-align: center;
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--nba-slate-500);
}

.home-submission-card__team {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--nba-slate-700);
  font-size: 0.72rem;
}

.home-submission-card__sections {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px dashed rgba(148, 163, 184, 0.28);
}

.home-submission-card__section {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.75rem;
  color: var(--nba-slate-600);
}

.home-submission-card__section svg {
  margin-top: 0.05rem;
  color: var(--nba-blue-500);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.home-submission-card__section-label {
  display: block;
  font-weight: 700;
  line-height: 1.3;
}

.home-submission-card__section-meta {
  display: block;
  font-size: 0.68rem;
  color: var(--nba-slate-400);
  margin-top: 0.05rem;
  line-height: 1.2;
}

.home-submission-card__fold {
  margin-top: 0.25rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0));
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nba-slate-600);
}

.home-submission-card__fold svg {
  color: var(--nba-blue-500);
}

@media (max-width: 720px) {
  .home-submission-card__board {
    flex-direction: column;
  }
  .home-submission-card__sections {
    border-left: none;
    padding-left: 0;
    border-top: 1px dashed rgba(148, 163, 184, 0.28);
    padding-top: 0.75rem;
  }
}
.home-leaderboard {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.home-leaderboard__head,
.home-leaderboard__row {
  display: grid;
  grid-template-columns: 64px 1fr 120px;
  align-items: center;
  padding: 0.9rem 1.2rem;
  gap: 0.5rem;
}

.home-leaderboard__head {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 23, 42, 0.05);
  color: var(--nba-slate-500);
}

.home-leaderboard__body {
  display: flex;
  flex-direction: column;
}

.home-leaderboard__body a {
  text-decoration: none;
  color: inherit;
}

.home-leaderboard__row {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  transition: background 160ms ease, transform 160ms ease;
}

.home-leaderboard__row:hover {
  background: rgba(31, 107, 255, 0.06);
  transform: translateX(4px);
}

.home-leaderboard__rank {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nba-slate-500);
}

.home-leaderboard__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nba-slate-900);
}

.home-leaderboard__points {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nba-blue-600);
  text-align: right;
}

.home-leaderboard__empty {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--nba-slate-500);
}

.home-main__col--secondary .home-leaderboard {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
}

.home-main__col--secondary .home-leaderboard__body {
  flex: 1 1 auto;
  overflow-y: auto;
}

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

.home-standings-card {
  border-radius: 22px;
  padding: 1.2rem 1.4rem;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.home-standings-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--nba-slate-600);
  margin-bottom: 0.75rem;
}

.home-standings-card--east {
  border-top: 4px solid var(--nba-blue-500);
}

.home-standings-card--west {
  border-top: 4px solid var(--nba-red-500);
}

.home-standings-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  z-index: 1;
  opacity: 0.92;
}

.home-standings-card li {
  display: grid;
  grid-template-columns: 48px 1fr 68px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--nba-slate-600);
}

.home-standings-card__position {
  font-weight: 700;
  color: var(--nba-slate-500);
}

.home-standings-card__team {
  font-weight: 600;
  color: var(--nba-slate-900);
}

.home-standings-card__record {
  justify-self: end;
  font-family: ui-monospace, SFMono-Regular, SFMono, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  color: var(--nba-slate-500);
}

.home-standings-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.95));
}

.home-auth-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-auth-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 1rem;
}

.home-auth-modal {
  background: rgba(248, 250, 252, 0.9);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 280px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.home-hero__preview .home-auth-modal {
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.home-auth-modal p {
  font-size: 0.9rem;
  color: var(--nba-slate-500);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.home-hero__preview .home-auth-modal p {
  color: rgba(255, 255, 255, 0.8);
}

.home-auth-actions {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.home-auth-actions .home-cta {
  justify-content: center;
  width: 100%;
}

.home-auth-actions .home-cta.secondary {
  background: rgba(15, 23, 42, 0.05);
  border-color: transparent;
  color: var(--nba-slate-600);
}

.home-hero__preview .home-auth-actions .home-cta.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Dark Mode Overrides */
.dark .home-section__header h2 {
  color: var(--nba-slate-200);
}

.dark .home-section__header p {
  color: var(--nba-slate-400);
}

.dark .home-stat-card {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
}

.dark .home-stat-card--link:hover {
  box-shadow: 0 24px 40px rgba(31, 107, 255, 0.25);
}

.dark .home-stat-card__icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--nba-blue-400);
}

.dark .home-stat-card__label {
  color: var(--nba-slate-400);
}

.dark .home-stat-card__value {
  color: var(--nba-slate-100);
}

.dark .home-stat-card__subtle {
  color: var(--nba-slate-400);
}

.dark .home-leaderboard {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.25);
}

.dark .home-leaderboard__head {
  background: rgba(255, 255, 255, 0.05);
  color: var(--nba-slate-400);
}

.dark .home-leaderboard__row {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dark .home-leaderboard__row:hover {
  background: rgba(31, 107, 255, 0.1);
}

.dark .home-leaderboard__rank {
  color: var(--nba-slate-400);
}

.dark .home-leaderboard__name {
  color: var(--nba-slate-200);
}

.dark .home-leaderboard__points {
  color: var(--nba-blue-400);
}

.dark .home-link {
  color: var(--nba-blue-400);
}

.dark .home-link:hover {
  color: var(--nba-red-400);
}

.dark .home-standings-card {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.25);
}

.dark .home-standings-card header {
  color: var(--nba-slate-300);
}

.dark .home-standings-card__position {
  color: var(--nba-slate-400);
}

.dark .home-standings-card__team {
  color: var(--nba-slate-200);
}

.dark .home-standings-card__record {
  color: var(--nba-slate-400);
}

.dark .home-standings-card::after {
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.95));
}

/* Dark Mode for Editable Prediction Board */
.dark .standings-shell {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark .standings-loading {
  color: var(--nba-slate-400);
}

.dark .conference-header {
  color: var(--nba-slate-200);
}

.dark .conference-list {
  background: rgba(15, 23, 42, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark .conference-team {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--nba-slate-300);
}

.dark .conference-team.dragging {
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}

.dark .conference-team .position {
  background: rgba(255, 255, 255, 0.08);
  color: var(--nba-slate-300);
}

.dark .conference-team .name {
  color: var(--nba-slate-100);
}

.dark .standings-empty {
  color: var(--nba-slate-400);
}

.dark .standings-button {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.dark .standings-button:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.dark .standings-button.edit {
  background: var(--nba-blue-600);
}

.dark .standings-button.save {
  background: var(--nba-blue-700);
}

.dark .standings-button.cancel {
  background: var(--nba-red-600);
}

.dark .standings-button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--nba-slate-300);
}

.dark .standings-button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Custom Scrollbar Utilities */
.scrollbar-thin {
  scrollbar-width: thin;
}

.scrollbar-thin::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.scrollbar-thumb-slate-300::-webkit-scrollbar-thumb {
  background-color: rgb(203, 213, 225);
  border-radius: 9999px;
}

.scrollbar-track-transparent::-webkit-scrollbar-track {
  background-color: transparent;
}

.hover\:scrollbar-thumb-slate-400:hover::-webkit-scrollbar-thumb {
  background-color: rgb(148, 163, 184);
}

.dark .scrollbar-thumb-slate-600::-webkit-scrollbar-thumb {
  background-color: rgb(71, 85, 105);
}

.dark .hover\:scrollbar-thumb-slate-500:hover::-webkit-scrollbar-thumb {
  background-color: rgb(100, 116, 139);
}

/* Hide scrollbar completely for mobile-native feel */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}
.yesno-scale {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.45), rgba(255, 255, 255, 0.92));
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.yesno-scale::after {
  content: '';
  position: absolute;
  inset: 0.2rem;
  border-radius: 1.05rem;
  background: radial-gradient(circle at 50% 20%, rgba(148, 163, 184, 0.2), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.yesno-scale--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.yesno-choice {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  z-index: 1;
  padding: 0.8rem 1.05rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--nba-slate-600);
  transition: color 160ms ease, transform 160ms ease;
}

.yesno-choice::before {
  content: '';
  position: absolute;
  inset: 0.25rem;
  border-radius: 0.95rem;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 200ms ease, transform 220ms ease;
  z-index: -1;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.yesno-choice--yes::before {
  background: linear-gradient(135deg, rgba(61, 126, 255, 0.25), rgba(31, 107, 255, 0.45));
}

.yesno-choice--no::before {
  background: linear-gradient(135deg, rgba(255, 71, 71, 0.25), rgba(255, 45, 45, 0.4));
}

.yesno-choice:not(.is-disabled):hover {
  color: var(--nba-slate-900);
}

.yesno-choice:not(.is-disabled):hover::before {
  opacity: 0.85;
  transform: scale(0.98);
}

.yesno-choice.is-selected {
  transform: translateY(-2px) scale(1.01);
}

.yesno-choice--yes.is-selected {
  color: var(--nba-blue-600);
}

.yesno-choice--no.is-selected {
  color: var(--nba-red-600);
}

.yesno-choice.is-selected::before {
  opacity: 1;
  transform: scale(1);
}

.yesno-indicator {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0.2rem;
  width: calc(50% - 0.2rem);
  border-radius: 1rem;
  opacity: 0;
  transform: translateX(0);
  transition: transform 260ms cubic-bezier(0.22, 0.9, 0.3, 1.1), opacity 180ms ease;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}

.yesno-scale--no .yesno-indicator {
  opacity: 1;
  transform: translateX(calc(100% + 0.05rem));
  background: linear-gradient(135deg, rgba(255, 71, 71, 0.12), rgba(255, 45, 45, 0.32));
}

.yesno-scale--yes .yesno-indicator {
  opacity: 1;
  transform: translateX(0);
  background: linear-gradient(135deg, rgba(61, 126, 255, 0.12), rgba(31, 107, 255, 0.35));
}

.head-to-head-scale {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.45), rgba(255, 255, 255, 0.92));
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.head-to-head-scale::after {
  content: '';
  position: absolute;
  inset: 0.2rem;
  border-radius: 1.05rem;
  background: radial-gradient(circle at 50% 20%, rgba(148, 163, 184, 0.2), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.head-to-head-scale--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.head-to-head-choice {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  padding: 1rem 1.05rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--nba-slate-600);
  transition: color 160ms ease, transform 160ms ease;
  text-align: center;
}

.head-to-head-logo {
  width: 48px;
  height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 160ms ease;
}

.head-to-head-name {
  font-size: 0.8rem;
  font-weight: 600;
}

.head-to-head-choice::before {
  content: '';
  position: absolute;
  inset: 0.25rem;
  border-radius: 0.95rem;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 200ms ease, transform 220ms ease;
  z-index: -1;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.head-to-head-choice--team1::before {
  background: linear-gradient(135deg, rgba(61, 126, 255, 0.25), rgba(31, 107, 255, 0.45));
}

.head-to-head-choice--team2::before {
  background: linear-gradient(135deg, rgba(255, 71, 71, 0.25), rgba(255, 45, 45, 0.4));
}

.head-to-head-choice:not(.is-disabled):hover {
  color: var(--nba-slate-900);
}

.head-to-head-choice:not(.is-disabled):hover::before {
  opacity: 0.85;
  transform: scale(0.98);
}

.head-to-head-choice:not(.is-disabled):hover .head-to-head-logo {
  transform: scale(1.08);
}

.head-to-head-choice.is-selected {
  transform: translateY(-2px) scale(1.01);
}

.head-to-head-choice--team1.is-selected {
  color: var(--nba-blue-600);
}

.head-to-head-choice--team2.is-selected {
  color: var(--nba-red-600);
}

.head-to-head-choice.is-selected::before {
  opacity: 1;
  transform: scale(1);
}

.head-to-head-indicator {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0.2rem;
  width: calc(50% - 0.2rem);
  border-radius: 1rem;
  opacity: 0;
  transform: translateX(0);
  transition: transform 260ms cubic-bezier(0.22, 0.9, 0.3, 1.1), opacity 180ms ease;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}

.head-to-head-scale--team2 .head-to-head-indicator {
  opacity: 1;
  transform: translateX(calc(100% + 0.05rem));
  background: linear-gradient(135deg, rgba(255, 71, 71, 0.12), rgba(255, 45, 45, 0.32));
}

.head-to-head-scale--team1 .head-to-head-indicator {
  opacity: 1;
  transform: translateX(0);
  background: linear-gradient(135deg, rgba(61, 126, 255, 0.12), rgba(31, 107, 255, 0.35));
}



