/* ============================================================
   page-mac-yun-zu-yong.css — 租用下单 · 云朵拟态 (yz-*)
   与首页同系视觉，工作台 + 订单小票布局
   ============================================================ */

html.theme-pearl-elegance .pe-rent-page {
  --yz-bg: #f6f1ec;
  --yz-surface: #fffdfb;
  --yz-ink: #1c1a17;
  --yz-muted: #7a736c;
  --yz-body: #5c5650;
  --yz-border: rgba(28, 26, 23, 0.1);
  --yz-border-strong: rgba(28, 26, 23, 0.2);
  --yz-shadow: 0 26px 60px -30px rgba(28, 26, 23, 0.24);
  --yz-shadow-sm: 0 14px 32px -18px rgba(28, 26, 23, 0.18);
  --yz-clay: #c98f6b;
  --yz-sage: #7f9a76;
  --yz-sky: #7f97b8;
  --yz-sun: #d9a53f;
  --yz-ticket-w: 320px;
  --yz-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  font-family: var(--yz-sans);
  background: var(--yz-bg);
  color: var(--yz-body);
  padding-bottom: clamp(120px, 18vh, 160px);
}

@media (max-width: 1023px) {
  .pe-rent-page {
    padding-bottom: max(200px, calc(min(48vh, 420px) + env(safe-area-inset-bottom, 0px) + 24px));
  }
}

.pe-rent-page .container { max-width: 1280px; }

/* —— 云朵 —— */
.yz-cloud {
  position: absolute;
  width: 76px; height: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #eee7e2 100%);
  border-radius: 999px;
  box-shadow: 0 16px 28px -12px rgba(28, 26, 23, 0.22);
  animation: yz-float 8s ease-in-out infinite;
  pointer-events: none;
}
.yz-cloud::before, .yz-cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.yz-cloud::before { width: 42px; height: 42px; top: -21px; left: 6px; }
.yz-cloud::after { width: 30px; height: 30px; top: -15px; left: 42px; }
.yz-cloud--sm { width: 44px; height: 18px; }
.yz-cloud--sm::before { width: 24px; height: 24px; top: -12px; left: 4px; }
.yz-cloud--sm::after { width: 17px; height: 17px; top: -8px; left: 24px; }
.yz-cloud--md { width: 62px; height: 24px; }
.yz-cloud--md::before { width: 34px; height: 34px; top: -17px; left: 5px; }
.yz-cloud--md::after { width: 24px; height: 24px; top: -12px; left: 34px; }
.yz-cloud--lg { width: 112px; height: 44px; }
.yz-cloud--lg::before { width: 62px; height: 62px; top: -31px; left: 10px; }
.yz-cloud--lg::after { width: 44px; height: 44px; top: -22px; left: 62px; }

@keyframes yz-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* —— 链接 —— */
.pe-rent-page a:not(.btn-primary):not(.toggle-btn):not(.dc-chip):not(.pricing-card):not(.yz-assurance__link):not(.yz-btn-dark) {
  color: var(--yz-clay);
  font-weight: 700;
  text-underline-offset: 3px;
}

.pe-rent-page .btn-primary.btn-gold {
  color: #fffdfb;
  background: #18140f;
  border: none;
  box-shadow: 0 16px 34px -14px rgba(24, 20, 15, 0.5);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.pe-rent-page .btn-primary.btn-gold:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.04);
}
.pe-rent-page .btn-primary.btn-gold:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.yz-btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border: none; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: #fffdfb; background: #18140f;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 16px 34px -14px rgba(24, 20, 15, 0.5);
  transition: transform 0.25s ease;
}
.yz-btn-dark:hover { transform: translateY(-2px); color: #fffdfb; }
.yz-btn-dark--onlight { color: #1c1a17; background: #fffdfb; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.35); }
.yz-btn-dark--onlight:hover {
  color: #1c1a17;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.42);
}

.yz-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 16px; padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--yz-ink); background: rgba(255, 255, 255, 0.62); border: 1px solid var(--yz-border-strong);
}

