/* Kwami Kingdom — purple motion widgets */
:root {
  --kk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --kk-glow: 0 18px 50px rgba(124, 58, 237, 0.28);
}

.kk-auth-page {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 34px 20px;
  background:
    linear-gradient(135deg, rgba(11, 7, 21, .96), rgba(24, 11, 40, .92)),
    url("../img/bg.png") center / cover;
  color: #fff;
}

html:has(.kk-auth-page),
html:has(.kk-auth-page) body {
  overflow-x: hidden;
}

.kk-auth-page,
.kk-auth-page *,
.kk-auth-page *::before,
.kk-auth-page *::after {
  box-sizing: border-box;
}

.kk-auth-shell,
.kk-auth-intro,
.kk-auth-card,
.kk-auth-form,
.kk-auth-field,
.kk-auth-field input {
  min-width: 0;
}

.kk-auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(360px, 1fr);
  width: min(920px, 100%);
  overflow: hidden;
  max-width: 100%;
  border: 1px solid rgba(216, 180, 254, .2);
  border-radius: 26px;
  background: rgba(20, 12, 32, .72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
}

.kk-auth-shell--compact {
  width: min(840px, 100%);
}

.kk-auth-intro,
.kk-auth-card {
  padding: clamp(30px, 5vw, 60px);
}

.kk-auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(150deg, rgba(126, 34, 206, .32), rgba(30, 15, 46, .2));
}

.kk-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: clamp(48px, 8vw, 100px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.25;
}

