/* 发现页 — 独立皮肤：台球台呢绿 + 灯 Gold，不依赖 platform 的 .app 侧栏 */
:root {
  --d-bg0: #0a1628;
  --d-bg1: #0c3d2e;
  --d-bg2: #064e3b;
  --d-surface: rgba(20, 45, 36, 0.72);
  --d-surface2: rgba(12, 30, 24, 0.85);
  --d-border: rgba(255, 255, 255, 0.08);
  --d-text: #f0fdf4;
  --d-muted: #92c9a8;
  --d-gold: #d4a853;
  --d-gold-dim: #a17c3a;
  --d-ink: #042f2a;
  --d-radius: 16px;
  --d-radius-sm: 12px;
  --d-glow: 0 0 40px rgba(12, 180, 100, 0.15);
  --font: "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--d-text);
  line-height: 1.5;
  background: var(--d-bg0);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, #14532d 0%, transparent 55%),
    linear-gradient(180deg, var(--d-bg0) 0%, var(--d-bg1) 45%, var(--d-bg0) 100%);
  background-attachment: fixed;
}

a {
  color: #6ee7b7;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.discover-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.disc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--d-surface2);
  border-bottom: 1px solid var(--d-border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.disc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--d-text);
  max-width: min(100%, 22rem);
}
.disc-brand:hover {
  text-decoration: none;
  filter: brightness(1.04);
}
/* 原图为黑线稿，深底上反相为浅金色系视觉 */
.disc-brand__logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.disc-brand__text {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--d-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .disc-brand__text {
    display: none;
  }
  .disc-brand__logo {
    max-width: 200px;
    height: 36px;
  }
}
.disc-topbar .nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.disc-topbar .link-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--d-border);
  color: var(--d-text);
  font-size: 0.85rem;
  transition: background 0.15s, border-color 0.15s;
}
.disc-topbar .link-pill--accent {
  background: linear-gradient(135deg, var(--d-gold), var(--d-gold-dim));
  color: var(--d-ink);
  font-weight: 600;
  border-color: transparent;
}
.disc-topbar .link-pill--accent:hover {
  filter: brightness(1.06);
  text-decoration: none;
}
.disc-topbar .link-pill--on {
  background: rgba(212, 168, 83, 0.2);
  border-color: rgba(212, 168, 83, 0.4);
  color: #fde68a;
}
.disc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.25rem;
}
.disc-hero-actions .btn-primary {
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.disc-hero-actions .btn-primary:hover {
  text-decoration: none;
}
.disc-topbar .link-pill:hover {
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.35);
  text-decoration: none;
}
.disc-topbar .link-pill--accent {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.25) 0%, rgba(4, 47, 42, 0.6) 100%);
  border-color: rgba(212, 168, 83, 0.45);
  color: #fef3c7;
}

.disc-main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 1.25rem 1rem 3rem;
}

/* Hero */
/* 首屏：直达平台助教列表，无大段文案 */
/* 顶栏一行：全部助教 / 找球厅 · 城市 · 性别 · 杆 · 排序 */
.disc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.45rem 0.55rem;
  margin-bottom: 0.35rem;
}
.disc-toolbar__tabs {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.disc-toolbar .disc-browse-tab {
  padding: 0.32rem 0.75rem;
  font-size: 0.8rem;
}
.disc-toolbar__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.4rem 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
}
.disc-toolbar__coach-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.4rem 0.55rem;
}
.disc-toolbar__coach-filters.hidden {
  display: none !important;
}
.disc-city-hint-line {
  margin: -0.12rem 0 0.38rem;
  font-size: 0.78rem;
}
.disc-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}
.disc-filter-field__label {
  font-size: 0.65rem;
  color: var(--d-muted);
  line-height: 1.15;
  margin: 0;
}
.disc-filter-field__select {
  padding: 0.28rem 0.4rem;
  border-radius: var(--d-radius-sm);
  border: 1px solid var(--d-border);
  background: rgba(0, 0, 0, 0.22);
  color: var(--d-text);
  font-family: inherit;
  font-size: 0.76rem;
  max-width: 100%;
}
.disc-filter-field__select--sort {
  min-width: min(100%, 9.75rem);
}
.disc-filter-field__select--cue {
  min-width: 5.25rem;
}
.disc-filter-field__select--gender {
  min-width: 4.35rem;
}
.disc-filter-field__select--city {
  min-width: min(100%, 10.5rem);
  max-width: 16rem;
}
.disc-browse-strip {
  border-radius: var(--d-radius);
  padding: 0.65rem 0.85rem 0.75rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--d-border);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.45) 0%, rgba(10, 22, 40, 0.75) 100%);
  box-shadow: var(--d-glow);
}
.disc-browse-tagline {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--d-text);
  letter-spacing: 0.02em;
}
.disc-city-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.55rem;
}
.disc-city-row__label {
  font-size: 0.78rem;
  color: var(--d-muted);
  white-space: nowrap;
}
.disc-city-row__select {
  flex: 1 1 12rem;
  min-width: min(100%, 14rem);
  max-width: 22rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--d-radius-sm);
  border: 1px solid var(--d-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--d-text);
  font-family: inherit;
  font-size: 0.84rem;
}
.disc-browse-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.disc-browse-tab {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--d-muted);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--d-border);
}
.disc-browse-tab:hover {
  color: var(--d-text);
  border-color: rgba(212, 168, 83, 0.35);
  text-decoration: none;
}
.disc-browse-tab--active {
  background: linear-gradient(135deg, var(--d-gold), var(--d-gold-dim));
  color: var(--d-ink);
  border-color: transparent;
}
.disc-browse-block.hidden {
  display: none !important;
}