/* —— ① 顶栏 —— */
.yz-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-height) + clamp(28px, 4vw, 40px)) 0 clamp(32px, 5vw, 48px);
  background: radial-gradient(130% 100% at 50% -10%, #f3ebe6 0%, #ece3e2 45%, #ede7e3 75%, #f6f1ec 100%);
}
html.theme-pearl-elegance:has(#page-rent) .pe-rent-page .yz-hero { margin-top: calc(-1 * var(--nav-height)); }

.yz-hero__clouds { position: absolute; inset: 0; z-index: 0; }
.yz-hero__clouds .yz-cloud:nth-child(1) { top: 14%; left: 6%; }
.yz-hero__clouds .yz-cloud:nth-child(2) { top: 28%; left: 14%; animation-delay: 1s; }
.yz-hero__clouds .yz-cloud:nth-child(3) { top: 10%; right: 8%; animation-delay: 0.5s; }
.yz-hero__clouds .yz-cloud:nth-child(4) { top: 52%; right: 4%; animation-delay: 1.4s; }

.yz-hero__wrap { position: relative; z-index: 1; text-align: center; max-width: 720px; }

.yz-crumb {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0 0 20px; font-size: 13px; font-weight: 600; color: var(--yz-muted);
}
.yz-crumb a { text-decoration: none; }
.yz-crumb span[aria-hidden] { opacity: 0.45; }

.yz-hero__title {
  margin: 0 0 14px; font-weight: 800; font-size: clamp(30px, 4.8vw, 48px);
  line-height: 1.12; letter-spacing: -0.02em; color: var(--yz-ink);
}
.yz-hero__sub {
  margin: 0 auto 28px; max-width: 52ch; font-size: 15px; line-height: 1.75; color: var(--yz-muted);
}
.yz-hero__sub strong { color: var(--yz-ink); font-weight: 700; }

/* 步骤轨 */
.yz-steps {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.yz-steps__node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 72px; padding: 12px 14px; border-radius: 16px;
  text-decoration: none; background: var(--yz-surface);
  border: 1px solid var(--yz-border); box-shadow: var(--yz-shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.yz-steps__node:hover { transform: translateY(-2px); border-color: var(--yz-border-strong); color: var(--yz-ink); }
.yz-steps__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 11px; font-weight: 800; color: #fffdfb; background: #1c1a17;
}
.yz-steps__label { font-size: 12.5px; font-weight: 700; color: var(--yz-ink); }

/* —— ② 工作台 —— */
.yz-workspace { padding: clamp(28px, 4vw, 40px) 0 clamp(40px, 6vw, 56px); }

.yz-workspace__grid {
  display: grid; gap: clamp(24px, 3.5vw, 32px); align-items: start;
}
@media (min-width: 1024px) {
  .yz-workspace__grid {
    grid-template-columns: minmax(0, 1fr) var(--yz-ticket-w);
  }
}

.yz-canvas { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 28px); }

.yz-panel {
  scroll-margin-top: calc(var(--nav-height) + 16px);
  padding: clamp(22px, 3vw, 28px);
  border-radius: 22px; background: var(--yz-surface);
  border: 1px solid var(--yz-border); box-shadow: var(--yz-shadow-sm);
}
.yz-panel--soft { background: linear-gradient(165deg, #fffaf6 0%, #fffdfb 100%); }

.yz-panel__head { margin-bottom: clamp(18px, 2.6vw, 24px); }
.yz-panel__tag {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--yz-sun); background: rgba(217, 165, 63, 0.12); border: 1px solid rgba(217, 165, 63, 0.25);
}
.yz-panel__tag--opt { color: var(--yz-sage); background: rgba(127, 154, 118, 0.12); border-color: rgba(127, 154, 118, 0.25); }
.yz-panel__title { margin: 0 0 8px; font-weight: 800; font-size: clamp(20px, 2.4vw, 24px); color: var(--yz-ink); }
.yz-panel__desc { margin: 0; font-size: 14px; line-height: 1.65; color: var(--yz-muted); }

/* —— 机型卡片 —— */
.yz-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 16px); }

.yz-plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(20px, 2.6vw, 26px); border-radius: 18px;
  background: #f6f2ee; border: 2px solid var(--yz-border);
  cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.yz-plan:hover { border-color: var(--yz-border-strong); transform: translateY(-2px); }
