* { box-sizing: border-box; }
:root {
  --bg-1: #1a1622;
  --bg-2: #231a2f;
  --card: #262033;
  --card-2: #2d253a;
  --stroke: #3a2d47;
  --text: #f3ede5;
  --muted: #b6a8c4;
  --accent: #f26522;
  --accent-2: #ff8a2a;
  --hub-home-text: #f2ede4;
  --hub-home-muted: #98a2af;
  --hub-home-border: rgba(255, 255, 255, 0.055);
  --hub-home-surface: linear-gradient(145deg, rgba(39, 47, 56, 0.98), rgba(27, 34, 42, 0.99));
  --hub-home-surface-soft: linear-gradient(145deg, rgba(30, 37, 45, 1), rgba(23, 29, 35, 1));
  --hub-home-surface-strong: linear-gradient(145deg, rgba(25, 31, 38, 1), rgba(20, 24, 29, 1));
  --hub-home-highlight: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 26%);
  --hub-home-shadow: 16px 16px 28px rgba(7, 10, 14, 0.56), -10px -10px 22px rgba(255, 255, 255, 0.02);
  --hub-home-shadow-hover: 18px 18px 32px rgba(7, 10, 14, 0.58), -12px -12px 24px rgba(255, 255, 255, 0.022);
  --hub-home-inset-shadow: inset 6px 6px 12px rgba(10, 13, 17, 0.5), inset -5px -5px 10px rgba(255, 255, 255, 0.018);
  --hub-home-accent: #ff9a55;
  --hub-home-accent-strong: linear-gradient(180deg, #ffb06f 0%, #ff7d35 100%);
}

.index-stock-mode-switch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 4px;
  margin: 0 26px 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #091119;
}
.index-stock-mode-switch.hidden { display: none; }
.index-stock-mode-switch button {
  overflow: hidden;
  min-height: 34px;
  padding: 8px 10px;
  margin: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #9da8b1;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.index-stock-mode-switch button.active {
  background: linear-gradient(180deg, #ff9f25, #ff7900);
  color: #160d05;
  box-shadow: 0 6px 14px rgba(255, 126, 0, .18);
}
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 10% 10%, rgba(255, 120, 40, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: var(--text);
  font-family: Arial, sans-serif;
}
.wrap { max-width: 520px; margin: 0 auto; padding: 18px 14px calc(104px + env(safe-area-inset-bottom, 0px)); }
h1 { font-size: 18px; margin: 10px 0 16px; }
.status { padding: 6px 12px; min-height: 28px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; border: 1px solid #5a3b2a; background: rgba(20, 16, 24, 0.6); color: #e7d9c2; }
.status.active { color: #1b1207; background: #f3a14b; border-color: #f3a14b; }
.qr-trigger { width: 32px; height: 32px; border-radius: 10px; background: transparent; display: grid; place-items: center; border: 1px solid #5a3b2a; padding: 0; line-height: 0; appearance: none; }
.qr-trigger img { width: 22px; height: 22px; display: block; filter: invert(1) brightness(1.2); }
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
button { padding: 12px 14px; background: var(--accent); color: #1f0f06; border: 0; border-radius: 10px; font-weight: bold; margin-bottom: 16px; }
video { width: 100%; border-radius: 8px; background: #000; }
.qr { display: block; margin: 8px auto 2px; background: #fff; padding: 10px; border-radius: 12px; width: 220px; height: 220px; }
.card-status { margin-top: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #221b2b; font-size: 13px; }
.notice { margin: 8px 0 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #221b2b; font-size: 13px; color: var(--muted); }
.balance { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.balance strong { font-size: 30px; color: var(--text); }
.toast { margin-top: 12px; padding: 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #221b2b; font-size: 13px; }
.field { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #1a1524; color: var(--text); margin-bottom: 12px; }
.field:disabled {
  color: var(--text);
  opacity: 1;
  -webkit-text-fill-color: var(--text);
}
.username {
  width: 100%;
  text-align: left;
  font-size: 14px;
  color: #d7c4d9;
  margin: 4px 0 2px;
  padding-left: 52px;
  padding-right: 24px;
  line-height: 1.24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.username .name {
  color: #f2e7db;
  font-weight: 600;
}
.visit-count {
  width: 100%;
  text-align: left;
  font-size: 13px;
  color: #c2b0cf;
  margin: 0 0 10px;
  padding-left: 52px;
  padding-right: 24px;
  line-height: 1.22;
}
.client-view { display: grid; gap: 8px; }
.greeting { font-size: 16px; color: var(--muted); }
.brand-title {
  text-align: left;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.06;
  margin: 0;
  color: #e5d5c1;
  width: 100%;
  padding-left: 52px;
  padding-right: 96px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.12);
}
.brand-title span { color: var(--accent); }
.brand-title.operator-brand-title {
  display: inline-grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-left: 0;
  padding-right: 64px;
  letter-spacing: 0;
  color: var(--hub-home-text);
}
.operator-brand-icon {
  width: 46px;
  height: 46px;
  display: block;
  border: 1px solid rgba(255, 164, 92, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 18% 0%, rgba(255, 222, 188, 0.18), rgba(255, 222, 188, 0) 38%),
    linear-gradient(145deg, rgba(255, 154, 85, 0.12), rgba(21, 27, 34, 0.96));
  box-shadow: var(--soft-inset);
  position: relative;
}
.operator-brand-icon::before,
.operator-brand-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid #ffd8bb;
}
.operator-brand-icon::before {
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.operator-brand-icon::after {
  bottom: 10px;
  width: 24px;
  height: 12px;
  border-radius: 12px 12px 7px 7px;
}
.operator-brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.operator-brand-name {
  color: var(--hub-home-text);
  font-size: 17px;
  line-height: 1.08;
  font-weight: 900;
}
.operator-brand-subtitle {
  color: var(--hub-home-muted);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
}
.header-row {
  position: relative;
  margin-bottom: 8px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 32px;
}
.hub-top-btn {
  position: absolute;
  left: -5px;
  top: -1px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  color: var(--muted);
  z-index: 19;
  cursor: pointer;
}
.hub-top-btn.active { color: var(--accent); }
.hub-top-btn.hidden { display: none; }
.hub-top-btn .nav-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-color: currentColor;
}
.hub-top-btn-label {
  position: absolute;
  left: 50%;
  top: 31px;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.6px;
  font-weight: 700;
  text-transform: uppercase;
  color: currentColor;
  pointer-events: none;
}
.operator-guide-btn {
  position: absolute;
  left: -5px;
  top: -1px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  color: var(--muted);
  z-index: 20;
  cursor: pointer;
}
.operator-guide-btn.active {
  color: var(--accent);
}
.operator-guide-btn.hidden { display: none; }
.operator-guide-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-color: currentColor;
  mask: url("/static/guide.png") no-repeat center / contain;
  -webkit-mask: url("/static/guide.png") no-repeat center / contain;
}
.notify-btn {
  position: absolute;
  right: -5px;
  top: -10px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  overflow: visible;
  z-index: 20;
}
.notify-btn.active { color: var(--accent); }
.notify-icon {
  width: 20px;
  height: 20px;
  background-color: var(--muted);
  mask: url("/static/notification.png") no-repeat center / contain;
  -webkit-mask: url("/static/notification.png") no-repeat center / contain;
}
.notify-btn.operator-voucher-btn .notify-icon,
.notify-icon.operator-voucher-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transform: scale(1.1);
  background: none;
  mask: none;
  -webkit-mask: none;
}
.notify-btn.active .notify-icon { background-color: var(--accent); }
.specials-btn {
  position: absolute;
  right: 75px;
  top: -10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  z-index: 20;
}
.specials-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: currentColor;
  transform: translateY(1px);
}
.specials-btn.active { color: var(--accent); }
.specials-btn.hidden { display: none; }
.cart-btn {
  position: absolute;
  right: 60px;
  top: 2px;
  width: 4px;
  height: 4px;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  overflow: visible;
  z-index: 20;
}
.cart-btn.active { color: var(--accent); }
.cart-icon-svg {
  width: 26px;
  height: 26px;
  display: block;
  color: currentColor;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -30px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #2b1105;
  font-size: 11px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.cart-badge.hidden { display: none; }
.notify-badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #2b1105;
  font-size: 11px;
  display: grid;
  place-items: center;
  z-index: 30;
  font-weight: 700;
  pointer-events: none;
}
.qr-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 34%),
    linear-gradient(140deg, #ff9038 0%, #ff7f2d 58%, #f26a1f 100%);
  border: 1px solid rgba(255, 190, 126, 0.78);
  color: #2b1105;
  padding: 16px;
  border-radius: 18px;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -12px 22px rgba(146, 52, 9, 0.1);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}
.qr-cta::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.44), transparent);
  pointer-events: none;
}
.qr-cta::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 196, 0.22), transparent 72%);
  pointer-events: none;
}
.qr-cta-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02) 42%),
    linear-gradient(180deg, rgba(120, 48, 12, 0.22), rgba(102, 40, 9, 0.18));
  border: 1px solid rgba(126, 51, 12, 0.12);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -10px 16px rgba(86, 34, 8, 0.08);
}
.qr-cta-icon::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.07);
  pointer-events: none;
}
.qr-cta-icon img {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: block;
  filter: invert(1);
}
.qr-cta-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.qr-cta h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.qr-cta p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.22;
  color: rgba(43, 17, 5, 0.92);
}
.qr-cta-note {
  color: rgba(43, 17, 5, 0.98);
  font-weight: 700;
}
.qr-cta-coupon {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 1;
  width: 28px;
  height: 28px;
  pointer-events: none;
  background: #ffd8bb;
  -webkit-mask: var(--coupon-icon-url, url("/static/coupon.png?v=1")) no-repeat center / contain;
  mask: var(--coupon-icon-url, url("/static/coupon.png?v=1")) no-repeat center / contain;
  transform-origin: 50% 20%;
  animation: qrCouponFloat 2.8s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 216, 187, 0.18);
}
@keyframes qrCouponFloat {
  0%, 100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-4px) rotate(6deg);
  }
}
.cta-line { margin: -6px 2px 2px; text-align: center; color: #c8b5d6; font-size: 14px; }
.first-visit-info {
  margin: 6px 2px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #5c4163;
  background: rgba(44, 27, 57, 0.72);
  color: #e6d4f3;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}
.loyalty-hero {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}
.loyalty-summary-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  padding: 0 0 42px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(255, 170, 110, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(54, 41, 72, 0.82), rgba(43, 33, 58, 0.82)),
    var(--card-2);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.loyalty-summary-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px 14px;
}
.loyalty-summary-top.has-wallet {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(86px, 0.8fr);
}
.loyalty-summary-top::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}
.loyalty-summary-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  pointer-events: none;
}
.loyalty-summary-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 178, 112, 0.18), transparent 72%);
  pointer-events: none;
}
.loyalty-summary-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.loyalty-summary-card:active {
  transform: translateY(1px);
}
.loyalty-balance-side,
.loyalty-rate-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.loyalty-balance-side {
  text-align: left;
  align-items: flex-start;
}
.loyalty-rate-side {
  position: relative;
  text-align: right;
  align-items: flex-end;
}
.loyalty-icon-actions {
  position: absolute;
  right: 87px;
  top: -2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.loyalty-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  cursor: pointer;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
}
#homeReferralBtn {
  opacity: 1;
  isolation: isolate;
}
#homeReferralBtn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 178, 112, 0.62) 0%, rgba(255, 150, 80, 0.34) 46%, rgba(255, 150, 80, 0) 76%);
  box-shadow:
    0 0 0 1px rgba(255, 216, 187, 0.34),
    0 0 11px rgba(255, 150, 80, 0.58),
    0 0 23px rgba(255, 125, 53, 0.38);
  animation: referralPlusGlow 1.55s ease-in-out infinite;
  z-index: 0;
}
#homeReferralBtn:hover {
  transform: translateY(-1px) scale(1.06);
  box-shadow:
    0 0 0 3px rgba(192, 201, 217, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.24);
}
#homeReferralBtn:active {
  transform: translateY(1px) scale(0.97);
}
.loyalty-icon-btn img {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1) brightness(2.25) contrast(1.06) drop-shadow(0 0 5px rgba(202, 210, 224, 0.74));
  opacity: 0.98;
}
@keyframes referralPlusGlow {
  0% {
    transform: scale(0.91);
    opacity: 0.62;
  }
  50% {
    transform: scale(1.09);
    opacity: 1;
  }
  100% {
    transform: scale(0.91);
    opacity: 0.62;
  }
}
.loyalty-caption {
  display: block;
  margin-bottom: 0;
  color: #e8dccc;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.loyalty-level-title {
  display: block;
  margin: 0;
  background: transparent;
  color: #f7c895;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-align: right;
  text-transform: uppercase;
}
.loyalty-level-title.empty {
  color: rgba(232, 220, 204, 0.75);
  background: transparent;
}
.loyalty-balance-side strong {
  display: block;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff8ef;
  font-variant-numeric: tabular-nums;
}
#balanceValue {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.wallet-inline-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.wallet-inline-card.hidden { display: none; }
.wallet-inline-card span {
  display: block;
  margin-bottom: 0;
  color: #e8dccc;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wallet-inline-card strong {
  display: block;
  color: #fff8ef;
  font-size: 22px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.loyalty-rate-value {
  display: block;
  margin-top: 0;
  text-align: right;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff8ef;
  font-variant-numeric: tabular-nums;
}
#cashbackRateValue {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.loyalty-description {
  margin-top: 8px;
}
.loyalty-quick-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.01);
  height: 42px;
}
.glass-action-btn {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}
.glass-action-btn + .glass-action-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.glass-action-btn::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}
.glass-action-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}
.glass-action-btn:active {
  transform: translateY(1px);
}
.glass-action-btn.is-locked {
  opacity: 0.86;
}
.glass-action-btn:disabled {
  opacity: 0.58;
  cursor: default;
}
.glass-action-title {
  width: 100%;
  color: #f8eadb;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}
.glass-action-btn::after {
  content: none;
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stats-secondary {
  margin-top: 2px;
}
.stat-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(54, 41, 72, 0.74), rgba(43, 33, 58, 0.74)),
    var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.stat-card::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}
