:root {
  --bg: #edf6ff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --glass: rgba(255, 255, 255, 0.18);
  --text: #101421;
  --muted: #8b929e;
  --line: rgba(32, 74, 125, 0.1);
  --blue: #1677ff;
  --blue-soft: #e9f3ff;
  --rose: #ff2b61;
  --green: #13aa67;
  --amber: #f5a623;
  --shadow: 0 18px 52px rgba(35, 83, 132, 0.14);
  --glass-shadow: 0 18px 60px rgba(31, 55, 92, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

.mobile-theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-theme-toggle span {
  position: relative;
  z-index: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #d98200;
  filter: drop-shadow(0 4px 8px rgba(210, 128, 0, 0.2));
  transform: translateZ(0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease, filter 220ms ease;
}

.mobile-theme-toggle span::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 3px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.42 1.42M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.42'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.42 1.42M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.42'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mobile-theme-toggle span::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 194, 70, 0.2) 0 38%, rgba(255, 194, 70, 0.08) 52%, transparent 72%);
  opacity: 0.72;
  transform: scale(0.86);
  transition: opacity 220ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-theme-toggle:hover span::after { opacity: 1; transform: scale(1); }
.mobile-theme-toggle:active { transform: scale(0.9); }
.mobile-theme-toggle:active span { transform: rotate(10deg) scale(0.94); }
.mobile-theme-toggle.is-dark span {
  color: #bfd6ff;
  filter: drop-shadow(0 4px 9px rgba(100, 157, 255, 0.26));
  transform: rotate(-8deg) translateZ(0);
}
.mobile-theme-toggle.is-dark span::after {
  background: radial-gradient(circle, rgba(109, 160, 255, 0.2) 0 38%, rgba(109, 160, 255, 0.07) 54%, transparent 74%);
}
.mobile-theme-toggle.is-dark span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
}

/* iOS WebKit geometry guard: circular controls must keep equal axes. */
@supports (-webkit-touch-callout: none) {
  :where(.mobile-theme-toggle, .phone-clear-button, .contact-button, .membership-modal-close, .success-rate-close, .order-benefit-close, .share-guide-close, .customer-float) {
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    min-width: var(--ios-circle-size, 44px) !important;
    min-height: var(--ios-circle-size, 44px) !important;
    width: var(--ios-circle-size, 44px) !important;
    height: var(--ios-circle-size, 44px) !important;
    padding: 0 !important;
    border-radius: 999px !important;
    aspect-ratio: 1 / 1 !important;
    line-height: 1 !important;
    -webkit-appearance: none !important;
  }
  .phone-clear-button { --ios-circle-size: 30px; }
  .membership-modal-close, .success-rate-close { --ios-circle-size: 36px; }
  .order-benefit-close { --ios-circle-size: 28px; }
  .share-guide-close { --ios-circle-size: 32px; }
}

