
:root {
  color-scheme: light;
  --ink: #17221e;
  --muted: #56635e;
  --border: #dce5df;
  --green: #195c45;
  --tint: #eaf4ee;
  font-family: system-ui, "Segoe UI", "Noto Sans Arabic", "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  color: var(--ink);
  background: #f8faf8;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 3px;
}
header { background: white; border-bottom: 1px solid var(--border); }
.header-inner, main, footer { max-width: 1000px; margin: auto; padding-inline: 24px; }
.header-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 1.15rem; font-weight: 750; }
.brand span { color: var(--green); }
nav { display: flex; align-items: center; gap: 6px; }
button { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; color: inherit; background: white; }
button:hover:not(:disabled) { border-color: var(--green); }
.plain { background: transparent; border-color: transparent; }
.primary, .black { background: var(--green); color: white; border-color: var(--green); }
main { padding-block: clamp(32px, 6vw, 64px); min-height: 65vh; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.05em; }
.intro { color: var(--muted); margin: 8px 0 26px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 480px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 9px; background: white; }
.search span { color: var(--muted); font-size: 1.25rem; }
.search input { width: 100%; min-width: 0; border: 0; padding: 4px; background: none; color: inherit; }
.results { font-size: .85rem; color: var(--muted); margin: 24px 0 10px; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.product { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 12px; padding: 16px; text-align: start; }
.product .artwork { width: 42px; height: 42px; display: grid; place-items: center; background: var(--tint); border-radius: 9px; }
.product small { display: inline-block; color: var(--muted); margin-block: 2px; }
.product .price { grid-column: 2; }
.price { color: var(--green); font-weight: 700; }
.empty { color: var(--muted); }
footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); padding-block: 12px; }
footer > span:first-child { margin-inline-end: auto; }
dialog { width: min(460px, calc(100% - 24px)); max-height: 90vh; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); padding: 20px; }
dialog::backdrop { background: #020817a0; }
dialog h2 { margin-top: 0; }
.close { display: flex; justify-content: flex-end; }
dialog label, #service-content label { display: block; margin: 12px 0; }
dialog select, dialog input, #service-content select, #service-content input {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  margin-top: 4px;
}
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); padding: 10px 0; }
.notice { padding: 10px; background: var(--tint); border-radius: 8px; }
.methods { display: grid; gap: 8px; }
@media (max-width: 480px) {
  .header-inner, main, footer { padding-inline: 14px; }
  nav { gap: 1px; font-size: .8rem; }
  nav button { padding-inline: 6px; }
}

:root {
  color-scheme: dark;
  --ink: #f0f4ff;
  --muted: #aab9cf;
  --border: #253750;
  --green: #22d3ee;
  --wallet-positive: #6ee7b7;
  --tint: #10293f;
  --surface: #101827;
  --canvas: #080c14;
  --on-accent: #03111f;
  --primary-fill: linear-gradient(135deg, #67e8f9, #0ea5e9);
  background: var(--canvas);
}
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #102038;
  --muted: #466079;
  --border: #cbdced;
  --green: #075985;
  --wallet-positive: #087252;
  --tint: #e0f2fe;
  --surface: #fff;
  --canvas: #f1f7ff;
  --on-accent: #fff;
  --primary-fill: #075985;
}
header, button, .search, dialog { background: var(--surface); }
header { border-color: var(--border); }
.primary, .black { background: var(--primary-fill); border-color: var(--green); color: var(--on-accent); }
nav .plain { background: var(--canvas); border-color: var(--border); }
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 300px;
  padding: clamp(24px, 6vw, 60px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: radial-gradient(ellipse at 92% 95%, var(--tint), transparent 57%), var(--surface);
}
.hero h1 { font-size: clamp(2.2rem, 7vw, 4.3rem); line-height: .98; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-mark { color: var(--green); font-size: clamp(3rem, 13vw, 9rem); padding-inline: clamp(0px, 4vw, 42px); }
.catalog-link { display: inline-block; border-radius: 8px; padding: 10px 14px; font-weight: 650; }
#catalogue { padding-top: 28px; }
#catalogue h2 { margin: 0 0 12px; }
.products { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.product { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.product:first-child { border-radius: 12px 12px 0 0; }
.product:last-child { border-bottom: 0; border-radius: 0 0 12px 12px; }
.product:only-child { border-radius: 12px; }
.product:hover:not(:disabled) { background: var(--tint); border-color: var(--border); }
.product .price { grid-column: 3; text-align: end; }
.products .empty { padding-inline: 16px; }
@media (max-width: 580px) {
  .nav-orders { display: none; }
  .product { padding: 12px; gap: 8px; }
  .product .price { font-size: .8rem; }
  .product .artwork { width: 32px; height: 32px; }
}

header { position: sticky; top: 0; z-index: 2; }
.header-inner, main, footer { max-width: 1120px; }
main { padding-top: 0; }
.hero {
  min-height: clamp(320px, 44vw, 510px);
  padding: clamp(24px, 5vw, 60px) 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-mark { display: grid; place-items: center; width: clamp(118px, 30vw, 360px); aspect-ratio: 1; padding: 0; border-radius: 30%; background: radial-gradient(ellipse, var(--tint), transparent 69%); }
.hero-mark span { border: 1px solid var(--border); border-radius: 22%; display: grid; place-items: center; width: 58%; aspect-ratio: 1; transform: rotate(-12deg); box-shadow: 0 0 36px var(--tint); line-height: 1; }
#catalogue { scroll-margin-top: 68px; padding-top: 20px; border-top: 1px solid var(--border); }
#catalogue h2 { font-size: clamp(1.55rem, 4vw, 2.35rem); letter-spacing: -.035em; margin-bottom: 4px; }
.catalog-intro { color: var(--muted); margin: 0 0 18px; }
.search { max-width: none; }
.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; background: transparent; }
.product, .product:first-child, .product:last-child, .product:only-child {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.product .artwork {
  width: 100%;
  height: clamp(96px, 13vw, 138px);
  border-radius: 0;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  background: linear-gradient(140deg, var(--tint), var(--surface));
}
.availability { position: absolute; top: 8px; inset-inline-end: 8px; border-radius: 999px; background: var(--surface); color: var(--muted); padding: 3px 7px; font-size: .7rem; }
.availability[data-available="true"] { color: var(--green); }
.product-info { padding: 12px; }
.product-info small { display: block; }
.product-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; margin-top: 10px; font-size: .85rem; }
@media (max-width: 620px) {
  .hero { gap: 4px; }
  .hero-mark { width: clamp(85px, 22vw, 140px); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-info { padding: 8px; }
}

.hero-mark {
  width: min(100%, 360px);
  min-width: 240px;
  background: radial-gradient(ellipse at 50% 58%, var(--tint), transparent 68%);
}
@media (max-width: 620px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-block: 42px 18px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .hero-actions > * { display: grid; place-items: center; min-height: 50px; padding: 8px; font-size: .9rem; text-align: center; }
  .hero-mark { justify-self: center; width: min(100%, 300px); min-width: 0; aspect-ratio: auto; min-height: 270px; }
}

.shortcuts, .catalog-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.shortcuts { margin-top: 16px; }
.shortcuts button { border-radius: 999px; font-size: .85rem; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin: 24px 0 0; }
.highlights dt { font-weight: 750; font-size: clamp(.95rem, 2.4vw, 1.3rem); }
.highlights dd { color: var(--muted); margin: 3px 0 0; font-size: .8rem; }
.catalog-switch { margin-bottom: 24px; }
.catalog-switch button { min-height: 46px; background: var(--tint); font-weight: 700; }
.catalog-switch button[aria-pressed="true"] { background: var(--green); color: var(--on-accent); border-color: var(--green); }
@media (max-width: 620px) {
  .shortcuts { gap: 5px; }
  .shortcuts button { font-size: .74rem; padding: 7px 8px; }
  .catalog-switch { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .catalog-switch button { font-size: .8rem; padding: 6px; }
}




.hero-mark { position: relative; isolation: isolate; background: none; }
.hero-mark::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  background: radial-gradient(ellipse, #ffc13c70, #ff9d242c 45%, transparent 72%);
  animation: aura-pulse 2.6s ease-in-out infinite alternate;
}
.aura-character {
  display: block;
  width: min(100%, 330px);
  height: clamp(235px, 35vw, 390px);
  object-fit: contain;
}
@keyframes aura-pulse {
  from { opacity: .48; transform: scale(.88); }
  to { opacity: 1; transform: scale(1.24); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark::before { animation: none; }
}

/* Original AuraNexus palette with the requested static square pattern. */
body {
  --pattern-line: color-mix(in srgb, var(--ink) 7%, transparent);
  background:
    repeating-linear-gradient(45deg, transparent calc(-650% / 13) calc(50% / 13), var(--pattern-line) 0 calc(100% / 13), transparent 0 calc(150% / 13), var(--pattern-line) 0 calc(200% / 13), transparent 0 calc(250% / 13), var(--pattern-line) 0 calc(300% / 13)) 0 0,
    repeating-linear-gradient(45deg, transparent calc(-650% / 13) calc(50% / 13), var(--pattern-line) 0 calc(100% / 13), transparent 0 calc(150% / 13), var(--pattern-line) 0 calc(200% / 13), transparent 0 calc(250% / 13), var(--pattern-line) 0 calc(300% / 13)) 32px 32px,
    repeating-linear-gradient(-45deg, transparent calc(-650% / 13) calc(50% / 13), var(--pattern-line) 0 calc(100% / 13), transparent 0 calc(150% / 13), var(--pattern-line) 0 calc(200% / 13), transparent 0 calc(250% / 13), var(--pattern-line) 0 calc(300% / 13)) 0 0,
    repeating-linear-gradient(-45deg, transparent calc(-650% / 13) calc(50% / 13), var(--pattern-line) 0 calc(100% / 13), transparent 0 calc(150% / 13), var(--pattern-line) 0 calc(200% / 13), transparent 0 calc(250% / 13), var(--pattern-line) 0 calc(300% / 13)) 32px 32px,
    #000;
  background-size: 64px 64px;
  background-attachment: fixed;
}

/* Floating sticky header matching the observed VisitXO scroll behavior. */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px clamp(8px, 2vw, 24px);
  border: 0;
  background: transparent;
  pointer-events: none;
}
.header-inner {
  width: 100%;
  max-width: none;
  min-height: 72px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--canvas) 76%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

/* The large moving hero character is removed; the small header logo remains. */
.hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: auto;
  padding-block: clamp(52px, 8vw, 96px);
}
.hero > div:first-child { max-width: 780px; }

@media (max-width: 620px) {
  header { padding: 6px; }
  .header-inner { min-height: 64px; border-radius: 18px; }
  .hero { padding-block: 38px 22px; }
}

.brand-logo {
  display: block;
  width: clamp(46px, 5vw, 62px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--border) 82%, transparent);
}

/* Give the desktop introduction room while keeping the mobile layout stacked. */
@media (min-width: 900px) {
  .header-inner, main, footer {
    max-width: 1680px;
    padding-inline: clamp(28px, 4vw, 64px);
  }
  .header-inner { min-height: clamp(72px, 5vw, 90px); }
  .brand { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
  nav button { padding: 11px 16px; }
  .hero {
    min-height: clamp(600px, 82svh, 820px);
    grid-template-columns: minmax(0, 1fr) minmax(300px, .88fr);
    gap: clamp(24px, 5vw, 84px);
    padding-block: clamp(44px, 6vw, 100px);
  }
  .hero h1 { font-size: clamp(3.75rem, 5.75vw, 6rem); line-height: 1.02; }
  .hero .intro { font-size: clamp(1.05rem, 1.55vw, 1.5rem); margin: 26px 0 32px; }
  .hero-actions > * { display: inline-flex; align-items: center; min-height: 57px; padding: 12px 20px; font-size: 1.05rem; }
  .shortcuts { margin-top: 24px; }
  .shortcuts button { padding: 10px 15px; font-size: .95rem; }
  .highlights { margin-top: 36px; }
  .highlights dd { font-size: .93rem; }
  .hero-mark { width: 100%; min-width: 0; aspect-ratio: auto; }
  .aura-character { width: min(100%, 510px); height: clamp(390px, 46vw, 620px); }
}


.catalogue-toolbar {
  --catalogue-field: color-mix(in srgb, var(--canvas) 76%, var(--surface));
  --catalogue-edge: color-mix(in srgb, var(--green) 13%, var(--border));
  min-width: 0;
  border: 1px solid var(--catalogue-edge);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 9px 24px rgb(5 18 35 / 9%);
}
.catalogue-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) minmax(130px, 180px);
  gap: 10px;
  padding: 14px;
}
.catalogue-toolbar .catalogue-search,
.catalogue-sort,
.catalogue-stock {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  min-width: 0;
  min-height: 50px;
  padding-inline: 14px;
  border: 1px solid var(--catalogue-edge);
  border-radius: 13px;
}
.catalogue-toolbar .catalogue-search {
  padding-block: 4px;
  background: var(--catalogue-field);
}
.catalogue-toolbar .catalogue-search:focus-within,
.catalogue-sort:focus-within,
.catalogue-stock:has(input:focus-visible) {
  border-color: var(--green);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.catalogue-search input { min-height: 40px; padding: 0; }
.catalogue-search input::placeholder { color: var(--muted); opacity: 1; }
.catalogue-search-icon {
  position: relative;
  flex: 0 0 15px;
  height: 15px;
  margin-inline-end: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.catalogue-search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  inset-inline-end: -5px;
  inset-block-end: -3px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: currentColor;
}
[dir="rtl"] .catalogue-search-icon::after { transform: rotate(-45deg); }
.catalogue-sort-icon { color: var(--green); font-size: 1.16rem; pointer-events: none; }
.catalogue-sort::after {
  content: "";
  position: absolute;
  inset-inline-end: 16px;
  width: 7px;
  height: 7px;
  border: solid var(--muted);
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}
.catalogue-sort select {
  position: absolute;
  inset: 0;
  appearance: none;
  width: 100%;
  min-width: 0;
  padding-inline: 36px 31px;
  border: 0;
  border-radius: inherit;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  text-overflow: ellipsis;
  cursor: pointer;
}
.catalogue-sort select:is(:hover, :focus-visible) { outline: none; box-shadow: none; }
.catalogue-sort option { background: var(--surface); color: var(--ink); }
.catalogue-stock { justify-content: center; cursor: pointer; font-weight: 650; }
.catalogue-stock input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.catalogue-stock-track {
  position: relative;
  flex: 0 0 35px;
  height: 21px;
  border: 1px solid var(--catalogue-edge);
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 30%, var(--surface));
}
.catalogue-stock-track::after {
  content: "";
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
}
.catalogue-stock:has(input:checked) { border-color: var(--green); background: var(--tint); }
.catalogue-stock input:checked + .catalogue-stock-track { background: var(--green); border-color: var(--green); }
.catalogue-stock input:checked + .catalogue-stock-track::after { inset-inline-start: 16px; }
.catalogue-toolbar .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-block-start: 1px solid var(--catalogue-edge);
}
.catalogue-toolbar .filters:is(:empty, [hidden]) { display: none; }
.catalogue-toolbar .filters button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 5px 12px;
  border: 1px solid var(--catalogue-edge);
  border-radius: 999px;
  background: var(--catalogue-field);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 620;
  text-align: start;
}
.catalogue-toolbar .filters button:hover,
.catalogue-toolbar .filters button[aria-pressed="true"] { border-color: var(--green); }
.catalogue-toolbar .filters button[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--primary-fill);
}
.catalogue-toolbar #filters button[data-category^="manual:"] {
  max-inline-size: min(100%, 24rem);
}
.catalogue-toolbar #filters button[data-category^="manual:"] .category-name {
  overflow-wrap: anywhere;
}
.catalogue-toolbar .category-count,
.catalogue-toolbar .category-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 24px;
  min-height: 24px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--green);
}
.catalogue-toolbar .category-count { font-variant-numeric: tabular-nums; font-size: .76rem; }
.catalogue-toolbar [aria-pressed="true"] .category-count {
  background: color-mix(in srgb, currentColor 17%, transparent);
  color: inherit;
}
.catalogue-toolbar .catalogue-platforms { padding-block: 8px; }
.catalogue-toolbar .catalogue-platforms button { background: var(--surface); }
.catalogue-toolbar .catalogue-platforms button[aria-pressed="true"] {
  background: var(--tint);
  color: var(--green);
}
.catalogue-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  min-height: 48px;
  margin-block: 4px;
}
.catalogue-summary .results { margin: 0; }
.catalogue-reset {
  min-height: 40px;
  padding-inline: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--green);
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.catalogue-reset[hidden] { display: none; }
:root[data-theme="light"] :is(.catalogue-summary .results, .catalogue-reset) {
  border: 1px solid var(--border);
  background: var(--surface);
}
:root[data-theme="light"] .catalogue-summary .results {
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--ink);
}
@media (forced-colors: active) {
  .catalogue-stock input { position: static; width: auto; opacity: 1; }
  .catalogue-stock-track { display: none; }
  .catalogue-toolbar .filters button[aria-pressed="true"] {
    forced-color-adjust: none;
    background: Highlight;
    border-color: Highlight;
    color: HighlightText;
  }
  .catalogue-toolbar .catalogue-platforms button[aria-pressed="true"] {
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
  }
}
.catalog-switch button { padding-inline: 18px; }
.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 24px); }
.product .artwork { height: clamp(120px, 14vw, 200px); }
.product-icon {
  display: grid;
  place-items: center;
  width: clamp(48px, 6vw, 84px);
  aspect-ratio: 1;
  border-radius: 26%;
  background: var(--canvas);
  border: 1px solid var(--border);
}
.availability { top: 12px; inset-inline-end: 12px; background: var(--tint); }
.availability::before { content: "●"; margin-inline-end: 4px; }
.availability[data-available="false"] { color: var(--ink); }
.product-info { display: flex; flex-direction: column; flex: 1; padding: clamp(12px, 1.5vw, 24px); }
.product-info > strong { font-size: clamp(1rem, 1.55vw, 1.4rem); }
.product-bottom { align-items: end; margin-top: auto; padding-top: 18px; }
.product-bottom .price { text-align: start; font-size: clamp(.85rem, 1.4vw, 1.22rem); }
.product-bottom .price small { font-size: .68rem; font-weight: 500; }
.plan-link { display: inline-block; padding: 6px 9px; border-radius: 999px; background: var(--tint); color: var(--green); font-size: .75rem; font-weight: 700; }
@media (min-width: 900px) {
  .catalog-switch { margin-bottom: clamp(32px, 4vw, 60px); }
  .catalog-switch button { min-height: 54px; }
}
@media (max-width: 899px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .catalogue-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 11px;
    gap: 8px;
  }
  .catalogue-toolbar .catalogue-search { grid-column: 1 / -1; }
  .catalogue-toolbar .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-inline: 11px;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }
  .catalogue-toolbar :is(input[type="search"], select) { font-size: 1rem; }
  .catalogue-stock { font-size: .92rem; }
}
@media (max-width: 375px) {
  .catalogue-sort, .catalogue-stock { padding-inline: 9px; gap: 6px; }
  .catalogue-sort select { padding-inline: 27px 22px; }
  .catalogue-sort::after { inset-inline-end: 10px; }
}
@media (max-width: 420px) {
  .availability { top: 6px; inset-inline-end: 6px; }
  .product-bottom { padding-top: 8px; }
}

