:root {
  --font-primary: 'Inter', sans-serif;

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: rgba(79, 70, 229, 0.12);
  --primary-soft-strong: rgba(79, 70, 229, 0.18);

  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  --bg-light: #f5f7fb;
  --bg-light-2: #eef2ff;
  --surface-light: rgba(255, 255, 255, 0.84);
  --surface-light-solid: #ffffff;
  --surface-light-soft: #f8fafc;
  --text-light: #111827;
  --text-light-muted: #6b7280;
  --border-light: rgba(15, 23, 42, 0.08);
  --shadow-light: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-light-soft: 0 6px 18px rgba(15, 23, 42, 0.06);

  --bg-dark: #081120;
  --bg-dark-2: #0f172a;
  --surface-dark: rgba(15, 23, 42, 0.76);
  --surface-dark-solid: #0f172a;
  --surface-dark-soft: #162033;
  --surface-dark-elevated: #1a2740;
  --text-dark: #f8fafc;
  --text-dark-muted: #94a3b8;
  --border-dark: rgba(148, 163, 184, 0.14);
  --shadow-dark: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-dark-soft: 0 10px 26px rgba(0, 0, 0, 0.24);

  --navbar-height: 74px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --transition: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Tema değişirken ~150 token aynı anda değişir; bu sınıf değişimi tüm
   yüzeylerde kısa bir çapraz geçişe dönüştürür (theme-manager ekler/kaldırır). */
html.hh-theme-shifting,
html.hh-theme-shifting * {
  transition:
    background-color 420ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 420ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    color 300ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    fill 300ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 420ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) !important;
  transition-delay: 0s !important;
}

/* Geçiş sırasında arka plan katmanı nefes alır. */
html.hh-theme-shifting .hh-layout-fx {
  animation: hhThemeBloom 700ms var(--ease-out, ease) 1;
}

@keyframes hhThemeBloom {
  0%   { opacity: 0.35; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html.hh-theme-shifting,
  html.hh-theme-shifting * {
    transition: none !important;
  }
  html.hh-theme-shifting .hh-layout-fx { animation: none; }
}

body {
  font-family: var(--font-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* Zemin ve metin tek kaynaktan: aktif temanın tokenları. */
  color: var(--text, var(--text-light));
  background: var(--bg, #f6f7fb);
  transition: background-color var(--dur-slow, 460ms) var(--ease-out, ease),
              color var(--dur-base, 260ms) var(--ease-out, ease);
}

/* Token gradyanı sabit bir katmanda durur.
   Daha önce body üzerinde `background-attachment: fixed` kullanılıyordu; iOS
   Safari bunu her kaydırma karesinde yeniden boyayarak ciddi takılma üretiyor.
   Sabit konumlu bir pseudo-eleman aynı görüntüyü tek seferlik boyamayla verir. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--body-background, var(--bg, #f6f7fb));
  pointer-events: none;
}

/* ===========================================================================
   ANIMASYONLU ARKA PLAN KATMANI
   Tamamen aktif temanın --fx-* tokenlarından beslenir; hiçbir renk sabit
   kodlanmaz. Her tema kendi renk yayılımını, yoğunluğunu, karışım modunu ve
   hareket hızını tanımladığı için katman tema başına farklı bir karakter alır.
   =========================================================================== */
.hh-layout-fx {
  --layout-pointer-x: 50%;
  --layout-pointer-y: 22%;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Tema geçişinde katman yumuşak şekilde yeniden renklenir. */
  transition: opacity var(--dur-slow, 460ms) var(--ease-out, ease);
}

.hh-layout-fx__aurora,
.hh-layout-fx__noise,
.hh-layout-fx__grid,
.hh-layout-fx__orb,
.hh-layout-fx__beam,
.hh-layout-fx__pointer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* --- Aurora: yavaşça kayan geniş renk perdesi (katmanın ana karakteri) ---
   Hareket transform ile yapılır. background-position animasyonu compositor'a
   devredilemediği için her karede tüm ekranı yeniden boyuyordu. */
.hh-layout-fx__aurora {
  inset: -25%;
  background:
    radial-gradient(38% 28% at 26% 22%, var(--fx-aurora-a, transparent) 0%, transparent 62%),
    radial-gradient(33% 25% at 74% 30%, var(--fx-aurora-b, transparent) 0%, transparent 60%),
    radial-gradient(45% 30% at 50% 78%, var(--fx-aurora-c, transparent) 0%, transparent 66%);
  opacity: var(--fx-aurora-opacity, 0.7);
  mix-blend-mode: var(--fx-aurora-blend, normal);
  animation: hhAuroraDrift var(--fx-aurora-duration, 28s) var(--ease-in-out, ease-in-out) infinite;
}

/* --- Grain: ince parazit dokusu, yüzeye derinlik verir --- */
.hh-layout-fx__noise {
  background:
    radial-gradient(circle at 20% 18%, var(--fx-speck, transparent) 0.7px, transparent 1px),
    radial-gradient(circle at 78% 24%, var(--fx-sheen, transparent) 0.6px, transparent 0.95px),
    radial-gradient(circle at 34% 72%, var(--fx-speck, transparent) 0.8px, transparent 1.1px),
    radial-gradient(circle at 68% 78%, var(--fx-sheen, transparent) 0.8px, transparent 1.1px);
  background-size: 240px 240px, 300px 300px, 360px 360px, 320px 320px;
  background-position: 0 0, 80px 30px, 10px 120px, 140px 170px;
  opacity: var(--fx-noise-opacity, 0.3);
  mix-blend-mode: var(--fx-noise-blend, soft-light);
  animation: hhGrainShift 9s steps(6, end) infinite;
}

/* --- Ribbon/mist: üstten inen sis ve ışık şeritleri --- */
.hh-layout-fx__grid {
  background:
    linear-gradient(118deg, transparent 0%, var(--fx-sheen, transparent) 16%, transparent 43%),
    linear-gradient(128deg, transparent 24%, var(--fx-aurora-b, transparent) 45%, transparent 70%),
    radial-gradient(92% 58% at 50% 0%, var(--fx-mist, transparent) 0%, transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.55) 56%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.55) 56%, transparent 100%);
  opacity: var(--fx-grid-opacity, 0.5);
}

/* --- Beam: ekranı diyagonal tarayan ince ışık huzmesi ---
   Yine transform ile kaydırılır; blur yerine yumuşak gradyan durakları kullanılır
   (blur() tam ekran katmanda çok pahalı bir GPU işlemi). */
.hh-layout-fx__beam {
  inset: -20% -60%;
  background: linear-gradient(
    104deg,
    transparent 40%,
    color-mix(in srgb, var(--fx-beam, transparent) 45%, transparent) 47%,
    var(--fx-beam, transparent) 50%,
    color-mix(in srgb, var(--fx-beam, transparent) 45%, transparent) 53%,
    transparent 60%
  );
  opacity: var(--fx-beam-opacity, 0.5);
  animation: hhBeamSweep var(--fx-beam-duration, 16s) var(--ease-in-out, ease-in-out) infinite;
}

/* --- Pointer: imleci takip eden yumuşak ışık --- */
.hh-layout-fx__pointer {
  background:
    radial-gradient(circle 180px at var(--layout-pointer-x) var(--layout-pointer-y), var(--fx-sheen, transparent), transparent 40%),
    radial-gradient(circle 340px at var(--layout-pointer-x) var(--layout-pointer-y), var(--fx-pointer, transparent), transparent 68%);
  opacity: var(--fx-pointer-opacity, 0.48);
  filter: blur(18px);
  transition: opacity var(--dur-base, 260ms) var(--ease-out, ease);
}

/* --- Orblar: serbestçe süzülen renk kütleleri --- */
.hh-layout-fx__orb {
  border-radius: 999px;
  filter: blur(var(--fx-orb-blur, 64px));
  opacity: var(--fx-orb-opacity, 0.8);
  mix-blend-mode: var(--fx-orb-blend, normal);
  animation: hhLayoutFloat var(--fx-float-duration, 20s) var(--ease-in-out, ease-in-out) infinite;
}

.hh-layout-fx__orb--one {
  inset: -140px auto auto -140px;
  width: 460px;
  height: 380px;
  background: radial-gradient(circle at 38% 38%, var(--fx-orb-a, transparent) 0%, transparent 70%);
}

.hh-layout-fx__orb--two {
  inset: auto -120px 10% auto;
  width: 420px;
  height: 360px;
  background: radial-gradient(circle at 40% 42%, var(--fx-orb-b, transparent) 0%, transparent 70%);
  animation-delay: -7s;
  animation-direction: reverse;
}

.hh-layout-fx__orb--three {
  inset: 34% auto auto 46%;
  width: 340px;
  height: 300px;
  background: radial-gradient(circle at 46% 46%, var(--fx-orb-c, transparent) 0%, transparent 72%);
  animation-delay: -13s;
  animation-duration: calc(var(--fx-float-duration, 20s) * 1.4);
}

body > .container,
main.container,
.hh-ft {
  position: relative;
  z-index: 1;
}

/* Sayfaya özel dekoratif katmanlar, ortak layout arka planı ile çakışmasın.
   Layout FX açıkken de kapalıyken de gizlenir; zemin tek kaynaktan gelir. */
.hh-layout-bg-off .contact-studio__noise,
.hh-layout-bg-off .contact-studio__grid,
.hh-layout-bg-off .contact-studio__orb,
.hh-layout-bg-off .contact-studio__pointer,
.hh-layout-bg-off .info-page__noise,
.hh-layout-bg-off .info-page__grid,
.hh-layout-bg-off .info-page__orb,
.hh-layout-bg-off .info-page__pointer,
.hh-layout-bg-on .contact-studio__noise,
.hh-layout-bg-on .contact-studio__grid,
.hh-layout-bg-on .contact-studio__orb,
.hh-layout-bg-on .contact-studio__pointer,
.hh-layout-bg-on .info-page__noise,
.hh-layout-bg-on .info-page__grid,
.hh-layout-bg-on .info-page__orb,
.hh-layout-bg-on .info-page__pointer {
  display: none !important;
}


.surface-card,
.card,
.modal-content,
.dropdown-menu,
.offcanvas,
.list-group-item {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}


.app-panel {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


.form-control,
.form-select,
.input-group-text {
  border-radius: 14px;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.input-group-text.bg-light {
  background-color: var(--surface-light-soft) !important;
  border-color: var(--border-light);
  color: var(--text-light-muted);
}


.creator-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(248,250,252,0.92));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.creator-toggle-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
}

.creator-toggle-card__copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.creator-toggle-card__copy strong {
  display: block;
  color: inherit;
  font-size: 0.98rem;
  line-height: 1.35;
}

.creator-toggle-card__copy small {
  display: block;
  color: var(--text-light-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.creator-toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.creator-toggle__input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.creator-toggle__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 72px;
  height: 40px;
  padding: 4px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.28);
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.06);
  transition: background .24s ease, box-shadow .24s ease, transform .24s ease;
}

