/* 艺栖阁宣传站样式（与管理端 / H5 展页资源分离） */
:root {
  --bg: #f5f5f7;
  --bg2: #fff;
  --ink: #1d1d1f;
  --mute: #6e6e73;
  --line: rgba(0,0,0,.08);
  --blue: #0071e3;
  --blue-h: #0077ed;
  --ad-primary: #8b4513;
  --ad-primary-h: #6d3610;
  --ad-sidebar: #241610;
  --ad-header: #2c1810;
  --ad-gold: #c9a227;
  --ad-bg: #f4f6f8;
  --ad-border: #d8dee6;
  --ad-text: #1f2933;
  --ad-muted: #6b7280;
  --ad-ok: #2e7d32;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.display { font-family: "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.03em; line-height: 1.05; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(180%) blur(16px);
  background: rgba(245,245,247,.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1120px, calc(100% - 1.5rem)); margin: 0 auto;
  min-height: 64px; padding: .55rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.nav-brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: .12rem;
  flex-shrink: 0; line-height: 1.05;
}
.nav-name {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em;
}
.nav-tagline {
  display: block;
  font-size: .68rem; font-weight: 500; color: var(--mute);
  letter-spacing: .04em; white-space: nowrap;
}
.nav-products {
  display: flex; align-items: center; gap: 2.85rem;
  font-size: .72rem; font-weight: 500; color: var(--mute);
  white-space: nowrap;
}
.nav-products a {
  position: relative;
  padding: .2rem 0;
}
.nav-products a:hover { color: var(--ink); }
.nav-products a[aria-current="page"] {
  color: var(--ink); font-weight: 600;
}
.nav-products a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -.28rem;
  height: 1.5px; background: var(--ink); border-radius: 1px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.2rem; padding: 0 1.05rem; border-radius: 980px;
  background: var(--blue); color: #fff; font-size: .875rem; font-weight: 600;
  transition: background .2s;
}
.btn:hover { background: var(--blue-h); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.nav-actions {
  display: flex; align-items: baseline; gap: .7rem;
  flex-shrink: 0; font-size: .8rem; white-space: nowrap;
}
.nav-cta-role { color: var(--mute); font-weight: 500; }
.nav-cta-sep { color: var(--mute); font-weight: 400; }
.nav-text {
  font-weight: 600; color: var(--ink);
}
.nav-text:hover { color: var(--blue); }
.nav-text:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14);
}
.btn-ghost:hover { background: rgba(0,0,0,.04); }
.btn-outline {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.18);
}
.btn-outline:hover { background: rgba(0,0,0,.04); }
.cta-dual { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn-lg { height: 2.65rem; padding: 0 1.35rem; font-size: .95rem; }
@media (max-width: 640px) {
  .nav-inner { gap: .55rem; }
  .nav-name { font-size: 1.18rem; }
  .nav-tagline { font-size: .58rem; letter-spacing: .02em; }
  .nav-products { gap: 1.35rem; font-size: .7rem; }
  .nav-actions { gap: .45rem; font-size: .72rem; }
}

.fcard .pic.skel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), transparent 42%),
    linear-gradient(165deg, #efeae3 0%, #d8d0c6 100%);
}
.flow-tabs span.flow-tab {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: default;
}

.hero { padding: 3.5rem 0 0; text-align: center; background: var(--bg); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); font-weight: 800; }
.hero .lead {
  margin: .85rem auto 1.75rem; max-width: 28em;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--mute); font-weight: 500;
  line-height: 1.45;
}

.band { padding: 4.5rem 0; }
.band-white { background: var(--bg2); }
.band-gray { background: var(--bg); }
.band-dark { background: #000; color: #f5f5f7; }
.band-white .feature { background: var(--bg); }
.band-gray .feature { background: var(--bg2); }
.kicker { text-align: center; margin-bottom: 2rem; }
.kicker h2 { font-size: clamp(1.85rem, 4.5vw, 3rem); font-weight: 800; }
.kicker p { margin-top: .5rem; font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--mute); font-weight: 500; }
.band-dark .kicker p { color: rgba(245,245,247,.55); }
.finale { text-align: center; padding: 4.5rem 0; }
.finale.band-gray { background: var(--bg); }
.finale.band-white { background: var(--bg2); }
.finale h2 { font-size: clamp(1.85rem, 4.5vw, 2.85rem); font-weight: 800; }
.finale p { margin-top: .5rem; color: var(--mute); font-size: 1.1rem; }
.finale .cta { margin-top: 1.35rem; }
footer { border-top: 1px solid var(--line); padding: 1.5rem 0 2.25rem; color: var(--mute); font-size: .8rem; }
.foot-inner {
  width: min(1120px, calc(100% - 2rem)); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between;
}
/* 隐式入口：外观与普通页脚字完全一致，避免普通用户察觉 */
footer a.foot-console,
footer a.foot-console:link,
footer a.foot-console:visited,
footer a.foot-console:hover,
footer a.foot-console:active,
footer a.foot-console:focus {
  color: inherit;
  text-decoration: none;
  cursor: inherit;
  outline: none;
  box-shadow: none;
}

/* Device shell — no user interaction */
.device {
  width: min(1040px, calc(100% - 1rem));
  margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  background: var(--ad-bg);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: none;
  text-align: left; color: var(--ad-text);
  pointer-events: none; user-select: none;
}
.device-caption {
  text-align: center; padding: 1rem 0 2.25rem;
  font-size: .72rem; color: var(--mute); letter-spacing: .04em;
}
.stage-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 auto .85rem; padding: .3rem .7rem;
  border-radius: 980px; background: rgba(0,0,0,.06);
  font-size: .72rem; font-weight: 600; color: var(--mute);
}
.stage-tag b { color: var(--ad-primary); font-weight: 700; }