.disc-hero {
  position: relative;
  border-radius: var(--d-radius);
  padding: 1.75rem 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--d-border);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.55) 0%, rgba(10, 22, 40, 0.8) 100%);
  box-shadow: var(--d-glow);
}
.disc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23fff' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}
.disc-hero-inner {
  position: relative;
  z-index: 1;
}
.disc-hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #ecfdf5 0%, #d4a853 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.disc-hero .lede {
  color: var(--d-muted);
  font-size: 0.9rem;
  max-width: 40rem;
  margin: 0 0 1rem;
}
.disc-hero .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--d-muted);
}
.disc-hero .stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

/* API 联调条显隐由 css/h5-modes.css 的 .h5-dev-only 控制 */

/* API 条 */
.api-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--d-surface);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius-sm);
}
.api-panel label {
  display: block;
  font-size: 0.72rem;
  color: var(--d-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.api-panel input[type="url"] {
  min-width: 12rem;
  max-width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--d-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--d-text);
  font-size: 0.9rem;
}
.api-panel .btn-ghost,
.api-panel .btn-primary,
.disc-main .btn-primary,
.disc-main .btn-ghost {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.api-panel .btn-ghost,
.disc-main .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--d-text);
  border-color: var(--d-border);
}
.api-panel .btn-primary,
.disc-main .btn-primary {
  background: linear-gradient(135deg, #d4a853, #9a7328);
  color: var(--d-ink);
  border: none;
  font-weight: 600;
}
.api-panel .btn-ghost:hover,
.disc-main .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.api-panel .btn-primary:hover,
.disc-main .btn-primary:hover {
  filter: brightness(1.05);
}

/* Section */
.disc-section {
  margin-bottom: 1.75rem;
}
.disc-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.disc-section__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #ecfdf5;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.disc-section__title .ic {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.chip {
  border: 1px solid var(--d-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--d-muted);
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.12s;
}
.chip:hover,
.chip.active {
  border-color: rgba(212, 168, 83, 0.5);
  color: #fef3c7;
  background: rgba(212, 168, 83, 0.1);
}

/* Search */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  margin-bottom: 0.6rem;
  align-items: flex-end;
}
.search-bar input[type="text"] {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--d-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--d-text);
  min-width: 8rem;
}

/* Grid + cards */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
}