.creator-toggle__track::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(255,255,255,0));
  opacity: .85;
}

.creator-toggle__thumb {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15,23,42,0.18);
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.creator-toggle__input:checked + .creator-toggle__track {
  background: linear-gradient(135deg, rgba(79,70,229,0.86), rgba(37,99,235,0.9));
  box-shadow: 0 0 0 6px rgba(79,70,229,0.12), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.creator-toggle__input:checked + .creator-toggle__track .creator-toggle__thumb {
  transform: translateX(32px);
  box-shadow: 0 12px 24px rgba(37,99,235,0.28);
}

.creator-toggle__input:focus-visible + .creator-toggle__track {
  outline: none;
  box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.18);
}

.creator-toggle__track:hover {
  transform: translateY(-1px);
}

.creator-confirm-modal .modal-dialog {
  max-width: min(460px, calc(100vw - 24px));
}

.creator-confirm-modal .modal-content {
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.94));
  box-shadow: 0 28px 72px rgba(15,23,42,0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.creator-confirm-modal__body {
  padding: 28px 28px 16px;
  display: grid;
  gap: 18px;
}

.creator-confirm-modal__copy {
  display: grid;
  gap: 10px;
}

.creator-confirm-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.creator-confirm-modal__text {
  margin: 0;
  color: var(--text-light-muted);
  line-height: 1.65;
}

.creator-confirm-modal__icon {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 18px 32px rgba(239, 68, 68, 0.24);
}

.creator-confirm-modal__icon.is-primary {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  box-shadow: 0 18px 32px rgba(79, 70, 229, 0.24);
}

.creator-confirm-modal__icon.is-success {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 18px 32px rgba(16, 185, 129, 0.24);
}

.creator-confirm-modal__footer {
  padding: 0 28px 28px;
  border: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.creator-confirm-modal .modal-backdrop,
.modal-backdrop.show {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 767.98px) {
  .creator-toggle-card {
    flex-direction: column;
    align-items: stretch;
  }

  .creator-toggle {
    justify-content: flex-start;
  }

  .creator-confirm-modal__body,
  .creator-confirm-modal__footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .creator-confirm-modal__footer .btn {
    flex: 1 1 0;
  }
}




:root {
  --hh-nav-h: 76px;
  --hh-nav-shell-h: 56px;
  --hh-nav-max: 1320px;
  --hh-accent: var(--primary, #4f46e5);
  --hh-accent-2: var(--accent-hover, #2563eb);
  --hh-accent-soft: var(--primary-soft, rgba(79, 70, 229, 0.10));
  --hh-accent-glow: var(--accent-soft, rgba(79, 70, 229, 0.28));
  --hh-danger: var(--danger, #ef4444);
  --hh-success: var(--success, #22c55e);
  --hh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hh-ease-snappy: cubic-bezier(0.4, 0, 0.2, 1);
  --hh-nav-bg: transparent;
  --hh-nav-panel: var(--nav-panel, rgba(255, 255, 255, 0.78));
  --hh-nav-panel-strong: var(--nav-panel-strong, rgba(255, 255, 255, 0.94));
  --hh-nav-border: var(--nav-border, rgba(15, 23, 42, 0.10));
  --hh-nav-highlight: var(--nav-highlight, rgba(255, 255, 255, 0.76));
  --hh-nav-shadow: var(--nav-shadow, 0 18px 48px rgba(15, 23, 42, 0.10), 0 1px 0 rgba(255, 255, 255, 0.72) inset);
  --hh-nav-shadow-scroll: var(--nav-shadow-scroll, 0 18px 52px rgba(15, 23, 42, 0.16), 0 1px 0 rgba(255, 255, 255, 0.80) inset);
  --hh-link-color: var(--nav-link, #475569);
  --hh-link-hover: var(--nav-link-hover, #0f172a);
  --hh-link-muted: var(--nav-link-muted, #64748b);
  --hh-control-bg: var(--nav-control-bg, rgba(255, 255, 255, 0.64));
  --hh-control-hover: var(--nav-control-hover, rgba(79, 70, 229, 0.09));
  --hh-control-border: var(--nav-control-border, rgba(15, 23, 42, 0.08));
  --hh-dd-bg: var(--dropdown-bg, rgba(255, 255, 255, 0.96));
  --hh-dd-border: var(--nav-border, rgba(15, 23, 42, 0.10));
  --hh-dd-shadow: var(--shadow-lg, 0 26px 70px rgba(15, 23, 42, 0.18), 0 8px 24px rgba(15, 23, 42, 0.08));
  --hh-drawer-bg: var(--nav-drawer-bg, rgba(255, 255, 255, 0.96));
  --hh-drawer-shadow: var(--nav-drawer-shadow, -26px 0 70px rgba(15, 23, 42, 0.24));
  --hh-focus-ring: var(--focus-ring, 0 0 0 4px rgba(79, 70, 229, 0.18));
}

.hh-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--hh-nav-h);
  padding: 10px clamp(0.75rem, 2vw, 1.35rem);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  isolation: isolate;
  contain: layout style;
}

.hh-nav__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.55rem, 1.4vw, 1.1rem);
  width: min(100%, var(--hh-nav-max));
  height: var(--hh-nav-shell-h);
  margin: 0 auto;
  padding: 0 0.65rem 0 0.72rem;
  border: 1px solid var(--hh-nav-border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, var(--hh-nav-highlight), transparent 38%),
    var(--hh-nav-panel);
  box-shadow: var(--hh-nav-shadow);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  transition: background 0.28s var(--hh-ease), border-color 0.28s var(--hh-ease), box-shadow 0.28s var(--hh-ease), transform 0.28s var(--hh-ease);
}

.hh-nav--scrolled .hh-nav__inner {
  background:
    linear-gradient(135deg, var(--hh-nav-highlight), transparent 34%),
    var(--hh-nav-panel-strong);
  box-shadow: var(--hh-nav-shadow-scroll);
  transform: translateY(-1px);
}

.hh-nav__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.24), rgba(14, 165, 233, 0.14), rgba(16, 185, 129, 0.12));
  opacity: 0.22;
  filter: blur(14px);
  transform: translateY(12px) scaleX(0.98);
  pointer-events: none;
}

.hh-nav__brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  padding: 0.26rem 0.45rem 0.26rem 0.3rem;
  border-radius: 14px;
  color: var(--hh-link-hover);
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.22s var(--hh-ease), transform 0.22s var(--hh-ease), color 0.22s var(--hh-ease);
}

.hh-nav__brand:hover {
  color: var(--hh-link-hover);
  background: var(--hh-control-hover);
  transform: translateY(-1px);
}

.hh-nav__brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  padding: 5px;
  border: 1px solid var(--hh-control-border);
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, rgba(79, 70, 229, 0.16), rgba(14, 165, 233, 0.10));
  object-fit: contain;
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.16);
  flex-shrink: 0;
}