.availability {
  --stock-light: #86efac;
  background: #12301f;
  color: var(--stock-light);
}
.availability[data-available="true"] { color: var(--stock-light); }
.availability[data-available="false"] {
  --stock-light: #e8272e;
  background: rgb(232 39 46 / 8.2%);
  color: var(--stock-light);
}
.availability::before {
  content: "";
  display: inline-block;
  width: .48rem;
  height: .48rem;
  margin-inline-end: .3rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 3px currentColor;
  animation: stock-glow 2.6s ease-in-out infinite;
}
@keyframes stock-glow {
  0%, 100% { opacity: .55; box-shadow: 0 0 1px currentColor; }
  50% { opacity: 1; box-shadow: 0 0 4px 1px currentColor; }
}
@media (prefers-reduced-motion: reduce) {
  .availability::before { animation: none; }
}



.availability {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 30px;
  font-size: clamp(9px, .8vw, 13px);
  font-weight: 400;
  white-space: nowrap;
}
.availability::before {
  margin-inline-end: 0;
  width: .55em;
  height: .55em;
}

.product-icon {
  width: min(68%, 148px);
  overflow: hidden;
  border-radius: 16px;
}
.product-icon img { display: block; width: 100%; height: auto; }

.product .artwork {
  display: block;
  height: auto;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.product-icon {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}
.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-parade {
  display: grid;
  place-items: center;
  padding-block: 14px 28px;
  min-height: 100px;
}
.parade-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 1vw, 14px);
}
.parade-track button {
  display: block;
  width: clamp(25px, 6.3vw, 62px);
  aspect-ratio: 1;
  padding: 2px;
  border-radius: clamp(5px, 1.3vw, 13px);
}
.parade-track img { display: block; width: 100%; border-radius: inherit; }
.parade-trail { width: clamp(10px, 3vw, 48px); border-top: 2px dashed var(--muted); opacity: .65; }
.parade-bot {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(32px, 7vw, 64px);
  aspect-ratio: 1;
  border: 1px solid var(--green);
  border-radius: 36%;
  background: var(--surface);
  box-shadow: 0 0 12px var(--tint);
}


.live-icon { display: inline-block; }

:where(button, a, input, select) {
  transition: box-shadow .18s ease, border-color .18s ease;
}
:where(button:not(:disabled), a, input:not(:disabled), select:not(:disabled)):is(:hover, :focus-visible),
.search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 16px color-mix(in srgb, var(--green) 56%, transparent),
    inset 0 0 9px color-mix(in srgb, var(--green) 23%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  :where(button, a, input, select) { transition: none; }
}



.search { transition: background-color .18s ease, box-shadow .18s ease, border-color .18s ease; }
.search:is(:hover, :focus-within) {
  background-color: color-mix(in srgb, var(--green) 14%, var(--surface));
  border-color: var(--green);
  box-shadow: 0 0 16px color-mix(in srgb, var(--green) 56%, transparent);
}
.search input:is(:hover, :focus-visible) { box-shadow: none; outline: none; }
@media (prefers-reduced-motion: reduce) {
  .search { transition: none; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .product {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .product:hover { transform: translateY(-4px); }
}

.shop-guide { display: grid; gap: clamp(18px, 4vw, 48px); margin-top: clamp(40px, 7vw, 92px); }
.guide-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 48px); }
.shop-guide h2 { margin: 0 0 8px; font-size: clamp(1.1rem, 2vw, 1.45rem); }
.guide-topics h2 { color: var(--green); }
.shop-guide p { margin: 0; color: var(--muted); line-height: 1.55; }
.guide-link { padding: 0 3px; color: var(--green); }
.guide-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: clamp(16px, 3vw, 32px); }
.payment-methods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.payment-methods li { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--canvas); font-size: .85rem; font-weight: 650; }
.payment-methods span { flex: none; color: var(--green); }
.delivery-panel { display: flex; align-items: center; gap: 14px; }
.delivery-panel > span { font-size: 1.5rem; }
@media (max-width: 900px) { .payment-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .guide-topics { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.supplier-product-icon { display: grid; place-items: center; height: 100%; color: var(--green); font-size: 2.5rem; }

.product .artwork { position: relative; }
.live-product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-video {
  display: block;
  width: clamp(64px, 7vw, 108px);
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: contain;
}


.parade-bot img { height: 100%; object-fit: cover; border-radius: inherit; }

.hero-mark:has(.hero-logo-video)::before { content: none; }
.hero-mark .hero-logo-video {
  width: min(100%, 560px);
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}

/* Guest checkout preview. Kept inside the existing dialog visual language. */
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.field-help { display: block; color: var(--muted); margin: -7px 0 14px; line-height: 1.4; }
dialog textarea,
#service-content textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  resize: vertical;
  margin-top: 5px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
dialog textarea:focus-visible,
#service-content textarea:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 3px; }
.demo-notice { border: 1px solid color-mix(in srgb, var(--green) 45%, var(--border)); }
.guest-key, .warranty-card {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--canvas);
}
.guest-key > p, .warranty-card > h3 { margin-top: 0; }
.guest-key > div {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 1.45fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.guest-key > div span { color: var(--muted); }
.guest-key > div strong { overflow-wrap: anywhere; letter-spacing: .04em; }
.guest-key button { margin-top: 12px; }
.guest-details { display: grid; gap: 0; margin: 14px 0; }
.guest-details > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.guest-details dt { color: var(--muted); }
.guest-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.guest-delivery { margin: 14px 0; }
.guest-delivery pre {
  margin: 8px 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--canvas);
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  user-select: all;
}
.warranty-card[data-active="true"] { border-color: color-mix(in srgb, var(--green) 58%, var(--border)); }
.warranty-card[data-active="true"] > p > strong { color: var(--green); }
.claim-form { margin-top: 16px; }
.claim-form h3 { font-size: 1rem; }
.account-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--muted); }
.account-divider::before, .account-divider::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
@media (max-width: 420px) {
  .product-actions { display: grid; }
  .guest-key > div, .guest-details > div { grid-template-columns: 1fr; gap: 3px; }
}

/* Five-language storefront controls and direction-safe layout. */
.language-control {
  position: relative;
  display: inline-block;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  white-space: nowrap;
}
.language-control summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 9px;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  direction: ltr;
}
.language-control summary::-webkit-details-marker { display: none; }
.language-control summary::marker { content: ""; }
.language-control[open] .language-chevron { transform: rotate(180deg); }
.language-flag {
  display: block;
  width: 26px;
  height: 18px;
  flex: 0 0 26px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent);
}
.language-chevron {
  color: var(--muted);
  line-height: 1;
  transition: transform .18s ease;
}
.language-menu {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 50;
  display: grid;
  gap: 4px;
  min-width: 184px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgb(0 0 0 / 32%);
  direction: ltr;
}
.language-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 9px 10px;
  text-align: start;
  border-color: transparent;
  background: transparent;
}
#account-nav .language-option {
  justify-content: flex-start;
}
.language-option span,
#language-current-label {
  unicode-bidi: plaintext;
}
.language-option:hover,
.language-option:focus-visible {
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
}
.language-option.is-selected {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 16%, var(--surface));
}
.language-control:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 16px color-mix(in srgb, var(--green) 56%, transparent);
}
.language-control summary:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 3px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html[lang="ar"] h1,
html[lang="zh"] h1,
html[lang="ar"] #catalogue h2,
html[lang="zh"] #catalogue h2 { letter-spacing: 0; }
.product-parade { direction: ltr; }
.ltr-token, #guest-order-id, #guest-access-code {
  direction: ltr;
  unicode-bidi: isolate;
}
@media (max-width: 1250px) {
  .language-control { width: 100%; }
  .language-control summary { justify-content: center; }
  .language-menu { inset-inline: 0; min-width: 100%; }
}

/* AuraNexus customer sign-in sheet. Inspired by the reference store's clear
   provider-first flow while keeping AuraNexus colours and native OAuth links. */
dialog.auth-login-dialog {
  position: fixed;
  width: min(520px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--green) 34%, var(--border));
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--green) 17%, transparent), transparent 38%),
    linear-gradient(150deg, color-mix(in srgb, var(--surface) 94%, #15263b), var(--surface));
  color: var(--ink);
  box-shadow:
    0 32px 90px rgb(0 0 0 / 62%),
    0 0 0 1px rgb(255 255 255 / 3%) inset,
    0 0 52px color-mix(in srgb, var(--green) 14%, transparent);
  isolation: isolate;
  animation: auth-dialog-in .24s cubic-bezier(.2, .8, .2, 1);
}
dialog.auth-login-dialog::backdrop {
  background: rgb(2 6 15 / 76%);
  -webkit-backdrop-filter: blur(10px) saturate(.8);
  backdrop-filter: blur(10px) saturate(.8);
}
dialog.auth-login-dialog::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(color-mix(in srgb, var(--green) 18%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--green) 18%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
dialog.auth-login-dialog > .close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 4;
  margin: 0;
}
dialog.auth-login-dialog > .close button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--canvas) 74%, transparent);
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: none;
}
dialog.auth-login-dialog > .close button:is(:hover, :focus-visible) {
  color: var(--ink);
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 13%, var(--surface));
  box-shadow: 0 0 20px color-mix(in srgb, var(--green) 28%, transparent);
}
dialog.auth-login-dialog #content { position: relative; z-index: 1; }
.auth-login-card {
  position: relative;
  display: grid;
  gap: 24px;
  padding: clamp(34px, 7vw, 52px) clamp(24px, 7vw, 44px) 30px;
}
.auth-login-heading { padding-inline-end: 42px; }
.auth-login-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 6vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.auth-login-heading p {
  max-width: 39ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.auth-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.auth-login-brand::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}
.auth-provider-list,
.auth-account-actions {
  display: grid;
  gap: 12px;
}
.auth-provider {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 64px;
  padding: 9px 14px 9px 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  text-align: start;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}
.auth-provider-google {
  background: #fff;
  color: #17202f;
  border-color: #d9e1ec;
}
.auth-provider-telegram {
  background: linear-gradient(135deg, #2aabee, #168bd2);
  color: #fff;
  border-color: #44b8ee;
}
.auth-provider:is(:hover, :focus-visible):not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.025);
  box-shadow: 0 12px 32px rgb(0 0 0 / 24%);
}
.auth-provider-google:is(:hover, :focus-visible):not(:disabled) {
  border-color: #8bb6ee;
  box-shadow: 0 12px 34px rgb(66 133 244 / 20%);
}
.auth-provider-telegram:is(:hover, :focus-visible):not(:disabled) {
  border-color: #88dcff;
  box-shadow: 0 12px 36px rgb(42 171 238 / 31%);
}
.auth-provider:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 86%, white);
  outline-offset: 3px;
}
.auth-provider:disabled {
  filter: grayscale(.3);
  opacity: .58;
  cursor: not-allowed;
}
.auth-provider-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 4px 14px rgb(0 0 0 / 13%);
}
.auth-provider-icon svg {
  display: block;
  width: 25px;
  height: 25px;
}
.auth-telegram-icon { color: #229ed9; }
.auth-telegram-icon svg { fill: currentColor; }
.auth-provider-copy {
  min-width: 0;
  display: block;
  line-height: 1.25;
}
.auth-provider-copy strong {
  display: block;
  overflow: hidden;
  font-size: .98rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-provider-arrow {
  justify-self: end;
  font-size: 1.05rem;
  opacity: .68;
  transition: transform .18s ease;
}
.auth-provider:is(:hover, :focus-visible) .auth-provider-arrow { transform: translate(2px, -2px); }
.auth-provider.is-loading { pointer-events: none; opacity: .78; }
.auth-provider.is-loading .auth-provider-arrow {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  font-size: 0;
  opacity: .8;
  animation: auth-provider-spin .7s linear infinite;
}
.auth-login-trust {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}
.auth-login-trust span { margin-inline-end: 4px; }
.auth-login-status {
  min-height: 1.2em;
  margin: -10px 0 0;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}
.auth-login-loading {
  display: grid;
  gap: 12px;
}
.auth-login-loading span {
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: linear-gradient(100deg, var(--surface) 20%, var(--tint) 42%, var(--surface) 64%);
  background-size: 260% 100%;
  animation: auth-loading-sheen 1.15s ease-in-out infinite;
}
.auth-logout {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font-weight: 750;
}

:root[data-theme="light"] dialog.auth-login-dialog {
  background:
    radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--green) 11%, transparent), transparent 38%),
    linear-gradient(150deg, #fff, #f4f8fd);
  box-shadow: 0 28px 80px rgb(24 50 77 / 28%), 0 0 0 1px #fff inset;
}
:root[data-theme="light"] dialog.auth-login-dialog > .close button {
  background: rgb(255 255 255 / 84%);
}

@keyframes auth-dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auth-provider-spin { to { transform: rotate(360deg); } }
@keyframes auth-loading-sheen { to { background-position: -160% 0; } }

@media (max-width: 620px) {
  dialog.auth-login-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto 0 0;
    border-width: 1px 0 0;
    border-radius: 26px 26px 0 0;
    overflow-y: auto;
    animation-name: auth-sheet-in;
  }
  dialog.auth-login-dialog > .close {
    inset-block-start: 18px;
    inset-inline-end: 16px;
  }
  .auth-login-card {
    gap: 20px;
    padding: 38px 18px max(24px, env(safe-area-inset-bottom));
  }
  .auth-login-card::before {
    content: "";
    position: absolute;
    inset-block-start: 10px;
    inset-inline-start: 50%;
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--muted) 52%, transparent);
    transform: translateX(-50%);
  }
  html[dir="rtl"] .auth-login-card::before { transform: translateX(50%); }
  .auth-login-heading { padding-inline-end: 48px; }
  .auth-login-heading h2 { font-size: clamp(1.85rem, 9vw, 2.3rem); }
  .auth-provider { min-height: 62px; }
}

@keyframes auth-sheet-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  dialog.auth-login-dialog,
  .auth-provider,
  .auth-provider-arrow,
  .auth-login-loading span,
  .auth-provider.is-loading .auth-provider-arrow {
    animation: none;
    transition: none;
  }
}


.brand {
  padding: 5px 10px 5px 5px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease,
    background-color .18s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand:hover {
    transform: translateY(-2px);
    border-color: var(--green);
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    box-shadow:
      0 0 22px color-mix(in srgb, var(--green) 58%, transparent),
      inset 0 0 10px color-mix(in srgb, var(--green) 18%, transparent);
  }
}

