/* 鸢谱 · 手机用户端样式 */
html, body { height: 100%; }
body { overflow: hidden; }
.stage { display: flex; align-items: center; justify-content: center; height: 100vh; padding: 18px; }

.phone {
  position: relative; width: 100%; max-width: 440px; height: 100%; background: var(--paper);
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 70px rgba(43,38,34,.22);
}
@media (min-width: 600px) {
  .phone { height: min(880px, 94vh); border-radius: 30px; border: 8px solid #fffdf7; }
}

/* 顶栏 */
.topbar {
  flex: none; height: 62px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(100deg, #9e2b25, #b8412f 55%, #c9a063); color: #fff;
  box-shadow: 0 3px 14px rgba(120,40,30,.18); z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-seal { width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,.85); border-radius: 8px;
  display: grid; place-items: center; font-family: var(--serif); font-size: 23px; }
.brand-text strong { display: block; font-size: 20px; letter-spacing: 5px; line-height: 1.15; }
.brand-text small { display: block; font-size: 9px; opacity: .82; letter-spacing: .5px; }
.top-actions { display: flex; gap: 8px; }
.top-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
  color: #fff; font-size: 13px; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.admin-link { font-family: var(--serif); }

/* 视图容器 */
#views { flex: 1; overflow: hidden; position: relative; }
.view { display: none; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 26px; }
.view.active { display: block; }
.view-inner { padding: 14px 16px 10px; }
.loading { text-align: center; color: var(--ink-3); padding-top: 60px; font-size: 13px; }

/* 底部导航 */
.tabbar { flex: none; height: 62px; display: flex; background: var(--paper-2); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(43,38,34,.05); z-index: 5; padding-bottom: env(safe-area-inset-bottom); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-3); font-size: 10.5px; transition: .2s; }
.tab svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab.active { color: var(--red); font-weight: 700; }
.tab.active svg { stroke-width: 2.1; }

/* 首页 Hero */
/* 实拍图展示位：暗化层在 JS 内联样式里，这里统一裁切方式与文字投影 */
.photo { background-size: cover !important; background-position: center !important;
  background-repeat: no-repeat !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.45); }
.photo::after { display: none !important; }
.lin-top.photo h4, .lin-top.photo span, .topic-card.photo h4, .topic-card.photo p { position: relative; z-index: 1; }

.hero { position: relative; border-radius: 16px; overflow: hidden; padding: 20px 18px; color: #fff;
  background: linear-gradient(90deg, rgba(84,28,20,.90) 0%, rgba(84,28,20,.62) 48%, rgba(84,28,20,.14) 100%),
              url('../../common/img/hero.jpg') center 44% / cover no-repeat;
  box-shadow: var(--shadow); text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.hero::after { display: none; }
.hero .kicker { font-size: 11px; letter-spacing: 2px; opacity: .85; }
.hero h1 { font-family: var(--serif); font-size: 25px; letter-spacing: 2px; margin: 8px 0 6px; line-height: 1.4; position: relative; z-index: 1; }
.hero p { font-size: 12px; opacity: .9; line-height: 1.7; margin: 0 0 15px; max-width: 78%; position: relative; z-index: 1; }
.hero-btns { display: flex; gap: 9px; position: relative; z-index: 1; }
.hero .btn { background: #fffdf6; color: #9e2b25; box-shadow: none; padding: 9px 15px; font-size: 13px; }
.hero .btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.7); }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.quick-item { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 4px 9px;
  text-align: center; font-size: 11px; color: var(--ink-2); transition: .2s; }
