*, ::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.19 | 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: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 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: var(--font-mono), 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]:where(:not([hidden="until-found"])) {
  display: none;
}
  :root {
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "DM Sans", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
    --radius: 0.75rem;

    /* Tournament Hall — light mode, warm analog preset */
    --background: 0.97 0.005 120;
    --foreground: 0.25 0.01 120;
    --card: 0.92 0.03 85;
    --card-foreground: 0.25 0.01 120;
    --popover: 0.95 0.02 85;
    --popover-foreground: 0.25 0.01 120;

    --primary: 0.5 0.1 130;
    --primary-foreground: 0.97 0.005 120;

    --secondary: 0.92 0.03 85;
    --secondary-foreground: 0.4 0.05 130;
    --muted: 0.94 0.01 100;
    --muted-foreground: 0.5 0.02 120;

    --accent: 0.72 0.15 85;
    --accent-foreground: 0.25 0.01 120;

    /*
     * Drinking feature accent — distinct from the exercise accent so drinking
     * toasts read as a separate mode at a glance. Warm grape/wine (hue ~330)
     * is deliberately a different hue family from the exercise accent's amber
     * (hue 85): amber reads as "physical effort" while grape reads as
     * "wine/cocktail", so the two toast families are distinguishable even
     * without reading the icon. Used by the drinking-toast left border +
     * martini icon + neon glow.
     */
    --drinking-accent: 0.55 0.18 330;

    --destructive: 0.55 0.22 25;
    --destructive-foreground: 0.97 0.005 120;

    --border: 0.88 0.02 100;
    --input: 0.88 0.02 100;
    --ring: 0.5 0.1 130;

    /*
     * Toast surface tokens — offset from --card so toasts read as a distinct
     * overlay band rather than blending into the card surface. Light theme:
     * --toast-bg is ~20% darker than --card (0.92 -> 0.72) so the toast
     * stands out against the cream card; --toast-border is a dark color that
     * contrasts with the light theme (a 2px dark border frames the toast).
     * Used by .exercise-toast and .drinking-toast (background + border only).
     */
    --toast-bg: 0.72 0.03 85;
    --toast-border: 0.25 0.02 85;

    /* Team accents — White vs Black */
    --team-white: 0.95 0.02 85;
    --team-white-foreground: 0.25 0.01 120;
    --team-black: 0.25 0.01 120;
    --team-black-foreground: 0.95 0.02 85;

    /* Chessboard squares — olive green + beige */
    --board-light: 0.92 0.03 85;
    --board-dark: 0.55 0.08 130;
    --board-border: 0.4 0.06 130;
    --board-highlight: 0.72 0.15 85;
    --board-last-move: 0.7 0.13 100;

    --chart-1: 0.5 0.1 130;
    --chart-2: 0.72 0.15 85;
    --chart-3: 0.55 0.22 25;
    --chart-4: 0.95 0.02 85;
    --chart-5: 0.25 0.01 120;

    --sidebar: 0.95 0.02 85;
    --sidebar-foreground: 0.25 0.01 120;
    --sidebar-primary: 0.5 0.1 130;
    --sidebar-primary-foreground: 0.97 0.005 120;
    --sidebar-accent: 0.92 0.03 85;
    --sidebar-accent-foreground: 0.4 0.05 130;
    --sidebar-border: 0.88 0.02 100;
    --sidebar-ring: 0.5 0.1 130;

    /*
     * Branding buffer tokens — light mode (Tournament Hall, simple elegant).
     * Buffers reuse the cream card surface with a hairline rule in the primary
     * hue and a refined letter-spaced wordmark. Understated: no glow, no
     * ornament beyond a single thin rule above and below the buffer band.
     */
    --buffer-bg: 0.92 0.03 85;
    --buffer-fg: 0.25 0.01 120;
    --buffer-rule: 0.5 0.1 130;
    --buffer-accent: 0.5 0.1 130;

    /* Piece fills — merida SVG glyphs read these via var(--piece-*).
     * Light theme: warm cream white pieces, dark walnut black pieces, baked
     * dark outline on white pieces so they stay visible on olive squares. */
    --piece-white-fill: #f0d9b5;
    --piece-black-fill: #3a2a1a;
    --piece-outline: #3a2a1a;

    /*
     * Chessboard outer square size — single shared reference for the board's
     * width AND height. Sized to the largest true square that fits BOTH the
     * available viewport width AND the available viewport height.
     *
     * The layout is a single centered vertical stack (Board then Players then
     * Moves then Chat) on ALL viewports — there are no side panels alongside
     * the board, so the width term no longer subtracts any side-panel width.
     *
     * Width term: 100dvw minus a small horizontal margin (2rem = Layout p-2
     * 1rem on each side) so the board targets the actual available viewport
     * width. On narrow phones this naturally produces a small board; on
     * desktop the centered column max-width (~700px) caps the board's width
     * before this term ever binds.
     * Height term: 100dvh minus the vertical chrome above the board (header,
     * padding, TurnIndicator, BoardToolbar, file/rank gutters ≈ 14rem) so the
     * full 8x8 board — top and bottom rows — is always visible without
     * scrolling, leaving the stacked panels below to scroll within the page.
     * min() picks the smaller of width/height so the board is always a true
     * square that fits both axes. clamp() floors the board at 14rem so it
     * never collapses to nothing on very small screens and caps it at 100lvh
     * so it never exceeds the viewport.
     */
    --chess-board-size: clamp(
      14rem,
      min(calc(100dvw - 2rem), calc(100lvh - 14rem)),
      100lvh
    );
  }

  .dark {
    --background: 0.22 0.01 120;
    --foreground: 0.92 0.02 85;
    --card: 0.28 0.02 120;
    --card-foreground: 0.92 0.02 85;
    --popover: 0.3 0.02 120;
    --popover-foreground: 0.92 0.02 85;

    --primary: 0.6 0.12 130;
    --primary-foreground: 0.22 0.01 120;

    --secondary: 0.32 0.02 120;
    --secondary-foreground: 0.85 0.02 85;
    --muted: 0.32 0.02 120;
    --muted-foreground: 0.7 0.02 100;

    --accent: 0.75 0.14 85;
    --accent-foreground: 0.22 0.01 120;

    /*
     * Drinking feature accent — warm grape/wine, lifted in lightness on the
     * dark slate surface so the drinking toasts glow against the moody card.
     * Hue 330 matches the light-mode drinking accent (grape, distinct from
     * the exercise amber); chroma/lightness tuned for the dark background.
     */
    --drinking-accent: 0.65 0.18 330;

    --destructive: 0.6 0.2 25;
    --destructive-foreground: 0.22 0.01 120;

    --border: 0.38 0.02 120;
    --input: 0.38 0.02 120;
    --ring: 0.6 0.12 130;

    /*
     * Toast surface tokens — offset from --card so toasts read as a distinct
     * overlay band rather than blending into the card surface. Dark theme:
     * --toast-bg is ~20% lighter than --card (0.28 -> 0.48) so the toast
     * stands out against the moody slate card; --toast-border is a light
     * color that contrasts with the dark theme (a 2px light border frames
     * the toast). Used by .exercise-toast and .drinking-toast (background +
     * border only).
     */
    --toast-bg: 0.48 0.02 120;
    --toast-border: 0.85 0.02 120;

    --team-white: 0.88 0.025 85;
    --team-white-foreground: 0.22 0.01 120;
    --team-black: 0.32 0.01 120;
    --team-black-foreground: 0.88 0.025 85;

    --board-light: 0.55 0.06 130;
    --board-dark: 0.32 0.04 130;
    --board-border: 0.45 0.05 130;
    --board-highlight: 0.75 0.14 85;
    --board-last-move: 0.65 0.12 100;

    --chart-1: 0.6 0.12 130;
    --chart-2: 0.75 0.14 85;
    --chart-3: 0.6 0.2 25;
    --chart-4: 0.88 0.025 85;
    --chart-5: 0.32 0.01 120;

    --sidebar: 0.28 0.02 120;
    --sidebar-foreground: 0.92 0.02 85;
    --sidebar-primary: 0.6 0.12 130;
    --sidebar-primary-foreground: 0.22 0.01 120;
    --sidebar-accent: 0.32 0.02 120;
    --sidebar-accent-foreground: 0.85 0.02 85;
    --sidebar-border: 0.38 0.02 120;
    --sidebar-ring: 0.6 0.12 130;

    /*
     * Branding buffer tokens — dark mode (Gothic, moody, ornate). Deeper slate
     * than the card surface for a recessed, candlelit-band feel. Ornament
     * comes from a double hairline rule (top + bottom) in a muted antique-gold
     * hue and a wide letter-spaced uppercase wordmark in the display weight —
     * no neon glow (dark mode is glow-free by constraint).
     */
    --buffer-bg: 0.18 0.015 120;
    --buffer-fg: 0.82 0.03 85;
    --buffer-rule: 0.62 0.06 75;
    --buffer-accent: 0.62 0.06 75;

    /* Piece fills — high-contrast cream white pieces vs deep slate black
     * pieces on dark slate board. Baked dark outline preserved on white
     * pieces. NO neon. */
    --piece-white-fill: #f5e6c8;
    --piece-black-fill: #1e293b;
    --piece-outline: #0f172a;
  }

  /*
   * Dark neon theme — near-black background with a subtle dark purple tint
   * (#0a0a14). Board squares alternate dark slate (#1e293b) and muted violet
   * (#2d1b3d). White pieces fill neon cyan (#22d3ee) with a soft cyan
   * drop-shadow glow; black pieces fill neon magenta (#e879f9) with a soft
   * magenta glow. Accents (buttons, highlights, chat bubbles) use neon cyan
   * and magenta. Text is high-contrast white/light gray. The baked dark
   * outline on white pieces is preserved (set to a near-black violet) so
   * cyan-filled white pieces stay legible on dark/violet squares.
   */
  .dark-neon {
    --background: 0.14 0.02 280;
    --foreground: 0.95 0.01 250;
    --card: 0.18 0.03 280;
    --card-foreground: 0.95 0.01 250;
    --popover: 0.2 0.035 280;
    --popover-foreground: 0.95 0.01 250;

    --primary: 0.82 0.15 200;
    --primary-foreground: 0.14 0.02 280;

    --secondary: 0.24 0.06 310;
    --secondary-foreground: 0.92 0.06 310;
    --muted: 0.22 0.03 280;
    --muted-foreground: 0.7 0.02 250;

    --accent: 0.72 0.2 320;
    --accent-foreground: 0.14 0.02 280;

    /*
     * Drinking feature accent — neon grape/magenta for the synthwave theme.
     * Hue 330 keeps the grape identity of the other themes while the higher
     * chroma + neon glow (see .dark-neon .drinking-toast below) lets the
     * drinking toasts read as part of the neon palette. Distinct from the
     * exercise accent (cyan/magenta team hues) so the two toast families
     * stay distinguishable in neon mode.
     */
    --drinking-accent: 0.72 0.22 330;

    --destructive: 0.62 0.24 25;
    --destructive-foreground: 0.95 0.01 250;

    --border: 0.3 0.05 290;
    --input: 0.3 0.05 290;
    --ring: 0.82 0.15 200;

    /*
     * Toast surface tokens — offset from --card so toasts read as a distinct
     * overlay band rather than blending into the card surface. Neon theme:
     * --toast-bg is ~20% lighter than --card (0.18 -> 0.38) so the toast
     * stands out against the near-black purple card; --toast-border is a
     * light color that contrasts with the neon theme (a 2px light border
     * frames the toast). Used by .exercise-toast and .drinking-toast
     * (background + border only).
     */
    --toast-bg: 0.38 0.03 280;
    --toast-border: 0.85 0.05 290;

    --team-white: 0.82 0.15 200;
    --team-white-foreground: 0.14 0.02 280;
    --team-black: 0.72 0.2 320;
    --team-black-foreground: 0.14 0.02 280;

    --board-light: 0.32 0.04 250;
    --board-dark: 0.22 0.06 300;
    --board-border: 0.4 0.08 290;
    --board-highlight: 0.82 0.15 200;
    --board-last-move: 0.72 0.2 320;

    --chart-1: 0.82 0.15 200;
    --chart-2: 0.72 0.2 320;
    --chart-3: 0.62 0.24 25;
    --chart-4: 0.95 0.01 250;
    --chart-5: 0.22 0.06 300;

    --sidebar: 0.18 0.03 280;
    --sidebar-foreground: 0.95 0.01 250;
    --sidebar-primary: 0.82 0.15 200;
    --sidebar-primary-foreground: 0.14 0.02 280;
    --sidebar-accent: 0.24 0.06 310;
    --sidebar-accent-foreground: 0.92 0.06 310;
    --sidebar-border: 0.3 0.05 290;
    --sidebar-ring: 0.82 0.15 200;

    /*
     * Branding buffer tokens — neon mode (80s retro / synthwave). Near-black
     * purple band so the cyan/magenta wordmark glow reads against it. Rule is
     * a cyan→magenta gradient cue; the wordmark carries the dual neon glow
     * via the .dark-neon-scoped .buffer-neon-glow utility (static glow only —
     * no animated grid, per scope).
     */
    --buffer-bg: 0.12 0.03 290;
    --buffer-fg: 0.92 0.06 200;
    --buffer-rule: 0.82 0.15 200;
    --buffer-accent: 0.72 0.2 320;

    /* Piece fills — neon cyan white pieces, neon magenta black pieces.
     * Outline preserved on white pieces (near-black violet) for legibility
     * on dark/violet squares. */
    --piece-white-fill: #22d3ee;
    --piece-black-fill: #e879f9;
    --piece-outline: #0a0a14;
  }

  /*
   * Fire theme — warm ember palette on a dark background. White pieces fill a
   * warm fire red (#d62828) so the "white" team reads as molten flame; black
   * pieces fill a near-black charcoal (#2b2b2b) so the "black" team reads as
   * charred wood. Board squares alternate near-white (#fafaf9) and warm
   * orange (#f97316) so the board itself looks like glowing embers. Surfaces
   * (background, card, popover) use warm darks with a low-chroma ember tint
   * (hue ~35) so the whole UI evokes a fireside glow while text stays high-
   * contrast cream. This is a dark-ish theme, so the toast offset goes
   * LIGHTER than the card (like .dark / .dark-neon). Static background — no
   * animation, no neon-glow utilities.
   */
  .theme-fire {
    --background: 0.2 0.015 35;
    --foreground: 0.92 0.02 60;
    --card: 0.26 0.025 35;
    --card-foreground: 0.92 0.02 60;
    --popover: 0.28 0.03 35;
    --popover-foreground: 0.92 0.02 60;

    --primary: 0.62 0.18 28;
    --primary-foreground: 0.97 0.01 60;

    --secondary: 0.32 0.03 35;
    --secondary-foreground: 0.85 0.03 60;
    --muted: 0.3 0.02 35;
    --muted-foreground: 0.7 0.025 60;

    --accent: 0.7 0.17 45;
    --accent-foreground: 0.2 0.015 35;

    /*
     * Drinking feature accent — keep the grape/wine hue 330 identity so
     * drinking toasts stay distinguishable from the fire exercise accent
     * (warm amber/orange). Lifted in lightness for the dark ember surface.
     */
    --drinking-accent: 0.65 0.18 330;

    --destructive: 0.6 0.22 25;
    --destructive-foreground: 0.97 0.01 60;

    --border: 0.36 0.03 35;
    --input: 0.36 0.03 35;
    --ring: 0.62 0.18 28;

    /*
     * Toast surface tokens — offset from --card so toasts read as a distinct
     * overlay band. Fire is a dark-ish theme, so --toast-bg is ~20% LIGHTER
     * than --card (0.26 -> 0.46) so the toast stands out against the warm
     * dark card; --toast-border is a light warm color that frames the toast.
     * Used by .exercise-toast and .drinking-toast (background + border only).
     */
    --toast-bg: 0.46 0.03 45;
    --toast-border: 0.85 0.03 50;

    --team-white: 0.62 0.18 28;
    --team-white-foreground: 0.97 0.01 60;
    --team-black: 0.3 0.01 35;
    --team-black-foreground: 0.9 0.02 60;

    /* Chessboard squares — near-white + warm orange (glowing embers) */
    --board-light: 0.95 0.005 90;
    --board-dark: 0.68 0.16 45;
    --board-border: 0.5 0.12 40;
    --board-highlight: 0.72 0.18 50;
    --board-last-move: 0.7 0.16 55;

    --chart-1: 0.62 0.18 28;
    --chart-2: 0.7 0.17 45;
    --chart-3: 0.6 0.22 25;
    --chart-4: 0.9 0.02 60;
    --chart-5: 0.3 0.01 35;

    --sidebar: 0.26 0.025 35;
    --sidebar-foreground: 0.92 0.02 60;
    --sidebar-primary: 0.62 0.18 28;
    --sidebar-primary-foreground: 0.97 0.01 60;
    --sidebar-accent: 0.32 0.03 35;
    --sidebar-accent-foreground: 0.85 0.03 60;
    --sidebar-border: 0.36 0.03 35;
    --sidebar-ring: 0.62 0.18 28;

    /*
     * Branding buffer tokens — fire mode (warm ember band). Deeper warm dark
     * than the card surface for a recessed, smoldering-band feel. A single
     * warm-orange hairline rule frames the band; the wordmark carries the
     * warm cream foreground. No glow (fire is glow-free by constraint).
     */
    --buffer-bg: 0.18 0.02 35;
    --buffer-fg: 0.85 0.03 60;
    --buffer-rule: 0.62 0.16 40;
    --buffer-accent: 0.62 0.16 40;

    /* Piece fills — fire red for White, charcoal for Black. Outline a dark
     * charcoal so the red white-pieces stay legible on near-white and
     * orange squares. NO neon, NO glow. */
    --piece-white-fill: #d62828;
    --piece-black-fill: #2b2b2b;
    --piece-outline: #1a1a1a;
  }

  /*
   * Water theme — cool deep-blue palette on a dark background. White pieces
   * fill a light sky blue (#7dd3fc) so the "white" team reads as clear
   * water; black pieces fill a deep navy blue (#1e3a8a) with a white/near-
   * white outline (#f8fafc) so the "black" team reads as white-outlined navy.
   * Board squares alternate off-white (#f1f5f9) and near-black (#0f172a) so
   * the board itself looks like light reflecting on deep water. Surfaces
   * (background, card, popover) use cool darks with a blue tint (hue ~240)
   * so the whole UI evokes a deep-water feel while text stays high-contrast
   * light. This is a dark-ish theme, so the toast offset goes LIGHTER than
   * the card (like .dark / .dark-neon). Static background — no animation, no
   * neon-glow utilities.
   */
  .theme-water {
    --background: 0.2 0.025 240;
    --foreground: 0.92 0.015 220;
    --card: 0.26 0.03 240;
    --card-foreground: 0.92 0.015 220;
    --popover: 0.28 0.035 240;
    --popover-foreground: 0.92 0.015 220;

    --primary: 0.62 0.14 230;
    --primary-foreground: 0.14 0.03 240;

    --secondary: 0.32 0.035 240;
    --secondary-foreground: 0.85 0.03 220;
    --muted: 0.3 0.025 240;
    --muted-foreground: 0.7 0.02 220;

    --accent: 0.72 0.13 210;
    --accent-foreground: 0.16 0.03 240;

    /*
     * Drinking feature accent — keep the grape/wine hue 330 identity so
     * drinking toasts stay distinguishable from the water exercise accent
     * (cool blue). Lifted in lightness for the dark deep-blue surface.
     */
    --drinking-accent: 0.65 0.18 330;

    --destructive: 0.6 0.2 25;
    --destructive-foreground: 0.95 0.015 220;

    --border: 0.36 0.03 240;
    --input: 0.36 0.03 240;
    --ring: 0.62 0.14 230;

    /*
     * Toast surface tokens — offset from --card so toasts read as a distinct
     * overlay band. Water is a dark-ish theme, so --toast-bg is ~20% LIGHTER
     * than --card (0.26 -> 0.46) so the toast stands out against the deep-
     * blue card; --toast-border is a light cool color that frames the toast.
     * Used by .exercise-toast and .drinking-toast (background + border only).
     */
    --toast-bg: 0.46 0.03 230;
    --toast-border: 0.85 0.02 220;

    --team-white: 0.82 0.1 210;
    --team-white-foreground: 0.16 0.03 240;
    --team-black: 0.32 0.06 260;
    --team-black-foreground: 0.9 0.02 220;

    /* Chessboard squares — off-white + near-black (light on deep water) */
    --board-light: 0.93 0.01 220;
    --board-dark: 0.22 0.03 250;
    --board-border: 0.4 0.04 245;
    --board-highlight: 0.72 0.13 210;
    --board-last-move: 0.7 0.12 200;

    --chart-1: 0.62 0.14 230;
    --chart-2: 0.72 0.13 210;
    --chart-3: 0.6 0.2 25;
    --chart-4: 0.9 0.02 220;
    --chart-5: 0.22 0.03 250;

    --sidebar: 0.26 0.03 240;
    --sidebar-foreground: 0.92 0.015 220;
    --sidebar-primary: 0.62 0.14 230;
    --sidebar-primary-foreground: 0.14 0.03 240;
    --sidebar-accent: 0.32 0.035 240;
    --sidebar-accent-foreground: 0.85 0.03 220;
    --sidebar-border: 0.36 0.03 240;
    --sidebar-ring: 0.62 0.14 230;

    /*
     * Branding buffer tokens — water mode (deep-water band). Deeper cool
     * dark than the card surface for a recessed, submerged-band feel. A
     * single cool-blue hairline rule frames the band; the wordmark carries
     * the light cool foreground. No glow (water is glow-free by constraint).
     */
    --buffer-bg: 0.18 0.025 245;
    --buffer-fg: 0.85 0.03 220;
    --buffer-rule: 0.62 0.14 230;
    --buffer-accent: 0.62 0.14 230;

    /* Piece fills — light sky blue for White, deep navy for Black. Outline
     * set to a dark slate so the light blue white-pieces are clearly visible
     * on the light board squares (the .piece-white-outline utility uses
     * --piece-outline as the stroke color, applied to white-team glyphs; the
     * light blue fill needs a dark outline to read against off-white squares,
     * and the token is shared so the navy black-pieces also pick it up). NO
     * neon, NO glow. */
    --piece-white-fill: #7dd3fc;
    --piece-black-fill: #1e3a8a;
    --piece-outline: #0f172a;
  }

  /*
   * Bubblegum theme — soft pastel pink + sky blue accents on a light
   * background. NOT a full rainbow gradient: the palette is deliberately
   * restrained to soft pastel pinks and sky blues so the UI reads as a
   * gentle, almost confectionary light theme rather than a saturated
   * spectrum. White pieces fill a soft pastel pink (#f9a8d4); black pieces
   * fill a soft pastel sky blue (#93c5fd); the outline is a soft neutral so
   * the pink white-pieces stay legible on traditional white and black
   * squares. Board squares are traditional chess white (#f0d9b5) and black
   * (#333333) so the board keeps its classic read under the pastel pieces.
   * Surfaces (background, card, popover) use very light warm-neutral tones
   * with a faint pink tint so the chrome carries the bubblegum identity
   * without competing with the pieces. This is a light-ish theme, so the
   * toast offset goes DARKER than the card (like :root). Static background —
   * no animation, no neon-glow utilities.
   */
  .theme-bubblegum {
    --background: 0.97 0.012 350;
    --foreground: 0.28 0.02 280;
    --card: 0.94 0.018 350;
    --card-foreground: 0.28 0.02 280;
    --popover: 0.96 0.015 350;
    --popover-foreground: 0.28 0.02 280;

    --primary: 0.7 0.13 350;
    --primary-foreground: 0.97 0.012 350;

    --secondary: 0.92 0.025 210;
    --secondary-foreground: 0.4 0.06 250;
    --muted: 0.94 0.015 340;
    --muted-foreground: 0.5 0.025 280;

    --accent: 0.78 0.1 210;
    --accent-foreground: 0.28 0.02 280;

    /*
     * Drinking feature accent — keep the grape/wine hue 330 identity so
     * drinking toasts stay distinguishable from the bubblegum exercise accent
     * (pastel pink/blue). Tuned for the light pastel surface.
     */
    --drinking-accent: 0.55 0.18 330;

    --destructive: 0.55 0.22 25;
    --destructive-foreground: 0.97 0.012 350;

    --border: 0.88 0.018 340;
    --input: 0.88 0.018 340;
    --ring: 0.7 0.13 350;

    /*
     * Toast surface tokens — offset from --card so toasts read as a distinct
     * overlay band. Bubblegum is a light-ish theme, so --toast-bg is ~20%
     * DARKER than --card (0.94 -> 0.74) so the toast stands out against the
     * pastel card; --toast-border is a dark soft color that frames the
     * toast. Used by .exercise-toast and .drinking-toast (background +
     * border only).
     */
    --toast-bg: 0.74 0.025 340;
    --toast-border: 0.3 0.02 280;

    --team-white: 0.82 0.08 350;
    --team-white-foreground: 0.28 0.02 280;
    --team-black: 0.7 0.08 230;
    --team-black-foreground: 0.97 0.012 350;

    /* Chessboard squares — traditional white + black */
    --board-light: 0.92 0.03 85;
    --board-dark: 0.3 0.01 280;
    --board-border: 0.4 0.02 280;
    --board-highlight: 0.82 0.08 350;
    --board-last-move: 0.78 0.1 210;

    --chart-1: 0.7 0.13 350;
    --chart-2: 0.78 0.1 210;
    --chart-3: 0.55 0.22 25;
    --chart-4: 0.82 0.08 350;
    --chart-5: 0.7 0.08 230;

    --sidebar: 0.95 0.015 350;
    --sidebar-foreground: 0.28 0.02 280;
    --sidebar-primary: 0.7 0.13 350;
    --sidebar-primary-foreground: 0.97 0.012 350;
    --sidebar-accent: 0.92 0.025 210;
    --sidebar-accent-foreground: 0.4 0.06 250;
    --sidebar-border: 0.88 0.018 340;
    --sidebar-ring: 0.7 0.13 350;

    /*
     * Branding buffer tokens — bubblegum mode (soft pastel band). Light pastel
     * pink band with a soft sky-blue hairline rule and a soft neutral
     * wordmark. Understated: no glow, no ornament beyond a single thin rule
     * above and below the buffer band. Carries the pastel pink + sky blue
     * identity without a full rainbow gradient.
     */
    --buffer-bg: 0.94 0.018 350;
    --buffer-fg: 0.4 0.06 280;
    --buffer-rule: 0.7 0.13 350;
    --buffer-accent: 0.78 0.1 210;

    /* Piece fills — soft pastel pink for White, soft pastel sky blue for
     * Black. Outline a soft neutral so the pink white-pieces stay legible
     * on traditional white and black squares. NO neon, NO glow. */
    --piece-white-fill: #f9a8d4;
    --piece-black-fill: #93c5fd;
    --piece-outline: #6b7280;
  }

  * {
  border-color: oklch(var(--border));
}
  /*
   * Full-height app shell: html/body/#root all stretch to 100% so the desktop
   * app owns its own scrolling regions (board column, chat column, player
   * panel) instead of the page scrolling as a whole. Desktop keeps body
   * overflow auto so very tall content can still scroll the page if a panel
   * grows beyond the viewport.
   *
   * On mobile (max-width: 768px) the body is NOT locked to the viewport —
   * the page itself scrolls vertically so a finger-drag brings the lower
   * panels (chat, players, move history) into view below the fixed board.
   * overscroll-behavior: contain keeps panel-internal momentum scroll from
   * bouncing the whole page at the document edge, without clipping the
   * document's own scroll.
   */
  html,
  body,
  #root {
    height: 100%;
  }
  @media (max-width: 768px) {
    body {
      overscroll-behavior: contain;
    }
  }
  body {
  background-color: oklch(var(--background));
  font-family: var(--font-body), sans-serif;
  color: oklch(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
  html,
  body {
    /*
     * Theme-switch fade — animate background-color, color, and border-color
     * over 250ms when the .dark / .dark-neon class toggles on <html>. Keeps
     * the swap from snapping; respects reduced-motion by disabling the
     * transition entirely so theme changes are instant for those users.
     */
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms
      cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms
      cubic-bezier(0.4, 0, 0.2, 1);
  }
  @media (prefers-reduced-motion: reduce) {
    html,
    body {
      transition: none;
    }
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
  font-family: var(--font-display), serif;
}
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}
@media (min-width: 1400px) {

  .container {
    max-width: 1400px;
  }
}
.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;
}
.pointer-events-none {
  pointer-events: none;
}
.\!visible {
  visibility: visible !important;
}
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.inset-x-0 {
  left: 0px;
  right: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.-bottom-12 {
  bottom: -3rem;
}
.-left-12 {
  left: -3rem;
}
.-right-1 {
  right: -0.25rem;
}
.-right-12 {
  right: -3rem;
}
.-top-1 {
  top: -0.25rem;
}
.-top-12 {
  top: -3rem;
}
.-top-3 {
  top: -0.75rem;
}
.bottom-0 {
  bottom: 0px;
}
.left-0 {
  left: 0px;
}
.left-1\/2 {
  left: 50%;
}
.left-2 {
  left: 0.5rem;
}
.left-\[50\%\] {
  left: 50%;
}
.right-0 {
  right: 0px;
}
.right-1 {
  right: 0.25rem;
}
.right-2 {
  right: 0.5rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.top-0 {
  top: 0px;
}
.top-1 {
  top: 0.25rem;
}
.top-1\.5 {
  top: 0.375rem;
}
.top-1\/2 {
  top: 50%;
}
.top-3\.5 {
  top: 0.875rem;
}
.top-4 {
  top: 1rem;
}
.top-\[-10\%\] {
  top: -10%;
}
.top-\[1px\] {
  top: 1px;
}
.top-\[50\%\] {
  top: 50%;
}
.top-\[60\%\] {
  top: 60%;
}
.top-full {
  top: 100%;
}
.isolate {
  isolation: isolate;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-30 {
  z-index: 30;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.z-\[1\] {
  z-index: 1;
}
.z-\[80\] {
  z-index: 80;
}
.col-start-2 {
  grid-column-start: 2;
}
.row-span-2 {
  grid-row: span 2 / span 2;
}
.row-start-1 {
  grid-row-start: 1;
}
.-mx-1 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-3\.5 {
  margin-left: 0.875rem;
  margin-right: 0.875rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-0\.5 {
  margin-top: 0.125rem;
  margin-bottom: 0.125rem;
}
.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.-ml-4 {
  margin-left: -1rem;
}
.-mt-4 {
  margin-top: -1rem;
}
.mb-0\.5 {
  margin-bottom: 0.125rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-0\.5 {
  margin-left: 0.125rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-auto {
  margin-left: auto;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-auto {
  margin-top: auto;
}
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.table-caption {
  display: table-caption;
}
.table-cell {
  display: table-cell;
}
.table-row {
  display: table-row;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.size-16 {
  width: 4rem;
  height: 4rem;
}
.size-2 {
  width: 0.5rem;
  height: 0.5rem;
}
.size-2\.5 {
  width: 0.625rem;
  height: 0.625rem;
}
.size-3 {
  width: 0.75rem;
  height: 0.75rem;
}
.size-3\.5 {
  width: 0.875rem;
  height: 0.875rem;
}
.size-4 {
  width: 1rem;
  height: 1rem;
}
.size-5 {
  width: 1.25rem;
  height: 1.25rem;
}
.size-6 {
  width: 1.5rem;
  height: 1.5rem;
}
.size-7 {
  width: 1.75rem;
  height: 1.75rem;
}
.size-8 {
  width: 2rem;
  height: 2rem;
}
.size-9 {
  width: 2.25rem;
  height: 2.25rem;
}
.size-\[18px\] {
  width: 18px;
  height: 18px;
}
.size-auto {
  width: auto;
  height: auto;
}
.size-full {
  width: 100%;
  height: 100%;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-2 {
  height: 0.5rem;
}
.h-2\.5 {
  height: 0.625rem;
}
.h-3 {
  height: 0.75rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-64 {
  height: 16rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[1\.15rem\] {
  height: 1.15rem;
}
.h-\[22px\] {
  height: 22px;
}
.h-\[28rem\] {
  height: 28rem;
}
.h-\[32rem\] {
  height: 32rem;
}
.h-\[calc\(100\%-1px\)\] {
  height: calc(100% - 1px);
}
.h-\[calc\(var\(--chess-board-size\)\/8\)\] {
  height: calc(var(--chess-board-size) / 8);
}
.h-\[var\(--radix-navigation-menu-viewport-height\)\] {
  height: var(--radix-navigation-menu-viewport-height);
}
.h-\[var\(--radix-select-trigger-height\)\] {
  height: var(--radix-select-trigger-height);
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.h-svh {
  height: 100svh;
}
.max-h-40 {
  max-height: 10rem;
}
.max-h-48 {
  max-height: 12rem;
}
.max-h-\[300px\] {
  max-height: 300px;
}
.max-h-\[88vh\] {
  max-height: 88vh;
}
.min-h-0 {
  min-height: 0px;
}
.min-h-16 {
  min-height: 4rem;
}
.min-h-4 {
  min-height: 1rem;
}
.min-h-7 {
  min-height: 1.75rem;
}
.min-h-9 {
  min-height: 2.25rem;
}
.min-h-dvh {
  min-height: 100dvh;
}
.min-h-screen {
  min-height: 100vh;
}
.min-h-svh {
  min-height: 100svh;
}
.w-0 {
  width: 0px;
}
.w-1 {
  width: 0.25rem;
}
.w-1\/2 {
  width: 50%;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-2 {
  width: 0.5rem;
}
.w-2\.5 {
  width: 0.625rem;
}
.w-2\/3 {
  width: 66.666667%;
}
.w-24 {
  width: 6rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\/4 {
  width: 75%;
}
.w-4 {
  width: 1rem;
}
.w-5 {
  width: 1.25rem;
}
.w-64 {
  width: 16rem;
}
.w-72 {
  width: 18rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[100px\] {
  width: 100px;
}
.w-\[22px\] {
  width: 22px;
}
.w-\[calc\(var\(--chess-board-size\)\/8\)\] {
  width: calc(var(--chess-board-size) / 8);
}
.w-\[min\(92vw\2c 40rem\)\] {
  width: min(92vw, 40rem);
}
.w-auto {
  width: auto;
}
.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}
.w-full {
  width: 100%;
}
.w-max {
  width: -moz-max-content;
  width: max-content;
}
.w-px {
  width: 1px;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-10 {
  min-width: 2.5rem;
}
.min-w-5 {
  min-width: 1.25rem;
}
.min-w-8 {
  min-width: 2rem;
}
.min-w-9 {
  min-width: 2.25rem;
}
.min-w-\[12rem\] {
  min-width: 12rem;
}
.min-w-\[8rem\] {
  min-width: 8rem;
}
.min-w-\[var\(--radix-select-trigger-width\)\] {
  min-width: var(--radix-select-trigger-width);
}
.max-w-\[700px\] {
  max-width: 700px;
}
.max-w-\[85\%\] {
  max-width: 85%;
}
.max-w-\[8rem\] {
  max-width: 8rem;
}
.max-w-\[calc\(100\%-2rem\)\] {
  max-width: calc(100% - 2rem);
}
.max-w-max {
  max-width: -moz-max-content;
  max-width: max-content;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-sm {
  max-width: 24rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink {
  flex-shrink: 1;
}
.shrink {
  flex-shrink: 1;
}
.shrink-0 {
  flex-shrink: 0;
}
.grow {
  flex-grow: 1;
}
.grow-0 {
  flex-grow: 0;
}
.basis-full {
  flex-basis: 100%;
}
.caption-bottom {
  caption-side: bottom;
}
.border-collapse {
  border-collapse: collapse;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-x-px {
  --tw-translate-x: -1px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-full {
  --tw-translate-y: -100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-\[-50\%\] {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-px {
  --tw-translate-x: 1px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-0\.5 {
  --tw-translate-y: 0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-\[-50\%\] {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-\[calc\(-50\%_-_2px\)\] {
  --tw-translate-y: calc(-50% - 2px);
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-45 {
  --tw-rotate: 45deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-90 {
  --tw-rotate: 90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-default {
  cursor: default;
}
.cursor-pointer {
  cursor: pointer;
}
.touch-none {
  touch-action: none;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.resize {
  resize: both;
}
.scroll-my-1 {
  scroll-margin-top: 0.25rem;
  scroll-margin-bottom: 0.25rem;
}
.scroll-py-1 {
  scroll-padding-top: 0.25rem;
  scroll-padding-bottom: 0.25rem;
}
.list-none {
  list-style-type: none;
}
.auto-rows-min {
  grid-auto-rows: min-content;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-8 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.grid-cols-\[0_1fr\] {
  grid-template-columns: 0 1fr;
}
.grid-cols-\[2rem_1fr_1fr\] {
  grid-template-columns: 2rem 1fr 1fr;
}
.grid-rows-8 {
  grid-template-rows: repeat(8, minmax(0, 1fr));
}
.grid-rows-\[auto_auto\] {
  grid-template-rows: auto auto;
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-col-reverse {
  flex-direction: column-reverse;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.items-stretch {
  align-items: stretch;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-items-start {
  justify-items: start;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-y-0\.5 {
  row-gap: 0.125rem;
}
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.self-start {
  align-self: flex-start;
}
.self-center {
  align-self: center;
}
.justify-self-end {
  justify-self: end;
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-normal {
  white-space: normal;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.text-balance {
  text-wrap: balance;
}
.break-words {
  overflow-wrap: break-word;
}
.break-all {
  word-break: break-all;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-\[2px\] {
  border-radius: 2px;
}
.rounded-\[4px\] {
  border-radius: 4px;
}
.rounded-\[inherit\] {
  border-radius: inherit;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: var(--radius);
}
.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}
.rounded-none {
  border-radius: 0px;
}
.rounded-sm {
  border-radius: calc(var(--radius) - 4px);
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-l-md {
  border-top-left-radius: calc(var(--radius) - 2px);
  border-bottom-left-radius: calc(var(--radius) - 2px);
}
.rounded-r-md {
  border-top-right-radius: calc(var(--radius) - 2px);
  border-bottom-right-radius: calc(var(--radius) - 2px);
}
.rounded-bl-sm {
  border-bottom-left-radius: calc(var(--radius) - 4px);
}
.rounded-br-sm {
  border-bottom-right-radius: calc(var(--radius) - 4px);
}
.rounded-tl-sm {
  border-top-left-radius: calc(var(--radius) - 4px);
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-4 {
  border-width: 4px;
}
.border-\[1\.5px\] {
  border-width: 1.5px;
}
.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-l {
  border-left-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-accent\/40 {
  border-color: oklch(var(--accent) / 0.4);
}
.border-accent\/60 {
  border-color: oklch(var(--accent) / 0.6);
}
.border-border {
  border-color: oklch(var(--border));
}
.border-destructive\/20 {
  border-color: oklch(var(--destructive) / 0.2);
}
.border-destructive\/40 {
  border-color: oklch(var(--destructive) / 0.4);
}
.border-input {
  border-color: oklch(var(--input));
}
.border-primary {
  --tw-border-opacity: 1;
  border-color: oklch(var(--primary) / var(--tw-border-opacity, 1));
}
.border-primary\/30 {
  border-color: oklch(var(--primary) / 0.3);
}
.border-sidebar-border {
  border-color: oklch(var(--sidebar-border));
}
.border-transparent {
  border-color: transparent;
}
.border-l-transparent {
  border-left-color: transparent;
}
.border-t-primary {
  --tw-border-opacity: 1;
  border-top-color: oklch(var(--primary) / var(--tw-border-opacity, 1));
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-accent {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}
.bg-accent\/10 {
  background-color: oklch(var(--accent) / 0.1);
}
.bg-accent\/15 {
  background-color: oklch(var(--accent) / 0.15);
}
.bg-accent\/20 {
  background-color: oklch(var(--accent) / 0.2);
}
.bg-accent\/5 {
  background-color: oklch(var(--accent) / 0.05);
}
.bg-background {
  background-color: oklch(var(--background));
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-border {
  background-color: oklch(var(--border));
}
.bg-card {
  background-color: oklch(var(--card));
}
.bg-chart-2 {
  background-color: oklch(var(--chart-2));
}
.bg-chart-3 {
  background-color: oklch(var(--chart-3));
}
.bg-chart-4 {
  background-color: oklch(var(--chart-4));
}
.bg-destructive {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--destructive) / var(--tw-bg-opacity, 1));
}
.bg-destructive\/10 {
  background-color: oklch(var(--destructive) / 0.1);
}
.bg-destructive\/15 {
  background-color: oklch(var(--destructive) / 0.15);
}
.bg-destructive\/5 {
  background-color: oklch(var(--destructive) / 0.05);
}
.bg-foreground {
  background-color: oklch(var(--foreground));
}
.bg-muted {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--muted) / var(--tw-bg-opacity, 1));
}
.bg-muted\/40 {
  background-color: oklch(var(--muted) / 0.4);
}
.bg-muted\/50 {
  background-color: oklch(var(--muted) / 0.5);
}
.bg-popover {
  background-color: oklch(var(--popover));
}
.bg-primary {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}
.bg-primary\/10 {
  background-color: oklch(var(--primary) / 0.1);
}
.bg-primary\/15 {
  background-color: oklch(var(--primary) / 0.15);
}
.bg-primary\/20 {
  background-color: oklch(var(--primary) / 0.2);
}
.bg-primary\/5 {
  background-color: oklch(var(--primary) / 0.05);
}
.bg-secondary {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--secondary) / var(--tw-bg-opacity, 1));
}
.bg-sidebar {
  background-color: oklch(var(--sidebar));
}
.bg-sidebar-border {
  background-color: oklch(var(--sidebar-border));
}
.bg-transparent {
  background-color: transparent;
}
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-card {
  --tw-gradient-from: oklch(var(--card)) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}
.fill-current {
  fill: currentColor;
}
.fill-primary {
  fill: oklch(var(--primary) / 1);
}
.p-0 {
  padding: 0px;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.p-\[3px\] {
  padding: 3px;
}
.p-\[6\%\] {
  padding: 6%;
}
.p-px {
  padding: 1px;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pl-8 {
  padding-left: 2rem;
}
.pr-1 {
  padding-right: 0.25rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pr-2\.5 {
  padding-right: 0.625rem;
}
.pr-8 {
  padding-right: 2rem;
}
.pt-0 {
  padding-top: 0px;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.align-middle {
  vertical-align: middle;
}
.font-body {
  font-family: var(--font-body), sans-serif;
}
.font-display {
  font-family: var(--font-display), serif;
}
.font-mono {
  font-family: var(--font-mono), monospace;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-\[0\.8rem\] {
  font-size: 0.8rem;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.italic {
  font-style: italic;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.leading-5 {
  line-height: 1.25rem;
}
.leading-none {
  line-height: 1;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.text-accent {
  --tw-text-opacity: 1;
  color: oklch(var(--accent) / var(--tw-text-opacity, 1));
}
.text-accent-foreground {
  color: oklch(var(--accent-foreground));
}
.text-border {
  color: oklch(var(--border));
}
.text-card-foreground {
  color: oklch(var(--card-foreground));
}
.text-current {
  color: currentColor;
}
.text-destructive {
  --tw-text-opacity: 1;
  color: oklch(var(--destructive) / var(--tw-text-opacity, 1));
}
.text-destructive-foreground {
  color: oklch(var(--destructive-foreground));
}
.text-foreground {
  color: oklch(var(--foreground));
}
.text-muted-foreground {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}
.text-muted-foreground\/60 {
  color: oklch(var(--muted-foreground) / 0.6);
}
.text-popover-foreground {
  color: oklch(var(--popover-foreground));
}
.text-primary {
  --tw-text-opacity: 1;
  color: oklch(var(--primary) / var(--tw-text-opacity, 1));
}
.text-primary-foreground {
  color: oklch(var(--primary-foreground));
}
.text-secondary-foreground {
  color: oklch(var(--secondary-foreground));
}
.text-sidebar-foreground {
  color: oklch(var(--sidebar-foreground));
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opacity-0 {
  opacity: 0;
}
.opacity-100 {
  opacity: 1;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-70 {
  opacity: 0.7;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\] {
  --tw-shadow: 0 0 0 1px hsl(var(--sidebar-border));
  --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-board-elevated {
  --tw-shadow: 0 10px 30px -8px oklch(0.25 0.06 130 / 0.25), 0 4px 12px -4px oklch(0.25 0.06 130 / 0.15);
  --tw-shadow-colored: 0 10px 30px -8px var(--tw-shadow-color), 0 4px 12px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-none {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xs {
  --tw-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-0 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-4 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-inset {
  --tw-ring-inset: inset;
}
.ring-accent\/50 {
  --tw-ring-color: oklch(var(--accent) / 0.5);
}
.ring-border {
  --tw-ring-color: oklch(var(--border));
}
.ring-primary {
  --tw-ring-opacity: 1;
  --tw-ring-color: oklch(var(--primary) / var(--tw-ring-opacity, 1));
}
.ring-ring\/50 {
  --tw-ring-color: oklch(var(--ring) / 0.5);
}
.ring-sidebar-ring {
  --tw-ring-color: oklch(var(--sidebar-ring));
}
.ring-offset-background {
  --tw-ring-offset-color: oklch(var(--background));
}
.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  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);
}
.drop-shadow-sm {
  --tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
  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-sm {
  --tw-backdrop-blur: blur(4px);
  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, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[color\2c box-shadow\] {
  transition-property: color,box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[left\2c right\2c width\] {
  transition-property: left,right,width;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[margin\2c opacity\] {
  transition-property: margin,opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[width\2c height\2c padding\] {
  transition-property: width,height,padding;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[width\] {
  transition-property: width;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-none {
  transition-property: none;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-1000 {
  transition-duration: 1000ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-linear {
  transition-timing-function: linear;
}
.\@container\/card-header {
  container-type: inline-size;
  container-name: card-header;
}
@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}
.animate-in {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}
.fade-in-0 {
  --tw-enter-opacity: 0;
}
.zoom-in-95 {
  --tw-enter-scale: .95;
}
.duration-1000 {
  animation-duration: 1000ms;
}
.duration-200 {
  animation-duration: 200ms;
}
.duration-300 {
  animation-duration: 300ms;
}
.ease-in-out {
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-linear {
  animation-timing-function: linear;
}
.running {
  animation-play-state: running;
}
.paused {
  animation-play-state: paused;
}
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
/*
   * Chessboard outer square — width AND height bound to the shared
   * --chess-board-size variable so the grid is a true square. The 8
   * aspect-square cells inside fill this square exactly (each cell =
   * var(--chess-board-size) / 8). Pieces track via w-full h-full on the
   * piece-span, so they stay on the same reference frame.
   */
.chess-board {
    width: var(--chess-board-size);
    height: var(--chess-board-size);
  }
/* Chessboard square tokens */
.board-square-light {
    background-color: oklch(var(--board-light));
  }
.board-square-dark {
    background-color: oklch(var(--board-dark));
  }
.board-square-highlight {
    background-color: oklch(var(--board-highlight));
  }
.board-square-last-move {
    background-color: oklch(var(--board-last-move));
  }
.board-border {
    border-color: oklch(var(--board-border));
  }
/* Team accent tokens */
.team-white {
    background-color: oklch(var(--team-white));
    color: oklch(var(--team-white-foreground));
  }
.team-black {
    background-color: oklch(var(--team-black));
    color: oklch(var(--team-black-foreground));
  }
.text-team-white {
    color: oklch(var(--team-white));
  }
.text-team-black {
    color: oklch(var(--team-black));
  }
/*
   * White piece outline — the white team color (OKLCH 0.95/0.02/85) is nearly
   * transparent against the beige --board-light squares. A dark text-stroke
   * plus a layered dark text-shadow gives the white Unicode Staunton glyphs a
   * solid, high-contrast edge on BOTH beige and olive-green squares without
   * altering the glyphs themselves. Black pieces already read well and stay
   * untouched.
   */
.piece-white-outline {
    -webkit-text-stroke: 0.04em var(--piece-outline, oklch(0.22 0.02 120));
    text-shadow:
      0 0 0.04em var(--piece-outline, oklch(0.22 0.02 120)),
      0.02em 0.02em 0.04em var(--piece-outline, oklch(0.22 0.02 120)),
      -0.02em -0.02em 0.04em var(--piece-outline, oklch(0.22 0.02 120)),
      0.02em -0.02em 0.04em var(--piece-outline, oklch(0.22 0.02 120)),
      -0.02em 0.02em 0.04em var(--piece-outline, oklch(0.22 0.02 120));
  }
.ring-team-white {
    --tw-ring-color: oklch(var(--team-white));
  }
.ring-team-black {
    --tw-ring-color: oklch(var(--team-black));
  }
/*
   * Board highlight overlays — three distinct translucent layers that sit
   * UNDER the piece (the piece-span renders after these in the square's DOM
   * order, so it paints on top). Each is an absolutely-positioned full-square
   * span with pointer-events-none so it never blocks clicks. Colors are OKLCH
   * and consistent with the Tournament Hall palette.
   *
   * These utilities do NOT alter board sizing, coordinate alignment, or piece
   * rendering — they are additive overlay layers only.
   */
/* Last-move highlight: warm amber/yellow translucent overlay on the from
   * and to squares of the most recent move. */
.sq-last-move {
    background-color: oklch(0.78 0.15 85 / 0.45);
    box-shadow: inset 0 0 0 1px oklch(0.78 0.15 85 / 0.6);
  }
/* Selected-square highlight: cool blue/green translucent overlay on the
   * square the active Move_Maker has clicked to select. Distinct from the
   * last-move amber. */
.sq-selected {
    background-color: oklch(0.62 0.14 220 / 0.45);
    box-shadow: inset 0 0 0 1px oklch(0.62 0.14 220 / 0.65);
  }
/* Destination-intent highlight: subtle teal/green translucent overlay on
   * the square the active Move_Maker has tapped as the intended destination
   * (set, but not yet confirmed). Distinct from the cool-blue sq-selected
   * source glow and the amber sq-last-move highlight — a different hue
   * (green ~160) at the same low saturation/opacity so it reads as a
   * sibling indicator without clashing with check (red) or last-move
   * (amber). A dashed inset ring distinguishes intent from the solid
   * selected ring. */
.sq-destination {
    background-color: oklch(0.7 0.13 160 / 0.4);
    box-shadow: inset 0 0 0 1px oklch(0.7 0.13 160 / 0.7);
  }
/* Check indicator: red translucent overlay with a subtle pulsing
   * animation on the king's square of the side that is in check. The
   * animation pulses opacity only (transform/opacity — never layout). */
.sq-check {
    background-color: oklch(0.55 0.22 25 / 0.5);
    box-shadow: inset 0 0 0 2px oklch(0.55 0.22 25 / 0.8);
    animation: check-flash 1.1s ease-in-out infinite;
  }
@keyframes check-flash {
    0%,
    100% {
      opacity: 0.55;
    }
    50% {
      opacity: 1;
    }
  }
/* Honor reduced-motion: stop the check pulse but keep the static red
   * overlay so the indicator is still visible. */
@media (prefers-reduced-motion: reduce) {
    .sq-check {
      animation: none;
      opacity: 0.75;
    }
  }
/*
   * Momentum scroll — apply to any scrollable panel (chat column, move list,
   * player panel, roster) to get native-feeling inertial scrolling on
   * iOS/Safari and Samsung Internet. -webkit-overflow-scrolling: touch gives
   * the momentum feel; overscroll-behavior: contain stops the panel from
   * bouncing the whole page; scroll-behavior: smooth keeps programmatic
   * scrolls soft. Safe on desktop (no-op where unsupported).
   */
.momentum-scroll {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: oklch(var(--muted-foreground) / 0.3)
      oklch(var(--muted) / 0.5);
  }
@media (prefers-reduced-motion: reduce) {
    .momentum-scroll {
      scroll-behavior: auto;
    }
  }
/*
   * Subtle themed scrollbars for .momentum-scroll panels so users can see
   * there is more content to scroll. WebKit/Chromium get thin
   * ::-webkit-scrollbar with a faded track (oklch(var(--muted)/0.5)) and a
   * slightly more visible thumb (oklch(var(--muted-foreground)/0.3)) that
   * brightens on hover/active. Firefox gets the equivalent via the
   * scrollbar-width / scrollbar-color set above. Both use the Tournament
   * Hall OKLCH tokens so the scrollbars match the theme in light and dark.
   */
.momentum-scroll::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
  }
.momentum-scroll::-webkit-scrollbar-track {
    background: oklch(var(--muted) / 0.5);
    border-radius: 9999px;
  }
.momentum-scroll::-webkit-scrollbar-thumb {
    background-color: oklch(var(--muted-foreground) / 0.3);
    border-radius: 9999px;
    border: 0.125rem solid transparent;
    background-clip: padding-box;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
  }
.momentum-scroll::-webkit-scrollbar-thumb:hover {
    background-color: oklch(var(--muted-foreground) / 0.5);
  }
.momentum-scroll::-webkit-scrollbar-thumb:active {
    background-color: oklch(var(--muted-foreground) / 0.65);
  }
.momentum-scroll::-webkit-scrollbar-corner {
    background: transparent;
  }
/*
   * Roster panel scrollbar — pre-existing subtle always-visible scrollbar
   * for roster panels. Kept intact; .momentum-scroll above is the general
   * panel utility.
   */
.roster-scroll {
    scrollbar-width: thin;
    scrollbar-color: oklch(var(--muted-foreground) / 0.4) transparent;
  }
.roster-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
.roster-scroll::-webkit-scrollbar-track {
    background: transparent;
  }
.roster-scroll::-webkit-scrollbar-thumb {
    background-color: oklch(var(--muted-foreground) / 0.4);
    border-radius: 9999px;
  }
.roster-scroll::-webkit-scrollbar-thumb:hover {
    background-color: oklch(var(--muted-foreground) / 0.6);
  }
/*
   * Scroll fade overlays — gradient masks a panel can layer at its top and/or
   * bottom edge to hint at more content above/below the visible region. Use
   * as absolutely-positioned, pointer-events-none children of a relative
   * panel. The gradient fades from the panel background
   * (oklch(var(--background))) to transparent so it reads as a soft content
   * edge, not a hard line.
   */
.scroll-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5rem;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      oklch(var(--background)) 0%,
      oklch(var(--background) / 0) 100%
    );
    z-index: 1;
  }
.scroll-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5rem;
    pointer-events: none;
    background: linear-gradient(
      to top,
      oklch(var(--background)) 0%,
      oklch(var(--background) / 0) 100%
    );
    z-index: 1;
  }
/*
   * has-more shadow — drop-in inset shadow affordance for panels that want a
   * single class to signal "more content" above/below without the gradient
   * mask. Toggle .has-more-top / .has-more-bottom from a scroll listener
   * based on whether scrollTop > 0 and scrollTop + clientHeight <
   * scrollHeight. The combined selector layers both shadows when both are
   * active (box-shadow does not stack across separate classes by default).
   */
.has-more-bottom {
    box-shadow: inset 0 -0.5rem 0.75rem -0.5rem
      oklch(var(--muted-foreground) / 0.35);
  }
.has-more-top {
    box-shadow: inset 0 0.5rem 0.75rem -0.5rem
      oklch(var(--muted-foreground) / 0.35);
  }
.has-more-top.has-more-bottom {
    box-shadow: inset 0 0.5rem 0.75rem -0.5rem
      oklch(var(--muted-foreground) / 0.35), inset 0 -0.5rem 0.75rem -0.5rem
      oklch(var(--muted-foreground) / 0.35);
  }
/*
   * Piece-slide animation — applied to the absolutely-positioned overlay
   * pieces in the animation layer. The overlay piece is placed at its origin
   * square with `transition: none` for one frame, then the slide class is
   * applied with a transform to the destination square so the browser
   * animates the transform over the slide duration. We transition ONLY
   * transform (GPU-accelerated, never layout) and use a snappy cubic-bezier
   * that feels like a chess piece being placed. Duration 200ms sits in the
   * 150–300ms target range and reads as a deliberate move, not a flicker.
   *
   * The `.piece-slide-start` class is the initial (no-transition) state; the
   * `.piece-slide-end` class carries the transition + destination transform.
   * The Chessboard flips from start → end on the next animation frame.
   */
.piece-slide-start {
    transition: none;
    will-change: transform;
  }
.piece-slide-end {
    transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
/*
   * Capture-fade animation — applied to the captured piece in the animation
   * overlay. The captured piece is rendered at its square at full opacity
   * with `transition: none` for one frame, then the fade class is applied
   * with `opacity: 0` so it fades out over ~150ms while the capturing piece
   * slides in on top. We transition ONLY opacity (never layout). Duration
   * 150ms is short enough to feel like the piece is being removed, not like
   * it's slowly vanishing.
   */
.piece-capture-fade-start {
    transition: none;
    will-change: opacity;
  }
.piece-capture-fade-end {
    transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
    opacity: 0;
  }
/*
   * Reduced-motion snap — when the user prefers reduced motion, all slide
   * and capture-fade transitions are disabled so pieces snap instantly to
   * their destination. The JS-side useReducedMotion hook also short-
   * circuits the animation overlay entirely, but these rules ensure any
   * in-flight CSS transition is also instant (defense in depth) and that
   * the overlay pieces never animate even if the hook is bypassed.
   */
@media (prefers-reduced-motion: reduce) {
    .piece-slide-start,
    .piece-slide-end,
    .piece-capture-fade-start,
    .piece-capture-fade-end {
      transition: none !important;
    }
    .piece-capture-fade-end {
      opacity: 0;
    }
  }
/*
   * Neon piece glow — applied to the piece-span wrapper in .dark-neon only.
   * White pieces (cyan fill) get a soft cyan drop-shadow; black pieces
   * (magenta fill) get a soft magenta drop-shadow. Two layered shadows give
   * a tight inner glow plus a wider ambient halo. Disabled in light/dark
   * themes (only .dark-neon descendants receive the glow). The piece glyphs
   * themselves are untouched — this is purely an additive filter.
   */
.dark-neon .piece-glow-white {
    filter: drop-shadow(0 0 0.12em oklch(0.82 0.15 200 / 0.9))
      drop-shadow(0 0 0.35em oklch(0.82 0.15 200 / 0.55));
  }
.dark-neon .piece-glow-black {
    filter: drop-shadow(0 0 0.12em oklch(0.72 0.2 320 / 0.9))
      drop-shadow(0 0 0.35em oklch(0.72 0.2 320 / 0.55));
  }
/*
   * Neon surface glow — optional accent glow for buttons/highlights/chat
   * bubbles in .dark-neon. Layered box-shadows (tight + ambient) in the
   * theme's cyan/magenta accent hues. Apply via .neon-glow-cyan /
   * .neon-glow-magenta utility classes on .dark-neon surfaces.
   */
.dark-neon .neon-glow-cyan {
    box-shadow: 0 0 0 1px oklch(0.82 0.15 200 / 0.4), 0 0 0.5em
      oklch(0.82 0.15 200 / 0.35), 0 0 1.5em oklch(0.82 0.15 200 / 0.2);
  }
.dark-neon .neon-glow-magenta {
    box-shadow: 0 0 0 1px oklch(0.72 0.2 320 / 0.4), 0 0 0.5em
      oklch(0.72 0.2 320 / 0.35), 0 0 1.5em oklch(0.72 0.2 320 / 0.2);
  }
/*
   * Branding buffers — two fixed-height bands (~72px top wordmark, ~64px
   * bottom tagline) that frame the centered vertical stack as future
   * advertising space. They scroll with the page (no sticky/fixed) and sit
   * inside the same mx-auto max-w-[700px] column as the board and panels.
   *
   * Three aesthetics, one token surface:
   *  - Light (:root)        — simple, elegant: cream band, hairline primary
   *                           rule, refined letter-spaced wordmark. No glow.
   *  - Dark (.dark)         — Gothic, moody, ornate: recessed slate band,
   *                           double antique-gold hairline rules, wide
   *                           tracked uppercase wordmark. No glow.
   *  - Neon (.dark-neon)    — 80s synthwave: near-black purple band, cyan→
   *                           magenta gradient rule, dual neon wordmark glow.
   *
   * The base .brand-buffer class is theme-agnostic structure (height, flex
   * centering, font, letter-spacing). Per-theme visual identity comes from
   * the --buffer-* tokens plus the .dark-neon-scoped glow utility below.
   * Light and dark need no scoped overrides — their tokens carry the look.
   */
.brand-buffer {
    background-color: oklch(var(--buffer-bg));
    color: oklch(var(--buffer-fg));
    border-top: 1px solid oklch(var(--buffer-rule) / 0.55);
    border-bottom: 1px solid oklch(var(--buffer-rule) / 0.55);
  }
/* Top buffer — wordmark band. Fixed ~72px, display font, centered. */
.brand-buffer-top {
    height: 4.5rem; /* ~72px */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
/* Bottom buffer — tagline band. Fixed ~64px, body/mono font, centered. */
.brand-buffer-bottom {
    height: 4rem; /* ~64px */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
/*
   * Wordmark — the styled 'Team Chess Online' logo text. Letter-spacing gives
   * it a confident, branded feel in light; in dark the wide tracking reads
   * as Gothic ornament; in neon it becomes the retro synthwave title. The
   * optional leading glyph (♞) inherits the same color and tracking.
   */
.brand-wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
  }
/* Gothic dark mode — push the wordmark tracking wider for an ornate,
   * inscription-like cadence and lift the weight slightly so the display
   * font reads as carved rather than printed. */
.dark .brand-wordmark {
    letter-spacing: 0.32em;
    font-weight: 700;
  }
/* Tagline — small, muted, refined. Mono in dark/neon for a quiet
   * technical footer; body in light for warmth. */
.brand-tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: oklch(var(--buffer-fg) / 0.7);
  }
.dark .brand-tagline,
  .dark-neon .brand-tagline {
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
  }
/*
   * Ornate double rule — dark mode only. Replaces the single hairline with a
   * paired antique-gold rule (a thin outer line inset from the buffer edge)
   * to give the Gothic band its carved-frame feel. Achieved with a layered
   * box-shadow inset so no extra DOM is needed. Light mode keeps the simple
   * single border; neon gets its gradient rule below.
   */
.dark .brand-buffer {
    border-top: 1px solid oklch(var(--buffer-rule) / 0.7);
    border-bottom: 1px solid oklch(var(--buffer-rule) / 0.7);
    box-shadow: inset 0 0.25rem 0 0 oklch(var(--buffer-bg)), inset 0 0.3rem 0 0
      oklch(var(--buffer-rule) / 0.35), inset 0 -0.25rem 0 0
      oklch(var(--buffer-bg)), inset 0 -0.3rem 0 0
      oklch(var(--buffer-rule) / 0.35);
  }
/*
   * Neon gradient rule — .dark-neon only. Swaps the flat border for a
   * cyan→magenta gradient hairline top and bottom, evoking the synthwave
   * horizon line. The gradient is a background-image on a 1px band so it
   * reads as a glowing edge without an animated grid (static glow only).
   */
.dark-neon .brand-buffer {
    border-top: none;
    border-bottom: none;
    background-image: linear-gradient(
        to right,
        oklch(0.82 0.15 200 / 0.9),
        oklch(0.72 0.2 320 / 0.9)
      ),
      linear-gradient(
        to right,
        oklch(0.82 0.15 200 / 0.9),
        oklch(0.72 0.2 320 / 0.9)
      );
    background-size: 100% 1px, 100% 1px;
    background-position: top, bottom;
    background-repeat: no-repeat;
  }
/*
   * Neon wordmark glow — .dark-neon only. Layered cyan + magenta text-shadow
   * gives the wordmark a retro neon-tube sign glow. Static (no animation).
   * The tagline gets a softer single-hue glow so it doesn't compete with the
   * wordmark. Disabled in light/dark (only .dark-neon descendants glow).
   */
.dark-neon .brand-wordmark {
    text-shadow: 0 0 0.08em oklch(0.82 0.15 200 / 0.9), 0 0 0.25em
      oklch(0.82 0.15 200 / 0.6), 0 0 0.5em oklch(0.72 0.2 320 / 0.45);
  }
.dark-neon .brand-tagline {
    text-shadow: 0 0 0.15em oklch(0.82 0.15 200 / 0.5);
  }
/*
   * Login wordmark — the lowercase 'jalca' header on the Login_Page (route
   * '/'). This is a SEPARATE element from the Layout's .brand-wordmark: it
   * lives inside the login card, not the app shell buffer, and it carries
   * its own per-theme font treatment so each of the six themes gives the
   * header a visibly distinct look (family, weight, letter-spacing, color,
   * glow). The text content is always lowercase 'jalca' (set in JSX), and
   * text-transform is forced to none here so no inherited uppercase rule
   * (e.g. the .brand-wordmark's uppercase) can re-capitalize it.
   *
   * Per-theme overrides are scoped to the active theme class on <html>
   * (light = no class, dark = .dark, neon = .dark-neon, fire = .theme-fire,
   * water = .theme-water, bubblegum = .theme-bubblegum) and target ONLY
   * .login-wordmark — the Layout wordmark and everything else are untouched.
   */
.login-wordmark {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: none;
    color: oklch(var(--foreground));
  }
/* Light (default, no class) — clean Space Grotesk, medium weight, tight
   * tracking, plain foreground. The baseline 'jalca' read. */
:root .login-wordmark {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.04em;
  }
/* Dark (.dark) — heavier weight, wide Gothic tracking to echo the
   * inscription-like Layout wordmark, antique-gold tint pulled from the
   * dark-mode --buffer-rule token so the login header reads as part of the
   * moody slate theme. No glow (dark is glow-free). */
.dark .login-wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: oklch(var(--buffer-rule));
  }
/* Neon (.dark-neon) — mono font for a retro terminal feel, wide tracking,
   * dual cyan + magenta text-shadow glow matching the synthwave wordmark.
   * The mono family is what makes this theme's treatment visibly distinct
   * from dark (display) at a glance. */
.dark-neon .login-wordmark {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: oklch(var(--foreground));
    text-shadow: 0 0 0.08em oklch(0.82 0.15 200 / 0.9), 0 0 0.25em
      oklch(0.82 0.15 200 / 0.6), 0 0 0.5em oklch(0.72 0.2 320 / 0.45);
  }
/* Fire (.theme-fire) — bold display, slightly tight tracking, warm fire-red
   * color pulled from --primary (the molten-flame team-white token), plus a
   * subtle warm ember glow. Reads as smoldering type against the dark ember
   * card. */
.theme-fire .login-wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: oklch(var(--primary));
    text-shadow: 0 0 0.12em oklch(0.62 0.18 28 / 0.55), 0 0 0.4em
      oklch(0.7 0.17 45 / 0.35);
  }
/* Water (.theme-water) — lighter weight, relaxed tracking, cool sky-blue
   * color pulled from --primary (the clear-water team-white token), with a
   * soft cool blur/glow so the header reads as light reflecting on deep
   * water. The lighter weight is what distinguishes it from fire's bold. */
.theme-water .login-wordmark {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: oklch(var(--primary));
    text-shadow: 0 0 0.18em oklch(0.72 0.13 210 / 0.5), 0 0 0.5em
      oklch(0.62 0.14 230 / 0.3);
  }
/* Bubblegum (.theme-bubblegum) — medium weight, wide playful tracking,
   * pastel pink color pulled from --primary (the bubblegum team-white token).
   * No glow (bubblegum is glow-free); the wide tracking + pastel pink is
   * what gives it the confectionary feel distinct from the other themes. */
.theme-bubblegum .login-wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.16em;
    color: oklch(var(--primary));
  }
/* === Exercise Feature ===
   *
   * Dedicated exercise-toast container + toast cards. NOT sonner — sonner
   * auto-dismisses and doesn't stack the way this feature requires. This is
   * a self-contained container fixed to the top of the screen, overlaying
   * the top brand buffer when the player scrolls to the top.
   *
   * Behavior:
   *   - Container is position:fixed; top:0; left:0; right:0; z-index above
   *     the brand-buffer-top (which is in normal document flow). It overlays
   *     the brand buffer when the page is scrolled to the top and scrolls
   *     away with the viewport (fixed) so it always owns the top edge.
   *   - Inner scroll region: max-height ~60vh, overflow-y:auto, so a long
   *     game with many captures never overflows the viewport. Uses the
   *     existing .momentum-scroll utility for inertial scroll + themed
   *     scrollbars.
   *   - Toasts stack downward in capture sequence (oldest first, newest
   *     beneath). Each toast is a prominent card showing "Team: Nx
   *     exercise" with a prominent manual close button (X).
   *   - Toasts do NOT auto-dismiss. Closing one removes only that toast.
   *   - Pure CSS transitions only (no Framer Motion). transform/opacity
   *     only for the entrance animation (GPU-accelerated, never layout).
   *
   * Theming: scoped per-theme using the existing OKLCH tokens
   * (background, foreground, card, border, team-white, team-black, accent).
   * Light and dark use their tokens directly; .dark-neon adds a neon glow
   * accent on the toast border + team chip so the toasts read as part of
   * the synthwave theme.
   */
/*
   * Container — fixed to the top of the screen, full width, above the
   * brand-buffer-top. A centered max-width inner column matches the
   * Layout's max-w-[700px] so the toasts align with the board/panels
   * below. Padding keeps the toasts off the viewport edges on mobile.
   */
.exercise-toast-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    pointer-events: none; /* let the container pass through clicks except
                            * on the toasts themselves */
    padding: 0.5rem 0.75rem;
  }
/*
   * Scroll region — the actual scrollable list. max-height ~60vh so many
   * toasts never overflow the viewport; the container itself stays fixed.
   * width caps at the Layout column (700px) so toasts align with the
   * board. pointer-events:auto re-enables interaction on the list + toasts
   * (the container above is pass-through). Uses .momentum-scroll for
   * inertial scroll + themed scrollbars.
   */
.exercise-toast-scroll {
    width: 100%;
    max-width: 700px;
    max-height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: auto;
    padding: 0.25rem 0.125rem;
  }
/*
   * Toast card — prominent, themed. A flex row: body (team chip + text) on
   * the left, close button on the right. Card uses bg-card/border-border
   * tokens so it re-themes with the active theme. A left accent bar in
   * the team color (white/black) gives a quick visual cue of which team
   * owes the exercise. Entrance animation: slide down + fade in (transform
   * + opacity only, GPU-accelerated, never layout). Reduced-motion snaps
   * it in instantly.
   */
.exercise-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background-color: oklch(var(--toast-bg));
    color: oklch(var(--card-foreground));
    border: 2px solid oklch(var(--toast-border));
    border-left: 4px solid oklch(var(--accent));
    border-radius: var(--radius);
    box-shadow: 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.35);
    /* Entrance: slide down from above + fade in. transform/opacity only. */
    transform: translateY(-0.5rem);
    opacity: 0;
    animation: exercise-toast-in 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
/* Team-colored left accent bar — white team uses the white team token,
   * black team uses the black team token, so the accent matches the team
   * that owes the exercise. */
.exercise-toast-white {
    border-left-color: oklch(var(--team-white));
  }
.exercise-toast-black {
    border-left-color: oklch(var(--team-black));
  }
@keyframes exercise-toast-in {
    from {
      transform: translateY(-0.5rem);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
/* Honor reduced-motion: snap the toast in instantly (no slide/fade). */
@media (prefers-reduced-motion: reduce) {
    .exercise-toast {
      animation: none;
      transform: none;
      opacity: 1;
    }
  }
/*
   * Toast body — team chip + text. min-w-0 lets the text truncate on
   * narrow viewports instead of pushing the close button off-screen.
   */
.exercise-toast-body {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
  }
/*
   * Team chip — a small round badge in the team color (reuses the
   * .team-white / .team-black utilities from the @layer utilities block
   * above). size-9 matches the TurnIndicator's turn chip so the two read
   * as siblings. The chip shows "W" or "B" for the team that owes the
   * exercise.
   */
.exercise-toast-team {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
  }
/*
   * Trigger badge — a small pill that labels the capture trigger type
   * (capture / en passant / castling) so players can tell which fired at
   * a glance. Sits at the end of the toast text line. Each trigger gets a
   * distinct background hue so the three are distinguishable by color
   * alone, not just text:
   *   - capture  : muted neutral (the default, no special trigger)
   *   - en-passant: cool blue (a special pawn-only capture)
   *   - castling : warm amber (a king move, no real capture)
   * The badge uses the toast surface tokens so it re-themes with the
   * active theme. font-mono + uppercase + tight letter-spacing gives it a
   * distinct "tag" read separate from the toast's display-font text.
   */
.toast-trigger-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid oklch(var(--toast-border) / 0.7);
  }
/* Normal capture — muted neutral, the unremarkable default. */
.toast-trigger-capture {
    background-color: oklch(var(--muted) / 0.6);
    color: oklch(var(--muted-foreground));
  }
/* En-passant — cool blue, signals a special pawn capture. */
.toast-trigger-en-passant {
    background-color: oklch(0.62 0.14 220 / 0.25);
    color: oklch(0.62 0.14 220);
    border-color: oklch(0.62 0.14 220 / 0.6);
  }
/* Castling — warm amber, signals a king move with no real capture. */
.toast-trigger-castling {
    background-color: oklch(0.72 0.15 85 / 0.25);
    color: oklch(0.72 0.15 85);
    border-color: oklch(0.72 0.15 85 / 0.6);
  }
/* Neon mode — lift the badge hues so they read against the dark neon
   * surface. En-passant keeps its cool cyan identity; castling keeps its
   * warm amber identity; capture stays muted. */
.dark-neon .toast-trigger-en-passant {
    background-color: oklch(0.82 0.15 200 / 0.2);
    color: oklch(0.82 0.15 200);
    border-color: oklch(0.82 0.15 200 / 0.6);
  }
.dark-neon .toast-trigger-castling {
    background-color: oklch(0.72 0.2 320 / 0.2);
    color: oklch(0.72 0.2 320);
    border-color: oklch(0.72 0.2 320 / 0.6);
  }
/*
   * Toast text — the "Team: Nx exercise" line. font-display for the
   * prominent read, semibold, tabular-nums so the rep count aligns across
   * toasts. truncate keeps long exercise names from wrapping on narrow
   * viewports.
   */
.exercise-toast-text {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
/*
   * Close button — prominent, square, hit-target >= 44px on mobile (per
   * accessibility guidance). Uses bg-background/border-border so it reads
   * as a distinct control on the card surface. hover/active/focus states
   * are deliberate. The X icon is a size-4 inline SVG (stroke currentColor).
   */
.exercise-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background-color: oklch(var(--background));
    color: oklch(var(--foreground));
    border: 1px solid oklch(var(--border));
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms
      cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms
      cubic-bezier(0.4, 0, 0.2, 1);
  }
.exercise-toast-close svg {
    width: 1.25rem;
    height: 1.25rem;
  }
.exercise-toast-close:hover {
    background-color: oklch(var(--destructive) / 0.15);
    color: oklch(var(--destructive));
    border-color: oklch(var(--destructive) / 0.5);
  }
.exercise-toast-close:active {
    transform: scale(0.95);
    transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1);
  }
.exercise-toast-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px oklch(var(--background)), 0 0 0 4px oklch(var(--ring));
  }
/*
   * Undo button — shown ONLY on the most recent toast (the last array
   * element). A SEPARATE control from the manual close button: close
   * dismisses the toast locally, undo removes the assignment from the
   * backend (and the next poll re-syncs the stack). Sits between the body
   * and the close button so the destructive close stays rightmost.
   *
   * Visual identity: uses the accent color (amber, the exercise accent)
   * so it reads as a "revert" action distinct from the destructive close.
   * Same hit-target + transition discipline as the close button. The
   * pending state (isUndoing) dims + disables the button so the player
   * cannot fire a second undo while the first is in flight.
   */
.exercise-toast-undo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background-color: oklch(var(--accent) / 0.15);
    color: oklch(var(--accent));
    border: 1px solid oklch(var(--accent) / 0.5);
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms
      cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms
      cubic-bezier(0.4, 0, 0.2, 1), opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
  }
.exercise-toast-undo svg {
    width: 1.25rem;
    height: 1.25rem;
  }
.exercise-toast-undo:hover:not(:disabled) {
    background-color: oklch(var(--accent) / 0.3);
    color: oklch(var(--accent-foreground));
    border-color: oklch(var(--accent));
  }
.exercise-toast-undo:active:not(:disabled) {
    transform: scale(0.95);
    transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1);
  }
.exercise-toast-undo:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px oklch(var(--background)), 0 0 0 4px oklch(var(--ring));
  }
.exercise-toast-undo:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
/*
   * Per-team totals band — a header row above the toast stack showing the
   * running rep debt for each team (White vs Black). Sourced from the
   * backend's getExerciseStats() retrieve-computation entry point. Uses
   * the same toast surface tokens (--toast-bg / --toast-border) so it
   * reads as a sibling of the toast cards, with a thinner left accent
   * (the exercise accent) so it is distinguishable from a full toast card.
   * The team chips reuse the .team-white / .team-black utilities so the
   * totals match the per-toast team chips at a glance. tabular-nums keeps
   * the counts aligned as they tick up.
   */
.exercise-toast-totals {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background-color: oklch(var(--toast-bg) / 0.7);
    color: oklch(var(--card-foreground));
    border: 1px solid oklch(var(--toast-border) / 0.6);
    border-left: 3px solid oklch(var(--accent));
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
  }
.exercise-toast-totals-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    color: oklch(var(--muted-foreground));
    margin-right: 0.25rem;
  }
.exercise-toast-totals-team {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
  }
.exercise-toast-totals-sep {
    color: oklch(var(--muted-foreground));
    opacity: 0.6;
  }
/*
   * Neon mode (.dark-neon) — add a neon glow accent on the toast border
   * so the toasts read as part of the synthwave theme. The team-colored
   * left bar picks up the team's neon hue (cyan for white, magenta for
   * black) via the existing --team-* tokens, which are already neon in
   * .dark-neon. A subtle cyan/magenta box-shadow gives the card its glow.
   * Disabled in light/dark (only .dark-neon descendants glow).
   */
.dark-neon .exercise-toast {
    box-shadow: 0 0 0 1px oklch(0.82 0.15 200 / 0.25), 0 0 0.5em
      oklch(0.82 0.15 200 / 0.2), 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.6);
  }
.dark-neon .exercise-toast-white {
    border-left-color: oklch(var(--team-white));
    box-shadow: 0 0 0 1px oklch(0.82 0.15 200 / 0.3), 0 0 0.4em
      oklch(0.82 0.15 200 / 0.35), 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.6);
  }
.dark-neon .exercise-toast-black {
    border-left-color: oklch(var(--team-black));
    box-shadow: 0 0 0 1px oklch(0.72 0.2 320 / 0.3), 0 0 0.4em
      oklch(0.72 0.2 320 / 0.35), 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.6);
  }
/* === End Exercise Feature === */
/* === Drinking Feature ===
   *
   * Dedicated drinking-toast container + toast cards. Parallel to the
   * exercise-toast block above but visually distinct: a different accent
   * color (--drinking-accent, warm grape/wine hue ~330) and a martini
   * glass motif so players can tell exercise toasts and drinking toasts
   * apart at a glance. The exercise feature uses amber (hue 85); drinking
   * uses grape (hue 330) — a different hue family, not just a different
   * shade, so the two are distinguishable without reading the icon. NOT
   * sonner — sonner auto-dismisses and doesn't stack the way this feature
   * requires. This is a self-contained container fixed to the top of the
   * screen, overlaying the top brand buffer when the player scrolls to the
   * top.
   *
   * Behavior (mirrors the exercise-toast display rules):
   *   - Container is position:fixed; top:0; left:0; right:0; z-index above
   *     the brand-buffer-top. It overlays the brand buffer when the page is
   *     scrolled to the top and stays fixed so it always owns the top edge.
   *   - Inner scroll region: max-height ~60vh, overflow-y:auto, so a long
   *     game with many captures never overflows the viewport. Uses the
   *     existing .momentum-scroll utility for inertial scroll + themed
   *     scrollbars.
   *   - Toasts stack downward in capture sequence (oldest first, newest
   *     beneath). Each toast is a prominent card showing "Team: N drinks
   *     (piece)" with a martini glass icon and a prominent manual close
   *     button (X).
   *   - Toasts do NOT auto-dismiss. Closing one removes only that toast.
   *   - Pure CSS transitions only (no Framer Motion). transform/opacity
   *     only for the entrance animation (GPU-accelerated, never layout).
   *
   * Theming: scoped per-theme using the existing OKLCH tokens
   * (background, foreground, card, border, team-white, team-black) plus the
   * dedicated --drinking-accent token (grape/wine) for the left accent
   * bar + martini icon + neon glow. Light and dark use their tokens
   * directly; .dark-neon adds a neon grape glow on the toast border so the
   * toasts read as part of the synthwave theme.
   */
/*
   * Container — fixed to the top of the screen, full width, above the
   * brand-buffer-top. A centered max-width inner column matches the
   * Layout's max-w-[700px] so the toasts align with the board/panels
   * below. Padding keeps the toasts off the viewport edges on mobile.
   */
.drinking-toast-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    pointer-events: none; /* let the container pass through clicks except
                            * on the toasts themselves */
    padding: 0.5rem 0.75rem;
  }
/*
   * Scroll region — the actual scrollable list. max-height ~60vh so many
   * toasts never overflow the viewport; the container itself stays fixed.
   * width caps at the Layout column (700px) so toasts align with the
   * board. pointer-events:auto re-enables interaction on the list + toasts
   * (the container above is pass-through). Uses .momentum-scroll for
   * inertial scroll + themed scrollbars.
   */
.drinking-toast-scroll {
    width: 100%;
    max-width: 700px;
    max-height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: auto;
    padding: 0.25rem 0.125rem;
  }
/*
   * Toast card — prominent, themed. A flex row: body (martini icon + team
   * chip + text) on the left, close button on the right. Card uses
   * bg-card/border-border tokens so it re-themes with the active theme. A
   * left accent bar in the drinking accent color (grape/wine) gives a
   * quick visual cue that this is a drinking toast (distinct from the
   * exercise toast's team-colored left bar). Entrance animation: slide
   * down + fade in (transform + opacity only, GPU-accelerated, never
   * layout). Reduced-motion snaps it in instantly.
   */
.drinking-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background-color: oklch(var(--toast-bg));
    color: oklch(var(--card-foreground));
    border: 2px solid oklch(var(--toast-border));
    border-left: 4px solid oklch(var(--drinking-accent));
    border-radius: var(--radius);
    box-shadow: 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.35);
    /* Entrance: slide down from above + fade in. transform/opacity only. */
    transform: translateY(-0.5rem);
    opacity: 0;
    animation: drinking-toast-in 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
/*
   * Team-colored left accent bar — overrides the drinking-accent default
   * with the team color so the bar still signals which team owes the
    * drinks, while the martini icon + grape-tinted glow keep the drinking
   * identity. White team uses the white team token, black team uses the
   * black team token.
   */
.drinking-toast-white {
    border-left-color: oklch(var(--team-white));
  }
.drinking-toast-black {
    border-left-color: oklch(var(--team-black));
  }
@keyframes drinking-toast-in {
    from {
      transform: translateY(-0.5rem);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
/* Honor reduced-motion: snap the toast in instantly (no slide/fade). */
@media (prefers-reduced-motion: reduce) {
    .drinking-toast {
      animation: none;
      transform: none;
      opacity: 1;
    }
  }
/*
   * Toast body — martini icon + team chip + text. min-w-0 lets the text
   * truncate on narrow viewports instead of pushing the close button
   * off-screen.
   */
.drinking-toast-body {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
  }
/*
   * Martini glass icon — the drinking motif. Tinted with the drinking
   * accent color so it reads as distinct from the exercise toast's
   * dumbbell icon. size-4 matches the exercise toast icon.
   */
.drinking-toast-icon {
    color: oklch(var(--drinking-accent));
    flex-shrink: 0;
  }
/*
   * Team chip — a small round badge in the team color (reuses the
   * .team-white / .team-black utilities from the @layer utilities block
   * above). size-9 matches the TurnIndicator's turn chip so the two read
   * as siblings. The chip shows "W" or "B" for the team that owes the
   * drinks.
   */
.drinking-toast-team {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
  }
/*
   * Toast text — the "Team: Nx drinks" line. font-display for the
   * prominent read, semibold, tabular-nums so the drink count aligns
   * across toasts. truncate keeps long text from wrapping on narrow
   * viewports.
   */
.drinking-toast-text {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
/*
   * Close button — prominent, square, hit-target >= 44px on mobile (per
   * accessibility guidance). Uses bg-background/border-border so it reads
   * as a distinct control on the card surface. hover/active/focus states
   * are deliberate. The X icon is a size-4 inline SVG (stroke currentColor).
   */
.drinking-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background-color: oklch(var(--background));
    color: oklch(var(--foreground));
    border: 1px solid oklch(var(--border));
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms
      cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms
      cubic-bezier(0.4, 0, 0.2, 1);
  }
.drinking-toast-close svg {
    width: 1.25rem;
    height: 1.25rem;
  }
.drinking-toast-close:hover {
    background-color: oklch(var(--destructive) / 0.15);
    color: oklch(var(--destructive));
    border-color: oklch(var(--destructive) / 0.5);
  }
.drinking-toast-close:active {
    transform: scale(0.95);
    transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1);
  }
.drinking-toast-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px oklch(var(--background)), 0 0 0 4px oklch(var(--ring));
  }
/*
   * Undo button — shown ONLY on the most recent toast (the last array
   * element). A SEPARATE control from the manual close button: close
   * dismisses the toast locally, undo removes the assignment from the
   * backend (and the next poll re-syncs the stack). Sits between the body
   * and the close button so the destructive close stays rightmost.
   *
   * Visual identity: uses the drinking accent color (grape/wine, hue 330)
   * so it reads as a "revert" action distinct from the destructive close
   * and consistent with the drinking toast family. Same hit-target +
   * transition discipline as the close button. The pending state
   * (isUndoing) dims + disables the button so the player cannot fire a
   * second undo while the first is in flight.
   */
.drinking-toast-undo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background-color: oklch(var(--drinking-accent) / 0.15);
    color: oklch(var(--drinking-accent));
    border: 1px solid oklch(var(--drinking-accent) / 0.5);
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms
      cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms
      cubic-bezier(0.4, 0, 0.2, 1), opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
  }
.drinking-toast-undo svg {
    width: 1.25rem;
    height: 1.25rem;
  }
.drinking-toast-undo:hover:not(:disabled) {
    background-color: oklch(var(--drinking-accent) / 0.3);
    border-color: oklch(var(--drinking-accent));
  }
.drinking-toast-undo:active:not(:disabled) {
    transform: scale(0.95);
    transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1);
  }
.drinking-toast-undo:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px oklch(var(--background)), 0 0 0 4px oklch(var(--ring));
  }
.drinking-toast-undo:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
/*
   * Per-team totals band — a header row above the toast stack showing the
   * running drink debt for each team (White vs Black). Sourced from the
   * backend's getDrinkingStats() retrieve-computation entry point. Uses
   * the same toast surface tokens (--toast-bg / --toast-border) so it
   * reads as a sibling of the toast cards, with a thinner left accent
   * (the drinking accent, grape/wine) so it is distinguishable from a
   * full toast card and consistent with the drinking toast family. The
   * team chips reuse the .team-white / .team-black utilities so the
   * totals match the per-toast team chips at a glance. tabular-nums keeps
   * the counts aligned as they tick up.
   */
.drinking-toast-totals {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background-color: oklch(var(--toast-bg) / 0.7);
    color: oklch(var(--card-foreground));
    border: 1px solid oklch(var(--toast-border) / 0.6);
    border-left: 3px solid oklch(var(--drinking-accent));
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
  }
.drinking-toast-totals-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    color: oklch(var(--muted-foreground));
    margin-right: 0.25rem;
  }
.drinking-toast-totals-team {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
  }
.drinking-toast-totals-sep {
    color: oklch(var(--muted-foreground));
    opacity: 0.6;
  }
/*
   * Neon mode (.dark-neon) — add a neon grape glow accent on the toast
   * border so the drinking toasts read as part of the synthwave theme.
   * The team-colored left bar picks up the team's neon hue (cyan for
   * white, magenta for black) via the existing --team-* tokens, which are
   * already neon in .dark-neon. A subtle grape box-shadow gives the card
   * its glow (distinct from the exercise toast's cyan/magenta glow).
   * Disabled in light/dark (only .dark-neon descendants glow).
   */
.dark-neon .drinking-toast {
    box-shadow: 0 0 0 1px oklch(var(--drinking-accent) / 0.3), 0 0 0.5em
      oklch(var(--drinking-accent) / 0.25), 0 0.25rem 0.5rem -0.25rem
      oklch(0 0 0 / 0.6);
  }
.dark-neon .drinking-toast-white {
    border-left-color: oklch(var(--team-white));
    box-shadow: 0 0 0 1px oklch(0.82 0.15 200 / 0.3), 0 0 0.4em
      oklch(0.82 0.15 200 / 0.35), 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.6);
  }
.dark-neon .drinking-toast-black {
    border-left-color: oklch(var(--team-black));
    box-shadow: 0 0 0 1px oklch(0.72 0.2 320 / 0.3), 0 0 0.4em
      oklch(0.72 0.2 320 / 0.35), 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.6);
  }
/* === End Drinking Feature === */
/* === Opening Announcement Feature ===
   *
   * Dedicated opening-toast container + toast card. Parallel to the
   * exercise-toast and drinking-toast blocks above in styling discipline
   * (fixed to the top of the screen, scrollable, no auto-dismiss, manual
   * close button) but visually distinct: a compass-rose icon and the
   * amber --accent color (the exercise accent) so it reads as a neutral
   * info announcement rather than a per-team capture toast. NOT sonner —
   * sonner auto-dismisses, which violates the "stay visible until
   * dismissed" requirement, and the Sonner <Toaster> is not mounted in
   * the tree. This is a self-contained container fixed to the top of the
   * screen, overlaying the top brand buffer when the player scrolls to
   * the top.
   *
   * Behavior (mirrors the exercise/drinking toast display rules):
   *   - Container is position:fixed; top:0; left:0; right:0; z-index above
   *     the brand-buffer-top. It overlays the brand buffer when the page
   *     is scrolled to the top and stays fixed so it always owns the top
   *     edge.
   *   - Inner scroll region: max-height ~60vh, overflow-y:auto, so even
   *     if multiple announcements ever stacked they would never overflow
   *     the viewport. Uses .momentum-scroll for inertial scroll + themed
   *     scrollbars.
   *   - The toast shows "Opening: <name>" with a compass-rose icon and a
   *     prominent manual close button (X).
   *   - The toast does NOT auto-dismiss. Closing it hides it for the
   *     current game; a new game re-shows it.
   *   - Pure CSS transitions only (no Framer Motion). transform/opacity
   *     only for the entrance animation (GPU-accelerated, never layout).
   *
   * Theming: scoped per-theme using the existing OKLCH tokens
   * (background, foreground, card, border, accent). Light and dark use
   * their tokens directly; .dark-neon adds a neon amber glow accent on
   * the toast border so it reads as part of the synthwave theme.
   */
/*
   * Container — fixed to the top of the screen, full width, above the
   * brand-buffer-top. A centered max-width inner column matches the
   * Layout's max-w-[700px] so the toast aligns with the board/panels
   * below. Padding keeps the toast off the viewport edges on mobile.
   */
.opening-toast-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    pointer-events: none; /* let the container pass through clicks except
                            * on the toast itself */
    padding: 0.5rem 0.75rem;
  }
/*
   * Scroll region — the actual scrollable list. max-height ~60vh so the
   * toast never overflows the viewport; the container itself stays fixed.
   * width caps at the Layout column (700px) so the toast aligns with the
   * board. pointer-events:auto re-enables interaction on the toast (the
   * container above is pass-through). Uses .momentum-scroll for inertial
   * scroll + themed scrollbars.
   */
.opening-toast-scroll {
    width: 100%;
    max-width: 700px;
    max-height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: auto;
    padding: 0.25rem 0.125rem;
  }
/*
   * Toast card — prominent, themed. A flex row: body (compass icon +
   * "Opening: <name>" text) on the left, close button on the right. Card
   * uses bg-card/border-border tokens so it re-themes with the active
   * theme. A left accent bar in the accent color (amber) gives a quick
   * visual cue that this is an opening announcement (distinct from the
   * exercise toast's team-colored bar and the drinking toast's grape
   * bar). Entrance animation: slide down + fade in (transform + opacity
   * only, GPU-accelerated, never layout). Reduced-motion snaps it in
   * instantly.
   */
.opening-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background-color: oklch(var(--toast-bg));
    color: oklch(var(--card-foreground));
    border: 2px solid oklch(var(--toast-border));
    border-left: 4px solid oklch(var(--accent));
    border-radius: var(--radius);
    box-shadow: 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.35);
    /* Entrance: slide down from above + fade in. transform/opacity only. */
    transform: translateY(-0.5rem);
    opacity: 0;
    animation: opening-toast-in 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
@keyframes opening-toast-in {
    from {
      transform: translateY(-0.5rem);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
/* Honor reduced-motion: snap the toast in instantly (no slide/fade). */
@media (prefers-reduced-motion: reduce) {
    .opening-toast {
      animation: none;
      transform: none;
      opacity: 1;
    }
  }
/*
   * Toast body — compass icon + text. min-w-0 lets the text truncate on
   * narrow viewports instead of pushing the close button off-screen.
   */
.opening-toast-body {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
  }
/*
   * Compass-rose icon — the opening motif. Tinted with the accent color
   * (amber) so it reads as a neutral info announcement, distinct from
   * the drinking toast's grape martini glass and the exercise toast's
   * amber dumbbell (same hue family as exercise, but the compass shape
   * distinguishes it at a glance). size-4 matches the other toast icons.
   */
.opening-toast-icon {
    color: oklch(var(--accent));
    flex-shrink: 0;
  }
/*
   * Toast text — the "Opening: <name>" line. font-display for the
   * prominent read, semibold. truncate keeps long opening names (e.g.
   * "Sicilian Defense - Najdorf Variation") from wrapping on narrow
   * viewports.
   */
.opening-toast-text {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
/*
   * "Opening:" label — a small uppercase prefix that distinguishes the
   * announcement from a capture toast. Muted foreground so the opening
   * name itself reads as the primary content.
   */
.opening-toast-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: oklch(var(--muted-foreground));
  }
/*
   * Close button — prominent, square, hit-target >= 44px on mobile (per
   * accessibility guidance). Uses bg-background/border-border so it reads
   * as a distinct control on the card surface. hover/active/focus states
   * are deliberate. The X icon is a size-4 inline SVG (stroke currentColor).
   */
.opening-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background-color: oklch(var(--background));
    color: oklch(var(--foreground));
    border: 1px solid oklch(var(--border));
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms
      cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms
      cubic-bezier(0.4, 0, 0.2, 1);
  }
.opening-toast-close svg {
    width: 1.25rem;
    height: 1.25rem;
  }
.opening-toast-close:hover {
    background-color: oklch(var(--destructive) / 0.15);
    color: oklch(var(--destructive));
    border-color: oklch(var(--destructive) / 0.5);
  }
.opening-toast-close:active {
    transform: scale(0.95);
    transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1);
  }
.opening-toast-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px oklch(var(--background)), 0 0 0 4px oklch(var(--ring));
  }
/*
   * Neon mode (.dark-neon) — add a neon amber glow accent on the toast
   * border so the opening toast reads as part of the synthwave theme.
   * A subtle amber box-shadow gives the card its glow (distinct from the
   * exercise toast's cyan/magenta glow and the drinking toast's grape
   * glow). Disabled in light/dark (only .dark-neon descendants glow).
   */
.dark-neon .opening-toast {
    box-shadow: 0 0 0 1px oklch(var(--accent) / 0.3), 0 0 0.5em
      oklch(var(--accent) / 0.25), 0 0.25rem 0.5rem -0.25rem oklch(0 0 0 / 0.6);
  }
/* === End Opening Announcement Feature === */
.\[--cell-size\:--spacing\(8\)\] {
  --cell-size: var(--spacing(8));
}
.\[color\:oklch\(var\(--foreground\)\)\] {
  color: oklch(var(--foreground));
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/SpaceGrotesk.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/DMSans.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono.woff2") format("woff2");
}

.selection\:bg-primary *::-moz-selection {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.selection\:bg-primary *::selection {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.selection\:text-primary-foreground *::-moz-selection {
  color: oklch(var(--primary-foreground));
}

.selection\:text-primary-foreground *::selection {
  color: oklch(var(--primary-foreground));
}

.selection\:bg-primary::-moz-selection {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.selection\:bg-primary::selection {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.selection\:text-primary-foreground::-moz-selection {
  color: oklch(var(--primary-foreground));
}

.selection\:text-primary-foreground::selection {
  color: oklch(var(--primary-foreground));
}

.file\:inline-flex::file-selector-button {
  display: inline-flex;
}

.file\:h-7::file-selector-button {
  height: 1.75rem;
}

.file\:border-0::file-selector-button {
  border-width: 0px;
}

.file\:bg-transparent::file-selector-button {
  background-color: transparent;
}

.file\:text-sm::file-selector-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.file\:font-medium::file-selector-button {
  font-weight: 500;
}

.file\:text-foreground::file-selector-button {
  color: oklch(var(--foreground));
}

.placeholder\:text-muted-foreground::-moz-placeholder {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.placeholder\:text-muted-foreground::placeholder {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.after\:absolute::after {
  content: var(--tw-content);
  position: absolute;
}

.after\:-inset-2::after {
  content: var(--tw-content);
  inset: -0.5rem;
}

.after\:inset-y-0::after {
  content: var(--tw-content);
  top: 0px;
  bottom: 0px;
}

.after\:left-1\/2::after {
  content: var(--tw-content);
  left: 50%;
}

.after\:w-1::after {
  content: var(--tw-content);
  width: 0.25rem;
}

.after\:w-\[2px\]::after {
  content: var(--tw-content);
  width: 2px;
}

.after\:-translate-x-1\/2::after {
  content: var(--tw-content);
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.first\:rounded-l-md:first-child {
  border-top-left-radius: calc(var(--radius) - 2px);
  border-bottom-left-radius: calc(var(--radius) - 2px);
}

.first\:border-l:first-child {
  border-left-width: 1px;
}

.last\:rounded-r-md:last-child {
  border-top-right-radius: calc(var(--radius) - 2px);
  border-bottom-right-radius: calc(var(--radius) - 2px);
}

.last\:border-b-0:last-child {
  border-bottom-width: 0px;
}

.odd\:bg-muted\/40:nth-child(odd) {
  background-color: oklch(var(--muted) / 0.4);
}

.hover\:border-accent:hover {
  --tw-border-opacity: 1;
  border-color: oklch(var(--accent) / var(--tw-border-opacity, 1));
}

.hover\:bg-accent:hover {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.hover\:bg-accent\/20:hover {
  background-color: oklch(var(--accent) / 0.2);
}

.hover\:bg-destructive\/90:hover {
  background-color: oklch(var(--destructive) / 0.9);
}

.hover\:bg-muted:hover {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--muted) / var(--tw-bg-opacity, 1));
}

.hover\:bg-muted\/40:hover {
  background-color: oklch(var(--muted) / 0.4);
}

.hover\:bg-muted\/50:hover {
  background-color: oklch(var(--muted) / 0.5);
}

.hover\:bg-muted\/60:hover {
  background-color: oklch(var(--muted) / 0.6);
}

.hover\:bg-primary\/90:hover {
  background-color: oklch(var(--primary) / 0.9);
}

.hover\:bg-secondary\/80:hover {
  background-color: oklch(var(--secondary) / 0.8);
}

.hover\:bg-sidebar-accent:hover {
  background-color: oklch(var(--sidebar-accent));
}

.hover\:text-accent-foreground:hover {
  color: oklch(var(--accent-foreground));
}

.hover\:text-foreground:hover {
  color: oklch(var(--foreground));
}

.hover\:text-muted-foreground:hover {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.hover\:text-sidebar-accent-foreground:hover {
  color: oklch(var(--sidebar-accent-foreground));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover {
  --tw-shadow: 0 0 0 1px hsl(var(--sidebar-accent));
  --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:ring-4:hover {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.hover\:after\:bg-sidebar-border:hover::after {
  content: var(--tw-content);
  background-color: oklch(var(--sidebar-border));
}

.focus\:z-10:focus {
  z-index: 10;
}

.focus\:bg-accent:focus {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.focus\:text-accent-foreground:focus {
  color: oklch(var(--accent-foreground));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-ring:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: oklch(var(--ring) / var(--tw-ring-opacity, 1));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus-visible\:z-10:focus-visible {
  z-index: 10;
}

.focus-visible\:border-ring:focus-visible {
  --tw-border-opacity: 1;
  border-color: oklch(var(--ring) / var(--tw-border-opacity, 1));
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:outline-1:focus-visible {
  outline-width: 1px;
}

.focus-visible\:outline-ring:focus-visible {
  outline-color: oklch(var(--ring) / 1);
}

.focus-visible\:ring-1:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-4:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-\[3px\]:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-inset:focus-visible {
  --tw-ring-inset: inset;
}

.focus-visible\:ring-destructive\/20:focus-visible {
  --tw-ring-color: oklch(var(--destructive) / 0.2);
}

.focus-visible\:ring-ring:focus-visible {
  --tw-ring-opacity: 1;
  --tw-ring-color: oklch(var(--ring) / var(--tw-ring-opacity, 1));
}

.focus-visible\:ring-ring\/50:focus-visible {
  --tw-ring-color: oklch(var(--ring) / 0.5);
}

.focus-visible\:ring-offset-1:focus-visible {
  --tw-ring-offset-width: 1px;
}

.active\:bg-sidebar-accent:active {
  background-color: oklch(var(--sidebar-accent));
}

.active\:text-sidebar-accent-foreground:active {
  color: oklch(var(--sidebar-accent-foreground));
}

.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.disabled\:opacity-60:disabled {
  opacity: 0.6;
}

.group\/menu-item:focus-within .group-focus-within\/menu-item\:opacity-100 {
  opacity: 1;
}

.group\/menu-item:hover .group-hover\/menu-item\:opacity-100 {
  opacity: 1;
}

.peer\/menu-button:hover ~ .peer-hover\/menu-button\:text-sidebar-accent-foreground {
  color: oklch(var(--sidebar-accent-foreground));
}

.peer:disabled ~ .peer-disabled\:cursor-not-allowed {
  cursor: not-allowed;
}

.peer:disabled ~ .peer-disabled\:opacity-50 {
  opacity: 0.5;
}

.has-\[\>svg\]\:grid-cols-\[calc\(var\(--spacing\)\*4\)_1fr\]:has(>svg) {
  grid-template-columns: calc(var(--spacing) * 4) 1fr;
}

.has-\[\>svg\]\:gap-x-3:has(>svg) {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}

.has-\[\>svg\]\:px-2\.5:has(>svg) {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.has-\[\>svg\]\:px-3:has(>svg) {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.has-\[\>svg\]\:px-4:has(>svg) {
  padding-left: 1rem;
  padding-right: 1rem;
}

.aria-disabled\:pointer-events-none[aria-disabled="true"] {
  pointer-events: none;
}

.aria-disabled\:opacity-50[aria-disabled="true"] {
  opacity: 0.5;
}

.aria-selected\:text-muted-foreground[aria-selected="true"] {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.data-\[disabled\=true\]\:pointer-events-none[data-disabled="true"] {
  pointer-events: none;
}

.data-\[disabled\]\:pointer-events-none[data-disabled] {
  pointer-events: none;
}

.data-\[vaul-drawer-direction\=bottom\]\:inset-x-0[data-vaul-drawer-direction="bottom"] {
  left: 0px;
  right: 0px;
}

.data-\[vaul-drawer-direction\=left\]\:inset-y-0[data-vaul-drawer-direction="left"] {
  top: 0px;
  bottom: 0px;
}

.data-\[vaul-drawer-direction\=right\]\:inset-y-0[data-vaul-drawer-direction="right"] {
  top: 0px;
  bottom: 0px;
}

.data-\[vaul-drawer-direction\=top\]\:inset-x-0[data-vaul-drawer-direction="top"] {
  left: 0px;
  right: 0px;
}

.data-\[vaul-drawer-direction\=bottom\]\:bottom-0[data-vaul-drawer-direction="bottom"] {
  bottom: 0px;
}

.data-\[vaul-drawer-direction\=left\]\:left-0[data-vaul-drawer-direction="left"] {
  left: 0px;
}

.data-\[vaul-drawer-direction\=right\]\:right-0[data-vaul-drawer-direction="right"] {
  right: 0px;
}

.data-\[vaul-drawer-direction\=top\]\:top-0[data-vaul-drawer-direction="top"] {
  top: 0px;
}

.data-\[active\=true\]\:z-10[data-active="true"] {
  z-index: 10;
}

.data-\[vaul-drawer-direction\=bottom\]\:mt-24[data-vaul-drawer-direction="bottom"] {
  margin-top: 6rem;
}

.data-\[vaul-drawer-direction\=top\]\:mb-24[data-vaul-drawer-direction="top"] {
  margin-bottom: 6rem;
}

.data-\[orientation\=horizontal\]\:h-1\.5[data-orientation="horizontal"] {
  height: 0.375rem;
}

.data-\[orientation\=horizontal\]\:h-full[data-orientation="horizontal"] {
  height: 100%;
}

.data-\[orientation\=horizontal\]\:h-px[data-orientation="horizontal"] {
  height: 1px;
}

.data-\[orientation\=vertical\]\:h-full[data-orientation="vertical"] {
  height: 100%;
}

.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction="vertical"] {
  height: 1px;
}

.data-\[size\=default\]\:h-9[data-size="default"] {
  height: 2.25rem;
}

.data-\[size\=sm\]\:h-8[data-size="sm"] {
  height: 2rem;
}

.data-\[vaul-drawer-direction\=bottom\]\:max-h-\[80vh\][data-vaul-drawer-direction="bottom"] {
  max-height: 80vh;
}

.data-\[vaul-drawer-direction\=top\]\:max-h-\[80vh\][data-vaul-drawer-direction="top"] {
  max-height: 80vh;
}

.data-\[orientation\=vertical\]\:min-h-44[data-orientation="vertical"] {
  min-height: 11rem;
}

.data-\[orientation\=horizontal\]\:w-full[data-orientation="horizontal"] {
  width: 100%;
}

.data-\[orientation\=vertical\]\:w-1\.5[data-orientation="vertical"] {
  width: 0.375rem;
}

.data-\[orientation\=vertical\]\:w-auto[data-orientation="vertical"] {
  width: auto;
}

.data-\[orientation\=vertical\]\:w-full[data-orientation="vertical"] {
  width: 100%;
}

.data-\[orientation\=vertical\]\:w-px[data-orientation="vertical"] {
  width: 1px;
}

.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction="vertical"] {
  width: 100%;
}

.data-\[vaul-drawer-direction\=left\]\:w-3\/4[data-vaul-drawer-direction="left"] {
  width: 75%;
}

.data-\[vaul-drawer-direction\=right\]\:w-3\/4[data-vaul-drawer-direction="right"] {
  width: 75%;
}

.data-\[side\=bottom\]\:translate-y-1[data-side="bottom"] {
  --tw-translate-y: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=left\]\:-translate-x-1[data-side="left"] {
  --tw-translate-x: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=right\]\:translate-x-1[data-side="right"] {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=top\]\:-translate-y-1[data-side="top"] {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[state\=checked\]\:translate-x-\[calc\(100\%-2px\)\][data-state="checked"] {
  --tw-translate-x: calc(100% - 2px);
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[state\=unchecked\]\:translate-x-0[data-state="unchecked"] {
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes accordion-up {

  from {
    height: var(--radix-accordion-content-height);
  }

  to {
    height: 0;
  }
}

.data-\[state\=closed\]\:animate-accordion-up[data-state="closed"] {
  animation: accordion-up 0.2s ease-out;
}

@keyframes accordion-down {

  from {
    height: 0;
  }

  to {
    height: var(--radix-accordion-content-height);
  }
}

.data-\[state\=open\]\:animate-accordion-down[data-state="open"] {
  animation: accordion-down 0.2s ease-out;
}

.data-\[orientation\=vertical\]\:flex-col[data-orientation="vertical"] {
  flex-direction: column;
}

.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction="vertical"] {
  flex-direction: column;
}

.data-\[range-end\=true\]\:rounded-md[data-range-end="true"] {
  border-radius: calc(var(--radius) - 2px);
}

.data-\[range-middle\=true\]\:rounded-none[data-range-middle="true"] {
  border-radius: 0px;
}

.data-\[range-start\=true\]\:rounded-md[data-range-start="true"] {
  border-radius: calc(var(--radius) - 2px);
}

.data-\[selected\=true\]\:rounded-none[data-selected="true"] {
  border-radius: 0px;
}

.data-\[range-end\=true\]\:rounded-r-md[data-range-end="true"] {
  border-top-right-radius: calc(var(--radius) - 2px);
  border-bottom-right-radius: calc(var(--radius) - 2px);
}

.data-\[range-start\=true\]\:rounded-l-md[data-range-start="true"] {
  border-top-left-radius: calc(var(--radius) - 2px);
  border-bottom-left-radius: calc(var(--radius) - 2px);
}

.data-\[vaul-drawer-direction\=bottom\]\:rounded-t-lg[data-vaul-drawer-direction="bottom"] {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.data-\[vaul-drawer-direction\=top\]\:rounded-b-lg[data-vaul-drawer-direction="top"] {
  border-bottom-right-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.data-\[variant\=outline\]\:border-l-0[data-variant="outline"] {
  border-left-width: 0px;
}

.data-\[vaul-drawer-direction\=bottom\]\:border-t[data-vaul-drawer-direction="bottom"] {
  border-top-width: 1px;
}

.data-\[vaul-drawer-direction\=left\]\:border-r[data-vaul-drawer-direction="left"] {
  border-right-width: 1px;
}

.data-\[vaul-drawer-direction\=right\]\:border-l[data-vaul-drawer-direction="right"] {
  border-left-width: 1px;
}

.data-\[vaul-drawer-direction\=top\]\:border-b[data-vaul-drawer-direction="top"] {
  border-bottom-width: 1px;
}

.data-\[active\=true\]\:border-ring[data-active="true"] {
  --tw-border-opacity: 1;
  border-color: oklch(var(--ring) / var(--tw-border-opacity, 1));
}

.data-\[state\=checked\]\:border-primary[data-state="checked"] {
  --tw-border-opacity: 1;
  border-color: oklch(var(--primary) / var(--tw-border-opacity, 1));
}

.data-\[active\=true\]\:bg-accent\/50[data-active="true"] {
  background-color: oklch(var(--accent) / 0.5);
}

.data-\[active\=true\]\:bg-sidebar-accent[data-active="true"] {
  background-color: oklch(var(--sidebar-accent));
}

.data-\[range-end\=true\]\:bg-primary[data-range-end="true"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.data-\[range-middle\=true\]\:bg-accent[data-range-middle="true"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[range-start\=true\]\:bg-primary[data-range-start="true"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.data-\[selected-single\=true\]\:bg-primary[data-selected-single="true"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.data-\[selected\=true\]\:bg-accent[data-selected="true"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[state\=active\]\:bg-background[data-state="active"] {
  background-color: oklch(var(--background));
}

.data-\[state\=checked\]\:bg-primary[data-state="checked"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.data-\[state\=on\]\:bg-accent[data-state="on"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[state\=open\]\:bg-accent[data-state="open"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[state\=open\]\:bg-accent\/50[data-state="open"] {
  background-color: oklch(var(--accent) / 0.5);
}

.data-\[state\=open\]\:bg-secondary[data-state="open"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--secondary) / var(--tw-bg-opacity, 1));
}

.data-\[state\=selected\]\:bg-muted[data-state="selected"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--muted) / var(--tw-bg-opacity, 1));
}

.data-\[state\=unchecked\]\:bg-input[data-state="unchecked"] {
  background-color: oklch(var(--input));
}

.data-\[inset\]\:pl-8[data-inset] {
  padding-left: 2rem;
}

.data-\[active\=true\]\:font-medium[data-active="true"] {
  font-weight: 500;
}

.data-\[active\=true\]\:text-accent-foreground[data-active="true"] {
  color: oklch(var(--accent-foreground));
}

.data-\[active\=true\]\:text-sidebar-accent-foreground[data-active="true"] {
  color: oklch(var(--sidebar-accent-foreground));
}

.data-\[error\=true\]\:text-destructive[data-error="true"] {
  --tw-text-opacity: 1;
  color: oklch(var(--destructive) / var(--tw-text-opacity, 1));
}

.data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.data-\[range-end\=true\]\:text-primary-foreground[data-range-end="true"] {
  color: oklch(var(--primary-foreground));
}

.data-\[range-middle\=true\]\:text-accent-foreground[data-range-middle="true"] {
  color: oklch(var(--accent-foreground));
}

.data-\[range-start\=true\]\:text-primary-foreground[data-range-start="true"] {
  color: oklch(var(--primary-foreground));
}

.data-\[selected-single\=true\]\:text-primary-foreground[data-selected-single="true"] {
  color: oklch(var(--primary-foreground));
}

.data-\[selected\=true\]\:text-accent-foreground[data-selected="true"] {
  color: oklch(var(--accent-foreground));
}

.data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] {
  color: oklch(var(--primary-foreground));
}

.data-\[state\=on\]\:text-accent-foreground[data-state="on"] {
  color: oklch(var(--accent-foreground));
}

.data-\[state\=open\]\:text-accent-foreground[data-state="open"] {
  color: oklch(var(--accent-foreground));
}

.data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.data-\[variant\=destructive\]\:text-destructive[data-variant="destructive"] {
  --tw-text-opacity: 1;
  color: oklch(var(--destructive) / var(--tw-text-opacity, 1));
}

.data-\[disabled\=true\]\:opacity-50[data-disabled="true"] {
  opacity: 0.5;
}

.data-\[disabled\]\:opacity-50[data-disabled] {
  opacity: 0.5;
}

.data-\[state\=open\]\:opacity-100[data-state="open"] {
  opacity: 1;
}

.data-\[state\=active\]\:shadow-sm[data-state="active"] {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.data-\[variant\=outline\]\:shadow-xs[data-variant="outline"] {
  --tw-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.data-\[active\=true\]\:ring-\[3px\][data-active="true"] {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.data-\[active\=true\]\:ring-ring\/50[data-active="true"] {
  --tw-ring-color: oklch(var(--ring) / 0.5);
}

.data-\[state\=closed\]\:duration-300[data-state="closed"] {
  transition-duration: 300ms;
}

.data-\[state\=open\]\:duration-500[data-state="open"] {
  transition-duration: 500ms;
}

.data-\[motion\^\=from-\]\:animate-in[data-motion^="from-"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.data-\[state\=open\]\:animate-in[data-state="open"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.data-\[state\=visible\]\:animate-in[data-state="visible"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.data-\[motion\^\=to-\]\:animate-out[data-motion^="to-"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[state\=closed\]\:animate-out[data-state="closed"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[state\=hidden\]\:animate-out[data-state="hidden"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[motion\^\=from-\]\:fade-in[data-motion^="from-"] {
  --tw-enter-opacity: 0;
}

.data-\[motion\^\=to-\]\:fade-out[data-motion^="to-"] {
  --tw-exit-opacity: 0;
}

.data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
  --tw-exit-opacity: 0;
}

.data-\[state\=hidden\]\:fade-out[data-state="hidden"] {
  --tw-exit-opacity: 0;
}

.data-\[state\=open\]\:fade-in-0[data-state="open"] {
  --tw-enter-opacity: 0;
}

.data-\[state\=visible\]\:fade-in[data-state="visible"] {
  --tw-enter-opacity: 0;
}

.data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
  --tw-exit-scale: .95;
}

.data-\[state\=open\]\:zoom-in-90[data-state="open"] {
  --tw-enter-scale: .9;
}

.data-\[state\=open\]\:zoom-in-95[data-state="open"] {
  --tw-enter-scale: .95;
}

.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion="from-end"] {
  --tw-enter-translate-x: 13rem;
}

.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion="from-start"] {
  --tw-enter-translate-x: -13rem;
}

.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion="to-end"] {
  --tw-exit-translate-x: 13rem;
}

.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion="to-start"] {
  --tw-exit-translate-x: -13rem;
}

.data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"] {
  --tw-enter-translate-y: -0.5rem;
}

.data-\[side\=left\]\:slide-in-from-right-2[data-side="left"] {
  --tw-enter-translate-x: 0.5rem;
}

.data-\[side\=right\]\:slide-in-from-left-2[data-side="right"] {
  --tw-enter-translate-x: -0.5rem;
}

.data-\[side\=top\]\:slide-in-from-bottom-2[data-side="top"] {
  --tw-enter-translate-y: 0.5rem;
}

.data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] {
  --tw-exit-translate-y: 100%;
}

.data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] {
  --tw-exit-translate-x: -100%;
}

.data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] {
  --tw-exit-translate-x: 100%;
}

.data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] {
  --tw-exit-translate-y: -100%;
}

.data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] {
  --tw-enter-translate-y: 100%;
}

.data-\[state\=open\]\:slide-in-from-left[data-state="open"] {
  --tw-enter-translate-x: -100%;
}

.data-\[state\=open\]\:slide-in-from-right[data-state="open"] {
  --tw-enter-translate-x: 100%;
}

.data-\[state\=open\]\:slide-in-from-top[data-state="open"] {
  --tw-enter-translate-y: -100%;
}

.data-\[state\=closed\]\:duration-300[data-state="closed"] {
  animation-duration: 300ms;
}

.data-\[state\=open\]\:duration-500[data-state="open"] {
  animation-duration: 500ms;
}

.\*\:data-\[slot\=select-value\]\:line-clamp-1[data-slot="select-value"] > * {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.\*\:data-\[slot\=select-value\]\:flex[data-slot="select-value"] > * {
  display: flex;
}

.\*\:data-\[slot\=select-value\]\:items-center[data-slot="select-value"] > * {
  align-items: center;
}

.\*\:data-\[slot\=select-value\]\:gap-2[data-slot="select-value"] > * {
  gap: 0.5rem;
}

.\*\:data-\[slot\=alert-description\]\:text-destructive\/90[data-slot="alert-description"] > * {
  color: oklch(var(--destructive) / 0.9);
}

.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction="vertical"]::after {
  content: var(--tw-content);
  left: 0px;
}

.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction="vertical"]::after {
  content: var(--tw-content);
  height: 0.25rem;
}

.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction="vertical"]::after {
  content: var(--tw-content);
  width: 100%;
}

.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction="vertical"]::after {
  content: var(--tw-content);
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction="vertical"]::after {
  content: var(--tw-content);
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[variant\=outline\]\:first\:border-l:first-child[data-variant="outline"] {
  border-left-width: 1px;
}

.data-\[active\=true\]\:hover\:bg-accent:hover[data-active="true"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[state\=open\]\:hover\:bg-accent:hover[data-state="open"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[state\=open\]\:hover\:bg-sidebar-accent:hover[data-state="open"] {
  background-color: oklch(var(--sidebar-accent));
}

.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground:hover[data-state="open"] {
  color: oklch(var(--sidebar-accent-foreground));
}

.data-\[active\=true\]\:focus\:bg-accent:focus[data-active="true"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[state\=open\]\:focus\:bg-accent:focus[data-state="open"] {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[variant\=destructive\]\:focus\:bg-destructive\/10:focus[data-variant="destructive"] {
  background-color: oklch(var(--destructive) / 0.1);
}

.data-\[variant\=destructive\]\:focus\:text-destructive:focus[data-variant="destructive"] {
  --tw-text-opacity: 1;
  color: oklch(var(--destructive) / var(--tw-text-opacity, 1));
}

.group[data-disabled="true"] .group-data-\[disabled\=true\]\:pointer-events-none {
  pointer-events: none;
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:relative {
  position: relative;
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\] {
  left: calc(var(--sidebar-width) * -1);
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\] {
  right: calc(var(--sidebar-width) * -1);
}

.group[data-side="left"] .group-data-\[side\=left\]\:-right-4 {
  right: -1rem;
}

.group[data-side="right"] .group-data-\[side\=right\]\:left-0 {
  left: 0px;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:top-full {
  top: 100%;
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:z-10 {
  z-index: 10;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:-mt-8 {
  margin-top: -2rem;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:mt-1\.5 {
  margin-top: 0.375rem;
}

.group\/drawer-content[data-vaul-drawer-direction="bottom"] .group-data-\[vaul-drawer-direction\=bottom\]\/drawer-content\:block {
  display: block;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:hidden {
  display: none;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\)\] {
  width: calc(var(--sidebar-width-icon) + (--spacing(4)));
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\+2px\)\] {
  width: calc(var(--sidebar-width-icon) + (--spacing(4)) + 2px);
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:w-0 {
  width: 0px;
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:translate-x-0 {
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group[data-side="right"] .group-data-\[side\=right\]\:rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group[data-state="open"] .group-data-\[state\=open\]\:rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:overflow-hidden {
  overflow: hidden;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:overflow-hidden {
  overflow: hidden;
}

.group[data-variant="floating"] .group-data-\[variant\=floating\]\:rounded-lg {
  border-radius: var(--radius);
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:rounded-md {
  border-radius: calc(var(--radius) - 2px);
}

.group[data-variant="floating"] .group-data-\[variant\=floating\]\:border {
  border-width: 1px;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:border {
  border-width: 1px;
}

.group[data-side="left"] .group-data-\[side\=left\]\:border-r {
  border-right-width: 1px;
}

.group[data-side="right"] .group-data-\[side\=right\]\:border-l {
  border-left-width: 1px;
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:border-ring {
  --tw-border-opacity: 1;
  border-color: oklch(var(--ring) / var(--tw-border-opacity, 1));
}

.group[data-variant="floating"] .group-data-\[variant\=floating\]\:border-sidebar-border {
  border-color: oklch(var(--sidebar-border));
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:bg-popover {
  background-color: oklch(var(--popover));
}

.group\/drawer-content[data-vaul-drawer-direction="bottom"] .group-data-\[vaul-drawer-direction\=bottom\]\/drawer-content\:text-center {
  text-align: center;
}

.group\/drawer-content[data-vaul-drawer-direction="top"] .group-data-\[vaul-drawer-direction\=top\]\/drawer-content\:text-center {
  text-align: center;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:text-popover-foreground {
  color: oklch(var(--popover-foreground));
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:opacity-0 {
  opacity: 0;
}

.group[data-disabled="true"] .group-data-\[disabled\=true\]\:opacity-50 {
  opacity: 0.5;
}

.group[data-variant="floating"] .group-data-\[variant\=floating\]\:shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:ring-\[3px\] {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:ring-ring\/50 {
  --tw-ring-color: oklch(var(--ring) / 0.5);
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:duration-200 {
  transition-duration: 200ms;
  animation-duration: 200ms;
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:after\:left-full::after {
  content: var(--tw-content);
  left: 100%;
}

.group[data-collapsible="offcanvas"] .hover\:group-data-\[collapsible\=offcanvas\]\:bg-sidebar:hover {
  background-color: oklch(var(--sidebar));
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:animate-in[data-state="open"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:animate-out[data-state="closed"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
  --tw-exit-opacity: 0;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:fade-in-0[data-state="open"] {
  --tw-enter-opacity: 0;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
  --tw-exit-scale: .95;
}

.group\/navigation-menu[data-viewport="false"] .group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:zoom-in-95[data-state="open"] {
  --tw-enter-scale: .95;
}

.peer\/menu-button[data-size="default"] ~ .peer-data-\[size\=default\]\/menu-button\:top-1\.5 {
  top: 0.375rem;
}

.peer\/menu-button[data-size="lg"] ~ .peer-data-\[size\=lg\]\/menu-button\:top-2\.5 {
  top: 0.625rem;
}

.peer\/menu-button[data-size="sm"] ~ .peer-data-\[size\=sm\]\/menu-button\:top-1 {
  top: 0.25rem;
}

.peer\/menu-button[data-active="true"] ~ .peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground {
  color: oklch(var(--sidebar-accent-foreground));
}

.dark\:border-input:is(.dark *) {
  border-color: oklch(var(--input));
}

.dark\:bg-destructive\/60:is(.dark *) {
  background-color: oklch(var(--destructive) / 0.6);
}

.dark\:text-muted-foreground:is(.dark *) {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.dark\:hover\:bg-accent\/50:hover:is(.dark *) {
  background-color: oklch(var(--accent) / 0.5);
}

.dark\:hover\:text-accent-foreground:hover:is(.dark *) {
  color: oklch(var(--accent-foreground));
}

.dark\:focus-visible\:ring-destructive\/40:focus-visible:is(.dark *) {
  --tw-ring-color: oklch(var(--destructive) / 0.4);
}

.dark\:data-\[state\=active\]\:border-input[data-state="active"]:is(.dark *) {
  border-color: oklch(var(--input));
}

.dark\:data-\[state\=checked\]\:bg-primary[data-state="checked"]:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--primary) / var(--tw-bg-opacity, 1));
}

.dark\:data-\[state\=checked\]\:bg-primary-foreground[data-state="checked"]:is(.dark *) {
  background-color: oklch(var(--primary-foreground));
}

.dark\:data-\[state\=unchecked\]\:bg-foreground[data-state="unchecked"]:is(.dark *) {
  background-color: oklch(var(--foreground));
}

.dark\:data-\[state\=active\]\:text-foreground[data-state="active"]:is(.dark *) {
  color: oklch(var(--foreground));
}

.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:focus[data-variant="destructive"]:is(.dark *) {
  background-color: oklch(var(--destructive) / 0.2);
}

@media (min-width: 640px) {

  .sm\:block {
    display: block;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:max-w-lg {
    max-width: 32rem;
  }

  .sm\:max-w-sm {
    max-width: 24rem;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:gap-2\.5 {
    gap: 0.625rem;
  }

  .sm\:pl-2\.5 {
    padding-left: 0.625rem;
  }

  .sm\:pr-2\.5 {
    padding-right: 0.625rem;
  }

  .sm\:text-left {
    text-align: left;
  }

  .data-\[vaul-drawer-direction\=left\]\:sm\:max-w-sm[data-vaul-drawer-direction="left"] {
    max-width: 24rem;
  }

  .data-\[vaul-drawer-direction\=right\]\:sm\:max-w-sm[data-vaul-drawer-direction="right"] {
    max-width: 24rem;
  }
}

@media (min-width: 768px) {

  .md\:absolute {
    position: absolute;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:w-\[var\(--radix-navigation-menu-viewport-width\)\] {
    width: var(--radix-navigation-menu-viewport-width);
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:gap-1\.5 {
    gap: 0.375rem;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .md\:opacity-0 {
    opacity: 0;
  }

  .md\:after\:hidden::after {
    content: var(--tw-content);
    display: none;
  }

  .peer[data-variant="inset"] ~ .md\:peer-data-\[variant\=inset\]\:m-2 {
    margin: 0.5rem;
  }

  .peer[data-variant="inset"] ~ .md\:peer-data-\[variant\=inset\]\:ml-0 {
    margin-left: 0px;
  }

  .peer[data-variant="inset"][data-state="collapsed"] ~ .md\:peer-data-\[variant\=inset\]\:peer-data-\[state\=collapsed\]\:ml-2 {
    margin-left: 0.5rem;
  }

  .peer[data-variant="inset"] ~ .md\:peer-data-\[variant\=inset\]\:rounded-xl {
    border-radius: 0.75rem;
  }

  .peer[data-variant="inset"] ~ .md\:peer-data-\[variant\=inset\]\:shadow-sm {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
}

.\[\&\:first-child\[data-selected\=true\]_button\]\:rounded-l-md:first-child[data-selected=true] button {
  border-top-left-radius: calc(var(--radius) - 2px);
  border-bottom-left-radius: calc(var(--radius) - 2px);
}

.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) {
  padding-right: 0px;
}

.\[\&\:last-child\[data-selected\=true\]_button\]\:rounded-r-md:last-child[data-selected=true] button {
  border-top-right-radius: calc(var(--radius) - 2px);
  border-bottom-right-radius: calc(var(--radius) - 2px);
}

.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox] {
  --tw-translate-y: 2px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.\[\&\>button\]\:hidden>button {
  display: none;
}

.\[\&\>span\:last-child\]\:truncate>span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.\[\&\>span\]\:text-xs>span {
  font-size: 0.75rem;
  line-height: 1rem;
}

.\[\&\>span\]\:opacity-70>span {
  opacity: 0.7;
}

.\[\&\>svg\]\:pointer-events-none>svg {
  pointer-events: none;
}

.\[\&\>svg\]\:size-3>svg {
  width: 0.75rem;
  height: 0.75rem;
}

.\[\&\>svg\]\:size-3\.5>svg {
  width: 0.875rem;
  height: 0.875rem;
}

.\[\&\>svg\]\:size-4>svg {
  width: 1rem;
  height: 1rem;
}

.\[\&\>svg\]\:h-2\.5>svg {
  height: 0.625rem;
}

.\[\&\>svg\]\:h-3>svg {
  height: 0.75rem;
}

.\[\&\>svg\]\:w-2\.5>svg {
  width: 0.625rem;
}

.\[\&\>svg\]\:w-3>svg {
  width: 0.75rem;
}

.\[\&\>svg\]\:shrink-0>svg {
  flex-shrink: 0;
}

.\[\&\>svg\]\:translate-y-0\.5>svg {
  --tw-translate-y: 0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.\[\&\>svg\]\:text-current>svg {
  color: currentColor;
}

.\[\&\>svg\]\:text-muted-foreground>svg {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.\[\&\>svg\]\:text-sidebar-accent-foreground>svg {
  color: oklch(var(--sidebar-accent-foreground));
}

.\[\&\>tr\]\:last\:border-b-0:last-child>tr {
  border-bottom-width: 0px;
}

.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div {
  --tw-rotate: 90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text {
  fill: oklch(var(--muted-foreground) / 1);
}

.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor {
  stroke: oklch(var(--border));
}

.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke='#fff'] {
  stroke: transparent;
}

.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke='#ccc'] {
  stroke: oklch(var(--border));
}

.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector {
  fill: oklch(var(--muted) / 1);
}

.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor {
  fill: oklch(var(--muted) / 1);
}

.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke='#ccc'] {
  stroke: oklch(var(--border));
}

.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke='#fff'] {
  stroke: transparent;
}

.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading] {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading] {
  font-size: 0.75rem;
  line-height: 1rem;
}

.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading] {
  font-weight: 500;
}

.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading] {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden]) ~[cmdk-group] {
  padding-top: 0px;
}

.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg {
  height: 1.25rem;
}

.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg {
  width: 1.25rem;
}

.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input] {
  height: 3rem;
}

.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item] {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg {
  height: 1.25rem;
}

.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg {
  width: 1.25rem;
}

.\[\&_p\]\:leading-relaxed p {
  line-height: 1.625;
}

.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*='size-']) {
  width: 1rem;
  height: 1rem;
}

.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*='text-']) {
  --tw-text-opacity: 1;
  color: oklch(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.\[\&_svg\]\:pointer-events-none svg {
  pointer-events: none;
}

.\[\&_svg\]\:shrink-0 svg {
  flex-shrink: 0;
}

.\[\&_tr\:last-child\]\:border-0 tr:last-child {
  border-width: 0px;
}

.\[\&_tr\]\:border-b tr {
  border-bottom-width: 1px;
}

[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2 {
  right: -0.5rem;
}

[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize {
  cursor: e-resize;
}

[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2 {
  left: -0.5rem;
}

[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize {
  cursor: w-resize;
}

[data-slot=card-content] .\[\[data-slot\=card-content\]_\&\]\:bg-transparent {
  background-color: transparent;
}

[data-slot=popover-content] .\[\[data-slot\=popover-content\]_\&\]\:bg-transparent {
  background-color: transparent;
}

a.\[a\&\]\:hover\:bg-accent:hover {
  --tw-bg-opacity: 1;
  background-color: oklch(var(--accent) / var(--tw-bg-opacity, 1));
}

a.\[a\&\]\:hover\:bg-destructive\/90:hover {
  background-color: oklch(var(--destructive) / 0.9);
}

a.\[a\&\]\:hover\:bg-primary\/90:hover {
  background-color: oklch(var(--primary) / 0.9);
}

a.\[a\&\]\:hover\:bg-secondary\/90:hover {
  background-color: oklch(var(--secondary) / 0.9);
}

a.\[a\&\]\:hover\:text-accent-foreground:hover {
  color: oklch(var(--accent-foreground));
}