.kk-auth-brand:hover { color: #fff; }

.kk-auth-brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.kk-auth-brand strong { color: #d8b4fe; }

.kk-auth-intro h1 {
  margin: 9px 0 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -1px;
  line-height: 1.08;
}

.kk-auth-intro p,
.kk-auth-card__header p {
  color: #b7a8c8;
  font-size: 13px;
  line-height: 1.8;
}

.kk-auth-points {
  display: grid;
  gap: 13px;
  margin-top: 30px;
  color: #d8b4fe;
  font-size: 11px;
}

.kk-auth-points i {
  width: 18px;
  color: #c084fc;
  text-align: center;
}

.kk-auth-card {
  background: rgba(13, 9, 20, .62);
}

.kk-auth-card__header h2 {
  margin: 9px 0 9px;
  color: #fff;
  font-size: 29px;
}

.kk-auth-form {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}

.kk-auth-form > label {
  color: #e9d5ff;
  font-size: 11px;
  font-weight: 600;
}

.kk-auth-field {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 50px;
  margin-bottom: 9px;
  padding: 0 15px;
  border: 1px solid rgba(216, 180, 254, .16);
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  max-width: 100%;
  overflow: hidden;
}

.kk-auth-field:focus-within {
  border-color: rgba(192, 132, 252, .75);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .12);
}

.kk-auth-field > i { color: #a78bfa; font-size: 13px; }

.kk-auth-field input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.kk-auth-field input::placeholder { color: #857a91; }

.kk-auth-password-toggle {
  border: 0;
  background: transparent;
  color: #a78bfa;
  cursor: pointer;
}

.kk-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 14px;
  color: #a99bad;
  font-size: 11px;
}

.kk-auth-options a,
.kk-auth-register a { color: #d8b4fe; }

.kk-auth-check { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.kk-auth-check input { accent-color: #a855f7; }

.kk-auth-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(110deg, #9333ea, #c026d3);
  box-shadow: 0 12px 28px rgba(147, 51, 234, .25);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.kk-auth-submit:hover { filter: brightness(1.1); }
.kk-auth-submit:disabled { cursor: wait; opacity: .65; }
.kk-auth-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 1px solid rgba(129, 140, 248, .4);
  border-radius: 11px;
  background: rgba(88, 101, 242, .14);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 700;
}
.kk-auth-discord:hover { border-color: #818cf8; background: rgba(88, 101, 242, .24); color: #fff; }

.kk-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  color: var(--site-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.kk-auth-divider::before,
.kk-auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: rgba(216, 180, 254, .16);
}
.kk-auth-register { margin-top: 23px; color: #95879f; font-size: 11px; text-align: center; }
.kk-auth-home { display: block; margin-top: 23px; color: #9f91aa; font-size: 11px; text-align: center; }
.kk-auth-home:hover { color: #d8b4fe; }

.kk-auth-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35; }
.kk-auth-orb--one { top: -180px; left: -100px; width: 420px; height: 420px; background: #7e22ce; }
.kk-auth-orb--two { right: -170px; bottom: -230px; width: 500px; height: 500px; background: #4c1d95; }

.kk-auth-card--verify { display: flex; flex-direction: column; justify-content: center; }
.kk-auth-verify-icon { display: grid; width: 52px; height: 52px; margin-bottom: 23px; place-items: center; border-radius: 15px; background: rgba(168, 85, 247, .16); color: #d8b4fe; font-size: 20px; }
.kk-auth-field--code input { font-size: 23px; font-weight: 700; letter-spacing: 8px; }
.kk-auth-field--code { width: 100%; }
.kk-auth-error { padding: 10px 12px; border: 1px solid rgba(248, 113, 113, .3); border-radius: 9px; background: rgba(248, 113, 113, .1); color: #fecaca; font-size: 11px; }

.kk-auth-alert {
  z-index: 50;
  width: min(390px, calc(100vw - 32px));
  border: 1px solid rgba(248, 113, 113, .3);
  border-radius: 14px;
  background: rgba(30, 15, 42, .96);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .38);
}

.kk-auth-alert .toast-content { gap: 10px; }
.kk-auth-alert .message { min-width: 0; margin: 0 10px; }
.kk-auth-alert .message .text { color: #cdbed7; font-size: 12px; overflow-wrap: anywhere; }
.kk-auth-alert .message .text-1 { color: #fff; font-size: 13px; }
.kk-auth-alert .check { flex: 0 0 35px; }
.kk-auth-alert .close {
  border: 0;
  background: transparent;
  color: #cdbed7;
}
#success.kk-auth-alert { border-color: rgba(74, 222, 128, .35); }

.profile-settings-discord {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(250px, 1.2fr);
  gap: 18px;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(88, 101, 242, .35);
  border-radius: 16px;
  background: rgba(88, 101, 242, .09);
}

.profile-settings-discord h3 { margin: 7px 0; color: #fff; font-size: 18px; }
.profile-settings-discord p { margin: 0; color: var(--site-muted); font-size: 12px; line-height: 1.6; }
.profile-settings-discord .kk-auth-discord { margin-top: 0; }

@media (max-width: 700px) {
  .kk-auth-page { padding: 16px; }
  .kk-auth-shell { grid-template-columns: 1fr; }
  .kk-auth-intro { padding: 28px 25px 20px; }
  .kk-auth-card { padding: 30px 25px; }
  .kk-auth-shell--compact .kk-auth-card { padding: 26px 20px; }
  .kk-auth-brand { margin-bottom: 35px; }
  .kk-auth-intro h1 { font-size: 32px; }
  .kk-auth-points { display: none; }
}

.kk-adblock-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 5, 15, 0.98);
  color: #fff;
}

.kk-adblock-gate[hidden] {
  display: none !important;
}

.kk-adblock-gate__panel {
  width: min(680px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(192, 132, 252, 0.5);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(36, 20, 60, 0.98), rgba(18, 12, 31, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 45px rgba(124, 58, 237, 0.22);
  text-align: center;
  animation: kk-adblock-in 0.45s var(--kk-ease) both;
}

.kk-adblock-gate__icon {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 22px;
  background: rgba(168, 85, 247, 0.2);
  color: #e9d5ff;
  font-size: 34px;
}

.kk-adblock-gate__content strong {
  display: block;
  margin-bottom: 12px;
  color: #d8b4fe;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kk-adblock-gate__content h1 {
  margin: 0 auto 16px;
  max-width: 17ch;
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
}

.kk-adblock-gate__content p {
  max-width: 54ch;
  margin: 0 auto 26px;
  color: #d6d0e2;
  font-size: 15px;
  line-height: 1.65;
}

.kk-adblock-gate__reload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(233, 213, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, #c084fc, #7c3aed);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.32);
  transition: transform 0.25s var(--kk-ease), box-shadow 0.25s ease;
}

.kk-adblock-gate__reload:hover,
.kk-adblock-gate__reload:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.42);
}

.kk-adblock-gate__reload:focus-visible {
  outline: 3px solid rgba(233, 213, 255, 0.7);
  outline-offset: 3px;
}

body.kk-adblock-gated {
  overflow: hidden;
}

body.kk-adblock-gated > #app {
  visibility: hidden;
  pointer-events: none;
}

@keyframes kk-adblock-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .kk-adblock-gate {
    padding: 16px;
  }

  .kk-adblock-gate__panel {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .kk-adblock-gate__reload {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kk-adblock-gate__panel,
  .kk-adblock-gate__reload {
    animation: none;
    transition: none;
  }
}
.kk-page {
  position: relative;
  overflow: hidden;
}

.kk-info-page {
  min-height: 70vh;
}

.kk-info-hero {
  max-width: 760px;
  margin-bottom: 34px;
  padding: 34px;
  border: 1px solid var(--site-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 10%, rgba(168, 85, 247, 0.2), transparent 32%),
    var(--site-surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.kk-info-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
}

.kk-info-hero p {
  max-width: 62ch;
  margin: 0;
  color: var(--site-muted);
  line-height: 1.7;
}

.kk-info-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.kk-info-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  color: #d8b4fe;
  font-size: 12px;
}

.kk-legal-hero {
  max-width: none;
  margin-bottom: 22px;
}

.kk-legal-hero h1 {
  max-width: 760px;
}

.kk-legal-hero p {
  font-size: 16px;
}

.kk-legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.kk-legal-index {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
  padding: 18px;
}

.kk-legal-index__title {
  margin-bottom: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.kk-legal-index a {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--site-muted);
  font-size: 12px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.kk-legal-index a:hover {
  background: rgba(168, 85, 247, .12);
  color: #fff;
  transform: translateX(3px);
}

.kk-legal-content {
  padding: 8px 28px;
}

.kk-legal-section {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(216, 180, 254, .1);
  scroll-margin-top: 100px;
}

.kk-legal-section:last-child {
  border-bottom: 0;
}

.kk-legal-section__number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, .35);
  border-radius: 10px;
  background: rgba(168, 85, 247, .1);
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 800;
}

.kk-legal-section h2 {
  margin: 2px 0 8px;
  color: #fff;
  font-size: 19px;
}

.kk-legal-section p {
  max-width: 72ch;
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.85;
}

.kk-maintenance-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: 24px;
  background: #100b18;
}

.kk-maintenance-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(168, 85, 247, .2);
  filter: blur(12px);
}

.kk-maintenance-orb--one { top: -170px; right: -90px; }
.kk-maintenance-orb--two { bottom: -210px; left: -120px; background: rgba(99, 102, 241, .18); }

.kk-maintenance-card {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  padding: clamp(34px, 7vw, 68px);
  border: 1px solid rgba(216, 180, 254, .2);
  border-radius: 28px;
  background: rgba(30, 18, 43, .82);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4);
  text-align: center;
}

.kk-maintenance-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 210px);
  margin: 0 auto 30px;
  transition: transform .25s ease, opacity .25s ease;
}

.kk-maintenance-brand:hover {
  opacity: .88;
  transform: translateY(-2px);
}

.kk-maintenance-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.kk-maintenance-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, .35);
  border-radius: 22px;
  background: rgba(168, 85, 247, .16);
  color: #d8b4fe;
  font-size: 28px;
}

.kk-maintenance-card h1 {
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(30px, 6vw, 52px);
}

.kk-maintenance-card p {
  margin: 0 auto 24px;
  color: var(--site-muted);
  line-height: 1.8;
}

.kk-maintenance-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #d8b4fe;
  font-size: 12px;
}

.kk-maintenance-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 14px #c084fc;
}

.kk-maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.kk-maintenance-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(216, 180, 254, .45);
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  box-shadow: 0 12px 28px rgba(124, 58, 237, .28);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.kk-maintenance-action--instagram {
  border-color: rgba(244, 114, 182, .45);
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  box-shadow: 0 12px 28px rgba(236, 72, 153, .24);
}

.kk-maintenance-action:hover,
.kk-maintenance-action:focus-visible {
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 16px 34px rgba(124, 58, 237, .42);
  color: #fff;
  transform: translateY(-2px);
}

.kk-maintenance-action--instagram:hover,
.kk-maintenance-action--instagram:focus-visible {
  box-shadow: 0 16px 34px rgba(236, 72, 153, .4);
}

.kk-maintenance-action:active {
  transform: translateY(0);
}

.kk-maintenance-action i {
  font-size: 13px;
}

@media (max-width: 520px) {
  .kk-maintenance-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .kk-maintenance-action {
    width: 100%;
  }
}

.admin-maintenance-card {
  max-width: 760px;
  padding: 28px;
  border: 1px solid rgba(216, 180, 254, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
}

.admin-maintenance-card__intro h3 {
  margin: 8px 0;
  color: #fff;
}

.admin-maintenance-card__intro p {
  max-width: 65ch;
  color: #a7a0b4;
  line-height: 1.7;
}

.admin-maintenance-card textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  margin: 8px 0 18px;
  padding: 14px;
  border: 1px solid rgba(216, 180, 254, .18);
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
  color: #fff;
  resize: vertical;
}

.admin-maintenance-label {
  display: block;
  margin-top: 24px;
  color: #eee;
  font-size: 13px;
}

.admin-maintenance-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  cursor: pointer;
}

.admin-maintenance-toggle input {
  position: absolute;
  opacity: 0;
}

.admin-maintenance-toggle__track {
  width: 46px;
  height: 26px;
  padding: 3px;
  border-radius: 999px;
  background: #4b4055;
  transition: background .2s ease;
}

.admin-maintenance-toggle__track span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}

