:root {
  --bg: #08111f;
  --bg-soft: #0d1728;
  --panel: #0b1524;
  --panel-2: #101c2f;
  --panel-3: #12243b;
  --line: #1b314a;
  --line-strong: #2d5577;
  --text: #f5f9ff;
  --muted: #88a0bb;
  --muted-2: #6e849d;
  --cyan: #57d6ff;
  --cyan-2: #0ea5e9;
  --cyan-soft: rgba(87, 214, 255, 0.2);
  --violet-soft: rgba(155, 128, 255, 0.18);
  --danger: #f59da0;
  --success: #77f3d4;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --page-width: 390px;
  --app-height: calc(100vh - 48px);
  --font-ui: "Avenir Next", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

@supports (height: 100dvh) {
  :root {
    --app-height: calc(100dvh - 48px);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(55, 118, 187, 0.28), transparent 28%),
    radial-gradient(circle at bottom right, rgba(24, 56, 117, 0.35), transparent 30%),
    linear-gradient(180deg, #040914 0%, #071222 48%, #0b1730 100%);
  color: var(--text);
  font-family: var(--font-ui);
}

body {
  min-height: calc(var(--app-height) + 48px);
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
}

input::placeholder {
  color: #5f7590;
}

img {
  display: block;
  max-width: 100%;
}

.app-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(87, 214, 255, 0.12), transparent 18%),
    radial-gradient(circle at 85% 12%, rgba(36, 90, 185, 0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(104, 54, 189, 0.1), transparent 26%);
}

.app-shell {
  position: relative;
  min-height: calc(var(--app-height) + 48px);
  display: flex;
  justify-content: center;
  padding: 24px 14px;
}

.app-root {
  width: 100%;
  max-width: var(--page-width);
  height: var(--app-height);
  min-height: var(--app-height);
  border: 1px solid rgba(94, 138, 196, 0.16);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 16, 30, 0.98) 0%, rgba(10, 22, 41, 0.99) 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.screen {
  position: relative;
  min-height: 100%;
  height: 100%;
  padding: 18px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  animation: screen-enter 320ms ease-out;
}

.screen.with-nav {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.auth-screen {
  justify-content: flex-start;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top center, rgba(41, 115, 189, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(5, 12, 24, 0.1), transparent 35%);
}

.screen > * {
  position: relative;
  z-index: 1;
}

.screen-scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  padding: 18px 16px 86px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-note-inline {
  margin-left: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.topbar,
.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.left-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(12, 22, 38, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-tag {
  font-size: 15px;
  font-weight: 600;
  color: #c8d5e8;
}

.page-pill {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 33, 62, 0.96);
  color: #c8d5e8;
  font-size: 15px;
  font-weight: 600;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5ed8ff, #2468ff 55%, #5f4aff);
  box-shadow: 0 8px 18px rgba(28, 120, 210, 0.35);
  position: relative;
}

.brand-mark-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px 10px 4px 4px;
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.brand-mark::after {
  inset: 15px 9px 9px;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.brand-copy strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.08em;
  word-break: break-word;
}

.hero,
.panel,
.feature-card,
.order-card,
.product-card,
.profile-card,
.banner-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 20, 35, 0.96) 0%, rgba(10, 20, 34, 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-visual {
  z-index: 0;
}

.image-hero-card {
  position: relative;
  min-height: 244px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(42, 77, 118, 0.9);
  background: #0a1324;
}

.image-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 9, 18, 0.04) 0%, rgba(4, 9, 18, 0.68) 100%);
}

.image-hero-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 1;
}

.image-hero-copy .hero-title {
  margin-top: 10px;
  font-size: 30px;
}

.image-hero-copy .hero-desc {
  margin-top: 10px;
  color: rgba(236, 244, 255, 0.9);
  font-size: 14px;
}

.home-banner-card {
  min-height: 178px;
}

.home-banner-card.is-plain::after {
  display: none;
}

.home-carousel {
  --carousel-index: 0;
}

.home-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 320ms ease;
  transform: translateX(calc(var(--carousel-index) * -100%));
}

.home-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.home-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 0 1px rgba(10, 20, 35, 0.18);
}

