/* ============================================================
   拼豆工坊 — 样式
   主题：温暖奶油底 + 马卡龙拼豆色 + 圆润卡片
   ============================================================ */
:root {
  --bg: #fff8f0;
  --bg-2: #fffdf9;
  --surface: #ffffff;
  --ink: #2a2438;
  --ink-2: #6b6577;
  --ink-3: #9a94a8;
  --line: #efe7dc;

  --red: #e0242e;
  --pink: #f48fb1;
  --yellow: #ffd400;
  --blue: #2e6bc4;
  --green: #3b9e4c;
  --purple: #7c3fbf;
  --orange: #f57c20;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px rgba(42, 36, 56, 0.08);
  --shadow-sm: 0 4px 14px rgba(42, 36, 56, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, #fff0e6 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, #ffe9f1 0%, transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.hidden { display: none !important; }

/* ===== 分页 ===== */
.page { display: none; }
.page.active { display: block; animation: pageIn .3s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.site-nav a.active { color: var(--ink); font-weight: 700; position: relative; }
.site-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px;
  border-radius: 3px; background: var(--red);
}

/* ===== 顶栏 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 40px;
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-beads { display: inline-grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.logo-beads i {
  width: 11px; height: 11px; border-radius: 50%;
  box-shadow: inset -2px -2px 3px rgba(0,0,0,.18);
}
.logo-beads i:nth-child(1) { background: var(--red); }
.logo-beads i:nth-child(2) { background: var(--yellow); }
.logo-beads i:nth-child(3) { background: var(--blue); }
.logo-beads i:nth-child(4) { background: var(--green); }

.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(224,36,46,.28); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(224,36,46,.36); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ===== Hero ===== */
.hero {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center;
  padding: 64px 40px 56px;
}
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #fff1f4; color: var(--red); font-size: 13px; font-weight: 600;
  border: 1px solid #ffdbe2;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08; margin: 20px 0 18px; letter-spacing: -1px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--red), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { font-size: 17px; color: var(--ink-2); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; }
.hero-stats {
  list-style: none; display: flex; gap: 36px; padding: 0; margin: 34px 0 0;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; color: var(--ink); }
.hero-stats span { font-size: 13px; color: var(--ink-3); }

.hero-art { display: flex; justify-content: center; }
#hero-canvas { max-width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(42,36,56,.12)); }

/* ===== Section 通用 ===== */
.section { max-width: 1160px; margin: 0 auto; padding: 48px 40px; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: 34px; margin: 0 0 8px; letter-spacing: -.5px; }
.section-head p { color: var(--ink-2); margin: 0; }

/* ===== 文化卡片 ===== */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.card-icon { font-size: 30px; }
.card h3 { margin: 12px 0 10px; font-size: 19px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card strong { color: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 15px; }
.steps span {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff1f4; color: var(--red); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.size-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.size-list li { color: var(--ink-2); font-size: 15px; }
.size-list b { color: var(--ink); }

/* ===== 热门图纸 ===== */
.gallery { background: transparent; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px;
}
.gallery-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 14px 12px; text-align: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-card canvas { width: 100%; height: auto; image-rendering: pixelated; border-radius: 10px; background: #fbf7f1; }
.gallery-card .gc-name { margin-top: 10px; font-weight: 600; font-size: 15px; }
.gallery-card .gc-size { font-size: 12px; color: var(--ink-3); }

/* ===== 设计工作台 ===== */
.studio { background: var(--bg-2); border-radius: 28px; margin: 40px auto 60px; padding: 44px 40px 48px; box-shadow: var(--shadow); }
.studio-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; transition: grid-template-columns .25s ease; }
.studio-workspace {
  min-width: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
}
.studio-display { position: sticky; top: 88px; min-width: 0; }

/* 工作区悬浮框头部 + 收起 */
.workspace-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fdfbf7, #faf6ee);
}
.workspace-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.workspace-toggle-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 12px; font-size: 13px; color: var(--ink-2); font-weight: 600;
  transition: all .15s ease;
}
.workspace-toggle-btn:hover { border-color: var(--red); color: var(--red); }
.workspace-body { padding: 18px; }

/* 收起状态：只留一条竖排的展开按钮 */
.studio-layout.collapsed { grid-template-columns: 54px 1fr; }
.studio-layout.collapsed .workspace-body { display: none; }
.studio-layout.collapsed .workspace-head {
  flex-direction: column; gap: 12px; padding: 14px 8px; border-bottom: none; min-height: 100%;
}
.studio-layout.collapsed .workspace-title { writing-mode: vertical-rl; font-size: 13px; }

.studio-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab {
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: all .15s ease;
}
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.panel { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.dropzone {
  border: 2px dashed #e6cfc2; border-radius: var(--radius);
  background: #fffaf4; padding: 44px 20px; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.dropzone:hover, .dropzone.drag { border-color: var(--red); background: #fff4f1; }
.dz-icon { font-size: 40px; }
.dz-title { font-size: 17px; font-weight: 600; margin: 10px 0 4px; }
.dz-title span { color: var(--red); }
.dz-hint { font-size: 13px; color: var(--ink-3); margin: 0; }

/* ===== 裁剪取景 ===== */
.crop-stage {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 16px;
}
.crop-canvas-wrap { display: flex; justify-content: center; background: #f3f0ea; border-radius: 10px; overflow: hidden; }
#crop-canvas { max-width: 100%; height: auto; display: block; cursor: crosshair; touch-action: none; }
.crop-tip { font-size: 12.5px; color: var(--ink-3); text-align: center; margin: 12px 0 10px; line-height: 1.5; }
.crop-actions { display: flex; align-items: center; justify-content: space-between; }
.crop-info { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.options {
  display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center;
  margin-top: 20px; padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}

/* ===== 拼豆图纸尺寸卡片 ===== */
.size-card {
  width: 100%; flex: 1 1 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; margin-top: 4px;
}
.size-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.size-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.size-total { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.size-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.size-row > label { color: var(--ink-2); font-size: 13px; min-width: 90px; }
.size-row input[type=range] { flex: 1; accent-color: #2e6bc4; height: 4px; }
.size-row input[type=number] {
  width: 72px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-size: 14px; color: var(--ink); text-align: center; font-family: inherit;
  -moz-appearance: textfield;
}
.size-row input[type=number]::-webkit-outer-spin-button,
.size-row input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.size-row .size-h { color: #7c3fbf; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.size-row .size-unit { color: var(--ink-2); font-size: 13px; }
.options label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.options select {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-2); font-size: 14px; color: var(--ink); font-family: inherit;
}
.opt-check { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 14px !important; }
.opt-check input { width: 17px; height: 17px; accent-color: var(--red); }
#btn-generate { margin-left: auto; }

/* 去除背景色 开关 */
.switch { flex-direction: row !important; align-items: center; gap: 10px !important; font-size: 14px !important; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch-slider {
  position: relative; width: 42px; height: 24px; flex: none;
  background: #ddd5cb; border-radius: 999px; transition: background .2s ease;
}
.switch-slider::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.switch input:checked + .switch-slider { background: var(--green); }
.switch input:checked + .switch-slider::after { transform: translateX(18px); }
.switch-label { color: var(--ink-2); }

/* ===== 自由创作工具栏 ===== */
.draw-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tool-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tool {
  padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; color: var(--ink-2); font-weight: 600;
}
.tool.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.tool-group select {
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-2); font-size: 14px; color: var(--ink); font-family: inherit;
}

.palette { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; position: relative; box-shadow: inset -3px -3px 4px rgba(0,0,0,.16);
  transition: transform .12s ease;
}
.swatch:hover { transform: scale(1.12); }
.swatch.active { border-color: var(--ink); transform: scale(1.18); }

/* ===== 微调工具条 ===== */
.refine-bar {
  display: flex; flex-direction: column; gap: 12px;
  background: #fbf8f2; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px;
}
.refine-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.refine-tools .tool { padding: 8px 13px; font-size: 13px; border-radius: 8px; }
.refine-tools .tool.danger:hover { border-color: var(--red); color: var(--red); }
.refine-tools .tool.done { border-color: var(--green); color: var(--green); font-weight: 700; }
.tool-sep { width: 1px; height: 22px; background: var(--line); align-self: center; }
.result-actions .btn.active { border-color: var(--red); color: var(--red); background: #fff1f4; }
.refine-bar .palette { margin: 0; gap: 6px; }
.refine-bar .palette .swatch { width: 26px; height: 26px; }
.refine-tip { font-size: 12px; color: var(--ink-3); margin: 0; }
#preview-canvas.editing { image-rendering: pixelated; cursor: crosshair; }

.draw-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
#draw-canvas {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  cursor: crosshair; touch-action: none; box-shadow: var(--shadow-sm);
  max-width: 100%; height: auto;
}
.draw-tip { font-size: 13px; color: var(--ink-3); margin: 0; }

/* ===== 结果面板 ===== */
.result { margin-top: 0; }
.result-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.result-head h3 { margin: 0; font-size: 20px; }
.result-meta { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.result-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.result-actions .btn { padding: 10px 16px; font-size: 14px; }
.result-body {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 22px;
}
.chart-wrap { display: flex; align-items: flex-start; justify-content: center; overflow: auto; }
#preview-canvas { image-rendering: auto; border: 1px solid var(--line); border-radius: 8px; max-width: 100%; }

.result-side { display: flex; flex-direction: column; gap: 18px; }
.side-block h4 { margin: 0 0 12px; font-size: 16px; }

/* 显示区空状态 */
.result-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 420px; text-align: center; color: var(--ink-3);
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm);
  padding: 40px 20px;
}
.empty-icon { font-size: 52px; }
.result-empty p { margin: 0; line-height: 1.7; font-size: 15px; }

.material-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; padding-right: 4px; }
.mat-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mat-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset -3px -3px 4px rgba(0,0,0,.16); border: 1px solid rgba(0,0,0,.06); }
.mat-name { color: var(--ink); flex: 1; }
.mat-code {
  display: inline-block; min-width: 24px; margin-right: 8px; padding: 1px 6px;
  border-radius: 6px; background: #fff1f4; color: var(--red);
  font-size: 12px; font-weight: 700; text-align: center;
  font-variant-numeric: tabular-nums;
}
.mat-count { color: var(--ink-2); font-variant-numeric: tabular-nums; }

.suggestions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.suggestions li { font-size: 13.5px; color: var(--ink-2); padding-left: 16px; position: relative; }
.suggestions li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--pink);
}

/* ===== 页脚 ===== */
.site-footer {
  text-align: center; padding: 40px 20px 48px; color: var(--ink-3);
  border-top: 1px solid var(--line); font-size: 14px;
}
.footer-note { font-size: 12.5px; margin-top: 6px; }
.footer-beian { margin-top: 12px; font-size: 12px; }
.footer-beian a { color: var(--ink-3); }
.footer-beian a:hover { color: var(--ink-2); }

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px;
  font-size: 14px; opacity: 0; transition: opacity .25s ease, transform .25s ease;
  z-index: 999; pointer-events: none; box-shadow: 0 10px 26px rgba(42,36,56,.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 图纸全屏查看 ===== */
.viewer {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(18, 14, 22, 0.94);
  display: flex; flex-direction: column;
  animation: fade .2s ease;
}
.viewer-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; color: #fff;
}
.viewer-title { font-weight: 700; font-size: 16px; }
.viewer-zoom { margin-left: auto; color: #ccc; font-size: 13px; font-variant-numeric: tabular-nums; }
.viewer-close {
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer;
  transition: background .15s ease;
}
.viewer-close:hover { background: rgba(255,255,255,.25); }
.viewer-stage {
  flex: 1; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  cursor: grab; touch-action: none;
}
.viewer-stage.dragging { cursor: grabbing; }
.viewer-stage img {
  max-width: none; max-height: none;
  transform: translate(0, 0) scale(1);
  transform-origin: center center;
  will-change: transform;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  background: #fff;
}
.viewer-tip {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  margin: 0; padding: 6px 16px; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #ccc; font-size: 13px; pointer-events: none;
}

/* ===== 留言交流页面 ===== */
.feedback { max-width: 760px; }
.feedback-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px;
}
.feedback-types { display: flex; gap: 10px; }
.ftype {
  flex: 1; padding: 10px 0; border-radius: 10px; border: 1px solid var(--line);
  background: #faf7f1; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: all .15s ease;
}
.ftype.active { background: var(--ink); color: #fff; border-color: var(--ink); }
#feedback-content {
  width: 100%; margin: 14px 0 0; padding: 13px 15px; min-height: 110px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-family: inherit;
  resize: vertical; color: var(--ink); background: #fff;
}
#feedback-content:focus { outline: none; border-color: var(--red); }
.feedback-foot { display: flex; gap: 10px; margin-top: 12px; }
#feedback-name {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ink); min-width: 0;
}
#feedback-name:focus { outline: none; border-color: var(--red); }
.feedback-foot .btn { flex: none; }

.feedback-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.fb-empty { text-align: center; color: var(--ink-3); font-size: 14px; padding: 40px 0; margin: 0; }
.fb-item {
  display: flex; gap: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.fb-avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: #fff;
}
.fb-avatar-suggestion { background: var(--green); }
.fb-avatar-question { background: var(--blue); }
.fb-avatar-other { background: var(--purple); }
.fb-body { flex: 1; min-width: 0; }
.fb-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.fb-type { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.fb-type-suggestion { background: #e8f5e9; color: #2e7d32; }
.fb-type-question { background: #e3f2fd; color: #1565c0; }
.fb-type-other { background: #f3e8ff; color: #7c3fbf; }
.fb-time { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.fb-content { margin: 8px 0 0; font-size: 14px; color: var(--ink); line-height: 1.65; word-break: break-word; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .site-header { padding: 12px 20px; gap: 16px; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px 22px; }
  .hero-art { order: -1; }
  .culture-grid { grid-template-columns: 1fr; }
  .section { padding: 36px 22px; }
  .studio { padding: 32px 20px; border-radius: 20px; }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-display { position: static; }
  .result-body { grid-template-columns: 1fr; }
  .result-side { flex-direction: column; }
}