.admin-maintenance-toggle input:checked + .admin-maintenance-toggle__track {
  background: #a855f7;
}

.admin-maintenance-toggle input:checked + .admin-maintenance-toggle__track span {
  transform: translateX(20px);
}

@media (max-width: 760px) {
  .kk-legal-layout {
    grid-template-columns: 1fr;
  }

  .kk-legal-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kk-legal-index__title {
    grid-column: 1 / -1;
  }

  .kk-legal-content {
    padding: 4px 18px;
  }

  .kk-legal-section {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }
}

.kk-translation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kk-translation-card {
  padding: 20px;
}

.kk-translation-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.kk-translation-card__locale {
  color: #c084fc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.kk-translation-card h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 18px;
}

.kk-availability-hero {
  max-width: 900px;
}

.kk-availability-summary {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 18px;
  padding: 22px 24px;
}

.kk-availability-summary__label {
  display: block;
  margin-bottom: 5px;
  color: var(--site-muted);
  font-size: 12px;
}

.kk-availability-summary strong {
  color: #fff;
  font-size: 24px;
}

.kk-availability-summary small {
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 500;
}

.kk-availability-summary__bar,
.kk-availability-season .kk-translation-card__bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.kk-availability-summary__bar span,
.kk-availability-season .kk-translation-card__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
}

.kk-availability-seasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.kk-availability-season {
  padding: 22px;
}

.kk-availability-season__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.kk-availability-season__header h2 {
  margin: 5px 0 16px;
  color: #fff;
  font-size: 19px;
}

.kk-availability-season__header > strong {
  color: #d8b4fe;
  font-size: 22px;
}

.kk-availability-season__stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 18px;
  color: var(--site-muted);
  font-size: 12px;
}

.kk-availability-season__stats i {
  color: #c084fc;
  margin-right: 4px;
}

.kk-availability-episodes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.kk-availability-episode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 42px;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid var(--site-line);
  border-radius: 9px;
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.kk-availability-episode.is-complete {
  border-color: rgba(69, 196, 134, 0.32);
  background: rgba(69, 196, 134, 0.1);
  color: #9ae6bd;
}