.home-carousel-dot.is-active {
  width: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.compact-page-hero {
  min-height: 164px;
}

.compact-page-hero .image-hero-copy {
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.compact-page-hero .hero-title {
  margin-top: 8px;
  font-size: 24px;
}

.compact-page-hero .hero-desc {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.compact-page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-screen .image-hero-card {
  min-height: 290px;
}

.auth-brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 12px 8px;
}

.auth-brand-logo-shell {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(166, 213, 255, 0.45);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.26), transparent 38%),
    linear-gradient(145deg, rgba(14, 30, 53, 0.96), rgba(24, 18, 52, 0.92));
  box-shadow:
    0 14px 28px rgba(6, 14, 30, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.auth-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-brand-caption {
  max-width: 260px;
  text-align: center;
  color: rgba(236, 244, 255, 0.94);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 144px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 212, 92, 0.28), transparent 26%),
    radial-gradient(circle at 30% 65%, rgba(88, 208, 255, 0.35), transparent 28%),
    linear-gradient(135deg, #0b1630 0%, #14305d 55%, #0b1831 100%);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual::before {
  width: 250px;
  height: 250px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(87, 214, 255, 0.18), transparent 62%);
}

.hero-visual::after {
  width: 200px;
  height: 200px;
  left: -70px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(93, 110, 255, 0.2), transparent 60%);
}

.hero-visual.is-gift {
  padding: 0;
  background: #0a1425;
  border: 1px solid rgba(94, 216, 255, 0.26);
  box-shadow:
    0 0 0 1px rgba(94, 216, 255, 0.12),
    0 0 28px rgba(27, 129, 212, 0.28),
    inset 0 0 18px rgba(190, 236, 255, 0.08);
}

.hero-visual.is-gift img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual.abstract-login,
.hero-visual.abstract-register,
.hero-visual.abstract-product,
.hero-visual.abstract-team,
.hero-visual.abstract-support {
  padding: 18px;
}

.visual-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  animation: float 6s ease-in-out infinite;
}

.visual-orb.one {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(95, 235, 255, 0.95), rgba(95, 235, 255, 0.12));
  top: 24px;
  right: 24px;
}

.visual-orb.two {
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, rgba(255, 208, 113, 0.95), rgba(255, 208, 113, 0.12));
  top: 90px;
  left: 32px;
  animation-delay: -1.3s;
}

.visual-orb.three {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, rgba(147, 99, 255, 0.95), rgba(147, 99, 255, 0.12));
  bottom: 28px;
  right: 40px;
  animation-delay: -2.4s;
}

.visual-gift-box {
  position: absolute;
  inset: auto 50% 18px auto;
  transform: translateX(50%);
  width: 122px;
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1d5fe8, #5db8ff);
  box-shadow: 0 18px 48px rgba(21, 104, 210, 0.45);
}

.visual-gift-box::before,
.visual-gift-box::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, #f2cc6f, #ffebb2);
}

.visual-gift-box::before {
  width: 16px;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.visual-gift-box::after {
  height: 14px;
  left: 0;
  right: 0;
  top: 40%;
  transform: translateY(-50%);
}

.visual-lid {
  position: absolute;
  width: 132px;
  height: 42px;
  border-radius: 18px;
  left: 50%;
  top: 22px;
  transform: translateX(-50%) rotate(-8deg);
  background: linear-gradient(135deg, #61c5ff, #2761ea);
  box-shadow: 0 12px 32px rgba(18, 95, 215, 0.44);
}

.visual-lid::before,
.visual-lid::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 100%;
  background: linear-gradient(180deg, #f2cc6f, #ffebb2);
}

.visual-ribbon {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 88px;
  height: 56px;
  transform: translateX(-50%);
}

.visual-ribbon::before,
.visual-ribbon::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 28px;
  border: 5px solid #83c8ff;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  top: 0;
}

.visual-ribbon::before {
  left: 0;
  transform: rotate(-15deg);
}

.visual-ribbon::after {
  right: 0;
  transform: rotate(15deg);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--cyan);
}

.hero-title {
  font-size: 30px;
  line-height: 1.14;
  margin: 0;
}

.hero-title,
.auth-title,
.detail-title,
.summary-amount,
.order-title,
.row-title,
.section-title,
.page-title,
.brand-copy strong {
  color: #f5f9ff;
}

