/*
 * Slotivo PR4f — BARBERSHOP KOSTUR 4 design tokens.
 *
 * Defines:
 *   1. Color, spacing, font CSS variables, scoped per STIL via the
 *      `data-slotivo-stil="S1|S2|S3|S4"` attribute on the root element.
 *   2. A focused set of utility classes (.bg-on-surface, .text-primary,
 *      …) that map to those variables, scoped under
 *      `body[class*='slotivo-kostur-d']` so they cannot leak into the
 *      rest of the app.
 *
 * Per-STIL theming: only the COLOR section changes between stilovi.
 * Spacing + fonts + utility shape stay identical.
 */

/* -------------------------------------------------------------------------
 * 1. KOSTUR 4 — STIL 1 (game-ui) defaults — cinematic gold
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'],
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) {
  --surface-dim: #131313;
  --surface: #131313;
  --background: #131313;
  --surface-variant: #353534;
  --surface-bright: #3a3939;
  --surface-container: #201f1f;
  --surface-container-low: #1c1b1b;
  --surface-container-lowest: #0e0e0e;
  --surface-container-high: #2a2a2a;
  --surface-container-highest: #353534;
  --surface-glass: rgba(26, 26, 26, 0.6);
  --surface-tint: #e9c349;
  --on-surface: #e5e2e1;
  --on-surface-variant: #d0c5af;
  --on-background: #e5e2e1;
  --outline: #99907c;
  --outline-variant: #4d4635;
  --primary: #f2ca50;
  --primary-fixed: #ffe088;
  --primary-fixed-dim: #e9c349;
  --on-primary: #3c2f00;
  --on-primary-fixed: #241a00;
  --on-primary-fixed-variant: #574500;
  --primary-container: #d4af37;
  --on-primary-container: #554300;
  --secondary: #c8c6c5;
  --on-secondary: #313030;
  --secondary-fixed: #e5e2e1;
  --on-secondary-fixed: #1c1b1b;
  --on-secondary-fixed-variant: #474746;
  --secondary-fixed-dim: #c8c6c5;
  --secondary-container: #474746;
  --on-secondary-container: #b7b5b4;
  --tertiary: #d0cdcd;
  --on-tertiary: #303030;
  --tertiary-fixed: #e4e2e1;
  --on-tertiary-fixed: #1b1c1c;
  --on-tertiary-fixed-variant: #474746;
  --tertiary-fixed-dim: #c8c6c5;
  --tertiary-container: #b4b2b2;
  --on-tertiary-container: #454545;
  --inverse-surface: #e5e2e1;
  --inverse-on-surface: #313030;
  --inverse-primary: #735c00;
  --error: #ffb4ab;
  --on-error: #690005;
  --error-container: #93000a;
  --on-error-container: #ffdad6;
  --glass-border: rgba(212, 175, 55, 0.2);
  --glass-border-active: rgba(242, 202, 80, 1);
}

/* -------------------------------------------------------------------------
 * 1b. KOSTUR 4 — STIL 2 (game-cinematicbarber-ui) — same gold base
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] {
  --surface-dim: #131313;
  --surface: #131313;
  --background: #131313;
  --surface-variant: #353534;
  --surface-bright: #3a3939;
  --surface-container: #201f1f;
  --surface-container-low: #1c1b1b;
  --surface-container-lowest: #0e0e0e;
  --surface-container-high: #2a2a2a;
  --surface-container-highest: #353534;
  --surface-glass: rgba(26, 26, 26, 0.65);
  --surface-tint: #e9c349;
  --on-surface: #e5e2e1;
  --on-surface-variant: #d0c5af;
  --on-background: #e5e2e1;
  --outline: #99907c;
  --outline-variant: #4d4635;
  --primary: #f2ca50;
  --primary-fixed: #ffe088;
  --primary-fixed-dim: #e9c349;
  --on-primary: #3c2f00;
  --on-primary-fixed: #241a00;
  --on-primary-fixed-variant: #574500;
  --primary-container: #d4af37;
  --on-primary-container: #554300;
  --secondary: #c8c6c5;
  --on-secondary: #313030;
  --secondary-fixed: #e5e2e1;
  --on-secondary-fixed: #1c1b1b;
  --on-secondary-fixed-variant: #474746;
  --secondary-fixed-dim: #c8c6c5;
  --secondary-container: #474746;
  --on-secondary-container: #b7b5b4;
  --tertiary: #d0cdcd;
  --on-tertiary: #303030;
  --tertiary-fixed: #e4e2e1;
  --on-tertiary-fixed: #1b1c1c;
  --on-tertiary-fixed-variant: #474746;
  --tertiary-fixed-dim: #c8c6c5;
  --tertiary-container: #b4b2b2;
  --on-tertiary-container: #454545;
  --inverse-surface: #e5e2e1;
  --inverse-on-surface: #313030;
  --inverse-primary: #735c00;
  --error: #ffb4ab;
  --on-error: #690005;
  --error-container: #93000a;
  --on-error-container: #ffdad6;
  --glass-border: rgba(212, 175, 55, 0.25);
  --glass-border-active: rgba(242, 202, 80, 1);
}

/* -------------------------------------------------------------------------
 * 1c. KOSTUR 4 — STIL 3 (game-darktechbarber-ui)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] {
  --surface-dim: #0c1324;
  --surface: #0c1324;
  --background: #0c1324;
  --surface-variant: #2e3447;
  --surface-bright: #33394c;
  --surface-container: #191f31;
  --surface-container-low: #151b2d;
  --surface-container-lowest: #070d1f;
  --surface-container-high: #23293c;
  --surface-container-highest: #2e3447;
  --surface-glass: rgba(12, 19, 36, 0.75);
  --surface-tint: #c1c7cf;
  --on-surface: #dce1fb;
  --on-surface-variant: #c5c6cb;
  --on-background: #dce1fb;
  --outline: #8e9195;
  --outline-variant: #44474a;
  --primary: #ffffff;
  --primary-fixed: #dde3eb;
  --primary-fixed-dim: #c1c7cf;
  --on-primary: #2b3137;
  --on-primary-fixed: #161c22;
  --on-primary-fixed-variant: #41474e;
  --primary-container: #dde3eb;
  --on-primary-container: #5f656c;
  --secondary: #b9c7e0;
  --on-secondary: #233144;
  --secondary-fixed: #d5e3fd;
  --on-secondary-fixed: #0d1c2f;
  --on-secondary-fixed-variant: #3a485c;
  --secondary-fixed-dim: #b9c7e0;
  --secondary-container: #3c4a5e;
  --on-secondary-container: #abb9d2;
  --tertiary: #ffffff;
  --on-tertiary: #283044;
  --tertiary-fixed: #dae2fd;
  --on-tertiary-fixed: #131b2e;
  --on-tertiary-fixed-variant: #3f465c;
  --tertiary-fixed-dim: #bec6e0;
  --tertiary-container: #dae2fd;
  --on-tertiary-container: #5c647a;
  --inverse-surface: #dce1fb;
  --inverse-on-surface: #2a3043;
  --inverse-primary: #595f66;
  --error: #ffb4ab;
  --on-error: #690005;
  --error-container: #93000a;
  --on-error-container: #ffdad6;
  --glass-border: rgba(193, 199, 207, 0.2);
  --glass-border-active: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------------------------
 * 1d. KOSTUR 4 — STIL 4 (game-cyberbarber-ui)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] {
  --surface-dim: #131314;
  --surface: #131314;
  --background: #131314;
  --surface-variant: #353436;
  --surface-bright: #3a393a;
  --surface-container: #201f20;
  --surface-container-low: #1c1b1c;
  --surface-container-lowest: #0e0e0f;
  --surface-container-high: #2a2a2b;
  --surface-container-highest: #353436;
  --surface-glass: rgba(19, 19, 20, 0.75);
  --surface-tint: #00dbe9;
  --on-surface: #e5e2e3;
  --on-surface-variant: #b9cacb;
  --on-background: #e5e2e3;
  --outline: #849495;
  --outline-variant: #3b494b;
  --primary: #dbfcff;
  --primary-fixed: #7df4ff;
  --primary-fixed-dim: #00dbe9;
  --on-primary: #00363a;
  --on-primary-fixed: #002022;
  --on-primary-fixed-variant: #004f54;
  --primary-container: #00f0ff;
  --on-primary-container: #006970;
  --secondary: #ebb2ff;
  --on-secondary: #520072;
  --secondary-fixed: #f8d8ff;
  --on-secondary-fixed: #320047;
  --on-secondary-fixed-variant: #74009f;
  --secondary-fixed-dim: #ebb2ff;
  --secondary-container: #b600f8;
  --on-secondary-container: #fff6fc;
  --tertiary: #f6f5f5;
  --on-tertiary: #2f3131;
  --tertiary-fixed: #e2e2e2;
  --on-tertiary-fixed: #1a1c1c;
  --on-tertiary-fixed-variant: #454747;
  --tertiary-fixed-dim: #c6c6c7;
  --tertiary-container: #d9d9d9;
  --on-tertiary-container: #5d5f5f;
  --inverse-surface: #e5e2e3;
  --inverse-on-surface: #313031;
  --inverse-primary: #006970;
  --error: #ffb4ab;
  --on-error: #690005;
  --error-container: #93000a;
  --on-error-container: #ffdad6;
  --glass-border: rgba(0, 240, 255, 0.25);
  --glass-border-active: rgba(0, 240, 255, 0.8);
}

/* -------------------------------------------------------------------------
 * 2. Spacing scale — defaults (S1 game-ui)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] {
  --margin-mobile: 16px;
  --margin: 32px;
  --margin-desktop: 64px;
  --container-max: 1280px;
  --gutter: 16px;
  --unit: 4px;
  --base: 8px;
  --stack-sm: 8px;
  --stack-md: 20px;
  --stack-lg: 40px;
  --container-padding: 24px;
  --unit-xs: 4px;
  --unit-sm: 12px;
  --unit-md: 24px;
  --unit-lg: 48px;
  --unit-xl: 96px;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] {
  --unit: 8px;
  --gutter: 24px;
  --section-gap: 120px;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] {
  --gutter: 20px;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] {
  --gutter: 24px;
}

/* -------------------------------------------------------------------------
 * 3. Utility classes — background colors
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'].bg-background {
  background-color: var(--background) !important;
}
body[class*='slotivo-kostur-d'].text-on-background {
  color: var(--on-background) !important;
}

body[class*='slotivo-kostur-d'] .bg-background        { background-color: var(--background); }
body[class*='slotivo-kostur-d'] .bg-surface           { background-color: var(--surface); }
body[class*='slotivo-kostur-d'] .bg-surface-dim       { background-color: var(--surface-dim); }
body[class*='slotivo-kostur-d'] .bg-surface-variant   { background-color: var(--surface-variant); }
body[class*='slotivo-kostur-d'] .bg-surface-bright    { background-color: var(--surface-bright); }
body[class*='slotivo-kostur-d'] .bg-surface-container { background-color: var(--surface-container); }
body[class*='slotivo-kostur-d'] .bg-surface-container-low     { background-color: var(--surface-container-low); }
body[class*='slotivo-kostur-d'] .bg-surface-container-low\/50 { background-color: color-mix(in srgb, var(--surface-container-low) 50%, transparent); }
body[class*='slotivo-kostur-d'] .bg-surface-container-lowest  { background-color: var(--surface-container-lowest); }
body[class*='slotivo-kostur-d'] .bg-surface-container-high    { background-color: var(--surface-container-high); }
body[class*='slotivo-kostur-d'] .bg-surface-container-highest { background-color: var(--surface-container-highest); }
body[class*='slotivo-kostur-d'] .bg-on-surface         { background-color: var(--on-surface); }
body[class*='slotivo-kostur-d'] .bg-on-surface-variant { background-color: var(--on-surface-variant); }
body[class*='slotivo-kostur-d'] .bg-on-background      { background-color: var(--on-background); }
body[class*='slotivo-kostur-d'] .bg-primary            { background-color: var(--primary); }
body[class*='slotivo-kostur-d'] .bg-primary-container  { background-color: var(--primary-container); }
body[class*='slotivo-kostur-d'] .bg-secondary          { background-color: var(--secondary); }
body[class*='slotivo-kostur-d'] .bg-secondary-container { background-color: var(--secondary-container); }
body[class*='slotivo-kostur-d'] .bg-tertiary           { background-color: var(--tertiary); }
body[class*='slotivo-kostur-d'] .bg-tertiary-fixed-dim { background-color: var(--tertiary-fixed-dim); }
body[class*='slotivo-kostur-d'] .bg-tertiary-container { background-color: var(--tertiary-container); }
body[class*='slotivo-kostur-d'] .bg-outline           { background-color: var(--outline); }
body[class*='slotivo-kostur-d'] .bg-outline-variant   { background-color: var(--outline-variant); }
body[class*='slotivo-kostur-d'] .bg-error             { background-color: var(--error); }

/* opacity-modifier helpers */
body[class*='slotivo-kostur-d'] .bg-background\/40     { background-color: color-mix(in srgb, var(--background) 40%, transparent); }
body[class*='slotivo-kostur-d'] .bg-background\/50     { background-color: color-mix(in srgb, var(--background) 50%, transparent); }
body[class*='slotivo-kostur-d'] .bg-background\/80     { background-color: color-mix(in srgb, var(--background) 80%, transparent); }
body[class*='slotivo-kostur-d'] .bg-background\/90     { background-color: color-mix(in srgb, var(--background) 90%, transparent); }
body[class*='slotivo-kostur-d'] .bg-background\/95     { background-color: color-mix(in srgb, var(--background) 95%, transparent); }
body[class*='slotivo-kostur-d'] .bg-surface-container\/80 { background-color: color-mix(in srgb, var(--surface-container) 80%, transparent); }
body[class*='slotivo-kostur-d'] .bg-primary\/10        { background-color: color-mix(in srgb, var(--primary) 10%, transparent); }
body[class*='slotivo-kostur-d'] .bg-primary\/90        { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
body[class*='slotivo-kostur-d'] .bg-tertiary\/20       { background-color: color-mix(in srgb, var(--tertiary) 20%, transparent); }
body[class*='slotivo-kostur-d'] .bg-secondary\/90      { background-color: color-mix(in srgb, var(--secondary) 90%, transparent); }

body[class*='slotivo-kostur-d'] .hover\:bg-primary:hover            { background-color: var(--primary); }
body[class*='slotivo-kostur-d'] .hover\:bg-primary\/10:hover        { background-color: color-mix(in srgb, var(--primary) 10%, transparent); }
body[class*='slotivo-kostur-d'] .hover\:bg-primary\/90:hover        { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
body[class*='slotivo-kostur-d'] .hover\:bg-tertiary:hover           { background-color: var(--tertiary); }
body[class*='slotivo-kostur-d'] .hover\:bg-tertiary-fixed-dim:hover { background-color: var(--tertiary-fixed-dim); }
body[class*='slotivo-kostur-d'] .hover\:bg-surface:hover            { background-color: var(--surface); }
body[class*='slotivo-kostur-d'] .hover\:bg-surface-container:hover  { background-color: var(--surface-container); }
body[class*='slotivo-kostur-d'] .hover\:bg-surface-container-high:hover    { background-color: var(--surface-container-high); }
body[class*='slotivo-kostur-d'] .hover\:bg-surface-container-highest:hover { background-color: var(--surface-container-highest); }
body[class*='slotivo-kostur-d'] .hover\:bg-outline-variant:hover    { background-color: var(--outline-variant); }
body[class*='slotivo-kostur-d'] .hover\:bg-secondary\/90:hover      { background-color: color-mix(in srgb, var(--secondary) 90%, transparent); }

/* -------------------------------------------------------------------------
 * 4. Utility classes — text colors
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] .text-on-surface          { color: var(--on-surface); }
body[class*='slotivo-kostur-d'] .text-on-surface-variant  { color: var(--on-surface-variant); }
body[class*='slotivo-kostur-d'] .text-on-background       { color: var(--on-background); }
body[class*='slotivo-kostur-d'] .text-primary             { color: var(--primary); }
body[class*='slotivo-kostur-d'] .text-on-primary          { color: var(--on-primary); }
body[class*='slotivo-kostur-d'] .text-primary-container     { color: var(--primary-container) !important; }
body[class*='slotivo-kostur-d'] .text-on-primary-container { color: var(--on-primary-container); }
body[class*='slotivo-kostur-d'] .text-secondary           { color: var(--secondary); }
body[class*='slotivo-kostur-d'] .text-on-secondary        { color: var(--on-secondary); }
body[class*='slotivo-kostur-d'] .text-on-secondary-container { color: var(--on-secondary-container); }
body[class*='slotivo-kostur-d'] .text-tertiary            { color: var(--tertiary); }
body[class*='slotivo-kostur-d'] .text-on-tertiary         { color: var(--on-tertiary); }
body[class*='slotivo-kostur-d'] .text-on-tertiary-container { color: var(--on-tertiary-container); }
body[class*='slotivo-kostur-d'] .text-outline             { color: var(--outline); }
body[class*='slotivo-kostur-d'] .text-outline-variant     { color: var(--outline-variant) !important; }
body[class*='slotivo-kostur-d'] .text-background          { color: var(--background); }
body[class*='slotivo-kostur-d'] .text-error               { color: var(--error); }
body[class*='slotivo-kostur-d'] .text-secondary-container { color: var(--secondary-container); }

body[class*='slotivo-kostur-d'] .text-on-surface-variant\/50 { color: color-mix(in srgb, var(--on-surface-variant) 50%, transparent); }

body[class*='slotivo-kostur-d'] .hover\:text-on-surface:hover     { color: var(--on-surface); }
body[class*='slotivo-kostur-d'] .hover\:text-primary:hover        { color: var(--primary); }
body[class*='slotivo-kostur-d'] .hover\:text-on-primary:hover    { color: var(--on-primary); }
body[class*='slotivo-kostur-d'] .hover\:text-tertiary:hover       { color: var(--tertiary); }
body[class*='slotivo-kostur-d'] .hover\:text-on-tertiary:hover    { color: var(--on-tertiary); }
body[class*='slotivo-kostur-d'] .hover\:text-outline:hover        { color: var(--outline); }
body[class*='slotivo-kostur-d'] .hover\:text-background:hover     { color: var(--background); }

body[class*='slotivo-kostur-d'] .placeholder\:text-outline-variant::placeholder {
  color: var(--outline-variant);
}

/* -------------------------------------------------------------------------
 * 5. Utility classes — borders
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] .border-outline         { border-color: var(--outline); }
body[class*='slotivo-kostur-d'] .border-outline-variant { border-color: var(--outline-variant); }
body[class*='slotivo-kostur-d'] .border-on-surface      { border-color: var(--on-surface); }
body[class*='slotivo-kostur-d'] .border-primary         { border-color: var(--primary); }
body[class*='slotivo-kostur-d'] .border-secondary       { border-color: var(--secondary); }
body[class*='slotivo-kostur-d'] .border-secondary-container { border-color: var(--secondary-container); }
body[class*='slotivo-kostur-d'] .border-tertiary        { border-color: var(--tertiary); }
body[class*='slotivo-kostur-d'] .border-tertiary-container { border-color: var(--tertiary-container); }
body[class*='slotivo-kostur-d'] .border-background      { border-color: var(--background); }

body[class*='slotivo-kostur-d'] .border-outline-variant\/20 { border-color: color-mix(in srgb, var(--outline-variant) 20%, transparent); }
body[class*='slotivo-kostur-d'] .border-outline-variant\/30 { border-color: color-mix(in srgb, var(--outline-variant) 30%, transparent); }
body[class*='slotivo-kostur-d'] .border-outline-variant\/50 { border-color: color-mix(in srgb, var(--outline-variant) 50%, transparent); }
body[class*='slotivo-kostur-d'] .border-primary\/10         { border-color: color-mix(in srgb, var(--primary) 10%, transparent); }
body[class*='slotivo-kostur-d'] .border-primary\/20         { border-color: color-mix(in srgb, var(--primary) 20%, transparent); }
body[class*='slotivo-kostur-d'] .border-primary\/30         { border-color: color-mix(in srgb, var(--primary) 30%, transparent); }
body[class*='slotivo-kostur-d'] .border-primary\/50         { border-color: color-mix(in srgb, var(--primary) 50%, transparent); }
body[class*='slotivo-kostur-d'] .border-tertiary\/20        { border-color: color-mix(in srgb, var(--tertiary) 20%, transparent); }
body[class*='slotivo-kostur-d'] .border-tertiary\/30        { border-color: color-mix(in srgb, var(--tertiary) 30%, transparent); }
body[class*='slotivo-kostur-d'] .border-tertiary\/50        { border-color: color-mix(in srgb, var(--tertiary) 50%, transparent); }

body[class*='slotivo-kostur-d'] .hover\:border-outline:hover         { border-color: var(--outline); }
body[class*='slotivo-kostur-d'] .hover\:border-outline-variant:hover   { border-color: var(--outline-variant); }
body[class*='slotivo-kostur-d'] .hover\:border-on-surface:hover      { border-color: var(--on-surface); }
body[class*='slotivo-kostur-d'] .hover\:border-primary:hover         { border-color: var(--primary); }
body[class*='slotivo-kostur-d'] .hover\:border-tertiary:hover        { border-color: var(--tertiary); }
body[class*='slotivo-kostur-d'] .hover\:border-secondary:hover       { border-color: var(--secondary); }

body[class*='slotivo-kostur-d'] .focus\:border-on-surface:focus   { border-color: var(--on-surface); }
body[class*='slotivo-kostur-d'] .focus\:border-primary:focus      { border-color: var(--primary); }
body[class*='slotivo-kostur-d'] .focus\:border-secondary:focus    { border-color: var(--secondary); }
body[class*='slotivo-kostur-d'] .focus\:border-tertiary:focus     { border-color: var(--tertiary); }

body[class*='slotivo-kostur-d'] .focus\:ring-tertiary:focus {
  --tw-ring-color: var(--tertiary);
  box-shadow: 0 0 0 1px var(--tertiary);
}

/* -------------------------------------------------------------------------
 * 6. Utility classes — selection / opacity
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] .selection\:bg-tertiary ::selection,
body[class*='slotivo-kostur-d'].selection\:bg-tertiary ::selection {
  background-color: var(--tertiary);
}

body[class*='slotivo-kostur-d'] .selection\:text-on-tertiary ::selection,
body[class*='slotivo-kostur-d'].selection\:text-on-tertiary ::selection {
  color: var(--on-tertiary);
}

body[class*='slotivo-kostur-d'] .hover\:opacity-80:hover { opacity: 0.8; }
body[class*='slotivo-kostur-d'] .hover\:opacity-90:hover { opacity: 0.9; }

/* -------------------------------------------------------------------------
 * 7. Spacing utilities
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] .px-gutter              { padding-left: var(--gutter); padding-right: var(--gutter); }
body[class*='slotivo-kostur-d'] .px-container-padding   { padding-left: var(--container-padding); padding-right: var(--container-padding); }
body[class*='slotivo-kostur-d'] .px-margin-mobile       { padding-left: var(--margin-mobile); padding-right: var(--margin-mobile); }
body[class*='slotivo-kostur-d'] .p-container-padding  { padding: var(--container-padding); }
body[class*='slotivo-kostur-d'] .py-stack-lg            { padding-top: var(--stack-lg); padding-bottom: var(--stack-lg); }
body[class*='slotivo-kostur-d'] .py-stack-md            { padding-top: var(--stack-md); padding-bottom: var(--stack-md); }
body[class*='slotivo-kostur-d'] .pt-stack-lg            { padding-top: var(--stack-lg); }
body[class*='slotivo-kostur-d'] .pb-stack-lg            { padding-bottom: var(--stack-lg); }
body[class*='slotivo-kostur-d'] .mb-stack-lg            { margin-bottom: var(--stack-lg); }
body[class*='slotivo-kostur-d'] .mb-stack-md            { margin-bottom: var(--stack-md); }
body[class*='slotivo-kostur-d'] .mb-stack-sm            { margin-bottom: var(--stack-sm); }
body[class*='slotivo-kostur-d'] .mt-stack-md            { margin-top: var(--stack-md); }
body[class*='slotivo-kostur-d'] .mt-stack-lg            { margin-top: var(--stack-lg); }
body[class*='slotivo-kostur-d'] .gap-gutter             { gap: var(--gutter); }
body[class*='slotivo-kostur-d'] .gap-unit               { gap: var(--unit); }
body[class*='slotivo-kostur-d'] .gap-stack-sm           { gap: var(--stack-sm); }
body[class*='slotivo-kostur-d'] .gap-stack-md           { gap: var(--stack-md); }
body[class*='slotivo-kostur-d'] .gap-stack-lg           { gap: var(--stack-lg); }
body[class*='slotivo-kostur-d'] .max-w-container-max    { max-width: var(--container-max); }
body[class*='slotivo-kostur-d'] .px-margin-desktop     { padding-left: var(--margin-desktop); padding-right: var(--margin-desktop); }
body[class*='slotivo-kostur-d'] .py-unit-lg             { padding-top: var(--unit-lg); padding-bottom: var(--unit-lg); }
body[class*='slotivo-kostur-d'] .pt-unit-lg             { padding-top: var(--unit-lg); }
body[class*='slotivo-kostur-d'] .pt-unit-md             { padding-top: var(--unit-md); }
body[class*='slotivo-kostur-d'] .mb-unit-md             { margin-bottom: var(--unit-md); }
body[class*='slotivo-kostur-d'] .mb-unit-lg             { margin-bottom: var(--unit-lg); }
body[class*='slotivo-kostur-d'] .mb-unit-sm             { margin-bottom: var(--unit-sm); }
body[class*='slotivo-kostur-d'] .mt-base                { margin-top: var(--base); }
body[class*='slotivo-kostur-d'] .gap-base               { gap: var(--base); }
body[class*='slotivo-kostur-d'] .gap-unit-md            { gap: var(--unit-md); }
body[class*='slotivo-kostur-d'] .p-gutter               { padding: var(--gutter); }
body[class*='slotivo-kostur-d'] .space-y-base > :not([hidden]) ~ :not([hidden]) { margin-top: var(--base); }

body[class*='slotivo-kostur-d'] .bg-surface-container-highest\/80 {
  background-color: color-mix(in srgb, var(--surface-container-highest) 80%, transparent);
}
body[class*='slotivo-kostur-d'] .bg-primary-container\/5 {
  background-color: color-mix(in srgb, var(--primary-container) 5%, transparent);
}
body[class*='slotivo-kostur-d'] .bg-primary-fixed-dim   { background-color: var(--primary-fixed-dim); }
body[class*='slotivo-kostur-d'] .text-primary-fixed     { color: var(--primary-fixed); }
body[class*='slotivo-kostur-d'] .text-primary-fixed-dim { color: var(--primary-fixed-dim); }
body[class*='slotivo-kostur-d'] .border-primary-container { border-color: var(--primary-container); }
body[class*='slotivo-kostur-d'] .border-primary-container\/20 {
  border-color: color-mix(in srgb, var(--primary-container) 20%, transparent);
}
body[class*='slotivo-kostur-d'] .border-primary-container\/40 {
  border-color: color-mix(in srgb, var(--primary-container) 40%, transparent);
}
body[class*='slotivo-kostur-d'] .border-primary-container\/50 {
  border-color: color-mix(in srgb, var(--primary-container) 50%, transparent);
}

body[class*='slotivo-kostur-d'].bg-\[\#0A0A0A\] { background-color: #0A0A0A; }

/* Preview shell forces #131313 on body — restore source HTML body colors per stil */
html[data-slotivo-template-ready]:has(body[class*='slotivo-kostur-d'][data-slotivo-stil='S1']),
html[data-slotivo-template-ready]:has(body[class*='slotivo-kostur-d']:not([data-slotivo-stil])),
html[data-slotivo-template-ready] body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'],
html[data-slotivo-template-ready] body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) {
  background-color: #131313;
}
html[data-slotivo-template-ready]:has(body[class*='slotivo-kostur-d'][data-slotivo-stil='S2']),
html[data-slotivo-template-ready] body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] {
  background-color: #0A0A0A;
}
html[data-slotivo-template-ready]:has(body[class*='slotivo-kostur-d'][data-slotivo-stil='S3']),
html[data-slotivo-template-ready] body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] {
  background-color: #0c1324;
}
html[data-slotivo-template-ready]:has(body[class*='slotivo-kostur-d'][data-slotivo-stil='S4']),
html[data-slotivo-template-ready] body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] {
  background-color: #131314;
}

