/* ---------- 示例网页：结构由 data-structure 决定，颜色和字体由 CSS 变量决定 ---------- */
.pv {
  --radius: 0px;
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 620px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  transition: background-color 240ms ease-out, color 240ms ease-out;
}

:where(.pv) :where(h2, h3, p) { margin: 0; }

.pv-tex { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.pv-page {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  align-content: start;
  min-height: 620px;
  padding: 28px 32px;
}

.pv-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; }

.pv-logo, .pv-title, .pv-cell b {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: var(--display-transform);
  letter-spacing: var(--display-tracking);
}

.pv-logo { font-size: 16px; }
.pv-links { display: flex; gap: 18px; color: var(--muted); }
.pv-kicker { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }

.pv-title { margin: 12px 0 0.3em; font-size: clamp(44px, 11cqi, 104px); line-height: 0.95; }
.pv-title span { display: block; }

.pv-lede { max-width: 26em; color: var(--muted); }

.pv-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: var(--radius);
}

.pv-art { position: relative; pointer-events: none; }
.pv-art i { position: absolute; display: block; }

/* 主视觉：图由表皮流派决定，形状由骨架决定，不压在正文下面 */
.pv-img { position: absolute; z-index: 0; margin: 0; overflow: hidden; pointer-events: none; background: var(--surface); }
.pv-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv[data-img="none"] .pv-img { display: none; }

.pv-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pv-cell { padding: 18px; background: var(--surface); border-radius: var(--radius); }
.pv-cell b { display: block; margin-bottom: 12px; font-size: 30px; line-height: 1; }
.pv-cell h3 { margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.pv-cell p { font-size: 13px; color: var(--muted); }
.pv-foot { font-size: 12px; color: var(--muted); }

/* 包豪斯：12 栏网格，几何形，粗黑条 */
.pv[data-structure="bauhaus"] .pv-page { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 12px; row-gap: 28px; }
.pv[data-structure="bauhaus"] .pv-nav { grid-column: 1 / -1; padding-bottom: 14px; border-bottom: 6px solid var(--line); }
.pv[data-structure="bauhaus"] .pv-hero { grid-column: 1 / 8; }
.pv[data-structure="bauhaus"] .pv-title { font-size: clamp(52px, 12.5cqi, 124px); letter-spacing: -0.03em; }
.pv[data-structure="bauhaus"] .pv-art { grid-column: 8 / -1; min-height: 300px; }
.pv[data-structure="bauhaus"] .d1 { top: 0; right: 0; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--accent3); }
.pv[data-structure="bauhaus"] .d2 { bottom: 0; left: 0; width: 44%; aspect-ratio: 1; background: var(--accent2); }
.pv[data-structure="bauhaus"] .d3 { bottom: 0; right: 4%; width: 46%; aspect-ratio: 1; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pv[data-structure="bauhaus"] .d4 { top: 8%; left: 6%; width: 10px; height: 52%; background: var(--line); }
.pv[data-structure="bauhaus"] .pv-art { z-index: 1; }
.pv[data-structure="bauhaus"] .pv-img { grid-column: 8 / -1; grid-row: 2 / 3; top: 0; right: 0; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--accent3); }
.pv[data-structure="bauhaus"]:not([data-img="none"]) .d1 { visibility: hidden; }
.pv[data-structure="bauhaus"] .pv-cells { grid-column: 1 / -1; grid-template-columns: 5fr 4fr 3fr; gap: 0; }
.pv[data-structure="bauhaus"] .pv-cell { min-height: 150px; padding: 22px; }
.pv[data-structure="bauhaus"] .c1 { background: var(--accent); color: var(--on-accent); }
.pv[data-structure="bauhaus"] .c2 { background: var(--accent2); color: var(--on-accent2); }
.pv[data-structure="bauhaus"] .c3 { background: var(--accent3); color: var(--on-accent3); }
.pv[data-structure="bauhaus"] .pv-cell p { color: inherit; }
.pv[data-structure="bauhaus"] .pv-foot { grid-column: 1 / -1; padding-top: 12px; border-top: 6px solid var(--line); }