.d-card {
  text-align: left;
  width: 100%;
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius-sm);
  color: var(--d-text);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  overflow: hidden;
  position: relative;
  background: var(--d-surface);
  padding: 0;
}
.d-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(110, 231, 183, 0.35);
}
.d-card__body {
  padding: 0.9rem 1rem 1rem;
}
.d-card--platform .d-card__body {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
/* 头像列：圆形头像 + 其下方认证徽标 */
.d-card__avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0.38rem;
  min-width: 52px;
  max-width: 5.75rem;
}
.d-coach-verify-badges--under-avatar {
  margin-left: 0 !important;
  justify-content: center;
  width: 100%;
}
.d-card--bound-coach {
  border-color: rgba(52, 211, 153, 0.28);
}
.d-card--bound-coach:hover {
  border-color: rgba(110, 231, 183, 0.45);
}
.d-card--coach-browse {
  cursor: pointer;
}
.d-card--coach-browse:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(110, 231, 183, 0.35);
}
button.d-card-avatar--hit {
  font: inherit;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.d-card-avatar--hit:focus-visible {
  outline: 2px solid rgba(212, 168, 83, 0.85);
  outline-offset: 2px;
}
.d-card-avatar--hit:hover {
  border-color: rgba(212, 168, 83, 0.65);
  box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.25);
}
.d-card-hallname {
  font-size: 0.72rem !important;
  color: #6ee7b7 !important;
  margin-top: 0.25rem !important;
  -webkit-line-clamp: 1 !important;
}
.d-card-avatar,
.d-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(145deg, #14532d, #064e3b);
  border: 2px solid rgba(212, 168, 83, 0.35);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #d4a853;
}
.d-card-avatar img,
.d-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.d-card h3,
.d-card__body h3 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #ecfdf5;
}
.d-card p,
.d-card__body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--d-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.d-card--hall .d-card-bgi {
  height: 100px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.d-card--hall .d-card-bgi::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--d-surface2) 0%, transparent 100%);
  opacity: 0.95;
}
.d-card--hall .d-card__body {
  position: relative;
  margin-top: -2.2rem;
  z-index: 1;
  padding-top: 0.25rem;
}
.pill,
.d-pill {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--d-muted);
  border: 1px solid var(--d-border);
  margin-bottom: 0.4rem;
}
.pill.platform,
.d-pill--platform {
  background: rgba(91, 33, 182, 0.25);
  color: #e9d5ff;
  border-color: rgba(139, 92, 246, 0.4);
}
.d-pill--local {
  color: #a7f3d0;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(6, 78, 59, 0.5);
}
/* 核验类标识：VIP 金盾（验证助教）+ 红印金星（国字头），图标见 img/badges/*.svg */
.d-coach-verify-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.32rem;
  margin-left: 0.15rem;
  vertical-align: middle;
}
.profile-verify-row {
  margin: 0 0 0.55rem;
}
.profile-verify-row .d-coach-verify-badges {
  margin-left: 0;
}
.d-cert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.42rem;
  height: 1.42rem;
  vertical-align: middle;
  flex-shrink: 0;
}
.d-cert-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.d-cert-icon--verify {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}
.d-cert-icon--national {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.profile-verify-row .d-cert-icon {
  width: 1.68rem;
  height: 1.68rem;
}
.d-price-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4a853;
  margin-top: 0.35rem;
}
.d-empty {
  padding: 1.2rem 1rem;
  text-align: center;
  color: var(--d-muted);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--d-border);
  border-radius: var(--d-radius-sm);
}

/* Profile、价格 */
.muted {
  color: var(--d-muted) !important;
  font-size: 0.85rem;
}
.view-section h1 {
  font-size: 1.35rem;
  margin: 0.4rem 0 0.6rem;
}
.subtitle {
  color: var(--d-muted);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}
.order-header {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.order-header__avatar-btn {
  flex-shrink: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  line-height: 0;
}
.order-header__avatar-btn:focus-visible {
  outline: 2px solid rgba(212, 168, 83, 0.75);
  outline-offset: 3px;
}
.order-header__avatar-btn > img,
.order-header__avatar-btn > .d-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 168, 83, 0.45);
  display: block;
}
.order-header__avatar-btn > .d-avatar {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-header__hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--d-muted);
}
.profile-hero {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.profile-hero .d-avatar {
  width: 96px;
  height: 96px;
  font-size: 1.5rem;
}
/* 仅头像：勿用 .profile-hero img，否则会选中详情里认证徽标的 <img>，被拉成 96px 圆挡住正文 */
.profile-hero > img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 168, 83, 0.4);
}
.profile-video-wrap {
  margin: 0 0 1rem;
  max-width: min(100%, 520px);
}
.profile-video {
  width: 100%;
  max-height: 280px;
  border-radius: var(--d-radius-sm);
  background: #0f172a;
}
.profile-video-wrap--iframe {
  position: relative;
  width: 100%;
  max-width: min(100%, 720px);
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--d-radius-sm);
  background: #0f172a;
}
.profile-bilibili-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.profile-showcase-block {
  margin-bottom: 1rem;
}
.profile-showcase {
  margin-bottom: 1rem;
}
.profile-showcase-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.profile-showcase-scroll img {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--d-radius-sm);
  border: 1px solid var(--d-border);
}
.card {
  background: var(--d-surface);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  color: var(--d-text);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--d-border);
  font-size: 0.9rem;
}
.price-row label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: var(--d-muted);
}
.error-banner,
.success-banner {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
}
.error-banner {
  background: rgba(127, 29, 29, 0.4);
  border: 1px solid rgba(252, 165, 165, 0.3);
  color: #fecaca;
}
.success-banner {
  background: rgba(6, 78, 59, 0.5);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #d1fae5;
}
.hidden {
  display: none !important;
}
.disc-back {
  display: inline-block;
  font-size: 0.9rem;
  color: #6ee7b7;
  margin-bottom: 0.4rem;
}

