/* 陪玩服务橱窗：个人服务发布与游戏页陪玩展示 */
.profile-services-view,
.companion-service-modal,
.companion-service-showcase {
  --cs-violet: #8b5cf6;
  --cs-indigo: #6366f1;
  --cs-cyan: #22d3ee;
  --cs-gold: #fbbf24;
  --cs-green: #34d399;
  --cs-line: rgba(129, 140, 248, 0.28);
  --cs-line-strong: rgba(168, 85, 247, 0.58);
  --cs-card: rgba(18, 19, 43, 0.9);
  --cs-muted: #94a3b8;
}

.profile-services-view { display: grid; gap: 16px; min-width: 0; }

.profile-services-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--cs-line-strong);
  border-radius: 20px;
  padding: 26px;
  background:
    radial-gradient(circle at 88% -10%, rgba(34, 211, 238, 0.2), transparent 30%),
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(25, 25, 55, 0.98), rgba(11, 12, 27, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.profile-services-hero::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(99, 102, 241, 0.045), 0 0 0 70px rgba(34, 211, 238, 0.025);
  pointer-events: none;
}

.profile-services-hero-copy,
.profile-services-hero-actions { position: relative; z-index: 1; }

.profile-services-hero h2 {
  max-width: 760px;
  margin: 6px 0 10px;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.profile-services-hero p {
  max-width: 680px;
  margin: 0;
  color: #b8c4dc;
  font-size: 1.08rem;
  line-height: 1.75;
}

.profile-services-stats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.profile-services-stats span {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(5, 7, 17, 0.48);
  color: #cbd5e1;
  font-size: 0.92rem;
}
.profile-services-stats b { margin-right: 3px; color: var(--cs-gold); font-size: 1.15rem; }

.profile-services-hero-actions { display: flex; min-width: 190px; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; }
.profile-services-hero-actions small { max-width: 230px; color: #8290aa; font-size: 0.86rem; line-height: 1.55; text-align: right; }
.profile-service-publish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(251, 191, 36, 0.48);
  background: linear-gradient(135deg, #f59e0b, #f97316 55%, #db2777);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow: 0 13px 30px rgba(249, 115, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}
.profile-service-publish svg { width: 18px; height: 18px; }
.profile-service-publish:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 38px rgba(249, 115, 22, 0.38); }
.profile-service-publish:disabled { opacity: 0.55; cursor: not-allowed; }

.profile-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profile-services-grid.is-single { grid-template-columns: minmax(0, 780px); justify-content: center; }

.profile-service-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--cs-line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(23, 24, 51, 0.97), rgba(11, 12, 26, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.44);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.profile-service-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 25% 20%, rgba(99, 102, 241, 0.38), rgba(8, 9, 22, 0.96) 62%);
}
.profile-service-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 8, 18, 0.88));
  pointer-events: none;
}
.profile-service-card-cover > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.profile-service-card:hover .profile-service-card-cover > img { transform: scale(1.045); filter: saturate(1.08); }

.companion-service-media-fallback {
  display: grid;
  height: 100%;
  place-content: center;
  justify-items: center;
  gap: 5px;
  padding: 20px;
  color: #cbd5e1;
  text-align: center;
}
.companion-service-media-fallback b { color: rgba(255, 255, 255, 0.88); font-size: 3.78rem; line-height: 1; }
.companion-service-media-fallback small { color: #8ea0bf; font-size: 0.83rem; }

.profile-service-card-game,
.profile-service-card-live {
  position: absolute;
  z-index: 1;
  top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(4, 7, 18, 0.68);
  color: #fff;
  font-size: 0.81rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
}
.profile-service-card-game { left: 14px; }
.profile-service-card-live { right: 14px; color: #bbf7d0; }
.profile-service-card-live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--cs-green);
  box-shadow: 0 0 10px var(--cs-green);
}