.app { display: block; height: 520px; }
.main { display: flex; flex-direction: column; height: 100%; min-width: 0; background: var(--ad-bg); }
.stage-body { position: relative; flex: 1; min-height: 0; height: 0; }
.topbar {
  background: var(--ad-header); color: rgba(255,255,255,.88);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .5rem .7rem; font-size: .76rem;
}
.topbar strong { color: #fff; font-weight: 600; }
.ad-btn {
  height: 26px; padding: 0 .55rem; border-radius: 6px;
  background: rgba(255,255,255,.1); color: #fff; font-size: .7rem; font-weight: 600;
  display: inline-flex; align-items: center;
}
.ad-btn.primary { background: var(--ad-primary); }
.filters {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  padding: .5rem .7rem; background: #fff; border-bottom: 1px solid var(--ad-border);
  font-size: .7rem; color: var(--ad-muted);
}
.filters .pill {
  height: 26px; padding: 0 .55rem; border: 1px solid var(--ad-border);
  border-radius: 6px; display: inline-flex; align-items: center; background: #fff;
}
.filters .spacer { flex: 1; min-width: .5rem; }

/* View icons: list / waterfall / layout */
.view-icons {
  display: inline-flex; border: 1px solid var(--ad-border); border-radius: 8px; overflow: hidden;
  background: #fff;
}
.view-icons .vi {
  width: 34px; height: 28px; display: grid; place-items: center;
  color: var(--ad-muted); border-right: 1px solid var(--ad-border);
  transition: background .25s, color .25s;
}
.view-icons .vi:last-child { border-right: 0; }
.view-icons .vi.on { background: #f3f0eb; color: var(--ad-primary); }
.view-icons svg { width: 16px; height: 16px; display: block; }

.pane {
  display: none; flex-direction: column;
  position: absolute; inset: 0; overflow: hidden;
}
.pane.on { display: flex; }

/* LIST view */
.list-pane { background: #fff; padding: .55rem .65rem; overflow: auto; }
.list-table { width: 100%; border-collapse: collapse; font-size: .7rem; }
.list-table th {
  text-align: left; font-weight: 600; color: var(--ad-muted);
  background: #fafafa; padding: .4rem .45rem; border-bottom: 1px solid #f0f0f0;
}
.list-table td {
  padding: .4rem .45rem; border-bottom: 1px solid #f0f0f0; vertical-align: middle;
}
.list-table tr { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.list-pane.ready .list-table tr { opacity: 1; transform: none; }
.list-pane.ready .list-table tr:nth-child(1) { transition-delay: .05s; }
.list-pane.ready .list-table tr:nth-child(2) { transition-delay: .1s; }
.list-pane.ready .list-table tr:nth-child(3) { transition-delay: .15s; }
.list-pane.ready .list-table tr:nth-child(4) { transition-delay: .2s; }
.list-pane.ready .list-table tr:nth-child(5) { transition-delay: .25s; }
.list-pane.ready .list-table tr:nth-child(6) { transition-delay: .3s; }
.thumb-sm {
  width: 36px; height: 36px; border-radius: 4px; display: inline-block; vertical-align: middle;
  object-fit: cover; background: #ddd;
}
.st-ok { color: var(--ad-ok); font-weight: 700; }
.st-off { color: var(--ad-muted); font-weight: 700; }

/* WATERFALL / masonry */
.falls-pane { background: var(--ad-bg); padding: .65rem; overflow: auto; }
.falls {
  column-count: 2; column-gap: .55rem;
}
@media (min-width: 560px) { .falls { column-count: 3; } }
@media (min-width: 820px) { .falls { column-count: 4; column-gap: .65rem; } }
.fcard {
  break-inside: avoid; margin-bottom: .55rem;
  background: #fff; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--ad-border);
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
}
.falls-pane.ready .fcard { opacity: 1; transform: none; }
.falls-pane.ready .fcard:nth-child(1) { transition-delay: .04s; }
.falls-pane.ready .fcard:nth-child(2) { transition-delay: .1s; }
.falls-pane.ready .fcard:nth-child(3) { transition-delay: .16s; }
.falls-pane.ready .fcard:nth-child(4) { transition-delay: .22s; }
.falls-pane.ready .fcard:nth-child(5) { transition-delay: .28s; }
.falls-pane.ready .fcard:nth-child(6) { transition-delay: .34s; }
.fcard .pic {
  position: relative; width: 100%; background: #ddd;
  background-size: cover; background-position: center;
}
.fcard .pic.h1 { aspect-ratio: 4/5; }
.fcard .pic.h2 { aspect-ratio: 5/4; }
.fcard .pic.h3 { aspect-ratio: 3/4; }
.fcard .pic.h4 { aspect-ratio: 1/1; }
.fcard .badge {
  position: absolute; left: 5px; top: 5px; background: rgba(0,0,0,.55); color: #fff;
  font-size: .58rem; padding: 2px 5px; border-radius: 3px;
}
.fcard .meta {
  position: absolute; right: 5px; bottom: 5px; background: rgba(0,0,0,.5); color: #fff;
  font-size: .58rem; padding: 2px 5px; border-radius: 3px;
}
.fcard .foot {
  display: flex; justify-content: space-between; gap: .3rem;
  padding: .4rem .45rem; font-size: .68rem;
}
.fcard.frozen { filter: grayscale(.85); opacity: .75; }

/* LAYOUT mode — multi boards like real product */
.layout-pane { background: #eceae6; }
.lt-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  padding: .4rem .55rem; background: #f7f6f4; border-bottom: 1px solid #e0ddd7;
  font-size: .68rem; color: #666;
}
.lt-bar .ico {
  width: 26px; height: 26px; border-radius: 5px; background: #fff;
  border: 1px solid #ddd; display: grid; place-items: center; color: #777;
}
.lt-bar .stat { margin-left: auto; color: #888; padding: 0 .35rem; }
.lt-bar .tag {
  background: #fff3c4; color: #8a6d00; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; border: 1px solid #e6d48a;
}
.boards-row {
  display: flex; gap: .7rem; overflow-x: auto; overflow-y: hidden;
  padding: .55rem .7rem .35rem; flex: 1; min-height: 0;
  align-items: stretch;
}
.board {
  flex: 0 0 110px;
  display: flex; flex-direction: column; min-height: 0;
}
@media (min-width: 640px) { .board { flex-basis: 124px; } }
@media (min-width: 900px) { .board { flex-basis: 138px; } }
.board .tab {
  font-size: .68rem; font-weight: 600; color: #444;
  margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 0 0 auto;
}
.board .wall {
  position: relative; flex: 1;
  background: #f3f1ec;
  border: 1px solid #d5d0c6;
  box-shadow: 0 8px 20px -14px rgba(0,0,0,.35);
  min-height: 0;
}
.board .dim {
  text-align: center; margin-top: .25rem;
  font-size: .62rem; color: #999; letter-spacing: .02em;
  flex: 0 0 auto;
}
.board.empty .wall {
  display: grid; place-items: center;
  color: #bbb; font-size: .72rem;
}
.hang {
  position: absolute;
  background: #222;
  border: 2px solid #faf7f0;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(-18px) scale(.92);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.hang.in { opacity: 1; transform: none; }
.hang .fill {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
}

.strip {
  display: flex; gap: .4rem; overflow-x: auto; overflow-y: hidden;
  padding: .45rem .7rem .55rem; background: #fff;
  border-top: 1px solid #e5e2dc;
  flex: 0 0 auto;
}
.strip-item {
  flex: 0 0 56px; width: 56px; border-radius: 5px; overflow: hidden;
  border: 1px solid #e5e2dc; position: relative; background: #eee;
  opacity: .35; transition: opacity .4s, transform .4s;
}
.strip-item.avail { opacity: 1; }
.strip-item.gone { opacity: .22; transform: scale(.92); }
.strip-item .fill {
  aspect-ratio: 3/4;
  background-size: cover; background-position: center;
}
.strip-item .t {
  position: absolute; inset: auto 0 0; background: rgba(0,0,0,.55);
  color: #fff; font-size: .5rem; padding: 2px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Product flow demos — same chrome as hero device */
.flow-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem;
  margin: 0 auto 1.35rem; max-width: 36rem;
}
.flow-tab {
  min-width: 5.5rem; height: 2.35rem; padding: 0 1rem;
  border-radius: 980px; border: 1px solid var(--line);
  background: #fff; color: var(--mute); font-size: .88rem; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.flow-tab:hover { color: var(--ink); border-color: rgba(0,0,0,.18); }
.flow-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.flow-tab.on {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 8px 20px -12px rgba(0,0,0,.55);
}
.flow-blurb {
  text-align: center; max-width: 28rem; margin: -.35rem auto 1.15rem;
  font-size: .95rem; color: var(--mute); font-weight: 500; min-height: 2.6em;
}
.device.device-flow {
  width: min(1040px, calc(100% - 1rem));
  pointer-events: auto;
}
.device.device-flow .app { height: 540px; }
.flow-caption {
  text-align: center; padding: 1rem 0 0;
  font-size: .72rem; color: var(--mute); letter-spacing: .04em;
}

/* —— Layout studio demo —— */
.layout-pane.rich { background: #eceae6; }
.lt-bar.rich {
  gap: .28rem; flex-wrap: nowrap; overflow: visible;
  align-items: center;
}
.lt-tool {
  height: 26px; padding: 0 .42rem; border-radius: 5px;
  border: 1px solid #ddd; background: #fff; color: #666;
  font-size: .6rem; font-weight: 700; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .2rem;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
}
.lt-tool.on {
  background: #2c1810; color: #fff; border-color: #2c1810;
  box-shadow: 0 0 0 2px rgba(44,24,16,.12);
}
/* 闪一下提示操作，保持褐金开态，避免蓝闪与成组选中混淆 */
.lt-tool.flash { animation: lt-tool-flash .48s ease; }
@keyframes lt-tool-flash {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(201, 162, 39, .45); }
}
.lt-sep {
  width: 1px; height: 16px; background: #ddd; flex: 0 0 auto; margin: 0 .1rem;
}
.lt-step {
  margin-left: auto; flex: 0 0 auto;
  color: #6b6358; font-weight: 600;
  padding: 3px 2px; font-size: .6rem; white-space: nowrap;
  letter-spacing: .02em;
}
.lt-step::before {
  content: "演示 · ";
  color: #9a9084; font-weight: 500;
}
.lt-align-wrap { position: relative; flex: 0 0 auto; display: inline-flex; }
.align-fly {
  position: absolute; top: calc(100% + 6px); right: 0; left: auto; z-index: 30;
  display: none; gap: 2px; padding: 4px;
  background: #fff; border: 1px solid #ddd; border-radius: 6px;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.5);
}
.align-fly.show { display: flex; }
.align-fly button {
  width: 26px; height: 26px; border: 0; border-radius: 4px;
  background: transparent; color: #555;
  display: grid; place-items: center; padding: 0;
}
.align-fly button svg {
  width: 15px; height: 15px; display: block;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.align-fly button.on { background: #2c1810; color: #fff; }
.studio-wrap {
  position: relative;
  flex: 1; min-height: 0; display: flex; justify-content: center;
  align-items: stretch; gap: .65rem;
  padding: .55rem .7rem .35rem;
  /* 勿用 overflow-x:auto：单轴 auto 会把另一轴也变成可滚动，拖作品时易出滚动条 */
  overflow: hidden;
}
.studio-board {
  width: min(200px, 38vw); height: 100%;
  display: flex; flex-direction: column; min-height: 0;
  flex: 0 0 auto;
  transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .4s;
  will-change: transform;
}
.studio-board.is-ghost {
  opacity: 0; transform: translateX(28px) scale(.94);
  pointer-events: none; visibility: hidden;
  position: absolute;
}
.studio-board.is-in {
  opacity: 1; transform: none; visibility: visible; position: relative;
}
.studio-board.is-lift {
  /* 仅抬起，横向位移由 inline transform 统一控制，避免 class/inline 互相覆盖 */
  z-index: 2;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.18));
}
.studio-board.is-reorder-commit {
  transition: none !important;
}
.studio-board.is-active .tab { color: #1677ff; }
.studio-board.is-active .studio-wall {
  box-shadow: 0 0 0 2px rgba(22,119,255,.35), 0 10px 24px -14px rgba(0,0,0,.4);
}
.studio-board .tab {
  font-size: .68rem; font-weight: 600; color: #444; margin-bottom: .25rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: grab; user-select: none;
}
.studio-wall {
  position: relative; flex: 1; min-height: 0;
  background: #f3f1ec; border: 1px solid #d5d0c6;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.4);
  overflow: hidden;
}
.studio-wall.is-empty::before {
  content: "空展板"; position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  color: #bbb; font-size: .72rem; pointer-events: none;
  transition: opacity .3s;
}
.studio-wall:not(.is-empty)::before { opacity: 0; }
.studio-wall .dim-mark {
  position: absolute; left: 0; right: 0; bottom: 4px; z-index: 2;
  text-align: center; font-size: .58rem; color: rgba(0,0,0,.28); pointer-events: none;
}
.safe-box {
  position: absolute; inset: 8%; z-index: 3;
  border: 1.5px dashed rgba(201, 48, 44, .55);
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.safe-box.show { opacity: 1; }
.safe-box::after {
  content: "安全范围"; position: absolute; top: -1.1rem; left: 0;
  font-size: .52rem; color: rgba(201,48,44,.85); font-weight: 700;
  letter-spacing: .04em;
}
.grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  transition: opacity .35s;
  background-image:
    linear-gradient(to right, rgba(80,90,110,.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(80,90,110,.14) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
}
.grid-overlay.show { opacity: 1; }
.guide-v, .guide-h {
  position: absolute; z-index: 8; pointer-events: none; opacity: 0;
  transition: opacity .2s;
}
.guide-v {
  top: 0; bottom: 0; width: 0; border-left: 2px solid #ff4d4f;
  left: 50%;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.9));
}
.guide-h {
  left: 0; right: 0; height: 0; border-top: 2px solid #ff4d4f;
  top: 42%;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.9));
}
.guide-v.show, .guide-h.show { opacity: 1; }
.guide-v::after, .guide-h::after {
  position: absolute; font-size: .48rem; font-weight: 700;
  color: #ff4d4f; background: rgba(255,255,255,.88);
  padding: 1px 4px; border-radius: 2px; white-space: nowrap;
}
.guide-v::after { content: "竖对齐"; top: 6px; left: 3px; }
.guide-h::after { content: "横对齐"; left: 6px; top: 3px; }
.group-box {
  position: absolute; z-index: 7; pointer-events: none;
  border: 1.5px solid #1677ff; box-shadow: 0 0 0 1px rgba(22,119,255,.18);
  opacity: 0; transition: opacity .3s, transform .45s cubic-bezier(.16,1,.3,1);
  transform-origin: top left;
}
.group-box.show { opacity: 1; }
.group-box::after {
  content: "成组"; position: absolute; top: -1.05rem; right: 0;
  font-size: .5rem; font-weight: 700; color: #1677ff;
  background: rgba(255,255,255,.9); padding: 1px 4px; border-radius: 2px;
}
.studio-hang {
  position: absolute; z-index: 5;
  /* 默认：仅画心，无相框/外包围（单独步骤再加） */
  background: #222;
  border: 1px solid rgba(0,0,0,.28);
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(-12px) scale(.94);
  transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1),
    left .5s cubic-bezier(.16,1,.3,1), top .5s cubic-bezier(.16,1,.3,1),
    outline-color .25s, box-shadow .45s ease, border .45s ease, background .45s ease;
}
.studio-hang.in { opacity: 1; transform: none; }
.studio-hang.sel {
  outline: 2px solid #1677ff; outline-offset: 3px;
  z-index: 6;
}
.studio-hang.grouped:not(.sel) {
  outline: 1px dashed rgba(22,119,255,.4); outline-offset: 3px;
}
/* 相框（深木色）+ 外包围（浅米色衬边）——演示步骤再挂上 */
.studio-hang.has-frame {
  background: #1a1410;
  border: 3px solid #2a2118;
  box-shadow:
    0 0 0 2px #e8e0d4,
    0 0 0 3px rgba(42,33,24,.35),
    0 6px 14px -6px rgba(0,0,0,.45);
}
.studio-hang.has-frame.show-rings { outline: none; animation: hang-ring-pulse 1.1s ease; }
@keyframes hang-ring-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 2px #e8e0d4,
      0 0 0 3px rgba(42,33,24,.35),
      0 6px 14px -6px rgba(0,0,0,.45);
  }
  45% {
    box-shadow:
      0 0 0 3px #f0e8dc,
      0 0 0 6px rgba(42,33,24,.55),
      0 0 0 8px rgba(201,162,39,.35),
      0 8px 18px -6px rgba(0,0,0,.5);
  }
}
.studio-hang .fill {
  width: 100%; height: 100%; background-size: cover; background-position: center;
}
.studio-hang.has-frame .fill {
  box-shadow: inset 0 0 0 1px rgba(232,224,212,.9);
}
.studio-hang .ring-tag {
  position: absolute; z-index: 4; font-size: .46rem; font-weight: 700;
  padding: 1px 4px; border-radius: 2px; opacity: 0; pointer-events: none;
  transition: opacity .3s; white-space: nowrap;
}
.studio-hang .ring-tag.outer {
  left: -2px; bottom: calc(100% + 14px); transform: translateX(-10%);
  background: #e8e0d4; color: #5a5044; border: 1px solid #cfc5b6;
}
.studio-hang .ring-tag.frame {
  right: -2px; bottom: calc(100% + 14px);
  background: #2a2118; color: #f5efe6;
}
.studio-hang.show-rings .ring-tag { opacity: 1; }
.studio-hang .num {
  position: absolute; left: 3px; top: 3px; z-index: 2;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff; font-size: .52rem; font-weight: 700;
  display: grid; place-items: center; opacity: 0; transition: opacity .3s;
}
.studio-hang .num.show { opacity: 1; }
.studio-hang .hud {
  position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
  white-space: nowrap; background: rgba(0,0,0,.72); color: #fff;
  font-size: .5rem; padding: 2px 5px; border-radius: 3px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.studio-hang.sel .hud { opacity: 1; }
.studio-hang.show-rings.sel .hud { opacity: 0; }
.place-ghost {
  position: absolute; z-index: 12; pointer-events: none;
  border: 2px dashed #1677ff; background: rgba(22,119,255,.12);
  opacity: 0; transition: opacity .25s, transform .4s;
}
.place-ghost.show { opacity: 1; }

/* 演示用：手型光标 / 拖拽幽灵（对照真实 grab 标题 + layout-drag-ghost） */
.demo-cursor {
  position: absolute; z-index: 40; width: 28px; height: 28px;
  pointer-events: none; opacity: 0;
  transition: opacity .2s, transform .55s cubic-bezier(.16,1,.3,1),
    left .6s cubic-bezier(.16,1,.3,1), top .6s cubic-bezier(.16,1,.3,1);
  /* 热点在中心，便于钉在作品正中 */
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.28));
}
.demo-cursor.show { opacity: 1; }
.demo-cursor svg { width: 100%; height: 100%; display: block; }
.demo-cursor.is-grabbing { transform: translate(-50%, -50%) scale(.92); }
.demo-drag-ghost {
  position: absolute; z-index: 35; pointer-events: none;
  border-radius: 2px; overflow: hidden;
  /* 拖入阶段同画心：无相框 */
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  background: #222; border: 1px solid rgba(0,0,0,.28);
  opacity: 0; transform: scale(.96);
  transition: opacity .25s, transform .5s cubic-bezier(.16,1,.3,1),
    left .6s cubic-bezier(.16,1,.3,1), top .6s cubic-bezier(.16,1,.3,1);
}
.demo-drag-ghost.show { opacity: .94; transform: scale(1); }
.demo-drag-ghost .fill {
  width: 100%; height: 100%; background-size: cover; background-position: center;
}
.studio-board.is-title-grab .tab {
  cursor: grabbing; color: #1677ff;
  background: rgba(22,119,255,.08); border-radius: 4px; padding: 0 4px;
}
.studio-board.is-drop-target .studio-wall {
  box-shadow: 0 0 0 2px rgba(22,119,255,.45), 0 10px 24px -14px rgba(0,0,0,.4);
  background: #eef4ff;
}
.studio-hang.is-dragging-src {
  opacity: .28 !important; outline: 1.5px dashed rgba(22,119,255,.55);
}
/* —— Export demo pane —— */
.export-pane { background: var(--ad-bg); }
.export-stage {
  position: relative; flex: 1; min-height: 0;
  display: grid; place-items: center; padding: .7rem;
  overflow: hidden;
}
.export-stage.is-result {
  place-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: .65rem; align-items: stretch;
}
@media (max-width: 700px) {
  .export-stage.is-result { grid-template-columns: 1fr; }
  .export-pdf-col { display: none; }
}
.export-bg-falls {
  position: absolute; inset: .55rem; z-index: 0; column-count: 3; column-gap: .45rem;
  opacity: .22; filter: saturate(.7); pointer-events: none;
  transition: opacity .3s;
}
.export-bg-falls .mini {
  break-inside: avoid; margin-bottom: .45rem; border-radius: 6px;
  background-size: cover; background-position: center; background-color: #ddd;
}
.export-bg-falls .mini.a { aspect-ratio: 5/4; }
.export-bg-falls .mini.b { aspect-ratio: 4/5; }
/* 结果态关掉瀑布流底图，避免透出「怪阴影」 */
.export-stage.is-result .export-bg-falls {
  opacity: 0; visibility: hidden;
}
.export-panel {
  position: relative; z-index: 2; width: min(340px, 92%);
  background: #fff; border: 1px solid var(--ad-border); border-radius: 12px;
  box-shadow: 0 22px 48px -24px rgba(0,0,0,.45);
  padding: .85rem .9rem .95rem;
  opacity: 0; transform: translateY(16px) scale(.97);
  transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
}
.export-pane.ready .export-panel { opacity: 1; transform: none; }
/* 须压过 .export-pane.ready .export-panel，否则勾选卡仍不透明叠在 ZIP 后 */
.export-pane.ready .export-panel.hide,
.export-panel.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  z-index: 0;
  box-shadow: none;
}
.export-stage.is-result .export-panel {
  display: none;
}
.export-panel h4 {
  font-size: .82rem; font-weight: 700; color: var(--ad-text);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.export-panel h4 span { font-size: .68rem; font-weight: 600; color: var(--ad-muted); }
.export-list { margin-top: .55rem; display: grid; gap: .32rem; }
.export-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .38rem .5rem; border-radius: 8px; border: 1px solid #e5e7eb;
  font-size: .7rem; font-weight: 500; color: #5b6570; background: #f7f8fa;
  /* 勿用整行 opacity 淡化：白底上会糊成「看不见字」 */
  transition: color .3s, border-color .3s, background .3s, box-shadow .3s;
}
.export-item.on {
  color: var(--ad-text); border-color: #d7c4b0; background: #fffaf5;
  box-shadow: inset 0 0 0 1px rgba(139, 69, 19, .06);
}
.export-item .ck {
  width: 15px; height: 15px; border-radius: 4px; flex: 0 0 auto;
  border: 1.5px solid #9aa3ad; background: #fff;
  display: grid; place-items: center; color: #fff; font-size: .6rem; font-weight: 800;
  transition: background .25s, border-color .25s;
}
.export-item.on .ck { background: var(--ad-primary); border-color: var(--ad-primary); }
.export-item.sub { margin-left: 1.1rem; font-size: .66rem; color: #6b7280; }
.export-item.sub.on { color: var(--ad-text); }
.export-progress {
  margin-top: .65rem; height: 6px; border-radius: 980px; background: #ececec; overflow: hidden;
}
.export-progress > i {
  display: block; height: 100%; width: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--ad-primary), #c47a3a);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.export-status {
  margin-top: .4rem; font-size: .7rem; font-weight: 600; color: #4b5563; min-height: 1.1em;
}
.export-status.done { color: var(--ad-ok); font-weight: 700; }

.export-zip, .export-pdf-col {
  position: relative; z-index: 2; min-height: 0;
  background: #fff; border: 1px solid var(--ad-border); border-radius: 12px;
  box-shadow: 0 8px 20px -16px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(8px);
  transition: opacity .28s cubic-bezier(.16,1,.3,1), transform .28s cubic-bezier(.16,1,.3,1);
  overflow: hidden; display: flex; flex-direction: column;
}
.export-stage.is-result .export-zip,
.export-stage.is-result .export-pdf-col {
  /* 仅这两列参与网格，避免绝对定位残留抢轨 */
  grid-column: auto;
}
.export-stage.show-pack .export-zip,
.export-stage.show-pack .export-pdf-col { opacity: 1; transform: none; }
.export-zip { padding: .7rem .75rem; }
.export-zip h4, .export-pdf-col h4 {
  font-size: .72rem; font-weight: 700; color: var(--ad-text);
  display: flex; justify-content: space-between; align-items: baseline;
}
.export-zip h4 span, .export-pdf-col h4 span {
  font-size: .6rem; font-weight: 600; color: var(--ad-muted);
}
.zip-tree {
  margin-top: .55rem; font-size: .66rem; line-height: 1.55; color: #334;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  overflow: auto; flex: 1;
}
.zip-tree .root { font-weight: 700; color: var(--ad-primary); margin-bottom: .25rem; }
.zip-tree .node {
  opacity: 0; transform: translateX(-6px);
  transition: opacity .35s, transform .35s;
  padding-left: .15rem;
}
.zip-tree .node.in { opacity: 1; transform: none; }
.zip-tree .ind { color: #99a; }
.zip-tree .file { color: #1f2933; }
.zip-tree .dir { color: #5b6b7c; font-weight: 600; }
.zip-tree .hl { background: #fff6e8; border-radius: 3px; }

.export-pdf-col { padding: .55rem .6rem .65rem; }
.pdf-page {
  margin-top: .45rem;
  width: 100%;
  /* A3 横版 420×297，与真实导出一致 */
  aspect-ratio: 420 / 297;
  max-height: calc(100% - .45rem);
  flex: 0 1 auto;
  background: #fff; border: 1px solid #ddd5c8; border-radius: 6px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.pdf-body {
  flex: 1; min-height: 0;
  display: grid;
  /* 与 LayoutExportService INFO_RATIO≈0.38 一致：左展板 / 右信息栏 */
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: .35rem;
  padding: .4rem .4rem .25rem;
}
.pdf-left {
  min-width: 0; min-height: 0;
  background: #f5f2eb; border: 1px solid #b4aa9b; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  padding: .35rem;
}
.pdf-board {
  position: relative;
  /* 示意 120×270 竖板，在左栏内等比居中 */
  height: 100%;
  width: auto;
  aspect-ratio: 120 / 270;
  max-width: 100%;
  background: #fcfaf6; border: 1px solid #5c3d2e;
}
.pdf-dim {
  position: absolute; left: 0; right: 0; bottom: 3px; z-index: 2;
  text-align: center; font-size: .45rem; color: rgba(0,0,0,.28); pointer-events: none;
}
.pdf-safe {
  position: absolute; inset: 7%; border: 1px dashed rgba(201,48,44,.5);
  opacity: 0; transition: opacity .18s; pointer-events: none;
}
.pdf-safe.show { opacity: 1; }
.pdf-art {
  position: absolute; background: #222; border: 1.5px solid #faf7f0;
  box-shadow: 0 3px 8px -4px rgba(0,0,0,.4);
  opacity: 0; transform: scale(.98);
  transition: opacity .2s, transform .2s;
}
.pdf-art.in { opacity: 1; transform: none; }
.pdf-art .fill { width: 100%; height: 100%; background-size: cover; background-position: center; }
.pdf-art .n {
  position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%;
  background: #c9302c; color: #fff; font-size: .48rem; font-weight: 800;
  display: grid; place-items: center; opacity: 0; transition: opacity .15s;
}
.pdf-art .n.show { opacity: 1; }
.pdf-info {
  min-width: 0; min-height: 0; overflow: hidden;
  background: #fff; border: 1px solid #b4aa9b; border-radius: 2px;
  padding: .4rem .45rem .35rem;
  opacity: 0; transition: opacity .18s;
  display: flex; flex-direction: column; gap: .2rem;
}
.pdf-info.show { opacity: 1; }
.pdf-info-title {
  font-size: .72rem; font-weight: 700; color: #1c1a18; line-height: 1.2;
}
.pdf-info-sub {
  font-size: .52rem; color: #82786e; margin-bottom: .1rem;
}
.pdf-info-rule {
  height: 0; border-top: 1px solid #e0d8cc; margin: .15rem 0 .25rem;
}
.pdf-info-block { margin-bottom: .35rem; }
.pdf-info-block .t {
  font-size: .62rem; font-weight: 700; color: #5c3d2e; margin-bottom: .12rem;
}
.pdf-info-block .m {
  font-size: .5rem; color: #82786e; line-height: 1.35;
}
.pdf-foot {
  padding: .2rem .45rem .28rem; font-size: .48rem; color: #9a9084;
  border-top: 1px solid #ece5d8; display: flex; justify-content: space-between; gap: .5rem;
}

.ad-btn.pulse {
  box-shadow: 0 0 0 0 rgba(139,69,19,.55);
  animation: pulse-btn 1.2s ease-out 1;
}
@keyframes pulse-btn {
  0% { box-shadow: 0 0 0 0 rgba(139,69,19,.45); }
  70% { box-shadow: 0 0 0 10px rgba(139,69,19,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,69,19,0); }
}
@keyframes pulse-check {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 3px rgba(181,82,56,.25); }
}

.trio { display: grid; gap: 1rem; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.feature {
  border-radius: 1.1rem; border: 1px solid var(--line);
  padding: 1.35rem 1.25rem;
}
.feature h3 { font-size: 1.35rem; font-weight: 800; }
.feature p { margin-top: .35rem; color: var(--mute); font-size: .95rem; }

.share-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .share-grid { grid-template-columns: repeat(2, 1fr); }
}
.share-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.share-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -26px rgba(0,0,0,.45);
}
.band-white .share-card,
.band-gray .share-card { background: #fff; }
.share-viz {
  position: relative;
  height: 132px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.share-viz-template {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(139,69,19,.12), transparent 60%),
    linear-gradient(165deg, #f3efe8 0%, #e7e2d8 100%);
}
.share-viz-site {
  background:
    radial-gradient(ellipse 70% 50% at 30% 80%, rgba(0,113,227,.1), transparent 55%),
    linear-gradient(160deg, #eef2f6 0%, #e3e8ee 100%);
}
.share-viz-multi {
  background:
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(44,24,16,.08), transparent 50%),
    linear-gradient(155deg, #f0ece6 0%, #ddd6cb 100%);
}
.share-viz-kit {
  background:
    radial-gradient(ellipse 55% 45% at 20% 30%, rgba(201,162,39,.16), transparent 55%),
    linear-gradient(170deg, #f6f1e8 0%, #ebe4d8 100%);
}
.vz-phone {
  position: absolute; left: 28%; top: 22px;
  width: 54px; height: 96px; border-radius: 8px;
  background: #fff; border: 1.5px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 20px -12px rgba(0,0,0,.4);
  display: flex; flex-direction: column; gap: 4px; padding: 8px 6px;
}
.vz-phone i {
  display: block; height: 18px; border-radius: 2px;
  background: linear-gradient(90deg, #c4b8a8, #ddd4c6);
}
.vz-phone i:nth-child(2) { height: 28px; opacity: .85; }
.vz-phone i:nth-child(3) { height: 14px; width: 70%; opacity: .65; }
.vz-phone-2 {
  left: auto; right: 26%; top: 34px; width: 48px; height: 86px; opacity: .92;
  transform: rotate(6deg);
}
.vz-browser {
  position: absolute; left: 12%; right: 12%; top: 28px; bottom: 18px;
  background: #fff; border-radius: 8px; border: 1.5px solid rgba(0,0,0,.1);
  box-shadow: 0 12px 24px -14px rgba(0,0,0,.35);
  padding: 10px 10px 8px;
}
.vz-browser b {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #d0d0d0; margin-right: 4px;
}
.vz-browser em {
  display: block; height: 8px; margin: 8px 0 10px; border-radius: 4px;
  background: #eef1f4;
}
.vz-browser i {
  display: block; height: 22px; margin-bottom: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #d7c4b0, #efe8de);
}
.vz-browser i:last-child { width: 62%; height: 14px; opacity: .7; }
.vz-desk {
  position: absolute; left: 14%; top: 30px;
  width: 58%; height: 72px; border-radius: 6px;
  background: #fff; border: 1.5px solid rgba(0,0,0,.1);
  box-shadow: 0 10px 18px -12px rgba(0,0,0,.35);
}
.vz-desk::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 14px; height: 8px;
  border-radius: 3px; background: #e8e2d8;
  box-shadow: 0 14px 0 #efe9df, 0 28px 0 #e4ddd2;
}
.vz-hand {
  position: absolute; right: 16%; bottom: 16px;
  width: 36px; height: 62px; border-radius: 6px;
  background: #2c1810; box-shadow: 0 8px 16px -10px rgba(0,0,0,.45);
}
.vz-hand::before {
  content: ""; position: absolute; inset: 5px 4px auto; height: 22px;
  border-radius: 3px; background: #c9a227; opacity: .85;
}
.vz-pill {
  position: absolute; right: 12%; top: 26px;
  height: 18px; padding: 0 10px; border-radius: 980px;
  background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 4px 10px -6px rgba(0,0,0,.3);
  font-size: 0; width: 52px;
}
.vz-cover {
  position: absolute; left: 16%; top: 28px;
  width: 42%; aspect-ratio: 4/5; max-height: 88px;
  border-radius: 4px; background: #8b4513;
  box-shadow: 0 10px 18px -10px rgba(0,0,0,.4);
  transform: rotate(-6deg);
}
.vz-cover-2 {
  left: 38%; top: 34px; background: #5c3d2e; transform: rotate(3deg); z-index: 1;
}
.vz-cover-3 {
  left: 58%; top: 30px; width: 28%; background: #c9a227; transform: rotate(10deg); z-index: 2;
}
.share-card-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex; flex-direction: column; gap: .35rem;
  flex: 1;
}
.share-tag {
  align-self: flex-start;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  color: var(--ad-primary); background: #fff6ec;
  border: 1px solid #edd9c4; border-radius: 980px;
  padding: .15rem .55rem;
}
.share-card h3 {
  font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; margin: 0;
}
.share-card p {
  margin: 0; color: var(--mute); font-size: .95rem; line-height: 1.45;
}
.share-note {
  margin-top: 1.35rem; text-align: center;
  font-size: .82rem; color: var(--mute);
}

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.chip {
  padding: .65rem 1rem; border-radius: 980px; background: var(--bg2);
  border: 1px solid var(--line); font-size: .92rem; font-weight: 600;
}
.band-white .chip { background: var(--bg); }

.overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.45);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.overlay.open { display: flex; }
.sheet {
  width: min(400px, 100%); background: #fff; border-radius: 1.15rem;
  padding: 1.5rem 1.35rem 1.35rem; box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.sheet h2 { font-size: 1.55rem; font-weight: 800; }
.sheet .sub { margin-top: .3rem; color: var(--mute); font-size: .9rem; }
.sheet label { display: block; margin-top: .9rem; font-size: .82rem; font-weight: 600; }
.sheet input {
  width: 100%; margin-top: .3rem; height: 2.55rem; border: 1px solid var(--line);
  border-radius: .65rem; padding: 0 .8rem; font: inherit; background: #fafafa;
}
.sheet input::placeholder {
  font-size: .78rem;
  color: var(--mute);
  opacity: 1;
}
.sheet input::-webkit-input-placeholder {
  font-size: .78rem;
  color: var(--mute);
}
.sheet input::-moz-placeholder {
  font-size: .78rem;
  color: var(--mute);
  opacity: 1;
}
.sheet input:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.sheet .err { color: #b42318; font-size: .82rem; margin-top: .55rem; display: none; }
.sheet .actions { margin-top: 1.2rem; }
.close-x { float: right; width: 2rem; height: 2rem; border-radius: 50%; color: var(--mute); font-size: 1.2rem; }
.close-x:hover { background: var(--bg); color: var(--ink); }
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 90;
  transform: translate(-50%, 140%); background: var(--ink); color: #fff;
  padding: .75rem 1.1rem; border-radius: 980px; font-size: .88rem;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  max-width: min(92vw, 26rem); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* —— 艺藏助手首屏演示 —— */
#yc-device .topbar { font-size: .84rem; }
#yc-device .ad-btn { height: 28px; font-size: .78rem; }
#yc-device .filters { font-size: .78rem; }
#yc-device .filters .pill { height: 28px; font-size: .78rem; }
#yc-device .fcard .foot { padding: .5rem .5rem; font-size: .78rem; line-height: 1.3; }
#yc-device .fcard .foot strong { font-weight: 700; }
#yc-device .fcard .badge,
#yc-device .fcard .meta { font-size: .68rem; padding: 3px 6px; }

.yc-overview-pane {
  --aw-bg: #f8f6f2;
  --aw-line: #e5ddd2;
  --aw-muted: #6f675e;
  --aw-accent: #8b4513;
  --aw-radius: 8px;
  --aw-shadow: 0 4px 14px -8px rgba(28, 22, 16, .18);
  --aw-ok: #2e7d32;
  background: var(--aw-bg);
  overflow: auto;
}
.yc-overview-inner { padding: .75rem .85rem .9rem; color: #1f2933; }
.yc-overview-inner h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.yc-overview-pane .aw-sub {
  margin: .35rem 0 0;
  color: var(--aw-muted);
  font-size: .72rem;
  line-height: 1.4;
}
.yc-overview-pane .aw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem;
  margin: .65rem 0 .75rem;
}
.yc-overview-pane .aw-stat {
  background: var(--aw-bg);
  border: 1px solid var(--aw-line);
  border-radius: var(--aw-radius);
  padding: .55rem .6rem;
  text-align: left;
}
.yc-overview-pane .aw-stat .n {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
  color: #1f2933;
}
.yc-overview-pane .aw-stat .l {
  margin-top: .15rem;
  color: var(--aw-muted);
  font-size: .62rem;
}
.yc-ov-stat,
.yc-ov-card,
.yc-overview-pane .aw-feed {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s, transform .4s;
}
.yc-overview-pane.ready .yc-ov-stat,
.yc-overview-pane.ready .yc-ov-card,
.yc-overview-pane.ready .aw-feed { opacity: 1; transform: none; }
.yc-overview-pane.ready .yc-ov-stat:nth-child(1) { transition-delay: .04s; }
.yc-overview-pane.ready .yc-ov-stat:nth-child(2) { transition-delay: .1s; }
.yc-overview-pane.ready .yc-ov-stat:nth-child(3) { transition-delay: .16s; }
.yc-overview-pane.ready .yc-ov-stat:nth-child(4) { transition-delay: .22s; }
.yc-overview-pane.ready .yc-ov-card:nth-child(1) { transition-delay: .24s; }
.yc-overview-pane.ready .yc-ov-card:nth-child(2) { transition-delay: .3s; }
.yc-overview-pane.ready .yc-ov-card:nth-child(3) { transition-delay: .36s; }
.yc-overview-pane.ready .yc-ov-card:nth-child(4) { transition-delay: .42s; }
.yc-overview-pane.ready .yc-ov-card:nth-child(5) { transition-delay: .48s; }
.yc-overview-pane.ready .yc-ov-card:nth-child(6) { transition-delay: .54s; }
.yc-overview-pane.ready .aw-feed { transition-delay: .28s; }
.yc-overview-pane .aw-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(108px, .72fr);
  gap: .85rem;
  align-items: start;
}
.yc-overview-pane .aw-overview-split .aw-split-aside {
  padding-left: .65rem;
  border-left: 1px solid var(--aw-line);
}
.yc-overview-pane .aw-sec-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem;
  margin: 0 0 .35rem;
}
.yc-overview-pane .aw-sec-h h2 {
  margin: 0;
  font-size: .74rem;
  font-weight: 600;
}
.yc-overview-pane .aw-sec-link {
  font-size: .62rem;
  color: var(--aw-accent);
  white-space: nowrap;
}
.yc-overview-pane .yc-ov-sec2 { margin-top: .65rem; }
.yc-overview-pane .yc-ov-empty { margin: .15rem 0 0; }
.yc-overview-pane .aw-overview-split .aw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: .45rem;
}
.yc-overview-pane .aw-card {
  background: #fff;
  border: 1px solid var(--aw-line);
  border-radius: var(--aw-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.yc-overview-pane .aw-card .pic {
  aspect-ratio: 4 / 3;
  min-height: 58px;
  background: #ebe4d8;
  position: relative;
  overflow: hidden;
}
.yc-overview-pane .aw-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yc-overview-pane .aw-card-vis-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  font-size: .52rem;
  line-height: 1.3;
  padding: 1px 5px;
  border-radius: 3px;
  pointer-events: none;
}
.yc-overview-pane .aw-badge.public {
  background: #e7f2ec;
  color: var(--aw-ok);
}
.yc-overview-pane .aw-card .meta {
  padding: .35rem .4rem .42rem;
  font-size: .62rem;
}
.yc-overview-pane .aw-card .title {
  font-weight: 600;
  font-size: .62rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yc-overview-pane .aw-card .spec {
  margin-top: .08rem;
  color: var(--aw-muted);
  font-size: .56rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yc-overview-pane .aw-feed { display: flex; flex-direction: column; }
.yc-overview-pane .aw-feed-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: .35rem;
  align-items: start;
  padding: .35rem 0;
  border-bottom: 1px solid var(--aw-line);
  font-size: .58rem;
  line-height: 1.35;
}
.yc-overview-pane .aw-feed-item:last-child { border-bottom: 0; }
.yc-overview-pane .aw-feed-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(139, 69, 19, .1);
  color: var(--aw-accent);
  display: grid;
  place-items: center;
}
.yc-overview-pane .aw-feed-ico svg { width: 12px; height: 12px; }
.yc-overview-pane .aw-feed-item time {
  color: var(--aw-muted);
  font-size: .52rem;
  white-space: nowrap;
}

.yc-viewer-pane { background: #12100e; opacity: 0; transition: opacity .35s; }
.yc-viewer-pane.on { opacity: 1; }
#yc-device .main.yc-mode-viewer .topbar,
#yc-device .main.yc-mode-viewer .filters { display: none; }
#yc-device .main.yc-mode-viewer .stage-body { flex: 1; }

.yc-fdmv.fdmv-root {
  --fdmv-fg: #f2ebe3;
  --fdmv-fg-muted: rgba(255, 255, 255, 0.48);
  --fdmv-accent: #e8d7c4;
  --fdmv-stage-bg: #151311;
  --fdmv-info-bg: rgba(18, 16, 14, 0.94);
  --fdmv-info-width: 148px;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: var(--fdmv-fg);
}
.yc-fdmv .fdmv-top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}
.yc-fdmv .fdmv-top-title {
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yc-fdmv .fdmv-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.yc-fdmv .fdmv-main {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--fdmv-info-width);
}
.yc-fdmv .fdmv-media {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 8px 6px;
}
.yc-fdmv .fdmv-media-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.yc-fdmv .fdmv-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--fdmv-stage-bg);
  border-radius: 8px;
  overflow: hidden;
}
.yc-fdmv .fdmv-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yc-fdmv .fdmv-zoom {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yc-fdmv .fdmv-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity .35s ease;
}
.yc-fdmv .fdmv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 248, 240, 0.72);
  display: none;
  place-items: center;
  z-index: 2;
}
.yc-fdmv .fdmv-nav.prev { left: 4px; }
.yc-fdmv .fdmv-nav.next { right: 4px; }
.yc-fdmv .fdmv-nav-ico { width: 22px; height: 22px; display: block; filter: drop-shadow(0 1px 4px rgba(0,0,0,.45)); }
.yc-fdmv .fdmv-bottom { flex-shrink: 0; padding-top: 4px; }
.yc-fdmv-work-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.yc-fdmv-work-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 248, 240, 0.88);
  font-size: .68rem;
  padding: 4px 2px;
}
.yc-fdmv-work-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.yc-fdmv-work-btn.flash { animation: yc-fdmv-flash .9s ease; }
@keyframes yc-fdmv-flash {
  0%, 100% { color: rgba(255, 248, 240, 0.88); }
  40% { color: #fff; text-shadow: 0 0 8px rgba(232, 215, 196, .55); }
}
.yc-fdmv .fdmv-info {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--fdmv-info-bg);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.yc-fdmv .fdmv-info-body {
  flex: 1;
  min-height: 0;
  padding: 10px 10px 8px;
  overflow: auto;
}
.yc-fdmv-info-head h3 {
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .45rem;
}
.yc-fdmv-dl { display: flex; flex-direction: column; gap: .35rem; }
.yc-fdmv-row {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: .35rem;
  font-size: .62rem;
  line-height: 1.35;
}
.yc-fdmv-row dt { color: var(--fdmv-fg-muted); }
.yc-fdmv-row dd { margin: 0; color: rgba(255, 255, 255, 0.92); word-break: break-word; }
.yc-fdmv-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  padding: 0 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.yc-fdmv-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 .45rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 248, 240, 0.9);
  font-size: .6rem;
  font-weight: 600;
}
.yc-fdmv-tag.ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: rgba(255,248,240,.72); }
.yc-fdmv-tag.primary { background: var(--aw-accent); color: #fff; box-shadow: none; }
.yc-fdmv-tag.on { background: rgba(181,82,56,.28); box-shadow: inset 0 0 0 1px rgba(181,82,56,.45); color: #fff; }
.yc-fdmv-tag.flash { animation: yc-fdmv-flash .9s ease; }
.yc-fdmv.is-editing { --fdmv-info-width: 44%; }
.yc-fdmv.is-editing .fdmv-main { grid-template-columns: minmax(0, 1fr) var(--fdmv-info-width); transition: grid-template-columns .35s ease; }
.aw-demo-fdmv.yc-fdmv.is-editing .fdmv-main { grid-template-columns: minmax(0, 1fr) 46%; }
.yc-fdmv-thumbbar { padding: 4px 8px 6px; border-top: 1px solid rgba(255,255,255,.06); }
.yc-fdmv-thumbs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; }
.yc-fdmv-thumb {
  width: 42px; height: 42px; border-radius: 5px; background: center/cover; flex-shrink: 0;
  border: 2px solid transparent; position: relative; opacity: .88;
}
.yc-fdmv-thumb.is-cover { border-color: var(--aw-accent); opacity: 1; }
.yc-fdmv-thumb.is-active { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.yc-fdmv-thumb-cover, .yc-fdmv-thumb-idx {
  position: absolute; font-size: .48rem; font-weight: 700; color: #fff;
  background: rgba(0,0,0,.55); padding: 1px 3px; border-radius: 2px;
}
.yc-fdmv-thumb-cover { left: 2px; top: 2px; background: var(--aw-accent); }
.yc-fdmv-thumb-idx { right: 2px; bottom: 2px; }
.yc-fdmv-fields { display: flex; flex-direction: column; gap: .32rem; }
.yc-fdmv-field { opacity: .42; transition: opacity .3s; }
.yc-fdmv-field.on { opacity: 1; }
.yc-fdmv-field.span { grid-column: 1 / -1; }
.yc-fdmv-field span { display: block; font-size: .56rem; color: var(--fdmv-fg-muted); margin-bottom: .12rem; font-weight: 600; }
.yc-fdmv-field .req { color: var(--aw-accent); font-weight: 700; }
.yc-fdmv-field input, .yc-fdmv-field select, .yc-fdmv-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px; background: rgba(255,255,255,.06); color: rgba(255,248,240,.92);
  font-size: .6rem; padding: .28rem .35rem;
}
.yc-fdmv-field textarea { resize: none; min-height: 42px; }
.yc-fdmv-edit-hint { margin: .38rem 0 0; font-size: .54rem; line-height: 1.45; color: var(--fdmv-fg-muted); }
.yc-fdmv.is-editing .yc-fdmv-field { opacity: 1; }
.yc-fdmv.is-editing .yc-fdmv-field.on input,
.yc-fdmv.is-editing .yc-fdmv-field.on select,
.yc-fdmv.is-editing .yc-fdmv-field.on textarea {
  border-color: rgba(181,82,56,.55);
  box-shadow: 0 0 0 1px rgba(181,82,56,.35);
}
.yc-fdmv-edit-actions { border-top-color: rgba(181,82,56,.22); }
.yc-fdmv .fdmv-info-rail {
  position: absolute;
  left: calc(100% - var(--fdmv-info-width));
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  min-width: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: rgba(22, 19, 16, 0.92);
  color: rgba(255, 248, 240, 0.82);
  font-size: .58rem;
  line-height: 1.1;
}
.yc-fdmv .fdmv-rail-arrow { font-size: .72rem; }

.yc-profile-pane { background: #faf8f5; overflow: auto; }
.yc-profile { padding: .75rem .85rem 1rem; }
.yc-profile-head {
  display: flex; gap: .65rem; align-items: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s, transform .45s;
}
.yc-profile-pane.ready .yc-profile-head { opacity: 1; transform: none; }
.yc-profile-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  background: #ddd center/cover; border: 2px solid #fff;
  box-shadow: 0 4px 14px -8px rgba(0,0,0,.35);
}
.yc-profile-head h3 {
  font-size: 1.08rem; font-weight: 800;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
}
.yc-profile-head p { margin-top: .15rem; font-size: .76rem; color: var(--ad-muted); line-height: 1.35; }
.yc-profile-url {
  display: inline-block; margin-top: .25rem; font-size: .72rem;
  color: var(--ad-primary); background: rgba(139,69,19,.08);
  padding: .15rem .4rem; border-radius: 4px;
}
.yc-profile-grid {
  margin-top: .65rem;
  column-count: 2;
  column-gap: .5rem;
}
@media (min-width: 560px) { .yc-profile-grid { column-count: 3; } }
@media (min-width: 720px) { .yc-profile-grid { column-count: 4; column-gap: .55rem; } }
.yc-profile-grid .yc-pg-card {
  break-inside: avoid;
  margin-bottom: .5rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s, transform .4s;
}
.yc-profile-pane.ready .yc-pg-card { opacity: 1; transform: none; }
.yc-profile-pane.ready .yc-pg-card:nth-child(1) { transition-delay: .08s; }
.yc-profile-pane.ready .yc-pg-card:nth-child(2) { transition-delay: .14s; }
.yc-profile-pane.ready .yc-pg-card:nth-child(3) { transition-delay: .2s; }
.yc-profile-pane.ready .yc-pg-card:nth-child(4) { transition-delay: .26s; }
.yc-profile-pane.ready .yc-pg-card:nth-child(5) { transition-delay: .32s; }
.yc-profile-pane.ready .yc-pg-card:nth-child(6) { transition-delay: .38s; }
.yc-profile-pane.ready .yc-pg-card:nth-child(7) { transition-delay: .44s; }
.yc-profile-pane.ready .yc-pg-card:nth-child(8) { transition-delay: .5s; }
.yc-pg-foot {
  flex-direction: column; align-items: flex-start; gap: .12rem;
}
.yc-pg-foot strong {
  font-size: .76rem; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.yc-pg-foot span {
  font-size: .7rem; color: var(--ad-muted); line-height: 1.2;
}

.yc-grants-pane { background: #fff; overflow: auto; }
.yc-grants { padding: .65rem .75rem 1rem; }
.yc-grants-tabs {
  display: flex; gap: .35rem; margin-bottom: .65rem;
}
.yc-grants-tab {
  height: 32px; padding: 0 .75rem; border-radius: 980px;
  border: 1px solid var(--ad-border); font-size: .78rem; font-weight: 700;
  color: var(--ad-muted); display: inline-flex; align-items: center;
}
.yc-grants-tab.on {
  background: var(--ad-header); color: #fff; border-color: var(--ad-header);
}
.yc-grant-card {
  border: 1px solid var(--ad-border); border-radius: 10px;
  padding: .7rem .75rem; margin-bottom: .55rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s, transform .4s;
}
.yc-grants-pane.ready .yc-grant-card { opacity: 1; transform: none; }
.yc-grants-pane.ready .yc-grant-card:nth-child(1) { transition-delay: .06s; }
.yc-grants-pane.ready .yc-grant-card:nth-child(2) { transition-delay: .16s; }
.yc-grant-card.muted { opacity: .72; }
.yc-grant-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem;
}
.yc-grant-head strong { font-size: .92rem; line-height: 1.25; }
.yc-grant-head p { margin-top: .18rem; font-size: .76rem; color: var(--ad-muted); line-height: 1.35; }
.yc-grant-btn {
  flex: 0 0 auto; height: 32px; padding: 0 .85rem; border-radius: 6px;
  background: var(--ad-primary); color: #fff; font-size: .78rem; font-weight: 700;
  display: inline-flex; align-items: center;
}
.yc-grant-btn.ghost { background: rgba(0,0,0,.06); color: var(--ad-muted); }
.yc-grant-btn.pulse { animation: pulse-btn 1.1s ease infinite; }
.yc-grant-picks {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem;
}
.yc-grant-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .55rem .25rem .25rem; border-radius: 980px;
  border: 1px solid var(--ad-border); background: #fafafa;
  font-size: .74rem; color: var(--ad-muted); line-height: 1.2;
  opacity: .45; transform: scale(.96);
  transition: opacity .3s, transform .3s, border-color .3s, background .3s;
}
.yc-grant-chip.on {
  opacity: 1; transform: none;
  border-color: rgba(139,69,19,.35); background: #fff7ef; color: var(--ad-text);
}
.yc-grant-chip-pic {
  width: 26px; height: 26px; border-radius: 50%;
  background-size: cover; background-position: center;
}
.yc-grant-note {
  margin-top: .5rem; font-size: .74rem; color: var(--ad-muted); line-height: 1.35;
}

#hero .stage-tag { font-size: .8rem; }
#hero .device-caption { font-size: .8rem; }

/* 艺藏四能力模块 — 首屏式居中文案 + 工作台演示壳 */
.yc-mod-band { padding: 3.5rem 0 0; text-align: center; background: var(--bg); }
.yc-mod-band.band-gray { background: var(--bg); }
.yc-mod-band.band-white { background: var(--bg2); }
.yc-mod-head { margin-bottom: 1.1rem; opacity: 0; transform: translateY(14px); transition: opacity .55s, transform .55s; }
.yc-mod-band.is-visible .yc-mod-head { opacity: 1; transform: none; }
.yc-mod-head .display { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 800; }
.yc-mod-head .lead, .yc-mod-lead { margin: .65rem auto 1rem; max-width: 34em; font-size: clamp(.98rem, 1.9vw, 1.15rem); color: var(--mute); line-height: 1.5; }
.yc-mod-head .stage-tag { font-size: .8rem; margin-bottom: 0; }
.yc-mod-device-lg { width: min(1040px, calc(100% - 1rem)); margin: 0 auto; opacity: 0; transform: translateY(18px); transition: opacity .6s .1s, transform .6s .1s; }
.yc-mod-band.is-visible .yc-mod-device-lg { opacity: 1; transform: none; }
.yc-mod-device-lg .app { height: 560px; }
.yc-mod-band .device-caption { padding: 1rem 0 2.5rem; font-size: .8rem; }
.yc-mod-note { padding-bottom: 1rem; margin-top: 0; }

.aw-demo-app {
  --aw-bg: #f4efe4; --aw-paper: #fbf7f0; --aw-ink: #1c1916; --aw-muted: #6a635b; --aw-line: #e3d9cc;
  --aw-accent: #b55238; --aw-accent-h: #9c4430; --aw-ok: #2c6a4c; --aw-radius: 10px;
  display: grid; grid-template-columns: minmax(0, 1fr); height: 100%;
  background: var(--aw-paper); color: var(--aw-ink); text-align: left; font-size: 12px;
}
.aw-demo-side { display: none; }
.aw-demo-brand { display: flex; gap: .4rem; align-items: center; padding: .2rem .15rem .45rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: .25rem; }
.aw-demo-seal { width: 28px; height: 28px; border-radius: 8px; background: var(--aw-accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.aw-demo-brand strong { display: block; font-size: .72rem; line-height: 1.2; }
.aw-demo-brand span { display: block; font-size: .52rem; opacity: .65; }
.aw-demo-nav-label { font-size: .52rem; letter-spacing: .08em; opacity: .45; padding: .15rem .2rem; }
.aw-demo-nav { display: block; padding: .32rem .4rem; border-radius: 8px; font-size: .68rem; color: rgba(239,232,222,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-demo-nav.active { background: rgba(181,82,56,.22); color: #fff; font-weight: 600; }
.aw-demo-side-foot { margin-top: auto; display: flex; gap: .35rem; align-items: center; padding-top: .45rem; border-top: 1px solid rgba(255,255,255,.08); }
.aw-demo-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.aw-demo-side-foot strong { display: block; font-size: .64rem; }
.aw-demo-side-foot span { display: block; font-size: .52rem; opacity: .55; }
.aw-demo-stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--aw-paper); }
.aw-demo-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .35rem .55rem; border-bottom: 1px solid var(--aw-line); background: #fff; font-size: .68rem; }
.aw-demo-top-brand { font-weight: 700; }
.aw-demo-chip { height: 24px; padding: 0 .55rem; border-radius: 980px; border: 1px solid var(--aw-line); background: #fff; display: inline-flex; align-items: center; font-size: .62rem; color: var(--aw-muted); }
.aw-demo-main { position: relative; flex: 1; min-height: 0; overflow: auto; padding: .55rem .6rem .65rem; }
.aw-demo-portfolio[hidden] { display: none !important; }
.aw-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-bottom: .55rem; }
.aw-page-head h1 { font-size: 1.05rem; font-weight: 700; line-height: 1.2; font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.aw-sub { margin: .2rem 0 0; color: var(--aw-muted); font-size: .68rem; line-height: 1.4; }
.aw-hint { color: var(--aw-muted); font-size: .64rem; line-height: 1.35; margin: .25rem 0; }
.aw-row { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.aw-btn { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 .65rem; border-radius: 8px; border: 0; background: var(--aw-accent); color: #fff; font-size: .68rem; font-weight: 600; }
.aw-btn.ghost { background: #fff; color: var(--aw-ink); border: 1px solid var(--aw-line); }
.aw-btn.pulse { animation: pulse-btn 1s ease infinite; }
.aw-filters { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; justify-content: space-between; margin-bottom: .45rem; padding: .35rem .4rem; background: #fff; border: 1px solid var(--aw-line); border-radius: var(--aw-radius); }
.aw-filters-chips { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.aw-filter-select, .aw-filter-count { height: 24px; padding: 0 .45rem; border-radius: 6px; border: 1px solid var(--aw-line); background: #fff; font-size: .62rem; display: inline-flex; align-items: center; color: var(--aw-muted); }
.aw-filters-right { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin-left: auto; }
.aw-search { height: 24px; width: 108px; max-width: 34vw; border: 1px solid var(--aw-line); border-radius: 6px; padding: 0 .4rem; font-size: .62rem; background: #fff; }
.aw-view-toggle { display: inline-flex; border: 1px solid var(--aw-line); border-radius: 8px; overflow: hidden; background: #fff; }
.aw-view-toggle button { width: 30px; height: 24px; border: 0; border-right: 1px solid var(--aw-line); background: #fff; color: var(--aw-muted); display: grid; place-items: center; padding: 0; }
.aw-view-toggle button:last-child { border-right: 0; }
.aw-view-toggle button.on { background: #f4e4de; color: var(--aw-accent); }
.aw-view-toggle svg { width: 14px; height: 14px; display: block; }
.aw-demo-body { position: relative; min-height: 180px; }
.yc-org-view { display: none; }
.yc-org-view.on { display: block; }
.yc-org-view.ready .aw-demo-card, .yc-org-view.ready .aw-demo-list-row { opacity: 1; transform: none; }
.aw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .4rem; }
.aw-grid-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}
.aw-grid-tiles .aw-demo-card .pic { min-height: 112px; }
.aw-grid-tiles .aw-demo-card .meta { padding: .45rem .5rem .52rem; }
.aw-grid-tiles .aw-demo-card .title { font-size: .76rem; }
.aw-grid-tiles .aw-demo-card .spec { font-size: .64rem; margin-top: .12rem; }
.aw-grid-tiles .aw-card-vis-badge { font-size: .58rem; padding: 2px 6px; top: 6px; left: 6px; }
.aw-grid-masonry-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; align-items: start; }
.aw-demo-card { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; background: #fff; border: 1px solid var(--aw-line); border-radius: var(--aw-radius); overflow: hidden; }
.aw-demo-card .pic { aspect-ratio: 4/3; background: #ebe4d8; position: relative; overflow: hidden; }
.aw-card--masonry .pic { aspect-ratio: auto; min-height: 72px; }
.aw-card--masonry .pic img { height: auto; min-height: 72px; }
.aw-demo-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-demo-card .meta { padding: .35rem .4rem .42rem; }
.aw-demo-card .title { font-size: .66rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-demo-card .spec { font-size: .58rem; color: var(--aw-muted); margin-top: .08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-card-vis-badge { position: absolute; top: 4px; left: 4px; z-index: 2; font-size: .52rem; padding: 1px 5px; border-radius: 3px; }
.aw-badge.public { background: #e7f2ec; color: var(--aw-ok); }
.aw-badge.private { background: #eee; color: var(--aw-muted); }
.aw-badge.showing { background: #f4e4de; color: var(--aw-accent); font-weight: 700; }
.aw-exhibit-badge {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  font-size: .52rem; padding: 2px 6px; border-radius: 3px;
  animation: yc-exhibit-in .35s ease;
}
@keyframes yc-exhibit-in {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: none; }
}
.yc-grant-records-list { margin-top: .35rem; }
.yc-grant-record-head,
.yc-grant-record-row {
  display: grid; grid-template-columns: 34px 1.1fr .75fr .62fr; gap: .25rem;
  align-items: center; padding: .32rem .4rem; font-size: .62rem;
}
.yc-grant-record-head {
  background: #faf8f5; color: var(--aw-muted); font-weight: 700;
  border: 1px solid var(--aw-line); border-radius: 8px 8px 0 0;
}
.yc-grant-records-list.ready .yc-grant-record-row {
  opacity: 1; transform: none;
}
.yc-grant-record-row {
  border: 1px solid var(--aw-line); border-top: 0; background: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.yc-grant-records-list.ready .yc-grant-record-row:nth-child(2) { transition-delay: .06s; }
.yc-grant-records-list.ready .yc-grant-record-row:nth-child(3) { transition-delay: .12s; }
.yc-grant-records-list.ready .yc-grant-record-row:nth-child(4) { transition-delay: .18s; }
.yc-grant-record-row:last-child { border-radius: 0 0 8px 8px; }
.yc-grant-record-row img { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; display: block; }
.yc-grant-record-exhibit { color: var(--aw-muted); }
.yc-grant-exhibit-hint { margin: .55rem 0 .35rem; opacity: 0; transition: opacity .35s; }
.yc-grant-exhibit-hint.show { opacity: 1; }
.yc-grant-exhibit-grid { margin-top: 0; }
.yc-grant-exhibit-card.has-exhibit { outline: 1px solid rgba(181,82,56,.22); }
.yc-grant-records-tabs button.active { background: #2a2622; border-color: #2a2622; color: #fff; }
.yc-grant-records-tabs button.flash { animation: pulse-check .85s ease; }
.aw-demo-list { border: 1px solid var(--aw-line); border-radius: var(--aw-radius); overflow: hidden; background: #fff; }
.aw-demo-list .aw-list-head, .aw-demo-list-row { display: grid; grid-template-columns: 34px 1.2fr .7fr .6fr .55fr; gap: .25rem; align-items: center; padding: .32rem .4rem; font-size: .62rem; }
.aw-demo-list .aw-list-head { background: #faf8f5; color: var(--aw-muted); font-weight: 700; border-bottom: 1px solid var(--aw-line); }
.aw-demo-list-row { border-bottom: 1px solid var(--aw-line); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.aw-demo-list-row:last-child { border-bottom: 0; }
.aw-demo-list-row img { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; display: block; }
.aw-demo-overlay { position: absolute; inset: 0; z-index: 5; display: none; align-items: center; justify-content: center; padding: .55rem; background: rgba(28,25,22,.44); }
.aw-demo-overlay.on { display: flex; }
.aw-demo-main.is-modal .aw-demo-portfolio { pointer-events: none; }
.aw-modal-panel { width: min(100%, 420px); max-height: calc(100% - .5rem); overflow: auto; background: #fff; border-radius: 12px; box-shadow: 0 18px 50px -24px rgba(0,0,0,.45); border: 1px solid var(--aw-line); }
.aw-modal-lg { width: min(100%, 460px); }
.aw-modal-batch { width: min(100%, 520px); }
.aw-btn.is-disabled { opacity: .45; pointer-events: none; }
.aw-btn.sm { height: 24px; padding: 0 .45rem; font-size: .58rem; }
.aw-modal-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .6rem; border-bottom: 1px solid var(--aw-line); }
.aw-modal-head h2 { font-size: .82rem; font-weight: 700; }
.aw-modal-close { opacity: .45; font-size: 1.1rem; }
.aw-modal-body { padding: .55rem .6rem .6rem; }
.aw-modal-foot { display: flex; justify-content: flex-end; gap: .35rem; padding: .45rem .6rem .55rem; border-top: 1px solid var(--aw-line); }
.yc-org-modal-pane { display: none; }
.yc-org-modal-pane.on { display: block; }
.aw-demo-form label { display: grid; grid-template-columns: 3.5em minmax(0, 1fr); gap: .35rem; align-items: center; margin-bottom: .35rem; opacity: .35; transition: opacity .3s; }
.aw-demo-form label.on { opacity: 1; }
.aw-demo-form label span { color: var(--aw-muted); font-size: .64rem; font-weight: 600; }
.aw-demo-form input { height: 28px; border: 1px solid var(--aw-line); border-radius: 6px; padding: 0 .45rem; font-size: .66rem; background: #faf8f5; width: 100%; }
.fdm-root.aw-demo-fdm { margin-bottom: .45rem; }
.fdm-slots { display: flex; flex-wrap: wrap; gap: .35rem; }
.aw-demo-fdm-grid .fdm-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.fdm-slot { width: 72px; height: 72px; border-radius: 8px; border: 1px dashed rgba(181,82,56,.35); background: #faf8f5 center/cover; position: relative; display: grid; place-items: center; color: var(--aw-accent); font-size: 1.1rem; transition: opacity .35s, transform .35s, box-shadow .3s; }
.fdm-slot small { position: absolute; bottom: 4px; font-size: .5rem; color: var(--aw-muted); }
.fdm-slot.has-img { border-style: solid; color: transparent; }
.fdm-slot.has-img span, .fdm-slot.has-img small { display: none; }
.fdm-slot.pulse { animation: pulse-btn 1s ease infinite; }
.fdm-slot-main, .fdm-slot-idx { position: absolute; font-size: .5rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 1px 4px; border-radius: 3px; }
.fdm-slot-main { left: 4px; top: 4px; background: var(--aw-accent); }
.fdm-slot-idx { right: 4px; bottom: 4px; }
/* 藏品库 · 批量导入演示（对齐 cmbi-*） */
.yc-cmbi-hint { margin: 0 0 .45rem; line-height: 1.45; }
.yc-cmbi-rows { display: flex; flex-direction: column; gap: .4rem; }
.yc-cmbi-row { border: 1px solid var(--aw-line); border-radius: 8px; background: #fff; overflow: hidden; }
.yc-cmbi-row-secondary { display: none; }
.yc-cmbi-row-secondary.in { display: block; animation: yc-cmbi-row-in .35s ease; }
@keyframes yc-cmbi-row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.yc-cmbi-row-head { display: flex; align-items: center; justify-content: space-between; padding: .28rem .4rem; background: #faf8f5; border-bottom: 1px solid var(--aw-line); }
.yc-cmbi-row-idx { font-size: .58rem; font-weight: 600; color: var(--aw-muted); }
.yc-cmbi-remove { height: 22px; padding: 0 .35rem; font-size: .56rem; }
.yc-cmbi-row-main { display: grid; grid-template-columns: minmax(96px, 112px) minmax(0, 1fr); gap: .4rem; padding: .4rem; align-items: start; }
.yc-cmbi-media { min-width: 0; }
.yc-cmbi-slots { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.yc-cmbi-slots .fdm-slot { width: 100%; height: auto; aspect-ratio: 1; min-height: 0; font-size: .9rem; }
.yc-cmbi-media-actions { display: flex; flex-wrap: wrap; gap: .2rem; margin-top: .28rem; }
.yc-cmbi-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .28rem .32rem; min-width: 0; }
.yc-cmbi-field { margin: 0; opacity: .35; transition: opacity .3s; }
.yc-cmbi-field.on { opacity: 1; }
.yc-cmbi-field-span { grid-column: 1 / -1; }
.yc-cmbi-field label { display: block; font-size: .56rem; font-weight: 600; color: var(--aw-muted); margin-bottom: .12rem; }
.yc-cmbi-field label .req { color: var(--aw-accent); }
.yc-cmbi-field input { width: 100%; height: 24px; border: 1px solid var(--aw-line); border-radius: 6px; padding: 0 .35rem; font-size: .6rem; background: #faf8f5; box-sizing: border-box; }
.yc-cmbi-toolbar { display: flex; align-items: center; gap: .4rem; margin-top: .45rem; flex-wrap: wrap; }
.yc-cmbi-meta { font-size: .6rem; color: var(--aw-muted); }
.yc-cmbi-img-slot { opacity: 0; transform: scale(.92); }
.yc-cmbi-img-slot.in { opacity: 1; transform: none; }
.aw-demo-sort-slots { position: relative; display: flex; flex-wrap: nowrap; gap: .35rem; }
.aw-demo-sort-slots .fdm-slot { transition: transform .55s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, opacity .35s; }
.aw-demo-sort-slots.is-sorting .fdm-slot[data-idx="0"] { transform: translateX(var(--sort-step, 78px)); z-index: 1; }
.aw-demo-sort-slots.is-sorting .fdm-slot[data-idx="1"].is-dragging {
  transform: translateX(calc(-1 * var(--sort-step, 78px))) scale(1.06);
  box-shadow: 0 10px 22px -8px rgba(181,82,56,.55);
  z-index: 3;
}
.aw-demo-sort-slots.is-sorting .fdm-slot[data-idx="2"] { opacity: .72; }
.fdm-slot.is-dragging { cursor: grabbing; }
.fdm-slot.landed { animation: yc-sort-land .45s ease; }
@keyframes yc-sort-land {
  0% { transform: scale(1.04); box-shadow: 0 8px 18px -10px rgba(181,82,56,.45); }
  100% { transform: none; box-shadow: none; }
}
.yc-sort-stage { position: relative; padding-bottom: .15rem; }
.yc-org-sort-cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--aw-accent);
  box-shadow: 0 0 0 4px rgba(181,82,56,.22);
  opacity: 0;
  pointer-events: none;
  transition: left .55s cubic-bezier(.22, 1, .36, 1), top .35s ease, opacity .25s, transform .2s;
  z-index: 4;
}
.yc-org-sort-cursor.show { opacity: 1; }
.yc-org-sort-cursor.pressing { transform: scale(.88); box-shadow: 0 0 0 6px rgba(181,82,56,.32); }
.yc-sort-hint {
  margin: .42rem 0 0;
  font-size: .6rem;
  color: var(--aw-accent);
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s;
}
.yc-sort-hint.show { opacity: 1; }
.aw-demo-viewer { position: absolute; inset: 0; z-index: 6; display: none; background: #12100e; }
.aw-demo-viewer.on { display: block; }
.aw-demo-fdmv { height: 100%; }
.aw-demo-fdmv .fdmv-main { grid-template-columns: minmax(0, 1fr) 38%; transition: grid-template-columns .35s ease; }
.aw-demo-fdmv .fdmv-media { display: flex; flex-direction: column; min-height: 0; }
.aw-demo-fdmv .fdmv-bottom { flex-shrink: 0; }
.aw-demo-viewer.ready .fdmv-img { transform: scale(1.02); transition: transform .45s; }
.aw-tabs { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .5rem; }
.aw-tabs button { height: 28px; padding: 0 .65rem; border-radius: 980px; border: 1px solid var(--aw-line); background: #fff; font-size: .64rem; color: var(--aw-muted); }
.aw-tabs button.active { background: #2a2622; border-color: #2a2622; color: #fff; font-weight: 600; }
.aw-grant-calls { display: flex; flex-direction: column; gap: .4rem; }
.aw-grant-call { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; padding: .55rem .6rem; border: 1px solid var(--aw-line); border-radius: var(--aw-radius); background: #fff; }
.aw-grant-call h3 { font-size: .78rem; font-weight: 700; line-height: 1.25; }
.aw-grant-call.is-ended { opacity: .72; }
.demo-grant-picks { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.aw-share-tabs { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .45rem; }
.aw-share-tabs button { height: 26px; padding: 0 .55rem; border-radius: 980px; border: 1px solid var(--aw-line); background: #fff; font-size: .62rem; color: var(--aw-muted); }
.aw-share-tabs button.on { background: #f4e4de; color: var(--aw-accent); font-weight: 600; }
.aw-share-card { text-align: left; border: 1px solid var(--aw-line); border-radius: var(--aw-radius); padding: .55rem .6rem; background: #fff; }
.aw-share-card-head { display: flex; justify-content: space-between; gap: .35rem; align-items: flex-start; }
.aw-share-card h3 { font-size: .76rem; font-weight: 700; }
.aw-share-status.is-active { font-size: .58rem; color: var(--aw-ok); font-weight: 700; }
.aw-share-meta, .aw-share-badges { font-size: .62rem; color: var(--aw-muted); margin-top: .2rem; }
.aw-share-badge { display: inline-block; margin-right: .25rem; padding: 1px 5px; border-radius: 4px; background: #f4efe4; font-size: .58rem; }
.aw-share-wizard label { display: block; margin-top: .45rem; font-size: .64rem; font-weight: 600; }
.aw-share-wizard input, .aw-share-wizard select { width: 100%; margin-top: .2rem; height: 28px; border: 1px solid var(--aw-line); border-radius: 6px; padding: 0 .45rem; font-size: .66rem; }
.aw-share-fieldset { border: 1px solid var(--aw-line); border-radius: 8px; padding: .4rem .5rem; margin-top: .45rem; }
.aw-share-fieldset legend { font-size: .62rem; font-weight: 700; padding: 0 .2rem; }
.aw-check { display: flex; align-items: center; gap: .35rem; font-size: .64rem; margin-top: .25rem; }
.aw-check.flash { animation: pulse-check .9s ease; }
.aw-share-link-row { margin-top: .45rem; padding: .4rem .45rem; border-radius: 8px; background: #faf8f5; border: 1px dashed rgba(181,82,56,.25); opacity: .75; transition: opacity .35s, border-color .35s; }
.aw-share-link-row.revealed { opacity: 1; border-color: rgba(181,82,56,.4); }
.aw-share-link-row code { display: block; font-size: .64rem; color: var(--aw-accent); margin-top: .15rem; word-break: break-all; }

/* 模块演示 · 多场景切换 */
.yc-mod-scene { display: none; }
.yc-mod-scene.on { display: block; }
.yc-mod-action-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .55rem; padding: .45rem .5rem; border: 1px solid var(--aw-line);
  border-radius: var(--aw-radius); background: #fff;
}
.yc-mod-action-meta { font-size: .68rem; font-weight: 600; color: var(--aw-muted); }

/* 权限分享 */
.yc-share-pick-grid .yc-share-pick-card { position: relative; cursor: default; }
.yc-share-pick-card.is-selected { outline: 2px solid var(--aw-accent); outline-offset: 1px; }
.yc-share-check {
  position: absolute; top: 6px; right: 6px; z-index: 3; width: 16px; height: 16px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.85); background: rgba(0,0,0,.25); opacity: 0; transition: opacity .25s, background .25s;
}
.yc-share-pick-card.is-selected .yc-share-check {
  opacity: 1; background: var(--aw-accent); border-color: var(--aw-accent);
  box-shadow: inset 0 0 0 2px #fff;
}
.aw-modal-share { width: min(100%, 440px); }
.aw-modal-share .aw-modal-body { max-height: min(52vh, 360px); overflow: auto; }
.yc-share-picks { display: flex; gap: .4rem; margin-bottom: .45rem; flex-wrap: wrap; }
.yc-share-pick-thumb {
  width: 56px; height: 56px; border-radius: 8px; background: center/cover;
  border: 1px solid var(--aw-line); box-shadow: 0 2px 8px -4px rgba(0,0,0,.12);
}
.aw-share-card.is-highlight { border-color: rgba(181,82,56,.35); box-shadow: 0 0 0 1px rgba(181,82,56,.12); }
.yc-share-link-copy { margin-top: .35rem; }
.yc-share-link-copy code { font-size: .64rem; color: var(--aw-accent); word-break: break-all; }

/* 参展授权 */
.aw-grant-call.is-active { border-color: rgba(181,82,56,.28); background: #fffdfa; }
.aw-grant-call.flash { animation: pulse-check .85s ease; }
.yc-grant-apply-card {
  border: 1px solid var(--aw-line); border-radius: var(--aw-radius); background: #fff;
  padding: .55rem .6rem .6rem;
}
.yc-grant-apply-card .demo-grant-picks { margin-top: .45rem; }
.yc-grant-apply-foot {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  flex-wrap: wrap; margin-top: .55rem; padding-top: .45rem; border-top: 1px solid var(--aw-line);
}
.aw-check.on { color: var(--aw-ink); font-weight: 600; }
.aw-check.on input { accent-color: var(--aw-accent); }
.aw-modal-sm { width: min(100%, 340px); }
.yc-grant-success {
  text-align: center; padding: 2rem 1rem 1.5rem; max-width: 320px; margin: 1.5rem auto 0;
}
.yc-grant-success-ico {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto .65rem;
  background: #e7f2ec; color: var(--aw-ok); font-size: 1.5rem; font-weight: 700;
  display: grid; place-items: center;
}
.yc-grant-success h3 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.yc-grant-success p { font-size: .72rem; color: var(--aw-muted); line-height: 1.45; }
.yc-grant-success-items {
  display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: .75rem;
}
.yc-grant-done-item {
  display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .45rem .18rem .18rem;
  border-radius: 980px; border: 1px solid var(--aw-line); background: #faf8f5; font-size: .62rem;
}

/* 个人主页 · 后台编辑 + 对外展示 */
.yc-mod-profile-wrap {
  background: var(--aw-paper); padding: 0 !important; overflow: hidden;
  display: flex; flex-direction: column; min-height: 0;
}
#mod-profile-scene-edit { padding: .55rem .6rem .65rem; overflow: auto; }
#mod-profile-scene-public.on {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  background: #faf8f5;
}
.yc-profile-edit-form { margin-top: .15rem; }
.yc-profile-field { display: block; margin-top: .4rem; opacity: .4; transition: opacity .3s; }
.yc-profile-field.on { opacity: 1; }
.yc-profile-field span { display: block; font-size: .64rem; font-weight: 600; margin-bottom: .15rem; }
.yc-profile-field input, .yc-profile-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--aw-line);
  border-radius: 6px; padding: .35rem .45rem; font-size: .66rem; background: #fff;
}
.yc-public-site {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  padding: .65rem .7rem 0;
}
.yc-mod-profile-head {
  opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s;
  flex-shrink: 0;
}
.yc-public-site.ready .yc-mod-profile-head { opacity: 1; transform: none; }
.yc-profile-showcase-wrap {
  flex: 1; min-height: 0; position: relative; margin-top: .5rem; overflow: hidden;
}
.yc-mod-profile-wrap .yc-profile-showcase {
  width: 100%; height: 100%; margin-top: 0; overflow: hidden;
  column-count: 3; column-gap: .65rem;
}
.yc-mod-profile-wrap .yc-profile-showcase .yc-pg-card {
  break-inside: avoid; margin-bottom: .58rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.yc-public-site.ready .yc-profile-showcase .yc-pg-card,
.yc-profile-showcase.ready .yc-pg-card { opacity: 1; transform: none; }
.yc-public-site.ready .yc-profile-showcase .yc-pg-card:nth-child(1),
.yc-profile-showcase.ready .yc-pg-card:nth-child(1) { transition-delay: .04s; }
.yc-public-site.ready .yc-profile-showcase .yc-pg-card:nth-child(2),
.yc-profile-showcase.ready .yc-pg-card:nth-child(2) { transition-delay: .1s; }
.yc-public-site.ready .yc-profile-showcase .yc-pg-card:nth-child(3),
.yc-profile-showcase.ready .yc-pg-card:nth-child(3) { transition-delay: .16s; }
.yc-public-site.ready .yc-profile-showcase .yc-pg-card:nth-child(4),
.yc-profile-showcase.ready .yc-pg-card:nth-child(4) { transition-delay: .22s; }
.yc-public-site.ready .yc-profile-showcase .yc-pg-card:nth-child(5),
.yc-profile-showcase.ready .yc-pg-card:nth-child(5) { transition-delay: .28s; }
.yc-public-site.ready .yc-profile-showcase .yc-pg-card:nth-child(6),
.yc-profile-showcase.ready .yc-pg-card:nth-child(6) { transition-delay: .34s; }
.yc-mod-profile-wrap .yc-profile-showcase .pic.h1 { min-height: 132px; }
.yc-mod-profile-wrap .yc-profile-showcase .pic.h2 { min-height: 118px; }
.yc-mod-profile-wrap .yc-profile-showcase .pic.h3 { min-height: 126px; }
.yc-mod-profile-wrap .yc-profile-showcase .pic.h4 { min-height: 112px; }
.yc-mod-profile-wrap .yc-profile-showcase .foot { padding: .45rem .5rem .52rem; }
.yc-profile-showcase.scroll-hint { animation: yc-profile-scroll-hint 2.1s ease-in-out; }
@keyframes yc-profile-scroll-hint {
  0%, 100% { transform: translateY(0); }
  40%, 60% { transform: translateY(-52px); }
}
.yc-profile-showcase-more {
  position: absolute; left: 0; right: 0; bottom: 0; height: 5.5rem;
  background: linear-gradient(180deg, rgba(250,248,245,0) 0%, rgba(250,248,245,.88) 52%, #faf8f5 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: .45rem; pointer-events: none;
}
.yc-profile-showcase-more-label { font-size: .66rem; color: var(--aw-muted); font-weight: 500; }
.aw-demo-chip.flash { animation: pulse-check .85s ease; border-color: rgba(181,82,56,.45); color: var(--aw-accent); }

.aw-form { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: .55rem; text-align: left; }
.aw-profile-photo-col { text-align: center; }
.aw-profile-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .25rem; background: #ebe4d8; overflow: hidden; display: grid; place-items: center; font-weight: 700; color: var(--aw-accent); }
.aw-profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-form label { display: block; margin-top: .35rem; font-size: .64rem; font-weight: 600; }
.aw-form input, .aw-form textarea { width: 100%; margin-top: .18rem; border: 1px solid var(--aw-line); border-radius: 6px; padding: .35rem .45rem; font-size: .66rem; background: #fff; }
.aw-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: .35rem; margin-top: .35rem; }
.aw-mini-card { border: 1px solid var(--aw-line); border-radius: 8px; overflow: hidden; background: #fff; padding: 0; text-align: left; }
.aw-mini-card .pic { aspect-ratio: 1; background: #ebe4d8; }
.aw-mini-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-mini-card .meta { padding: .25rem .3rem .3rem; font-size: .56rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yc-grant-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .45rem .18rem .18rem; border-radius: 980px; border: 1px solid var(--aw-line); background: #fafafa; font-size: .6rem; opacity: .45; transition: opacity .3s, border-color .3s, background .3s; }
.yc-grant-chip.on { opacity: 1; border-color: rgba(181,82,56,.35); background: #fff7ef; }
.yc-grant-chip-pic { width: 22px; height: 22px; border-radius: 50%; background-size: cover; background-position: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fcard, .list-table tr, .hang, .strip-item, .export-panel, .export-zip, .export-pdf-col,
  .studio-hang, .studio-board, .group-box, .lt-tool, .place-ghost, .demo-cursor,
  .demo-drag-ghost, .ad-btn.pulse, .zip-tree .node, .pdf-art, .pdf-info,
  .yc-ov-stat, .yc-ov-card, .yc-overview-pane .aw-feed, .yc-pg-card, .yc-grant-card, .yc-grant-chip,
  .yc-fdmv-work-btn, .yc-fdmv .fdmv-img, .yc-profile-head,
  .yc-mod-head, .yc-mod-device-lg, .aw-demo-card, .aw-demo-list-row, .fdm-slot, .aw-check, .aw-share-link-row,
  .yc-grant-chip, .aw-demo-viewer .fdmv-img, .yc-mod-profile-head, .yc-share-pick-card, .aw-grant-call {
    transition: none !important; animation: none !important;
  }
}