/* ==========================================================================
   声动陪玩 · 用户端样式
   单一设计体系：统一色板、圆角、阴影与间距，桌面端与移动端共用。
   ========================================================================== */

:root {
  --ink: #171a2b;
  --ink-2: #3b4056;
  --muted: #6c7287;
  --muted-2: #9aa0b3;
  --line: #e7e9f1;
  --line-2: #eef0f6;
  --paper: #f5f6fb;
  --surface: #fff;
  --surface-2: #f8f9fd;
  --primary: #6a5cff;
  --primary-hover: #5546e6;
  --primary-ink: #4a3ecf;
  --primary-soft: #eeecff;
  --primary-soft-2: #e2dfff;
  --accent: #ff4f79;
  --accent-soft: #fff0f4;
  --success: #17b26a;
  --success-soft: #e7f8f0;
  --warning: #f59e0b;
  --warning-soft: #fff4dd;
  --info: #3b82f6;
  --info-soft: #e8f0fe;
  --danger: #e5484d;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --shadow-1: 0 1px 2px rgb(23 26 43 / 4%), 0 4px 14px rgb(23 26 43 / 5%);
  --shadow-2: 0 12px 32px rgb(23 26 43 / 10%);
  --shadow-primary: 0 8px 20px rgb(106 92 255 / 26%);
  --topbar-h: 64px;
  --tabbar-h: 62px;
  --container: 1200px;
  --gutter: 24px;
}

/* --------------------------------------------------------------------------
   基础
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.25; }

.boot-loading {
  display: grid;
  height: 100vh;
  place-items: center;
  color: var(--muted);
  font-size: 15px;
}
.store-age-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: var(--paper); }
.store-age-brand { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px max(18px, env(safe-area-inset-left)); background: var(--surface); color: var(--ink); font-size: 17px; }
.store-age-brand img { width: 40px; height: 40px; border-radius: var(--radius-xs); object-fit: contain; }
.store-age-main { flex: 1; display: grid; place-items: center; padding: 24px 16px max(24px, env(safe-area-inset-bottom)); }
.store-age-panel { width: min(100%, 416px); padding: 32px clamp(16px, 6vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 36px rgb(23 26 43 / 9%); text-align: center; }
.store-age-heading { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--primary-ink); text-align: left; }
.store-age-icon { display: grid; flex: 0 0 54px; height: 54px; place-items: center; border-radius: var(--radius-sm); background: var(--primary-ink); color: #fff; font-size: 28px; }
.store-age-heading h1 { margin: 0 0 3px; font-size: 24px; line-height: 1.3; }
.store-age-caption { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.store-age-intro { margin: 24px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.store-age-actions { display: grid; gap: 10px; }
.store-age-actions button { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.store-age-actions button:focus-visible { outline: 2px solid var(--primary-ink); outline-offset: 3px; }
.store-age-actions button:disabled { opacity: .65; cursor: wait; }
.store-age-confirm { background: var(--primary-ink); color: #fff; }
.store-age-exit { background: var(--surface); color: var(--primary-ink); }
.store-age-notice { display: inline-block; margin: 20px 0 0; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: #a82447; font-size: 12px; }
.store-age-error { margin: 12px 0 0; color: #a82447; font-size: 13px; }

.shell { display: flex; min-height: 100vh; flex-direction: column; }
.shell > main { width: 100%; min-width: 0; flex: 1 0 auto; }
.container, .shell > main.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin: 0 auto; }

/* Arco 主题色映射到品牌紫，按钮/Tab/焦点态统一 */
body {
  --primary-1: 240, 239, 255;
  --primary-2: 226, 223, 255;
  --primary-3: 196, 190, 255;
  --primary-4: 160, 150, 255;
  --primary-5: 132, 120, 255;
  --primary-6: 106, 92, 255;
  --primary-7: 85, 70, 230;
  --arcoblue-6: 106, 92, 255;
  --color-border-2: #e7e9f1;
  --color-fill-2: #f5f6fb;
}
.arco-btn { border-radius: var(--radius-xs); font-weight: 500; }
.arco-btn-primary, .arco-btn-primary[type="button"], .arco-btn-primary[type="submit"] { background: var(--primary); }
.arco-btn-primary:hover, .arco-btn-primary[type="button"]:hover, .arco-btn-primary[type="submit"]:hover,
.arco-btn-primary:focus, .arco-btn-primary[type="button"]:focus, .arco-btn-primary[type="submit"]:focus { background: var(--primary-hover); }
.arco-btn-primary:active, .arco-btn-primary[type="button"]:active, .arco-btn-primary[type="submit"]:active { background: var(--primary-ink); }
.arco-btn-outline { color: var(--primary); border-color: var(--primary); }
.arco-btn-outline:hover { color: var(--primary-hover); border-color: var(--primary-hover); background: var(--primary-soft); }
.arco-btn-size-large { height: 44px; border-radius: var(--radius-sm); font-size: 15px; }
.arco-input-wrapper, .arco-select-view-single, .arco-select-view-multiple, .arco-textarea-wrapper, .arco-input-number { border-radius: var(--radius-xs); }
.arco-input-wrapper:focus-within, .arco-input-wrapper.arco-input-focus,
.arco-select-view-single.arco-select-view-focus, .arco-textarea-wrapper.arco-textarea-focus { border-color: var(--primary); }
.arco-modal { border-radius: var(--radius); overflow: hidden; }
.arco-modal-header { border-bottom: 1px solid var(--line-2); }
.arco-modal-footer { border-top: 1px solid var(--line-2); }
.arco-modal-title { font-weight: 700; }
.announcement-body {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  color: var(--ink-2, #3b4056);
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.announcement-snooze {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted, #6c7287);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.announcement-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.announcement-foot .announcement-snooze { margin-top: 0; }
.announcement-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.arco-tag { border-radius: 6px; }
.arco-switch-checked { background: var(--primary); }
.arco-radio-checked .arco-radio-icon { border-color: var(--primary); background: var(--primary); }
.arco-tabs-nav-ink { background: var(--primary); }
.arco-tabs-tab-active, .arco-tabs-tab-active:hover { color: var(--primary); }
.arco-rate-character-full svg, .arco-rate-character-half .arco-rate-character-right svg { color: var(--warning); }
.arco-alert { border-radius: var(--radius-xs); }

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  height: var(--topbar-h);
  align-items: center;
  background: rgb(255 255 255 / 88%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(14px);
}
.nav {
  display: flex;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}
.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  color: var(--primary);
  background: transparent;
  border-radius: 0;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--primary-ink); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary-ink); background: var(--primary-soft); font-weight: 700; }