.hh-nav__brand-name {
  color: inherit;
  line-height: 1;
}

.hh-nav__links {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  justify-self: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--hh-control-border);
  border-radius: 999px;
  background: var(--nav-links-bg, rgba(248, 250, 252, 0.56));
  box-shadow: var(--nav-links-shadow, inset 0 1px 0 rgba(255, 255, 255, 0.72));
}

.hh-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0 0.86rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--hh-link-color);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.22s var(--hh-ease), background 0.22s var(--hh-ease), border-color 0.22s var(--hh-ease), box-shadow 0.22s var(--hh-ease), transform 0.22s var(--hh-ease);
}

.hh-nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hh-accent), var(--hh-accent-2));
  opacity: 0;
  transform: translateX(-50%) scaleX(0.5);
  transition: opacity 0.22s var(--hh-ease), transform 0.22s var(--hh-ease);
}

.hh-nav__link:hover,
.hh-nav__dropdown--open > .hh-nav__link {
  color: var(--hh-link-hover);
  background: var(--hh-control-hover);
  transform: translateY(-1px);
}

.hh-nav__link:hover::after,
.hh-nav__dropdown--open > .hh-nav__link::after,
.hh-nav__link--active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.hh-nav__link--active {
  color: var(--hh-accent);
  border-color: rgba(79, 70, 229, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    rgba(79, 70, 229, 0.08);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hh-nav__link i,
.hh-dropdown__item i {
  line-height: 1;
}

.hh-nav__chevron {
  flex-shrink: 0;
  opacity: 0.72;
  transition: transform 0.24s var(--hh-ease), opacity 0.24s var(--hh-ease);
}

[aria-expanded="true"] .hh-nav__chevron {
  opacity: 1;
  transform: rotate(180deg);
}

.hh-nav__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.32rem;
  padding: 4px;
  border: 1px solid var(--hh-control-border);
  border-radius: 999px;
  background: var(--nav-actions-bg, rgba(248, 250, 252, 0.52));
  box-shadow: var(--nav-actions-shadow, inset 0 1px 0 rgba(255, 255, 255, 0.72));
}

.hh-nav__icon-btn,
.hh-nav__hamburger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--hh-link-color);
  cursor: pointer;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.22s var(--hh-ease), background 0.22s var(--hh-ease), border-color 0.22s var(--hh-ease), box-shadow 0.22s var(--hh-ease), transform 0.22s var(--hh-ease);
}

.hh-nav__icon-btn:hover,
.hh-nav__icon-btn[aria-expanded="true"],
.hh-nav__hamburger:hover,
.hh-nav__hamburger--open {
  color: var(--hh-link-hover);
  border-color: rgba(79, 70, 229, 0.13);
  background: var(--hh-control-hover);
  transform: translateY(-1px);
}

.hh-nav__icon-btn:focus-visible,
.hh-nav__hamburger:focus-visible,
.hh-nav__link:focus-visible,
.hh-nav__brand:focus-visible,
.hh-nav__avatar-btn:focus-visible,
.hh-nav__login-btn:focus-visible,
.hh-dropdown__item:focus-visible,
.hh-dropdown__clear-btn:focus-visible,
.hh-drawer__link:focus-visible,
.hh-drawer__lang-btn:focus-visible,
.hh-drawer__logout-btn:focus-visible {
  outline: none;
  box-shadow: var(--hh-focus-ring);
}

.hh-nav__icon-btn[aria-pressed="true"] {
  color: var(--hh-accent);
}

.hh-nav__icon-btn--xs {
  width: 30px;
  height: 30px;
  font-size: 0.86rem;
}

.hh-nav__lang-btn {
  width: auto;
  min-width: 68px;
  gap: 0.38rem;
  padding: 0 0.78rem;
}

.hh-nav__lang-code {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hh-nav__badge {
  position: absolute;
  top: 2px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border: 2px solid var(--hh-nav-panel-strong);
  border-radius: 999px;
  background: linear-gradient(135deg, #f43f5e, #ef4444);
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.32);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.hh-nav__notif-btn:has(.hh-nav__badge:not(.d-none)) {
  color: var(--hh-accent);
  background: rgba(79, 70, 229, 0.10);
}

.hh-nav__notif-btn:has(.hh-nav__badge:not(.d-none)) i {
  animation: hhBellPulse 1.8s var(--hh-ease) infinite;
}

@keyframes hhBellPulse {
  0%, 100% { transform: rotate(0deg); }
  12% { transform: rotate(-10deg); }
  24% { transform: rotate(8deg); }
  36% { transform: rotate(-4deg); }
  48% { transform: rotate(0deg); }
}

.hh-nav__login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 1.1rem;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.20), transparent 36%),
    linear-gradient(135deg, var(--hh-accent), var(--hh-accent-2));
  color: #fff !important;
  box-shadow: 0 12px 26px var(--hh-accent-glow);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.22s var(--hh-ease), filter 0.22s var(--hh-ease), transform 0.22s var(--hh-ease);
}

