:root {
  color-scheme: dark;
  --lo-bg: #050814;
  --lo-bg-2: #070b18;
  --lo-surface: #101827;
  --lo-surface-2: #151f31;
  --lo-surface-3: #1a2639;
  --lo-line: rgba(149, 164, 191, 0.18);
  --lo-line-strong: rgba(149, 164, 191, 0.28);
  --lo-text: #f6f8fc;
  --lo-muted: #9aa7bc;
  --lo-soft: #c9d2e3;
  --lo-blue: #0b74d1;
  --lo-blue-2: #1494f4;
  --lo-green: #20d982;
  --lo-red: #f45d6c;
  --lo-amber: #f7b84b;
  --lo-discord: #5865f2;
  --lo-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

:root {
  --lo-topbar-h: 52px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(15, 25, 45, 0.58), rgba(5, 8, 20, 0) 360px),
    var(--lo-bg);
  color: var(--lo-text);
  font-family: "Sora", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.lo-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
}

.lo-container {
  width: min(1204px, calc(100vw - 48px));
  margin: 0 auto;
}

.lo-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(9, 14, 28, 0.88);
  border-bottom: 1px solid var(--lo-line);
  backdrop-filter: blur(18px);
  overflow-x: hidden;
}

.lo-theme-handle {
  position: fixed;
  right: 0;
  top: 30vh;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #172033;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.lo-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lo-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-weight: 900;
  color: var(--lo-text);
}

.lo-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(11, 116, 209, 0.28));
}

.lo-brand span {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
}

.lo-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.lo-nav-link,
.lo-icon-btn,
.lo-user-btn,
.lo-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lo-nav-link {
  padding: 0 14px;
  color: var(--lo-soft);
  font-size: 13px;
  font-weight: 700;
}

.lo-nav-link svg {
  width: 16px;
  height: 16px;
  color: #b7c3d8;
}

.lo-nav-link:hover,
.lo-nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--lo-line);
}

.lo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.lo-user {
  position: relative;
}

.lo-user-btn {
  padding: 6px 10px 6px 7px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.lo-user-btn:hover,
.lo-user:focus-within .lo-user-btn {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--lo-line);
}

.lo-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  background: #0c1322;
  border: 1px solid var(--lo-line-strong);
}

.lo-user-meta {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1.05;
}

.lo-user-meta b {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.lo-user-meta span {
  color: var(--lo-muted);
  font-size: 10px;
  font-weight: 700;
}

.lo-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 260px;
  padding: 8px;
  display: none;
  background: rgba(12, 18, 33, 0.98);
  border: 1px solid var(--lo-line);
  border-radius: 8px;
  box-shadow: var(--lo-shadow);
}

.lo-user:hover .lo-dropdown,
.lo-user:focus-within .lo-dropdown {
  display: block;
}

.lo-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -13px;
  height: 13px;
}

.lo-dropdown-head {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lo-dropdown-head span {
  display: block;
  color: var(--lo-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.lo-dropdown-head strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
}

.lo-dropdown a {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  margin-top: 6px;
  border-radius: 8px;
  color: var(--lo-soft);
  font-size: 13px;
  font-weight: 750;
}

.lo-dropdown a:hover {
  color: #fff;
  background: rgba(20, 148, 244, 0.12);
}

body:not([data-logged-in="1"]) [data-auth-logged-in],
body[data-logged-in="1"] [data-auth-logged-out] {
  display: none !important;
}

.lo-btn {
  padding: 0 17px;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--lo-line);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  font-size: 13px;
}

.lo-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 148, 244, 0.45);
  background: rgba(20, 148, 244, 0.12);
}

.lo-btn-primary {
  background: #0b74d1;
  border-color: rgba(20, 148, 244, 0.45);
  box-shadow: 0 14px 34px rgba(11, 116, 209, 0.24);
}

.lo-btn-primary:hover {
  background: #1189ea;
}

.lo-btn-ghost {
  background: transparent;
}

.lo-btn-danger {
  background: rgba(244, 93, 108, 0.13);
  border-color: rgba(244, 93, 108, 0.28);
  color: #ffd6dc;
}

.lo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--lo-line);
  color: var(--lo-soft);
  font-size: 11px;
  font-weight: 850;
}

.lo-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lo-green);
  box-shadow: 0 0 12px rgba(32, 217, 130, 0.8);
}

.lo-main {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

.lo-hero {
  min-height: 640px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 13, 26, 0.34), rgba(5, 8, 20, 0.98)),
    linear-gradient(115deg, rgba(25, 49, 78, 0.72), rgba(6, 10, 24, 0.2) 48%, rgba(6, 10, 24, 0.9)),
    #101827;
  border-bottom: 1px solid var(--lo-line);
}

.lo-home-hero {
  min-height: calc(100vh - var(--lo-topbar-h));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 17, 31, 0.18), rgba(5, 8, 20, 0.98)),
    radial-gradient(circle at 76% 22%, rgba(56, 111, 97, 0.36), transparent 30%),
    radial-gradient(circle at 14% 42%, rgba(58, 85, 121, 0.32), transparent 36%),
    linear-gradient(135deg, #152235 0%, #0b1325 46%, #06101d 100%);
  border-bottom: 1px solid var(--lo-line);
}

.lo-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.78), rgba(5, 8, 20, 0.2), rgba(5, 8, 20, 0.86)),
    radial-gradient(circle at 52% 48%, rgba(255, 255, 255, 0.08), transparent 19%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 36px);
  opacity: 0.9;
}

.lo-home-hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 8vw, 120px);
  bottom: 74px;
  width: min(260px, 36vw);
  height: min(260px, 36vw);
  background: url("/assets/krylex-logo.png") center / contain no-repeat;
  opacity: 0.18;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.42));
}

.lo-home-hero-inner {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100vw - 48px));
  text-align: center;
  padding: 82px 0 64px;
}

.lo-home-logo {
  width: min(220px, 46vw);
  margin: 0 auto 26px;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.42));
}

.lo-home-hero h1 {
  margin: 0 0 16px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.04;
}

.lo-home-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: #d2dbea;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.8;
}

.lo-server-copy {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  background: #f8fbff;
  color: #07101d;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.lo-home-stats {
  width: min(700px, 100%);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--lo-line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(16, 24, 39, 0.78);
  box-shadow: var(--lo-shadow);
}

.lo-home-stat {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 4px;
  border-right: 1px solid var(--lo-line);
}