.hero-desc,
.muted-copy,
.note-copy,
.row-desc,
.field-hint,
.asset-caption {
  font-size: 14px;
  line-height: 1.55;
  color: #b0c3d9;
}

.note-copy {
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.stats-grid,
.metric-grid,
.dual-grid,
.action-grid {
  display: grid;
  gap: 10px;
}

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

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

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

.stat-card,
.metric-card,
.mini-card {
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(52, 82, 112, 0.9);
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.9), rgba(12, 22, 36, 0.9));
}

.metric-card {
  min-height: 124px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.stat-card.alt,
.metric-card.alt {
  border-color: rgba(97, 75, 145, 0.8);
  background: linear-gradient(180deg, rgba(26, 20, 42, 0.92), rgba(22, 22, 35, 0.92));
}

.stat-card strong,
.metric-card strong,
.asset-value,
.money-value {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.stat-card span,
.metric-card span,
.mini-card span {
  font-size: 12px;
  color: #a7bfd8;
}

.metric-card span {
  font-size: 13px;
}

.metric-card strong {
  font-size: 24px;
}

.asset-summary-panel {
  padding: 26px 30px 28px;
}

.asset-summary-panel .summary-amount {
  font-size: 30px;
}

.panel-kicker {
  color: #a5b6cc;
  font-size: 18px;
  font-weight: 500;
}

.summary-amount {
  margin-top: 18px;
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
}

.summary-triple-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.summary-mini-card {
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(17, 28, 46, 0.92);
}

.summary-mini-card span {
  display: block;
  font-size: 14px;
  color: #a7bfd8;
}

.summary-mini-card strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.15;
}

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

.shortcut-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.shortcut-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.shortcut-copy strong {
  font-size: 14px;
  line-height: 1.1;
}

.shortcut-copy small {
  font-size: 11px;
  line-height: 1.1;
  color: var(--muted);
  font-weight: 600;
}

.shortcut-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 127, 175, 0.5);
  background: rgba(10, 23, 39, 0.94);
  color: var(--cyan);
}

.shortcut-icon .icon {
  width: 24px;
  height: 24px;
}

.shortcut-icon.alt {
  border-color: rgba(65, 97, 189, 0.55);
  color: #aebdff;
}

.shortcut-icon.alt-teal {
  border-color: rgba(44, 152, 156, 0.55);
  color: #6bf5ff;
}

.shortcut-icon.alt-violet {
  border-color: rgba(120, 105, 221, 0.5);
  color: #d3c6ff;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-title-xl {
  font-size: 18px;
}

.section-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.product-highlight-card {
  min-height: 98px;
  align-items: center;
}

.product-highlight-card .row-title {
  font-size: 20px;
}

.product-highlight-card .row-desc {
  font-size: 14px;
}