.hh-nav__login-btn:hover {
  color: #fff !important;
  filter: saturate(1.08) brightness(1.04);
  box-shadow: 0 16px 34px var(--hh-accent-glow);
  transform: translateY(-2px);
}

.hh-nav__avatar-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 2px;
  border: 1px solid rgba(79, 70, 229, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(var(--hh-nav-panel-strong), var(--hh-nav-panel-strong)) padding-box,
    linear-gradient(135deg, rgba(79, 70, 229, 0.56), rgba(14, 165, 233, 0.42)) border-box;
  cursor: pointer;
  overflow: visible;
  transition: box-shadow 0.22s var(--hh-ease), transform 0.22s var(--hh-ease), filter 0.22s var(--hh-ease);
}

.hh-nav__avatar-btn:hover,
.hh-nav__avatar-btn[aria-expanded="true"] {
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14), 0 12px 26px rgba(79, 70, 229, 0.16);
  transform: translateY(-1px);
}

.hh-nav__avatar-img,
.hh-nav__avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 999px;
}

.hh-nav__avatar-img {
  display: block;
  object-fit: cover;
}

.hh-nav__avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(14, 165, 233, 0.10));
  color: var(--hh-accent);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hh-nav__avatar-dot {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--hh-nav-panel-strong);
  border-radius: 999px;
  background: var(--hh-success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.hh-nav__dropdown {
  position: relative;
}

.hh-nav__dropdown--right .hh-dropdown {
  right: 0;
  left: auto;
  transform-origin: top right;
}

.hh-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 1050;
  min-width: 232px;
  padding: 8px;
  border: 1px solid var(--hh-dd-border);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 36%),
    var(--hh-dd-bg);
  box-shadow: var(--hh-dd-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top left;
  visibility: hidden;
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  transition: opacity 0.22s var(--hh-ease), transform 0.22s var(--hh-ease), visibility 0.22s var(--hh-ease);
}

.hh-dropdown::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
  pointer-events: none;
}

.hh-dropdown--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.hh-nav__links .hh-nav__dropdown > .hh-dropdown {
  left: 50%;
  width: min(664px, calc(100vw - 32px));
  transform: translate(-50%, -8px) scale(0.96);
  transform-origin: top center;
}

.hh-nav__links .hh-nav__dropdown > .hh-dropdown--open {
  transform: translate(-50%, 0) scale(1);
}

.hh-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  max-height: min(66vh, 540px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px;
}

.hh-dropdown__grid::-webkit-scrollbar,
.hh-drawer__body::-webkit-scrollbar,
#notificationList::-webkit-scrollbar {
  width: 6px;
}

.hh-dropdown__grid::-webkit-scrollbar-thumb,
.hh-drawer__body::-webkit-scrollbar-thumb,
#notificationList::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.36);
}

.hh-dropdown--sm {
  min-width: 178px;
}

.hh-nav__links .hh-nav__dropdown > .hh-dropdown--nav-mini {
  left: 50%;
  width: min(248px, calc(100vw - 24px));
  min-width: 232px;
  padding: 10px;
  transform: translate(-50%, -8px) scale(0.96);
  transform-origin: top center;
}

.hh-nav__links .hh-nav__dropdown > .hh-dropdown--nav-mini.hh-dropdown--open {
  transform: translate(-50%, 0) scale(1);
}

.hh-dropdown--nav-mini {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92)),
    var(--hh-dd-bg);
}

.hh-dropdown__item--nav-mini {
  gap: 12px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 252, 0.56));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.hh-dropdown--nav-mini.hh-dropdown--open .hh-dropdown__item--nav-mini {
  animation: hhDropdownMiniIn 0.28s var(--hh-ease) both;
  animation-delay: calc(var(--menu-delay, 0) * 48ms);
}

.hh-dropdown__mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--ddi, var(--hh-accent)) 16%, rgba(15, 23, 42, 0.06));
  border-radius: 12px;
  background: color-mix(in srgb, var(--ddi, var(--hh-accent)) 10%, white 90%);
  color: var(--ddi, var(--hh-accent));
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.hh-dropdown__mini-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--hh-link-hover);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hh-dropdown__mini-arrow {
  color: var(--hh-link-muted);
  font-size: 0.78rem;
  opacity: 0.72;
  transition: transform 0.2s var(--hh-ease), opacity 0.2s var(--hh-ease), color 0.2s var(--hh-ease);
}

.hh-dropdown__item--nav-mini:hover .hh-dropdown__mini-arrow,
.hh-dropdown__item--nav-mini:focus-visible .hh-dropdown__mini-arrow,
.hh-dropdown__item--nav-mini.hh-dropdown__item--active .hh-dropdown__mini-arrow {
  opacity: 1;
  color: var(--hh-link-hover);
  transform: translateX(2px);
}

.hh-dropdown__item--nav-mini.hh-dropdown__item--active {
  color: var(--hh-link-hover);
  border-color: rgba(79, 70, 229, 0.14);
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(37, 99, 235, 0.08)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 22px rgba(79, 70, 229, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

@keyframes hhDropdownMiniIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hh-dropdown--notif {
  width: min(360px, calc(100vw - 24px));
  min-width: min(360px, calc(100vw - 24px));
  max-width: 360px;
}

.hh-dropdown__notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 7px 8px 11px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--hh-dd-border);
}

.hh-dropdown__notif-title {
  color: var(--hh-link-hover);
  font-size: 0.9rem;
  font-weight: 800;
}

#notificationList {
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hh-dropdown__notif-empty {
  margin: 0;
  padding: 24px 14px;
  color: var(--hh-link-muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

.hh-dropdown__clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(239, 68, 68, 0.14);
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.05);
  color: var(--hh-danger);
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 800;
  transition: background 0.2s var(--hh-ease), border-color 0.2s var(--hh-ease), transform 0.2s var(--hh-ease);
}

.hh-dropdown__clear-btn:hover {
  border-color: rgba(239, 68, 68, 0.24);
  background: rgba(239, 68, 68, 0.10);
  transform: translateY(-1px);
}

.hh-dropdown--user {
  min-width: 276px;
}

.hh-dropdown__user-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px 12px;
}

.hh-dropdown__user-photo {
  width: 46px;
  height: 46px;
  border: 1px solid var(--hh-control-border);
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.hh-dropdown__user-photo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(14, 165, 233, 0.10));
  color: var(--hh-accent);
  font-size: 0.9rem;
  font-weight: 900;
}

.hh-dropdown__user-info {
  min-width: 0;
  line-height: 1.28;
}

.hh-dropdown__user-info strong {
  display: block;
  max-width: 180px;
  overflow: hidden;
  color: var(--hh-link-hover);
  font-size: 0.92rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hh-dropdown__user-info small {
  color: var(--hh-link-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hh-dropdown__item {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--hh-link-color);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s var(--hh-ease), background 0.2s var(--hh-ease), border-color 0.2s var(--hh-ease), transform 0.2s var(--hh-ease);
}

.hh-dropdown__item:hover,
.hh-dropdown__item:focus-visible {
  color: var(--hh-link-hover);
  border-color: rgba(79, 70, 229, 0.11);
  background: rgba(79, 70, 229, 0.07);
  transform: translateY(-1px);
}

.hh-dropdown__item--compact {
  min-height: 38px;
  padding: 8px 10px;
}

.hh-dropdown__item--compact > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  color: var(--hh-link-muted);
  font-size: 1rem;
}

.hh-dropdown__item--active {
  color: var(--hh-accent);
  border-color: rgba(79, 70, 229, 0.14);
  background: rgba(79, 70, 229, 0.08);
  font-weight: 800;
}

.hh-dropdown__item--danger {
  color: var(--hh-danger);
}

.hh-dropdown__item--danger:hover {
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.16);
  background: rgba(239, 68, 68, 0.08);
}