.stat-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 168, 102, 0.12), transparent 72%);
  pointer-events: none;
}
.stats .stat-card:nth-child(1)::after {
  background: radial-gradient(circle, rgba(255, 204, 120, 0.14), transparent 72%);
}
.stats .stat-card:nth-child(2)::after {
  background: radial-gradient(circle, rgba(255, 170, 110, 0.12), transparent 72%);
}
.stats .stat-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(201, 166, 255, 0.12), transparent 72%);
}
.stats .stat-card:nth-child(4)::after {
  background: radial-gradient(circle, rgba(255, 179, 112, 0.12), transparent 72%);
}
.stat-card h4 {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.2;
  color: #f3eadf;
}
.stat-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 22px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff8ef;
  font-variant-numeric: tabular-nums;
}
.stat-foot {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.28;
  color: var(--muted);
}
.stat-card.interactive {
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.stat-card.interactive:hover {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stat-card.interactive:active {
  transform: translateY(1px);
}
.stat-link-text {
  margin-top: 8px;
  padding: 0;
  color: #f7a45d;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.bonus-remaining-row { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.stat-foot #bonusRemaining { font-size: 100%; white-space: nowrap; }
.bonus-progress-dots {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--dot-gap, 8px);
  width: max-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 0 5px 0 0;
}
.bonus-progress-dots::before {
  content: "";
  position: absolute;
  left: calc(var(--dot-size, 24px) / 2);
  right: 0;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  transform: translateY(-50%);
  background:
    linear-gradient(
      90deg,
      var(--hub-home-accent, #ff9a55) 0 var(--progress, 0%),
      rgba(255,255,255,0.10) var(--progress, 0%) 100%
    );
}
.bonus-progress-dots span {
  position: relative;
  z-index: 1;
  flex: 0 0 var(--dot-size, 24px);
  width: var(--dot-size, 24px);
  height: var(--dot-size, 24px);
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: rgba(245, 242, 234, 0.56);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  box-shadow: none;
}
.bonus-progress-dots span::before {
  content: "";
  width: var(--dot-icon-size, 28px);
  height: var(--dot-icon-size, 28px);
  display: block;
  background: rgba(174, 184, 194, 0.62);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.bonus-progress-dots span.done {
  background: transparent;
  color: transparent;
}
.bonus-progress-dots span.done::before {
  background: var(--hub-home-accent-strong, linear-gradient(180deg, #ffad63, #ff7a24));
  filter: drop-shadow(0 0 5px rgba(255, 154, 85, 0.34));
}
.progress {
  position: relative;
  z-index: 1;
  height: 8px;
  background: rgba(18, 14, 25, 0.7);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.32);
}
.progress span {
  display: block;
  height: 100%;
  width: 55%;
  background: linear-gradient(90deg, #f26522, #ff9a55);
  box-shadow: 0 0 10px rgba(242, 101, 34, 0.28);
}
.offers {
  position: relative;
  margin-top: 14px;
  overflow: visible;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.offers::before {
  content: none;
}
.offers-head {
  margin-bottom: 8px;
}
.offers h3 {
  margin: 0 0 4px;
  color: #fff1dd;
  font-size: 18px;
  line-height: 1.15;
}
.offers-subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
#offersList { display: grid; gap: 12px; }
.tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.tag {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tag.active {
  background: linear-gradient(135deg, #ff9a4a, #f26522);
  color: #2b1105;
  border-color: rgba(255, 201, 144, 0.6);
  box-shadow: 0 8px 18px rgba(242, 101, 34, 0.18);
}
.offer-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(31, 24, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 13px;
  box-shadow:
    0 10px 20px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.offer-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.offer-card.no-image { grid-template-columns: 1fr; }
.offer-card.no-image .offer-img { display: none; }
.offer-img {
  width: 110px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b2d45, #1f182a);
  display: grid;
  place-items: center;
  color: #f3ede5;
  font-size: 12px;
  background-size: cover;
  background-position: center;
}
.offer-card-featured {
  position: relative;
  display: block;
  padding: 0;
  min-height: 220px;
  overflow: hidden;
}
.offer-featured-media {
  min-height: 220px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: rgba(17, 23, 30, 0.34);
}
.offer-featured-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 6px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 0%, rgba(8, 10, 14, 0.82) 72%, rgba(8, 10, 14, 0.94) 100%);
}
.offer-card-featured .offer-title {
  font-size: 18px;
  line-height: 1.08;
  color: #fff4ea;
  -webkit-line-clamp: 2;
}
.offer-card-featured .offer-desc {
  color: rgba(242, 237, 228, 0.86);
  -webkit-line-clamp: 3;
}
.offer-card-featured .offer-link {
  color: #ffd8bb;
}
.offer-body {
  display: grid;
  align-content: start;
  gap: 6px;
}
.offer-body h4 { margin: 0 0 6px; }
.offer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-desc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #f2c08d;
}
.offers #offersEmpty {
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  text-align: left;
}
.offers #offersEmpty.hidden {
  display: none;
}
.offers-empty-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-mask: url("/static/megaphone.png") no-repeat center / contain;
  mask: url("/static/megaphone.png") no-repeat center / contain;
  opacity: 0.9;
}
.offers-empty-text {
  display: block;
  color: #d7cad7;
  font-size: 13px;
  line-height: 1.35;
}
.referrals.hidden {
  display: none !important;
}
@media (max-width: 420px) {
  .loyalty-summary-top {
    padding: 14px 14px 10px;
  }
  #client .loyalty-quick-actions {
    border-radius: 18px;
  }
  .glass-action-btn {
    min-height: 42px;
    padding: 10px 8px;
  }
  #client .glass-action-btn:first-child {
    border-radius: 18px 0 0 18px;
  }
  #client .glass-action-btn:last-child {
    border-radius: 0 18px 18px 0;
  }
  .glass-action-title {
    font-size: 11px;
  }
}
.offer-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(8, 6, 16, 0.55); z-index: 70; padding: 24px; }
.offer-modal.show { display: flex; }
.offer-modal-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  position: relative;
}
.news-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(8, 6, 16, 0.55); z-index: 75; padding: 24px; }
.news-modal.show { display: flex; }
.news-modal-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  max-width: 380px;
  width: 100%;
  max-height: min(80vh, 760px);
  overflow-y: auto;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  position: relative;
}
.news-modal-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #1f1929;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.news-modal-img.no-photo {
  display: none;
  margin-bottom: 0;
}
.news-modal-img.no-photo::after {
  content: "no photo";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 234, 0.82);
}
.news-modal-title { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.news-modal-meta { margin: 0 0 10px; font-size: 12px; color: #c9bdd9; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-modal-meta .views { color: #f2b277; }
.news-modal-body {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.news-modal-link { font-size: 12px; color: #f2c08d; }
.news-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,0.45);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: none;
  padding: 0;
  margin-top: 0;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
}
.offer-modal-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #1f1929;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.offer-modal-title { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.offer-modal-desc { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.4; white-space: pre-wrap; }
.specials-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(8, 6, 16, 0.55); z-index: 75; padding: 24px; }
.specials-modal.show { display: flex; }
#referralEntryModal {
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 14px calc(env(safe-area-inset-bottom, 0px) + 14px);
}
#referralModal {
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(env(safe-area-inset-top, 0px) + 56px) 14px calc(env(safe-area-inset-bottom, 0px) + 14px);
}
#referralEntryModal {
  background: rgba(8, 6, 16, 0.36);
}
#referralEntryModal .specials-modal-card,
#referralModal .specials-modal-card {
  position: relative;
  margin: 0 auto;
}
.specials-modal-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
}
.referral-glass-card {
  background: linear-gradient(160deg, rgba(49, 57, 72, 0.66), rgba(34, 40, 52, 0.66));
  border: 1px solid rgba(196, 204, 220, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.referral-entry-card {
  background: linear-gradient(160deg, rgba(49, 57, 72, 0.42), rgba(34, 40, 52, 0.36));
  border: 1px solid rgba(196, 204, 220, 0.26);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.referral-glass-card .specials-modal-title {
  padding-right: 38px;
}
.referral-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
  border: 0 !important;
  background: none !important;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  color: #d7dce7;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.referral-modal-close:focus,
.referral-modal-close:focus-visible {
  outline: none;
  box-shadow: none;
}
.referral-entry-actions,
.referral-modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.benefits-catalog-card {
  max-width: 520px;
}
.benefits-catalog-body {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  max-height: min(60vh, 560px);
  overflow: auto;
  padding-right: 4px;
}
.benefits-catalog-section {
  display: grid;
  gap: 10px;
}
.benefits-catalog-section-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 216, 187, 0.86);
}
.benefits-catalog-empty {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--hub-home-border);
  background: var(--hub-home-surface);
  color: var(--hub-home-muted);
  font-size: 14px;
  line-height: 1.45;
  box-shadow: var(--hub-home-shadow);
}
.referral-entry-btn,
.referral-modal-btn {
  width: 100%;
  min-height: 54px;
  margin: 0;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, border-color .16s ease;
}
.referral-entry-btn-primary,
.referral-modal-btn-primary {
  background: linear-gradient(140deg, #ff9a4a 0%, #f26522 100%);
  border-color: rgba(255, 190, 126, 0.75);
  color: #2b1105;
  box-shadow:
    0 12px 28px rgba(242, 101, 34, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.referral-entry-btn-secondary,
.referral-modal-btn-secondary {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border-color: rgba(196, 204, 220, 0.38);
  color: #f3ede5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.referral-entry-btn:hover,
.referral-modal-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}
.referral-entry-btn:active,
.referral-modal-btn:active {
  transform: translateY(1px);
}
#referralModal .qr {
  margin-top: 4px;
  margin-bottom: 2px;
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 1 / 1;
}
.specials-modal-title { margin: 0 0 10px; font-size: 16px; color: var(--text); }
.specials-modal-text {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #1d1727;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  white-space: pre-wrap;
  max-height: 56vh;
  overflow: auto;
}
.cashback-modal-card {
  position: relative;
  max-width: 460px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 82, 0.14), transparent 45%),
    linear-gradient(160deg, rgba(42, 33, 56, 0.96), rgba(30, 24, 42, 0.96));
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.cashback-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f2ea;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cashback-modal-card .specials-modal-title {
  margin: 0 42px 12px 0;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff6ee;
}
.cashback-modal-text {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(18, 14, 28, 0.7);
  color: #efe8fb;
  font-size: 15px;
  line-height: 1.52;
  padding: 14px 14px;
  min-height: 76px;
}
.cashback-modal-text p {
  margin: 0;
  white-space: pre-wrap;
}
.cashback-modal-text ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.cashback-modal-text li {
  position: relative;
  padding-left: 20px;
  white-space: pre-wrap;
}
.cashback-modal-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffb26e, #f26a1f);
  box-shadow: 0 0 0 2px rgba(242, 106, 31, 0.18);
}
.cashback-modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.cashback-modal-actions .btn {
  margin: 0;
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}
.cashback-modal-go-menu {
  display: none;
}
#cashbackModal.cashback-spend-mode .cashback-modal-go-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 520px) {
  .cashback-modal-card .specials-modal-title {
    font-size: 18px;
  }
  .cashback-modal-actions {
    grid-template-columns: 1fr;
  }
  .cashback-modal-actions .btn {
    width: 100%;
  }
}
#referralModalText,
#referralModalLevels {
  background: linear-gradient(165deg, rgba(30, 23, 43, 0.95), rgba(23, 18, 34, 0.95));
  border: 1px solid rgba(106, 93, 136, 0.54);
  border-radius: 16px;
  padding: 14px 14px 12px;
  color: #e6dcf2;
  white-space: normal;
  max-height: none;
  overflow: visible;
}
#referralModalLink {
  margin-top: 10px;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(106, 93, 136, 0.54);
  background: linear-gradient(165deg, rgba(30, 23, 43, 0.92), rgba(23, 18, 34, 0.92));
  font-size: 13px;
  line-height: 1.35;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  word-break: break-word;
}
.referral-stat-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(173, 159, 206, 0.2);
}
.referral-stat-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.referral-stat-label {
  color: #bfb0d8;
  font-size: 14px;
  line-height: 1.26;
}
.referral-stat-value {
  color: #f6f0ff;
  font-size: 15px;
  line-height: 1.26;
  font-weight: 700;
  text-align: right;
  max-width: 56%;
  word-break: break-word;
}
.referral-levels-title {
  font-size: 14px;
  color: #bfb0d8;
  margin-bottom: 10px;
}
.referral-level-item {
  border: 1px solid rgba(173, 159, 206, 0.22);
  border-radius: 12px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.03);
}
.referral-level-item + .referral-level-item {
  margin-top: 8px;
}
.referral-level-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.referral-level-name {
  color: #f6f0ff;
  font-weight: 700;
  font-size: 15px;
}
.referral-level-percent {
  color: #ffc188;
  font-weight: 700;
  font-size: 14px;
}
.referral-level-sub {
  color: #c7b9dd;
  font-size: 13px;
  line-height: 1.32;
}
.party-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 20%, rgba(255, 138, 42, 0.25), rgba(8, 6, 16, 0.95));
  z-index: 95;
  padding: 24px;
}
.party-overlay.show { display: flex; }
.party-card {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  border: 1px solid rgba(255, 199, 128, 0.35);
  background: linear-gradient(160deg, rgba(255, 138, 42, 0.2), rgba(27, 20, 38, 0.95));
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
  padding: 20px;
}
.party-title { margin: 0 0 8px; font-size: 22px; line-height: 1.2; color: #fff2df; }
.party-subtitle { margin: 0 0 10px; font-size: 14px; color: #ffd7a8; }
.party-bonus-line { margin: 0 0 10px; font-size: 13px; color: #ffe6be; }
.party-desc { margin: 0 0 16px; font-size: 13px; line-height: 1.45; color: #f5e6d1; white-space: pre-wrap; }
.feedback-review-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 58px;
  bottom: 64px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 6, 16, 0.58);
  backdrop-filter: blur(1.5px);
  z-index: 39;
  padding: 10px 14px;
}
.feedback-review-overlay.show { display: flex; }
.feedback-review-card {
  position: relative;
  width: min(100%, 470px);
  max-height: 100%;
  overflow-y: auto;
  border-radius: 26px;
  border: 1px solid rgba(255, 176, 104, 0.38);
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 158, 90, 0.22), transparent 60%),
    radial-gradient(circle at 82% 88%, rgba(255, 110, 60, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(56, 34, 72, 0.92), rgba(32, 20, 45, 0.95));
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.58);
  padding: 54px 14px 14px;
  color: #f8ecdb;
}
.feedback-review-close {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #ffd8a9;
  font-size: 28px;
  line-height: 1;
  padding: 0;
  display: grid;
  place-items: center;
}
.feedback-review-title {
  margin: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1.05;
  color: #fbe8cc;
}
.feedback-review-subtitle {
  margin: 4px 0 12px;
  text-align: center;
  font-size: 15px;
  color: #e3c4a1;
}
.feedback-review-amount {
  margin: 0 0 12px;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #fde8c8;
  background: transparent;
}
.feedback-review-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: -10px 0 12px;
}
.feedback-star-btn {
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
}
.feedback-star-btn img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: brightness(0) saturate(0) invert(76%) drop-shadow(0 4px 9px rgba(255, 118, 46, 0.25));
}
.feedback-star-btn img.is-filled {
  filter: drop-shadow(0 5px 10px rgba(255, 118, 46, 0.35));
}
.feedback-review-aspects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.feedback-aspect-btn {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b6aebf;
  min-height: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 2px 4px;
  font-size: 13px;
  cursor: pointer;
  transition: transform .15s ease, color .15s ease, opacity .15s ease;
}
.feedback-aspect-btn.active {
  border: 0;
  background: transparent;
  color: #ff9a55;
}
.feedback-aspect-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(0) invert(76%);
}
.feedback-aspect-btn.active img {
  filter: brightness(0) saturate(100%) invert(66%) sepia(84%) saturate(1018%) hue-rotate(338deg) brightness(106%) contrast(97%);
}
.feedback-aspect-btn:active {
  transform: scale(0.97);
}
.feedback-review-text {
  width: 100%;
  min-height: 84px;
  margin-bottom: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 191, 131, 0.35);
  background: rgba(20, 14, 28, 0.55);
  color: #f9ead4;
  padding: 12px;
  font-size: 15px;
}
.feedback-review-attach {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}
.feedback-review-attach-btn {
  width: auto;
  margin: 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 242, 234, 0.06);
  color: #b6aebf;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.feedback-review-attach-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) saturate(0) invert(76%);
}
.feedback-review-attach-btn.active {
  background: rgba(242, 139, 58, 0.14);
  color: #f28b3a;
  box-shadow: inset 0 0 0 1px rgba(242, 139, 58, 0.2);
}
.feedback-review-attach-btn.active img {
  filter: brightness(0) saturate(100%) invert(56%) sepia(67%) saturate(1737%) hue-rotate(348deg) brightness(103%) contrast(90%);
}
.feedback-review-attach-btn:active {
  transform: scale(0.98);
}
.feedback-review-attach-note {
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  color: #d8b996;
}
.feedback-review-submit {
  width: 100%;
  border-radius: 14px;
  border: 0;
  min-height: 44px;
  background: linear-gradient(120deg, #ff7f2f, #ff9f4f);
  color: #2a1106;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(242, 101, 34, 0.42);
}
.feedback-review-later {
  margin: 10px auto 0;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: rgba(245, 242, 234, 0.06);
  color: rgba(245, 215, 178, 0.88);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.feedback-review-later:hover,
.feedback-review-later:focus-visible {
  background: rgba(245, 242, 234, 0.1);
  color: #f5d7b2;
}
.feedback-review-later:active {
  transform: scale(0.98);
}
@media (max-width: 420px) {
  .feedback-review-overlay {
    top: 52px;
    bottom: 62px;
    padding: 8px;
  }
  .feedback-review-card { padding: 50px 12px 12px; }
  .feedback-review-title { font-size: 24px; }
  .feedback-review-subtitle { font-size: 14px; }
  .feedback-review-amount { font-size: 18px; }
  .feedback-star-btn { width: 46px; height: 46px; }
  .feedback-star-btn img { width: 40px; height: 40px; }
  .feedback-review-submit { min-height: 42px; font-size: 17px; }
  .feedback-review-later { min-height: 32px; font-size: 14px; }
}
.offer-modal-link { font-size: 12px; color: #f2c08d; }
.hub-entry { margin: 10px 0 12px; }
.hub-btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(140deg, rgba(255, 136, 58, 0.18), rgba(35, 28, 46, 0.95));
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}
.hub-btn span { color: var(--muted); font-weight: 500; font-size: 12px; }
.hub-mini {
  position: absolute;
  left: -2px;
  top: -6px;
  min-width: 70px;
  height: 32px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: linear-gradient(140deg, rgba(255, 136, 58, 0.2), rgba(35, 28, 46, 0.9));
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.hub-view { padding: 18px; }
.hub-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hub-title { font-size: 18px; color: #f28b3a; font-weight: 700; }
.hub-search {
  flex: 1;
  background: #1f1929;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 12px;
}
.hub-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.hub-action {
  background: #1f1929;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  color: var(--text);
}
.hub-action small { display: block; color: var(--muted); margin-top: 6px; font-size: 11px; }
.hub-section { margin: 16px 0 10px; color: #f28b3a; font-weight: 700; font-size: 14px; }
.hub-news { background: #221b2b; border: 1px solid var(--stroke); border-radius: 16px; padding: 12px; display: grid; gap: 8px; }
.hub-badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: rgba(242, 139, 58, 0.15); color: #f28b3a; font-size: 10px; width: fit-content; }
.hub-news-title { margin: 0; font-size: 13px; color: var(--text); }
.hub-news-text { margin: 0; font-size: 12px; color: var(--muted); }
.hub-news-link { font-size: 11px; color: #f2c08d; }
.hub-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.hub-tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #1f1929;
  color: var(--muted);
  font-size: 11px;
}
.hub-tag.active { color: #f28b3a; border-color: #f28b3a; background: rgba(242, 139, 58, 0.12); }
.hub-partner {
  background: #1f1929;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.hub-partner-top { display: flex; align-items: center; justify-content: space-between; }
.hub-partner-title { font-size: 13px; color: var(--text); font-weight: 700; }
.hub-partner-meta { font-size: 11px; color: var(--muted); }
.hub-partner-actions { display: flex; gap: 8px; }
.hub-open {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 58, 0.6);
  background: rgba(242, 139, 58, 0.12);
  color: #f28b3a;
  font-size: 11px;
  font-weight: 700;
}
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 20px));
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  min-height: 72px;
  background:
    linear-gradient(180deg, rgba(42, 30, 54, 0.5), rgba(18, 14, 24, 0.5)),
    linear-gradient(135deg, rgba(255, 171, 111, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 11px 8px calc(11px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 4px;
  z-index: 40;
  overflow: visible;
  box-shadow:
    0 22px 48px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}
.bottom-nav::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  pointer-events: none;
}
.bottom-nav-cutout,
.bottom-nav-bubble {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  will-change: left, transform, opacity;
  transition:
    left 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}
.bottom-nav-cutout {
  top: -17px;
  width: 56px;
  height: 56px;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(255, 120, 40, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  box-shadow: 0 -1px 0 rgba(255,255,255,0.03);
}
.bottom-nav-bubble {
  top: -10px;
  width: 44px;
  height: 44px;
  z-index: 1;
  background: var(--hub-home-accent-strong);
  border: 1px solid rgba(255, 198, 138, 0.62);
  box-shadow: var(--soft-accent-shadow), 0 6px 18px rgba(0,0,0,0.24);
}
.bottom-nav.has-active .bottom-nav-cutout,
.bottom-nav.has-active .bottom-nav-bubble {
  opacity: 1;
}
.nav-item {
  background: transparent;
  border: 0;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  min-height: 50px;
  white-space: nowrap;
  flex: 1;
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  z-index: 2;
  transition: color 240ms ease, transform 240ms ease;
}
.nav-item span { display: inline-flex; align-items: center; justify-content: center; }
.nav-item .nav-icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  background-color: currentColor;
  flex: 0 0 21px;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 240ms ease,
    filter 240ms ease;
}
.nav-item.active {
  color: #fff5ea;
}
.nav-item.active .nav-icon {
  transform: translateY(-16px);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.22));
}
.nav-item.active .nav-icon.nav-home {
  transform: translateY(-17px);
}
.nav-item.active .nav-icon.nav-menu,
.nav-item.active .nav-icon.nav-orders {
  transform: translate(2px, -18px);
}
.nav-item.active .nav-icon.nav-history {
  transform: translateY(-15px);
}
.nav-item.active .nav-icon.nav-settings {
  transform: translate(2px, -16px);
}
.nav-item.active .nav-label {
  color: var(--accent-2);
}
.nav-item:active {
  transform: translateY(1px);
}
.nav-home { -webkit-mask: url("/static/home.png") no-repeat center / cover; mask: url("/static/home.png") no-repeat center / cover; }
.nav-hub { -webkit-mask: url("/static/hub.png") no-repeat center / cover; mask: url("/static/hub.png") no-repeat center / cover; }
.nav-menu { -webkit-mask: url("/static/menu.png") no-repeat center / cover; mask: url("/static/menu.png") no-repeat center / cover; }
.nav-orders { -webkit-mask: url("/static/orders.png") no-repeat center / cover; mask: url("/static/orders.png") no-repeat center / cover; }
.nav-poster { -webkit-mask: url("/static/megaphone.png") no-repeat center / cover; mask: url("/static/megaphone.png") no-repeat center / cover; }
.nav-history { -webkit-mask: url("/static/history.png") no-repeat center / cover; mask: url("/static/history.png") no-repeat center / cover; }
.nav-tables { -webkit-mask: url("/static/timer.png") no-repeat center / cover; mask: url("/static/timer.png") no-repeat center / cover; }
.nav-settings { -webkit-mask: url("/static/settings.png") no-repeat center / cover; mask: url("/static/settings.png") no-repeat center / cover; }
.nav-label {
  line-height: 1;
  color: inherit;
  transition: color 240ms ease, opacity 240ms ease;
}
.nav-indicator {
  display: none;
}
.nav-badge {
  position: absolute;
  top: 2px;
  right: 0px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #1b1207;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}
.nav-badge.hidden { display: none; }
.nav-badge:empty { display: none; }
/* Venue home neumorphism alignment with HUB */
body {
  background:
    radial-gradient(1040px 680px at 18% -8%, rgba(255, 149, 80, 0.08), rgba(255, 149, 80, 0) 48%),
    radial-gradient(920px 620px at 100% 0%, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 44%),
    radial-gradient(960px 760px at 50% 115%, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0) 54%),
    linear-gradient(180deg, #1a1f24 0%, #1c232a 52%, #1a2027 100%);
  color: var(--hub-home-text);
}
.status,
.notice,
.card-status,
.toast {
  color: var(--hub-home-text);
}
.status {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
}
.status.active {
  color: #201109;
  background: var(--hub-home-accent-strong);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(255, 125, 53, 0.22), inset 1px 1px 0 rgba(255, 255, 255, 0.22);
}
.notice,
.card-status,
.toast,
#client #firstVisitBonusInfo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hub-home-border);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
  color: var(--hub-home-muted);
}
.username,
.visit-count,
.greeting {
  color: #c5c1b8;
}
.username .name,
.brand-title,
.notify-btn,
.cart-btn,
.specials-btn,
.hub-top-btn,
.operator-guide-btn {
  color: var(--hub-home-text);
}
.brand-title {
  text-shadow: none;
}
.brand-title:not(.operator-brand-title) span {
  color: var(--hub-home-accent);
}
.hub-top-btn.active,
.operator-guide-btn.active {
  color: var(--hub-home-text);
}
.hub-top-btn-label {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.notify-btn.active,
.cart-btn.active,
.specials-btn.active {
  color: var(--hub-home-accent);
}
.notify-icon,
.operator-guide-icon {
  background-color: currentColor;
}
.cart-badge,
.notify-badge {
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 0 0 4px rgba(255, 125, 53, 0.08);
}
#client .qr-cta,
#client .loyalty-summary-card,
#client .stat-card,
#client #offersList .offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hub-home-border);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.12), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#client .qr-cta::before,
#client .loyalty-summary-card::before,
#client .stat-card::before,
#client #offersList .offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--hub-home-highlight);
}
#client .qr-cta::after,
#client .loyalty-summary-card::after {
  background: radial-gradient(circle, rgba(255, 150, 80, 0.14), transparent 72%);
}
#client .qr-cta {
  color: var(--hub-home-text);
}
#client .qr-cta-icon,
#client #offersList .offer-img {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
}
#client .qr-cta-icon::before {
  border-color: rgba(255, 255, 255, 0.04);
}
#client .qr-cta-icon img {
  filter: brightness(0) saturate(100%) invert(95%) sepia(12%) saturate(329%) hue-rotate(329deg) brightness(102%) contrast(92%);
}
#client .qr-cta h3,
#client .stat-card h4,
#client .offer-title {
  color: var(--hub-home-text);
}
#client .qr-cta p,
#client .stat-foot,
#client .offer-desc,
#client .offers-subtitle,
#client .offers-empty-text {
  color: var(--hub-home-muted);
}
#client .qr-cta-note,
#client .stat-link-text,
#client .offer-link {
  color: #ffd8bb;
}
#client .qr-cta-coupon {
  background: #ffd8bb;
}
#client .loyalty-summary-card {
  border-radius: 24px;
}
#client .loyalty-summary-top::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}
#client .loyalty-caption {
  color: #c5c1b8;
}
#client .loyalty-level-title,
#client .loyalty-level-title.empty {
  color: #ffd8bb;
}
#client .loyalty-balance-side strong,
#client .loyalty-rate-value,
#client .stat-card strong {
  color: var(--hub-home-text);
}
#client .loyalty-quick-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
}
#client .glass-action-btn {
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: #d6dce4;
}
#client .glass-action-btn + .glass-action-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}
#client .glass-action-btn::before {
  display: none;
}
#client .glass-action-btn:hover {
  background: linear-gradient(145deg, rgba(32, 39, 47, 1), rgba(24, 30, 36, 1));
}
#client .glass-action-title {
  color: var(--hub-home-text);
}
#client #homeReferralBtn {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: 10px 10px 18px rgba(8, 10, 14, 0.36), -6px -6px 12px rgba(255, 255, 255, 0.018);
}
#client #homeReferralBtn::before {
  inset: -4px;
  background: radial-gradient(circle, rgba(255, 178, 112, 0.68) 0%, rgba(255, 150, 80, 0.36) 46%, rgba(255, 150, 80, 0) 76%);
  box-shadow:
    0 0 0 1px rgba(255, 216, 187, 0.32),
    0 0 11px rgba(255, 150, 80, 0.54),
    0 0 25px rgba(255, 125, 53, 0.36);
  animation: referralPlusGlow 1.55s ease-in-out infinite;
}
#client .loyalty-icon-btn img {
  filter: brightness(0) saturate(100%) invert(88%) sepia(17%) saturate(525%) hue-rotate(334deg) brightness(101%) contrast(95%);
}
#client .stat-card {
  border-radius: 22px;
}
#client .stat-card.interactive:hover,
#client .loyalty-summary-card:hover,
#client #offersList .offer-card:hover {
  border-color: var(--hub-home-border);
  box-shadow: var(--hub-home-shadow-hover);
  transform: none;
}
#client .progress {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
}
#client .progress span {
  background: linear-gradient(90deg, #ffb06f 0%, #ff8a43 100%);
  box-shadow: 0 0 14px rgba(255, 138, 67, 0.22);
}
#client .offers {
  margin-top: 16px;
}
#client .offers h3 {
  margin-bottom: 6px;
  color: var(--hub-home-accent);
  font-size: 20px;
}
#client .tags {
  gap: 10px;
  margin-bottom: 12px;
}
#client .tag {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
  color: #c1c8d1;
}
#client .tag.active {
  border-color: rgba(255, 150, 80, 0.24);
  background: rgba(255, 150, 80, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #ffd8bb;
}
#client #offersList {
  gap: 14px;
}
#client #offersList .offer-card {
  border-radius: 24px;
}
#client #offersList .offer-img {
  border-radius: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.bottom-nav {
  background: rgba(8, 10, 14, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 10px 8px calc(12px + env(safe-area-inset-bottom, 0px));
  overflow: visible;
}
.bottom-nav::before {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012) 28%, rgba(255, 255, 255, 0.016) 100%);
}
.bottom-nav > * {
  position: relative;
  z-index: 1;
}
.bottom-nav-cutout,
.bottom-nav-bubble {
  display: none;
}
.bottom-nav.has-active .bottom-nav-cutout,
.bottom-nav.has-active .bottom-nav-bubble {
  opacity: 0;
}
.nav-item {
  gap: 6px;
  min-height: 56px;
  color: #a8afb8;
  border-radius: 20px;
}
.nav-item .nav-icon {
  position: relative;
  z-index: 2;
  transition: transform 240ms ease, background-color 240ms ease;
}
.nav-item.active {
  color: var(--hub-home-accent);
  z-index: 2;
}
.nav-item.active::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9a55 0%, #f26522 100%);
  box-shadow: 0 10px 24px rgba(242, 101, 34, 0.38), 0 0 0 6px rgba(242, 101, 34, 0.1);
}
.nav-item.active .nav-icon,
.nav-item.active .nav-icon.nav-home,
.nav-item.active .nav-icon.nav-menu,
.nav-item.active .nav-icon.nav-orders,
.nav-item.active .nav-icon.nav-history,
.nav-item.active .nav-icon.nav-settings {
  transform: translateY(-16px);
  background-color: #fff7ef;
  filter: none;
}
.nav-item.active .nav-icon.nav-tables {
  transform: translateY(-11px);
  background-color: #fff7ef;
  filter: none;
}
.nav-item.active .nav-label {
  color: var(--hub-home-accent);
}
.nav-badge {
  top: 0;
  right: 4px;
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 0 0 4px rgba(255, 125, 53, 0.08);
}
.history { margin-top: 10px; text-align: left; }
.history-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #221b2b; color: var(--muted); font-size: 13px; }
.history-list { margin-top: 8px; display: grid; gap: 8px; }
.history-item { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #1d1727; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.history-item span { color: var(--text); }
.community-blocked-card {
  margin: 0;
  padding: 10px 12px 8px;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: grid;
  gap: 10px;
  text-align: center;
  box-shadow: none;
  width: min(92vw, 430px);
}
.community-blocked-image {
  width: min(64vw, 290px);
  max-width: 100%;
  margin: 0 auto 2px;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  animation: communityWarningFloat 5.2s ease-in-out infinite;
}
@keyframes communityWarningFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.012); }
}
.community-blocked-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  color: #ff6b6b;
  text-shadow: 0 2px 10px rgba(145, 10, 10, 0.35);
}
.community-blocked-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(245, 242, 234, 0.95);
}
.community-blocked-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(245, 242, 234, 0.9);
  white-space: pre-line;
}
.wrap.community-blocked-mode {
  min-height: 100dvh;
  box-sizing: border-box;
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.wrap.community-blocked-mode .header-row {
  display: flex !important;
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 12px;
  right: 12px;
  justify-content: flex-start;
  gap: 0;
  z-index: 5;
}
.wrap.community-blocked-mode .header-row > *:not(#navHub),
.wrap.community-blocked-mode #statusPill,
.wrap.community-blocked-mode #notice,
.wrap.community-blocked-mode #usernameLabel,
.wrap.community-blocked-mode #visitCountLabel {
  display: none !important;
}
.history-view { padding: 18px; }
.menu-view { padding: 18px; }
.menu-title { margin: 0 0 10px; font-size: 18px; color: #f28b3a; }
.menu-kebab-card { margin-bottom: 12px; padding: 0; border-radius: 16px; border: 1px solid var(--stroke); background: transparent; }
.menu-kebab-card .history-title { padding: 16px 16px 8px; }
.menu-kebab-text { padding: 12px 16px 16px; border-radius: 14px; border: 1px solid var(--stroke); background: #1d1727; font-size: 14px; color: var(--muted); white-space: pre-line; }
.orders-view { padding: 18px; }
.orders-title { margin: 0 0 10px; font-size: 18px; color: #f28b3a; }
.orders-list { display: grid; gap: 10px; }
.operator-card { position: relative; padding: 18px; display: grid; gap: 12px; }
.operator-voucher-scan-wrap {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.operator-voucher-scan-wrap.hidden { display: none; }
.operator-voucher-scan-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(242, 101, 34, 0.45);
  background: linear-gradient(180deg, rgba(242, 101, 34, 0.2), rgba(242, 101, 34, 0.08));
  color: #ffbf8f;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(242, 101, 34, 0.18);
}
.operator-voucher-scan-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f26522;
  color: #2b1105;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.operator-voucher-scan-count.hidden { display: none; }
.operator-regular-btn {
  border-radius: 10px;
  background: var(--accent);
  color: #1f0f06;
}
.operator-regular-btn .operator-scan-label {
  display: inline-block;
  transform: scale(2);
  transform-origin: center center;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff7dc;
  text-shadow: 0 0 8px rgba(255, 193, 91, 0.55);
  line-height: 1;
  white-space: nowrap;
}
.operator-guide-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  z-index: 78;
  padding: 12px 10px;
}
.operator-guide-overlay.show { display: flex; }
.operator-guide-plain {
  width: min(96vw, 430px);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.operator-guide-close-row {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.operator-guide-close {
  position: static;
  margin: 0;
}
.operator-guide-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.operator-party-btn {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 999px 22px 999px 22px;
  border: 2px solid #76ffe8;
  background: linear-gradient(135deg, #00d5ff, #00ff9d);
  color: #042119;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(0, 213, 255, 0.24);
}
.operator-scan { border-radius: 14px; border: 1px solid var(--stroke); background: #1d1626; padding: 12px; }
.operator-scan.hidden { display: none; }
.operator-video { width: 100%; height: 200px; border-radius: 12px; object-fit: cover; background: #000; }
.operator-info { border-radius: 14px; border: 1px solid var(--stroke); background: #201a2b; padding: 12px; display: grid; gap: 8px; }
.operator-info.hidden { display: none; }
.operator-line { font-size: 14px; color: var(--muted); }
.operator-line strong { color: var(--text); }
.operator-wallet-topup-btn {
  margin-left: 8px;
  border: 1px solid rgba(255, 138, 76, 0.36);
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(255, 138, 76, 0.12);
  color: #ffd9bb;
  font-weight: 800;
}
.operator-wallet-modal-card {
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
}
.required-field::after {
  content: " *";
  color: #ff5b5b;
  font-weight: 900;
}
.operator-price-wrap {
  position: relative;
  min-width: 0;
}
.operator-price-wrap.hidden { display: none; }
.operator-text-expand {
  position: absolute;
  right: 1px;
  top: 50%;
  width: 46px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffd8bb;
  font-size: 18px;
  line-height: 20px;
  font-weight: 900;
  text-align: right;
  transform: translateY(calc(-50% - 2px));
}
.operator-text-expand::before {
  content: "";
  position: absolute;
  inset: 0 -2px 0 2px;
  background: linear-gradient(90deg, rgba(24, 30, 37, 0), rgba(24, 30, 37, 0.96) 38%, rgba(24, 30, 37, 0.96));
  z-index: -1;
}
.operator-text-expand.hidden { display: none; }
.operator-user-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.operator-voucher-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(242, 101, 34, 0.18);
  border: 1px solid rgba(242, 101, 34, 0.38);
  color: #ffbf8f;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.operator-voucher-summary {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(242, 101, 34, 0.38);
  background: linear-gradient(180deg, rgba(242, 101, 34, 0.16), rgba(242, 101, 34, 0.08));
}
.operator-voucher-summary.hidden { display: none; }
.operator-voucher-summary-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffbf8f;
}
.operator-voucher-summary-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.operator-voucher-summary-meta {
  font-size: 13px;
  line-height: 1.35;
  color: #d8c8b9;
}
.operator-profile-editor {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #201a2b;
}
.operator-profile-editor.hidden { display: none; }
.operator-receipt-photo {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #201a2b;
}
.operator-receipt-photo.hidden { display: none; }
.operator-receipt-photo-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}
.operator-receipt-photo-preview {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #120f19;
}
.operator-receipt-photo-preview.hidden { display: none; }
.operator-receipt-photo-submit { justify-self: stretch; }
.operator-profile-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.operator-profile-editor-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.operator-profile-editor-note {
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
}
.operator-profile-expand-btn {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #241c2f;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}
.operator-profile-editor.collapsed {
  padding: 10px 12px;
  cursor: pointer;
}
.operator-profile-toggles {
  display: grid;
  gap: 8px;
}
.operator-profile-toggles.hidden {
  display: none;
}
.operator-preference-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.operator-preference-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.operator-preference-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.operator-preference-card-meta {
  font-size: 12px;
  color: var(--muted);
}
.operator-preference-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.operator-preference-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ff9a4a, #f26522);
}
.operator-preference-sublist {
  display: grid;
  gap: 8px;
}
.operator-preference-subrow {
  display: grid;
  gap: 6px;
}
.operator-preference-subrow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
}
.operator-preference-range {
  width: 100%;
}
.operator-profile-toggle {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #241c2f;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.operator-profile-toggle.active {
  border-color: #ff9a55;
  background: #f26522;
  color: #2b1105;
}
.operator-visit-number { font-size: 26px; font-weight: 800; color: var(--text); text-align: center; padding: 6px 0; }
.operator-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.operator-groups button { padding: 10px; border-radius: 10px; border: 1px solid var(--stroke); background: #241c2f; color: var(--text); font-size: 12px; }
.operator-groups button.active { background: #f26522; color: #2b1105; border-color: #ff9a55; font-weight: 700; }
.operator-input-wrap { display: block; }
.operator-input-target {
  border-width: 2px;
  border-color: transparent;
  transition: border-color .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.operator-input-target.active {
  border-color: #f28b3a;
  box-shadow: 0 0 0 1px rgba(242, 139, 58, 0.25);
}
#operatorTableNumber {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, #cbbfa9 50%),
                    linear-gradient(135deg, #cbbfa9 50%, transparent 50%);
  /* move caret 10px to the left from the previous edge position */
  background-position: calc(100% - 32px) 50%, calc(100% - 26px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.cashback-group-row { display: grid; grid-template-columns: 70px 1fr 1fr 120px auto auto; gap: 8px; align-items: center; }
.cashback-group-id { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .cashback-group-row { grid-template-columns: 1fr 1fr; }
}
.operator-keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.operator-keypad button { padding: 12px 0; border-radius: 10px; border: 1px solid var(--stroke); background: #241c2f; color: var(--text); font-size: 16px; }
.operator-keypad button.action { background: #1d1626; color: var(--muted); }
.operator-keypad button.wide { grid-column: span 2; }
.operator-redeem-wrap { display: grid; gap: 6px; margin-top: 6px; }
.operator-redeem-wrap.hidden { display: none; }
#opActions .full { margin-top: 20px; }
.order-card {
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #221b2b;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.order-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.order-total { color: var(--text); font-weight: 700; }
.order-items { font-size: 12px; color: var(--muted); }
.order-notes { font-size: 12px; color: var(--text); }
.order-actions { display: flex; gap: 8px; justify-content: flex-end; }
.order-btn {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}
.order-btn.accept { background: #f28b3a; color: #2b1105; }
.order-btn.reject { background: transparent; border-color: #6a5635; color: var(--text); }
.order-status {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #6a5635;
  font-size: 11px;
  color: var(--text);
  background: rgba(17, 14, 20, 0.6);
  display: inline-flex;
  align-items: center;
}
.order-status.progress { color: #f28b3a; border-color: rgba(242, 139, 58, 0.6); }
.menu-search-wrap {
  margin-bottom: 10px;
  position: sticky;
  top: 0;
  z-index: 6;
  padding: 6px 0;
  background: linear-gradient(180deg, rgba(36, 28, 47, 0.98), rgba(36, 28, 47, 0.85));
}
.menu-search-input {
  width: 100%;
}
.menu-full-menu-btn {
  width: 100%;
  border: 1px solid rgba(242, 139, 58, 0.5);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(242, 139, 58, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(54, 34, 24, 0.92), rgba(31, 25, 41, 0.98) 45%, rgba(20, 16, 28, 0.98));
  color: #fff4ea;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 5, 12, 0.28);
}
.menu-full-menu-btn:disabled {
  opacity: 0.7;
}
.menu-full-menu-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 58, 0.44);
  background: rgba(242, 139, 58, 0.12);
  color: #ffd7b5;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.menu-full-menu-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.menu-full-menu-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.menu-full-menu-label {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #fff4ea;
}
.menu-full-menu-arrow {
  font-size: 18px;
  color: #f28b3a;
  transform: translateY(-1px);
}
.menu-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  z-index: 7;
  padding: 0 0 8px;
  background: transparent;
}
.menu-tabs::-webkit-scrollbar {
  display: none;
}
.menu-chip {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #1f1929;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.menu-chip.active {
  border-color: #f28b3a;
  color: #f28b3a;
  background: rgba(242, 139, 58, 0.12);
}
.menu-balance { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.menu-balance span { color: var(--text); }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.menu-view .menu-category-title {
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: 700;
  color: #f5f2ea;
  text-transform: uppercase;
  margin-top: 4px;
}
.menu-card {
  background: #1f1929;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  gap: 8px;
  padding: 10px;
}
.menu-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 190, 120, 0.35), transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(255, 120, 60, 0.35), transparent 55%),
    linear-gradient(140deg, rgba(50, 40, 70, 0.9), rgba(20, 16, 32, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.04);
  background-size: cover;
  background-position: center;
}
.menu-view .menu-img {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-view .menu-no-photo {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: rgba(245, 242, 234, 0.82);
  z-index: 1;
  pointer-events: none;
}
.menu-view .menu-img.no-photo .menu-no-photo {
  display: flex;
}
.menu-name { font-size: 12px; font-weight: 700; color: var(--text); }
.menu-name {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  min-height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }
.menu-price { font-size: 12px; font-weight: 700; color: #f28b3a; white-space: nowrap; }
.menu-add {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 58, 0.6);
  background: rgba(242, 139, 58, 0.15);
  color: #f28b3a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  align-self: center;
  position: relative;
  top: 7px;
}
.menu-view .menu-badge-img {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
}
.menu-view .menu-badge-top {
  left: 0;
  top: 0;
}
.menu-view .menu-badge-new {
  left: auto;
  right: -5px;
  top: -5px;
  width: 33px;
  height: 33px;
  max-width: 33px;
  max-height: 33px;
  transform: none;
}
.menu-view .menu-badges {
  top: 8px;
  left: 8px;
  right: 8px;
}
.menu-card-skeleton {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  min-height: 220px;
  background: linear-gradient(90deg, rgba(39, 31, 55, 0.95), rgba(58, 48, 76, 0.98), rgba(39, 31, 55, 0.95));
  background-size: 220% 100%;
  animation: menu-client-skeleton 1.15s linear infinite;
}
@keyframes menu-client-skeleton {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
.menu-floating-cart {
  position: fixed;
  right: 14px;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  z-index: 75;
  border: 1px solid rgba(242, 139, 58, 0.65);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242, 139, 58, 0.24), rgba(242, 139, 58, 0.14));
  color: #f5f2ea;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  box-shadow: 0 12px 28px rgba(6, 4, 12, 0.35);
}
.menu-floating-cart.hidden {
  display: none;
}
.full-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: rgba(8, 6, 12, 0.86);
  backdrop-filter: blur(12px);
}
.full-menu-overlay.show {
  display: block;
}
.full-menu-sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #120f18;
}
.full-menu-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(106, 86, 53, 0.45);
  background: linear-gradient(180deg, rgba(18, 15, 24, 0.98), rgba(18, 15, 24, 0.85));
  position: relative;
}
.full-menu-title-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 0;
  max-width: calc(100% - 180px);
  text-align: center;
  pointer-events: none;
}
.full-menu-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: #fff3e8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.full-menu-close {
  margin: 0;
  width: auto;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(242, 139, 58, 0.22);
  color: #ffd7b5;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.full-menu-back-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.full-menu-back-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0) saturate(100%) invert(84%) sepia(17%) saturate(730%) hue-rotate(324deg) brightness(102%) contrast(101%);
}
.full-menu-close-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffd7b5;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.full-menu-category-nav {
  display: none;
}
.full-menu-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 58, 0.4);
  background: rgba(17, 13, 24, 0.74);
  backdrop-filter: blur(4px);
  color: #ffd7b5;
  font-size: 11px;
  font-weight: 700;
  max-width: 55%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: auto;
}
.full-menu-category-next {
  border: 1px solid rgba(242, 139, 58, 0.5);
  background: rgba(17, 13, 24, 0.74);
  backdrop-filter: blur(4px);
  color: #ffd7b5;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  width: auto;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
  pointer-events: auto;
}
.full-menu-category-list {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 18px 12px 20px;
  display: grid;
  gap: 10px;
}
.full-menu-top-promo {
  width: min(100%, 560px);
  margin: 2px auto 14px;
  padding: 0 12px;
}
.full-menu-top-promo-btn {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f5f2ea;
  text-align: left;
  padding: 0;
  display: block;
  box-shadow: none;
}
.full-menu-top-promo-media {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  background: #0f0b16;
}
.full-menu-top-promo-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(49, 40, 65, 0.85), rgba(73, 61, 94, 0.95), rgba(49, 40, 65, 0.85));
  background-size: 220% 100%;
  animation: menu-client-skeleton 1.1s linear infinite;
  transition: opacity 0.28s ease;
  z-index: 1;
}
.full-menu-top-promo-media.is-loaded::before {
  opacity: 0;
}
.full-menu-top-promo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.3s ease, transform 0.5s ease;
}
.full-menu-top-promo-media.is-loaded .full-menu-top-promo-img {
  opacity: 1;
  transform: scale(1);
}
.full-menu-category-item {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(242, 139, 58, 0.34);
  border-radius: 14px;
  background: rgba(16, 12, 24, 0.92);
  color: #f5f2ea;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  text-align: center;
}
.full-menu-category-item-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}
.full-menu-category-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(84%) sepia(17%) saturate(730%) hue-rotate(324deg) brightness(102%) contrast(101%);
  flex: 0 0 auto;
}
.full-menu-category-item.active {
  border-color: rgba(242, 139, 58, 0.75);
  box-shadow: inset 0 0 0 1px rgba(242, 139, 58, 0.35);
}
.full-menu-category-item-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.full-menu-category-item-arrow {
  color: rgba(245, 242, 234, 0.78);
  font-size: 22px;
  line-height: 1;
}
.full-menu-content {
  flex: 1;
  overflow: auto;
  background: transparent;
  -webkit-overflow-scrolling: touch;
  position: relative;
  touch-action: pan-y pinch-zoom;
}
.full-menu-pages {
  width: min(100%, 480px);
  margin: 0 auto;
  padding-top: 0;
}
.full-menu-content.zoomed .full-menu-pages {
  margin: 0;
}
.full-menu-page {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  background: #0f0c14;
}
.full-menu-state,
.full-menu-loading {
  width: min(100%, 480px);
  margin: 0 auto;
}
.full-menu-state {
  padding: 22px 18px;
  color: rgba(245, 242, 234, 0.72);
  font-size: 12px;
  line-height: 1.5;
}
.full-menu-loading-card {
  height: 220px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(39, 31, 55, 0.95), rgba(58, 48, 76, 0.98), rgba(39, 31, 55, 0.95));
  background-size: 220% 100%;
  animation: menu-client-skeleton 1.15s linear infinite;
}
.menu-floating-cart-icon {
  font-size: 13px;
  line-height: 1;
}
.menu-admin-list { display: grid; gap: 8px; margin-top: 12px; }
.menu-admin-item {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #221b2b;
  display: grid;
  gap: 6px;
}
.menu-admin-title { font-size: 12px; color: var(--text); }
.menu-admin-meta { font-size: 11px; color: var(--muted); }
.menu-admin-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.menu-admin-delete {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 58, 0.6);
  background: transparent;
  color: #f28b3a;
  font-size: 11px;
  font-weight: 700;
}
.offers-admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 440px);
  gap: 14px;
  align-items: start;
}
.offers-admin-layout.form-hidden {
  grid-template-columns: minmax(320px, 760px);
}
.offers-admin-layout.form-hidden .offers-admin-list-wrap {
  max-width: 760px;
}
.offers-admin-list-wrap {
  min-width: 0;
  display: grid;
  gap: 10px;
}
.offers-admin-toolbar {
  display: grid;
  gap: 8px;
}
.offers-admin-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.offers-admin-toolbar-row .btn {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
}
.offers-admin-toolbar-row .btn.offer-add-btn {
  position: relative;
  border-color: rgba(242, 139, 58, 0.92);
  background: linear-gradient(180deg, rgba(242, 139, 58, 0.22), rgba(242, 139, 58, 0.12));
  color: #ffd7b5;
  font-weight: 800;
}
.offers-admin-toolbar-row .btn.offer-add-btn.needs-attention {
  box-shadow:
    0 0 0 1px rgba(242, 139, 58, 0.42) inset,
    0 0 18px rgba(242, 139, 58, 0.42);
  animation: menuNewBtnPulse 1.8s ease-in-out infinite;
}
.offers-admin-toolbar-row .btn.offer-add-btn.needs-attention::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd7b5;
  box-shadow: 0 0 8px rgba(255, 215, 181, 0.65);
}
.offers-admin-toolbar-row .field {
  margin: 0;
  flex: 1;
  min-width: 140px;
}
.offers-admin-form {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: start;
}
.offer-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.offer-lang-grid .label {
  margin: 0 0 6px;
}
.offers-admin-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 260px);
  overflow: auto;
  padding-right: 4px;
}
.offers-admin-item {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #221b2b;
  display: grid;
  gap: 6px;
}
.offers-admin-delete {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 58, 0.6);
  background: transparent;
  color: #f28b3a;
  font-size: 11px;
  font-weight: 700;
}
#offersList .offer-admin-item-card {
  position: relative;
  display: grid;
  grid-template-columns: 26px 72px minmax(0, 1fr);
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 14px;
  align-items: start;
}
#offersList .offer-admin-item-card.active {
  border-color: rgba(242, 139, 58, 0.9);
  box-shadow: 0 0 0 1px rgba(242, 139, 58, 0.25) inset;
}
#offersList .offer-admin-item-card.no-image {
  grid-template-columns: 26px 1fr;
}
#offersList .offer-admin-item-card.no-image .offer-admin-thumb-wrap {
  display: none;
}
#offersList .offer-admin-select-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}
#offersList .offer-admin-select {
  width: 16px;
  height: 16px;
  accent-color: #f28b3a;
  cursor: pointer;
}
#offersList .offer-admin-thumb-wrap {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, #3b2d45, #1f182a);
  overflow: hidden;
}
#offersList .offer-admin-thumb {
  width: 100%;
  max-width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