.brand .brand-name {
  color: var(--ink);
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}

@media (hover: hover) {
  .brand:hover {
    transform: none;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }
}

@media (min-width: 900px) {
  .hero {
    min-height: auto;
    padding-block-start: 28px;
    padding-block-end: clamp(58px, 6vw, 88px);
  }
  .hero > div:first-child { max-width: none; }
  .hero h1 > span { display: inline; white-space: nowrap; }
}

.hero h1 em {
  display: inline-block;
  white-space: nowrap;
  animation: hero-slide-in .72s cubic-bezier(.2, .82, .28, 1) .16s both;
}

@keyframes hero-slide-in {
  from { opacity: 0; transform: translateX(-46px); }
  to { opacity: 1; transform: translateX(0); }
}

html[dir="rtl"] .hero h1 em { animation-name: hero-slide-in-rtl; }

@keyframes hero-slide-in-rtl {
  from { opacity: 0; transform: translateX(46px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 em {
    animation: none;
  }
}

/* Match the reference hierarchy while preserving the approved AuraNexus copy. */
.hero {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}

.hero > div:first-child {
  width: min(100%, 920px);
  max-width: 920px;
  margin-inline: 0;
  text-align: start;
}

.hero h1 {
  margin-inline: 0;
  font-size: clamp(2.75rem, 5.1vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.hero h1 > span {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -.048em;
}

.hero h1 em {
  font-family: "Clash Grotesk", "Arial Black", "Segoe UI Black", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.045em;
}

.hero .intro {
  max-width: 820px;
  margin-inline: 0;
  text-align: start;
  text-wrap: balance;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
}

.instant-delivery-highlight {
  display: inline-block;
  color: #86efac;
  font-weight: 600;
  white-space: nowrap;
  animation: instant-delivery-glow 2.6s ease-in-out infinite;
}

.instant-delivery-highlight::before {
  content: "";
  display: inline-block;
  width: .52em;
  height: .52em;
  margin-inline-end: .38em;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 5px #86efac, 0 0 12px rgb(134 239 172 / 90%);
  vertical-align: .05em;
  animation: instant-delivery-dot 1.8s ease-in-out infinite;
}

@keyframes instant-delivery-glow {
  0%, 100% { color: #70d99a; text-shadow: 0 0 2px rgb(134 239 172 / 28%); }
  50% { color: #a7f3c0; text-shadow: 0 0 10px rgb(134 239 172 / 72%); }
}

@keyframes instant-delivery-dot {
  0%, 100% {
    opacity: .58;
    transform: scale(.82);
    box-shadow: 0 0 3px #86efac, 0 0 7px rgb(134 239 172 / 62%);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 0 7px #86efac, 0 0 16px 3px rgb(134 239 172 / 96%);
  }
}

:root[data-theme="light"] .instant-delivery-highlight {
  color: #176b3a;
}

@media (prefers-reduced-motion: reduce) {
  .instant-delivery-highlight,
  .instant-delivery-highlight::before { animation: none; }
}

.hero-actions,
.hero .shortcuts {
  justify-content: flex-start;
}

/* Four primary hero actions: lit by default, quiet on hover. */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 860px);
}

.hero-actions .hero-action-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--green) 82%, var(--border));
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 84%, var(--green) 16%);
  box-shadow:
    0 0 10px color-mix(in srgb, var(--green) 78%, transparent),
    0 0 28px color-mix(in srgb, var(--green) 44%, transparent),
    inset 0 0 12px color-mix(in srgb, var(--green) 20%, transparent);
  font-size: clamp(.82rem, 1vw, 1rem);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.hero-actions .hero-action-card:hover:not(:disabled),
.hero-actions .hero-action-card:focus-visible {
  border-color: var(--border);
  background: var(--surface);
  box-shadow: none;
}

.hero-actions .hero-action-card .live-icon {
  flex: 0 0 auto;
  color: var(--green);
}

@media (max-width: 899px) {
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .hero-actions { grid-template-columns: 1fr; }
}

.hero .highlights {
  margin-inline: 0;
}

@media (max-width: 899px) {
  .hero h1 {
    font-size: clamp(2.75rem, 12vw, 5.5rem);
    line-height: .96;
  }

  .hero h1 > span,
  .hero h1 em {
    white-space: normal;
  }
}

/* Premium frosted authentication card — AuraNexus edition. */
dialog.auth-login-dialog {
  width: min(490px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgb(206 220 255 / 34%);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 12%), transparent 32%),
    radial-gradient(circle at 82% 18%, rgb(107 152 255 / 18%), transparent 38%),
    linear-gradient(160deg, rgb(42 52 75 / 94%), rgb(15 23 40 / 94%));
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  box-shadow:
    0 42px 100px rgb(0 4 16 / 72%),
    0 0 0 1px rgb(255 255 255 / 7%) inset,
    0 1px 0 rgb(255 255 255 / 24%) inset,
    0 0 70px rgb(104 151 255 / 16%);
}
dialog.auth-login-dialog::backdrop {
  background:
    radial-gradient(circle at 18% 14%, rgb(85 125 207 / 23%), transparent 32%),
    radial-gradient(circle at 86% 80%, rgb(45 185 224 / 14%), transparent 28%),
    rgb(2 7 18 / 84%);
  -webkit-backdrop-filter: blur(16px) saturate(.82);
  backdrop-filter: blur(16px) saturate(.82);
}
dialog.auth-login-dialog::after {
  background:
    linear-gradient(118deg, rgb(255 255 255 / 10%), transparent 26%),
    radial-gradient(circle at 8% 90%, rgb(110 160 255 / 13%), transparent 31%);
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
dialog.auth-login-dialog > .close {
  inset-block-start: 20px;
  inset-inline-end: 20px;
}
dialog.auth-login-dialog > .close button {
  width: 38px;
  height: 38px;
  border-color: rgb(218 228 255 / 20%);
  background: rgb(11 18 33 / 28%);
  color: rgb(232 239 255 / 86%);
  font-size: 1.25rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
dialog.auth-login-dialog > .close button:is(:hover, :focus-visible) {
  border-color: rgb(144 187 255 / 68%);
  background: rgb(112 157 255 / 15%);
  box-shadow: 0 0 24px rgb(90 147 255 / 28%);
}
.auth-login-card {
  gap: 23px;
  min-height: 530px;
  padding: 28px 32px 27px;
}
.auth-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding-inline-end: 42px;
}
.auth-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.auth-brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(225 234 255 / 18%);
  border-radius: 15px;
  background: linear-gradient(145deg, rgb(255 255 255 / 15%), rgb(126 157 220 / 7%));
  color: #d8e7ff;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgb(1 7 20 / 20%), 0 1px 0 rgb(255 255 255 / 14%) inset;
}
.auth-login-brand {
  color: rgb(231 237 251 / 70%);
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .24em;
  white-space: nowrap;
}
.auth-login-brand::before { display: none; }
.auth-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgb(214 226 255 / 15%);
  border-radius: 999px;
  background: rgb(9 17 33 / 22%);
  color: rgb(218 229 251 / 62%);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .12em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.auth-live-pill > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #74b8ff;
  box-shadow: 0 0 11px #74b8ff;
}
.auth-login-heading {
  background: transparent;
  padding-inline-end: 16px;
}
.auth-login-heading h2 {
  margin: 7px 0 4px;
  color: #f4f7ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 3.45rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgb(151 187 255 / 14%);
}
.auth-login-heading .auth-script-line {
  max-width: 19ch;
  margin-top: 8px;
  color: rgb(223 235 255 / 82%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.17rem, 3.6vw, 1.55rem);
  font-style: italic;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: rgb(204 216 242 / 42%);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.auth-or::before,
.auth-or::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(210 224 255 / 17%));
}
.auth-or::after { transform: scaleX(-1); }
.auth-provider-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.auth-provider {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  min-height: 67px;
  padding: 11px 13px;
  border-color: rgb(210 225 255 / 17%);
  border-radius: 17px;
  background:
    linear-gradient(150deg, rgb(255 255 255 / 8%), transparent 46%),
    rgb(10 18 34 / 43%);
  color: rgb(239 244 255 / 91%);
  box-shadow: 0 12px 28px rgb(0 5 16 / 20%), 0 1px 0 rgb(255 255 255 / 7%) inset;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
.auth-provider-google,
.auth-provider-telegram {
  border-color: rgb(210 225 255 / 17%);
  background:
    linear-gradient(150deg, rgb(255 255 255 / 8%), transparent 46%),
    rgb(10 18 34 / 43%);
  color: rgb(239 244 255 / 91%);
}
.auth-provider-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgb(225 234 255 / 14%);
  border-radius: 12px;
  background: rgb(245 248 255 / 94%);
  box-shadow: 0 6px 18px rgb(0 5 15 / 22%);
}
.auth-provider-icon svg {
  width: 20px;
  height: 20px;
}
.auth-telegram-icon {
  background: linear-gradient(145deg, #38bdf8, #218bdb);
  color: #fff;
}
.auth-provider-copy strong {
  overflow: visible;
  color: inherit;
  font-size: .86rem;
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
}
.auth-provider-arrow { display: none; }
.auth-provider:is(:hover, :focus-visible):not(:disabled),
.auth-provider-google:is(:hover, :focus-visible):not(:disabled),
.auth-provider-telegram:is(:hover, :focus-visible):not(:disabled) {
  transform: translateY(-3px);
  border-color: rgb(142 188 255 / 62%);
  background:
    linear-gradient(150deg, rgb(255 255 255 / 13%), transparent 46%),
    rgb(30 53 89 / 54%);
  box-shadow: 0 16px 34px rgb(0 5 16 / 30%), 0 0 26px rgb(74 139 255 / 16%);
  filter: none;
}
.auth-login-trust {
  margin: auto 0 0;
  padding-top: 3px;
  color: rgb(214 224 244 / 46%);
  font-size: .71rem;
  letter-spacing: .015em;
}
.auth-login-status {
  min-height: 1em;
  margin: -14px 0 0;
  color: rgb(214 224 244 / 52%);
}
.auth-login-loading {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.auth-login-loading span {
  height: 67px;
  border-color: rgb(210 225 255 / 14%);
  background: linear-gradient(100deg, rgb(255 255 255 / 5%) 20%, rgb(128 169 239 / 14%) 42%, rgb(255 255 255 / 5%) 64%);
}
.auth-account-actions {
  align-self: end;
  margin-top: auto;
}
.auth-logout {
  min-height: 57px;
  border-color: rgb(210 225 255 / 18%);
  border-radius: 17px;
  background: rgb(10 18 34 / 44%);
  color: #f0f5ff;
}

:root[data-theme="light"] dialog.auth-login-dialog {
  border-color: rgb(124 151 201 / 38%);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 72%), transparent 32%),
    radial-gradient(circle at 82% 18%, rgb(87 137 235 / 15%), transparent 38%),
    linear-gradient(160deg, rgb(225 234 249 / 95%), rgb(189 204 230 / 95%));
  color: #111a2c;
  box-shadow: 0 38px 90px rgb(39 61 101 / 34%), 0 1px 0 #fff inset;
}
:root[data-theme="light"] .auth-login-heading h2 { color: #111a2c; }
:root[data-theme="light"] .auth-login-heading .auth-script-line { color: rgb(28 48 82 / 75%); }
:root[data-theme="light"] .auth-login-brand,
:root[data-theme="light"] .auth-live-pill,
:root[data-theme="light"] .auth-login-trust,
:root[data-theme="light"] .auth-login-status { color: rgb(24 43 75 / 55%); }
:root[data-theme="light"] .auth-provider,
:root[data-theme="light"] .auth-provider-google,
:root[data-theme="light"] .auth-provider-telegram,
:root[data-theme="light"] .auth-logout {
  border-color: rgb(80 111 163 / 23%);
  background: rgb(255 255 255 / 39%);
  color: #18243b;
}

@media (max-width: 620px) {
  dialog.auth-login-dialog {
    width: min(490px, calc(100% - 20px));
    max-width: 490px;
    max-height: calc(100dvh - 20px);
    margin: auto;
    border: 1px solid rgb(206 220 255 / 30%);
    border-radius: 28px;
    animation-name: auth-dialog-in;
  }
  dialog.auth-login-dialog > .close {
    inset-block-start: 16px;
    inset-inline-end: 15px;
  }
  .auth-login-card {
    min-height: min(600px, calc(100dvh - 22px));
    gap: 20px;
    padding: 22px 20px max(21px, env(safe-area-inset-bottom));
  }
  .auth-login-card::before { display: none; }
  .auth-brand-row {
    min-height: 44px;
    padding-inline-end: 42px;
  }
  .auth-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }
  .auth-login-brand {
    max-width: 150px;
    overflow: hidden;
    font-size: .66rem;
    text-overflow: ellipsis;
  }
  .auth-login-heading { padding-inline-end: 4px; }
  .auth-login-heading h2 { font-size: clamp(2.2rem, 12vw, 3rem); }
  .auth-login-heading .auth-script-line { font-size: clamp(1.05rem, 5vw, 1.34rem); }
  .auth-provider { min-height: 64px; }
}

@media (max-width: 430px) {
  .auth-provider-list,
  .auth-login-loading { grid-template-columns: 1fr; }
  .auth-login-card { min-height: auto; }
  .auth-provider-copy strong { font-size: .9rem; }
}

/* Pull-cord login reveal ---------------------------------------------------
   The provider flow remains the native Google / Telegram flow. This layer is
   only the in-site reveal: pull the cord, light the card, then choose one of
   the existing secure providers. */
.auth-lamp-stage {
  position: relative;
  isolation: isolate;
  min-height: 475px;
}

.auth-lamp-stage::before {
  content: "";
  position: absolute;
  inset: -28px -32px -27px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 7%, rgb(78 104 154 / 13%), transparent 34%),
    linear-gradient(180deg, rgb(1 5 14 / 78%), rgb(4 9 20 / 57%));
  opacity: .94;
  transition: opacity .55s ease, filter .55s ease;
}

.auth-lamp-visual {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.auth-lamp-fixture {
  position: absolute;
  inset-block-start: -22px;
  left: 50%;
  width: 98px;
  height: 106px;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  transition: transform .48s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
}

.auth-lamp-fixture::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  left: 50%;
  width: 3px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111827, #8191ad 48%, #172036);
  box-shadow: 0 0 0 1px rgb(2 6 15 / 42%), 0 0 14px rgb(117 157 225 / 8%);
  transform: translateX(-50%);
}