.my-orders-card {
  padding: 1.25rem;
  margin: 0.5rem 0;
  max-width: 28rem;
}

/* 个人中心 / 赛事中心 — 表单控件 */
.disc-form .field,
.cmp-shell .field,
#view-my-orders .my-orders-field,
#view-coach-order .my-orders-field {
  margin-bottom: 0.85rem;
}
.disc-form .field:last-child,
.cmp-shell .field:last-child {
  margin-bottom: 0;
}
.disc-form .field label,
.cmp-shell .field label,
#view-my-orders .my-orders-field label,
#view-coach-order .my-orders-field label {
  display: block;
  margin-bottom: 0.38rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--d-muted);
}
.disc-form .field-hint,
.cmp-shell .field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.76rem;
  color: var(--d-muted);
  line-height: 1.45;
  opacity: 0.92;
}
.disc-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 0.75rem;
}
@media (min-width: 480px) {
  .disc-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .disc-form-row--thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .disc-form-row--thirds {
    grid-template-columns: 1fr;
  }
}
.disc-control,
.disc-form input:not([type="checkbox"]):not([type="radio"]),
.disc-form select,
.disc-form textarea,
.cmp-shell input:not([type="checkbox"]):not([type="radio"]),
.cmp-shell select,
.cmp-shell textarea,
#view-my-orders .my-orders-field input,
#view-coach-order .my-orders-field input,
#view-coach-order .my-orders-field select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0.68rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: var(--d-text);
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.35;
  color-scheme: dark;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.disc-form select,
.cmp-shell select {
  padding-right: 2.2rem;
  background-color: rgba(0, 0, 0, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2392c9a8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  cursor: pointer;
}
.disc-form select option,
.cmp-shell select option {
  background: #0a1628;
  color: var(--d-text);
}
.disc-form input:-webkit-autofill,
.disc-form input:-webkit-autofill:hover,
.disc-form input:-webkit-autofill:focus,
.cmp-shell input:-webkit-autofill,
.cmp-shell input:-webkit-autofill:hover,
.cmp-shell input:-webkit-autofill:focus,
#view-my-orders .my-orders-field input:-webkit-autofill,
#view-coach-order .my-orders-field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(10, 22, 40, 0.96) inset;
  -webkit-text-fill-color: var(--d-text);
  caret-color: var(--d-text);
  transition: background-color 9999s ease-out 0s;
}
.disc-form input::placeholder,
.cmp-shell input::placeholder,
#view-my-orders .my-orders-field input::placeholder,
#view-coach-order .my-orders-field input::placeholder {
  color: rgba(146, 201, 168, 0.45);
}
.disc-form input:hover:not(:disabled):not([readonly]),
.disc-form select:hover:not(:disabled),
.cmp-shell input:hover:not(:disabled):not([readonly]),
.cmp-shell select:hover:not(:disabled),
#view-my-orders .my-orders-field input:hover:not(:disabled),
#view-coach-order .my-orders-field input:hover:not(:disabled) {
  border-color: rgba(212, 168, 83, 0.28);
  background: rgba(0, 0, 0, 0.34);
}
.disc-form input:focus,
.disc-form select:focus,
.disc-form textarea:focus,
.cmp-shell input:focus:not([type="checkbox"]),
.cmp-shell select:focus,
.cmp-shell textarea:focus,
#view-my-orders .my-orders-field input:focus,
#view-coach-order .my-orders-field input:focus {
  outline: none;
  border-color: rgba(212, 168, 83, 0.62);
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.14);
}
.disc-form input[readonly],
.cmp-shell input[readonly] {
  opacity: 0.72;
  cursor: default;
  background: rgba(255, 255, 255, 0.04);
  border-style: dashed;
}
.disc-form input:disabled,
.cmp-shell input:disabled,
.disc-form select:disabled,
.cmp-shell select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.disc-form .field--highlight input,
.cmp-shell .field--highlight input {
  border-color: rgba(212, 168, 83, 0.35);
  background: rgba(212, 168, 83, 0.08);
  font-weight: 600;
}
.disc-form input[type="number"],
.cmp-shell input[type="number"] {
  -moz-appearance: textfield;
}
.disc-form input[type="number"]::-webkit-outer-spin-button,
.disc-form input[type="number"]::-webkit-inner-spin-button,
.cmp-shell input[type="number"]::-webkit-outer-spin-button,
.cmp-shell input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.disc-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.disc-input-group input {
  flex: 1;
  min-width: 0;
}
.disc-input-group__btn {
  flex-shrink: 0;
  align-self: stretch;
  white-space: nowrap;
  border-color: rgba(212, 168, 83, 0.35) !important;
  color: var(--d-gold) !important;
  font-size: 0.82rem !important;
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
}
.disc-check-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.65rem 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 0.9rem;
  user-select: none;
}
.disc-check-field input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--d-gold);
  flex-shrink: 0;
}
.disc-check-field span {
  line-height: 1.35;
}