.hh-dropdown__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(79, 70, 229, 0.10);
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--ddi, var(--hh-accent));
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.hh-dropdown__label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hh-dropdown__label strong {
  overflow: hidden;
  color: var(--hh-link-hover);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hh-dropdown__label small {
  color: var(--hh-link-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.hh-dropdown__divider {
  border: none;
  border-top: 1px solid var(--hh-dd-border);
  margin: 7px 2px;
}

.hh-dropdown--notif .notification-item {
  list-style: none;
}

.hh-dropdown--notif .dropdown-item {
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--hh-link-color);
  transition: background 0.2s var(--hh-ease), border-color 0.2s var(--hh-ease), transform 0.2s var(--hh-ease);
}

.hh-dropdown--notif .dropdown-item:hover,
.hh-dropdown--notif .dropdown-item:focus {
  border-color: rgba(79, 70, 229, 0.11);
  background: rgba(79, 70, 229, 0.07);
  transform: translateY(-1px);
}

.hh-dropdown--notif .text-primary {
  color: var(--hh-accent) !important;
}

.hh-nav__mobile-right {
  grid-column: 3;
  display: none;
  align-items: center;
  justify-content: end;
  gap: 0.38rem;
  justify-self: end;
}

.hh-nav__hamburger {
  flex-direction: column;
  gap: 5px;
}

.hh-nav__hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.3s var(--hh-ease), opacity 0.2s var(--hh-ease), width 0.3s var(--hh-ease);
  transform-origin: center;
}

.hh-nav__hamburger:hover .hh-nav__hamburger-bar:nth-child(2) {
  width: 14px;
}

.hh-nav__hamburger--open .hh-nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hh-nav__hamburger--open .hh-nav__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hh-nav__hamburger--open .hh-nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.hh-drawer-open {
  overflow: hidden;
}

.hh-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1039;
  visibility: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(79, 70, 229, 0.20), transparent 28%),
    rgba(2, 6, 23, 0.46);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.34s var(--hh-ease), visibility 0.34s var(--hh-ease);
}

.hh-drawer-overlay--show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.hh-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  border-left: 1px solid var(--hh-nav-border);
  background:
    radial-gradient(circle at 20% 0%, rgba(79, 70, 229, 0.12), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(14, 165, 233, 0.10), transparent 28%),
    var(--hh-drawer-bg);
  box-shadow: var(--hh-drawer-shadow);
  outline: none;
  overflow: hidden;
  overscroll-behavior: contain;
  transform: translateX(calc(100% + 28px)) scale(0.98);
  transition: transform 0.42s var(--hh-ease);
}

.hh-drawer--open {
  transform: translateX(0) scale(1);
}

.hh-drawer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.66), rgba(14, 165, 233, 0.44), transparent);
}

.hh-drawer__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hh-nav-border);
  flex-shrink: 0;
}

.hh-drawer__user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 14px 8px;
  padding: 12px;
  border: 1px solid var(--hh-control-border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.24)),
    rgba(79, 70, 229, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.60);
  flex-shrink: 0;
}

.hh-drawer__user-photo {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hh-control-border);
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.hh-drawer__user-photo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(14, 165, 233, 0.10));
  color: var(--hh-accent);
  font-size: 0.88rem;
  font-weight: 900;
}

.hh-drawer__user-name {
  display: block;
  max-width: 260px;
  overflow: hidden;
  color: var(--hh-link-hover);
  font-size: 0.92rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hh-drawer__user-handle {
  color: var(--hh-link-muted);
  font-size: 0.79rem;
  font-weight: 600;
}

.hh-drawer__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hh-drawer__section-title {
  margin: 10px 8px 5px;
  color: var(--hh-link-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hh-drawer__divider {
  border: none;
  border-top: 1px solid var(--hh-nav-border);
  margin: 10px 8px 6px;
}

.hh-drawer__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  gap: 11px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--hh-link-color);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.22s var(--hh-ease), background 0.22s var(--hh-ease), border-color 0.22s var(--hh-ease), transform 0.22s var(--hh-ease);
}

.hh-drawer__link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--hh-control-border);
  border-radius: 11px;
  background: var(--hh-control-bg);
  color: var(--hh-link-muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.22s var(--hh-ease), background 0.22s var(--hh-ease), border-color 0.22s var(--hh-ease), transform 0.22s var(--hh-ease);
}

.hh-drawer__link:hover,
.hh-drawer__link--active {
  color: var(--hh-link-hover);
  border-color: rgba(79, 70, 229, 0.14);
  background: rgba(79, 70, 229, 0.08);
  transform: translateX(-2px);
}

.hh-drawer__link:hover i,
.hh-drawer__link--active i {
  color: var(--hh-accent);
  border-color: rgba(79, 70, 229, 0.18);
  background: rgba(79, 70, 229, 0.10);
  transform: scale(1.03);
}

.hh-drawer__link--active {
  color: var(--hh-accent);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--hh-accent);
}

.hh-drawer__foot {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 10px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hh-nav-border);
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.04));
}

.hh-drawer__lang-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hh-drawer__lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--hh-control-border);
  border-radius: 14px;
  background: var(--hh-control-bg);
  color: var(--hh-link-color);
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s var(--hh-ease), background 0.2s var(--hh-ease), border-color 0.2s var(--hh-ease), transform 0.2s var(--hh-ease);
}

.hh-drawer__lang-btn:hover,
.hh-drawer__lang-btn--active {
  color: var(--hh-accent);
  border-color: rgba(79, 70, 229, 0.22);
  background: rgba(79, 70, 229, 0.09);
  transform: translateY(-1px);
}

.hh-drawer__logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  padding: 0 0.9rem;
  border: 1px solid rgba(239, 68, 68, 0.20);
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.055);
  color: var(--hh-danger);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s var(--hh-ease), border-color 0.2s var(--hh-ease), transform 0.2s var(--hh-ease);
}

.hh-drawer__logout-btn:hover {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.10);
  color: #dc2626;
  transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
  .hh-nav__links {
    gap: 2px;
  }

  .hh-nav__link {
    padding-inline: 0.68rem;
    font-size: 0.84rem;
  }

  .hh-dropdown__grid {
    grid-template-columns: 1fr;
  }

  .hh-nav__links .hh-nav__dropdown > .hh-dropdown {
    width: min(360px, calc(100vw - 32px));
  }
}