.lo-home-stat:last-child {
  border-right: 0;
}

.lo-home-stat b {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 26px;
}

.lo-home-stat span {
  color: var(--lo-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lo-feature-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  min-height: 330px;
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  position: relative;
}

.lo-feature-panel::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: -24px;
  width: min(240px, 32vw);
  height: min(240px, 32vw);
  background: url("/assets/krylex-logo.png") center / contain no-repeat;
  opacity: 0.16;
}

.lo-feature-panel > * {
  position: relative;
  z-index: 2;
}

.lo-feature-panel h2 {
  margin: 10px 0 14px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.lo-feature-panel h2 span {
  color: var(--lo-blue-2);
}

.lo-feature-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.lo-home-categories {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
}

.lo-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lo-category-card {
  min-height: 84px;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  overflow: hidden;
}

.lo-category-art {
  width: 100%;
  height: 100%;
  min-height: 84px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(20, 148, 244, 0.18), rgba(255, 255, 255, 0.03));
}

.lo-category-art img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.lo-category-body {
  padding: 14px 18px;
}

.lo-category-body small {
  color: var(--lo-blue-2);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lo-category-body h3 {
  margin: 6px 0 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
}

.lo-category-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-right: 16px;
  border-radius: 10px;
  background: rgba(20, 148, 244, 0.14);
  color: #fff;
}

.lo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.72), rgba(5, 8, 20, 0.18) 42%, rgba(5, 8, 20, 0.82)),
    url("/assets/krylex-logo.png") center 42% / min(310px, 46vw) no-repeat;
  opacity: 0.26;
}

.lo-hero-inner {
  position: relative;
  width: min(980px, calc(100vw - 48px));
  text-align: center;
  padding: 90px 0 70px;
}

.lo-hero-logo {
  width: min(230px, 52vw);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.4));
}

.lo-kicker {
  color: #89c8ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.lo-hero h1,
.lo-section-title,
.lo-page-hero h1,
.lo-card h1,
.lo-card h2,
.lo-card h3 {
  font-family: "Montserrat", Arial, sans-serif;
}

.lo-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
}

.lo-hero h1 span,
.lo-accent {
  color: #42a9ff;
}

.lo-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #d5deeb;
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.75;
}

.lo-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.lo-ip-button {
  min-width: 230px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #f9fbff;
  color: #07101d;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.lo-stat-strip {
  width: min(760px, 100%);
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(13, 22, 37, 0.86);
  border: 1px solid var(--lo-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--lo-shadow);
}

.lo-stat {
  min-height: 86px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 14px;
  border-right: 1px solid var(--lo-line);
}

.lo-stat:last-child {
  border-right: 0;
}

.lo-stat b {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 31px);
}

.lo-stat span {
  color: var(--lo-muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.lo-section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(149, 164, 191, 0.1);
}

.lo-section-tight {
  padding: 42px 0 72px;
}

.lo-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.lo-section-title {
  margin: 8px 0 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
}

.lo-section-copy {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--lo-muted);
  line-height: 1.7;
}

.lo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lo-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.lo-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.lo-card,
.lo-panel {
  background: rgba(16, 24, 39, 0.88);
  border: 1px solid var(--lo-line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.lo-card {
  padding: 24px;
}

.lo-card-muted {
  background: rgba(13, 20, 34, 0.78);
}

.lo-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.lo-card p,
.lo-muted {
  color: var(--lo-muted);
  line-height: 1.65;
}

.lo-card-media {
  min-height: 140px;
  display: grid;
  place-items: center;
  margin: -24px -24px 18px;
  background:
    linear-gradient(140deg, rgba(20, 148, 244, 0.18), rgba(32, 217, 130, 0.08)),
    rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--lo-line);
}

.lo-card-media img {
  width: 106px;
  height: 106px;
  object-fit: contain;
}

.lo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(20, 148, 244, 0.12);
  border: 1px solid rgba(20, 148, 244, 0.28);
  color: #7cc7ff;
}

.lo-page-hero {
  min-height: 202px;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 24, 43, 0.82), rgba(9, 14, 28, 0.94)),
    url("/assets/krylex-logo.png") center / 210px no-repeat;
  border-bottom: 1px solid var(--lo-line);
}

.lo-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, 0.72);
}

.lo-page-hero > div {
  position: relative;
}

.lo-page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.lo-breadcrumb {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  color: var(--lo-muted);
  font-size: 12px;
}

.lo-breadcrumb b {
  color: #fff;
}

.lo-breadcrumb a:hover {
  color: #fff;
}

.lo-store-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px;
  margin: 32px 0;
}

.lo-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lo-profile-row .lo-avatar {
  width: 56px;
  height: 56px;
}

.lo-balance {
  text-align: right;
}

.lo-balance span {
  display: block;
  color: var(--lo-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.lo-balance strong {
  display: block;
  margin-top: 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 28px;
}

.lo-store-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
}

.lo-sidebar {
  align-self: start;
  position: sticky;
  top: 94px;
}

.lo-menu-list {
  display: grid;
  gap: 7px;
}

.lo-menu-list a,
.lo-menu-list button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--lo-soft);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.lo-menu-list a:hover,
.lo-menu-list button:hover,
.lo-menu-list .is-active {
  background: rgba(20, 148, 244, 0.13);
  color: #fff;
}

.lo-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lo-product {
  overflow: hidden;
  display: grid;
  min-height: 100%;
}

.lo-product-head {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background:
    linear-gradient(120deg, rgba(20, 148, 244, 0.18), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--lo-line);
}

.lo-product-head img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.lo-product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lo-product h3 {
  margin: 0;
  font-size: 22px;
}

.lo-price {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.lo-price small {
  color: var(--lo-muted);
  font-size: 13px;
}

.lo-checks {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--lo-soft);
  font-size: 13px;
}

.lo-checks li {
  display: flex;
  gap: 9px;
}

.lo-checks li::before {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--lo-green);
  box-shadow: 0 0 10px rgba(32, 217, 130, 0.6);
}

.lo-alert {
  padding: 14px 16px;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid var(--lo-line);
  color: var(--lo-soft);
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.55;
}

.lo-alert.ok {
  color: #c9ffe4;
  background: rgba(32, 217, 130, 0.09);
  border-color: rgba(32, 217, 130, 0.24);
}