.auth-lamp-fixture::after {
  content: "";
  position: absolute;
  inset-block-start: 42px;
  left: 50%;
  width: 28px;
  height: 13px;
  border: 1px solid rgb(204 219 255 / 18%);
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(180deg, #31415e, #101827);
  box-shadow: 0 4px 10px rgb(0 0 0 / 34%);
  transform: translateX(-50%);
}

.auth-lamp-shade {
  position: absolute;
  inset-block-start: 51px;
  left: 50%;
  width: 92px;
  height: 46px;
  border: 1px solid rgb(208 223 255 / 20%);
  border-block-end-color: rgb(218 229 255 / 34%);
  border-radius: 50% 50% 12px 12px / 25% 25% 12px 12px;
  background:
    linear-gradient(112deg, rgb(255 255 255 / 13%), transparent 35%),
    linear-gradient(180deg, #273651, #11192b 78%);
  box-shadow:
    0 9px 19px rgb(0 3 11 / 54%),
    0 1px 0 rgb(255 255 255 / 10%) inset;
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
  transition: border-color .42s ease, background .42s ease, box-shadow .42s ease;
}

.auth-lamp-shade::after {
  content: "";
  position: absolute;
  left: 50%;
  inset-block-end: -2px;
  width: 34px;
  height: 8px;
  border-radius: 50%;
  background: #53617a;
  box-shadow: 0 0 7px rgb(147 179 232 / 12%);
  transform: translateX(-50%);
  transition: background .42s ease, box-shadow .42s ease;
}

.auth-lamp-glow {
  position: absolute;
  inset-block-start: 63px;
  left: 50%;
  width: min(150%, 690px);
  height: 470px;
  opacity: .045;
  background:
    radial-gradient(ellipse at 50% 0%, rgb(165 204 255 / 31%), transparent 28%),
    linear-gradient(180deg, rgb(119 174 255 / 18%), rgb(255 215 135 / 8%) 48%, transparent 82%);
  filter: blur(8px);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  transition: opacity .5s ease, filter .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}

.auth-lamp-cord {
  position: absolute;
  inset-block-start: 3px;
  left: calc(50% + 52px);
  z-index: 5;
  width: 44px;
  height: 188px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: rgb(220 230 250 / 72%);
  box-shadow: none;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  transition: height .4s ease, opacity .3s ease, transform .24s ease;
  -webkit-tap-highlight-color: transparent;
}

.auth-lamp-cord::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  left: 50%;
  width: 2px;
  height: 116px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111827, #92a3c0 53%, #172036);
  box-shadow: 0 0 7px rgb(137 178 244 / 12%);
  transform: translateX(-50%);
  transition: height .4s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}

.auth-lamp-cord::after {
  content: "";
  position: absolute;
  inset-block-start: 110px;
  left: 50%;
  width: 17px;
  height: 25px;
  border: 1px solid rgb(213 226 255 / 37%);
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(145deg, #5c6c88, #1c273d 70%);
  box-shadow: 0 7px 14px rgb(0 2 9 / 52%), 0 1px 0 rgb(255 255 255 / 15%) inset;
  transform: translateX(-50%);
  transition: inset-block-start .4s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .25s ease;
}

.auth-lamp-cord-label {
  position: absolute;
  inset-block-start: 146px;
  left: 50%;
  width: max-content;
  max-width: min(190px, 52vw);
  padding: 7px 11px;
  border: 1px solid rgb(199 218 255 / 15%);
  border-radius: 999px;
  background: rgb(8 15 29 / 72%);
  color: rgb(224 233 252 / 68%);
  font-size: .65rem;
  font-weight: 760;
  letter-spacing: .07em;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 9px 26px rgb(0 3 12 / 28%);
  transform: translateX(-50%);
  transition: opacity .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.auth-lamp-cord:is(:hover, :focus-visible):not(:disabled) {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #f4f8ff;
}

.auth-lamp-cord:is(:hover, :focus-visible):not(:disabled)::before {
  box-shadow: 0 0 12px rgb(137 185 255 / 34%);
}

.auth-lamp-cord:is(:hover, :focus-visible):not(:disabled)::after {
  border-color: rgb(164 202 255 / 78%);
  box-shadow: 0 7px 15px rgb(0 2 9 / 52%), 0 0 18px rgb(91 156 255 / 31%);
}

.auth-lamp-cord:is(:hover, :focus-visible):not(:disabled) .auth-lamp-cord-label {
  border-color: rgb(147 190 255 / 48%);
  color: #f3f7ff;
  transform: translateX(-50%) translateY(-2px);
}

.auth-lamp-cord:focus-visible { outline: none; }
.auth-lamp-cord:focus-visible .auth-lamp-cord-label {
  outline: 3px solid #67c9ff;
  outline-offset: 3px;
}

.auth-lamp-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 23px;
  min-height: 475px;
  opacity: 0;
  visibility: hidden;
  filter: blur(7px) brightness(.56);
  pointer-events: none;
  transform: translateY(16px) scale(.986);
  transform-origin: 50% 34%;
  transition:
    opacity .44s ease,
    visibility 0s linear .5s,
    filter .48s ease,
    transform .5s cubic-bezier(.2, .8, .2, 1);
}

.auth-lamp-stage.is-lit::before {
  opacity: .13;
  filter: saturate(1.08);
}

.auth-lamp-stage.is-lit .auth-lamp-glow {
  opacity: .82;
  filter: blur(2px);
  transform: translateX(-50%) scaleX(1.04);
}

.auth-lamp-stage.is-lit .auth-lamp-fixture {
  opacity: .78;
  transform: translateX(-50%) scale(.72);
}

.auth-lamp-stage.is-lit .auth-lamp-shade {
  border-color: rgb(222 236 255 / 58%);
  border-block-end-color: rgb(255 224 157 / 78%);
  background:
    linear-gradient(112deg, rgb(255 255 255 / 31%), transparent 35%),
    linear-gradient(180deg, #6b84ae, #24344f 78%);
  box-shadow:
    0 9px 21px rgb(0 3 11 / 48%),
    0 0 26px rgb(111 177 255 / 34%),
    0 1px 0 rgb(255 255 255 / 22%) inset;
}

.auth-lamp-stage.is-lit .auth-lamp-shade::after {
  background: #ffe3a0;
  box-shadow: 0 0 12px #ffd77b, 0 0 31px rgb(111 184 255 / 75%);
}

.auth-lamp-stage.is-lit .auth-lamp-cord {
  height: 89px;
  opacity: .68;
  transform: translateX(-50%) translateY(5px);
}

.auth-lamp-stage.is-lit .auth-lamp-cord::before { height: 45px; }
.auth-lamp-stage.is-lit .auth-lamp-cord::after { inset-block-start: 40px; }
.auth-lamp-stage.is-lit .auth-lamp-cord-label {
  opacity: 0;
  transform: translateX(-50%) translateY(-7px);
}

.auth-lamp-stage.is-lit .auth-lamp-content {
  opacity: 1;
  visibility: visible;
  filter: none;
  pointer-events: auto;
  transform: none;
  transition-delay: .12s, 0s, .12s, .12s;
}

.auth-lamp-stage.is-waiting .auth-lamp-glow {
  animation: auth-lamp-waiting 1.55s ease-in-out infinite;
}

.auth-lamp-stage.is-waiting .auth-lamp-cord { opacity: .28; }
.auth-lamp-stage.is-waiting .auth-provider:not(.is-loading) { opacity: .62; }

.auth-lamp-stage[data-provider="telegram"] .auth-lamp-glow {
  background:
    radial-gradient(ellipse at 50% 0%, rgb(105 211 255 / 42%), transparent 29%),
    linear-gradient(180deg, rgb(65 183 255 / 25%), rgb(255 218 151 / 8%) 48%, transparent 82%);
}

.auth-lamp-stage[data-provider="google"] .auth-lamp-glow {
  background:
    radial-gradient(ellipse at 50% 0%, rgb(160 203 255 / 40%), transparent 28%),
    linear-gradient(180deg, rgb(99 156 255 / 22%), rgb(255 207 113 / 12%) 50%, transparent 82%);
}

@keyframes auth-lamp-waiting {
  0%, 100% { opacity: .62; filter: blur(4px) saturate(.92); }
  50% { opacity: .94; filter: blur(1px) saturate(1.18); }
}

:root[data-theme="light"] .auth-lamp-stage::before {
  background:
    radial-gradient(circle at 50% 7%, rgb(71 101 160 / 17%), transparent 34%),
    linear-gradient(180deg, rgb(10 18 34 / 74%), rgb(15 27 49 / 52%));
}

:root[data-theme="light"] .auth-lamp-stage.is-lit::before { opacity: .035; }
:root[data-theme="light"] .auth-lamp-cord-label {
  border-color: rgb(41 67 112 / 19%);
  background: rgb(236 243 255 / 82%);
  color: rgb(27 48 82 / 76%);
}

@media (max-width: 620px) {
  .auth-lamp-stage,
  .auth-lamp-content { min-height: min(535px, calc(100dvh - 65px)); }
  .auth-lamp-stage::before { inset: -22px -20px -21px; }
  .auth-lamp-cord-label { max-width: min(170px, 48vw); }
}

@media (max-width: 430px) {
  .auth-lamp-stage,
  .auth-lamp-content { min-height: 475px; }
  .auth-lamp-content { gap: 20px; }
  .auth-lamp-fixture { width: 90px; }
  .auth-lamp-shade { width: 84px; }
  .auth-lamp-cord { left: calc(50% + 48px); }
  .auth-lamp-cord-label {
    max-width: 47vw;
    font-size: .61rem;
    letter-spacing: .045em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-lamp-stage::before,
  .auth-lamp-fixture,
  .auth-lamp-shade,
  .auth-lamp-shade::after,
  .auth-lamp-glow,
  .auth-lamp-cord,
  .auth-lamp-cord::before,
  .auth-lamp-cord::after,
  .auth-lamp-cord-label,
  .auth-lamp-content,
  .auth-lamp-stage.is-waiting .auth-lamp-glow {
    animation: none;
    transition: none;
  }
}

/* Professional lamp login -------------------------------------------------
   Final visual layer: compact navy glass, a small practical lamp, and a
   deliberately short warm beam that ends inside the welcome copy. */
dialog.auth-login-dialog {
  width: min(408px, calc(100% - 28px));
  max-height: min(680px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgb(80 195 246 / 34%);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 8%), transparent 29%),
    radial-gradient(circle at 8% 0%, rgb(34 211 238 / 13%), transparent 36%),
    radial-gradient(circle at 100% 82%, rgb(59 130 246 / 11%), transparent 42%),
    linear-gradient(160deg, rgb(13 28 50 / 98%), rgb(4 12 27 / 98%));
  color: #eef7ff;
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  backdrop-filter: blur(24px) saturate(1.25);
  box-shadow:
    0 28px 80px rgb(0 4 15 / 68%),
    0 0 0 1px rgb(255 255 255 / 6%) inset,
    0 1px 0 rgb(255 255 255 / 15%) inset,
    -12px 0 38px rgb(34 211 238 / 9%),
    12px 0 42px rgb(59 130 246 / 10%);
  scrollbar-color: rgb(91 189 230 / 45%) transparent;
}

dialog.auth-login-dialog::backdrop {
  background:
    radial-gradient(circle at 18% 15%, rgb(14 165 233 / 16%), transparent 34%),
    rgb(1 6 16 / 84%);
  -webkit-backdrop-filter: blur(12px) saturate(.85);
  backdrop-filter: blur(12px) saturate(.85);
}

dialog.auth-login-dialog::after {
  background:
    linear-gradient(115deg, rgb(255 255 255 / 7%), transparent 24%),
    linear-gradient(90deg, rgb(34 211 238 / 8%), transparent 18%, transparent 82%, rgb(59 130 246 / 8%));
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}

dialog.auth-login-dialog > .close {
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 10;
}

dialog.auth-login-dialog > .close button {
  width: 34px;
  height: 34px;
  border: 1px solid rgb(157 213 244 / 22%);
  background: rgb(5 15 31 / 58%);
  color: rgb(225 240 251 / 78%);
  font-size: 1.05rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

dialog.auth-login-dialog > .close button:is(:hover, :focus-visible) {
  border-color: rgb(103 232 249 / 68%);
  background: rgb(15 48 74 / 72%);
  color: #fff;
  box-shadow: 0 0 20px rgb(34 211 238 / 22%);
}

.auth-login-card {
  align-content: center;
  gap: 15px;
  min-block-size: min(380px, calc(100vw - 28px), calc(100dvh - 32px));
  padding: clamp(20px, 5vw, 27px);
}

.auth-brand-row {
  min-height: 32px;
  gap: 12px;
  padding-inline-end: 40px;
}

.auth-lamp-content .auth-brand-row { padding-inline-end: 0; }

.auth-brand-lockup { gap: 9px; }

.auth-brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-color: rgb(165 218 246 / 18%);
  border-radius: 10px;
  background: linear-gradient(145deg, rgb(50 194 224 / 16%), rgb(37 99 235 / 8%));
  color: #a5f3fc;
  font-size: .78rem;
  box-shadow: 0 7px 18px rgb(0 4 15 / 24%), 0 1px 0 rgb(255 255 255 / 10%) inset;
}

.auth-login-brand {
  color: #eaf4ff;
  font-size: .86rem;
  letter-spacing: .03em;
}

.auth-live-pill {
  min-height: 24px;
  padding: 4px 9px;
  border-color: rgb(110 231 183 / 23%);
  background: rgb(4 15 31 / 42%);
  color: #a7f3d0;
  font-size: .58rem;
}

.auth-live-pill > span {
  width: 6px;
  height: 6px;
  background: #6ee7b7;
  box-shadow: 0 0 9px rgb(110 231 183 / 72%);
}

.auth-login-heading {
  padding-inline-end: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.auth-lamp-content .auth-login-heading { text-align: center; }

.auth-login-heading h2,
#service-content .auth-login-heading h1 {
  margin: 3px 0 6px;
  color: #f4f9ff;
  font-family: inherit;
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-shadow: 0 2px 18px rgb(255 209 112 / 10%);
}

.auth-login-heading .auth-script-line {
  max-width: 36ch;
  margin: 0 auto;
  color: #bdcfe4;
  font-family: inherit;
  font-size: .88rem;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0;
}

.auth-or {
  gap: 10px;
  color: #b4c6dd;
  font-size: .68rem;
  letter-spacing: .16em;
}

.auth-or::before,
.auth-or::after {
  background: linear-gradient(90deg, transparent, rgb(151 199 230 / 48%));
}

.auth-provider-list,
.auth-account-actions {
  gap: 10px;
}

.auth-provider-list { grid-template-columns: minmax(0, 1fr); }

.auth-provider,
.auth-provider-google,
.auth-provider-telegram {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  min-height: 56px;
  padding: 9px 11px;
  border: 1px solid rgb(117 192 229 / 20%);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 6%), transparent 48%),
    rgb(7 20 39 / 72%);
  color: rgb(238 247 255 / 92%);
  text-align: start;
  box-shadow: 0 9px 22px rgb(0 4 15 / 22%), 0 1px 0 rgb(255 255 255 / 5%) inset;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.auth-provider-icon {
  width: 34px;
  height: 34px;
  border-color: rgb(215 239 252 / 13%);
  border-radius: 10px;
  box-shadow: 0 5px 14px rgb(0 4 15 / 24%);
}

.auth-provider-icon svg {
  width: 19px;
  height: 19px;
}

.auth-provider-copy strong {
  overflow: visible;
  color: inherit;
  font-size: .81rem;
  font-weight: 690;
  line-height: 1.25;
  text-align: start;
  text-overflow: clip;
  white-space: normal;
}

.auth-provider:is(:hover, :focus-visible):not(:disabled),
.auth-provider-google:is(:hover, :focus-visible):not(:disabled),
.auth-provider-telegram:is(:hover, :focus-visible):not(:disabled) {
  transform: translateY(-1px);
  border-color: rgb(103 232 249 / 58%);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 9%), transparent 48%),
    rgb(11 35 61 / 82%);
  box-shadow: 0 12px 28px rgb(0 4 15 / 28%), 0 0 19px rgb(34 211 238 / 10%);
  filter: none;
}

.auth-provider:focus-visible,
.auth-logout:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 3px;
}

.auth-login-trust {
  margin: 0;
  padding-top: 0;
  color: rgb(186 211 227 / 48%);
  font-size: .68rem;
}

.auth-login-status {
  min-height: 1em;
  margin: -6px 0 0;
  color: rgb(186 211 227 / 54%);
}