.profile-service-card-body { display: grid; gap: 11px; padding: 17px; }
.profile-service-card-person { display: flex; align-items: center; gap: 11px; }
.profile-service-card-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  overflow: hidden;
  place-items: center;
  border: 2px solid rgba(34, 211, 238, 0.58);
  border-radius: 50%;
  background: linear-gradient(135deg, #312e81, #0f172a);
  color: #fff;
  font-size: 1.32rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.17);
}
.profile-service-card-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-service-card-person strong { display: block; color: #fff; font-size: 1.15rem; }
.profile-service-card-person small { display: block; margin-top: 2px; overflow: hidden; color: var(--cs-muted); font-size: 0.84rem; text-overflow: ellipsis; white-space: nowrap; }

.profile-service-card h3 { margin: 0; color: #f8faff; font-size: 1.32rem; line-height: 1.3; }
.profile-service-card-subtitle { margin: -4px 0 0; color: #b8c4dc; font-size: 0.94rem; line-height: 1.6; }
.profile-service-card-description { display: -webkit-box; margin: -1px 0 0; overflow: hidden; color: #8e9cb6; font-size: 0.92rem; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.profile-service-card-footer { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(148, 163, 184, 0.14); padding-top: 13px; }
.profile-service-card-price { color: var(--cs-gold); font-size: 1.47rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.profile-service-card-price small { margin-left: 2px; color: #94a3b8; font-size: 0.78rem; font-weight: 600; }
.profile-service-card-actions { display: flex; gap: 7px; }
.profile-service-card-actions .button { min-height: 34px; padding: 7px 11px; font-size: 0.9rem; }

.profile-services-empty,
.profile-services-loading {
  display: grid;
  min-height: 290px;
  place-content: center;
  justify-items: center;
  gap: 10px;
  border: 1px dashed rgba(129, 140, 248, 0.38);
  border-radius: 18px;
  padding: 28px;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.13), transparent 45%), rgba(10, 11, 25, 0.66);
  text-align: center;
}
.profile-services-empty-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(139, 92, 246, 0.5); border-radius: 18px; background: rgba(99, 102, 241, 0.15); color: #c4b5fd; }
.profile-services-empty-mark svg { width: 28px; height: 28px; }
.profile-services-empty h3 { margin: 2px 0 0; color: #fff; font-size: 1.35rem; }
.profile-services-empty p { max-width: 520px; margin: 0 0 7px; color: #94a3b8; font-size: 0.99rem; line-height: 1.7; }
.profile-services-loading span { width: 28px; height: 28px; border: 2px solid rgba(139, 92, 246, 0.25); border-top-color: var(--cs-cyan); border-radius: 50%; animation: companion-service-spin 0.8s linear infinite; }
.profile-services-loading p { margin: 0; color: #94a3b8; font-size: 0.97rem; }
@keyframes companion-service-spin { to { transform: rotate(360deg); } }

/* 游戏详情页：用陪玩服务卡片替代任务列表 */
.companion-service-showcase { margin-top: 16px; }
.companion-service-showcase-heading { align-items: flex-end; }
.companion-service-showcase-heading p { margin: 4px 0 0; color: #8493ae; font-size: 0.94rem; }
.companion-service-showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.companion-service-showcase-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(20, 23, 49, 0.98), rgba(10, 12, 25, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.companion-service-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.48);
  box-shadow: 0 27px 65px rgba(0, 0, 0, 0.38), 0 0 32px rgba(34, 211, 238, 0.08);
}

.companion-service-showcase-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1022; }
.companion-service-showcase-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; }
.companion-service-showcase-card:hover .companion-service-showcase-cover > img { transform: scale(1.05); filter: saturate(1.12); }
.companion-service-showcase-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 7, 18, 0.05) 25%, rgba(5, 8, 20, 0.84)); }
.companion-service-showcase-cover-fallback { display: grid; width: 100%; height: 100%; place-items: center; background: radial-gradient(circle at 36% 22%, rgba(99, 102, 241, 0.5), #070a18 68%); color: rgba(255, 255, 255, 0.82); font-size: 4.32rem; font-weight: 900; }
.companion-service-showcase-game,
.companion-service-showcase-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(3, 7, 18, 0.7);
  color: #fff;
  font-size: 0.81rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.companion-service-showcase-game { left: 14px; }
.companion-service-showcase-badge { right: 14px; border-color: rgba(52, 211, 153, 0.4); color: #a7f3d0; }

.companion-service-showcase-body { display: grid; gap: 10px; padding: 18px; }
.companion-service-showcase-person { display: flex; align-items: center; gap: 10px; }
.companion-service-showcase-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  place-items: center;
  border: 2px solid rgba(34, 211, 238, 0.62);
  border-radius: 50%;
  background: linear-gradient(135deg, #312e81, #0b1220);
  color: #fff;
  font-size: 1.38rem;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.16);
}
.companion-service-showcase-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.companion-service-showcase-person > div { min-width: 0; flex: 1 1 auto; }
.companion-service-showcase-person strong { display: block; color: #fff; font-size: 1.2rem; }
.companion-service-showcase-person small { display: block; margin-top: 2px; overflow: hidden; color: #8fa0bd; font-size: 0.83rem; text-overflow: ellipsis; white-space: nowrap; }
.companion-service-showcase-person small .tag-badge,
.companion-service-showcase-person small .type-tag { margin-left: 3px; transform: scale(0.9); }
.companion-service-showcase-profile { border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 999px; padding: 5px 10px; background: rgba(15, 23, 42, 0.7); color: #cbd5e1; font: inherit; font-size: 0.81rem; cursor: pointer; }
.companion-service-showcase-profile:hover { border-color: rgba(34, 211, 238, 0.45); color: #ecfeff; }

.companion-service-showcase-body h3 { margin: 1px 0 0; color: #f8faff; font-size: 1.4rem; line-height: 1.3; letter-spacing: -0.015em; }
.companion-service-showcase-subtitle { margin: -3px 0 0; color: #b8c4dc; font-size: 0.97rem; line-height: 1.58; }
.companion-service-showcase-description { display: -webkit-box; margin: -1px 0 0; overflow: hidden; color: #8d9ab3; font-size: 0.91rem; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.companion-service-showcase-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #93a3bd; font-size: 0.84rem; }
.companion-service-showcase-meta span { display: inline-flex; align-items: center; gap: 5px; }
.companion-service-showcase-meta svg { width: 14px; height: 14px; color: #67e8f9; }
.companion-service-showcase-footer { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 13px; border-top: 1px solid rgba(148, 163, 184, 0.14); padding-top: 13px; }
.companion-service-showcase-price { display: grid; gap: 3px; }
.companion-service-showcase-price small { color: #7f8daa; font-size: 0.78rem; }
.companion-service-showcase-price strong { color: var(--cs-gold); font-size: 1.67rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(251, 191, 36, 0.14); }
.companion-service-showcase-price strong small { color: #94a3b8; font-size: 0.78rem; font-weight: 600; text-shadow: none; }
.companion-service-showcase-actions { display: flex; gap: 8px; }
.companion-service-showcase-actions .button { min-height: 38px; padding: 8px 14px; font-size: 0.92rem; }
.companion-service-showcase-actions .button-primary { border-color: rgba(34, 211, 238, 0.45); background: linear-gradient(135deg, #0891b2, #6366f1); box-shadow: 0 10px 25px rgba(8, 145, 178, 0.24); }

.companion-service-showcase-empty { display: grid; min-height: 250px; place-content: center; justify-items: center; gap: 9px; border: 1px dashed rgba(129, 140, 248, 0.36); border-radius: 16px; padding: 26px; background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.12), transparent 42%), rgba(8, 10, 22, 0.56); text-align: center; }
.companion-service-showcase-empty > div { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(139, 92, 246, 0.44); border-radius: 16px; background: rgba(99, 102, 241, 0.15); color: #c4b5fd; }
.companion-service-showcase-empty svg { width: 26px; height: 26px; }
.companion-service-showcase-empty h3 { margin: 2px 0 0; color: #fff; font-size: 1.31rem; }
.companion-service-showcase-empty p { max-width: 520px; margin: 0; color: #8f9db6; font-size: 0.94rem; line-height: 1.65; }

/* 发布 / 编辑服务弹窗 */
.companion-service-modal .app-modal-card { width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 28px); grid-template-rows: auto minmax(0, 1fr) auto; }
.companion-service-modal .app-modal-body { min-height: 0; overflow-y: auto; }
.companion-service-form { display: grid; gap: 16px; }
.companion-service-editor-media { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(210px, 0.8fr); gap: 14px; }

.companion-service-upload {
  position: relative;
  display: block;
  min-height: 238px;
  overflow: hidden;
  border: 1px dashed rgba(129, 140, 248, 0.52);
  border-radius: 16px;
  background: radial-gradient(circle at 25% 16%, rgba(99, 102, 241, 0.2), transparent 42%), rgba(8, 10, 23, 0.72);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.companion-service-upload:hover { border-color: rgba(34, 211, 238, 0.62); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.06); }
.companion-service-upload.is-avatar { min-height: 238px; }
.companion-service-upload.is-uploading { pointer-events: none; opacity: 0.6; }
.companion-service-upload.is-uploading::after { content: "上传中…"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(3, 7, 18, 0.66); color: #a5f3fc; font-size: 0.92rem; font-weight: 800; }
.companion-service-upload-preview { width: 100%; height: 100%; min-height: 238px; }
.companion-service-upload-preview img { display: block; width: 100%; height: 100%; min-height: 238px; object-fit: cover; }
.companion-service-upload-action { position: absolute; right: 11px; bottom: 11px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; padding: 6px 10px; background: rgba(3, 7, 18, 0.75); color: #f1f5f9; font-size: 0.81rem; font-weight: 700; backdrop-filter: blur(9px); }
.companion-service-upload-action svg { width: 14px; height: 14px; }
.companion-service-upload-placeholder { display: grid; height: 100%; min-height: 238px; place-content: center; justify-items: center; gap: 8px; padding: 18px; color: #d8e2f5; text-align: center; }
.companion-service-upload-placeholder svg { width: 28px; height: 28px; color: #a5b4fc; }
.companion-service-upload-placeholder b { font-size: 1.03rem; }
.companion-service-upload-placeholder small { max-width: 190px; color: #7f8eaa; font-size: 0.81rem; line-height: 1.55; }
.companion-service-avatar-upload-wrap { display: grid; align-content: start; gap: 8px; }
.companion-service-avatar-upload-wrap p { margin: 0; color: #7f8eaa; font-size: 0.81rem; line-height: 1.55; }
.companion-service-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.companion-service-form .field > span { color: #b6c2d8; font-size: 0.9rem; font-weight: 700; }
.companion-service-form .field input,
.companion-service-form .field select,
.companion-service-form .field textarea { border-color: rgba(129, 140, 248, 0.24); background: rgba(5, 7, 18, 0.68); color: #f8faff; }
.companion-service-form .field input:focus,
.companion-service-form .field select:focus,
.companion-service-form .field textarea:focus { border-color: rgba(34, 211, 238, 0.58); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.07); outline: none; }
.companion-service-form textarea { resize: vertical; }
.companion-service-modal .app-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid rgba(129, 140, 248, 0.18);
  padding: 13px 22px 16px;
  background: linear-gradient(180deg, rgba(10, 12, 27, 0.8), rgba(7, 9, 21, 0.99));
  box-shadow: 0 -12px 30px rgba(3, 5, 13, 0.24);
}
.companion-service-modal .app-modal-footer .button { min-width: 104px; }

@media (max-width: 900px) {
  .profile-services-grid,
  .profile-services-grid.is-single,
  .companion-service-showcase-grid { grid-template-columns: 1fr; }
  .profile-services-hero { grid-template-columns: 1fr; gap: 18px; }
  .profile-services-hero-actions { min-width: 0; align-items: stretch; }
  .profile-services-hero-actions small { max-width: none; text-align: left; }
  .profile-service-publish { width: 100%; }
}

@media (max-width: 680px) {
  .profile-services-hero { padding: 20px; border-radius: 16px; }
  .profile-services-hero h2 { font-size: 1.53rem; }
  .profile-services-hero p { font-size: 0.99rem; }
  .profile-service-card-cover { aspect-ratio: 4 / 3; }
  .profile-service-card-footer { align-items: stretch; }
  .profile-service-card-price { align-self: center; }
  .profile-service-card-actions { width: 100%; }
  .profile-service-card-actions .button { flex: 1 1 0; }
  .companion-service-showcase-cover { aspect-ratio: 4 / 3; }
  .companion-service-showcase-footer { align-items: stretch; }
  .companion-service-showcase-actions { width: 100%; }
  .companion-service-showcase-actions .button { flex: 1 1 0; }
  .companion-service-editor-media { grid-template-columns: 1fr; }
  .companion-service-upload,
  .companion-service-upload-preview,
  .companion-service-upload-preview img,
  .companion-service-upload-placeholder { min-height: 195px; }
  .companion-service-upload.is-avatar,
  .companion-service-upload.is-avatar .companion-service-upload-preview,
  .companion-service-upload.is-avatar .companion-service-upload-preview img,
  .companion-service-upload.is-avatar .companion-service-upload-placeholder { min-height: 175px; }
  .companion-service-form-grid { grid-template-columns: 1fr; }
}

/* 公开主页：服务 / 朋友圈 / 资料 三段切换 */
.public-profile-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 20px;
  padding: 6px;
  border: 1px solid rgba(129, 140, 248, 0.26);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(20, 21, 48, 0.94), rgba(10, 11, 26, 0.96));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.public-profile-tab {
  display: inline-flex;
  flex: 1 1 160px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 0.99rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.public-profile-tab svg { width: 19px; height: 19px; }
.public-profile-tab:hover { color: #f1f5f9; background: rgba(99, 102, 241, 0.1); }
.public-profile-tab.is-active {
  border-color: rgba(168, 85, 247, 0.6);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.38), rgba(168, 85, 247, 0.24));
  color: #fff;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.public-profile-tab b {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
  font-size: 0.78rem;
  font-weight: 800;
}
.public-profile-tab.is-active b { background: rgba(255, 255, 255, 0.16); color: #fff; }

.public-moments-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(129, 140, 248, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% -10%, rgba(99, 102, 241, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(20, 21, 48, 0.92), rgba(11, 12, 27, 0.95));
}
.public-moments-head > div:first-child { display: grid; gap: 4px; min-width: 0; }
.public-moments-head h2 { margin: 0; color: #f8fafc; font-size: 1.26rem; }
.public-moments-head p { margin: 0; color: #94a3b8; font-size: 0.85rem; line-height: 1.6; }
.public-moments-own { display: grid; gap: 12px; }
.public-moments-own .profile-moment-feed { display: grid; gap: 12px; }
.public-moments-own .profile-moment-composer { margin: 0; }

.public-services-head { align-items: flex-end; flex-wrap: wrap; gap: 14px; }
.public-services-head p { margin: 4px 0 0; color: #94a3b8; font-size: 0.85rem; line-height: 1.6; }
.public-services-section { display: grid; gap: 14px; min-width: 0; }
.public-profile-section { display: grid; gap: 14px; min-width: 0; }

.profile-service-card-unavailable {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.81rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .public-profile-tabs { gap: 4px; padding: 5px; }
  .public-profile-tab { flex: 1 1 calc(33.333% - 4px); min-height: 42px; padding: 8px 6px; font-size: 0.85rem; }
  .public-profile-tab b { display: none; }
  .public-moments-head { padding: 14px; }
}

/* 公开主页头像尺寸约束：避免原图过大压住标题与切换栏 */
.public-profile-avatar { overflow: hidden; }
.public-profile-avatar > img:not(.public-profile-avatar-frame) {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.public-profile-avatar.has-avatar-frame { overflow: visible; }

/* 公开主页头图复用个人中心样式后的补充 */
.public-profile-hero-new .public-bio { margin-top: 0; }
.public-hero-rating { color: #94a3b8; font-size: 0.85rem; line-height: 1.5; }
.public-profile-hero-new .profile-game-tags-empty { color: #64748b; }

/* ==== 陪玩实力等级与抽成说明 ==== */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
  background: rgba(30, 41, 59, 0.72);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.5;
  vertical-align: middle;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.tier-badge.tier-entertainment { border-color: rgba(74, 222, 128, 0.48); background: rgba(22, 101, 52, 0.44); color: #bbf7d0; }
.tier-badge.tier-technical { border-color: rgba(56, 189, 248, 0.5); background: rgba(8, 89, 130, 0.46); color: #bae6fd; }
.tier-badge.tier-top { border-color: rgba(167, 139, 250, 0.55); background: rgba(76, 29, 149, 0.5); color: #ddd6fe; }
.tier-badge.tier-demon { border-color: rgba(251, 191, 36, 0.58); background: rgba(120, 53, 15, 0.58); color: #fde68a; text-shadow: 0 0 10px rgba(251, 191, 36, 0.35); }

.companion-tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.companion-tier-card {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(155deg, rgba(30, 32, 62, 0.92), rgba(13, 15, 33, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.companion-tier-card::after {
  content: '';
  position: absolute;
  inset: -40% -60% auto auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 68%);
  pointer-events: none;
}
.companion-tier-card header { display: flex; align-items: center; gap: 8px; }
.companion-tier-card h3 { margin: 0; color: #f8faff; font-size: 1.1rem; }
.companion-tier-rank { color: rgba(148, 163, 184, 0.72); font-size: 0.81rem; font-weight: 900; letter-spacing: 0.12em; }
.companion-tier-card p { margin: 0; color: #93a3bd; font-size: 0.81rem; line-height: 1.62; }
.companion-tier-state { justify-self: start; border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 999px; padding: 2px 9px; color: #cbd5e1; font-size: 0.78rem; font-weight: 800; }
.companion-tier-card.is-current { border-color: rgba(34, 211, 238, 0.55); box-shadow: 0 12px 32px rgba(8, 145, 178, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.companion-tier-card.is-current .companion-tier-state { border-color: rgba(34, 211, 238, 0.6); background: rgba(8, 145, 178, 0.22); color: #a5f3fc; }
.companion-tier-card.is-passed:not(.is-current) { border-color: rgba(52, 211, 153, 0.34); }
.companion-tier-card.is-passed:not(.is-current) .companion-tier-state { border-color: rgba(52, 211, 153, 0.42); color: #a7f3d0; }
.companion-tier-card.is-pending .companion-tier-state { border-color: rgba(251, 191, 36, 0.5); background: rgba(180, 83, 9, 0.24); color: #fde68a; }
.companion-tier-card .button { justify-self: start; margin-top: 4px; min-height: 34px; padding: 6px 12px; font-size: 0.83rem; }

.companion-rate-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content)) minmax(0, 1fr);
  align-items: center;
  gap: 10px 22px;
  margin-top: 14px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 14px;
  padding: 12px 16px;
  background: linear-gradient(120deg, rgba(8, 89, 130, 0.28), rgba(13, 15, 33, 0.5));
}
.companion-rate-note > div { display: flex; align-items: baseline; gap: 8px; }
.companion-rate-note span { color: #94a3b8; font-size: 0.83rem; }
.companion-rate-note strong { color: #fbbf24; font-size: 1.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.companion-rate-note small { color: #93a3bd; font-size: 0.78rem; line-height: 1.6; }

.commission-rules {
  margin-top: 12px;
  border: 1px solid rgba(126, 34, 206, 0.3);
  border-radius: 14px;
  padding: 0 14px 12px;
  background: linear-gradient(160deg, rgba(24, 20, 52, 0.86), rgba(10, 12, 26, 0.92));
}
.commission-rules > summary {
  cursor: pointer;
  padding: 12px 0;
  color: #ddd6fe;
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  list-style: none;
}
.commission-rules > summary::-webkit-details-marker { display: none; }
.commission-rules > summary::before { content: '▸'; display: inline-block; margin-right: 7px; color: #a78bfa; transition: transform 0.2s ease; }
.commission-rules[open] > summary::before { transform: rotate(90deg); }
.commission-formula { margin: 0 0 10px; border-left: 3px solid rgba(34, 211, 238, 0.55); border-radius: 8px; padding: 9px 12px; background: rgba(8, 145, 178, 0.12); color: #b8c4dc; font-size: 0.85rem; line-height: 1.7; }
.commission-formula b { color: #fbbf24; }
.commission-band-head { display: grid; grid-template-columns: 1.1fr 0.9fr 0.9fr 1.5fr; gap: 8px; padding: 6px 10px; color: #7f8daa; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; }
.commission-band-head.is-store { margin-top: 10px; color: #d6b06a; }
.commission-band-list { display: grid; gap: 5px; }
.commission-band-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1.5fr;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 9px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #a9b6cd;
  font-size: 0.83rem;
}
.commission-band-score { color: #cbd5e1; font-weight: 750; }
.commission-band-fee { color: #fca5a5; font-weight: 850; }
.commission-band-net { color: #86efac; font-style: normal; font-weight: 850; }
.commission-band-example { color: #94a3b8; font-size: 0.78rem; }
.commission-current { justify-self: start; border: 1px solid rgba(34, 211, 238, 0.55); border-radius: 999px; padding: 1px 8px; background: rgba(8, 145, 178, 0.22); color: #a5f3fc; font-size: 0.78rem; font-style: normal; font-weight: 850; }
.commission-band-row.is-current { border-color: rgba(34, 211, 238, 0.45); background: linear-gradient(120deg, rgba(8, 145, 178, 0.18), rgba(99, 102, 241, 0.14)); }
.commission-band-list.is-store .commission-band-row { background: rgba(180, 83, 9, 0.08); }
.commission-points { display: grid; gap: 5px; margin: 12px 0 0; padding-left: 18px; color: #8f9db6; font-size: 0.81rem; line-height: 1.65; }
.commission-points li::marker { color: rgba(167, 139, 250, 0.75); }

.service-editor-section { display: grid; gap: 12px; border: 1px solid rgba(129, 140, 248, 0.18); border-radius: 16px; padding: 14px; background: rgba(13, 15, 33, 0.5); }
.service-editor-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.service-editor-section-head strong { color: #f1f5f9; font-size: 1.03rem; }
.service-editor-section-head span { color: #7f8daa; font-size: 0.78rem; }
.service-editor-hint { margin: 0; color: #8f9db6; font-size: 0.78rem; line-height: 1.6; }
.service-readonly-field { align-content: start; border: 1px dashed rgba(148, 163, 184, 0.26); border-radius: 10px; padding: 7px 10px 9px; }
.service-readonly-field strong { color: #e2e8f0; font-size: 0.99rem; }
.service-tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.service-tag-chip { display: inline-flex; align-items: center; border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 999px; padding: 2px 9px; background: rgba(8, 145, 178, 0.16); color: #a5f3fc; font-size: 0.78rem; font-weight: 800; }
.service-commission-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 12px; padding: 11px 14px; background: rgba(180, 83, 9, 0.12); }
.service-commission-note span { color: #d6dbe8; font-size: 0.85rem; }
.service-commission-note b { color: #fbbf24; font-size: 1.17rem; font-weight: 900; }
.service-commission-note small { flex-basis: 100%; color: #a3aec6; font-size: 0.78rem; line-height: 1.6; }

.companion-shop-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.34);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(31, 26, 62, 0.96), rgba(11, 12, 26, 0.96));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.companion-shop-preview-media { position: relative; display: grid; min-height: 190px; place-items: center; background: radial-gradient(circle at 40% 25%, rgba(99, 102, 241, 0.55), #0a0d1e 70%); background-size: cover; background-position: center; color: rgba(255, 255, 255, 0.72); font-size: 1.73rem; font-weight: 900; letter-spacing: 0.2em; }
.companion-shop-preview-media.has-cover span { display: none; }
.companion-shop-preview-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 7, 18, 0.08), rgba(5, 8, 20, 0.72)); }
.companion-shop-preview-body { display: grid; gap: 8px; align-content: start; padding: 16px 18px; }
.companion-shop-preview-game { justify-self: start; border: 1px solid rgba(34, 211, 238, 0.4); border-radius: 999px; padding: 2px 10px; background: rgba(8, 145, 178, 0.18); color: #a5f3fc; font-size: 0.78rem; font-weight: 850; }
.companion-shop-preview-body h3 { margin: 0; color: #f8faff; font-size: 1.4rem; line-height: 1.25; letter-spacing: -0.02em; }
.companion-shop-preview-body p { margin: 0; color: #a9b6cd; font-size: 0.9rem; line-height: 1.6; }
.companion-shop-preview-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.companion-shop-preview-meta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(148, 163, 184, 0.16); padding-top: 10px; }
.companion-shop-preview-meta > div { display: grid; gap: 2px; }
.companion-shop-preview-meta span { color: #7f8daa; font-size: 0.78rem; }
.companion-shop-preview-meta b { color: #e2e8f0; font-size: 1.03rem; }
.companion-shop-preview-price { justify-items: end; }
.companion-shop-preview-price b { color: #fbbf24; font-size: 1.62rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.companion-shop-preview-price em { color: #94a3b8; font-size: 0.78rem; font-style: normal; }

.shop-tier-chip { display: inline-flex; align-items: center; border: 1px solid rgba(148, 163, 184, 0.38); border-radius: 999px; padding: 3px 9px; background: rgba(15, 23, 42, 0.65); color: #e2e8f0; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.03em; }
.shop-tier-chip.is-entertainment { border-color: rgba(74, 222, 128, 0.45); background: rgba(22, 101, 52, 0.4); color: #bbf7d0; }
.shop-tier-chip.is-technical { border-color: rgba(56, 189, 248, 0.5); background: rgba(8, 89, 130, 0.4); color: #bae6fd; }
.shop-tier-chip.is-top { border-color: rgba(167, 139, 250, 0.55); background: rgba(76, 29, 149, 0.46); color: #ddd6fe; }
.shop-tier-chip.is-demon { border-color: rgba(251, 191, 36, 0.55); background: rgba(120, 53, 15, 0.5); color: #fde68a; }
.shop-cat-feature-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.check-grid.is-muted { opacity: 0.45; }

@media (max-width: 980px) {
  .companion-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .companion-rate-note { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .companion-rate-note small { grid-column: 1 / -1; }
  .companion-shop-preview { grid-template-columns: minmax(0, 1fr); }
  .companion-shop-preview-media { min-height: 150px; }
}

@media (max-width: 640px) {
  .companion-tier-grid { grid-template-columns: minmax(0, 1fr); }
  .commission-band-head { display: none; }
  .commission-band-row { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .commission-band-score { grid-column: 1 / -1; color: #e2e8f0; }
  .commission-band-net { color: #86efac; }
  .commission-band-example { grid-column: 1 / -1; }
  .companion-shop-preview-body { padding: 14px; }
  .companion-shop-preview-body h3 { font-size: 1.29rem; }
}

/* ===== 10 星评价体系 ===== */
.rating-ten { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1; vertical-align: middle; }
.rating-ten-stars { display: inline-flex; gap: 2px; }
.rating-ten-stars i { font-style: normal; font-size: 0.94rem; color: rgba(148, 163, 184, 0.32); transition: color 0.2s ease, text-shadow 0.2s ease; }
.rating-ten-stars i.is-on { color: #ffcf5a; text-shadow: 0 0 6px rgba(255, 207, 90, 0.55); }
.rating-ten-copy { font-size: 0.78rem; color: #93a4c6; white-space: nowrap; }
.rating-ten.is-empty .rating-ten-copy { color: #64748b; }
.order-companion-stars { margin-top: 4px; }
.companion-rating .rating-ten { align-items: flex-start; }
.public-hero-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.public-hero-rating .rating-ten-stars i { font-size: 1.06rem; }
.public-hero-rating .rating-ten-copy { font-size: 0.78rem; }
.public-hero-orders { color: #9fb0cf; font-size: 0.83rem; }
.task-person-stars { display: inline-flex; margin-left: 6px; }
.task-done-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.35rem; }
.task-done-my-rate { border-radius: 999px; padding: 2px 8px; background: rgba(251, 191, 36, 0.14); color: #fbd77a; font-size: 0.78rem; font-weight: 800; }

.rating-line.is-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.rating-ten-picker { display: inline-flex; gap: 1px; }
.rating-ten-picker button { border: 0; background: none; padding: 0 1px; font-size: 1.24rem; line-height: 1; color: rgba(148, 163, 184, 0.35); cursor: pointer; transition: transform 0.15s ease, color 0.15s ease, text-shadow 0.15s ease; }
.rating-ten-picker button:hover,
.rating-ten-picker button:focus-visible { color: #ffd166; text-shadow: 0 0 8px rgba(255, 209, 102, 0.7); transform: scale(1.2) translateY(-1px); }
.task-rate-block { display: grid; gap: 3px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(148, 163, 184, 0.22); }
.task-rate-block > span { font-size: 0.78rem; color: #9fb0cf; }
.task-rate-block small { font-size: 0.78rem; color: #64748b; }
.star-display.is-ten { letter-spacing: 1px; }

/* ===== 推广中心重构 ===== */
.promo-hero-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.4rem; overflow: hidden; border: 1px solid rgba(251, 191, 36, 0.22); background: radial-gradient(circle at 90% -10%, rgba(251, 191, 36, 0.2), transparent 52%), linear-gradient(135deg, rgba(13, 20, 38, 0.94), rgba(8, 12, 24, 0.97)); }
.promo-hero-glow { position: absolute; right: -90px; top: -120px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.24), transparent 68%); filter: blur(6px); pointer-events: none; }
.promo-hero-copy { position: relative; min-width: 0; }
.promo-hero-copy .eyebrow { color: #f3c969; }
.promo-hero-copy h2 { margin: 0.35rem 0 0.5rem; font-size: clamp(1.2rem, 2.1vw, 1.7rem); line-height: 1.25; color: #f7f9ff; }
.promo-hero-copy h2 em { font-style: normal; color: #ffd166; text-shadow: 0 0 22px rgba(255, 209, 102, 0.35); }
.promo-hero-copy p { margin: 0; max-width: 46rem; color: #9fb0cf; font-size: 0.9rem; line-height: 1.75; }
.promo-hero-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.7rem; }
.promo-hero-chips span { border: 1px solid rgba(251, 191, 36, 0.26); border-radius: 999px; padding: 0.18rem 0.58rem; background: rgba(251, 191, 36, 0.08); color: #f6dc9c; font-size: 0.78rem; font-weight: 700; }
.promo-hero-rate { position: relative; display: grid; place-content: center; justify-items: center; min-width: 140px; padding: 0.9rem 1rem; border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 18px; background: linear-gradient(160deg, rgba(251, 191, 36, 0.14), rgba(251, 191, 36, 0.04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.promo-hero-rate strong { color: #ffd166; font-size: 2.92rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(255, 209, 102, 0.35); }
.promo-hero-rate strong small { font-size: 1.26rem; }
.promo-hero-rate > span { margin-top: 0.3rem; color: #e8eefc; font-size: 0.78rem; font-weight: 800; }
.promo-hero-rate > small { color: #8f9fbe; font-size: 0.78rem; }
.promo-hero-panel .promo-link-row,
.promo-hero-panel .promo-metrics { grid-column: 1 / -1; }
.promo-hero-panel .promo-link-row input { border: 1px solid rgba(251, 191, 36, 0.24); background: rgba(6, 10, 20, 0.72); color: #e8eefc; }

.promo-credit-panel { display: grid; gap: 0.85rem; }
.promo-credit-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
.promo-credit-summary > div { display: grid; gap: 0.18rem; padding: 0.7rem 0.8rem; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 13px; background: rgba(9, 14, 27, 0.66); }
.promo-credit-summary span { color: #8f9fbe; font-size: 0.78rem; }
.promo-credit-summary strong { color: #f2f6ff; font-size: 1.32rem; line-height: 1.15; }
.promo-credit-summary small { color: #7f8eae; font-size: 0.78rem; line-height: 1.5; }
.promo-credit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem; }
.promo-credit-card { position: relative; display: grid; gap: 0.4rem; padding: 0.7rem 0.75rem 0.8rem; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 14px; background: rgba(10, 16, 30, 0.62); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.promo-credit-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tier-color) 55%, transparent); }
.promo-credit-card header { display: flex; align-items: center; gap: 0.42rem; }
.promo-credit-card header strong { color: #eef3ff; font-size: 0.85rem; }
.promo-credit-card header b { margin-left: auto; color: var(--tier-color); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.promo-credit-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--tier-color); box-shadow: 0 0 10px var(--tier-color); }
.promo-credit-card p { margin: 0; color: #94a3c2; font-size: 0.78rem; line-height: 1.6; }
.promo-credit-bar { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(148, 163, 184, 0.16); }
.promo-credit-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tier-color), color-mix(in srgb, var(--tier-color) 45%, #ffffff)); opacity: 0.75; }
.promo-credit-card.is-current { border-color: var(--tier-color); box-shadow: 0 0 0 1px var(--tier-color), 0 14px 30px rgba(0, 0, 0, 0.35); background: linear-gradient(160deg, color-mix(in srgb, var(--tier-color) 12%, transparent), rgba(10, 16, 30, 0.7)); }
.promo-credit-current { position: absolute; right: 0.6rem; bottom: 0.6rem; border-radius: 999px; padding: 1px 7px; background: var(--tier-color); color: #fff; font-size: 0.78rem; font-style: normal; font-weight: 800; }
.promo-credit-note { margin: 0; color: #7f8eae; font-size: 0.78rem; line-height: 1.7; }

.promo-rate-highlight { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border: 1px solid rgba(251, 191, 36, 0.2); border-radius: 16px; background: linear-gradient(120deg, rgba(251, 191, 36, 0.1), rgba(9, 14, 27, 0.6)); }
.promo-rate-highlight > div { display: grid; gap: 0.2rem; }
.promo-rate-highlight span { color: #8f9fbe; font-size: 0.78rem; }
.promo-rate-highlight strong { color: #eef3ff; font-size: 1.62rem; line-height: 1; font-variant-numeric: tabular-nums; }
.promo-rate-highlight > i { color: #f3c969; font-style: normal; font-size: 1.38rem; }
.promo-rate-highlight .is-mine strong { color: #ffd166; }
.promo-rate-highlight .is-mine small { color: #f3c969; font-size: 0.78rem; }
.promo-rate-rules { display: grid; gap: 0.4rem; margin: 0.85rem 0 0; padding: 0; list-style: none; }
.promo-rate-rules li { position: relative; padding-left: 0.95rem; color: #94a3c2; font-size: 0.78rem; line-height: 1.7; }
.promo-rate-rules li::before { content: ''; position: absolute; left: 0; top: 0.58em; width: 5px; height: 5px; border-radius: 50%; background: #f3c969; box-shadow: 0 0 8px rgba(243, 201, 105, 0.55); }

@media (max-width: 900px) {
  .promo-credit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-hero-panel { grid-template-columns: 1fr; }
  .promo-hero-rate { justify-self: start; min-width: 118px; }
}
@media (max-width: 560px) {
  .promo-credit-grid,
  .promo-credit-summary { grid-template-columns: 1fr; }
  .promo-hero-rate strong { font-size: 2.38rem; }
}

.friend-rating { margin-top: 4px; }