.kk-availability-episode.is-pending {
  background: rgba(255, 255, 255, 0.03);
}

.kk-availability-episode:hover {
  transform: translateY(-2px);
  border-color: rgba(192, 132, 252, 0.65);
  color: #fff;
}

.kk-credits-hero {
  max-width: 900px;
}

.kk-credits-hero__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.kk-credits-hero__brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(168, 85, 247, 0.24));
}

.kk-credits-hero__brand h1 {
  margin-bottom: 5px;
}

.kk-credits-hero__brand p {
  margin: 0;
}

.kk-credits-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
}

.kk-credits-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.kk-credits-card--team {
  background:
    radial-gradient(circle at 15% 0%, rgba(168, 85, 247, 0.18), transparent 48%),
    var(--site-surface);
}

.kk-credits-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(192, 132, 252, 0.28);
  border-radius: 13px;
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
}

.kk-credits-card__eyebrow {
  color: #c084fc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kk-credits-card h2 {
  margin: 7px 0 10px;
  color: #fff;
  font-size: 20px;
}

.kk-credits-card p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.7;
}

.kk-credits-rights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kk-credits-rights span {
  padding: 7px 10px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--site-muted);
  font-size: 12px;
}

.kk-credits-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 18px 20px;
  border-color: rgba(192, 132, 252, 0.18);
}

.kk-credits-notice > i {
  margin-top: 3px;
  color: #c084fc;
}

.kk-credits-notice p {
  margin: 0;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.7;
}

.profile-security-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.profile-security-intro,
.profile-security-form {
  border: 1px solid var(--site-line);
  border-radius: 16px;
  background: var(--site-surface);
}

.profile-security-intro {
  padding: 28px;
  background:
    radial-gradient(circle at 15% 0%, rgba(168, 85, 247, 0.18), transparent 55%),
    var(--site-surface);
}

.profile-security-intro h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: 25px;
}

.profile-security-intro p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.7;
}

.profile-security-checklist {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.profile-security-checklist span {
  color: #d8b4fe;
  font-size: 12px;
}

.profile-security-checklist i {
  margin-right: 7px;
  color: #45c486;
}

.profile-security-form {
  padding: 26px;
}

.profile-security-form h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #fff;
  font-size: 20px;
}

.profile-security-form h3 i {
  color: #c084fc;
}

.profile-security-alert {
  margin-bottom: 16px;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
}

.profile-security-alert--success {
  border: 1px solid rgba(69, 196, 134, 0.3);
  background: rgba(69, 196, 134, 0.1);
  color: #9ae6bd;
}

.profile-security-alert--error {
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.profile-security-form__hint {
  margin: -2px 0 18px;
  color: var(--site-muted);
  font-size: 11px;
  line-height: 1.6;
}

.catalog--page .profile-tab-container {
  margin-top: 22px;
}

.catalog--page .profile-tab-container .tab-content {
  margin-top: 0;
}

.catalog--page .profile-tab-container .tab-pane {
  padding-top: 0;
}

.profile-settings-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(340px, 1.28fr);
  gap: 18px;
  align-items: start;
}

.profile-settings-summary,
.profile-settings-form,
.profile-settings-card {
  border: 1px solid var(--site-line);
  border-radius: 16px;
  background: var(--site-surface);
}

.profile-settings-summary {
  padding: 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(168, 85, 247, 0.2), transparent 54%),
    var(--site-surface);
}

.profile-settings-avatar {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid rgba(216, 180, 254, 0.45);
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.16);
}

.profile-settings-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.profile-settings-summary h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: 25px;
}

.profile-settings-summary > p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.7;
}

.profile-settings-facts {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--site-line);
}

.profile-settings-facts span {
  overflow: hidden;
  color: var(--site-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-settings-facts i {
  width: 18px;
  color: #c084fc;
  text-align: center;
}

.profile-settings-content {
  display: grid;
  gap: 14px;
}

.profile-settings-form {
  padding: 26px;
}

.profile-settings-form__header,
.profile-settings-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-settings-form__header {
  margin-bottom: 22px;
}

.profile-settings-form__header h3 {
  margin: 7px 0 0;
  color: #fff;
  font-size: 21px;
}

.profile-settings-form__header > i {
  color: #c084fc;
  font-size: 20px;
}

.profile-settings-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.profile-settings-fields .sign__group:first-child {
  grid-column: 1 / -1;
}

.profile-settings-help {
  display: block;
  margin-top: 6px;
  color: var(--site-muted);
  font-size: 10px;
  line-height: 1.5;
}

.profile-select-wrap {
  position: relative;
  z-index: 3;
}

.profile-select-wrap > i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  color: #c084fc;
  font-size: 13px;
  pointer-events: none;
  transform: translateY(-50%);
}

.profile-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.profile-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 16px 0 44px;
  border: 1px solid rgba(216, 180, 254, .14);
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  color: #f5eaff;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.profile-select-trigger > i {
  color: #c084fc;
  font-size: 11px;
  transition: transform .25s var(--kk-ease);
}

.profile-select-trigger:hover,
.profile-select-wrap.is-open .profile-select-trigger {
  border-color: rgba(192, 132, 252, .75);
  background-color: rgba(168, 85, 247, .1);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .12);
  outline: none;
}

.profile-select-wrap.is-open .profile-select-trigger > i {
  transform: rotate(180deg);
}

