:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-2: #0a0d10;
  --glass: rgba(18, 24, 29, 0.54);
  --glass-strong: rgba(22, 29, 35, 0.74);
  --line: rgba(222, 238, 234, 0.14);
  --line-soft: rgba(222, 238, 234, 0.08);
  --text: #f3fbf8;
  --muted: #91a39f;
  --muted-2: #c1d0cc;
  --mint: #67e6c2;
  --blue: #7eb7ff;
  --gold: #f0c26a;
  --rose: #e882d9;
  --danger: #ff7676;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(9, 14, 18, 0.96), rgba(5, 6, 8, 0.98)),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: rgba(103, 230, 194, 0.25);
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

.app-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.boot-screen {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(103, 230, 194, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(126, 183, 255, 0.07) 1px, transparent 1px),
    #050608;
  background-size: 72px 72px;
}

.boot-mark {
  width: min(430px, calc(100% - 42px));
  display: grid;
  place-items: center;
}

.boot-logo {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 28px rgba(126, 183, 255, 0.16));
}

.boot-line {
  width: 132px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(103, 230, 194, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(126, 183, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 6, 8, 0.98), rgba(5, 6, 8, 0.9));
  background-size: 72px 72px, 72px 72px, auto;
  animation: intro-out 2s ease forwards;
}

.intro-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 48%, transparent 56%),
    linear-gradient(180deg, transparent, rgba(103, 230, 194, 0.06), transparent);
  transform: translateX(-22%);
  animation: intro-glass 1.75s ease-in-out forwards;
}

.intro-frame {
  position: relative;
  width: min(500px, 100%);
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(222, 238, 234, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 14, 18, 0.62);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
}

.intro-brand {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  animation: intro-brand 1.12s ease-out both;
}

.intro-logo {
  display: block;
  width: min(100%, 480px);
  height: auto;
  max-height: 148px;
  object-fit: contain;
  filter:
    drop-shadow(0 20px 34px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 26px rgba(103, 230, 194, 0.14));
}

.intro-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(103, 230, 194, 0.26), transparent);
  height: 44px;
  transform: translateY(-64px);
  animation: intro-scan 1.38s ease-in-out 0.18s both;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(103, 230, 194, 0.08), transparent 32%),
    linear-gradient(315deg, rgba(126, 183, 255, 0.08), transparent 38%),
    linear-gradient(180deg, #07090c, #050608);
}

.glass-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15));
}

.mrz-wall {
  position: absolute;
  inset: -12% -20%;
  display: grid;
  align-content: center;
  gap: 22px;
  transform: rotate(-11deg);
  opacity: 0.32;
  filter: blur(0.15px);
}

.mrz-wall span {
  display: block;
  width: 160vw;
  color: rgba(103, 230, 194, 0.34);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1.2rem, 3.1vw, 3rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(103, 230, 194, 0.22);
  animation: mrz-slide 22s linear infinite;
}

.mrz-wall span:nth-child(2n) {
  color: rgba(126, 183, 255, 0.28);
  animation-duration: 28s;
  animation-direction: reverse;
}

.mrz-wall span:nth-child(3n) {
  color: rgba(240, 194, 106, 0.2);
  animation-duration: 34s;
}

@keyframes mrz-slide {
  from {
    transform: translateX(-8%);
  }
  to {
    transform: translateX(8%);
  }
}

@keyframes intro-brand {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes intro-scan {
  from {
    transform: translateY(-64px);
    opacity: 0;
  }
  35%,
  75% {
    opacity: 1;
  }
  to {
    transform: translateY(188px);
    opacity: 0;
  }
}

@keyframes intro-glass {
  from {
    transform: translateX(-34%);
  }
  to {
    transform: translateX(34%);
  }
}

@keyframes intro-out {
  0%,
  76% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 6, 8, 0.56);
  backdrop-filter: blur(22px) saturate(1.25);
}