.lo-alert.err {
  color: #ffd3d8;
  background: rgba(244, 93, 108, 0.1);
  border-color: rgba(244, 93, 108, 0.26);
}

.lo-auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 36px 16px;
}

.lo-form {
  display: grid;
  gap: 14px;
}

.lo-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.lo-label,
label {
  color: var(--lo-soft);
  font-size: 12px;
  font-weight: 850;
}

.lo-input,
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid var(--lo-line);
  background: rgba(6, 10, 20, 0.72);
  color: #fff;
  outline: 0;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

.lo-input:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(20, 148, 244, 0.7);
  box-shadow: 0 0 0 3px rgba(20, 148, 244, 0.13);
}

.lo-empty {
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}

.lo-empty-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--lo-line);
  color: var(--lo-muted);
}

.lo-empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lo-empty p {
  max-width: 470px;
  margin: 0 auto 18px;
  color: var(--lo-muted);
  line-height: 1.65;
}

.lo-table-wrap {
  overflow-x: auto;
}

.lo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.lo-table th,
.lo-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(149, 164, 191, 0.12);
}

.lo-table th {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  text-transform: uppercase;
}

.lo-table td {
  color: var(--lo-soft);
}

.lo-profile-hero {
  padding: 58px 0 0;
  background:
    linear-gradient(180deg, rgba(13, 24, 43, 0.72), rgba(7, 11, 24, 0.92)),
    url("/assets/krylex-logo.png") right 14% top 36px / 170px no-repeat;
  border-bottom: 1px solid var(--lo-line);
}

.lo-profile-head {
  display: flex;
  align-items: end;
  gap: 18px;
}

.lo-profile-head .lo-avatar {
  width: 98px;
  height: 98px;
  border-radius: 8px;
}

.lo-profile-name {
  padding-bottom: 13px;
}

.lo-profile-name h1 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 34px;
}

.lo-tabs {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  padding: 6px;
  background: rgba(21, 31, 49, 0.88);
  border: 1px solid var(--lo-line);
  border-radius: 8px;
  overflow-x: auto;
}

.lo-tabs a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--lo-soft);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.lo-tabs a:hover,
.lo-tabs a.is-active {
  color: #fff;
  background: var(--lo-blue);
}

.lo-dashboard-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
}

.lo-dashboard-main {
  display: grid;
  gap: 22px;
}

.lo-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.lo-card-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid var(--lo-line);
}

.lo-card-head h2,
.lo-card-head h3 {
  margin: 0;
  font-size: 17px;
}

.lo-card-body {
  padding: 20px;
}

.lo-settings-layout {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 22px;
}

.lo-footer {
  position: relative;
  z-index: 1;
  padding: 56px 0 34px;
  background: #050814;
  border-top: 1px solid var(--lo-line);
}

.lo-footer-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1fr;
  gap: 48px;
}

.lo-footer h4 {
  margin: 0 0 16px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
}

.lo-footer p,
.lo-footer a,
.lo-footer li {
  color: var(--lo-muted);
  font-size: 13px;
  line-height: 1.8;
}

.lo-footer a:hover {
  color: #fff;
}

.lo-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lo-footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(149, 164, 191, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--lo-muted);
  font-size: 12px;
}

.lo-toolbar {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lo-line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.lo-toolbar button {
  width: 30px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--lo-soft);
  cursor: default;
  font-weight: 900;
}

.lo-editor {
  border-radius: 0 0 8px 8px;
}

.lo-support-layout {
  display: grid;
  grid-template-columns: 1fr 384px;
  gap: 26px;
}

.lo-info-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.lo-info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lo-soft);
  font-size: 13px;
}

.lo-info-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lo-green);
}

@media (max-width: 980px) {
  .lo-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .lo-header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .lo-store-layout,
  .lo-dashboard-grid,
  .lo-settings-layout,
  .lo-support-layout {
    grid-template-columns: 1fr;
  }

  .lo-sidebar {
    position: static;
  }

  .lo-grid,
  .lo-grid-2,
  .lo-grid-4,
  .lo-products,
  .lo-home-categories,
  .lo-category-grid,
  .lo-mini-grid,
  .lo-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lo-container,
  .lo-hero-inner {
    width: calc(100vw - 28px);
    max-width: 1204px;
  }

  .lo-header-inner,
  .lo-nav {
    min-width: 0;
    max-width: 100%;
  }

  .lo-nav {
    width: 100%;
  }

  .lo-nav-link {
    flex: 0 0 auto;
  }

  .lo-header .lo-actions {
    display: none;
  }

  .lo-user-meta,
  .lo-actions .lo-btn-ghost {
    display: none;
  }

  .lo-hero {
    min-height: 760px;
  }

  .lo-home-hero {
    min-height: 720px;
  }

  .lo-home-stats {
    grid-template-columns: 1fr;
  }

  .lo-home-stat {
    border-right: 0;
    border-bottom: 1px solid var(--lo-line);
  }

  .lo-home-stat:last-child {
    border-bottom: 0;
  }

  .lo-feature-panel {
    grid-template-columns: 1fr;
  }

  .lo-category-card {
    grid-template-columns: 96px 1fr auto;
  }

  .lo-hero h1 {
    font-size: 34px;
    line-height: 1.08;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .lo-hero h1 span {
    display: block;
  }

  .lo-hero p {
    font-size: 14px;
    max-width: 280px;
    overflow-wrap: break-word;
  }

  .lo-hero-actions {
    flex-direction: column;
  }

  .lo-ip-button,
  .lo-hero-actions .lo-btn {
    width: min(100%, 280px);
  }

  .lo-stat-strip {
    grid-template-columns: 1fr;
  }

  .lo-stat {
    border-right: 0;
    border-bottom: 1px solid var(--lo-line);
  }

  .lo-stat:last-child {
    border-bottom: 0;
  }

  .lo-section-head,
  .lo-store-welcome,
  .lo-profile-head,
  .lo-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .lo-form-row {
    grid-template-columns: 1fr;
  }
}

/* KrylexMC LeaderOS-style refit */
.lo-header {
  background: rgba(14, 22, 38, 0.94);
}

.lo-header-inner {
  min-height: 52px;
}

.lo-brand img {
  width: 30px;
  height: 30px;
}

.lo-brand span {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.lo-nav {
  justify-content: flex-start;
}

.lo-nav-link,
.lo-user-btn,
.lo-btn {
  border-radius: 8px;
}

.lo-nav-link {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.lo-user-btn {
  min-height: 38px;
}

.lo-page-hero {
  min-height: 188px;
  background:
    linear-gradient(180deg, rgba(20, 34, 56, 0.84), rgba(10, 15, 28, 0.95)),
    radial-gradient(circle at 18% 38%, rgba(73, 130, 184, 0.23), transparent 34%),
    radial-gradient(circle at 84% 22%, rgba(40, 89, 126, 0.24), transparent 32%),
    #101827;
}

.lo-page-hero::after,
.lo-profile-hero::after,
.lo-hero::after {
  content: "";
  position: absolute;
  right: max(6vw, 48px);
  bottom: -28px;
  width: 260px;
  height: 130px;
  pointer-events: none;
  background: url("/assets/krylex-logo.png") center / contain no-repeat;
  opacity: 0.08;
  filter: blur(0.2px);
}

.lo-profile-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 0;
  background:
    linear-gradient(180deg, rgba(17, 29, 49, 0.78), rgba(8, 12, 25, 0.94)),
    radial-gradient(circle at 88% 18%, rgba(19, 118, 209, 0.16), transparent 32%),
    #07101f;
}

.lo-panel,
.lo-card {
  border-radius: 14px;
  background: rgba(18, 28, 45, 0.94);
}

.lo-card-head {
  min-height: 64px;
}

.lo-store-welcome {
  border-radius: 14px;
  padding: 24px;
}

.lo-products {
  gap: 18px;
}

.lo-product {
  border-radius: 14px;
  overflow: hidden;
}

.lo-product-head {
  min-height: 104px;
}

.lo-product-head img {
  width: 72px;
  height: 72px;
}

.lo-footer {
  padding-top: 64px;
}

.lo-footer .lo-brand img {
  width: 34px;
  height: 34px;
}

.lo-backline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lo-muted);
  font-weight: 850;
  font-size: 13px;
  margin-bottom: 18px;
}