@media (max-width: 991.98px) {
  :root {
    --hh-nav-h: 70px;
    --hh-nav-shell-h: 54px;
  }

  .hh-nav {
    padding: 8px 0.75rem;
  }

  .hh-nav__inner {
    grid-template-columns: minmax(0, auto) 1fr auto;
    padding-inline: 0.55rem 0.45rem;
  }

  .hh-nav__links,
  .hh-nav__actions {
    display: none !important;
  }

  .hh-nav__mobile-right {
    display: flex;
  }

  .hh-nav__brand-name {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 575.98px) {
  .hh-nav {
    padding-inline: 0.58rem;
  }

  .hh-nav__brand {
    gap: 0.5rem;
    font-size: 0.96rem;
  }

  .hh-nav__brand-logo {
    width: 36px;
    height: 36px;
  }

  .hh-nav__icon-btn,
  .hh-nav__hamburger {
    width: 38px;
    height: 38px;
  }

  .hh-drawer {
    width: min(390px, 94vw);
  }
}

@media (min-width: 992px) {
  .hh-nav__mobile-right {
    display: none !important;
  }

  .hh-drawer,
  .hh-drawer-overlay {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hh-nav,
  .hh-nav *,
  .hh-dropdown,
  .hh-drawer,
  .hh-drawer-overlay {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .hh-nav {
    display: none !important;
  }

  main {
    padding-top: 0 !important;
  }
}

.notification-item .dropdown-item {
  white-space: normal;
  border-radius: 14px;
}



.navbar {
  min-height: var(--hh-nav-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6), var(--shadow-light-soft);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  z-index: 1030;
}

.navbar > .container {
  min-height: var(--navbar-height);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text-light) !important;
  transition: color var(--transition);
}

.navbar-brand i {
  color: var(--primary);
  font-size: 1.15rem;
}

.navbar-toggler {
  border: 1px solid var(--border-light) !important;
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
  background: rgba(255,255,255,0.6);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.14);
}

.nav-link {
  font-weight: 600;
  color: var(--text-light-muted) !important;
  border-radius: 14px;
  padding: 0.72rem 1rem !important;
  transition: all var(--transition);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-soft);
}

.dropdown-menu {
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-light);
  border-radius: 18px !important;
  padding: 0.6rem;
}

.dropdown-menu.show {
  animation: dropdown-fade 0.2s ease-out forwards;
}

@keyframes dropdown-fade {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  transition: all var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
}

.dropdown-item.active,
.dropdown-item:active {
  background: rgba(79, 70, 229, 0.12);
  color: var(--primary);
}

.dropdown-divider {
  border-color: rgba(148, 163, 184, 0.15);
}


.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.55);
  color: var(--text-light-muted);
  transition: all var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.18);
  transform: translateY(-1px);
}

.profile-img-nav {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(79, 70, 229, 0.22);
  padding: 2px;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.profile-img-nav:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}


.mobile-menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.mobile-offcanvas {
  width: min(88vw, 360px) !important;
  border-left: 1px solid var(--border-light);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-menu-header {
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: rgba(255,255,255,0.55);
}

.mobile-nav-group {
  padding: 1rem;
}

.mobile-nav-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-light-muted);
  margin-bottom: 0.8rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  transition: all var(--transition);
  margin-bottom: 0.45rem;
  border: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(79, 70, 229, 0.10);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.12);
}

.mobile-actions-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.55);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
}


.login-btn {
  border-radius: 999px;
  padding: 0.62rem 1.2rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  border: none;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.24);
}

.login-btn:hover {
  background: linear-gradient(135deg, var(--primary-hover), #5558eb);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  border: none;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.20);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-hover), #5458eb);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
}

.btn-outline-primary {
  border-color: rgba(79, 70, 229, 0.26);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.34);
}


.page-bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.52;
}

.orb-1 {
  width: 360px;
  height: 360px;
  top: 110px;
  left: -120px;
  background: rgba(99, 102, 241, 0.16);
}

.orb-2 {
  width: 440px;
  height: 440px;
  bottom: -150px;
  right: -140px;
  background: rgba(56, 189, 248, 0.12);
}

main.container {
  position: relative;
  z-index: 1;
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  animation: pageFade 0.45s ease;
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Arka plan katmanının hareket dili --- */
/* scale() kaldırıldı: blur() uygulanmış bir katmanı ölçeklemek onu her karede
   yeniden rasterize etmeye zorluyordu. Sadece öteleme ile aynı his korunur. */
@keyframes hhLayoutFloat {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  33%  { transform: translate3d(3vw, -4vh, 0); }
  66%  { transform: translate3d(-2vw, 3vh, 0); }
}

/* Aşağıdaki iki kare dizisi yalnızca transform/opacity kullanır; böylece
   compositor üzerinde çalışır ve her karede yeniden boyama gerektirmez. */
@keyframes hhAuroraDrift {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(6%, 4%, 0); }
}

@keyframes hhBeamSweep {
  0%   { transform: translate3d(38%, 0, 0); opacity: 0; }
  18%  { opacity: var(--fx-beam-opacity, 0.5); }
  82%  { opacity: var(--fx-beam-opacity, 0.5); }
  100% { transform: translate3d(-38%, 0, 0); opacity: 0; }
}