.profile-select-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(192, 132, 252, .35);
  border-radius: 13px;
  background: rgba(31, 17, 48, .98);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .32), 0 0 24px rgba(168, 85, 247, .14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(.98);
  transform-origin: top center;
  transition: opacity .2s ease, transform .25s var(--kk-ease);
}

.profile-select-wrap.is-open .profile-select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.profile-select-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f5eaff;
  cursor: pointer;
  font-size: 12px;
  text-align: left;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.profile-select-menu button:hover,
.profile-select-menu button.is-selected {
  background: rgba(168, 85, 247, .2);
  color: #fff;
  transform: translateX(2px);
}

.profile-settings-form__footer {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--site-line);
}

.profile-settings-form__footer > span {
  color: var(--site-muted);
  font-size: 11px;
}

.profile-settings-form__footer > span i {
  margin-right: 5px;
  color: #45c486;
}

.profile-settings-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-settings-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
}

.profile-settings-card > i {
  color: #c084fc;
  font-size: 17px;
}

.profile-settings-card strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
}

.profile-settings-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 11px;
  line-height: 1.6;
}

.profile-security-tools {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.profile-security-tool {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: 16px;
  background: var(--site-surface);
}

.profile-security-tool h3 {
  margin: 7px 0 8px;
  color: #fff;
  font-size: 19px;
}

.profile-security-tool p,
.security-inline-form small {
  margin: 0;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.7;
}

.security-inline-form {
  display: grid;
  gap: 10px;
  align-content: start;
}

.security-inline-form code {
  padding: 12px;
  border: 1px dashed rgba(192, 132, 252, .45);
  border-radius: 8px;
  color: #e9d5ff;
  letter-spacing: 2px;
  overflow-wrap: anywhere;
}

.security-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--site-muted);
  font-size: 11px;
  line-height: 1.5;
}

.security-qr img {
  width: 132px;
  height: 132px;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
}

.security-device-list {
  display: grid;
  gap: 9px;
}

.security-device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--site-line);
  border-radius: 10px;
}

.security-device strong,
.security-device small {
  display: block;
}

.security-device strong {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.security-device small,
.security-device em {
  color: var(--site-muted);
  font-size: 10px;
  font-style: normal;
}

.security-device-revoke {
  border: 0;
  background: transparent;
  color: #fca5a5;
  cursor: pointer;
  font-size: 11px;
}

@media (max-width: 760px) {
  .catalog--page .profile-tab-container {
    margin-top: 16px;
  }

  .profile-security-layout,
  .profile-settings-layout,
  .profile-security-tool,
  .profile-settings-discord {
    grid-template-columns: 1fr;
  }

  .profile-settings-fields,
  .profile-settings-cards {
    grid-template-columns: 1fr;
  }

  .profile-settings-fields .sign__group:first-child {
    grid-column: auto;
  }

  .profile-settings-form__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .kk-availability-summary,
  .kk-availability-seasons,
  .kk-credits-grid {
    grid-template-columns: 1fr;
  }

  .kk-credits-hero__brand {
    align-items: flex-start;
  }

  .kk-credits-hero__brand img {
    width: 64px;
    height: 64px;
  }
}

.kk-translation-card__top strong {
  color: #e9d5ff;
  font-size: 24px;
  line-height: 1;
}

.kk-translation-card__bar {
  height: 8px;
  margin: 20px 0 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.kk-translation-card__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #d8b4fe);
}

.kk-translation-card__stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--site-muted);
  font-size: 12px;
}

.kk-translation-help {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  padding: 24px;
}

.kk-translation-help__icon {
  display: inline-flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(168, 85, 247, 0.18);
  color: #d8b4fe;
  font-size: 20px;
}

.kk-translation-help h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 19px;
}

.kk-translation-help p {
  margin: 0 0 14px;
  color: var(--site-muted);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .kk-info-hero {
    padding: 24px;
  }

  .kk-translation-grid {
    grid-template-columns: 1fr;
  }

  .kk-translation-help {
    align-items: flex-start;
  }
}

.footer {
  position: relative;
  isolation: isolate;
  padding: 64px 0 24px;
  overflow: hidden;
  border-top: 1px solid var(--site-line);
  background:
    radial-gradient(circle at 8% 0%, rgba(168, 85, 247, 0.2), transparent 34%),
    linear-gradient(180deg, #171121 0%, var(--site-bg) 100%) !important;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.025) 50%, transparent 80%);
  pointer-events: none;
}

.footer::after {
  top: auto;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.6), transparent) !important;
}

.footer .container {
  z-index: 1;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__flixtv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 72px;
  margin-top: 0;
  padding: 10px 16px;
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.footer__flixtv img {
  max-width: 140px;
  object-fit: contain;
}

.footer__eyebrow {
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__tagline {
  max-width: 29ch;
  margin-top: 16px;
  line-height: 1.7;
}

.footer__tagline + .footer__tagline {
  margin-top: 8px;
}

.footer__tagline a {
  color: #d8b4fe;
  text-decoration: underline;
  text-decoration-color: rgba(216, 180, 254, 0.35);
  text-underline-offset: 3px;
}

.footer__social {
  gap: 10px;
  margin-top: 22px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.footer__social a:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 132, 252, 0.55);
  background: rgba(168, 85, 247, 0.16);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.22);
}

.footer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__title::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #c084fc, transparent);
}