.auth-login-loading {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.auth-login-loading span {
  height: 56px;
  border-color: rgb(117 192 229 / 16%);
  border-radius: 14px;
  background: linear-gradient(100deg, rgb(255 255 255 / 4%) 20%, rgb(34 211 238 / 10%) 42%, rgb(255 255 255 / 4%) 64%);
}

.auth-logout {
  min-height: 52px;
  border-color: rgb(117 192 229 / 20%);
  border-radius: 14px;
  background: rgb(7 20 39 / 72%);
  color: #eef8ff;
}

/* Lamp geometry is confined to this short decorative header. */
.auth-lamp-stage {
  position: relative;
  isolation: isolate;
  min-height: 0;
}

.auth-lamp-stage::before { content: none; }

.auth-lamp-decoration {
  position: relative;
  z-index: 3;
  height: 74px;
  margin: -2px 0 2px;
}

.auth-lamp-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.auth-lamp-fixture {
  position: absolute;
  inset-block-start: 0;
  left: 50%;
  width: 64px;
  height: 52px;
  opacity: 1;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  transition: transform .2s ease, opacity .2s ease;
}

.auth-lamp-fixture::before {
  inset-block-start: 0;
  width: 2px;
  height: 19px;
  background: linear-gradient(90deg, #0b1322, #8297b6 50%, #17253b);
  box-shadow: 0 0 8px rgb(77 187 235 / 10%);
}

.auth-lamp-fixture::after {
  inset-block-start: 14px;
  width: 20px;
  height: 10px;
  border-color: rgb(169 215 239 / 20%);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #334963, #101c2e);
}

.auth-lamp-shade {
  inset-block-start: 21px;
  width: 58px;
  height: 28px;
  border-color: rgb(170 219 244 / 22%);
  border-block-end-color: rgb(226 190 111 / 35%);
  border-radius: 50% 50% 7px 7px / 24% 24% 7px 7px;
  background:
    linear-gradient(112deg, rgb(255 255 255 / 12%), transparent 38%),
    linear-gradient(180deg, #253c58, #0d1a2d 80%);
  box-shadow: 0 6px 15px rgb(0 3 11 / 48%), 0 0 14px rgb(34 211 238 / 8%);
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.auth-lamp-shade::after {
  inset-block-end: -2px;
  width: 25px;
  height: 6px;
  background: #786b4c;
  box-shadow: 0 0 6px rgb(255 203 99 / 15%);
  transition: background .2s ease, box-shadow .2s ease;
}

.auth-lamp-glow {
  position: absolute;
  inset-block-start: 44px;
  left: 50%;
  width: min(240px, 70vw);
  height: 132px;
  opacity: .16;
  background:
    radial-gradient(ellipse at 50% 0%, rgb(255 229 161 / 66%), rgb(245 185 75 / 22%) 40%, transparent 72%),
    linear-gradient(180deg, rgb(255 214 125 / 38%), rgb(238 174 61 / 9%) 72%, transparent);
  filter: blur(3px);
  clip-path: polygon(40% 0, 60% 0, 78% 100%, 22% 100%);
  mix-blend-mode: screen;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  transition: opacity .24s ease, filter .24s ease;
}

.auth-lamp-cord {
  position: absolute;
  inset-block-start: 7px;
  left: calc(50% + 40px);
  z-index: 4;
  width: 32px;
  height: 58px;
  min-width: 32px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #dcecf8;
  box-shadow: none;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  transition: transform .16s ease, opacity .16s ease;
  -webkit-tap-highlight-color: transparent;
}

html[dir="rtl"] .auth-lamp-cord { left: calc(50% - 40px); }

.auth-lamp-cord::before {
  inset-block-start: 0;
  width: 1px;
  height: 29px;
  background: linear-gradient(90deg, #111a28, #9eb0c8 55%, #1a293d);
  box-shadow: none;
  transition: height .16s ease, box-shadow .16s ease;
}

.auth-lamp-cord::after {
  inset-block-start: 26px;
  width: 10px;
  height: 15px;
  border-color: rgb(177 220 242 / 38%);
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(145deg, #58718d, #17263b 72%);
  box-shadow: 0 4px 9px rgb(0 2 9 / 45%), 0 1px 0 rgb(255 255 255 / 12%) inset;
  transition: inset-block-start .16s ease, border-color .16s ease, box-shadow .16s ease;
}

/* The button keeps its translated accessible name without a floating label. */
.auth-lamp-cord-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.auth-lamp-cord:is(:hover, :focus-visible):not(:disabled) {
  border-color: transparent;
  background: transparent;
  color: #fff;
  box-shadow: none;
  transform: translateX(-50%) translateY(2px);
}

.auth-lamp-cord:is(:hover, :focus-visible):not(:disabled)::before {
  box-shadow: 0 0 8px rgb(103 232 249 / 28%);
}

.auth-lamp-cord:is(:hover, :focus-visible):not(:disabled)::after {
  border-color: rgb(103 232 249 / 70%);
  box-shadow: 0 4px 9px rgb(0 2 9 / 45%), 0 0 11px rgb(34 211 238 / 20%);
}

.auth-lamp-cord:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 2px;
}

/* Content is intentionally visible in both lamp states. */
.auth-lamp-content,
.auth-lamp-stage.is-lit .auth-lamp-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  min-height: 0;
  opacity: 1;
  visibility: visible;
  filter: none;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.auth-lamp-stage.is-lit .auth-lamp-glow {
  opacity: .66;
  filter: blur(2px);
  transform: translateX(-50%);
}

.auth-lamp-stage.is-lit .auth-lamp-fixture {
  opacity: 1;
  transform: translateX(-50%);
}

.auth-lamp-stage.is-lit .auth-lamp-shade {
  border-color: rgb(144 220 247 / 42%);
  border-block-end-color: rgb(255 220 142 / 78%);
  background:
    linear-gradient(112deg, rgb(255 255 255 / 18%), transparent 38%),
    linear-gradient(180deg, #36536f, #13243a 80%);
  box-shadow: 0 6px 15px rgb(0 3 11 / 44%), 0 0 16px rgb(34 211 238 / 14%);
}

.auth-lamp-stage.is-lit .auth-lamp-shade::after {
  background: #ffe0a0;
  box-shadow: 0 0 8px #ffc65e, 0 0 17px rgb(34 211 238 / 26%);
}

.auth-lamp-stage.is-lit .auth-lamp-cord {
  height: 58px;
  opacity: .78;
  transform: translateX(-50%) translateY(2px);
}

.auth-lamp-stage.is-lit .auth-lamp-cord::before { height: 31px; }
.auth-lamp-stage.is-lit .auth-lamp-cord::after { inset-block-start: 28px; }

.auth-lamp-stage.is-waiting .auth-lamp-glow {
  animation: auth-lamp-waiting-professional 1.7s ease-in-out infinite;
}

.auth-lamp-stage.is-waiting .auth-lamp-cord { opacity: .34; }
.auth-lamp-stage.is-waiting .auth-provider:not(.is-loading) { opacity: .64; }

.auth-lamp-stage[data-provider="telegram"] .auth-lamp-glow,
.auth-lamp-stage[data-provider="google"] .auth-lamp-glow {
  background:
    radial-gradient(ellipse at 50% 0%, rgb(255 229 161 / 70%), rgb(245 185 75 / 23%) 40%, transparent 72%),
    linear-gradient(180deg, rgb(255 214 125 / 40%), rgb(238 174 61 / 9%) 72%, transparent);
}

@keyframes auth-lamp-waiting-professional {
  0%, 100% { opacity: .5; }
  50% { opacity: .7; }
}

/* The approved login remains dark navy in both site themes. */
:root[data-theme="light"] dialog.auth-login-dialog {
  border-color: rgb(80 195 246 / 34%);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 8%), transparent 29%),
    radial-gradient(circle at 8% 0%, rgb(34 211 238 / 13%), transparent 36%),
    radial-gradient(circle at 100% 82%, rgb(59 130 246 / 11%), transparent 42%),
    linear-gradient(160deg, rgb(13 28 50 / 98%), rgb(4 12 27 / 98%));
  color: #eef7ff;
  box-shadow:
    0 28px 80px rgb(0 4 15 / 56%),
    0 0 0 1px rgb(255 255 255 / 6%) inset,
    0 1px 0 rgb(255 255 255 / 15%) inset,
    -12px 0 38px rgb(34 211 238 / 9%),
    12px 0 42px rgb(59 130 246 / 10%);
}

:root[data-theme="light"] .auth-login-heading h2 { color: #f4f9ff; }
:root[data-theme="light"] .auth-login-trust,
:root[data-theme="light"] .auth-login-status { color: rgb(186 215 231 / 56%); }

:root[data-theme="light"] .auth-provider,
:root[data-theme="light"] .auth-provider-google,
:root[data-theme="light"] .auth-provider-telegram,
:root[data-theme="light"] .auth-logout {
  border-color: rgb(117 192 229 / 20%);
  background: rgb(7 20 39 / 72%);
  color: rgb(238 247 255 / 92%);
}

html[lang="ar"] .auth-login-heading h2,
html[lang="zh"] .auth-login-heading h2 { letter-spacing: 0; }

@media (max-width: 620px) {
  dialog.auth-login-dialog {
    width: min(408px, calc(100% - 24px));
    max-height: calc(100dvh - 20px);
    margin: auto;
    border: 1px solid rgb(80 195 246 / 30%);
    border-radius: 22px;
    animation-name: auth-dialog-in;
  }

  dialog.auth-login-dialog > .close {
    inset-block-start: 10px;
    inset-inline-end: 10px;
  }

  .auth-login-card {
    gap: 14px;
    padding: 18px 18px max(18px, env(safe-area-inset-bottom));
  }

  .auth-login-card::before { display: none; }

  .auth-brand-row {
    min-height: 31px;
    padding-inline-end: 38px;
  }

  .auth-lamp-content .auth-brand-row { padding-inline-end: 0; }
  .auth-lamp-decoration { height: 68px; }
  .auth-lamp-fixture { width: 60px; }
  .auth-lamp-shade { width: 54px; height: 26px; }
  .auth-lamp-glow { inset-block-start: 42px; width: min(214px, 68vw); height: 122px; }
  .auth-lamp-cord { left: calc(50% + 37px); }
  html[dir="rtl"] .auth-lamp-cord { left: calc(50% - 37px); }
  .auth-lamp-content { gap: 12px; }
  .auth-login-heading { padding-inline-end: 0; }
  .auth-login-heading h2,
  #service-content .auth-login-heading h1 { font-size: clamp(1.7rem, 8vw, 2rem); }
  .auth-login-heading .auth-script-line { font-size: .84rem; }
  .auth-provider { min-height: 54px; }
}

@media (max-width: 430px) {
  .auth-provider-list,
  .auth-login-loading { grid-template-columns: 1fr; }
  .auth-provider-copy strong { font-size: .84rem; }
}

@media (max-height: 620px) and (min-width: 431px) {
  .auth-login-card { padding-block: 14px 16px; }
  .auth-lamp-decoration { height: 60px; }
  .auth-lamp-glow { height: 112px; }
  .auth-lamp-content { gap: 10px; }
  .auth-provider { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  dialog.auth-login-dialog,
  .auth-provider,
  .auth-lamp-fixture,
  .auth-lamp-shade,
  .auth-lamp-shade::after,
  .auth-lamp-glow,
  .auth-lamp-cord,
  .auth-lamp-cord::before,
  .auth-lamp-cord::after,
  .auth-lamp-stage.is-waiting .auth-lamp-glow {
    animation: none;
    transition: none;
  }
}


.product-live, #purchase-view {
  --purchase-in-stock: #7ee2a4;
  --purchase-out-of-stock: #ff8a8a;
}
:root[data-theme="light"] :is(.product-live, #purchase-view) {
  --purchase-in-stock: #0d6844;
  --purchase-out-of-stock: #a32132;
}
.products .product-live {
  min-width: 0;
  padding: clamp(12px, 1.4vw, 20px);
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.products .product-live:hover { background: var(--surface); }
.products .product-live[data-available="false"] {
  background: color-mix(in srgb, var(--surface) 88%, var(--canvas));
  box-shadow: none;
}
.product-live .product-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}
.products .product-live .artwork,
.purchase-product-art {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(38px, 5vw, 58px);
  height: clamp(38px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--tint);
}
.product-live[data-available="false"] .artwork {
  background: var(--canvas);
}
.product-live .artwork .supplier-product-icon,
.purchase-product-art .supplier-product-icon { font-size: 1.45rem; }
.product-live .live-product-image,
.purchase-product-art .live-product-image {
  padding: 5px;
  object-fit: contain;
}
.product-live .availability,
#purchase-view .purchase-stock {
  position: static;
  align-self: start;
  max-width: 100%;
  padding: 4px 7px;
  line-height: 1.2;
  text-align: start;
  white-space: normal;
}
.product-live .availability::before,
#purchase-view .purchase-stock::before {
  flex: 0 0 .42rem;
  height: .42rem;
  margin: 0;
}
.product-live .availability[data-available="true"],
#purchase-view .purchase-stock[data-available="true"] {
  color: var(--purchase-in-stock);
  background: color-mix(in srgb, var(--purchase-in-stock) 10%, var(--surface));
}
.product-live .availability[data-available="false"],
#purchase-view .purchase-stock[data-available="false"] {
  color: var(--purchase-out-of-stock);
  background: color-mix(in srgb, var(--purchase-out-of-stock) 9%, var(--surface));
}
.product-live .availability[data-available="false"]::before {
  animation: none;
  box-shadow: none;
}
.product-live .product-info {
  min-width: 0;
  padding: 0;
  gap: 10px;
}
.product-live .product-info > strong {
  font-size: clamp(.94rem, 1.4vw, 1.13rem);
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.product-live .product-detail-link { color: var(--ink); }
.product-live .product-detail-link:hover { color: var(--green); }
.product-live .product-bottom {
  align-items: center;
  gap: 6px 8px;
  padding-top: 0;
}
.product-live .product-bottom .price {
  font-variant-numeric: tabular-nums;
  font-size: clamp(.94rem, 1.3vw, 1.15rem);
  font-weight: 750;
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}
.product-live .product-buy,
.purchase-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--primary-fill);
  color: var(--on-accent);
  font-weight: 700;
  text-align: center;
}
.product-live .product-buy:disabled,
.purchase-primary:disabled {
  border-color: var(--border);
  background: var(--canvas);
  color: var(--muted);
  box-shadow: none;
  cursor: default;
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
#purchase-add-to-cart {
  min-height: 42px;
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 650;
}
.purchase-actions [hidden] { display: none; }
.live-cart-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.live-cart-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.live-cart-line strong { overflow-wrap: anywhere; }
.live-cart-line strong a { color: var(--ink); }
.live-cart-line small { display: block; margin-block-start: 3px; color: var(--muted); }
.live-cart-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.live-cart-actions :is(button, a) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 11px;
  border-radius: 999px;
}
.live-cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 0;
}

#purchase-view,
#service-view {
  padding-block: clamp(24px, 5vw, 58px);
}
#store-catalogue[hidden], #purchase-view[hidden], #service-view[hidden] { display: none; }
#purchase-view [hidden], #service-view [hidden] { display: none; }
[dir="rtl"] #service-view .purchase-back > [aria-hidden] { transform: scaleX(-1); }
#service-content h1 {
  margin-block: 0 16px;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.17;
  overflow-wrap: anywhere;
}
#service-content :is(select, input) { background: var(--canvas); color: var(--ink); }
#service-content .row { flex-wrap: wrap; }
#service-content .row > * { min-width: 0; overflow-wrap: anywhere; }
#service-content .auth-login-heading {
  position: static;
  border: 0;
}
#service-view:has(> #service-content > .auth-login-card) {
  display: grid;
  grid-template-rows: auto 1fr;
  min-block-size: calc(100dvh - 110px);
  padding-block: clamp(14px, 2vw, 24px);
}
#service-content:has(> .auth-login-card) {
  width: min(100%, 408px);
  place-self: center;
  padding: 0;
  border: 1px solid rgb(80 195 246 / 34%);
  border-radius: 22px;
  background: radial-gradient(ellipse at top left, rgb(34 211 238 / 13%), transparent 60%), #0d1c32;
  color: #eef7ff;
}
#service-content .auth-brand-row,
#service-content .auth-login-heading { padding-inline-end: 0; }
.purchase-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-block-end: 16px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.purchase-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-end: 16px;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.purchase-header h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1.17;
  overflow-wrap: anywhere;
}
.purchase-header p { margin-block: 6px 0; }
.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(270px, 2fr);
  align-items: start;
  gap: 16px;
}
.purchase-panel {
  min-width: 0;
  padding: clamp(15px, 2.8vw, 28px);
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  color: var(--ink);
}
.purchase-panel h2 { margin: 0 0 14px; font-size: 1.17rem; }
.purchase-panel > :last-child { margin-block-end: 0; }
.purchase-product-art + h2 { margin-block-start: 12px; }
#purchase-view .purchase-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block: 10px 15px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
}
#purchase-view .purchase-stock::before {
  content: "";
  border-radius: 50%;
  background: currentColor;
}
.purchase-description {
  grid-column: 1 / -1;
}
.purchase-description p {
  max-inline-size: 72ch;
  margin-block: 0 1em;
  color: var(--ink);
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.purchase-description p:last-child { margin-block-end: 0; }
.purchase-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block: 12px;
}
.purchase-quantity label { font-weight: 650; }
.purchase-stepper { display: flex; align-items: center; gap: 6px; }
.purchase-quantity button,
.purchase-quantity input {
  min-width: 42px;
  min-height: 42px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--canvas);
  color: var(--ink);
  text-align: center;
}
.purchase-quantity input {
  width: 64px;
  appearance: textfield;
}
.purchase-quantity input::-webkit-inner-spin-button,
.purchase-quantity input::-webkit-outer-spin-button { appearance: none; }
.purchase-summary { margin-block: 10px 16px; }
.purchase-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-block: 10px;
  border-block-end: 1px solid var(--border);
}
.purchase-summary dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: end;
  overflow-wrap: anywhere;
}
.purchase-summary .purchase-total dd {
  color: var(--green);
  font-size: 1.16rem;
}
.purchase-payment { display: grid; gap: 6px; margin-block-end: 12px; }
.purchase-payment h2, .purchase-payment p { margin: 0; }
.purchase-payment [hidden] { display: none; }
.guest-email-field {
  display: grid;
  gap: 6px;
  margin-block: 6px 8px;
}
.guest-email-field input { width: 100%; }
.guest-email-field small, .purchase-method-note { color: var(--muted); line-height: 1.45; }
#purchase-sign-in { margin-inline-start: 6px; }
.account-delivery-action { margin-block-start: 5px; margin-inline-start: 8px; }
.add-funds-methods {
  margin-block-start: 12px;
}
.add-funds-back { margin-block-start: 12px; }
.guest-payment-summary p { margin: 0; }
.guest-payment-summary {
  display: grid;
  gap: 8px;
  margin-block: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.purchase-payment-options { display: grid; gap: 8px; }
.purchase-payment-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--ink);
  cursor: pointer;
}
.purchase-payment-option:has(input:checked) {
  border-color: var(--green);
  background: var(--tint);
}
.purchase-payment-option:has(input:disabled) { color: var(--muted); cursor: default; }
.purchase-payment-option input { margin: 0; accent-color: var(--green); }
.purchase-wallet-balance { color: var(--muted); font-size: .86rem; }
#purchase-wallet-funds, #purchase-wallet-link { justify-self: start; }
#purchase-wallet-bot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.purchase-status {
  color: var(--muted);
  line-height: 1.42;
  overflow-wrap: anywhere;
}
#purchase-view > .purchase-status {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
}
@media (max-width: 680px) {
  .products .product-live { padding: 11px; gap: 9px; }
  .product-live .product-info { gap: 8px; }
  .product-live .product-buy { min-height: 40px; padding-inline: 10px; }
  .purchase-layout { grid-template-columns: minmax(0, 1fr); }
  .purchase-header { margin-block-end: 12px; }
}
@media (max-width: 360px) {
  .products .product-live { padding: 8px; }
  .product-live .product-top { gap: 4px; }
  .product-live .availability { padding-inline: 4px; font-size: .67rem; }
  .product-live .product-bottom .price { font-size: .86rem; }
}