.lo-backline:hover {
  color: #fff;
}

.lo-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.lo-title-line::before {
  content: "";
  width: 5px;
  height: 30px;
  border-radius: 999px;
  background: var(--lo-blue);
  box-shadow: 0 0 18px rgba(20, 148, 244, 0.45);
}

.lo-title-line h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 26px;
}

.lo-title-line p {
  margin: 3px 0 0;
  color: var(--lo-muted);
  font-size: 13px;
}

.lo-credit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 368px;
  gap: 24px;
}

.lo-credit-panel {
  padding: 24px;
}

.lo-credit-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--lo-line);
  border-radius: 12px;
  background: rgba(6, 10, 20, 0.44);
}

.lo-credit-current span {
  display: block;
  color: var(--lo-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.lo-credit-current strong {
  display: block;
  margin-top: 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 28px;
}

.lo-credit-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 18px;
}

.lo-credit-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.lo-credit-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lo-credit-option span {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--lo-line);
  background: rgba(6, 10, 20, 0.66);
  color: #d8e4f7;
  font-size: 13px;
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.lo-credit-option:hover span,
.lo-credit-option input:checked + span {
  color: #fff;
  border-color: rgba(20, 148, 244, 0.72);
  background: rgba(11, 116, 209, 0.24);
}

.lo-credit-option input:checked + span {
  box-shadow: 0 0 0 3px rgba(20, 148, 244, 0.12);
}

.lo-payment-status {
  display: none;
  margin-top: 16px;
}

.lo-payment-status strong {
  display: block;
  margin-bottom: 4px;
}

.lo-history-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.lo-history-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(6, 10, 20, 0.42);
  border: 1px solid rgba(149, 164, 191, 0.09);
}

.lo-history-item .lo-icon {
  width: 36px;
  height: 36px;
}

.lo-history-item b {
  font-size: 13px;
}

.lo-history-item small {
  display: block;
  margin-top: 3px;
  color: var(--lo-muted);
  font-size: 11px;
}

.lo-history-item em {
  color: var(--lo-green);
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}