/* 风格派：粗黑线把页面切成矩形格 */
.pv[data-structure="de-stijl"] .pv-page {
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto 1fr auto auto;
  gap: 8px;
  padding: 8px;
  background: var(--line);
}
.pv[data-structure="de-stijl"] .pv-nav,
.pv[data-structure="de-stijl"] .pv-hero,
.pv[data-structure="de-stijl"] .pv-cell,
.pv[data-structure="de-stijl"] .pv-foot { padding: 18px 20px; background: var(--bg); }
.pv[data-structure="de-stijl"] .pv-nav { grid-column: 1 / -1; }
.pv[data-structure="de-stijl"] .pv-hero { grid-column: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; }
.pv[data-structure="de-stijl"] .pv-title { font-size: clamp(40px, 8.5cqi, 84px); line-height: 0.95; }
.pv[data-structure="de-stijl"] .pv-cta { align-self: flex-start; }
.pv[data-structure="de-stijl"] .pv-art { grid-column: 2 / -1; display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1.4fr 1fr; gap: 8px; }
.pv[data-structure="de-stijl"] .pv-art i { position: static; }
.pv[data-structure="de-stijl"] .d1 { grid-row: 1 / 3; background: var(--accent); }
.pv[data-structure="de-stijl"] .d2 { background: var(--bg); }
.pv[data-structure="de-stijl"] .d3 { background: var(--accent2); }
.pv[data-structure="de-stijl"] .d4 { display: none !important; }
.pv[data-structure="de-stijl"] .pv-img { grid-column: 2 / -1; grid-row: 2 / 3; top: 0; bottom: 0; left: 0; width: calc((100% - 8px) * 1.6 / 2.6); background: var(--accent); }
.pv[data-structure="de-stijl"] .pv-cells { display: contents; }
.pv[data-structure="de-stijl"] .c2 { background: var(--accent3); color: var(--on-accent3); }
.pv[data-structure="de-stijl"] .c2 p { color: inherit; }
.pv[data-structure="de-stijl"] .pv-foot { grid-column: 1 / -1; }

