:root {
  --font-family: "DM Sans", sans-serif;
  --font-size-base: 13.9px;
  --line-height-base: 1.37;

  --max-w: 980px;
  --space-x: 0.84rem;
  --space-y: 0.86rem;
  --gap: 0.41rem;

  --radius-xl: 0.91rem;
  --radius-lg: 0.63rem;
  --radius-md: 0.34rem;
  --radius-sm: 0.19rem;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 5px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 14px 30px rgba(0,0,0,0.07);

  --overlay: rgba(0, 0, 0, 0.45);
  --anim-duration: 160ms;
  --anim-ease: cubic-bezier(0.16,1,0.3,1);
  --random-number: 2;

  --brand: #1a365d;
  --brand-contrast: #ffffff;
  --accent: #d4af37;
  --accent-contrast: #1a1a1a;

  --neutral-0: #ffffff;
  --neutral-100: #f8f9fa;
  --neutral-300: #dee2e6;
  --neutral-600: #6c757d;
  --neutral-800: #343a40;
  --neutral-900: #212529;

  --bg-page: #ffffff;
  --fg-on-page: #212529;

  --bg-alt: #f8f9fa;
  --fg-on-alt: #495057;

  --surface-1: #ffffff;
  --surface-2: #f8f9fa;
  --fg-on-surface: #212529;
  --border-on-surface: #dee2e6;

  --surface-light: #ffffff;
  --fg-on-surface-light: #495057;
  --border-on-surface-light: #e9ecef;

  --bg-primary: #1a365d;
  --fg-on-primary: #ffffff;
  --bg-primary-hover: #2c5282;
  --ring: rgba(26, 54, 93, 0.25);

  --bg-accent: #fef9e7;
  --fg-on-accent: #7d6608;
  --bg-accent-hover: #f1c40f;

  --link: #1a56db;
  --link-hover: #1e429f;

  --gradient-hero: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
  --gradient-accent: linear-gradient(90deg, #d4af37 0%, #f1c40f 100%);

  --btn-ghost-bg: transparent;
  --btn-ghost-bg-hover: rgba(255,255,255,0.06);
  --chip-bg: rgba(255,255,255,0.68);
  --input-placeholder: rgba(255,255,255,0.55);
}
body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
*{box-sizing:border-box;}

.nflang-v8 {
        position: fixed;
        right: clamp(14px, 2vw, 24px);
        bottom: clamp(14px, 2vw, 24px);
        z-index: 99999;
    }

    .nflang-v8__toggle {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        border: 1px solid var(--border-on-surface);
        background: var(--surface-1);
        color: var(--fg-on-surface);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .08em;
        cursor: pointer;
        display: grid;
        place-items: center;
        box-shadow: var(--shadow-lg);
    }

    .nflang-v8__list {
        position: absolute;
        right: 0;
        bottom: 62px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px) scale(0.95);
        transform-origin: bottom right;
        transition: opacity var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
    }

    .nflang-v8__list.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nflang-v8__list button,
    .nflang-v8__list a {
        min-width: 54px;
        height: 36px;
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-md);
        background: var(--surface-1);
        color: var(--fg-on-surface);
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .06em;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-sm);
    }

    .nflang-v8__list button:hover,
    .nflang-v8__list a:hover {
        background: var(--accent);
        border-color: transparent;
        color: var(--accent-contrast);
    }