.footer__nav {
  gap: 8px;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  padding: 5px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer__nav a::before {
  content: "→";
  width: 0;
  overflow: hidden;
  color: #c084fc;
  opacity: 0;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.footer__nav a:hover {
  transform: translateX(4px);
}

.footer__nav a:hover::before {
  width: 18px;
  opacity: 1;
}

.footer__content {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--site-line);
}

.footer__links {
  gap: 18px;
}

.footer__links a {
  margin-right: 0;
  font-size: 12px;
  color: var(--site-muted);
  transition: color 0.25s ease;
}

.footer__copyright {
  margin-top: 12px;
  color: var(--site-muted);
  font-size: 12px;
}

.footer__credit {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--site-line);
}

.footer__copyright a {
  color: #d8b4fe;
}

@media (min-width: 768px) {
  .footer {
    padding-top: 78px;
  }

  .footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .footer__copyright {
    margin-top: 0;
    order: 1;
  }

  .footer__links {
    order: 2;
  }
}

@media (max-width: 767px) {
  .footer {
    padding-top: 48px;
  }

  .footer__title {
    margin-top: 34px;
  }

  .footer__content {
    text-align: center;
  }

  .footer__links,
  .footer__social {
    justify-content: center;
  }

  .footer__brand {
    align-items: center;
    text-align: center;
  }

  .footer__tagline {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .footer__credit {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
    padding: 0;
    border: 0;
  }
}

/* Premium navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 0 !important;
  background: var(--site-surface) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header::after {
  display: none;
}

.header__content {
  height: 78px;
  gap: 22px;
  overflow: visible;
}

.header__logo {
  flex: 0 0 auto;
  height: 58px;
  padding: 0;
  background: transparent !important;
  filter: none;
  transition: transform 0.3s var(--kk-ease);
}

.header__logo:hover {
  transform: translateY(-2px);
}

.header__logo img {
  height: 58px;
  max-width: 150px;
}

.header__nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  background: transparent !important;
}

.header__nav-item {
  margin-right: 2px;
}

.header__nav-link,
.header__user {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--site-text) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.header__nav-link:hover,
.header__nav-link[aria-expanded="true"],
.header__user:hover {
  border-color: rgba(192, 132, 252, 0.22);
  background: rgba(168, 85, 247, 0.12);
  color: #fff !important;
  transform: translateY(-1px);
}

.header__nav-link--live {
  color: #ffb0b8 !important;
}

.header__nav-link--live svg {
  margin-left: 7px;
  filter: drop-shadow(0 0 5px rgba(248, 113, 113, 0.7));
}

.header__actions {
  flex: 0 0 auto;
  gap: 8px;
  width: auto !important;
  padding-left: 8px;
  position: relative;
}

.header__actions .header__user {
  color: var(--site-text) !important;
}

.header__dropdown {
  position: relative;
}

.header__dropdown-toggle {
  font: inherit;
  cursor: pointer;
}

.header__dropdown-toggle i {
  color: var(--site-accent-2);
  font-size: 13px;
}

.header__account-toggle {
  gap: 9px;
  max-width: 190px;
}

.header__account-toggle > svg {
  display: none;
}

.header__account-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid rgba(216, 180, 254, 0.45);
  border-radius: 50%;
  object-fit: cover;
}

.header__account-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__account-chevron,
.header__dropdown-chevron {
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
}

.header__language-menu,
.header__account-menu {
  right: 0;
  left: auto;
  min-width: 190px;
}

.header__account-menu {
  min-width: 210px;
}

.header__account-menu a {
  gap: 9px;
}

.header__account-menu a i {
  width: 15px;
  color: var(--site-accent-2);
  text-align: center;
}

.header__actions .header__user:last-child {
  border-color: rgba(192, 132, 252, 0.28);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(124, 58, 237, 0.12));
}

.header__actions .header__user:last-child:hover {
  border-color: rgba(216, 180, 254, 0.6);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.34), rgba(124, 58, 237, 0.2));
}

.header__nav-menu {
  top: 100%;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid var(--site-line) !important;
  border-radius: 16px;
  background: rgba(25, 16, 43, 0.98) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.header__nav-menu li {
  margin-bottom: 2px;
}

.header__nav-menu li:first-child,
.header__nav-menu li:last-child {
  padding: 0;
}

.header__nav-menu a {
  min-height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  color: var(--site-muted) !important;
  font-size: 12px;
}

.header__nav-menu a:hover,
.header__nav-menu a.active {
  background: rgba(168, 85, 247, 0.14);
  color: #e9d5ff !important;
}

.header__menu {
  border: 0;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.12);
  cursor: pointer;
}

.header__menu span {
  background: #d8b4fe;
}

@media (max-width: 1199px) {
  .header__content {
    height: 72px;
  }

  .header__menu {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    left: auto;
    padding: 9px 8px;
  }

  .header__menu span {
    left: 8px;
  }

  .header__logo {
    margin-right: auto;
  }

  .header__nav {
    top: 72px;
    height: calc(100vh - 72px);
    padding: 28px max(22px, calc((100% - 690px) / 2));
    justify-content: flex-start;
    gap: 6px;
    overflow-y: auto;
    border-top: 1px solid var(--site-line);
    background:
      radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.18), transparent 32%),
      rgba(11, 8, 20, 0.98) !important;
    backdrop-filter: blur(20px);
  }

  .header__nav-item {
    width: 100%;
    margin: 0;
  }

  .header__nav-link,
  .header__user {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    border-radius: 14px;
    font-size: 14px;
  }

  .header__actions {
    display: flex;
    width: 100% !important;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 12px;
    padding: 18px 0 0;
    border-top: 1px solid var(--site-line);
    position: relative;
  }

  .header__nav-menu {
    position: relative !important;
    top: auto;
    width: 100%;
    margin: 5px 0 6px;
    transform: none;
  }

  .header__nav-menu:not(.show) {
    display: none;
  }

  .header__nav-menu.show {
    display: block;
  }

  .header__language-menu,
  .header__account-menu {
    right: auto;
    left: 0;
  }

  .header__account-toggle {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .header__content {
    padding: 0 12px;
  }

  .header__logo img {
    height: 50px;
    max-width: 132px;
  }

  .header__logo {
    height: 52px;
  }

  .header__actions .header__user {
    justify-content: space-between;
  }
}

/* Keep the mobile drawer inside the viewport. These rules intentionally come
   after the premium navigation styles so the drawer cannot inherit desktop
   flex sizing or overflow from the theme layer. */
@media (max-width: 1199px) {
  .header,
  .header .container,
  .header .row,
  .header .col-12,
  .header__content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .header__nav.header__nav--active,
  .header__nav {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    box-sizing: border-box;
    align-items: stretch;
  }

  .header__nav-item,
  .header__actions,
  .header__dropdown,
  .header__actions > .header__user {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .header__actions {
    align-self: stretch;
    flex: 0 1 auto;
  }

  .header__actions .header__user {
    box-sizing: border-box;
    overflow: hidden;
  }

  .header__user span,
  .header__account-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.kk-page .home {
  margin-top: 8px;
}

.kk-page::before,
.kk-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
  animation: kk-orb 18s ease-in-out infinite;
}

.kk-page::before {
  width: 420px;
  height: 420px;
  top: 40px;
  left: -140px;
  background: rgba(168, 85, 247, 0.18);
}

.kk-page::after {
  width: 360px;
  height: 360px;
  top: 280px;
  right: -120px;
  background: rgba(124, 58, 237, 0.16);
  animation-delay: -7s;
}

@keyframes kk-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -18px, 0) scale(1.08); }
}