#offersList .offer-admin-body {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding-right: 132px;
}
#offersList .offer-admin-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
#offersList .offer-admin-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
#offersList .offer-admin-chip.published {
  color: #7ce7b0;
  border-color: rgba(124, 231, 176, 0.7);
}
#offersList .offer-admin-chip.scheduled {
  color: #9fd4ff;
  border-color: rgba(159, 212, 255, 0.7);
}
#offersList .offer-admin-chip.archived {
  color: #ffc2c2;
  border-color: rgba(255, 153, 153, 0.7);
}
#offersList .offer-admin-chip.draft {
  color: #d2cdd9;
  border-color: rgba(210, 205, 217, 0.6);
}
#offersList .offer-admin-time {
  color: rgba(245, 242, 234, 0.62);
  font-size: 11px;
}
#offersList .offer-admin-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
#offersList .offer-admin-desc {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}
#offersList .offer-admin-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}
#offersList .offer-admin-metric {
  font-size: 11px;
  color: rgba(245, 242, 234, 0.85);
}
#offersList .offer-admin-category {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
#offersList .offer-admin-link {
  display: inline-block;
  color: #f0b269;
  font-size: 12px;
  font-weight: 700;
}
#offersList .offer-admin-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  max-width: 120px;
}
#offersList .offer-admin-action-btn {
  min-width: 0;
  width: auto;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(242, 139, 58, 0.6);
  background: rgba(34, 27, 43, 0.9);
  color: #f28b3a;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 8px;
}
#offersList .offer-admin-remove-btn {
  border-color: rgba(241, 83, 83, 0.7);
  color: #ff7a7a;
}
@media (max-width: 980px) {
  .offers-admin-layout { grid-template-columns: 1fr; }
  .offers-admin-list { max-height: none; }
  .offer-lang-grid { grid-template-columns: 1fr; }
  .full-menu-admin-actions .field {
    width: 100%;
  }
  .full-menu-admin-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .full-menu-admin-thumb {
    width: 56px;
    height: 82px;
  }
  .full-menu-admin-item-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}
.operator-card-row {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(242, 139, 58, 0.24);
  background:
    linear-gradient(180deg, rgba(44, 34, 58, 0.96), rgba(28, 22, 38, 0.96)),
    radial-gradient(circle at top right, rgba(242, 139, 58, 0.1), transparent 32%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 12px;
}
.operator-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.operator-card-identity {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.operator-card-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.operator-card-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  word-break: break-word;
}
.operator-card-sub {
  font-size: 13px;
  color: var(--muted);
  word-break: break-word;
}
.operator-card-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.operator-card-meta-item {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 14, 28, 0.34);
  display: grid;
  gap: 5px;
}
.operator-card-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.62);
}
.operator-card-meta-value {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
  word-break: break-word;
}
.operator-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid rgba(242, 139, 58, 0.45);
  color: #2b1105;
  background: #f28b3a;
}
.operator-badge.off {
  color: #f5f2ea;
  border-color: rgba(245, 242, 234, 0.25);
  background: rgba(245, 242, 234, 0.08);
}
.operator-delete-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #f39a58;
  background: linear-gradient(180deg, #f39c4f, #f28b3a);
  color: #2b1105;
  font-size: 12px;
  font-weight: 700;
}
.operator-delete-btn.secondary {
  border-color: rgba(245, 242, 234, 0.24);
  background: rgba(245, 242, 234, 0.07);
  color: #f5f2ea;
}
.operator-delete-btn.danger {
  border-color: rgba(255, 108, 108, 0.5);
  background: rgba(113, 34, 42, 0.55);
  color: #ffd7d7;
}
.operator-delete-btn.success {
  border-color: rgba(140, 234, 175, 0.55);
  background: rgba(41, 95, 69, 0.55);
  color: #d7ffe6;
}
.operator-card-action-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 242, 234, 0.2);
  background: rgba(245, 242, 234, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.operator-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.admin-manage-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(242, 139, 58, 0.2);
  background: linear-gradient(180deg, rgba(38, 30, 50, 0.9), rgba(28, 22, 38, 0.9));
  display: grid;
  gap: 10px;
}
.admin-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-filter-row .field {
  margin: 0;
  min-width: 150px;
  flex: 1;
}
.admin-filter-row .btn {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
}
.admin-users-list {
  display: grid;
  gap: 8px;
  max-height: 440px;
  overflow: auto;
  padding-right: 4px;
}
.admin-role-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #f5f2ea;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.admin-role-chip.operator {
  border-color: rgba(242, 139, 58, 0.45);
  color: #f5be8a;
}
.admin-invite-card {
  margin-top: 12px;
}
.admin-invite-link {
  overflow-wrap: anywhere;
  margin-top: 0;
}
.admin-invite-meta {
  font-size: 12px;
  color: var(--muted);
}
.admin-invite-qr-wrap {
  display: flex;
  justify-content: flex-start;
}
.admin-invite-qr {
  width: 132px;
  height: 132px;
  border-radius: 12px;
  border: 1px solid rgba(242, 139, 58, 0.24);
  background: rgba(18, 14, 28, 0.85);
  object-fit: cover;
}
@media (max-width: 980px) {
  .admin-split-grid { grid-template-columns: 1fr; }
  .admin-users-list { max-height: none; }
  .operator-card-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .operator-card-head {
    flex-direction: column;
  }
  .operator-card-badges {
    justify-content: flex-start;
  }
  .operator-card-actions > * {
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
  }
}
.menu-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(8, 6, 16, 0.55); z-index: 70; padding: 24px; }
.menu-modal.show { display: flex; }
.menu-modal-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  position: relative;
}
.menu-modal-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #1f1929;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.menu-modal-img.no-photo::after {
  content: "no photo";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 234, 0.82);
}
.menu-modal-title { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.menu-modal-desc { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.menu-voucher-meta {
  margin: -4px 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #ffcfaa;
}
.menu-modal-price { font-size: 14px; font-weight: 700; color: #f28b3a; }
.menu-modal-actions { display: grid; gap: 8px; margin-top: 14px; }
.menu-modal-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: #f28b3a;
  color: #2b1105;
}
.menu-modal-btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
}
#historyView.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.history-view { padding: 0; }
.history-panel {
  padding-top: 14px;
  padding-bottom: 8px;
  overflow: hidden;
}
.history-title {
  margin: 0;
  padding: 0 2px 6px;
  font-size: 18px;
  color: #f28b3a;
}
.history-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0 2px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.history-tabs::-webkit-scrollbar { display: none; }
.history-tab {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #241c2f;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.history-tab.active { background: #f26522; color: #2b1105; border-color: #ff9a55; }
.history-balance {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  padding: 0 2px 8px;
  line-height: 1.4;
}
.history-list {
  margin-top: 0;
  display: grid;
  gap: 0;
}
.history-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.history-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.history-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 140, 60, 0.18);
  color: #f28b3a;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  flex: 0 0 34px;
}
.history-icon.purchase {
  background: rgba(255,255,255,0.05);
  color: #f7d8b8;
}
.history-icon.order {
  background: rgba(114, 83, 245, 0.16);
  color: #cbb9ff;
}
.history-text {
  min-width: 0;
}
.history-text h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  color: var(--text);
}
.history-text p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
.history-right {
  flex: 0 0 auto;
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}
.history-amount {
  font-size: 14px;
  font-weight: 700;
  color: #f5efe5;
  line-height: 1.2;
  white-space: nowrap;
}
.history-amount.positive { color: #f2c08d; }
.history-detail {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
.history-receipt-copy {
  flex: 0 0 100%;
  display: grid;
  gap: 8px;
  margin-left: 46px;
  color: #f2c08d;
  font-size: 12px;
  font-weight: 700;
}
.history-receipt-copy pre {
  max-height: 180px;
  overflow: auto;
  margin: 0;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #f5efe5;
  font: 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #120f19;
}
.history-receipt-copy a {
  color: #f2c08d;
  text-decoration: none;
}
.history-empty {
  padding: 14px 2px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
#notificationsView.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.notif-view { padding: 0; }
.notif-panel {
  padding-top: 14px;
  padding-bottom: 8px;
  overflow: hidden;
}
.notif-title {
  margin: 0;
  padding: 0 2px 6px;
  font-size: 18px;
  color: #f28b3a;
}
.view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}
.view-head .notif-title { margin: 0; }
.view-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,0.45);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  margin-top: 0;
}
.notif-list { display: grid; gap: 0; }
.notif-item {
  position: relative;
  padding: 14px 2px 14px 18px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 72px;
  box-shadow: none;
}
.notif-item.unread::before,
.notif-offer-card.unread::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 139, 58, 0.08);
}
.notif-copy {
  min-width: 0;
  flex: 1;
}
.notif-offer-card {
  position: relative;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 2px 14px 18px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  align-items: start;
}
.notif-offer-card.no-image {
  grid-template-columns: 1fr;
}
.notif-offer-card .offer-body {
  min-width: 0;
  display: grid;
  gap: 0;
  align-content: start;
}
.notif-offer-card .offer-img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.notif-offer-card .offer-title {
  font-size: 14px;
  line-height: 1.3;
}
.notif-offer-card .offer-desc {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  -webkit-line-clamp: 2;
}
.notif-offer-card .offer-link {
  margin-top: 6px;
}
.notif-empty {
  padding: 14px 2px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.poster-view { padding: 18px; position: relative; }
.poster-list { display: grid; gap: 12px; }
.poster-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(203, 154, 250, 0.22);
  background:
    radial-gradient(120% 120% at 70% 100%, rgba(245, 106, 35, 0.28) 0%, rgba(245, 106, 35, 0.05) 34%, rgba(23, 17, 36, 0) 62%),
    linear-gradient(180deg, rgba(42, 31, 58, 0.96) 0%, rgba(33, 24, 47, 0.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
}
.poster-item h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #f5efe5;
  line-height: 1.04;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.poster-meta {
  font-size: 12px;
  font-weight: 600;
  color: #c9bdd9;
  letter-spacing: 0.2px;
}
.poster-item p {
  margin: 0;
  font-size: 14px;
  color: #e9e1ef;
  line-height: 1.48;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.poster-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #f2b277;
  font-weight: 600;
}
.poster-views-icon {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 184, 120, 0.7);
  display: inline-grid;
  place-items: center;
  font-size: 7px;
  line-height: 1;
}
.poster-read {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.15;
  color: #f6b66f;
  font-weight: 700;
}
.poster-item-promo {
  padding: 0;
  min-height: 240px;
}
.poster-item-with-photo {
  padding: 0;
  min-height: 240px;
}
.poster-media {
  min-height: 240px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: rgba(17, 23, 30, 0.34);
}
.poster-media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 6px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 0%, rgba(8, 10, 14, 0.82) 72%, rgba(8, 10, 14, 0.94) 100%);
}
.poster-item-with-photo h4 {
  font-size: 18px;
  line-height: 1.08;
  color: #fff4ea;
  -webkit-line-clamp: 2;
}
.poster-item-with-photo p {
  color: rgba(242, 237, 228, 0.86);
  -webkit-line-clamp: 3;
}
.poster-item-with-photo .poster-meta,
.poster-item-with-photo .poster-views {
  color: rgba(242, 237, 228, 0.82);
}
.poster-item-with-photo .poster-read {
  color: #ffd8bb;
}
.poster-promo-media {
  min-height: 240px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.poster-promo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 6px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 0%, rgba(8, 10, 14, 0.82) 72%, rgba(8, 10, 14, 0.94) 100%);
}
.poster-promo-title {
  font-size: 20px;
  line-height: 1.08;
  font-weight: 800;
  color: #fff4ea;
}
.poster-promo-subtitle {
  font-size: 14px;
  line-height: 1.25;
  color: #ffd8bb;
  font-weight: 600;
}
.certificates-list {
  display: grid;
  gap: 12px;
}
.certificate-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--hub-home-border);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
  cursor: pointer;
}
.certificate-card-thumb {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: var(--hub-home-surface-soft);
}
.certificate-card-body {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.certificate-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--hub-home-text);
}
.certificate-card-amount {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  color: #fff4ea;
}
.certificate-card-meta {
  font-size: 12px;
  line-height: 1.35;
  color: var(--hub-home-muted);
}
.certificate-modal-card {
  max-width: 520px;
}
.certificate-company-head {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}
.certificate-company-title {
  font-size: 21px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
}
.certificate-company-subtitle {
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}
.certificate-modal-img {
  margin-bottom: 14px;
}
.certificate-summary-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.certificate-amount {
  font-size: 42px;
  line-height: 0.95;
  font-weight: 900;
  color: #fff4ea;
}
.certificate-limit,
.certificate-validity,
.certificate-description {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  white-space: pre-wrap;
}
.certificate-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 12px 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.certificate-qr {
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: #fff;
  padding: 10px;
}
.certificate-code {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  color: #fff4ea;
  letter-spacing: 0.08em;
}
.certificate-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.certificate-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
#voucherModal .certificate-modal-card {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: min(88vh, 760px);
}
#voucherModal .certificate-company-title {
  font-size: 15px;
  line-height: 1.15;
}
#voucherModal .certificate-amount {
  font-size: 30px;
  line-height: 1;
}
#voucherModal .certificate-limit,
#voucherModal .certificate-validity,
#voucherModal .certificate-description {
  font-size: 12px;
  line-height: 1.4;
}
#eventTicketModal .certificate-modal-card {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: min(88vh, 760px);
  -webkit-overflow-scrolling: touch;
}
#eventTicketModal .certificate-company-title {
  font-size: 17.5px;
  line-height: 1.15;
}
#eventTicketModal .certificate-amount {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 13px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--muted);
}
#eventTicketClaimBtn {
  min-height: 48px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 177, 102, 0.98), rgba(255, 113, 46, 0.98));
  color: #211006;
  border: 1px solid rgba(255, 211, 166, 0.34);
  font-size: 15px;
  font-weight: 800;
  box-shadow:
    0 14px 28px rgba(255, 112, 45, 0.24),
    inset 1px 1px 0 rgba(255, 255, 255, 0.28);
}
#eventTicketClaimBtn.is-close {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(20, 25, 32, 0.72);
  color: #fff4ea;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.24),
    inset 1px 1px 0 rgba(255, 255, 255, 0.1);
}
#eventTicketClaimBtn.is-close:active {
  transform: translateY(1px);
}
#voucherModal .certificate-modal-img {
  margin-bottom: 12px;
}
.certificate-details-card {
  max-width: 460px;
}
.cart-view { padding: 18px; }
.cart-title { margin: 0 0 10px; font-size: 18px; color: #f28b3a; }
.cart-list { display: grid; gap: 10px; }
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #221b2b;
}
.cart-img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #1f1929;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.cart-info { min-width: 0; }
.cart-name {
  font-size: 12px;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-price { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart-qty { font-size: 12px; color: var(--text); font-weight: 700; min-width: 18px; text-align: center; }
.cart-controls { display: inline-flex; align-items: center; gap: 2px; }
.cart-control-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: #f28b3a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.cart-control-btn[data-action="dec"],
.cart-control-btn[data-action="inc"] {
  margin-left: 0;
  margin-right: 0;
  transform: translateY(6px);
}
.cart-summary {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #221b2b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.cart-total { color: var(--text); font-weight: 700; }
.cart-order-btn {
  margin-top: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  background: var(--accent);
  color: #1f0f06;
  font-weight: 700;
}
.notif-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--text);
}
.notif-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
}
.notif-photo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.08);
  background: #1f1929;
  flex: 0 0 56px;
}
.notif-text.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-broadcast-item {
}
.notif-broadcast-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(242, 139, 58, 0.5);
  background: rgba(242, 139, 58, 0.12);
  color: #f2b277;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 6px;
}
.notif-broadcast-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.notif-broadcast-text.clamp {
  white-space: normal;
}
.notif-expand-btn {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #f2b277;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  width: fit-content;
}
.notif-expand-btn:active {
  opacity: 0.8;
}
.notif-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 6, 16, 0.6);
  z-index: 60;
  padding: 24px 18px;
}
.notif-modal.show { display: flex; }
.notif-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #2a2333;
  border: 1px solid rgba(106, 86, 53, 0.6);
  border-radius: 16px;
  padding: 18px;
  color: #f5f2ea;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  display: grid;
  gap: 12px;
  max-height: 80vh;
  overflow: auto;
}
.notif-modal-photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #1f1929;
  margin: 0 auto;
}
.notif-modal-text { font-size: 13px; line-height: 1.5; color: var(--text); white-space: pre-wrap; }
.notif-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
}
.notif-modal-actions {
  display: grid;
  gap: 10px;
}
.notif-modal-actions .btn {
  width: 100%;
  min-height: 54px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 126, 0.28);
  background: var(--hub-home-accent-strong);
  color: #201109;
  font-size: 1.2em;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