@media (max-width: 980px) {
  .lo-credit-layout {
    grid-template-columns: 1fr;
  }

  .lo-credit-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lo-brand span {
    display: none;
  }

  .lo-credit-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lo-credit-current {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* KrylexMC Lester-style refit from the provided ah.zip reference */
body.ah-body,
.ah-body {
  --lo-bg: #020302;
  --lo-bg-2: #060807;
  --lo-surface: #101412;
  --lo-surface-2: #151b18;
  --lo-surface-3: #1a221e;
  --lo-blue: #11c98b;
  --lo-blue-2: #4ee6bd;
  --lo-green: #11d99a;
  --lo-line: rgba(255, 255, 255, 0.11);
  --lo-line-strong: rgba(255, 255, 255, 0.18);
  --lo-muted: #a8aaa9;
  --lo-soft: #dddddd;
  background: #020302;
  font-family: "Poppins", "Sora", Arial, sans-serif;
}

body.ah-body::before {
  display: none;
}

.ah-announcement {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 7, 6, 0.94);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.ah-announcement .lo-container {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.ah-announcement strong {
  color: #12d295;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ah-header.lo-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 8, 7, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.ah-header .lo-header-inner {
  min-height: 82px;
}

.ah-header .lo-brand img {
  width: 48px;
  height: 48px;
}

.ah-header .lo-brand span {
  font-size: 18px;
  color: #22a9ff;
}

.ah-header .lo-nav {
  justify-content: flex-start;
  padding-left: 18px;
}

.ah-header .lo-nav-link {
  min-height: 48px;
  border-radius: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
}

.ah-header .lo-nav-link:hover,
.ah-header .lo-nav-link.is-active {
  border-color: #13d596;
  background: rgba(17, 201, 139, 0.08);
}

.ah-header .lo-btn {
  min-height: 46px;
  border-radius: 12px;
  padding-inline: 22px;
  font-weight: 900;
}

.ah-main {
  background: #020302;
}

.ah-hero {
  position: relative;
  min-height: calc(100vh - 128px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ah-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.72) 45%, #020302 100%),
    linear-gradient(0deg, rgba(10, 114, 78, 0.62), rgba(7, 24, 20, 0.3) 48%, rgba(0, 0, 0, 0.25)),
    url("/assets/krylex-logo.png") center 42% / 410px auto no-repeat,
    radial-gradient(circle at 18% 24%, rgba(37, 214, 149, 0.16), transparent 32%),
    #070908;
}

.ah-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(8, 129, 89, 0.42), #020302);
}

.ah-hero-inner {
  padding: 96px 0 154px;
  text-align: center;
}

.ah-hero-tag,
.ah-section-kicker {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(4, 6, 5, 0.72);
  color: #dffcf2;
  font-size: 13px;
  font-weight: 900;
}

.ah-hero h1 {
  max-width: 900px;
  margin: 28px auto 20px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  color: #fff;
}

.ah-hero p {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.ah-hero-stats {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin: 44px 0 34px;
}

.ah-hero-stats div {
  min-width: 120px;
}

.ah-hero-stats strong {
  display: block;
  color: #c6fff0;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.ah-hero-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 700;
}

.ah-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ah-hero-actions .lo-btn,
.ah-strip-btn,
.ah-strip-play {
  min-height: 58px;
  border-radius: 14px;
  padding: 0 30px;
  font-weight: 900;
  font-size: 16px;
}

.ah-store-strip {
  position: relative;
  z-index: 2;
  transform: translateY(-50%);
  min-height: 132px;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 28px;
  padding: 28px 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(17, 19, 18, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.ah-store-strip h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
}

.ah-store-strip p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
}

.ah-strip-btn,
.ah-strip-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ah-strip-btn {
  background: linear-gradient(135deg, #12d295, #0da775);
  color: #fff;
}

.ah-strip-play {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ah-about,
.ah-market-preview,
.ah-support {
  padding: 80px 0;
}

.ah-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
  margin-top: 30px;
}

.ah-about h2,
.ah-section-title h2 {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}

.ah-about p,
.ah-section-title p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
  font-size: 17px;
}

.ah-feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.ah-feature-list div {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.ah-feature-list b,
.ah-feature-list span {
  display: block;
}

.ah-feature-list b {
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}

.ah-feature-list span {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.ah-preview-card {
  min-height: 420px;
  display: grid;
  place-items: center;
  gap: 26px;
  padding: 42px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(23, 205, 143, 0.16), rgba(23, 205, 143, 0.02)),
    rgba(12, 15, 14, 0.94);
  text-align: center;
}

.ah-preview-card img {
  width: min(260px, 70%);
  filter: drop-shadow(0 24px 40px rgba(17, 201, 139, 0.22));
}

.ah-preview-card span,
.ah-preview-card strong {
  display: block;
}

.ah-preview-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ah-preview-card strong {
  margin-top: 6px;
  color: #fff;
  font-size: 22px;
}

.ah-section-title {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.ah-section-title .ah-section-kicker {
  margin-bottom: 22px;
}

.ah-market-grid,
.ah-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ah-market-card,
.ah-category-tile {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(17, 201, 139, 0.18), rgba(255, 255, 255, 0.02)),
    rgba(14, 17, 16, 0.96);
  color: #fff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ah-market-card:hover,
.ah-category-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 201, 139, 0.44);
  background:
    linear-gradient(135deg, rgba(17, 201, 139, 0.28), rgba(255, 255, 255, 0.035)),
    rgba(14, 17, 16, 0.96);
}

.ah-market-card small,
.ah-category-tile small {
  color: #13d596;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ah-market-card h3,
.ah-category-tile h3 {
  margin: 8px 0 10px;
  font-size: 30px;
  font-weight: 900;
}

.ah-market-card p,
.ah-category-tile p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

.ah-market-card span,
.ah-category-tile span {
  color: #dffff5;
  font-weight: 900;
}

.ah-support {
  text-align: center;
}

.ah-footer.lo-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #020302;
}

.ah-store-welcome h2 {
  margin: 4px 0 3px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 900;
}

.ah-shop-layout {
  align-items: start;
}

.ah-sidebar-title {
  padding: 16px 16px 10px;
  color: var(--lo-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ah-sidebar-help {
  margin: 10px;
  padding: 16px;
}

.ah-sidebar-help h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.ah-sidebar-help p {
  margin: 0 0 14px;
  color: var(--lo-muted);
}

.ah-shop-content {
  min-width: 0;
}

.ah-category-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 16px;
  color: #13d596;
  background: rgba(17, 201, 139, 0.11);
}

.ah-category-icon svg {
  width: 24px;
  height: 24px;
}

.ah-products-one {
  grid-template-columns: minmax(0, 560px);
}

.ah-products-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-product-card .lo-product-head {
  background:
    linear-gradient(135deg, rgba(17, 201, 139, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(19, 25, 22, 0.92);
}

.ah-product-card .lo-btn-primary,
.ah-body .lo-btn-primary {
  background: linear-gradient(135deg, #12d295, #0ca876);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ah-body .lo-btn-ghost {
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ah-body .lo-pill {
  border-color: rgba(17, 201, 139, 0.28);
  background: rgba(17, 201, 139, 0.1);
  color: #dffff5;
}

@media (max-width: 980px) {
  .ah-announcement .lo-container {
    justify-content: flex-start;
    gap: 14px;
  }

  .ah-store-strip,
  .ah-about-grid,
  .ah-shop-layout {
    grid-template-columns: 1fr;
  }

  .ah-store-strip {
    transform: translateY(-24px);
    text-align: center;
  }

  .ah-market-grid,
  .ah-category-grid,
  .ah-products-two {
    grid-template-columns: 1fr;
  }

  .ah-header .lo-nav {
    justify-content: center;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .ah-announcement {
    display: none;
  }

  .ah-header .lo-header-inner {
    min-height: auto;
    padding: 12px 0;
  }

  .ah-header .lo-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .ah-hero {
    min-height: auto;
  }

  .ah-hero-inner {
    padding: 78px 0 110px;
  }

  .ah-hero h1 {
    font-size: 46px;
  }

  .ah-hero p {
    font-size: 15px;
  }

  .ah-hero-stats {
    gap: 12px;
    flex-direction: column;
  }

  .ah-store-strip {
    width: min(100% - 24px, 1204px);
    padding: 22px;
  }

  .ah-about,
  .ah-market-preview,
  .ah-support {
    padding: 48px 0;
  }

  .ah-preview-card {
    min-height: 280px;
    padding: 26px;
  }
}

/* Apply the new ah.zip-inspired color system to every PHP page too */
body.lo-body {
  --lo-bg: #020302;
  --lo-bg-2: #060807;
  --lo-surface: #101412;
  --lo-surface-2: #151b18;
  --lo-surface-3: #1a221e;
  --lo-blue: #11c98b;
  --lo-blue-2: #4ee6bd;
  --lo-green: #11d99a;
  --lo-line: rgba(255, 255, 255, 0.11);
  --lo-line-strong: rgba(255, 255, 255, 0.18);
  --lo-muted: #a8aaa9;
  --lo-soft: #dddddd;
  background: #020302;
  font-family: "Poppins", "Sora", Arial, sans-serif;
}

body.lo-body .lo-header {
  background: rgba(7, 8, 7, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

body.lo-body .lo-nav-link:hover,
body.lo-body .lo-nav-link.is-active {
  border-color: rgba(17, 201, 139, 0.34);
  background: rgba(17, 201, 139, 0.09);
}

body.lo-body .lo-btn-primary {
  background: linear-gradient(135deg, #12d295, #0ca876);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.lo-body .lo-pill,
body.lo-body .lo-tabs a.is-active,
body.lo-body .lo-menu-list a.is-active {
  border-color: rgba(17, 201, 139, 0.28);
  background: rgba(17, 201, 139, 0.1);
  color: #dffff5;
}

body.lo-body .lo-page-hero {
  background:
    linear-gradient(180deg, rgba(5, 7, 6, 0.66), rgba(2, 3, 2, 0.92)),
    linear-gradient(0deg, rgba(10, 114, 78, 0.38), rgba(0, 0, 0, 0)),
    url("/assets/krylex-logo.png") center / 240px auto no-repeat,
    #070908;
}

body.lo-body .lo-panel,
body.lo-body .lo-card {
  background: rgba(16, 20, 18, 0.94);
  border-color: rgba(255, 255, 255, 0.11);
}

body.lo-body .lo-footer {
  background: #020302;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/* Final KrylexMC polish: fixed profile menu, cleaner typography, new logo/wallpaper */
.ah-announcement,
.lo-theme-handle {
  display: none !important;
}

html {
  background: #030608;
}

body.lo-body,
body.ah-body,
.ah-body {
  font-size: 14px;
  line-height: 1.55;
  background:
    linear-gradient(180deg, rgba(2, 4, 7, 0.9), rgba(2, 4, 7, 0.96)),
    url("/assets/krylex-wallpaper.jpg") center top / cover fixed no-repeat;
}

.lo-header,
.ah-header.lo-header {
  overflow: visible !important;
  z-index: 300;
}

.lo-header-inner {
  min-height: 66px;
}

.ah-header .lo-header-inner {
  min-height: 70px;
}

.lo-brand img,
.ah-header .lo-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
}

.lo-brand span,
.ah-header .lo-brand span {
  font-size: 15px;
  letter-spacing: 0;
}

.lo-nav-link,
.ah-header .lo-nav-link {
  min-height: 42px;
  padding-inline: 12px;
  font-size: 13px;
}

.lo-user {
  position: relative;
  z-index: 320;
}

.lo-user-btn {
  max-width: 200px;
  padding: 6px 10px 6px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.lo-user-meta b {
  max-width: 105px;
  font-size: 12px;
}

.lo-user-meta span {
  font-size: 9px;
}

.lo-dropdown {
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  width: 230px;
  max-width: calc(100vw - 24px);
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  z-index: 500;
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.98);
}

.lo-user:hover .lo-dropdown,
.lo-user:focus-within .lo-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lo-dropdown::before {
  top: -12px;
  height: 12px;
}

.lo-dropdown-head {
  padding: 10px 11px;
}

.lo-dropdown-head > span {
  font-size: 9px;
  letter-spacing: 0.03em;
}

.lo-dropdown-head strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
}

.lo-dropdown-head strong [data-credit] {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.lo-dropdown a {
  min-height: 34px;
  padding-inline: 10px;
  font-size: 12px;
}

.ah-hero {
  min-height: calc(100vh - 70px);
}

.ah-hero-bg {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.62) 52%, #020408 100%),
    radial-gradient(circle at 50% 35%, rgba(87, 183, 255, 0.15), transparent 34%),
    url("/assets/krylex-wallpaper.jpg") center / cover no-repeat !important;
}

.ah-hero::after {
  background: linear-gradient(180deg, transparent, rgba(3, 13, 25, 0.68), #020408);
}

.ah-hero-inner {
  padding: 74px 0 118px;
}

.ah-hero h1 {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
}

.ah-hero p {
  max-width: 660px;
  font-size: 15px;
  line-height: 1.65;
}

.ah-hero-stats {
  gap: 30px;
  margin: 32px 0 26px;
}

.ah-hero-stats strong {
  font-size: 28px;
}

.ah-hero-stats span {
  margin-top: 7px;
  font-size: 12px;
}

.ah-hero-actions .lo-btn,
.ah-strip-btn,
.ah-strip-play {
  min-height: 46px;
  padding-inline: 20px;
  border-radius: 10px;
  font-size: 13px;
}

.ah-store-strip {
  min-height: 104px;
  grid-template-columns: 140px 1fr 150px;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 16px;
}

.ah-store-strip h2 {
  font-size: 22px;
}

.ah-store-strip p {
  font-size: 13px;
  line-height: 1.55;
}

.ah-about,
.ah-market-preview,
.ah-support {
  padding: 58px 0;
}

.ah-about h2,
.ah-section-title h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.ah-about p,
.ah-section-title p {
  font-size: 14px;
  line-height: 1.65;
}

.ah-feature-list {
  gap: 12px;
}

.ah-feature-list div {
  padding: 16px 18px;
  border-radius: 12px;
}

.ah-feature-list b {
  font-size: 15px;
}

.ah-feature-list span {
  font-size: 13px;
}

.ah-preview-card {
  min-height: 330px;
  padding: 30px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(13, 20, 35, 0.78), rgba(7, 11, 20, 0.96)),
    rgba(9, 12, 20, 0.96) !important;
}

.ah-preview-card img {
  width: min(300px, 82%);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(137, 70, 255, 0.28));
}

.ah-preview-card span {
  font-size: 11px;
}

.ah-preview-card strong {
  font-size: 19px;
}

.ah-market-card,
.ah-category-tile {
  min-height: 176px;
  padding: 22px;
  border-radius: 16px;
}

.ah-market-card h3,
.ah-category-tile h3 {
  font-size: 22px;
}

.ah-market-card p,
.ah-category-tile p {
  font-size: 13px;
}

body.lo-body .lo-page-hero {
  min-height: 188px;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.64), rgba(2, 4, 8, 0.9)),
    url("/assets/krylex-wallpaper.jpg") center 42% / cover no-repeat !important;
}

.lo-page-hero h1 {
  font-size: clamp(24px, 3vw, 34px);
}

.lo-breadcrumb {
  font-size: 11px;
}

.lo-section {
  padding: 42px 0;
}

.lo-title-line {
  margin-bottom: 18px;
}

.lo-title-line h2 {
  font-size: 22px;
}

.lo-title-line p {
  font-size: 12px;
}

.lo-panel,
.lo-card {
  border-radius: 14px;
}

.lo-store-welcome.ah-store-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin: 24px 0 28px;
}

.lo-store-welcome .lo-profile-row .lo-avatar {
  width: 48px;
  height: 48px;
}

.lo-store-welcome h2 {
  font-size: 17px;
}

.lo-balance {
  min-width: 188px;
  padding: 10px 14px;
  border: 1px solid var(--lo-line);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.24);
  text-align: left;
}

.lo-balance > span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.03em;
}

.lo-balance strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 4px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.1;
  white-space: nowrap;
}

.lo-balance strong [data-credit] {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.lo-products {
  gap: 18px;
}

.lo-product-head {
  min-height: 126px;
}

.lo-product-head h3,
.lo-product h3 {
  font-size: 21px;
}

.lo-product-head img {
  max-width: 96px;
  max-height: 96px;
  object-fit: contain;
}

.lo-product-body {
  padding: 18px;
}

.lo-price {
  font-size: 24px;
}

.lo-credit-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.lo-credit-panel {
  padding: 18px;
}

.lo-credit-current {
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
}

.lo-credit-current > div > span,
.lo-label {
  font-size: 10px;
}

.lo-credit-current strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 3px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.15;
  white-space: nowrap;
}

.lo-credit-current strong [data-credit] {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.lo-credit-options {
  gap: 8px;
  margin: 8px 0 14px;
}

.lo-credit-option span {
  min-height: 38px;
  border-radius: 8px;
  font-size: 12px;
}

.lo-input {
  min-height: 42px;
  font-size: 12px;
}

@media (max-width: 980px) {
  .lo-store-welcome.ah-store-welcome,
  .ah-store-strip,
  .lo-credit-layout {
    grid-template-columns: 1fr;
  }

  .lo-balance {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .lo-container {
    width: min(100% - 24px, 1204px);
  }

  .ah-hero-inner {
    padding: 58px 0 92px;
  }

  .ah-hero h1 {
    font-size: 36px;
  }

  .ah-store-strip {
    transform: translateY(-18px);
  }

  .lo-user-btn {
    max-width: 166px;
  }

  .lo-credit-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Homepage final balance pass */
body.lo-body,
body.ah-body {
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.86), rgba(2, 5, 10, 0.96)),
    url("/assets/krylex-wallpaper.jpg") center top / cover fixed no-repeat !important;
}

.lo-header,
.lo-header-inner,
.lo-actions,
.ah-header.lo-header {
  overflow: visible !important;
}

.lo-header {
  isolation: isolate;
}

.lo-user {
  z-index: 900;
}

.lo-dropdown {
  max-height: none !important;
  overflow: visible !important;
  z-index: 999;
}

.lo-brand img,
.ah-header .lo-brand img {
  border-radius: 10px;
  background: transparent;
  object-fit: contain;
}

body.ah-body .ah-hero {
  min-height: 600px;
  background: #03070d;
}

body.ah-body .ah-hero-bg {
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.34), rgba(2, 5, 10, 0.62) 58%, #03070d 100%),
    radial-gradient(circle at 50% 36%, rgba(92, 160, 255, 0.18), transparent 34%),
    url("/assets/krylex-wallpaper.jpg") center / cover no-repeat !important;
}

body.ah-body .ah-hero::after {
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 13, 0.86), #03070d);
}

body.ah-body .ah-hero-inner {
  padding: 72px 0 86px;
}

body.ah-body .ah-hero-tag,
body.ah-body .ah-section-kicker {
  padding: 7px 14px;
  font-size: 11px;
}

body.ah-body .ah-hero h1 {
  max-width: 680px;
  margin: 18px auto 14px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.06;
}

body.ah-body .ah-hero p {
  max-width: 600px;
  font-size: 14px;
  line-height: 1.62;
}

body.ah-body .ah-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(126px, 180px));
  justify-content: center;
  gap: 18px;
  margin: 24px 0 24px;
}

body.ah-body .ah-hero-stats div {
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(3, 7, 13, 0.48);
  backdrop-filter: blur(10px);
}

body.ah-body .ah-hero-stats strong {
  font-size: 24px;
}

body.ah-body .ah-hero-stats span {
  font-size: 11px;
}

body.ah-body .ah-store-strip {
  margin-top: 0;
  transform: translateY(-28px);
}

.ah-about-clean {
  max-width: 980px;
  text-align: center;
}

.ah-about-clean .ah-section-title {
  max-width: 720px;
  margin-bottom: 24px;
}

.ah-about-clean .ah-section-title h2 {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.16;
}

.ah-about-clean .ah-section-title p {
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 13px;
}

.ah-feature-grid {
  max-width: 900px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.ah-feature-grid div {
  min-height: 132px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(9, 14, 24, 0.78);
}

.ah-feature-grid b {
  font-size: 14px;
}

.ah-feature-grid span {
  font-size: 12px;
}

body.ah-body .ah-market-preview {
  max-width: 980px;
  padding-top: 46px;
}

body.ah-body .ah-market-preview .ah-section-title {
  max-width: 650px;
  margin-bottom: 22px;
}

body.ah-body .ah-market-preview .ah-section-title h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}

body.ah-body .ah-market-preview .ah-section-title p {
  font-size: 13px;
}

body.ah-body .ah-market-grid {
  max-width: 820px;
  margin: 0 auto;
  gap: 16px;
}

body.ah-body .ah-market-card {
  min-height: 146px;
  padding: 20px;
  border-radius: 14px;
}

body.ah-body .ah-market-card small {
  font-size: 10px;
}

body.ah-body .ah-market-card h3 {
  font-size: 20px;
}

body.ah-body .ah-market-card p {
  font-size: 12px;
}

.lo-legal-wrap {
  max-width: 920px;
}

.lo-legal-card {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(13, 20, 35, 0.86), rgba(7, 11, 20, 0.96)),
    rgba(9, 12, 20, 0.96) !important;
}

.lo-legal-card h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 34px);
}