.product-card.contact-sale {
  border-color: rgba(255, 177, 76, 0.54);
  background: linear-gradient(180deg, rgba(255, 250, 237, 0.96), rgba(255, 243, 218, 0.9));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1319;
  --surface: rgba(25, 31, 40, 0.82);
  --surface-strong: rgba(27, 34, 44, 0.96);
  --text: #f6f8fb;
  --muted: #a5afbd;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  --glass-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] body {
  background: linear-gradient(180deg, #111821 0%, #0f1319 48%, #12161c 100%);
}
html[data-theme="dark"] .category-tab,
html[data-theme="dark"] .recharge-card,
html[data-theme="dark"] .future-card,
html[data-theme="dark"] .notice-bar,
html[data-theme="dark"] .orders-head,
html[data-theme="dark"] .order-card-item,
html[data-theme="dark"] .modal-sheet,
html[data-theme="dark"] .order-detail-card,
html[data-theme="dark"] .phone-history,
html[data-theme="dark"] .icon-button,
html[data-theme="dark"] .order-search input,
html[data-theme="dark"] .service-booking-fields input,
html[data-theme="dark"] .service-booking-fields select,
html[data-theme="dark"] .service-booking-fields textarea {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(24, 33, 48, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px rgba(0, 0, 0, 0.16);
}
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .service-row span,
html[data-theme="dark"] .order-actions button,
html[data-theme="dark"] .secondary-wide { color: var(--text); background: rgba(31, 43, 61, 0.88); }
html[data-theme="dark"] .product-card.active { border-color: #55a4ff; background: rgba(27, 39, 57, 0.96); }
html[data-theme="dark"] .product-card.contact-sale { border-color: rgba(255, 187, 76, 0.42); background: linear-gradient(180deg, rgba(66, 51, 28, 0.94), rgba(51, 43, 31, 0.94)); }
html[data-theme="dark"] .notice-bar span,
html[data-theme="dark"] .mobile-header h1,
html[data-theme="dark"] .future-card h2,
html[data-theme="dark"] .orders-head h2,
html[data-theme="dark"] .product-card strong { color: var(--text); }
html[data-theme="dark"] .category-tab:not(.active) { color: #e9edf3; }
html[data-theme="dark"] .category-tab:not(.active) span,
html[data-theme="dark"] .location-line,
html[data-theme="dark"] .orders-head p,
html[data-theme="dark"] .order-main p,
html[data-theme="dark"] .order-detail-card p,
html[data-theme="dark"] .hint-text { color: #a7b2c1 !important; }
html[data-theme="dark"] .coupon-strip { border-color: rgba(255, 104, 145, 0.22); color: #d6bdc7; background: linear-gradient(90deg, rgba(104, 34, 59, 0.52), rgba(73, 31, 49, 0.42)); }
html[data-theme="dark"] .coupon-strip strong { color: #fff5f8; }
html[data-theme="dark"] .tab-bar { border-color: rgba(255, 255, 255, 0.18); background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)), rgba(15, 23, 42, 0.52); }
html[data-theme="dark"] .tab-bar button { color: rgba(246, 248, 251, 0.66); }
html[data-theme="dark"] .tab-bar button.active { color: #fff; background: rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] .mobile-theme-toggle { border: 0; background: transparent; box-shadow: none; }
html[data-theme="dark"] .product-section-copy > span { color: #8fc4ff; background: rgba(67, 143, 241, 0.13); }
html[data-theme="dark"] .success-rate-row {
	border-color: rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.045);
}
html[data-theme="dark"] .success-rate-button { color: #9dcdff; }
html[data-theme="dark"] .modal-sheet,
html[data-theme="dark"] .order-detail-card { box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34); }
html[data-theme="dark"] .order-edit-description,
html[data-theme="dark"] .order-edit-field small { color: #aab7c8; }
html[data-theme="dark"] .order-edit-current,
html[data-theme="dark"] .redemption-account-panel.is-editable { border-color: rgba(91, 164, 255, 0.18); background: rgba(36, 55, 78, 0.72); }
html[data-theme="dark"] .order-edit-current strong,
html[data-theme="dark"] .order-edit-field > span { color: #f2f7ff; }
html[data-theme="dark"] .order-edit-current span,
html[data-theme="dark"] .order-edit-current small { color: #a9b9cc; }
html[data-theme="dark"] .order-edit-field input { border-color: rgba(91, 164, 255, 0.35); color: #f7faff; background: #182231; box-shadow: none; }
html[data-theme="dark"] .order-edit-field input:focus { border-color: #63a8f6; box-shadow: 0 0 0 4px rgba(91, 164, 255, 0.14); }
html[data-theme="dark"] .order-edit-actions button:first-child { color: #d9e4f1; background: #293648; }
html[data-theme="dark"] .order-edit-actions button:last-child { color: #ffffff; background: #378ff0; }
html[data-theme="dark"] .redemption-account-panel .order-edit-trigger,
html[data-theme="dark"] .order-actions .order-edit-trigger { color: #9dcdff; border-color: rgba(91, 164, 255, 0.22); background: rgba(45, 94, 151, 0.26); }
html[data-theme="dark"] .error-text { color: #ffabb9; background: rgba(171, 45, 71, 0.16); }
html[data-theme="dark"] .hint-text { color: #b9c3d0 !important; }
html[data-theme="dark"] .phone-clear-button { color: #aeb9c7; background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .contact-button {
	border-color: transparent;
	background: rgba(255, 255, 255, 0.055);
	box-shadow: none;
}
html[data-theme="dark"] .phone-row {
		border-bottom-color: rgba(118, 178, 237, 0.18);
		background: transparent;
		box-shadow: none;
}
html[data-theme="dark"] .alipay-return-guide { border-color: rgba(99, 165, 255, 0.2); color: #b8d7ff; background: rgba(37, 100, 171, 0.14); }
html[data-theme="dark"] .alipay-contact-fallback { color: #9ba9bb; }

* {
  box-sizing: border-box;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid rgba(22, 119, 255, 0.48);
	outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  touch-action: pan-y;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(56, 168, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 86% 1%, rgba(255, 142, 194, 0.2), transparent 22rem),
    linear-gradient(180deg, #eff8ff 0%, #f5f6f8 45%, #f7f7f8 100%);
}

.copy-preserve-lines {
	white-space: pre-line;
}

#noticeBody,
#customerDescription,
#announcementText {
	white-space: pre-line;
}

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

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.mobile-shell {
  width: 100%;
  width: min(100%, 430px);
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 34px 14px calc(116px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 94px;
  padding: 0 2px 8px;
}

.mascot-stage {
  position: relative;
  flex: 1;
  height: 92px;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  overflow: visible;
}

.mascot-stage::before {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 110px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(22, 119, 255, 0.16), transparent 70%);
  filter: blur(1px);
}

.mascot-stage img {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(31, 55, 92, 0.14));
  transform-origin: 50% 86%;
  transition: opacity 0.18s ease, transform 0.28s ease, filter 0.28s ease;
}

.mascot-stage img.is-swapping {
  opacity: 0;
  transform: translateY(5px) scale(0.94);
}

.home-bulletin-rail {
  position: relative;
  flex: 0 1 164px;
  width: 164px;
  min-width: 118px;
  min-height: 44px;
  align-self: center;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 2px 8px 0;
  padding: 8px 10px 9px;
  overflow: visible;
  border: 1px solid rgba(22, 119, 255, 0.14);
  border-radius: 13px;
  color: #27659f;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 7px 18px rgba(38, 99, 160, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 760;
  line-height: 1.35;
}

.home-bulletin-rail[hidden] { display: none; }

.home-bulletin-rail::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 32%, rgba(255, 255, 255, 0.22));
  border-radius: 12px;
}

.home-bulletin-dot {
  position: relative;
  z-index: 1;
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: 4px;
  border-radius: 50%;
  background: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
  animation: home-bulletin-live 1.8s ease-in-out infinite;
}

.home-bulletin-text {
  position: relative;
  z-index: 1;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.home-bulletin-rail.is-entering .home-bulletin-text,
.home-bulletin-rail.is-entering .home-bulletin-dot {
  animation: home-bulletin-in 5200ms cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

@keyframes home-bulletin-in {
  0% { opacity: 0; transform: translateX(16px); }
  12%, 82% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-10px); }
}

@keyframes home-bulletin-live {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1); opacity: 0.72; }
  50% { box-shadow: 0 0 0 5px rgba(22, 119, 255, 0.03); opacity: 1; }
}

html[data-theme="dark"] .home-bulletin-rail {
  border-color: rgba(109, 174, 255, 0.2);
  color: #b8d8ff;
  background: rgba(28, 54, 82, 0.74);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 380px) {
  .home-bulletin-rail {
    flex-basis: 138px;
    width: 138px;
    min-width: 112px;
    padding: 7px 8px 8px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-bulletin-rail.is-entering .home-bulletin-text,
  .home-bulletin-rail.is-entering .home-bulletin-dot,
  .home-bulletin-dot { animation: none; }
}

.mascot-stage[data-mood^="category-"] img {
  transform: translateY(-1px) scale(1.02);
}

.mascot-stage[data-mood="loading"] img {
  animation: mascot-breathe 1.05s ease-in-out infinite;
}

.mascot-stage[data-mood="paying"] img {
  transform: translateY(-2px) scale(1.04);
}

.mascot-stage[data-mood="back"] img {
  transform: translateX(2px) rotate(2deg);
}

@keyframes mascot-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.04); }
}

.text-button {
  min-width: 58px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 18px;
  color: #253047;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 22px rgba(35, 83, 132, 0.08);
  font-weight: 750;
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

.category-carousel {
  position: relative;
}

.category-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(74px, calc((100% - 32px) / 4.25), 90px);
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 0 42px;
  scroll-padding-inline: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar { display: none; }

/* Fuel card and its focused checkout sheet use the same quiet blue language
   as the existing recharge surface while giving quantity and preparation
   steps enough hierarchy to scan on a phone. */
.fuel-grid-inner { grid-template-columns: minmax(0, 1fr); }
.fuel-product {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: 14px;
  min-height: 104px;
  padding: 18px 18px 16px;
  text-align: left;
  background: linear-gradient(110deg, #fff9ee 0%, #fff 58%, #f7fbff 100%);
  border: 1px solid rgba(218,145,53,.22);
  border-radius: 18px;
}
.fuel-product-icon { display:grid; place-items:center; align-self:center; justify-self:center; width:52px; height:52px; border-radius:16px; background:#fff0d7; color:#b96b12; line-height:1; }
.fuel-product-icon > span { display:block; font-size:30px; line-height:1; transform:translateY(-1px); }
.fuel-product-copy { align-self:center; min-width:0; }
.fuel-product-copy strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#1f2b3d; font-size:18px; line-height:1.25; }
.fuel-product-copy p { margin: 5px 0 0; color: #6d7582; font-size: 12px; line-height:1.35; }
.fuel-product > .product-tag { top: 0; right: 0; border-radius: 0 18px 0 12px; padding: 5px 9px 6px; }
.fuel-product-foot { display:flex; align-items:center; justify-content:flex-end; align-self:center; gap:8px; min-width:0; color:#8a6a3d; font-size:12px; line-height:1.2; }
.fuel-product-price { display:grid; justify-items:end; gap:2px; min-width:0; }
.fuel-product-face { color:#b96b12; font-size:13px; font-weight:850; line-height:1.1; white-space:nowrap; }
.fuel-product-foot b { color:#b96b12; font-size:13px; }
.fuel-product-foot small { color:#9aa5b4; font-size:11px; }
.fuel-product-foot strong { color:#1f2b3d; font-size:22px; }
.fuel-product-foot i { color:#b96b12; font-size:24px; font-style:normal; line-height:1; }
html[data-theme="dark"] .fuel-product { background: linear-gradient(110deg, rgba(77,55,29,.92), rgba(31,43,61,.96)); border-color: rgba(255,187,76,.34); }
html[data-theme="dark"] .fuel-product-copy strong,
html[data-theme="dark"] .fuel-product-foot strong { color:#fff5df; }
html[data-theme="dark"] .fuel-product-copy p,
html[data-theme="dark"] .fuel-product-foot > span,
html[data-theme="dark"] .fuel-product-foot small { color:#d2c2a9; }
@media (max-width: 430px) {
  .fuel-product { grid-template-columns:48px minmax(0,1fr) auto; column-gap:10px; padding:16px 14px 14px; }
  .fuel-product-copy strong { font-size: 16px; }
  .fuel-product-icon { width:48px; height:48px; border-radius:15px; }
  .fuel-product-icon > span { font-size:28px; }
  .fuel-product-foot { gap:6px; }
  .fuel-product-foot strong { font-size:20px; }
  .fuel-product-foot i { font-size:21px; }
}
.fuel-order-sheet { padding: 22px 18px 26px; max-height: min(92dvh, 760px); overflow-y: auto; }
.fuel-order-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:16px; }
.fuel-order-head small { color:#b96b12; font-weight:700; letter-spacing:.08em; }
.fuel-order-head h3 { margin:5px 0 3px; font-size:22px; }
.fuel-order-head p { margin:0; color:#778196; font-size:13px; }
.fuel-guide-card { padding:14px; border:1px solid rgba(42,110,180,.16); background:linear-gradient(145deg,#f3f8ff,#fff); border-radius:14px; }
.fuel-guide-title { display:flex; justify-content:space-between; align-items:center; font-weight:700; color:#203b62; }
.fuel-guide-title b { font-size:11px; color:#2f75c5; background:#e4f0ff; padding:4px 7px; border-radius:999px; }
.fuel-guide-card p { margin:8px 0 10px; font-size:13px; color:#53657d; line-height:1.55; }
.fuel-portal-link { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid #dbe7f4; border-radius:10px; padding:9px; }
.fuel-portal-link code { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#315f91; font-size:11px; }
.fuel-portal-link button { flex:none; border:0; border-radius:8px; background:#286bb1; color:#fff; padding:8px 10px; font-size:12px; }
.fuel-guide-card > small { display:block; margin-top:9px; color:#8a98aa; font-size:11px; }
.fuel-order-form { display:grid; gap:13px; margin-top:16px; }
.fuel-order-form label { display:grid; gap:6px; color:#35465e; font-size:13px; font-weight:600; }
.fuel-order-form input { width:100%; box-sizing:border-box; border:1px solid #d9e3ef; border-radius:10px; padding:12px 13px; font-size:15px; color:#1c2c42; background:#fff; }
.fuel-order-form input:focus { outline:2px solid rgba(47,117,197,.2); border-color:#3b83d1; }
.fuel-quantity-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.fuel-quantity-row > div:first-child { display:grid; gap:4px; }
.fuel-quantity-row span { font-weight:700; color:#2d3e55; }
.fuel-quantity-row small { color:#8a98aa; font-size:11px; }
.fuel-form-step { display:flex; align-items:center; gap:10px; margin-top:2px; padding:10px 11px; border:1px solid rgba(42,110,180,.14); border-radius:10px; background:#f5f9ff; }
.fuel-form-step > b { flex:none; padding:5px 7px; border-radius:7px; color:#286bb1; background:#e3efff; font-size:11px; white-space:nowrap; }
.fuel-form-step > div { display:grid; gap:2px; min-width:0; }
.fuel-form-step strong { color:#203b62; font-size:13px; line-height:1.25; }
.fuel-form-step small { color:#7b8da4; font-size:11px; line-height:1.35; }
.fuel-stepper { display:flex; align-items:center; border:1px solid #dce5ef; border-radius:10px; overflow:hidden; background:#fff; }
.fuel-stepper button { border:0; background:#f4f7fb; color:#286bb1; width:34px; height:34px; font-size:20px; }
.fuel-stepper input { width:38px; border:0; padding:7px 2px; text-align:center; font-weight:700; }
.fuel-amount-hint { padding:10px 12px; border-radius:10px; color:#875718; background:#fff5e5; font-size:13px; font-weight:700; }
.fuel-notice-list { padding:12px 13px; background:#f8fafc; border-radius:12px; color:#66758a; font-size:12px; line-height:1.55; }
.fuel-notice-list p { margin:5px 0; }
.fuel-notice-list p:first-child { margin-top:0; color:#35465e; }
.fuel-notice-body { white-space:pre-line; }
.fuel-notice-body mark { padding:1px 3px; border-radius:3px; color:#875718; background:#ffe8ad; }
.fuel-disclaimer { display:flex !important; grid-template-columns:none !important; align-items:flex-start; gap:8px !important; font-weight:500 !important; color:#65758a !important; font-size:12px !important; }
.fuel-disclaimer input { width:16px; height:16px; margin:0; accent-color:#286bb1; }
.fuel-submit-button { border:0; border-radius:12px; padding:13px; background:linear-gradient(135deg,#2f75c5,#1f5b9e); color:#fff; font-size:15px; font-weight:700; box-shadow:0 10px 22px rgba(31,91,158,.2); }
.fuel-submit-button:disabled { opacity:.6; }
html[data-theme="dark"] .fuel-form-step { border-color:rgba(132,184,238,.2); background:#1d3046; }
html[data-theme="dark"] .fuel-form-step > b { color:#a9d3ff; background:#244c75; }
html[data-theme="dark"] .fuel-form-step strong { color:#e8f2ff; }
html[data-theme="dark"] .fuel-form-step small { color:#b3c7dc; }
html[data-theme="dark"] .fuel-notice-body mark { color:#ffe4a6; background:#5a4525; }

.category-more-cue {
  position: absolute;
  top: 2px;
  right: -1px;
  z-index: 6;
  width: 23px;
  height: 88px;
  pointer-events: none;
  opacity: 1;
  background: linear-gradient(90deg, rgba(238, 247, 255, 0), rgba(239, 246, 255, 0.96) 72%);
  transition: opacity 0.22s ease;
}

.category-more-cue::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 37px;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(45, 91, 149, 0.56);
  border-right: 2px solid rgba(45, 91, 149, 0.56);
  transform: rotate(45deg);
  animation: category-more-nudge 1.7s ease-in-out 3;
}

.category-carousel.is-at-end .category-more-cue,
.category-carousel:not(.has-overflow) .category-more-cue {
  opacity: 0;
}

.category-tab {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 88px;
  padding: 13px 8px 10px;
  text-align: left;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(44, 73, 111, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.18s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
	scroll-snap-align: start;
}

.category-tab:active,
.tab-bar button:active,
.customer-float:active {
  transform: scale(0.98);
}

.category-tab strong {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.1;
  text-overflow: clip;
  white-space: nowrap;
}

.category-tab span {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: clip;
  white-space: nowrap;
}

.category-tab .cat-icon {
  position: absolute;
	right: 8px;
	top: 8px;
  z-index: 2;
	width: 18px;
	height: 18px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.96);
}

.cat-icon svg {
	width: 18px;
	height: 18px;
}

.cat-icon img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(15, 62, 117, 0.12));
}

.category-tab .cat-icon.image {
	right: 6px;
	top: 6px;
	width: 24px;
	height: 24px;
}

.category-tab.active strong { padding-right: 18px; }
.category-tab.active.has-uploaded-icon strong { padding-right: 26px; }

.category-tab.active {
  z-index: 3;
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 12%, rgba(255, 255, 255, 0.68), transparent 1.85rem),
    linear-gradient(135deg, #1677ff, #4dc4ff);
  box-shadow: 0 15px 34px rgba(22, 119, 255, 0.22);
  transform: translateY(-2px);
  animation: category-tab-hop 0.46s cubic-bezier(0.22, 1.24, 0.36, 1) both;
}

.category-tab.active.has-uploaded-icon {
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.1) 0.8rem, transparent 1.8rem),
    linear-gradient(135deg, #1677ff, #4dc4ff);
}

.category-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -35px;
  z-index: 1;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: url("/assets/mascot/bridge-body.png") center bottom / 100% auto no-repeat;
  filter: drop-shadow(0 12px 14px rgba(35, 83, 132, 0.1));
  pointer-events: none;
  transform-origin: 50% 86%;
  animation: penguin-bridge-hop 0.52s cubic-bezier(0.22, 1.25, 0.36, 1) both;
}

.category-tab.active span {
  color: rgba(255, 255, 255, 0.9);
}

@keyframes category-more-nudge {
  0%, 45%, 100% { transform: translateX(0) rotate(45deg); opacity: 0.46; }
  68% { transform: translateX(3px) rotate(45deg); opacity: 0.9; }
}

@keyframes penguin-bridge-hop {
  0% { opacity: 0; transform: translateY(-12px) scale(0.9); }
  45% { opacity: 1; transform: translateY(4px) scale(1.05); }
  72% { transform: translateY(-3px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes category-tab-hop {
  0% { transform: translateY(0) scale(0.98); }
  44% { transform: translateY(-7px) scale(1.025); }
  76% { transform: translateY(1px) scale(0.995); }
  100% { transform: translateY(-2px) scale(1); }
}

body:not(.is-orders-tab) .mobile-shell[data-category-display-mode="scheme2"] .mascot-header {
  min-height: 112px;
  margin-bottom: 0;
  padding: 8px 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(140deg, rgba(229, 243, 255, 0.94), rgba(245, 250, 255, 0.82));
  box-shadow: 0 18px 44px rgba(38, 91, 145, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

body:not(.is-orders-tab) .mobile-shell[data-category-display-mode="scheme2"] .mascot-stage {
	flex: 0 0 106px;
	height: 104px;
}

body:not(.is-orders-tab) .mobile-shell[data-category-display-mode="scheme2"] .mascot-stage img {
	width: 104px;
	height: 104px;
	transform: translateX(-4px);
}

body:not(.is-orders-tab) .mobile-shell[data-category-display-mode="scheme2"] .mascot-stage::before {
	left: 0;
	width: 88px;
}

body:not(.is-orders-tab) .mobile-shell[data-category-display-mode="scheme2"] .home-bulletin-rail {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin-right: 0;
	overflow: hidden;
}

body:not(.is-orders-tab) .mobile-shell[data-category-display-mode="scheme2"] .home-bulletin-text {
	overflow-wrap: normal;
	word-break: normal;
}

.category-carousel.is-button-carousel {
  isolation: isolate;
  min-height: 126px;
  margin: -1px 0 14px;
  padding: 0 0 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-top: 0;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.84), rgba(224, 240, 255, 0.94));
  box-shadow: 0 18px 44px rgba(38, 91, 145, 0.12), inset 0 -1px 0 rgba(255, 255, 255, 0.76);
}

body:not(.is-orders-tab) .mobile-shell[data-category-display-mode="scheme2"] #homePage .recharge-card {
  margin-top: 0;
}

.category-carousel.is-button-carousel::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: 34px;
  z-index: 0;
  height: 88px;
  border-top: 1px solid rgba(44, 113, 182, 0.13);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.category-carousel.is-button-carousel .category-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  align-items: flex-start;
  gap: 10px;
  padding: 14px calc(50% - 38px) 20px;
  scroll-padding-inline: calc(50% - 38px);
  scroll-snap-type: x mandatory;
}

.category-carousel.is-button-carousel .category-more-cue {
  display: none;
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item {
  flex: 0 0 76px;
  width: 76px;
  min-width: 76px;
  min-height: 86px;
  display: grid;
  grid-template-rows: 38px auto auto;
  place-items: center;
  align-content: start;
  gap: 3px;
  padding: 8px 6px 7px;
  overflow: hidden;
  border: 1px solid rgba(26, 85, 142, 0.08);
  border-radius: 19px;
  text-align: center;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 20px rgba(46, 89, 134, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  opacity: var(--button-carousel-opacity, 1);
  transform: translateY(var(--button-carousel-y, 0)) rotate(var(--button-carousel-rotation, 0deg)) scale(var(--button-carousel-scale, 1));
  transition: transform 320ms cubic-bezier(0.2, 0, 0, 1), opacity 240ms ease, color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  animation: none;
  will-change: transform;
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item:active {
  transform: translateY(var(--button-carousel-y, 0)) rotate(var(--button-carousel-rotation, 0deg)) scale(0.96);
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item .cat-icon,
.category-carousel.is-button-carousel .category-tab.button-carousel-item .cat-icon.image {
  position: static;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #2778c9;
  background: rgba(43, 130, 217, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item .cat-icon svg {
  width: 21px;
  height: 21px;
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item .cat-icon.image img {
  width: 27px;
  height: 27px;
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item strong {
  width: 100%;
  padding: 0;
  font-size: 14px;
  line-height: 1.12;
  text-align: center;
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item span {
  width: 100%;
  margin-top: 0;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item.active {
  color: #fff;
  opacity: 1;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.52), transparent 30%),
    linear-gradient(145deg, #106be8, #38b9f4);
  box-shadow: 0 15px 30px rgba(22, 119, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-4px) rotate(0deg) scale(1.06);
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item.active::after {
  display: none;
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item.active .cat-icon,
.category-carousel.is-button-carousel .category-tab.button-carousel-item.active .cat-icon.image {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.category-carousel.is-button-carousel .category-tab.button-carousel-item:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.25);
  outline-offset: 3px;
}

html[data-theme="dark"] body:not(.is-orders-tab) .mobile-shell[data-category-display-mode="scheme2"] .mascot-header {
  border-color: rgba(119, 180, 242, 0.16);
  background:
    radial-gradient(circle at 12% 20%, rgba(52, 102, 151, 0.34), transparent 34%),
    linear-gradient(140deg, rgba(20, 42, 65, 0.96), rgba(18, 31, 48, 0.94));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .category-carousel.is-button-carousel {
  border-color: rgba(119, 180, 242, 0.16);
  background: linear-gradient(180deg, rgba(18, 31, 48, 0.94), rgba(20, 42, 65, 0.96));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .category-carousel.is-button-carousel .category-tab.button-carousel-item {
  border-color: rgba(132, 184, 238, 0.12);
  color: #eaf4ff;
  background: rgba(41, 65, 91, 0.74);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .category-carousel.is-button-carousel .category-tab.button-carousel-item .cat-icon,
html[data-theme="dark"] .category-carousel.is-button-carousel .category-tab.button-carousel-item .cat-icon.image {
  color: #9dceff;
  background: rgba(84, 157, 229, 0.14);
}

@media (max-width: 359px) {
  .category-carousel.is-button-carousel .category-tabs {
    gap: 8px;
    padding-inline: calc(50% - 35px);
    scroll-padding-inline: calc(50% - 35px);
  }

  .category-carousel.is-button-carousel .category-tab.button-carousel-item {
    flex-basis: 70px;
    width: 70px;
    min-width: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-carousel.is-button-carousel .category-tab.button-carousel-item {
    transition: color 120ms ease, background 120ms ease, box-shadow 120ms ease;
    will-change: auto;
  }
}

.category-focus-panel[hidden] {
  display: none;
}

.category-interaction-anchor {
  display: none;
  position: absolute;
  left: var(--category-anchor-x, 0px);
  top: 1px;
  z-index: 5;
  width: 2px;
  height: 11px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.52);
  transform: translateX(-1px);
  pointer-events: none;
}

.category-interaction-anchor::before {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1677ff;
  box-shadow: 0 3px 8px rgba(22, 119, 255, 0.22);
}

.category-carousel.is-fixed-point-interaction .category-interaction-anchor {
  display: block;
}

.category-carousel.is-fixed-point-interaction .category-tabs {
  scroll-snap-type: x mandatory;
}

.category-carousel.is-fixed-point-interaction.uses-center-anchor .category-interaction-anchor {
  top: 8px;
  opacity: 0.64;
}

.category-carousel.is-orbit-carousel.is-fixed-point-interaction.uses-center-anchor .category-interaction-anchor {
  top: 100px;
  height: 7px;
  opacity: 0.7;
}

.category-carousel.is-fixed-point-interaction.uses-leading-anchor .category-interaction-anchor {
  top: 2px;
  opacity: 0.66;
}

.category-carousel.is-fixed-point-interaction .category-tabs {
  touch-action: pan-x;
}

.category-carousel.is-orbit-carousel {
  isolation: isolate;
  min-height: 232px;
  margin: 0 0 14px;
  padding: 12px 0 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 6%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(150deg, rgba(232, 245, 255, 0.96), rgba(216, 237, 255, 0.9));
  box-shadow: 0 18px 42px rgba(37, 86, 136, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.category-carousel.is-orbit-carousel::before {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -64px;
  z-index: 0;
  height: 150px;
  border: 1px solid rgba(36, 112, 188, 0.12);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.category-focus-panel {
  position: relative;
  z-index: 2;
  min-height: 82px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin: 0 16px;
  padding: 10px 13px;
  border: 1px solid rgba(75, 138, 200, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 26px rgba(50, 96, 142, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.category-focus-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #116fe9, #39baf5);
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.category-focus-icon .cat-icon,
.category-focus-icon .cat-icon.image {
  position: static;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: inherit;
}

.category-focus-icon .cat-icon svg {
  width: 28px;
  height: 28px;
}

.category-focus-icon .cat-icon.image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-focus-copy {
  min-width: 0;
}

.category-focus-copy small,
.category-focus-copy strong,
.category-focus-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-focus-copy small {
  margin-bottom: 3px;
  color: #4c779f;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
}

.category-focus-copy strong {
  color: #183b60;
  font-size: 19px;
  line-height: 1.25;
}

.category-focus-copy span {
  margin-top: 3px;
  color: #66809a;
  font-size: 11px;
  line-height: 1.35;
}

.category-carousel.is-orbit-carousel .category-tabs {
  position: relative;
  z-index: 2;
  height: 120px;
  display: flex;
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  align-items: flex-start;
  gap: 9px;
  margin-top: 1px;
  padding: 16px calc(50% - 36px) 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: calc(50% - 36px);
  scroll-snap-type: x mandatory;
}

.category-carousel.is-orbit-carousel .category-more-cue {
  display: none;
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item {
  flex: 0 0 72px;
  width: 72px;
  min-width: 72px;
  min-height: 88px;
  display: grid;
  grid-template-rows: 54px 22px;
  place-items: center;
  align-content: start;
  gap: 5px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: #315572;
  text-align: center;
  background: transparent;
  box-shadow: none;
  opacity: var(--orbit-opacity, 1);
  transform: translateY(var(--orbit-y, 0)) scale(var(--orbit-scale, 1));
  transform-origin: 50% 12%;
  scroll-snap-align: center;
  transition: transform 320ms cubic-bezier(0.2, 0, 0, 1), opacity 240ms ease, color 200ms ease;
  animation: none;
  will-change: transform;
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item:active {
  transform: translateY(var(--orbit-y, 0)) scale(0.94);
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item::after {
  display: none;
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item .cat-icon,
.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item .cat-icon.image {
  position: static;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(83, 139, 195, 0.16);
  border-radius: 50%;
  color: #287bc7;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 9px 20px rgba(48, 91, 133, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: width 260ms ease, height 260ms ease, color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item .cat-icon svg {
  width: 24px;
  height: 24px;
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item .cat-icon.image img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item strong {
  width: 72px;
  padding: 0;
  color: inherit;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  text-overflow: ellipsis;
  transition: opacity 180ms ease;
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item.is-orbit-edge strong {
  opacity: 0;
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item.active {
  color: #125a9f;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: translateY(0) scale(1.08);
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item.active .cat-icon,
.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item.active .cat-icon.image {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(145deg, #106ce8, #39baf5);
  box-shadow: 0 12px 26px rgba(22, 119, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.26);
  outline-offset: 2px;
  border-radius: 16px;
}

html[data-theme="dark"] .category-carousel.is-orbit-carousel {
  border-color: rgba(120, 181, 242, 0.16);
  background:
    radial-gradient(circle at 16% 6%, rgba(51, 105, 158, 0.26), transparent 34%),
    linear-gradient(150deg, rgba(19, 39, 60, 0.98), rgba(17, 31, 48, 0.96));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .category-interaction-anchor {
  background: rgba(110, 183, 255, 0.7);
}

html[data-theme="dark"] .category-interaction-anchor::before {
  background: #55aaff;
}

html[data-theme="dark"] .category-carousel.is-orbit-carousel::before {
  border-color: rgba(118, 184, 248, 0.12);
}

html[data-theme="dark"] .category-focus-panel {
  border-color: rgba(128, 186, 240, 0.13);
  background: rgba(35, 58, 81, 0.72);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .category-focus-copy small { color: #8ebae2; }
html[data-theme="dark"] .category-focus-copy strong { color: #eef7ff; }
html[data-theme="dark"] .category-focus-copy span { color: #a9bdd0; }

html[data-theme="dark"] .category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item {
  color: #b6cce0;
}

html[data-theme="dark"] .category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item .cat-icon,
html[data-theme="dark"] .category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item .cat-icon.image {
  border-color: rgba(132, 184, 238, 0.13);
  color: #a8d4ff;
  background: rgba(42, 67, 92, 0.86);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item.active {
  color: #d9ecff;
}

html[data-theme="dark"] .category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item.active .cat-icon,
html[data-theme="dark"] .category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item.active .cat-icon.image {
  color: #fff;
  background: linear-gradient(145deg, #176bd3, #289fdc);
}

@media (max-width: 359px) {
  .category-carousel.is-orbit-carousel {
    min-height: 226px;
    border-radius: 22px;
  }

  .category-focus-panel {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    margin-inline: 12px;
    padding: 9px 11px;
  }

  .category-focus-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .category-focus-copy strong { font-size: 18px; }
  .category-carousel.is-orbit-carousel .category-tabs { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item,
  .category-carousel.is-orbit-carousel .category-tab.orbit-carousel-item .cat-icon {
    transition: color 120ms ease, background 120ms ease, box-shadow 120ms ease;
    will-change: auto;
  }
}

.recharge-card,
.future-card,
.notice-bar,
.orders-head,
.order-card-item {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.recharge-card {
  position: relative;
  z-index: 1;
  margin-top: -18px;
  padding: 20px 18px 18px;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.recharge-card.category-switching {
  box-shadow: 0 24px 64px rgba(35, 83, 132, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  animation: recharge-card-hop 0.52s cubic-bezier(0.22, 1.18, 0.36, 1) both;
}

@keyframes recharge-card-hop {
  0% { transform: translateY(0); }
  42% { transform: translateY(-7px); }
  72% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: end;
  position: relative;
  padding: 2px 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(55, 112, 170, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-row.single-field {
	grid-template-columns: minmax(0, 1fr);
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-left: 0;
}

.field > label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.phone-input-shell {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  overflow: visible;
}

.field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: var(--phone-input-font-size, 34px) !important;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

.phone-input-shell input {
	padding-right: 0;
	transition: padding-left 160ms ease;
	max-width: 100%;
}

.phone-input-shell[data-length="11"] input {
	font-size: var(--phone-input-font-size, 30px) !important;
}

.phone-input-shell[data-length="12"] input,
.phone-input-shell[data-length="13"] input {
	font-size: var(--phone-input-font-size, 25px) !important;
}

.phone-input-shell.show-cue.is-empty:not(.is-focused) input {
	padding-left: 8px;
}

.phone-input-caret {
	position: absolute;
	left: 0;
	top: 50%;
	width: 2px;
	height: 29px;
	border-radius: 2px;
	background: var(--blue);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%);
}

.phone-input-shell.show-cue.is-empty:not(.is-focused) .phone-input-caret {
	animation: phoneInputCue 1.05s steps(1, end) infinite;
}

.phone-clear-button {
	position: relative;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #7d8795;
	background: rgba(91, 112, 140, 0.09);
	transform: none;
	transition: transform 160ms ease, background 160ms ease;
}

.phone-clear-button[hidden] {
	display: none;
}

.phone-clear-button span::before,
.phone-clear-button span::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 13px;
	width: 12px;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
}

.phone-clear-button span::before { transform: rotate(45deg); }
.phone-clear-button span::after { transform: rotate(-45deg); }
.phone-clear-button:active { transform: scale(0.9); }

@keyframes phoneInputCue {
	0%, 48% { opacity: 0.9; }
	49%, 100% { opacity: 0; }
}

.field input::placeholder {
  color: #c7cfdb;
  font-size: 22px;
  font-weight: 700;
}

.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(32, 74, 125, 0.1);
  border-radius: 18px;
  color: #6f7a89;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 24px rgba(31, 55, 92, 0.08);
  font-weight: 900;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
}

.contact-button {
	width: 42px;
	height: 42px;
	border-color: transparent;
	border-radius: 14px;
	color: #748194;
	background: rgba(77, 113, 153, 0.055);
	box-shadow: none;
}

.contact-button:active {
	color: var(--blue);
	background: rgba(22, 119, 255, 0.1);
	transform: scale(0.94);
}

.contact-glyph {
  display: block;
  width: 19px;
  height: 19px;
  margin: auto;
  color: inherit;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 2v2M8 2v2'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M6.5 21a6 6 0 0 1 11 0'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 2v2M8 2v2'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M6.5 21a6 6 0 0 1 11 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-glyph::before,
.contact-glyph::after {
  content: none;
}

.phone-history {
  position: absolute;
  top: 84px;
  right: 18px;
  z-index: 20;
  width: min(318px, calc(100% - 36px));
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: var(--glass-shadow);
}

.phone-history button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
  background: transparent;
  text-align: left;
}

.phone-history button:active {
  background: rgba(22, 119, 255, 0.08);
}

.phone-history strong {
  font-size: 16px;
}

.phone-history span,
.empty-history {
  color: var(--muted);
  font-size: 13px;
}

.empty-history {
  padding: 14px;
  text-align: center;
}

.location-line {
  min-height: 24px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.location-line.blocked {
	color: #b75b00;
	font-weight: 850;
}

.product-section.manual-section {
	padding-top: 14px;
	border-top: 1px solid rgba(32, 74, 125, 0.08);
}

.product-card.manual-product {
	background: linear-gradient(180deg, rgba(247, 255, 252, 0.96), rgba(235, 250, 244, 0.9));
	border-color: rgba(18, 181, 109, 0.2);
}

.product-card.manual-product.active {
	border-color: #12a867;
	box-shadow: 0 10px 22px rgba(18, 168, 103, 0.14), inset 0 0 0 1px #12a867;
}

.product-card.manual-product.manual-assisted {
	border-color: rgba(222, 145, 32, 0.42);
	background: linear-gradient(180deg, rgba(255, 251, 238, 0.98), rgba(255, 242, 211, 0.92));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 10px 24px rgba(202, 128, 24, 0.12);
	filter: none;
	cursor: pointer;
}

.product-card.manual-product.manual-assisted strong {
	color: #573a10;
}

.product-card.manual-product.manual-assisted .product-price b {
	color: #b86605;
}

.product-card .manual-assisted-tag {
	background: linear-gradient(135deg, #e8a328, #c96c13);
}

.manual-assisted-note {
	margin-top: 3px;
	color: #9b6517;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
}

.manual-flow {
	border-color: rgba(18, 181, 109, 0.18);
	background: linear-gradient(180deg, rgba(246, 255, 251, 0.96), rgba(235, 250, 244, 0.86));
}

.startup-error button {
	margin-top: 14px;
	min-height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 14px;
	color: #fff;
	background: #1677ff;
	font-weight: 850;
}

.privacy-note {
	position: relative;
	z-index: 2;
	width: min(100%, 430px);
	margin: -54px auto 94px;
	text-align: center;
}

.privacy-note a,
.privacy-back {
	color: #768196;
	font-size: 12px;
	text-decoration: none;
}

.privacy-page {
	width: min(100%, 430px);
	min-height: 100vh;
	margin: 0 auto;
	padding: 28px 20px calc(40px + env(safe-area-inset-bottom));
	color: var(--text);
}

.privacy-page h1 {
	margin: 28px 0 18px;
	font-size: 25px;
}

.privacy-page section {
	margin-top: 12px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: var(--shadow);
}

.privacy-page h2 {
	margin: 0 0 8px;
	font-size: 16px;
}

.privacy-page p {
	margin: 0;
	color: #687386;
	font-size: 14px;
	line-height: 1.75;
}

.location-line.ready {
  color: var(--blue);
}

.electricity-region-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.electricity-region-fields label {
	display: grid;
	gap: 6px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 750;
}

.electricity-region-fields select {
	width: 100%;
	height: 46px;
	padding: 0 34px 0 13px;
	border: 1px solid rgba(32, 74, 125, 0.1);
	border-radius: 16px;
	outline: 0;
	color: var(--text);
	background: rgba(244, 248, 253, 0.9);
	font-size: 15px !important;
	font-weight: 700;
}

.electricity-region-fields select:focus {
	border-color: rgba(22, 119, 255, 0.38);
	box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.08);
}

.account-field-label {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 7px;
	min-width: 0;
}

.account-field-label > span:first-child {
	flex: 0 0 auto;
	white-space: nowrap;
}

.electricity-arrival-inline {
	display: inline-flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	min-height: 20px;
	padding: 1px 6px;
	border: 1px solid rgba(22, 119, 255, 0.2);
	border-radius: 6px;
	color: #0868d8;
	background: rgba(22, 119, 255, 0.08);
	font-size: 10px;
	font-weight: 900;
	line-height: 1.2;
	white-space: nowrap;
}

.electricity-arrival-inline .electricity-arrival-value {
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: #e53935;
}

.electricity-arrival-inline.is-pending { color: #6b83a0; border-color: rgba(91, 112, 140, 0.16); background: rgba(91, 112, 140, 0.06); }

html[data-theme="dark"] .electricity-arrival-inline { border-color: rgba(98, 172, 255, 0.3); color: #8fc8ff; background: rgba(32, 108, 186, 0.26); }
html[data-theme="dark"] .electricity-arrival-inline.is-pending { color: #a4b2c4; border-color: rgba(164, 178, 196, 0.22); background: rgba(164, 178, 196, 0.08); }
html[data-theme="dark"] .electricity-arrival-inline .electricity-arrival-value { color: #ff7773; }

@media (max-width: 350px) {
	.electricity-arrival-inline { font-size: 9px; padding-inline: 5px; }
}

.ported-alert {
  margin: -8px 0 14px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 139, 36, 0.25);
  border-radius: 14px;
  color: #b86500;
  background: rgba(255, 246, 221, 0.88);
  font-size: 13px;
  font-weight: 850;
}

.coupon-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #5b6675;
  background: linear-gradient(90deg, #fff0f5, #fff8fa);
  overflow: hidden;
}

.coupon-strip strong {
  color: var(--text);
  font-size: 16px;
}

.coupon-strip b {
  color: var(--rose);
  font-size: 16px;
  letter-spacing: 0;
}

.cps-member-price-toggle { display:inline-flex; align-items:center; gap:6px; margin-left:auto; color:var(--rose); font-size:12px; font-weight:700; white-space:nowrap; cursor:pointer; }
.fuel-product-shell { display:grid; gap:7px; min-width:0; }
.fuel-member-price-toggle { display:flex; align-items:center; justify-content:space-between; gap:9px; min-height:36px; padding:7px 10px; border:1px solid rgba(204,30,66,.14); border-radius:10px; color:#a61638; background:rgba(255,248,249,.92); font-size:11px; font-weight:750; cursor:pointer; }
.fuel-member-price-toggle input { position:absolute; opacity:0; pointer-events:none; }
.fuel-member-price-toggle .cps-toggle-ui { flex:0 0 auto; order:2; }
.fuel-member-price-toggle input:checked + .cps-toggle-ui { background:var(--rose); }
.fuel-member-price-toggle input:checked + .cps-toggle-ui::after { transform:translateX(12px); }
html[data-theme="dark"] .fuel-member-price-toggle { border-color:rgba(255,109,139,.2); color:#ff8aa5; background:rgba(184,35,70,.13); }
.cps-member-price-toggle input { position:absolute; opacity:0; pointer-events:none; }
.cps-toggle-ui { width:30px; height:18px; border-radius:999px; background:#c7cbd1; position:relative; transition:.18s ease; }
.cps-toggle-ui::after { content:""; position:absolute; width:14px; height:14px; left:2px; top:2px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0002; transition:.18s ease; }
.cps-member-price-toggle input:checked + .cps-toggle-ui { background:var(--rose); }
.cps-member-price-toggle input:checked + .cps-toggle-ui::after { transform:translateX(12px); }
.coupon-strip.has-cps-member-price { min-height:52px; padding:8px 10px; background:linear-gradient(135deg, rgba(204,30,66,.08), rgba(255,255,255,.92)); border:1px solid rgba(204,30,66,.14); }
.coupon-strip.has-cps-member-price > strong,
.coupon-strip.has-cps-member-price > span,
.coupon-strip.has-cps-member-price > b { display:none; }
.coupon-strip.has-cps-member-price .cps-member-price-toggle { width:100%; min-width:0; margin:0; padding:4px 2px; justify-content:space-between; color:#a61638; }
.coupon-strip.has-cps-member-price .cps-toggle-ui { order:2; flex:0 0 auto; }
.coupon-strip.has-cps-member-price #cpsMemberPriceLabel { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.cps-cashback-badge { position:relative; z-index:2; display:block; width:max-content; max-width:100%; margin-top:5px; padding:3px 6px; border-radius:4px; color:#9b1838; background:rgba(204,30,66,.08); font-size:10px; font-weight:750; line-height:1.25; white-space:nowrap; }
.membership-member-saving { color:#b01d44 !important; font-weight:750 !important; }
.membership-explorer .membership-cps-member-price-toggle { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:44px; margin:0; padding:8px 10px; border:1px solid rgba(204,30,66,.14); border-radius:11px; color:#a61638; background:linear-gradient(135deg,rgba(204,30,66,.07),rgba(255,255,255,.88)); }
.membership-cps-member-price-toggle .cps-toggle-ui { order:2; flex:0 0 auto; }
.membership-cps-member-price-toggle #membershipCpsMemberPriceLabel { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

html[data-theme="dark"] .coupon-strip.has-cps-member-price { background:rgba(184,35,70,.13); border-color:rgba(255,109,139,.2); }
html[data-theme="dark"] .coupon-strip.has-cps-member-price .cps-member-price-toggle,
html[data-theme="dark"] .cps-cashback-badge { color:#ff8aa5; }
html[data-theme="dark"] .cps-cashback-badge { background:rgba(255,109,139,.12); }
html[data-theme="dark"] .membership-explorer .membership-cps-member-price-toggle { border-color:rgba(255,109,139,.2); color:#ff8aa5; background:rgba(184,35,70,.13); }

.product-grid {
  display: grid;
  gap: 16px;
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: opacity, transform;
}

.product-grid.is-category-switching {
  opacity: .62;
  transform: translateY(4px);
}

@media (prefers-reduced-motion: reduce) {
  .product-grid { transition: none; }
  .product-grid.is-category-switching { opacity: .82; transform: none; }
}

.product-lookup-loading {
	position: relative;
	margin: 12px 0 4px;
	padding: 17px 16px 15px;
	overflow: hidden;
	border: 1px solid rgba(39, 91, 137, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 10px 26px rgba(43, 84, 122, 0.07);
}

.product-lookup-loading-head { display: flex; align-items: center; gap: 12px; }
.product-lookup-loading-head strong,
.product-lookup-loading-head span { display: block; }
.product-lookup-loading-head strong { color: #183d5c; font-size: 15px; font-weight: 850; line-height: 1.35; }
.product-lookup-loading-head span { margin-top: 3px; color: #71869a; font-size: 12px; line-height: 1.4; }
.product-lookup-radar {
	position: relative;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(22, 119, 255, 0.14);
	border-radius: 50%;
	background: rgba(22, 119, 255, 0.06);
}
.product-lookup-radar::before,
.product-lookup-radar::after,
.product-lookup-radar i { content: ""; position: absolute; border-radius: 50%; }
.product-lookup-radar::before { inset: 7px; border: 1px solid rgba(22, 119, 255, 0.22); }
.product-lookup-radar::after { inset: 14px; background: #1677ff; box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.09); }
.product-lookup-radar i {
	inset: 3px;
	background: conic-gradient(from 0deg, rgba(22, 119, 255, 0) 0 72%, rgba(22, 119, 255, 0.28) 92%, rgba(22, 119, 255, 0) 100%);
	animation: product-lookup-scan 1.4s linear infinite;
}
.product-lookup-route {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	margin-top: 16px;
}
.product-lookup-route::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 10%;
	right: 10%;
	height: 1px;
	background: rgba(80, 112, 140, 0.18);
}
.product-lookup-route span { position: relative; z-index: 1; min-width: 0; text-align: center; }
.product-lookup-route i { display: block; width: 11px; height: 11px; margin: 0 auto 7px; border: 2px solid #c4d0da; border-radius: 50%; background: #f8fbfd; }
.product-lookup-route b { display: block; overflow: hidden; color: #8997a5; font-size: 11px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.product-lookup-route .is-complete i { border-color: #13aa67; background: #13aa67; box-shadow: 0 0 0 3px rgba(19, 170, 103, 0.1); }
.product-lookup-route .is-complete b { color: #48705f; }
.product-lookup-route .is-active i { border-color: #1677ff; background: #fff; box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12); animation: product-lookup-focus 1.4s ease-in-out infinite; }
.product-lookup-route .is-active b { color: #225f93; }
.product-lookup-progress { height: 3px; margin-top: 13px; overflow: hidden; border-radius: 3px; background: rgba(67, 104, 138, 0.1); }
.product-lookup-progress i { display: block; width: 42%; height: 100%; border-radius: inherit; background: #1677ff; animation: product-lookup-travel 1.45s cubic-bezier(.42, 0, .24, 1) infinite; will-change: transform; }
.anfeng-balance-status { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 10px 13px; border: 1px solid rgba(22,119,255,.16); border-radius: 12px; background: rgba(22,119,255,.055); color: #365a78; }
.anfeng-balance-status strong { display: block; color: #225f93; font-size: 12px; line-height: 1.35; }
.anfeng-balance-status p { margin-top: 2px; color: #71869a; font-size: 11px; line-height: 1.4; }
.anfeng-balance-spinner { display: block; flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid rgba(22,119,255,.22); border-top-color: #1677ff; border-radius: 50%; animation: product-lookup-scan 1s linear infinite; }
.anfeng-balance-status.product-lookup-loading { display: block; margin: 12px 0 4px; padding: 17px 16px 15px; }
.anfeng-balance-status.product-lookup-loading .product-lookup-loading-head strong { color: #183d5c; font-size: 15px; font-weight: 850; line-height: 1.35; }
.anfeng-balance-status.product-lookup-loading .product-lookup-loading-head span { margin-top: 3px; color: #71869a; font-size: 12px; line-height: 1.4; }
html[data-theme="dark"] .anfeng-balance-status { border-color: rgba(103,173,242,.22); background: rgba(68,144,220,.12); color: #a8bfd4; }
html[data-theme="dark"] .anfeng-balance-status strong { color: #c6e2fb; }
html[data-theme="dark"] .anfeng-balance-status p { color: #9bb8d0; }
html[data-theme="dark"] .anfeng-balance-status.product-lookup-loading .product-lookup-loading-head strong { color: #eaf5ff; }
html[data-theme="dark"] .anfeng-balance-status.product-lookup-loading .product-lookup-loading-head span { color: #9bb8d0; }
@keyframes product-lookup-scan { to { transform: rotate(360deg); } }
@keyframes product-lookup-focus { 0%, 100% { transform: scale(.9); opacity: .66; } 50% { transform: scale(1); opacity: 1; } }
@keyframes product-lookup-travel { 0% { transform: translateX(-105%); } 100% { transform: translateX(240%); } }
html[data-theme="dark"] .product-lookup-loading { border-color: rgba(126, 185, 235, 0.14); background: rgba(22, 32, 44, 0.88); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
html[data-theme="dark"] .product-lookup-loading-head strong { color: #eaf5ff; }
html[data-theme="dark"] .product-lookup-loading-head span { color: #9bb8d0; }
html[data-theme="dark"] .product-lookup-radar { border-color: rgba(103, 173, 242, .22); background: rgba(68, 144, 220, .1); }
html[data-theme="dark"] .product-lookup-route::before { background: rgba(153, 190, 222, .18); }
html[data-theme="dark"] .product-lookup-route i { border-color: #52677a; background: #1a2734; }
html[data-theme="dark"] .product-lookup-route b { color: #8498aa; }
html[data-theme="dark"] .product-lookup-route .is-complete b { color: #91cdb2; }
html[data-theme="dark"] .product-lookup-route .is-active i { border-color: #67b0f4; background: #1d2d3c; }
html[data-theme="dark"] .product-lookup-route .is-active b { color: #aad6ff; }
html[data-theme="dark"] .product-lookup-progress { background: rgba(147, 185, 217, .12); }
html[data-theme="dark"] .product-lookup-progress i { background: #67b0f4; }
@media (prefers-reduced-motion: reduce) {
	.product-lookup-radar i, .product-lookup-route .is-active i, .product-lookup-progress i { animation: none; }
	.product-lookup-progress i { width: 58%; transform: none; }
}

.express-coupon {
  position: relative;
  isolation: isolate;
  min-height: 148px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 22px 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 255, 255, 0.34), transparent 4.6rem),
    linear-gradient(135deg, #126dff 0%, #31aaff 60%, #55c6ff 100%);
  box-shadow: 0 20px 42px rgba(22, 119, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.express-coupon::before,
.express-coupon::after {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-strong);
  transform: translateY(-50%);
}

.express-coupon::before { left: -11px; }
.express-coupon::after { right: -11px; }

.express-coupon:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  filter: saturate(1.04);
}

.express-coupon-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 17px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.express-coupon-icon svg {
  width: 28px;
  height: 28px;
}

.express-coupon-copy {
  min-width: 0;
}

.express-coupon-copy strong,
.express-coupon-copy small {
  display: block;
  letter-spacing: 0;
}

.express-coupon-copy strong {
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
}

.express-coupon-copy small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  white-space: nowrap;
}

.express-coupon-action {
  min-width: 82px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 15px;
  color: #0d67d5;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(10, 78, 176, 0.18), inset 0 1px 0 #ffffff;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.express-coupon-action i {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 359px) {
  .express-coupon {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 18px 16px;
  }

  .express-coupon-icon {
    width: 46px;
    height: 46px;
  }

  .express-coupon-action {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
  }
}

.service-booking-fields {
	display: grid;
	gap: 18px;
	margin-bottom: 18px;
}

.service-form-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(32, 74, 125, 0.08);
}

.service-brand-mark {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 15px;
	color: #fff;
	background: #e2231a;
	box-shadow: 0 12px 24px rgba(226, 35, 26, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32);
	font-size: 15px;
	font-weight: 950;
}

.service-form-head strong {
	display: block;
	font-size: 19px;
	font-weight: 950;
}

.service-form-head p,
.jd-availability-guide p {
	margin: 4px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}

.jd-availability-guide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px solid rgba(226, 35, 26, 0.12);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(255, 248, 248, 0.96), rgba(255, 255, 255, 0.82));
}

.jd-availability-guide strong {
	font-size: 15px;
	font-weight: 950;
}

.jd-availability-guide a {
	min-width: 90px;
	height: 40px;
	display: grid;
	place-items: center;
	padding: 0 13px;
	border-radius: 14px;
	color: #fff;
	background: #e2231a;
	box-shadow: 0 10px 22px rgba(226, 35, 26, 0.16);
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

.service-address-group,
.appointment-section {
	display: grid;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid rgba(32, 74, 125, 0.08);
}

.service-section-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.service-section-title strong {
	font-size: 16px;
	font-weight: 950;
}

.service-section-title span {
	color: #748196;
	font-size: 12px;
	font-weight: 750;
}

.service-contact-grid,
.service-region-grid {
	display: grid;
	gap: 9px;
}

.service-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-region-grid label:last-child { grid-column: 1 / -1; }

.service-address-group label,
.service-time-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.service-address-group label > span,
.service-time-field > span {
	color: #748196;
	font-size: 12px;
	font-weight: 800;
}

.service-address-group input,
.service-address-group select,
.service-address-group textarea,
.service-time-field select {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 0 12px;
	border: 1px solid rgba(32, 74, 125, 0.1);
	border-radius: 15px;
	outline: 0;
	color: var(--text);
	background: rgba(246, 249, 253, 0.92);
	font-size: 16px !important;
	font-weight: 700;
	letter-spacing: 0;
}

.service-address-group textarea {
	min-height: 76px;
	padding: 12px;
	resize: none;
	line-height: 1.5;
}

.service-address-group input:focus,
.service-address-group select:focus,
.service-address-group textarea:focus,
.service-time-field select:focus {
	border-color: rgba(22, 119, 255, 0.42);
	box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.08);
}

.service-confirm-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 9px 12px;
	border-radius: 14px;
	color: #445066;
	background: rgba(238, 245, 255, 0.72);
	font-size: 13px;
	font-weight: 800;
}

.service-confirm-check input {
	flex: 0 0 auto;
	width: 21px;
	height: 21px;
	margin: 0;
	accent-color: var(--blue);
}

.same-address { margin-top: -4px; }

.date-choice-row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(68px, 1fr);
	gap: 7px;
	overflow-x: auto;
	padding: 2px 0 6px;
	scrollbar-width: none;
}

.date-choice-row::-webkit-scrollbar { display: none; }

.date-choice-row button {
	min-height: 58px;
	padding: 8px 6px;
	border: 1px solid rgba(32, 74, 125, 0.09);
	border-radius: 16px;
	color: #3f4a5e;
	background: rgba(247, 250, 254, 0.9);
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.date-choice-row button:active { transform: scale(0.97); }
.date-choice-row button b,
.date-choice-row button span { display: block; }
.date-choice-row button b { font-size: 14px; }
.date-choice-row button span { margin-top: 4px; color: var(--muted); font-size: 11px; }

.date-choice-row button.active {
	border-color: rgba(22, 119, 255, 0.5);
	color: #0d61cf;
	background: linear-gradient(180deg, #f8fcff, #e8f3ff);
	box-shadow: 0 10px 22px rgba(22, 119, 255, 0.12), inset 0 0 0 1px rgba(22, 119, 255, 0.14);
}

.service-product-prompt {
	padding: 18px 14px;
	border-radius: 18px;
	color: #647187;
	background: rgba(241, 246, 252, 0.82);
	font-size: 13px;
	font-weight: 800;
	text-align: center;
}

.service-grid-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card.service-product {
	min-height: 116px;
	background: linear-gradient(180deg, rgba(250, 253, 255, 0.98), rgba(238, 246, 255, 0.88));
}

.product-card.service-product.active {
	border-color: var(--blue);
	background: #fff;
}

.service-product-kicker {
	display: block;
	margin-bottom: 5px;
	color: #6f7d92;
	font-size: 11px;
	font-weight: 850;
}

.service-order-info {
	display: grid;
	gap: 7px;
	margin-top: 10px;
	padding: 11px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.74);
}

.service-order-info p { margin: 0 !important; line-height: 1.55; }
.service-order-info b { color: #38445a; }
.manual-order-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
	margin-top: 10px;
	padding: 10px 11px;
	border-radius: 14px;
	background: rgba(235, 245, 255, 0.8);
}

.manual-order-info p {
	margin: 0 !important;
	color: #55647a !important;
	font-size: 12px !important;
	line-height: 1.5;
	word-break: break-word;
}

.manual-order-info b { color: #334158; }

.service-voucher-card {
	display: grid;
	gap: 10px;
	margin-top: 14px;
	padding: 13px;
	border: 1px solid rgba(22, 119, 255, 0.14);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(236, 246, 255, 0.9));
}

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

.service-voucher-head strong {
	color: #1b2b45;
	font-size: 15px;
	font-weight: 950;
}

.service-voucher-head span {
	padding: 4px 7px;
	border-radius: 8px;
	color: #0e66d1;
	background: #e3f0ff;
	font-size: 11px;
	font-weight: 850;
}

.service-voucher-gallery {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	gap: 10px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	touch-action: pan-x;
	-webkit-overflow-scrolling: touch;
}

.service-voucher-gallery::-webkit-scrollbar { display: none; }

.service-voucher-image {
	position: relative;
	flex: 0 0 100%;
	margin: 0;
	display: block;
	overflow: hidden;
	border: 1px solid rgba(32, 74, 125, 0.08);
	border-radius: 14px;
	background: #fff;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.service-voucher-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.service-voucher-image figcaption {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 4px 8px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	color: #fff;
	background: rgba(19, 31, 50, 0.66);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 10px;
	font-weight: 800;
}

.service-voucher-swipe {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: #65738a;
	font-size: 11px;
	font-weight: 750;
}

.service-voucher-swipe > div {
	display: flex;
	align-items: center;
	gap: 4px;
}

.service-voucher-swipe i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #bfcee0;
	transition: width 0.2s ease, background 0.2s ease;
}

.service-voucher-swipe i.active {
	width: 16px;
	border-radius: 999px;
	background: #1677ff;
}

.service-voucher-card > p {
	margin: 0 !important;
	color: #58667b !important;
	font-size: 13px !important;
	line-height: 1.6;
	white-space: pre-wrap;
}
.service-price-line span:nth-child(2) { visibility: hidden; }

.status-text.service_pending,
.status-text.service_scheduled,
.status-badge.service_pending,
.status-badge.service_scheduled {
	color: #0d67d5;
	background: #eaf3ff;
}

.status-text.service_pickup,
.status-text.service_cleaning,
.status-text.service_returning,
.status-text.service_in_progress,
.status-badge.service_pickup,
.status-badge.service_cleaning,
.status-badge.service_returning,
.status-badge.service_in_progress {
	color: #a36300;
	background: #fff5d9;
}

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

.product-section-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 6px;
  padding: 0 2px;
}

.product-section-copy {
	display: grid;
	justify-items: start;
	gap: 6px;
	width: 100%;
	min-width: 0;
}

.product-section-copy > .product-section-title-row > strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 950;
}

.product-section-copy > span {
	max-width: 100%;
  min-width: 0;
	padding: 4px 7px;
	border-radius: 8px;
	color: #0b66d7;
	background: rgba(22, 119, 255, 0.08);
  font-size: 12px;
	font-weight: 900;
	line-height: 1.35;
	text-align: left;
}

.success-rate-button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 4px;
	min-height: 30px;
	padding: 4px 2px;
	border: 0;
	border-bottom: 1px solid rgba(22, 119, 255, 0.22);
	border-radius: 0;
	color: #4c7eb5;
	background: transparent;
	font-size: 11px;
	opacity: 0.78;
	transition: transform 160ms ease, opacity 160ms ease, color 160ms ease;
}

.success-rate-button span {
	font-size: 15px;
	line-height: 1;
}

.success-rate-button b {
	font-size: 10px;
	font-weight: 700;
	white-space: nowrap;
}

.success-rate-button:active {
	transform: scale(0.97);
	opacity: 1;
}

.success-rate-button:hover,
.success-rate-button:focus-visible {
	color: #1677ff;
	opacity: 1;
}

.success-rate-sheet {
	width: min(92vw, 430px);
	padding: 22px 18px 18px;
}

.success-rate-head {
	display: grid;
	gap: 6px;
	padding-right: 34px;
}

.success-rate-head small {
	color: #1677ff;
	font-size: 11px;
	font-weight: 900;
}

.success-rate-head h3 {
	margin: 0;
	font-size: 21px;
}

.success-rate-head p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.success-rate-head p strong {
	color: #1677ff;
	font-size: 24px;
}

.success-rate-list {
	display: grid;
	gap: 6px;
	margin-top: 16px;
}

.success-rate-row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 9px 2px;
	border-bottom: 1px solid var(--line);
	background: transparent;
}

.success-rate-row strong {
	font-size: 13px;
}

.success-rate-row > b {
	color: #1677ff;
	font-size: 14px;
	text-align: right;
}

.success-rate-row.is-ported {
	border-bottom-style: dashed;
}

.success-rate-subhead {
	margin: 16px 0 -8px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 800;
}

.success-rate-note {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.6;
}

.success-rate-loading,
.success-rate-empty {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 28px 12px 18px;
	color: var(--muted);
	text-align: center;
}

.success-rate-loading i {
	width: 24px;
	height: 24px;
	border: 3px solid rgba(22, 119, 255, 0.15);
	border-top-color: #1677ff;
	border-radius: 50%;
	animation: spin 800ms linear infinite;
}

/* Resource facts stay on the title baseline, reading as one compact appendix. */
.product-section-title-row { display:flex; align-items:center; gap:8px; width:100%; min-width:0; }
.phone-section-performance { display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; min-width:0; margin-left:auto; white-space:nowrap; }
.phone-performance-item { display:inline-flex; align-items:baseline; gap:3px; min-height:20px; padding:2px 0; white-space:nowrap; }
.phone-performance-item::before { content:""; width:4px; height:4px; flex:0 0 4px; margin-right:1px; border-radius:50%; background:#e88739; }
.phone-performance-item.is-arrival::before { background:#1caaa0; }
.phone-performance-label { color:#718096; font-size:8px; font-weight:850; line-height:1; white-space:nowrap; }
.phone-performance-value { display:inline-flex; align-items:baseline; min-width:15px; color:#bf642b; font-size:12px; font-weight:950; line-height:1; font-variant-numeric:tabular-nums; white-space:nowrap; }
.phone-performance-item.is-arrival .phone-performance-value { color:#087c75; }
.phone-performance-value small { margin-left:1px; color:#68788b; font-size:8px; font-weight:850; }
.phone-performance-value.is-loading { width:25px; min-height:8px; border-radius:3px; background:linear-gradient(90deg,rgba(154,183,211,.16),rgba(154,183,211,.42),rgba(154,183,211,.16)); background-size:200% 100%; animation:phone-metric-loading 1.2s ease-in-out infinite; }
.phone-performance-divider { width:1px; height:13px; flex:0 0 1px; background:rgba(32,74,125,.16); }
.phone-resource-detail { display:inline-flex; align-items:center; gap:3px; min-height:22px; flex:0 0 auto; padding:2px 0 2px 2px; border:0; color:#1269d8; background:transparent; font:inherit; font-size:9px; font-weight:850; white-space:nowrap; cursor:pointer; -webkit-tap-highlight-color:transparent; transition:transform 160ms ease, color 160ms ease; }
.phone-resource-detail:hover { color:#075fca; background:transparent; }
.phone-resource-detail:active { transform:scale(.97); }
.phone-resource-detail:focus-visible { outline:2px solid #1677ff; outline-offset:2px; }
.phone-detail-arrow { position:relative; width:7px; height:7px; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(45deg); }
@keyframes phone-metric-loading { 50% { opacity:.5; } }
.product-card { position:relative; }
.product-card-select { position:absolute; inset:0; z-index:1; width:100%; height:100%; border:0; background:transparent; cursor:pointer; }
.product-card > :not(.product-card-select) { position:relative; z-index:2; pointer-events:none; }
.phone-resource-detail-modal { z-index:80; }
.phone-resource-detail-sheet { width:min(92vw,520px); padding:22px 18px 18px; }
.phone-resource-detail-head { display:grid; gap:5px; padding-right:34px; }
.phone-resource-detail-head small { color:#1677ff; font-size:11px; font-weight:900; }
.phone-resource-detail-head h3 { margin:0; font-size:21px; }
.phone-resource-summary { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
.phone-resource-summary span { display:grid; gap:3px; padding:11px; border-radius:12px; background:rgba(22,119,255,.07); }
.phone-resource-summary b { color:#1269d8; font-size:19px; }
.phone-resource-summary small { color:var(--muted); font-size:10px; }
.phone-resource-carrier-list { display:grid; gap:6px; margin-top:17px; }
.phone-resource-carrier-row { display:grid; grid-template-columns:minmax(92px,1fr) minmax(78px,auto) minmax(92px,auto); align-items:center; gap:7px; padding:11px 0; border-bottom:1px solid var(--line); }
.phone-resource-carrier-row strong { font-size:13px; }
.phone-resource-carrier-row span { display:grid; gap:2px; text-align:right; }
.phone-resource-carrier-row b { color:#1269d8; font-size:13px; }
.phone-resource-carrier-row small { color:var(--muted); font-size:9px; }
.phone-resource-detail-note { margin:14px 0 0; color:var(--muted); font-size:11px; line-height:1.55; }
.phone-resource-empty { display:grid; gap:4px; padding:22px 8px; color:var(--muted); text-align:center; }
.phone-resource-empty strong { color:var(--text); }

.order-progress-track { position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:14px 0 12px; padding:15px 8px 12px; border:1px solid rgba(22,119,255,.13); border-radius:14px; background:rgba(22,119,255,.035); overflow:hidden; }
.order-progress-track.is-compact { margin:10px 0 8px; padding:10px 3px 8px; border:0; background:rgba(22,119,255,.035); }
.order-progress-line { position:absolute; top:29px; left:16%; right:16%; height:3px; border-radius:3px; background:rgba(22,119,255,.12); overflow:hidden; }
.order-progress-line i { display:block; width:var(--order-progress); height:100%; border-radius:inherit; background:#1677ff; transition:width 500ms ease; }
.order-progress-step { position:relative; z-index:1; display:grid; justify-items:center; gap:4px; min-width:0; text-align:center; }
.order-progress-step span { display:grid; place-items:center; width:28px; height:28px; border:3px solid #c9d8ea; border-radius:50%; color:#7e91a9; background:var(--surface,#fff); font-size:11px; font-weight:900; }
.order-progress-step strong { color:var(--muted); font-size:11px; white-space:nowrap; }
.order-progress-step small { color:var(--muted); font-size:9px; white-space:nowrap; }
.order-progress-step.is-done span { border-color:#1677ff; color:#fff; background:#1677ff; }
.order-progress-step.is-done strong { color:#1269d8; }
.order-progress-step.is-active span { border-color:#1677ff; color:#1677ff; background:var(--surface,#fff); box-shadow:0 0 0 5px rgba(22,119,255,.1); animation:order-progress-pulse 1.8s ease-in-out infinite; }
.order-progress-step.is-active strong { color:#1269d8; }
.order-progress-step.is-failed span { border-color:#d64e62; color:#fff; background:#d64e62; }
.order-progress-step.is-failed strong { color:#b63149; }
.order-progress-step.is-partial span { border-color:#d88a28; color:#fff; background:#d88a28; }
.order-progress-step.is-partial strong { color:#a96513; }
.order-progress-track.has-partial .order-progress-line i { background:#d88a28; }
.partial-arrival-summary { color:#9a641e; font-weight:700; }
.order-progress-overdue { grid-column:1/-1; display:flex; justify-content:center; gap:6px; margin:3px 0 0; color:#a05d18; font-size:10px; }
.order-progress-overdue b { font-weight:900; }
.order-progress-overdue span { color:var(--muted); }
@keyframes order-progress-pulse { 50% { box-shadow:0 0 0 8px rgba(22,119,255,0); } }

html[data-theme="dark"] .phone-performance-item { border-bottom-color:rgba(143,196,255,.4); }
html[data-theme="dark"] .phone-performance-item.is-arrival { border-bottom-color:rgba(75,220,201,.58); }
html[data-theme="dark"] .phone-performance-label { color:#b5c4d4; }
html[data-theme="dark"] .phone-performance-value { color:#ffbd82; }
html[data-theme="dark"] .phone-performance-item.is-arrival .phone-performance-value { color:#73e1d2; }
html[data-theme="dark"] .phone-performance-value small { color:#b5c4d4; }
html[data-theme="dark"] .phone-performance-divider { background:rgba(143,196,255,.3); }
html[data-theme="dark"] .phone-resource-detail { color:#a4d0ff; border-bottom-color:rgba(98,172,255,.48); background:transparent; }
html[data-theme="dark"] .phone-resource-detail:hover { background:transparent; color:#d2e9ff; }
html[data-theme="dark"] .phone-resource-summary span, html[data-theme="dark"] .order-progress-track { background:rgba(64,139,224,.12); border-color:rgba(98,172,255,.25); }
html[data-theme="dark"] .phone-resource-summary b, html[data-theme="dark"] .phone-resource-carrier-row b { color:#8fc8ff; }
html[data-theme="dark"] .order-progress-step span { background:#172537; border-color:#49637e; }
html[data-theme="dark"] .order-progress-step.is-done span { background:#1677ff; border-color:#1677ff; }
html[data-theme="dark"] .order-progress-step.is-partial span { background:#d88a28; border-color:#d88a28; }
html[data-theme="dark"] .order-progress-step.is-partial strong,
html[data-theme="dark"] .partial-arrival-summary { color:#f0b968; }
@media (prefers-reduced-motion:reduce) { .order-progress-line i, .order-progress-step.is-active span { animation:none; transition:none; } }
@media (prefers-reduced-motion:reduce) { .phone-gauge-skeleton { animation:none; } }
@media (max-width:680px) {
	.product-section-head { align-items:center; flex-wrap:nowrap; gap:6px; }
	.product-section-copy { flex:1 1 auto; }
	.phone-section-performance { flex:0 0 auto; margin-left:auto; }
}
@media (max-width:390px) {
	.phone-section-performance { gap:5px; }
	.phone-performance-item { padding-left:7px; gap:2px; }
	.phone-performance-label { font-size:7px; }
	.phone-performance-value { font-size:12px; }
	.phone-resource-detail { font-size:8px; }
}

.product-grid-inner {
  display: grid;
  gap: 8px;
}

.direct-grid-inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coupon-grid-inner {
  grid-template-columns: 1fr;
}

.platform-flow-grid-inner {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  position: relative;
  min-height: 106px;
  padding: 20px 7px 12px;
  border: 1px solid rgba(32, 74, 125, 0.08);
  border-radius: 18px;
  background: rgba(247, 249, 252, 0.92);
  text-align: center;
  overflow: hidden;
  appearance: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.product-card:active {
  transform: scale(0.985);
}

.product-card.eligibility-checking {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}

.product-card.active {
  z-index: 2;
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.16), 0 12px 28px rgba(22, 119, 255, 0.14);
}

.product-card.active::after {
  content: "✓";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 16px 0 17px 0;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.product-card strong {
  display: block;
  color: var(--text);
	font-size: 27px;
  line-height: 1.08;
}

.product-card strong small {
  font-size: 14px;
}

.product-card span {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 4px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
	white-space: normal;
}

.product-card span b {
  color: var(--rose);
	font-size: 15px;
}

.product-card .product-price {
	display: grid;
	place-items: center;
	min-height: 24px;
	margin-top: 9px;
}

.product-card .product-price b {
	max-width: 100%;
	color: var(--rose);
	font-size: 18px;
	font-weight: 950;
	line-height: 1.15;
	white-space: nowrap;
}

.product-card.featured {
	overflow: visible;
	isolation: isolate;
	border-color: rgba(22, 119, 255, 0.42);
	background: linear-gradient(180deg, rgba(247, 252, 255, 0.99), rgba(229, 244, 255, 0.94));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 11px 24px rgba(22, 119, 255, 0.14);
}

.product-card.featured::before {
	display: none;
}

.product-card.featured .featured-tag {
	right: -2px;
	/* Float the recommendation sign above the card so its rotation never
	   competes with the centered face value and price. */
	top: -12px;
	max-width: 66px;
	padding: 5px 8px 6px 9px;
	border-radius: 0 14px 0 10px;
	background: linear-gradient(135deg, #ff9a26 0%, #ff6b18 58%, #f44a12 100%);
	box-shadow: 0 5px 10px rgba(226, 81, 15, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	font-size: 10px;
	transform: rotate(-9deg);
	transform-origin: 100% 0;
	z-index: 4;
}
.product-card.featured .featured-tag::before { content: "✓"; margin-right: 2px; }
.product-card.featured .featured-tag::after { content: ""; position: absolute; left: 8px; bottom: -3px; width: 7px; height: 7px; background: #f75b15; transform: rotate(49deg); z-index: -1; }

.product-card.featured .product-price b {
	color: #075fca;
}

.product-card.direct-sold-out {
	border-color: rgba(108, 119, 137, 0.16);
	background: rgba(240, 243, 247, 0.9);
	box-shadow: none;
	filter: saturate(0.45);
	cursor: pointer;
}

.product-card.direct-sold-out strong {
	color: #8a93a1;
}

.product-card.direct-sold-out .sold-out-tag {
	color: #ffffff;
	background: #8993a2;
}

.product-unavailable-note {
	min-height: 24px;
	margin-top: 9px;
	color: #737e8d;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.25;
}

.product-card.scheduled-closed,
.product-card.coupon-product.scheduled-closed {
	border-color: rgba(224, 147, 27, 0.3);
	background: linear-gradient(180deg, rgba(255, 252, 241, 0.98), rgba(255, 245, 218, 0.92));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 20px rgba(167, 106, 12, 0.08);
	cursor: pointer;
}

.product-card.scheduled-closed strong,
.product-card.coupon-product.scheduled-closed strong {
	color: #69440c;
}

.product-card .schedule-tag {
	color: #fff;
	background: #c47b0e;
}

.product-schedule-note {
	margin-top: 4px;
	color: #9a610b;
	font-size: 11px;
	font-weight: 850;
	line-height: 1.25;
	white-space: normal;
}

.restricted-state {
	display: grid;
	gap: 7px;
	padding: 24px 20px;
	border-color: rgba(164, 77, 67, 0.18);
	background: rgba(255, 248, 246, 0.88);
}

.restricted-state strong {
	color: #753b35;
	font-size: 16px;
}

.restricted-state span {
	color: #765f5b;
	font-size: 13px;
	line-height: 1.6;
}

.product-card.coupon-product span b {
  color: var(--blue);
}

.product-card.coupon-product {
  overflow: hidden;
  min-height: 128px;
  padding: 17px 16px 15px;
  border-color: rgba(195, 112, 73, 0.2);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 178, 124, 0.3), transparent 38%),
    linear-gradient(138deg, rgba(255, 252, 247, 0.97), rgba(255, 235, 225, 0.92) 58%, rgba(244, 232, 255, 0.88)),
    #fff8f4;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 12px 28px rgba(123, 68, 51, 0.09);
}

.coupon-voucher-watermark {
	position: absolute;
	right: 13px;
	bottom: 13px;
	z-index: 0;
	width: 70px;
	height: 52px;
	opacity: 0.22;
	transform: rotate(-7deg);
}

.coupon-voucher-watermark::before,
.coupon-voucher-watermark::after {
	content: "";
	position: absolute;
	inset: 7px 0 0 7px;
	border: 2px solid #cc6b4a;
	border-radius: 9px;
	background:
		radial-gradient(circle at 0 50%, transparent 0 4px, #fff3e9 4.5px) left center / 8px 12px no-repeat,
		radial-gradient(circle at 100% 50%, transparent 0 4px, #fff3e9 4.5px) right center / 8px 12px no-repeat;
}

.coupon-voucher-watermark::after {
	inset: 0 7px 7px 0;
	border-color: #8a67b6;
	background: transparent;
}

.coupon-voucher-watermark span {
	position: absolute;
	right: 19px;
	bottom: 9px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1px dashed currentColor;
	border-radius: 50%;
	color: #b6543e;
	font-size: 14px;
	font-weight: 950;
}

.product-card.coupon-product > :not(.coupon-voucher-watermark) {
	position: relative;
	z-index: 1;
}

.product-card.coupon-product .product-tag {
	position: absolute;
	right: -1px;
	top: -1px;
	max-width: 78px;
	padding: 5px 9px 6px;
	border-radius: 0 18px 0 12px;
}

.product-card.featured.coupon-product { overflow: visible; }

.product-card.featured.coupon-product .featured-tag::after { display: block; }

.product-card.platform-flow-product {
	display: grid;
	min-height: 116px;
	padding: 15px 14px 13px;
	grid-template-rows: auto 1fr auto;
	align-content: start;
	gap: 8px;
	text-align: left;
}

.platform-flow-product .platform-flow-meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	min-width: 0;
	margin: 0;
	column-gap: 0;
	color: var(--blue);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.platform-flow-meta > span {
	display: block;
	margin: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	white-space: inherit;
}

.platform-flow-meta i {
	width: 3px;
	height: 3px;
	margin: 0 7px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.42;
}

.platform-flow-product > strong {
	display: -webkit-box;
	overflow: hidden;
	color: var(--text);
	font-size: 15px;
	line-height: 1.32;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.platform-flow-product .platform-flow-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: nowrap;
	column-gap: 8px;
	margin-top: 2px;
	white-space: nowrap;
}

.platform-flow-price small {
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
}

.platform-flow-price .platform-flow-limit {
	color: #e05676;
	font-weight: 800;
}

.platform-flow-price .platform-flow-phone-fee {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 0 7px;
	border: 1px solid rgba(211, 55, 76, 0.18);
	border-radius: 6px;
	color: #b4233f;
	background: #fff0f3;
	font-weight: 850;
}

.platform-flow-product.has-phone-fee-risk {
	border-color: rgba(211, 55, 76, 0.2);
}

.notice-rich-body.has-phone-fee-risk {
	padding: 14px;
	border: 1px solid rgba(211, 55, 76, 0.2);
	border-radius: 8px;
	color: #7f1d32;
	background: #fff5f6;
	font-weight: 700;
}

html[data-theme="dark"] .platform-flow-price .platform-flow-phone-fee,
html[data-theme="dark"] .notice-rich-body.has-phone-fee-risk {
	border-color: rgba(255, 132, 149, 0.24);
	color: #ffb0bd;
	background: rgba(104, 34, 46, 0.34);
}

.platform-flow-price b {
	color: #ff2f68;
	font-size: 20px;
	line-height: 1;
}

.product-card.coupon-product strong {
  max-width: calc(100% - 58px);
  color: #663128;
  font-size: 22px;
  line-height: 1.18;
}

.product-card.coupon-product p {
  margin: 6px 0 0;
  color: #7e625c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.coupon-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.coupon-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0;
  padding: 4px 9px;
  border: 1px solid rgba(210, 107, 70, 0.24);
  border-radius: 999px;
  color: #b94f2f;
  background: rgba(255, 246, 239, 0.84);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.product-card.coupon-product small {
  display: block;
  margin-top: 12px;
  color: #a74463;
  font-size: 15px;
  font-weight: 950;
}

.product-card.coupon-product.sold-out {
	border-color: rgba(108, 119, 137, 0.16);
	background: rgba(244, 247, 251, 0.86);
	box-shadow: none;
	filter: saturate(0.55);
}

.product-card.coupon-product.sold-out strong,
.product-card.coupon-product.sold-out small {
	color: #727d8d;
}

.product-card.maintenance,
.product-card.coupon-product.maintenance {
	border-color: rgba(116, 126, 142, 0.2);
	background: rgba(241, 244, 248, 0.92);
	box-shadow: none;
	filter: saturate(0.32);
	cursor: pointer;
}

html[data-theme="dark"] .product-card.scheduled-closed,
html[data-theme="dark"] .product-card.coupon-product.scheduled-closed {
	border-color: rgba(246, 181, 72, 0.3);
	background: linear-gradient(180deg, rgba(61, 48, 25, 0.96), rgba(46, 37, 22, 0.98));
	box-shadow: inset 0 1px 0 rgba(255, 220, 154, 0.06), 0 10px 24px rgba(0, 0, 0, 0.16);
}

html[data-theme="dark"] .product-card.coupon-product:not(.maintenance):not(.sold-out):not(.scheduled-closed) {
	border-color: rgba(224, 143, 107, 0.24);
	background:
		radial-gradient(circle at 92% 8%, rgba(159, 83, 62, 0.24), transparent 38%),
		linear-gradient(138deg, rgba(54, 39, 39, 0.97), rgba(57, 37, 45, 0.96) 58%, rgba(43, 37, 60, 0.95));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .product-card.coupon-product strong { color: #ffe3d8; }
html[data-theme="dark"] .product-card.coupon-product p { color: #cfada5; }
html[data-theme="dark"] .product-card.coupon-product small { color: #ff9db7; }
html[data-theme="dark"] .coupon-benefits span {
	border-color: rgba(237, 146, 106, 0.22);
	color: #ffc0a4;
	background: rgba(126, 65, 49, 0.23);
}
html[data-theme="dark"] .coupon-voucher-watermark::before {
	border-color: #e69b78;
	background:
		radial-gradient(circle at 0 50%, transparent 0 4px, #3a2930 4.5px) left center / 8px 12px no-repeat,
		radial-gradient(circle at 100% 50%, transparent 0 4px, #3a2930 4.5px) right center / 8px 12px no-repeat;
}
html[data-theme="dark"] .coupon-voucher-watermark::after { border-color: #b493db; }
html[data-theme="dark"] .coupon-voucher-watermark span { color: #ffc0a4; }

html[data-theme="dark"] .product-card.scheduled-closed strong,
html[data-theme="dark"] .product-card.coupon-product.scheduled-closed strong {
	color: #ffe0a3;
}

html[data-theme="dark"] .product-schedule-note {
	color: #e5b75f;
}

html[data-theme="dark"] .restricted-state {
	border-color: rgba(235, 127, 112, 0.22);
	background: rgba(48, 30, 30, 0.78);
}

html[data-theme="dark"] .restricted-state strong {
	color: #ffc2ba;
}

html[data-theme="dark"] .restricted-state span {
	color: #d7b4af;
}

.product-card.maintenance strong,
.product-card.coupon-product.maintenance strong,
.product-card.coupon-product.maintenance p,
.product-card.coupon-product.maintenance small {
	color: #778291;
}

.product-card .maintenance-tag {
	color: #ffffff;
	background: #7c8796;
}

.product-maintenance-note {
	min-height: 24px;
	margin-top: 9px;
	color: #697585;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.25;
}

.product-tag {
  position: absolute;
  right: -1px;
  top: -1px;
  min-width: 42px;
  max-width: 66px;
  padding: 4px 7px 5px;
  border-radius: 0 18px 0 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff5f8f, #ff8a34);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

/* The card's click-layer rule must never pull a badge back into the flow. */
.product-card > .product-tag {
	position: absolute;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px 14px;
  color: var(--muted);
  text-align: center;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.service-row span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 4px;
  border: 1px solid rgba(32, 74, 125, 0.08);
  border-radius: 15px;
  color: #5f6875;
  background: rgba(250, 252, 255, 0.78);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.mini-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  color: var(--blue);
}

.mini-icon.shield,
.mini-icon.bolt,
.mini-icon.clock {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.shield::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 8px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.mini-icon.bolt::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 7px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(60% 0, 12% 54%, 50% 54%, 36% 100%, 90% 42%, 53% 42%);
}

.mini-icon.search::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.search::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.mini-icon.clock::before,
.mini-icon.clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  background: currentColor;
  transform-origin: 0 50%;
}

.mini-icon.clock::before {
  width: 2px;
  height: 7px;
  transform: translate(-1px, -6px);
}

.mini-icon.clock::after {
  width: 6px;
  height: 2px;
  transform: translate(-1px, -1px) rotate(32deg);
}

.notice-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 20px;
}

.notice-bar strong {
  color: var(--blue);
  font-size: 15px;
}

.notice-bar span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #3a4350;
}

.promotion-banner {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(44, 73, 111, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.promotion-banner[hidden] {
  display: none;
}

.promotion-banner:not(.is-static):active {
  transform: scale(0.985);
  box-shadow: 0 8px 20px rgba(44, 73, 111, 0.08);
}

.promotion-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.future-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  box-shadow: none;
}

.future-card h2,
.orders-head h2 {
  margin: 0;
  font-size: 22px;
}

.future-card p,
.orders-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.future-card button {
  width: 86px;
  height: 46px;
  border-radius: 15px;
  color: var(--muted);
  background: #eef2f8;
  font-weight: 800;
}

.soft-banner {
  min-height: 88px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.95), rgba(235, 249, 255, 0.95) 48%, rgba(255, 242, 247, 0.95));
}

.orders-page {
  display: none;
}

.orders-page.active {
  display: block;
}

.orders-head {
  padding: 20px 18px 18px;
  margin-bottom: 14px;
}

.orders-head-copy > span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #1767b7;
  background: rgba(22, 119, 255, 0.1);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.orders-head-copy h2 { margin-top: 10px; }

.orders-head-copy p {
  max-width: 32em;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.orders-head-copy h2 strong {
  color: #1677ff;
  font-size: 1.08em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.order-search {
  display: block;
  margin-bottom: 14px;
}

.order-search > label { display: grid; gap: 7px; }
.order-search > label > span { padding-left: 4px; color: #526171; font-size: 13px; font-weight: 800; }
.order-search > label > small { padding-left: 4px; color: #87919e; font-size: 11px; }

.order-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 9px;
}

.order-search .order-search-row button {
  height: 48px;
  border-radius: 24px;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.16);
}

.order-search .order-search-row button:disabled {
  opacity: 0.68;
  cursor: wait;
  box-shadow: none;
}

.order-search input {
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(32, 74, 125, 0.1);
  border-radius: 24px;
  outline: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.order-search input:focus {
  border-color: rgba(22, 119, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.order-lookup-feedback {
  margin: -4px 3px 12px;
  padding: 9px 11px;
  border-radius: 12px;
  color: #47637e;
  background: rgba(226, 240, 254, 0.74);
  font-size: 12px;
  line-height: 1.45;
}

.order-lookup-feedback.is-error { color: #a34738; background: rgba(255, 235, 230, 0.86); }
.order-lookup-feedback.is-success { color: #13734b; background: rgba(225, 247, 236, 0.88); }

#manualAfterSalesNotice[hidden] { display: none; }

.manual-after-sales-notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 13px;
  border: 1px solid rgba(198, 128, 45, 0.24);
  border-radius: 16px;
  color: #6d4b1c;
  background: #fff8e8;
  box-shadow: 0 8px 22px rgba(176, 120, 38, 0.07);
}

.manual-after-sales-notice.is-detail {
  margin: 10px 0 12px;
  border-radius: 14px;
  box-shadow: none;
}

.manual-after-sales-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #fff;
  background: #c47a20;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.manual-after-sales-copy { min-width: 0; }
.manual-after-sales-copy strong {
  display: block;
  margin: 1px 0 4px;
  color: #684414;
  font-size: 13px;
  line-height: 1.35;
}
.manual-after-sales-copy p {
  margin: 0;
  color: #765a31;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.manual-after-sales-copy .manual-after-sales-deadline {
  margin-top: 4px;
  color: #9a541e;
  font-weight: 800;
}

html[data-theme="dark"] .orders-head-copy > span { color: #9dccff; background: rgba(68, 145, 226, 0.16); }
html[data-theme="dark"] .orders-head-copy h2 strong { color: #6db5ff; }
html[data-theme="dark"] .order-search > label > span { color: #c4ceda; }
html[data-theme="dark"] .order-search > label > small { color: #8f9bad; }
html[data-theme="dark"] .order-lookup-feedback { color: #b8d8fa; background: rgba(40, 91, 143, 0.24); }
html[data-theme="dark"] .order-lookup-feedback.is-error { color: #ffb5a8; background: rgba(139, 57, 44, 0.22); }
html[data-theme="dark"] .order-lookup-feedback.is-success { color: #9fe2c2; background: rgba(33, 112, 77, 0.22); }
html[data-theme="dark"] .manual-after-sales-notice {
  border-color: rgba(232, 176, 83, 0.3);
  color: #f8e4b6;
  background: #382d1d;
  box-shadow: none;
}
html[data-theme="dark"] .manual-after-sales-icon { color: #241b0e; background: #e4aa52; }
html[data-theme="dark"] .manual-after-sales-copy strong { color: #ffe9bd; }
html[data-theme="dark"] .manual-after-sales-copy p { color: #d9c49b; }
html[data-theme="dark"] .manual-after-sales-copy .manual-after-sales-deadline { color: #ffca83; }

.order-search button,
.pay-links a,
.secondary-wide,
.order-actions button,
.customer-link {
  height: 46px;
  border-radius: 16px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 850;
}

.order-search button:active,
.pay-links a:active,
.secondary-wide:active,
.order-actions button:active {
  transform: translateY(1px);
}

.order-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: none;
}

.order-filters::-webkit-scrollbar {
  display: none;
}

.order-filters button {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  border-radius: 19px;
  color: #6f7784;
  background: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.order-filters button.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 -3px 0 var(--text);
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-card-item {
  padding: 0;
  overflow: hidden;
}

.order-open {
  width: 100%;
  padding: 18px;
  color: inherit;
  background: transparent;
  text-align: left;
}

.order-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.phone-mini {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #101421;
  font-size: 12px;
  font-weight: 900;
}

.phone-mini.has-image,
.order-product-icon.has-image,
.category-mark.has-image {
	overflow: visible;
	border: 0;
	color: transparent;
	background: transparent;
	box-shadow: none;
}

.phone-mini.has-image img,
.order-product-icon.has-image img,
.category-mark.has-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.phone-mini.has-image img,
.order-product-icon.has-image img,
.category-mark.has-image img { padding: 0; }

.order-card-top strong {
  font-size: 18px;
}

.status-text {
  margin-left: auto;
  color: var(--blue);
  font-size: 15px;
}

.status-text.failed,
.status-text.needs_config,
.status-text.cancelled {
  color: var(--rose);
}

.status-text.success {
  color: var(--green);
}

.status-text.refunded {
  color: var(--green);
}

.order-main {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  margin-top: 14px;
}

.order-main > div {
  min-width: 0;
}

.order-product-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(150deg, #ffad21, #ff6a00);
  font-size: 34px;
  font-weight: 950;
}

.order-main h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.25;
}

.order-main p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.arrival-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(35, 123, 255, 0.18);
  border-radius: 999px;
  color: #0967d8;
  background: rgba(44, 132, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.arrival-notice .mini-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.coupon-next-step {
  display: grid;
  gap: 2px;
  margin-top: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 14px;
  color: #0b63d8;
  background: rgba(22, 119, 255, 0.08);
  font-size: 13px;
  line-height: 1.35;
}

.coupon-next-step b {
  color: #075fca;
  font-size: 13px;
  font-weight: 950;
}

.coupon-next-step span {
  color: #4f6684;
  font-weight: 780;
}

.coupon-next-step.active {
  border-color: rgba(255, 112, 67, 0.24);
  color: #c55119;
  background: rgba(255, 132, 72, 0.1);
}

.coupon-next-step.active b {
  color: #c55119;
}

.detail-arrival-notice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 4px;
  padding: 8px 11px;
  border: 1px solid rgba(35, 123, 255, 0.18);
  border-radius: 999px;
  color: #0967d8;
  background: rgba(44, 132, 255, 0.1);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.detail-arrival-notice .mini-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.order-money {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: #8e95a1;
  font-size: 14px;
}

.order-money b {
  color: #707987;
  font-size: 18px;
}

.order-money strong {
  color: var(--text);
  font-size: 18px;
}

.order-money .cps-member-saving,
.order-money .cps-member-saving b {
	color: #13804f;
}

.order-payment-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(32, 74, 125, 0.08);
	color: #8993a2;
	font-size: 13px;
	line-height: 1.4;
}

.order-payment-meta strong {
	color: #344054;
	font-size: 13px;
	font-weight: 850;
}

.order-payment-meta.is-unpaid {
	flex-wrap: wrap;
}

.order-payment-meta.is-unpaid strong {
	color: #e78315;
}

.order-payment-meta em {
	flex: 0 0 100%;
	color: #a0a8b5;
	font-size: 12px;
	font-style: normal;
	text-align: right;
}

.redemption-list-meta {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	margin: 14px 18px 0;
	padding: 10px 12px;
	border-radius: 14px;
	color: #166a4b;
	background: rgba(229, 249, 241, 0.88);
	text-align: left;
}

.redemption-list-meta i {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #ffffff;
	background: #14a66b;
	font-style: normal;
	font-weight: 950;
}

.redemption-list-meta strong,
.redemption-list-meta small { display: block; }

.redemption-list-meta strong {
	font-size: 13px;
	font-weight: 900;
}

.redemption-list-meta small {
	margin-top: 2px;
	color: #668078;
	font-size: 11px;
	font-weight: 700;
}

.order-actions {
  display: flex;
	flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  padding: 0 18px 18px;
}

.order-actions button {
  width: auto;
  min-width: 82px;
  height: 40px;
  padding: 0 13px;
  color: #343b48;
  background: rgba(245, 247, 251, 0.95);
}

.order-actions button[data-pay-order] {
  color: #101421;
  background: #ffe300;
}

.order-actions .coupon-action-button {
  color: #ffffff;
  background: #1677ff;
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.22);
}

.order-actions .voucher-order-button {
	color: #075fca;
	border: 1px solid rgba(22, 119, 255, 0.18);
	background: linear-gradient(180deg, #f2f8ff, #e7f2ff);
}

.order-actions .membership-card-action {
	color: #087843;
	border: 1px solid rgba(19, 170, 103, 0.26);
	background: linear-gradient(180deg, #effff7, #dcf8eb);
	box-shadow: 0 8px 18px rgba(19, 170, 103, 0.12);
}

.order-actions .membership-card-action:active {
	background: #d2f3e2;
}

html[data-theme="dark"] .order-actions .membership-card-action {
	color: #a7f0c8;
	border-color: rgba(81, 207, 146, 0.28);
	background: linear-gradient(180deg, #1d4434, #173529);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.status-badge {
  justify-self: end;
  align-self: start;
  max-width: 96px;
  padding: 7px 10px;
  border-radius: 12px;
  color: var(--blue);
  background: #eaf3ff;
  font-size: 12px;
  font-weight: 850;
  white-space: normal;
  text-align: center;
}

.status-badge.success {
  color: var(--green);
  background: #e9fff4;
}

.status-badge.refunded {
  color: #087a55;
  background: #e7fbf3;
}

.status-badge.failed,
.status-badge.needs_config,
.status-badge.cancelled {
  color: var(--rose);
  background: #fff0f5;
}

.status-badge.paid,
.status-badge.processing {
  color: #a56a00;
  background: #fff6dd;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(13, 20, 32, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-sheet {
  width: 100%;
  width: min(100%, 430px);
  max-width: 430px;
  max-height: 82vh;
  max-height: min(82dvh, 720px);
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(16, 28, 45, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.modal-sheet h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.25;
}

.notice-system-summary {
  display: grid;
  gap: 1px;
  margin: 4px 0 16px;
  overflow: hidden;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 8px;
  background: rgba(22, 119, 255, 0.09);
}

.notice-system-summary > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.74);
}

.notice-system-summary > div + div {
  border-top: 1px solid rgba(22, 119, 255, 0.1);
}

.notice-system-summary p {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin: 0;
  line-height: 1.4;
}

.notice-system-summary small {
  color: #64738a;
  font-size: 12px;
  font-weight: 750;
}

.notice-system-summary strong {
  color: #152238;
  font-size: 15px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.notice-system-summary .notice-arrival-row {
  background: rgba(237, 248, 255, 0.86);
}

.notice-system-summary .notice-arrival-row strong {
  color: #075ec8;
  font-size: 17px;
}

.notice-summary-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 8px;
  color: #1677ff;
  background: #e5f1ff;
}

.notice-summary-order::before {
  content: "";
  position: absolute;
  inset: 7px 8px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.notice-summary-order::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  top: 12px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.notice-summary-clock::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.notice-summary-clock::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 10px;
  width: 5px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.notice-rich-body {
  color: #5d6673;
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.notice-rich-body:empty {
  display: none;
}

.notice-rich-body mark {
  padding: 1px 4px;
  border-radius: 4px;
  color: #8b4300;
  background: #fff0a8;
  font-weight: 850;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.notice-disclaimer {
	position: relative;
	display: block;
	margin-top: 24px;
	padding: 15px 16px;
	border: 1px solid rgba(22, 119, 255, 0.34);
	border-radius: 8px;
	background: #f1f7ff;
	box-shadow: 0 8px 24px rgba(26, 91, 166, 0.08);
}

.notice-disclaimer[hidden] { display: none !important; }

.notice-disclaimer label {
	position: relative;
	min-width: 0;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.notice-disclaimer input {
	position: absolute;
	left: -8px;
	top: 50%;
	width: 44px;
	height: 44px;
	margin: -22px 0 0;
	opacity: 0;
	cursor: pointer;
}

.notice-disclaimer-check {
	position: relative;
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border: 2px solid #1677ff;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(22, 119, 255, 0.16);
	pointer-events: none;
	transition: transform 180ms cubic-bezier(.16, 1, .3, 1), background-color 180ms ease, border-color 180ms ease;
}

.notice-disclaimer-check::before {
	content: "";
	position: absolute;
	inset: -7px;
	border: 2px solid rgba(22, 119, 255, 0.42);
	border-radius: 12px;
	opacity: 0;
	transform: scale(.82);
	pointer-events: none;
	animation: notice-checkbox-breathe 1.65s ease-out infinite;
}

.notice-disclaimer-check::after {
	content: "";
	width: 10px;
	height: 6px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	opacity: 0;
	transform: translateY(-1px) rotate(-45deg) scale(.6);
	transition: opacity 150ms ease, transform 180ms cubic-bezier(.16, 1, .3, 1);
}

@keyframes notice-checkbox-breathe {
	0% { opacity: 0; transform: scale(.82); }
	35% { opacity: .85; }
	100% { opacity: 0; transform: scale(1.28); }
}

.notice-disclaimer input:focus-visible + .notice-disclaimer-check {
	outline: 3px solid rgba(22, 119, 255, 0.22);
	outline-offset: 4px;
}

.notice-disclaimer input:checked + .notice-disclaimer-check {
	border-color: #1677ff;
	background: #1677ff;
	transform: scale(1.04);
}

.notice-disclaimer input:checked + .notice-disclaimer-check::before { animation: none; opacity: 0; }
.notice-disclaimer input:checked + .notice-disclaimer-check::after { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }

.notice-disclaimer-copy {
	min-width: 0;
	display: grid;
	gap: 4px;
	color: #174c86;
	overflow-wrap: anywhere;
}

.notice-disclaimer-copy > strong {
	color: #0f5eb8;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.35;
}

.notice-disclaimer-copy > span {
	color: #244b76;
	font-size: 15px;
	font-weight: 780;
	line-height: 1.62;
}

.notice-disclaimer.is-accepted {
	border-color: rgba(22, 119, 255, 0.42);
	background: #eaf4ff;
	box-shadow: 0 8px 22px rgba(26, 91, 166, 0.06);
}

.notice-disclaimer.is-accepted .notice-disclaimer-copy > span { color: #174c86; }

@media (prefers-reduced-motion: reduce) {
	.notice-disclaimer-check::before { animation: none; opacity: .5; transform: scale(1); }
	.notice-disclaimer input:checked + .notice-disclaimer-check::before { opacity: 0; }
}

.notice-media-gallery {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.notice-media-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 74, 116, 0.12);
  border-radius: 8px;
  background: #f1f5f9;
}

.notice-media-gallery img,
.notice-media-gallery video {
  width: 100%;
  max-height: 320px;
  display: block;
  object-fit: contain;
  background: #eef3f8;
}

.notice-media-gallery.is-membership-media figure {
	overflow: visible;
	background: transparent;
}

.notice-media-gallery.is-membership-media img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	background: transparent;
}

.notice-media-gallery figcaption {
  padding: 8px 10px;
  color: #667388;
  background: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  text-align: center;
}

#noticeModal #confirmNotice {
  position: sticky;
  z-index: 2;
  bottom: 0;
  box-shadow: 0 -10px 22px rgba(255, 255, 255, 0.9), 0 16px 36px rgba(22, 119, 255, 0.22);
}

.modal-sheet p {
  margin: 0;
  color: #5d6673;
  line-height: 1.75;
  font-size: 17px;
}

html[data-theme="dark"] .notice-system-summary {
  border-color: rgba(91, 166, 255, 0.22);
  background: rgba(53, 125, 209, 0.14);
}

html[data-theme="dark"] .notice-system-summary > div,
html[data-theme="dark"] .notice-system-summary .notice-arrival-row {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(31, 43, 60, 0.92);
}

html[data-theme="dark"] .notice-system-summary small,
html[data-theme="dark"] .notice-rich-body {
  color: #b7c2d1;
}

html[data-theme="dark"] .notice-system-summary strong {
  color: #f4f7fb;
}

html[data-theme="dark"] .notice-system-summary .notice-arrival-row strong {
  color: #8dc6ff;
}

html[data-theme="dark"] .notice-summary-icon {
  color: #8dc6ff;
  background: rgba(58, 139, 232, 0.18);
}

html[data-theme="dark"] .notice-rich-body mark {
  color: #ffe8aa;
  background: rgba(205, 143, 28, 0.32);
}

html[data-theme="dark"] .notice-disclaimer {
	border-color: rgba(91, 166, 255, 0.38);
	background: rgba(24, 69, 116, 0.34);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .notice-disclaimer-check { border-color: #63a8f6; background: #111f31; box-shadow: 0 3px 12px rgba(55, 143, 244, 0.22); }
html[data-theme="dark"] .notice-disclaimer-check::before { border-color: rgba(99, 168, 246, 0.5); }
html[data-theme="dark"] .notice-disclaimer input:checked + .notice-disclaimer-check { background: #378ff0; }
html[data-theme="dark"] .notice-disclaimer-copy > strong { color: #a9d2ff; }
html[data-theme="dark"] .notice-disclaimer-copy > span { color: #d3e7ff; }
html[data-theme="dark"] .notice-disclaimer.is-accepted { border-color: rgba(91, 166, 255, 0.3); background: rgba(34, 94, 156, 0.24); }
html[data-theme="dark"] .notice-disclaimer.is-accepted .notice-disclaimer-copy > span { color: #c8e3ff; }

html[data-theme="dark"] .notice-media-gallery figure {
  border-color: rgba(255, 255, 255, 0.1);
  background: #111923;
}

html[data-theme="dark"] .notice-media-gallery img,
html[data-theme="dark"] .notice-media-gallery video {
  background: #111923;
}

html[data-theme="dark"] .notice-media-gallery figcaption {
  color: #acb8c8;
  background: rgba(24, 33, 47, 0.96);
}

html[data-theme="dark"] #noticeModal #confirmNotice {
  box-shadow: 0 -10px 22px rgba(24, 33, 47, 0.96), 0 16px 36px rgba(0, 0, 0, 0.32);
}

.modal-sheet > button:not(.plain-close),
.secondary-wide {
  width: 100%;
  margin-top: 18px;
}

.modal-sheet > button:not(.plain-close) {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(52, 140, 255, 0.94), rgba(58, 199, 255, 0.88)),
    var(--blue);
  box-shadow: 0 16px 36px rgba(22, 119, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-size: 16px;
  font-weight: 850;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.modal-sheet > button:not(.plain-close):active {
  transform: scale(0.985);
}

.modal-sheet button:disabled {
  color: #7f8b9b;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(235, 241, 248, 0.88)),
    #edf1f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 10px 22px rgba(31, 55, 92, 0.08);
}

.conflict-sheet {
  place-self: center;
  max-width: 390px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 214, 118, 0.2), transparent 44%),
    rgba(255, 255, 255, 0.97);
}

.conflict-sheet > small {
  display: block;
  margin: 10px 0 5px;
  color: #b56b00;
  font-size: 13px;
  font-weight: 850;
}

.android-browser-guide {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 2400;
  display: grid;
  align-content: start;
  justify-items: end;
  padding: max(152px, calc(env(safe-area-inset-top) + 126px)) 14px 24px;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.42), rgba(8, 18, 34, 0.16) 58%, rgba(8, 18, 34, 0.08));
  backdrop-filter: blur(2px) saturate(0.94);
  -webkit-backdrop-filter: blur(2px) saturate(0.94);
  animation: androidGuideVeilIn 0.22s ease-out both;
}

.android-browser-guide[hidden] {
  display: none;
}

.android-browser-guide-arrow {
  position: fixed;
  top: max(-8px, calc(env(safe-area-inset-top) - 8px));
  right: 18px;
  width: 96px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(10, 45, 92, 0.32));
  transform-origin: 50% 12%;
  will-change: transform;
  animation: androidGuideHandLift 1.05s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.android-browser-guide-card {
  width: min(100%, 344px);
  padding: 19px 18px 17px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  color: #111827;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 64px rgba(13, 53, 102, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  animation: androidGuideCardIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.android-browser-guide-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1677ff;
  font-size: 13px;
  font-weight: 850;
}

.android-browser-guide-brand i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #1677ff;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.22);
  font-size: 18px;
  font-style: normal;
}

.android-browser-guide-card h3 {
  margin: 15px 0 6px;
  font-size: 21px;
  line-height: 1.28;
}

.android-browser-guide-card > p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.android-browser-guide-card ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.android-browser-guide-card li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #dce8f8;
  border-radius: 14px;
  background: #f6faff;
  font-size: 14px;
}

.android-browser-guide-card li b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #1677ff;
  font-size: 14px;
}

.android-browser-guide-card li strong {
  color: #075fc7;
}

.android-browser-guide-card button {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  color: #475467;
  background: #edf2f7;
  font-size: 15px;
  font-weight: 800;
}

.android-browser-guide-card button:active {
  transform: scale(0.98);
  background: #e4ebf3;
}

.android-browser-guide-card small {
  display: block;
  margin-top: 12px;
  color: #98a2b3;
  text-align: center;
  font-size: 11px;
}

@keyframes androidGuideVeilIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes androidGuideCardIn {
  from { opacity: 0; transform: translate3d(12px, -8px, 0) scale(0.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes androidGuideHandLift {
  0%, 100% { transform: translate3d(0, 10px, 0) rotate(-1.5deg); }
  50% { transform: translate3d(0, -9px, 0) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .android-browser-guide,
  .android-browser-guide-card,
  .android-browser-guide-arrow {
    animation: none;
  }

}

.conflict-sheet h3 {
  margin-bottom: 10px;
}

.conflict-sheet p {
  text-align: left;
  color: #4f5968;
  line-height: 1.7;
}

.conflict-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ffbb3d, #ff7b38);
  box-shadow: 0 12px 28px rgba(255, 137, 45, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-size: 28px;
  font-weight: 900;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sheet-head h3 {
  margin: 0;
}

.manual-details-backdrop,
.manual-reminder-backdrop,
.order-edit-backdrop {
	z-index: 1020;
}

.order-edit-sheet { padding: 20px; }

.order-edit-sheet .sheet-head {
	align-items: flex-start;
	margin-bottom: 14px;
}

.order-edit-sheet .sheet-head small {
	display: block;
	margin-bottom: 4px;
	color: #1677ff;
	font-size: 12px;
	font-weight: 900;
}

.order-edit-sheet .sheet-head h3 { font-size: 22px; }

.order-edit-description {
	margin: 0 0 14px;
	color: #5f6d80;
	font-size: 14px;
	line-height: 1.6;
}

.order-edit-current {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: baseline;
	gap: 4px 10px;
	padding: 13px 14px;
	border: 1px solid rgba(22, 119, 255, 0.12);
	border-radius: 16px;
	background: rgba(235, 244, 255, 0.76);
}

.order-edit-current span { color: #728097; font-size: 12px; font-weight: 800; }

.order-edit-current strong {
	min-width: 0;
	color: #152238;
	font-size: 17px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.order-edit-current small {
	grid-column: 1 / -1;
	min-width: 0;
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.order-edit-field { display: grid; gap: 7px; margin-top: 16px; }
.order-edit-field > span { color: #27364a; font-size: 14px; font-weight: 900; }

.order-edit-field input {
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1.5px solid rgba(22, 119, 255, 0.28);
	border-radius: 14px;
	outline: 0;
	color: #122033;
	background: #ffffff;
	box-shadow: 0 8px 22px rgba(31, 83, 145, 0.08);
	font-size: 17px;
	font-weight: 850;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.order-edit-field input:focus {
	border-color: #1677ff;
	box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12), 0 10px 24px rgba(31, 83, 145, 0.1);
}

.order-edit-field small { color: #718097; font-size: 12px; line-height: 1.45; }

.order-edit-error {
	margin: 10px 0 0;
	padding: 9px 11px;
	border-radius: 12px;
	color: #b42342;
	background: #fff0f4;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.45;
}

.order-edit-actions {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 10px;
	margin-top: 18px;
}

.order-edit-actions button {
	min-width: 0;
	height: 48px;
	padding: 0 12px;
	border: 0;
	border-radius: 15px;
	font-size: 15px;
	font-weight: 900;
	white-space: nowrap;
	transition: transform 0.16s ease, opacity 0.16s ease;
}

.order-edit-actions button:active { transform: scale(0.98); }
.order-edit-actions button:first-child { color: #4d5b6e; background: #eef2f7; }
.order-edit-actions button:last-child { color: #ffffff; background: #1677ff; box-shadow: 0 12px 26px rgba(22, 119, 255, 0.22); }
.order-edit-actions button:disabled { opacity: 0.58; }

.manual-details-sheet {
	padding: 20px;
}

.manual-details-sheet .sheet-head {
	align-items: flex-start;
	margin-bottom: 14px;
}

.manual-details-sheet .sheet-head small,
.manual-reminder-head small {
	display: block;
	margin-bottom: 4px;
	color: #1677ff;
	font-size: 12px;
	font-weight: 900;
}

.manual-details-sheet .sheet-head h3 {
	font-size: 22px;
}

.manual-order-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 3px 12px;
	margin-bottom: 16px;
	padding: 13px 14px;
	border: 1px solid rgba(22, 119, 255, 0.12);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(233, 244, 255, 0.92), rgba(249, 252, 255, 0.96));
}

.manual-order-summary span {
	color: #738096;
	font-size: 12px;
	font-weight: 800;
}

.manual-order-summary strong {
	grid-row: span 2;
	color: #111827;
	font-size: 19px;
	font-weight: 950;
}

.manual-order-summary small {
	color: #445169;
	font-size: 12px;
	font-weight: 800;
}

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

.manual-detail-field {
	display: grid;
	gap: 7px;
}

.manual-detail-field > span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: #263249;
	font-size: 14px;
	font-weight: 900;
}

.field-help-button {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(22, 119, 255, 0.22);
	border-radius: 50%;
	color: #1677ff;
	background: #eef6ff;
	font-size: 13px;
	font-weight: 950;
}

.field-help-button[aria-expanded="true"] {
	color: #fff;
	background: #1677ff;
}

.manual-detail-field input {
	width: 100%;
	min-height: 50px;
	padding: 0 14px;
	border: 1px solid rgba(32, 74, 125, 0.12);
	border-radius: 16px;
	outline: 0;
	color: #111827;
	background: rgba(247, 250, 254, 0.94);
	font-size: 16px !important;
	font-weight: 750;
	letter-spacing: 0;
}

.manual-detail-field input:focus {
	border-color: rgba(22, 119, 255, 0.5);
	box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.09);
}

.manual-detail-field > small {
	color: #69758a;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
}

.manual-field-help {
	padding: 10px 11px;
	border-radius: 13px;
	color: #175fae;
	background: #edf6ff;
	font-size: 12px;
	font-style: normal;
	font-weight: 750;
	line-height: 1.55;
}

.manual-form-actions,
.manual-reminder-actions {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 9px;
	margin-top: 2px;
}

.manual-form-actions button,
.manual-reminder-actions button,
.manual-report-code button {
	min-height: 48px;
	border: 0;
	border-radius: 15px;
	font-size: 15px;
	font-weight: 900;
	transition: transform 0.18s ease, filter 0.18s ease;
}

.manual-form-actions button:active,
.manual-reminder-actions button:active,
.manual-report-code button:active { transform: scale(0.98); }

.manual-cancel-button,
.manual-contact-button {
	color: #48556a;
	background: #edf2f8;
}

.manual-submit-button,
.manual-ack-button {
	color: #fff;
	background: linear-gradient(135deg, #1677ff, #4dbdff);
	box-shadow: 0 12px 25px rgba(22, 119, 255, 0.2);
}

.manual-form-actions button:disabled {
	color: #8b95a5;
	background: #eef3fa;
	box-shadow: none;
}

.manual-reminder-sheet {
	padding: 20px;
}

.manual-reminder-head {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 14px;
}

.manual-reminder-head > span {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	color: #fff;
	background: linear-gradient(145deg, #ff8d2c, #ff4869);
	font-size: 23px;
	font-weight: 950;
	box-shadow: 0 10px 22px rgba(255, 72, 105, 0.2);
}

.manual-reminder-head h3 {
	margin: 0;
	font-size: 22px;
}

.manual-reminder-content {
	display: grid;
	gap: 10px;
}

.manual-reminder-content p {
	font-size: 14px;
	line-height: 1.65;
}

.manual-reminder-content p strong { color: #172033; }

.manual-report-code {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 5px 10px;
	padding: 12px;
	border: 1px solid rgba(22, 119, 255, 0.14);
	border-radius: 16px;
	background: linear-gradient(135deg, #edf6ff, #f8fbff);
}

.manual-report-code span {
	color: #67758a;
	font-size: 11px;
	font-weight: 800;
}

.manual-report-code strong {
	grid-column: 1;
	color: #0b61cf;
	font-size: 17px;
	font-weight: 950;
	word-break: break-all;
}

.manual-report-code button {
	grid-column: 2;
	grid-row: 1 / span 2;
	min-height: 40px;
	padding: 0 13px;
	color: #fff;
	background: #1677ff;
	font-size: 13px;
}

.manual-fraud-warning {
	padding: 11px 12px;
	border-radius: 14px;
	color: #bd2440 !important;
	background: #fff0f3;
	font-weight: 850;
}

.plain-close {
  width: auto !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 12px;
  border-radius: 18px;
  color: #677282 !important;
  background: #f2f5f9 !important;
  font-weight: 800;
}

.loading-backdrop {
  place-items: center;
}

.loading-sheet {
  width: min(92%, 380px);
  text-align: center;
  overflow: hidden;
}

.loading-mascot {
  position: relative;
  width: 112px;
  height: 112px;
  margin: -4px auto 10px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.12) 45%, transparent 70%),
    linear-gradient(135deg, rgba(220, 239, 255, 0.94), rgba(255, 255, 255, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 18px 38px rgba(22, 119, 255, 0.16);
}

.loading-mascot img {
  width: 118px;
  height: 118px;
  margin: -3px 0 0 -3px;
  object-fit: contain;
	animation: mascot-breathe 1.05s ease-in-out infinite;
	transform-origin: 50% 72%;
  will-change: transform;
}

@keyframes mascot-breathe-android {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(0, -3px, 0) scale(1.012); }
}

html.is-android .loading-mascot img {
	animation-name: mascot-breathe-android;
	animation-duration: 1.8s;
	animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1);
}

.loading-mascot span {
  position: absolute;
  right: -2px;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffffff, #dbeeff);
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.18);
}

.loading-mascot span::before {
  content: "";
  position: absolute;
  inset: 6px 8px;
  background: var(--blue);
  clip-path: polygon(58% 0, 6% 55%, 46% 55%, 30% 100%, 94% 39%, 55% 39%);
}

.loading-sheet h3 {
  margin-bottom: 8px;
}

.loading-sheet p {
  font-size: 15px;
  line-height: 1.55;
}

.progress-rail {
  position: relative;
  height: 12px;
  margin: 18px 0 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(222, 233, 247, 0.92);
  box-shadow: inset 0 2px 5px rgba(31, 55, 92, 0.08);
}

.progress-rail i {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #1677ff, #4fc3ff),
    var(--blue);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.2);
  transition: width 0.42s ease;
}

.progress-rail i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  animation: progress-sheen 1.15s linear infinite;
}

.loading-sheet small {
  display: block;
  color: #708098;
  font-size: 13px;
  font-weight: 750;
}

@keyframes progress-sheen {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.order-detail-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(32, 74, 125, 0.08);
  border-radius: 18px;
  background: rgba(247, 249, 252, 0.9);
}

.order-detail-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(68px, auto);
  align-items: start;
  gap: 10px;
  margin-bottom: 12px;
}

.category-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(150deg, #ffad21, #ff6a00);
  font-weight: 950;
}

.order-detail-card h3 {
  margin: 0 0 3px;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.order-detail-card p {
  color: #6f7784;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.order-id-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px;
  align-items: baseline;
  line-height: 1.35;
}

.order-id-line span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.order-account-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  align-items: baseline;
  margin: 8px 0 2px;
  color: #6f7784;
  font-size: 14px;
  line-height: 1.45;
}

.order-account-line > span {
  color: #8792a2;
  font-weight: 750;
}

.order-account-line strong {
  min-width: 0;
  color: #263247;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.order-account-line small {
  grid-column: 2;
  color: #7f8a9a;
  font-size: 12px;
  font-weight: 700;
}

.redemption-order-card {
	padding: 16px;
	border-color: rgba(22, 119, 255, 0.13);
	background: linear-gradient(180deg, rgba(250, 253, 255, 0.97), rgba(242, 248, 255, 0.92));
}

.redemption-order-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 14px;
}

.redemption-order-title {
	min-width: 0;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
}

.redemption-order-title > div { min-width: 0; }

.redemption-order-title small {
	display: block;
	margin-bottom: 3px;
	color: #6c7b91;
	font-size: 11px;
	font-weight: 800;
}

.redemption-order-title h3 {
	margin: 0;
	color: #142033;
	font-size: 17px;
	line-height: 1.35;
}

.redemption-order-head > .status-badge {
	flex: 0 0 auto;
	max-width: 94px;
	padding: 7px 10px;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}

.redemption-account-panel {
	display: block;
	padding: 14px 15px;
	border: 1px solid rgba(22, 119, 255, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.76);
}

.redemption-account-panel > span {
	color: #718097;
	font-size: 12px;
	font-weight: 800;
}

.redemption-account-panel > strong {
	display: block;
	min-width: 0;
	margin-top: 4px;
	color: #101827;
	font-size: 22px;
	font-weight: 950;
	letter-spacing: 0;
	overflow-wrap: anywhere;
	font-variant-numeric: tabular-nums;
}

.redemption-account-panel > small {
	display: block;
	max-width: none;
	margin-top: 5px;
	color: #1677ff;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.45;
	text-align: left;
}

.redemption-account-panel.is-editable {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 12px;
	align-items: center;
}

.redemption-account-panel.is-editable > span,
.redemption-account-panel.is-editable > strong,
.redemption-account-panel.is-editable > small { grid-column: 1; }

.redemption-account-panel .order-edit-trigger {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: center;
	min-width: 54px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid rgba(22, 119, 255, 0.18);
	border-radius: 12px;
	color: #0967d8;
	background: #edf6ff;
	font-size: 13px;
	font-weight: 900;
}

.order-actions .order-edit-trigger {
	color: #0967d8;
	border: 1px solid rgba(22, 119, 255, 0.16);
	background: #edf6ff;
}

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

.redemption-order-facts > div {
	min-width: 0;
	padding: 11px 12px;
	border-radius: 14px;
	background: rgba(233, 242, 253, 0.72);
}

.redemption-order-facts > div.wide { grid-column: 1 / -1; }

.redemption-order-facts dt {
	margin-bottom: 5px;
	color: #7c899b;
	font-size: 11px;
	font-weight: 800;
}

.redemption-order-facts dd {
	min-width: 0;
	margin: 0;
	color: #263247;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.4;
	overflow-wrap: anywhere;
	font-variant-numeric: tabular-nums;
}

.redemption-order-facts .wide dd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
}

.redemption-order-card .manual-order-info {
	grid-template-columns: minmax(0, 1fr);
	margin-top: 10px;
	border: 1px solid rgba(22, 119, 255, 0.1);
	background: rgba(255, 255, 255, 0.72);
}

.standard-order-card {
	padding: 16px;
}

.standard-order-head {
	padding-bottom: 13px;
}

.standard-order-head > .status-badge {
	max-width: 88px;
}

.standard-account-panel > strong {
	font-size: 22px;
	line-height: 1.25;
	word-break: break-word;
}

.service-account-panel > strong {
	font-size: 19px;
}

.standard-order-card .service-order-info {
	margin-top: 9px;
	border: 1px solid rgba(22, 119, 255, 0.1);
	background: rgba(255, 255, 255, 0.72);
}

.standard-order-facts {
	margin-top: 9px;
}

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

.standard-price-summary > div {
	min-width: 0;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(233, 242, 253, 0.72);
}

.standard-price-summary span,
.standard-price-summary strong {
	display: block;
}

.standard-price-summary .cps-member-saving {
	background: rgba(236, 247, 241, 0.92);
}

.standard-price-summary .cps-member-saving span,
.standard-price-summary .cps-member-saving strong {
	color: #13804f;
}

.standard-price-summary span {
	color: #7c899b;
	font-size: 11px;
	font-weight: 800;
}

.standard-price-summary strong {
	margin-top: 4px;
	color: #263247;
	font-size: 15px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

.standard-price-summary .payable {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #075fc7;
	background: linear-gradient(135deg, rgba(222, 239, 255, 0.95), rgba(235, 247, 255, 0.88));
}

.standard-price-summary .payable strong {
	margin: 0;
	color: #075fc7;
	font-size: 19px;
}

.standard-order-card .order-payment-meta {
	margin-top: 11px;
}

.redemption-confirmation {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	padding: 11px 12px;
	border-radius: 15px;
	color: #166a4b;
	background: rgba(227, 249, 240, 0.86);
}

.redemption-confirmation > i {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #ffffff;
	background: #14a66b;
	font-size: 17px;
	font-style: normal;
	font-weight: 950;
}

.redemption-confirmation strong,
.redemption-confirmation span { display: block; }

.redemption-confirmation strong {
	font-size: 13px;
	font-weight: 900;
}

.redemption-confirmation span {
	margin-top: 2px;
	color: #5c786e;
	font-size: 11px;
	font-weight: 700;
}

.order-section-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	padding: 0 2px;
}

.order-section-title span {
	color: #263247;
	font-size: 15px;
	font-weight: 900;
}

.order-section-title small {
	color: #8a95a5;
	font-size: 11px;
	font-weight: 700;
}

.redemption-order-timeline {
	margin-top: 8px;
	padding: 12px 13px;
	border: 1px solid rgba(32, 74, 125, 0.08);
	border-radius: 16px;
	background: rgba(247, 249, 252, 0.78);
}

.redemption-order-timeline div {
	line-height: 1.55;
}

.ported-detail,
.ported-order {
  color: #b86500 !important;
  font-weight: 850;
}

.price-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(32, 74, 125, 0.08);
  color: #8d95a1;
  font-size: 13px;
}

.price-line strong {
  color: var(--text);
}

.upstream-fields {
  margin-top: 10px !important;
  padding: 9px 10px;
  border-radius: 12px;
  color: #697384 !important;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px !important;
  word-break: break-all;
}

.hint-text,
.error-text {
  margin-top: 12px !important;
  font-size: 14px !important;
}

.hint-text {
  color: #8b929e !important;
}

.error-text {
  color: var(--rose) !important;
}

.order-refund-confirmed {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding: 12px 13px;
	border: 1px solid rgba(31, 119, 216, 0.22);
	border-radius: 14px;
	color: #145fae;
	background: rgba(237, 246, 255, 0.96);
}

.order-refund-confirmed > i {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: #1875d1;
	font-size: 18px;
	font-style: normal;
	font-weight: 900;
}

.order-refund-confirmed > div {
	min-width: 0;
	display: grid;
	gap: 3px;
}

.order-refund-confirmed strong {
	font-size: 15px;
	font-weight: 900;
	line-height: 1.35;
}

.order-refund-confirmed span {
	color: #64758a;
	font-size: 12px;
	line-height: 1.45;
}

html[data-theme="dark"] .order-refund-confirmed {
	border-color: rgba(96, 165, 250, 0.28);
	color: #a9d0ff;
	background: rgba(22, 55, 91, 0.72);
}

html[data-theme="dark"] .order-refund-confirmed > i {
	color: #10243c;
	background: #8fc5ff;
}

html[data-theme="dark"] .order-refund-confirmed span { color: #aebdce; }

.order-partial-refund {
	display: grid;
	gap: 11px;
	margin-top: 12px;
	padding: 13px;
	border: 1px solid rgba(31, 119, 216, 0.2);
	border-radius: 14px;
	background: rgba(237, 246, 255, 0.96);
}

.order-partial-refund-head {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
}

.order-partial-refund-head > i {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: #1875d1;
	font-size: 17px;
	font-style: normal;
	font-weight: 900;
	flex-shrink: 0;
	aspect-ratio: 1 / 1;
}

.order-partial-refund-head > div { min-width: 0; display: grid; gap: 3px; }
.order-partial-refund-head strong { color: #145fae; font-size: 15px; font-weight: 900; line-height: 1.35; }
.order-partial-refund-head span { color: #64758a; font-size: 12px; line-height: 1.45; }

.order-partial-refund-values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
}

.order-partial-refund-values > span { min-width: 0; display: grid; gap: 3px; padding: 9px 8px; border-radius: 9px; background: rgba(255, 255, 255, 0.78); }
.order-partial-refund-values small { color: #7a899a; font-size: 10px; }
.order-partial-refund-values b { color: #26384d; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-partial-refund-values > span:last-child { background: #deedff; }
.order-partial-refund-values > span:last-child b { color: #075db8; }
.order-partial-refund > p { margin: 0; color: #64758a; font-size: 12px; line-height: 1.55; }
.order-partial-refund.is-pending { border-style: dashed; }

html[data-theme="dark"] .order-partial-refund { border-color: rgba(96, 165, 250, 0.28); background: rgba(22, 55, 91, 0.72); }
html[data-theme="dark"] .order-partial-refund-head strong { color: #a9d0ff; }
html[data-theme="dark"] .order-partial-refund-head span,
html[data-theme="dark"] .order-partial-refund > p { color: #aebdce; }
html[data-theme="dark"] .order-partial-refund-values > span { background: rgba(12, 28, 48, 0.68); }
html[data-theme="dark"] .order-partial-refund-values > span:last-child { background: #173a61; }
html[data-theme="dark"] .order-partial-refund-values small { color: #9aaec4; }
html[data-theme="dark"] .order-partial-refund-values b { color: #dceaff; }
html[data-theme="dark"] .order-partial-refund-values > span:last-child b { color: #9dcbff; }

.fulfillment-progress,
.order-progress-note {
	color: #0969c9;
	background: rgba(34, 133, 255, 0.09);
	border: 1px solid rgba(34, 133, 255, 0.16);
	border-radius: 12px;
	font-weight: 700;
}

.fulfillment-progress {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	padding: 11px 13px;
}

.fulfillment-progress i {
	display: grid;
	place-items: center;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	color: #fff;
	background: #2485ff;
	font-style: normal;
	font-size: 12px;
}

.order-progress-note {
	display: inline-block;
	margin-top: 7px !important;
	padding: 6px 9px;
	font-size: 12px !important;
}

@media (prefers-color-scheme: dark) {
	.fulfillment-progress,
	.order-progress-note {
		color: #8ec5ff;
		background: rgba(48, 139, 255, 0.14);
		border-color: rgba(109, 179, 255, 0.24);
	}
}
html[data-theme="dark"] .marketing-coupon-entry { border-color: rgba(238, 126, 136, .22); background: #352629; }
html[data-theme="dark"] .marketing-coupon-entry summary strong, html[data-theme="dark"] .marketing-coupon-entry input { color: #ffecee; }
html[data-theme="dark"] .marketing-coupon-entry summary small { color: #dcaeb3; }
html[data-theme="dark"] .marketing-coupon-tag { background: #e06069; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
html[data-theme="dark"] .marketing-coupon-tag::after { background: #352629; }
html[data-theme="dark"] .marketing-coupon-entry input { border-color: rgba(238, 126, 136, .24); background: #251b1d; }
html[data-theme="dark"] .marketing-coupon-entry form > label { color: #e0b8bc; }
html[data-theme="dark"] .marketing-coupon-applied { border-color: rgba(238, 126, 136, .28); background: #3a2529; }
html[data-theme="dark"] .marketing-coupon-applied .marketing-coupon-tag::after { background: #3a2529; }
html[data-theme="dark"] .marketing-coupon-applied small { color: #ff9ca5; }
html[data-theme="dark"] .marketing-coupon-applied strong { color: #fff0f1; }
html[data-theme="dark"] .marketing-coupon-applied span { color: #dfb2b7; }
html[data-theme="dark"] .marketing-coupon-applied button { border-color: rgba(255, 155, 165, .25); color: #ffabb3; background: rgba(255, 255, 255, .04); }

/* Membership comparison */
.membership-explorer {
	display: grid;
	gap: 14px;
	width: 100%;
}

.membership-explorer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 2px 2px 0;
}

.membership-explorer-head small {
	display: block;
	margin-bottom: 3px;
	color: #1677ff;
	font-size: 12px;
	font-weight: 800;
}

.membership-explorer-head h2 {
	margin: 0;
	color: var(--text);
	font-size: 21px;
	line-height: 1.2;
	letter-spacing: 0;
}

.membership-explorer-head > span {
	padding: 6px 9px;
	border: 1px solid rgba(19, 170, 103, 0.2);
	border-radius: 8px;
	color: #07824c;
	background: rgba(19, 170, 103, 0.08);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.membership-account-field {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	min-height: 54px;
	padding: 0 14px;
	border: 1px solid rgba(22, 119, 255, 0.15);
	border-radius: 8px;
	background: var(--surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.membership-account-field span {
	color: var(--text);
	font-size: 14px;
	font-weight: 800;
}

.membership-account-field input,
.membership-search-row input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	color: var(--text);
	background: transparent;
	font-size: 16px;
	letter-spacing: 0;
}

.membership-account-field input::placeholder,
.membership-search-row input::placeholder {
	color: var(--muted);
}

.membership-search-row {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) 30px;
	align-items: center;
	min-height: 56px;
	padding: 0 12px;
	border: 2px solid rgba(22, 119, 255, 0.55);
	border-radius: 8px;
	background: var(--surface-strong);
	box-shadow: 0 12px 30px rgba(22, 119, 255, 0.1);
}

.membership-search-row > span {
	display: grid;
	place-items: center;
	color: #1677ff;
}

.membership-search-row svg {
	width: 20px;
	height: 20px;
}

.membership-search-row button {
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: var(--muted);
	background: rgba(127, 139, 156, 0.12);
	font-size: 21px;
	line-height: 1;
}

.membership-compare-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid rgba(22, 119, 255, 0.5);
	border-radius: 8px;
	color: #fff;
	background: #1677ff;
	box-shadow: 0 11px 26px rgba(22, 119, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
	font-size: 15px;
	transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.membership-compare-button svg {
	width: 19px;
	height: 19px;
}

.membership-compare-button:active {
	transform: scale(0.985);
	filter: brightness(1.06);
	box-shadow: 0 7px 18px rgba(22, 119, 255, 0.2);
}

.membership-compare-button:disabled {
	cursor: wait;
	opacity: 0.78;
}

.membership-selected-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid rgba(22, 119, 255, 0.16);
	border-radius: 8px;
	background: rgba(22, 119, 255, 0.055);
}

.membership-selected-group div {
	display: flex;
	align-items: baseline;
	gap: 7px;
	min-width: 0;
}

.membership-selected-group span {
	flex: 0 0 auto;
	color: var(--muted);
	font-size: 11px;
}

.membership-selected-group strong {
	overflow: hidden;
	color: #1468da;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.membership-selected-group button {
	flex: 0 0 auto;
	min-height: 34px;
	padding: 0 10px;
	border: 1px solid rgba(22, 119, 255, 0.2);
	border-radius: 8px;
	color: #1468da;
	background: var(--surface-strong);
	font-size: 12px;
	font-weight: 700;
}

.membership-duration-filter {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 2px;
	scrollbar-width: none;
}

.membership-duration-filter::-webkit-scrollbar { display: none; }

.membership-duration-filter button {
	flex: 0 0 auto;
	min-height: 34px;
	padding: 0 13px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--muted);
	background: var(--surface);
	font-size: 13px;
	font-weight: 700;
}

.membership-duration-filter button.active {
	border-color: rgba(22, 119, 255, 0.38);
	color: #1468da;
	background: #edf6ff;
}

.membership-results {
	display: grid;
	gap: 10px;
}

.membership-start-state,
.membership-loading {
	display: grid;
	place-items: center;
	min-height: 164px;
	padding: 24px 16px;
	border: 1px dashed rgba(30, 83, 145, 0.18);
	border-radius: 8px;
	color: var(--muted);
	background: rgba(244, 249, 255, 0.62);
	text-align: center;
}

.membership-start-state strong,
.membership-loading strong {
	margin-top: 8px;
	color: var(--text);
	font-size: 15px;
}

.membership-start-state p,
.membership-loading span {
	margin: 5px 0 0;
	font-size: 13px;
}

.membership-start-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #1677ff;
	background: rgba(22, 119, 255, 0.1);
}

.membership-start-icon svg { width: 24px; height: 24px; }

.membership-group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 2px;
}

.membership-group-head div {
	display: grid;
	gap: 3px;
}

.membership-group-head strong {
	color: var(--text);
	font-size: 15px;
}

.membership-group-head span {
	color: var(--muted);
	font-size: 12px;
}

.membership-group-head > b {
	flex: 0 0 auto;
	padding: 5px 8px;
	border-radius: 8px;
	color: #1468da;
	background: rgba(22, 119, 255, 0.08);
	font-size: 12px;
}

.membership-group-list {
	display: grid;
	gap: 8px;
}

.membership-group-list > button {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto 16px;
	align-items: center;
	gap: 11px;
	width: 100%;
	min-height: 76px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--text);
	background: var(--surface-strong);
	text-align: left;
	box-shadow: 0 5px 18px rgba(37, 78, 123, 0.055);
	transition: transform 150ms cubic-bezier(0.23, 1, 0.32, 1), border-color 150ms ease, background-color 150ms ease;
}

.membership-group-list > button:active {
	transform: scale(0.985);
}

.membership-group-list > button > span:nth-child(2) {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.membership-group-list > button > span:nth-child(2) strong,
.membership-group-list > button > span:nth-child(2) small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.membership-group-list > button > span:nth-child(2) strong {
	font-size: 14px;
}

.membership-group-list > button > span:nth-child(2) small {
	color: var(--muted);
	font-size: 11px;
}

.membership-group-list > button > em {
	display: flex;
	align-items: baseline;
	color: #e94c35;
	font-size: 18px;
	font-style: normal;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.membership-group-list > button > em small,
.membership-group-list > button > em i {
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
}

.membership-group-list > button > em i {
	margin-left: 2px;
	color: var(--muted);
}

.membership-group-list > button > b {
	color: #1677ff;
	font-size: 24px;
	font-weight: 400;
}

.membership-loading i {
	width: 28px;
	height: 28px;
	border: 3px solid rgba(22, 119, 255, 0.14);
	border-top-color: #1677ff;
	border-radius: 50%;
	animation: membership-spin 800ms linear infinite;
}

@keyframes membership-spin { to { transform: rotate(360deg); } }

.membership-result-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 2px;
	flex-wrap: wrap;
}

.membership-result-summary div {
	display: flex;
	align-items: baseline;
	gap: 5px;
}

.membership-result-summary strong {
	color: #1677ff;
	font-size: 19px;
}

.membership-result-summary span,
.membership-result-summary p {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
}

.membership-quote-list {
	display: grid;
	gap: 9px;
}

.membership-quote {
	position: relative;
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	width: 100%;
	min-height: 104px;
	padding: 16px 12px 12px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--text);
	background: var(--surface-strong);
	text-align: left;
	box-shadow: 0 8px 24px rgba(37, 78, 123, 0.07);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.membership-quote:active { transform: scale(0.985); }

.membership-quote.is-best {
	border: 2px solid rgba(22, 119, 255, 0.58);
	background: linear-gradient(180deg, rgba(242, 249, 255, 0.98), rgba(255, 255, 255, 0.98));
	box-shadow: 0 12px 30px rgba(22, 119, 255, 0.13);
}

.membership-quote > em,
.membership-rank {
	position: absolute;
	top: 0;
	left: 0;
	padding: 3px 8px;
	border-radius: 0 0 7px 0;
	color: #fff;
	background: #1677ff;
	font-size: 10px;
	font-style: normal;
	font-weight: 800;
}

.membership-rank {
	color: var(--muted);
	background: rgba(126, 139, 158, 0.11);
}

.membership-product-image {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: #1677ff;
	background: #fff;
}

.membership-product-image img { width: 100%; height: 100%; object-fit: contain; }
.membership-product-image svg { width: 24px; height: 24px; }

.membership-product-copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.membership-product-copy strong {
	display: -webkit-box;
	overflow: hidden;
	color: var(--text);
	font-size: 14px;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.membership-product-copy > small {
	overflow: hidden;
	color: var(--muted);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.membership-product-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.membership-product-meta b {
	flex: 0 0 auto;
	padding: 2px 5px;
	border: 1px solid rgba(22, 119, 255, 0.16);
	border-radius: 4px;
	color: #1468da;
	background: rgba(22, 119, 255, 0.07);
	font-size: 10px;
	line-height: 1.35;
}

.membership-product-meta small {
	overflow: hidden;
	color: var(--muted);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.membership-product-copy i {
	color: #d35d16;
	font-size: 11px;
	font-style: normal;
}

.membership-price {
	display: grid;
	justify-items: end;
	gap: 2px;
	min-width: 70px;
}

.membership-price small { color: var(--muted); font-size: 10px; }
.membership-price b { color: #e94c35; font-size: 21px; line-height: 1.1; }
.membership-price b i { font-size: 12px; font-style: normal; }
.membership-price u { color: #1677ff; font-size: 11px; font-weight: 800; text-decoration: none; }

.membership-order-sheet { max-width: 520px; }

.membership-modal-close {
	flex: 0 0 40px;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	font-size: 25px;
	font-weight: 500;
	line-height: 1;
}

.membership-order-product {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(244, 249, 255, 0.75);
}

.membership-order-product > img,
.membership-order-product > span {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
}

.membership-order-product svg { width: 26px; height: 26px; color: #1677ff; }
.membership-order-product div { display: grid; gap: 5px; min-width: 0; }
.membership-order-product strong { overflow: hidden; color: var(--text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.membership-order-product small { color: var(--muted); font-size: 12px; }
.membership-order-product > b { color: #e94c35; font-size: 20px; }

.membership-order-form,
.membership-order-form > div {
	display: grid;
	gap: 12px;
}

.membership-order-form { margin-top: 14px; }

.membership-order-form label {
	display: grid;
	gap: 7px;
	color: var(--text);
	font-size: 13px;
	font-weight: 700;
}

.membership-order-form input,
.membership-order-form select {
	width: 100%;
	min-height: 48px;
	padding: 0 13px;
	border: 1px solid var(--line);
	border-radius: 8px;
	outline: 0;
	color: var(--text);
	background: var(--surface-strong);
	font-size: 16px;
}

.membership-order-form button[type="submit"] {
	min-height: 50px;
	border: 0;
	border-radius: 8px;
	color: #fff;
	background: #1677ff;
	font-size: 15px;
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(22, 119, 255, 0.22);
}

.membership-delivery-card {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid rgba(19, 170, 103, 0.24);
	border-radius: 8px;
	background: rgba(19, 170, 103, 0.07);
}

.membership-delivery-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.membership-delivery-head div { display: grid; gap: 2px; }
.membership-delivery-head small { color: #07824c; font-size: 11px; font-weight: 800; }
.membership-delivery-head strong { color: var(--text); font-size: 16px; }
.membership-delivery-head button,
.membership-code-list button {
	min-height: 32px;
	padding: 0 10px;
	border: 1px solid rgba(19, 170, 103, 0.25);
	border-radius: 7px;
	color: #067843;
	background: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 800;
}

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

.membership-code-list > div {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	padding: 9px;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.72);
}

.membership-code-list span { color: var(--muted); font-size: 11px; }
.membership-code-list strong { overflow-wrap: anywhere; color: var(--text); font-size: 13px; letter-spacing: 0; }
.membership-delivery-card > p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

html[data-theme="dark"] .membership-account-field,
html[data-theme="dark"] .membership-search-row,
html[data-theme="dark"] .membership-quote,
html[data-theme="dark"] .membership-group-list > button,
html[data-theme="dark"] .membership-order-form input,
html[data-theme="dark"] .membership-order-form select {
	border-color: rgba(255, 255, 255, 0.12);
	color: var(--text);
	background: #182230;
}

html[data-theme="dark"] .membership-start-state,
html[data-theme="dark"] .membership-loading,
html[data-theme="dark"] .membership-order-product {
	border-color: rgba(255, 255, 255, 0.1);
	background: #141d29;
}

html[data-theme="dark"] .membership-quote.is-best {
	border-color: rgba(85, 164, 255, 0.64);
	background: #17283c;
}

html[data-theme="dark"] .membership-product-image,
html[data-theme="dark"] .membership-order-product > img,
html[data-theme="dark"] .membership-order-product > span {
	border-color: rgba(255, 255, 255, 0.1);
	background: #eef3f8;
}

html[data-theme="dark"] .membership-duration-filter button { color: #c1cad6; background: #1c2735; }
html[data-theme="dark"] .membership-duration-filter button.active { color: #a9d1ff; background: #17304f; }
html[data-theme="dark"] .membership-selected-group { border-color: rgba(85, 164, 255, 0.2); background: #17283c; }
html[data-theme="dark"] .membership-selected-group strong { color: #a9d1ff; }
html[data-theme="dark"] .membership-selected-group button { border-color: rgba(85, 164, 255, 0.22); color: #a9d1ff; background: #1c2735; }
html[data-theme="dark"] .membership-product-meta b { border-color: rgba(85, 164, 255, 0.25); color: #a9d1ff; background: rgba(53, 132, 226, 0.13); }
html[data-theme="dark"] .membership-delivery-card { border-color: rgba(81, 207, 146, 0.23); background: rgba(34, 116, 80, 0.18); }
html[data-theme="dark"] .membership-code-list > div,
html[data-theme="dark"] .membership-delivery-head button,
html[data-theme="dark"] .membership-code-list button { color: var(--text); background: rgba(18, 28, 37, 0.82); }

@media (max-width: 390px) {
	.membership-group-list > button { grid-template-columns: 42px minmax(0, 1fr) auto 12px; gap: 8px; padding: 10px 9px; }
	.membership-group-list > button > em { font-size: 16px; }
	.membership-quote { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; padding-left: 9px; padding-right: 9px; }
	.membership-product-image { width: 42px; height: 42px; }
	.membership-product-copy strong { font-size: 13px; }
	.membership-price { min-width: 62px; }
	.membership-price b { font-size: 18px; }
}

.pay-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.pay-links.single-channel {
	grid-template-columns: minmax(0, 1fr);
}

.pay-links a {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.pay-links a.alipay {
  background: #1677ff;
}

.pay-links a.alipay-aipay {
	background: linear-gradient(135deg, #2d6cdf, #765be8);
}

.pay-links a.wechat {
  background: #12b56d;
}

.pay-links a.is-preparing {
	opacity: 0.58;
	pointer-events: auto;
	box-shadow: none;
}

.pay-links a.is-closed {
	background: color-mix(in srgb, var(--text-muted) 18%, var(--surface-strong)) !important;
	color: var(--text-muted) !important;
	font-size: 13px !important;
	box-shadow: none;
}

.family-wallet-payment {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin: 14px 0 10px;
	padding: 15px 16px;
	border: 1px solid rgba(238, 122, 73, .24);
	border-radius: 16px;
	background: linear-gradient(135deg, #fff8f2, #fffdfb);
	box-shadow: 0 8px 22px rgba(157, 74, 39, .06);
}
.family-wallet-payment > div { display: grid; gap: 3px; min-width: 0; }
.family-wallet-payment span { color: #7d4d3a; font-size: 12px; font-weight: 750; }
.family-wallet-payment strong { color: #49281d; font-size: 17px; }
.family-wallet-payment small { color: #9b715f; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.family-wallet-payment button {
	min-width: 86px;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 13px;
	background: #ef633d;
	color: #fff;
	font-size: 14px;
	font-weight: 850;
}
.family-wallet-payment button:disabled { opacity: .58; }
.family-wallet-payment.is-applied { background: #fff8f2; }
.family-wallet-payment.is-applied > i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ef633d; color: #fff; font-style: normal; font-weight: 900; }
.marketing-coupon-entry, .marketing-coupon-applied { margin: 12px 0; border: 1px solid rgba(201, 75, 84, .22); border-radius: 8px; background: #fff6f5; }
.marketing-coupon-entry summary { min-height: 58px; display: grid; grid-template-columns: 32px minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 10px 12px; cursor: pointer; list-style: none; }
.marketing-coupon-entry summary::-webkit-details-marker { display: none; }
.marketing-coupon-tag { position: relative; width: 31px; height: 25px; display: grid; place-items: center; border-radius: 5px 7px 7px 5px; color: #fff; background: #cf4d56; box-shadow: 0 4px 10px rgba(177, 48, 59, .16); transform: rotate(-4deg); }
.marketing-coupon-tag::before { content: ""; position: absolute; left: 5px; top: 50%; width: 4px; height: 4px; border: 1.5px solid rgba(255, 255, 255, .9); border-radius: 50%; transform: translateY(-50%); }
.marketing-coupon-tag::after { content: ""; position: absolute; right: -1px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: #fff6f5; transform: translate(50%, -50%); }
.marketing-coupon-tag b { margin-left: 5px; font-size: 13px; line-height: 1; font-weight: 900; }
.marketing-coupon-entry summary > div { min-width: 0; display: grid; gap: 2px; }
.marketing-coupon-entry summary strong { color: #7f2832; font-size: 13px; }
.marketing-coupon-entry summary small { overflow-wrap: anywhere; color: #9d6267; font-size: 10px; }
.marketing-coupon-entry summary > i { width: 8px; height: 8px; justify-self: center; border-right: 1.5px solid #b66a70; border-bottom: 1.5px solid #b66a70; transform: rotate(45deg) translate(-2px, 2px); transition: transform 180ms ease; }
.marketing-coupon-entry[open] summary > i { transform: rotate(225deg) translate(-2px, 2px); }
.marketing-coupon-entry form { display: grid; gap: 6px; padding: 0 12px 12px 54px; }
.marketing-coupon-entry form > label { color: #8d4b52; font-size: 11px; font-weight: 750; }
.marketing-coupon-entry form > div { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 8px; }
.marketing-coupon-entry input { min-width: 0; height: 40px; padding: 0 11px; border: 1px solid rgba(177, 72, 80, .2); border-radius: 6px; color: #572b30; background: #fff; font: inherit; font-size: 13px; text-transform: uppercase; outline: none; }
.marketing-coupon-entry input:focus { border-color: #cf4d56; box-shadow: 0 0 0 3px rgba(207, 77, 86, .11); }
.marketing-coupon-entry form button { height: 40px; border: 0; border-radius: 6px; color: #fff; background: #cf4d56; font: inherit; font-size: 12px; font-weight: 800; }
.marketing-coupon-entry form button:disabled { opacity: .58; }
.marketing-coupon-applied { min-height: 70px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border-color: rgba(201, 75, 84, .26); background: #fff2f1; }
.marketing-coupon-applied .marketing-coupon-tag::after { background: #fff2f1; }
.marketing-coupon-applied > div { min-width: 0; display: grid; gap: 2px; }
.marketing-coupon-applied small { color: #b53f49; font-size: 9px; font-weight: 800; }
.marketing-coupon-applied strong { overflow: hidden; color: #672c34; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.marketing-coupon-applied span { overflow-wrap: anywhere; color: #9c5d64; font-size: 10px; }
.marketing-coupon-applied button { min-height: 32px; padding: 0 9px; border: 1px solid rgba(177, 59, 68, .22); border-radius: 6px; color: #b33b45; background: rgba(255, 255, 255, .5); font: inherit; font-size: 10px; font-weight: 750; }
.standard-price-summary .marketing-coupon-saving span { color: #b33b45; }
.standard-price-summary .marketing-coupon-saving strong { color: #c1483e; }
@media (max-width: 340px) {
	.family-wallet-payment { gap: 9px; padding: 13px; }
	.family-wallet-payment button { min-width: 76px; padding-inline: 10px; }
}
@media (prefers-color-scheme: dark) {
	.family-wallet-payment { border-color: rgba(255, 166, 129, .22); background: linear-gradient(135deg, #34251f, #2b211d); }
	.family-wallet-payment span, .family-wallet-payment small { color: #d9ac97; }
	.family-wallet-payment strong { color: #fff2ea; }
	.marketing-coupon-entry { border-color: rgba(238, 126, 136, .22); background: #352629; }
	.marketing-coupon-entry summary strong, .marketing-coupon-entry input { color: #ffecee; }
	.marketing-coupon-entry summary small { color: #dcaeb3; }
	.marketing-coupon-entry form > label { color: #e0b8bc; }
	.marketing-coupon-tag { background: #e06069; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
	.marketing-coupon-tag::after { background: #352629; }
	.marketing-coupon-entry input { border-color: rgba(238, 126, 136, .24); background: #251b1d; }
	.marketing-coupon-applied { border-color: rgba(238, 126, 136, .28); background: #3a2529; }
	.marketing-coupon-applied .marketing-coupon-tag::after { background: #3a2529; }
	.marketing-coupon-applied small { color: #ff9ca5; }
	.marketing-coupon-applied strong { color: #fff0f1; }
	.marketing-coupon-applied span { color: #dfb2b7; }
	.marketing-coupon-applied button { border-color: rgba(255, 155, 165, .25); color: #ffabb3; background: rgba(255, 255, 255, .04); }
}
@media (max-width: 420px) {
	.marketing-coupon-entry form { padding-left: 12px; }
	.marketing-coupon-entry form > div { grid-template-columns: minmax(0, 1fr) 64px; }
}

.payment-priority-note {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0 0 !important;
  padding: 9px 11px;
  border: 1px solid rgba(255, 166, 51, 0.28);
  border-radius: 13px;
  color: #9a5900 !important;
  background: #fff8e9;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.45 !important;
}

.payment-priority-note b {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 7px;
  color: #ffffff;
  background: #ff9b28;
  font-size: 11px;
}

.payment-priority-note span {
  min-width: 0;
}

.alipay-return-guide {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 14px 0 0 !important;
	padding: 10px 11px;
	border: 1px solid rgba(22, 119, 255, 0.14);
	border-radius: 13px;
	color: #42668f !important;
	background: rgba(235, 245, 255, 0.72);
	font-size: 12px !important;
	font-weight: 750;
	line-height: 1.55 !important;
}

.alipay-return-guide i {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 1px;
	border: 1.5px solid #dc3545;
	border-radius: 50%;
	color: #ffffff;
	background: #dc3545;
	position: relative;
	box-shadow: 0 3px 8px rgba(220, 53, 69, 0.2);
}

.alipay-return-guide i::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 4px;
	width: 1.5px;
	height: 5px;
	border-radius: 2px;
	background: #ffffff;
}

.alipay-return-guide i::after {
	content: "";
	position: absolute;
	left: 7px;
	bottom: 3px;
	width: 1.5px;
	height: 1.5px;
	border-radius: 50%;
	background: #ffffff;
}

.alipay-contact-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 32px;
	margin: 3px auto 0;
	padding: 0 8px;
	border: 0;
	color: #7f8997;
	background: transparent;
	font-size: 12px;
	font-weight: 700;
}

.alipay-contact-fallback i {
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.alipay-contact-fallback:active {
	opacity: 0.68;
}

.coupon-flow {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(22, 119, 255, 0.12);
  border-radius: 18px;
  color: #253047;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(238, 246, 255, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.coupon-flow strong {
  font-size: 15px;
  font-weight: 950;
}

.coupon-flow p {
  margin: 0 !important;
  color: #697384 !important;
  font-size: 13px !important;
  line-height: 1.55;
}

.coupon-flow.done {
  color: var(--blue);
  font-weight: 900;
}

.coupon-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}

.coupon-code-row input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(32, 74, 125, 0.12);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.coupon-code-row button,
.primary-wide {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #1677ff, #4dbdff);
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.22);
}

.coupon-code-row button:disabled,
.primary-wide:disabled {
  color: #8b95a5;
  background: #eef3fa;
  box-shadow: none;
}

.coupon-code-resend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  color: #7b8594;
  font-size: 12px;
  line-height: 1.4;
}

.coupon-code-resend button {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0;
  border: 0;
  color: #1677ff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

.coupon-code-resend button:disabled {
  color: #9aa4b2;
  cursor: default;
}

.coupon-code-resend button:not(:disabled):active {
  transform: translateY(1px);
}

.secondary-wide {
  color: #253047;
  background: rgba(238, 243, 250, 0.96);
}

.order-timeline {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(32, 74, 125, 0.08);
}

.order-timeline div {
  color: #6b7482;
  font-size: 13px;
}

.customer-float {
  position: fixed;
  right: max(14px, calc((100vw - 430px) / 2 + 14px));
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 760;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #16774a;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 14px 38px rgba(31, 55, 92, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 900;
}

body.is-orders-tab .customer-float {
  display: none;
}

.customer-float i {
  position: absolute;
  right: 3px;
  top: 3px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  color: #ffffff;
  background: #ff2b61;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
}

.wechat-glyph {
  position: relative;
  width: 32px;
  height: 27px;
  display: block;
}

.wechat-glyph::before,
.wechat-glyph::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #16bf61;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.wechat-glyph::before {
  left: 0;
  top: 2px;
  width: 23px;
  height: 19px;
}

.wechat-glyph::after {
  right: 0;
  bottom: 0;
  width: 21px;
  height: 17px;
  background: #0fa853;
}

.tab-bar {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 720;
  width: min(398px, calc(100vw - 28px));
  height: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(30px) saturate(190%) contrast(1.04);
  -webkit-backdrop-filter: blur(30px) saturate(190%) contrast(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14),
    var(--glass-shadow);
  transform: translateX(-50%);
}

.tab-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.66), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 42%, rgba(255, 255, 255, 0.16));
  pointer-events: none;
}

.tab-bar button {
  display: grid;
  place-items: center;
  gap: 2px;
  border-radius: 22px;
  color: rgba(33, 42, 57, 0.66);
  background: transparent;
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab-bar button:active {
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 1px 8px rgba(255, 255, 255, 0.7);
}

.tab-bar button.active {
  color: #101421;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 26px rgba(31, 55, 92, 0.11);
}

.tab-bar b {
  font-size: 12px;
  line-height: 1;
}

.tab-icon {
  position: relative;
  width: 25px;
  height: 25px;
  display: block;
}

.tab-icon.has-morph-icon::before,
.tab-icon.has-morph-icon::after {
  display: none;
}

.tab-morph-icon {
  display: block;
  width: 25px;
  height: 25px;
  overflow: visible;
}

.tab-morph-icon path {
  vector-effect: non-scaling-stroke;
}

.morphicons-category-path {
  display: none;
}

html.morphicons-category-enhanced:not(.morphicons-category-instance-enhanced) .cat-icon > svg > *:not(.morphicons-category-path) {
  opacity: 0;
}

html.morphicons-category-enhanced .cat-icon.has-instance-morph > svg > *:not(.morphicons-category-path) {
  opacity: 0;
}

html.morphicons-category-enhanced .morphicons-category-path {
  display: block;
}

.morphicons-category-path {
  transform: rotate(var(--morph-angle, 0deg));
  transform-origin: 50% 50%;
  transform-box: fill-box;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1);
}

.category-admin-list {
  display: grid;
  gap: 12px;
}

.category-admin-card {
  border: 1px solid rgba(49, 79, 119, .13);
  border-radius: 14px;
  background: var(--panel-bg, #fff);
  overflow: hidden;
}

.category-admin-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(49, 79, 119, .09);
}

.category-admin-summary { display:grid!important; grid-template-columns:42px minmax(0,1fr) auto auto; align-items:center; gap:11px; padding:12px 14px!important; border-bottom:0!important; }
.category-summary-mark { display:grid; place-items:center; width:42px; height:42px; overflow:hidden; border-radius:9px; color:var(--blue); background:var(--surface-soft); }
.category-summary-mark img { max-width:30px; max-height:30px; object-fit:contain; }
.category-summary-mark b { font-size:13px; }
.category-admin-summary > div:nth-child(2) { display:grid; gap:4px; min-width:0; }
.category-admin-summary > div:nth-child(2) strong { color:var(--text); font-size:14px; }
.category-admin-summary > div:nth-child(2) span { overflow:hidden; color:var(--muted); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.category-summary-status { padding:5px 8px; border-radius:999px; color:var(--muted); background:var(--surface-soft); font-size:11px; white-space:nowrap; }
.category-summary-status.is-online { color:#087a4f; background:#e8fff4; }
.category-summary-icon-action { min-height:34px; padding:0 11px; border:1px solid rgba(22,119,255,.22); border-radius:7px; background:#fff; color:var(--blue); font:12px inherit; font-weight:750; cursor:pointer; white-space:nowrap; }
.category-admin-content { border-top:1px solid var(--line); }
.category-admin-content summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:46px; padding:0 14px; color:var(--text); cursor:pointer; list-style:none; }
.category-admin-content summary::-webkit-details-marker { display:none; }
.category-admin-content summary::after { content:"⌄"; order:3; color:var(--muted); transition:transform 160ms ease; }
.category-admin-content[open] summary::after { transform:rotate(180deg); }
.category-admin-content summary small { margin-left:auto; color:var(--muted); font-size:11px; }
.category-admin-content-actions { display:flex; justify-content:flex-end; padding:0 14px 14px; }

.category-admin-card > header div,
.category-icon-editor-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.category-admin-card > header span,
.category-icon-editor-head small {
  color: #7c8796;
  font-size: 12px;
}

.category-admin-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px;
}

.category-admin-fields label,
.icon-editor-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.category-admin-fields label > span,
.icon-editor-field > span {
  color: #68778b;
  font-size: 12px;
  font-weight: 700;
}

.category-admin-fields .span-2 {
  grid-column: span 2;
}

.category-icon-editor {
  margin: 0 16px 16px;
  border: 1px solid rgba(76, 105, 145, .13);
  border-radius: 12px;
  background: rgba(247, 250, 253, .72);
}

.category-icon-editor-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 10px;
}

.category-icon-editor-head .category-icon-preview {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  color: #3771b9;
  background: rgba(55, 113, 185, .1);
}

.category-icon-editor-head .category-icon-preview img {
  display: block;
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
}

.icon-editor-toggle {
  margin-left: auto;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(55, 113, 185, .22);
  border-radius: 8px;
  color: #2765ae;
  background: #fff;
  cursor: pointer;
}

.category-icon-editor-body {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
  border-top: 1px solid rgba(76, 105, 145, .1);
}

.category-icon-editor-body[hidden],
.icon-editor-mode[hidden] { display: none; }

.icon-editor-mode,
.icon-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
}

.icon-editor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.icon-editor-field input,
.icon-editor-field select,
.icon-editor-field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.icon-editor-field textarea {
  min-height: 58px;
  resize: vertical;
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.icon-editor-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
}

.icon-editor-note {
  margin: 0;
  color: #7b8797;
  font-size: 12px;
  line-height: 1.55;
}

html[data-theme="dark"] .category-admin-card,
html[data-theme="dark"] .category-icon-editor { border-color: rgba(168, 195, 230, .18); background: rgba(25, 37, 54, .72); }
html[data-theme="dark"] .category-admin-card > header { border-color: rgba(168, 195, 230, .14); }
html[data-theme="dark"] .category-admin-card > header span,
html[data-theme="dark"] .category-icon-editor-head small,
html[data-theme="dark"] .category-admin-fields label > span,
html[data-theme="dark"] .icon-editor-field > span,
html[data-theme="dark"] .icon-editor-note { color: #aebdd0; }
html[data-theme="dark"] .icon-editor-toggle { color: #d9e8fb; border-color: rgba(157, 190, 232, .32); background: #203149; }

@media (max-width: 760px) {
  .category-admin-fields,
  .icon-editor-mode,
  .icon-editor-grid { grid-template-columns: 1fr; }
  .category-admin-fields .span-2 { grid-column: auto; }
  .category-icon-editor { margin-left: 10px; margin-right: 10px; }
  .category-admin-summary { grid-template-columns:42px minmax(0,1fr) auto!important; }
  .category-summary-status { display:none; }
  .category-summary-icon-action { grid-column:2 / -1; justify-self:start; }
}

.cat-icon.is-morphing,
.tab-icon.is-morphing {
  contain: layout paint;
}

.icon-animation-admin {
  padding: 20px;
  border: 1px solid rgba(56, 84, 123, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(248, 251, 255, 0.96), rgba(239, 245, 252, 0.76));
}

.icon-animation-admin > header,
.icon-animation-preview {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-animation-admin > header {
  justify-content: space-between;
  margin-bottom: 16px;
}

.icon-animation-admin > header p,
.icon-animation-preview small {
  margin: 0;
  color: #68768a;
  font-size: 12px;
  line-height: 1.6;
}

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

.icon-animation-preview {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #1f314d;
  background: rgba(255, 255, 255, 0.78);
}

.icon-animation-preview-icon {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(71, 115, 181, 0.1);
}

.icon-animation-preview-icon::before,
.icon-animation-preview-icon::after {
  content: "";
  position: absolute;
  border: 2px solid #4773b5;
  border-radius: 3px;
}

.icon-animation-preview-icon.is-home::before { inset: 10px 8px 6px; }
.icon-animation-preview-icon.is-home::after { width: 11px; height: 11px; left: 9px; top: 5px; transform: rotate(45deg); border-right: 0; border-bottom: 0; }
.icon-animation-preview-icon.is-order::before { inset: 6px 8px; }
.icon-animation-preview-icon.is-order::after { left: 12px; right: 12px; top: 12px; height: 8px; border-width: 1px 0; border-radius: 0; }
.icon-animation-preview-icon.is-customer::before { width: 8px; height: 8px; left: 10px; top: 6px; border-radius: 50%; }
.icon-animation-preview-icon.is-customer::after { left: 7px; right: 7px; bottom: 6px; height: 9px; border-radius: 10px 10px 4px 4px; }

html[data-theme="dark"] .icon-animation-admin {
  border-color: rgba(157, 190, 232, 0.18);
  background: linear-gradient(145deg, rgba(26, 39, 57, 0.95), rgba(19, 29, 44, 0.9));
}

html[data-theme="dark"] .icon-animation-admin > header p,
html[data-theme="dark"] .icon-animation-preview small {
  color: #aab9cb;
}

html[data-theme="dark"] .icon-animation-preview {
  color: #edf4ff;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 760px) {
  .icon-animation-admin { padding: 16px; }
  .icon-animation-admin > header { display: block; }
  .icon-animation-admin > header p { margin-top: 6px; }
  .icon-animation-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tab-icon.home::before {
  content: "";
  position: absolute;
  inset: 6px 4px 3px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 5px;
}

.tab-icon.home::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 15px;
  height: 15px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.tab-icon.orders::before {
  content: "";
  position: absolute;
  inset: 3px 5px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.tab-icon.orders::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.tab-icon.user::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tab-icon.user::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 14px 14px 7px 7px;
}

.customer-content {
  margin-top: 16px;
}

.manual-assisted-guide {
	margin-bottom: 14px;
	padding: 14px;
	border: 1px solid rgba(211, 137, 31, 0.24);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(255, 251, 238, 0.98), rgba(255, 242, 214, 0.9));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.manual-assisted-guide > span {
	display: block;
	margin-bottom: 8px;
	color: #8c5b12;
	font-size: 12px;
	font-weight: 900;
}

.manual-assisted-secret {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
}

.manual-assisted-secret strong {
	min-width: 0;
	color: #302416;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.45;
	word-break: break-word;
}

.manual-assisted-secret button {
	min-width: 80px;
	min-height: 42px;
	padding: 0 13px;
	border: 0;
	border-radius: 13px;
	color: #ffffff;
	background: linear-gradient(135deg, #e79c25, #c96c13);
	box-shadow: 0 8px 18px rgba(192, 104, 17, 0.2);
	font-size: 14px;
	font-weight: 900;
	transition: transform 0.18s ease, filter 0.18s ease;
}

.manual-assisted-secret button:active {
	transform: scale(0.97);
	filter: brightness(1.04);
}

.manual-assisted-guide small {
	display: block;
	margin-top: 9px;
	color: #816f55;
	font-size: 12px;
	font-weight: 750;
	line-height: 1.45;
}

.customer-content img {
	width: 100%;
	max-height: min(62vh, 680px);
	display: block;
	object-fit: contain;
	border-radius: 20px;
	background: #fff;
}

.customer-link {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(102px + env(safe-area-inset-bottom));
  z-index: 1200;
  transform: translateX(-50%);
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 15px;
  border-radius: 16px;
  color: #fff;
  background: rgba(17, 21, 34, 0.92);
  box-shadow: 0 14px 40px rgba(17, 21, 34, 0.25);
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 0px) {
  :root {
    color-scheme: dark;
    --bg: #101722;
    --surface: rgba(24, 33, 48, 0.78);
    --surface-strong: rgba(24, 33, 48, 0.92);
    --text: #f6f8fb;
    --muted: #9aa8ba;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
    --glass-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  }

  body {
    background:
      radial-gradient(circle at 18% 4%, rgba(56, 168, 255, 0.14), transparent 24rem),
      radial-gradient(circle at 86% 1%, rgba(255, 78, 142, 0.12), transparent 22rem),
      #101722;
  }

  .category-tab,
  .recharge-card,
  .future-card,
  .notice-bar,
  .orders-head,
  .order-card-item,
  .modal-sheet,
  .order-detail-card,
  .phone-history,
  .icon-button,
  .order-search input {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(24, 33, 48, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px rgba(0, 0, 0, 0.16);
  }

  .product-card,
  .service-row span,
  .order-actions button,
  .secondary-wide {
    color: var(--text);
    background: rgba(31, 43, 61, 0.88);
  }

  .product-card.active {
    border-color: #55a4ff;
    background: rgba(27, 39, 57, 0.96);
  }

  .notice-bar span,
  .mobile-header h1,
  .future-card h2,
  .orders-head h2,
  .product-card strong {
    color: var(--text);
  }

  .field input::placeholder,
  .order-search input::placeholder,
  .service-booking-fields input::placeholder,
  .service-booking-fields textarea::placeholder {
    color: #748195;
  }

  .category-tab:not(.active) {
    color: #e9edf3;
  }

  .category-tab:not(.active) small,
  .category-tab:not(.active) span,
  .location-line,
  .orders-head p,
  .order-main p,
  .order-detail-card p,
  .order-account-line,
  .order-account-line > span,
  .order-account-line small,
  .privacy-note a,
  .hint-text {
    color: #a7b2c1 !important;
  }

  .order-account-line strong {
    color: #edf3fc;
  }

  .arrival-notice,
  .detail-arrival-notice {
    border-color: rgba(100, 180, 255, 0.28);
    color: #91c8ff;
    background: rgba(32, 108, 186, 0.28);
  }

  .coupon-next-step {
    border-color: rgba(100, 180, 255, 0.24);
    color: #91c8ff;
    background: rgba(30, 86, 148, 0.26);
  }

  .coupon-next-step b {
    color: #b7ddff;
  }

  .coupon-next-step span {
    color: #a7b2c1;
  }

  .coupon-next-step.active {
    border-color: rgba(255, 168, 92, 0.28);
    color: #ffc48a;
    background: rgba(176, 94, 32, 0.22);
  }

  .coupon-next-step.active b {
    color: #ffd7ae;
  }

	.redemption-order-card {
		border-color: rgba(104, 172, 255, 0.17);
		background: linear-gradient(180deg, rgba(22, 33, 49, 0.96), rgba(18, 28, 42, 0.92));
	}

	.redemption-order-title h3,
	.redemption-account-panel > strong,
	.redemption-order-facts dd,
	.order-section-title span {
		color: #f2f6fc;
	}

	.redemption-order-title small,
	.redemption-order-facts dt,
	.order-section-title small {
		color: #9caabd;
	}

	.redemption-account-panel,
	.standard-order-card .service-order-info,
	.redemption-order-card .manual-order-info,
	.redemption-order-timeline {
		border-color: rgba(255, 255, 255, 0.1);
		background: rgba(30, 43, 61, 0.78);
	}

	.redemption-order-facts > div {
		background: rgba(35, 52, 74, 0.76);
	}

	.standard-price-summary > div {
		background: rgba(35, 52, 74, 0.76);
	}

	.standard-price-summary span {
		color: #9caabd;
	}

	.standard-price-summary strong {
		color: #f2f6fc;
	}

	.standard-price-summary .payable {
		background: linear-gradient(135deg, rgba(31, 87, 151, 0.58), rgba(30, 67, 109, 0.54));
	}

	.standard-price-summary .payable span,
	.standard-price-summary .payable strong {
		color: #8fc5ff;
	}

	.redemption-confirmation {
		color: #8be0bc;
		background: rgba(25, 92, 68, 0.42);
	}

	.redemption-confirmation span { color: #a9c7bb; }

	.redemption-list-meta {
		color: #8be0bc;
		background: rgba(25, 92, 68, 0.42);
	}

	.redemption-list-meta small { color: #a9c7bb; }

  .coupon-strip {
    border: 1px solid rgba(255, 104, 145, 0.22);
    color: #d6bdc7;
    background: linear-gradient(90deg, rgba(104, 34, 59, 0.52), rgba(73, 31, 49, 0.42));
  }

  .coupon-strip strong {
    color: #fff5f8;
  }

  .coupon-strip b {
    color: #ff7da1;
  }

  .product-section-copy > span {
    color: #8bc2ff;
    background: rgba(54, 141, 255, 0.16);
  }

	.product-card.manual-product:not(.featured) {
		border-color: rgba(61, 205, 144, 0.28);
		background: linear-gradient(180deg, rgba(25, 57, 47, 0.82), rgba(25, 43, 42, 0.9));
	}

	.product-card.featured,
	.product-card.manual-product.featured {
		border-color: rgba(84, 164, 255, 0.46);
		background: linear-gradient(180deg, rgba(24, 53, 86, 0.96), rgba(22, 40, 64, 0.94));
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2);
	}

	.product-card.featured .product-price b {
		color: #8bc8ff;
	}

  .product-card.manual-product.manual-assisted {
    border-color: rgba(255, 187, 76, 0.42);
    background: linear-gradient(180deg, rgba(66, 51, 28, 0.94), rgba(51, 43, 31, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2);
  }

  .product-card.manual-product.manual-assisted strong {
    color: #fff5df;
  }

  .product-card.manual-product.manual-assisted .product-price b {
    color: #ffc56f;
  }

  .manual-assisted-note {
    color: #e9b965;
  }

  .manual-assisted-guide {
    border-color: rgba(255, 190, 86, 0.26);
    background: linear-gradient(145deg, rgba(68, 53, 31, 0.96), rgba(50, 42, 31, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .manual-assisted-guide > span,
  .manual-assisted-guide small {
    color: #e7bd7b;
  }

  .manual-assisted-secret strong {
    color: #fff8ea;
  }

  .product-card.direct-sold-out {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(28, 36, 48, 0.7);
  }

  .product-card.direct-sold-out strong,
  .product-unavailable-note {
    color: #8793a4;
  }

  .ported-alert {
    border-color: rgba(255, 174, 75, 0.34);
    color: #ffc271;
    background: rgba(94, 58, 14, 0.44);
  }

  .electricity-region-fields select,
  .service-booking-fields input,
  .service-booking-fields select,
  .service-booking-fields textarea,
  .private-order-form input,
  .private-order-form textarea {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
    background: rgba(18, 26, 38, 0.9);
  }

  .order-filters button {
    color: #b2bdca;
    background: rgba(31, 43, 61, 0.78);
  }

  .order-filters button.active {
    color: #ffffff;
    background: rgba(54, 105, 166, 0.48);
    box-shadow: inset 0 -3px 0 #73b5ff;
  }

  .phone-mini {
    color: #111722;
    background: #eef4fb;
  }

  .order-detail-card,
  .upstream-fields {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(17, 25, 37, 0.78);
  }

  .price-line {
    border-color: rgba(255, 255, 255, 0.1);
    color: #a4afbd;
  }

  .modal-backdrop {
    background: rgba(2, 6, 12, 0.72);
  }

  .modal-sheet,
  .conflict-sheet {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(23, 31, 44, 0.98);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .modal-sheet p,
  .conflict-sheet p,
  .loading-sheet small {
    color: #c2cbd6;
  }

  .modal-sheet button:disabled {
    border-color: rgba(255, 255, 255, 0.08);
    color: #929dab;
    background: #27313e;
    box-shadow: none;
  }

  .payment-priority-note {
    border-color: rgba(255, 181, 82, 0.28);
    color: #ffd18a !important;
    background: rgba(92, 59, 16, 0.42);
  }

  .status-badge.service_pending,
  .status-badge.service_scheduled,
  .status-text.service_pending,
  .status-text.service_scheduled {
    color: #83bcff;
    background: rgba(37, 100, 171, 0.28);
  }

  .status-badge.paid,
  .status-badge.processing,
  .status-text.service_pickup,
  .status-text.service_cleaning,
  .status-text.service_returning,
  .status-text.service_in_progress {
    color: #ffd17f;
    background: rgba(112, 75, 17, 0.3);
  }

  .future-card button,
  .secondary-wide,
  .order-actions button {
    color: #d8e8fa;
    background: #263548;
  }

  .phone-history button:active {
    background: rgba(81, 157, 255, 0.16);
  }

  .customer-content img {
    background: #111822;
  }

  .tab-bar {
    border-color: rgba(255, 255, 255, 0.18);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
      rgba(15, 23, 42, 0.52);
  }

  .tab-bar button {
    color: rgba(246, 248, 251, 0.66);
  }

  .tab-bar button.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
  }

  .android-browser-guide-card {
    border-color: rgba(255, 255, 255, 0.14);
    color: #f5f7fb;
    background: rgba(22, 30, 43, 0.86);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .android-browser-guide-card > p,
  .android-browser-guide-card small {
    color: #aeb9c8;
  }

  .android-browser-guide-card li {
    border-color: rgba(116, 174, 255, 0.2);
    background: rgba(35, 48, 67, 0.86);
  }

  .android-browser-guide-card li strong {
    color: #85bdff;
  }

  .android-browser-guide-card button {
    color: #d8e1ec;
    background: #2a3748;
  }
}

/* 私人渠道实名核验：先解释对象，再双录确认；错误状态不用颜色单独传达。 */
.manual-owner-verify{display:grid;gap:11px;margin:0;padding:14px;border:1px solid rgba(239,96,77,.22);border-radius:18px;background:linear-gradient(145deg,rgba(255,247,244,.96),rgba(248,252,255,.98))}.manual-owner-verify legend{padding:0 5px;color:#2d3543;font-size:14px;font-weight:900}.manual-owner-verify legend span{margin-left:7px;color:#d5483d;font-size:11px}.manual-owner-guard{margin:0;padding:10px 11px;border-radius:13px;color:#6b4250;background:rgba(255,237,232,.8);font-size:12px;font-weight:700;line-height:1.55}.manual-owner-guard strong{color:#c53d32}.manual-owner-repeat{padding-top:2px;border-top:1px dashed rgba(47,72,112,.14)}.manual-detail-field input[aria-invalid="true"]{border-color:rgba(213,72,61,.72);box-shadow:0 0 0 3px rgba(213,72,61,.1)}.manual-detail-field>small.is-error{color:#c43f35}.manual-owner-check{display:flex;align-items:flex-start;gap:9px;padding:10px 2px 0;color:#4c596d;font-size:12px;font-weight:750;line-height:1.55}.manual-owner-check input{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;accent-color:#1677ff}.manual-owner-check strong{color:#b63b32}@media(prefers-color-scheme:dark){.manual-owner-verify{border-color:rgba(255,137,119,.25);background:linear-gradient(145deg,rgba(74,37,40,.48),rgba(25,40,64,.68))}.manual-owner-guard{color:#f4c7c0;background:rgba(158,63,51,.19)}.manual-owner-guard strong,.manual-owner-check strong{color:#ffad9d}}

/* 私人渠道实名核验：先解释对象，再双录确认；错误状态不用颜色单独传达。 */
.manual-owner-verify{display:grid;gap:11px;margin:0;padding:14px;border:1px solid rgba(239,96,77,.22);border-radius:18px;background:linear-gradient(145deg,rgba(255,247,244,.96),rgba(248,252,255,.98))}.manual-owner-verify legend{padding:0 5px;color:#2d3543;font-size:14px;font-weight:900}.manual-owner-verify legend span{margin-left:7px;color:#d5483d;font-size:11px}.manual-owner-guard{margin:0;padding:10px 11px;border-radius:13px;color:#6b4250;background:rgba(255,237,232,.8);font-size:12px;font-weight:700;line-height:1.55}.manual-owner-guard strong{color:#c53d32}.manual-owner-repeat{padding-top:2px;border-top:1px dashed rgba(47,72,112,.14)}.manual-detail-field input[aria-invalid="true"]{border-color:rgba(213,72,61,.72);box-shadow:0 0 0 3px rgba(213,72,61,.1)}.manual-detail-field>small.is-error{color:#c43f35}.manual-owner-check{display:flex;align-items:flex-start;gap:9px;padding:10px 2px 0;color:#4c596d;font-size:12px;font-weight:750;line-height:1.55}.manual-owner-check input{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;accent-color:#1677ff}.manual-owner-check strong{color:#b63b32}@media(prefers-color-scheme:dark){.manual-owner-verify{border-color:rgba(255,137,119,.25);background:linear-gradient(145deg,rgba(74,37,40,.48),rgba(25,40,64,.68))}.manual-owner-guard{color:#f4c7c0;background:rgba(158,63,51,.19)}.manual-owner-guard strong,.manual-owner-check strong{color:#ffad9d}}

/* v147 owner verification + payment help: one compact hierarchy across Safari,
   Android WebView and older iOS. Native fieldset/legend is intentionally avoided. */
.manual-details-sheet {
  width: min(520px, calc(100vw - 24px));
  max-height: min(760px, calc(100dvh - 24px));
  overflow: auto;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}
.manual-owner-verify {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(22,119,255,.16);
  border-radius: 18px;
  background: #f7faff;
}
.manual-owner-title {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
}
.manual-owner-title h4 { margin: 0; color: #1e293b; font-size: 15px; line-height: 1.3; }
.manual-owner-title p { margin: 3px 0 0; color: #748198; font-size: 11px; line-height: 1.4; }
.manual-owner-title > strong { padding: 5px 8px; border-radius: 999px; color: #a84539; background: #fff0ed; font-size: 10px; white-space: nowrap; }
.manual-owner-shield,
.manual-owner-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #fff;
  background: #1677ff;
  font-size: 12px;
  font-weight: 850;
}
.manual-owner-guard {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(227,87,67,.16);
  border-radius: 12px;
  color: #6d4a4c;
  background: #fff5f2;
  font-size: 12px;
  line-height: 1.6;
}
.manual-owner-guard strong { color: #c44a3d; }
.manual-owner-step {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  align-items: start;
  gap: 10px;
}
.manual-owner-step-number { width: 24px; height: 24px; margin-top: 3px; border-radius: 8px; font-size: 11px; }
.manual-owner-step + .manual-owner-step { position: relative; }
.manual-owner-step + .manual-owner-step::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 11px;
  width: 1px;
  height: 14px;
  background: #cfdcf0;
}
.manual-owner-repeat { padding-top: 0; border-top: 0; }
.manual-owner-check {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  align-items: start;
  gap: 9px;
  padding: 11px 0 0;
  border-top: 1px solid rgba(22,119,255,.1);
  color: #536176;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}
.manual-owner-check input { width: 18px; height: 18px; margin: 0; accent-color: #1677ff; }
.manual-contact-divider { display: flex; align-items: center; gap: 10px; margin: 16px 2px 2px; color: #8a95a5; font-size: 11px; font-weight: 800; }
.manual-contact-divider::before, .manual-contact-divider::after { content: ""; height: 1px; flex: 1; background: #e7edf5; }
.manual-wechat-field { padding: 0 2px; }
.manual-detail-field input { min-height: 46px; font-size: 16px; }
.payment-help-notice {
  position: fixed;
  z-index: 80;
  top: calc(12px + env(safe-area-inset-top));
  left: 50%;
  width: min(420px, calc(100vw - 24px));
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 14px 34px rgba(28,48,76,.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.payment-help-notice[hidden] { display: none; }
.payment-help-notice > button:first-child { display: grid; grid-template-columns: 32px minmax(0,1fr) 20px; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 7px; border: 0; color: #1e293b; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.payment-help-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; background: #db4f48; font-weight: 900; }
.payment-help-notice strong { display: block; color: #a53d37; font-size: 13px; line-height: 1.3; }
.payment-help-notice small { display: block; margin-top: 3px; color: #657287; font-size: 11px; line-height: 1.45; }
.payment-help-notice i { color: #9aa5b4; font-size: 25px; font-style: normal; text-align: center; }
.payment-help-dismiss { position: absolute; top: 2px; right: 3px; width: 22px; height: 22px; padding: 0; border: 0; color: #9aa5b4; background: transparent; font-size: 18px; line-height: 20px; cursor: pointer; }
@media (prefers-color-scheme: dark) {
  .manual-owner-verify { border-color: rgba(116,167,242,.24); background: #152238; }
  .manual-owner-title h4 { color: #edf4ff; }
  .manual-owner-title p, .manual-owner-check { color: #aebbd0; }
  .manual-owner-title > strong { color: #ffc0b5; background: #442a2a; }
  .manual-owner-guard { color: #f2c5bc; border-color: rgba(255,137,119,.25); background: #38262a; }
  .manual-owner-guard strong { color: #ffab9e; }
  .manual-owner-step + .manual-owner-step::before { background: #2c405d; }
  .manual-owner-check { border-top-color: #2c405d; }
  .manual-contact-divider::before, .manual-contact-divider::after { background: #2c405d; }
  .payment-help-notice { border-color: rgba(255,255,255,.16); background: rgba(24,35,52,.96); }
  .payment-help-notice strong { color: #ffb2a8; }
  .payment-help-notice small, .payment-help-notice i { color: #afbdd0; }
  .payment-help-notice > button:first-child { color: #eef4ff; }
}
@media (max-width: 420px) {
  .manual-details-sheet { width: calc(100vw - 12px); border-radius: 22px 22px 0 0; }
  .manual-owner-verify { padding: 14px; }
  .manual-owner-title > strong { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .payment-help-notice { transition: none !important; }
}
html[data-theme="dark"] .manual-owner-verify { border-color: rgba(116,167,242,.24); background: #152238; }
html[data-theme="dark"] .manual-owner-title h4 { color: #edf4ff; }
html[data-theme="dark"] .manual-owner-title p, html[data-theme="dark"] .manual-owner-check { color: #aebbd0; }
html[data-theme="dark"] .manual-owner-title > strong { color: #ffc0b5; background: #442a2a; }
html[data-theme="dark"] .manual-owner-guard { color: #f2c5bc; border-color: rgba(255,137,119,.25); background: #38262a; }
html[data-theme="dark"] .manual-owner-guard strong { color: #ffab9e; }
html[data-theme="dark"] .manual-owner-step + .manual-owner-step::before { background: #2c405d; }
html[data-theme="dark"] .manual-owner-check { border-top-color: #2c405d; }
html[data-theme="dark"] .manual-contact-divider::before, html[data-theme="dark"] .manual-contact-divider::after { background: #2c405d; }
html[data-theme="dark"] .payment-help-notice { border-color: rgba(255,255,255,.16); background: rgba(24,35,52,.96); }
html[data-theme="dark"] .payment-help-notice strong { color: #ffb2a8; }
html[data-theme="dark"] .payment-help-notice small, html[data-theme="dark"] .payment-help-notice i { color: #afbdd0; }
html[data-theme="dark"] .payment-help-notice > button:first-child { color: #eef4ff; }

/* 私人渠道下单信息：单次填写、示例按需展开、售后确认独立成组。 */
.manual-wechat-guide {
  margin: -3px 2px 0;
  border: 1px solid rgba(22,119,255,.14);
  border-radius: 14px;
  background: #f5f9ff;
  overflow: hidden;
}
.manual-wechat-guide-toggle {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) 20px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  border: 0;
  color: #1f3656;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.manual-wechat-guide-toggle:active { transform: scale(.99); }
.manual-wechat-guide-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: #fff;
  background: #1677ff;
  font-size: 13px;
  font-weight: 900;
}
.manual-wechat-guide-toggle strong,
.manual-wechat-guide-toggle small { display: block; }
.manual-wechat-guide-toggle strong { font-size: 12px; line-height: 1.35; }
.manual-wechat-guide-toggle small { margin-top: 2px; color: #6e7e95; font-size: 11px; line-height: 1.35; }
.manual-wechat-guide-chevron { color: #7290b4; font-size: 20px; line-height: 1; text-align: center; transition: transform .18s ease; }
.manual-wechat-guide-toggle[aria-expanded="true"] .manual-wechat-guide-chevron { transform: rotate(180deg); }
.manual-wechat-guide-panel { padding: 0 10px 10px; }
.manual-wechat-guide-panel img { display: block; width: 100%; height: auto; border-radius: 10px; }
.manual-after-sales-check {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  align-items: start;
  gap: 8px;
  margin: 1px 2px 0;
  padding: 11px 10px;
  border: 1px solid rgba(229,91,74,.2);
  border-radius: 14px;
  color: #6a3d3d;
  background: #fff7f4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}
.manual-after-sales-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #e45b4a; }
.manual-after-sales-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: #fff;
  background: #e45b4a;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}
html[data-theme="dark"] .manual-wechat-guide { border-color: rgba(116,167,242,.22); background: #152238; }
html[data-theme="dark"] .manual-wechat-guide-toggle { color: #edf4ff; }
html[data-theme="dark"] .manual-wechat-guide-toggle small,
html[data-theme="dark"] .manual-wechat-guide-chevron { color: #aebbd0; }
html[data-theme="dark"] .manual-after-sales-check { border-color: rgba(255,137,119,.3); color: #f5c9c1; background: #38262a; }

.manual-wechat-profile-result {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  margin: -3px 2px 0;
  padding: 10px 12px;
  border: 1px solid rgba(35, 163, 112, .2);
  border-radius: 14px;
  color: #155b45;
  background: #effaf5;
}
.manual-wechat-profile-result > div { min-width: 0; }
.manual-wechat-profile-result strong,
.manual-wechat-profile-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manual-wechat-profile-result strong { font-size: 13px; font-weight: 900; }
.manual-wechat-profile-result small { margin-top: 3px; color: #588273; font-size: 11px; line-height: 1.35; }
.manual-profile-avatar,
.manual-profile-avatar-skeleton,
.manual-profile-error-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; overflow: hidden; }
.manual-profile-avatar { background: #d8f1e6; }
.manual-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.manual-wechat-profile-result > i { color: #16a06a; font-size: 20px; font-style: normal; font-weight: 950; }
.manual-wechat-profile-result.is-loading { border-color: rgba(22,119,255,.16); color: #275789; background: #f3f8ff; }
.manual-wechat-profile-result.is-loading small { color: #6e86a4; }
.manual-profile-avatar-skeleton { background: linear-gradient(90deg,#e3edf8 25%,#f5f9ff 50%,#e3edf8 75%); background-size: 200% 100%; animation: manualProfileShimmer 1.2s ease-in-out infinite; }
.manual-wechat-profile-result.is-error { grid-template-columns: minmax(0,1fr); border-color: rgba(66,133,216,.22); color: #24558d; background: #f2f7ff; }
.manual-wechat-profile-result.is-error small { color: #5c7fa8; white-space: normal; }
.manual-profile-error-mark { width: 30px; height: 30px; border-radius: 9px; color: #fff; background: #e0615b; font-style: normal; font-weight: 950; }
@keyframes manualProfileShimmer { to { background-position: -200% 0; } }
html[data-theme="dark"] .manual-wechat-profile-result { border-color: rgba(88,210,159,.25); color: #b8efd6; background: #17362e; }
html[data-theme="dark"] .manual-wechat-profile-result small { color: #9bc8b7; }
html[data-theme="dark"] .manual-wechat-profile-result.is-loading { border-color: rgba(116,167,242,.24); color: #c7ddfa; background: #172945; }
html[data-theme="dark"] .manual-wechat-profile-result.is-error { border-color: rgba(116,167,242,.35); color: #c9e0ff; background: #172b49; }
html[data-theme="dark"] .manual-wechat-profile-result.is-error small { color: #a9c5e7; }
.manual-guide-path { display: inline; margin: 0 2px; padding: 1px 5px; border-radius: 5px; color: #164e91; background: #dbeaff; font-weight: 800; }
html[data-theme="dark"] .manual-guide-path { color: #dcecff; background: #2a4f7f; }
@media (max-width: 420px) {
  .manual-after-sales-check { grid-template-columns: 18px minmax(0,1fr); padding: 10px 8px; font-size: 11px; }
}

/* 会员权益：以“搜索服务 → 确认规格 → 同规格比价”为唯一购买路径。 */
.membership-explorer { --member-navy:#123769; --member-blue:#176fd3; --member-pale:#edf5ff; --member-gold:#d78a22; gap:12px; }
.membership-market-hero { position:relative; display:grid; grid-template-columns:46px minmax(0,1fr) auto; align-items:center; gap:11px; overflow:hidden; padding:15px; border-radius:17px; color:#fff; background:radial-gradient(circle at 93% 4%,rgba(111,194,255,.42),transparent 36%),linear-gradient(135deg,#102e5e 0%,#174e91 58%,#1875c7 100%); box-shadow:0 14px 30px rgba(15,63,121,.22); }
.membership-market-hero::after { content:""; position:absolute; right:-28px; bottom:-44px; width:130px; height:130px; border:20px solid rgba(255,255,255,.055); border-radius:50%; }
.membership-market-mark { display:grid; place-items:center; width:46px; height:46px; border:1px solid rgba(255,255,255,.28); border-radius:14px; background:rgba(255,255,255,.13); box-shadow:inset 0 1px 0 rgba(255,255,255,.25); }
.membership-market-mark svg { width:26px; height:26px; }
.membership-market-hero > div:nth-child(2) { position:relative; z-index:1; min-width:0; }
.membership-market-hero small { color:rgba(255,255,255,.72); font-size:10px; font-weight:750; }
.membership-market-hero h2 { margin:2px 0 0; color:#fff; font-size:21px; line-height:1.2; letter-spacing:-.02em; }
.membership-market-hero p { margin:5px 0 0; color:rgba(255,255,255,.76); font-size:11px; line-height:1.45; }
.membership-market-hero > span { position:relative; z-index:1; display:inline-flex; align-items:center; gap:5px; padding:6px 8px; border:1px solid rgba(255,255,255,.18); border-radius:999px; color:#fff; background:rgba(4,28,60,.24); font-size:10px; font-weight:750; white-space:nowrap; }
.membership-market-hero > span i { width:6px; height:6px; border-radius:50%; background:#7ce0b2; box-shadow:0 0 0 3px rgba(124,224,178,.15); }
.membership-steps { display:grid; grid-template-columns:auto 1fr auto 1fr auto; align-items:center; gap:7px; padding:0 7px; }
.membership-steps > span { display:flex; align-items:center; gap:5px; color:var(--muted); }
.membership-steps > span b { display:grid; place-items:center; width:20px; height:20px; border:1px solid var(--line); border-radius:50%; color:var(--muted); background:var(--surface); font-size:10px; }
.membership-steps > span small { font-size:10px; font-weight:750; white-space:nowrap; }
.membership-steps > span.active { color:var(--member-blue); }
.membership-steps > span.active b { border-color:var(--member-blue); color:#fff; background:var(--member-blue); }
.membership-steps > i { height:1px; background:var(--line); }
.membership-search-card { display:grid; gap:8px; padding:10px; border:1px solid rgba(23,111,211,.15); border-radius:15px; background:rgba(244,249,255,.76); box-shadow:inset 0 1px 0 rgba(255,255,255,.8); }
.membership-search-card .membership-search-row,.membership-search-card .membership-account-field { display:grid; grid-template-columns:26px minmax(0,1fr) 28px; align-items:center; gap:7px; min-height:57px; padding:6px 9px; border:1px solid rgba(35,83,137,.12); border-radius:11px; background:var(--surface-strong); box-shadow:none; }
.membership-search-card .membership-account-field { grid-template-columns:26px minmax(0,1fr); }
.membership-search-card .membership-search-row:focus-within,.membership-search-card .membership-account-field:focus-within { border-color:rgba(23,111,211,.55); box-shadow:0 0 0 3px rgba(23,111,211,.09); }
.membership-search-card .membership-search-row > span:first-child,.membership-search-card .membership-account-field > span:first-child { display:grid; place-items:center; width:26px; height:26px; color:var(--member-blue); background:var(--member-pale); border-radius:8px; }
.membership-search-card svg { width:16px; height:16px; }
.membership-input-copy { display:grid!important; gap:2px; min-width:0; margin:0!important; color:inherit!important; background:transparent!important; }
.membership-input-copy small { color:var(--muted); font-size:9px; font-weight:750; line-height:1.2; }
.membership-input-copy input { height:26px; padding:0; color:var(--text); background:transparent; font-size:15px; font-weight:650; line-height:1; }
.membership-input-copy input::placeholder { color:#9aa5b5; font-weight:500; }
.membership-search-card .membership-search-row > button { width:28px; height:28px; font-size:19px; }
.membership-compare-button { display:grid; grid-template-columns:30px minmax(0,1fr) 18px; gap:8px; min-height:58px; padding:8px 12px; border:0; border-radius:12px; background:linear-gradient(135deg,#176fd3,#0f5dbb); box-shadow:0 10px 22px rgba(21,98,188,.22),inset 0 1px 0 rgba(255,255,255,.25); text-align:left; }
.membership-compare-button > span:first-child { display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:rgba(255,255,255,.14); }
.membership-compare-button > span:nth-child(2) { display:grid; gap:1px; }
.membership-compare-button small { color:rgba(255,255,255,.68); font-size:9px; font-weight:650; }
.membership-compare-button strong { color:#fff; font-size:15px; }
.membership-compare-button > i { color:rgba(255,255,255,.8); font-size:24px; font-style:normal; }
.membership-start-state,.membership-loading { min-height:190px; padding:20px 14px 18px; border:1px solid rgba(23,111,211,.11); border-radius:14px; background:linear-gradient(180deg,rgba(247,251,255,.86),rgba(255,255,255,.72)); }
.membership-start-visual { position:relative; width:82px; height:54px; margin-bottom:4px; }
.membership-start-visual > span,.membership-start-visual > b { position:absolute; display:grid; place-items:center; width:52px; height:38px; border:1px solid rgba(23,111,211,.18); border-radius:10px; background:#fff; box-shadow:0 8px 18px rgba(19,66,119,.1); }
.membership-start-visual > span { left:3px; bottom:3px; z-index:2; color:var(--member-blue); transform:rotate(-7deg); }
.membership-start-visual > span svg { width:22px; height:22px; }
.membership-start-visual > b { right:2px; top:2px; color:var(--member-gold); font-size:20px; transform:rotate(7deg); }
.membership-start-visual > i { position:absolute; left:39px; top:7px; z-index:3; width:7px; height:7px; border-radius:50%; background:#ffb345; }
.membership-start-state > strong { margin-top:8px; font-size:15px; }
.membership-start-state > p { max-width:280px; line-height:1.5; }
.membership-popular-searches { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px; margin-top:13px; }
.membership-popular-searches small { color:var(--muted); font-size:10px; }
.membership-popular-searches button { min-height:28px; padding:0 9px; border:1px solid rgba(23,111,211,.13); border-radius:999px; color:#315f91; background:#f1f7ff; font-size:11px; font-weight:700; }
.membership-loading > b { display:flex; gap:5px; margin-top:13px; }
.membership-loading > b i { width:5px; height:5px; border-radius:50%; background:var(--member-blue); animation:membershipLoadingDot 1s ease-in-out infinite; }
.membership-loading > b i:nth-child(2) { animation-delay:140ms; }.membership-loading > b i:nth-child(3) { animation-delay:280ms; }
@keyframes membershipLoadingDot { 0%,100%{opacity:.25;transform:translateY(0)} 50%{opacity:1;transform:translateY(-4px)} }
.membership-group-head { align-items:end; padding:4px 2px; }
.membership-group-head div { gap:2px; }.membership-group-head div > small { color:var(--member-blue); font-size:9px; font-weight:800; }.membership-group-head strong { font-size:16px; }.membership-group-head span { line-height:1.45; }
.membership-group-list > button { grid-template-columns:48px minmax(0,1fr) auto; gap:10px; min-height:86px; padding:12px; border-radius:13px; box-shadow:0 7px 18px rgba(29,71,119,.055); }
.membership-group-copy { display:grid; gap:7px; min-width:0; }.membership-group-copy > strong { overflow:hidden; color:var(--text); font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.membership-group-copy > small { display:flex; flex-wrap:wrap; gap:4px; color:var(--muted); font-size:10px; }.membership-group-copy > small i { padding:2px 5px; border-radius:4px; color:#315f91; background:var(--member-pale); font-style:normal; font-weight:700; }
.membership-group-offer { display:grid; justify-items:end; gap:1px; }.membership-group-offer > small { color:var(--muted); font-size:9px; }.membership-group-offer > em { display:flex; align-items:baseline; color:#d35632; font-size:19px; font-style:normal; font-weight:850; }.membership-group-offer > em i,.membership-group-offer > em b { font-size:10px; font-style:normal; }.membership-group-offer > em b { margin-left:2px; color:var(--muted); }.membership-group-offer > u { margin-top:3px; color:var(--member-blue); font-size:10px; font-weight:800; text-decoration:none; }
.membership-selected-group { border-radius:11px; background:var(--member-pale); }
.membership-specification { display:grid; gap:8px; padding:12px; border:1px solid rgba(23,111,211,.11); border-radius:12px; background:rgba(248,251,255,.82); }.membership-specification > div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }.membership-specification strong { color:var(--text); font-size:13px; }.membership-specification small { color:var(--muted); font-size:9px; }
.membership-duration-filter { padding:0; }.membership-duration-filter button { min-height:36px; border-radius:9px; background:var(--surface); }.membership-duration-filter button.active { border-color:var(--member-blue); color:#fff; background:var(--member-blue); box-shadow:0 6px 14px rgba(23,111,211,.18); }
.membership-result-summary { display:grid; grid-template-columns:1fr auto; gap:8px 12px; padding:12px; border:1px solid rgba(23,111,211,.12); border-radius:13px; background:linear-gradient(135deg,#f1f7ff,#fff); }
.membership-result-summary > div:first-child { display:flex; align-items:baseline; gap:4px; }.membership-result-summary > div:first-child small { color:var(--muted); font-size:10px; }.membership-result-summary > div:first-child strong { color:var(--member-navy); font-size:23px; }.membership-result-summary > div:first-child span { color:var(--muted); font-size:10px; }.membership-result-summary > p { grid-column:1/-1; padding-top:8px; border-top:1px solid rgba(23,111,211,.1); }
.membership-best-price { display:grid; grid-template-columns:auto auto; align-items:baseline; justify-content:end; gap:2px 5px; }.membership-best-price small { color:var(--muted); font-size:9px; }.membership-best-price strong { color:#d35632; font-size:20px; }.membership-best-price span { grid-column:1/-1; color:#b46a18; font-size:9px; text-align:right; }
.membership-quote { grid-template-columns:46px minmax(0,1fr) 76px; min-height:112px; padding:18px 11px 11px; border-radius:13px; box-shadow:0 7px 20px rgba(29,71,119,.06); }
.membership-quote.is-best { border:1.5px solid rgba(23,111,211,.52); background:radial-gradient(circle at 100% 0,rgba(104,184,255,.22),transparent 36%),linear-gradient(180deg,#f2f8ff,#fff); }
.membership-quote > em,.membership-rank { border-radius:0 0 7px 0; background:var(--member-blue); }.membership-product-copy { gap:5px; }.membership-product-copy strong { -webkit-line-clamp:2; font-size:13px; }.membership-product-meta { flex-wrap:wrap; gap:4px; }.membership-product-meta small { order:1; flex:1 1 100%; white-space:normal; }.membership-product-meta b { order:2; color:#6f4b17; background:#fff6e7; border-color:rgba(202,137,48,.18); }.membership-product-copy i { color:#b45a1f; font-size:10px; }
.membership-price { min-width:76px; }.membership-price b { color:#d35632; font-size:20px; }.membership-price u { display:grid; place-items:center; min-width:58px; min-height:27px; margin-top:4px; border-radius:7px; color:#fff; background:var(--member-blue); font-size:10px; }
.membership-market-assurance { display:flex; align-items:center; justify-content:center; gap:0; padding:7px 0 1px; color:var(--muted); font-size:9px; }.membership-market-assurance span { display:flex; align-items:center; gap:4px; }.membership-market-assurance span::before { content:"✓"; color:var(--member-blue); font-weight:900; }.membership-market-assurance span + span::after { content:""; order:-1; width:1px; height:10px; margin:0 9px; background:var(--line); }
.membership-order-product { grid-template-columns:52px minmax(0,1fr) auto; border-radius:13px; background:linear-gradient(135deg,#f1f7ff,#fff); }.membership-order-product div > small { color:var(--member-blue); font-size:9px; font-weight:800; }.membership-order-product div > span { display:flex; flex-wrap:wrap; gap:4px; margin-top:1px; }.membership-order-product div > span i { padding:2px 5px; border-radius:4px; color:#315f91; background:var(--member-pale); font-size:9px; font-style:normal; font-weight:700; }
.membership-order-tip { display:grid!important; gap:3px!important; padding:10px 11px; border:1px solid rgba(216,138,34,.18); border-radius:10px; background:#fff9ef; }.membership-order-tip b { color:#7d511a; font-size:12px; }.membership-order-tip span { color:#9a7445; font-size:10px; line-height:1.5; }.membership-order-assurance { display:flex!important; justify-content:center; gap:12px!important; color:var(--muted); font-size:9px; }.membership-order-assurance span::before { content:"✓"; margin-right:3px; color:var(--member-blue); font-weight:900; }
html[data-theme="dark"] .membership-search-card,html[data-theme="dark"] .membership-specification,html[data-theme="dark"] .membership-result-summary { border-color:rgba(117,177,242,.14); background:#151f2c; }
html[data-theme="dark"] .membership-search-card .membership-search-row,html[data-theme="dark"] .membership-search-card .membership-account-field,html[data-theme="dark"] .membership-group-list > button,html[data-theme="dark"] .membership-quote { border-color:rgba(255,255,255,.1); background:#1a2533; }
html[data-theme="dark"] .membership-search-card .membership-search-row > span:first-child,html[data-theme="dark"] .membership-search-card .membership-account-field > span:first-child,html[data-theme="dark"] .membership-group-copy > small i,html[data-theme="dark"] .membership-order-product div > span i { color:#a9d1ff; background:#1d3855; }
html[data-theme="dark"] .membership-start-state,html[data-theme="dark"] .membership-loading { background:linear-gradient(180deg,#172231,#141d29); }
html[data-theme="dark"] .membership-popular-searches button { border-color:rgba(111,175,244,.18); color:#b8d8fa; background:#1c3047; }
html[data-theme="dark"] .membership-start-visual > span,html[data-theme="dark"] .membership-start-visual > b { border-color:rgba(255,255,255,.1); background:#223044; }
html[data-theme="dark"] .membership-quote.is-best { border-color:rgba(104,173,247,.55); background:radial-gradient(circle at 100% 0,rgba(50,125,202,.2),transparent 36%),#17283c; }
html[data-theme="dark"] .membership-product-meta b { color:#f4cc8a; background:rgba(142,92,31,.23); border-color:rgba(224,168,92,.18); }
html[data-theme="dark"] .membership-order-tip { border-color:rgba(225,168,87,.18); background:rgba(98,64,24,.26); }html[data-theme="dark"] .membership-order-tip b { color:#efc888; }html[data-theme="dark"] .membership-order-tip span { color:#c4a77c; }
@media(max-width:390px){.membership-market-hero{grid-template-columns:42px minmax(0,1fr);padding:13px}.membership-market-mark{width:42px;height:42px}.membership-market-hero>span{position:absolute;right:10px;top:9px;padding:4px 7px}.membership-market-hero h2{font-size:19px}.membership-market-hero p{padding-right:5px}.membership-steps{gap:4px;padding:0 2px}.membership-steps>span{gap:3px}.membership-steps>span small{font-size:9px}.membership-group-list>button{grid-template-columns:44px minmax(0,1fr) auto;padding:10px}.membership-product-image{width:44px;height:44px}.membership-quote{grid-template-columns:42px minmax(0,1fr) 70px;padding-left:9px;padding-right:9px}.membership-price{min-width:70px}.membership-market-assurance span+span::after{margin:0 6px}}
@media(prefers-reduced-motion:reduce){.membership-loading>b i{animation:none}}

/* Order benefit notification: native iOS banner semantics, not a blocking ad. */
.order-benefit-backdrop {
  z-index: 1080;
  place-items: start center;
  padding: calc(9px + env(safe-area-inset-top)) 9px 0;
  pointer-events: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.order-benefit-backdrop.is-bottom {
  place-items: end center;
  padding: 0 9px calc(92px + env(safe-area-inset-bottom));
}

.order-benefit-backdrop.is-bottom .order-benefit-notification {
  animation-name: order-benefit-arrive-bottom;
}

.order-benefit-backdrop.is-bottom .order-benefit-notification.is-leaving {
  transform: translate3d(0, 115%, 0) scale(0.985) !important;
}

.order-benefit-notification {
  position: relative;
  width: min(100%, 396px);
  min-width: 0;
  overflow: hidden;
  padding: 10px 11px 7px;
  border: 0.5px solid rgba(255, 255, 255, 0.84);
  border-radius: 19px;
  color: #11151b;
  background: rgba(246, 248, 251, 0.86);
  box-shadow: 0 12px 34px rgba(18, 31, 48, 0.23), inset 0 0.5px 0 rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(28px) saturate(1.65);
  backdrop-filter: blur(28px) saturate(1.65);
  pointer-events: auto;
  touch-action: pan-y;
  will-change: transform, opacity;
  animation: order-benefit-arrive 420ms cubic-bezier(.22, .86, .28, 1) both;
  transition: transform 260ms cubic-bezier(.22, .86, .28, 1), opacity 180ms ease-out;
}

.order-benefit-notification.is-dragging { transition: none; }
.order-benefit-notification.is-leaving {
  opacity: 0 !important;
  transform: translate3d(0, -115%, 0) scale(0.985) !important;
  transition: transform 190ms cubic-bezier(.4, 0, 1, 1), opacity 150ms ease-in !important;
}

.order-benefit-app-row {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.order-benefit-app-icon {
  position: relative;
  width: 29px;
  height: 29px;
  min-width: 29px;
  min-height: 29px;
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(150deg, #0c7fe8, #3ba9f4);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.38), 0 2px 5px rgba(24, 111, 190, 0.18);
}

.order-benefit-app-icon::before {
  content: "";
  width: 14px;
  height: 11px;
  border: 1.6px solid rgba(255, 255, 255, 0.98);
  border-radius: 3px 3px 5px 5px;
  transform: translateY(2px);
}

.order-benefit-app-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 6px;
  height: 4px;
  border: 1.6px solid rgba(255, 255, 255, 0.98);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.order-benefit-app-row > strong {
  overflow: hidden;
  color: #363b44;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-benefit-app-row > small {
  color: #858b94;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.order-benefit-close {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 50% !important;
  color: #8b9098 !important;
  background: rgba(112, 120, 132, 0.09) !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}

.order-benefit-content {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 3px 6px 37px;
  border: 0;
  border-radius: 10px;
  color: inherit;
  background: transparent;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background 90ms ease-out, transform 90ms ease-out;
}

.order-benefit-content:active {
  background: rgba(81, 92, 106, 0.07);
  transform: scale(0.992);
}

.order-benefit-copy { min-width: 0; }
.order-benefit-copy > strong {
  display: block;
  overflow: hidden;
  color: #11151b;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-benefit-copy > span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 2px;
  color: #454b55;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.38;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.order-benefit-action {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  color: #1677d2;
  white-space: nowrap;
}
.order-benefit-action b { max-width: 62px; overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; }
.order-benefit-action i { font-size: 20px; font-style: normal; font-weight: 300; line-height: 1; }

.order-benefit-swipe-hint {
  display: block;
  width: 34px;
  height: 3px;
  margin: 1px auto 0;
  border-radius: 999px;
  background: rgba(101, 108, 118, 0.22);
}

@keyframes order-benefit-arrive {
  from { opacity: 0; transform: translate3d(0, -110%, 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes order-benefit-arrive-bottom {
  from { opacity: 0; transform: translate3d(0, 110%, 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

html[data-theme="dark"] .order-benefit-notification {
  border-color: rgba(255, 255, 255, 0.13);
  color: #f6f7f9;
  background: rgba(42, 44, 50, 0.86);
  box-shadow: 0 13px 36px rgba(0, 0, 0, 0.48), inset 0 0.5px 0 rgba(255, 255, 255, 0.10);
}
html[data-theme="dark"] .order-benefit-app-row > strong { color: #dfe3e9; }
html[data-theme="dark"] .order-benefit-app-row > small { color: #a5abb4; }
html[data-theme="dark"] .order-benefit-copy > strong { color: #ffffff; }
html[data-theme="dark"] .order-benefit-copy > span { color: #d0d4da; }
html[data-theme="dark"] .order-benefit-close { color: #c4cad1 !important; background: rgba(255, 255, 255, 0.09) !important; }
html[data-theme="dark"] .order-benefit-content:active { background: rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .order-benefit-action { color: #65b5ff; }
html[data-theme="dark"] .order-benefit-swipe-hint { background: rgba(232, 236, 242, 0.24); }

/* Geometry integrity: circular controls must not shrink into ovals on iOS flex layouts. */
:where(
  .phone-clear-button,
  .success-rate-loading i,
  .success-rate-close,
  .conflict-mark,
  .field-help-button,
  .redemption-list-meta i,
  .redemption-confirmation > i,
  .order-refund-confirmed > i,
  .fulfillment-progress i,
  .membership-start-icon,
  .membership-loading i,
  .membership-modal-close,
  .alipay-return-guide i,
  .customer-float,
  .order-benefit-close
) {
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.plain-close.success-rate-close {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  padding: 0 !important;
  border-radius: 50% !important;
}

@media (prefers-reduced-motion: reduce) {
  .order-benefit-notification { animation: order-benefit-fade 150ms ease-out both; transition: opacity 120ms ease-out; }
  .order-benefit-content { transition: none; }
}
@keyframes order-benefit-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-transparency: reduce) {
  .order-benefit-notification {
    border-color: rgba(59, 66, 76, 0.16);
    background: #f4f5f7;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  html[data-theme="dark"] .order-benefit-notification { background: #2b2d32; }
}

@media (max-width: 340px) {
  .order-benefit-backdrop { padding-left: 6px; padding-right: 6px; }
  .order-benefit-notification { border-radius: 17px; }
  .order-benefit-content { padding-left: 31px; }
  .order-benefit-action b { display: none; }
}

/* H5 share guide: compact, task-led and consistent with the original blue UI. */
body #app {
  transition: opacity 180ms ease-out;
}

body.share-guide-side-visible #app {
  opacity: var(--share-guide-page-opacity, 1);
}

.share-guide-backdrop {
  z-index: 90;
  align-items: flex-start;
  padding: max(70px, calc(env(safe-area-inset-top) + 54px)) 14px calc(18px + env(safe-area-inset-bottom));
  background: rgba(12, 27, 48, 0.58);
}

.share-guide-backdrop.is-side {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: max(82px, calc(env(safe-area-inset-top) + 66px)) 0 calc(74px + env(safe-area-inset-bottom)) 42px;
  pointer-events: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.share-guide-sheet {
  position: relative;
  width: min(100%, 390px);
  overflow: visible;
  border: 1px solid rgba(50, 115, 202, 0.18);
  border-radius: 24px;
  color: #172033;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(12, 40, 82, 0.26);
  animation: share-guide-enter 180ms ease-out both;
}

.share-guide-backdrop.is-side .share-guide-sheet {
  width: min(100%, 360px);
	max-height: calc(100vh - 166px);
  max-height: calc(100dvh - 166px);
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: auto;
  border-right: 0;
  border-radius: 23px 0 0 23px;
  box-shadow: -9px 15px 42px rgba(20, 52, 93, 0.2);
  animation-name: share-guide-side-enter;
}

.share-guide-hero {
  position: relative;
  min-height: 146px;
  overflow: hidden;
  padding: 24px 22px 22px 142px;
  border-radius: 23px 23px 0 0;
  color: #ffffff;
  background: linear-gradient(135deg, #145ac3 0%, #2d7fea 100%);
}
.share-guide-hero::after {
  position: absolute;
  right: -38px;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  content: "";
}
.share-guide-hero > img {
  position: absolute;
  z-index: 1;
  left: 6px;
  bottom: -5px;
  width: 142px;
  height: 142px;
  object-fit: contain;
  transform: translate3d(0,0,0);
  animation: share-mascot-point 2.8s ease-in-out infinite;
}
.share-guide-hero > div { position: relative; z-index: 2; }
.share-guide-hero small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 650;
}
.share-guide-hero h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.28;
  text-wrap: balance;
}
.share-guide-hero p {
  margin: 7px 0 0;
  color: rgba(255,255,255,0.86);
  font-size: 12px;
  line-height: 1.55;
  text-wrap: pretty;
}
.share-guide-close {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  min-height: 32px;
  padding: 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 50% !important;
  color: rgba(255,255,255,0.9) !important;
  background: rgba(3,31,78,0.2) !important;
  font-size: 20px;
  line-height: 1;
}

.share-guide-steps { padding: 18px 18px 0; }
.share-guide-step {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid #e4ecf7;
  border-radius: 15px;
  background: #f7faff;
}
.share-guide-step + .share-guide-step { margin-top: 10px; }
.share-guide-step > b {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  background: #2b74d6;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.share-guide-step > span { min-width: 0; flex: 1; }
.share-guide-step > span strong { display: block; color: #182438; font-size: 14px; line-height: 1.35; }
.share-guide-step > span small { display: block; margin-top: 3px; color: #69758a; font-size: 11px; line-height: 1.4; }
.share-guide-dots {
  display: inline-grid;
  min-width: 31px;
  height: 19px;
  margin: 0 2px;
  place-items: center;
  border-radius: 999px;
  color: #1f5eae;
  background: #e5effd;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}
.share-guide-step-target {
  position: relative;
  flex: 0 0 68px;
  width: 68px;
  height: 48px;
}
.share-guide-step-target > i {
  position: absolute;
  top: 4px;
  right: 0;
  display: grid;
  width: 43px;
  height: 28px;
  place-items: center;
  border: 1px solid #cddbeb;
  border-radius: 999px;
  color: #356cae;
  background: #ffffff;
  font-size: 15px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}
.share-guide-step-target > img {
  position: absolute;
  right: 25px;
  bottom: -7px;
  width: 47px;
  height: 47px;
  object-fit: contain;
  transform: rotate(-7deg);
  animation: share-step-hand 1.15s ease-in-out infinite;
}
.share-guide-options-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
}
.share-guide-options-step > b { grid-column: 1; grid-row: 1; margin-top: 2px; }
.share-guide-options-step > span { grid-column: 2; grid-row: 1; }
.share-guide-menu-preview {
  position: relative;
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  margin-top: 10px;
  padding: 9px 8px 8px;
  border-radius: 13px;
  background: #eceff3;
}
.share-guide-menu-preview > div {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 4px;
  color: #4f5660;
  font-size: 9px;
  font-weight: 650;
  text-align: center;
}
.share-guide-menu-preview > div > img {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: contain;
}
.share-guide-menu-preview > div > span { white-space: nowrap; }
.share-guide-menu-hand {
  position: absolute;
  left: 36px;
  bottom: -10px;
  width: 43px;
  height: 43px;
  object-fit: contain;
  transform: rotate(2deg);
  animation: share-step-hand 1.15s ease-in-out infinite;
}
.share-guide-note { margin: 12px 18px 0; color: #7b8597; font-size: 11px; line-height: 1.45; text-align: center; }
.share-guide-actions { display: grid; grid-template-columns: 0.9fr 1.35fr; gap: 9px; padding: 14px 18px 18px; }
.share-guide-actions button {
  min-height: 45px;
  padding: 0 12px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 750;
}
.share-guide-secondary { border: 1px solid #ccd8e8 !important; color: #59667a !important; background: #ffffff !important; }
.share-guide-primary { border: 1px solid #1766c8 !important; color: #ffffff !important; background: #176fd6 !important; box-shadow: 0 7px 16px rgba(23,111,214,0.2); }

html[data-theme="dark"] .share-guide-sheet { border-color: #33445d; color: #f6f8fb; background: #182234; box-shadow: 0 22px 58px rgba(0,0,0,0.55); }
html[data-theme="dark"] .share-guide-step { border-color: #34455e; background: #202c40; }
html[data-theme="dark"] .share-guide-step > span strong { color: #f4f7fb; }
html[data-theme="dark"] .share-guide-step > span small,
html[data-theme="dark"] .share-guide-note { color: #aeb9ca; }
html[data-theme="dark"] .share-guide-dots { color: #8bc0ff; background: #283c58; }
html[data-theme="dark"] .share-guide-step-target > i { border-color: #455a75; color: #9bc8ff; background: #26354a; }
html[data-theme="dark"] .share-guide-menu-preview { background: #111a28; }
html[data-theme="dark"] .share-guide-menu-preview > div { color: #c5ceda; }
html[data-theme="dark"] .share-guide-secondary { border-color: #40516a !important; color: #d4dcea !important; background: #202c40 !important; }

.share-guide-hand-cue {
  position: fixed;
  z-index: 1100;
  top: max(-8px, calc(env(safe-area-inset-top) - 8px));
  right: -5px;
  width: 112px;
  height: 112px;
  pointer-events: none;
  transform-origin: 74% 78%;
  animation: share-hand-point 1.05s ease-in-out infinite;
}
.share-guide-hand-cue > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.share-guide-hand-cue.is-ending { animation-duration: .78s; }

@keyframes share-guide-enter {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes share-guide-side-enter {
  from { opacity: 0; transform: translate3d(28px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes share-mascot-point {
  0%, 100% { transform: translate3d(0, 1px, 0); }
  50% { transform: translate3d(0, -3px, 0); }
}
@keyframes share-hand-point {
  0%, 100% { transform: translate3d(0, 4px, 0) rotate(-2deg) scale(.98); }
  50% { transform: translate3d(-5px, -5px, 0) rotate(2deg) scale(1.03); }
}
@keyframes share-step-hand {
  0%, 100% { transform: translate3d(0, 2px, 0) rotate(-7deg); }
  50% { transform: translate3d(3px, -3px, 0) rotate(-3deg); }
}

@media (max-width: 350px) {
  .share-guide-backdrop { padding-left: 9px; padding-right: 9px; }
  .share-guide-hero { min-height: 136px; padding-left: 128px; padding-right: 17px; }
  .share-guide-hero > img { left: 1px; width: 132px; height: 132px; }
  .share-guide-hero h3 { font-size: 18px; }
  .share-guide-steps { padding-left: 13px; padding-right: 13px; }
  .share-guide-actions { padding-left: 13px; padding-right: 13px; }
	.share-guide-backdrop.is-side { padding-left: 34px; }
	.share-guide-menu-preview > div > img { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .share-guide-sheet { animation: share-guide-fade 150ms ease-out both; }
  .share-guide-hero > img { animation: none; }
	.share-guide-hand-cue,
	.share-guide-step-target > img,
	.share-guide-menu-hand { animation: none; }
}
@keyframes share-guide-fade { from { opacity: 0; } to { opacity: 1; } }

/* Fuel cards intentionally override the generic product-card rhythm. The
   offer is one wide, stable row so the amount and CTA never jump when copy
   or price lengths change. */
.product-card.fuel-product {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(98px, auto);
  grid-template-rows: minmax(68px, auto);
  align-items: center;
  column-gap: 14px;
  row-gap: 0;
  min-height: 96px;
  padding: 16px 18px;
  border: 1px solid rgba(218, 145, 53, .24);
  border-radius: 16px;
  background: linear-gradient(110deg, #fff9ee 0%, #fff 58%, #f7fbff 100%);
  text-align: left;
}
.product-card.fuel-product .fuel-product-main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 12px;
}
.product-card.fuel-product .fuel-product-icon {
  grid-column: 1;
  grid-row: 1;
  place-self: center;
  margin: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.product-card.fuel-product .fuel-product-icon > span {
  font-size: 30px;
  transform: translateY(-1px);
}
.product-card.fuel-product .fuel-product-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  padding-top: 0;
}
.product-card.fuel-product .fuel-product-copy strong {
  display: block;
  overflow: hidden;
  color: #1f2b3d;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card.fuel-product .fuel-product-copy p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #6d7582;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card.fuel-product .fuel-product-foot {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
  color: #718096;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}
.product-card.fuel-product .fuel-product-foot > span {
  display: none;
}
.product-card.fuel-product .fuel-product-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 0;
}
.product-card.fuel-product .fuel-product-face {
  color: #b96b12;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}
.product-card.fuel-product .fuel-product-foot b {
  color: #b96b12;
  font-size: 13px;
}
.product-card.fuel-product .fuel-product-foot small {
  color: #9aa5b4;
  font-size: 11px;
}
.product-card.fuel-product .fuel-product-foot strong {
  display: inline;
  color: #1f2b3d;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.product-card.fuel-product .fuel-product-foot i {
  display: inline-block;
  align-self: center;
  color: #b96b12;
  font-size: 24px;
  font-style: normal;
  line-height: 1;
}
.product-card.fuel-product > .product-tag {
  top: 0;
  right: 0;
  border-radius: 0 16px 0 10px;
  padding: 4px 8px 5px;
  font-size: 10px;
}
.product-card.fuel-product:active { transform: translateY(1px); }
html[data-theme="dark"] .product-card.fuel-product {
  border-color: rgba(255, 187, 76, .34);
  background: linear-gradient(110deg, rgba(77, 55, 29, .92), rgba(31, 43, 61, .96));
}
html[data-theme="dark"] .product-card.fuel-product .fuel-product-copy strong,
html[data-theme="dark"] .product-card.fuel-product .fuel-product-foot strong { color: #fff5df; }
html[data-theme="dark"] .product-card.fuel-product .fuel-product-copy p,
html[data-theme="dark"] .product-card.fuel-product .fuel-product-foot > span,
html[data-theme="dark"] .product-card.fuel-product .fuel-product-foot small { color: #d2c2a9; }
@media (max-width: 520px) {
  .product-card.fuel-product {
    grid-template-columns: 48px minmax(0, 1fr) minmax(88px, auto);
    column-gap: 10px;
    min-height: 90px;
    padding: 14px;
  }
  .product-card.fuel-product .fuel-product-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .product-card.fuel-product .fuel-product-icon > span { font-size: 28px; }
  .product-card.fuel-product .fuel-product-copy strong { font-size: 16px; }
  .product-card.fuel-product .fuel-product-foot { gap: 6px; }
  .product-card.fuel-product .fuel-product-foot > span { display: none; }
  .product-card.fuel-product .fuel-product-foot strong { font-size: 19px; }
  .product-card.fuel-product .fuel-product-foot i { font-size: 21px; }
}

/* Dark-mode release guard: this stays last so legacy light rules cannot win. */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] .privacy-page section,
html[data-theme="dark"] .order-detail-card,
html[data-theme="dark"] .standard-order-card,
html[data-theme="dark"] .redemption-order-card {
  border-color: rgba(184, 207, 235, 0.14);
  color: #f3f7fc;
  background: #182231;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .privacy-back { color: #9dcbff; }
html[data-theme="dark"] .privacy-page h1,
html[data-theme="dark"] .privacy-page h2 { color: #f4f7fb; }
html[data-theme="dark"] .privacy-page p { color: #b8c4d3; }

html[data-theme="dark"] .order-detail-card h3,
html[data-theme="dark"] .redemption-order-title h3,
html[data-theme="dark"] .redemption-account-panel > strong,
html[data-theme="dark"] .redemption-order-facts dd,
html[data-theme="dark"] .standard-price-summary strong,
html[data-theme="dark"] .order-section-title span,
html[data-theme="dark"] .order-timeline strong,
html[data-theme="dark"] .manual-order-info strong,
html[data-theme="dark"] .service-order-info strong,
html[data-theme="dark"] .order-payment-meta strong,
html[data-theme="dark"] .pay-links strong {
  color: #f3f7fc;
}

html[data-theme="dark"] .order-detail-card p,
html[data-theme="dark"] .order-account-line,
html[data-theme="dark"] .order-account-line > span,
html[data-theme="dark"] .order-account-line small,
html[data-theme="dark"] .redemption-order-title small,
html[data-theme="dark"] .redemption-account-panel > span,
html[data-theme="dark"] .redemption-order-facts dt,
html[data-theme="dark"] .standard-price-summary span,
html[data-theme="dark"] .order-section-title small,
html[data-theme="dark"] .order-timeline span,
html[data-theme="dark"] .order-timeline small,
html[data-theme="dark"] .manual-order-info span,
html[data-theme="dark"] .manual-order-info small,
html[data-theme="dark"] .service-order-info span,
html[data-theme="dark"] .service-order-info small,
html[data-theme="dark"] .order-payment-meta,
html[data-theme="dark"] .pay-links p,
html[data-theme="dark"] .upstream-fields {
  color: #b4c0d0 !important;
}

html[data-theme="dark"] .order-account-line strong { color: #eaf2fc; }

html[data-theme="dark"] .redemption-account-panel,
html[data-theme="dark"] .standard-account-panel,
html[data-theme="dark"] .redemption-order-card .manual-order-info,
html[data-theme="dark"] .standard-order-card .manual-order-info,
html[data-theme="dark"] .standard-order-card .service-order-info,
html[data-theme="dark"] .redemption-order-timeline,
html[data-theme="dark"] .order-timeline,
html[data-theme="dark"] .order-payment-meta,
html[data-theme="dark"] .pay-links {
  border-color: rgba(184, 207, 235, 0.12);
  background: #202d40;
}

html[data-theme="dark"] .redemption-order-facts > div,
html[data-theme="dark"] .standard-price-summary > div {
  background: #243349;
}

html[data-theme="dark"] .standard-price-summary .payable {
  color: #a9d3ff;
  background: #1d3b5d;
}
html[data-theme="dark"] .standard-price-summary .payable span,
html[data-theme="dark"] .standard-price-summary .payable strong { color: #a9d3ff; }

html[data-theme="dark"] .standard-price-summary .cps-member-saving {
	background: #183b32;
}
html[data-theme="dark"] .standard-price-summary .cps-member-saving span,
html[data-theme="dark"] .standard-price-summary .cps-member-saving strong {
	color: #8ee2bc;
}

html[data-theme="dark"] .arrival-notice,
html[data-theme="dark"] .detail-arrival-notice,
html[data-theme="dark"] .alipay-return-guide {
  border-color: rgba(113, 180, 255, 0.28);
  color: #b6d8ff;
  background: #183556;
}

html[data-theme="dark"] .order-filters button {
  border-color: rgba(184, 207, 235, 0.13);
  color: #c0cad7;
  background: #202c3d;
}
html[data-theme="dark"] .order-filters button.active {
  border-color: #4d99ec;
  color: #ffffff;
  background: #1769bf;
}

html[data-theme="dark"] .status-badge {
  border-color: rgba(184, 207, 235, 0.13);
  color: #d4deea;
  background: #2a384b;
}
html[data-theme="dark"] .status-badge.success { color: #9ce2c3; background: #183b31; }
html[data-theme="dark"] .status-badge.failed,
html[data-theme="dark"] .status-badge.cancelled { color: #ffacb9; background: #472731; }
html[data-theme="dark"] .status-badge.processing,
html[data-theme="dark"] .status-badge.pending { color: #ffd28c; background: #44341d; }

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #8795a8; opacity: 1; }

html[data-theme="dark"] .notice-bar strong { color: #75baff; }
html[data-theme="dark"] .notice-bar span { color: #c2d8f2 !important; }
html[data-theme="dark"] .coupon-strip b { color: #ff9fba; }
html[data-theme="dark"] .customer-float :is(b, i) { color: #fff; background: #b91f43; }

/* Surprise gifts use a restrained blush surface and one clear physical action. */
.surprise-gift-claim-card { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:12px; margin:12px 0; padding:13px 14px; border:1px solid rgba(213,76,105,.22); border-radius:12px; background:#fff4f6; box-shadow:0 8px 22px rgba(201,66,94,.08); }
.surprise-gift-visual { position:relative; width:52px; height:48px; display:grid; place-items:end center; }
.surprise-gift-box { position:relative; display:block; width:38px; height:32px; }
.surprise-gift-box-body, .surprise-gift-box-lid { position:absolute; display:block; background:#e76682; box-shadow:inset 0 1px 0 rgba(255,255,255,.34); }
.surprise-gift-box-body { left:3px; right:3px; bottom:0; height:23px; border-radius:4px 4px 7px 7px; background:linear-gradient(135deg,#ed7b93,#d94b6b); }
.surprise-gift-box-lid { left:0; right:0; top:3px; height:10px; border-radius:4px; background:#d94b6b; transform-origin:10% 90%; transition:transform 240ms cubic-bezier(.23,1,.32,1), opacity 180ms ease; }
.surprise-gift-box-ribbon { position:absolute; z-index:1; top:3px; bottom:0; left:17px; width:6px; border-radius:2px; background:#ffd0d8; box-shadow:0 0 0 1px rgba(182,46,77,.12); }
.surprise-gift-spark { position:absolute; display:block; width:4px; height:4px; border-radius:50%; background:#d94b6b; opacity:0; transform:scale(.7); }
.spark-one { top:4px; left:10px; }
.spark-two { top:10px; right:5px; }
.surprise-gift-claim-card.is-opening .surprise-gift-box-lid { transform:translate(-8px,-16px) rotate(-22deg); }
.surprise-gift-claim-card.is-opening .surprise-gift-box-ribbon { opacity:.35; }
.surprise-gift-claim-card.is-opening .surprise-gift-spark { opacity:1; animation:gift-spark 500ms cubic-bezier(.23,1,.32,1) both; }
.surprise-gift-claim-card.is-opening .spark-two { animation-delay:90ms; }
@keyframes gift-spark { from { opacity:0; transform:translateY(6px) scale(.7); } to { opacity:1; transform:translateY(-8px) scale(1.3); } }
.surprise-gift-claim-copy { min-width:0; display:grid; gap:3px; }
.surprise-gift-claim-copy small { color:#b63e5c; font-size:10px; font-weight:900; }
.surprise-gift-claim-copy strong { color:#7c2942; font-size:15px; }
.surprise-gift-claim-copy span { color:#a4586c; font-size:11px; line-height:1.45; }
.surprise-gift-claim-card > button { display:inline-flex; align-items:center; gap:5px; min-height:38px; padding:0 12px; border:1px solid #c94767; border-radius:9px; color:#fff; background:#c94767; font:inherit; font-size:12px; font-weight:900; box-shadow:0 5px 10px rgba(201,66,94,.15); transition:transform 160ms ease, background 160ms ease; }
.surprise-gift-claim-card > button i { font-style:normal; font-size:15px; }
.surprise-gift-claim-card > button:active { transform:translateY(1px); }
.surprise-gift-claim-card > button.is-opening { background:#a93654; }
.surprise-gift-claim-card > button:disabled { opacity:.82; }
.surprise-gift-open-link { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:36px; padding:0 11px; border:1px solid #c94767; border-radius:999px; color:#fff; background:#c94767; box-shadow:0 5px 12px rgba(201,66,94,.14); font-size:11px; font-weight:900; text-decoration:none; white-space:nowrap; }
.surprise-gift-open-link::after { content:"›"; font-size:16px; font-weight:700; line-height:1; }
.surprise-gift-claim-card.is-failed { border-color:rgba(201,71,103,.35); background:#fff1f3; }
.surprise-gift-claim-card.is-maintenance { border-color:rgba(197,137,48,.32); background:#fff8e9; box-shadow:none; }
.surprise-gift-claim-card.is-maintenance .surprise-gift-status-mark { color:#a46b1f; border-color:rgba(197,137,48,.32); background:#fffdf7; }
.surprise-gift-claim-card.is-maintenance .surprise-gift-claim-copy small { color:#a46b1f; }
.surprise-gift-claim-card.is-maintenance .surprise-gift-claim-copy strong { color:#704711; }
.surprise-gift-claim-card.is-maintenance .surprise-gift-claim-copy span { color:#8b672f; }
.surprise-gift-claim-card.is-maintenance > button { border-color:#d6b06d; color:#8b672f; background:#f4dfb8; box-shadow:none; cursor:not-allowed; }
.surprise-gift-list-button { display:inline-flex !important; align-items:center; gap:5px; min-height:30px !important; padding:0 10px !important; border-color:rgba(213,76,105,.26) !important; border-radius:999px !important; color:#b63e5c !important; background:#fff0f3 !important; font-size:11px !important; font-weight:850 !important; white-space:nowrap; }
.surprise-gift-list-button::before { content:""; width:7px; height:7px; border-radius:2px; background:#d95774; box-shadow:inset 0 0 0 2px #ffd6de; transform:rotate(4deg); }
.surprise-gift-status-mark { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; color:#c94767; border:1px solid rgba(201,71,103,.28); background:#fff; font-size:20px; font-weight:950; }
.surprise-gift-claim-card.is-claimed { border-color:rgba(213,76,105,.18); background:#fff8f9; box-shadow:none; }
.surprise-gift-claim-card.is-processing .surprise-gift-status-mark { animation:gift-mark-breathe 1.7s ease-in-out infinite; }
@keyframes gift-mark-breathe { 50% { transform:scale(.94); } }
html[data-theme="dark"] .surprise-gift-claim-card { border-color:rgba(255,126,153,.3); background:#3c2630; }
html[data-theme="dark"] .surprise-gift-list-button { border-color:rgba(255,126,153,.3) !important; color:#ffb7c6 !important; background:#482a36 !important; }
html[data-theme="dark"] .surprise-gift-box-body { background:linear-gradient(135deg,#f07f99,#c94d6d); }
html[data-theme="dark"] .surprise-gift-box-lid { background:#d95a79; }
html[data-theme="dark"] .surprise-gift-box-ribbon { background:#ffd0d8; }
html[data-theme="dark"] .surprise-gift-spark { background:#ffb7c6; }
html[data-theme="dark"] .surprise-gift-claim-copy small { color:#ffb7c6; }
html[data-theme="dark"] .surprise-gift-claim-copy strong { color:#ffe1e7; }
html[data-theme="dark"] .surprise-gift-claim-copy span { color:#e5a9b8; }
html[data-theme="dark"] .surprise-gift-status-mark { color:#ffb7c6; border-color:rgba(255,126,153,.35); background:#482a36; }
html[data-theme="dark"] .surprise-gift-open-link { border-color:#a93654; background:#a93654; }
html[data-theme="dark"] .surprise-gift-claim-card.is-claimed { background:#35252c; }
html[data-theme="dark"] .surprise-gift-claim-card.is-maintenance { border-color:rgba(230,177,91,.34); background:#3b3021; }
html[data-theme="dark"] .surprise-gift-claim-card.is-maintenance .surprise-gift-status-mark { color:#f0c77f; border-color:rgba(230,177,91,.36); background:#493a27; }
html[data-theme="dark"] .surprise-gift-claim-card.is-maintenance .surprise-gift-claim-copy small,
html[data-theme="dark"] .surprise-gift-claim-card.is-maintenance .surprise-gift-claim-copy strong { color:#f5d79e; }
html[data-theme="dark"] .surprise-gift-claim-card.is-maintenance .surprise-gift-claim-copy span { color:#d8bb88; }
@media (max-width:600px) {
  .surprise-gift-claim-card { grid-template-columns:44px minmax(0,1fr); gap:10px; }
  .surprise-gift-visual { width:44px; }
  .surprise-gift-claim-card > button,
  .surprise-gift-open-link { grid-column:2; justify-self:start; min-width:104px; }
}
@media (prefers-reduced-motion:reduce) { .surprise-gift-claim-card.is-opening .surprise-gift-box-lid { transform:none; } .surprise-gift-claim-card.is-opening .surprise-gift-spark { animation:none; opacity:.8; } .surprise-gift-claim-card.is-processing .surprise-gift-status-mark { animation:none; } }