/* Storefront header and shared navigation drawer. */
:root {
  --stock-status-height: 0px;
  --mobile-header-height: calc(66px + var(--stock-status-height));
  --account-blue: #7dd3fc;
  --account-blue-dark: #102c46;
  --account-positive: #6ee7b7;
  --account-exit: #fda4af;
}
:root[data-theme="light"] {
  --account-blue: #075985;
  --account-blue-dark: #dff2fd;
  --account-positive: #047857;
  --account-exit: #b91c1c;
}
:root:has(#store-stock-status:not([hidden])) { --stock-status-height: 24px; }
#catalogue { scroll-margin-block-start: calc(var(--mobile-header-height) + 12px); }
.site-header {
  padding: 7px clamp(6px, 1.6vw, 22px);
}
.store-stock-status:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 20px;
  margin-block-end: 4px;
  padding-inline: 10px;
  border-radius: 6px;
  color: var(--ink);
  background: color-mix(in srgb, var(--tint) 85%, var(--surface));
  font-size: .74rem;
  font-weight: 650;
}
.store-stock-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #219665;
}
#store-stock-message {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.site-header .header-inner {
  width: 100%;
  max-width: 1280px;
  min-height: 52px;
  gap: 12px;
  padding: 3px 10px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--canvas) 42%, transparent);
  backdrop-filter: blur(10px);
}
.site-header .brand {
  gap: 7px;
  min-width: 0;
  padding: 0 2px;
  font-size: clamp(1rem, 2vw, 1.19rem);
}
.site-header .brand-logo {
  width: 37px;
  height: auto;
  flex: none;
}
.site-header .brand-name { white-space: nowrap; }
.desktop-store-nav { display: none; }
.header-tools {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}
.header-tools button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 10px;
  font-weight: 700;
}
.header-tools button[hidden] { display: none; }
.header-tools .header-search,
.header-tools .header-balance,
.header-tools .header-cart,
.header-tools .header-menu {
  color: var(--ink);
  background: color-mix(in srgb, var(--canvas) 68%, var(--surface));
}
.header-tools .header-search:hover,
.header-tools .header-balance:hover,
.header-tools .header-cart:hover,
.header-tools .header-menu:hover {
  background: var(--tint);
}
.header-tools .header-search { min-width: 118px; justify-content: flex-start; }
.header-search-label { color: var(--muted); font-size: .88rem; }
.header-balance-icon {
  position: relative;
  width: 16px;
  height: 12px;
  flex: 0 0 16px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  color: var(--green);
}
.header-balance-icon::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -1px;
  width: 6px;
  height: 4px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: var(--surface);
  transform: translateY(-50%);
}
#header-balance-compact { display: none; }
#header-balance[data-funded="true"] :is(#header-balance-value, #header-balance-compact) { color: var(--wallet-positive); }
#header-balance-value {
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  unicode-bidi: isolate;
}
.search-glyph {
  position: relative;
  box-sizing: border-box;
  width: 13px;
  height: 13px;
  margin-inline-end: 2px;
  flex: 0 0 13px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}
.search-glyph::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.8px;
  right: -4px;
  bottom: -2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.header-tools .header-cart {
  position: relative;
  width: 42px;
  flex: 0 0 auto;
  padding-inline: 0;
  border-radius: 50%;
}
.cart-glyph {
  position: relative;
  width: 19px;
  height: 17px;
  flex: 0 0 19px;
}
.cart-glyph > span,
.cart-glyph::before,
.cart-glyph::after { position: absolute; }
.cart-glyph > span {
  top: 1px;
  left: 0;
  width: 5px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.cart-glyph::before {
  content: "";
  top: 2px;
  left: 4px;
  width: 13px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 1px 2px 3px 3px;
  transform: skewX(-10deg);
}
.cart-glyph::after {
  content: "";
  bottom: 1px;
  left: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px 0 currentColor;
}
.header-cart-count {
  position: absolute;
  inset-block-start: 1px;
  inset-inline-end: 1px;
  min-width: 15px;
  padding: 2px 3px;
  border: 1px solid var(--surface);
  border-radius: 999px;
  background: var(--green);
  color: var(--on-accent);
  font-size: .625rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
}
.site-header #login {
  min-width: 90px;
  white-space: nowrap;
  line-height: 1.15;
}
.header-account-avatar { display: none; }
.header-account-avatar:has(> :not([hidden])) {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  flex: 0 0 25px;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: color-mix(in srgb, var(--on-accent) 9%, transparent);
  color: inherit;
  font-size: .78rem;
  line-height: 1;
}
.header-account-avatar img,
.mobile-account-avatar img,
.account-quick-image {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.site-header #header-menu { width: 44px; min-width: 44px; padding-inline: 0; }
.site-header .header-menu .live-icon { font-size: 1.12rem; line-height: 1; }

@media (min-width: 1120px) and (hover: hover) and (pointer: fine) {
  body {
    --desktop-density: .8;
    zoom: var(--desktop-density);
  }
  .hero h1 {
    font-size: clamp(2.75rem, calc(5.1vw / var(--desktop-density)), 5.4rem);
  }
}

@media (min-width: 1120px) {
  .site-header { padding: 8px clamp(16px, 2.25vw, 30px); }
  .site-header .header-inner {
    max-width: none;
    min-height: 72px;
    gap: clamp(12px, 1.45vw, 24px);
    padding-inline: clamp(14px, 1.8vw, 28px);
  }
  .site-header .brand { gap: 9px; font-size: clamp(1.22rem, 1.7vw, 1.5rem); }
  .site-header .brand-logo { width: 56px; }
  .desktop-store-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: clamp(3px, .7vw, 12px);
    min-width: 0;
  }
  .desktop-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px clamp(9px, .85vw, 15px);
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--canvas) 42%, var(--surface));
    color: var(--ink);
    font-size: .94rem;
    font-weight: 670;
    white-space: nowrap;
  }
  .desktop-nav-item:is(:hover, :focus-visible, [aria-current="page"]),
  .desktop-products[open] > summary {
    border-color: color-mix(in srgb, var(--green) 55%, var(--border));
    background: var(--tint);
    color: var(--green);
  }
  .desktop-nav-item:is(:hover, :focus-visible) {
    box-shadow: inset 0 -1px 0 var(--green), 0 3px 15px color-mix(in srgb, var(--green) 26%, transparent);
  }
  .desktop-products { position: relative; }
  .desktop-products > summary {
    cursor: pointer;
    list-style: none;
  }
  .desktop-products > summary::-webkit-details-marker { display: none; }
  .desktop-products > summary:focus-visible {
    outline: 3px solid #0ea5e9;
    outline-offset: 2px;
  }
  .desktop-nav-chevron { color: var(--muted); line-height: 1; }
  .desktop-products[open] .desktop-nav-chevron { transform: rotate(180deg); }
  .desktop-categories {
    position: absolute;
    z-index: 1;
    inset-block-start: calc(100% + 9px);
    inset-inline-start: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 6px;
    inline-size: min(42rem, 62vw);
    max-block-size: min(62dvh, 29rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(155deg, color-mix(in srgb, var(--tint) 48%, var(--surface)), var(--surface) 65%);
    box-shadow: 0 16px 36px rgb(0 0 0 / 32%);
  }

  .desktop-products .desktop-categories > .nav-category {
    min-block-size: 53px;
    padding: 8px 10px;
  }
  .header-tools {
    gap: clamp(6px, .65vw, 12px);
    reading-flow: flex-visual;
  }
  .header-tools button { min-height: 44px; }
  .header-tools :is(.header-search, .header-balance) {
    padding-inline: 16px;
    border-radius: 999px;
  }
  .header-tools .header-search {
    order: -2;
    min-width: clamp(138px, 12vw, 198px);
  }
  .header-tools .header-cart { order: -1; width: 44px; }
  .header-tools .header-balance { min-width: clamp(118px, 9.5vw, 148px); }
  .site-header #header-menu { height: 44px; border-radius: 50%; }
  .site-header[data-signed-in="true"] #header-menu { display: none; }
  .site-header #login { min-width: 94px; }
  .site-header[data-signed-in="true"] #login {
    width: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 50%;
  }
  .site-header[data-signed-in="true"] .header-account-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: .9rem;
  }
  .site-header[data-signed-in="true"] #header-account-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  #catalogue { scroll-margin-block-start: calc(100px + var(--stock-status-height)); }
}

.site-header #account-nav {
  position: fixed;
  inset-block: 0;
  inset-inline: auto 0;
  width: min(385px, calc(100vw - 16px));
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-width: 0;
  border-inline-start-width: 1px;
  border-radius: 0;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 14px 42px rgb(0 0 0 / 30%);
  pointer-events: auto;
}
.site-header #account-nav[open] { display: flex; flex-direction: column; }
.site-header #account-nav::backdrop { background: rgb(2 8 21 / 66%); }
body.store-drawer-open { overflow: hidden; }
.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: none;
  min-height: 60px;
  padding: 8px 16px;
  border-block-end: 1px solid var(--border);
}
.drawer-heading h2 { margin: 0; font-size: 1.12rem; }
.drawer-brand { display: flex; align-items: center; gap: 7px; min-width: 0; }
.drawer-brand-logo { flex: none; object-fit: contain; }
.drawer-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 9px;
  font-size: 1.45rem;
  line-height: 1;
}
.drawer-scroll {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 12px 16px 0;
}
.drawer-guest-card { flex: none; }
.drawer-guest-card:not(:has(button:not([hidden]))) { display: none; }
.drawer-menu-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
.drawer-footer {
  display: grid;
  flex: 0 0 auto;
  gap: 7px;
  margin-inline: -16px;
  padding: 9px 16px max(12px, env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--border);
  background: var(--surface);
}
.drawer-footer .drawer-funds,
.drawer-footer .drawer-funds:is(:hover, :focus-visible) {
  justify-content: center;
  border-color: var(--green);
  color: var(--on-accent);
  background: var(--primary-fill);
  text-align: center;
}
.drawer-footer .drawer-funds:hover { box-shadow: 0 0 0 2px var(--tint); }
.drawer-footer .mobile-logout .drawer-item { justify-content: center; }
.drawer-navigation {
  display: grid;
  flex: 1 1 auto;
  align-content: start;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding-block-end: max(16px, env(safe-area-inset-bottom));
}
.drawer-divider { border-block-start: 1px solid var(--border); margin-block: 8px; }
.drawer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 43px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  text-align: start;
  font-size: .9rem;
  font-weight: 650;
}
.drawer-item:is(:hover, :focus-visible) {
  background: var(--tint);
  border-color: var(--border);
}
.drawer-item :is(.drawer-icon, .language-flag),
.account-quick-avatar { flex: none; }
.drawer-icon {
  display: grid;
  place-items: center;
  width: 23px;
  color: var(--green);
  font-size: .98rem;
  line-height: 1;
}
.drawer-trailing,
.drawer-chevron { margin-inline-start: auto; color: var(--muted); }
.drawer-chevron { font: 1.02rem/1 system-ui, sans-serif; }
.drawer-item #header-wallet-balance {
  color: var(--green);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}