@keyframes hhGrainShift {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-6px, 4px, 0); }
  50%  { transform: translate3d(5px, -5px, 0); }
  75%  { transform: translate3d(-3px, -3px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Hareket azaltma tercihinde katman durur; renkler ve derinlik korunur. */
@media (prefers-reduced-motion: reduce) {
  .hh-layout-fx__orb,
  .hh-layout-fx__aurora,
  .hh-layout-fx__noise,
  .hh-layout-fx__beam {
    animation: none !important;
  }
  .hh-layout-fx__beam { opacity: 0 !important; }
}

/* ===========================================================================
   MOBİL / DOKUNMATİK CİHAZ BÜTÇESİ
   ---------------------------------------------------------------------------
   Arka plan efekti masaüstünde 10 ayrı sabit (position: fixed) katmandan
   oluşuyordu ve bunların çoğu blur + mix-blend-mode taşıyordu. Retina bir
   telefonda (ör. iPhone 11 Pro: 1125x2436, DPR 3) her tam ekran katman
   ~2,7 milyon piksellik bir doku demek; blur çok geçişli bir GPU işlemi
   olduğu için bu katmanlar hem kare süresini hem de sekme belleğini
   patlatıp sayfanın donmasına / yeniden yüklenmesine yol açıyordu.

   Dokunmatik ve dar ekranlarda katman sayısı 10'dan 3'e indirilir, blend
   modları ve büyük blur yarıçapları kaldırılır. Renkler tokenlardan geldiği
   için temaların kimliği korunur; yalnızca hareket ve derinlik azalır.
   =========================================================================== */
@media (hover: none), (pointer: coarse), (max-width: 820px) {
  /* İmleç ışığı zaten dokunmatikte hiç güncellenmiyor (JS `pointer: fine`
     ile sınırlı); huzme ve parazit katmanı da bu bütçede taşınmaz. */
  .hh-layout-fx__pointer,
  .hh-layout-fx__beam,
  .hh-layout-fx__noise,
  .hh-layout-fx__orb--three,
  .page-bg-orb {
    display: none !important;
  }

  /* Kalan katmanlar sabit: animasyon, blend ve ağır blur yok. */
  .hh-layout-fx__aurora,
  .hh-layout-fx__grid,
  .hh-layout-fx__orb {
    animation: none !important;
    mix-blend-mode: normal !important;
  }

  .hh-layout-fx__aurora {
    inset: 0;
    filter: none !important;
  }

  /* Blur yarıçapı büyük ölçüde düşürülür; orblar zaten yumuşak gradyan. */
  .hh-layout-fx__orb {
    filter: blur(28px) !important;
    opacity: calc(var(--fx-orb-opacity, 0.8) * 0.8);
  }

  /* Tema geçişindeki "tüm elemanlar" geçişi mobilde tek seferde çok fazla
     katman oluşturuyordu; mobilde sadece zemin ve yazı yumuşak geçer. */
  html.hh-theme-shifting * {
    transition: none !important;
  }

  /* backdrop-filter iOS'ta her kaydırma karesinde arka planı yeniden
     örnekler. Yapışkan navigasyonda bu sürekli bir maliyet; mobilde cam
     efekti yerine opak token yüzeyi kullanılır (görünüm token'lardan gelir). */
  .hh-nav,
  .hh-nav__inner,
  .hh-nav__links,
  .hh-nav__actions,
  .hh-dropdown,
  .hh-drawer,
  .hh-nav__icon-btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hh-nav__inner { background: var(--nav-panel-strong, var(--surface)) !important; }
  .hh-dropdown,
  .hh-drawer { background: var(--dropdown-bg, var(--surface)) !important; }

  /* Footer her sayfanın altında; blur(24px)+saturate her kaydırmada maliyet. */
  .hh-ft {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

.notification-dropdown {
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
}




:root {
  --hh-ft-bg:            var(--footer-bg, rgba(248, 250, 252, 0.96));
  --hh-ft-border:        var(--footer-divider, rgba(15, 23, 42, 0.07));
  --hh-ft-text:          var(--footer-text, #64748b);
  --hh-ft-text-strong:   var(--footer-text-strong, #0f172a);
  --hh-ft-link:          var(--footer-link, #64748b);
  --hh-ft-link-hover:    var(--footer-link-hover, #1a56d0);
  --hh-ft-divider:       var(--footer-divider, rgba(15, 23, 42, 0.08));
  --hh-ft-social-bg:     var(--footer-social-bg, rgba(255, 255, 255, 0.80));
  --hh-ft-social-border: var(--footer-social-border, rgba(15, 23, 42, 0.09));
  --hh-ft-input-bg:      var(--input-bg, #ffffff);
  --hh-ft-input-border:  var(--border, rgba(15, 23, 42, 0.14));
  --hh-ft-nl-bg:         rgba(26, 86, 208, 0.03);
  --hh-ft-nl-border:     rgba(26, 86, 208, 0.10);
}


.hh-ft {
  margin-top: auto;
  background: var(--hh-ft-bg);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-top: 1px solid var(--hh-ft-border);
  color: var(--hh-ft-text);
  font-size: 0.875rem;
  line-height: 1.6;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  position: relative;
}

.hh-ft::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1a56d0 0%, #4fa3ff 40%, #06b6d4 72%, #10b981 100%);
  opacity: 0.60;
}


.hh-ft__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


.hh-ft__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0 22px;
}


.hh-ft__brand-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hh-ft__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--hh-ft-text-strong);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  transition: opacity 0.18s;
}
.hh-ft__brand:hover { opacity: 0.72; }
.hh-ft__brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}
.hh-ft__brand-name { color: inherit; }
.hh-ft__tagline {
  margin: 0;
  font-size: 0.82rem;
  color: var(--hh-ft-text);
  max-width: 300px;
  line-height: 1.5;
}


.hh-ft__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}


.hh-ft__socials { display: flex; gap: 6px; }
.hh-ft__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--hh-ft-social-bg);
  border: 1px solid var(--hh-ft-social-border);
  color: var(--hh-ft-text);
  text-decoration: none;
  transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.2s, box-shadow 0.2s;
}
.hh-ft__social:hover {
  color: #1a56d0;
  background: rgba(26, 86, 208, 0.08);
  border-color: rgba(26, 86, 208, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 86, 208, 0.18);
}


.hh-ft__ctrl-sep {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--hh-ft-divider);
  flex-shrink: 0;
}


.hh-ft__lang { display: flex; gap: 4px; }
.hh-ft__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--hh-ft-text);
  border: 1px solid var(--hh-ft-divider);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
/* Footer koyu zeminlidir; aktif/hover dil butonu footer tokenlarını kullanır,
   aksi halde koyu zemin üzerinde koyu mavi yazı okunmaz hâle geliyordu. */
.hh-ft__lang-btn:hover,
.hh-ft__lang-btn--active {
  color: var(--footer-link-hover, var(--footer-text-strong));
  border-color: color-mix(in srgb, var(--footer-link-hover, var(--footer-text-strong)) 34%, transparent);
  background: color-mix(in srgb, var(--footer-link-hover, var(--footer-text-strong)) 12%, transparent);
}


.hh-ft__theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--hh-ft-divider);
  background: var(--hh-ft-social-bg);
  color: var(--hh-ft-text);
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.22s;
}
.hh-ft__theme-btn:hover {
  color: #1a56d0;
  background: rgba(26, 86, 208, 0.07);
  border-color: rgba(26, 86, 208, 0.22);
  transform: rotate(15deg);
}

.hh-ft__theme-sun  { display: none; }
.hh-ft__theme-moon { display: block; }


.hh-ft__nav {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--hh-ft-divider);
}
@media (min-width: 768px) {
  .hh-ft__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    padding: 24px 0 28px;
  }
}
@media (min-width: 992px) {
  .hh-ft__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
    padding: 24px 0 28px;
  }
}


@media (max-width: 767.98px) {
  .hh-ft__col { border-bottom: 1px solid var(--hh-ft-divider); }
}


.hh-ft__col-hd {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border: none;
  background: none;
  color: var(--hh-ft-text-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 0.18s;
}
.hh-ft__col-hd:hover { color: var(--hh-ft-link-hover); }
@media (min-width: 768px) {
  .hh-ft__col-hd { padding: 0 0 14px; cursor: default; pointer-events: none; }
  .hh-ft__col-chevron { display: none; }
}
.hh-ft__col-chevron {
  flex-shrink: 0;
  color: var(--hh-ft-text);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}
.hh-ft__col--collapsed .hh-ft__col-chevron { transform: rotate(-90deg); }


.hh-ft__col-links {
  list-style: none;
  margin: 0;
  padding: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  max-height: 600px;
  opacity: 1;
  transition: max-height 0.32s cubic-bezier(.4,0,.2,1), opacity 0.26s, padding 0.28s;
}
.hh-ft__col-links--collapsed {
  max-height: 0 !important;
  opacity: 0;
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .hh-ft__col-links,
  .hh-ft__col-links--collapsed {
    max-height: none !important;
    opacity: 1 !important;
    padding-bottom: 0;
  }
}


.hh-ft__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  color: var(--hh-ft-link);
  text-decoration: none;
  font-size: 0.855rem;
  font-weight: 500;
  transition: color 0.18s;
  width: fit-content;
}
.hh-ft__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: var(--hh-ft-link-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1);
}
.hh-ft__link:hover { color: var(--hh-ft-link-hover); }
.hh-ft__link:hover::after { transform: scaleX(1); }


.hh-ft__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--hh-ft-divider);
}
.hh-ft__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--hh-ft-text);
}
.hh-ft__copy-dim { opacity: 0.6; }
.hh-ft__made {
  margin: 0;
  font-size: 0.78rem;
  color: var(--hh-ft-text);
  opacity: 0.65;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hh-ft__heart {
  color: #ef4444;
  animation: hh-ft-heartbeat 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes hh-ft-heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.22); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.14); }
  56%       { transform: scale(1); }
}

.hh-ft__scroll-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--hh-ft-divider);
  background: var(--hh-ft-social-bg);
  color: var(--hh-ft-text);
  font-size: 0.76rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.18s;
}
.hh-ft__scroll-top:hover {
  color: #1a56d0;
  background: rgba(26, 86, 208, 0.07);
  border-color: rgba(26, 86, 208, 0.20);
  transform: translateY(-2px);
}