.my-orders-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--d-muted);
  margin-bottom: 0.38rem;
}
.my-orders-field input {
  width: 100%;
  max-width: 100%;
}
.my-orders-actions {
  margin: 0.5rem 0 0.75rem;
}
.my-orders-logged-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.my-orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.my-order-row {
  padding: 0.85rem 1rem;
  border-radius: var(--d-radius-sm);
  border: 1px solid var(--d-border);
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.88rem;
}
.my-order-row strong {
  color: var(--d-gold);
}

.order-rule-box {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--d-radius-sm);
  border: 1px solid var(--d-border);
  background: rgba(0, 0, 0, 0.18);
  color: var(--d-muted);
  font-size: 0.8rem;
}
.order-rule-box li + li {
  margin-top: 0.2rem;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.65);
}
.confirm-modal__panel {
  position: relative;
  width: min(31rem, 100%);
  border-radius: var(--d-radius);
  border: 1px solid var(--d-border);
  background: var(--d-surface2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 1rem;
}
.confirm-modal__panel textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 5.5rem;
  resize: vertical;
  padding: 0.5rem 0.55rem;
  border-radius: var(--d-radius-sm);
  border: 1px solid var(--d-border);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
  font-size: 0.9rem;
}
.confirm-modal__panel h2 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}
.confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--d-border);
  font-size: 0.9rem;
}
.confirm-row strong {
  color: #fef3c7;
  text-align: right;
}
.confirm-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* 助教状态：发现页绿/红/黄豆 */
.d-coach-status {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
}
.d-coach-status--online {
  background: #22c55e;
}
.d-coach-status--working {
  background: #ef4444;
}
.d-coach-status--resting {
  background: #eab308;
}
.d-coach-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.d-coach-status-text {
  font-size: 0.72rem;
  color: var(--d-muted);
}
.d-coach-status-row {
  margin-bottom: 0.35rem;
}
.d-coach-status-legend .d-coach-status {
  vertical-align: middle;
}