@media (min-width: 768px) {
  body[class*='slotivo-kostur-d'] .md\:ml-80 { margin-left: 20rem; }
  body[class*='slotivo-kostur-d'] .md\:px-margin-desktop {
    padding-left: var(--margin-desktop);
    padding-right: var(--margin-desktop);
  }
}

@media (max-width: 767px) {
  body[class*='slotivo-kostur-d'] .max-md\:text-headline-lg-mobile {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
  }
}

/* -------------------------------------------------------------------------
 * 8. Typography — S1/S2 gold (Playfair + Geist + Hanken)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'],
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'],
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .font-display-lg,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .font-headline-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .font-headline-sm,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-display-lg,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-headline-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-headline-sm,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-headline-lg,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-headline-lg-mobile,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-headline-xl,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .font-display-lg,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .font-headline-md,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .font-headline-sm {
  font-family: 'Playfair Display', Georgia, serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .font-body-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .font-body-lg,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .font-body-md,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .font-body-lg {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .font-label-caps,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .font-ui-button,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .font-label-caps,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .font-ui-button {
  font-family: 'Geist', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-body-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-body-lg,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-label-caps,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-label-sm,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-label-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .font-ui-button {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .text-display-lg,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .text-display-lg {
  font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .text-headline-md,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .text-headline-md {
  font-size: 32px; line-height: 1.2; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-headline-md {
  font-size: 24px; line-height: 32px; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-headline-lg {
  font-size: 40px; line-height: 48px; letter-spacing: -0.01em; font-weight: 700;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-headline-xl {
  font-size: 64px; line-height: 72px; letter-spacing: -0.02em; font-weight: 700;
}
@media (max-width: 767px) {
  body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-headline-lg-mobile {
    font-size: 32px; line-height: 40px; font-weight: 700;
  }
}
@media (min-width: 768px) {
  body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .md\:text-headline-xl {
    font-size: 64px;
    line-height: 72px;
    letter-spacing: -0.02em;
    font-weight: 700;
  }
  body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .md\:text-headline-lg {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.01em;
    font-weight: 700;
  }
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-body-lg {
  font-size: 18px; line-height: 28px; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-body-md {
  font-size: 16px; line-height: 24px; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-label-md {
  font-size: 14px; line-height: 20px; letter-spacing: 0.1em; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-label-sm {
  font-size: 12px; line-height: 16px; letter-spacing: 0.05em; font-weight: 500;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .text-headline-sm,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .text-headline-sm {
  font-size: 24px; line-height: 1.2; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .text-body-lg,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .text-body-lg {
  font-size: 18px; line-height: 1.6; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .text-body-md,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .text-body-md {
  font-size: 16px; line-height: 1.5; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .text-label-caps,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .text-label-caps {
  font-size: 12px; line-height: 1; letter-spacing: 0.15em; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .text-ui-button,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .text-ui-button {
  font-size: 14px; line-height: 1; letter-spacing: 0.05em; font-weight: 500;
}

/* -------------------------------------------------------------------------
 * 8b. Typography — S3 dark-tech (Hanken + Geist)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-display-lg,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-headline-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-headline-lg,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-headline-lg-mobile,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-body-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-body-lg {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-label-caps,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-label-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-label-sm,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .font-mono-data {
  font-family: 'Geist', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-display-lg {
  font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-headline-md {
  font-size: 24px; line-height: 1.2; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-headline-lg {
  font-size: 32px; line-height: 1.2; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-headline-lg-mobile {
  font-size: 24px; line-height: 1.2; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-body-lg {
  font-size: 18px; line-height: 1.6; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-body-md {
  font-size: 16px; line-height: 1.6; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-label-caps {
  font-size: 12px; line-height: 1.4; letter-spacing: 0.08em; font-weight: 500;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-mono-data {
  font-size: 14px; line-height: 1.4; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-label-md {
  font-size: 14px; line-height: 1.4; letter-spacing: 0.05em; font-weight: 500;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-label-sm {
  font-size: 12px; line-height: 1.4; letter-spacing: 0.08em; font-weight: 400;
}

/* -------------------------------------------------------------------------
 * 8c. Typography — S4 cyber (Space Grotesk + Hanken + Geist)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-display-lg,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-headline-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-headline-lg,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-headline-lg-mobile {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-body-md,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-body-lg {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-label-caps,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-mono-data {
  font-family: 'Geist', system-ui, sans-serif;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-display-lg {
  font-size: 72px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-headline-md {
  font-size: 24px; line-height: 1.3; font-weight: 500;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-headline-lg {
  font-size: 40px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-headline-lg-mobile {
  font-size: 32px; line-height: 1.2; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-body-lg {
  font-size: 18px; line-height: 1.6; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-body-md {
  font-size: 16px; line-height: 1.5; font-weight: 400;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-label-caps {
  font-size: 12px; line-height: 1; letter-spacing: 0.1em; font-weight: 600;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-mono-data {
  font-size: 14px; line-height: 1.4; font-weight: 400;
}

/* Shared ui-button for S2–S4 where used */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .text-ui-button,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .text-ui-button,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .text-ui-button {
  font-size: 14px; line-height: 1; letter-spacing: 0.05em; font-weight: 500;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .font-ui-button {
  font-family: 'Geist', system-ui, sans-serif;
}

/* -------------------------------------------------------------------------
 * 9. Material Symbols
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

body[class*='slotivo-kostur-d'] .material-symbols-outlined.fill {
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* -------------------------------------------------------------------------
 * 10. Game UI utilities (K4 HTML markup)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] .glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border, rgba(212, 175, 55, 0.2));
}

body[class*='slotivo-kostur-d'] .glass-panel-active {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-active, rgba(242, 202, 80, 1));
  box-shadow: 0 0 15px rgba(242, 202, 80, 0.3);
}

body[class*='slotivo-kostur-d'] .input-underline {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border, rgba(212, 175, 55, 0.3));
  border-radius: 0;
  color: var(--on-surface);
  width: 100%;
}

body[class*='slotivo-kostur-d'] .input-underline:focus {
  outline: none;
  box-shadow: none;
  border-bottom: 2px solid var(--primary-container);
}

body[class*='slotivo-kostur-d'] .gold-glow:focus-within {
  border-color: var(--primary-container);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

body[class*='slotivo-kostur-d'] .btn-gold {
  background-color: var(--primary-container);
  color: var(--on-primary);
  transition: all 0.3s ease;
}

body[class*='slotivo-kostur-d'] .btn-gold:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  transform: scale(0.98);
}

body[class*='slotivo-kostur-d'] .border-primary\/20 { border-color: color-mix(in srgb, var(--primary) 20%, transparent); }
body[class*='slotivo-kostur-d'] .border-primary\/30 { border-color: color-mix(in srgb, var(--primary) 30%, transparent); }
body[class*='slotivo-kostur-d'] .bg-primary\/5       { background-color: color-mix(in srgb, var(--primary) 5%, transparent); }
body[class*='slotivo-kostur-d'] .bg-primary\/10       { background-color: color-mix(in srgb, var(--primary) 10%, transparent); }
body[class*='slotivo-kostur-d'] .bg-surface\/80       { background-color: color-mix(in srgb, var(--surface) 80%, transparent); }
body[class*='slotivo-kostur-d'] .bg-surface\/95       { background-color: color-mix(in srgb, var(--surface) 95%, transparent); }
body[class*='slotivo-kostur-d'] .text-primary-container { color: var(--primary-container) !important; }

body[class*='slotivo-kostur-d'] select.appearance-none {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none !important;
}

body[class*='slotivo-kostur-d'] .hide-scrollbar::-webkit-scrollbar,
body[class*='slotivo-kostur-d'] .no-scrollbar::-webkit-scrollbar { display: none; }
body[class*='slotivo-kostur-d'] .hide-scrollbar,
body[class*='slotivo-kostur-d'] .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

body[class*='slotivo-kostur-d'] ::-webkit-scrollbar         { width: 8px; }
body[class*='slotivo-kostur-d'] ::-webkit-scrollbar-track   { background: var(--surface-dim); }
body[class*='slotivo-kostur-d'] ::-webkit-scrollbar-thumb   { background: var(--surface-variant); border-radius: 4px; }
body[class*='slotivo-kostur-d'] ::-webkit-scrollbar-thumb:hover { background: var(--primary-container); }

/* -------------------------------------------------------------------------
 * 11. tech-panel — S3 (dark-tech white brackets)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .tech-panel {
  background-color: rgba(25, 31, 49, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #2e3447;
  position: relative;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .tech-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  opacity: 0.4;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .tech-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  opacity: 0.4;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .tech-panel-active {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.05);
  position: relative;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .tech-panel-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .tech-panel-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

/* -------------------------------------------------------------------------
 * 12. tech-panel — S4 (cyber cyan brackets)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .tech-panel {
  background-color: rgba(32, 31, 32, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  position: relative;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .tech-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid #00f0ff;
  border-left: 1px solid #00f0ff;
  opacity: 0.5;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .tech-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid #00f0ff;
  border-right: 1px solid #00f0ff;
  opacity: 0.5;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .tech-panel-active {
  background-color: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
  position: relative;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .tech-panel-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid #00f0ff;
  border-left: 2px solid #00f0ff;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .tech-panel-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #00f0ff;
  border-right: 2px solid #00f0ff;
}

/* -------------------------------------------------------------------------
 * 13. Sidebar active state shadows — per stil
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] #global-sidebar .global-nav-link.is-active {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #global-sidebar .global-nav-link.is-active {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #global-sidebar .global-nav-link.is-active {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

/* -------------------------------------------------------------------------
 * 14. cyber-glow focus wrapper — S3/S4 booking fields
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .cyber-glow:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.12);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .cyber-glow:focus-within {
  border-color: #00f0ff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* -------------------------------------------------------------------------
 * 15. input-underline overrides — S3/S4 use bordered box, not bottom-only
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .input-underline {
  background: rgba(25, 31, 49, 0.5);
  border: 1px solid #2e3447;
  border-bottom-color: #2e3447;
  border-radius: 0.125rem;
  color: var(--on-surface);
  padding-left: 12px;
  padding-right: 12px;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .input-underline:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(35, 41, 60, 0.8);
  box-shadow: none;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .input-underline {
  background: rgba(32, 31, 32, 0.5);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-bottom-color: rgba(0, 240, 255, 0.2);
  border-radius: 0.125rem;
  color: var(--on-surface);
  padding-left: 12px;
  padding-right: 12px;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .input-underline:focus {
  outline: none;
  border-color: #00f0ff;
  background: rgba(32, 31, 32, 0.8);
  box-shadow: none;
}

/* -------------------------------------------------------------------------
 * 16. bg-surface-container-high/50 opacity helper (tech nav hover)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] .hover\:bg-surface-container-high\/50:hover {
  background-color: color-mix(in srgb, var(--surface-container-high) 50%, transparent);
}

/* -------------------------------------------------------------------------
 * 17. Body-level selection + antialiased (from source HTML body classes)
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'].selection\:bg-primary-container ::selection,
body[class*='slotivo-kostur-d'].selection\:bg-primary-container::selection {
  background-color: var(--primary-container);
}
body[class*='slotivo-kostur-d'].selection\:text-on-primary-container ::selection,
body[class*='slotivo-kostur-d'].selection\:text-on-primary-container::selection {
  color: var(--on-primary-container);
}
body[class*='slotivo-kostur-d'].selection\:bg-primary ::selection,
body[class*='slotivo-kostur-d'].selection\:bg-primary::selection {
  background-color: var(--primary);
}
body[class*='slotivo-kostur-d'].selection\:text-on-primary ::selection,
body[class*='slotivo-kostur-d'].selection\:text-on-primary::selection {
  color: var(--on-primary);
}
body[class*='slotivo-kostur-d'].selection\:bg-primary\/30 ::selection,
body[class*='slotivo-kostur-d'].selection\:bg-primary\/30::selection {
  background-color: color-mix(in srgb, var(--primary) 30%, transparent);
}
body[class*='slotivo-kostur-d'].selection\:text-primary ::selection,
body[class*='slotivo-kostur-d'].selection\:text-primary::selection {
  color: var(--primary);
}
body[class*='slotivo-kostur-d'].antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------------------------------
 * 18. Game screen + layout helpers
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'] .game-screen.hidden { display: none; }

body[class*='slotivo-kostur-d'] .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

body[class*='slotivo-kostur-d'] .bg-grid-pattern {
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .bg-grid-pattern {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Subpage header — S1/S2 flex center brand */
body[class*='slotivo-kostur-d'] .subpage-header-inner--flex {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  width: 100%;
}
body[class*='slotivo-kostur-d'] .subpage-header-inner--flex [data-nav-back] {
  position: relative;
  z-index: 2;
}
body[class*='slotivo-kostur-d'] .subpage-header-inner--flex [data-nav='home'] {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
}

/* Subpage header — S3/S4 grid */
body[class*='slotivo-kostur-d'] .subpage-header-inner--grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 4rem;
  width: 100%;
}
body[class*='slotivo-kostur-d'] .subpage-header-inner--grid [data-nav-back] {
  justify-self: start;
  position: relative;
  z-index: 2;
}
body[class*='slotivo-kostur-d'] .subpage-header-inner--grid [data-nav='home'] {
  grid-column: 2;
  justify-self: center;
  position: static;
  transform: none;
  z-index: 1;
  white-space: nowrap;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: min(100%, calc(100vw - 7rem));
}
body[class*='slotivo-kostur-d'] .subpage-header-inner--grid .subpage-header-spacer {
  justify-self: end;
  flex-shrink: 0;
}