.notif-modal-actions .btn:disabled {
  opacity: 1;
  filter: none;
}
.agreement-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 80; padding: 28px 20px; }
.agreement-overlay.show { display: flex; }
.agreement-bg { position: absolute; inset: 0; overflow: hidden; }
.agreement-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(900px 600px at 10% 10%, rgba(255, 200, 120, 0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 20%, rgba(255, 150, 80, 0.16), transparent 65%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 70px),
    linear-gradient(180deg, #0b0b0d, #16120e);
  transform: translate3d(0, 0, 0);
  animation: grid-drift 20s linear infinite;
}
.agreement-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(120deg, rgba(255, 210, 130, 0.08), transparent 45%),
    linear-gradient(240deg, rgba(255, 150, 80, 0.07), transparent 55%);
  animation: glow-pulse 12s ease-in-out infinite;
}
.agreement-bg .cube {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.2)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 56px);
  background-size: 56px 56px;
}
.agreement-bg .spark {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(14px 14px at 14px 14px, rgba(255, 214, 140, 0.35), transparent 70%),
    radial-gradient(12px 12px at 42px 42px, rgba(255, 180, 110, 0.25), transparent 70%);
  background-size: 56px 56px;
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: spark-move 6s linear infinite;
}
.agreement-bg .spark.alt {
  background-position: 28px 28px;
  opacity: 0.55;
  animation: spark-move 8s linear infinite reverse;
}
.agreement-bg .pulse {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(26px 26px at 28px 28px, rgba(255, 200, 120, 0.35), transparent 70%);
  background-size: 56px 56px;
  mix-blend-mode: screen;
  opacity: 0;
  animation: cube-pulse 7s ease-in-out infinite;
}
.agreement-bg .pulse.alt { animation-delay: 2.5s; }
.agreement-bg .pulse.alt2 { animation-delay: 4.5s; }
@keyframes grid-drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-18px, -24px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes glow-pulse {
  0% { opacity: 0.5; }
  50% { opacity: 0.9; }
  100% { opacity: 0.5; }
}
@keyframes cube-pulse {
  0% { opacity: 0; }
  15% { opacity: 0.9; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes bg-float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}
.agreement-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 4; }
.agreement-modal { position: relative; width: min(92vw, 520px); text-align: left; z-index: 5; }
.agreement-modal {
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding-right: 6px;
}
.agreement-brand { display: flex; align-items: center; gap: 10px; color: #f0dfbf; font-size: 14px; letter-spacing: 0.5px; margin-bottom: 10px; }
.agreement-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.agreement-title { font-size: 30px; line-height: 1.1; margin: 0 0 10px; color: #f5f2ea; }
.agreement-title .highlight { color: #f0c36b; }
.agreement-lang-wrap { margin: 0 0 14px; }
.agreement-lang-label { margin: 0 0 8px; color: #d8ccba; font-size: 12px; letter-spacing: 0.2px; }
.agreement-lang-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.agreement-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(18, 15, 24, 0.84);
  color: #f5f2ea;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.agreement-lang-btn:active { transform: translateY(1px); }
.agreement-lang-btn .agreement-lang-check { opacity: 0; transition: opacity 0.15s ease; }
.agreement-lang-btn.active {
  border-color: #f0c36b;
  background: rgba(240, 195, 107, 0.14);
}
.agreement-lang-btn.active .agreement-lang-check { opacity: 1; }
.agreement-sub { margin: 0 0 16px; color: #cbbfa9; font-size: 13px; }
.agreement-legal { margin: 0 0 14px; color: #f1e7d6; font-size: 18px; line-height: 1.35; }
.agreement-legal a { color: #f5f2ea; text-decoration: underline; text-underline-offset: 2px; }
.agreement-text { max-height: 240px; overflow: auto; padding: 14px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(17, 14, 20, 0.85); color: var(--text); font-size: 13px; }
.agreement-hint { margin-top: 12px; font-size: 12px; color: #cbbfa9; }
.agreement-btn { width: 100%; margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: bold; background: #f0dfd8; color: #2a1a10; border: 0; }
.agreement-btn {
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.agreement-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.bottom-nav.agreement-locked {
  pointer-events: none;
  opacity: 0.25;
}
@media (max-width: 520px) {
  .agreement-overlay {
    align-items: flex-end;
    padding: 10px 10px 84px;
  }
  .agreement-modal {
    width: 100%;
    max-height: calc(100vh - 92px);
    padding-bottom: 10px;
  }
  .agreement-text {
    max-height: 32vh;
  }
}
.settings { margin-top: 10px; text-align: left; }
#settingsView.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.settings textarea { width: 100%; min-height: 140px; padding: 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #1a1524; color: var(--text); }
.settings-hero {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.settings-hero h2 {
  margin: 0;
}
.settings-lead {
  margin: 0;
  color: #cbbfa9;
  font-size: 13px;
  line-height: 1.45;
  max-width: 30ch;
}
.settings-language-wrap { margin: 0 0 18px; }
.settings-language-options .agreement-lang-btn {
  min-height: 56px;
  justify-content: flex-start;
  padding-inline: 16px;
  font-size: 15px;
}
.settings-language-options .agreement-lang-check { margin-left: auto; }
.default-lang-btn {
  min-height: 60px;
  justify-content: flex-start;
  padding-inline: 18px;
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(18, 15, 24, 0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.default-lang-btn.active {
  border-color: rgba(242, 139, 58, 0.7);
  background: linear-gradient(180deg, rgba(84, 66, 60, 0.96) 0%, rgba(63, 50, 48, 0.96) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 196, 133, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.16);
  color: #fff5ea;
}
.default-lang-btn .agreement-lang-check {
  margin-left: auto;
  color: #f8d9b4;
  font-weight: 800;
}
.settings-list { display: grid; gap: 12px; }
.settings-section-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(35, 27, 49, 0.96) 0%, rgba(24, 18, 35, 0.96) 100%);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
  padding: 14px 14px 12px;
}
.settings-profile { margin-bottom: 0; }
.settings-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.settings-profile .settings-section-head {
  align-items: center;
  margin-bottom: 10px;
}
.settings-profile .settings-section-head > div:first-child {
  min-width: 0;
}
.settings-section-head .panel-subtitle {
  margin: 0 0 4px;
  font-size: 12px;
}
.settings-profile .settings-section-head .panel-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}
.settings-section-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  max-width: 30ch;
}
.settings-progress-chip {
  flex: 0 0 auto;
  color: #f8d6b7;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  white-space: nowrap;
}
.settings-section-tools {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.profile-edit-toggle {
  border: 1px solid rgba(255, 154, 85, 0.38);
  background: rgba(255, 255, 255, 0.04);
  color: #f7d8b8;
  border-radius: 999px;
  padding: 8px 12px;
  margin-top: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.profile-edit-toggle.hidden { display: none; }
.settings-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-bottom: 10px;
}
.settings-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8b3d 0%, #ffb067 100%);
  transition: width 0.25s ease;
}
.settings-profile .field { margin-bottom: 10px; }
.profile-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(19, 14, 28, 0.9);
  border-radius: 20px;
  padding: 0;
  display: grid;
  gap: 0;
  width: 100%;
  overflow: hidden;
}
.profile-collapsed {
  border-radius: 16px;
  border: 1px solid rgba(124, 97, 60, 0.45);
  background: rgba(25, 19, 35, 0.92);
  padding: 14px;
  display: grid;
  gap: 6px;
}
.profile-collapsed-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.profile-collapsed-copy {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.profile-row {
  display: grid;
  grid-template-columns: minmax(116px, 156px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  overflow: hidden;
  min-height: 60px;
}
.profile-row + .profile-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-row:focus-within {
  background: rgba(255,255,255,0.02);
}
.profile-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
}
.profile-right.column {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.profile-row.icon-only {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
}
.profile-row.icon-only .profile-left {
  justify-content: center;
  gap: 0;
}
.profile-row.icon-only .profile-date {
  width: 100%;
}
.profile-row.icon-only .profile-date select {
  flex: 1 1 0;
  min-width: 0;
}
.profile-row.district-row .profile-select {
  text-align: left;
  width: 100%;
  min-width: 0;
  padding-left: 0;
  padding-right: 34px;
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
}
.profile-row.address-row {
  align-items: flex-start;
}
.profile-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}
.profile-left > span:last-child:not(.profile-icon) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f59a57;
  font-size: 16px;
  flex: 0 0 34px;
}
.profile-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  outline: none;
}
.profile-address-btn {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0;
  height: 100%;
}
.profile-address-btn.has-value .profile-address-value { color: var(--text); }
.profile-address-btn.has-value .profile-address-label { display: none; }
.profile-address-value {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  text-align: left;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.35;
}
.profile-address-label {
  color: var(--muted);
  white-space: nowrap;
  display: block;
}
.address-clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  margin-top: 0;
}
.profile-share {
  border: 1px solid var(--stroke);
  background: #1f1828;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}
.profile-share.hidden { display: none; }
.profile-select {
  flex: 1;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 14px;
  text-align: left;
  outline: none;
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #cbbfa9 50%),
                    linear-gradient(135deg, #cbbfa9 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.profile-select.placeholder {
  color: var(--muted);
}
.profile-date {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}
.profile-date select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  appearance: none;
  background-image: none;
  min-width: 68px;
  text-align: center;
  outline: none;
  box-shadow: none;
}
.profile-toggle {
  display: inline-flex;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.profile-row[data-profile-field="gender"] .profile-toggle {
  transform: translateY(4px);
}
.profile-toggle button {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  min-height: 38px;
  line-height: 1;
}
.profile-toggle .gender-icon,
.profile-toggle .gender-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.profile-toggle .gender-icon {
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 18px;
  flex: 0 0 16px;
}
@media (max-width: 420px) {
  .settings-section-head { flex-direction: column; }
  .settings-section-tools {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .settings-profile .settings-section-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .settings-profile .settings-section-tools {
    width: auto;
    justify-content: flex-end;
  }
  .settings-lead,
  .settings-section-copy { max-width: none; }
  .profile-row { grid-template-columns: minmax(108px, 118px) minmax(0, 1fr); }
  .profile-row.icon-only { grid-template-columns: 36px minmax(0, 1fr); }
  .profile-row.address-row { grid-template-columns: 1fr; }
  .profile-right { justify-content: flex-start; }
  .profile-input { text-align: left; }
  .profile-select { text-align: left; }
  .profile-date { justify-content: flex-start; flex-wrap: nowrap; }
  .profile-toggle { flex-wrap: nowrap; }
}
.profile-toggle button.active {
  background: #f28b3a;
  color: #2b1105;
  border-color: #ff9a55;
}
#profileSaveBtn {
  width: calc(100% - 24px);
  margin: 12px;
  border-radius: 14px;
}
.settings-actions-card {
  display: grid;
  gap: 0;
  padding-top: 14px;
  padding-bottom: 8px;
  overflow: hidden;
}
.settings-actions-card .settings-section-head {
  margin-bottom: 4px;
}
.settings-about-card {
  width: 100%;
  appearance: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
  min-height: 82px;
  padding: 14px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.settings-about-card:focus-visible {
  outline: 2px solid rgba(242, 139, 58, 0.72);
  outline-offset: 2px;
}
.settings-about-cover {
  display: none;
}
.settings-about-card.has-image .settings-about-cover {
  display: none;
}
.settings-about-copy,
.settings-about-action {
  position: static;
}
.settings-about-copy {
  display: grid;
  gap: 4px;
  max-width: none;
}
.settings-about-kicker {
  display: none;
}
.settings-about-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
.settings-about-note {
  font-size: 12px;
  line-height: 1.38;
  color: var(--muted);
}
.settings-about-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #cbbfa9;
  font-size: 20px;
  line-height: 1;
}
.settings-item {
  padding: 14px 2px;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  min-height: 64px;
  cursor: pointer;
}
.settings-item-labels {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.settings-item-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.settings-item-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.settings-item-arrow {
  color: #cbbfa9;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}
.settings-back-btn {
  margin-top: 0;
}
.about-view {
  display: grid;
  gap: 12px;
}
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  border-radius: 20px;
  border: 1px solid rgba(124, 97, 60, 0.45);
  background:
    radial-gradient(circle at top right, rgba(242, 139, 58, 0.3), transparent 34%),
    linear-gradient(145deg, rgba(54, 34, 24, 0.96), rgba(28, 22, 38, 0.96) 48%, rgba(16, 13, 24, 0.98));
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 14, 24, 0.14), rgba(18, 14, 24, 0.74));
  pointer-events: none;
}
.about-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
}
.about-hero.has-image .about-hero-image {
  opacity: 0.42;
}
.about-hero-content {
  position: relative;
  z-index: 1;
  min-height: 238px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.about-hero-badge {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 229, 204, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 229, 204, 0.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-hero-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.02;
  color: #fff4ea;
}
.about-hero-subtitle {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.42;
  color: rgba(245, 242, 234, 0.82);
}
.about-hero-subtitle.hidden {
  display: none;
}
.about-view-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(124, 97, 60, 0.45);
  background: rgba(31, 24, 40, 0.92);
  display: grid;
  gap: 8px;
}
.about-view-card.hidden,
.about-view-empty.hidden {
  display: none;
}
.about-view-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 139, 58, 0.9);
}
.about-view-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-line;
}
.about-view-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.about-view-empty {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(124, 97, 60, 0.45);
  background: rgba(31, 24, 40, 0.72);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.about-actions {
  display: grid;
  gap: 10px;
}
.about-action-btn {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  appearance: none;
  border-radius: 14px;
  border: 1px solid rgba(242, 139, 58, 0.32);
  background: linear-gradient(180deg, rgba(242, 139, 58, 0.18), rgba(242, 139, 58, 0.08));
  color: #fff4ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.about-action-btn.secondary {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.about-action-text {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
}
.about-action-title {
  font-size: 13px;
  color: inherit;
}
.about-action-subtitle {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}
.about-action-arrow {
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}
@media (max-width: 640px) {
  .settings-about-card {
    min-height: 124px;
  }
  .settings-about-title {
    font-size: 20px;
  }
  .about-view-grid {
    grid-template-columns: 1fr;
  }
  .about-hero,
  .about-hero-content {
    min-height: 210px;
  }
  .about-hero-title {
    font-size: 24px;
  }
}
.faq-list { display: grid; gap: 10px; }
.faq-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #221b2b;
  display: grid;
  gap: 8px;
}
.faq-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.faq-admin-index {
  font-size: 12px;
  color: #d7cfff;
  opacity: 0.9;
  font-weight: 700;
}
.faq-admin-lang-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.faq-admin-lang-card {
  border: 1px solid rgba(247, 149, 44, 0.3);
  background: rgba(22, 16, 32, 0.55);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 6px;
}
.faq-admin-lang-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f7952c;
}
.faq-admin-label {
  font-size: 11px;
  color: var(--muted);
}
.faq-admin-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  white-space: pre-wrap;
}
.faq-admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .faq-admin-lang-grid {
    grid-template-columns: 1fr;
  }
}
.faq-question { font-size: 13px; color: var(--text); font-weight: 600; }
.faq-answer { font-size: 12px; color: var(--muted); display: none; line-height: 1.4; }
.faq-card.open .faq-answer { display: block; }
.drawer { position: fixed; top: 0; left: 0; height: 100%; width: 240px; background: #1c1626; border-right: 1px solid var(--stroke); padding: 24px 18px; transform: translateX(-100%); transition: transform 0.2s ease; z-index: 20; }
.drawer.open { transform: translateX(0); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 10; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer h3 { margin: 0 0 14px; font-size: 14px; color: #e6dac2; }
.drawer button { width: 100%; margin-bottom: 10px; }
.settings { margin-top: 10px; text-align: left; }
.settings textarea { width: 100%; min-height: 120px; padding: 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #1a1524; color: var(--text); }
#settingsAgreement > button.full:last-child,
#settingsFaq > button.full:last-child {
  margin-top: 10px;
}
.referrals { margin-top: 12px; text-align: left; }
.referrals h3 { margin: 0 0 8px; font-size: 14px; color: #e6dac2; }
.referrals-list { display: grid; gap: 8px; }
.referral-item { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #221b2b; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; }
.referral-item span { color: var(--text); }
.referral-cta { padding: 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #221b2b; color: var(--muted); font-size: 13px; }
.referral-link { margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke); background: #1a1524; color: var(--text); word-break: break-all; font-size: 12px; }
.toast-popup { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: rgba(33, 26, 44, 0.95); color: var(--text); padding: 12px 16px; border-radius: 12px; border: 1px solid var(--stroke); box-shadow: 0 12px 40px rgba(0,0,0,0.45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; font-size: 13px; }
.toast-popup.show { opacity: 1; }
.qr-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(8, 6, 16, 0.6); z-index: 45; padding: 24px; }
.qr-overlay.show { display: flex; }
.qr-modal { position: relative; background: var(--card); border: 1px solid var(--stroke); border-radius: 16px; padding: 18px; box-shadow: 0 18px 60px rgba(0,0,0,0.6); }
.qr-modal img { width: 220px; height: 220px; display: block; background: #fff; padding: 10px; border-radius: 12px; }
#qrOverlay {
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(10, 8, 16, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: none;
}
#qrOverlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.qr-pass {
  width: min(100%, 338px);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 22px 20px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 14% 0%, rgba(242, 101, 34, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(44, 33, 60, 0.9), rgba(28, 22, 40, 0.9));
  box-shadow:
    0 28px 70px rgba(0,0,0,0.34),
    0 10px 28px rgba(242, 101, 34, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 1;
  transform: none;
}
#qrOverlay.show .qr-pass {
  animation: none;
}
.qr-pass-head {
  margin-bottom: 18px;
  padding-right: 0;
}
.qr-pass-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f4eadf;
}
.qr-pass-shell {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.qr-pass-frame {
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 18px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(242, 101, 34, 0.08),
    0 14px 30px rgba(0,0,0,0.16);
  opacity: 1;
  transform: none;
}
#qrOverlay.show .qr-pass-frame {
  animation: none;
}
#qrOverlay .qr-modal img {
  width: 220px;
  height: 220px;
  max-width: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.qr-pass-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 18px;
  color: #6a6176;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}
.qr-pass-loading::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(70,72,88,0.16);
  border-top-color: #f57a27;
  animation: qrSpinner 0.8s linear infinite;
}
@keyframes qrSpinner {
  to { transform: rotate(360deg); }
}
.pac-container { z-index: 99999 !important; }
.qr-close {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,0.45);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateX(-50%);
  padding: 0;
}
.qr-pass-close {
  top: calc(100% + 16px);
  left: 50%;
  right: auto;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(34, 27, 48, 0.9);
  color: #e8dccc;
  font-size: 28px;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.04);
  opacity: 1;
}
#qrOverlay.show .qr-pass-close {
  animation: none;
}
.qr-pass-close:active {
  transform: scale(0.96);
}
.popup-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(8, 6, 16, 0.55); z-index: 140; padding: 24px; }
.popup-overlay.show { display: flex; }
.popup-card { background: rgba(38, 32, 51, 0.5); border: 1px solid var(--stroke); border-radius: 16px; padding: 18px; max-width: 340px; width: 100%; text-align: center; box-shadow: 0 18px 60px rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#orderOverlay .popup-card { max-height: 85vh; overflow-y: auto; }
#reservationOverlay .popup-card {
  max-width: 560px;
  width: min(560px, calc(100vw - 48px));
  max-height: 88vh;
  overflow: visible;
  background: rgba(34, 27, 48, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}
#reservationOverlay .reservation-grid {
  max-height: calc(88vh - 36px);
  overflow-y: auto;
  padding-right: 2px;
}
#reservationOverlay .qr-close {
  width: 45px;
  height: 45px;
  font-size: 24px;
  top: -28px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 2;
}
.reservation-card {
  position: relative;
  display: grid;
  gap: 14px;
}
.reservation-grid {
  display: grid;
  gap: 18px;
}
.reservation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.reservation-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
}
.reservation-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.reservation-step-label {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8e2b0;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.reservation-stepper-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.reservation-stepper-line span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}
.reservation-stepper-line span.active,
.reservation-stepper-line span.done {
  background: var(--hub-home-accent-strong, linear-gradient(135deg, #ff9a4a, #f26522));
  color: #201109;
  border-color: transparent;
}
.reservation-stepper-line i {
  display: block;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.reservation-summary {
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.reservation-step-panel {
  display: grid;
  gap: 16px;
}
.reservation-row {
  display: grid;
  gap: 8px;
}
.reservation-top-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}
.reservation-top-grid > div > label {
  display: block;
  padding-left: 0;
  text-align: center;
}
.reservation-compact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.reservation-row label,
.reservation-label {
  margin: 0;
  color: #e8dccc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.reservation-date {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}
.reservation-calendar-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
}
.reservation-month-btn {
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #fff5dc;
  font-size: 28px;
  line-height: 1;
  margin: 0;
  padding: 0;
  box-shadow: none;
}
.reservation-month-btn:disabled {
  opacity: 0.22;
}
.reservation-month-label {
  color: #fff8ef;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}
.reservation-weekdays,
.reservation-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.reservation-weekdays span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.reservation-date-spacer {
  min-height: 38px;
}
.reservation-date-option {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: 36px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border-radius: 13px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.reservation-date-option .date-main {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.reservation-date-option.disabled,
.reservation-date-option:disabled {
  color: rgba(214, 200, 217, 0.28);
}
.reservation-date-option.active {
  background: linear-gradient(135deg, #ff9a4a, #f26522);
  color: #2b1105;
  border: 1px solid rgba(255, 201, 144, 0.5);
  border-color: rgba(255, 201, 144, 0.5);
  box-shadow: none;
}
.reservation-time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.reservation-scroll {
  max-height: 92px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  scroll-snap-type: y mandatory;
}
#reservationMinutes {
  overflow-y: auto;
  scroll-snap-type: none;
}
#reservationMinutes .reservation-scroll-item {
  scroll-snap-align: none;
}
.reservation-scroll-item {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #d6c8d9;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  scroll-snap-align: center;
}
.reservation-scroll-item.active {
  color: #2b1105;
  background: linear-gradient(135deg, #ff9a4a, #f26522);
  box-shadow: 0 10px 18px rgba(242, 101, 34, 0.16);
}
.reservation-empty {
  grid-column: 1 / -1;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.reservation-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}
.reservation-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #fff1dd;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.reservation-stepper-value {
  flex: 1;
  text-align: center;
  color: #fff8ef;
  font-size: 18px;
  font-weight: 800;
}
.reservation-guest-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  min-height: 46px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  gap: 0;
}
.reservation-stepper-btn {
  width: auto;
  height: auto;
  min-width: 18px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff1dd;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
  box-shadow: none;
}
.reservation-guest-value {
  color: #fff8ef;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  flex: 1;
  text-align: center;
}
.reservation-duration {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 44px 0 14px;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.72) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 26px) calc(50% - 1px),
    calc(100% - 20px) calc(50% - 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.reservation-prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.reservation-pref-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: #ddd4e3;
  border-radius: 999px;
  margin: 0 8px 2px 0;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.reservation-pref-btn.active {
  background: linear-gradient(135deg, rgba(255, 154, 74, 0.92), rgba(242, 101, 34, 0.92));
  color: #2b1105;
  border-color: rgba(255, 201, 144, 0.5);
  box-shadow: 0 8px 18px rgba(242, 101, 34, 0.16);
}
.reservation-phone-row {
  display: grid;
  gap: 8px;
}
.reservation-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  margin-top: 2px;
}
.reservation-actions.single-action {
  grid-template-columns: minmax(0, min(320px, 100%));
  justify-content: center;
}
.reservation-confirm-btn {
  width: 100%;
  min-height: 50px;
  margin: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff9a4a, #f26522);
  color: #2b1105;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(242, 101, 34, 0.22);
}
.reservation-back-btn {
  min-height: 50px;
  margin: 0;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: #fff8ef;
  font-size: 15px;
  font-weight: 800;
}
.reservation-hint {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.popup-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--text); }
.popup-card p { margin: 0 0 14px; font-size: 19px; color: var(--muted); }
.popup-help {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 13, 22, 0.34);
  text-align: left;
  display: grid;
  gap: 6px;
}
.popup-help-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff5e8;
}
.popup-help-line {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 242, 234, 0.86);
  white-space: pre-line;
}
.popup-help-line strong {
  color: #fff5e8;
  font-weight: 800;
}
.popup-primary-btn {
  min-height: 52px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #ff9a4a, #f26522);
  color: #2b1105;
  box-shadow: 0 12px 26px rgba(242, 101, 34, 0.28);
}
.popup-primary-btn:active {
  transform: translateY(1px);
  box-shadow: 0 8px 20px rgba(242, 101, 34, 0.24);
}
.popup-choice-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 6px 0 10px;
}
.popup-choice-buttons.hidden {
  display: none;
}
.popup-choice-buttons button {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 137, 28, 0.45);
  border-radius: 13px;
  background: rgba(255, 137, 28, 0.12);
  color: #ffad4a;
  font-weight: 900;
  font-size: 16px;
}
.popup-choice-buttons button.primary {
  border: 0;
  background: linear-gradient(180deg, #ff9f24 0%, #ff7a00 100%);
  color: #1b1007;
}
.popup-action-hint {
  margin: 0;
  font-size: 12px;
  color: rgba(245, 242, 234, 0.78);
}
.order-totals { margin: 0 0 12px; display: grid; gap: 6px; }
.order-totals-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.order-totals-row strong { color: var(--text); font-size: 14px; }
.popup-visit-number { font-size: 28px; font-weight: 800; color: var(--text); text-align: center; margin: 0 0 8px; }
.address-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}
.hidden { display: none; }
.center { text-align: center; }
.full { width: 100%; }
.order-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(106, 86, 53, 0.6);
  background: #1b1b21;
  color: #f5f2ea;
  margin-bottom: 10px;
}
.order-profile-label {
  font-size: 12px;
  color: #cbbfa9;
}
.order-profile-value {
  font-size: 14px;
  color: #f5f2ea;
}
.order-profile-value.center {
  text-align: center;
  width: 100%;
  display: block;
}
.order-profile-edit {
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #f5f2ea;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}
#reservationPhoneProfileRow .order-profile-edit {
  position: relative;
  top: 6px;
}
.delivery-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 14px;
}
.delivery-method {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(106, 86, 53, 0.6);
  background: #241c2f;
  color: #f5f2ea;
  font-weight: 700;
  cursor: pointer;
}
.delivery-method.active {
  background: #4caf50;
  color: #f5f2ea;
  border-color: #59c466;
}
.order-courier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.order-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.order-courier-grid select.field,
.order-courier-grid input[type="date"].field,
.order-time-grid select.field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #cbbfa9 50%),
                    linear-gradient(135deg, #cbbfa9 50%, transparent 50%);
  background-position: calc(100% - 32px) 50%, calc(100% - 26px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.order-courier-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.order-today {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbbfa9;
}
@media (max-width: 520px) {
  .order-courier-grid {
    grid-template-columns: 1fr;
  }
}
/* Secondary HUB neumorphism alignment */
#notificationsView.card,
#posterView.card,
#menuView.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
#cartView.card {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 16px;
  border: 1px solid var(--hub-home-border);
  border-radius: 34px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
}
#cartView.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--hub-home-highlight);
}
#notificationsView .notif-panel,
#posterView,
#menuView {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
#cartView {
  position: relative;
  z-index: 1;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
#notificationsView .notif-title,
#cartView .cart-title,
#posterView .notif-title,
#menuView .menu-title {
  margin: 0 0 12px;
  padding: 0 2px;
  color: var(--hub-home-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}