.kk-wrap {
  position: relative;
  z-index: 1;
  padding: 24px 0 10px;
}

.kk-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 22px;
  margin-bottom: 28px;
}

.kk-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%),
    var(--site-surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.45s var(--kk-ease), border-color 0.35s ease, box-shadow 0.45s var(--kk-ease);
}

.kk-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: var(--kk-glow);
}

.kk-hero-main {
  min-height: 320px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.kk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--site-accent-soft);
  color: var(--site-accent-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kk-kicker i {
  animation: kk-pulse 1.8s ease-in-out infinite;
}

@keyframes kk-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.kk-hero h1 {
  margin: 0 0 12px;
  font-family: Montserrat, Poppins, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
}

.kk-hero h1 span {
  background: linear-gradient(90deg, #e9d5ff, #a855f7 45%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kk-hero p {
  margin: 0 0 22px;
  max-width: 46ch;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.6;
}

.kk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 650;
  text-decoration: none !important;
  transition: transform 0.3s var(--kk-ease), box-shadow 0.3s ease, background 0.3s ease;
}

.kk-btn--primary {
  background: linear-gradient(135deg, #c084fc, #7c3aed);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.32);
}

.kk-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--site-line);
  color: var(--site-text) !important;
}

.kk-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.kk-hero-art {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 210px;
  isolation: isolate;
}

.kk-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.7s var(--kk-ease);
}

.kk-hero-art:hover img {
  transform: scale(1.1);
}

.kk-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 8, 20, 0.82));
}

.kk-hero-art span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.kk-countdown {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.kk-countdown h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #fff;
}

.kk-countdown .kk-meta {
  color: var(--site-muted);
  font-size: 13px;
}

.kk-clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.kk-clock div {
  padding: 14px 6px;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.14);
  text-align: center;
}

.kk-clock strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  animation: kk-tick 1s ease-in-out infinite;
}

@keyframes kk-tick {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.kk-clock small {
  color: var(--site-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.kk-stat {
  padding: 20px 18px;
  animation: kk-rise 0.7s var(--kk-ease) both;
}

.kk-stat:nth-child(2) { animation-delay: 0.08s; }
.kk-stat:nth-child(3) { animation-delay: 0.16s; }

@keyframes kk-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.kk-stat i {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.24), rgba(124, 58, 237, 0.2));
  color: #e9d5ff;
}

.kk-stat b {
  display: block;
  font-size: 28px;
  color: #fff;
  font-weight: 800;
}

.kk-stat span {
  color: var(--site-muted);
  font-size: 13px;
}

.kk-section {
  margin-bottom: 34px;
}

.kk-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.kk-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.kk-head p {
  margin: 4px 0 0;
  color: var(--site-muted);
  font-size: 13px;
}

.kk-cal {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
}

.kk-calendar-panel,
.kk-timeline-panel {
  overflow: hidden;
}

.kk-calendar-toolbar,
.kk-timeline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--site-line);
}

.kk-calendar-toolbar strong,
.kk-timeline-heading strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 17px;
}

.kk-calendar-eyebrow {
  display: block;
  color: #c084fc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kk-calendar-eyebrow i {
  margin-right: 5px;
}