body[class*='slotivo-kostur-d'] .subpage-header-inner--grid [data-nav-back] {
  flex-shrink: 0;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .subpage-header-inner--grid .subpage-header-spacer,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .subpage-header-inner--grid .subpage-header-spacer {
  width: 5.5rem;
}

body[class*='slotivo-kostur-d'] #k4-subpage-header .subpage-header-inner {
  width: 100%;
  box-sizing: border-box;
}

/* Forms plugin / browser defaults paint opaque button rects on blurred header */
body[class*='slotivo-kostur-d'] #k4-subpage-header [data-nav-back],
body[class*='slotivo-kostur-d'] #k4-subpage-header [data-nav='home'] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
}

body[class*='slotivo-kostur-d'] #k4-subpage-header [data-nav-back]:focus,
body[class*='slotivo-kostur-d'] #k4-subpage-header [data-nav-back]:focus-visible,
body[class*='slotivo-kostur-d'] #k4-subpage-header [data-nav='home']:focus,
body[class*='slotivo-kostur-d'] #k4-subpage-header [data-nav='home']:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

@media (max-width: 767px) {
  body[class*='slotivo-kostur-d'] .subpage-header-inner--grid [data-nav='home'] {
    font-size: clamp(18px, 5.5vw, 22px);
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-home > div.relative > header.md\:hidden h1,
  body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-home > div.relative > header.md\:hidden h1 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.15;
  }
}