.yz-plan.pricing-card--selected {
  border-color: var(--yz-ink);
  background: var(--yz-surface);
  box-shadow: var(--yz-shadow);
}
.yz-plan--feat { background: linear-gradient(165deg, #1c1a17 0%, #2a2621 100%); border-color: rgba(255, 255, 255, 0.1); color: #fffdfb; }
.yz-plan--feat.pricing-card--selected {
  border-color: var(--yz-sun);
  background: linear-gradient(165deg, #1c1a17 0%, #2a2621 100%);
  box-shadow:
    0 0 0 1px rgba(217, 165, 63, 0.35),
    0 22px 52px -26px rgba(217, 165, 63, 0.32);
}

.yz-plan__pick {
  position: absolute; top: 16px; right: 16px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--yz-border-strong); background: var(--yz-surface);
}
.yz-plan--feat .yz-plan__pick { border-color: rgba(255, 253, 251, 0.3); background: transparent; }
.yz-plan.pricing-card--selected .yz-plan__pick {
  border-color: var(--yz-sun); background: var(--yz-sun);
  box-shadow: inset 0 0 0 3px var(--yz-surface);
}
.yz-plan--feat.pricing-card--selected .yz-plan__pick { box-shadow: inset 0 0 0 3px #1c1a17; }

.yz-plan__badge {
  position: absolute; top: 16px; left: 16px; padding: 4px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; color: #1c1a17; background: var(--yz-sun);
  line-height: 1.2; z-index: 1;
}
.yz-plan__badge ~ .yz-plan__tier {
  padding-left: 54px;
  min-height: 22px;
  display: flex;
  align-items: center;
}
.yz-plan__tier { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yz-muted); }
.yz-plan--feat .yz-plan__tier { color: rgba(255, 253, 251, 0.55); }
.yz-plan__name { margin: 0 0 6px; font-size: clamp(17px, 2vw, 20px); font-weight: 800; color: var(--yz-ink); }
.yz-plan--feat .yz-plan__name { color: #fffdfb; }
.yz-plan__spec { margin: 0 0 14px; font-size: 13px; color: var(--yz-muted); }
.yz-plan--feat .yz-plan__spec { color: rgba(255, 253, 251, 0.55); }
.yz-plan__price { margin: 0 0 14px; font-weight: 800; font-size: clamp(24px, 3vw, 30px); line-height: 1.1; color: var(--yz-ink); }
.yz-plan--feat .yz-plan__price { color: #fffdfb; }
.yz-plan.pricing-card--selected .yz-plan__price { color: var(--yz-clay); }
.yz-plan--feat.pricing-card--selected .yz-plan__price { color: var(--yz-sun); }
.yz-plan__per { font-size: 14px; font-weight: 600; color: var(--yz-muted); }
.yz-plan--feat .yz-plan__per { color: rgba(255, 253, 251, 0.5); }

.yz-plan__chips {
  list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px;
  border-top: 1px dashed var(--yz-border);
}
.yz-plan--feat .yz-plan__chips { border-top-color: rgba(255, 253, 251, 0.12); }
.yz-plan__chips li {
  padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  color: var(--yz-body); background: rgba(28, 26, 23, 0.05);
}
.yz-plan--feat .yz-plan__chips li { color: rgba(255, 253, 251, 0.72); background: rgba(255, 255, 255, 0.08); }

/* —— 周期 —— */
.yz-cycles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.yz-cycle {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: clamp(14px, 2vw, 18px) 10px; border-radius: 16px;
  border: 1px solid var(--yz-border); background: #f6f2ee;
  font-family: inherit; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.yz-cycle:hover { border-color: var(--yz-border-strong); transform: translateY(-1px); }
.yz-cycle.active {
  background: #1c1a17; border-color: #1c1a17; color: #fffdfb;
  box-shadow: var(--yz-shadow-sm);
}
.yz-cycle__ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(28, 26, 23, 0.06); color: var(--yz-clay); }
.yz-cycle.active .yz-cycle__ico { background: rgba(255, 253, 251, 0.1); color: var(--yz-sun); }
.yz-cycle__ico i { width: 18px; height: 18px; }
.yz-cycle__label { font-size: 14px; font-weight: 700; color: var(--yz-ink); }
.yz-cycle.active .yz-cycle__label { color: #fffdfb; }
.yz-cycle__hint { font-size: 11px; font-weight: 600; color: var(--yz-muted); }
.yz-cycle.active .yz-cycle__hint { color: rgba(255, 253, 251, 0.55); }

/* —— 机房 —— */
.yz-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.yz-region {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px; border-radius: 16px;
  border: 1.5px solid var(--yz-border); background: #f6f2ee;
  font-family: inherit; cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.yz-region__flag { font-size: 1.5rem; line-height: 1; }
.yz-region__name { font-size: 13px; font-weight: 700; color: var(--yz-ink); }
.yz-region:hover { border-color: var(--yz-border-strong); transform: translateY(-2px); }
.yz-region.is-active {
  border-color: var(--yz-sage); background: rgba(127, 154, 118, 0.1);
}

.yz-region-status { margin: 14px 0 0; font-size: 14px; color: var(--yz-muted); }
.yz-region-status.is-ok { color: var(--yz-sage); font-weight: 700; }

/* —— 加购 —— */
.yz-addon-list { display: flex; flex-direction: column; gap: 10px; }

.yz-addon {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px;
  border: 1.5px solid var(--yz-border); background: var(--yz-surface);
  cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.yz-addon:hover { border-color: var(--yz-border-strong); }
.yz-addon.selected { border-color: var(--yz-clay); background: #fffaf6; }

.yz-addon__ico {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(201, 143, 107, 0.12); color: var(--yz-clay);
}
.yz-addon__ico--bronze { background: rgba(138, 100, 56, 0.12); color: #8a6438; }
.yz-addon__ico i { width: 20px; height: 20px; }

.yz-addon__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yz-addon__copy strong { font-size: 14px; font-weight: 700; color: var(--yz-ink); }
.yz-addon__copy small { font-size: 12px; color: var(--yz-muted); }

.yz-addon__price { font-weight: 800; font-size: 16px; color: var(--yz-ink); white-space: nowrap; }
.yz-addon__per { font-size: 12px; font-weight: 600; color: var(--yz-muted); }

.yz-addon__check {
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid var(--yz-border); background: #fff; flex-shrink: 0; position: relative;
}
.yz-addon.selected .yz-addon__check { background: var(--yz-clay); border-color: var(--yz-clay); }
.yz-addon.selected .yz-addon__check::after {
  content: ''; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* —— 保障条 —— */
.yz-assurance {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.55); border: 1px dashed var(--yz-border);
}
.yz-assurance__chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--yz-body);
}
.yz-assurance__chip i { width: 16px; height: 16px; color: var(--yz-sage); }
.yz-assurance__link {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.yz-assurance__link i { width: 14px; height: 14px; }

/* —— 订单小票 —— */
.yz-ticket { z-index: 800; }

@media (min-width: 1024px) {
  .yz-ticket {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    align-self: start;
  }
}

.yz-ticket__panel {
  position: relative;
  padding: clamp(20px, 2.5vw, 26px);
  border-radius: 22px;
  background: #1c1a17; color: rgba(255, 253, 251, 0.88);
  box-shadow: var(--yz-shadow);
}

.yz-ticket__tear {
  position: absolute; top: 0; left: 12px; right: 12px; height: 6px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 253, 251, 0.15) 6px 12px);
  border-radius: 0 0 4px 4px;
}

.yz-ticket__product {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 18px; padding: 10px 0 16px; border-bottom: 1px solid rgba(255, 253, 251, 0.1);
}
.yz-ticket__flag { font-size: 1.75rem; line-height: 1; }
.yz-ticket__name { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: #fffdfb; }
.yz-ticket__sub, .yz-ticket__dc { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255, 253, 251, 0.5); }
.yz-ticket__dc { margin-top: 6px; font-weight: 700; color: var(--yz-sun); }

.yz-ticket__dl { margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.yz-ticket__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.yz-ticket__row dt { font-size: 12px; font-weight: 600; color: rgba(255, 253, 251, 0.45); flex-shrink: 0; }
.yz-ticket__row dd { margin: 0; font-size: 13px; font-weight: 600; color: #fffdfb; text-align: right; }
.yz-ticket__row--wide dd { max-width: 62%; }

.yz-ticket__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 253, 251, 0.1);
}
.yz-ticket__total-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 253, 251, 0.45);
}
.yz-ticket__total-num { font-size: clamp(26px, 3.2vw, 32px); font-weight: 800; color: var(--yz-sun); }

.yz-ticket__pay {
  width: 100%; padding: 14px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 700; cursor: pointer;
}

.pe-rent-page .yz-ticket__pay.btn-primary.btn-gold {
  color: #1c1a17;
  background: linear-gradient(135deg, #f8e4b0 0%, var(--yz-sun) 45%, #c9922e 100%);
  border: 1px solid rgba(255, 236, 190, 0.45);
  box-shadow:
    0 14px 32px -10px rgba(217, 165, 63, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pe-rent-page .yz-ticket__pay.btn-primary.btn-gold:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px -10px rgba(217, 165, 63, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pe-rent-page .yz-ticket__pay.btn-primary.btn-gold:disabled {
  color: rgba(255, 253, 251, 0.45);
  background: rgba(255, 253, 251, 0.08);
  border-color: rgba(255, 253, 251, 0.12);
  box-shadow: none;
  opacity: 1;
}

.yz-ticket__fine {
  margin: 12px 0 0; font-size: 11px; line-height: 1.55; text-align: center;
  color: rgba(255, 253, 251, 0.4);
}
.yz-ticket__fine a { color: var(--yz-sun); }

/* 移动端贴底 */
@media (max-width: 1023px) {
  .yz-ticket {
    position: fixed; left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0));
    background: linear-gradient(180deg, transparent 0%, rgba(246, 241, 236, 0.92) 18%, rgba(246, 241, 236, 0.98) 100%);
    pointer-events: none;
  }
  .yz-ticket__panel {
    pointer-events: auto;
    max-height: min(46vh, 380px);
    overflow-y: auto;
  }
  .yz-ticket__product { display: none; }
  .yz-ticket__dl {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-bottom: 12px;
  }
  .yz-ticket__row--wide { grid-column: 1 / -1; }
  .yz-ticket__total { margin-bottom: 12px; padding-top: 10px; }
  .yz-closing { display: none; }
}

/* —— 收束 CTA —— */
.yz-closing {
  position: relative; overflow: hidden;
  margin: 0 clamp(16px, 3vw, 24px) clamp(24px, 4vw, 40px);
  padding: clamp(48px, 7vw, 72px) 0; border-radius: 32px;
  background: radial-gradient(120% 100% at 50% -10%, #2a2621 0%, #1c1a17 60%);
}
.yz-closing__clouds { position: absolute; inset: 0; z-index: 0; opacity: 0.85; }
.yz-closing__clouds .yz-cloud { background: linear-gradient(180deg, #4a453d, #34302a); box-shadow: none; }
.yz-closing__clouds .yz-cloud::before, .yz-closing__clouds .yz-cloud::after { background: inherit; }
.yz-closing__clouds .yz-cloud:nth-child(1) { top: 20%; left: 12%; }
.yz-closing__clouds .yz-cloud:nth-child(2) { top: 55%; right: 10%; animation-delay: 1.2s; }
.yz-closing__inner { position: relative; z-index: 1; text-align: center; max-width: 560px; }
.yz-closing__title { margin: 0 0 12px; font-weight: 800; font-size: clamp(22px, 3vw, 30px); color: #fffdfb; }
.yz-closing__sub { margin: 0 auto 24px; font-size: 14.5px; line-height: 1.65; color: rgba(255, 253, 251, 0.72); }

/* —— 支付弹层（挂到 body，变量须在 :has(#page-rent) 上声明） —— */
html.theme-pearl-elegance:has(#page-rent) {
  --pay-surface: #fffdfb;
  --pay-ink: #1c1a17;
  --pay-muted: #7a736c;
  --pay-border: rgba(28, 26, 23, 0.1);
  --pay-border-strong: rgba(28, 26, 23, 0.2);
  --pay-shadow: 0 26px 60px -30px rgba(28, 26, 23, 0.24);
  --pay-clay: #c98f6b;
  --pay-recap-bg: #f6f2ee;
}

body.pay-method-modal-open { overflow: hidden; }

.pay-method-modal {
  position: fixed; inset: 0; z-index: 2100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; box-sizing: border-box;
}
.pay-method-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(28, 26, 23, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.pay-method-modal-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: min(720px, 96vw); max-height: min(92vh, 680px); overflow-y: auto;
  padding: 28px 28px 22px; border-radius: 22px;
  border: 1px solid var(--pay-border, rgba(28, 26, 23, 0.1));
  background: var(--pay-surface, #fffdfb);
  box-shadow: var(--pay-shadow, 0 26px 60px -30px rgba(28, 26, 23, 0.24));
}
.pay-method-modal-title {
  font-size: clamp(20px, 2.5vw, 24px); font-weight: 800; margin: 0 0 8px;
  text-align: center; color: var(--pay-ink, #1c1a17);
}
.pay-method-modal-lead {
  font-size: 14px; color: var(--pay-muted, #7a736c); line-height: 1.55;
  margin: 0 0 20px; text-align: center;
}
.pay-method-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.pay-method-modal-pay__head {
  margin: 0 0 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pay-muted, #7a736c);
}
.pay-method-order-recap {
  margin-bottom: 0; padding: 16px; border-radius: 16px;
  background: var(--pay-recap-bg, #f6f2ee);
  border: 1px solid var(--pay-border, rgba(28, 26, 23, 0.1));
}
.pay-method-order-recap__head {
  margin: 0 0 12px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pay-muted, #7a736c);
}
.pay-method-order-recap__dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pay-method-order-recap__dl > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 13px; padding-bottom: 8px;
  border-bottom: 1px solid var(--pay-border, rgba(28, 26, 23, 0.08));
}
.pay-method-order-recap__dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.pay-method-order-recap__dl dt { color: var(--pay-muted, #7a736c); font-weight: 600; flex-shrink: 0; }
.pay-method-order-recap__dl dd {
  margin: 0; color: var(--pay-ink, #1c1a17); font-weight: 600; text-align: right;
}
.pay-method-order-recap__total {
  margin-top: 4px; padding-top: 12px !important;
  border-top: 1px solid var(--pay-border-strong, rgba(28, 26, 23, 0.2)) !important;
  border-bottom: none !important;
}
.pay-method-order-recap__total dt,
.pay-method-order-recap__total dd { font-size: 14px; font-weight: 800; color: var(--pay-ink, #1c1a17); }

.pay-method-modal-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; }
.pay-method-option {
  width: 100%; text-align: left; padding: 14px 16px; cursor: pointer; font: inherit;
  display: flex; align-items: center; gap: 14px; border-radius: 14px;
  border: 1px solid var(--pay-border, rgba(28, 26, 23, 0.1));
  background: var(--pay-surface, #fffdfb); color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px -4px rgba(28, 26, 23, 0.08);
}
.pay-method-option-ico {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(28, 26, 23, 0.04);
  border: 1px solid var(--pay-border, rgba(28, 26, 23, 0.08));
  color: var(--pay-ink, #1c1a17);
}
.pay-method-option-ico img,
.pay-method-option-ico svg {
  display: block; max-width: 28px; max-height: 28px; object-fit: contain;
}
.pay-method-option-textcol {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
}
.pay-method-option:hover {
  border-color: var(--pay-border-strong, rgba(28, 26, 23, 0.2));
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(28, 26, 23, 0.14);
}
.pay-method-option-main { font-size: 15px; font-weight: 700; color: var(--pay-ink, #1c1a17); }
.pay-method-option-sub { font-size: 12px; color: var(--pay-muted, #7a736c); }
.pay-method-cancel {
  display: block; width: 100%; text-align: center; padding: 12px 8px 4px;
  margin-top: 16px; border: none; background: none; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--pay-clay, #c98f6b);
}
.pay-method-cancel:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .pay-method-modal-body { grid-template-columns: 1fr; }
  .pay-method-modal-panel { padding: 22px 18px 18px; }
}

/* —— fade-in —— */
#page-rent .fade-in {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#page-rent .fade-in.visible, #page-rent .yz-hero.fade-in { opacity: 1; transform: none; }

/* —— 响应式 —— */
@media (max-width: 720px) {
  .yz-hero__clouds .yz-cloud:nth-child(2), .yz-hero__clouds .yz-cloud:nth-child(4) { display: none; }
  .yz-plans, .yz-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yz-cycles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yz-addon { grid-template-columns: auto 1fr auto; }
  .yz-addon__ico { display: none; }
  .yz-addon__check { grid-row: 1 / 3; align-self: center; }
  .yz-assurance__link { margin-left: 0; width: 100%; justify-content: center; }
  .yz-closing { margin-inline: 12px; border-radius: 24px; }
}

@media (max-width: 480px) {
  .yz-plans, .yz-regions, .yz-cycles { grid-template-columns: 1fr; }
  .yz-steps__node { flex: 1 1 calc(50% - 8px); }
}

@media (prefers-reduced-motion: reduce) {
  #page-rent .fade-in { opacity: 1; transform: none; transition: none; }
  .yz-cloud { animation: none; }
  .yz-plan:hover, .yz-region:hover, .yz-cycle:hover, .yz-steps__node:hover,
  .pay-method-option:hover, .yz-btn-dark:hover, .btn-primary.btn-gold:hover:not(:disabled) { transform: none; }
}