.footer-social {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: var(--hh-ft-social-bg);
  border: 1px solid var(--hh-ft-social-border);
  transition: all var(--transition);
}
.footer-social:hover {
  color: #1a56d0;
  background: rgba(26, 86, 208, 0.08);
  border-color: rgba(26, 86, 208, 0.20);
  transform: translateY(-1px);
}




:root {
  --hh-legal-max: 1040px;
  --hh-legal-toc-w: 220px;
  --hh-legal-text: #374151;
  --hh-legal-text-muted: #6b7280;
  --hh-legal-head: #111827;
  --hh-legal-border: rgba(15,23,42,0.08);
  --hh-legal-link: #4f46e5;
  --hh-legal-link-hover: #4338ca;
  --hh-legal-active-bg: rgba(79,70,229,0.07);
  --hh-legal-active-color: #4f46e5;
  --hh-legal-hero-bg: rgba(79,70,229,0.04);
  --hh-legal-section-border: rgba(15,23,42,0.06);
  --hh-legal-card-bg: rgba(79,70,229,0.04);
  --hh-legal-card-border: rgba(79,70,229,0.12);
}


.hh-legal {
  max-width: var(--hh-legal-max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  color: var(--hh-legal-text);
  font-size: 0.95rem;
  line-height: 1.75;
}


.hh-legal__hero {
  background: var(--hh-legal-hero-bg);
  border: 1px solid var(--hh-legal-border);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}
.hh-legal__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 99px;
  background: rgba(79,70,229,0.10);
  color: var(--hh-legal-link);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hh-legal__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--hh-legal-head);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.hh-legal__meta {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--hh-legal-text-muted);
}
.hh-legal__intro {
  margin: 0 auto;
  font-size: 1rem;
  color: var(--hh-legal-text);
  max-width: 640px;
}


.hh-legal__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hh-legal__layout {
    grid-template-columns: var(--hh-legal-toc-w) 1fr;
    gap: 2.5rem;
  }
}


.hh-legal__toc {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--hh-legal-border);
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hh-legal__toc {
    position: sticky;
    top: 86px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .hh-legal__toc::-webkit-scrollbar { width: 4px; }
  .hh-legal__toc::-webkit-scrollbar-thumb { background: var(--hh-legal-border); border-radius: 4px; }
}
.hh-legal__toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border: none;
  background: none;
  color: var(--hh-legal-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.18s;
}
.hh-legal__toc-toggle:hover { color: var(--hh-legal-link); }
@media (min-width: 900px) {
  .hh-legal__toc-toggle { cursor: default; pointer-events: none; }
  .hh-legal__toc-chevron { display: none; }
}
.hh-legal__toc-chevron {
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}
.hh-legal__toc-toggle[aria-expanded="false"] .hh-legal__toc-chevron { transform: rotate(-90deg); }

.hh-legal__toc-nav {
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(.4,0,.2,1), opacity 0.28s;
  max-height: 0;
  opacity: 0;
}
.hh-legal__toc-nav--open {
  max-height: 1400px;
  opacity: 1;
}
@media (min-width: 900px) {
  .hh-legal__toc-nav,
  .hh-legal__toc-nav--open {
    max-height: none !important;
    opacity: 1 !important;
  }
}
.hh-legal__toc-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hh-legal__toc-link {
  display: block;
  padding: 7px 10px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--hh-legal-text-muted);
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
  line-height: 1.4;
}
.hh-legal__toc-link:hover {
  color: var(--hh-legal-head);
  background: var(--hh-legal-active-bg);
}
.hh-legal__toc-link--active {
  color: var(--hh-legal-active-color);
  background: var(--hh-legal-active-bg);
  font-weight: 700;
}


.hh-legal__content { min-width: 0; }
.hh-legal__section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--hh-legal-section-border);
}
.hh-legal__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.hh-legal__section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
}
.hh-legal__h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hh-legal-head);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.hh-legal__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--hh-legal-border);
  background: transparent;
  color: var(--hh-legal-text-muted);
  cursor: pointer;
  margin-top: 2px;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.hh-legal__copy-btn:hover {
  color: var(--hh-legal-link);
  background: var(--hh-legal-active-bg);
  border-color: rgba(79,70,229,0.20);
}
.hh-legal__list {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0.75rem 0;
}
.hh-legal__list li { line-height: 1.65; }
.hh-legal__card {
  background: var(--hh-legal-card-bg);
  border: 1px solid var(--hh-legal-card-border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  font-size: 0.92rem;
}


.hh-legal__toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--hh-legal-head);
  color: #fff;
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 9000;
}
.hh-legal__toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.hh-ad-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.hh-ad-rail {
  position: fixed;
  top: 112px;
  bottom: 116px;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}

.hh-ad-rail--left {
  left: max(12px, calc(env(safe-area-inset-left, 0px) + 12px));
}

.hh-ad-rail--right {
  right: max(12px, calc(env(safe-area-inset-right, 0px) + 12px));
}

.hh-ad-rail__label {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(71, 85, 105, 0.84);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  backdrop-filter: blur(14px);
}

.hh-ad-rail__unit {
  display: block;
  width: 160px;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.10);
}

@media (max-width: 1480px) {
  .hh-ad-rail {
    width: 120px;
  }

  .hh-ad-rail__unit {
    width: 120px;
    min-height: 420px;
  }
}

@media (max-width: 1240px), (max-height: 720px) {
  .hh-ad-shell {
    display: none;
  }
}


.hh-live-support {
  --hh-live-panel: rgba(255, 255, 255, 0.96);
  --hh-live-panel-muted: #f8fafc;
  --hh-live-border: rgba(15, 23, 42, 0.10);
  --hh-live-text: #0f172a;
  --hh-live-muted: #64748b;
  position: fixed;
  left: max(18px, env(safe-area-inset-left, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.hh-live-support__button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 58%, #0891b2);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 20px 44px rgba(29, 78, 216, 0.28);
}

.hh-live-support__panel {
  width: min(420px, calc(100vw - 28px));
  height: min(680px, calc(100dvh - 96px));
  border: 1px solid var(--hh-live-border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--hh-live-panel);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.24);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.hh-live-support__head {
  min-height: 58px;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  color: #fff;
}

.hh-live-support__head strong,
.hh-live-support__head span {
  display: block;
}

.hh-live-support__head span {
  margin-top: 2px;
  max-width: 310px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  line-height: 1.35;
}

.hh-live-support__head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hh-live-support__messages {
  min-height: 0;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hh-live-support__empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  color: var(--hh-live-muted);
  padding: 20px;
}

.hh-live-support__empty i {
  font-size: 1.5rem;
  color: #2563eb;
}

.hh-live-support__msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--hh-live-panel-muted);
  color: var(--hh-live-text);
}

.hh-live-support__msg.is-me {
  align-self: flex-end;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #fff;
}

.hh-live-support__msg strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  opacity: 0.82;
}

.hh-live-support__msg p {
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
}

.hh-live-support__composer {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid var(--hh-live-border);
}

.hh-live-support__composer input {
  min-height: 44px;
  border: 1px solid var(--hh-live-border);
  border-radius: 14px;
  padding: 0 12px;
  outline: none;
  background: var(--hh-live-panel-muted);
  color: var(--hh-live-text);
}

.hh-live-support__composer button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 575.98px) {
  .hh-live-support {
    right: 14px;
    left: 14px;
  }

  .hh-live-support__button {
    width: 100%;
    justify-content: center;
  }
}


@media (max-width: 899.98px) {
  .hh-legal { padding-top: 1.5rem; }
  .hh-legal__hero { padding: 1.75rem 1.25rem; text-align: left; }
  .hh-legal__intro { margin-inline: 0; }
}