.drawer-products summary,
.drawer-navigation .language-control summary {
  direction: inherit;
  cursor: pointer;
  list-style: none;
}
.drawer-products summary:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 1px;
}
.drawer-products summary::-webkit-details-marker { display: none; }
.drawer-products[open] .drawer-chevron { transform: rotate(180deg); }
.drawer-categories {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin-inline-start: 12px;
}
:is(.desktop-categories, .drawer-categories) > .nav-category {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-inline-size: 0;
  min-block-size: 44px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.3;
  text-align: start;
  text-decoration: none;
}
:is(.desktop-categories, .drawer-categories) > .nav-category:is(:hover, :focus-visible, [aria-current="page"]) {
  border-color: color-mix(in srgb, var(--green) 42%, var(--border));
  background: var(--tint);
}
:is(.desktop-categories, .drawer-categories) > .nav-category:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.nav-category[aria-current="page"] .nav-category-copy strong { color: var(--green); }
.nav-category-icon {
  display: grid;
  grid-column: 1;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--green);
}
[data-category-tone="all"] { --category-glyph: #67e8f9; }
[data-category-tone="apps"] { --category-glyph: #c4b5fd; }
[data-category-tone="streaming"] { --category-glyph: #fda4af; }
[data-category-tone="cloud"] { --category-glyph: #93c5fd; }
[data-category-tone="accounts"] { --category-glyph: #6ee7b7; }
[data-category-tone="vpn"] { --category-glyph: #fcd34d; }
[data-category-tone="reddit"] { --category-glyph: #fd986a; }
.catalogue-toolbar .category-icon, .nav-category-icon {
  color: var(--category-glyph, var(--green));
  background: color-mix(in srgb, var(--category-glyph, var(--green)) 15%, var(--canvas));
}
:root[data-theme="light"] :is(.catalogue-toolbar .category-icon, .nav-category-icon) {
  color: color-mix(in srgb, var(--category-glyph, var(--green)) 52%, black);
}
.nav-category-copy {
  display: grid;
  grid-column: 2;
  gap: 1px;
  min-inline-size: 0;
}
.nav-category-copy strong {
  font-weight: 670;
  overflow-wrap: anywhere;
}
.nav-category-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: .76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-category-arrow {
  grid-column: 3;
  color: var(--muted);
}
[dir="rtl"] .nav-category-arrow { transform: scaleX(-1); }
.drawer-navigation .language-control {
  display: block;
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  white-space: normal;
}
.drawer-navigation .language-control:focus-within { box-shadow: none; }
.drawer-navigation .language-flag { width: 23px; height: 16px; flex-basis: 23px; }
.drawer-navigation #language-current-label { font-size: .78rem; }
.drawer-navigation .language-menu {
  position: static;
  min-width: 0;
  margin-inline-start: 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
  direction: inherit;
}
.drawer-navigation .language-option { min-height: 40px; }
.drawer-guest-login {
  width: 100%;
  min-height: 42px;
  margin-block-end: 8px;
  border-radius: 9px;
  font-weight: 700;
}
.mobile-account-summary:not([hidden]) {
  display: grid;
  gap: 10px;
  margin-block-end: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: color-mix(in srgb, var(--tint) 50%, var(--surface));
}
.mobile-account-identity,
.account-quick-identity { display: flex; gap: 10px; align-items: center; min-width: 0; }
#drawer-account {
  width: 100%;
  padding: 5px;
  border-color: transparent;
  background: transparent;
  text-align: start;
}
#drawer-account:hover {
  border-color: var(--border);
  background: var(--tint);
}
#drawer-account .mobile-account-avatar { flex: none; }
.drawer-account-chevron {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1;
}
[dir="rtl"] .drawer-account-chevron { transform: rotate(180deg); }
.mobile-account-avatar,
.account-quick-avatar {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--tint);
  color: var(--green);
  font-weight: 750;
}
.mobile-account-copy,
.account-quick-identity > :last-child { min-width: 0; overflow-wrap: anywhere; }
.mobile-account-copy :is(strong, small) { display: block; }
.mobile-account-copy [hidden] { display: none; }
.mobile-account-wallet,
.account-quick-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
  min-height: 44px;
  width: 100%;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--account-blue) 29%, var(--border));
  border-radius: 999px;
  background: var(--account-blue-dark);
  color: var(--account-blue);
  font-size: .85rem;
  font-weight: 650;
  text-align: start;
}
.mobile-account-wallet strong,
.account-quick-balance strong {
  margin-inline-start: auto;
  color: var(--account-positive);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.mobile-logout .drawer-item {
  border-color: color-mix(in srgb, var(--account-exit) 28%, var(--border));
  color: var(--account-exit);
}

.account-quick-panel,
.header-search-panel { margin-block: 4px 0; }
.account-quick-panel,
#account-nav {
  --account-outline: color-mix(in srgb, var(--muted) 58%, var(--border));
  --account-card-fill: color-mix(in srgb, var(--tint) 34%, var(--surface));
}
#dialog:has(.account-quick-panel) {
  inset-block: 72px auto;
  inset-inline: auto max(12px, calc((100vw - 1250px) / 2));
  width: min(410px, calc(100vw - 24px));
  max-height: calc(100dvh - 84px);
  margin: 0;
  padding: 18px;
  border-radius: 22px;
  overscroll-behavior: contain;
}
#dialog:has(.account-quick-panel)::backdrop { background: rgb(2 8 21 / 38%); }
@media (width < 1120px) {
  html:has(#dialog.account-menu-from-header[open], #account-nav[open]) { scrollbar-gutter: stable; }
  html:has(#dialog.account-menu-from-header[open], #account-nav[open]),
  html:has(#dialog.account-menu-from-header[open], #account-nav[open]) body {
    overflow: hidden;
    overscroll-behavior: none;
  }
  #dialog.account-menu-from-header:has(.account-quick-panel) {
    width: min(410px, 70%);
    padding: clamp(10px, 3.5vw, 16px);
  }
  .account-menu-from-header .account-language-control summary { flex-wrap: wrap; }
}
@media (width < 1120px) and (prefers-reduced-motion: no-preference) {
  #dialog.account-menu-from-header[open],
  #account-nav[open] {
    --account-menu-enter-from: 12px;
    animation: account-menu-enter 160ms ease-out;
  }
  [dir="rtl"] :is(#dialog.account-menu-from-header, #account-nav)[open] { --account-menu-enter-from: -12px; }
}
@keyframes account-menu-enter {
  from { opacity: 0; translate: var(--account-menu-enter-from) 0; }
  to { opacity: 1; translate: 0 0; }
}
.header-search-panel h2 { margin-block-end: 16px; font-size: 1.22rem; line-height: 1.25; }
.account-quick-panel h2 { margin-block: 0 3px; font-size: 1.16rem; line-height: 1.25; }
.account-quick-identity { gap: 13px; margin-block-end: 15px; }
.account-quick-avatar { width: 52px; height: 52px; }
.account-quick-avatar.account-photo-trigger {
  position: relative;
  padding: 0;
  overflow: visible;
  border-color: var(--account-blue);
}
.account-photo-trigger .account-quick-image { position: absolute; inset: 0; }
#account-avatar-file[hidden] { display: none; }
.account-photo-cue {
  position: absolute;
  inset-block-end: -3px;
  inset-inline-end: -3px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--account-blue-dark);
  color: var(--account-blue);
  font-size: .69rem;
  line-height: 1;
}
.account-photo-cue::before,
.account-photo-cue::after {
  grid-area: 1 / 1;
  border: 1px solid currentColor;
  content: "";
}
.account-photo-cue::before { width: 12px; height: 8px; border-radius: 2px; }
.account-photo-cue::after { width: 4px; height: 4px; border-radius: 50%; }
.account-quick-identity small { display: block; }
.account-session-indicator {
  color: var(--account-positive);
  font-size: .75rem;
  font-weight: 700;
}
.account-session-indicator::before {
  display: inline-block;
  width: .48rem;
  height: .48rem;
  margin-inline-end: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  vertical-align: .05em;
}
.account-quick-actions {
  display: grid;
  gap: 6px;
  margin-block-start: 12px;
}
.account-quick-actions :is(button, a),
.account-quick-preferences summary,
.account-quick-preferences > button,
.account-quick-logout button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 41px;
  width: 100%;
  padding: 7px 13px;
  border: 1px solid var(--account-outline);
  border-radius: 999px;
  background: transparent;
  font-size: .94rem;
  font-weight: 630;
  line-height: 1.4;
  text-align: start;
  overflow-wrap: anywhere;
}
.account-quick-actions a {
  color: var(--ink);
  text-decoration: none;
}
.account-action-icon {
  display: inline-grid;
  width: 22px;
  place-items: center;
  flex: 0 0 22px;
  color: var(--account-blue);
  font-size: 1rem;
  line-height: 1;
}
.account-quick-actions :is(button, a):is(:hover, :focus-visible),
.account-quick-preferences summary:is(:hover, :focus-visible),
.account-quick-preferences > button:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--account-blue) 64%, var(--account-outline));
  background: var(--tint);
  box-shadow: 0 0 14px color-mix(in srgb, var(--account-blue) 19%, transparent);
}
.account-quick-logout { margin-block-start: 10px; }
.account-quick-logout button {
  border-color: color-mix(in srgb, var(--account-exit) 36%, var(--account-outline));
  color: var(--account-exit);
  font-weight: 650;
}
.account-quick-logout button:is(:hover, :focus-visible) {
  border-color: var(--account-exit);
  box-shadow: 0 0 14px color-mix(in srgb, var(--account-exit) 22%, transparent);
}
.account-exit-icon {
  display: inline-grid;
  width: 22px;
  place-items: center;
  flex: 0 0 22px;
  font-size: 1.12rem;
  line-height: 1;
}
[dir="rtl"] .account-exit-icon { transform: scaleX(-1); }
.account-quick-preferences {
  display: grid;
  gap: 6px;
  margin-block-start: 12px;
}
.account-quick-preferences details { min-width: 0; }
.account-quick-preferences summary {
  cursor: pointer;
  list-style: none;
}
.account-quick-preferences summary::-webkit-details-marker { display: none; }
.account-quick-preferences summary::marker { content: ""; }
.account-quick-preferences summary::after {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-inline-start: 3px;
  border-inline-end: 1.5px solid var(--muted);
  border-block-end: 1.5px solid var(--muted);
  content: "";
  transform: rotate(45deg);
}
[dir="rtl"] .account-quick-preferences summary::after { transform: rotate(-45deg); }
.account-quick-preferences details[open] summary::after { rotate: 180deg; }
.account-language-control summary .language-flag { margin-inline-start: auto; }
.account-catalogue-control summary::after { margin-inline-start: auto; }
.account-catalogue-control[open] .drawer-categories { margin-block-start: 5px; }
.account-quick-preferences summary:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 3px; }
.account-language-options {
  display: grid;
  gap: 3px;
  margin-block-start: 5px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 15px;
}
.account-language-options .language-option { min-height: 37px; border-radius: 999px; }
.account-language-control:not([open]) .account-language-options { display: none; }
@media (min-width: 1120px) {
  #dialog.account-quick-popover {
    position: fixed;
    z-index: 60;
    inset-block: var(--account-popover-top, 88px) auto;
    inset-inline: auto var(--account-popover-inline-end, 16px);
    width: min(300px, calc(100vw - 24px));
    max-height: max(0px, min(72dvh, calc(100dvh - var(--account-popover-top, 88px) - 12px)));
    margin: 0;
    padding: 16px;
    border-color: color-mix(in srgb, var(--account-blue) 21%, var(--border));
    box-shadow: 0 15px 42px rgb(2 8 21 / 38%);
  }
  #dialog.account-quick-popover > .close {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
  }
  #dialog.account-quick-popover > .close button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    border-radius: 50%;
  }
}
#dialog[open]:has(.account-menu-scroll),
#dialog:has(.account-menu-scroll) > #content,
.account-quick-panel:has(.account-menu-scroll) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#dialog[open]:has(.account-menu-scroll) { overflow: hidden; }
#dialog:has(.account-menu-scroll) > #content,
.account-quick-panel:has(.account-menu-scroll) { flex: 1 1 auto; }
.account-quick-panel:has(.account-menu-scroll) {
  gap: 9px;
  margin: 0;
}
#dialog:has(.account-menu-scroll) > .close {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 1;
}
#dialog:has(.account-menu-scroll) > .close button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
}
.account-menu-brand { display: none; }
.account-profile-card {
  display: grid;
  flex: none;
  gap: 9px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--account-card-fill);
}
.account-profile-card .account-quick-identity {
  gap: 9px;
  margin: 0;
  padding-inline-end: 29px;
}
.account-profile-card .account-quick-identity h2 { font-size: 1.05rem; }
.account-profile-card .account-quick-avatar { width: 44px; height: 44px; }
.account-profile-card .account-quick-balance {
  min-height: 42px;
  padding: 6px 9px;
  border-radius: 10px;
}
.account-profile-card .account-quick-balance > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.account-profile-card .account-avatar-status:empty { display: none; }
.account-profile-card .account-avatar-status:not(:empty) { margin: 0; overflow-wrap: anywhere; }
.account-menu-scroll {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  margin: -6px;
  padding: 6px;
  overflow: hidden auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
}
.account-menu-scroll .account-quick-actions { margin-block-start: 0; }
@media (width < 1120px) {
  .site-header #account-nav {
    inset-block: 72px auto;
    inset-inline: auto 12px;
    width: min(410px, 70%);
    height: auto;
    max-height: calc(100dvh - 84px);
    padding: clamp(10px, 3.5vw, 16px);
    border: 1px solid var(--border);
    border-radius: 22px;
    gap: 9px;
  }
  .site-header #account-nav::backdrop { background: rgb(2 8 21 / 38%); }
  #account-nav .drawer-heading {
    min-height: 35px;
    padding: 0;
    padding-inline-end: 39px;
    border: 0;
  }
  #account-nav .drawer-heading h2 {
    font-size: .92rem;
    font-weight: 750;
    overflow-wrap: anywhere;
  }
  #account-nav .drawer-brand-logo { width: 27px; height: 27px; border-radius: 50%; }
  #account-nav .drawer-close {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
  }
  #account-nav .drawer-close:focus-visible { outline-width: 2px; outline-offset: 1px; }
  #account-nav .drawer-scroll { gap: 9px; padding: 0; }
  #account-nav .drawer-guest-card {
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--account-card-fill);
  }
  #account-nav .drawer-guest-login { margin: 0; border-radius: 999px; }
  #account-nav .drawer-menu-content {
    display: block;
    margin: -6px;
    padding: 6px;
    overflow: hidden auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
  }
  #account-nav .drawer-navigation { gap: 6px; padding-block-end: 0; overflow: visible; }
  #account-nav .drawer-divider { display: none; }
  #account-nav .drawer-footer { margin: 6px 0 0; padding: 0; border: 0; background: transparent; }
  #account-nav :is(.drawer-navigation, .drawer-footer) .drawer-item {
    justify-content: flex-start;
    gap: 8px;
    min-height: 41px;
    padding: 7px 13px;
    border-color: var(--account-outline);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: .94rem;
    font-weight: 630;
    line-height: 1.4;
    text-align: start;
    overflow-wrap: anywhere;
  }
  #account-nav :is(.drawer-navigation, .drawer-footer) .drawer-item:is(:hover, :focus-visible) {
    border-color: color-mix(in srgb, var(--account-blue) 64%, var(--account-outline));
    background: var(--tint);
    box-shadow: 0 0 14px color-mix(in srgb, var(--account-blue) 19%, transparent);
  }
  #account-nav .drawer-funds > :first-child { width: 23px; text-align: center; color: var(--account-blue); }
  #account-nav .drawer-item .drawer-icon { color: var(--account-blue); }
  #account-nav .drawer-navigation #language-toggle { flex-wrap: wrap; }
  .account-menu-brand {
    display: flex;
    flex: none;
    align-items: center;
    gap: 7px;
    min-height: 35px;
    padding-inline-end: 39px;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 750;
    overflow-wrap: anywhere;
  }
  .account-menu-brand img {
    flex: none;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: contain;
  }
  .account-menu-brand + .account-profile-card .account-quick-identity { padding-inline-end: 0; }
}
@media (width < 1120px) and (max-height: 440px) {
  .site-header #account-nav {
    inset-block-start: 12px;
    max-height: calc(100dvh - 24px);
  }
}
@media (max-height: 440px) {
  #dialog.account-menu-from-header:has(.account-menu-scroll) {
    inset-block-start: 12px;
    max-height: calc(100dvh - 24px);
  }
  .account-profile-card { gap: 6px; padding: 7px; }
  .account-profile-card .account-quick-avatar { width: 36px; height: 36px; }
}
.header-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.header-search-form label { min-width: 0; margin: 0; }
.header-search-form :is(input, button) { min-height: 42px; margin: 0; }
.header-search-form input {
  color: var(--ink);
  background: var(--canvas);
}
.header-search-hint {
  margin-block: 11px 5px;
  color: var(--muted);
  font-size: .83rem;
}
.header-search-results {
  display: grid;
  max-height: min(45vh, 300px);
  gap: 3px;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 10px 0 0;
  padding: 3px;
  list-style: none;
}
.header-search-results:empty { display: none; }
.header-search-results :is(a, button, [role="option"]) {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 39px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--ink);
  background: var(--canvas);
  text-align: start;
  overflow-wrap: anywhere;
}
.header-search-results :is(a, button, [role="option"]):is(.is-active, :hover, :focus-visible),
.header-search-results .is-active > :is(a, button) {
  border-color: var(--green);
  background: var(--tint);
}