#posterView .notif-title {
  background: var(--hub-home-accent-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#notificationsView .notif-list,
#cartView .cart-list {
  display: grid;
  gap: 12px;
}
#notificationsView .notif-item,
#notificationsView .notif-offer-card,
#notificationsView .notif-empty,
#cartView .cart-item,
#cartView .cart-summary,
#cartView #cartEmpty,
#posterView .poster-item,
#posterView #posterEmpty {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--hub-home-border);
  border-top: 1px solid var(--hub-home-border);
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
}
#notificationsView .notif-item::after,
#notificationsView .notif-offer-card::after,
#cartView .cart-item::before,
#cartView .cart-summary::before,
#cartView #cartEmpty::before,
#posterView .poster-item::before,
#posterView #posterEmpty::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--hub-home-highlight);
}
#notificationsView .notif-item,
#notificationsView .notif-offer-card {
  padding: 16px 18px 16px 20px;
  gap: 14px;
  align-items: center;
  min-height: 94px;
}
#notificationsView .notif-item {
  padding: 10px 16px 10px 18px;
  gap: 10px;
  min-height: 52px;
}
#notificationsView .notif-item.unread::before,
#notificationsView .notif-offer-card.unread::before {
  left: 14px;
  top: 18px;
}
#notificationsView .notif-item.unread::before {
  top: 12px;
}
#notificationsView .notif-photo,
#notificationsView .notif-offer-card .offer-img,
#cartView .cart-img {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
}
#notificationsView .notif-photo {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  flex: 0 0 66px;
  object-fit: contain;
}
#notificationsView .notif-offer-card .offer-img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#notificationsView .notif-text,
#notificationsView .notif-offer-card .offer-title,
#cartView .cart-name,
#cartView .cart-total,
#posterView .poster-item h4 {
  color: var(--hub-home-text);
}
#posterView .poster-item h4 {
  font-size: 14.4px;
}
#posterView .poster-item-with-photo h4 {
  font-size: 16.2px;
}
#notificationsView .notif-text,
#notificationsView .notif-offer-card .offer-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.24;
}
#notificationsView .notif-meta,
#notificationsView .notif-offer-card .offer-desc,
#cartView .cart-price,
#cartView .cart-summary,
#posterView .poster-meta,
#posterView .poster-item p,
#posterView .poster-views {
  color: var(--hub-home-muted);
}
#notificationsView .notif-broadcast-tag {
  border-color: rgba(255, 150, 80, 0.24);
  background: rgba(255, 150, 80, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #ffd8bb;
}
#notificationsView .notif-expand-btn,
#notificationsView .notif-offer-card .offer-link,
#posterView .poster-read {
  color: #ffd8bb;
}
#cartView #cartEmpty,
#posterView #posterEmpty {
  display: block;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--hub-home-muted);
}
#cartView #cartEmpty.hidden,
#posterView #posterEmpty.hidden {
  display: none;
}
#notificationsView .notif-empty {
  display: block;
  padding: 18px 20px;
}
#notificationsView .notif-empty.hidden {
  display: none;
}
#cartView .cart-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 26px;
}
#cartView .cart-img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(17, 23, 30, 0.28);
}
#cartView .cart-info {
  min-width: 0;
  display: grid;
  gap: 4px;
}
#cartView .cart-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#cartView .cart-price {
  font-size: 13px;
  font-weight: 600;
}
#cartView .cart-qty {
  color: var(--hub-home-text);
  min-width: 18px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}
#cartView .cart-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#cartView .cart-control-btn {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  box-shadow: none;
  color: #ffd8bb;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: none;
}
#cartView .cart-control-btn[data-action="dec"],
#cartView .cart-control-btn[data-action="inc"] {
  margin: 0;
  transform: none;
}
#cartView .cart-summary {
  padding: 6px 2px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
}
#cartView .cart-order-warning {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 149, 82, 0.22);
  background: rgba(255, 149, 82, 0.08);
  color: #ffd2b7;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
#cartView .cart-order-btn {
  margin-top: 14px;
  min-height: 54px;
  border-radius: 18px;
  background: var(--hub-home-accent-strong);
  color: #201109;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
#cartView .cart-order-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}
#ordersView.card,
#tablesView.card,
#operator.card {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 16px;
  border: 1px solid var(--hub-home-border);
  border-radius: 34px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
}
#ordersView.card::before,
#tablesView.card::before,
#operator.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--hub-home-highlight);
}
#ordersView,
#tablesView,
#operator {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
}
#ordersView .orders-title,
#tablesView .orders-title {
  margin: 0 0 12px;
  padding: 0 2px;
  color: var(--hub-home-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}
#ordersView .orders-list,
#tablesView .orders-list {
  display: grid;
  gap: 12px;
}
#ordersView #ordersEmpty.hidden {
  display: none;
}
#ordersView .order-card,
#ordersView #ordersEmpty,
#tablesView .history-card,
#tablesView .history-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--hub-home-border);
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
}
#ordersView .order-card::before,
#ordersView #ordersEmpty::before,
#tablesView .history-card::before,
#tablesView .history-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--hub-home-highlight);
}
#ordersView .order-card {
  padding: 16px 18px;
  gap: 10px;
}
#ordersView .order-meta,
#ordersView .order-items {
  color: var(--hub-home-muted);
}
#ordersView .order-total,
#ordersView .order-notes,
#tablesView .history-text h4,
#tablesView .btn-ghost {
  color: var(--hub-home-text);
}
#ordersView .order-status {
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
}
#ordersView .order-status.progress {
  border-color: transparent;
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.18), inset 1px 1px 0 rgba(255, 255, 255, 0.18);
}
#tablesView .history-card {
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--hub-home-border);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
}
#tablesView .history-item {
  padding: 16px 18px;
  justify-content: flex-start;
  color: var(--hub-home-muted);
}
#tablesView .history-icon {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
  color: #ffd8bb;
}
#tablesView .history-text p {
  color: var(--hub-home-muted);
}
#tablesView .btn-ghost {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
}
#operator .operator-regular-btn,
#operator .operator-party-btn,
#operator #opActions > .full {
  min-height: 58px;
  margin: 0;
  border: 0;
  border-radius: 22px;
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
#operator .operator-regular-btn .operator-scan-label {
  transform: none;
  font-size: 18px;
  text-shadow: none;
  color: inherit;
}
#operator .operator-party-btn {
  margin-top: 12px;
}
.operator-guide-preview {
  position: relative;
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 0;
  max-height: none;
  margin: 12px 0 0;
  padding: 14px 14px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 22px;
  background:
    radial-gradient(130% 150% at 100% 0%, rgba(255, 154, 85, 0.13), rgba(255, 154, 85, 0) 40%),
    var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
  text-align: left;
}
.operator-guide-preview.hidden {
  display: none;
}
.operator-guide-preview::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  background: linear-gradient(180deg, rgba(20, 26, 33, 0), rgba(20, 26, 33, 0.96));
  pointer-events: none;
  opacity: 0;
}
.operator-guide-preview.is-collapsed::after {
  opacity: 1;
}
.operator-guide-preview-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 164, 92, 0.22);
  border-radius: 15px;
  background:
    radial-gradient(120% 140% at 18% 0%, rgba(255, 222, 188, 0.16), rgba(255, 222, 188, 0) 38%),
    var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
  position: relative;
}
.operator-guide-preview-icon::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: #ffd8bb;
  mask: url("/static/guide.png") no-repeat center / contain;
  -webkit-mask: url("/static/guide.png") no-repeat center / contain;
}
.operator-guide-preview-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  align-self: center;
}
.operator-guide-preview-title {
  color: var(--hub-home-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}
.operator-guide-preview-subtitle {
  color: var(--hub-home-muted);
  font-size: 12px;
  line-height: 1.2;
}
.operator-guide-preview-steps {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}
.operator-guide-preview-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--hub-home-text);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}
.operator-guide-preview-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.operator-guide-step-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 164, 92, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(120% 140% at 18% 0%, rgba(255, 222, 188, 0.16), rgba(255, 222, 188, 0) 38%),
    rgba(255, 255, 255, 0.035);
  color: #ffd8bb;
  box-shadow: var(--hub-home-inset-shadow);
  font-size: 16px;
  line-height: 1;
}
.operator-guide-step-icon.qr::before { content: "QR"; font-size: 10px; font-weight: 900; letter-spacing: 0; }
.operator-guide-step-icon.guest::before { content: "ID"; font-size: 10px; font-weight: 900; letter-spacing: 0; }
.operator-guide-step-icon.amount::before { content: "MDL"; font-size: 9px; font-weight: 900; letter-spacing: 0; }
.operator-guide-step-icon.cashback::before { content: "%"; font-size: 17px; font-weight: 900; }
.operator-guide-step-icon.alert::before { content: "!"; font-size: 18px; font-weight: 900; }
.operator-guide-step-icon.confirm::before { content: "✓"; font-size: 18px; font-weight: 900; }
.operator-guide-preview-dots {
  position: absolute;
  left: 50%;
  bottom: 5px;
  z-index: 1;
  transform: translateX(-50%);
  color: #ffd8bb;
  display: none;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 2px;
}
.operator-guide-preview.is-collapsed .operator-guide-preview-dots {
  display: block;
}
.operator-preference-help,
.operator-preference-history {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--hub-home-muted);
  font-size: 12px;
  line-height: 1.3;
}
.operator-preference-history {
  display: grid;
  gap: 8px;
}
.operator-preference-history-title {
  color: var(--hub-home-text);
  font-weight: 800;
}
.operator-preference-history-row {
  display: grid;
  gap: 3px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.operator-preference-history-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.operator-preference-history-meta {
  color: var(--hub-home-muted);
  font-size: 11px;
}
.operator-preference-history-summary {
  color: var(--hub-home-text);
  font-size: 12px;
  font-weight: 700;
}
.operator-preference-history-more {
  justify-self: center;
  min-width: 44px;
  min-height: 24px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #ffd8bb;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 2px;
}
#operator .operator-scan,
#operator .operator-info,
#operator .operator-profile-editor,
#operator .operator-receipt-photo,
#operator .operator-input-target,
#operator .operator-keypad button,
#operator .operator-groups button,
#operator .operator-redeem-wrap .hint {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
}
#operator .operator-scan,
#operator .operator-info {
  border-radius: 22px;
  padding: 10px 14px;
}
#operator .operator-video {
  border-radius: 22px;
}
#operator .operator-line,
#operator .operator-profile-editor-note,
#operator .operator-redeem-wrap .hint {
  color: var(--hub-home-muted);
}
#operator .operator-line strong,
#operator .operator-profile-editor-title,
#operator .operator-visit-number {
  color: var(--hub-home-text);
}
#operator .operator-visit-number {
  font-size: 30px;
  line-height: 1.05;
  padding: 0 0 4px;
}
#operator .operator-line {
  font-size: 14px;
  line-height: 1.22;
}
#operator .operator-groups {
  gap: 10px;
}
#operator .operator-groups button.active,
#operator .operator-profile-toggle.active,
#operator .operator-input-target.active {
  border-color: transparent;
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.22), inset 1px 1px 0 rgba(255, 255, 255, 0.2);
}
#operator .operator-profile-toggle {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
}
#operator .operator-keypad {
  gap: 5px;
  margin-top: 6px;
}
#operator .operator-keypad button {
  min-height: 40px;
  border-radius: 15px;
  font-size: 17px;
}
#operator .operator-keypad button.action {
  color: var(--hub-home-muted);
}
#operator #opActions .full {
  min-height: 46px;
  margin-top: 6px;
}
#operator #opActions {
  padding-bottom: 98px;
}
#operator.operator-guide-visible #opActions {
  padding-bottom: 0;
}
#operator #orderAmount {
  background:
    radial-gradient(120% 160% at 12% 0%, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, rgba(16, 22, 29, 0.98), rgba(26, 33, 41, 0.96)) !important;
  color: #f7fafc !important;
  border-color: rgba(255, 255, 255, 0.055);
  box-shadow:
    9px 9px 18px rgba(0, 0, 0, 0.34),
    -7px -7px 16px rgba(255, 255, 255, 0.035),
    inset 4px 4px 10px rgba(0, 0, 0, 0.32),
    inset -3px -3px 9px rgba(255, 255, 255, 0.04);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  min-height: 44px;
  margin-bottom: 6px;
}
#operator #orderAmount::placeholder {
  color: #7f8993;
  font-size: 15px;
  font-weight: 700;
  opacity: 1;
  text-align: left;
}
#operator #orderAmount:placeholder-shown {
  text-align: left;
}
#operator #operatorPriceBox.is-collapsible {
  max-height: 22px;
  overflow: hidden;
  padding-right: 44px;
  white-space: nowrap !important;
  text-overflow: clip;
}
#operator #operatorPriceBox.is-collapsible.is-expanded {
  max-height: 126px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 0;
  white-space: pre-line !important;
}
#operator .operator-text-expand {
  color: #ffd8bb;
}
#operator #opActions > .full {
  position: relative;
  z-index: 1;
}
.menu-modal,
.offer-modal,
.news-modal,
.specials-modal,
.notif-modal,
.popup-overlay,
#qrOverlay,
#fullMenuOverlay {
  background: rgba(10, 13, 17, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.menu-modal-card,
.offer-modal-card,
.news-modal-card,
.specials-modal-card,
.notif-modal-card,
.popup-card,
.qr-pass {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  border: 1px solid var(--hub-home-border);
  border-radius: 28px;
  box-shadow: 18px 18px 34px rgba(7, 10, 14, 0.6), -12px -12px 26px rgba(255, 255, 255, 0.022);
  color: var(--hub-home-text);
}
.menu-modal-card::before,
.offer-modal-card::before,
.news-modal-card::before,
.specials-modal-card::before,
.notif-modal-card::before,
.popup-card::before,
.qr-pass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--hub-home-highlight);
}
.menu-modal-img,
.offer-modal-img,
.news-modal-img,
.notif-modal-photo {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}
.menu-modal-title,
.offer-modal-title,
.news-modal-title,
.specials-modal-title,
.popup-card h3 {
  color: var(--hub-home-text);
}
.menu-modal-desc,
.offer-modal-desc,
.news-modal-body,
.popup-card p,
.popup-help-line,
.popup-action-hint {
  color: var(--hub-home-muted);
}
.menu-modal-price,
.offer-modal-link,
.news-modal-link,
.news-modal-meta .views {
  color: #ffd8bb;
}
.menu-modal-btn,
.cashback-modal-go-menu,
.cashback-modal-actions .btn,
.specials-modal .btn,
.popup-primary-btn {
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
#menuModalVoucherBtn,
#voucherClaimBtn {
  background: var(--hub-home-accent-strong);
  color: #201109;
  border: 1px solid rgba(255, 190, 126, 0.28);
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
#menuModalVoucherBtn:disabled,
#voucherClaimBtn:disabled {
  opacity: 1;
  background: var(--hub-home-accent-strong);
  color: #201109;
  border: 1px solid rgba(255, 190, 126, 0.28);
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
  filter: none;
}
.menu-modal-btn.secondary {
  background: var(--hub-home-surface-strong);
  color: var(--hub-home-text);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--hub-home-inset-shadow);
}
.popup-secondary-btn {
  background: var(--hub-home-surface-strong);
  color: var(--hub-home-text);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--hub-home-inset-shadow);
}
.qr-close,
.cashback-modal-close,
.news-modal-close {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  color: var(--hub-home-text);
  box-shadow: 10px 10px 18px rgba(8, 10, 14, 0.36), -6px -6px 12px rgba(255, 255, 255, 0.018);
}
#qrOverlay .qr-pass {
  border-radius: 30px;
}
#qrOverlay .qr-pass-head {
  margin-bottom: 14px;
  padding-right: 56px;
}
#qrOverlay .qr-pass-title {
  color: var(--hub-home-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.22;
}
#qrOverlay .qr-pass-shell {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#qrOverlay .qr-pass-frame {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #fbfaf7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36), 0 14px 30px rgba(0, 0, 0, 0.16);
}
#qrOverlay .qr-pass-loading {
  color: #6f7986;
}
#qrOverlay .qr-pass-close {
  top: 14px;
  right: 14px;
  left: auto;
  width: 44px;
  height: 44px;
  transform: none;
  font-size: 26px;
  border-radius: 16px;
  z-index: 3;
}
#reservationOverlay .popup-card {
  border-radius: 30px;
  max-height: min(88vh, 920px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  border: 1px solid var(--hub-home-border);
  box-shadow: 18px 18px 34px rgba(7, 10, 14, 0.6), -12px -12px 26px rgba(255, 255, 255, 0.022);
}
#reservationOverlay .reservation-row label,
#reservationOverlay .reservation-label {
  color: var(--hub-home-text);
  font-size: 12px;
  letter-spacing: 0.02em;
}
#reservationOverlay .reservation-scroll,
#reservationOverlay .reservation-scroll-item,
#reservationOverlay .reservation-guest-box,
#reservationOverlay .reservation-duration,
#reservationOverlay .order-profile-row,
#reservationOverlay .field {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
}
#reservationOverlay .reservation-date-scroll {
  padding: 10px;
  border-radius: 22px;
}
#reservationOverlay .reservation-scroll {
  border-radius: 22px;
}
#reservationOverlay .reservation-date-option,
#reservationOverlay .reservation-scroll-item {
  color: #d9dee6;
}
#reservationOverlay .reservation-date-option.active,
#reservationOverlay .reservation-scroll-item.active,
#reservationOverlay .reservation-pref-btn.active,
#reservationOverlay .reservation-confirm-btn {
  background: var(--hub-home-accent-strong);
  color: #201109;
  border-color: transparent;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
