/* css/plus.css — 付费区域板块 (#/plus)
   两大分区：订阅 Plus + 内容商店(买断)。
   双主题：luxe 暗金 / cartoon 清新。类名全部 plus- 前缀，避开 luxe.css 刷黑「含 card」元素的坑。 */

/* ============ 结构（主题无关） ============ */
.plus-page { max-width: 1180px; margin: 0 auto; }
.plus-sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.plus-head { margin-bottom: 26px; }
.plus-head-title { font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.plus-head-sub { font-size: 14px; margin-top: 10px; line-height: 1.7; max-width: 760px; }

.plus-zone { border-radius: 22px; padding: 30px 32px 34px; margin-bottom: 22px; }
.plus-zone-head { display: flex; align-items: baseline; gap: 13px; margin-bottom: 5px; }
.plus-zone-no { font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.plus-zone-title { font-size: 20px; font-weight: 700; }
.plus-zone-sub { font-size: 13.5px; margin-bottom: 24px; }
.plus-zone-foot { margin-top: 20px; font-size: 13px; text-align: center; line-height: 1.7; }

/* 计费切换 */
.plus-bill { display: inline-flex; gap: 4px; border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.plus-bill-btn {
  font-size: 13.5px; font-weight: 600; padding: 9px 20px; border-radius: 9px;
  cursor: pointer; border: 0; background: transparent;
  transition: background .15s, color .15s;
}
.plus-bill-save { font-size: 13px; margin-left: 6px; opacity: .85; }

/* 计划 */
.plus-plans { display: flex; gap: 20px; align-items: stretch; }
.plus-plan { flex: 1 1 0; border-radius: 20px; padding: 28px 28px 30px; display: flex; flex-direction: column; }
.plus-plan.is-free { max-width: 340px; }
.plus-plan.is-pro { position: relative; }
.plus-plan-badge {
  position: absolute; top: 22px; right: 24px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 8px;
}
.plus-plan-name { font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.plus-plan-price { display: flex; align-items: baseline; gap: 7px; margin: 14px 0 4px; }
.plus-plan-num { font-size: 42px; font-weight: 700; line-height: 1; }
.plus-plan-per { font-size: 13.5px; font-weight: 500; }
.plus-plan-note { font-size: 13px; min-height: 20px; }
.plus-plan-sep { height: 1px; margin: 20px 0 18px; }

.plus-fgroup + .plus-fgroup { margin-top: 15px; }
.plus-fcat { font-size: 13px; font-weight: 700; letter-spacing: .1em; margin-bottom: 9px; }
.plus-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.5; margin-bottom: 8px; }
.plus-feat:last-child { margin-bottom: 0; }
.plus-tick { margin-top: 1px; }
.plus-feat b { font-weight: 700; }

.plus-cta {
  margin-top: auto; width: 100%; height: 50px;
  border: 0; border-radius: 13px; cursor: pointer;
  font-size: 15px; font-weight: 700;
  transition: transform .12s, box-shadow .16s, background .16s;
}
.plus-cta:hover:not(:disabled) { transform: translateY(-2px); }
.plus-cta:disabled { cursor: default; }
.plus-cta.is-ghost { margin-top: 22px; }

/* 礼物卡 / 家庭套餐 */
.plus-extra { display: flex; gap: 12px; margin-top: 20px; }
.plus-chip {
  flex: 1; display: flex; align-items: center; gap: 11px;
  border-radius: 14px; padding: 14px 16px; cursor: pointer;
  transition: background .15s;
}
.plus-chip-ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.plus-chip-tt { font-size: 13.5px; font-weight: 700; }
.plus-chip-ds { font-size: 13px; margin-top: 2px; }

/* 内容商店 */
.plus-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plus-tile {
  border-radius: 16px; padding: 22px 22px 20px;
  display: flex; flex-direction: column;
  transition: transform .12s, background .15s, box-shadow .16s;
}
.plus-tile:hover { transform: translateY(-2px); }
.plus-tile-ic {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.plus-tile-name { font-size: 16px; font-weight: 700; }
.plus-tile-desc { font-size: 13px; line-height: 1.6; margin: 6px 0 14px; min-height: 42px; }
.plus-tile-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.plus-tile-price { font-size: 20px; font-weight: 700; }
.plus-tile-price s { font-size: 13px; font-weight: 400; margin-right: 5px; }
.plus-tile-buy {
  border: 0; border-radius: 10px; cursor: pointer;
  font-size: 13px; font-weight: 700; padding: 9px 16px;
  transition: background .15s;
}
.plus-tile-inplus { font-size: 13px; display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.plus-tile-dot { width: 5px; height: 5px; border-radius: 50%; flex: none; }

.plus-ic { flex: none; display: block; }

@media (max-width: 900px) {
  .plus-zone { padding: 26px 20px 30px; }
  .plus-plans { flex-direction: column; }
  .plus-plan.is-free { max-width: none; }
  .plus-shop { grid-template-columns: repeat(2, 1fr); }
  .plus-extra { flex-direction: column; }
}
@media (max-width: 560px) {
  .plus-shop { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .plus-cta, .plus-tile { transition: none; }
  .plus-cta:hover:not(:disabled), .plus-tile:hover { transform: none; }
}

/* ============================================================
   LUXE · 暗金
   ============================================================ */
[data-theme="luxe"] .plus-head-title { color: #f3f3f3; font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-head-sub { color: rgba(255,255,255,.46); }
[data-theme="luxe"] .plus-head-sub b { color: #f5c518; }

[data-theme="luxe"] .plus-zone { background: #101010; }
[data-theme="luxe"] .plus-zone-no { color: #f5c518; font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-zone-title { color: #f0f0f0; font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-zone-sub,
[data-theme="luxe"] .plus-zone-foot { color: rgba(255,255,255,.4); }

[data-theme="luxe"] .plus-bill { background: #060606; }
[data-theme="luxe"] .plus-bill-btn { color: rgba(255,255,255,.46); font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-bill-btn.is-on { background: #f5c518; color: #1a1505; }

[data-theme="luxe"] .plus-plan { background: #1a1a1a; }
[data-theme="luxe"] .plus-plan.is-pro {
  background: linear-gradient(168deg, #221d09 0%, #181818 62%);
  box-shadow: 0 0 0 1.5px rgba(245,197,24,.4), 0 24px 60px -28px rgba(245,197,24,.45);
}
[data-theme="luxe"] .plus-plan-badge { color: #1a1505; background: #f5c518; }
[data-theme="luxe"] .plus-plan-name { color: rgba(255,255,255,.55); }
[data-theme="luxe"] .plus-plan.is-pro .plus-plan-name { color: #f5c518; }
[data-theme="luxe"] .plus-plan-num { color: #f3f3f3; font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-plan-per { color: rgba(255,255,255,.4); }
[data-theme="luxe"] .plus-plan-note { color: rgba(255,255,255,.4); }
[data-theme="luxe"] .plus-plan.is-pro .plus-plan-note { color: rgba(245,197,24,.75); }
[data-theme="luxe"] .plus-plan-sep { background: rgba(255,255,255,.08); }

[data-theme="luxe"] .plus-fcat { color: rgba(255,255,255,.4); font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-feat { color: rgba(255,255,255,.74); }
[data-theme="luxe"] .plus-feat b { color: #fff; }
[data-theme="luxe"] .plus-tick { color: #f5c518; }
[data-theme="luxe"] .plus-feat.is-off { color: rgba(255,255,255,.3); }
[data-theme="luxe"] .plus-feat.is-off .plus-tick { color: rgba(255,255,255,.22); }

[data-theme="luxe"] .plus-cta { font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-cta.is-ghost { background: #2a2a2a; color: rgba(255,255,255,.6); }
[data-theme="luxe"] .plus-cta.is-primary {
  background: #f5c518; color: #1a1505;
  box-shadow: 0 12px 30px -12px rgba(245,197,24,.6);
}
[data-theme="luxe"] .plus-cta.is-primary:hover { box-shadow: 0 16px 36px -12px rgba(245,197,24,.78); }

[data-theme="luxe"] .plus-chip { background: #1a1a1a; }
[data-theme="luxe"] .plus-chip:hover { background: #232323; }
[data-theme="luxe"] .plus-chip-ic { background: rgba(245,197,24,.1); color: #f5c518; }
[data-theme="luxe"] .plus-chip-tt { color: #f0f0f0; }
[data-theme="luxe"] .plus-chip-ds { color: rgba(255,255,255,.4); }

[data-theme="luxe"] .plus-tile { background: #1a1a1a; }
[data-theme="luxe"] .plus-tile:hover { background: #232323; }
[data-theme="luxe"] .plus-tile-ic { background: rgba(245,197,24,.1); color: #f5c518; }
[data-theme="luxe"] .plus-tile-name { color: #f0f0f0; }
[data-theme="luxe"] .plus-tile-desc { color: rgba(255,255,255,.4); }
[data-theme="luxe"] .plus-tile-price { color: #f3f3f3; font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-tile-price s { color: rgba(255,255,255,.38); }
[data-theme="luxe"] .plus-tile-buy { background: rgba(245,197,24,.12); color: #f5c518; }
[data-theme="luxe"] .plus-tile-buy:hover { background: rgba(245,197,24,.22); }
[data-theme="luxe"] .plus-tile-inplus { color: rgba(255,255,255,.4); }
[data-theme="luxe"] .plus-tile-dot { background: #f5c518; }

/* ============================================================
   CARTOON · 清新（薄荷绿 + 暖奶油）
   ============================================================ */
[data-theme="cartoon"] .plus-head-title { color: #3c3a35; font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-head-sub { color: #6e6a60; }
[data-theme="cartoon"] .plus-head-sub b { color: #46a302; }

[data-theme="cartoon"] .plus-zone {
  background: #ffffff;
  box-shadow: 0 6px 26px -14px rgba(80,55,15,.16);
}
[data-theme="cartoon"] .plus-zone-no { color: #58cc02; font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-zone-title { color: #3c3a35; font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-zone-sub,
[data-theme="cartoon"] .plus-zone-foot { color: #908b7e; }

[data-theme="cartoon"] .plus-bill { background: #f1ece1; }
[data-theme="cartoon"] .plus-bill-btn { color: #908b7e; font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-bill-btn.is-on { background: #58cc02; color: #ffffff; }

[data-theme="cartoon"] .plus-plan { background: #faf5ea; }
[data-theme="cartoon"] .plus-plan.is-pro {
  background: linear-gradient(168deg, #edf9e1 0%, #ffffff 72%);
  box-shadow: 0 0 0 2px rgba(88,204,2,.4), 0 22px 50px -26px rgba(88,204,2,.5);
}
[data-theme="cartoon"] .plus-plan-badge { color: #ffffff; background: #58cc02; }
[data-theme="cartoon"] .plus-plan-name { color: #908b7e; }
[data-theme="cartoon"] .plus-plan.is-pro .plus-plan-name { color: #46a302; }
[data-theme="cartoon"] .plus-plan-num { color: #3c3a35; font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-plan-per { color: #908b7e; }
[data-theme="cartoon"] .plus-plan-note { color: #908b7e; }
[data-theme="cartoon"] .plus-plan.is-pro .plus-plan-note { color: #5fae1c; }
[data-theme="cartoon"] .plus-plan-sep { background: #ece5d6; }

[data-theme="cartoon"] .plus-fcat { color: #a8a294; font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-feat { color: #54514a; }
[data-theme="cartoon"] .plus-feat b { color: #3c3a35; }
[data-theme="cartoon"] .plus-tick { color: #58cc02; }
[data-theme="cartoon"] .plus-feat.is-off { color: #b8b3a6; }
[data-theme="cartoon"] .plus-feat.is-off .plus-tick { color: #cdc8ba; }

[data-theme="cartoon"] .plus-cta { font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-cta.is-ghost { background: #ece5d6; color: #8a8576; }
[data-theme="cartoon"] .plus-cta.is-primary {
  background: #58cc02; color: #ffffff;
  box-shadow: 0 12px 26px -12px rgba(88,204,2,.6);
}
[data-theme="cartoon"] .plus-cta.is-primary:hover { box-shadow: 0 16px 32px -12px rgba(88,204,2,.78); }

[data-theme="cartoon"] .plus-chip { background: #faf5ea; }
[data-theme="cartoon"] .plus-chip:hover { background: #f3ecdc; }
[data-theme="cartoon"] .plus-chip-ic { background: rgba(88,204,2,.12); color: #46a302; }
[data-theme="cartoon"] .plus-chip-tt { color: #3c3a35; }
[data-theme="cartoon"] .plus-chip-ds { color: #908b7e; }

[data-theme="cartoon"] .plus-tile { background: #faf5ea; }
[data-theme="cartoon"] .plus-tile:hover { background: #ffffff; box-shadow: 0 12px 28px -16px rgba(80,55,15,.28); }
[data-theme="cartoon"] .plus-tile-ic { background: rgba(88,204,2,.12); color: #46a302; }
[data-theme="cartoon"] .plus-tile-name { color: #3c3a35; }
[data-theme="cartoon"] .plus-tile-desc { color: #908b7e; }
[data-theme="cartoon"] .plus-tile-price { color: #3c3a35; font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-tile-price s { color: #b8b3a6; }
[data-theme="cartoon"] .plus-tile-buy { background: rgba(88,204,2,.14); color: #46a302; }
[data-theme="cartoon"] .plus-tile-buy:hover { background: rgba(88,204,2,.24); }
[data-theme="cartoon"] .plus-tile-inplus { color: #a8a294; }
[data-theme="cartoon"] .plus-tile-dot { background: #58cc02; }

/* ============================================================
   付费门 · 升级解锁面板（锁定路由对未订阅用户显示）
   ============================================================ */
.plus-gate {
  max-width: 480px; margin: 7vh auto 0; text-align: center;
  padding: 48px 38px 44px; border-radius: 22px;
}
.plus-gate-ic {
  width: 74px; height: 74px; border-radius: 20px; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
}
.plus-gate-title { font-size: 20px; font-weight: 700; line-height: 1.4; }
.plus-gate-sub { font-size: 14px; margin-top: 11px; line-height: 1.7; }
.plus-gate-btn {
  display: inline-block; margin-top: 24px;
  padding: 13px 30px; border-radius: 13px;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .12s, box-shadow .16s;
}
.plus-gate-btn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .plus-gate-btn { transition: none; }
  .plus-gate-btn:hover { transform: none; }
}

[data-theme="luxe"] .plus-gate { background: #101010; }
[data-theme="luxe"] .plus-gate-ic { background: rgba(245,197,24,.1); color: #f5c518; }
[data-theme="luxe"] .plus-gate-title { color: #f0f0f0; font-family: 'Space Grotesk', sans-serif; }
[data-theme="luxe"] .plus-gate-sub { color: rgba(255,255,255,.46); }
[data-theme="luxe"] .plus-gate-btn {
  background: #f5c518; color: #1a1505;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 12px 30px -12px rgba(245,197,24,.6);
}
[data-theme="luxe"] .plus-gate-btn:hover { box-shadow: 0 16px 36px -12px rgba(245,197,24,.78); }

[data-theme="cartoon"] .plus-gate { background: #ffffff; box-shadow: 0 6px 26px -14px rgba(80,55,15,.16); }
[data-theme="cartoon"] .plus-gate-ic { background: rgba(88,204,2,.12); color: #46a302; }
[data-theme="cartoon"] .plus-gate-title { color: #3c3a35; font-family: 'Fredoka', sans-serif; }
[data-theme="cartoon"] .plus-gate-sub { color: #6e6a60; }
[data-theme="cartoon"] .plus-gate-btn {
  background: #58cc02; color: #ffffff;
  font-family: 'Fredoka', sans-serif;
  box-shadow: 0 12px 26px -12px rgba(88,204,2,.6);
}
[data-theme="cartoon"] .plus-gate-btn:hover { box-shadow: 0 16px 32px -12px rgba(88,204,2,.78); }