/* 首页：品牌轮播 + 助教横滑 */
.disc-hero-section {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.disc-hero-head {
  margin-bottom: 0.5rem;
}
.disc-hero-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--d-gold);
  letter-spacing: 0.02em;
}
.disc-hero-sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--d-muted);
}
.amb-carousel-wrap {
  background: var(--d-surface);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 0.85rem 1rem 1rem;
  box-shadow: var(--d-glow);
}
.amb-carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0 0.25rem 0.25rem;
}
.amb-carousel-track {
  display: flex;
  gap: 0.75rem;
  min-height: 9.5rem;
}
.amb-carousel-slide {
  flex: 0 0 min(86vw, 20rem);
  scroll-snap-align: start;
  position: relative;
  width: min(86vw, 20rem);
  border: none;
  border-radius: var(--d-radius-sm);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #064e3b;
  text-align: left;
  color: var(--d-text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.amb-carousel-slide__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.amb-carousel-slide__cap {
  display: block;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(4, 47, 42, 0.92));
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.disc-coach-scroll-block {
  background: rgba(12, 30, 24, 0.55);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 0.85rem 1rem 1rem;
}
.disc-coach-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0 0.45rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.disc-scroll-coach {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 7rem;
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius-sm);
  background: var(--d-surface2);
  padding: 0.55rem 0.45rem 0.5rem;
  cursor: pointer;
  color: var(--d-text);
  font-size: 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.disc-scroll-coach img {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 168, 83, 0.35);
}
.disc-scroll-coach__ph {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.35rem;
  border: 2px solid rgba(212, 168, 83, 0.35);
}

/* 球厅页 · 订台套餐 */
#hall-table-booking-wrap:not(.hall-table-booking--visible) {
  display: none;
}
.hall-table-booking-card {
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}
.d-table-pkg-list .d-table-pkg-option {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.4rem 0;
  cursor: pointer;
  font-size: 0.92rem;
}
.d-table-pkg-option input {
  margin-top: 0.22rem;
}

/* 全部助教页 · 助教榜 */
.disc-ladder-section {
  max-width: 52rem;
  margin: 0 auto;
}
.disc-ladder-hint {
  line-height: 1.45;
}
.ladder-hero--inline {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
}
.ladder-hero--inline .ladder-hero__title {
  font-size: 1rem;
}
.ladder-hero--inline .ladder-hero__sub {
  font-size: 0.8rem;
}

/* 活力传奇助教排位赛 / 排行榜 */
.disc-rank-section {
  max-width: 52rem;
  margin: 0 auto;
}
.disc-rank-intro a {
  color: var(--d-gold);
  font-weight: 600;
}
.disc-halls-list {
  max-width: 52rem;
  margin: 0 auto;
}
.disc-rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.disc-rank-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--d-muted);
  border: 1px solid var(--d-border);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.disc-rank-tab:hover {
  color: var(--d-text);
  border-color: rgba(212, 168, 83, 0.45);
}
.disc-rank-tab--active {
  color: #1a1208;
  background: linear-gradient(135deg, var(--d-gold) 0%, #e8c878 100%);
  border-color: transparent;
}
.disc-rank-city-line {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(12, 61, 46, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.disc-rank-scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: 52rem;
  margin: 0 auto 0.75rem;
}
@media (min-width: 520px) {
  .disc-rank-scope-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.disc-rank-scope-card {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(212, 168, 83, 0.28);
  background: linear-gradient(145deg, rgba(12, 61, 46, 0.55), rgba(10, 22, 40, 0.82));
  border-radius: var(--d-radius);
  padding: 0.85rem 1rem;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.disc-rank-scope-card:hover:not(:disabled) {
  border-color: rgba(212, 168, 83, 0.55);
  transform: translateY(-1px);
}
.disc-rank-scope-card:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.disc-rank-scope-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--d-gold);
  margin-bottom: 0.35rem;
}
.disc-rank-target-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  max-width: 52rem;
  margin: 0 auto;
}
@media (min-width: 520px) {
  .disc-rank-target-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.disc-rank-target-card {
  min-height: 4.25rem;
}
.disc-rank-scope-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.disc-rank-scope-card__sub {
  margin: 0;
  font-size: 0.78rem;
  color: var(--d-muted);
  line-height: 1.4;
}
.ladder-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: var(--d-radius);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.18) 0%, rgba(12, 61, 46, 0.85) 55%, rgba(10, 22, 40, 0.9) 100%);
  border: 1px solid rgba(212, 168, 83, 0.35);
  box-shadow: var(--d-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ladder-hero__badge {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--d-gold) 0%, var(--d-gold-dim) 100%);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.45);
}
.ladder-hero__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fef9c3;
}
.ladder-hero__sub {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--d-muted);
}
.ladder-board {
  min-height: 4rem;
}
.ladder-podium {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1.1rem;
  padding: 0 0.15rem;
}
.ladder-podium--few {
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.ladder-podium__slot {
  min-width: 0;
}
.ladder-podium__slot--1 {
  order: 2;
  transform: translateY(-0.3rem);
}
.ladder-podium__slot--2 {
  order: 1;
}
.ladder-podium__slot--3 {
  order: 3;
}
.ladder-podium--few .ladder-podium__slot--1 {
  transform: none;
}
.ladder-card {
  height: 100%;
}
.ladder-card:focus-visible {
  outline: 2px solid rgba(212, 168, 83, 0.85);
  outline-offset: 2px;
}
.ladder-card__rank,
.ladder-card__medal {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--d-gold);
  margin-bottom: 0.3rem;
  text-align: center;
}
.ladder-card__medal {
  font-size: 1.35rem;
  line-height: 1.1;
}
.ladder-card__main h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1rem;
}
.ladder-card__meta {
  margin: 0 0 0.35rem;
}
.ladder-card__pts {
  margin: 0;
  font-size: 0.92rem;
  color: var(--d-gold);
}
.ladder-card__pts strong {
  font-size: 1.05rem;
}
.ladder-card__hint {
  margin: 0.35rem 0 0 !important;
  font-size: 0.68rem !important;
}