#reservationOverlay .reservation-prefs {
  gap: 8px;
}
#reservationOverlay .reservation-pref-btn {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
  color: #d6dce4;
}
#reservationOverlay .reservation-stepper-btn,
#reservationOverlay .order-profile-edit {
  margin: 0;
  color: var(--hub-home-text);
}
#reservationOverlay .reservation-guest-value,
#reservationOverlay .order-profile-value,
#reservationOverlay .field {
  color: var(--hub-home-text);
}
#reservationOverlay .reservation-hint,
#reservationOverlay .order-profile-label {
  color: var(--hub-home-muted);
}
#reservationOverlay .qr-close {
  border-radius: 50%;
}
#deliveryOverlay .popup-card,
#orderOverlay .popup-card {
  width: min(100%, 560px);
  padding: 22px 18px 18px;
  border-radius: 32px;
  text-align: left;
}
#deliveryOverlay .popup-card h3,
#orderOverlay .popup-card h3 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(20px, 5vw, 30px);
  line-height: 1.08;
  font-weight: 800;
}
#deliveryOverlay .delivery-methods {
  gap: 14px;
  margin: 12px 0 18px;
}
#deliveryOverlay .delivery-method {
  min-height: 74px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--hub-home-surface-soft);
  box-shadow: 12px 12px 22px rgba(7, 10, 14, 0.34), -8px -8px 16px rgba(255, 255, 255, 0.018);
  color: var(--hub-home-text);
  font-size: 16px;
  font-weight: 800;
}
#deliveryOverlay .delivery-method.active {
  border-color: rgba(255, 159, 89, 0.24);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.12), rgba(255, 150, 80, 0) 34%),
    var(--hub-home-surface-soft);
  color: var(--hub-home-text);
  box-shadow: var(--hub-home-shadow), inset 0 0 0 1px rgba(255, 150, 80, 0.16);
}
#deliveryOverlay .delivery-cancel-btn,
#orderOverlay .order-submit-btn,
#orderOverlay .order-cancel-btn {
  width: 100%;
  min-height: 58px;
  margin: 0;
  border-radius: 22px;
  font-size: 18px;
  font-weight: 800;
}
#orderOverlay #orderSummary {
  margin: 0 0 18px;
  text-align: center;
  color: var(--hub-home-muted);
  font-size: clamp(16px, 4.8vw, 24px);
  line-height: 1.2;
}
#orderOverlay .order-totals {
  gap: 10px;
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
}
#orderOverlay .order-totals-row {
  font-size: 16px;
  color: var(--hub-home-muted);
}
#orderOverlay .order-totals-row strong {
  color: var(--hub-home-text);
  font-size: 18px;
}
#orderOverlay label {
  margin: 0 0 8px;
  color: var(--hub-home-text);
  font-size: 14px;
  font-weight: 700;
}
#orderOverlay .field,
#orderOverlay .order-profile-row {
  margin-bottom: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
}
#orderOverlay .field {
  min-height: 58px;
  padding: 16px 18px;
}
#orderOverlay .field::placeholder,
#orderOverlay textarea::placeholder {
  color: var(--hub-home-muted);
}
#orderOverlay .order-profile-row {
  gap: 14px;
  padding: 14px 16px;
  align-items: center;
}
#orderOverlay .order-profile-label {
  color: var(--hub-home-muted);
  font-size: 13px;
}
#orderOverlay .order-profile-value {
  color: var(--hub-home-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
#orderOverlay .order-profile-edit {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  color: var(--hub-home-text);
  box-shadow: 10px 10px 18px rgba(8, 10, 14, 0.26), -6px -6px 12px rgba(255, 255, 255, 0.016);
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}
#orderOverlay .order-courier-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
#orderOverlay #orderDeliveryFee.hint {
  margin: 2px 0 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-muted);
}
#orderOverlay #orderNotes {
  min-height: 148px;
  resize: vertical;
}
#orderOverlay .order-submit-btn {
  margin-top: 6px;
}
#orderOverlay .order-cancel-btn {
  margin-top: 10px;
}
#mapReviewOverlay .popup-card {
  width: min(100%, 560px);
  padding: 22px 18px 18px;
  border-radius: 32px;
  text-align: left;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  border: 1px solid var(--hub-home-border);
  box-shadow: var(--hub-home-shadow);
}
#mapReviewOverlay .popup-card h3 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(20px, 5vw, 30px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--hub-home-text);
}
#mapReviewOverlay #mapReviewPromptText {
  margin: 0 0 18px;
  text-align: center;
  color: var(--hub-home-muted);
  font-size: clamp(16px, 4.8vw, 24px);
  line-height: 1.2;
}
#mapReviewOverlay .delivery-methods {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 12px 0 18px;
}
#mapReviewOverlay .delivery-method {
  width: min(100%, 180px);
  min-height: 74px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--hub-home-surface-soft);
  box-shadow: 12px 12px 22px rgba(7, 10, 14, 0.34), -8px -8px 16px rgba(255, 255, 255, 0.018);
  color: var(--hub-home-text);
  font-size: 16px;
  font-weight: 800;
}
#mapReviewOverlay label {
  margin: 0 0 8px;
  color: var(--hub-home-text);
  font-size: 14px;
  font-weight: 700;
}
#mapReviewOverlay .field {
  margin-bottom: 14px;
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
}
#mapReviewOverlay .field::placeholder {
  color: var(--hub-home-muted);
}
#mapReviewOverlay .order-submit-btn,
#mapReviewOverlay .order-cancel-btn {
  width: 100%;
  min-height: 58px;
  margin: 0;
  border-radius: 22px;
  font-size: 18px;
  font-weight: 800;
}
#mapReviewOverlay .order-cancel-btn {
  margin-top: 10px;
}
#mapReviewOverlay .qr-close {
  border-radius: 50%;
}
.feedback-review-overlay {
  background: rgba(10, 13, 17, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.feedback-review-card {
  width: min(100%, 520px);
  border-radius: 34px;
  border: 1px solid var(--hub-home-border);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
  padding: 66px 18px 18px;
  color: var(--hub-home-text);
}
.feedback-review-close {
  top: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: var(--hub-home-surface-soft);
  color: var(--hub-home-text);
  box-shadow: 10px 10px 18px rgba(8, 10, 14, 0.32), -6px -6px 12px rgba(255, 255, 255, 0.018);
}
.feedback-review-title {
  color: var(--hub-home-text);
  font-size: clamp(28px, 8vw, 38px);
}
.feedback-review-subtitle {
  margin: 6px 0 16px;
  color: var(--hub-home-muted);
  font-size: 15px;
}
.feedback-review-amount {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 24px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
  font-size: clamp(22px, 6vw, 30px);
}
.feedback-review-stars {
  gap: 12px;
  margin: 0 0 18px;
}
.feedback-star-btn {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
}
.feedback-star-btn img {
  width: 42px;
  height: 42px;
  filter: brightness(0) saturate(0) invert(75%) opacity(0.92);
}
.feedback-star-btn img.is-filled {
  filter: drop-shadow(0 6px 12px rgba(255, 125, 53, 0.28));
}
.feedback-review-aspects {
  gap: 12px;
  margin-bottom: 14px;
}
.feedback-aspect-btn {
  min-height: 110px;
  padding: 16px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-muted);
  font-size: 14px;
  font-weight: 700;
}
.feedback-aspect-btn.active {
  border-color: rgba(255, 159, 89, 0.24);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.12), rgba(255, 150, 80, 0) 34%),
    var(--hub-home-surface-soft);
  color: var(--hub-home-text);
  box-shadow: var(--hub-home-shadow), inset 0 0 0 1px rgba(255, 150, 80, 0.16);
}
.feedback-aspect-btn img {
  width: 30px;
  height: 30px;
  filter: brightness(0) saturate(0) invert(72%);
}
.feedback-aspect-btn.active img {
  filter: brightness(0) saturate(100%) invert(74%) sepia(42%) saturate(1236%) hue-rotate(331deg) brightness(104%) contrast(102%);
}
.feedback-review-text {
  min-height: 132px;
  margin-bottom: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
  padding: 16px 18px;
}
.feedback-review-text::placeholder {
  color: var(--hub-home-muted);
}
.feedback-review-attach {
  margin-bottom: 14px;
  display: grid;
  justify-content: center;
}
.feedback-review-attach-btn {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
  font-size: 16px;
  font-weight: 700;
}
.feedback-review-attach-btn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(0) invert(72%);
}
.feedback-review-attach-btn.active {
  border-color: rgba(255, 159, 89, 0.24);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.12), rgba(255, 150, 80, 0) 34%),
    var(--hub-home-surface-soft);
  color: var(--hub-home-text);
  box-shadow: var(--hub-home-shadow), inset 0 0 0 1px rgba(255, 150, 80, 0.16);
}
.feedback-review-attach-btn.active img {
  filter: brightness(0) saturate(100%) invert(74%) sepia(42%) saturate(1236%) hue-rotate(331deg) brightness(104%) contrast(102%);
}
.feedback-review-attach-note {
  color: var(--hub-home-muted);
}
.feedback-review-submit {
  min-height: 62px;
  border-radius: 24px;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 800;
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
.feedback-review-later {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
  font-size: 18px;
  font-weight: 700;
}
.feedback-review-later:hover,
.feedback-review-later:focus-visible {
  background: var(--hub-home-surface-soft);
  color: var(--hub-home-text);
}
@media (max-width: 520px) {
  #cartView .cart-item {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px 16px;
  }
  #deliveryOverlay .popup-card,
  #orderOverlay .popup-card,
  .feedback-review-card {
    border-radius: 28px;
  }
  #orderOverlay .order-courier-grid {
    grid-template-columns: 1fr;
  }
  .feedback-review-card {
    padding: 60px 14px 14px;
  }
  .feedback-review-stars {
    gap: 8px;
  }
  .feedback-star-btn {
    width: 50px;
    height: 50px;
  }
  .feedback-star-btn img {
    width: 36px;
    height: 36px;
  }
}
#cashbackModal .cashback-modal-card {
  border-radius: 30px;
  padding: 20px;
}
#cashbackModal .cashback-modal-card .specials-modal-title {
  margin: 0 46px 12px 0;
  color: var(--hub-home-text);
  font-size: 20px;
  line-height: 1.08;
}
#cashbackModal .cashback-modal-text {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
}
#cashbackModal .cashback-modal-text p,
#cashbackModal .cashback-modal-text li {
  color: var(--hub-home-text);
}
#cashbackModal .cashback-modal-text li::before {
  background: linear-gradient(180deg, #ffb06f, #ff7d35);
  box-shadow: 0 0 0 2px rgba(255, 125, 53, 0.18);
}
#walletModal .cashback-modal-card {
  width: min(100%, 390px);
  border-radius: 22px;
  padding: 10px 12px 12px;
  max-height: none;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(150% 130% at 14% 0%, rgba(255,255,255,0.05), rgba(255,255,255,0) 34%),
    radial-gradient(120% 130% at 100% 0%, rgba(95, 156, 255, 0.10), rgba(95, 156, 255, 0) 42%),
    linear-gradient(145deg, rgba(25, 31, 38, 0.98), rgba(14, 19, 25, 0.98));
}
#walletModal .cashback-modal-card .specials-modal-title {
  margin: 0 42px -14px 0;
  color: var(--hub-home-text);
  font-size: 20px;
  line-height: 1.08;
  text-align: center;
}
#walletModal.specials-modal.show {
  align-items: flex-start;
  overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 8px calc(env(safe-area-inset-bottom, 0px) + 12px);
}
#walletModal .cashback-modal-close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 18px);
  right: 18px;
  z-index: 4;
}
#walletModal .cashback-modal-text {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--hub-home-text);
  padding: 0;
  min-height: 0;
  max-height: none;
  overflow: visible;
}
.wallet-credit-screen {
  display: grid;
  gap: 5px;
}
.wallet-credit-balance-card {
  position: relative;
  height: 66px;
  min-height: 66px;
  padding: 10px 72px 10px 14px;
  border-radius: 15px;
  border: 1px solid rgba(95, 156, 255, 0.24);
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(95, 156, 255, 0.22), rgba(95, 156, 255, 0) 48%),
    linear-gradient(145deg, rgba(34, 75, 130, 0.55), rgba(16, 27, 45, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 14px 30px rgba(34, 90, 170, 0.18);
  box-sizing: border-box;
  overflow: hidden;
}
.wallet-credit-balance-card > div {
  position: absolute;
  left: 14px;
  top: 20px;
  height: auto;
  min-width: 0;
  display: grid;
  align-content: start;
  transform: none;
}
.wallet-credit-balance-card span {
  display: block;
  color: #9dc3ff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}
.wallet-credit-balance-card strong {
  display: block;
  margin-top: -2px;
  color: #5f9cff;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(95, 156, 255, 0.30);
}
.wallet-credit-balance-card em {
  color: #a7c7ff;
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0;
}
.wallet-credit-balance-card i {
  position: absolute;
  right: 16px;
  top: 15px;
  width: 48px;
  height: 48px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  box-shadow: none;
}
.wallet-credit-balance-card i img {
  width: 47px;
  height: 47px;
  display: block;
  object-fit: contain;
}
.wallet-credit-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(5, 9, 14, 0.38);
  column-gap: 3px;
  padding: 2px 3px 2px;
}
.wallet-credit-tabs button {
  border: 0;
  padding: 0 8px;
  min-height: 40px;
  height: 40px;
  box-sizing: border-box;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 9px;
  place-items: center;
  color: #aeb8c2;
  font-size: 14px;
  font-weight: 900;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.wallet-credit-tabs img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.wallet-credit-tabs button:first-child {
  border-radius: 11px 0 0 11px;
}
.wallet-credit-tabs button:last-child {
  border-radius: 0 11px 11px 0;
}
.wallet-credit-tabs button.active {
  color: #5f9cff;
  background: rgba(32, 86, 154, 0.26);
  box-shadow: inset 0 -1px 0 rgba(95, 156, 255, 0.44);
}
.wallet-tab-info {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(174, 184, 194, 0.35);
  color: #aeb8c2;
  font-size: 13px;
  font-weight: 900;
}
.wallet-ledger-empty {
  border-radius: 16px;
  border: 1px solid var(--soft-edge-strong);
  background:
    radial-gradient(140% 120% at 18% 0%, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(25, 31, 38, 0.98), rgba(16, 21, 27, 0.98));
  box-shadow: var(--soft-inset);
  color: #b9c2cc;
  font-size: 14px;
  line-height: 1.45;
  padding: 12px 14px;
  min-height: 96px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  text-align: center;
}
.wallet-ledger-empty i {
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
}
.wallet-ledger-empty i img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.wallet-ledger-empty b {
  color: #f5f2ea;
  font-size: 15px;
  line-height: 1.18;
}
.wallet-ledger-empty small {
  color: #b9c2cc;
  font-size: 12px;
  line-height: 1.28;
}
.wallet-ledger-empty p {
  margin: 4px 0 0;
  color: #aeb8c2;
  font-size: 11px;
  line-height: 1.3;
}
.wallet-credit-rules {
  display: grid;
  gap: 6px;
  padding: 0 2px;
}
.wallet-credit-rules-panel {
  border-radius: 16px;
  border: 1px solid var(--soft-edge-strong);
  background:
    radial-gradient(140% 120% at 18% 0%, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(25, 31, 38, 0.98), rgba(16, 21, 27, 0.98));
  padding: 12px 14px;
}
.wallet-credit-rules p {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: #b9c2cc;
  font-size: 11px;
  line-height: 1.25;
}
.wallet-credit-rules p::before {
  content: none;
  display: none;
}
.wallet-credit-rules p::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.2em - 2px);
  width: 5px;
  height: 8px;
  border-right: 2px solid #5f9cff;
  border-bottom: 2px solid #5f9cff;
  transform: rotate(38deg);
}
.wallet-ledger-list {
  display: grid;
  gap: 5px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
.wallet-ledger-card {
  width: 100%;
  border-radius: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--hub-home-text);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 1px 2px;
  text-align: left;
  cursor: pointer;
}
.wallet-ledger-card:active {
  transform: translateY(1px);
}
.wallet-ledger-card-main,
.wallet-ledger-card-side {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.wallet-ledger-card-side {
  text-align: right;
  justify-items: end;
  align-self: center;
}
.wallet-ledger-card strong {
  color: #fff7ef;
  font-size: 14px;
  line-height: 1.12;
}
.wallet-ledger-card small {
  color: #aeb8c2;
  font-size: 11px;
  line-height: 1.15;
}
.wallet-ledger-card-side small,
.wallet-ledger-card-comment {
  display: none;
}
.wallet-ledger-detail-card {
  border-radius: 28px;
  border: 1px solid var(--soft-edge-strong);
  background:
    radial-gradient(150% 130% at 12% 0%, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 34%),
    radial-gradient(140% 120% at 100% 0%, rgba(255, 146, 78, 0.14), rgba(255, 146, 78, 0) 38%),
    linear-gradient(145deg, rgba(27, 34, 41, 0.98), rgba(18, 24, 30, 0.98));
  box-shadow: var(--soft-shadow), var(--soft-inset);
  color: var(--hub-home-text);
  padding: 20px;
}
.wallet-ledger-detail-card h4 {
  margin: 0 0 28px;
  color: #fff7ef;
  font-size: 18px;
  line-height: 1.2;
}
.wallet-ledger-detail-card p {
  margin: 0 0 10px;
  color: #f0ede8;
  font-size: 16px;
  line-height: 1.38;
}
.wallet-ledger-detail-card .wallet-ledger-note {
  margin-top: 22px;
}
.wallet-ledger-detail-card time {
  display: block;
  margin-top: 26px;
  color: #c4b5d8;
  font-size: 16px;
  font-weight: 700;
}
.wallet-ledger-detail-ok {
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  border: 1px solid rgba(255, 192, 138, 0.4);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffad63 0%, #ff6d20 100%);
  box-shadow: 0 18px 34px rgba(255, 112, 32, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #161009;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}
@media (max-width: 420px) {
  .wallet-ledger-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .wallet-ledger-card-side {
    text-align: right;
  }
  .wallet-ledger-detail-card {
    padding: 18px;
  }
}
#fullMenuOverlay {
  background: rgba(10, 13, 17, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
#fullMenuOverlay .full-menu-sheet {
  background:
    radial-gradient(1040px 680px at 18% -8%, rgba(255, 149, 80, 0.08), rgba(255, 149, 80, 0) 48%),
    radial-gradient(920px 620px at 100% 0%, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 44%),
    linear-gradient(180deg, #151a20 0%, #1a2027 54%, #171d24 100%);
}
#fullMenuOverlay .full-menu-topbar {
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(21, 26, 32, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
#fullMenuOverlay .full-menu-title {
  font-size: 18px;
  color: var(--hub-home-text);
}
#fullMenuOverlay .full-menu-back-btn,
#fullMenuOverlay .full-menu-close-icon {
  color: #ffd8bb;
}
#fullMenuOverlay .full-menu-category-list {
  padding: 20px 16px 28px;
  gap: 14px;
}
#fullMenuOverlay .full-menu-top-promo {
  padding: 0 16px;
}
#fullMenuOverlay .full-menu-top-promo-media {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-shadow);
}
#fullMenuOverlay .full-menu-category-item,
#fullMenuOverlay .full-menu-state,
#fullMenuOverlay .full-menu-loading-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hub-home-border);
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
}
#fullMenuOverlay .full-menu-category-item::before,
#fullMenuOverlay .full-menu-state::before,
#fullMenuOverlay .full-menu-loading-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--hub-home-highlight);
}
#fullMenuOverlay .full-menu-category-item {
  padding: 16px 18px;
}
#fullMenuOverlay .full-menu-category-item.active {
  border-color: rgba(255, 150, 80, 0.18);
  box-shadow: var(--hub-home-shadow), inset 0 0 0 1px rgba(255, 150, 80, 0.16);
}
#fullMenuOverlay .full-menu-category-item-name {
  font-size: 16px;
  color: var(--hub-home-text);
}
#fullMenuOverlay .full-menu-category-item-arrow {
  color: #d7d1c8;
  font-size: 24px;
}
#fullMenuOverlay .full-menu-state {
  padding: 22px 18px;
  color: var(--hub-home-muted);
}
#fullMenuOverlay .full-menu-loading-card {
  height: 220px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    linear-gradient(90deg, rgba(30, 37, 45, 0.98), rgba(39, 47, 56, 0.98), rgba(30, 37, 45, 0.98));
  background-size: 100% 100%, 220% 100%;
  animation: menu-client-skeleton 1.15s linear infinite;
}
@media (max-width: 520px) {
  #notificationsView .notif-item,
  #notificationsView .notif-offer-card,
  #notificationsView .notif-empty,
  #cartView .cart-item,
  #cartView .cart-summary,
  #cartView #cartEmpty,
  #reservationOverlay .popup-card,
  #cashbackModal .cashback-modal-card {
    border-radius: 26px;
  }
  #cartView.card {
    border-radius: 30px;
    padding: 16px 14px 14px;
  }
  #fullMenuOverlay .full-menu-topbar {
    height: 64px;
  }
}
/* Referral and menu HUB neumorphism alignment */
#specialsModal .specials-modal-card,
#bonusModal .specials-modal-card,
#upgradeModal .specials-modal-card,
#referralEntryModal .specials-modal-card,
#referralModal .specials-modal-card {
  max-width: 420px;
  border-radius: 32px;
  box-shadow: var(--hub-home-shadow);
}
#specialsModal .specials-modal-title,
#bonusModal .specials-modal-title,
#upgradeModal .specials-modal-title,
#referralEntryModal .specials-modal-title,
#referralModal .specials-modal-title {
  margin: 0 0 14px;
  color: var(--hub-home-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.08;
}
#specialsModal .specials-modal-text,
#bonusModal .specials-modal-text,
#upgradeModal .specials-modal-text,
#referralModalText,
#referralModalLevels,
#referralModalLink {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-muted);
}
#specialsModal .specials-modal-text,
#bonusModal .specials-modal-text,
#upgradeModal .specials-modal-text {
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
}
#specialsModal .specials-modal-text::before,
#bonusModal .specials-modal-text::before,
#upgradeModal .specials-modal-text::before,
#referralModalText::before,
#referralModalLevels::before,
#referralModalLink::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}
#referralModalText,
#referralModalLevels {
  padding: 16px 18px;
}
#referralModalLink {
  padding: 14px 16px;
  color: var(--hub-home-text);
}
.referral-stat-row {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.referral-stat-label {
  color: var(--hub-home-muted);
  font-size: 15px;
}
.referral-stat-value {
  color: var(--hub-home-text);
  font-size: 16px;
  font-weight: 800;
}
.referral-levels-title {
  color: var(--hub-home-muted);
  font-size: 15px;
  margin-bottom: 12px;
}
.referral-level-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  padding: 16px 18px;
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
}
.referral-level-item + .referral-level-item {
  margin-top: 12px;
}
.referral-level-name {
  color: var(--hub-home-text);
  font-size: 18px;
  font-weight: 800;
}
.referral-level-percent {
  color: var(--hub-home-accent);
  font-size: 16px;
  font-weight: 800;
}
.referral-level-sub {
  color: var(--hub-home-muted);
  font-size: 14px;
  line-height: 1.4;
}
.referral-modal-close {
  top: 14px;
  right: 14px;
  width: auto;
  height: auto;
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hub-home-text);
  font-size: 28px;
  box-shadow: none;
}
.referral-entry-actions,
.referral-modal-actions {
  gap: 12px;
  margin-top: 14px;
}
.referral-entry-btn,
.referral-modal-btn,
#specialsModal .btn,
#bonusModal .btn,
#upgradeModal .btn {
  min-height: 56px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 800;
}
#bonusModal #bonusModalButton {
  display: none;
}
#bonusModal .specials-modal-card {
  max-width: 380px;
  max-height: calc(100dvh - 36px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px;
  scroll-padding-bottom: 18px;
}
#bonusModal.specials-modal {
  align-items: flex-start;
  overflow-y: auto;
  padding: 18px 14px calc(env(safe-area-inset-bottom, 0px) + 18px);
}
#bonusModal .specials-modal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  line-height: 1;
  margin-bottom: 0;
}
.bonus-detail-title-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  transform: translateY(2px);
  background: var(--hub-home-accent-strong, linear-gradient(180deg, #ffad63, #ff7a24));
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
#bonusModal .specials-modal-text {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
#bonusModal .specials-modal-text::before {
  display: none;
}
.bonus-detail-screen {
  display: grid;
  gap: 6px;
}
.bonus-detail-subtitle {
  color: var(--hub-home-muted);
  font-size: 13px;
  line-height: 1.32;
  text-align: center;
  margin: -6px 0 0;
}
.bonus-detail-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--hub-home-text);
  font-size: 13px;
  font-weight: 800;
}
.bonus-detail-progress-head strong {
  color: var(--hub-home-accent);
  white-space: nowrap;
}
.bonus-detail-progress-dots {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  padding: 0 2px;
}
.bonus-detail-progress-dots::before {
  content: "";
  position: absolute;
  left: calc(var(--detail-icon-size, 28px) / 2);
  right: calc(var(--detail-icon-size, 28px) / 2);
  top: calc(var(--detail-icon-size, 28px) / 2);
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--hub-home-accent, #ff9a55) 0 var(--progress, 0%),
      rgba(255,255,255,0.10) var(--progress, 0%) 100%
    );
}
.bonus-detail-progress-dots span {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: calc(var(--detail-icon-size, 28px) + 12px);
  display: grid;
  grid-template-rows: var(--detail-icon-size, 28px) auto;
  place-items: center;
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  font-weight: 900;
}
.bonus-detail-progress-dots img {
  width: var(--detail-icon-size, 28px);
  height: var(--detail-icon-size, 28px);
  display: block;
  object-fit: contain;
  filter:
    brightness(0)
    saturate(100%)
    invert(71%)
    sepia(7%)
    saturate(426%)
    hue-rotate(171deg)
    brightness(87%)
    contrast(84%);
}
.bonus-detail-progress-dots b {
  color: inherit;
  font-size: 11px;
  line-height: 1;
}
.bonus-detail-progress-dots span.done img {
  filter:
    brightness(0)
    saturate(100%)
    invert(68%)
    sepia(79%)
    saturate(1072%)
    hue-rotate(329deg)
    brightness(103%)
    contrast(101%)
    drop-shadow(0 0 5px rgba(255, 154, 85, 0.34));
}
.bonus-detail-progress-dots span.done b {
  color: var(--hub-home-accent, #ff9a55);
}
.bonus-detail-reward {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  text-align: center;
}
.bonus-detail-reward span,
.bonus-detail-reward small {
  display: block;
  color: var(--hub-home-muted);
  font-size: 12px;
  line-height: 1.3;
}
.bonus-detail-reward-grid {
  display: grid;
  grid-template-columns: repeat(var(--reward-count, 2), minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.035);
}
.bonus-detail-reward-grid.reward-count-1 { --reward-count: 1; }
.bonus-detail-reward-grid.reward-count-2 { --reward-count: 2; }
.bonus-detail-reward-grid.reward-count-3 { --reward-count: 3; }
.bonus-detail-reward-grid b {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--hub-home-text);
  font-size: 16px;
  line-height: 1.16;
}
.bonus-detail-reward-grid b + b {
  border-left: 1px solid rgba(255,255,255,0.07);
}
.bonus-detail-inline-ok {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--hub-home-accent-strong, linear-gradient(180deg, #ffad63, #ff7a24));
  color: #201109;
  font-size: 15px;
  font-weight: 900;
}
.bonus-detail-how {
  display: grid;
  gap: 6px;
  padding: 2px 2px 28px;
}
.bonus-detail-how strong {
  color: var(--hub-home-text);
  font-size: 14px;
}
.bonus-detail-how span {
  position: relative;
  padding-left: 20px;
  color: var(--hub-home-muted);
  font-size: 12px;
  line-height: 1.25;
}
.bonus-detail-how span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hub-home-accent);
  font-weight: 900;
}
.referral-entry-btn-secondary,
.referral-modal-btn-secondary {
  background: var(--hub-home-surface-strong);
  color: var(--hub-home-text);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--hub-home-inset-shadow);
}
#referralModal .qr {
  margin-top: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #f7f4ef;
  box-shadow: var(--hub-home-inset-shadow);
  padding: 10px;
}
#menuView .menu-tabs {
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 2px 0 10px;
}
#menuView .menu-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
#menuView .menu-chip.active {
  border-color: rgba(255, 159, 89, 0.34);
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 14px 24px rgba(255, 125, 53, 0.26), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
#menuView #menuEmpty,
#menuView #menuLockNotice {
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-muted);
  font-size: 15px;
  line-height: 1.45;
}
#menuView .menu-card,
#menuView .menu-card-skeleton {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
}
#menuView .menu-img {
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--hub-home-inset-shadow);
}
#menuView .menu-name {
  color: var(--hub-home-text);
}
#menuView .menu-desc,
#menuView .menu-balance {
  color: var(--hub-home-muted);
}
#menuView .menu-price {
  color: var(--hub-home-accent);
}
#menuView .menu-add {
  border-color: rgba(255, 159, 89, 0.34);
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 12px 22px rgba(255, 125, 53, 0.22), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
#historyView .history-panel,
#settingsView .settings-section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hub-home-border);
  border-radius: 32px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    radial-gradient(130% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%),
    var(--hub-home-surface);
  box-shadow: var(--hub-home-shadow);
}
#historyView .history-panel::before,
#settingsView .settings-section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--hub-home-highlight);
}
#historyView .history-panel {
  padding: 14px 14px 8px;
}
#historyView .history-title {
  margin: 0;
  padding: 0 2px 6px;
  color: var(--hub-home-accent);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}
#historyView .history-tabs {
  gap: 8px;
  margin: 0 0 10px;
  padding: 0 2px 2px;
}
#historyView .history-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
#historyView .history-tab.active {
  border-color: rgba(255, 159, 89, 0.34);
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 14px 24px rgba(255, 125, 53, 0.26), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
#historyView .history-balance {
  padding: 0 2px 8px;
  color: var(--hub-home-muted);
  font-size: 12px;
  font-weight: 400;
}
#historyView #historyBalance {
  color: var(--hub-home-text);
  font-weight: 800;
}
#historyView .history-card {
  padding: 14px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
#historyView .history-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
  color: #ffd8bb;
  font-size: 12px;
  font-weight: 800;
}
#historyView .history-icon.purchase,
#historyView .history-icon.order {
  background: var(--hub-home-surface-soft);
  color: #ffd8bb;
}
#historyView .history-text h4,
#historyView .history-amount {
  color: var(--hub-home-text);
}
#historyView .history-text h4 {
  font-size: 14px;
  font-weight: 800;
}
#historyView .history-text p,
#historyView .history-detail,
#historyView .history-empty {
  color: var(--hub-home-muted);
  font-size: 12px;
  line-height: 1.35;
}
#settingsView .settings-hero {
  gap: 8px;
  margin-bottom: 16px;
  padding: 0 2px;
}
#settingsView .settings-hero h2 {
  color: var(--hub-home-text);
  font-size: clamp(34px, 8vw, 52px);
  line-height: 0.98;
  font-weight: 800;
}
#settingsView .settings-lead {
  color: var(--hub-home-muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 34ch;
}
#settingsView .settings-section-card {
  padding: 14px 14px 12px;
}
#settingsView .settings-profile {
  padding-bottom: 12px;
}
#settingsView .settings-section-head {
  margin-bottom: 12px;
}
#settingsView #profileSectionTitle,
#settingsView .settings-actions-card .panel-subtitle {
  color: var(--hub-home-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
#settingsView .settings-section-copy {
  color: var(--hub-home-muted);
  font-size: 12px;
  line-height: 1.45;
}
#settingsView .settings-progress-chip {
  color: #ffd8bb;
  font-size: 13px;
  font-weight: 700;
}
#settingsView .profile-edit-toggle {
  min-height: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 89, 0.34);
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
  color: #ffd8bb;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#settingsView .settings-progress-bar {
  height: 6px;
  margin-bottom: 10px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
}
#settingsView .settings-progress-bar span {
  background: linear-gradient(90deg, #ff8f4a 0%, #ffb067 100%);
  box-shadow: 0 8px 18px rgba(255, 125, 53, 0.22);
}
#settingsView .profile-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--hub-home-inset-shadow);
}
#settingsView .profile-row {
  padding: 14px 16px;
  min-height: 60px;
}
#settingsView .profile-row + .profile-row,
#settingsView .settings-about-card,
#settingsView .settings-item {
  border-top-color: rgba(255, 255, 255, 0.07);
}
#settingsView .profile-left {
  gap: 12px;
  color: var(--hub-home-text);
  font-size: 13px;
  font-weight: 600;
}
#settingsView .profile-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
  color: #ffaf73;
  font-size: 16px;
}
#settingsView .profile-input,
#settingsView .profile-select,
#settingsView .profile-address-btn,
#settingsView .profile-address-value {
  color: var(--hub-home-text);
  font-size: 15px;
  font-weight: 600;
}
#settingsView .profile-input::placeholder,
#settingsView .profile-address-label,
#settingsView .profile-select.placeholder,
#settingsView .address-clear {
  color: var(--hub-home-muted);
}
#settingsView .profile-date {
  gap: 8px;
}
#settingsView .profile-date select,
#settingsView .profile-toggle button {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--hub-home-surface-soft);
  box-shadow: var(--hub-home-inset-shadow);
  color: var(--hub-home-text);
  border-radius: 12px;
  min-height: 38px;
  font-size: 13px;
  font-weight: 600;
}
#settingsView .profile-date select {
  padding: 8px 12px;
}
#settingsView .profile-toggle {
  gap: 8px;
  width: 100%;
}
#settingsView .profile-row[data-profile-field="gender"] .profile-toggle {
  transform: none;
}
#settingsView .profile-toggle button {
  padding: 0 14px;
  height: 38px;
}
#settingsView .profile-toggle button.active {
  border-color: rgba(255, 159, 89, 0.34);
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 14px 24px rgba(255, 125, 53, 0.26), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
}
#settingsView #profileSaveBtn,
#settingsView .settings-back-btn {
  border-radius: 14px;
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: 0 14px 24px rgba(255, 125, 53, 0.26), inset 1px 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 15px;
  font-weight: 800;
}
#settingsView .settings-actions-card {
  padding-top: 14px;
  padding-bottom: 8px;
}
#settingsView .settings-actions-card .settings-section-head {
  margin-bottom: 4px;
}
#settingsView .settings-about-card,
#settingsView .settings-item {
  min-height: 64px;
  padding: 14px 2px;
}
#settingsView .settings-about-title {
  color: var(--hub-home-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}
#settingsView .settings-about-note,
#settingsView .settings-item-note {
  color: var(--hub-home-muted);
  font-size: 12px;
  line-height: 1.35;
}
#settingsView .settings-item-title {
  color: var(--hub-home-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
#settingsView .settings-about-action,
#settingsView .settings-item-arrow {
  color: #d9cdbf;
  font-size: 20px;
}
@media (max-width: 520px) {
  #historyView .history-panel,
  #settingsView .settings-section-card {
    border-radius: 28px;
  }
  #settingsView .settings-about-title {
    font-size: 20px;
  }
  #settingsView .settings-item-title {
    font-size: 15px;
  }
}

/* Soft UI polish for key mini app surfaces */
:root {
  --soft-shell: linear-gradient(145deg, rgba(37, 45, 54, 0.98), rgba(24, 31, 38, 0.99));
  --soft-shell-strong: linear-gradient(145deg, rgba(30, 37, 45, 1), rgba(21, 27, 33, 1));
  --soft-shell-elevated: linear-gradient(145deg, rgba(48, 57, 67, 0.98), rgba(28, 35, 42, 0.99));
  --soft-edge: rgba(255, 255, 255, 0.055);
  --soft-edge-strong: rgba(255, 255, 255, 0.09);
  --soft-highlight: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 28%);
  --soft-shadow: 16px 16px 28px rgba(7, 10, 14, 0.56), -10px -10px 22px rgba(255, 255, 255, 0.022);
  --soft-shadow-hover: 22px 22px 36px rgba(7, 10, 14, 0.62), -12px -12px 24px rgba(255, 255, 255, 0.028);
  --soft-inset: inset 7px 7px 14px rgba(10, 13, 17, 0.48), inset -6px -6px 12px rgba(255, 255, 255, 0.02);
  --soft-accent-shadow: 0 16px 28px rgba(255, 125, 53, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.22);
}

#client .loyalty-summary-card,
#client .stat-card,
#client #offersList .offer-card,
#menuView .menu-card,
#cartView .cart-item,
#historyView .history-card,
#settingsView .settings-section-card,
#notificationsView .notif-offer-card,
#posterView .poster-item {
  border-color: var(--soft-edge);
  box-shadow: var(--soft-shadow);
}

#client .loyalty-summary-card,
#client .stat-card,
#client #offersList .offer-card,
#menuView .menu-card,
#cartView .cart-item,
#historyView .history-card,
#settingsView .settings-section-card {
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 34%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.11), rgba(255, 154, 85, 0) 36%),
    var(--soft-shell);
}

#client .loyalty-summary-card:hover,
#client .stat-card:hover,
#client #offersList .offer-card:hover,
#menuView .menu-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow-hover);
}

#client .loyalty-summary-card {
  border-radius: 28px;
  height: 130px;
  min-height: 130px;
  box-sizing: border-box;
  padding-bottom: 52px;
}

#client .loyalty-summary-top {
  gap: 14px;
  padding: 18px 18px 16px;
}

#client .loyalty-summary-top.has-wallet {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(92px, 0.8fr);
  padding-top: 14px;
  padding-bottom: 12px;
}

#client .loyalty-summary-top::after {
  left: 18px;
  right: 18px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

#client .loyalty-caption {
  color: #c9d0d8;
  letter-spacing: 0.08em;
}

#client .wallet-inline-card span {
  color: #c9d0d8;
  letter-spacing: 0.08em;
}

#client #walletInlineBalanceValue {
  margin-top: 5px;
  color: #5f9cff;
  text-shadow: 0 0 14px rgba(95, 156, 255, 0.28);
}

#client .loyalty-balance-side strong,
#client .loyalty-rate-value,
#client .wallet-inline-card strong {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

#client .loyalty-level-title {
  color: #ffd3ad;
}

#client .loyalty-icon-actions {
  right: 91px;
  top: 5px;
  gap: 8px;
}

#client .loyalty-icon-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--soft-edge-strong);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 44%),
    var(--soft-shell-elevated);
  box-shadow: var(--soft-shadow), var(--soft-inset);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#client .loyalty-icon-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: var(--soft-shadow-hover), var(--soft-inset);
}

#client .loyalty-icon-btn img {
  width: 14px;
  height: 14px;
  filter: grayscale(0.2) brightness(1.45) contrast(1.04) drop-shadow(0 0 5px rgba(255, 214, 181, 0.34));
}

#client .loyalty-quick-actions {
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 44px;
  border: 1px solid var(--soft-edge);
  border-radius: 18px;
  background: rgba(18, 23, 29, 0.82);
  box-shadow: var(--soft-inset);
}

#client .glass-action-btn {
  background: transparent;
  box-shadow: none;
}

#client .glass-action-btn + .glass-action-btn {
  border-left-color: rgba(255, 255, 255, 0.08);
}

#client .glass-action-btn:hover {
  background: rgba(255, 255, 255, 0.035);
}

#client .glass-action-title {
  color: #eef1f5;
}