/* 构成主义：对角线，斜向色带，窄体大字 */
.pv[data-structure="constructivism"] .pv-page { grid-template-columns: 7fr 5fr; column-gap: 28px; row-gap: 22px; }
.pv[data-structure="constructivism"] .pv-nav { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 4px solid var(--line); }
.pv[data-structure="constructivism"] .pv-hero { grid-column: 1; grid-row: 2; }
.pv[data-structure="constructivism"] .pv-title { margin: 44px 0 40px; font-size: clamp(50px, 12cqi, 118px); line-height: 0.88; transform: rotate(-8deg); transform-origin: left bottom; }
.pv[data-structure="constructivism"] .pv-kicker,
.pv[data-structure="constructivism"] .pv-lede { display: inline-block; padding: 6px 10px; background: var(--bg); }
.pv[data-structure="constructivism"] .pv-cta::after { content: "  →"; }
.pv[data-structure="constructivism"] .pv-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pv[data-structure="constructivism"] .d1 { left: -10%; bottom: 120px; width: 130%; height: 58px; background: var(--accent); transform: rotate(-14deg); }
.pv[data-structure="constructivism"] .d2 { top: 40px; right: -70px; width: 280px; aspect-ratio: 1; border-radius: 50%; border: 16px solid var(--accent2); }
.pv[data-structure="constructivism"] .d3 { top: 26%; left: 50%; width: 46px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.pv[data-structure="constructivism"] .d4 { left: -10%; bottom: 210px; width: 130%; height: 3px; background: var(--line); transform: rotate(-14deg); }
.pv[data-structure="constructivism"] .pv-img { position: relative; grid-column: 2 / 3; grid-row: 2 / 3; align-self: center; aspect-ratio: 4 / 3; transform: rotate(-6deg); background: var(--accent2); }
.pv[data-structure="constructivism"] .pv-cells { grid-column: 2; grid-row: 2; grid-template-columns: minmax(0, 1fr); gap: 12px; align-self: start; margin-top: 36px; }
.pv[data-structure="constructivism"]:not([data-img="none"]) .pv-page { row-gap: 18px; }
.pv[data-structure="constructivism"]:not([data-img="none"]) .pv-title { margin: 32px 0 18px; }
.pv[data-structure="constructivism"]:not([data-img="none"]) .pv-cells { grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.pv[data-structure="constructivism"]:not([data-img="none"]) .pv-cell { padding-block: 14px; }
.pv[data-structure="constructivism"] .pv-cell { border-top: 6px solid var(--line); }
.pv[data-structure="constructivism"] .c1 { background: var(--accent); color: var(--on-accent); }
.pv[data-structure="constructivism"] .c1 p { color: inherit; }
.pv[data-structure="constructivism"] .pv-foot { grid-column: 1 / -1; }
.pv[data-structure="constructivism"] .pv-foot { justify-self: start; padding: 4px 8px; background: var(--bg); }

/* 装饰艺术：中轴对称，放射纹，双线框 */
.pv[data-structure="art-deco"] .pv-page { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 30px; padding: 40px 44px; text-align: center; }
.pv[data-structure="art-deco"] .pv-page > * { grid-column: 1; }
.pv[data-structure="art-deco"] .pv-page::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line);
  outline: 1px solid var(--line);
  outline-offset: -7px;
  pointer-events: none;
}
.pv[data-structure="art-deco"] .pv-nav { flex-direction: column; gap: 8px; width: 100%; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pv[data-structure="art-deco"] .pv-logo { font-size: 18px; letter-spacing: 0.3em; }
.pv[data-structure="art-deco"] .pv-links { gap: 28px; font-size: 12px; letter-spacing: 0.2em; }
.pv[data-structure="art-deco"] .pv-hero { grid-row: 2; padding-top: 30px; }
.pv[data-structure="art-deco"] .pv-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pv[data-structure="art-deco"] .pv-kicker::before,
.pv[data-structure="art-deco"] .pv-kicker::after { content: ""; width: 48px; height: 1px; background: var(--line); }
.pv[data-structure="art-deco"] .pv-title { font-size: clamp(40px, 9cqi, 88px); line-height: 1.05; }
.pv[data-structure="art-deco"] .pv-lede { margin-inline: auto; }
.pv[data-structure="art-deco"] .pv-cta { padding: 12px 28px; font-size: 12px; letter-spacing: 0.2em; }
.pv[data-structure="art-deco"] .pv-art {
  grid-row: 2;
  align-self: start;
  width: min(86cqi, 640px);
  aspect-ratio: 2 / 1;
  z-index: -1;
  background: repeating-conic-gradient(from -90deg at 50% 100%, color-mix(in oklch, var(--line) 30%, transparent) 0deg 3deg, transparent 3deg 12deg);
  -webkit-mask-image: radial-gradient(circle at 50% 100%, transparent 0 38%, #000 50%, transparent 71%);
  mask-image: radial-gradient(circle at 50% 100%, transparent 0 38%, #000 50%, transparent 71%);
}
.pv[data-structure="art-deco"] .pv-art i { display: none; }
.pv[data-structure="art-deco"]:not([data-img="none"]) .pv-page { row-gap: 18px; padding-block: 32px; }
.pv[data-structure="art-deco"]:not([data-img="none"]) .pv-hero { padding-top: 0; }
.pv[data-structure="art-deco"]:not([data-img="none"]) .pv-art { align-self: stretch; aspect-ratio: auto; }
.pv[data-structure="art-deco"]:not([data-img="none"]) .pv-title { font-size: clamp(40px, 7.6cqi, 80px); }
.pv[data-structure="art-deco"]:not([data-img="none"]) .pv-cta { margin-top: 16px; }
.pv[data-structure="art-deco"]:not([data-img="none"]) .pv-cell { padding-block: 16px; }
.pv[data-structure="art-deco"] .pv-img {
  position: relative;
  width: min(20cqi, 176px);
  aspect-ratio: 3 / 2;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 999px 999px 0 0;
  outline: 1px solid var(--line);
  outline-offset: 5px;
  overflow: hidden;
  background: var(--surface);
}
.pv[data-structure="art-deco"] .pv-cells { width: 100%; gap: 0; border-block: 1px solid var(--line); }
.pv[data-structure="art-deco"] .pv-cell { padding: 24px 18px; background: transparent; }
.pv[data-structure="art-deco"] .pv-cell + .pv-cell { border-left: 1px solid var(--line); }
.pv[data-structure="art-deco"] .c2 { background: var(--surface); }
.pv[data-structure="art-deco"] .pv-cell b { font-size: 34px; color: var(--accent-text); }
.pv[data-structure="art-deco"] .pv-foot { letter-spacing: 0.2em; }

/* 孟菲斯：错位拼贴，黑描边，硬投影 */
.pv[data-structure="memphis"] .pv-page { grid-template-columns: 1.15fr 1fr; column-gap: 24px; row-gap: 30px; }
.pv[data-structure="memphis"] .pv-nav { grid-column: 1 / -1; }
.pv[data-structure="memphis"] .pv-logo { padding: 3px 10px; background: var(--accent3); color: var(--on-accent3); border: 3px solid var(--line); border-radius: 999px; }
.pv[data-structure="memphis"] .pv-hero { grid-column: 1; grid-row: 2; }
.pv[data-structure="memphis"] .pv-title { font-size: clamp(38px, 8.4cqi, 84px); line-height: 1.02; text-shadow: 4px 4px 0 var(--accent); }
.pv[data-structure="memphis"] .pv-cta { border: 3px solid var(--line); border-radius: 999px; box-shadow: 5px 5px 0 var(--line); }
.pv[data-structure="memphis"] .pv-art { grid-column: 2; grid-row: 2; min-height: 300px; }
.pv[data-structure="memphis"] .d1 { top: 6px; right: 8%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--accent2); border: 3px solid var(--line); }
.pv[data-structure="memphis"] .d2 { bottom: 16px; left: 2%; width: 36%; aspect-ratio: 1; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pv[data-structure="memphis"] .d3 {
  top: 58%;
  left: 8%;
  width: 80%;
  height: 26px;
  background: var(--line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='26'%3E%3Cpath d='M0 13 Q10 1 20 13 T40 13' fill='none' stroke='black' stroke-width='5'/%3E%3C/svg%3E") repeat-x left center / 40px 26px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='26'%3E%3Cpath d='M0 13 Q10 1 20 13 T40 13' fill='none' stroke='black' stroke-width='5'/%3E%3C/svg%3E") repeat-x left center / 40px 26px;
}
.pv[data-structure="memphis"] .d4 { bottom: 36px; right: 0; width: 46%; height: 44px; border-radius: 999px; background: var(--accent3); border: 3px solid var(--line); transform: rotate(-8deg); }
.pv[data-structure="memphis"] .pv-art { z-index: 1; }
.pv[data-structure="memphis"] .pv-img { grid-column: 2 / 3; grid-row: 2 / 3; top: 6px; right: 8%; width: 56%; aspect-ratio: 1; border: 3px solid var(--line); border-radius: 50%; box-shadow: 6px 6px 0 var(--line); background: var(--accent2); }
.pv[data-structure="memphis"]:not([data-img="none"]) .d1 { visibility: hidden; }
.pv[data-structure="memphis"] .pv-cells { grid-column: 1 / -1; gap: 24px; }
.pv[data-structure="memphis"] .pv-cell { border: 3px solid var(--line); box-shadow: 6px 6px 0 var(--line); }
.pv[data-structure="memphis"] .c1 { transform: rotate(-2.5deg); }
.pv[data-structure="memphis"] .c2 { transform: rotate(1.8deg); background: var(--accent2); color: var(--on-accent2); }
.pv[data-structure="memphis"] .c2 p { color: inherit; }
.pv[data-structure="memphis"] .c3 { transform: rotate(-1.2deg); border-radius: 28px; }
.pv[data-structure="memphis"] .pv-foot { grid-column: 1 / -1; }

/* 极简主义：大留白，细线，一个焦点 */
.pv[data-structure="minimalism"] .pv-page { row-gap: 0; padding: 40px 48px; }
.pv[data-structure="minimalism"] .pv-nav { font-size: 12px; }
.pv[data-structure="minimalism"] .pv-logo { font-size: 14px; }
.pv[data-structure="minimalism"] .pv-hero { max-width: 36em; padding: 96px 0 80px; }
.pv[data-structure="minimalism"] .pv-kicker { letter-spacing: 0.04em; }
.pv[data-structure="minimalism"] .pv-title { font-size: clamp(40px, 8cqi, 76px); line-height: 1.02; }
.pv[data-structure="minimalism"] .pv-title span + span { color: var(--muted); }
.pv[data-structure="minimalism"] .pv-cta { padding: 9px 16px; font-weight: 500; }
.pv[data-structure="minimalism"] .pv-art { position: absolute; top: 168px; right: 48px; width: 56px; aspect-ratio: 1; }
.pv[data-structure="minimalism"] .d1 { inset: 0; background: var(--accent); }
.pv[data-structure="minimalism"] .d2,
.pv[data-structure="minimalism"] .d3,
.pv[data-structure="minimalism"] .d4 { display: none; }
.pv[data-structure="minimalism"] .pv-img { top: 150px; right: 48px; width: min(168px, 19cqi); aspect-ratio: 1; background: var(--accent); }
.pv[data-structure="minimalism"]:not([data-img="none"]) .pv-art { visibility: hidden; }
.pv[data-structure="minimalism"] .pv-cells { gap: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.pv[data-structure="minimalism"] .pv-cell { padding: 0; background: transparent; }
.pv[data-structure="minimalism"] .pv-cell b { margin-bottom: 20px; font: 400 12px var(--font-body); color: var(--muted); }
.pv[data-structure="minimalism"] .pv-foot { margin-top: 64px; }

/* 立体主义：碎面叠压，素描辅助线，标题残影 */
.pv[data-structure="cubism"] .pv-page { grid-template-columns: 7fr 5fr; column-gap: 0; row-gap: 26px; }
.pv[data-structure="cubism"] .pv-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(72deg, transparent calc(50% - 0.5px), color-mix(in oklch, var(--line) 35%, transparent) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(-24deg, transparent calc(38% - 0.5px), color-mix(in oklch, var(--line) 30%, transparent) 38%, transparent calc(38% + 0.5px)),
    linear-gradient(8deg, transparent calc(66% - 0.5px), color-mix(in oklch, var(--line) 30%, transparent) 66%, transparent calc(66% + 0.5px));
}
.pv[data-structure="cubism"] .pv-nav { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pv[data-structure="cubism"] .pv-hero { grid-column: 1; grid-row: 2; }
.pv[data-structure="cubism"] .pv-title { font-size: clamp(48px, 11.5cqi, 112px); line-height: 0.92; text-shadow: 0.09em 0.07em 0 color-mix(in oklch, var(--accent2) 55%, transparent); }
.pv[data-structure="cubism"] .pv-art { grid-column: 2; grid-row: 2; min-height: 320px; }
.pv[data-structure="cubism"] .d1 { inset: 0 8% 20% 0; background: color-mix(in oklch, var(--accent3) 78%, transparent); clip-path: polygon(10% 0, 100% 12%, 86% 100%, 0 78%); }
.pv[data-structure="cubism"] .d2 { top: 18%; left: 22%; width: 66%; height: 66%; background: color-mix(in oklch, var(--accent2) 70%, transparent); clip-path: polygon(0 20%, 78% 0, 100% 70%, 30% 100%); }
.pv[data-structure="cubism"] .d3 { top: 44%; left: 0; width: 52%; height: 50%; background: color-mix(in oklch, var(--accent) 75%, transparent); clip-path: polygon(0 0, 100% 30%, 70% 100%, 10% 80%); }
.pv[data-structure="cubism"] .d4 { top: 4%; right: 4%; width: 42%; height: 30%; border: 1px solid var(--line); transform: rotate(12deg); }
.pv[data-structure="cubism"] .d3,
.pv[data-structure="cubism"] .d4 { z-index: 1; }
.pv[data-structure="cubism"] .pv-img { grid-column: 2 / 3; grid-row: 2 / 3; top: 6%; left: 12%; width: 80%; height: 72%; clip-path: polygon(8% 12%, 72% 0, 100% 44%, 80% 100%, 0 84%); background: var(--accent2); }
.pv[data-structure="cubism"] .pv-cells { grid-column: 1 / -1; gap: 0; }
.pv[data-structure="cubism"] .pv-cell { padding: 24px 28px; clip-path: polygon(0 5%, 100% 0, 97% 100%, 2% 95%); }
.pv[data-structure="cubism"] .c2 { margin: 14px 0 0 -18px; background: var(--accent3); color: var(--on-accent3); }
.pv[data-structure="cubism"] .c3 { margin-left: -18px; background: var(--accent2); color: var(--on-accent2); }
.pv[data-structure="cubism"] .c2 p,
.pv[data-structure="cubism"] .c3 p { color: inherit; }
.pv[data-structure="cubism"] .pv-foot { grid-column: 1 / -1; }

/* 未来主义：斜向冲刺，标题残影，放射力线 */
.pv[data-structure="futurism"] .pv-page { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
.pv[data-structure="futurism"] .pv-nav { padding-bottom: 12px; border-bottom: 3px solid var(--line); }
.pv[data-structure="futurism"] .pv-hero { padding-left: 40px; }
.pv[data-structure="futurism"] .pv-title {
  font-size: clamp(56px, 13.5cqi, 140px);
  line-height: 0.86;
  transform: skewX(-10deg);
  text-shadow: -0.14em 0 0 color-mix(in oklch, var(--accent) 45%, transparent), -0.28em 0 0 color-mix(in oklch, var(--accent) 20%, transparent);
}
.pv[data-structure="futurism"] .pv-title span + span { margin-left: 1.1em; }
.pv[data-structure="futurism"] .pv-cta { padding: 12px 30px; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.pv[data-structure="futurism"] .pv-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pv[data-structure="futurism"] .pv-art i { top: 26%; left: 66%; width: 130%; transform-origin: 0 50%; }
.pv[data-structure="futurism"] .d1 { height: 2px; background: var(--accent2); transform: rotate(152deg); }
.pv[data-structure="futurism"] .d2 { height: 4px; background: var(--accent2); transform: rotate(167deg); }
.pv[data-structure="futurism"] .d3 { height: 8px; background: var(--accent); transform: rotate(184deg); }
.pv[data-structure="futurism"] .d4 { height: 14px; background: var(--accent3); transform: rotate(201deg); }
.pv[data-structure="futurism"] .pv-img { grid-column: 1 / 2; grid-row: 2 / 3; top: 0; bottom: 0; right: 0; width: 36%; clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%); background: var(--accent); }
.pv[data-structure="futurism"] .pv-cells { gap: 10px; }
.pv[data-structure="futurism"] .pv-cell { padding: 20px 36px; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.pv[data-structure="futurism"] .pv-cell b { font-size: 40px; transform: skewX(-10deg); }
.pv[data-structure="futurism"] .c1 { background: var(--accent); color: var(--on-accent); }
.pv[data-structure="futurism"] .c3 { background: var(--accent2); color: var(--on-accent2); }
.pv[data-structure="futurism"] .c1 p,
.pv[data-structure="futurism"] .c3 p { color: inherit; }

/* 至上主义：白色虚空里漂浮的倾斜色面 */
.pv[data-structure="suprematism"] .pv-page { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 26px; }
.pv[data-structure="suprematism"] .pv-nav { grid-column: 1 / -1; }
.pv[data-structure="suprematism"] .pv-hero { grid-column: 1 / 8; grid-row: 2; padding-top: 28px; }
.pv[data-structure="suprematism"] .pv-title { font-size: clamp(36px, 7.6cqi, 76px); line-height: 1; transform: rotate(-6deg); transform-origin: left center; margin-bottom: 0.6em; }
.pv[data-structure="suprematism"] .pv-art { grid-column: 8 / -1; grid-row: 2; min-height: 300px; }
.pv[data-structure="suprematism"] .d1 { top: 8%; left: 10%; width: 60%; aspect-ratio: 1; background: var(--accent2); transform: rotate(12deg); }
.pv[data-structure="suprematism"] .d2 { top: 62%; left: -34%; width: 112%; height: 28px; background: var(--accent); transform: rotate(-24deg); }
.pv[data-structure="suprematism"] .d3 { top: 2%; right: 2%; width: 18%; aspect-ratio: 1; background: var(--accent); transform: rotate(-8deg); }
.pv[data-structure="suprematism"] .d4 { top: 88%; left: 4%; width: 86%; height: 6px; background: var(--accent3); transform: rotate(7deg); }
.pv[data-structure="suprematism"] .pv-art { z-index: 1; }
.pv[data-structure="suprematism"] .pv-img { grid-column: 8 / -1; grid-row: 2 / 3; top: 8%; left: 10%; width: 60%; aspect-ratio: 1; transform: rotate(12deg); background: var(--accent2); }
.pv[data-structure="suprematism"]:not([data-img="none"]) .d1 { visibility: hidden; }
.pv[data-structure="suprematism"] .pv-cells { grid-column: 1 / -1; grid-template-columns: 5fr 4fr 3fr; gap: 30px; align-items: start; }
.pv[data-structure="suprematism"] .c1 { transform: rotate(-4deg); background: var(--accent2); color: var(--on-accent2); }
.pv[data-structure="suprematism"] .c2 { transform: rotate(6deg) translateY(26px); }
.pv[data-structure="suprematism"] .c3 { transform: rotate(-14deg); background: var(--accent); color: var(--on-accent); }
.pv[data-structure="suprematism"] .c1 p,
.pv[data-structure="suprematism"] .c3 p { color: inherit; }
.pv[data-structure="suprematism"] .pv-foot { grid-column: 1 / -1; margin-top: 30px; }

/* 达达：剪报拼贴，勒索信字体，乱盖的印章 */
.pv[data-structure="dada"] .pv-page { grid-template-columns: 1.2fr 1fr; column-gap: 20px; row-gap: 22px; }
.pv[data-structure="dada"] .pv-nav { grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pv[data-structure="dada"] .pv-logo { padding: 2px 8px; background: var(--ink); color: var(--bg); transform: rotate(-2deg); }
.pv[data-structure="dada"] .pv-hero { grid-column: 1; grid-row: 2; }
.pv[data-structure="dada"] .pv-kicker { display: inline-block; padding: 2px 6px; border: 1px solid var(--line); transform: rotate(-3deg); }
.pv[data-structure="dada"] .pv-title { font-size: clamp(44px, 10cqi, 100px); line-height: 1; }
.pv[data-structure="dada"] .pv-title span:last-child {
  display: inline-block;
  padding: 0 0.15em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82em;
  background: var(--accent2);
  color: var(--on-accent2);
  transform: rotate(3deg) translateX(0.4em);
}
.pv[data-structure="dada"] .pv-lede { display: inline-block; padding: 8px 10px; background: var(--surface); color: var(--ink); box-shadow: 2px 2px 0 var(--line); transform: rotate(1.2deg); }
.pv[data-structure="dada"] .pv-cta { transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--line); }
.pv[data-structure="dada"] .pv-art { grid-column: 2; grid-row: 2; min-height: 300px; }
.pv[data-structure="dada"] .d1 { top: 4%; right: 8%; width: 120px; aspect-ratio: 1; border-radius: 50%; border: 6px double var(--accent); transform: rotate(-14deg); }
.pv[data-structure="dada"] .d2 { top: 38%; left: 0; width: 80%; height: 90px; outline: 1px solid var(--line); background: radial-gradient(circle, var(--ink) 0 2px, transparent 2.5px) 0 0 / 8px 8px; transform: rotate(4deg); }
.pv[data-structure="dada"] .d3 { bottom: 14%; left: 10%; width: 70%; height: 22px; background: var(--ink); transform: rotate(-6deg); }
.pv[data-structure="dada"] .d4 { top: 30%; left: 34%; width: 40%; height: 26px; background: color-mix(in oklch, var(--accent2) 80%, transparent); transform: rotate(-32deg); }
.pv[data-structure="dada"] .d1,
.pv[data-structure="dada"] .d4 { z-index: 1; }
.pv[data-structure="dada"] .pv-img { grid-column: 2 / 3; grid-row: 2 / 3; top: 6%; left: 2%; width: 76%; aspect-ratio: 4 / 3; padding: 6px; background: var(--surface); box-shadow: 2px 2px 0 var(--line); transform: rotate(-3deg); }
.pv[data-structure="dada"]:not([data-img="none"]) .d2 { top: auto; bottom: 4%; left: 30%; width: 66%; height: 64px; }
.pv[data-structure="dada"]:not([data-img="none"]) .d3 { bottom: 26%; left: 48%; width: 44%; }
.pv[data-structure="dada"]:not([data-img="none"]) .d4 { top: 2%; left: 26%; width: 30%; height: 24px; transform: rotate(-7deg); }
.pv[data-structure="dada"] .pv-cells { grid-column: 1 / -1; gap: 18px; }
.pv[data-structure="dada"] .pv-cell { position: relative; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 2px 2px 0 var(--line); }
.pv[data-structure="dada"] .c1 { transform: rotate(-2deg); }
.pv[data-structure="dada"] .c2 { transform: rotate(3deg) translateY(10px); }
.pv[data-structure="dada"] .c2 b { font-family: var(--font-body); font-weight: 700; }
.pv[data-structure="dada"] .c3 { transform: rotate(-1deg); }
.pv[data-structure="dada"] .c2::after {
  content: "№ 07";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 6px;
  font: 700 11px var(--font-body);
  color: var(--accent-text);
  border: 2px solid currentColor;
  transform: rotate(12deg);
}
.pv[data-structure="dada"] .pv-foot { grid-column: 1 / -1; }

/* 质感：只铺在页面底色上，不盖住文字 */
.pv[data-texture="none"] .pv-tex { display: none; }

.pv[data-texture="grain"] .pv-tex,
.pv[data-texture="paper"] .pv-tex {
  background: var(--ink);
  opacity: calc(var(--tex-level) * 0.55);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.pv[data-texture="paper"] .pv-tex {
  opacity: calc(var(--tex-level) * 0.5);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .22' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.2 -1.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .22' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.2 -1.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

.pv[data-texture="halftone"] .pv-tex {
  background: var(--ink);
  opacity: calc(var(--tex-level) * 0.32);
  -webkit-mask: radial-gradient(circle, #000 0 1.6px, transparent 2.1px) 0 0 / 7px 7px;
  mask: radial-gradient(circle, #000 0 1.6px, transparent 2.1px) 0 0 / 7px 7px;
}

.pv[data-texture="lines"] .pv-tex {
  background: var(--line);
  opacity: calc(var(--tex-level) * 0.5);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 7px);
  mask: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 7px);
}

.pv[data-texture="dots"] .pv-tex {
  opacity: calc(var(--tex-level) * 1.6);
  background:
    radial-gradient(circle, var(--accent2) 0 5px, transparent 5.5px) 0 0 / 72px 72px,
    radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px) 36px 36px / 72px 72px;
}

.pv[data-texture="wash"] .pv-tex {
  opacity: calc(var(--tex-level) * 1.5);
  background:
    radial-gradient(55% 38% at 82% 18%, color-mix(in oklch, var(--ink) 20%, transparent), transparent 70%),
    radial-gradient(42% 30% at 12% 88%, color-mix(in oklch, var(--ink) 16%, transparent), transparent 70%),
    radial-gradient(30% 22% at 58% 62%, color-mix(in oklch, var(--ink) 9%, transparent), transparent 70%);
}

.pv[data-texture="dapple"] .pv-tex {
  inset: -30%;
  opacity: calc(var(--tex-level) * 0.6);
  transform: rotate(-24deg);
  background:
    radial-gradient(24px 7px at 30% 40%, var(--accent2) 0 80%, transparent 100%) 0 0 / 92px 68px,
    radial-gradient(19px 6px at 70% 22%, var(--accent3) 0 80%, transparent 100%) 0 0 / 113px 83px,
    radial-gradient(28px 8px at 50% 72%, var(--accent) 0 80%, transparent 100%) 0 0 / 151px 97px,
    radial-gradient(21px 6px at 22% 80%, var(--surface) 0 80%, transparent 100%) 0 0 / 67px 59px;
}

.pv[data-texture="stipple"] .pv-tex {
  opacity: calc(var(--tex-level) * 0.75);
  background:
    radial-gradient(circle, var(--accent) 0 1.3px, transparent 1.7px) 0 0 / 9px 9px,
    radial-gradient(circle, var(--accent2) 0 1.3px, transparent 1.7px) 3px 5px / 11px 11px,
    radial-gradient(circle, var(--accent3) 0 1.3px, transparent 1.7px) 6px 2px / 13px 13px,
    radial-gradient(circle, var(--line) 0 1.1px, transparent 1.5px) 1px 8px / 7px 7px;
}

.pv[data-texture="vignette"] .pv-tex {
  opacity: calc(var(--tex-level) * 1.4);
  background: radial-gradient(ellipse 75% 65% at 30% 22%, transparent 0 32%, color-mix(in oklch, var(--bg) 35%, black) 100%);
}

.pv[data-texture="sky"] .pv-tex {
  opacity: calc(var(--tex-level) * 1.3);
  background: linear-gradient(to bottom, color-mix(in oklch, var(--accent) 42%, transparent), color-mix(in oklch, var(--accent2) 18%, transparent) 42%, transparent 68%);
}

.pv[data-texture="speed"] .pv-tex {
  background: var(--line);
  opacity: calc(var(--tex-level) * 0.45);
  -webkit-mask: repeating-linear-gradient(-18deg, #000 0 1px, transparent 1px 11px);
  mask: repeating-linear-gradient(-18deg, #000 0 1px, transparent 1px 11px);
}

.pv[data-texture="silk"] .pv-tex {
  background: var(--line);
  opacity: calc(var(--tex-level) * 0.3);
  -webkit-mask: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 4px);
  mask: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 4px);
}

.pv[data-texture="gouge"] .pv-tex {
  background: var(--ink);
  opacity: calc(var(--tex-level) * 0.22);
  -webkit-mask: repeating-linear-gradient(62deg, #000 0 3px, transparent 3px 11px, #000 11px 12px, transparent 12px 23px);
  mask: repeating-linear-gradient(62deg, #000 0 3px, transparent 3px 11px, #000 11px 12px, transparent 12px 23px);
}

.pv[data-texture="fresco"] .pv-tex {
  opacity: calc(var(--tex-level) * 1.4);
  background:
    radial-gradient(40% 30% at 20% 30%, color-mix(in oklch, var(--muted) 22%, transparent), transparent 70%),
    radial-gradient(35% 28% at 75% 65%, color-mix(in oklch, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(28% 24% at 55% 15%, color-mix(in oklch, var(--surface) 70%, transparent), transparent 70%),
    radial-gradient(30% 20% at 10% 85%, color-mix(in oklch, var(--accent2) 14%, transparent), transparent 70%);
}

.pv[data-texture="fresco"] .pv-tex::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0.22;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 窄画框：所有结构收成单栏 */
@container (max-width: 560px) {
  .pv .pv-page { grid-template-columns: minmax(0, 1fr) !important; padding: 20px; }
  .pv .pv-page > *,
  .pv[data-structure="de-stijl"] .pv-cell { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .pv .pv-cells { grid-template-columns: minmax(0, 1fr) !important; margin-top: 0 !important; }
  .pv .pv-links { display: none; }
  .pv[data-structure="bauhaus"] .pv-art,
  .pv[data-structure="memphis"] .pv-art { min-height: 180px; }
  .pv[data-structure="bauhaus"] .pv-art { width: 70%; justify-self: end; }
  .pv[data-structure="de-stijl"] .pv-page { grid-template-rows: none; padding: 6px; gap: 6px; }
  .pv[data-structure="de-stijl"] .pv-hero { min-height: 0; }
  .pv[data-structure="de-stijl"] .pv-art { min-height: 120px; }
  .pv[data-structure="constructivism"] .pv-art { position: absolute !important; }
  .pv[data-structure="art-deco"] .pv-art,
  .pv[data-structure="art-deco"] .pv-hero { grid-row: 2 !important; }
  .pv[data-structure="art-deco"] .pv-cell + .pv-cell { border-left: 0; border-top: 1px solid var(--line); }
  .pv[data-structure="minimalism"] .pv-hero { padding: 64px 0 56px; }
  .pv[data-structure="minimalism"] .pv-page { padding: 24px 20px; }
  .pv[data-structure="minimalism"] .pv-art { position: absolute !important; top: 110px; right: 20px; width: 36px; }
  .pv[data-structure="cubism"] .pv-cell { margin: 0 !important; }
  .pv[data-structure="cubism"] .pv-art,
  .pv[data-structure="suprematism"] .pv-art,
  .pv[data-structure="dada"] .pv-art { min-height: 200px; }
  .pv[data-structure="futurism"] .pv-hero { padding-left: 20px; }
  .pv[data-structure="suprematism"] .c2 { transform: rotate(4deg); }
  .pv[data-structure="suprematism"] .c3 { transform: rotate(-5deg); }
  .pv[data-structure="bauhaus"] .pv-page > .pv-img,
  .pv[data-structure="de-stijl"] .pv-page > .pv-img,
  .pv[data-structure="memphis"] .pv-page > .pv-img,
  .pv[data-structure="cubism"] .pv-page > .pv-img,
  .pv[data-structure="suprematism"] .pv-page > .pv-img,
  .pv[data-structure="dada"] .pv-page > .pv-img { grid-row: 3 / 4 !important; }
  .pv[data-structure="bauhaus"] .pv-img { width: 50%; }
  .pv[data-structure="constructivism"] .pv-img { justify-self: end; width: 84%; margin: 8px 6px 0 0; }
  .pv[data-structure="futurism"] .pv-img { position: relative; height: 120px; width: auto; }
  .pv[data-structure="art-deco"] .pv-img { width: 46cqi; }
  .pv[data-structure="minimalism"] .pv-img { top: 104px; right: 20px; width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .pv { transition: none; }
}
