/* 一秒互联公司 www.yimiaonet.com：一秒臻选李宁运动商品主题视觉样式 */
:root {
  --ink: #111111;
  --ink-soft: #303030;
  --paper: #f5f5f5;
  --white: #ffffff;
  --line: #dedede;
  --muted: #666666;
  --wine: #d71920;
  --wine-dark: #ad0f15;
  --gold: #d71920;
  --green: #118257;
  --danger: #c21e2b;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.16);
  --soft-shadow: 0 9px 26px rgba(0, 0, 0, 0.09);
  --safe-bottom: max(12px, env(safe-area-inset-bottom));
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #e8e8e8;
  color: var(--ink);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

button,
a,
[data-action],
[data-route] {
  cursor: pointer;
}

button {
  border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

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

a {
  color: inherit;
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.desktop-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  position: relative;
}

.desktop-stage::before {
  content: "YIMIAO SPORT SELECT";
  position: fixed;
  left: 4vw;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  color: rgba(17, 17, 17, 0.18);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(24px, 4vw, 58px);
  letter-spacing: 0;
  pointer-events: none;
}

.desktop-stage::after {
  content: "SPORT COMMERCE INTERACTION PROTOTYPE";
  position: fixed;
  right: 3vw;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  color: rgba(17, 17, 17, 0.26);
  font-size: 11px;
  letter-spacing: 0;
  pointer-events: none;
}

.device-shell {
  width: 430px;
  height: min(860px, calc(100vh - 40px));
  min-height: 680px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 34px;
  background: #171717;
  box-shadow: 0 28px 90px rgba(20, 17, 15, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.device-camera {
  position: absolute;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: #171717;
  pointer-events: none;
}

.app-screen {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background: var(--paper);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.app-screen::-webkit-scrollbar {
  display: none;
}

.desktop-hint {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(17, 17, 17, 0.42);
  font-size: 11px;
}

.app-layout {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.app-header {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: 58px;
  padding: 16px 14px 10px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: rgba(245, 245, 245, 0.96);
  border-bottom: 1px solid rgba(222, 222, 222, 0.88);
  backdrop-filter: blur(16px);
}

.app-header.is-overlay {
  position: absolute;
  width: 100%;
  color: var(--white);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.header-title {
  min-width: 0;
  text-align: center;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.header-subtitle {
  display: block;
  margin-top: 4px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.header-action,
.round-button {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.app-header.is-overlay .header-action {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(17, 17, 17, 0.28);
  color: var(--white);
}

.header-action:hover,
.round-button:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.header-spacer {
  width: 42px;
}

.page-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 76px;
}

.page-content.has-action-bar {
  padding-bottom: 138px;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #080808;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.88) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  animation: heroPush 9s ease-out both;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 42px 24px 52px;
  animation: revealUp 700ms cubic-bezier(.2,.7,.2,1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1,
.page-title,
.feature-title,
.detail-name,
.success-title {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 340px;
  margin-top: 12px;
  font-size: 42px;
  line-height: 1.12;
}

.hero p {
  max-width: 320px;
  margin: 15px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.75;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.text-button,
.chip,
.icon-text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.primary-button {
  padding: 0 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.primary-button:hover {
  background: var(--wine-dark);
  box-shadow: 0 10px 24px rgba(78, 17, 27, 0.25);
  transform: translateY(-1px);
}

.primary-button.wine {
  background: var(--wine);
}

.primary-button.light {
  background: var(--white);
  color: var(--ink);
}

.secondary-button {
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.hero .secondary-button {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.secondary-button:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.text-button {
  min-height: 40px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.text-button .icon {
  width: 16px;
  transition: transform 180ms ease;
}

.text-button:hover .icon {
  transform: translateX(3px);
}

.section {
  padding: 30px 18px;
}

.section.compact {
  padding-top: 18px;
  padding-bottom: 18px;
}

.section.white {
  background: var(--white);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

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

.section-title {
  margin: 5px 0 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
}

.section-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 8px;
}

.editorial-card {
  position: relative;
  min-height: 272px;
  overflow: hidden;
  background: #d9d9d9;
  color: var(--white);
}

.editorial-card.tall {
  grid-row: span 2;
  min-height: 552px;
}

.editorial-card img,
.story-banner img,
.category-image,
.gift-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}

.editorial-card::after,
.story-banner::after,
.gift-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(17, 17, 17, 0.72));
}

.editorial-card:hover img,
.story-banner:hover img,
.gift-card:hover img {
  transform: scale(1.035);
}

.editorial-copy,
.story-copy,
.gift-copy {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 15px;
  left: 14px;
}

.editorial-copy strong,
.story-copy strong,
.gift-copy strong {
  display: block;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.editorial-copy span,
.story-copy span,
.gift-copy span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.horizontal-products {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 66%;
  gap: 12px;
  padding-bottom: 5px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.horizontal-products::-webkit-scrollbar {
  display: none;
}

.product-card {
  min-width: 0;
  scroll-snap-align: start;
  position: relative;
  animation: revealUp 450ms ease both;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.product-card:hover .product-image {
  transform: scale(1.025);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.favorite-button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.favorite-button.is-active {
  background: var(--wine);
  color: var(--white);
}

.favorite-button.is-active .icon {
  fill: currentColor;
}

.product-meta {
  padding: 11px 2px 6px;
}

.product-category {
  color: var(--muted);
  font-size: 11px;
}

.product-name {
  min-height: 48px;
  margin: 5px 0 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.product-price {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.story-banner,
.gift-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-strip button {
  min-height: 98px;
  padding: 13px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.service-strip button:last-child {
  border-right: 0;
}

.service-strip .icon {
  width: 24px;
  height: 24px;
}

.app-footer {
  padding: 26px 18px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.app-footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.bottom-nav {
  position: sticky;
  z-index: 45;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 76px;
  padding: 6px 3px var(--safe-bottom);
  border-top: 1px solid rgba(222, 222, 222, 0.95);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.nav-item {
  min-width: 0;
  min-height: 58px;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  color: #6f6f6f;
  font-size: 11px;
  transition: color 180ms ease;
}

.nav-icon-shell {
  width: 36px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.nav-item .icon {
  width: 21px;
  height: 21px;
}

.nav-label {
  display: block;
  line-height: 1.25;
}

.nav-item.is-active {
  color: var(--wine);
}

.nav-special {
  position: relative;
}

.nav-special .nav-icon-shell {
  width: 46px;
  height: 36px;
  background: var(--wine);
  color: var(--white);
  box-shadow: 0 7px 18px rgba(215, 25, 32, 0.24);
}

.nav-special .icon {
  width: 24px;
  height: 24px;
}

.nav-special .nav-label {
  color: var(--ink);
  font-weight: 700;
}

.bottom-stack {
  position: sticky;
  z-index: 52;
  bottom: 0;
  background: var(--white);
}

.bottom-stack .fixed-action-bar,
.bottom-stack .checkout-action,
.bottom-stack .bottom-nav {
  position: static;
}

.bag-count {
  position: absolute;
  top: 2px;
  left: calc(50% + 7px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--wine);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
}

.page-intro {
  padding: 30px 18px 18px;
}

.page-title {
  margin-top: 7px;
  font-size: 34px;
  line-height: 1.1;
}

.page-description {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.search-bar {
  min-height: 48px;
  margin: 0 18px 18px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}

.search-bar input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.search-bar input::placeholder {
  color: #97918b;
}

.chip-row {
  display: flex;
  gap: 8px;
  padding: 0 18px 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 12px;
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 104px 1fr;
  min-height: 570px;
  border-top: 1px solid var(--line);
}

.catalog-sidebar {
  padding: 8px 0;
  border-right: 1px solid var(--line);
  background: #efede8;
}

.catalog-tab {
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 12px;
}

.catalog-tab.is-active {
  border-left-color: var(--wine);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.catalog-main {
  min-width: 0;
  padding: 16px 13px 24px;
  background: var(--white);
}

.category-visual {
  position: relative;
  height: 160px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #ddd9d2;
  color: var(--white);
}

.category-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.28);
}

.category-visual strong {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 14px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 23px;
  font-weight: 800;
}

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

.category-link {
  min-width: 0;
  min-height: 86px;
  padding: 11px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}

.category-link strong {
  font-size: 13px;
}

.category-link span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.toolbar {
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.toolbar-count {
  color: var(--muted);
  font-size: 12px;
}

.toolbar-actions {
  display: flex;
  gap: 4px;
}

.icon-text-button {
  min-height: 42px;
  padding: 0 8px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
}

.icon-text-button .icon {
  width: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 9px;
  padding: 14px 13px 30px;
  background: var(--white);
}

.product-grid .product-name {
  min-height: 58px;
  font-size: 14px;
}

.product-grid .product-price {
  font-size: 14px;
}

.empty-state {
  padding: 64px 26px;
  text-align: center;
}

.empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
}

.empty-icon .icon {
  width: 28px;
  height: 28px;
}

.empty-state h2 {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 27px;
  font-weight: 800;
}

.empty-state p {
  margin: 10px auto 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.detail-gallery {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #f3f3f3;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  animation: fadeIn 450ms ease both;
}

.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 8px;
  background: rgba(17, 17, 17, 0.68);
  color: var(--white);
  font-size: 11px;
}

.gallery-dots {
  position: absolute;
  bottom: 17px;
  left: 50%;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.gallery-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.gallery-dot.is-active {
  background: var(--white);
}

.detail-main {
  padding: 24px 18px;
  background: var(--white);
}

.detail-kicker {
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
}

.detail-name {
  margin-top: 7px;
  font-size: 29px;
  line-height: 1.14;
}

.detail-sku {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.detail-price {
  margin: 17px 0 0;
  font-size: 19px;
  font-weight: 700;
}

.detail-desc {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.option-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.option-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.option-label strong {
  color: var(--ink);
  font-size: 12px;
}

.swatch-row,
.size-row {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.swatch {
  width: 36px;
  height: 36px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch-color);
}

.swatch.is-active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--white);
}

.size-button {
  min-width: 48px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.size-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.detail-service-list,
.settings-list,
.order-menu {
  border-top: 1px solid var(--line);
}

.detail-service-item,
.settings-item,
.order-menu-item {
  width: 100%;
  min-height: 58px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-align: left;
}

.detail-service-item .icon,
.settings-item .icon,
.order-menu-item .icon {
  width: 20px;
  color: var(--wine);
}

.detail-service-item span,
.settings-item span,
.order-menu-item span {
  flex: 1;
  font-size: 12px;
}

.detail-service-item small,
.settings-item small {
  color: var(--muted);
  font-size: 11px;
}

.fixed-action-bar {
  position: sticky;
  z-index: 44;
  bottom: 0;
  min-height: 70px;
  padding: 9px 12px var(--safe-bottom);
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.fixed-action-bar .round-button {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.fixed-action-bar .primary-button,
.fixed-action-bar .secondary-button {
  min-width: 0;
  padding: 0 8px;
  font-size: 12px;
}

.bag-item {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.bag-item img {
  width: 98px;
  height: 122px;
  object-fit: contain;
  padding: 5px;
  background: #f2f2f2;
}

.bag-item-main {
  min-width: 0;
}

.bag-item-name {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.bag-item-option {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.bag-item-price {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.bag-item-footer {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quantity-control {
  min-height: 36px;
  display: inline-grid;
  grid-template-columns: 34px 32px 34px;
  align-items: center;
  border: 1px solid var(--line);
}

.quantity-control button {
  height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
}

.quantity-control .icon {
  width: 14px;
}

.quantity-control span {
  text-align: center;
  font-size: 12px;
}

.delete-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--muted);
}

.delete-button .icon {
  width: 18px;
}

.gift-prompt {
  margin: 14px 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  background: #fff3f3;
}

.gift-prompt .icon {
  color: var(--wine);
}

.gift-prompt div {
  flex: 1;
}

.gift-prompt strong {
  display: block;
  font-size: 12px;
}

.gift-prompt span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.summary-card {
  margin: 14px 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row.total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.checkout-action {
  position: sticky;
  z-index: 44;
  bottom: 0;
  min-height: 72px;
  padding: 10px 13px var(--safe-bottom);
  display: grid;
  grid-template-columns: 1fr 152px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}

.checkout-total span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.checkout-total strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
}

.panel-list {
  margin: 0 18px 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.panel-item {
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.panel-item:last-child {
  border-bottom: 0;
}

.panel-item .panel-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--wine);
}

.panel-item-content {
  min-width: 0;
  flex: 1;
}

.panel-item-content strong {
  display: block;
  font-size: 12px;
}

.panel-item-content span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.profile-hero {
  padding: 40px 20px 28px;
  background: var(--ink);
  color: var(--white);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: #202020;
  color: var(--white);
}

.avatar .icon {
  width: 26px;
  height: 26px;
}

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

.profile-copy strong {
  display: block;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.profile-copy span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.profile-level {
  margin-top: 22px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-level div {
  text-align: center;
}

.profile-level strong {
  display: block;
  font-size: 16px;
}

.profile-level span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.order-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 9px;
  background: var(--white);
}

.order-status-grid button {
  min-height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
}

.order-status-grid .icon {
  width: 22px;
  color: var(--wine);
}

.order-card {
  margin: 12px 18px;
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--white);
}

.order-card-head,
.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.order-card-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.order-status {
  color: var(--wine);
  font-weight: 700;
}

.order-product {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 11px;
}

.order-product img {
  width: 72px;
  height: 88px;
  object-fit: contain;
  padding: 4px;
  background: #f3f3f3;
}

.order-product strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.order-product span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.order-card-foot {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.order-card-foot strong {
  font-size: 14px;
}

.mini-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.form-card {
  margin: 0 18px 18px;
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form-card label {
  display: block;
  margin-bottom: 15px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.form-card label:last-of-type {
  margin-bottom: 18px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}

.form-card textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-hint {
  margin: -5px 0 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.form-error {
  min-height: 20px;
  margin: -4px 0 8px;
  color: var(--danger);
  font-size: 11px;
}

.success-panel {
  padding: 62px 26px 30px;
  text-align: center;
}

.success-mark {
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  animation: successPop 500ms cubic-bezier(.2,.8,.2,1) both;
}

.success-mark .icon {
  width: 34px;
  height: 34px;
}

.success-title {
  font-size: 32px;
}

.success-panel p {
  margin: 11px auto 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.timeline {
  margin: 0 18px 22px;
  padding: 19px 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.timeline-item {
  position: relative;
  min-height: 68px;
  padding: 0 0 18px 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: -5px;
  left: 7px;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  top: 3px;
  left: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-item.is-active .timeline-dot {
  background: var(--wine);
  box-shadow: 0 0 0 1px var(--wine);
}

.timeline-item strong {
  display: block;
  font-size: 12px;
}

.timeline-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.notice {
  margin: 14px 18px;
  padding: 13px 15px;
  border-left: 3px solid var(--wine);
  background: #fff1f1;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(17, 17, 17, 0.54);
  animation: fadeIn 180ms ease both;
}

.modal-panel,
.drawer-panel {
  width: min(100%, 430px);
  max-height: 76vh;
  padding: 20px 18px calc(20px + var(--safe-bottom));
  overflow-y: auto;
  border-radius: 8px 8px 0 0;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: drawerUp 260ms cubic-bezier(.2,.8,.2,1) both;
}

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

.modal-head h2,
.drawer-head h2 {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.modal-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}

.filter-group {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.filter-group strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
}

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

.radio-option {
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
}

.radio-option.is-active {
  border-color: var(--ink);
  background: var(--paper);
  font-weight: 700;
}

.chat-panel {
  height: min(620px, 76vh);
  display: flex;
  flex-direction: column;
}

.chat-messages {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 82%;
  margin: 9px 0;
  padding: 11px 13px;
  border-radius: 3px 12px 12px 12px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.chat-bubble.is-user {
  margin-left: auto;
  border-radius: 12px 3px 12px 12px;
  background: var(--ink);
  color: var(--white);
}

.chat-quick {
  display: flex;
  gap: 7px;
  padding: 8px 0;
  overflow-x: auto;
}

.chat-quick button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.loading-cover {
  position: absolute;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.loading-brand {
  text-align: center;
  animation: fadeIn 500ms ease both;
}

.loading-brand strong {
  display: block;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 34px;
  font-weight: 800;
}

.loading-line {
  width: 160px;
  height: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--line);
}

.loading-line::after {
  content: "";
  display: block;
  width: 60%;
  height: 100%;
  background: var(--wine);
  animation: loadingLine 1.1s ease-in-out infinite;
}

.advisor-status {
  display: inline-block;
  margin-top: 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.sport-hero .hero-copy {
  width: auto;
  margin: 0 18px 32px;
  padding: 22px 18px 24px;
  border-left: 4px solid var(--wine);
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.sport-profile {
  position: relative;
  overflow: hidden;
  background: #111111;
}

.sport-profile::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -68px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(215, 25, 32, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

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

.sport-solution {
  min-height: 420px;
  background: #111111;
}

.sport-solution::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 30%, rgba(0, 0, 0, 0.88) 100%);
}

.toast {
  position: fixed;
  z-index: 400;
  right: 50%;
  bottom: 40px;
  max-width: min(340px, calc(100vw - 32px));
  padding: 11px 16px;
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.94);
  color: var(--white);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-show {
  opacity: 1;
  transform: translate(50%, 0);
}

.fade-enter {
  animation: fadeIn 260ms ease both;
}

@keyframes heroPush {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes drawerUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes successPop {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes loadingLine {
  from { transform: translateX(-110%); }
  to { transform: translateX(190%); }
}

@media (max-width: 700px) {
  html,
  body {
    background: var(--paper);
  }

  .desktop-stage {
    min-height: 100dvh;
    padding: 0;
    display: block;
  }

  .desktop-stage::before,
  .desktop-stage::after,
  .desktop-hint,
  .device-camera {
    display: none;
  }

  .device-shell {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
  }

  .app-screen {
    border-radius: 0;
  }

  .modal-panel,
  .drawer-panel {
    width: 100%;
  }
}

@media (min-width: 701px) {
  .app-header {
    min-height: 72px;
    padding-top: 29px;
  }
}

@media (max-height: 720px) and (min-width: 701px) {
  .device-shell {
    min-height: 0;
  }

  .hero {
    min-height: 590px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