.kk-today-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(192, 132, 252, .26);
  border-radius: 9px;
  background: rgba(168, 85, 247, .1);
  color: #e9d5ff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.kk-today-button:hover {
  border-color: rgba(216, 180, 254, .55);
  background: rgba(168, 85, 247, .2);
  transform: translateY(-1px);
}

.kk-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  padding: 18px 20px 14px;
}

.kk-day {
  appearance: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  position: relative;
  border-radius: 12px;
  padding: 9px 5px;
  min-height: 72px;
  cursor: pointer;
  transition: transform 0.25s var(--kk-ease), background 0.25s ease, border-color 0.25s ease, box-shadow .25s ease;
}

.kk-day:hover,
.kk-day.is-active {
  transform: translateY(-3px);
  background: rgba(168, 85, 247, 0.16);
  border-color: rgba(192, 132, 252, 0.45);
}

.kk-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.5), 0 0 16px rgba(168, 85, 247, .08);
}

.kk-day em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--site-muted);
  text-transform: uppercase;
}

.kk-day strong {
  display: block;
  margin: 4px 0;
  font-size: 18px;
  color: #fff;
}

.kk-day small {
  display: block;
  color: #d8b4fe;
  font-size: 10px;
  font-weight: 800;
}

.kk-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 8px #a855f7;
}

.kk-timeline {
  padding: 8px 20px 18px;
  max-height: 410px;
  overflow: auto;
}

.kk-timeline-heading {
  padding-bottom: 14px;
}

.kk-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--site-muted);
  font-size: 10px;
  white-space: nowrap;
}

.kk-live-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

.kk-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--site-line);
  text-decoration: none !important;
  color: inherit;
  animation: kk-rise 0.5s var(--kk-ease) both;
}

.kk-item:last-child { border-bottom: 0; }

.kk-item img {
  width: 72px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}

.kk-item[hidden] {
  display: none;
}

.kk-item h4 {
  margin: 0 0 3px;
  font-size: 13px;
  color: #fff;
}

.kk-item p {
  margin: 4px 0 0;
  color: var(--site-muted);
  font-size: 11px;
  line-height: 1.45;
}

.kk-item--manual {
  border-color: rgba(216, 180, 254, .28);
  background: linear-gradient(135deg, rgba(168, 85, 247, .1), rgba(255, 255, 255, .035));
}

.kk-item small {
  color: var(--site-muted);
}

.kk-badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: var(--site-accent-soft);
  color: #e9d5ff;
  white-space: nowrap;
}

.kk-badge.is-soon {
  background: rgba(234, 179, 8, 0.16);
  color: #fde68a;
}

.kk-seasons {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.kk-season {
  flex: 0 0 160px;
  scroll-snap-align: start;
  padding: 16px;
  text-decoration: none !important;
  color: inherit;
}

.kk-season b {
  display: block;
  color: #fff;
  font-size: 16px;
}

.kk-season span {
  color: var(--site-muted);
  font-size: 12px;
}

.kk-empty {
  padding: 28px 18px;
  text-align: center;
  color: var(--site-muted);
}

.kk-calendar-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--site-muted);
  text-align: center;
}

.kk-calendar-empty[hidden] {
  display: none;
}

.kk-calendar-empty i {
  margin-bottom: 3px;
  color: #c084fc;
  font-size: 26px;
}

.kk-calendar-empty strong {
  color: #fff;
  font-size: 13px;
}

.kk-calendar-empty span {
  font-size: 11px;
}

.kk-calendar-legend {
  display: flex;
  gap: 16px;
  padding: 0 20px 17px;
  color: var(--site-muted);
  font-size: 10px;
}

.kk-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kk-legend-dot,
.kk-legend-today {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.kk-legend-dot { background: #c084fc; box-shadow: 0 0 8px #a855f7; }
.kk-legend-today { border: 1px solid #c084fc; }

.card,
.home__card {
  animation: kk-rise 0.55s var(--kk-ease) both;
}

.row--grid .card:nth-child(2),
.row--grid > [data-aos]:nth-child(2) { animation-delay: 0.06s; }
.row--grid .card:nth-child(3),
.row--grid > [data-aos]:nth-child(3) { animation-delay: 0.12s; }

@media (max-width: 991px) {
  .kk-hero,
  .kk-hero-main,
  .kk-cal,
  .kk-stats {
    grid-template-columns: 1fr;
  }
  .kk-hero-art { min-height: 200px; }
  .kk-countdown { min-height: auto; }
}

@media (max-width: 640px) {
  .kk-days { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-inline: 12px; }
  .kk-calendar-toolbar,
  .kk-timeline-heading { padding-inline: 14px; }
  .kk-calendar-legend { padding-inline: 14px; }
  .kk-day { min-height: 66px; }
  .kk-day em { font-size: 9px; }
  .kk-day strong { font-size: 16px; }
  .kk-timeline { padding-inline: 14px; }
  .kk-item { grid-template-columns: 58px 1fr; }
  .kk-item img { width: 58px; height: 42px; }
  .kk-item .kk-badge { grid-column: 2; justify-self: start; margin-top: 4px; }
  .kk-clock { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .kk-page::before,
  .kk-page::after,
  .kk-kicker i,
  .kk-clock strong,
  .kk-stat,
  .card,
  .home__card {
    animation: none !important;
  }
}