#client .stat-card {
  border-radius: 22px;
}

#client .tag,
#menuView .menu-chip,
#historyView .history-tab {
  border: 1px solid var(--soft-edge);
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: #b8c1ca;
}

#client .tag.active,
#menuView .menu-chip.active,
#historyView .history-tab.active {
  border-color: rgba(255, 180, 120, 0.16);
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: var(--soft-accent-shadow);
}

#client #offersList .offer-card,
#client #offersList .offer-card-featured {
  border-radius: 24px;
}

#client #offersList .offer-card {
  padding: 14px;
}

#client #offersList .offer-img,
#menuView .menu-img,
.news-modal-img,
.offer-modal-img,
.certificate-modal-img,
#cartView .cart-img {
  border-color: var(--soft-edge);
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
}

/* Keep uploaded/media assets fully visible inside fixed square cards/modals.
   Large admin uploads must not render at natural size and crop to a tiny fragment. */
#client #offersList .offer-img,
.offer-featured-media,
#menuView .menu-img,
.menu-modal-img,
.news-modal-img,
.offer-modal-img,
.certificate-card-thumb,
#notificationsView .notif-offer-card .offer-img,
#posterView .poster-media,
#posterView .poster-promo-media,
#cartView .cart-img {
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
}

#client #offersList .offer-title {
  color: #f3f4f6;
  -webkit-line-clamp: 2;
}

#client #offersList .offer-desc {
  color: #aeb9c5;
}

#menuView .menu-tabs {
  top: -2px;
  margin-bottom: 14px;
  padding: 4px 0 10px;
  background: linear-gradient(180deg, rgba(26, 32, 39, 0.98) 0%, rgba(26, 32, 39, 0.88) 70%, rgba(26, 32, 39, 0) 100%);
}

#menuView .menu-grid {
  gap: 14px;
}

#menuView .menu-card {
  border-radius: 24px;
  padding: 12px;
}

#menuView .menu-name {
  color: #f1f4f7;
  font-size: 13px;
  -webkit-line-clamp: 2;
}

#menuView .menu-desc {
  color: #aab4bf;
}

#menuView .menu-price {
  color: #ffd0aa;
  font-size: 13px;
}

#menuView .menu-add,
#menuFloatingCart,
#cartView .cart-order-btn,
#reservationOverlay .reservation-confirm-btn,
#orderOverlay .order-submit-btn,
#deliveryOverlay .delivery-method.active {
  border: 1px solid rgba(255, 190, 130, 0.18);
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: var(--soft-accent-shadow);
}

#menuView .menu-add {
  top: 0;
}

#menuFloatingCart {
  border-radius: 18px;
  padding: 10px 14px;
}

.bottom-nav {
  min-height: 76px;
  border-radius: 30px;
  border-color: var(--soft-edge-strong);
  background:
    radial-gradient(120% 150% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 32%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.1), rgba(255, 154, 85, 0) 34%),
    rgba(22, 28, 34, 0.84);
  box-shadow: 24px 24px 40px rgba(7, 10, 14, 0.56), -10px -10px 22px rgba(255, 255, 255, 0.02);
}

.bottom-nav::before {
  left: 24px;
  right: 24px;
}

.nav-item {
  min-height: 54px;
  border-radius: 22px;
  overflow: visible;
}

.nav-item::before {
  content: "";
  position: absolute;
  inset: 4px 4px 8px;
  border-radius: 18px;
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  opacity: 0;
  transition: opacity 240ms ease;
}

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

.nav-item.active::before,
.nav-item:hover::before {
  opacity: 1;
}

.nav-item.active .nav-label {
  color: var(--accent-2);
}

.popup-overlay,
.news-modal,
.specials-modal,
.offer-modal {
  background: rgba(7, 10, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.popup-card,
.news-modal-card,
.specials-modal-card,
.offer-modal-card,
#reservationOverlay .popup-card,
#orderOverlay .popup-card,
#deliveryOverlay .popup-card,
.full-menu-sheet {
  border: 1px solid var(--soft-edge-strong);
  border-radius: 28px;
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 34%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.14), rgba(255, 154, 85, 0) 36%),
    rgba(23, 29, 35, 0.94);
  box-shadow: 28px 28px 48px rgba(7, 10, 14, 0.62), -12px -12px 26px rgba(255, 255, 255, 0.02);
}

.popup-card::before,
.news-modal-card::before,
.specials-modal-card::before,
.offer-modal-card::before,
.full-menu-sheet::before {
  background: var(--soft-highlight);
}

.popup-card h3,
.news-modal-title,
.specials-modal-title,
.offer-modal-title {
  color: #f2f5f8;
}

.popup-card p,
.news-modal-body,
.specials-modal-text,
.offer-modal-desc {
  color: #aeb8c2;
}

.news-modal-close,
.referral-modal-close,
.cashback-modal-close,
.offer-modal .qr-close,
.news-modal .qr-close,
.specials-modal .qr-close,
#reservationOverlay .qr-close {
  border: 1px solid var(--soft-edge-strong);
  background: var(--soft-shell-elevated);
  box-shadow: var(--soft-shadow), var(--soft-inset);
  color: #f3f6f8;
}

#reservationOverlay .reservation-scroll,
#reservationOverlay .reservation-scroll-item,
#reservationOverlay .reservation-guest-box,
#reservationOverlay .reservation-duration,
#reservationOverlay .order-profile-row,
#reservationOverlay .field,
#orderOverlay .field,
#deliveryOverlay .delivery-method,
#orderOverlay .popup-secondary-btn,
#deliveryOverlay .popup-secondary-btn {
  border-color: var(--soft-edge);
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: #e9edf1;
}

#reservationOverlay .reservation-pref-btn,
#reservationOverlay .reservation-stepper-btn,
#reservationOverlay .reservation-back-btn,
#cartView .cart-control-btn {
  border: 1px solid var(--soft-edge);
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: #eef1f3;
}

#reservationOverlay .reservation-month-btn,
#reservationOverlay .reservation-month-btn:disabled {
  border: 0;
  background: transparent;
  box-shadow: none;
}

#reservationOverlay .reservation-date-option:disabled,
#reservationOverlay .reservation-date-option.disabled {
  background: transparent;
  color: rgba(214, 200, 217, 0.24);
  border-color: transparent;
  box-shadow: none;
  opacity: 1;
}

#reservationOverlay .reservation-guest-box .reservation-stepper-btn {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff8ef;
}

#reservationOverlay .reservation-pref-btn.active,
#reservationOverlay .reservation-date-option.active,
#reservationOverlay .reservation-scroll-item.active {
  background: var(--hub-home-accent-strong);
  color: #201109;
  border-color: transparent;
  box-shadow: var(--soft-accent-shadow);
}

#historyView .history-panel {
  padding: 16px 16px 10px;
  border-radius: 32px;
}

#historyView .history-list {
  gap: 10px;
}

#historyView .history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--soft-edge);
  border-radius: 22px;
  border-top-color: var(--soft-edge);
  background: rgba(17, 24, 31, 0.96);
  box-shadow: var(--soft-inset);
  overflow: hidden;
}

#historyView .history-left {
  width: 100%;
  min-width: 0;
}

#historyView .history-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

#historyView .history-right {
  max-width: 128px;
  min-width: 92px;
  min-height: 34px;
  justify-items: end;
  align-content: start;
}

#historyView .history-text h4,
#historyView .history-text p,
#historyView .history-detail,
#historyView .history-amount {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

#historyView .history-detail-main {
  color: rgba(245, 239, 229, 0.88);
  font-weight: 700;
}

#historyView .history-card::before {
  display: none;
}

#settingsView .settings-section-card {
  border-radius: 30px;
  padding: 16px 16px 14px;
}

#settingsView .settings-item,
#settingsView .settings-about-card {
  position: relative;
  margin: 0;
  padding: 16px 12px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
  transition: background 180ms ease, transform 180ms ease;
}

#settingsView .settings-item:hover,
#settingsView .settings-about-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 520px) {
  #client .loyalty-summary-card,
  .popup-card,
  .news-modal-card,
  .specials-modal-card,
  .offer-modal-card,
  #reservationOverlay .popup-card,
  #orderOverlay .popup-card,
  #deliveryOverlay .popup-card,
  .full-menu-sheet,
  #settingsView .settings-section-card,
  #historyView .history-panel {
    border-radius: 24px;
  }

  .bottom-nav {
    border-radius: 26px;
  }
}

/* Extended soft UI pass: operator, profile forms, full menu, states */
#operator .operator-card,
#operator .operator-card-row,
#operator .operator-guide-plain,
#operator .operator-voucher-summary,
#operator .operator-profile-editor,
#operator .operator-info,
#operator .operator-scan,
#operator .operator-guide-preview,
#operator .operator-input-target,
#operator .operator-redeem-wrap .hint {
  border: 1px solid var(--soft-edge);
  border-radius: 24px;
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 34%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.12), rgba(255, 154, 85, 0) 36%),
    var(--soft-shell);
  box-shadow: var(--soft-shadow);
}

#operator #operatorRedeemLimit,
#operator #operatorPaidAmountLine,
#operator #operatorWalletSpendLimit {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#operatorWalletTopupModal .operator-wallet-modal-card {
  border: 1px solid var(--soft-edge-strong);
  border-radius: 28px;
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 34%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.13), rgba(255, 154, 85, 0) 36%),
    rgba(23, 29, 35, 0.96);
  box-shadow: 30px 30px 52px rgba(7, 10, 14, 0.64), -12px -12px 24px rgba(255, 255, 255, 0.02);
  padding: 22px;
}

#operatorWalletTopupModal .specials-modal-title {
  color: var(--hub-home-text);
  font-size: 19px;
}

#operatorWalletTopupMeta {
  min-height: 0;
  border: 1px solid var(--soft-edge);
  border-radius: 22px;
  background:
    radial-gradient(130% 120% at 12% 0%, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 34%),
    var(--hub-home-surface-strong);
  box-shadow: var(--soft-inset);
  color: var(--hub-home-muted);
  padding: 14px 16px;
}

#operatorWalletTopupMeta p {
  margin: 0;
}

#operatorWalletTopupMeta p + p {
  margin-top: 8px;
}

#operatorWalletTopupMeta strong {
  color: var(--hub-home-text);
}

#operatorWalletTopupModal .field-label {
  color: var(--hub-home-text);
  font-size: 15px;
  font-weight: 800;
}

#operatorWalletTopupModal .field {
  border: 1px solid var(--soft-edge);
  border-radius: 16px;
  background: var(--hub-home-surface-strong);
  box-shadow: var(--soft-inset);
  color: var(--hub-home-text);
}

#operatorWalletTopupModal .field:focus {
  border-color: rgba(255, 176, 111, 0.66);
  box-shadow: 0 0 0 3px rgba(255, 176, 111, 0.18), var(--soft-inset);
}

#operatorWalletTopupModal .modal-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#operatorWalletTopupModal .btn,
#operatorWalletTopupModal .btn-ghost {
  border-radius: 16px;
  min-height: 52px;
}

#operator .operator-card-head,
#operator .operator-profile-editor-head,
#operator .operator-card-actions,
#operator .operator-badges,
#operator .operator-card-badges {
  gap: 8px;
}

#operator .operator-profile-editor {
  margin-top: 8px;
}

#operator .operator-receipt-photo {
  margin-top: 8px;
  border-radius: 22px;
  background: var(--hub-home-surface-strong);
}

#operator .operator-receipt-photo-preview {
  background: rgba(0, 0, 0, 0.24);
  border-color: rgba(255, 255, 255, 0.06);
}

#operator .operator-profile-editor.collapsed {
  padding: 9px 12px;
  border-color: rgba(255, 164, 92, 0.24);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255, 154, 85, 0.18), rgba(255, 154, 85, 0) 42%),
    var(--soft-shell);
}

#operator .operator-profile-editor.collapsed .operator-profile-editor-note {
  font-size: 11px;
  line-height: 1.2;
}

#operator .operator-profile-expand-btn {
  min-width: 104px;
  border-color: rgba(255, 164, 92, 0.32);
  background:
    radial-gradient(120% 140% at 18% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 36%),
    linear-gradient(135deg, rgba(255, 177, 95, 0.22), rgba(255, 120, 63, 0.12)),
    var(--soft-shell-strong);
  color: #ffe4cc;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), inset 1px 1px 0 rgba(255, 255, 255, 0.12);
}

#operator .operator-card-name,
#operator .operator-voucher-summary-title,
#operator .operator-voucher-summary-name,
#operator .operator-receipt-photo .operator-profile-editor-title,
#operator .operator-profile-editor-title {
  color: #f1f4f7;
}

#operator .operator-card-sub,
#operator .operator-card-meta-label,
#operator .operator-card-action-note,
#operator .operator-voucher-summary-meta {
  color: #aeb8c2;
}

#operator .operator-card-meta-item,
#operator .operator-badge,
#operator .operator-voucher-badge,
#operator .operator-scan-count,
#operator .operator-voucher-scan-count {
  border: 1px solid var(--soft-edge);
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
}

#operator .operator-groups button,
#operator .operator-keypad button,
#operator .operator-profile-toggle,
#operator .operator-profile-expand-btn,
#operator .operator-input-target,
#operator .operator-delete-btn,
#operator .operator-guide-close,
#operator .operator-guide-preview {
  border: 1px solid var(--soft-edge);
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: #edf1f4;
}

#operator .operator-groups button,
#operator .operator-profile-toggle,
#operator .operator-profile-expand-btn,
#operator .operator-delete-btn {
  min-height: 40px;
  border-radius: 15px;
}

#operator .operator-keypad button {
  min-height: 42px;
  border-radius: 16px;
}

#operator .operator-delete-btn.secondary,
#operator .operator-delete-btn.danger,
#operator .operator-delete-btn.success {
  border-color: var(--soft-edge);
}

#operator .operator-voucher-scan-btn,
#operator .operator-regular-btn,
#operator .operator-party-btn,
#operator #opActions > .full {
  box-shadow: var(--soft-accent-shadow);
}

#operator .operator-party-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 66px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 218, 178, 0.38);
  border-radius: 24px;
  background:
    radial-gradient(120% 180% at 10% 0%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #ffb15f 0%, #ff783f 46%, #f24a6b 100%);
  color: #fff8ef;
  font-size: 18px;
  line-height: 1.12;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(65, 18, 4, 0.42);
  box-shadow:
    0 16px 34px rgba(255, 113, 46, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 1px 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -10px 18px rgba(117, 22, 12, 0.18);
}

#operator .operator-party-btn::before {
  content: "";
  position: absolute;
  inset: 7px 10px auto 10px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -1;
}

#settingsView .profile-card {
  border-radius: 26px;
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 34%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.1), rgba(255, 154, 85, 0) 36%),
    var(--soft-shell);
}

#settingsView .profile-row {
  border-radius: 18px;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

#settingsView .profile-row:focus-within,
#settingsView .profile-row:hover {
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-1px);
}

#settingsView .profile-input,
#settingsView .profile-select,
#settingsView .profile-address-btn,
#settingsView .profile-address-value,
#settingsView .profile-date select,
#settingsView .profile-toggle button,
#settingsView .default-lang-btn,
#settingsView .agreement-lang-btn {
  border: 1px solid var(--soft-edge);
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: #edf1f4;
}

#settingsView .profile-input,
#settingsView .profile-select,
#settingsView .profile-address-btn,
#settingsView .profile-address-value {
  min-height: 44px;
  border-radius: 14px;
}

#settingsView .profile-input:focus,
#settingsView .profile-select:focus,
#settingsView .profile-date select:focus {
  outline: none;
  border-color: rgba(255, 183, 126, 0.22);
  box-shadow: var(--soft-inset), 0 0 0 1px rgba(255, 183, 126, 0.14);
}

#settingsView .agreement-lang-btn.active,
#settingsView .default-lang-btn.active,
#settingsView .profile-toggle button.active,
#settingsView #profileSaveBtn,
#settingsView .settings-back-btn {
  box-shadow: var(--soft-accent-shadow);
}

#fullMenuOverlay .full-menu-sheet {
  border-radius: 34px;
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 34%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.14), rgba(255, 154, 85, 0) 36%),
    rgba(21, 27, 33, 0.96);
  box-shadow: 32px 32px 52px rgba(7, 10, 14, 0.66), -12px -12px 26px rgba(255, 255, 255, 0.018);
}

#fullMenuOverlay .full-menu-topbar {
  border-bottom-color: rgba(255, 255, 255, 0.05);
  background: rgba(21, 27, 33, 0.9);
}

#fullMenuOverlay .full-menu-back-btn,
#fullMenuOverlay .full-menu-close-icon,
#fullMenuOverlay .full-menu-top-promo-btn {
  border: 1px solid var(--soft-edge);
  border-radius: 16px;
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: #f3f6f8;
}

#fullMenuOverlay .full-menu-top-promo {
  padding-top: 6px;
  display: grid;
  gap: 14px;
}

#fullMenuOverlay .full-menu-top-promo-media,
#fullMenuOverlay .full-menu-category-item,
#fullMenuOverlay .full-menu-state,
#fullMenuOverlay .full-menu-loading-card {
  box-shadow: var(--soft-shadow);
}

#fullMenuOverlay .full-menu-category-item {
  padding: 18px;
}

#fullMenuOverlay .full-menu-category-item.active {
  border-color: rgba(255, 186, 129, 0.18);
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 34%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.16), rgba(255, 154, 85, 0) 38%),
    var(--soft-shell-elevated);
  box-shadow: var(--soft-shadow), inset 0 0 0 1px rgba(255, 186, 129, 0.12);
}

#fullMenuOverlay .full-menu-category-item-name,
#fullMenuOverlay .full-menu-title {
  color: #f1f4f7;
}

#fullMenuOverlay .full-menu-category-badge,
#fullMenuOverlay .full-menu-category-next {
  border: 1px solid var(--soft-edge);
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: #dbe2e9;
}

#fullMenuOverlay .full-menu-state,
#fullMenuOverlay .full-menu-loading-card {
  min-height: 220px;
}

#fullMenuOverlay .full-menu-state {
  display: grid;
  place-items: center;
  text-align: center;
  color: #b2bdc8;
}

#fullMenuOverlay .full-menu-loading-card {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 150, 80, 0.08), rgba(255, 150, 80, 0) 34%),
    linear-gradient(90deg, rgba(31, 38, 45, 0.98), rgba(44, 53, 62, 0.98), rgba(31, 38, 45, 0.98));
  background-size: 100% 100%, 220% 100%;
}

#offersEmpty,
#historyEmpty,
#menuLockNotice,
#menuEmpty,
#cartEmpty,
#ordersEmpty,
#posterEmpty,
#notificationsView .notif-empty,
.about-view-empty,
.benefits-catalog-empty,
.history-item,
.offers-empty {
  border: 1px solid var(--soft-edge);
  border-radius: 22px;
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 34%),
    var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: #afbac5;
}

#offersEmpty,
#historyEmpty,
#menuLockNotice,
#menuEmpty,
#cartEmpty,
#ordersEmpty,
#posterEmpty,
#notificationsView .notif-empty,
.about-view-empty {
  padding: 18px 20px;
}

.offers-empty-icon {
  border: 1px solid var(--soft-edge);
  background: var(--soft-shell);
  box-shadow: var(--soft-inset);
}

#menuView .menu-card-skeleton,
#fullMenuOverlay .full-menu-loading-card,
.menu-skeleton-card {
  border-color: var(--soft-edge);
  box-shadow: var(--soft-shadow);
}

#notificationsView .notif-item,
#notificationsView .notif-offer-card,
#posterView .poster-item,
.notif-modal-card {
  border-radius: 24px;
}

#notificationsView .notif-item.unread::before,
#notificationsView .notif-offer-card.unread::before {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb26a 0%, #ff7f35 100%);
  box-shadow: 0 0 0 4px rgba(255, 125, 53, 0.14);
}

#notificationsView .notif-photo,
#notificationsView .notif-offer-card .offer-img,
#posterView .poster-item-promo,
.notif-modal-photo {
  box-shadow: var(--soft-inset);
}

.notif-modal-card {
  border: 1px solid var(--soft-edge-strong);
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 34%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 154, 85, 0.12), rgba(255, 154, 85, 0) 36%),
    rgba(23, 29, 35, 0.96);
  box-shadow: 30px 30px 52px rgba(7, 10, 14, 0.64), -12px -12px 24px rgba(255, 255, 255, 0.02);
}

.notif-modal-close {
  border: 1px solid var(--soft-edge);
  border-radius: 16px;
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
}

@media (max-width: 520px) {
  #operator .operator-card,
  #operator .operator-card-row,
  #operator .operator-guide-plain,
  #operator .operator-voucher-summary,
  #operator .operator-profile-editor,
  #operator .operator-info,
  #operator .operator-scan,
  #operator .operator-guide-preview,
  #fullMenuOverlay .full-menu-sheet,
  #settingsView .profile-card,
  #notificationsView .notif-item,
  #notificationsView .notif-offer-card,
  #posterView .poster-item,
  .notif-modal-card {
    border-radius: 22px;
  }
}

/* Remove legacy warm palette from settings/about screens */
#settingsView .settings-section-card {
  background:
    radial-gradient(140% 130% at 10% 0%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 32%),
    linear-gradient(145deg, rgba(29, 36, 44, 0.98), rgba(20, 26, 33, 0.99));
  border-color: rgba(255, 255, 255, 0.05);
}

#settingsView .settings-section-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 24%);
}

#settingsView .settings-progress-chip,
#settingsView .profile-edit-toggle,
#settingsView .settings-about-action,
#settingsView .settings-item-arrow {
  color: #d8e0e8;
}

#settingsView .profile-edit-toggle {
  border-color: rgba(255, 255, 255, 0.08);
}

#settingsView .settings-about-card,
#settingsView .settings-item {
  border-top-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
}

#settingsView .settings-about-card:hover,
#settingsView .settings-item:hover {
  background: rgba(255, 255, 255, 0.026);
}

#settingsView .about-hero {
  border-color: rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(140% 120% at 12% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 34%),
    radial-gradient(110% 120% at 100% 0%, rgba(110, 130, 150, 0.12), rgba(110, 130, 150, 0) 34%),
    linear-gradient(145deg, rgba(28, 35, 43, 0.98), rgba(18, 24, 31, 0.99));
  box-shadow: var(--soft-shadow);
}

#settingsView .about-hero::after {
  background: linear-gradient(180deg, rgba(15, 19, 24, 0.08), rgba(15, 19, 24, 0.68));
}

#settingsView .about-hero.has-image .about-hero-image {
  opacity: 0.28;
}

#settingsView .about-hero-badge {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #d9e2eb;
}

#settingsView .about-hero-title,
#settingsView .about-view-text,
#settingsView .settings-about-title,
#settingsView .settings-item-title {
  color: #f1f4f7;
}

#settingsView .about-hero-subtitle,
#settingsView .about-view-empty,
#settingsView .about-view-label,
#settingsView .settings-about-note,
#settingsView .settings-item-note {
  color: #aeb8c2;
}

#settingsView .about-view-card,
#settingsView .about-view-empty {
  border-color: rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(140% 130% at 14% 0%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(28, 35, 43, 0.98), rgba(20, 26, 33, 0.99));
  box-shadow: var(--soft-inset);
}

#settingsView .about-view-label {
  color: #ff9b57;
}

#settingsView .about-action-btn {
  border-color: rgba(255, 190, 130, 0.16);
  background: var(--hub-home-accent-strong);
  color: #201109;
  box-shadow: var(--soft-accent-shadow);
}

#settingsView .about-action-title,
#settingsView .about-action-subtitle,
#settingsView .about-action-arrow {
  color: #201109;
}

#settingsView #settingsFaq .agreement-hint {
  color: var(--text);
}

#settingsView #settingsFaq .faq-list {
  gap: 12px;
}

#settingsView #settingsFaq .faq-card {
  border-color: var(--soft-edge-strong);
  border-radius: 18px;
  background: var(--soft-shell-strong);
  box-shadow: var(--soft-inset);
  color: var(--text);
}

#settingsView #settingsFaq .faq-admin-index {
  color: var(--muted);
}