/* 发现页 · 分档约打入口 */
.disc-match-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--d-radius);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.18) 0%, rgba(12, 78, 59, 0.55) 100%);
  border: 1px solid rgba(212, 168, 83, 0.35);
  text-decoration: none;
  color: var(--d-text);
  box-shadow: var(--d-glow);
}
.disc-match-banner:hover {
  text-decoration: none;
  border-color: rgba(212, 168, 83, 0.55);
}
.disc-match-banner__badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: var(--d-gold);
  color: var(--d-ink);
}
.disc-match-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.disc-match-banner__text strong {
  font-size: 1rem;
  color: var(--d-gold);
}
.disc-match-banner__text small {
  font-size: 0.78rem;
  color: var(--d-muted);
}
.disc-match-banner__cta {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--d-gold);
}
.ladder-card--podium .d-card__body {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ladder-card--podium .d-card-avatar {
  width: 64px;
  height: 64px;
  font-size: 1.35rem;
}
.ladder-card--podium.ladder-card {
  border-color: rgba(212, 168, 83, 0.35);
}
.ladder-podium__slot--1 .ladder-card--podium {
  border-color: rgba(212, 168, 83, 0.55);
  background: linear-gradient(180deg, rgba(212, 168, 83, 0.14) 0%, var(--d-surface) 100%);
}
.ladder-list-wrap {
  margin-top: 0.25rem;
}
.ladder-foot {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--d-muted);
}
.ladder-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--d-muted);
  font-size: 0.88rem;
  border-radius: var(--d-radius-sm);
  background: var(--d-surface);
  border: 1px dashed var(--d-border);
}