.product-detail-panel {
  padding: 14px;
  position: relative;
  overflow: hidden;
  border-color: rgba(94, 136, 214, 0.28);
  background:
    radial-gradient(circle at 14% 16%, rgba(93, 220, 255, 0.2), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(179, 91, 255, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(9, 22, 39, 0.98), rgba(11, 18, 37, 0.96) 44%, rgba(19, 14, 41, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 34px rgba(10, 16, 33, 0.22);
}

.product-detail-panel::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -18px;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-image-frame {
  width: 118px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(120, 192, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 22px rgba(28, 92, 168, 0.22);
}

.product-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-copy {
  min-width: 0;
  flex: 1;
}

.detail-title {
  margin-top: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(94, 199, 255, 0.1);
}

.detail-subtitle {
  margin-top: 6px;
  color: #a7bed7;
  font-size: 12px;
}

.product-mini-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-mini-tag {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(114, 173, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(33, 67, 125, 0.82), rgba(31, 30, 85, 0.72));
  color: #d5e9ff;
  font-size: 10px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.product-list-summary {
  padding: 16px 18px;
}

.product-list-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-list-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-list-card.is-featured {
  border-color: rgba(94, 136, 214, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(10, 16, 33, 0.18);
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.product-card-media {
  width: 108px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(120, 192, 255, 0.24);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-title {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card-tag {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(114, 173, 255, 0.24);
  background: linear-gradient(90deg, rgba(33, 67, 125, 0.54), rgba(31, 30, 85, 0.44));
  color: #d5e9ff;
  font-size: 10px;
  font-weight: 600;
}

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

.product-card-actions {
  display: block;
}

.product-action-button {
  width: 100%;
}

.product-metric-card {
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(61, 96, 141, 0.42);
  background: linear-gradient(145deg, rgba(12, 25, 44, 0.9), rgba(9, 18, 33, 0.86));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.product-metric-card span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.2;
}

.product-metric-card strong {
  font-size: 15px;
  line-height: 1.2;
  color: var(--text);
}

.order-list-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-list-card.is-featured {
  border-color: rgba(94, 136, 214, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(10, 16, 33, 0.18);
}

.order-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.order-card-media {
  width: 108px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(120, 192, 255, 0.24);
}

.order-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-card-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-card-title {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.order-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.order-card-tag {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(114, 173, 255, 0.24);
  background: linear-gradient(90deg, rgba(33, 67, 125, 0.54), rgba(31, 30, 85, 0.44));
  color: #d5e9ff;
  font-size: 10px;
  font-weight: 600;
}

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

.order-metric-card {
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(61, 96, 141, 0.42);
  background: linear-gradient(145deg, rgba(12, 25, 44, 0.9), rgba(9, 18, 33, 0.86));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.order-metric-card span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.2;
}

.order-metric-card strong {
  font-size: 15px;
  line-height: 1.2;
  color: var(--text);
}

.product-ultra-spec {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(61, 96, 141, 0.58);
  background:
    linear-gradient(145deg, rgba(12, 25, 44, 0.92), rgba(9, 18, 33, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 18px rgba(8, 18, 33, 0.16);
}

.product-ultra-spec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, rgba(98, 247, 255, 0.88), rgba(98, 247, 255, 0));
}

.product-ultra-spec:nth-child(2n) {
  background:
    linear-gradient(145deg, rgba(18, 19, 49, 0.94), rgba(8, 17, 31, 0.9));
}

.product-ultra-spec:nth-child(3) {
  background:
    radial-gradient(circle at top left, rgba(93, 220, 255, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(12, 25, 44, 0.94), rgba(9, 18, 33, 0.9));
}

.product-ultra-spec span {
  display: block;
  font-size: 9px;
  color: #96b0ca;
}

.product-ultra-spec strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  color: #f5f9ff;
  text-shadow: 0 0 16px rgba(98, 247, 255, 0.08);
}

.product-list-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-list-card {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(70, 104, 148, 0.34);
  background:
    radial-gradient(circle at top left, rgba(93, 220, 255, 0.1), transparent 28%),
    linear-gradient(160deg, rgba(11, 24, 42, 0.96), rgba(10, 20, 34, 0.92) 44%, rgba(20, 14, 41, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 26px rgba(10, 16, 33, 0.16);
}

.product-list-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #7cf6ff, #7b5cff 70%, transparent);
}

.product-list-media {
  width: 84px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.product-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-list-content {
  min-width: 0;
  flex: 1;
}

.product-list-title {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #f5f9ff;
}

.product-list-badge {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #09111f;
  background: linear-gradient(90deg, #97f5ff, #74b9ff);
  box-shadow: 0 8px 16px rgba(83, 182, 255, 0.22);
}

.product-list-subtitle {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}

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

.product-list-metric {
  position: relative;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(51, 85, 127, 0.74);
  background: rgba(10, 19, 34, 0.86);
}

.product-list-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(123, 246, 255, 0.9), rgba(123, 246, 255, 0));
}

.product-list-metric span {
  display: block;
  font-size: 9px;
  color: #9eb6d0;
}

.product-list-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.1;
  color: #f5f9ff;
}

.panel {
  padding: 14px 16px;
}

.auth-panel {
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-screen .auth-panel {
  padding: 24px 18px 22px;
  gap: 18px;
}

.auth-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.auth-intro {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.panel-title,
.section-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.section-caption {
  font-size: 12px;
  color: var(--muted);
}

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 13px;
  color: #aec5dd;
  font-weight: 600;
}

.input-shell {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(11, 22, 38, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.auth-field .field-label {
  font-size: 15px;
  color: #eef4ff;
  font-weight: 700;
}

.auth-input-shell {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 20px;
  border-color: rgba(38, 72, 112, 0.92);
  background: rgba(14, 25, 43, 0.98);
}

.auth-input-shell input {
  font-size: 16px;
}

.login-auth-panel .auth-input-shell {
  min-height: 50px;
  padding: 0 14px;
  border-radius: 16px;
}

.login-auth-panel .auth-input-shell input {
  font-size: 15px;
}

.login-auth-panel .auth-input-shell input::placeholder {
  font-size: 13px;
  color: #8ea5be;
}

.register-auth-panel .auth-input-shell {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
}

.register-auth-panel .auth-input-shell input {
  font-size: 15px;
}

.prefix-chip {
  min-width: 56px;
  height: 34px;
  padding: 0 12px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 53, 89, 0.94);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.field-action-button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 18px;
  flex-shrink: 0;
}

.register-auth-panel .field-action-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 13px;
}

.auth-screen .primary-button {
  min-height: 58px;
  font-size: 18px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: #03131f;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 100%);
  box-shadow: 0 14px 28px rgba(17, 145, 219, 0.2);
}

.secondary-button,
.ghost-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(10, 21, 36, 0.9);
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.chip:active,
.action-card:active,
.menu-item:active {
  transform: scale(0.98);
}

.link-inline {
  color: var(--cyan);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.auth-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.auth-links {
  font-size: 14px;
}

.auth-links-center {
  justify-content: center;
}

.chip-row,
.pill-row {
  display: flex;
  gap: 10px;
}

.chip,
.pill {
  flex: 1;
  min-height: 42px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 19, 34, 0.9);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.chip.active,
.pill.active {
  color: #04121f;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 100%);
  border-color: transparent;
}

.action-card {
  min-height: 92px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(32, 61, 92, 0.9);
  background:
    radial-gradient(circle at top center, rgba(87, 214, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(10, 20, 34, 0.96), rgba(12, 22, 38, 0.94));
  text-decoration: none;
  color: var(--text);
}

.action-card span {
  font-size: 12px;
  font-weight: 600;
}

.banner-card {
  padding: 18px;
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(12, 30, 57, 0.98), rgba(22, 57, 108, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.banner-card::before {
  content: "";
  position: absolute;
  inset: auto -18px -52px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 214, 255, 0.28), transparent 60%);
}

.banner-card strong {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.banner-card.image-banner {
  background: #091325;
}

.banner-card.image-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-card.image-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 20, 0.08) 0%, rgba(4, 10, 20, 0.62) 100%);
}

.banner-card.image-banner > div {
  position: relative;
  z-index: 1;
}

.row-card,
.menu-item,
.list-row,
.order-card,
.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.row-card,
.order-card,
.product-card,
.list-row {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(10, 20, 34, 0.92);
}

.row-left,
.order-left,
.list-left,
.product-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stack strong,
.row-title,
.list-title,
.order-title {
  font-size: 15px;
  font-weight: 700;
}

.stack small,
.row-desc,
.list-desc,
.order-desc {
  color: var(--muted);
  font-size: 12px;
}

.row-right,
.order-right,
.list-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.amount-positive {
  color: var(--success);
}

.amount-negative {
  color: var(--danger);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(81, 143, 204, 0.55);
  background: rgba(13, 34, 56, 0.82);
  color: #bfefff;
  font-size: 12px;
  font-weight: 700;
}

.badge.violet {
  border-color: rgba(144, 112, 235, 0.48);
  background: rgba(30, 21, 50, 0.84);
  color: #d9d0ff;
}

.copy-button {
  min-width: 76px;
  min-height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(81, 143, 204, 0.44);
  background: rgba(11, 28, 47, 0.82);
  color: var(--cyan);
  font-weight: 700;
}

.order-hero-card {
  min-height: 174px;
}

.holding-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 26, 45, 0.96);
}

.holding-media {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(120, 192, 255, 0.24);
}

.holding-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.holding-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.holding-copy .order-title {
  font-size: 17px;
}

.holding-copy .order-desc {
  font-size: 12px;
}

.holding-status {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(90, 160, 255, 0.24);
  background: rgba(21, 39, 68, 0.84);
}

.holding-status.is-active {
  color: var(--cyan);
}

.holding-status.is-done {
  color: #b5c2d3;
}

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

.holding-metric {
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(61, 96, 141, 0.38);
  background: linear-gradient(145deg, rgba(12, 25, 44, 0.88), rgba(9, 18, 33, 0.82));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.holding-metric span {
  font-size: 10px;
  color: var(--muted);
}

.holding-metric strong {
  font-size: 14px;
  line-height: 1.2;
  color: var(--text);
}

.team-summary-panel {
  padding: 18px 18px 16px;
}

.summary-amount.accent,
.team-row-card strong {
  color: var(--cyan);
}

.team-summary-panel .summary-amount {
  font-size: 28px;
}

.team-row-card {
  width: 100%;
  min-height: 60px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(22, 33, 56, 0.96);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  text-align: left;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.team-row-label {
  flex: 1;
  min-width: 0;
}

.team-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-left: auto;
}

.team-row-card strong {
  font-size: 18px;
}

.team-row-card small {
  font-size: 11px;
  color: var(--muted);
}

.team-row-card.is-active {
  border-color: rgba(94, 136, 214, 0.42);
  background:
    radial-gradient(circle at left center, rgba(76, 219, 255, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(20, 37, 66, 0.98), rgba(24, 21, 63, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(10, 16, 33, 0.16);
}

.team-row-arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(159, 201, 255, 0.9);
  border-right: 2px solid rgba(159, 201, 255, 0.9);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.team-row-card.is-active .team-row-arrow {
  transform: rotate(135deg);
  border-color: #7cf6ff;
}

.team-members-panel {
  padding: 16px;
  margin-top: -2px;
}

.team-members-panel.is-hidden {
  display: none;
}

.team-members-panel.is-open {
  display: block;
}

.team-members-panel.is-loading {
  opacity: 0.7;
}

.team-member-row {
  margin-top: 10px;
}

.team-members-empty {
  margin-top: 10px;
}

.team-members-pagination {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-page-button {
  min-width: 88px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
}

.team-page-button:disabled {
  opacity: 0.45;
}

.team-page-status {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.invite-panel {
  padding: 18px 18px 16px;
}

.invite-action-row {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.invite-link-display {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(16, 27, 47, 0.96);
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.primary-button-compact {
  min-width: 88px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 14px;
}

.team-summary-panel .panel-kicker,
.invite-panel .section-title-xl {
  font-size: 15px;
  line-height: 1.2;
}

.team-summary-panel .hero-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4ad2ff, #285cff 55%, #7b54ff);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(34, 107, 201, 0.32);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.is-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 26px;
}

.profile-overview-card {
  gap: 14px;
}

.profile-prototype-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-prototype-card .summary-amount {
  margin-top: 10px;
  font-size: 30px;
  color: #f5f9ff;
}

.profile-prototype-card .panel-kicker {
  color: #aabed3;
  font-size: 12px;
}

.profile-prototype-card .stat-card strong,
.profile-prototype-card .row-left strong {
  color: #f5f9ff;
}

.profile-prototype-card .stat-card {
  padding: 12px 14px;
}

.profile-prototype-card .stat-card strong {
  font-size: 18px;
}

.profile-hero-media {
  position: relative;
  min-height: 160px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(58, 100, 144, 0.6);
  background: #091325;
}

.profile-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 22, 0.08) 0%, rgba(5, 12, 22, 0.72) 100%),
    linear-gradient(90deg, rgba(5, 12, 22, 0.42) 0%, rgba(5, 12, 22, 0.08) 58%, rgba(5, 12, 22, 0.36) 100%);
}

.profile-hero-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
}

.profile-hero-copy strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.15;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(34, 55, 80, 0.9);
  background: rgba(8, 16, 32, 0.96);
  backdrop-filter: blur(14px);
}

.nav-item {
  min-height: 50px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.nav-item.active {
  color: var(--cyan);
  background: transparent;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.solid svg {
  fill: currentColor;
  stroke: none;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-icon-shell {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 27, 46, 0.96);
  border: 1px solid rgba(36, 59, 89, 0.82);
  color: #afc0d6;
}

.menu-icon-shell .icon {
  width: 20px;
  height: 20px;
}

.menu-item {
  min-height: 56px;
  padding: 0 16px;
  text-decoration: none;
  color: var(--text);
}

.menu-item .stack small {
  color: #8ca3bf;
}

.menu-item.is-featured {
  min-height: 76px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1px solid rgba(34, 60, 96, 0.96);
  background:
    radial-gradient(circle at right top, rgba(53, 134, 212, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(16, 28, 47, 0.98), rgba(13, 24, 40, 0.98));
}

.menu-item.is-featured .stack {
  gap: 5px;
}

.menu-item.is-featured .stack strong {
  font-size: 16px;
}

.menu-item.is-featured .stack small {
  font-size: 12px;
}

.menu-item.is-featured .row-right {
  gap: 8px;
}

.menu-item.is-team .menu-icon-shell {
  background: linear-gradient(180deg, rgba(16, 49, 79, 0.98), rgba(13, 33, 56, 0.98));
  border-color: rgba(52, 140, 222, 0.52);
  color: var(--cyan);
  box-shadow: 0 10px 20px rgba(15, 83, 146, 0.18);
}

.menu-item.is-ledger .menu-icon-shell {
  background: linear-gradient(180deg, rgba(36, 29, 66, 0.98), rgba(22, 21, 44, 0.98));
  border-color: rgba(121, 105, 207, 0.46);
  color: #c7bbff;
  box-shadow: 0 10px 20px rgba(72, 58, 135, 0.16);
}

.menu-item.is-bank .menu-icon-shell {
  background: linear-gradient(180deg, rgba(64, 44, 18, 0.98), rgba(39, 28, 14, 0.98));
  border-color: rgba(223, 171, 72, 0.42);
  color: #ffd47b;
  box-shadow: 0 10px 20px rgba(123, 87, 24, 0.16);
}

.menu-item.is-product .menu-icon-shell {
  background: linear-gradient(180deg, rgba(14, 52, 76, 0.98), rgba(13, 33, 56, 0.98));
  border-color: rgba(72, 191, 208, 0.42);
  color: #8bf3ff;
  box-shadow: 0 10px 20px rgba(18, 92, 108, 0.14);
}

.menu-item.is-support .menu-icon-shell {
  background: linear-gradient(180deg, rgba(17, 58, 46, 0.98), rgba(13, 36, 31, 0.98));
  border-color: rgba(70, 196, 151, 0.42);
  color: #8effd3;
  box-shadow: 0 10px 20px rgba(26, 100, 81, 0.14);
}

.menu-item.is-password .menu-icon-shell {
  background: linear-gradient(180deg, rgba(72, 26, 39, 0.98), rgba(42, 18, 25, 0.98));
  border-color: rgba(220, 108, 142, 0.4);
  color: #ffb9d0;
  box-shadow: 0 10px 20px rgba(108, 35, 58, 0.14);
}

.menu-item.is-download .menu-icon-shell {
  background: linear-gradient(180deg, rgba(18, 55, 52, 0.98), rgba(14, 34, 36, 0.98));
  border-color: rgba(82, 206, 194, 0.42);
  color: #97fff2;
  box-shadow: 0 10px 20px rgba(25, 103, 96, 0.14);
}

.badge.is-soft-cyan {
  border-color: rgba(76, 160, 220, 0.42);
  background: rgba(16, 44, 74, 0.88);
  color: #b9edff;
}

.badge.is-soft-violet {
  border-color: rgba(124, 110, 215, 0.42);
  background: rgba(31, 24, 58, 0.9);
  color: #ddd4ff;
}

.badge.is-soft-amber {
  border-color: rgba(201, 154, 66, 0.38);
  background: rgba(52, 39, 15, 0.9);
  color: #ffdba0;
}

.badge.is-soft-green {
  border-color: rgba(76, 184, 141, 0.38);
  background: rgba(18, 49, 41, 0.9);
  color: #b9ffe6;
}

.badge.is-soft-rose {
  border-color: rgba(208, 108, 152, 0.36);
  background: rgba(55, 22, 34, 0.9);
  color: #ffd1e1;
}

.logout-button {
  margin-top: 4px;
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(84, 39, 55, 0.9);
  background: rgba(28, 16, 23, 0.92);
  color: #ffd9df;
  font-weight: 700;
}

.login-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.login-card,
.register-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--cyan-2);
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(12px);
  min-width: 160px;
  max-width: calc(100vw - 36px);
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(7, 16, 29, 0.96);
  border: 1px solid rgba(94, 216, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 13px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes screen-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 460px) {
  .app-shell {
    padding: 0;
  }

  .app-root {
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .screen {
    min-height: 100vh;
  }
}