.index-stock-card {
  position: relative;
  margin: 4px 0 8px;
  padding: 6px 16px 6px;
  border: 1px solid rgba(255, 151, 52, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(72% 92% at 13% 18%, rgba(255, 125, 24, 0.18), rgba(255, 125, 24, 0) 39%),
    linear-gradient(145deg, rgba(13, 19, 27, 0.98), rgba(6, 11, 17, 0.99));
  box-shadow: var(--hub-home-shadow);
}
.index-stock-multi-market{margin:8px 0 14px;padding:16px 14px 10px;border:1px solid rgba(255,255,255,.13);border-radius:28px;background:radial-gradient(circle at 52% 45%,rgba(17,54,45,.28),transparent 55%),linear-gradient(145deg,#071018,#03080d);box-shadow:0 18px 38px rgba(0,0,0,.28)}.index-stock-multi-market-head{display:flex;justify-content:space-between;gap:12px;margin:0 8px 12px}.index-stock-multi-market-head>div{display:grid;gap:5px}.index-stock-multi-market-head>div:last-child{text-align:right}.index-stock-multi-market-head strong{font-size:22px;white-space:nowrap}.index-stock-multi-market-head strong b{color:#ff8a00}.index-stock-multi-market-head strong i{color:#4cda58;font-style:normal}.index-stock-multi-market-head strong em{display:inline-block;width:8px;height:8px;background:#4cda58;border-radius:50%;margin-left:4px}.index-stock-multi-market-head span{color:#9ba8b2;font-size:12px}.index-stock-multi-market-head>div:last-child strong{color:#ff8a00;font-size:30px}.index-stock-multi-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;overflow:visible;padding-top:18px}.index-stock-multi-position{position:relative;min-width:0;height:154px;padding:9px 5px 10px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:linear-gradient(160deg,#0a151c,#04090e);color:#fff;display:grid;grid-template-rows:34px 60px auto auto;place-items:center;text-align:center}.index-stock-multi-position.active{border-color:#ff8a00;box-shadow:0 0 18px rgba(255,138,0,.25)}.index-stock-multi-position strong{font-size:11px;line-height:1.2;overflow:hidden}.index-stock-multi-position img{width:62px;height:58px;object-fit:contain;filter:drop-shadow(0 6px 8px #000)}.index-stock-multi-position b{font-size:19px}.index-stock-multi-position span{display:none}.index-stock-multi-position em{font-style:normal;font-size:11px;color:#f5a623;font-weight:800}.index-stock-multi-position em.rising{color:#4cda58}.index-stock-multi-position em.falling{color:#ff4e49}.index-stock-multi-spark{display:none}.index-stock-multi-market-foot{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:8px}.index-stock-multi-market-foot>div{display:flex;gap:5px;margin-right:auto;margin-left:auto}.index-stock-multi-market-foot i{width:18px;height:5px;border-radius:8px;background:#303b44}.index-stock-multi-market-foot i.active{background:#ff8a00}.index-stock-multi-market-foot button{border:0;background:none;color:#ff8a00;font-weight:700;padding:6px 0;margin:0}.index-stock-multi-market.hidden{display:none}@media(max-width:600px){.index-stock-multi-market{padding:13px 10px 9px;border-radius:24px}.index-stock-multi-products{gap:5px;padding-top:17px}.index-stock-multi-position{height:140px;padding:7px 3px 8px;grid-template-rows:31px 52px auto auto}.index-stock-multi-position img{width:50px;height:50px}.index-stock-multi-position b{font-size:16px}.index-stock-multi-position strong{font-size:9px}.index-stock-multi-market-head strong{font-size:18px}.index-stock-multi-market-head>div:last-child strong{font-size:25px}}
#client.index-stock-multi-active{gap:6px}.index-stock-multi-active .index-stock-mode-switch{margin-top:2px;margin-bottom:2px}.index-stock-multi-active .index-stock-multi-market{margin-top:2px;margin-bottom:6px}.index-stock-multi-active .qr-cta{margin-top:0}.index-stock-multi-position .index-stock-multi-rank{display:block;position:absolute;left:0;right:0;top:-18px;height:14px;border:0;background:none;font-size:10px;font-weight:900;line-height:14px;text-transform:uppercase;text-align:center;letter-spacing:.2px;color:#ff8a00}.index-stock-multi-position.top-rank{box-shadow:0 0 18px rgba(255,138,0,.18)}.index-stock-multi-position.top-rank-1{border-color:#ffb21e}.index-stock-multi-position.top-rank-1 .index-stock-multi-rank{color:#ffd23c}.index-stock-multi-position.top-rank-2{border-color:#b8c7d2}.index-stock-multi-position.top-rank-2 .index-stock-multi-rank{color:#dce8ef}.index-stock-multi-position.top-rank-3{border-color:#ff8a35}.index-stock-multi-position.top-rank-3 .index-stock-multi-rank{color:#ff9d42}
.index-stock-multi-active .index-stock-multi-products{display:block;overflow:visible;padding-top:0}.index-stock-multi-active .index-stock-multi-market-foot{display:none}.index-stock-multi-top-title,.index-stock-market-list-head{display:flex;align-items:center;justify-content:space-between;margin:2px 2px 8px;color:#f4f6f7}.index-stock-multi-top-title strong,.index-stock-market-list-head strong{font-size:13px;font-weight:900}.index-stock-multi-top-title strong::before{content:"♛";margin-right:5px;color:#ff8a00}.index-stock-multi-top-title span,.index-stock-market-list-head span{color:#8f9aa4;font-size:11px}.index-stock-multi-top-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.index-stock-multi-active .index-stock-multi-position{height:206px;padding:7px 7px 10px;grid-template-rows:30px 58px auto 20px 32px;border-radius:15px}.index-stock-multi-active .index-stock-multi-position strong{align-self:center;padding:0 2px;font-size:12px;line-height:1.08}.index-stock-multi-active .index-stock-multi-position img{width:82px;height:58px}.index-stock-multi-active .index-stock-multi-position b{font-size:23px}.index-stock-multi-active .index-stock-multi-position em{font-size:13px}.index-stock-multi-active .index-stock-multi-position .index-stock-order-chip{display:grid;place-items:center;align-self:end;width:100%;height:30px;border-radius:8px;background:linear-gradient(180deg,#ff9f25,#ff7900);color:#1a0c03;font-size:11px;font-weight:950;text-transform:uppercase}.index-stock-multi-active .top-rank-2 .index-stock-order-chip{background:linear-gradient(180deg,#4ade58,#23ad32)}.index-stock-multi-active .top-rank-1{border-color:#ffbf1f;box-shadow:0 0 18px rgba(255,191,31,.24)}.index-stock-multi-active .top-rank-2{border-color:#c9d5dc;box-shadow:0 0 18px rgba(201,213,220,.16)}.index-stock-multi-active .top-rank-3{border-color:#ff7b24;box-shadow:0 0 18px rgba(255,123,36,.18)}.index-stock-market-list-head{margin-top:12px}.index-stock-market-list{overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(4,9,14,.42)}.index-stock-market-row{width:100%;min-height:38px;margin:0;padding:0 8px;display:grid;grid-template-columns:30px minmax(0,1fr) 20px 52px 72px;align-items:center;gap:6px;border:0;border-bottom:1px solid rgba(255,255,255,.07);border-radius:0;background:transparent;color:#f6f7f8;text-align:left}.index-stock-market-row:last-child{border-bottom:0}.index-stock-market-rank{display:grid;place-items:center;width:24px;height:24px;border:1px solid #2dbd45;border-radius:6px;color:#57e36b;font-size:12px;font-weight:900}.index-stock-market-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.index-stock-market-row b{font-size:13px;text-align:right}.index-stock-market-row em{font-style:normal;color:#46dd55;font-size:20px;font-weight:900;text-align:center}.index-stock-market-row.falling em{color:#ff4e49}.index-stock-market-row.stable em{color:#f5a623}.index-stock-market-order{display:grid;place-items:center;height:26px;border:1px solid #2dbd45;border-radius:7px;color:#57e36b;font-size:10px;font-weight:950;text-transform:uppercase}
.index-stock-multi-active .top-main-card{border-width:1px;box-shadow:inset 0 0 18px rgba(255,255,255,.025),0 0 10px rgba(255,138,0,.08)}
.index-stock-multi-active .top-main-card.top-rank-1{border-color:rgba(255,191,31,.62)}
.index-stock-multi-active .top-main-card.top-rank-2{border-color:rgba(89,224,96,.58)}
.index-stock-multi-active .top-main-card img{width:92px;height:68px}
.index-stock-multi-active .top-secondary-card{border-color:rgba(185,200,210,.22);background:linear-gradient(160deg,rgba(13,24,30,.88),rgba(4,9,14,.94));box-shadow:inset 0 0 14px rgba(255,255,255,.018)}
.index-stock-multi-active .top-secondary-card img{width:76px;height:54px}
.index-stock-multi-active .top-secondary-card b{font-size:22px}
.index-stock-multi-active .index-stock-market-list{margin-bottom:6px}

.index-stock-loading {
  position: relative;
  overflow: hidden;
}
.index-stock-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.045) 42%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.045) 58%, transparent 100%);
  transform: translateX(-100%);
  animation: indexStockSkeletonSweep 1.35s ease-in-out infinite;
}
@keyframes indexStockSkeletonSweep {
  to { transform: translateX(100%); }
}
.index-stock-loading .index-stock-skeleton-card,
.index-stock-loading .index-stock-skeleton-row {
  pointer-events: none;
}
.index-stock-loading .index-stock-skeleton-card strong,
.index-stock-loading .index-stock-skeleton-card b,
.index-stock-loading .index-stock-skeleton-card em,
.index-stock-loading .index-stock-skeleton-card .index-stock-order-chip,
.index-stock-loading .index-stock-skeleton-img,
.index-stock-loading .index-stock-skeleton-row strong,
.index-stock-loading .index-stock-skeleton-row b,
.index-stock-loading .index-stock-skeleton-row .index-stock-market-order {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.13), rgba(255,255,255,.06));
  color: transparent;
}
.index-stock-loading .index-stock-skeleton-card strong { width: 72%; height: 13px; }
.index-stock-loading .index-stock-skeleton-card b { width: 58%; height: 22px; }
.index-stock-loading .index-stock-skeleton-card em { width: 42%; height: 12px; }
.index-stock-loading .index-stock-skeleton-card .index-stock-order-chip { width: 100%; height: 30px; background: rgba(255,138,0,.18); }
.index-stock-loading .index-stock-skeleton-img {
  width: 76px;
  height: 54px;
  border-radius: 50%;
}
.index-stock-loading .index-stock-skeleton-row strong { height: 14px; width: 80%; }
.index-stock-loading .index-stock-skeleton-row b { height: 16px; width: 48px; justify-self: end; }
.index-stock-loading .index-stock-skeleton-row .index-stock-market-order { height: 26px; width: 72px; background: rgba(45,189,69,.12); }

.index-stock-card::before {
  content: none;
  position: absolute;
  left: 14px;
  top: 28px;
  width: 26px;
  height: 26px;
  background: none;
  border-radius: 0;
  filter: drop-shadow(0 0 14px rgba(255, 125, 24, 0.7));
  font-size: 20px;
  line-height: 1;
  transform: none;
  pointer-events: none;
  z-index: 4;
}

.index-stock-top {
  display: grid;
  grid-template-columns: minmax(124px, 0.9fr) minmax(102px, 1fr) 104px;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  overflow: hidden;
}

.index-stock-product {
  position: relative;
  z-index: 2;
  justify-self: start;
  width: 100%;
  max-width: 118px;
  height: 134px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.46));
  transform: translateX(0);
  transform-origin: left bottom;
}

.index-stock-price-block {
  min-width: 0;
}

.index-stock-caption {
  color: #ff9b38;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}

.index-stock-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.index-stock-price-row strong {
  color: #f8fafc;
  font-size: clamp(38px, 11.2vw, 56px);
  line-height: 0.95;
  letter-spacing: 0;
}

.index-stock-price-row span {
  color: #f8fafc;
  font-weight: 800;
  font-size: clamp(14px, 3.5vw, 19px);
}

.index-stock-card.compact-price .index-stock-price-row {
  gap: 4px;
}

.index-stock-card.compact-price .index-stock-price-row strong {
  font-size: clamp(32px, 9.4vw, 44px);
}

.index-stock-card.compact-price .index-stock-price-row span {
  font-size: clamp(13px, 3.3vw, 16px);
}

.index-stock-level {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.index-stock-timer {
  position: relative;
  align-self: center;
  display: grid;
  align-content: center;
  min-width: 0;
  padding-left: 12px;
  min-height: 82px;
}

.index-stock-timer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 1px;
  height: 62px;
  background: rgba(255, 255, 255, 0.08);
}

.index-stock-timer span {
  display: block;
  color: #c4cbd4;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.22;
  white-space: nowrap;
}

.index-stock-timer strong {
  display: block;
  margin-top: 7px;
  color: #ff891c;
  font-size: clamp(24px, 7.2vw, 36px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.index-stock-actions {
  display: grid;
  grid-template-columns: 1fr 54px;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.index-stock-demand-meter {
  margin: 10px 16px 0;
  padding-top: 2px;
}

.index-stock-meter-title {
  color: #c4cbd4;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.index-stock-demand-meter .index-stock-price-scale {
  height: 7px;
  margin-top: 8px;
}

.index-stock-demand-meter .index-stock-price-scale i {
  top: -5px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(12, 18, 25, 0.9);
}

.index-stock-demand-meter .index-stock-scale-labels {
  margin-top: 7px;
  font-size: 11px;
}

.index-stock-meter-note {
  width: fit-content;
  max-width: 100%;
  margin: 8px auto 0;
  padding: 5px 10px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 999px;
  color: #4ade80;
  background: rgba(18, 80, 38, 0.16);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.index-stock-take-btn,
.index-stock-confirm {
  width: 100%;
  min-height: 50px;
  touch-action: manipulation;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(180deg, #ff9f24 0%, #ff7a00 100%);
  color: #1b1007;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(255, 120, 8, 0.28);
}

.index-stock-details-toggle {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 137, 28, 0.45);
  border-radius: 13px;
  background: rgba(255, 137, 28, 0.12);
  color: #ff9b38;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.16s ease, background 0.16s ease;
}

.index-stock-details-toggle.expanded {
  transform: rotate(180deg);
  background: rgba(255, 137, 28, 0.18);
}

.index-stock-active-order {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid rgba(255, 137, 28, 0.45);
  border-radius: 13px;
  background: rgba(255, 137, 28, 0.12);
  color: #ff9b38;
  font-size: 17px;
  font-weight: 900;
}

.index-stock-details {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(8, 13, 19, 0.72);
}

.index-stock-details-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(86px, 0.6fr);
  gap: 10px;
  align-items: center;
}

.index-stock-details-head strong,
.index-stock-details-section-title {
  display: block;
  color: #ff9b38;
  font-size: 13px;
  font-weight: 900;
}

.index-stock-details-head span,
.index-stock-details-timer span,
.index-stock-details-timer small,
.index-stock-stats span,
.index-stock-forecast-card span {
  color: #aeb7c3;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.index-stock-details-head b {
  display: block;
  color: #f8fafc;
  font-size: 30px;
  line-height: 1;
}

.index-stock-details-head small {
  font-size: 14px;
}

.index-stock-delta {
  min-width: 48px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
}

.index-stock-delta.down {
  border-color: rgba(74, 222, 128, 0.35);
  color: #4ade80;
}

.index-stock-delta.up {
  border-color: rgba(255, 137, 28, 0.35);
  color: #ff9b38;
}

.index-stock-delta.stable {
  color: #aeb7c3;
}

.index-stock-details-timer {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.index-stock-details-timer strong {
  display: block;
  color: #ff891c;
  font-size: 25px;
  line-height: 1;
}

.index-stock-details-timer small {
  display: block;
  margin-top: 5px;
}

.index-stock-details-section-title {
  margin-top: 10px;
}

.index-stock-details-section-title:first-child {
  margin-top: 0;
}

.index-stock-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.index-stock-forecast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.index-stock-forecast-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 8px;
  background: rgba(12, 18, 25, 0.64);
}

.index-stock-forecast-card {
  position: relative;
}

.index-stock-forecast-card strong {
  display: block;
  margin-top: 5px;
  color: #f8fafc;
  font-size: 18px;
  line-height: 1;
}

.index-stock-forecast-card small {
  font-size: 10px;
}

.index-stock-forecast-card i {
  position: absolute;
  right: 7px;
  bottom: 8px;
  color: #ff891c;
  font-size: 16px;
  font-style: normal;
}

.index-stock-price-scale {
  position: relative;
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #26883b 0%, #93c842 34%, #ffba22 55%, #ff7a00 74%, #c6422d 100%);
}

.index-stock-price-scale i {
  position: absolute;
  top: -4px;
  width: 8px;
  height: 18px;
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  transform: translateX(-50%);
}

.index-stock-scale-labels,
.index-stock-stats,
.index-stock-sales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.index-stock-sales-grid {
  gap: 7px;
  margin-top: 8px;
}

.index-stock-sales-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.index-stock-sales-grid div {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(12, 18, 25, 0.64);
  text-align: center;
}

.index-stock-sales-grid span {
  display: block;
  color: #aeb7c3;
  font-size: 10px;
  font-weight: 700;
}

.index-stock-sales-grid strong {
  display: block;
  margin-top: 3px;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1;
}

.index-stock-sales-total {
  border-color: rgba(74, 222, 128, 0.24) !important;
  background: radial-gradient(circle at 50% 0, rgba(74, 222, 128, 0.18), rgba(12, 18, 25, 0.64) 62%) !important;
}

.index-stock-sales-total strong {
  color: #4ade80;
  font-size: 16px;
}

.index-stock-temp-value {
  position: relative;
  width: max-content;
  max-width: 120px;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(74, 222, 128, 0.45);
  border-radius: 8px;
  background: rgba(28, 116, 49, 0.9);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  transform: translateX(-50%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.index-stock-temp-value::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: inherit;
  border-right: 1px solid rgba(74, 222, 128, 0.45);
  border-bottom: 1px solid rgba(74, 222, 128, 0.45);
  transform: translateX(-50%) rotate(45deg);
}

.index-stock-scale-labels {
  margin-top: 5px;
  color: #ff9b38;
  font-size: 13px;
  font-weight: 900;
}

.index-stock-scale-labels small {
  display: block;
  margin-top: 2px;
  color: #aeb7c3;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.index-stock-scale-labels b {
  display: block;
}

.index-stock-scale-labels span:nth-child(2) {
  text-align: center;
}

.index-stock-scale-labels span:last-child {
  text-align: right;
}

.index-stock-stats {
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.index-stock-stats div {
  min-width: 0;
  text-align: center;
}

.index-stock-stats div:first-child {
  text-align: left;
}

.index-stock-stats div:last-child {
  text-align: right;
}

.index-stock-stats strong {
  display: block;
  color: #f8fafc;
  font-size: 13px;
  line-height: 1.2;
}

.index-stock-details-foot {
  margin-top: 9px;
  color: #9aa5b1;
  font-size: 11px;
  text-align: center;
}

.index-stock-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-end;
  background: rgba(1, 5, 10, 0.62);
}

.index-stock-sheet.show {
  display: flex;
}

.index-stock-sheet-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 18px 22px 0;
  max-height: calc(100vh - 18px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 34px 34px 0 0;
  background:
    radial-gradient(60% 42% at 18% 2%, rgba(84, 140, 175, 0.15), transparent 70%),
    linear-gradient(145deg, rgba(18, 27, 36, 0.99), rgba(7, 13, 19, 0.99));
  color: #f8fafc;
  box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.58);
}

.index-stock-sheet-handle {
  width: 56px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.index-stock-close {
  position: absolute;
  top: 42px;
  right: 22px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #dbe4ee;
  font-size: 34px;
  line-height: 1;
}

.index-stock-sheet-hero {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  margin: 8px 0 18px;
}

.index-stock-sheet-hero h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
}

.index-stock-sheet-hero h3 span {
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  margin-left: 8px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(35, 174, 58, 0.35);
  color: #68f077;
  font-size: 14px;
  vertical-align: middle;
}

.index-stock-sheet-hero p {
  margin: 7px 0 0;
  color: #aeb8c4;
  font-size: 17px;
  line-height: 1.25;
}

.index-stock-lock-banner {
  display: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0 0 20px;
  padding: 0 16px;
  border: 1px solid rgba(255, 146, 28, 0.34);
  border-radius: 16px;
  background: rgba(255, 146, 28, 0.06);
  color: #ffad4a;
}

.index-stock-lock-banner strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.index-stock-lock-banner b {
  color: #ff9f25;
  font-size: 18px;
  letter-spacing: 0;
}

.index-stock-field-title {
  margin: 20px 0 12px;
  color: #f8fafc;
  font-size: 20px;
  font-weight: 800;
}

.index-stock-qty-row {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(12, 18, 25, 0.72);
}

.index-stock-qty-row.hidden {
  display: none;
}

.index-stock-qty-row button {
  width: 46px;
  height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
  font-size: 30px;
  line-height: 1;
}

.index-stock-qty-row strong {
  text-align: center;
  font-size: 36px;
}

.index-stock-hint {
  margin-top: 9px;
  color: #aab4bf;
  font-size: 14px;
  line-height: 1.35;
}

.index-stock-multi-cart {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.index-stock-multi-cart.hidden {
  display: none;
}

.index-stock-multi-cart-row {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(10, 18, 26, 0.74);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.018);
}

.index-stock-multi-cart-row img {
  width: 122px;
  height: 86px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.38));
}

.index-stock-multi-cart-row strong {
  display: block;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.15;
}

.index-stock-multi-cart-row span {
  display: block;
  margin-top: 8px;
  color: #ffad4a;
  font-size: 16px;
  font-weight: 800;
}

.index-stock-cart-remove {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
  font-size: 28px;
  line-height: 1;
}

.index-stock-multi-cart-actions {
  grid-column: 2 / 4;
  justify-self: end;
  display: grid;
  grid-template-columns: 46px 58px 46px;
  align-items: center;
  gap: 8px;
}

.index-stock-multi-cart-actions button {
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font-size: 24px;
}

.index-stock-multi-cart-actions b {
  text-align: center;
  color: #f8fafc;
  font-size: 22px;
}

.index-stock-add-more {
  width: 100%;
  min-height: 48px;
  margin-top: 0;
  touch-action: manipulation;
  border: 1px solid rgba(255, 146, 28, 0.4);
  border-radius: 14px;
  background: rgba(255, 146, 28, 0.08);
  color: #ffad4a;
  font-size: 15px;
  font-weight: 900;
}

.index-stock-add-more::before {
  content: "+";
  margin-right: 8px;
  font-size: 20px;
  line-height: 1;
}

.index-stock-add-more.hidden {
  display: none;
}

.index-stock-add-more.hidden + .index-stock-confirm {
  grid-column: 1 / -1;
}

.index-stock-sheet-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 8px;
  margin: 12px -22px 0;
  padding: 10px 22px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(15, 21, 28, 0.72), rgba(10, 16, 23, 0.99) 30%, rgba(10, 16, 23, 1));
}

.index-stock-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(43, 168, 255, 0.36);
  border-radius: 14px;
  background: rgba(4, 18, 31, 0.42);
}

.index-stock-confirm:disabled {
  opacity: 0.72;
  pointer-events: none;
}

.index-stock-pickups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.index-stock-pickup {
  position: relative;
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(12, 18, 25, 0.72);
  color: #cbd5df;
  font-weight: 900;
}

.index-stock-pickup.active {
  border-color: #ff8d23;
  color: #ff9b38;
  box-shadow: inset 0 0 0 1px rgba(255, 141, 35, 0.24);
}

.index-stock-pickup.active::before {
  content: none;
}

@media (max-width: 520px) {
  .index-stock-sheet-card {
    padding: 16px 20px 0;
    border-radius: 28px 28px 0 0;
  }
  .index-stock-sheet-hero h3 {
    font-size: 28px;
  }
  .index-stock-sheet-hero p {
    font-size: 15px;
  }
  .index-stock-lock-banner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0 12px;
  }
  .index-stock-lock-banner strong {
    font-size: 13px;
  }
  .index-stock-lock-banner b {
    font-size: 16px;
  }
  .index-stock-multi-cart-row {
    grid-template-columns: 88px minmax(0, 1fr) 36px;
    gap: 10px;
    padding: 10px;
  }
  .index-stock-multi-cart-row img {
    width: 88px;
    height: 70px;
  }
  .index-stock-multi-cart-row strong {
    font-size: 17px;
  }
  .index-stock-multi-cart-row span {
    font-size: 14px;
  }
  .index-stock-multi-cart-actions {
    grid-column: 2 / 4;
    grid-template-columns: 40px 44px 40px;
  }
  .index-stock-multi-cart-actions button {
    width: 40px;
    height: 40px;
  }
  .index-stock-sheet-actions {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 16px;
    padding-right: 16px;
    grid-template-columns: 1fr;
  }
  .index-stock-summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .index-stock-total {
    text-align: right;
    font-size: 32px;
  }
  .index-stock-pickup {
    min-height: 82px;
  }
}

.index-stock-pickup strong,
.index-stock-pickup span {
  display: block;
}

.index-stock-app-order {
  display: grid;
  gap: 9px;
}

.index-stock-app-order.hidden,
#indexStockReservationFields.hidden {
  display: none;
}

.index-stock-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.index-stock-methods button {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(12, 18, 25, 0.72);
  color: #d8dee6;
  font-weight: 900;
}

.index-stock-methods button.hidden {
  display: none;
}

.index-stock-methods button.active {
  border-color: rgba(255, 141, 35, 0.62);
  color: #ff9b38;
  box-shadow: inset 0 0 0 1px rgba(255, 141, 35, 0.18);
}

.index-stock-field-label {
  margin-top: 2px;
  color: #aab4bf;
  font-size: 12px;
  font-weight: 800;
}

.index-stock-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(12, 18, 25, 0.72);
  color: #f8fafc;
  font: inherit;
}

.index-stock-input.hidden,
.index-stock-field-label.hidden,
.index-stock-courier-grid.hidden {
  display: none;
}

.index-stock-courier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.index-stock-total-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 0;
  color: #d8dee6;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.index-stock-total-row span:last-child {
  color: #aeb8c4;
  font-size: 16px;
  font-weight: 800;
}

.index-stock-total {
  margin: 0;
  text-align: right;
  color: #f8fafc;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
}

.client-view.index-stock-flow > :not(#indexStockSuccessView):not(#indexStockOrderView) {
  display: none !important;
}

.index-stock-success,
.index-stock-order-view {
  min-height: calc(100vh - 150px);
  padding: 22px 8px 90px;
  color: #f8fafc;
}

.index-stock-success {
  text-align: center;
}

.index-stock-success-mark {
  width: 86px;
  height: 86px;
  margin: 28px auto 18px;
  border: 3px solid #78d957;
  border-radius: 999px;
  color: #78d957;
  font-size: 54px;
  line-height: 80px;
  box-shadow: 0 0 34px rgba(120, 217, 87, 0.28);
}

.index-stock-success h2 {
  color: #7ed957;
  font-size: 22px;
}

.index-stock-success-price strong {
  font-size: 68px;
  letter-spacing: 0;
}

.index-stock-success-qty {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 900;
}

.index-stock-success-time,
.index-stock-saving,
.index-stock-lock-card,
.index-stock-order-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 32, 40, 0.98), rgba(15, 21, 28, 0.98));
  box-shadow: var(--hub-home-shadow);
}

.index-stock-success-time {
  width: 210px;
  margin: 22px auto;
  padding: 16px;
}

.index-stock-success-time span,
.index-stock-saving span,
.index-stock-saving small,
.index-stock-lock-note {
  display: block;
  color: #aab4bf;
}

.index-stock-success-time strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.index-stock-saving {
  margin: 0 auto 22px;
  padding: 18px;
  max-width: 300px;
}

.index-stock-saving strong {
  display: block;
  color: #7ed957;
  font-size: 34px;
}

.index-stock-lock-note {
  margin-bottom: 20px;
}

.index-stock-link-btn {
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: #d8dee6;
  font-size: 16px;
}

.index-stock-order-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  margin-bottom: 18px;
}

.index-stock-order-head button {
  border: 0;
  background: transparent;
  color: #dce4ee;
  font-size: 34px;
}

.index-stock-order-head h2 {
  margin: 0;
  text-align: center;
  font-size: 18px;
}

.index-stock-order-head span {
  text-align: center;
  color: #cbd5df;
}

.index-stock-order-card {
  padding: 16px;
}

.index-stock-order-product {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.index-stock-order-product img {
  width: 84px;
  height: 68px;
  object-fit: contain;
}

.index-stock-order-product strong,
.index-stock-order-product span {
  display: block;
}

.index-stock-order-product strong {
  font-size: 20px;
}

.index-stock-order-product span {
  margin-top: 6px;
  color: #aab4bf;
}

.index-stock-order-lines {
  display: grid;
  gap: 14px;
  padding: 18px 0;
}

.index-stock-order-lines div {
  display: flex;
  justify-content: space-between;
  color: #aab4bf;
}

.index-stock-order-lines strong {
  color: #f8fafc;
}

#indexStockOrderStatus {
  color: #ff9b38;
}

.index-stock-order-qr {
  display: block;
  width: 220px;
  height: 220px;
  margin: 8px auto 14px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
}

.index-stock-order-note {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #dbe4ee;
  text-align: center;
}

.index-stock-lock-card {
  margin-top: 16px;
  padding: 16px;
  text-align: center;
}

.index-stock-lock-card span {
  color: #aab4bf;
}

.index-stock-lock-card strong {
  display: block;
  margin: 6px 0 12px;
  color: #7ed957;
  font-size: 34px;
}

.index-stock-lock-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.index-stock-lock-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7ed957, #ff9b38);
}

@media (max-width: 430px) {
  .index-stock-card {
    padding-top: 3px;
    padding-bottom: 3px;
  }
  .index-stock-card::before {
    left: 12px;
    top: 22px;
    width: 24px;
    height: 24px;
    font-size: 18px;
  }
  .index-stock-top {
    grid-template-columns: 112px minmax(0, 1fr) 94px;
    gap: 7px;
    min-height: 44px;
  }
  .index-stock-product {
    width: 100%;
    max-width: 104px;
    height: 96px;
    transform: translateX(0);
  }
  .index-stock-price-row strong {
    font-size: clamp(32px, 9.2vw, 37px);
  }
  .index-stock-price-row span {
    font-size: 14px;
  }
  .index-stock-card.compact-price .index-stock-price-row strong {
    font-size: clamp(29px, 8.2vw, 34px);
  }
  .index-stock-card.compact-price .index-stock-price-row span {
    font-size: 12px;
  }
  .index-stock-caption,
  .index-stock-level,
  .index-stock-timer span {
    font-size: 11px;
  }
  .index-stock-timer strong {
    font-size: 23px;
  }
  .index-stock-timer {
    min-height: 58px;
    padding-left: 9px;
  }
  .index-stock-timer::before {
    top: 8px;
    height: 55px;
  }
  .index-stock-actions {
    grid-template-columns: 1fr 46px;
    gap: 6px;
    margin-top: 0;
  }
  .index-stock-take-btn,
  .index-stock-confirm {
    min-height: 50px;
    font-size: 18px;
  }
  .index-stock-details-toggle {
    min-height: 50px;
    font-size: 26px;
  }
  .index-stock-details {
    padding: 10px;
  }
  .index-stock-details-head {
    grid-template-columns: minmax(0, 1fr) auto 82px;
    gap: 7px;
  }
  .index-stock-details-head b {
    font-size: 26px;
  }
  .index-stock-details-timer strong {
    font-size: 22px;
  }
  .index-stock-details-grid {
    grid-template-columns: 1fr;
  }
  .index-stock-forecast-card {
    padding: 7px;
  }
  .index-stock-forecast-card strong {
    font-size: 15px;
  }
  .index-stock-stats strong {
    font-size: 11px;
  }
}
