:root {
  --zh: "Ma Shan Zheng"; --en: "Playfair Display"; --th: "Mitr";
  --paper: #fbf7f0; --ink: #2b2620; --soft: #9a8f80; --line: #e6dccb;
  --gold: #c9a24a; --gold-soft: #f3e8cf; --red: #d2503f;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--en), var(--th), var(--zh), serif; }
button, input { font-family: inherit; color: inherit; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.th { font-family: var(--th); }
.zh { font-family: var(--zh); }

/* 顶栏 */
header { display: flex; justify-content: space-between; align-items: center; padding: 0 44px; height: 84px; }
.mark { font-style: italic; font-size: 22px; cursor: pointer; }
.mark b { color: var(--gold); font-weight: 400; }
.right { display: flex; gap: 14px; align-items: center; color: var(--soft); font-style: italic; font-size: 17px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-style: normal; }
.round { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; font-size: 20px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.round:hover { background: var(--ink); color: var(--paper); }
.navbtn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); background: none; border-radius: 999px; padding: 5px 14px 5px 10px; cursor: pointer; font-family: var(--zh); font-size: 18px; font-style: normal; color: var(--ink); }
.navbtn svg { width: 20px; height: 20px; }
.navbtn:hover { background: var(--ink); color: var(--paper); }

.screen { display: none; min-height: calc(100vh - 84px); flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 0 44px 70px; }
.screen.on { display: flex; }
h1 { font-weight: 400; font-size: 64px; letter-spacing: 2px; font-family: var(--zh); }
h2 { font-weight: 400; font-size: 40px; font-family: var(--zh); }
.btn { border: none; cursor: pointer; background: var(--ink); color: var(--paper); font-family: var(--en), var(--zh); font-size: 30px; padding: 12px 56px; border-radius: 999px; transition: .2s; }
.btn:hover { background: var(--gold); transform: translateY(-2px); }
.btn.ghost { background: none; color: var(--ink); border: 2px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.red { background: var(--red); }
.bar { display: flex; gap: 18px; align-items: center; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chips button { border: 1.5px solid var(--line); background: none; border-radius: 999px; padding: 3px 12px; cursor: pointer; font-family: var(--zh); font-size: 18px; transition: .15s; }
.chips.en button { font-family: var(--en); font-style: italic; font-size: 16px; }
.chips button.on { background: var(--gold-soft); border-color: var(--gold); }
.chips.bad button.on { background: #fbe3df; border-color: var(--red); }

/* ① 上传 */
.drop { width: min(560px, 86vw); height: 320px; border: 2px dashed var(--gold); border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; cursor: pointer; transition: .2s; }
.drop:hover, .drop.over { background: var(--gold-soft); border-style: solid; }
.drop svg { width: 84px; height: 84px; color: var(--gold); }
.drop span { font-family: var(--zh); font-size: 28px; color: var(--soft); }
.shelf { display: none; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; max-width: 1180px; }
.has-files .drop { display: none; }
.has-files .shelf { display: flex; }
#go { display: none; }
.has-files #go { display: inline-block; }
.card { position: relative; width: 170px; padding: 10px 10px 34px; background: #fff; border-radius: 6px; box-shadow: 0 6px 18px rgba(60,40,10,.12); transition: .2s; }
.card:hover { transform: translateY(-4px) !important; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; display: block; }
.card .x { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--ink); color: #fff; cursor: pointer; opacity: 0; }
.card:hover .x { opacity: 1; }
.add { width: 170px; height: 214px; border: 2px dashed var(--gold); border-radius: 6px; background: none; font-size: 48px; color: var(--gold); cursor: pointer; }
.add:hover { background: var(--gold-soft); }

/* ② 确认 */
.setup { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.pcard { width: 300px; background: #fff; border-radius: 20px; padding: 16px 18px 22px; box-shadow: 0 6px 18px rgba(60,40,10,.10); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.photo { position: relative; width: 100%; }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.sticker { position: absolute; top: 10px; right: 10px; background: #fff; border-radius: 12px; padding: 4px 12px 6px; text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,.15); transform: rotate(4deg); border: none; cursor: text; }
.sticker s { display: block; color: var(--soft); font-size: 15px; outline: none; }
.sticker b { display: block; color: var(--red); font-size: 26px; font-weight: 600; outline: none; }
.sticker .nox { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: none; background: var(--ink); color: #fff; font-size: 13px; cursor: pointer; opacity: 0; }
.sticker:hover .nox { opacity: 1; }
.sticker.empty { background: rgba(255,255,255,.85); color: var(--soft); font-size: 18px; cursor: pointer; border: 1.5px dashed var(--soft); box-shadow: none; }
.nm { width: 100%; border: none; border-bottom: 1.5px dashed var(--line); background: none; text-align: center; font-family: var(--zh); font-size: 30px; padding: 2px 0 6px; outline: none; }
.nm:focus { border-bottom-color: var(--gold); }

/* 模板卡（剪映风格） */
.tc { position: relative; width: var(--w, 190px); flex: none; cursor: pointer; user-select: none; }
.tc .cv { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #f6eedc, #e8d9bd); box-shadow: 0 6px 16px rgba(60,40,10,.12); transition: .2s; }
.tc:hover .cv { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(60,40,10,.2); }
.tc .cv img, .tc .cv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc .cv video { opacity: 0; transition: .25s; }
.tc:hover .cv video.ready { opacity: 1; }
.tc .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--gold); font-family: var(--zh); font-size: 15px; }
.tc .ph svg { width: 54px; height: 54px; }
.tc .dur { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.tc .tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; max-width: 70%; }
.tc .tags span { background: rgba(255,255,255,.88); border-radius: 999px; font-family: var(--zh); font-size: 13px; padding: 0 8px; }
.tc .tags span.hot { background: var(--gold); color: #fff; }
.tc .ttl { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.66)); color: #fff; font-family: var(--zh); font-size: 20px; }
.tc .meta { margin-top: 8px; font-family: var(--zh); font-size: 14px; color: var(--soft); text-align: center; }
.tc.new .cv { background: none; border: 2px dashed var(--gold); box-shadow: none; }
.tc.new .ph { font-size: 22px; }
.tc.fresh .cv { outline: 3px solid var(--gold); outline-offset: 4px; }
.tc.sel .cv { outline: 3px solid var(--gold); outline-offset: 3px; }
.tc .cnt { position: absolute; top: -10px; right: -10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 17px; display: none; align-items: center; justify-content: center; }
.tc.sel .cnt { display: flex; }
.tc .minus { position: absolute; top: -10px; left: -10px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); font-size: 16px; cursor: pointer; display: none; }
.tc.sel .minus { display: block; }

/* ③ 选模板 */
.tpls { width: min(1200px, 100%); display: flex; flex-direction: column; gap: 24px; }
.tprow { background: #fff; border-radius: 24px; padding: 24px 30px; display: flex; gap: 34px; align-items: center; box-shadow: 0 6px 18px rgba(60,40,10,.07); }
.tplist { flex: 1; display: flex; gap: 22px; overflow-x: auto; padding: 14px 6px 6px; --w: 120px; }
.tplist .tc .ttl { font-size: 14px; padding: 24px 8px 7px; }
.tplist .tc .dur { display: none; }
.tplist .tc .meta { font-size: 12px; }
.tplist .tc .tags span { font-size: 11px; }
.total { flex: none; width: 90px; text-align: center; }
.total b { display: block; font-size: 54px; font-weight: 400; line-height: 1; }
.total span { font-family: var(--zh); color: var(--soft); font-size: 18px; }

/* 左侧产品小照片（今天 / 选模板 共用） */
.pic { width: 150px; text-align: center; flex: none; }
.pic img { width: 124px; height: 124px; object-fit: cover; border-radius: 10px; transform: rotate(-2deg); box-shadow: 0 4px 12px rgba(60,40,10,.15); }
.pic .n { font-family: var(--zh); font-size: 21px; margin-top: 10px; white-space: nowrap; }
.pic .s { font-style: italic; color: var(--soft); font-size: 13px; }

/* ④ 今天 */
.today { width: min(1100px, 100%); display: flex; flex-direction: column; gap: 26px; }
.row { position: relative; background: #fff; border-radius: 24px; padding: 24px 34px; display: flex; gap: 40px; align-items: center; box-shadow: 0 6px 18px rgba(60,40,10,.07); }
.track { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.stations { display: flex; justify-content: space-between; position: relative; padding-top: 30px; }
.stations::before, .stations .fill { content: ""; position: absolute; left: 45px; top: 58px; height: 2px; }
.stations::before { right: 45px; background: var(--line); }
.stations .fill { background: var(--gold); transition: width .6s; }
.st { position: relative; z-index: 1; width: 90px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.st .dot { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--soft); transition: .2s; }
.st .dot svg { width: 28px; height: 28px; }
.st .lb { font-family: var(--zh); font-size: 19px; color: var(--soft); }
.st.done .dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.st.kiro .dot { border-color: var(--gold); color: var(--gold); animation: pulse 1.6s infinite; }
.st.you .dot { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.18); cursor: pointer; }
.st.you .lb, .st.kiro .lb { color: var(--ink); }
.st em { position: absolute; top: -30px; white-space: nowrap; font-style: normal; font-size: 14px; }
.st em.cnt { color: var(--gold); font-family: var(--en), var(--zh); font-size: 15px; }
.st em.bubble { background: var(--red); color: #fff; font-family: var(--zh); font-size: 17px; padding: 1px 12px 3px; border-radius: 999px; cursor: pointer; animation: bob 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(201,162,74,.18); } }
@keyframes bob { 50% { transform: translateY(-4px); } }
.strip { display: flex; gap: 4px; min-height: 46px; }
.strip i { width: 26px; height: 46px; border-radius: 4px; border: 1.5px dashed var(--line); background: center / cover; position: relative; }
.strip i.f { border: none; }
.strip.cells i:nth-child(3n) { margin-right: 10px; }
.strip.vids { gap: 10px; }
.strip.vids i { width: 46px; height: 82px; border-radius: 6px; }
.strip i.v::after { content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; text-shadow: 0 0 3px #000; }
.stamp { position: absolute; right: 34px; bottom: 22px; font-family: var(--zh); font-size: 26px; color: var(--gold); border: 2.5px solid var(--gold); border-radius: 10px; padding: 0 12px 2px; transform: rotate(-8deg); }

/* ⑤ 审图 / 审片段 */
#s-review { gap: 24px; justify-content: flex-start; padding-top: 6px; }
.rv-top { display: flex; align-items: center; gap: 24px; }
.rv-top .n { font-family: var(--zh); font-size: 30px; }
.rv-top .kind { color: var(--gold); }
.rv-top .kind svg { width: 28px; height: 28px; vertical-align: -6px; }
.setdots { display: flex; gap: 10px; }
.setdots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--gold); }
.setdots i.past { background: var(--gold); }
.setdots i.past.r { background: var(--red); border-color: var(--red); }
.setdots i.now { transform: scale(1.4); background: var(--gold-soft); }
.shots { display: flex; gap: 28px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 10px; width: calc(min(54vh, 520px) * 9 / 16); }
.shot { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; cursor: pointer; box-shadow: 0 6px 18px rgba(60,40,10,.15); transition: .15s; background: #ddd; }
.shot:hover { transform: translateY(-3px); }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; display: block; transition: .2s; }
.shot svg.ring { position: absolute; inset: 4%; width: 92%; height: 92%; display: none; color: var(--red); }
.shot.bad img, .shot.bad video { filter: saturate(.5) brightness(.85); }
.shot.bad svg.ring { display: block; }
.slb { font-family: var(--zh); font-size: 20px; color: var(--soft); }
.why { visibility: hidden; display: flex; flex-direction: column; gap: 8px; align-items: center; width: 100%; }
.why.on { visibility: visible; }
.why .chips button { font-size: 16px; padding: 2px 10px; }
.why input, .lbx input { width: 100%; border: none; border-bottom: 1.5px dashed var(--line); background: none; font-family: var(--zh); font-size: 16px; padding: 4px 2px; outline: none; text-align: center; }
.rv-bar { position: relative; }
#rv-prev { position: absolute; right: 100%; top: 50%; margin: -20px 22px 0 0; }

/* ⑥ 口播 */
#s-voice, #s-final { justify-content: flex-start; gap: 22px; padding-top: 6px; }
.vtop { display: flex; align-items: center; gap: 22px; }
.vtop .n { font-family: var(--zh); font-size: 30px; }
.vtop .prog { font-size: 22px; color: var(--gold); }
.dropbar { display: inline-flex; align-items: center; gap: 10px; border: 2px dashed var(--gold); border-radius: 999px; padding: 6px 20px; color: var(--soft); font-family: var(--zh); font-size: 18px; cursor: pointer; background: none; }
.dropbar svg { width: 22px; height: 22px; color: var(--gold); }
.dropbar:hover, .dropbar.over { background: var(--gold-soft); }
.vgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; width: min(1320px, 100%); }
.vc { align-self: stretch; background: #fff; border-radius: 18px; padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 10px; align-items: center; box-shadow: 0 6px 16px rgba(60,40,10,.07); }
.vc video, .vc img.cov { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; object-fit: cover; display: block; background: #eee; }
.lines { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.lines p { font-family: var(--th); font-size: 13px; line-height: 1.35; }
.lines p span { display: block; font-family: var(--zh); font-size: 13px; color: var(--soft); }
.mic { width: 54px; height: 54px; border-radius: 50%; border: none; background: var(--ink); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; flex: none; }
.mic svg { width: 26px; height: 26px; }
.mic.rec { background: var(--red); animation: pulseR 1s infinite; }
.mic.ok { background: var(--gold); }
@keyframes pulseR { 50% { box-shadow: 0 0 0 9px rgba(210,80,63,.2); } }
.microw { margin-top: auto; display: flex; align-items: center; gap: 10px; min-height: 54px; }
.microw .t { font-size: 15px; color: var(--soft); min-width: 34px; }
.wave { display: flex; gap: 2px; align-items: center; height: 24px; }
.wave i { width: 3px; background: var(--red); border-radius: 2px; animation: wv .6s infinite alternate; }
@keyframes wv { from { height: 4px; } to { height: 22px; } }

/* ⑦ 成片 */
.fc { position: relative; cursor: pointer; }
.fc .cv { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 16px rgba(60,40,10,.15); transition: .2s; background: #ddd; }
.fc:hover .cv { transform: translateY(-4px); }
.fc .cv img, .fc .cv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc .cv video { opacity: 0; }
.fc:hover .cv video.ready { opacity: 1; }
.fc .badge { position: absolute; top: -10px; right: -10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: none; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.fc.ok .badge { display: flex; background: var(--gold); }
.fc.bad .badge { display: flex; background: var(--red); }
.fc .no { text-align: center; margin-top: 8px; font-size: 18px; color: var(--soft); }
.lbx { position: fixed; inset: 0; background: rgba(43,38,32,.82); z-index: 6; display: none; align-items: center; justify-content: center; gap: 46px; }
.lbx.on { display: flex; }
.lbx video { height: 80vh; aspect-ratio: 9 / 16; border-radius: 22px; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.lbx .side { display: flex; flex-direction: column; gap: 18px; width: 260px; color: var(--paper); }
.lbx .side .n { font-size: 30px; }
.lbx .side .btn { width: 100%; font-size: 26px; padding: 10px 0; }
.lbx .side .btn.ghost { color: var(--paper); border-color: var(--paper); }
.lbx .chips button { color: var(--paper); border-color: rgba(255,255,255,.3); font-size: 16px; }
.lbx .chips button.on { background: rgba(210,80,63,.35); border-color: var(--red); }
.lbx input { color: var(--paper); border-bottom-color: rgba(255,255,255,.3); text-align: left; }
.lbx .nav { display: flex; gap: 12px; }
.lbx .nav .round { border-color: var(--paper); color: var(--paper); }
.lbx .close { position: absolute; top: 24px; right: 30px; border-color: var(--paper); color: var(--paper); }

/* ⑧ 交付 */
.fan { position: relative; width: 560px; height: 330px; margin-bottom: 26px; }
.fan img { position: absolute; left: 50%; bottom: 30px; width: 150px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(60,40,10,.2); transform-origin: 50% 140%; transition: .6s; }
.zipname { font-style: italic; font-size: 26px; }
.zipmeta { display: flex; gap: 10px; }
.zipmeta span { border: 1.5px solid var(--line); border-radius: 999px; padding: 2px 14px; font-family: var(--zh); font-size: 17px; }
.zipmeta span.ok { border-color: var(--gold); color: var(--gold); }
.upbar { width: 420px; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; display: none; }
.upbar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 1.8s ease; }
.uploaded { display: none; flex-direction: column; align-items: center; gap: 14px; }
.uploaded .where { font-family: var(--zh); font-size: 20px; color: var(--soft); }
.uploaded .where b { color: var(--ink); font-weight: 400; }

/* ⑨ 模板库 */
#s-lib { justify-content: flex-start; padding-top: 10px; }
.libtop { width: min(1240px, 100%); display: flex; align-items: center; gap: 30px; }
.libgrid { width: min(1240px, 100%); display: flex; flex-wrap: wrap; gap: 30px 26px; }

/* ⑩ 新建模板 */
#s-new { justify-content: flex-start; padding-top: 6px; }
.newt { width: min(1180px, 100%); display: flex; gap: 64px; align-items: flex-start; }
.phone { flex: none; width: 280px; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; position: relative; background: linear-gradient(160deg, #3a332b, #1d1a16); border: 8px solid #1d1a16; box-shadow: 0 18px 40px rgba(40,30,10,.25); }
.phone > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .segs { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 2; }
.phone .segs i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); }
.phone .segs i.on { background: #fff; }
.phone .empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-family: var(--zh); font-size: 20px; }
.p-price { position: absolute; top: 30px; right: 12px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; z-index: 2; }
.p-price span { font-family: var(--th); font-size: 14px; padding: 1px 8px; border-radius: 6px; font-weight: 500; }
.p-price span:first-child { background: #fff; color: #333; text-decoration: line-through; }
.p-price span:last-child { background: #f26b1d; color: #fff; }
.p-sub { position: absolute; left: 8px; right: 8px; top: 56%; text-align: center; font-size: 22px; z-index: 2; line-height: 1.3; }
.p-cart { position: absolute; left: 14px; bottom: 16px; display: flex; align-items: flex-end; gap: 4px; z-index: 2; }
.p-cart .cart { width: 38px; height: 38px; border-radius: 10px; background: #f26b1d; color: #fff; display: flex; align-items: center; justify-content: center; }
.p-cart .cart svg { width: 22px; height: 22px; }
.p-cart .arrow { width: 52px; height: 52px; color: #ffd400; }
.p-cart .arrow svg { width: 100%; height: 100%; stroke-width: 4; }
.form { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.form .nm { text-align: left; font-size: 40px; }
.lbl { font-family: var(--zh); color: var(--soft); font-size: 18px; margin-bottom: -10px; }
.form .chips { justify-content: flex-start; }
.shots2 { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.shotc { width: 104px; display: flex; flex-direction: column; gap: 8px; align-items: center; position: relative; }
.shotc .slot { width: 100%; aspect-ratio: 9 / 16; border: 2px dashed var(--gold); border-radius: 12px; background: center / cover; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--gold); cursor: pointer; font-family: var(--zh); font-size: 14px; }
.shotc .slot.f { border: none; box-shadow: 0 4px 12px rgba(60,40,10,.15); }
.shotc .slot.f span { display: none; }
.shotc .slot:hover { background-color: var(--gold-soft); }
.shotc .idx { position: absolute; top: -8px; left: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.shotc .x { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: none; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); cursor: pointer; font-size: 13px; }
.shotc .sel2 { display: flex; gap: 4px; }
.shotc .sel2 button { border: 1.5px solid var(--line); background: none; border-radius: 999px; padding: 0 9px; cursor: pointer; font-family: var(--zh); font-size: 15px; }
.shotc .sel2 button.d { font-family: var(--en); font-size: 13px; }
.shotc.addc .slot { font-size: 34px; }
.subs { display: flex; gap: 12px; flex-wrap: wrap; }
.sub { width: 130px; height: 64px; border-radius: 12px; background: linear-gradient(160deg, #6b5d4d, #3a332b); display: flex; align-items: center; justify-content: center; cursor: pointer; border: 3px solid transparent; font-family: var(--th); font-size: 19px; }
.sub.on { border-color: var(--gold); }
.sy-yellow { color: #ffe100; text-shadow: -2px -2px 0 #111, 2px -2px 0 #111, -2px 2px 0 #111, 2px 2px 0 #111, 0 2px 0 #111, 2px 0 0 #111; }
.sy-gold { background: linear-gradient(#fff6b0, #f7b500 55%, #e07a00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 1px #5a3a12) drop-shadow(0 0 1px #5a3a12) drop-shadow(0 0 5px rgba(255,200,0,.8)); }
.sy-pink { color: #fff; text-shadow: -2px -2px 0 #e0217a, 2px -2px 0 #e0217a, -2px 2px 0 #e0217a, 2px 2px 0 #e0217a, 0 0 12px #ff6fb5; }
.sy-red { background: linear-gradient(#ff6b6b, #c4161c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 6px #ff7aa8); }

/* 完成浮层 */
.finish { position: fixed; inset: 0; background: rgba(251,247,240,.96); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 30px; z-index: 5; }
.finish.on { display: flex; }
.finish .sum { display: flex; gap: 50px; font-size: 44px; }
.finish .sum span:first-child { color: var(--gold); }
.finish .sum span:last-child { color: var(--red); }

/* 草图专用 */
.lab { position: fixed; right: 18px; bottom: 18px; background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: 0 4px 16px rgba(0,0,0,.08); font: 12px/1.4 -apple-system, "PingFang SC", sans-serif; color: #888; display: flex; gap: 6px; align-items: center; z-index: 9; }
.lab button, .lab select { border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 3px 9px; cursor: pointer; font: 13px -apple-system, "PingFang SC", sans-serif; color: #333; }