/* -------------------------------------------------------------------------
 * 19. S1/S2 gold — glass-panel, service-card, steps, sidebar
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .glass-panel,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .glass-panel,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .glass-panel {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .glass-panel-active,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .glass-panel-active,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .glass-panel-active {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(242, 202, 80, 1);
  box-shadow: 0 0 15px rgba(242, 202, 80, 0.3);
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .service-card,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .service-card,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .service-card {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .service-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .service-card:hover,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .service-card:hover,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .service-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 15px rgba(242, 202, 80, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .service-card.selected,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .service-card.selected,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .service-card.selected {
  border-color: #d4af37;
  box-shadow: 0 0 20px rgba(242, 202, 80, 0.2);
  background-color: rgba(26, 26, 26, 0.9);
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .step-active,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .step-active,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .step-active { color: #d4af37; }
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .step-inactive,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .step-inactive,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .step-inactive { color: #474746; }

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-services .glass-panel,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .glass-panel,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-services .glass-panel {
  background-color: #1a1a1a;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .cinematic-gradient {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 50%, transparent 100%);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-gallery .text-gradient-bottom {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 100%);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .service-card > .k4-cinematic-service-media {
  transform: scale(1) translateZ(0);
  transform-origin: center center;
  transition-property: transform;
  transition-duration: 700ms;
  transition-timing-function: ease;
  backface-visibility: hidden;
}
@media (hover: hover) and (pointer: fine) {
  body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .service-card:hover > .k4-cinematic-service-media {
    transform: scale(1.05) translateZ(0);
  }
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .service-card.selected {
  box-shadow:
    inset 1px 1px 0 0 rgba(212, 175, 55, 0.5),
    0 0 25px rgba(242, 202, 80, 0.25);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .service-card.selected .select-indicator {
  background-color: rgba(242, 202, 80, 0.25);
  border-color: #d4af37;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .service-card.rim-light,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-services .service-card .rim-light {
  box-shadow: inset 1px 1px 0 0 rgba(212, 175, 55, 0.15);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-gallery .glass-panel,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-gallery .glass-panel,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-gallery .glass-panel {
  background-color: #1a1a1a;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-gallery .glass-panel:hover,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-gallery .glass-panel:hover,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-gallery .glass-panel:hover {
  border: 1px solid #d4af37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-reviews .glass-panel,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-reviews .glass-panel,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-reviews .glass-panel {
  background-color: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-reviews .glass-panel:hover,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-reviews .glass-panel:hover {
  border: 1px solid rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 15px rgba(242, 202, 80, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-reviews .glass-panel {
  background: rgba(21, 27, 45, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-reviews .btn-primary {
  background-color: #dde3eb;
  color: #0c1324 !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-reviews .btn-primary:hover {
  background-color: #ffffff;
  transform: scale(0.98);
}
/* S3 — Leave a Review: dark label + edit_square on light btn-primary (beat platform .btn-primary white) */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-reviews .k4-reviews-leave-btn,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-reviews .k4-reviews-leave-btn .material-symbols-outlined,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-reviews .k4-reviews-leave-btn span {
  color: #0c1324 !important;
  -webkit-text-fill-color: currentColor !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-reviews .tech-border {
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-reviews .neon-glow {
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* Subpage BACK — icon + label need explicit color (Material Symbols / platform CSS) */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] [data-nav-back].k4-subpage-back,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] [data-nav-back].k4-subpage-back .material-symbols-outlined,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] [data-nav-back].k4-subpage-back .text-label-caps {
  color: var(--primary-container) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] [data-nav-back].k4-subpage-back:hover,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] [data-nav-back].k4-subpage-back:hover .material-symbols-outlined,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] [data-nav-back].k4-subpage-back:hover .text-label-caps {
  color: var(--primary-fixed) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] [data-nav-back].k4-subpage-back,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] [data-nav-back].k4-subpage-back .material-symbols-outlined,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] [data-nav-back].k4-subpage-back .text-label-caps {
  color: var(--primary-container) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] [data-nav-back].k4-subpage-back:hover,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] [data-nav-back].k4-subpage-back:hover .material-symbols-outlined,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] [data-nav-back].k4-subpage-back:hover .text-label-caps {
  color: var(--primary) !important;
}