.wallet-overview { display: grid; gap: 13px; }
.wallet-overview > h2 { margin-block: 0; font-size: 1.22rem; }
.wallet-summary {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  background: linear-gradient(145deg, var(--tint), var(--surface));
  font-size: .85rem;
}
.wallet-summary strong {
  justify-self: start;
  color: var(--green);
  font-size: clamp(1.35rem, 6vw, 2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.wallet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.wallet-actions :is(a, button) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-weight: 650;
}
.wallet-actions :is(a, button):hover { border-color: var(--green); }
.wallet-actions a { color: var(--ink); }
.wallet-connections,
.wallet-activity {
  display: grid;
  gap: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.wallet-connections :is(h2, h3),
.wallet-activity :is(h2, h3) { margin: 0 0 6px; font-size: .94rem; }
.wallet-connections ul,
.wallet-activity ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.wallet-connections :is(li, .row),
.wallet-activity :is(li, .row) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  padding-block: 7px;
  border-block-end: 1px solid var(--border);
  font-size: .84rem;
}
.wallet-connections :is(li, .row):last-child,
.wallet-activity :is(li, .row):last-child { border-block-end: 0; }
.wallet-connections small,
.wallet-activity small { color: var(--muted); }

#service-content:has(> .wallet-dashboard) {
  padding: 0;
  border: 0;
  background: transparent;
}
#service-content:has(> .orders-dashboard) {
  padding: 0;
  border: 0;
  background: transparent;
}
.orders-dashboard {
  display: grid;
  gap: clamp(12px, 2.5vw, 20px);
  min-width: 0;
}
.orders-heading {
  border: 0;
  background: transparent;
}
.orders-heading :is(h1, h2), #service-content .orders-heading h1 { margin: 0; }
.orders-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.orders-heading p, .orders-result, .orders-empty, .orders-row-main small { color: var(--muted); }
.orders-heading p { margin: .4rem 0 0; }
.orders-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-inline-size: 0;
}
.orders-metric, .orders-recent {
  display: grid;
  align-content: start;
  gap: 10px;
  min-inline-size: 0;
  padding: clamp(12px, 2.2vw, 20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.orders-metric { background: radial-gradient(ellipse at 92% 0%, var(--tint), transparent 64%), var(--surface); }
.orders-recent:has(.orders-toolbar) {
  padding: 0;
  border: 0;
  background: transparent;
}
.orders-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.orders-metric h3, .orders-recent h3, .orders-result, .orders-empty { margin: 0; }
.orders-metric h3 { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.orders-metric > strong { font-size: clamp(1.35rem, 4vw, 2.25rem); line-height: 1.16; overflow-wrap: anywhere; }
.orders-metric > strong small { font-size: .58em; }
.orders-search,
#service-content .orders-search {
  position: relative;
  flex: 1;
  display: grid;
  min-inline-size: 0;
  margin: 0;
}
.orders-search label,
#service-content .orders-search label { margin: 0; }
.orders-search .search-glyph {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 16px;
  z-index: 1;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}
.orders-search input[type="search"],
#service-content .orders-search input[type="search"] {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 48px;
  margin: 0;
  padding: 9px 13px;
  padding-inline-start: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 1rem;
}
.orders-search input[type="search"]::placeholder { color: var(--muted); opacity: 1; }
.orders-shortcuts, .orders-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.orders-toolbar .orders-filters {
  flex: 0 1 auto;
  gap: 4px;
  max-inline-size: 100%;
  padding: 4px;
  border-radius: 12px;
  background: var(--tint);
}
.orders-shortcuts > p { margin: 0; }
.orders-shortcuts :is(a, button), .orders-filters button, .orders-row button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.orders-shortcuts a:not(.primary), .orders-filters button { color: var(--ink); }
html:has(#wallet-service-links:not([hidden])) { scrollbar-gutter: stable; }
.service-tools {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.service-tools .purchase-back { min-inline-size: 0; overflow-wrap: anywhere; }
.wallet-service-links {
  flex: none;
  margin-left: auto;
  margin-block-end: 16px;
}
[dir="rtl"] .service-tools { flex-direction: row-reverse; }
.wallet-service-links a { justify-content: center; }
.wallet-service-links a[aria-current="page"],
.wallet-service-links:not(:has([aria-current])) #wallet-service-funds {
  border-color: var(--green);
  background: var(--primary-fill);
  color: var(--on-accent);
}
.orders-toolbar .orders-filters button {
  min-height: 38px;
  border-color: transparent;
  border-radius: 8px;
}
.orders-filters button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--tint);
  color: var(--green);
}
.orders-result { font-size: .85rem; }
.orders-list { display: grid; gap: 8px; }
.orders-empty-state {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-block-size: clamp(200px, 32vw, 264px);
  padding: clamp(24px, 4vw, 42px) 16px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  background: var(--surface);
  text-align: center;
}
.orders-empty-icon {
  display: grid;
  place-items: center;
  inline-size: 46px;
  block-size: 46px;
  border-radius: 13px;
  background: var(--tint);
  font-size: 1.35rem;
}
.orders-empty-state :is(h3, h4) {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 720;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.orders-empty-state p { margin: 0; color: var(--muted); }
.orders-empty-state .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 42px;
  max-inline-size: 100%;
  margin-block-start: 4px;
  padding: 8px 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-weight: 670;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.orders-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 16px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--canvas);
}
.orders-row-main, .orders-row-value { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.orders-row-value { justify-items: end; text-align: end; }
.orders-product-name { font-weight: 700; }
.orders-product-name > strong { color: var(--muted); font-size: .85em; }
.orders-state {
  width: fit-content;
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.45;
}
.orders-state[data-order-state="delivered"] { color: var(--wallet-positive); }
.orders-state[data-order-state="progress"] { color: var(--green); }
.orders-row .account-delivery-action { margin: 0; justify-self: end; }
dialog .orders-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
dialog .orders-toolbar { flex-direction: column; align-items: stretch; }
@media (max-width: 760px) {
  .orders-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .orders-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .orders-row { grid-template-columns: minmax(0, 1fr) minmax(0, 36%); }
  .orders-row .account-delivery-action { grid-column: 1 / -1; }
}
:is(.wallet-dashboard, .add-funds-panel) {
  --wallet-disconnected: #fda4af;
  --wallet-soft: color-mix(in srgb, var(--tint) 52%, var(--surface));
}
:root[data-theme="light"] :is(.wallet-dashboard, .add-funds-panel) {
  --wallet-disconnected: #b42342;
}
.wallet-dashboard {
  --wallet-space: clamp(15px, 3vw, 28px);
  --wallet-gap: clamp(12px, 2vw, 20px);
  --wallet-radius: 18px;
  display: grid;
  gap: var(--wallet-gap);
  min-width: 0;
}
.wallet-dashboard :is(.wallet-page-heading, .wallet-section-header) {
  position: static;
  border: 0;
  background: transparent;
}
#service-content .wallet-dashboard :is(h1.wallet-page-heading, .wallet-page-heading h1) {
  margin-block: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -.045em;
  line-height: 1.08;
}
.wallet-page-heading p {
  max-width: 66ch;
  margin-block: 7px 0;
  color: var(--muted);
  line-height: 1.55;
}
.wallet-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--wallet-gap);
}
.wallet-dashboard :is(.wallet-balance-card, .wallet-methods-card, .wallet-section) {
  min-width: 0;
  padding: var(--wallet-space);
  border: 1px solid var(--border);
  border-radius: var(--wallet-radius);
  background: var(--surface);
}
.wallet-dashboard .wallet-balance-card {
  display: grid;
  align-content: start;
  gap: 16px;
  border-inline-start: 3px solid var(--green);
  background: radial-gradient(ellipse at 90% 0%, var(--tint), transparent 65%), var(--surface);
}
.wallet-balance-main { display: grid; gap: 7px; }
.wallet-balance-main h3 { color: var(--muted); font-weight: 650; }
.wallet-live-balance {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.wallet-live-balance[data-funded="true"] { color: var(--wallet-positive); }
.wallet-balance-main .wallet-live-balance {
  font-size: clamp(2rem, 5vw, 3.55rem);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: 1.05;
}
.wallet-balance-main .wallet-live-balance small {
  font-size: .35em;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.wallet-account-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.wallet-account-line strong { color: var(--ink); }
.wallet-dashboard .wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wallet-dashboard .wallet-actions :is(a, button) {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.wallet-dashboard .wallet-actions .primary { color: var(--on-accent); }
.wallet-dashboard .wallet-actions :is(a, button):not(.primary):hover { background: var(--wallet-soft); }
.wallet-methods-card :is(h2, h3),
.wallet-section-header :is(h2, h3) {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.13rem, 2.6vw, 1.4rem);
  letter-spacing: -.025em;
  line-height: 1.22;
}
.wallet-identity-list {
  display: grid;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.wallet-identity-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding-block: 12px;
  border-block-end: 1px solid var(--border);
}
.wallet-identity-row:last-child { padding-block-end: 0; border-block-end: 0; }
.wallet-identity-name {
  display: flex;
  flex: 1 1 11ch;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 670;
  overflow-wrap: anywhere;
}
.wallet-identity-icon {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--wallet-soft);
  color: var(--green);
}
.wallet-identity-icon :is(svg, img) { width: 18px; height: 18px; }
.wallet-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
  text-align: start;
  overflow-wrap: anywhere;
}
.wallet-status.is-connected {
  border-color: color-mix(in srgb, var(--wallet-positive) 40%, var(--border));
  background: color-mix(in srgb, var(--wallet-positive) 10%, var(--surface));
  color: var(--wallet-positive);
}
.wallet-status.is-disconnected {
  border-color: color-mix(in srgb, var(--wallet-disconnected) 40%, var(--border));
  background: color-mix(in srgb, var(--wallet-disconnected) 10%, var(--surface));
  color: var(--wallet-disconnected);
}
.wallet-link-telegram:hover { text-decoration: underline; }
.wallet-status:is(.is-connected, .is-disconnected)::before {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.wallet-section { scroll-margin-block-start: 100px; }
.wallet-section-header { margin-block-end: 14px; }
.wallet-section-note {
  margin-block: 6px 0;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.deposit-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 12px;
}
.deposit-methods[hidden] { display: none; }
.deposit-methods .deposit-method {
  --deposit-brand: var(--muted);
  --deposit-edge: var(--deposit-brand);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 82px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--wallet-soft);
  color: var(--ink);
  text-align: start;
  overflow-wrap: anywhere;
}
.deposit-methods .deposit-method[data-deposit-method="binance"] { --deposit-brand: #f0b90b; }
:root[data-theme="light"] .deposit-methods .deposit-method[data-deposit-method="binance"] {
  --deposit-edge: #8a6400;
}
.deposit-methods .deposit-method:is(:hover:not(:disabled), :focus-visible, [aria-expanded="true"]) {
  border-color: var(--deposit-edge);
  background: color-mix(in srgb, var(--deposit-brand) 10%, var(--surface));
  box-shadow: 0 0 20px color-mix(in srgb, var(--deposit-brand) 48%, transparent),
    inset 0 0 12px color-mix(in srgb, var(--deposit-brand) 15%, transparent);
}
.deposit-methods .deposit-method:focus-visible { outline-color: var(--deposit-edge); }
.deposit-method-icon {
  display: inline-grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--canvas);
  color: var(--green);
}
.deposit-method-icon img { object-fit: contain; }
.deposit-method-copy { display: grid; flex: 1; gap: 4px; min-width: 0; }
.deposit-method-copy small { color: var(--muted); font-size: .82em; line-height: 1.3; }
.deposit-method-arrow { color: var(--muted); font-size: 1.25em; }
.deposit-method[aria-expanded="true"] .deposit-method-arrow { rotate: 90deg; }
[dir="rtl"] .deposit-method:not([aria-expanded="true"]) .deposit-method-arrow { scale: -1 1; }
.wallet-deposit-flow:not(:empty) { margin-block-start: 14px; }
.wallet-deposit-flow :is(form, .add-funds-panel) { min-width: 0; }
.wallet-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.wallet-table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: .91rem;
  text-align: start;
}
.wallet-table :is(th, td) {
  padding: 11px clamp(9px, 1.8vw, 16px);
  border-block-end: 1px solid var(--border);
  text-align: start;
  vertical-align: middle;
}
.wallet-table th {
  color: var(--muted);
  background: var(--wallet-soft);
  font-size: .84rem;
  font-weight: 700;
}
.wallet-table tbody tr:last-child td { border-block-end: 0; }
.wallet-table :is(td, th)[data-numeric],
.wallet-table td:has([dir="ltr"]) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: end;
}
.wallet-table td [data-direction="credit"] { color: var(--green); }
.wallet-empty {
  margin: 0;
  padding: 14px 0;
  color: var(--muted);
  line-height: 1.5;
}
.wallet-history-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-block-start: 12px;
}
#service-content .wallet-history-controls label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
#service-content .wallet-history-controls select { width: auto; min-height: 40px; margin: 0; }
.wallet-history-controls button { min-height: 40px; }
.wallet-history-summary { margin: 0; color: var(--muted); font-size: .86rem; }
@media (max-width: 720px) {
  .wallet-summary-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .wallet-dashboard .wallet-actions > :is(a, button) { flex: 1 1 120px; }
  .wallet-section { scroll-margin-block-start: 76px; }
}

.account-provider-state {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}
.account-avatar-status { display: block; }
.account-avatar-status:not(:empty) {
  margin-block-end: 10px;
  color: var(--muted);
  font-size: .83rem;
}
.add-funds-panel { display: grid; gap: 12px; }
.add-funds-panel h2 { margin-block: 0; font-size: 1.22rem; }
.add-funds-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  background: color-mix(in srgb, var(--tint) 70%, var(--surface));
  font-size: .85rem;
}
.add-funds-amount-form {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.add-funds-amount-form label { margin: 0; }
.add-funds-amount-form :is(button, input) { min-height: 40px; }

#service-content:has(> .warranty-check) {
  border-color: color-mix(in srgb, var(--green) 34%, var(--border));
  background: radial-gradient(ellipse at top left, var(--tint), transparent 68%), var(--surface);
}
.warranty-check { display: grid; gap: clamp(14px, 2.5vw, 22px); }
.warranty-check-heading {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 2vw, 16px);
}
.warranty-check-icon {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--tint);
  color: var(--green);
  font-size: 1.3rem;
}
.warranty-check #warranty-check-title { margin: 0; }
.warranty-check-hint { margin: 6px 0 0; color: var(--muted); }
.warranty-check :is(form, .warranty-check-result, .warranty-check-links) { max-inline-size: 42rem; }
.warranty-check form { display: grid; gap: 8px; }
#service-content .warranty-check form label { margin: 0; font-weight: 650; }
#warranty-order-id {
  min-height: 46px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: max(1rem, 16px);
}
#warranty-check-submit { min-height: 44px; margin-block-start: 3px; font-weight: 700; }
@media (min-width: 680px) {
  .warranty-check form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .warranty-check form label { grid-column: 1 / -1; }
  #warranty-check-submit { min-height: 46px; margin: 0; padding-inline: 18px; }
}
.warranty-check-result:not(:empty) {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--canvas);
  overflow-wrap: anywhere;
}
.warranty-check-result bdi { justify-self: start; color: var(--muted); font-size: .86rem; }
.warranty-check-result[data-state="active"] strong { color: var(--green); }
.warranty-check-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.warranty-check-links [hidden] { display: none; }
.warranty-check-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 620px) {
  :root { --mobile-header-height: calc(62px + var(--stock-status-height)); }
  .site-header { padding: 5px 6px; }
  .site-header .header-inner { gap: 5px; padding-inline: 6px; }
  .site-header .brand { gap: 5px; padding-inline: 1px; }
  .site-header .brand-logo { width: 38px; }
  .header-tools { gap: 5px; }
  .header-tools button { height: 40px; min-height: 40px; padding-inline: 8px; }
  .header-tools .header-search {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding-inline: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .header-tools .header-cart { height: 42px; }
  .header-search-label { display: none; }
  .header-tools .header-balance {
    min-width: 0;
    max-width: clamp(82px, 28vw, 118px);
    gap: 5px;
    padding-inline: 9px;
    border-radius: 999px;
  }
  #header-balance-value { display: none; }
  #header-balance-compact {
    display: inline;
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .site-header #header-menu { width: 42px; min-width: 42px; height: 42px; border-radius: 50%; }
  .site-header #login {
    min-width: 0;
    max-width: 100px;
    white-space: normal;
    text-align: center;
    font-size: .82rem;
  }
  .site-header[data-signed-in="true"] #login { display: none; }
  .site-header .header-account-avatar { display: none; }
  .drawer-heading { padding-inline: 12px; }
  .drawer-scroll, .drawer-footer { padding-inline: 12px; }
}
@media (max-width: 400px) {
  .site-header .header-inner { gap: 4px; padding-inline: 4px; }
  .site-header .brand { gap: 4px; }
  .site-header .brand-logo { width: 29px; }
  .site-header .brand-name { font-size: .88rem; }
  .header-tools { gap: 3px; }
  .header-tools .header-search,
  .header-tools .header-cart,
  .site-header #header-menu {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }
  .header-tools .header-balance { max-width: 78px; gap: 4px; padding-inline: 5px; }
  #header-balance-compact { font-size: .75rem; }
  .site-header #login { max-width: 78px; padding-inline: 6px; }
}
@media (max-width: 360px) {
  .site-header .header-inner { padding-inline: 3px; }
  .site-header .brand { gap: 3px; }
  .site-header .brand-logo { width: 26px; }
  .site-header .brand-name { font-size: .82rem; }
  .header-tools { gap: 2px; }
  .header-tools .header-search,
  .header-tools .header-cart,
  .site-header #header-menu {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }
  .header-tools .header-balance { padding-block: 2px; }
  #header-balance-compact { line-height: 1.05; }
  .header-search-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-height: 440px) {
  .drawer-heading { min-height: 46px; padding-block: 4px; }
  .drawer-footer { gap: 4px; padding-block: 4px; }
  .drawer-footer .drawer-item { min-height: 38px; padding-block: 5px; }
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("clash-grotesk.woff2?v=befc194281fe") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("outfit.woff2?v=6c18d579fd87") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}


.mobile-hero-character {
  display: none;
}

@media (max-width: 620px) {
  main > .hero {
    padding-block: clamp(24px, 7vw, 42px) 8px;
  }

  .hero > div:first-child {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.8vw, 3.35rem);
    line-height: 1.02;
  }

  html[dir="rtl"] .hero h1,
  html[dir="rtl"] .hero h1 > span,
  html[dir="rtl"] .hero h1 em {
    letter-spacing: normal;
  }

  .hero .intro {
    margin: 12px auto 0;
    max-width: 38ch;
    font-size: .93rem;
    line-height: 1.55;
    text-align: center;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    padding: 0;
    margin-block-start: 22px;
  }

  .hero-actions .hero-action-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 16px;
    box-shadow: none;
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    background: var(--surface);
    border-color: color-mix(in srgb, var(--green) 47%, var(--border));
    color: var(--ink);
  }

  .hero-actions a.hero-action-card {
    background: linear-gradient(135deg, #a3efff, #4bc3ed);
    border-color: #a3efff;
    color: #092535;
    box-shadow: 0 7px 18px rgb(37 187 238 / 19%);
  }

  .hero-actions a.hero-action-card .live-icon {
    color: currentColor;
    text-shadow: none;
  }

  .hero-actions .hero-action-card:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
  }

  .hero-actions > [data-panel="warranty"],
  .hero-actions > #hero-login,
  .hero > div > .shortcuts,
  .hero > div > .highlights {
    display: none;
  }

  .mobile-hero-character {
    display: grid;
    place-items: center;
    min-height: clamp(165px, 49vw, 240px);
    margin-block-start: 14px;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--border) 66%, transparent);
    background:
      radial-gradient(ellipse at 50% 65%, rgb(255 179 57 / 22%), transparent 64%),
      color-mix(in srgb, var(--surface) 78%, transparent);
  }

  .mobile-hero-character::before {
    content: "";
    width: 100%;
    height: clamp(150px, 46vw, 224px);
    background: url("aura-mobile.webp?v=c7bbf48266c8") center / contain no-repeat;
  }

  main > .product-parade {
    min-height: 0;
    margin: 0;
    padding-block: 7px 13px;
  }

  .product-parade .parade-track {
    max-width: 100%;
    min-width: 0;
    gap: 5px;
  }

  .product-parade .parade-track button {
    width: clamp(30px, 9vw, 48px);
  }

  .product-parade .parade-trail,
  .product-parade .parade-bot {
    display: none;
  }

  #catalogue {
    scroll-margin-block-start: calc(var(--mobile-header-height) + 12px);
  }
}

@media (max-width: 360px) {
  #header-menu {
    width: 44px;
    min-width: 44px;
    padding-inline: 0;
    justify-content: center;
  }

  #header-menu [data-i18n="nav.menu"] {
    display: none;
  }
}