.topbar-inner {
  width: min(var(--max), calc(100% - 24px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  width: min(272px, 50vw);
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 8px -10px 6px -8px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(240, 194, 106, 0.14), rgba(126, 183, 255, 0.1), rgba(232, 130, 217, 0.12));
  opacity: 0.72;
  filter: blur(13px);
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(172px, 34vw, 258px);
  height: 46px;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 15px rgba(103, 230, 194, 0.12));
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.brand-mark,
.brand-copy,
.brand-sub {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn,
.icon-btn {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(16px) saturate(1.25);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.btn:hover,
.icon-btn:hover {
  border-color: rgba(103, 230, 194, 0.44);
  background: rgba(103, 230, 194, 0.08);
}

.btn:active,
.icon-btn:active {
  transform: translateY(1px);
}

.btn-primary {
  border-color: rgba(103, 230, 194, 0.42);
  background: rgba(103, 230, 194, 0.12);
}

.btn-gold {
  border-color: rgba(240, 194, 106, 0.42);
  background: rgba(240, 194, 106, 0.1);
}

.btn-danger {
  border-color: rgba(255, 118, 118, 0.46);
  background: rgba(255, 118, 118, 0.1);
  color: #ffdcdc;
}

.btn-ghost {
  background: transparent;
}

.btn-small {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.9rem;
}

.market-main {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.section {
  margin-top: 14px;
}

.section-compact {
  margin-top: 10px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 12px;
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.12;
}

.section-note {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.search-row {
  width: 100%;
}

.field {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 11px 12px;
  outline: none;
  backdrop-filter: blur(16px) saturate(1.18);
}

.field::placeholder {
  color: rgba(193, 208, 204, 0.54);
}

.field:focus {
  border-color: rgba(103, 230, 194, 0.62);
  box-shadow: 0 0 0 3px rgba(103, 230, 194, 0.12);
}

textarea.field {
  min-height: 104px;
  resize: vertical;
  line-height: 1.45;
}

select.field {
  appearance: none;
  color-scheme: dark;
  background-color: #1b2229;
}

select.field option {
  background: #12181f;
  color: var(--text);
}

select.field option:checked {
  background: rgba(103, 230, 194, 0.34);
  color: #050608;
}

select.field option:disabled {
  color: rgba(193, 208, 204, 0.54);
}

.accent-picker {
  display: grid;
  gap: 8px;
}

.accent-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
}

.accent-swatch {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  padding: 0 10px;
  font-weight: 850;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
}

.accent-swatch:hover,
.accent-swatch.is-active {
  border-color: var(--accent-color);
  background: rgba(103, 230, 194, 0.08);
  color: var(--text);
}

.accent-dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(103, 230, 194, 0.18);
}

.list-panel,
.country-detail,
.empty-state,
.login-box,
.admin-folder-tabs,
.admin-store-settings,
.admin-pane,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.2);
}

.list-panel {
  overflow: hidden;
}

.list-row {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: var(--text);
  padding: 0 12px;
  text-align: left;
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row:hover,
.list-row.is-active {
  background: rgba(103, 230, 194, 0.075);
}

.row-index {
  color: rgba(103, 230, 194, 0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 850;
}

.row-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.row-title {
  overflow: hidden;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-arrow {
  color: rgba(193, 208, 204, 0.72);
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-1px);
}

.country-grid,
.category-grid {
  display: grid;
  gap: 0;
}

.section-page {
  display: grid;
  gap: 10px;
}

.screen-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.country-detail {
  padding: 15px;
}

.store-page-card {
  min-height: 220px;
}

.detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.breadcrumb-meta {
  margin: 0 0 6px;
  color: rgba(103, 230, 194, 0.82);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-title {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.16;
}

.detail-description {
  margin: 7px 0 0;
  color: var(--muted-2);
  line-height: 1.48;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.product-card {
  overflow: hidden;
}

.product-card.is-shared-target {
  border-color: rgba(103, 230, 194, 0.72);
  box-shadow:
    0 0 0 1px rgba(103, 230, 194, 0.24),
    0 18px 46px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(103, 230, 194, 0.14);
}

.product-media-button {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  padding: 0;
  text-align: left;
}

.product-media {
  width: 100%;
  max-height: 150px;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.product-media-button .product-media {
  transition:
    filter 0.18s ease,
    transform 0.18s ease;
}

.product-media-button:hover .product-media {
  filter: brightness(1.08) saturate(1.05);
  transform: scale(1.012);
}

.product-media-button video {
  pointer-events: none;
}

.product-media-empty {
  border-bottom: 1px solid var(--line-soft);
}

.media-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(222, 238, 234, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 6, 8, 0.7);
  color: var(--text);
  padding: 0 8px;
  font-size: 0.76rem;
  font-weight: 850;
  backdrop-filter: blur(14px) saturate(1.2);
}

.card-placeholder,
.media-preview.card-placeholder {
  display: grid;
  place-items: center;
  color: var(--mint);
  background:
    linear-gradient(135deg, rgba(103, 230, 194, 0.12), rgba(126, 183, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
  font-weight: 900;
}

.product-body {
  padding: 12px;
}

.product-title {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
  word-break: break-word;
}

.product-description {
  min-height: 62px;
  margin: 9px 0 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.42;
  word-break: break-word;
}

.product-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-share-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.share-chip {
  min-width: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0 7px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-chip:hover {
  border-color: rgba(103, 230, 194, 0.48);
  background: rgba(103, 230, 194, 0.08);
}

.product-share-row .share-chip:last-child {
  grid-column: 1 / -1;
}

.price {
  min-width: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(240, 194, 106, 0.28);
  border-radius: var(--radius);
  background: rgba(240, 194, 106, 0.08);
  color: var(--gold);
  font-weight: 900;
}

.price-symbol {
  align-self: stretch;
  min-width: 34px;
  display: inline-grid;
  place-items: center;
  border-right: 1px solid rgba(240, 194, 106, 0.22);
  background: rgba(240, 194, 106, 0.08);
  color: var(--text);
}

.price-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 9px;
}

.badge-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 9px;
}

.badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  padding: 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
}

.empty-state {
  padding: 18px;
  color: var(--muted-2);
  line-height: 1.48;
}

.login-wrap {
  width: min(430px, calc(100% - 24px));
  min-height: calc(100vh - 59px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.login-box {
  width: 100%;
  padding: 18px;
}

.login-box h1 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.login-box p {
  margin: 0 0 16px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-main {
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 74px;
}

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

.admin-title {
  margin: 0;
  font-size: 1.42rem;
}

.admin-folder-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px;
}

.folder-tab {
  min-width: 0;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 8px 10px;
  text-align: left;
}

.folder-tab:hover,
.folder-tab.is-active {
  border-color: rgba(103, 230, 194, 0.44);
  background: rgba(103, 230, 194, 0.09);
}

.folder-label {
  min-width: 0;
  overflow: hidden;
  font-size: 0.96rem;
  font-weight: 950;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-value {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.admin-store-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  overflow: hidden;
}

.admin-settings-grid .admin-store-settings {
  margin-bottom: 0;
}

.admin-store-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-store-title h2 {
  margin: 0;
  font-size: 1rem;
}

.admin-store-link {
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  color: var(--mint);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-status {
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-status.is-ok {
  border-color: rgba(103, 230, 194, 0.42);
  background: rgba(103, 230, 194, 0.1);
  color: var(--mint);
}

.api-status.is-warn {
  border-color: rgba(240, 194, 106, 0.36);
  background: rgba(240, 194, 106, 0.08);
  color: var(--gold);
}

.api-detail {
  flex: 1 1 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-store-form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

.admin-api-form,
.admin-webhook-form {
  grid-template-columns: minmax(0, 1fr);
}

.api-token-field {
  grid-template-columns: 50px minmax(0, 1fr);
}

.api-prefix {
  color: var(--blue);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.api-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.api-actions .btn,
.admin-store-form > .btn {
  flex: 1 1 132px;
  min-width: 0;
}

.telegram-field-label {
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 850;
  padding-bottom: 0;
}

.telegram-field {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(1.18);
}

.telegram-field:focus-within {
  border-color: rgba(103, 230, 194, 0.62);
  box-shadow: 0 0 0 3px rgba(103, 230, 194, 0.12);
}

.telegram-prefix {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-soft);
  color: var(--mint);
  font-weight: 950;
}

.telegram-field .field {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-quickbar {
  position: sticky;
  top: 68px;
  z-index: 18;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 6, 8, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.2);
}

.quick-chip {
  min-width: 0;
  min-height: 48px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 7px 9px;
  text-align: left;
}

.quick-chip:hover,
.quick-chip.is-ready {
  border-color: rgba(103, 230, 194, 0.38);
  background: rgba(103, 230, 194, 0.08);
}

.quick-chip:disabled {
  cursor: default;
  opacity: 0.54;
}

.quick-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.quick-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-folder-panel {
  display: none;
}

.admin-folder-telegram .admin-layout,
.admin-main:not(.admin-folder-telegram) .admin-settings-grid,
.admin-folder-leads .admin-layout,
.admin-folder-stats .admin-layout,
.admin-folder-security .admin-layout,
.admin-folder-users .admin-layout,
.admin-folder-countries [data-admin-section="products"],
.admin-folder-countries .category-admin-block,
.admin-folder-categories .country-editor-block,
.admin-folder-categories .products-admin-block,
.admin-folder-products [data-admin-section="countries"],
.admin-folder-products .country-editor-block,
.admin-folder-products .category-create-form,
.admin-folder-products .category-editor-block {
  display: none;
}

.admin-folder-countries .admin-layout,
.admin-folder-products .admin-layout {
  grid-template-columns: minmax(340px, 380px) minmax(0, 1fr);
}

.admin-folder-products .products-admin-block > hr:first-child {
  display: none;
}

.admin-folder-security .admin-security-panel {
  display: grid;
}

.admin-folder-users .admin-users-panel {
  display: grid;
}

.admin-folder-leads .admin-leads-panel {
  display: grid;
}

.admin-folder-stats .admin-stats-panel {
  display: grid;
}

.admin-folder-products .admin-product-flow {
  display: grid;
}

.admin-security-panel {
  gap: 12px;
  padding: 15px;
}

.admin-leads-panel,
.admin-stats-panel,
.admin-product-flow {
  gap: 12px;
  padding: 15px;
}

.admin-product-flow {
  margin-bottom: 12px;
}

.product-flow-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.product-flow-head h2 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.product-flow-target {
  min-width: min(280px, 100%);
  display: grid;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(103, 230, 194, 0.07);
  padding: 9px 10px;
}

.product-flow-target span,
.product-flow-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.product-flow-target strong {
  overflow: hidden;
  color: var(--mint);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-flow-block {
  display: grid;
  gap: 7px;
}

.product-flow-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 2px 7px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.product-flow-chip {
  flex: 0 0 auto;
  min-width: 158px;
  min-height: 52px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 3px 8px;
  scroll-snap-align: start;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 8px 10px;
  text-align: left;
}

.product-flow-chip strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-flow-chip small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.product-flow-chip-category {
  min-width: 150px;
  grid-template-columns: minmax(0, 1fr);
}

.product-flow-chip-category small {
  grid-column: 1;
}

.product-flow-chip:hover,
.product-flow-chip.is-active {
  border-color: rgba(103, 230, 194, 0.44);
  background: rgba(103, 230, 194, 0.1);
}

.admin-users-panel {
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.panel-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.panel-title-row.compact {
  align-items: center;
}

.panel-title-row h2 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.audit-list,
.history-list,
.bot-user-list,
.lead-list,
.stats-list {
  display: grid;
  gap: 8px;
}

.audit-row,
.history-row,
.bot-user-button,
.lead-row,
.stats-row,
.metric-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  backdrop-filter: blur(14px) saturate(1.14);
}

.audit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 11px 12px;
}

.audit-main,
.history-row > div,
.bot-user-button > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.audit-main strong,
.history-row strong,
.bot-user-button strong {
  overflow: hidden;
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-main span,
.history-row span,
.bot-user-button small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-row time,
.history-row time,
.bot-user-button time {
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.audit-details {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.audit-details span {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-2);
  padding: 5px 7px;
  font-size: 0.76rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-details b {
  color: var(--mint);
  margin-right: 4px;
}

.bot-user-button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  text-align: left;
}

.lead-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  padding: 12px;
}

.lead-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.lead-main strong,
.stats-row strong {
  overflow: hidden;
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-main span,
.lead-main small,
.stats-row small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-side {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.lead-status {
  border: 1px solid rgba(103, 230, 194, 0.32);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(103, 230, 194, 0.08);
  color: var(--mint);
  padding: 5px 7px;
  font-size: 0.76rem;
  font-weight: 900;
}

.lead-status-working .lead-status {
  border-color: rgba(240, 194, 106, 0.36);
  background: rgba(240, 194, 106, 0.08);
  color: var(--gold);
}

.lead-status-closed {
  opacity: 0.72;
}

.lead-status-closed .lead-status {
  border-color: rgba(193, 208, 204, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-2);
}

.lead-text {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}

.lead-text summary {
  color: var(--muted-2);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
}

.lead-text pre {
  overflow: auto;
  margin: 8px 0 0;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(5, 6, 8, 0.34);
  color: var(--text);
  padding: 9px;
  white-space: pre-wrap;
}

.lead-status-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.lead-status-actions .btn.is-active {
  border-color: rgba(103, 230, 194, 0.42);
  background: rgba(103, 230, 194, 0.12);
  color: var(--mint);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 8px;
}

.metric-card {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.metric-card strong {
  font-size: 1.35rem;
}

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

.stats-list-pane h3 {
  margin: 0 0 10px;
  font-size: 0.96rem;
}

.stats-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
}

.stats-row span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.stats-row b {
  color: var(--mint);
}

.bot-user-button:hover,
.bot-user-button.is-active {
  border-color: rgba(103, 230, 194, 0.42);
  background: rgba(103, 230, 194, 0.08);
}

.history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 11px 12px;
}

.history-row small {
  overflow: hidden;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-pane {
  min-width: 0;
  padding: 15px;
  scroll-margin-top: 142px;
  overflow: hidden;
}

[data-admin-section="product-editor"] {
  scroll-margin-top: 142px;
}

.admin-pane h2,
.admin-pane h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.admin-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.admin-folder-countries [data-admin-section="countries"] .admin-list,
.admin-folder-categories [data-admin-section="countries"] .admin-list,
.admin-folder-products [data-admin-section="country"] .admin-list {
  max-height: min(54vh, 560px);
  overflow: auto;
  padding-right: 3px;
  scrollbar-width: thin;
}

.admin-list-button {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 8px 10px;
  text-align: left;
}

.admin-list-button.is-active,
.admin-list-button:hover {
  border-color: rgba(103, 230, 194, 0.42);
  background: rgba(103, 230, 194, 0.08);
}

.admin-list-title {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 850;
}

.admin-list-name,
.admin-list-title > span:not(.admin-list-swatch) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-list-swatch {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 16px rgba(103, 230, 194, 0.18);
}

.admin-list-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.country-editor-block,
.category-editor-block {
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  align-items: start;
}

.upload-box {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.upload-box input {
  width: 100%;
  min-width: 0;
  color: var(--muted-2);
  font-size: 0.84rem;
  font-weight: 750;
}

.upload-box input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 10px;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  padding: 0 10px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.upload-box label {
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.upload-box-inline {
  margin-top: 0;
}

.media-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  object-fit: cover;
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.media-item {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.media-item-preview {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
}

.media-item-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.media-item-preview video {
  pointer-events: none;
}

.media-item .btn {
  width: calc(100% - 12px);
  margin: 6px;
}

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 14px;
  isolation: isolate;
}

.viewer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(103, 230, 194, 0.08), transparent 38%),
    rgba(2, 4, 6, 0.76);
  backdrop-filter: blur(20px) saturate(1.22);
  cursor: zoom-out;
}

.viewer-panel {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(222, 238, 234, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 14, 18, 0.82);
  box-shadow: var(--shadow);
}

.viewer-top,
.viewer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.viewer-title {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.viewer-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.viewer-title small,
.viewer-bottom {
  color: var(--muted-2);
  font-size: 0.86rem;
}

.viewer-close {
  flex: 0 0 auto;
  width: 38px;
  padding: 0;
  font-size: 1.35rem;
}

.viewer-stage {
  position: relative;
  min-height: min(68vh, 640px);
  display: grid;
  place-items: center;
  padding: 12px 54px;
  background:
    linear-gradient(180deg, rgba(103, 230, 194, 0.05), transparent 44%),
    rgba(5, 6, 8, 0.64);
}

.viewer-media {
  width: 100%;
  height: min(68vh, 620px);
  display: block;
  border-radius: calc(var(--radius) - 2px);
  background: #050608;
  object-fit: contain;
}

.viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  min-height: 46px;
  padding: 0;
  transform: translateY(-50%);
  font-size: 1.7rem;
}

.viewer-prev {
  left: 10px;
}

.viewer-next {
  right: 10px;
}

.notice {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 50;
  width: min(360px, calc(100% - 28px));
  border: 1px solid rgba(103, 230, 194, 0.42);
  border-radius: var(--radius);
  background: rgba(10, 14, 18, 0.86);
  color: var(--text);
  padding: 12px 13px;
  line-height: 1.42;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.2);
}

.notice.is-error {
  border-color: rgba(255, 118, 118, 0.48);
}

.danger-text {
  color: #ffd0d0;
}

.muted {
  color: var(--muted);
}

hr {
  height: 1px;
  border: 0;
  margin: 16px 0;
  background: var(--line-soft);
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .admin-folder-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-store-settings {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .admin-store-form,
  .admin-api-form,
  .admin-webhook-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .telegram-field-label {
    grid-column: 1 / -1;
    padding-bottom: 0;
  }

  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-users-panel {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .product-flow-head {
    display: grid;
  }

  .product-flow-target {
    min-width: 0;
  }

  .admin-folder-countries .admin-layout,
  .admin-folder-products .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-pane-wide {
    grid-column: auto;
  }

  .admin-quickbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    top: 62px;
  }
}

@media (max-width: 680px) {
  .topbar-inner,
  .market-main,
  .admin-main {
    width: min(100% - 20px, var(--max));
  }

  .topbar-inner {
    min-height: 54px;
  }

  .brand {
    width: min(236px, 56vw);
    min-height: 42px;
  }

  .brand-logo {
    width: clamp(150px, 52vw, 226px);
    height: 42px;
  }

  .intro-frame {
    padding: 15px;
  }

  .intro-logo {
    max-height: 108px;
  }

  .boot-mark {
    width: min(350px, calc(100% - 34px));
  }

  .btn {
    min-height: 36px;
    padding: 0 11px;
  }

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

  .admin-store-form,
  .admin-api-form,
  .admin-webhook-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .api-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .api-actions .btn {
    width: 100%;
  }

  .admin-quickbar {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
  }

  .quick-chip {
    min-height: 44px;
    padding: 7px;
  }

  .market-main {
    padding-top: 14px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .list-row {
    min-height: 62px;
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    padding: 0 10px;
  }

  .admin-split,
  .media-strip {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-body {
    padding: 10px;
  }

  .product-title {
    font-size: 0.92rem;
  }

  .product-description {
    min-height: 52px;
    font-size: 0.82rem;
  }

  .product-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
  }

  .product-foot .btn,
  .product-foot .price {
    width: 100%;
  }

  .product-media {
    max-height: 118px;
  }

  .product-description {
    min-height: 0;
  }

  .admin-head,
  .detail-top,
  .product-foot,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-foot .btn,
  .form-actions .btn {
    width: 100%;
  }

  .price {
    width: 100%;
  }

  .price-value {
    flex: 1;
  }

  .media-viewer {
    padding: 10px;
  }

  .viewer-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
  }

  .viewer-stage {
    min-height: min(62vh, 520px);
    padding: 8px 42px;
  }

  .viewer-media {
    height: min(62vh, 500px);
  }

  .viewer-top,
  .viewer-bottom {
    align-items: stretch;
  }

  .viewer-bottom {
    flex-direction: column;
  }

  .viewer-bottom .btn {
    width: 100%;
  }

  .viewer-nav {
    width: 34px;
    min-height: 42px;
  }

  .viewer-prev {
    left: 6px;
  }

  .viewer-next {
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mrz-wall span {
    animation: none;
  }

  .intro-overlay,
  .intro-overlay::before,
  .intro-brand,
  .intro-scan {
    animation: none;
  }

  .btn,
  .icon-btn {
    transition: none;
  }
}
