/* ============================================================
   服务与课程 · 接单变现板块（仅展示/留资，不接支付）
   沿用全站黑底白字影视工业风，蓝紫仅作点缀
   ============================================================ */

.studio {
  position: fixed;
  inset: var(--topbar-h, 114px) 0 0 var(--rail-w, 76px);
  z-index: 60;
  background: #000;
  overflow-y: auto;
  padding: 22px 26px 40px;
}

/* 顶栏徽章/标题 */
.studio__head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.18);
}
.studio__back {
  background: linear-gradient(135deg, #0040d0 0%, #a060f0 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 0.9, 0.28, 1), filter 0.2s ease;
}
.studio__back:hover { transform: translateY(-1px); filter: brightness(1.1); }
.studio__title {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 1px;
}
.studio__sub {
  color: #9ca3af;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.studio__right { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.studio__btn {
  background: transparent;
  color: #d3d7e3;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.studio__btn:hover { border-color: rgba(190, 150, 255, 0.55); color: #fff; transform: translateY(-1px); }
.studio__btn--ghost { color: #9ca3af; }
.studio__btn--ghost:hover { color: #fff; }

/* 商品网格卡片 */
.studio__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) {
  .studio__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .studio__list { grid-template-columns: 1fr; }
}

.st-card {
  position: relative;
  background: #0a0a0a;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 0.9, 0.28, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.st-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(150, 90, 235, 0.10) 0%, rgba(60, 40, 140, 0.04) 50%, transparent 75%);
  pointer-events: none;
}
.st-card:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 150, 255, 0.55);
  box-shadow: 0 0 20px rgba(150, 90, 235, 0.16);
}
.st-card__cat {
  display: inline-block;
  font-size: 11px;
  color: #d3d7e3;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 12px;
}
.st-card__icon {
  font-size: 34px;
  display: block;
  margin-bottom: 10px;
}
.st-card__title {
  margin: 0 0 6px;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  color: #fff;
}
.st-card__tagline {
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.5;
}
.st-card__tiers {
  margin-top: 16px;
  border-top: 1px dashed rgba(124, 58, 237, 0.18);
  padding-top: 12px;
}
.st-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  color: #d3d7e3;
  font-size: 13px;
}
.st-tier-row b { color: #f5a623; font-weight: 700; }
.st-tier-row s { color: #9ca3af; margin-left: 6px; font-size: 12px; }
.st-card__cta {
  margin-top: 14px;
  width: 100%;
  background: linear-gradient(135deg, #0040d0 0%, #a060f0 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.st-card__cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* 商品详情 */
.studio__detail { max-width: 860px; }
.st-detail__head { margin-bottom: 18px; }
.st-detail__back {
  background: transparent;
  color: #30b0f0;
  border: 1px solid rgba(48, 176, 240, 0.35);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 12px;
}
.st-detail__title { margin: 6px 0; font-size: 24px; font-family: "Noto Serif SC", serif; color: #fff; }
.st-detail__tagline { color: #9ca3af; margin: 0 0 16px; }
.st-section {
  background: #0a0a0a;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.st-section h4 {
  margin: 0 0 10px;
  color: #d3d7e3;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-section ul { margin: 0; padding-left: 18px; color: #d3d7e3; font-size: 14px; line-height: 1.8; }
.st-section li { margin: 2px 0; }

/* 详情的套餐档位 */
.st-detail__tiers { margin-top: 6px; }
.st-tier-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.st-tier-card__name { color: #fff; font-size: 15px; font-weight: 600; }
.st-tier-card__feat { color: #9ca3af; font-size: 12px; margin-top: 4px; }
.st-tier-card__price { text-align: right; }
.st-tier-card__price b { color: #f5a623; font-size: 18px; }
.st-tier-card__price s { color: #9ca3af; font-size: 12px; margin-left: 6px; }
.st-tier-card__cta {
  margin-top: 8px;
  background: linear-gradient(135deg, #0040d0 0%, #a060f0 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
}
.st-tier-card__cta:hover { filter: brightness(1.1); }

.studio__notice {
  margin-top: 26px;
  color: #9ca3af;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.5px;
  border-top: 1px dashed rgba(124, 58, 237, 0.15);
  padding-top: 14px;
}

/* 弹窗 */
.studio-modal { max-width: 440px; background: #0a0a0a; border: 1px solid rgba(124, 58, 237, 0.35); border-radius: 12px; }
.studio-modal .modal__head { border-bottom: 1px solid rgba(124, 58, 237, 0.15); padding: 14px 18px; }
.studio-modal .modal__title { color: #fff; font-size: 16px; }
.studio-modal .modal__body { padding: 18px; }
.studio-modal .modal__close { color: #9ca3af; background: none; border: none; font-size: 16px; cursor: pointer; }

.st-form { display: flex; flex-direction: column; gap: 12px; }
.st-field label { display: block; color: #d3d7e3; font-size: 12px; margin-bottom: 5px; letter-spacing: 0.5px; }
.st-field input,
.st-field select,
.st-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.st-field input:focus,
.st-field select:focus,
.st-field textarea:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.st-field textarea { resize: vertical; min-height: 60px; }

.st-order-summary {
  background: #111;
  border: 1px dashed rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: #d3d7e3;
  font-size: 13px;
  line-height: 1.7;
}
.st-order-summary b { color: #f5a623; }

.st-form__submit {
  background: linear-gradient(135deg, #0040d0 0%, #a060f0 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.st-form__submit:hover { filter: brightness(1.1); transform: translateY(-1px); }
.st-form__disclaimer {
  color: #9ca3af;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.3px;
  margin-top: -2px;
}
.st-form__error { color: #e94560; font-size: 12px; text-align: center; min-height: 16px; }

/* 我的订单 */
.st-orders-empty { color: #9ca3af; text-align: center; padding: 24px 0; font-size: 14px; }
.st-order-item {
  background: #111;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.st-order-item__top { display: flex; justify-content: space-between; align-items: center; }
.st-order-item__name { color: #fff; font-weight: 600; font-size: 14px; }
.st-order-item__status {
  font-size: 12px;
  color: #f5a623;
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
}
.st-order-item__meta { color: #9ca3af; font-size: 12px; margin-top: 6px; line-height: 1.6; }
.st-order-item__meta b { color: #f5a623; }

/* 登录页测试验证码提示 */
.login-otp-hint {
  margin: 8px 0 0;
  color: #d3d7e3;
  font-size: 12px;
  text-align: center;
}
.login-otp-hint b { color: #f5a623; }
/* 左栏底部「服务与课程」入口贴底 */
.rail__group--bottom { margin-top: auto; }
.rail__group--bottom .rail__label em { font-style: normal; }