.nav-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.nav-links a:last-child { margin-left: 4px; color: var(--muted); }
.nav-links a:last-child::before { content: ""; width: 1px; height: 16px; margin-right: 14px; background: var(--line); }
.nav-account { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; white-space: nowrap; }
.nav-account-guest .arco-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; min-width: 76px; border-radius: var(--radius-sm); font-weight: 600; text-align: center; }
.nav-login-button { box-shadow: var(--shadow-primary); }
.nav-register-button { color: var(--primary-ink); background: var(--primary-soft); border-color: transparent; }
.nav-register-button:hover { background: var(--primary-soft-2); border-color: transparent; }
.nav-user-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 4px 4px;
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  transition: background .18s;
}
.nav-user-link:hover { background: var(--primary-soft); }
.nav-user-link .arco-avatar { flex: 0 0 auto; color: #fff; background: var(--primary); }
.nav-user-copy { display: grid; min-width: 0; gap: 1px; line-height: 1.2; }
.nav-user-copy strong { max-width: 120px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.nav-user-copy small { color: var(--muted-2); font-size: 11px; }
.nav-logout { color: var(--muted) !important; padding-inline: 8px !important; font-size: 13px; }
.nav-logout:hover { color: var(--danger) !important; background: #fff1f1 !important; }

/* --------------------------------------------------------------------------
   通用区块
   -------------------------------------------------------------------------- */
.section { padding: 44px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-title { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.section-sub { margin-top: 6px; color: var(--muted); font-size: 14px; }
.more {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 14px;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: background .18s;
}
.more:hover { background: var(--primary-soft-2); }
.more svg { width: 14px; height: 14px; }
.empty {
  padding: 64px 20px;
  color: var(--muted);
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 18px;
  padding: 34px 0 18px;
}
.page-head h1 { grid-column: 1; margin: 0; font-size: 28px; letter-spacing: -.01em; line-height: 1.2; }
.page-head .section-sub { grid-column: 1; margin: 0; }
.page-head > .arco-btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; height: 40px; border-radius: var(--radius-sm); box-shadow: var(--shadow-primary); }
.page-back {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 0;
}
.page-back svg { width: 18px; height: 18px; display: block; }
.page-back:hover { color: var(--primary-ink); background: var(--primary-soft); }
.page-head.has-back { grid-template-columns: 40px minmax(0, 1fr) auto; }
.page-head.has-back > .page-back { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.page-head.has-back h1,
.page-head.has-back .section-sub { grid-column: 2; }
.page-head.has-back > .arco-btn { grid-column: 3; }

/* --------------------------------------------------------------------------
   首页 · Banner
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  height: clamp(220px, 28vw, 380px);
  margin: 24px auto 0;
  overflow: hidden;
  background: var(--primary-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.hero-carousel { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; }
.hero-carousel.is-dragging { cursor: grabbing; }
.hero-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.hero-track.is-dragging, .hero-track.is-looping { transition: none; }
.hero-slide {
  flex: 0 0 100%;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
}
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: rgb(23 26 43 / 42%);
  border: 0;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .18s, transform .18s;
}
.hero-nav:hover { background: rgb(23 26 43 / 62%); }
.hero-nav:active { transform: translateY(-50%) scale(.94); }
.hero-nav svg { width: 18px; height: 18px; }
.hero-nav.prev { left: 12px; }
.hero-nav.next { right: 12px; }
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  background: rgb(23 26 43 / 36%);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transform: translateX(-50%);
}
.hero-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  background: rgb(255 255 255 / 60%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width .2s, background .2s;
}
.hero-dots button.active { width: 18px; background: #fff; }

/* 无 Banner 时的品牌首屏 */
.hero-fallback {
  display: flex;
  height: auto;
  min-height: 260px;
  align-items: center;
  padding: 40px 48px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 90% 10%, rgb(255 255 255 / 18%), transparent 60%),
    radial-gradient(400px 260px at 10% 100%, rgb(255 79 121 / 35%), transparent 60%),
    linear-gradient(120deg, #5a4ae6 0%, #7a6cff 55%, #9a8cff 100%);
}
.hero-fallback-copy { position: relative; z-index: 1; max-width: 560px; }
.hero-fallback-copy span {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 14px;
  background: rgb(255 255 255 / 16%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-fallback-copy h1 { margin: 0 0 10px; color: #fff; font-size: 36px; letter-spacing: -.02em; }
.hero-fallback-copy p { margin: 0 0 22px; color: rgb(255 255 255 / 84%); font-size: 15px; line-height: 1.7; }
.hero-fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-fallback-actions .arco-btn { height: 42px; padding: 0 20px; border-radius: var(--radius-sm); font-weight: 600; }
.hero-fallback-actions .arco-btn-primary { color: var(--primary-ink); background: #fff; }
.hero-fallback-actions .arco-btn-primary:hover { background: #f1efff; }
.hero-fallback-actions .arco-btn-secondary { color: #fff; background: rgb(255 255 255 / 16%); border: 1px solid rgb(255 255 255 / 30%); }
.hero-fallback-actions .arco-btn-secondary:hover { background: rgb(255 255 255 / 26%); }

/* --------------------------------------------------------------------------
   首页 · 热门游戏
   -------------------------------------------------------------------------- */
.game-grid {
  display: flex;
  gap: 10px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.game-grid::-webkit-scrollbar { height: 5px; }
.game-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
.game-card {
  display: flex;
  flex: 0 0 auto;
  min-width: 132px;
  max-width: 200px;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.game-card:hover { border-color: var(--primary-soft-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.game-card.selected {
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(106 92 255 / 14%);
}
.game-logo-wrap {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: 9px;
}
.game-card.selected .game-logo-wrap { background: #fff; }
.game-logo { display: block; width: 40px; height: 40px; object-fit: contain; }
.game-prefix {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
}
.game-name { min-width: 0; overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.game-platform-picker { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.platform-option {
  display: inline-flex;
  min-width: 108px;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: color .18s, border-color .18s, background .18s, box-shadow .18s;
}
.platform-option:hover { border-color: var(--primary-soft-2); }
.platform-vector {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: var(--ink-2);
  background: var(--surface-2);
  border-radius: 8px;
}
.platform-vector svg { width: 17px; height: 17px; }
.platform-option.active { color: var(--primary-ink); background: var(--primary-soft); border-color: var(--primary); }
.platform-option.active .platform-vector { color: #fff; background: var(--primary); }

/* --------------------------------------------------------------------------
   首页 · 服务市场
   -------------------------------------------------------------------------- */
.service-market-band {
  padding: 44px 0;
  background: linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.market-filters { display: grid; gap: 10px; margin-bottom: 16px; }
.market-filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.market-filter-row button {
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.market-filter-row button:hover { border-color: var(--primary); }
.market-filter-row button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); font-weight: 700; }
.service-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-package-card {
  position: relative;
  display: grid;
  min-height: 148px;
  align-content: start;
  padding: 20px 20px 62px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.service-package-card.has-cover { padding-top: 0; }
.service-package-cover {
  display: block;
  width: calc(100% + 40px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 -20px 12px;
  object-fit: cover;
  background: var(--primary-soft);
}
.service-package-card:hover { border-color: var(--primary-soft-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.service-package-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.service-package-head > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-package-card span { color: var(--primary-ink); font-size: 12px; font-weight: 600; }
.service-package-card strong { margin: 8px 0 6px; overflow-wrap: anywhere; font-size: 18px; }
.service-package-card > small { color: var(--muted); font-size: 12px; }
.package-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 10px;
}
.package-card-stats em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  color: var(--ink-2);
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}
.package-card-stats em.sold { color: var(--accent); background: var(--accent-soft); }
.package-card-stats em.limit { color: #b45309; background: #fef3c7; }
.package-card-stats em.limit.is-out { color: var(--muted); background: var(--surface-2); text-decoration: line-through; }
.package-card-stats b { font-size: 12px; font-weight: 800; }
.package-card-prices {
  position: absolute;
  right: 20px;
  bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: var(--accent);
}
.package-card-prices b { font-size: 18px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.package-card-prices small { color: var(--muted); font-size: 12px; font-weight: 600; }
.service-package-card::after {
  content: "查看详情";
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 4px 10px;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   套餐详情
   -------------------------------------------------------------------------- */
.package-detail-page { min-height: calc(100vh - var(--topbar-h)); padding-bottom: 96px; background: var(--paper); }
.package-hero {
  position: relative;
  min-height: 0;
  overflow: visible;
  color: #fff;
  background: linear-gradient(120deg, #2a2450 0%, #3e3480 100%);
}
.package-hero:not(.has-image) { min-height: 168px; }
.package-hero > img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  cursor: zoom-in;
}
.package-hero.has-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(20 16 48 / 66%), rgb(20 16 48 / 8%) 34%, rgb(20 16 48 / 10%) 58%, rgb(20 16 48 / 78%) 100%);
  pointer-events: none;
}
.package-hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  min-height: 0;
  align-content: end;
  padding-top: 52px;
  padding-bottom: 22px;
  pointer-events: none;
}
.package-hero:not(.has-image) .package-hero-copy { min-height: 168px; }
.package-hero-copy > .profile-back,
.package-hero-copy .profile-fav-btn { pointer-events: auto; }
.package-hero-copy > span { color: rgb(255 255 255 / 78%); font-size: 12px; font-weight: 600; }
.package-hero-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.package-hero-copy h1, .package-hero-title h1 { margin: 4px 0; color: #fff; font-size: 26px; letter-spacing: -.02em; text-shadow: 0 2px 8px rgb(0 0 0 / 20%); }
.package-hero-copy p { margin: 0; color: rgb(255 255 255 / 78%); font-size: 14px; }
.package-statbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.package-statbar > div { display: grid; gap: 2px; padding: 10px 8px; text-align: center; border-right: 1px solid var(--line-2); }
.package-statbar > div:last-child { border-right: 0; }
.package-statbar strong { font-size: 18px; letter-spacing: -.02em; line-height: 1.1; }
.package-statbar > div:first-child strong { color: var(--accent); }
.package-statbar > div:nth-child(2) strong { color: var(--primary-ink); }
.package-statbar > div:nth-child(3) strong { color: var(--warning); }
.package-statbar span { color: var(--muted); font-size: 11px; }
.package-layout {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  position: relative;
  z-index: 2;
}
.package-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 10px;
}
.package-main { display: grid; gap: 10px; }
.package-panel {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.package-panel-compact { padding: 14px 16px; }
.package-panel .profile-section-head { margin-bottom: 10px; }
.package-platform-picker { margin-top: 0; flex-wrap: wrap; gap: 8px; }
.package-platform-picker .platform-option { min-width: 0; flex: 1; min-height: 44px; padding: 8px 12px; }
.package-platform-picker .platform-option small { margin-left: auto; color: var(--accent); font-size: 12px; font-weight: 700; }
.package-variant-list { display: grid; gap: 14px; width: 100%; min-width: 0; margin-top: 12px; }
.package-variant-group { display: grid; gap: 6px; min-width: 0; }
.package-variant-group h3 { margin: 0 0 2px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.package-variant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  line-height: 1.45;
  cursor: pointer;
}
.package-variant:hover { border-color: var(--primary); }
.package-variant[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.package-variant:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.package-variant-label { min-width: 0; overflow-wrap: anywhere; }
.package-variant strong, .package-single-variant strong { color: var(--accent); white-space: nowrap; }
.package-single-variant { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin: 12px 0 0; font-size: 13px; }
.package-guarantees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.package-guarantees article {
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}
.package-guarantees strong { display: block; font-size: 14px; }
.package-guarantees p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.package-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.package-meta > div { padding: 8px 10px; background: var(--surface-2); border-radius: var(--radius-sm); }
.package-meta dt { color: var(--muted); font-size: 11px; }
.package-meta dd { margin: 2px 0 0; font-weight: 700; font-size: 13px; }
.package-notice { padding: 12px 14px; background: var(--surface-2); border-radius: var(--radius-sm); }
.package-article { padding: 0; background: transparent; }
.package-article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 10px;
  cursor: zoom-in;
}
.notice-preview-wrap { display: grid; gap: 10px; }
.notice-preview-stage {
  display: grid;
  place-items: center;
  overflow: hidden;
  height: min(72vh, 620px);
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  touch-action: none;
  cursor: zoom-in;
  user-select: none;
}
.notice-preview-stage.is-zoomed { cursor: grab; }
.notice-preview-stage.is-panning { cursor: grabbing; }
.notice-preview-stage.is-panning img { transition: none; }
.notice-preview-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transform-origin: center center;
  transition: transform .12s ease-out;
  pointer-events: none;
}
.notice-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.notice-preview-toolbar strong {
  min-width: 52px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.notice-preview-toolbar button {
  height: 34px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.notice-preview-toolbar button:disabled { opacity: .45; cursor: not-allowed; }
.package-book-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.package-book-card > span { color: var(--muted); font-size: 12px; }
.package-book-card > strong { color: var(--accent); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.package-book-card > strong small, .package-float-buy strong small { display: inline; margin-left: 4px; font-size: 12px; font-weight: 600; }
.package-book-card > p { margin: 0; color: var(--ink-2); font-size: 12px; }
.package-book-card .arco-form { margin-top: 2px; }
.package-book-card .arco-form-item { margin-bottom: 10px; }
.package-book-card > .arco-btn { margin-top: 2px; box-shadow: var(--shadow-primary); }
.package-book-card > small { color: var(--muted); line-height: 1.5; }
.checkout-page { padding: 22px 0 40px; }
.checkout-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.checkout-head .page-back { margin-top: 2px; }
.checkout-head h1 { margin: 0; font-size: 24px; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
  align-items: start;
}
.checkout-cover {
  display: block;
  width: 100%;
  height: 168px;
  margin-bottom: 14px;
  object-fit: cover;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
}
.checkout-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 12px;
}
.checkout-meta > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}
.checkout-meta dt { color: var(--muted); font-size: 12px; }
.checkout-meta dd { margin: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; }
.checkout-amount {
  display: grid;
  gap: 8px;
  margin: 4px 0 2px;
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.checkout-amount > div { display: flex; justify-content: space-between; gap: 12px; }
.checkout-amount dt { color: var(--muted); font-size: 13px; }
.checkout-amount dd { margin: 0; font-weight: 700; }
.checkout-pay-card .payment-method-list { margin-top: 4px; }
.checkout-paid-tip { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.checkout-pay-btn { margin-top: 4px; }
.package-reviews { margin-top: 12px; }
.package-reviews-panel .profile-review-list { grid-template-columns: minmax(0, 1fr); }
.package-all-reviews {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  margin-top: 12px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.package-all-reviews b {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.package-reviews-all { max-height: min(70vh, 640px); overflow: auto; padding-right: 4px; }
.package-float-buy {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(520px, calc(100% - 24px));
  padding: 8px 8px 8px 18px;
  color: #fff;
  background: rgb(20 16 48 / 92%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgb(20 16 48 / 28%);
  backdrop-filter: blur(16px);
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  transition: opacity .28s ease, transform .28s ease;
}
.package-float-buy.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px) scale(.98);
  pointer-events: none;
}
.package-float-buy small { display: block; color: rgb(255 255 255 / 68%); font-size: 11px; overflow-wrap: anywhere; }
.package-float-buy button:disabled { opacity: .55; cursor: not-allowed; }
.package-float-buy > div { min-width: 0; flex: 1; }
.package-float-buy strong { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.package-float-buy button {
  flex: 0 0 auto;
  height: 42px;
  min-width: 0;
  max-width: 48%;
  padding: 0 22px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgb(106 92 255 / 35%);
}

/* --------------------------------------------------------------------------
   陪玩卡片
   -------------------------------------------------------------------------- */
.companion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.person-card {
  display: grid;
  align-items: center;
  height: auto;
  min-height: 0;
  grid-template-columns: auto minmax(0, 1fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.person-card:hover { border-color: var(--primary-soft-2); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.person-photo {
  position: relative;
  width: 132px;
  height: 132px;
  aspect-ratio: 1 / 1;
  flex: 0 0 132px;
  align-self: center;
  margin: 12px 0 12px 12px;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: 12px;
}
.person-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-fav-btn {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: rgb(23 26 43 / 62%);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(23 26 43 / 18%);
  cursor: pointer;
}
.card-fav-btn svg { display: block; width: 16px; height: 16px; }
.card-fav-btn.active { color: #ff4d6d; background: #fff; }
.service-package-card .card-fav-btn { top: 10px; right: 10px; }
.fav-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border: 1.5px solid #fff;
  border-radius: 50%;
  pointer-events: none;
}
.fav-chip .fav-dot,
.profile-fav-btn .fav-dot {
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-width: 2px;
}
.fav-chip,
.person-fav-btn,
.profile-fav-btn {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content !important;
  min-width: 0;
  height: 28px;
  max-height: 28px;
  padding: 0 10px;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft-2);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
}
.fav-chip svg,
.person-fav-btn svg,
.profile-fav-btn svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  min-height: 14px;
  flex: 0 0 14px;
}
.fav-chip span,
.person-fav-btn span,
.profile-fav-btn span,
.service-package-card .fav-chip span {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  writing-mode: horizontal-tb;
  white-space: nowrap;
}
.fav-chip,
.person-fav-btn,
.profile-fav-btn { position: relative; }
.fav-chip.active,
.person-fav-btn.active,
.profile-fav-btn.active { color: #ff4d6d; background: #fff; border-color: #ffd0da; }
.profile-fav-btn { color: #fff; background: rgb(255 255 255 / 16%); border-color: rgb(255 255 255 / 28%); }
.profile-fav-btn.active { color: #ff4d6d; background: #fff; border-color: #fff; }
.person-body > .fav-chip { margin: 8px 0 2px; }
.person-card:hover .person-photo img { transform: scale(1.04); }
.person-body { display: flex; min-width: 0; min-height: 0; flex-direction: column; padding: 14px 16px 12px; }
.person-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; }
.person-name { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 8px; }
.person-name strong { min-width: 0; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.identity-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  color: #0f8a53;
  background: var(--success-soft, #e8f8ef);
  border-radius: 4px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.mine-user h2 .identity-badge,
.order-companion-summary h2 .identity-badge { height: 20px; padding: 0 7px; font-size: 12px; }
.rank-badge {
  display: inline-flex; flex: 0 0 auto; align-items: center; height: 18px; padding: 0 6px;
  color: #3d2a08; background: var(--rank-bg, #f3c56a);
  border-radius: 4px; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap;
}
.rank-badge.private-label {
  color: var(--primary-ink);
  background: var(--primary-soft);
}
.profile-name-line .rank-badge { height: 22px; padding: 0 8px; font-size: 12px; }
.rating { flex: 0 0 auto; color: var(--warning); font-size: 13px; font-weight: 600; }
.online {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px 8px;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}
.online i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: var(--muted-2); border-radius: 50%; }
.online.availability-idle { color: #0f8a53; background: var(--success-soft); }
.online.availability-idle i { background: var(--success); }
.online.availability-busy { color: #a86300; background: var(--warning-soft); }
.online.availability-busy i { background: var(--warning); }
.person-certifications { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 5px; height: auto; max-height: none; margin: 6px 0 4px; overflow: visible; }
.person-certifications span {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 2px 7px;
  overflow: hidden;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-radius: 5px;
  font-size: 11px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person-bio {
  display: -webkit-box;
  flex: 0 0 auto;
  height: 38px;
  margin: 4px 0 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.person-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; margin-top: auto; border-top: 1px solid var(--line-2); }
.person-meta { display: flex; min-width: 0; flex: 1; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { color: var(--accent); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.person-service-count { color: var(--muted-2); font-size: 12px; white-space: nowrap; }
.voice-btn {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
}
.voice-btn svg { width: 16px; height: 16px; }
.voice-btn:hover { background: var(--primary-soft-2); transform: scale(1.06); }
.voice-btn.playing { color: #fff; background: var(--primary); box-shadow: 0 0 0 4px rgb(106 92 255 / 16%); }

/* --------------------------------------------------------------------------
   陪玩大厅 · 筛选
   -------------------------------------------------------------------------- */
.filters { padding: 0 0 18px; }
.hall-filter-panel {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.hall-filter-group {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.hall-filter-group:last-of-type { padding-bottom: 0; border-bottom: 0; }
.hall-filter-group > b { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.hall-platform-buttons, .hall-filter-options, .hall-sort-buttons { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.hall-filter-options { padding: 2px 1px; overflow-x: auto; scrollbar-width: none; }
.hall-filter-options::-webkit-scrollbar { display: none; }
.hall-platform-buttons button,
.hall-service-buttons button,
.hall-sort-buttons button,
.hall-game-buttons button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  color: var(--ink-2);
  white-space: nowrap;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: color .18s, background .18s, border-color .18s;
}
.hall-platform-buttons button svg { width: 16px; height: 16px; }
.hall-platform-buttons button:hover,
.hall-service-buttons button:hover,
.hall-sort-buttons button:hover,
.hall-game-buttons button:hover { color: var(--primary-ink); background: var(--primary-soft); }
.hall-platform-buttons button.active,
.hall-service-buttons button.active,
.hall-sort-buttons button.active { color: #fff; background: var(--primary); box-shadow: var(--shadow-primary); }
.hall-game-buttons button { height: 44px; padding: 4px 14px 4px 5px; border-radius: var(--radius-sm); }
.hall-game-buttons button img, .hall-game-prefix {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: cover;
  background: #fff;
  border-radius: 8px;
}
.hall-game-prefix { display: grid; place-content: center; color: var(--primary-ink); font-size: 10px; font-weight: 700; }
.hall-game-buttons button strong { font-size: 13px; font-weight: 600; }
.hall-game-buttons button.active { color: var(--primary-ink); background: var(--primary-soft); border-color: var(--primary); box-shadow: none; }
.hall-filter-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.hall-filter-top .filter-search { flex: 0 1 360px; width: 360px; }
.hall-filter-top .arco-input-wrapper { border-radius: var(--radius-xs) 0 0 var(--radius-xs); }
.hall-filter-top .arco-input-search-btn, .hall-filter-top .arco-input-append .arco-btn { border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.hall-sort-buttons { justify-content: flex-end; }
.hall-sort-buttons button { min-height: 34px; padding: 0 13px; font-size: 12.5px; }

/* --------------------------------------------------------------------------
   陪玩主页
   -------------------------------------------------------------------------- */
.companion-profile-page { min-height: calc(100vh - var(--topbar-h)); padding-bottom: 64px; background: var(--paper); }
.companion-cover {
  position: relative;
  min-height: 320px;
  color: #fff;
  background-position: center;
  background-size: cover;
}
.companion-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(20 16 48 / 88%), rgb(20 16 48 / 55%) 55%, rgb(20 16 48 / 30%));
}
.companion-cover-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 320px;
  align-items: flex-end;
  padding-top: 56px;
  padding-bottom: 48px;
}
.profile-back {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: inherit;
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 0;
  transition: background .18s;
}
.package-hero-copy > .profile-back,
.companion-cover-inner > .profile-back { position: absolute; top: 22px; left: 0; }
.profile-back:hover { background: rgb(255 255 255 / 26%); }
.profile-back svg { width: 18px; height: 18px; display: block; }
.profile-identity { display: flex; min-width: 0; align-items: flex-end; gap: 24px; }
.profile-avatar {
  width: 128px;
  height: 128px;
  flex: 0 0 128px;
  object-fit: cover;
  background: var(--line);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgb(0 0 0 / 28%);
}
.profile-name-block { min-width: 0; padding-bottom: 4px; }
.profile-name-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.profile-name-line h1 { margin: 0; color: #fff; font-size: 34px; letter-spacing: -.01em; text-shadow: 0 2px 8px rgb(0 0 0 / 20%); }
.profile-name-line .identity-badge {
  height: 22px;
  padding: 0 8px;
  color: #d6f5e7;
  background: rgb(15 138 83 / 32%);
  font-size: 12px;
}
.profile-uid { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; color: rgb(255 255 255 / 76%); font-size: 13px; }
.profile-uid > span:first-child { flex: 0 0 auto; white-space: nowrap; }
.profile-verified { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; color: #d6f5e7; font-size: 12px; white-space: nowrap; }
.profile-verified svg { width: 13px; height: 13px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.profile-tags span, .availability-badge {
  padding: 5px 10px;
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.availability-badge { white-space: nowrap; }
.availability-badge.availability-idle { color: #0f8a53; background: var(--success-soft); border-color: #bfeed6; }
.availability-badge.availability-busy { color: #a86300; background: var(--warning-soft); border-color: #f7dfa6; }
.availability-badge.availability-paused, .availability-badge.availability-offline { color: var(--muted); background: var(--surface-2); border-color: var(--line); }
.profile-content { position: relative; z-index: 2; margin-top: -30px; }
.profile-statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.profile-statbar > div { display: grid; gap: 4px; padding: 20px 24px; border-right: 1px solid var(--line-2); }
.profile-statbar > div:last-child { border-right: 0; }
.profile-statbar strong { font-size: 24px; letter-spacing: -.01em; }
.profile-statbar > div:first-child strong { color: var(--warning); }
.profile-statbar span { color: var(--muted); font-size: 12px; }
.profile-intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 18px; }
.profile-panel { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.profile-about:only-child { grid-column: 1 / -1; }
.profile-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.profile-section-head > div > span { display: block; margin-bottom: 4px; color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.profile-section-head h2 { margin: 0; font-size: 20px; }
.profile-section-head > small { color: var(--muted); font-size: 12px; }
.profile-about > p { min-height: 52px; margin: 0; color: var(--ink-2); line-height: 1.8; white-space: pre-line; }
.profile-voice-button {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  text-align: left;
  background: var(--primary-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.profile-voice-button:hover { border-color: var(--primary-soft-2); }
.profile-voice-button.playing { background: var(--primary-soft-2); border-color: var(--primary); }
.profile-voice-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; color: #fff; background: var(--primary); border-radius: 50%; box-shadow: var(--shadow-primary); }
.profile-voice-icon svg { width: 20px; height: 20px; }
.profile-voice-button > span:last-child { display: grid; min-width: 0; gap: 3px; }
.profile-voice-button strong { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.profile-voice-button small { color: var(--muted); }
.profile-content-tabs {
  position: sticky;
  top: var(--topbar-h);
  z-index: 4;
  display: flex;
  gap: 28px;
  padding: 0 24px;
  margin-top: 18px;
  background: rgb(255 255 255 / 94%);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  backdrop-filter: blur(8px);
}
.profile-content-tabs button {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  outline: 0;
}
.profile-content-tabs button b { min-width: 20px; padding: 2px 7px; color: var(--muted); background: var(--surface-2); border-radius: 999px; font-size: 11px; }
.profile-content-tabs button.active { color: var(--ink); font-weight: 700; }
.profile-content-tabs button.active b { color: #fff; background: var(--primary); }
.profile-content-tabs button.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; }
.profile-content-tabs + .profile-panel { margin-top: 0; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.profile-services, .profile-reviews { margin-top: 18px; }
.profile-service-list { border-top: 1px solid var(--line-2); }
.profile-service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-2);
}
.profile-service-row:last-child { border-bottom: 0; }
.profile-service-row > img, .profile-service-logo {
  display: grid;
  width: 72px;
  height: 72px;
  place-content: center;
  object-fit: cover;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.profile-service-info { min-width: 0; }
.profile-service-info > strong { display: block; overflow-wrap: anywhere; font-size: 16px; }
.profile-service-info p { margin: 4px 0 8px; overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.profile-service-info > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.profile-service-info b { color: var(--accent); font-size: 20px; font-weight: 800; }
.profile-service-info b small { color: var(--muted); font-size: 12px; font-weight: 400; }
.profile-service-info span { color: var(--muted-2); font-size: 12px; white-space: nowrap; }
.profile-order-button {
  min-height: 40px;
  padding: 0 20px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s, transform .18s;
}
.profile-order-button:hover { background: var(--primary-hover); transform: translateY(-1px); }
.profile-order-button:disabled { color: var(--muted-2); background: var(--surface-2); box-shadow: none; cursor: not-allowed; transform: none; }
.profile-empty-service { padding: 40px 0; color: var(--muted); text-align: center; }
.profile-review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-review-list article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 16px; background: var(--surface-2); border-radius: var(--radius-sm); }
.profile-review-list img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.profile-review-list article > div { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; min-width: 0; }
.profile-review-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-review-list span { color: var(--warning); font-weight: 600; }
.profile-review-list p, .profile-review-list small { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.profile-review-list p { color: var(--ink-2); line-height: 1.65; }

/* --------------------------------------------------------------------------
   确认订单
   -------------------------------------------------------------------------- */
.companion-order-page { width: min(1120px, calc(100% - var(--gutter) * 2)); padding-top: 30px; padding-bottom: 64px; }
.companion-order-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.companion-order-head .page-back { color: var(--ink); background: var(--surface); border-color: var(--line); }
.companion-order-head .page-back:hover { background: var(--primary-soft); }
.companion-order-head span { color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.companion-order-head h1 { margin: 2px 0 0; font-size: 26px; }
.order-companion-summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(120deg, #2a2450 0%, #3e3480 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.order-companion-summary img { width: 64px; height: 64px; object-fit: cover; border: 2px solid rgb(255 255 255 / 70%); border-radius: 50%; }
.order-companion-summary h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; color: #fff; font-size: 19px; }
.order-companion-summary p { margin: 0; color: rgb(255 255 255 / 70%); font-size: 13px; }
.companion-order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 18px; }
.order-form-card, .order-price-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.order-form-section + .order-form-section { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line-2); }
.order-service-options { display: grid; gap: 10px; }
.order-service-options > button {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.order-service-options > button:hover { border-color: var(--primary-soft-2); }
.order-service-options > button.active { background: var(--primary-soft); border-color: var(--primary); box-shadow: 0 0 0 3px rgb(106 92 255 / 12%); }
.order-service-options img, .order-service-options .profile-service-logo { width: 52px; height: 52px; }
.order-service-options > button > span:nth-child(2) { display: grid; min-width: 0; gap: 4px; }
.order-service-options strong, .order-service-options small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-service-options small { color: var(--muted); }
.order-service-options b { color: var(--accent); white-space: nowrap; font-weight: 800; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-field { display: grid; gap: 7px; }
.booking-field label { color: var(--muted); font-size: 13px; font-weight: 500; }
.booking-package-field { grid-column: 1 / -1; margin-top: 14px; }
.order-setting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-schedule-toggle > div, .dispatch-schedule-row { display: flex; min-height: 32px; align-items: center; gap: 10px; color: var(--ink-2); }
.order-remark { margin-top: 18px; }
.booking-field label em { color: var(--accent); font-style: normal; }
.order-form-section .profile-section-head .section-sub { margin: 0; font-size: 12px; }
.order-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-top: 16px; color: var(--primary-ink); background: var(--primary-soft); border: 1px solid var(--primary-soft-2); border-radius: var(--radius-sm); }
.order-notice > svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: var(--primary); }
.order-notice > div { display: grid; min-width: 0; gap: 4px; }
.order-notice strong { font-size: 13px; }
.order-notice p, .order-notice-html { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.order-notice p { white-space: pre-line; }
.order-notice-html { white-space: pre-line; }
.order-notice-html p { margin: 0 0 8px; white-space: normal; }
.order-notice-html p:last-child { margin-bottom: 0; }
.order-notice-html img { display: block; max-width: 100%; height: auto; margin: 8px 0; border-radius: 8px; cursor: zoom-in; }
.order-notice-html ul, .order-notice-html ol { margin: 0 0 8px; padding-left: 1.2em; }
.order-notice-html a { color: var(--primary-ink); }
.order-price-card { position: sticky; top: calc(var(--topbar-h) + 20px); display: grid; gap: 14px; }
.order-price-card > span { color: var(--muted); font-size: 13px; }
.order-price-card > strong { color: var(--accent); font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.order-price-card dl { display: grid; gap: 9px; padding: 14px 0; margin: 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.order-price-card dl > div { display: flex; justify-content: space-between; }
.order-price-card dt { color: var(--muted); }
.order-price-card dd { margin: 0; font-weight: 600; }
.order-price-card > .arco-btn { box-shadow: var(--shadow-primary); }
.order-price-card > small { color: var(--muted); line-height: 1.6; }
.package-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.package-radio-group .arco-radio { align-items: flex-start; min-width: 0; padding: 12px; margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .18s, background .18s; }
.package-radio-group .arco-radio:hover { border-color: var(--primary-soft-2); }
.package-radio-group .arco-radio-checked { background: var(--primary-soft); border-color: var(--primary); }
.package-radio-group .arco-radio-label { display: grid; min-width: 0; }
.package-radio-group .arco-radio-label span { overflow-wrap: anywhere; font-weight: 600; }
.package-radio-group .arco-radio-label small { margin-top: 3px; color: var(--muted); }
.package-radio-cover {
  display: block;
  width: 100%;
  height: 78px;
  margin-bottom: 8px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--primary-soft);
}

/* --------------------------------------------------------------------------
   发布需求弹窗
   -------------------------------------------------------------------------- */
.dispatch-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dispatch-form-grid > .arco-form-item:nth-child(3) { grid-column: 1 / -1; }
.dispatch-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dispatch-candidate { display: grid; grid-template-columns: 26px auto 1fr; align-items: center; gap: 8px; min-width: 0; }
.dispatch-candidate img, .dispatch-candidate-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.dispatch-candidate-avatar { display: grid; place-items: center; color: var(--primary-ink); background: var(--primary-soft); font-size: 12px; font-weight: 700; }
.dispatch-candidate small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dispatch-candidate-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; vertical-align: middle; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 2px rgba(34, 197, 94, .18); }
.arco-select-view-value .dispatch-candidate small { display: none; }
.arco-select-view-value .dispatch-candidate { grid-template-columns: 22px auto; }
.arco-select-view-value .dispatch-candidate img, .arco-select-view-value .dispatch-candidate-avatar { width: 22px; height: 22px; }
.arco-modal .order-notice { margin: 0 0 18px; }
.dispatch-platform-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.dispatch-platform-buttons button {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 13px;
  transition: color .18s, background .18s, border-color .18s;
}
.dispatch-platform-buttons button svg { width: 16px; height: 16px; }
.dispatch-platform-buttons button.active { color: var(--primary-ink); background: var(--primary-soft); border-color: var(--primary); font-weight: 600; }
.dispatch-fixed-package { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; margin-bottom: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dispatch-fixed-package > div { display: grid; gap: 4px; min-width: 0; padding: 12px 14px; background: var(--surface-2); }
.dispatch-package-hero { grid-column: 1 / -1; padding: 0 !important; }
.dispatch-package-hero img { display: block; width: 100%; height: 140px; object-fit: cover; }
.dispatch-fixed-package small { color: var(--muted); }
.dispatch-fixed-package strong { overflow-wrap: anywhere; }
.dispatch-price-summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: var(--ink-2); background: var(--primary-soft); border-radius: var(--radius-xs); }
.dispatch-price-summary strong { color: var(--accent); font-size: 20px; font-weight: 800; }

/* --------------------------------------------------------------------------
   订单列表
   -------------------------------------------------------------------------- */
.orders-page, .mine-page, .center-page { max-width: 1040px; }
.orders-page .page-head { padding-bottom: 14px; }
.order-filter-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  margin-bottom: 18px;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
  scrollbar-width: none;
}
.order-filter-nav::-webkit-scrollbar { display: none; }
.order-filter-nav a {
  flex: 1 0 auto;
  min-height: 36px;
  padding: 0 18px;
  color: var(--muted);
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 36px;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.order-filter-nav a:hover { color: var(--primary-ink); }
.order-filter-nav a.active { color: #fff; background: var(--primary); font-weight: 600; box-shadow: var(--shadow-primary); }
.order-list { display: grid; gap: 14px; padding-bottom: 50px; }
.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.order-card:hover { border-color: var(--primary-soft-2); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.order-card.is-linked { border-color: var(--primary); box-shadow: var(--shadow-2); }
.order-card > div:first-child { display: grid; min-width: 0; align-content: center; gap: 6px; }
.order-card > div:first-child > .section-sub { margin: 0; line-height: 1.6; }
.order-card > div:first-child > small { color: var(--muted-2); overflow-wrap: anywhere; }
.order-chat-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: #f53f3f; color: #fff; font-size: 11px; line-height: 1; font-weight: 600;
}
.order-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.order-card-title strong { min-width: 0; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.order-card-actions { display: flex; min-width: 190px; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; text-align: right; }
.order-card-actions .price { font-size: 20px; }
.order-card-buttons { display: flex; min-width: 0; max-width: 100%; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.order-card-buttons:empty { display: none; }
.order-card-actions .arco-btn { max-width: 100%; height: auto; min-height: 32px; white-space: nowrap; }
.status { padding: 4px 9px; background: var(--surface-2); border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.status-pending_payment { color: #a86300; background: var(--warning-soft); }
.status-pending_accept { color: #1d5fc4; background: var(--info-soft); }
.status-accepted, .status-serving { color: var(--primary-ink); background: var(--primary-soft); }
.status-after_sale { color: #b35a11; background: #fff0e5; }
.status-completed { color: #0f8a53; background: var(--success-soft); }
.status-cancelled, .status-closed { color: var(--muted); background: var(--surface-2); }
.status-refunded { color: #b83a4b; background: var(--accent-soft); }

/* 订单详情弹窗 */
.user-order-detail-modal .arco-modal-header { padding: 18px 22px; text-align: left; }
.user-order-detail-modal .arco-modal-title { font-size: 17px; }
.user-order-detail-modal .arco-modal-body { padding: 22px; }
.user-order-detail { display: grid; gap: 20px; }
.user-order-detail small { color: var(--muted); font-size: 12px; }
.user-order-receipt { min-width: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 8px; }
.user-order-receipt-rows { margin: 0; }
.user-order-receipt-rows > div { display: grid; grid-template-columns: minmax(76px, max-content) minmax(0, 1fr); align-items: baseline; gap: 14px; padding: 13px 16px; }
.user-order-receipt-rows > div + div { border-top: 1px solid var(--line-2); }
.user-order-receipt-rows dt { font-weight: 500; }
.user-order-receipt-rows dd { min-width: 0; margin: 0; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.user-order-receipt-rows .receipt-paid { color: var(--accent); font-weight: 700; }
.user-order-receipt-section { margin: 0; padding: 9px 16px; border-block: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.user-order-receipt-status, .user-order-receipt-status > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.user-order-receipt-status { justify-content: space-between; }
.user-order-detail-remark { padding: 14px 16px; background: var(--surface-2); border-radius: var(--radius-xs); }
.user-order-detail-remark p { margin: 6px 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.buyer-order-inbox { display: grid; min-width: 0; gap: 12px; }
.buyer-order-inbox-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); }
.buyer-order-inbox-head .arco-btn svg { width: 17px; height: 17px; }
.buyer-order-inbox-content { width: 100%; min-height: 60px; }
.buyer-order-inbox-list { border: 1px solid #e2eaf2; border-radius: 8px; overflow: hidden; background: #fff; }
.buyer-order-inbox-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(44px, auto); align-items: start; gap: 12px; width: 100%; min-width: 0; padding: 14px; border: 0; color: #25364b; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.buyer-order-inbox-item + .buyer-order-inbox-item { border-top: 1px solid #e8edf2; }
.buyer-order-inbox-item:hover, .buyer-order-inbox-item:focus-visible { background: #f4f8fd; }
.buyer-order-inbox-item:focus-visible { outline: 2px solid #88aacd; outline-offset: -2px; }
.buyer-order-inbox-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: #eaf3fd; color: #406b94; }
.buyer-order-inbox-icon svg { width: 18px; height: 18px; }
.buyer-order-inbox-copy, .buyer-order-inbox-meta { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.buyer-order-inbox-copy small, .buyer-order-inbox-meta time { font-size: 11px; color: #687a8d; }
.buyer-order-inbox-copy span { color: #526478; font-size: 13px; }
.buyer-order-inbox-meta { justify-items: end; text-align: right; font-variant-numeric: tabular-nums; }
.buyer-order-inbox-meta b { min-width: 18px; padding: 1px 5px; border-radius: 6px; background: #c64259; color: #fff; text-align: center; font-size: 11px; }
.buyer-order-inbox .arco-pagination { justify-content: end; }
.buyer-order-conversation-head { display: grid; gap: 4px; overflow-wrap: anywhere; }

/* 评价 / 打赏 / 密码 / 支付 弹窗 */
.review-form, .tip-form, .password-form { display: grid; gap: 14px; }
.review-form p, .tip-form p, .tip-form small { margin: 0; }
.review-form p { font-weight: 600; }
.tip-form small { color: var(--muted); }
.payment-method-list { display: grid; gap: 10px; }
.payment-method-list > button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.payment-method-list > button:hover { border-color: var(--primary-soft-2); }
.payment-method-list > button.active { background: var(--primary-soft); border-color: var(--primary); }
.payment-method-list > button:disabled { cursor: wait; opacity: .7; }
.payment-method-list > button > svg { width: 32px; height: 32px; flex: 0 0 32px; padding: 7px; color: #fff; background: var(--warning); border-radius: 9px; box-sizing: border-box; }
.payment-method-list > button > span:nth-child(2) { display: grid; flex: 1; gap: 3px; }
.payment-method-list strong { font-size: 14px; }
.payment-method-list small { color: var(--muted); font-size: 12px; }
.payment-method-mark { display: grid; width: 32px; height: 32px; place-items: center; color: #fff; border-radius: 9px; font-weight: 700; }
.alipay-mark { background: #1677ff; }
.wechat-mark { background: #07c160; }
.payment-selected-dot { width: 8px; height: 8px; flex: 0 0 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px rgb(106 92 255 / 16%); }
.payment-method-list > .arco-btn { margin-top: 6px; height: 42px; box-shadow: var(--shadow-primary); }
.payment-qr-box { display: grid; justify-items: center; gap: 10px; padding: 8px 4px 2px; }
.payment-qr-box img { width: 180px; height: 180px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.payment-qr-box p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.payment-cashier-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   我的
   -------------------------------------------------------------------------- */
.mine-page { padding-bottom: 56px; }
.mine-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.mine-overview a { text-decoration: none; }
.mine-user { display: flex; min-width: 0; align-items: center; gap: 16px; }
.mine-user h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 20px; }
.mine-user p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.mine-account-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12px; }
.mine-uid { display: inline-flex; min-height: 24px; align-items: center; padding: 2px 9px; color: var(--primary-ink); background: var(--primary-soft); border-radius: 6px; font-weight: 600; white-space: nowrap; }
.mine-register-time { overflow-wrap: anywhere; }
.avatar-editor { position: relative; display: grid; flex: 0 0 auto; justify-items: center; }
.avatar-upload-button { position: relative; display: block; width: 72px; height: 72px; padding: 0; overflow: visible; background: transparent; border: 0; border-radius: 50%; cursor: pointer; transition: transform .18s; }
.avatar-upload-button .arco-avatar { color: #fff; background: var(--primary); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--primary-soft-2); }
.avatar-upload-button::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  background: var(--primary) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 2px solid #fff;
  border-radius: 50%;
}
.avatar-upload-button:disabled { cursor: wait; }
.avatar-upload-button:hover, .avatar-upload-button:focus-visible { transform: translateY(-1px); }
.avatar-action-menu {
  position: absolute;
  top: 80px;
  left: 50%;
  z-index: 10;
  display: grid;
  min-width: 120px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  transform: translateX(-50%);
}
.avatar-action-menu button { padding: 9px 12px; color: var(--ink); text-align: left; white-space: nowrap; background: transparent; border: 0; border-radius: 7px; cursor: pointer; font-size: 13px; }
.avatar-action-menu button:hover, .avatar-action-menu button:focus-visible { background: var(--primary-soft); color: var(--primary-ink); }
.avatar-action-menu button:disabled { color: var(--muted-2); cursor: wait; }
.avatar-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.avatar-preview-wrap { display: grid; min-height: 260px; place-items: center; padding: 8px; background: var(--surface-2); border-radius: var(--radius-sm); }
.avatar-preview { display: block; max-width: min(70vw, 420px); max-height: 60vh; object-fit: contain; border-radius: var(--radius-sm); }
.avatar-preview-fallback { display: grid; width: 180px; height: 180px; place-items: center; color: #fff; background: var(--primary); border-radius: 50%; font-size: 64px; }
.balance-box {
  display: grid;
  min-width: 220px;
  gap: 4px;
  padding: 16px 20px;
  color: #fff;
  background: linear-gradient(120deg, #2a2450 0%, #4a3ecf 100%);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-primary);
  transition: transform .18s;
}
.balance-box:hover { transform: translateY(-1px); }
.balance-box small { color: rgb(255 255 255 / 72%); font-size: 12px; }
.balance-box strong { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.user-center-section { padding: 22px; margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.center-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.center-section-head h2 { margin: 0; font-size: 17px; }
.center-section-head > a { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: 13px; white-space: nowrap; }
.center-section-head > a:hover { color: var(--primary-ink); }
.center-section-head > a svg { width: 14px; height: 14px; }
.order-shortcuts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.order-shortcuts a, .service-grid a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background .18s, border-color .18s, transform .18s;
}
.order-shortcuts a:hover, .service-grid a:hover { background: var(--primary-soft); border-color: var(--primary-soft-2); transform: translateY(-1px); }
.order-shortcuts em, .service-grid em { overflow-wrap: anywhere; font-size: 13px; font-style: normal; font-weight: 500; }
.shortcut-icon, .service-grid a > span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--primary-ink); background: var(--primary-soft); border-radius: 12px; }
.shortcut-icon svg, .service-grid svg { width: 20px; height: 20px; }
.order-shortcuts a > strong, .service-grid a > strong {
  position: absolute;
  top: 10px;
  left: calc(50% + 10px);
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  color: #fff;
  background: var(--accent);
  border: 2px solid #fff;
  border-radius: 10px;
  font-size: 11px;
  line-height: 15px;
}
.mine-logout { display: block; width: 100%; margin-top: 14px; padding: 13px; color: var(--danger); background: transparent; border: 0; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; transition: background .18s; }
.mine-logout:hover { background: #fff1f1; }

/* --------------------------------------------------------------------------
   个人中心子页
   -------------------------------------------------------------------------- */
.center-page { min-height: calc(100vh - 190px); padding-bottom: 56px; }
.center-page-head { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.center-page-head.has-back > .page-back { grid-column: 1; grid-row: 1; }
.center-page-head h1 { grid-column: 2; }
.center-content, .settings-list, .legal-content, .wallet-card, .security-card, .coupon-center {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.center-content { display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.center-content h2, .center-content p { margin: 8px 0; }
.center-content h2 { font-size: 18px; }
.center-content p, .wallet-card p, .legal-content p { color: var(--muted); line-height: 1.8; }
.center-empty-icon { display: grid; width: 64px; height: 64px; margin-bottom: 8px; place-items: center; color: var(--primary-ink); background: var(--primary-soft); border-radius: 50%; }
.center-empty-icon svg { width: 28px; height: 28px; }
.notice-board { display: grid; gap: 14px; }
.notice-card {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  cursor: pointer;
}
.notice-card:hover {
  border-color: var(--primary, #6a5cff);
}
.notice-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 10px;
}
.notice-card-head h3 { margin: 0; font-size: 17px; }
.notice-card-head small { color: var(--muted); }
.notice-card-excerpt, .notice-card-body {
  margin: 0;
  color: var(--ink-2, #3b4056);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.notice-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notice-card-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-ink, #4a3ecf);
  font-size: 13px;
}
.notice-detail-time {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}
.wallet-card { color: #fff; background: linear-gradient(120deg, #2a2450 0%, #4a3ecf 100%); border-color: transparent; }
.wallet-card > span { color: rgb(255 255 255 / 72%); }
.wallet-card > strong { display: block; margin: 8px 0 20px; font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.wallet-card > p { margin: 0; color: rgb(255 255 255 / 72%); }
.wallet-ledger { margin-top: 22px; padding: 18px; color: var(--ink); background: var(--surface); border-radius: var(--radius-sm); }
.wallet-ledger h3 { margin: 0 0 8px; font-size: 15px; }
.wallet-ledger-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; width: 100%; padding: 12px 0; color: inherit; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); font: inherit; }
.wallet-ledger-row:last-of-type { border-bottom: 0; }
.wallet-ledger-row span { overflow-wrap: anywhere; }
.wallet-ledger-row b { grid-row: 1 / span 2; align-self: center; color: var(--ink); font-size: 15px; }
.wallet-ledger-row b.is-in { color: #0f8a53; }
.wallet-ledger-row b.is-out { color: var(--ink); }
.wallet-ledger-row small { color: var(--muted-2); font-size: 12px; }
.wallet-ledger-row small em { margin-left: 8px; color: var(--primary); font-style: normal; }
.wallet-ledger-row.clickable { cursor: pointer; }
.wallet-ledger-row.clickable:hover span { color: var(--primary-ink); }
.wallet-ledger .empty { padding: 28px; border: 0; background: transparent; }

.pager { display: flex; justify-content: center; margin: 24px 0 8px; }
.pager .arco-pagination { flex-wrap: wrap; justify-content: center; }

.support-card { display: grid; gap: 18px; }
.support-form, .support-list { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.support-form h2, .support-list h3 { margin: 0 0 8px; font-size: 18px; }
.support-ticket { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.support-ticket:last-of-type { border-bottom: 0; }
.support-ticket-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.support-ticket-head span { color: var(--primary-ink); font-size: 13px; }
.support-ticket small { color: var(--muted); }
.support-ticket p { margin: 8px 0 0; color: var(--ink-2); }
.pw-chat {
  display: flex; flex-direction: column; gap: 8px;
  margin: 10px 0 0; padding: 10px;
  max-height: min(42vh, 320px); min-height: 0;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; touch-action: pan-y;
  background: #fff; border: 1px solid var(--line, #eceff3); border-radius: 12px;
  scrollbar-gutter: stable;
}
.pw-chat::-webkit-scrollbar { width: 6px; }
.pw-chat::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 99px; }
.pw-chat-item { flex: 0 0 auto; min-width: 0; padding: 10px 12px; border-radius: 10px; background: var(--fill-2, #f6f7fb); }
.pw-chat-item.is-user { background: #fff7e8; }
.pw-chat-item.is-admin { background: #e8f3ff; }
.pw-chat-item.is-companion { background: #e8ffea; }
.pw-chat-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.pw-chat-item p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.aftersale-chat-box, .support-reply-box { display: grid; gap: 8px; margin-top: 10px; }
.aftersale-chat-box .arco-btn, .support-reply-box .arco-btn { justify-self: start; }
.support-reply { margin-top: 10px; padding: 12px; background: var(--surface-2); border-radius: var(--radius-xs); }
.support-reply b { font-size: 13px; color: var(--primary-ink); }
.wallet-recharge { margin-top: 18px; padding: 16px; color: var(--ink); background: rgb(255 255 255 / 14%); border-radius: var(--radius-sm); }
.wallet-recharge > small { display: block; margin-bottom: 10px; color: rgb(255 255 255 / 78%); }
.wallet-quick-amounts, .wallet-recharge-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.wallet-quick-amounts button, .wallet-recharge-methods button { padding: 8px 14px; color: #fff; background: rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 22%); border-radius: 999px; cursor: pointer; }
.wallet-quick-amounts button.active, .wallet-recharge-methods button.active { background: #fff; color: #4a3ecf; border-color: #fff; }
.wallet-recharge .arco-btn { margin-top: 8px; }
.wallet-recharge-empty, .wallet-qr p { margin: 10px 0 0; color: rgb(255 255 255 / 78%); }
.wallet-qr { margin: 12px 0; text-align: center; }
.favorite-list { display: grid; gap: 12px; width: 100%; }
.favorite-card { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 14px; align-items: center; width: 100%; padding: 14px; text-align: left; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.favorite-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 16px; }
.favorite-card strong { display: block; }
.favorite-card small { color: var(--muted); }
.favorite-page { width: 100%; }
.favorite-page > .center-content { margin: 0; }
.favorite-tabs { margin-bottom: 16px; }
.favorite-page .companion-grid,
.favorite-page .service-package-grid { align-items: stretch; }
.favorite-page .person-card {
  height: auto;
  min-height: 0;
  overflow: hidden;
}
.favorite-page .person-name { flex-wrap: wrap; }
.favorite-page .person-certifications {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  overflow: visible;
}
.favorite-page .person-bio {
  height: auto;
  max-height: none;
  -webkit-line-clamp: 3;
}
.favorite-page .person-foot { flex-wrap: wrap; gap: 8px; }
.favorite-page .service-package-card {
  min-height: 176px;
  height: auto;
  overflow: hidden;
}
.favorite-page .service-package-card strong {
  white-space: normal;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.settings-list.notify-page > .notify-inbox {
  display: grid;
  gap: 10px;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line-2);
}
.notify-inbox { display: grid; gap: 10px; width: 100%; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.notify-inbox-head { display: flex; align-items: center; justify-content: space-between; }
.notify-inbox-head h2 { margin: 0; font-size: 16px; }
.notify-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.notify-tabs button {
  padding: 6px 12px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}
.notify-tabs button.active { color: var(--primary-ink); background: var(--primary-soft); border-color: var(--primary-soft-2); font-weight: 600; }
.notify-item { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.notify-item.unread { padding-left: 10px; border-left: 3px solid var(--primary); }
.notify-item.unread strong { color: var(--primary-ink); }
.notify-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notify-item-head b { color: var(--primary-ink); font-size: 12px; font-weight: 600; }
.notify-item p, .notify-item small { margin: 0; color: var(--muted); }
.notify-jump { color: var(--primary) !important; font-size: 12px; }
.sms-code-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }
.sms-code-row .arco-btn { white-space: nowrap; }
.auth-mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auth-mode-switch button { height: 36px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--ink-2); cursor: pointer; }
.auth-mode-switch button.active { border-color: var(--primary); color: var(--primary); background: #f0f7ff; font-weight: 600; }
.auth-extra-link { margin: 10px 0 0; text-align: right; }
.auth-extra-link button { border: 0; background: none; color: var(--primary); cursor: pointer; font-size: 13px; }
.captcha-row { display: grid; grid-template-columns: minmax(0,1fr) 128px; gap: 10px; align-items: center; }
.captcha-image { display: block; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: #f4f6fb; }
.captcha-image img { display: block; width: 128px; height: 40px; }
.wechat-bind-box { display: grid; justify-items: center; gap: 12px; padding: 8px 0 4px; }
.wechat-bind-box img { width: 220px; height: 220px; border-radius: 12px; background: #fff; }
.wechat-bind-box a { color: var(--primary); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted-2); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.wechat-login-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px;
  color: #fff; background: #07c160; border: 0; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer;
}
.wechat-login-btn svg { width: 22px; height: 22px; }
.wechat-login-btn:hover { background: #06ad56; }
.wechat-login-btn:disabled { opacity: .7; cursor: wait; }
.wechat-login-tip { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.order-aftersale-hint { margin: 6px 0 0; color: #722ed1; font-size: 12px; }
.order-aftersale-content { margin: 4px 0 0; color: var(--ink-2); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.aftersale-upload { margin-top: 12px; }
.aftersale-upload-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px dashed var(--line, #d9d9d9); border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--ink-2); }
.aftersale-upload-btn input { display: none; }
.aftersale-evidence { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.aftersale-evidence img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #f5f5f5; }
.aftersale-evidence-item { position: relative; padding: 0; border: 0; background: transparent; cursor: pointer; }
.aftersale-evidence-item span { display: block; font-size: 11px; color: #86909c; margin-top: 2px; }
.settings-list > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.settings-list > div:first-child { padding-top: 0; }
.settings-list > div span { display: grid; gap: 4px; }
.settings-list b { font-size: 15px; }
.settings-list small { color: var(--muted); }
.settings-list > .arco-btn { margin-top: 20px; }
.security-card { max-width: 820px; padding: 8px 24px 20px; }
.security-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; min-height: 76px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.security-row > div:not(.security-row-actions) { display: grid; min-width: 0; flex: 1 1 220px; gap: 5px; }
.security-row b { font-size: 15px; font-weight: 650; }
.security-row small { overflow-wrap: anywhere; color: var(--muted); line-height: 1.5; }
.security-row > span { flex: 0 0 auto; padding: 3px 10px; color: var(--primary-ink); background: var(--primary-soft); border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.security-row > .arco-btn { flex: 0 0 auto; }
.security-row-actions { display: flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.security-row-actions > span { padding: 3px 10px; color: var(--primary-ink); background: var(--primary-soft); border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.security-row-actions .arco-btn { flex: 0 0 auto; }
.identity-form { display: grid; gap: 12px; }
.identity-photos { display: grid; gap: 10px; }
.security-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 18px; }
.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 0; font-size: 22px; }
.legal-content h3 { margin: 26px 0 6px; font-size: 16px; }
.coupon-center { padding-bottom: 40px; }
.coupon-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.coupon-section-head h2 { margin: 0; font-size: 17px; }
.coupon-section-head span { color: var(--muted); }
.mine-coupon-head { margin-top: 30px; }
.coupon-list { display: grid; gap: 10px; }
.coupon-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 112px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.coupon-value {
  position: relative;
  display: grid;
  align-self: stretch;
  place-content: center;
  color: var(--accent);
  text-align: center;
  background: var(--accent-soft);
}
.coupon-value::after { content: ""; position: absolute; top: 50%; right: -1px; width: 1px; height: 70%; border-right: 2px dashed var(--line); transform: translateY(-50%); }
.coupon-card.owned .coupon-value { color: var(--primary-ink); background: var(--primary-soft); }
.coupon-value strong, .coupon-value small { display: block; }
.coupon-value strong { font-size: 26px; font-weight: 800; }
.coupon-value small { color: inherit; opacity: .8; }
.coupon-info { min-width: 0; padding: 16px 20px; }
.coupon-info h3, .coupon-info p { margin: 0 0 5px; }
.coupon-info h3 { font-size: 15px; }
.coupon-info p, .coupon-info small { color: var(--muted); }
.coupon-card > .arco-btn, .coupon-card > .arco-tag { margin-right: 18px; justify-self: end; }
.coupon-list > .center-content { min-height: 160px; padding: 20px; border-style: dashed; box-shadow: none; }

/* --------------------------------------------------------------------------
   登录 / 注册
   -------------------------------------------------------------------------- */
.auth-page { display: grid; min-height: calc(100vh - var(--topbar-h)); grid-template-columns: 1.1fr .9fr; background: var(--surface); }
.auth-visual { position: relative; background: url("/assets/images/common/login-gaming.jpg") center/cover; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgb(74 62 207 / 60%), rgb(20 16 48 / 55%)); }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px; background: var(--surface); }
.auth-box { width: min(420px, 100%); }
.auth-back { margin: 0 0 18px; }
.auth-box h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.01em; }
.auth-box > p { margin: 0 0 26px; color: var(--muted); line-height: 1.7; }
.auth-box .arco-tabs-nav::before { background: var(--line-2); }
.auth-box .arco-form-item-label { color: var(--ink-2); font-weight: 500; }
.auth-box .arco-input-wrapper, .auth-box .arco-input-password { border-radius: var(--radius-sm); }
.auth-box .arco-btn-size-large { display: flex; align-items: center; justify-content: center; margin-top: 6px; box-shadow: var(--shadow-primary); text-align: center; }
.auth-box .arco-radio-group-button { border-radius: var(--radius-xs); }

/* --------------------------------------------------------------------------
   页脚 / 手机端底部导航
   -------------------------------------------------------------------------- */
.footer { padding: 34px 0; margin-top: auto; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer strong { color: var(--ink); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--primary-ink); }
.footer > .container > span { font-size: 13px; }
.mobile-tabbar { display: none; }

/* --------------------------------------------------------------------------
   响应式 · 平板
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .companion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; }
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .nav-account { margin-left: auto; }
  .nav-user-copy, .nav-logout, .nav-register-button { display: none; }
  .nav-user-link { padding: 2px; }
  .nav-account-guest .arco-btn { height: 34px; min-width: 64px; font-size: 13px; }
  .profile-content-tabs { top: var(--topbar-h); }
  .profile-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .companion-order-layout { grid-template-columns: minmax(0, 1fr); }
  .order-price-card { position: static; }
  .order-card { grid-template-columns: 1fr; }
  .order-card-actions { width: 100%; min-width: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); text-align: left; }
  .order-card-actions.is-settled { flex-direction: column; align-items: stretch; }
  .order-card-actions.is-settled .order-card-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 96px), 1fr));
  }
  .order-card-actions.is-settled .order-card-buttons .arco-btn { min-height: 40px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .hall-filter-group { grid-template-columns: 76px minmax(0, 1fr); }
  .footer { display: none; }
  .mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding: 4px 8px env(safe-area-inset-bottom);
    background: rgb(255 255 255 / 96%);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgb(23 26 43 / 6%);
    backdrop-filter: blur(12px);
  }
  .mobile-tabbar a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
  }
  .mobile-tab-icon { position: relative; display: grid; width: 38px; height: 28px; place-items: center; border-radius: 999px; transition: background .18s, color .18s; }
  .mobile-tab-badge {
    position: absolute;
    top: -2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    color: #fff;
    background: var(--accent);
    border-radius: 8px;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }
  .mobile-tab-icon svg { width: 21px; height: 21px; }
  .mobile-tab-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-tabbar a.active { color: var(--primary-ink); font-weight: 600; }
  .mobile-tabbar a.active .mobile-tab-icon { color: var(--primary-ink); background: var(--primary-soft); }
  .mobile-tabbar a:active .mobile-tab-icon { transform: scale(.94); }
}

/* --------------------------------------------------------------------------
   响应式 · 手机
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --topbar-h: 56px; --gutter: 14px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 32px; height: 32px; }
  .section { padding: 28px 0; }
  .section-head { align-items: center; margin-bottom: 14px; }
  .section-title { font-size: 20px; }
  .section-sub { font-size: 12.5px; }
  .more { min-height: 32px; padding: 0 12px; font-size: 12px; }
  .hero { height: clamp(160px, 46vw, 220px); margin-top: 12px; border-radius: var(--radius-sm); }
  .hero-nav { width: 32px; height: 32px; }
  .hero-nav.prev { left: 8px; }
  .hero-nav.next { right: 8px; }
  .hero-nav svg { width: 16px; height: 16px; }
  .hero-fallback { min-height: 0; padding: 26px 20px; }
  .hero-fallback-copy h1 { font-size: 24px; }
  .hero-fallback-copy p { margin-bottom: 16px; font-size: 13px; }
  .hero-fallback-actions .arco-btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .game-card { min-width: 112px; min-height: 56px; gap: 8px; padding: 6px 10px 6px 6px; }
  .game-logo-wrap, .game-prefix { width: 40px; height: 40px; flex-basis: 40px; }
  .game-logo { width: 34px; height: 34px; }
  .game-name { font-size: 13px; }
  .platform-option { min-width: 0; flex: 1; min-height: 40px; }
  .service-market-band { padding: 28px 0; }
  .service-package-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-package-card { min-height: 148px; padding: 14px 14px 58px; }
  .service-package-card.has-cover { padding-top: 0; }
  .service-package-cover { width: calc(100% + 28px); height: auto; aspect-ratio: 1 / 1; margin: 0 -14px 10px; }
  .service-package-card strong { font-size: 15px; }
  .package-card-stats { margin-top: 8px; gap: 5px 6px; }
  .package-card-stats em { padding: 2px 6px; font-size: 11px; }
  .package-card-prices { right: 14px; bottom: 12px; }
  .package-card-prices b { font-size: 16px; }
  .service-package-card::after { bottom: 15px; left: 14px; padding: 3px 8px; font-size: 11px; }
  .package-detail-page { padding-bottom: calc(var(--tabbar-h) + 88px + env(safe-area-inset-bottom)); }
  .package-hero, .package-hero-copy { min-height: 148px; }
  .package-hero-copy { padding-top: 50px; padding-bottom: 18px; }
  .package-hero-copy h1 { font-size: 22px; }
  .package-statbar { margin-top: -12px; }
  .package-statbar > div { padding: 8px 4px; }
  .package-statbar strong { font-size: 16px; }
  .package-layout { margin-top: 10px; gap: 10px; }
  .package-intro { grid-template-columns: minmax(0, 1fr); }
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-cover { height: 120px; }
  .checkout-meta { grid-template-columns: minmax(0, 1fr); }
  .package-panel, .package-book-card { padding: 14px 12px; border-radius: var(--radius-sm); }
  .package-book-card { position: static; }
  .package-book-card > strong { font-size: 24px; }
  .package-book-inline { display: none; }
  .package-guarantees, .package-meta { grid-template-columns: 1fr 1fr; }
  .package-platform-picker .platform-option { min-width: 0; flex: 1; }
  .package-reviews { margin-top: 10px; }
  .package-float-buy {
    bottom: calc(var(--tabbar-h) + 10px + env(safe-area-inset-bottom));
    width: calc(100% - 20px);
    padding: 7px 7px 7px 16px;
  }
  .package-float-buy strong { font-size: 20px; }
  .package-float-buy button { height: 40px; padding: 0 18px; font-size: 14px; }
  .companion-grid { grid-template-columns: 1fr; gap: 10px; }
  .person-card { height: auto; min-height: 0; grid-template-columns: auto minmax(0, 1fr); border-radius: var(--radius-sm); }
  .person-photo { width: 110px; height: 110px; flex-basis: 110px; margin: 10px 0 10px 10px; border-radius: 10px; }
  .favorite-page .person-card {
    height: auto;
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
  }
  .favorite-page .person-certifications { display: flex; }
  .favorite-page .person-bio { height: auto; max-height: none; }
  .card-fav-btn { top: 6px; right: 6px; width: 28px; height: 28px; }
  .card-fav-btn svg { width: 14px; height: 14px; }
  .service-package-card .card-fav-btn { top: 8px; right: 8px; }
  .person-body { padding: 10px 12px 9px; }
  .person-name strong { font-size: 15px; }
  .person-certifications { display: flex; flex-wrap: wrap; height: auto; max-height: none; overflow: visible; }
  .person-bio { height: 36px; margin: 4px 0 5px; font-size: 12px; line-height: 18px; }
  .price { font-size: 16px; }
  .person-service-count { font-size: 11px; }
  .voice-btn { width: 30px; height: 30px; flex-basis: 30px; }
  .page-head { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 22px 0 14px; }
  .page-head.has-back { grid-template-columns: 40px minmax(0, 1fr); }
  .page-head.has-back > .page-back { grid-row: 1 / span 2; }
  .page-head.has-back h1,
  .page-head.has-back .section-sub { grid-column: 2; }
  .page-head h1 { font-size: 23px; }
  .page-head > .arco-btn { grid-column: 1; grid-row: auto; width: 100%; margin-top: 6px; }
  .page-head.has-back > .arco-btn { grid-column: 1 / -1; }
  .hall-filter-panel { gap: 14px; padding: 14px; border-radius: var(--radius-sm); }
  .hall-filter-group { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-bottom: 14px; }
  .hall-filter-group > b { font-size: 12px; }
  .hall-platform-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .hall-platform-buttons button { width: 100%; min-width: 0; }
  .hall-filter-top { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 14px; }
  .hall-filter-top .filter-search { flex-basis: auto; width: 100%; }
  .hall-sort-buttons { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .hall-sort-buttons::-webkit-scrollbar { display: none; }
  .companion-profile-page { padding-bottom: 80px; }
  .companion-cover, .companion-cover-inner { min-height: 250px; }
  .companion-cover::after { background: linear-gradient(0deg, rgb(20 16 48 / 90%), rgb(20 16 48 / 35%)); }
  .companion-cover-inner { padding-top: 60px; padding-bottom: 26px; }
  .profile-back { top: 14px; }
  .profile-identity { align-items: flex-end; gap: 14px; }
  .profile-avatar { width: 84px; height: 84px; flex-basis: 84px; border-width: 3px; }
  .profile-name-line { gap: 8px; }
  .profile-name-line h1 { max-width: 100%; font-size: 24px; overflow-wrap: anywhere; }
  .profile-uid { gap: 5px 8px; margin-top: 5px; font-size: 11px; }
  .profile-tags { gap: 5px; margin-top: 8px; }
  .profile-tags span { padding: 3px 8px; font-size: 10.5px; }
  .profile-content { margin-top: -14px; }
  .profile-statbar { margin-bottom: 10px; border-radius: var(--radius-sm); }
  .profile-statbar > div { padding: 12px 4px; text-align: center; }
  .profile-statbar strong { font-size: 17px; }
  .profile-statbar span { font-size: 10.5px; }
  .profile-intro-grid { gap: 10px; }
  .profile-panel { padding: 16px 14px; border-radius: var(--radius-sm); }
  .profile-services, .profile-reviews { margin-top: 10px; }
  .profile-content-tabs { gap: 20px; padding: 0 14px; margin-top: 10px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .profile-content-tabs button { min-height: 48px; font-size: 14px; }
  .profile-content-tabs + .profile-panel { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .profile-section-head { align-items: flex-start; margin-bottom: 13px; }
  .profile-section-head h2 { font-size: 17px; }
  .profile-section-head > small { text-align: right; }
  .profile-review-list { grid-template-columns: minmax(0, 1fr); }
  .profile-service-row { grid-template-columns: 54px minmax(0, 1fr); gap: 10px 12px; min-height: 0; padding: 12px 0; }
  .profile-service-row > img, .profile-service-logo { width: 54px; height: 54px; }
  .profile-service-info > strong { font-size: 14px; }
  .profile-service-info p { margin: 3px 0 5px; font-size: 11px; }
  .profile-service-info b { font-size: 16px; }
  .profile-service-info span { font-size: 11px; }
  .profile-order-button { grid-column: 1 / -1; width: 100%; min-height: 38px; font-size: 13px; }
  .companion-order-page { padding-top: 18px; padding-bottom: 88px; }
  .companion-order-head { gap: 12px; margin-bottom: 14px; }
  .companion-order-head h1 { font-size: 22px; }
  .order-companion-summary { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: var(--radius-sm); }
  .order-companion-summary img { width: 52px; height: 52px; }
  .order-companion-summary h2 { font-size: 16px; }
  .order-companion-summary p { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .order-companion-summary > .availability-badge { grid-column: 1 / -1; justify-self: start; }
  .companion-order-layout { gap: 10px; }
  .order-form-card, .order-price-card { padding: 16px 14px; border-radius: var(--radius-sm); }
  .order-service-options > button { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
  .order-service-options img, .order-service-options .profile-service-logo { width: 44px; height: 44px; }
  .order-service-options > button > b { grid-column: 2; font-size: 13px; }
  .order-setting-grid, .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .order-price-card > strong { font-size: 30px; }
  .order-filter-nav { gap: 4px; padding: 5px; margin-bottom: 14px; }
  .order-filter-nav a { min-height: 32px; padding: 0 14px; font-size: 13px; line-height: 32px; }
  .order-card { min-height: 0; gap: 12px; padding: 15px; border-radius: var(--radius-sm); }
  .order-card:hover { transform: none; }
  .order-card-title strong { white-space: normal; line-height: 1.4; }
  .order-card-actions { flex-wrap: wrap; }
  .order-card-actions .price { flex: 0 0 auto; font-size: 18px; }
  .order-card-actions:not(.is-settled) .order-card-buttons { flex: 1 1 160px; }
  .order-card-actions .arco-btn { min-height: 30px; padding: 0 10px; font-size: 12px; }
  .mine-overview { align-items: flex-start; padding: 16px; border-radius: var(--radius-sm); }
  .mine-user { min-width: 0; }
  .mine-user > div { min-width: 0; }
  .mine-user h2 { font-size: 18px; }
  .mine-user .arco-avatar { width: 56px !important; height: 56px !important; flex: 0 0 56px; font-size: 20px !important; }
  .avatar-upload-button { width: 56px; height: 56px; }
  .avatar-upload-button::after { width: 20px; height: 20px; background-size: 11px; }
  .avatar-action-menu { top: 64px; }
  .mine-register-time { display: none; }
  .balance-box { width: 100%; min-width: 0; }
  .balance-box strong { font-size: 22px; }
  .user-center-section { padding: 16px 12px; border-radius: var(--radius-sm); }
  .center-section-head { margin-bottom: 12px; }
  .order-shortcuts, .service-grid { gap: 6px; }
  .order-shortcuts a, .service-grid a { min-height: 84px; gap: 7px; padding: 10px 4px; }
  .shortcut-icon, .service-grid a > span { width: 40px; height: 40px; }
  .order-shortcuts a > strong, .service-grid a > strong { top: 6px; left: calc(50% + 8px); }
  .center-page { padding-bottom: 24px; }
  .center-content, .settings-list, .legal-content, .wallet-card, .security-card, .coupon-center { padding: 18px; border-radius: var(--radius-sm); }
  .security-card { padding: 4px 18px 16px; }
  .security-row { align-items: flex-start; gap: 12px; min-height: 0; padding: 13px 0; }
  .security-row > div:not(.security-row-actions) { flex-basis: 100%; }
  .security-row-actions { width: 100%; justify-content: flex-start; }
  .security-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .security-actions .arco-btn { width: 100%; }
  .center-content { min-height: 240px; }
  .notice-card { padding: 16px; }
  .wallet-card > strong { font-size: 32px; }
  .wallet-ledger { padding: 14px; }
  .coupon-card { grid-template-columns: 88px minmax(0, 1fr); min-height: 0; }
  .coupon-value strong { font-size: 20px; }
  .coupon-value small { font-size: 10px; }
  .coupon-info { padding: 12px; }
  .coupon-info h3 { font-size: 14px; }
  .coupon-info small { display: none; }
  .coupon-card > .arco-btn, .coupon-card > .arco-tag { grid-column: 1 / -1; width: calc(100% - 24px); margin: 0 12px 12px; justify-self: stretch; }
  .empty { padding: 44px 18px; }
  .auth-page { display: block; padding: 22px 14px 90px; background: var(--paper); }
  .auth-panel { padding: 0; background: transparent; }
  .auth-box { padding: 22px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
  .auth-box h1 { font-size: 24px; }
  .sms-code-row { grid-template-columns: minmax(0, 1fr); }
  .sms-code-row .arco-btn { width: 100%; }
  .aftersale-chat-box .arco-btn, .support-reply-box .arco-btn { width: 100%; justify-self: stretch; }
  .favorite-card { grid-template-columns: 56px minmax(0, 1fr); }
  .favorite-card > .arco-btn, .favorite-card > .arco-tag { grid-column: 1 / -1; }
  .dispatch-form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .dispatch-summary-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .package-radio-group { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .package-radio-group .arco-radio { padding: 10px; }
  .package-radio-cover { height: 88px; }
  .dispatch-package-hero img { height: 110px; }
  .user-order-detail-modal .arco-modal-body { padding: 14px; }
  .buyer-order-inbox-item { grid-template-columns: 28px minmax(0, 1fr) minmax(44px, 74px); padding: 10px; gap: 8px; }
  .buyer-order-inbox-icon { width: 28px; height: 28px; }
  .user-order-receipt-rows > div { gap: 8px; padding: 12px; }
  .user-order-detail { gap: 15px; }

  /* 弹窗贴合手机屏幕（昵称 / 打赏 / 密码 / 支付 / 评价 / 订单详情 / 发布需求等全部弹窗） */
  .arco-modal-wrapper { padding: 0; }
  .arco-modal {
    width: calc(100% - 20px) !important;
    max-width: none;
    max-height: calc(100dvh - 20px - env(safe-area-inset-bottom));
    margin: 10px auto;
  }
  .arco-modal-header { padding: 15px 16px; }
  .arco-modal-body { max-height: calc(100dvh - 150px - env(safe-area-inset-bottom)); padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .arco-modal-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 11px 16px calc(11px + env(safe-area-inset-bottom)); }
  .arco-modal-footer .arco-btn { width: 100%; margin: 0; }
  .arco-modal .arco-form-item { margin-bottom: 14px; }
  .arco-modal .arco-input-wrapper, .arco-modal .arco-select-view-single, .arco-modal .arco-input-number { width: 100%; }

  /* 图片预览弹窗在手机上使用固定可视高度，避免首次打开时底部工具栏被页面滚动区域裁掉 */
  .arco-modal.notice-preview-modal {
    height: calc(100dvh - 20px - env(safe-area-inset-bottom));
    max-height: none;
    display: flex;
    flex-direction: column;
  }
  .arco-modal.notice-preview-modal .arco-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    display: flex;
    padding: 10px;
  }
  .arco-modal.notice-preview-modal .notice-preview-wrap {
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .arco-modal.notice-preview-modal .notice-preview-stage {
    height: auto;
    min-height: 0;
  }
  .arco-modal.notice-preview-modal .notice-preview-toolbar {
    min-height: 34px;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@keyframes pw-toast-bounce {
  0% { transform: translateY(-12px) scale(.94); opacity: 0; }
  62% { transform: translateY(3px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}
@keyframes pw-modal-pop {
  0% { transform: scale(.92) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.arco-message {
  animation: pw-toast-bounce .42s cubic-bezier(.22, 1.18, .36, 1);
}
.arco-message-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgb(23 26 43 / 12%) !important;
}
.announcement-modal .arco-modal,
.arco-modal {
  animation: pw-modal-pop .38s cubic-bezier(.22, 1.18, .36, 1);
}
.notice-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.notice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(23 26 43 / 8%);
}

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

/* Storefront, product detail and quick checkout */
.store-shell { background: var(--paper); }
.store-shell,
.package-order-modal {
  --product-price: color-mix(in srgb, var(--accent) 76%, var(--ink));
}
.market-catalog { padding-block: 24px 32px; }
.market-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.market-heading h1 { margin: 0; font-size: 28px; font-weight: 750; }
.market-heading p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.market-request {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-ink);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.market-request:hover { border-color: var(--primary); background: var(--primary-soft); }
.market-request svg { width: 16px; height: 16px; }
.market-games {
  display: flex;
  gap: 8px;
  padding: 2px 2px 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
.market-games button {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 46px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.market-games button:is(:hover,[aria-pressed="true"]) { color: var(--primary-ink); border-color: var(--primary-ink); }
.market-games button[aria-pressed="true"] { background: var(--primary-soft); box-shadow: 0 0 0 2px var(--primary-soft); }
.market-games :is(img,svg) { width: 23px; height: 23px; object-fit: contain; flex: none; }
.market-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 2px; padding-block: 6px 10px; border-bottom: 1px solid var(--line); }
.market-platforms { display: inline-flex; gap: 3px; padding: 3px; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.market-platforms.has-both-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.market-platforms button {
  display: flex;
  min-height: 40px;
  min-width: 88px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.market-platforms button svg { width: 17px; height: 17px; flex: none; }
.market-platforms button[aria-pressed="true"] { border-color: var(--primary-soft-2); background: var(--primary-soft); color: var(--primary-ink); font-weight: 700; }
.market-platforms button:not([aria-pressed="true"]):hover { color: var(--primary-ink); background: var(--surface); }
.market-categories { display: flex; flex-wrap: wrap; gap: 4px 5px; }
.market-categories button { min-height: 38px; padding: 6px 12px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.market-categories button:hover { color: var(--primary-ink); }
.market-categories button[aria-pressed="true"] { color: var(--primary-ink); background: var(--primary-soft); font-weight: 700; }
.market-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.market-product {
  --market-card-padding-inline: 14px;
  --market-card-padding-block: 13px;
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: 140px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: border-color .16s, box-shadow .16s;
}
.market-product:focus-within, .market-product:hover { border-color: var(--primary-soft-2); box-shadow: var(--shadow-2); }
.market-product-link { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; align-content: start; text-decoration: none; }
.market-product-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 7px 7px 0 0;
  background: var(--paper);
}
.market-product-link > div { min-width: 0; padding: var(--market-card-padding-block) var(--market-card-padding-inline) 0; }
.market-product-category { color: var(--primary-ink); font-size: 11px; font-weight: 650; }
.market-product-link h2 { margin: 3px 0; color: var(--ink); font-size: 17px; line-height: 1.42; overflow-wrap: anywhere; }
.market-product-link:hover h2 { color: var(--primary-ink); }
.market-product-summary {
  display: -webkit-box;
  margin: 4px 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.market-product-limit { color: var(--muted); font-size: 11px; }
.market-product-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; min-width: 0; margin: 0 var(--market-card-padding-inline) var(--market-card-padding-block); padding-top: 8px; border-top: 1px solid var(--line-2); }
.market-price { display: inline-flex; align-items: baseline; gap: 3px; color: var(--product-price); font-variant-numeric: tabular-nums; white-space: nowrap; }
.market-price strong { font-size: 20px; line-height: 1.2; }
.market-price small { font-size: 11px; }
.market-product-action button,
.product-purchase > button,
.package-order-footer button,
.package-order-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: none;
  min-height: 39px;
  padding: 7px 13px;
  border: 0;
  border-radius: 7px;
  background: var(--primary-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.market-product-action button svg { width: 13px; height: 13px; }
.market-product-action button:hover,
.product-purchase > button:hover,
.package-order-footer button:hover,
.package-order-dismiss:hover { background: var(--primary-hover); }
.market-product-action button:disabled,
.product-purchase > button:disabled,
.package-order-footer button:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.market-empty { padding: 28px 0; color: var(--muted); }
.market-empty a { margin-left: 8px; color: var(--primary-ink); }
.market-promotion { width: 100%; margin: 0 0 14px; }

.product-detail-page { padding: 22px 0 40px; background: var(--paper); }
.product-detail-wrap { max-width: 1040px; }
.product-heading { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--surface); box-shadow: var(--shadow-1); }
.product-heading-tools { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px 0; }
.product-heading.has-image .product-heading-tools { position: absolute; top: 10px; right: 10px; left: 10px; padding: 0; pointer-events: none; }
.product-heading-tools button {
  display: grid;
  place-items: center;
  pointer-events: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 96%);
  color: var(--ink);
  cursor: pointer;
}
.product-heading-tools button[aria-pressed="true"] { color: var(--product-price); border-color: var(--accent-soft); background: var(--accent-soft); }
.product-heading-tools button svg { width: 17px; height: 17px; }
.product-picture { border-bottom: 1px solid var(--line); border-radius: var(--radius-xs) var(--radius-xs) 0 0; background: var(--surface-2); }
.product-picture-open { display: block; width: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: zoom-in; }
.product-picture img { display: block; width: 100%; max-height: min(54dvh,540px); min-height: 100px; object-fit: contain; border-radius: inherit; }
.product-heading-copy { padding: 14px 16px 18px; min-width: 0; }
.product-heading-copy > p { margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.product-heading-copy > p span { padding-inline: 4px; }
.product-heading-copy h1 { margin: 0; font-size: 30px; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.product-heading-copy ul { display: flex; flex-wrap: wrap; gap: 5px 15px; margin: 9px 0 0; padding: 0; color: var(--muted); font-size: 12px; list-style: none; }
.product-detail-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(224px,290px); align-items: start; gap: 28px; margin-top: 20px; }
.product-detail-content { min-width: 0; }
.product-detail-section { padding: 4px 0 20px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.product-detail-section h2 { margin: 0 0 11px; color: var(--ink); font-size: 18px; }
.product-service-description { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.product-service-description h2 { margin: 0 0 7px; color: var(--ink); font-size: 15px; }
.product-service-description .package-article { color: var(--ink-2); line-height: 1.75; overflow-wrap: anywhere; }
.product-service-description .package-article > :first-child { margin-top: 0; }
.product-service-description .package-article > :last-child { margin-bottom: 0; }
.product-detail-section p, .product-detail-section .order-notice-html { color: var(--ink-2); line-height: 1.75; }
.product-package-details {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.product-package-details > h2 { padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.product-package-details .package-article { font-size: 14px; overflow-x: auto; }
.product-package-details .package-article :is(h1, h2, h3) { margin: 16px 0 6px; font-size: 15px; }
.product-package-details .package-article > :first-child { margin-top: 0; }
.product-package-details .package-article > :last-child { margin-bottom: 0; }
.product-package-details .package-article table { border-collapse: collapse; }
.product-package-details .package-article :is(th, td) { padding: 6px 8px; border: 1px solid var(--line); }
.product-detail-empty { margin: 0; color: var(--muted) !important; font-size: 13px; }
.product-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.product-section-heading button { padding: 0; border: 0; background: none; color: var(--primary-ink); font-size: 12px; cursor: pointer; }
.product-purchase { position: sticky; top: calc(var(--topbar-h) + 16px); display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-1); }
.product-purchase-price { min-width: 0; }
.product-purchase-price > span { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.product-purchase-price > div { color: var(--product-price); white-space: nowrap; }
.product-purchase-price strong { font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.25; }
.product-purchase-price small { font-size: 12px; }
.product-purchase > button { min-height: 44px; font-size: 14px; }

.arco-modal.package-order-modal { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); overflow: hidden; border-radius: var(--radius); }
.package-order-modal .arco-modal-header { flex: 0 0 auto; height: auto; min-height: 48px; padding: 12px 18px; border-bottom-color: var(--line); }
.package-order-modal .arco-modal-title { text-align: left; font-size: 15px; font-weight: 700; }
.package-order-modal .arco-modal-body { flex: 1 1 auto; min-height: 0; max-height: none; padding: 14px 18px 18px; overflow: auto; overscroll-behavior: contain; }
.package-order-modal .arco-modal-footer { display: block; flex: 0 0 auto; padding: 11px 18px calc(11px + env(safe-area-inset-bottom)); border-color: var(--line); background: #fff; }
.package-order-modal .arco-modal-footer:empty { display: none; }
.package-order-status { padding: 13px 0; color: var(--muted); }
.package-order-flow { display: grid; gap: 14px; min-width: 0; }
.package-order-product h2 { margin: 0 0 3px; color: var(--ink); font-size: 21px; line-height: 1.4; overflow-wrap: anywhere; }
.package-order-product p, .package-order-product small { margin: 0; color: var(--muted); font-size: 12px; }
.package-order-product small { color: var(--product-price); }
.package-order-variants h3 { margin: 0 0 7px; color: var(--ink); font-size: 14px; }
.package-order-variants .package-variant-list { margin-top: 0; gap: 9px; }
.package-order-variants .package-variant-group { gap: 4px; }
.package-order-variants .package-variant { min-height: 39px; padding-block: 6px; }
.package-order-variants .package-variant strong { color: var(--product-price); }
.package-order-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 8px;
  border-block: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.order-quantity {
  display: inline-grid;
  grid-template-columns: 40px minmax(54px, auto) 40px;
  align-items: center;
  justify-self: start;
  width: max-content;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.order-quantity button {
  display: grid;
  min-height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.order-quantity button svg { width: 17px; height: 17px; }
.order-quantity button:hover:not(:disabled) { color: var(--primary-ink); background: var(--primary-soft); }
.order-quantity button:disabled { color: var(--muted); opacity: .5; cursor: default; }
.order-quantity output { padding-inline: 5px; text-align: center; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.package-order-form { display: grid; gap: 12px; }
.package-order-contact, .package-order-extra-fields { display: grid; gap: 10px; min-width: 0; }
.package-order-contact { grid-template-columns: repeat(2,minmax(0,1fr)); }
.package-order-contact label { display: grid; gap: 4px; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 650; }
:is(.package-order-contact input,.package-order-extra-fields > input,.package-order-extra-fields > textarea) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 41px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 400;
}
.package-order-form textarea { resize: vertical; }
:is(.package-order-contact input,.package-order-extra-fields > input,.package-order-extra-fields > textarea):focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.package-order-extra { border-top: 1px solid var(--line); }
.package-order-extra h3 { margin: 9px 0 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.package-order-extra-fields { margin-top: 8px; }
.package-order-schedule { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.package-order-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; }
.package-order-footer > div { min-width: 0; }
.package-order-footer > div > span { display: block; color: var(--muted); font-size: 11px; }
.package-order-footer strong { color: var(--product-price); font-size: 23px; font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
.package-order-footer small { font-size: 11px; }
.package-order-footer button { min-height: 42px; min-width: 112px; font-size: 14px; }
.store-shell button:focus-visible, .package-order-modal button:focus-visible, .market-product-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (max-width: 950px) {
  .market-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail-columns { gap: 20px; }
}
@media (max-width: 900px) {
  .product-detail-page { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .product-detail-columns { display: block; }
  .product-purchase {
    position: fixed;
    top: auto;
    bottom: calc(9px + env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: min(calc(100% - 24px), 500px);
    margin-inline: auto;
    padding: 9px 11px;
    border-radius: 16px;
    background: rgb(255 255 255 / 94%);
    box-shadow: var(--shadow-2);
    backdrop-filter: blur(16px);
  }
  .product-purchase-price > span { font-size: 11px; }
  .product-purchase-price strong { font-size: 21px; }
  .product-purchase > button { min-width: 110px; }
}
@media (max-width: 640px) {
  .market-catalog { padding-block: 14px 22px; }
  .market-heading { margin-bottom: 10px; }
  .market-heading h1 { font-size: 23px; }
  .market-heading p { font-size: 12px; }
  .market-request { min-height: 36px; padding-inline: 9px; }
  .market-promotion { margin-bottom: 11px; }
  .market-games { gap: 6px; padding-bottom: 6px; }
  .market-games button { min-height: 38px; padding: 5px 8px; }
  .market-games :is(img,svg) { width: 18px; height: 18px; }
  .market-controls { display: grid; min-width: 0; gap: 5px; padding-block: 4px 7px; }
  .market-platforms.has-both-platforms { width: 100%; }
  .market-platforms button { min-width: 0; min-height: 42px; }
  .market-categories { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .market-categories button { flex: 0 0 auto; min-height: 34px; padding-inline: 8px; }
  .market-product-grid { gap: 8px; margin-top: 10px; }
  .market-product { --market-card-padding-inline: 10px; --market-card-padding-block: 9px; min-height: 124px; gap: 7px; }
  .market-product-link h2 { font-size: 14px; }
  .market-product-action { gap: 5px; padding-top: 6px; }
  .market-price strong { font-size: 18px; }
  .market-product-action button { min-width: 44px; min-height: 36px; padding: 4px 7px; font-size: 12px; }
  .market-product-action button svg { display: none; }
  .product-detail-page { padding-top: 13px; }
  .product-heading-copy { padding: 12px 13px 15px; }
  .product-heading-copy h1 { font-size: 24px; }
  .product-detail-columns { margin-top: 14px; }
  .product-detail-section { margin-bottom: 13px; padding-bottom: 15px; }
  .product-package-details { padding: 13px; }
  .arco-modal.package-order-modal { max-height: calc(100dvh - 20px); }
  .package-order-modal .arco-modal-header { padding-inline: 13px; }
  .package-order-modal .arco-modal-body { padding: 11px 13px 14px; }
  .package-order-modal .arco-modal-footer { padding-inline: 13px; }
  .package-order-product h2 { font-size: 18px; }
  :is(.package-order-contact input,.package-order-extra-fields > input,.package-order-extra-fields > textarea) { font-size: 16px; }
  .package-order-footer button { min-width: 104px; }
}
@media (max-width: 360px) {
  .package-order-contact { grid-template-columns: minmax(0,1fr); }
  .market-price strong { font-size: 16px; }
}
