/* ==========================================================================
   KAIJING / DESIGN FILE — porcelain cloud supplement
   ========================================================================== */
.preview-body { background: transparent; }

.p-nav {
  top: 18px;
  left: 50%;
  right: auto;
  width: min(1240px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(72, 60, 112, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 28px 62px -28px rgba(58, 45, 104, 0.44), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(1.1);
}
.p-nav-inner { height: 66px; width: 100%; padding: 0 18px; margin: 0 auto; }
.p-links a { padding: 7px 11px; border-radius: 999px; font-size: 11px; font-weight: 550; }
.p-links a:hover { background: rgba(255, 255, 255, 0.8); }
.p-display,
.p-h2,
.p-h3,
.specimen-display,
.p-cta h2 {
  font-family: var(--font-display);
  font-weight: 780;
  letter-spacing: -0.05em;
}
.p-display { font-size: clamp(3.4rem, 6.4vw, 6.2rem); line-height: 0.96; }
.p-display em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(135deg, #ff9b78, #ff6b57 52%, #f45b7c);
  -webkit-background-clip: text;
  background-clip: text;
}
.p-h2 { font-size: clamp(2.1rem, 3.4vw, 3.4rem); line-height: 1.04; }
.p-h3 { font-size: 24px; line-height: 1.2; }
.p-lead { font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }
.p-kicker, .mono { font-size: 8px; letter-spacing: 0.12em; }
.p-kicker { border: 1px solid rgba(255,255,255,.9); border-radius: 999px; background: rgba(255,255,255,.6); }
.p-hero .p-float-card,
.p-hero .p-float-swatch { display: none; }
.p-meta {
  gap: 10px;
  border: 0;
  background: transparent;
}
.p-meta > div {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-xs), var(--shadow-inset);
}
.p-meta > div:nth-child(2n) { border-left: 1px solid rgba(255,255,255,.94); }
.p-meta dt { color: var(--ink-4); }
.p-meta dd { color: var(--ink); font-weight: 600; }
.p-hero-foot { border-top: 1px solid rgba(72, 60, 112, 0.08); }

.browser {
  border: 1px solid rgba(255, 255, 255, 0.96) !important;
  border-radius: 28px !important;
  background: #fff !important;
  box-shadow: var(--shadow-lg), var(--shadow-inset) !important;
  overflow: hidden;
}
.browser-bar { border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #fff, #f8f6ff); }
.principle,
.spec-card,
.color-card,
.phone-shell,
.art-item,
.detail-row,
.p-cta,
.p-panel,
.swatch,
.type-row,
.type-specimen {
  border: 1px solid rgba(255, 255, 255, 0.94) !important;
  border-radius: 24px !important;
  background: linear-gradient(165deg, #fff, #fbfaff);
  box-shadow: var(--shadow-sm), var(--shadow-inset) !important;
}
.principle:hover { transform: translateY(-5px); box-shadow: var(--shadow-md), var(--shadow-inset) !important; }
.principle-sample .sample-orb {
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff, #ffd8cc 46%, #ff9d87 100%);
  box-shadow: 0 18px 30px -16px rgba(255, 107, 87, 0.45), inset 0 -6px 12px rgba(200, 80, 60, 0.12);
}
.principle-sample .sample-pill { border-radius: 999px; }
.palette { gap: 10px; }
.swatch { border-radius: 18px; overflow: hidden; }
.swatch-paper { background: #f4f2fb; color: #211d33; }
.swatch-surface { background: #ffffff; color: #211d33; }
.swatch-ink { background: #211d33; color: #ffffff; }
.swatch-accent { background: linear-gradient(135deg, #ff9678, #ff6b57 52%, #f45b7c); color: #fff; }
.swatch-sage { background: #5dc7ab; color: #10372f; }
.swatch-butter { background: #f4c36a; color: #4f3613; }
.swatch:hover { transform: translateY(-4px); }
.tag-showcase .tag { display: inline-flex; align-items: center; gap: 4px; padding-left: 4px; }
.tag-showcase .brand-icon-sm { width: 13px; height: 13px; border-radius: 4px; box-shadow: none; }
.phone-shell {
  border: 8px solid #fff;
  border-radius: 40px !important;
  background: #211d33;
  box-shadow: var(--shadow-lg);
}
.phone-screen { border-radius: 30px; overflow: hidden; }
.art-item { overflow: hidden; }
.art-item img { filter: saturate(1.02); }
.p-cta {
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 36px !important;
  background:
    radial-gradient(420px 300px at 82% 14%, rgba(255, 209, 190, 0.8), rgba(255, 209, 190, 0) 68%),
    radial-gradient(380px 300px at 12% 90%, rgba(202, 191, 255, 0.68), rgba(202, 191, 255, 0) 72%),
    linear-gradient(160deg, #fffdfb, #f8f4ff) !important;
  box-shadow: var(--shadow-md), var(--shadow-inset) !important;
}
.p-footer { border-top: 1px solid rgba(72, 60, 112, 0.08); background: rgba(255, 255, 255, 0.44); }
.p-mini-link { font-size: 10px; }
.p-hero-foot { border-top-color: rgba(72, 60, 112, 0.08); }

@media (max-width: 900px) {
  .p-nav { width: calc(100% - 24px); top: 12px; }
  .p-nav-inner { height: 60px; padding: 0 14px; }
  .p-cta { padding: 30px; border-radius: 28px !important; }
}