.lo-legal-card h3 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 17px;
}

.lo-legal-card p {
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

.lo-legal-card b {
  color: #fff;
}

@media (max-width: 760px) {
  body.ah-body .ah-hero {
    min-height: auto;
  }

  body.ah-body .ah-hero-inner {
    padding: 54px 0 78px;
  }

  body.ah-body .ah-hero h1 {
    font-size: 32px;
  }

  body.ah-body .ah-hero-stats,
  .ah-feature-grid,
  body.ah-body .ah-market-grid {
    grid-template-columns: 1fr;
  }
}

/* Final header/logo and page-hero cleanup. */
.lo-brand img,
.ah-header .lo-brand img,
body.ah-body .lo-brand img,
body.ah-body .ah-header .lo-brand img {
  content: url("/assets/krylex-logo-brand.png?v=20260521-logo-final") !important;
  width: 132px !important;
  height: 56px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 8px 18px rgba(121, 72, 255, 0.28)) !important;
}

.lo-brand span,
.ah-header .lo-brand span,
body.ah-body .lo-brand span,
body.ah-body .ah-header .lo-brand span {
  display: none !important;
}

.lo-page-hero,
body.lo-body .lo-page-hero,
body.ah-body .lo-page-hero {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.lo-page-hero::after,
body.lo-body .lo-page-hero::after,
body.ah-body .lo-page-hero::after {
  display: none !important;
}

@media (max-width: 760px) {
  .lo-brand img,
  .ah-header .lo-brand img,
  body.ah-body .lo-brand img,
  body.ah-body .ah-header .lo-brand img {
    width: 104px !important;
    height: 46px !important;
  }
}

body.ah-body .ah-hero-bg {
  background:
    linear-gradient(180deg, rgba(1, 5, 12, 0.28), rgba(1, 5, 12, 0.64) 58%, #02060d 100%),
    radial-gradient(circle at 50% 40%, rgba(102, 180, 255, 0.16), transparent 34%),
    url("/assets/krylex-wallpaper.jpg") center / cover no-repeat !important;
}

body.ah-body .ah-hero h1 {
  font-size: clamp(28px, 3.1vw, 40px) !important;
  line-height: 1.07 !important;
  letter-spacing: 0 !important;
}

body.ah-body .ah-hero-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: min(100%, 820px) !important;
  margin: 26px auto 22px !important;
}

body.ah-body .ah-hero-feature-grid div {
  min-height: 118px !important;
  padding: 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(7, 13, 24, 0.66) !important;
  backdrop-filter: blur(12px) !important;
  text-align: left !important;
}

body.ah-body .ah-hero-feature-grid b {
  display: block !important;
  margin-bottom: 8px !important;
  color: #fff !important;
  font-size: 13px !important;
}

body.ah-body .ah-hero-feature-grid span {
  display: block !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

body.ah-body .lo-user:hover .lo-dropdown,
body.ah-body .lo-user:focus-within .lo-dropdown {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

@media (max-width: 760px) {
  body.ah-body .ah-hero-feature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Product icons, live player badge and Minecraft skin avatars */
.ah-online-pill {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 13, 24, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.ah-online-pill strong {
  color: #c6fff0;
  font-size: 18px;
  line-height: 1;
}

.ah-online-pill em {
  font-style: normal;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ah-category-image {
  overflow: hidden;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.ah-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lo-product-head img,
.ah-product-card .lo-product-head img {
  width: 118px !important;
  height: 88px !important;
  max-width: 118px !important;
  max-height: 88px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.24);
}

.lo-avatar {
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 760px) {
  .ah-online-pill {
    width: 100%;
    justify-content: center;
  }
}

/* Site-wide moving background video */
body.lo-body,
body.ah-body {
  background: #02060d !important;
}

.krylex-bg-video,
.krylex-bg-shade {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.krylex-bg-video {
  z-index: 0;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(1.05) contrast(1.04);
}

.krylex-bg-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(20, 148, 244, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 13, 0.55), rgba(2, 6, 13, 0.78) 44%, rgba(2, 6, 13, 0.94));
}

.lo-header,
.lo-main,
.ah-main,
.lo-footer {
  position: relative;
  z-index: 2;
}

.lo-page-hero::before,
.ah-hero-bg {
  background-image:
    linear-gradient(180deg, rgba(2, 6, 13, 0.42), rgba(2, 6, 13, 0.74)) !important;
}

/* Brighter home hero text over the moving video */
body.ah-body .ah-main,
body.ah-body .ah-hero {
  background: transparent !important;
}

body.ah-body .krylex-bg-video {
  opacity: 0.78;
}

body.ah-body .krylex-bg-shade {
  background:
    radial-gradient(circle at 50% 18%, rgba(20, 148, 244, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 13, 0.34), rgba(2, 6, 13, 0.56) 44%, rgba(2, 6, 13, 0.78)) !important;
}

body.ah-body .ah-hero h1 {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.65);
}

body.ah-body .ah-hero p {
  color: rgba(238, 247, 255, 0.92) !important;
  opacity: 1 !important;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.62);
}

body.ah-body .ah-hero-tag {
  color: #dffdf3 !important;
  border-color: rgba(31, 224, 174, 0.32) !important;
  background: rgba(4, 18, 24, 0.72) !important;
}

body.ah-body .ah-hero-feature-grid div {
  background: rgba(8, 17, 28, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

body.ah-body .ah-hero-feature-grid b {
  color: #ffffff !important;
}

body.ah-body .ah-hero-feature-grid span {
  color: rgba(236, 245, 255, 0.86) !important;
}

body.ah-body .ah-online-pill,
body.ah-body .ah-hero-actions .lo-btn {
  opacity: 1 !important;
  color: #f7fbff !important;
  background: rgba(7, 18, 30, 0.84) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Keep the account dropdown above every page hero/content layer */
.lo-header,
.ah-header.lo-header {
  position: sticky !important;
  z-index: 1200 !important;
  overflow: visible !important;
  isolation: auto !important;
}

.lo-header-inner,
.lo-actions,
.lo-user {
  overflow: visible !important;
}

.lo-main,
.ah-main,
.lo-footer {
  z-index: 2 !important;
}

.lo-dropdown {
  z-index: 1300 !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
}