/* 个人中心 */
.disc-mine-header {
  margin-bottom: 1rem;
}
.disc-mine-title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.disc-mine-sub {
  margin: 0;
  font-size: 0.86rem;
  color: var(--d-muted);
}
.disc-mine-user {
  padding: 1rem 1.05rem;
  margin-bottom: 1.15rem;
  font-size: 0.9rem;
  border-radius: var(--d-radius);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.55) 0%, rgba(10, 22, 40, 0.82) 100%);
  border: 1px solid rgba(212, 168, 83, 0.22);
  box-shadow: var(--d-glow);
}
.disc-mine-user__row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.disc-mine-user__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 168, 83, 0.45);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.disc-mine-user__avatar--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--d-gold, #d4a853);
}
.disc-mine-user__main {
  flex: 1;
  min-width: 0;
}
.disc-mine-user__name {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}
.disc-mine-user__meta {
  margin: 0.28rem 0 0;
  font-size: 0.78rem;
  color: var(--d-muted);
  line-height: 1.4;
}
.disc-mine-user__warn {
  margin: 0.4rem 0 0;
  padding: 0.35rem 0.55rem;
  font-size: 0.76rem;
  color: #fde68a;
  line-height: 1.35;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.disc-mine-user__edit {
  flex-shrink: 0;
  align-self: center;
  border-color: rgba(212, 168, 83, 0.45) !important;
  color: var(--d-gold) !important;
}
.disc-mine-user__links {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.disc-mine-nav {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.disc-mine-section__title {
  margin: 0 0 0.5rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-muted);
  opacity: 0.85;
}
.disc-mine-list {
  overflow: hidden;
  padding: 0 !important;
  border-radius: var(--d-radius) !important;
}
.disc-mine-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  color: var(--d-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}
.disc-mine-item:last-child {
  border-bottom: none;
}
.disc-mine-item:hover,
.disc-mine-item:focus-visible {
  text-decoration: none;
  background: rgba(212, 168, 83, 0.07);
  color: var(--d-text);
  outline: none;
}
.disc-mine-item:active {
  background: rgba(212, 168, 83, 0.12);
}
.disc-mine-item--attention {
  background: rgba(251, 191, 36, 0.06);
}
.disc-mine-item--attention .disc-mine-item__desc {
  color: #fde68a;
}
.disc-mine-item--attention .disc-mine-item__icon--profile {
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35);
}
.disc-mine-item__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.disc-mine-item__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.disc-mine-item__icon--profile {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.28), rgba(59, 130, 246, 0.12));
  color: #93c5fd;
}
.disc-mine-item__icon--wallet {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.28), rgba(217, 119, 6, 0.12));
  color: #fcd34d;
}
.disc-mine-item__icon--match {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.28), rgba(220, 38, 38, 0.12));
  color: #fca5a5;
}
.disc-mine-item__icon--assist {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.28), rgba(5, 150, 105, 0.12));
  color: #6ee7b7;
}
.disc-mine-item__icon--order {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.28), rgba(109, 40, 217, 0.12));
  color: #c4b5fd;
}
.disc-mine-item__icon--guide {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.28), rgba(71, 85, 105, 0.12));
  color: #cbd5e1;
}
.disc-mine-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.disc-mine-item__title {
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.25;
}
.disc-mine-item__desc {
  font-size: 0.74rem;
  color: var(--d-muted);
  line-height: 1.35;
}
.disc-mine-item__arrow {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  color: rgba(146, 201, 168, 0.55);
  opacity: 0.9;
}
.disc-mine-item__arrow svg {
  width: 100%;
  height: 100%;
}
.disc-mine-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  margin-bottom: 0.55rem;
  color: var(--d-text);
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--d-radius) !important;
  background: linear-gradient(120deg, rgba(212, 168, 83, 0.18) 0%, rgba(6, 78, 59, 0.45) 55%, rgba(10, 22, 40, 0.85) 100%);
  border: 1px solid rgba(212, 168, 83, 0.32) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.disc-mine-feature:hover,
.disc-mine-feature:focus-visible {
  text-decoration: none;
  color: var(--d-text);
  transform: translateY(-1px);
  border-color: rgba(212, 168, 83, 0.5) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 0 24px rgba(212, 168, 83, 0.12);
  outline: none;
}
.disc-mine-feature:active {
  transform: translateY(0);
}
.disc-mine-feature__glow {
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.disc-mine-feature__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--d-gold), var(--d-gold-dim));
  color: var(--d-ink);
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.35);
}
.disc-mine-feature__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.disc-mine-feature__body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.disc-mine-feature__title {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.disc-mine-feature__desc {
  font-size: 0.76rem;
  color: rgba(240, 253, 244, 0.78);
}
.disc-mine-feature__cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--d-gold);
}

/* 底部 Tab */
.disc-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  justify-content: space-around;
  padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom, 0));
  background: var(--d-surface2);
  border-top: 1px solid var(--d-border);
  backdrop-filter: blur(12px);
}
.disc-tabbar__item {
  flex: 1;
  max-width: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.5rem;
  color: var(--d-muted);
  text-decoration: none;
  font-size: 0.72rem;
  border-radius: 8px;
}
.disc-tabbar__item:hover {
  text-decoration: none;
  color: var(--d-text);
}
.disc-tabbar__item--active {
  color: var(--d-gold);
}
.disc-tabbar__item--active .disc-tabbar__icon {
  transform: scale(1.08);
}
.disc-tabbar__icon {
  font-size: 1.25rem;
  line-height: 1;
}
.discover-shell {
  padding-bottom: env(safe-area-inset-bottom, 0);
}
#nav-mine.link-pill--on {
  border-color: var(--d-gold);
  color: var(--d-gold);
}

/* footer */
.disc-foot {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--d-muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--d-border);
  margin-top: 2rem;
  opacity: 0.8;
}