.quick-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.quick-item .qi { width: 32px; height: 32px; margin: 0 auto 5px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; color: #fff; }

.hscroll { display: flex; gap: 11px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.hscroll > * { flex: none; scroll-snap-align: start; }

/* 谱系卡片 */
.lin-card { width: 208px; border-radius: 14px; overflow: hidden; background: var(--paper-2);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lin-top { height: 84px; position: relative; padding: 13px; color: #fff; }
.lin-top::after { content: '谱'; position: absolute; right: 6px; bottom: -22px; font-family: var(--serif);
  font-size: 80px; opacity: .12; }
.lin-top h4 { margin: 0 0 3px; font-family: var(--serif); font-size: 17px; letter-spacing: 1px; }
.lin-top span { font-size: 10px; opacity: .9; }
.lin-body { padding: 11px 12px 12px; }
.lin-body .heir { font-size: 11.5px; font-weight: 700; }
.lin-body .gen { font-size: 10px; color: var(--red); margin-left: 4px; }
.lin-body .mw { font-size: 10.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.dots { display: flex; gap: 4px; margin-top: 8px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); display: block; }
.lin-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; font-size: 10px; color: var(--ink-3); }

/* 模板广场 */
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.tpl-card { border: 1px solid var(--line); border-radius: 13px; background: var(--paper-2); overflow: hidden; }
.tpl-thumb { height: 132px; background: radial-gradient(circle at 50% 40%, #fffdf6, #f0e7d5);
  display: grid; place-items: center; overflow: hidden; }
.tpl-thumb svg, .tpl-thumb img { width: 100%; height: 100%; object-fit: contain; }
.tpl-info { padding: 9px 10px 10px; }
.tpl-info h4 { margin: 0 0 3px; font-size: 12.5px; font-family: var(--serif); }
.tpl-info p { margin: 0; font-size: 10px; color: var(--ink-3); }
.tpl-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; font-size: 10px; color: var(--ink-3); }

.topic-card { width: 150px; height: 92px; border-radius: 13px; padding: 13px; color: #fff; position: relative; overflow: hidden; }
.topic-card::after { content: '祥'; position: absolute; right: -2px; bottom: -22px; font-family: var(--serif); font-size: 78px; opacity: .13; }
.topic-card h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 16px; }
.topic-card p { margin: 0; font-size: 10px; opacity: .9; line-height: 1.5; }
.topic-card .tag { position: absolute; right: 9px; top: 10px; font-size: 9px; border: 1px solid rgba(255,255,255,.65); border-radius: 4px; padding: 1px 5px; }

.mw-card { width: 176px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--paper-2); }
.mw-art { height: 96px; display: grid; place-items: center; position: relative; color: #fff; }
.mw-art .mw-glyph { font-family: var(--serif); font-size: 46px; opacity: .85; }
.mw-card .mw-info { padding: 9px 10px 10px; }
.mw-card h4 { margin: 0; font-size: 12.5px; font-family: var(--serif); }
.mw-card p { margin: 4px 0 0; font-size: 10px; color: var(--ink-2); line-height: 1.5; }

.recruit { border-radius: 14px; padding: 15px 16px; background: linear-gradient(120deg, #2b2622, #4a3b31); color: #fff; position: relative; overflow: hidden; }
.recruit::after { content: '创'; position: absolute; right: 8px; top: -20px; font-family: var(--serif); font-size: 110px; opacity: .07; }
.recruit h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 17px; }
.recruit p { margin: 0 0 12px; font-size: 11px; opacity: .85; line-height: 1.65; max-width: 80%; }
.recruit .btn { background: var(--gold-2); color: #3a2a16; padding: 7px 14px; font-size: 12px; box-shadow: none; }

.notice { font-size: 10px; color: var(--ink-3); line-height: 1.7; text-align: center; padding: 20px 18px 6px; }

/* ============ 九步 AI 定制共创法向导 ============ */
.wiz { padding: 0 0 10px; }
.wiz-head { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 12px 16px 10px; }
.wiz-head h2 { margin: 0 0 3px; font-family: var(--serif); font-size: 19px; letter-spacing: 1px; }
.wiz-head p { margin: 0; font-size: 11px; color: var(--ink-3); line-height: 1.5; }
.steps { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.step-dot { flex: 1; text-align: center; position: relative; }
.step-dot::before { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.step-dot:first-child::before { display: none; }
.step-dot i { position: relative; z-index: 1; display: grid; place-items: center; width: 20px; height: 20px; margin: 0 auto;
  border-radius: 50%; background: var(--paper-3); color: var(--ink-3); font-size: 10px; font-style: normal; border: 1px solid var(--line-2); }
.step-dot span { display: block; font-size: 9px; color: var(--ink-3); margin-top: 3px; white-space: nowrap; }
.step-dot.on i { background: var(--red); color: #fff; border-color: var(--red); }
.step-dot.on span { color: var(--red); font-weight: 700; }
.step-dot.done i { background: var(--jade); color: #fff; border-color: var(--jade); }
.step-dot.done::before { background: var(--jade); }
.wiz-body { padding: 14px 16px 8px; }
.step-title { font-family: var(--serif); font-size: 17px; margin: 0 0 3px; letter-spacing: 1px; }
.step-desc { font-size: 11px; color: var(--ink-2); line-height: 1.65; margin: 0 0 13px; }
.wiz-foot { display: flex; gap: 10px; padding: 10px 16px 16px; position: sticky; bottom: 0;
  background: linear-gradient(to top, var(--paper) 72%, transparent); }
.wiz-foot .btn { flex: 1; }
.wiz-foot .btn.prev { flex: 0 0 96px; }

.opt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px; background: var(--paper-2);
  transition: .18s; text-align: left; }
.opt-card:hover { border-color: var(--gold); }
.opt-card.on { border-color: var(--red); background: #fff7ef; box-shadow: 0 0 0 2px rgba(158,43,37,.09); }
.opt-card h4 { margin: 0 0 3px; font-size: 13px; font-family: var(--serif); }
.opt-card p { margin: 0; font-size: 10px; color: var(--ink-2); line-height: 1.5; }
.opt-card .opt-icon { font-family: var(--serif); font-size: 21px; color: var(--red); margin-bottom: 4px; }
.opt-card .opt-tag { font-size: 9px; color: var(--gold); margin-top: 5px; display: block; }

/* 第③步形制：工艺复杂度档位、四档价格带与具体金额（越复杂越靠暖色） */
.tier-badge { display: inline-block; flex: none; margin-left: 6px; padding: 2px 7px; border-radius: 9px;
  font-size: 10px; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.tier-1 { background: #eaf3e9; color: #3f7d5e; border-color: #c9dfcd; }
.tier-2 { background: #eef1f7; color: #3a5a8c; border-color: #cfd9e8; }
.tier-3 { background: #faeeda; color: #8a5a17; border-color: #e8d3aa; }
.tier-4 { background: #f8e6e4; color: #9e2b25; border-color: #e8c8c4; }
.craft-note { font-size: 12px; color: #7a6f62; line-height: 1.6; margin-top: 5px; }
.opt-card .craft-note { font-size: 10px; line-height: 1.5; margin-top: 5px; }
.opt-card .tier-price { font-size: 12px; font-weight: 700; color: #9e2b25; margin-top: 6px; letter-spacing: .2px; }
.price-band { margin: 2px 0 12px; padding: 10px 11px; border: 1px solid #e6d8bd; border-radius: 12px;
  background: linear-gradient(#fdf8ee, #f8f1e2); }
.price-band > b { display: block; font-family: var(--serif); font-size: 12px; color: #8a5a17; margin-bottom: 7px; }
.pb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 7px; }
.pb-item { display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
  padding: 4px 7px; border-radius: 8px; background: #fffaf0; border: 1px solid #eee0c4; }
.pb-item i { font-style: normal; font-size: 10px; color: #6b6155; white-space: nowrap; }
.pb-item em { font-style: normal; font-size: 11px; font-weight: 700; color: #9e2b25; white-space: nowrap; }
.pb-4 em { color: #8a5a17; }
.price-band .tiny { display: block; line-height: 1.5; }
.quote-now { font-size: 12px; color: #2b2622; line-height: 1.7; margin-top: 6px; }
.quote-now b { color: #9e2b25; font-weight: 700; }
.quote-now .tiny { font-weight: 400; }
.shop-card .shop-reason { font-size: 11px; color: #3f7d5e; margin-top: 5px; }

/* 大谱系卡（第①步） */
.lin-big { display: flex; gap: 12px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--paper-2); padding: 12px; margin-bottom: 11px; transition: .18s; }
.lin-big.on { border-color: var(--red); box-shadow: 0 0 0 2px rgba(158,43,37,.09); }
.lin-big-art { width: 88px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-size: 40px; position: relative; overflow: hidden; }
.lin-big-art::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; }
.lin-big-main { flex: 1; min-width: 0; }
.lin-big-main h4 { margin: 0 0 2px; font-family: var(--serif); font-size: 16px; }
.lin-big-main .sub { font-size: 10px; color: var(--ink-3); }
.lin-big-main .heirline { font-size: 11px; margin: 6px 0 3px; }
.lin-big-main .heirline b { color: var(--red); }
.lin-big-main .mwline { font-size: 10.5px; color: var(--ink-2); }
.lin-big-main .rules { font-size: 10px; color: var(--ink-3); margin-top: 5px; line-height: 1.5; }
.lin-big-main .link { font-size: 10.5px; color: var(--red); margin-top: 6px; display: inline-block; border-bottom: 1px solid var(--red); }

.motif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.motif-chip { border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); padding: 8px 5px; text-align: center; }
.motif-chip.on { border-color: var(--red); background: #fff4ec; }
.motif-chip .mg { width: 30px; height: 30px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 16px; color: #fff; }
.motif-chip b { font-size: 11.5px; display: block; }
.motif-chip small { font-size: 9px; color: var(--ink-3); display: block; margin-top: 2px; line-height: 1.3; }

.guard-box { border: 1px solid #e8c98c; background: #fdf5e4; border-radius: 11px; padding: 11px 12px; margin-bottom: 12px; }
.guard-box p { margin: 0 0 8px; font-size: 11.5px; color: #7a5a24; line-height: 1.6; }
.guard-sugs { display: flex; gap: 6px; flex-wrap: wrap; }

.cand-card { border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper-2); margin-bottom: 13px; overflow: hidden; }
.cand-card.on { border-color: var(--red); box-shadow: 0 0 0 2px rgba(158,43,37,.1); }
.cand-svg { height: 214px; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #fffdf7, #efe5d1); }
.cand-svg svg, .cand-svg img { width: 100%; height: 100%; object-fit: contain; }
.cand-info { padding: 11px 12px 12px; }
.cand-info h4 { margin: 0 0 4px; font-size: 14px; font-family: var(--serif); }
.cand-info p { margin: 0; font-size: 10.5px; color: var(--ink-2); line-height: 1.6; }
.cand-info .src { font-size: 10px; color: var(--gold); margin-top: 6px; }
.cand-info .ai { font-size: 9.5px; color: var(--ink-3); margin-top: 5px; line-height: 1.5; border-top: 1px dashed var(--line); padding-top: 6px; }
details.prompt { margin-top: 7px; }
details.prompt summary { font-size: 10.5px; color: var(--blue); cursor: pointer; }
details.prompt pre { white-space: pre-wrap; font-size: 10px; line-height: 1.6; background: var(--paper-3);
  padding: 8px; border-radius: 8px; color: var(--ink-2); margin: 6px 0 0; }

.palette-row { display: flex; gap: 8px; flex-wrap: wrap; }
.color-item { flex: 1 0 28%; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--paper-2); text-align: center; }
.color-item input[type=color] { width: 100%; height: 34px; border: none; background: none; padding: 0; cursor: pointer; }
.color-item span { font-size: 10px; color: var(--ink-2); display: block; margin-top: 3px; }
.range { width: 100%; accent-color: var(--red); }

/* 放飞预览：低饱和晴空，与 flight.js 的 2D / WebGL 取色一致 */
.flight-wrap { position: relative; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #b8d0dc 0%, #d1e0e3 55%, #eaece3 100%);
  height: 288px; border: 1px solid var(--line); }
#flightCanvas { display: block; width: 100%; height: 100%; }
.flight-badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.8); border-radius: 8px;
  padding: 4px 9px; font-size: 10px; color: var(--ink-2);
  max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flight-tip { position: absolute; right: 10px; bottom: 10px; font-size: 9px; color: #3a5a6c; background: rgba(255,255,255,.72); padding: 3px 7px; border-radius: 6px; }
.flight-ctrl { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.flight-ctrl .chip { flex: 1; justify-content: center; }
.slider-row { display: flex; align-items: center; gap: 9px; margin-top: 10px; font-size: 11px; color: var(--ink-2); }

/* 方案包 / 工坊 */
.pkg-box { border: 1px solid var(--line); border-radius: 13px; background: var(--paper-2); padding: 13px; }
.pkg-box h4 { margin: 0 0 8px; font-family: var(--serif); font-size: 15px; }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.kv span:first-child { color: var(--ink-3); flex: none; }
.kv span:last-child { text-align: right; }
.shop-card { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--paper-2); margin-bottom: 9px; }
.shop-card.on { border-color: var(--jade); background: #f2f8f3; }
.shop-card h4 { margin: 0 0 3px; font-size: 13px; }
.shop-card p { margin: 0; font-size: 10.5px; color: var(--ink-2); line-height: 1.55; }
.shop-card .rec { font-size: 9.5px; color: #fff; background: var(--jade); padding: 1px 6px; border-radius: 4px; margin-left: 6px; }

/* 鸢谱知识库 */
.atlas-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px 8px; position: sticky; top: 0;
  background: var(--paper); z-index: 3; border-bottom: 1px solid var(--line); }
.atlas-tabs .chip { flex: none; }
.knowledge-card { border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2);
  padding: 12px; margin-bottom: 10px; }
.knowledge-card h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 14.5px; }
.knowledge-card p { margin: 0; font-size: 11px; color: var(--ink-2); line-height: 1.6; }
.knowledge-card .kc-tag { font-size: 9.5px; color: var(--gold); margin-top: 6px; }
.atlas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.atlas-tile { border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); padding: 10px 4px; text-align: center; }
.atlas-tile .at { width: 34px; height: 34px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); color: #fff; font-size: 16px; }
.atlas-tile b { font-size: 11px; display: block; }
.atlas-tile small { font-size: 9px; color: var(--ink-3); }

/* 我的 */
.mine-head { background: linear-gradient(130deg, #9e2b25, #c9a063); color: #fff; padding: 18px 16px 20px; border-radius: 0 0 22px 22px; }
.mine-head .row { gap: 12px; }
.avatar { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.2); display: grid; place-items: center; font-family: var(--serif); font-size: 24px; }
.mine-head h3 { margin: 0; font-family: var(--serif); font-size: 19px; }
.mine-head p { margin: 3px 0 0; font-size: 10.5px; opacity: .88; }
.mine-stats { display: flex; margin-top: 16px; background: rgba(255,255,255,.14); border-radius: 12px; padding: 10px 0; }
.mine-stats div { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,.25); }
.mine-stats div:last-child { border: none; }
.mine-stats b { display: block; font-size: 17px; }
.mine-stats span { font-size: 9.5px; opacity: .85; }
.mine-tabs { display: flex; gap: 6px; padding: 13px 16px 9px; overflow-x: auto; }
.work-item { display: flex; gap: 11px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper-2); padding: 10px; margin-bottom: 9px; }
.work-thumb { width: 66px; height: 66px; flex: none; border-radius: 9px; background: #f0e7d5; overflow: hidden; display: grid; place-items: center; }
.work-thumb svg, .work-thumb img { width: 100%; height: 100%; object-fit: contain; }
.work-item h4 { margin: 0 0 3px; font-size: 12.5px; }
.work-item p { margin: 0; font-size: 10px; color: var(--ink-3); line-height: 1.5; }
.work-btns { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.earning-total { background: linear-gradient(120deg, #2b2622, #4a3b31); color: #fff; border-radius: 13px; padding: 15px; }
.earning-total span { font-size: 11px; opacity: .8; }
.earning-total b { display: block; font-size: 27px; margin-top: 4px; font-family: var(--serif); }

.modal-wide { max-width: 560px; }
.detail-art { height: 150px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; }
.detail-art span { font-family: var(--serif); font-size: 68px; opacity: .9; }
.detail-kv { font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.detail-kv b { color: var(--ink); }

/* 纹样稿容器：交叉细纤维 + 暖白受光，让实时生成的矢量稿像铺在真宣纸上 */
.tpl-thumb, .cand-svg, .work-thumb {
  background-image:
    radial-gradient(circle at 46% 38%, rgba(255,255,255,.78), rgba(226,213,188,.42)),
    repeating-linear-gradient(28deg, rgba(139,110,70,.05) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(118deg, rgba(139,110,70,.035) 0 1px, transparent 1px 10px);
  background-size: cover;
}

/* ============ 九步流程补充样式 ============ */
/* 九个步骤点：缩短标签、收紧字号，保证手机宽度下不折行 */
.steps .step-dot span { font-size: 9px; letter-spacing: -.3px; }
.steps .step-dot i { width: 19px; height: 19px; font-size: 9px; }

/* 首页九步流程条 */
.nine-flow .between { flex-wrap: wrap; }
.nine-flow { margin: 12px 0 4px; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--paper-2); }
.nine-flow h3 { margin: 0; font-family: var(--serif); font-size: 15px; letter-spacing: .5px; }
.nine-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px 4px; margin: 11px 0 12px; }
.nine-step { text-align: center; }
.nine-step b { display: block; color: var(--red); font-family: var(--serif); font-size: 16px; line-height: 1.25; }
.nine-step span { display: block; font-size: 10px; color: var(--ink-2); }

/* 第⑤步尺寸卡 */
.size-card { display: block; width: 100%; text-align: left; margin-bottom: 9px; padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper-2); transition: .18s; }
.size-card:hover { border-color: var(--gold); }
.size-card.on { border-color: var(--red); background: #fff7ef; box-shadow: 0 0 0 2px rgba(158,43,37,.09); }
.size-card h4 { margin: 0; font-family: var(--serif); font-size: 14px; }
.size-card p { margin: 4px 0 0; font-size: 10px; color: var(--ink-2); line-height: 1.5; }

/* 第③步形制轮廓预览 */
.shape-preview { height: 236px; display: grid; place-items: center; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); }
.shape-preview svg { width: 100%; height: 100%; max-width: 236px; }
.shape-hint { text-align: center; font-size: 12px; line-height: 1.9; color: var(--ink-3); }

/* ============ 第⑧步：目标风级与规则化质检 ============ */
.wind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.wind-card { display: block; text-align: left; padding: 9px 11px; border: 1.5px solid var(--line);
  border-radius: 11px; background: var(--paper-2); transition: .18s; }
.wind-card:hover { border-color: var(--gold); }
.wind-card.on { border-color: var(--red); background: #fff7ef; box-shadow: 0 0 0 2px rgba(158,43,37,.09); }
.wind-card.danger { border-style: dashed; }
.wind-card.danger.on { border-color: #9e2b25; background: #fbece9; }
.wind-card b { display: block; font-size: 12px; font-weight: 700; }
.wind-card small { display: block; margin-top: 3px; font-size: 10px; color: var(--ink-2); line-height: 1.45; }
.safety-box { padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
.safety-box.ok { border-color: #cfe0d0; background: #f3f8f3; }
.safety-box.blocked { border-color: #e8c8c4; background: #fbefed; }
.safety-box p { margin: 0 0 5px; font-size: 12px; line-height: 1.6; }
.safety-box .danger-txt { color: #9e2b25; }