/* Reviews — star row colors per stil */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .k4-review-star--filled {
  color: var(--primary-container) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .k4-review-star--empty {
  color: var(--outline-variant) !important;
}

/* S3 — barber rating star icon cyan */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .k4-barber-rating .material-symbols-outlined {
  color: var(--primary-container) !important;
}

/* S4 — LOG_FEEDBACK() edit_square icon + label cyan */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-reviews .k4-reviews-leave-btn,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-reviews .k4-reviews-leave-btn .material-symbols-outlined,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-reviews .k4-reviews-leave-btn span {
  color: var(--primary-container) !important;
}

/* S4 — FETCH_MORE_ENTRIES() download icon cyan */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-reviews .k4-reviews-load-more-btn,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-reviews .k4-reviews-load-more-btn .material-symbols-outlined {
  color: var(--primary-container) !important;
}

/* S4 — barber AVAILABLE badge + rating cyan on selected card only */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-barbers .k4-barber-available-badge,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-barbers .k4-barber-available-badge .font-mono-data,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-barbers .k4-barber-available-badge .font-label-caps {
  color: var(--primary-container) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-barbers .glass-panel-active .k4-barber-rating,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-barbers .glass-panel-active .k4-barber-rating .material-symbols-outlined,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-barbers .glass-panel-active .k4-barber-rating .font-mono-data {
  color: var(--primary-container) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .k4-review-star--filled,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .k4-review-star--empty,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .k4-review-star--filled,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] .k4-review-star--empty,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .k4-review-star--filled,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] .k4-review-star--empty,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .k4-review-star--filled,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) .k4-review-star--empty {
  color: var(--primary) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-about .glass-panel,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-about .glass-panel,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-about .glass-panel {
  background-color: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-about .glow-hover:hover,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-about .glow-hover:hover,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-about .glow-hover:hover {
  border-color: #d4af37;
  box-shadow: 0 0 15px rgba(242, 202, 80, 0.3);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-about .glass-panel {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-left: 1px solid rgba(212, 175, 55, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-about .rim-light {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-left: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: inset 1px 1px 0 0 rgba(212, 175, 55, 0.15);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-reviews .rim-light {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-left: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: inset 1px 1px 0 0 rgba(212, 175, 55, 0.15);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-barbers .barber-card.rim-light {
  box-shadow: inset 1px 1px 0 0 rgba(212, 175, 55, 0.15);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-barbers .barber-card.rim-light-active {
  box-shadow: inset 1px 1px 0 0 rgba(212, 175, 55, 0.4), 0 0 30px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.5);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .glass-panel {
  background: rgba(21, 27, 45, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .scan-line {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  background-size: 100% 4px;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .cyber-glow {
  box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.06);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .data-divider {
  border-top: 1px dashed rgba(142, 145, 149, 0.3);
  position: relative;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .data-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .glass-panel {
  background: rgba(18, 18, 20, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .scan-line {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 240, 255, 0.05) 50%,
    transparent 100%
  );
  background-size: 100% 4px;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .cyber-glow {
  box-shadow: 0 0 20px 0 rgba(0, 240, 255, 0.15);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .data-divider {
  border-top: 1px dashed rgba(132, 148, 149, 0.3);
  position: relative;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .data-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  background: #00f0ff;
  transform: translateX(-50%) rotate(45deg);
}
/* About — stats panel gradient (tailwind bg-gradient not in runtime) */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .glass-panel.k4-about-stats-panel {
  background: linear-gradient(
    to bottom right,
    var(--surface-container),
    var(--surface)
  ) !important;
  border-color: color-mix(in srgb, var(--primary-container) 20%, transparent);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .k4-about-stats-panel .scan-line {
  opacity: 0.2;
}
/* About — methodology image base matches stats cyan glass */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .k4-about-methodology-media {
  background: linear-gradient(
    to bottom right,
    var(--surface-container),
    var(--surface-container-lowest)
  );
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .k4-about-methodology-media .scan-line {
  opacity: 0.3;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .k4-about-mission-metrics,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-about .k4-about-mission-metrics .material-symbols-outlined {
  color: var(--primary-container) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .glass-panel.k4-about-stats-panel {
  background: linear-gradient(
    to bottom right,
    var(--surface-container),
    var(--surface)
  ) !important;
  border-color: color-mix(in srgb, var(--primary-container) 20%, transparent);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .k4-about-stats-panel .scan-line {
  opacity: 0.2;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .k4-about-methodology-media {
  background: linear-gradient(
    to bottom right,
    var(--surface-container),
    var(--surface-container-lowest)
  );
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .k4-about-methodology-media .scan-line {
  opacity: 0.3;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .k4-about-mission-metrics,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-about .k4-about-mission-metrics .material-symbols-outlined {
  color: var(--primary-container) !important;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-contact .cinematic-glow,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-contact .cinematic-glow,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-contact .cinematic-glow {
  text-shadow: 0 0 15px rgba(242, 202, 80, 0.3);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-contact,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-contact,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-contact {
  background-color: #0a0a0a;
  background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #0a0a0a 70%);
  min-height: 100vh;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-contact .glass-input,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-contact .glass-input,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-contact .glass-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  color: #e5e2e1;
  transition: all 0.3s ease;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-contact .glass-input:focus,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-contact .glass-input:focus,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-contact .glass-input:focus {
  outline: none;
  border-bottom: 1px solid #d4af37;
  box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #screen-contact .glass-input::placeholder,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #screen-contact .glass-input::placeholder,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #screen-contact .glass-input::placeholder {
  color: rgba(208, 197, 175, 0.5);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-contact .glass-input,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-contact .glass-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: inherit;
  transition: all 0.3s ease;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-contact .glass-input:focus,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-contact .glass-input:focus {
  outline: none;
  border-bottom-color: var(--primary-container);
  box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.08);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-contact .bg-grid,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-contact .bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.03;
  pointer-events: none;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-contact .bg-grid {
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.15) 1px, transparent 1px);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-contact .contact-scan-line,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-contact .contact-scan-line {
  background: linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.03) 51%, transparent 100%);
  background-size: 100% 4px;
  pointer-events: none;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-contact .contact-scan-line {
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 240, 255, 0.05) 51%, transparent 100%);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-contact .glow-cyan {
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #screen-contact .input-glow:focus {
  box-shadow: 0 1px 0 0 #dbfcff, 0 0 10px rgba(0, 240, 255, 0.3);
  border-color: transparent;
  outline: none;
}

body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #global-sidebar .global-nav-link.is-active,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #global-sidebar .global-nav-link.is-active,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #global-sidebar .global-nav-link.is-active {
  background-color: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(12px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #global-sidebar .global-nav-link.is-active .global-nav-icon,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S1'] #global-sidebar .global-nav-link.is-active .global-nav-label,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #global-sidebar .global-nav-link.is-active .global-nav-icon,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S2'] #global-sidebar .global-nav-link.is-active .global-nav-label,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #global-sidebar .global-nav-link.is-active .global-nav-icon,
body[class*='slotivo-kostur-d']:not([data-slotivo-stil]) #global-sidebar .global-nav-link.is-active .global-nav-label {
  color: #f2ca50;
}

/* -------------------------------------------------------------------------
 * 20. S3 dark-tech — glass-panel, service-card, steps, sidebar
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .glass-panel {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #2e3447;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .glass-panel-active {
  background: rgba(35, 41, 60, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08), inset 0 0 10px rgba(255, 255, 255, 0.04);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .service-card {
  transition: all 0.3s ease;
  border: 1px solid #2e3447;
  background-color: rgba(25, 31, 49, 0.6);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .service-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .service-card.selected {
  border-color: #dde3eb;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.12), inset 0 0 15px rgba(255, 255, 255, 0.06);
  background-color: rgba(35, 41, 60, 0.9);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .step-active {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] .step-inactive { color: #8e9195; }
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-booking .glass-panel,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-booking .tech-panel {
  background-color: rgba(25, 31, 49, 0.85);
  border: 1px solid #44474a;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-services .glass-panel {
  background-color: #191f31;
  border: 1px solid #2e3447;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-gallery .glass-panel {
  background-color: #151b2d;
  border: 1px solid #2e3447;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #screen-gallery .glass-panel:hover {
  border: 1px solid #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #global-sidebar .global-nav-link.is-active {
  background-color: rgba(35, 41, 60, 0.8);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.2);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #global-sidebar .global-nav-link.is-active .global-nav-icon,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] #global-sidebar .global-nav-link.is-active .global-nav-label {
  color: #ffffff;
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] ::-webkit-scrollbar-track { background: #070d1f; }
body[class*='slotivo-kostur-d'][data-slotivo-stil='S3'] ::-webkit-scrollbar-thumb:hover { background: #8e9195; }

/* -------------------------------------------------------------------------
 * 21. S4 cyber — glass-panel, service-card, steps, sidebar
 * ------------------------------------------------------------------------- */
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .glass-panel {
  background: rgba(28, 27, 28, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .glass-panel-active {
  background: rgba(32, 31, 32, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .service-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 240, 255, 0.15);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .service-card:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .service-card.selected {
  border-color: #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  background-color: rgba(32, 31, 32, 0.9);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .step-active {
  color: #00f0ff;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] .step-inactive { color: #5d5f5f; }
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #global-sidebar .global-nav-link.is-active {
  background-color: rgba(53, 52, 54, 0.8);
  backdrop-filter: blur(12px);
  border-color: rgba(0, 240, 255, 0.3);
}
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #global-sidebar .global-nav-link.is-active .global-nav-icon,
body[class*='slotivo-kostur-d'][data-slotivo-stil='S4'] #global-sidebar .global-nav-link.is-active .global-nav-label {
  color: var(--primary-container);
}

body[class*='slotivo-kostur-d'] .booking-steps-row {
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
@media (min-width: 768px) {
  body[class*='slotivo-kostur-d'] .booking-steps-row {
    justify-content: flex-start;
    padding-left: 1.25rem;
    padding-right: 0;
  }
}

body[class*='slotivo-kostur-d'] #global-sidebar .global-nav-link.is-active .global-nav-bar,
body[class*='slotivo-kostur-d'] #global-sidebar .global-nav-link.is-active .global-nav-glow {
  display: block;
}