/* 蜂窩行銷｜整包方案「看效果」小視窗（v26）：黑色舞台上播示範小動畫——LINE 用手機畫面（沿用案例區 .lx-* 的樣子），官網用小瀏覽器框。
   畫面裡的品牌、文字、數字都是示範。開了「減少動態」：動畫全部停住，直接看最後的畫面 */
dialog.dlg.pop.is-demo { width: min(660px, calc(100vw - 32px)); }
@media (max-width: 640px) { dialog.dlg.pop.is-demo { width: 100vw; max-width: 100vw; } }
.dm { display: grid; gap: 14px; }
.dm-stage { position: relative; display: grid; place-items: center; height: 432px; border-radius: 22px; overflow: hidden; isolation: isolate; color: #1D1D1F;
  background: radial-gradient(80% 60% at 50% 0%, rgba(231, 201, 135, .16), transparent 70%), linear-gradient(180deg, #151517, #070708 80%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); -webkit-user-select: none; user-select: none; }
.dm-stage.is-web { height: 340px; }
@media (max-width: 640px) { .dm-stage { height: 420px; border-radius: 18px; } .dm-stage.is-web { height: 312px; } }
.dm-vars { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dm-tag { margin: -4px 0 0; font-size: 12px; color: var(--ink-faint); text-align: center; }
.dm-v { min-height: 32px; padding: 0 15px; border-radius: 999px; border: 1.5px solid var(--rule); background: transparent; color: var(--ink-soft); font: 700 13px var(--font-body); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s, color .2s, border-color .2s; }
.dm-v[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--wax); }
.dm-v:focus-visible { outline: 2px solid var(--honey); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .dm-v:not([aria-pressed="true"]):hover { border-color: var(--ink-soft); color: var(--ink); } }
.dm-tiers { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; }   /* 四個版本排一排，手機也一樣（不會剩一個掉到下一行） */
.dm-tiers > span { display: grid; gap: 2px; justify-items: center; padding: 8px 6px; border-radius: 12px; background: var(--wax-2); text-align: center; }
.dm-tiers small { font-size: 11.5px; color: var(--ink-soft); }
.dm-tiers b { font-size: 13.5px; line-height: 1.35; }
@media (max-width: 420px) { .dm-tiers { gap: 4px; } .dm-tiers > span { padding: 7px 3px; border-radius: 10px; } .dm-tiers small { font-size: 10.5px; } .dm-tiers b { font-size: 12px; } }
.dm-tiers .is-no b { font-weight: 500; color: var(--ink-faint); }
.dm-tiers .is-on { background: color-mix(in srgb, var(--honey) 18%, transparent); box-shadow: inset 0 0 0 1.5px var(--honey); }
.dm .px-note { padding: 0; max-width: none; }

/* 手指、滑鼠 */
.dm-tap { position: absolute; left: 0; top: 0; z-index: 30; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255, 255, 255, .38); border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 2px 12px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transform: translate(var(--tx, 0px), var(--ty, 0px)); }
.dm-tap.is-on { animation: dm-tap .75s ease-out forwards; }
/* 位置和縮放寫在同一個 transform（先移到點上、再縮放）：圈圈停在點的地方，不會邊縮放邊飄走 */
@keyframes dm-tap {
  0% { opacity: 0; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1.5); }
  25% { opacity: 1; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(.82); }
  60% { opacity: .9; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1.3); }
}
.dm-cur { position: absolute; left: 0; top: 0; z-index: 31; width: 20px; height: 24px; opacity: 0; pointer-events: none; transition: transform .6s cubic-bezier(.3, .7, .3, 1), opacity .3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.dm-cur.is-on { opacity: 1; }
.dm-cur svg { display: block; transform-origin: 3px 2px; }
.dm-cur.is-click svg { animation: dm-click .3s ease-out; }
@keyframes dm-click { 50% { transform: scale(.78); } }

/* ---------- LINE 手機 ---------- */
.dm-phone { width: 272px; padding: 8px; border-radius: 38px; background: #0E0E10; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.dm-lx.lx-screen { position: relative; height: 400px; border-radius: 30px; font-size: 12.5px; }
.dm-lx .lx-top { padding: 11px 12px 8px; gap: 6px; }
.dm-lx .lx-top b { font-size: 13.5px; }
.dm-lx .lx-av { width: 26px; height: 26px; }
.dm-lx .lx-av .ico { width: 15px; height: 15px; }
.dm-lx .lx-av.sm { width: 24px; height: 24px; }
.dm-lx .lx-chat { gap: 7px; padding: 10px 8px; overflow: hidden; }
.dm-lx .lx-b { padding: 7px 10px; font-size: 12.5px; line-height: 1.5; }
.dm-lx .lx-bw { max-width: calc(100% - 30px); }
.dm-lx .lx-card1, .dm-lx .lx-coupon, .dm-lx .lx-link, .dm-lx .lx-map { width: 184px; }
.dm-lx .lx-c-top { height: 64px; }
.dm-lx .lx-c-top b { font-size: 14px; }
.dm-lx .lx-c-sub { font-size: 11.5px; }
.dm-lx .lx-c-btn { margin: 7px 10px 10px; padding: 6px 0; font-size: 12px; }
.dm-lx .lx-link-art, .dm-lx .lx-map-art { height: 62px; }
.dm-lx .lx-stamps { width: 196px; padding: 11px; }
.dm-lx .lx-st { gap: 5px; }
.dm-lx .lx-st i.is-on { animation: dm-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.dm-lx .lx-car-wrap { width: 210px; }
.dm-lx .lx-pg { flex-basis: 136px; }
.dm-lx .lx-pg-art { height: 74px; }
.dm-lx .lx-pg-art b { font-size: 17px; }
.dm-lx .lx-pg-btn.is-press, .dm-lx .lx-c-btn.is-press, .dm-lx .lx-cp-btn.is-press { filter: brightness(.9); transform: scale(.95); }
.dm-lx .lx-rpage { height: 106px; }
.dm-lx .lx-g6 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.dm-lx .lx-tile { font-size: 11px; cursor: default; }
.dm-lx .lx-tile .ico { width: 18px; height: 18px; }
.dm-lx .lx-tile small { font-size: 9.5px; }
.dm-lx .lx-tile.is-press { background: color-mix(in srgb, var(--lc) 30%, var(--ls)); }
.dm-lx .lx-rtabs { display: flex; }
.dm-rt { flex: 1; display: grid; place-items: center; min-height: 30px; border-bottom: 2px solid transparent; color: #777; font: 700 12px var(--font-body); transition: color .2s, border-color .2s; }
.dm-rt[aria-selected="true"] { color: var(--lc); border-bottom-color: var(--lc); }
.dm-tabs .lx-rpage { display: none; }
.dm-tabs .lx-rpage.is-cur { display: grid; animation: lx-page .35s var(--ease-out); }
.dm-swap { position: relative; }
.dm-swap > .lx-rpage + .lx-rpage { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.dm-swap.is-ev > .lx-rpage + .lx-rpage { opacity: 1; }
.dm-lx .lx-tile.dm-evt { background: linear-gradient(140deg, #F4D58D, var(--lc)); color: #fff; }
.dm-lx .lx-tile.dm-evt span { font-size: 13px; }
.dm-lx .lx-quick { padding: 7px 8px; gap: 5px; }
.dm-qb { flex: none; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--lc); background: #fff; color: var(--lc); font: 700 11.5px var(--font-body); white-space: nowrap; animation: lx-in .3s var(--ease-out) backwards; transition: background-color .15s, color .15s; }
.dm-qb:nth-child(2) { animation-delay: .06s; } .dm-qb:nth-child(3) { animation-delay: .12s; }
.dm-qb.is-press { background: var(--lc); color: #fff; }
.dm-sys { align-self: center; margin: 2px 0; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .24); color: #fff; font-size: 10.5px; font-weight: 600; animation: lx-in .35s var(--ease-out); }
.dm-clock { position: absolute; top: 48px; left: 50%; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: rgba(17, 17, 17, .8); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); transition: background-color .4s; }
.dm-clock .ico { width: 13px; height: 13px; }
.dm-clock.is-hot { background: var(--lc); }
.dm-clock.is-night { background: #1E2A44; }
.dm-lx .dm-clock ~ .lx-chat { padding-top: 34px; }
.dm-input { display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 6px 7px 8px 12px; background: #fff; border-top: 1px solid #EEE; color: #111; font-size: 12.5px; }
.dm-typed { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; }
.dm-caret { flex: none; width: 1.5px; height: 15px; background: var(--lc); animation: dm-blink 1s steps(1) infinite; }
.dm-input b { display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-left: auto; border-radius: 50%; background: var(--lc); color: #fff; transition: transform .15s; }
.dm-input b.is-press { transform: scale(.85); }
.dm-input b .ico { width: 14px; height: 14px; }
@keyframes dm-blink { 50% { opacity: 0; } }
.dm-who { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; color: var(--lc); }
.dm-cart { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F3F3F3; color: #333; }
.dm-lx .lx-top em.dm-cart { margin-left: auto; padding: 0; background: #F3F3F3; color: #333; }
.dm-cart .ico { width: 16px; height: 16px; }
.dm-cart i { position: absolute; top: -3px; right: -4px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: #E5484D; color: #fff; font: 700 10px/15px var(--font-num); font-style: normal; text-align: center; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.dm-cart.is-on i { transform: scale(1); }
.dm-cart.is-press { transform: scale(.9); }
/* 影片訊息 */
.dm-vmsg { position: relative; display: grid; width: 184px; border-radius: 14px; overflow: hidden; background: #fff; }
.dm-vplay { display: grid; place-items: center; height: 112px; background: linear-gradient(135deg, #3A3020, var(--lc, #B98A3E)); color: #fff; }
.dm-vplay .ico { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: rgba(0, 0, 0, .35); transition: opacity .3s; }
.dm-vbar { display: block; height: 3px; background: rgba(0, 0, 0, .12); }
.dm-vbar span { display: block; width: 0; height: 100%; background: var(--lc, #B98A3E); }
.dm-vmsg.is-play .dm-vplay .ico { opacity: 0; }
.dm-vmsg.is-play .dm-vbar span { width: 100%; transition: width 3.2s linear; }
.dm-vcta { opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.dm-vmsg.is-end .dm-vcta { opacity: 1; transform: none; }
/* 優惠券、集點卡 */
.dm-cp { transition: filter .4s, opacity .4s; }
.dm-cp.is-got .lx-cp-btn { background: rgba(255, 255, 255, .7); }
.dm-cp.is-used { filter: grayscale(.7); opacity: .8; }
.dm-redeem { opacity: .4; transition: opacity .3s; }
.dm-redeem.is-ready { opacity: 1; animation: dm-glow 1.1s ease-in-out infinite alternate; }
/* LINE 裡開官網 */
.dm-slide { position: absolute; inset: 46px 0 0 0; z-index: 5; overflow: hidden; background: #fff; transform: translateX(100%); transition: transform .5s var(--ease-out); }
.dm-slide.is-on { transform: none; }
.dm-slide .dm-site { padding: 12px; transition: transform .8s var(--ease-out) .45s; }
.dm-slide.is-on:not(.dm-web-in) .dm-site { transform: translateY(-104px); }
.dm-sec { display: grid; gap: 5px; margin-top: 10px; padding: 10px; border-radius: 10px; background: #F5F5F7; font-size: 11.5px; }
.dm-sec b { font-size: 13px; }
.dm-slide.is-on .dm-hl { animation: dm-hl 1.4s ease-out 1.1s both; }
@keyframes dm-hl { 0%, 40% { box-shadow: inset 0 0 0 2px var(--lc, #B98A3E); background: #FBF1DF; } }

/* ---------- 官網：小瀏覽器、手機 ---------- */
.dm-web { position: relative; display: flex; flex-direction: column; width: min(92%, 520px); height: 274px; border-radius: 12px; overflow: hidden; background: #fff; color: #1D1D1F; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.dm-bar { display: flex; flex: none; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #F2F2F4; border-bottom: 1px solid #E5E5EA; }
.dm-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D1D1D6; }
.dm-bar span { margin: 0 auto; padding: 2px 14px; border-radius: 6px; background: #fff; color: #8E8E93; font: 500 10px var(--font-num); }
.dm-page { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 14px 16px; font-size: 12px; container-type: inline-size; }
.dm-mob { width: 210px; height: 304px; padding: 7px; border-radius: 30px; background: #0E0E10; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.dm-mob .dm-page { height: 100%; padding: 12px 12px 54px; border-radius: 24px; background: #fff; color: #1D1D1F; }
.dm-h2 { margin-bottom: 10px; font-size: 14px; font-weight: 800; }
.dm-hero { display: grid; gap: 10px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, #FBF1DF, #F1DDB3); }
.dm-ht b { display: block; font-size: 15px; font-weight: 800; line-height: 1.35; }
.dm-ht span { font-size: 11px; color: #6E6E73; }
.dm-btn { justify-self: start; display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: #B98A3E; color: #fff; font: 700 11.5px var(--font-body); white-space: nowrap; transition: transform .2s, background-color .3s; }
.dm-btn.sm { padding: 5px 11px; font-size: 11px; }
.dm-btn.is-press { transform: scale(.92); }
.dm-btn.is-done { background: #2E7D32; }
.dm-blk { display: grid; gap: 5px; margin-top: 10px; padding: 10px; border-radius: 8px; background: #F5F5F7; }
.dm-blk i { display: block; height: 6px; border-radius: 3px; background: #E2E2E6; }
.dm-blk i:nth-child(1) { width: 38%; background: #E3D3AE; } .dm-blk i:nth-child(2) { width: 92%; } .dm-blk i:nth-child(3) { width: 70%; }
.dm-scroll { transition: transform .9s var(--ease-out); }
.dm-rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.dm-rv.is-in { opacity: 1; transform: none; }
/* 彈窗 */
.dm-modal { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(0, 0, 0, .42); opacity: 0; transition: opacity .3s; }
.dm-modal.is-on { opacity: 1; }
.dm-mbox { display: grid; gap: 10px; width: 72%; padding: 14px; border-radius: 12px; background: #fff; transform: translateY(14px) scale(.94); transition: transform .45s var(--ease-out); }
.dm-modal.is-on .dm-mbox { transform: none; }
.dm-modal.is-flat, .dm-modal.is-flat .dm-mbox { transition: none; }
.dm-mbox > b { font-size: 13px; }
.dm-dates { display: flex; flex-wrap: wrap; gap: 6px; }
.dm-dates span { padding: 5px 9px; border-radius: 8px; border: 1.5px solid #E5D5B5; color: #8A6A2E; font-size: 11px; font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.dm-dates span.is-on { background: #B98A3E; border-color: #B98A3E; color: #fff; }
.dm-dates.is-big span { display: grid; gap: 2px; padding: 8px 10px; }
.dm-dates small { font-size: 10px; font-weight: 600; opacity: .8; }
/* 輪播 */
.dm-car2 { overflow: hidden; margin-inline: -5px; }
.dm-track { display: flex; transition: transform .6s var(--ease-out); }
.dm-cc { flex: 0 0 33.333%; display: grid; gap: 4px; padding: 0 5px; box-sizing: border-box; }
.dm-cc i { display: block; height: 96px; border-radius: 10px; background: linear-gradient(135deg, hsl(calc(36 + var(--k) * 10) 62% 82%), hsl(calc(30 + var(--k) * 8) 46% 52%)); }
.dm-cc b { font-size: 12px; }
.dm-cc span { font-size: 10.5px; color: #B98A3E; font-weight: 700; }
.dm-dots { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
.dm-dots i { width: 6px; height: 6px; border-radius: 3px; background: #D1D1D6; transition: width .3s, background-color .3s; }
.dm-dots i.is-on { width: 18px; background: #B98A3E; }
/* 開場進場 */
.dm-open { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 14px; padding: 4px 0 2px; }
.dm-ot { display: grid; gap: 6px; }
.dm-ot b { font-size: 16px; font-weight: 800; line-height: 1.3; }
.dm-ot > span:not(.dm-btn) { font-size: 11px; color: #6E6E73; }
.dm-ot .dm-btn { justify-self: start; margin-top: 4px; }
.dm-op i { display: block; height: 150px; border-radius: 14px; background: radial-gradient(40% 32% at 50% 34%, #FFF6DA, transparent 70%), linear-gradient(160deg, #F1DDB3, #B98A3E); }
.dm-ot > * { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.dm-op { opacity: 0; transform: translateX(26px); }
.dm-open.is-on .dm-ot > * { opacity: 1; transform: none; filter: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out); }
.dm-open.is-on .dm-ot > :nth-child(2) { transition-delay: .18s; } .dm-open.is-on .dm-ot > :nth-child(3) { transition-delay: .4s; } .dm-open.is-on .dm-ot > :nth-child(4) { transition-delay: .7s; }
.dm-open.is-on .dm-op { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) .3s, transform .9s var(--ease-out) .3s; }
/* 卡片：滑鼠移過去 */
.dm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dm-hc { display: grid; gap: 5px; padding: 8px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #ECECEF; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.dm-hc i { display: block; height: 74px; border-radius: 8px; background: linear-gradient(135deg, hsl(calc(36 + var(--k, 0) * 12) 60% 82%), hsl(calc(30 + var(--k, 0) * 9) 45% 54%)); transition: transform .5s var(--ease-out); }
.dm-hc b { font-size: 12px; }
.dm-hc > span:not(.dm-btn) { font-size: 10.5px; font-weight: 700; color: #B98A3E; }
.dm-hc.is-hover { transform: translateY(-6px); border-color: #E7C987; box-shadow: 0 16px 30px -12px rgba(185, 138, 62, .6); }
.dm-hc.is-hover i { transform: scale(1.06); }
/* 底部行動條、浮動提醒 */
.dm-sbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 10px 12px; background: rgba(255, 255, 255, .96); box-shadow: 0 -6px 16px rgba(0, 0, 0, .08); font-size: 10.5px; font-weight: 700; }
.dm-note { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: 6px; background: #241B0E; color: #F5E1B3; font-size: 11px; font-weight: 700; text-align: center; transform: translateY(-100%); transition: transform .5s var(--ease-out); }
.dm-note.is-on { transform: none; }
.dm-fab { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; border-radius: 999px; background: #B98A3E; color: #fff; font: 700 11.5px var(--font-body); box-shadow: 0 10px 24px -8px rgba(185, 138, 62, .85); transform: translateY(80px); transition: transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.dm-fab.is-on { transform: none; }
.dm-fab .ico { width: 14px; height: 14px; }
/* 電腦 → 手機 */
.dm-web.dm-shrink { transition: width 1.1s var(--ease-out); }
.dm-web.dm-shrink.is-phone { width: 172px; }
.dm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.dm-cols i { display: block; height: 58px; border-radius: 8px; background: #F2F2F4; }
@container (max-width: 260px) {
  .dm-cols { grid-template-columns: minmax(0, 1fr); }
  .dm-cols i { height: 34px; }
  .dm-resp .dm-ht b { font-size: 13px; }
  .dm-resp .dm-hero { padding: 10px; }
}
/* 常見問題 */
.dm-faq { display: grid; }
.dm-fq { border-bottom: 1px solid #ECECEF; }
.dm-fq b { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; font-size: 12px; }
.dm-fq b.is-press { color: #B98A3E; }
.dm-fq b i { display: grid; place-items: center; flex: none; width: 18px; height: 18px; color: #B98A3E; transition: transform .3s var(--ease-out); }
.dm-fq b i .ico { width: 14px; height: 14px; }
.dm-fq.is-open b i { transform: rotate(45deg); }
.dm-fq > span { display: block; max-height: 0; overflow: hidden; color: #6E6E73; font-size: 11.5px; transition: max-height .4s var(--ease-out), padding .4s var(--ease-out); }
.dm-fq.is-open > span { max-height: 44px; padding-bottom: 9px; }
/* 方案切換、優惠解鎖 */
.dm-seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: #F2F2F4; }
.dm-seg span { position: relative; z-index: 1; padding: 5px 16px; color: #6E6E73; font-size: 11.5px; font-weight: 700; text-align: center; transition: color .3s; }
.dm-seg span.is-on { color: #241B0E; }
.dm-seg i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #E7C987; transition: transform .35s var(--ease-out); }
.dm-seg.is-r i { transform: translateX(100%); }
.dm-price { margin: 12px 0 2px; }
.dm-price b { font: 800 24px var(--font-num); }
.dm-price small { margin-left: 4px; color: #6E6E73; font-size: 11px; }
.dm-price.is-bump b { animation: dm-bump .45s ease-out; }
.dm-lock { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; overflow: hidden; background: #F5F5F7; transition: background-color .4s; }
.dm-lk { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #E5E5EA; color: #8E8E93; transition: background-color .4s, color .4s; }
.dm-lk .ico { width: 18px; height: 18px; }
.dm-lock b { font-size: 12.5px; }
.dm-lock.is-open { background: linear-gradient(135deg, #FBF1DF, #F1DDB3); }
.dm-lock.is-open .dm-lk { background: #B98A3E; color: #fff; }
.dm-lock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%); transform: translateX(-110%); pointer-events: none; }
.dm-lock.is-open::after { animation: dm-shine 1s ease-out; }
/* 場次、倒數 */
.dm-count { display: grid; gap: 2px; margin: 12px 0 10px; }
.dm-count small { font-size: 10.5px; color: #6E6E73; }
.dm-count b { font: 800 19px var(--font-num); letter-spacing: .02em; color: #B98A3E; }
/* 試算 */
.dm-sl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 700; }
.dm-sl i { position: relative; height: 6px; border-radius: 3px; background: #ECECEF; }
.dm-sl i span { position: absolute; inset: 0 auto 0 0; width: 20%; border-radius: 3px; background: #E7C987; transition: width .6s var(--ease-out); }
.dm-sl i span::after { content: ""; position: absolute; top: 50%; right: -8px; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.dm-sl b { font: 800 14px var(--font-num); }
.dm-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.dm-cmp > div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: #F5F5F7; }
.dm-cmp small { color: #6E6E73; font-size: 10.5px; font-weight: 700; }
.dm-cmp b { font: 800 19px var(--font-num); }
.dm-cmp .is-best { background: #FBF1DF; box-shadow: inset 0 0 0 1.5px #E7C987; }
.dm-cmp .is-best b { color: #B98A3E; }
.dm-cmp > .is-bump b { animation: dm-bump .45s ease-out; }
/* 減少動態 */
.dm-red { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11.5px; }
.dm-sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: #D1D1D6; transition: background-color .3s; }
.dm-sw i { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s; }
.dm-red.is-on .dm-sw { background: #34C759; }
.dm-red.is-on .dm-sw i { transform: translateX(14px); }
.dm-moving .dm-hc { animation: dm-float 1.4s ease-in-out infinite alternate; }
.dm-moving .dm-hc:nth-child(2) { animation-delay: .25s; } .dm-moving .dm-hc:nth-child(3) { animation-delay: .5s; }
.dm-moving .dm-hero .dm-btn { animation: dm-glow 1.1s ease-in-out infinite alternate; }
.dm-moving .dm-hc i { margin-top: 0; }
.dm-red ~ .dm-cards { margin-top: 10px; }
/* 購物車、轉帳、寄信 */
.dm-shophead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; }
.dm-hc .dm-btn { margin-top: 2px; }
.dm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.dm-steps span { padding: 5px 0; border-radius: 6px; background: #F2F2F4; color: #8E8E93; font-size: 10.5px; font-weight: 700; text-align: center; transition: background-color .3s, color .3s; }
.dm-steps span.is-on { background: #B98A3E; color: #fff; }
.dm-form { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px 12px; border: 1.5px solid #E5D5B5; border-radius: 10px; font-size: 11.5px; }
.dm-form b { font: 700 16px var(--font-num); letter-spacing: .12em; }
.dm-adm { display: grid; gap: 6px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #1D1D1F; color: #fff; font-size: 11.5px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease-out); }
.dm-adm.is-on { opacity: 1; transform: none; }
.dm-adm small { color: #E7C987; font-weight: 700; }
.dm-adm b { color: #E7C987; }
.dm-paid { display: grid; justify-items: center; gap: 4px; padding: 12px 0 6px; }
.dm-paid .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #E8F5E9; color: #2E7D32; stroke-width: 3; }
.dm-paid b { font-size: 14px; }
.dm-paid span { color: #6E6E73; font-size: 11px; }
.dm-mail { margin-top: 10px; padding: 10px; border-radius: 10px; background: #F5F5F7; }
.dm-mail small { display: flex; align-items: center; gap: 4px; color: #8E8E93; font-size: 10.5px; }
.dm-mail small .ico { width: 13px; height: 13px; }
.dm-ml { display: grid; gap: 2px; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .2); opacity: 0; transform: translateY(-14px); transition: opacity .5s, transform .5s var(--ease-out); }
.dm-mail.is-on .dm-ml { opacity: 1; transform: none; }
.dm-ml b { font-size: 11.5px; }
.dm-ml span { color: #6E6E73; font-size: 11px; }
/* 管理後台 */
.dm-split { display: grid; grid-template-columns: 172px minmax(0, 1fr); align-items: center; gap: 12px; width: min(94%, 560px); }
.dm-admin { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: #1D1D1F; color: #fff; font-size: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.dm-admin small { margin-bottom: 4px; color: #E7C987; font-weight: 700; }
.dm-admin span { color: #A1A1A6; }
.dm-admin b { min-height: 1.7em; padding: 5px 8px; border-radius: 6px; background: #2C2C2E; font-weight: 600; transition: box-shadow .2s; }
.dm-admin b.is-edit { box-shadow: inset 0 0 0 1.5px #E7C987; }
.dm-split .dm-web.dm-mini { width: 100%; height: 210px; }
@media (max-width: 640px) {
  .dm-split { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dm-split .dm-web.dm-mini { height: 128px; }
  .dm-admin { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: 8px 10px; }
  .dm-admin small { grid-column: 1 / -1; margin: 0; }
}
/* 文章 */
.dm-chips { display: flex; gap: 6px; margin-bottom: 8px; }
.dm-chips span { padding: 4px 10px; border-radius: 999px; background: #F2F2F4; color: #6E6E73; font-size: 10.5px; font-weight: 700; transition: background-color .25s, color .25s; }
.dm-chips span.is-on { background: #241B0E; color: #fff; }
.dm-list { display: grid; gap: 6px; }
.dm-li { display: flex; align-items: center; gap: 8px; max-height: 40px; padding: 6px; border-radius: 8px; background: #F7F7F9; font-size: 11.5px; overflow: hidden; transition: max-height .4s var(--ease-out), opacity .3s, padding .4s, margin .4s; }
.dm-li i { flex: none; width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #F1DDB3, #B98A3E); }
.dm-list.is-filter .dm-li.is-adv { max-height: 0; margin-block: -3px; padding-block: 0; opacity: 0; }
.dm-art { position: absolute; inset: 0; z-index: 3; display: grid; align-content: start; gap: 8px; padding: 16px; background: #fff; transform: translateX(100%); transition: transform .5s var(--ease-out); }
.dm-art.is-on { transform: none; }
.dm-art b { font-size: 15px; }
.dm-art i { display: block; height: 6px; border-radius: 3px; background: #ECECEF; }
.dm-art i:nth-of-type(2) { width: 88%; } .dm-art i:nth-of-type(3) { width: 72%; }
.dm-art .dm-btn { margin-top: 6px; }
/* 一頁一區 */
.dm-pb { display: grid; gap: 8px; }
.dm-pbk { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 5px 10px; padding: 10px 12px; border-radius: 10px; background: #F5F5F7; transition: background-color .3s, box-shadow .3s; }
.dm-pbk em { grid-row: span 3; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E5E5EA; color: #6E6E73; font: 700 11px var(--font-num); font-style: normal; transition: background-color .3s, color .3s; }
.dm-pbk b { font-size: 12px; }
.dm-pbk i { display: block; height: 5px; border-radius: 3px; background: #E2E2E6; }
.dm-pbk i:last-child { width: 70%; }
.dm-pbk.is-on { background: #FBF1DF; box-shadow: inset 0 0 0 1.5px #E7C987; }
.dm-pbk.is-on em { background: #B98A3E; color: #fff; }
/* 影片區 */
.dm-vg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dm-vt { display: grid; place-items: center; aspect-ratio: 9 / 13; border-radius: 10px; background: linear-gradient(160deg, hsl(calc(32 + var(--k) * 12) 56% 76%), hsl(calc(28 + var(--k) * 9) 44% 40%)); color: #fff; transition: transform .2s; }
.dm-vt.is-press { transform: scale(.94); }
.dm-vt .ico { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(0, 0, 0, .3); }
.dm-light { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(0, 0, 0, .62); opacity: 0; transition: opacity .3s; }
.dm-light.is-on { opacity: 1; }
.dm-vmsg.is-big { width: 62%; transform: scale(.8); transition: transform .4s var(--ease-out); }
.dm-vmsg.is-big .dm-vplay { height: 150px; }
.dm-light.is-on .dm-vmsg.is-big { transform: none; }
/* 按鈕微動畫 */
.dm-btnstage { display: grid; justify-items: center; gap: 18px; padding: 20px; }
.dm-btnstage small { color: #A1A1A6; font-size: 12.5px; text-align: center; }
.dm-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 190px; padding: 15px 32px; border-radius: 999px; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #E7C987, #F5E1B3 50%, #ECD098); color: #241B0E; font: 800 17px var(--font-body); letter-spacing: .04em; }
.dm-cta.is-breath { animation: dm-breath 2.2s ease-in-out infinite; }
.dm-cta.is-flow { background: linear-gradient(110deg, #E7C987 0%, #FFF6DA 22%, #E7C987 44%, #C9A55C 70%, #E7C987 100%); background-size: 260% 100%; animation: dm-flow 2.8s linear infinite; }
.dm-cta.is-beam::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; z-index: -1; width: 38%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent); transform: translateX(-160%) skewX(-18deg); animation: dm-beam 2.4s ease-in-out infinite; }
.dm-cta.is-bounce { transition: transform .5s cubic-bezier(.3, 1.8, .5, 1); }
.dm-cta.is-bounce.is-press { transform: scale(.86); transition-duration: .12s; }
@keyframes dm-breath { 0%, 100% { box-shadow: 0 0 0 0 rgba(231, 201, 135, 0); scale: 1; } 50% { box-shadow: 0 0 38px 8px rgba(231, 201, 135, .55); scale: 1.035; } }
@keyframes dm-flow { from { background-position: 0% 0; } to { background-position: 260% 0; } }
@keyframes dm-beam { 0% { transform: translateX(-160%) skewX(-18deg); } 60%, 100% { transform: translateX(360%) skewX(-18deg); } }
@keyframes dm-pop { 0% { scale: .3; } 100% { scale: 1; } }
@keyframes dm-glow { from { box-shadow: 0 0 0 0 rgba(231, 201, 135, 0); } to { box-shadow: 0 0 18px 4px rgba(231, 201, 135, .7); } }
@keyframes dm-bump { 40% { scale: 1.08; } }
@keyframes dm-float { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes dm-shine { from { transform: translateX(-110%); } to { transform: translateX(110%); } }

/* =====================================================================
   v27：補齊其他項目的示範——LINE 帳號主頁、視覺風格、群發、分眾、追蹤碼；官網架構、上線、內頁、圖片、隱私同意、流量分析；粉絲專頁 10 項
   ===================================================================== */
/* 共用：下方一行說明、開關、閃一下、讀取條、打字游標 */
.dm-cap { position: absolute; left: 50%; bottom: 12px; z-index: 8; max-width: calc(100% - 24px); padding: 5px 12px; border-radius: 999px; background: rgba(17, 17, 17, .84); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translate(-50%, 8px); transition: opacity .35s, transform .45s var(--ease-out); pointer-events: none; }
.dm-cap.is-on { opacity: 1; transform: translate(-50%, 0); }
.dm-tgl { position: relative; flex: none; display: inline-block; width: 34px; height: 20px; border-radius: 999px; background: #D1D1D6; transition: background-color .3s, transform .15s; }
.dm-tgl > i { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease-out); }
.dm-tgl.is-on { background: #34C759; }
.dm-tgl.is-on > i { transform: translateX(14px); }
.dm-tgl.is-press { transform: scale(.9); }
.dm-stage .is-flash { animation: dm-flash 1.2s var(--ease-out); }
@keyframes dm-flash { 0%, 35% { box-shadow: 0 0 0 3px rgba(231, 201, 135, .95); } 100% { box-shadow: 0 0 0 3px rgba(231, 201, 135, 0); } }
.dm-stage .is-bump { animation: dm-bump .45s ease-out; }
.dm-stage .is-hl { border-radius: 4px; animation: dm-hl2 1.8s ease-out; }
@keyframes dm-hl2 { 0%, 45% { background-color: rgba(231, 201, 135, .55); box-shadow: 0 0 0 4px rgba(231, 201, 135, .55); } }
.dm-stage .is-ring { animation: dm-ring 1.3s ease-out; }
@keyframes dm-ring { 0% { box-shadow: 0 0 0 0 rgba(231, 201, 135, .95); } 100% { box-shadow: 0 0 0 18px rgba(231, 201, 135, 0); } }
.dm-stage .is-edit::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: #B98A3E; animation: dm-blink 1s steps(1) infinite; }
.dm-load { position: absolute; left: 0; top: 0; z-index: 4; display: block; width: 0; height: 2.5px; border-radius: 2px; background: #B98A3E; opacity: 0; pointer-events: none; }
.dm-load.is-on { animation: dm-load .75s var(--ease-out); }
@keyframes dm-load { 0% { width: 0; opacity: 1; } 80% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
.dm-clock { transition: background-color .4s, opacity .3s; }
.dm-clock.is-off { opacity: 0; }

/* ---------- LINE 帳號主頁 ---------- */
.dm-lp { background: #fff; }
.lp-in { transition: transform 1s var(--ease-out); }
.lp-cover { position: relative; flex: none; height: 120px; overflow: hidden; background: #ECECEF; }
.lp-cover.is-empty { background: repeating-linear-gradient(-45deg, #F3F3F5 0 10px, #E9E9EC 10px 20px); }
.lp-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding-bottom: 22px; color: #8E8E93; font-size: 11.5px; font-weight: 700; transition: opacity .3s; }
.lp-ph.is-off { opacity: 0; }
.lp-ph .ico { width: 16px; height: 16px; }
.lp-cv { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 3px; padding: 0 16px 26px; color: #fff; text-align: center;
  background: radial-gradient(55% 75% at 82% 18%, rgba(255, 246, 218, .85), transparent 62%), linear-gradient(140deg, #F2D48F, #B98A3E 62%, #7E5A22);
  opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease-out), transform 1.3s var(--ease-out); }
.lp-cv.is-on { opacity: 1; transform: none; }
.lp-cv b { position: relative; font-size: 16px; font-weight: 900; letter-spacing: .04em; text-shadow: 0 1px 8px rgba(80, 50, 10, .35); }
.lp-cv span { font-size: 11px; font-weight: 600; opacity: .95; }
.lp-cv b.is-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: #fff; transform-origin: left; animation: dm-mark .8s var(--ease-out) both; }
@keyframes dm-mark { from { transform: scaleX(0); } }
.lp-back { position: absolute; left: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .28); color: #fff; }
.lp-back .ico { width: 15px; height: 15px; }
.lp-tag { position: absolute; right: 10px; top: 12px; z-index: 2; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .3); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 700; }
.lp-id { position: relative; display: grid; justify-items: center; gap: 1px; margin-top: -32px; padding: 0 14px 14px; border-radius: 14px; text-align: center; }
.lp-av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; background: var(--lc); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .14); }
.lp-av .ico { width: 30px; height: 30px; }
.lp-name { margin-top: 5px; font-size: 16px; font-weight: 800; }
.lp-stat { font-size: 11.5px; color: #6E6E73; }
.lp-acts { display: flex; gap: 24px; margin-top: 11px; }
.lp-acts > span { display: grid; justify-items: center; gap: 3px; color: #3A3A3C; font-size: 10.5px; font-weight: 600; }
.lp-acts .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #F2F2F4; color: #1D1D1F; }
.lp-biz { display: grid; gap: 8px; padding: 10px 10px 14px; background: #F2F2F4; }
.lp-sec { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 11.5px; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); }
.lp-sec.is-on, .lp-biz.is-all .lp-sec { opacity: 1; transform: none; }
.lp-sec > b { font-size: 12.5px; }
.lp-sec p { margin: 0; color: #555; line-height: 1.55; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.lp-chips span { padding: 3px 9px; border-radius: 999px; background: var(--ls); color: var(--lc); font-size: 11px; font-weight: 700; }
.lp-q { display: flex; justify-content: space-between; align-items: center; padding: 5px 0 1px; border-top: 1px solid #F0F0F2; color: #333; }
.lp-q .ico { width: 13px; height: 13px; color: #AEAEB2; }
.lp-link { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 9px; background: var(--ls); color: var(--lc); font-weight: 700; }
.lp-link > span { flex: 1; }
.lp-link .ico { width: 15px; height: 15px; }
.lp-link.is-press { filter: brightness(.94); }
/* 帳號設定面板 */
.lp-set { position: absolute; inset: 0; z-index: 6; display: grid; align-content: start; gap: 6px; padding-bottom: 10px; background: #F2F2F4; transition: transform .55s var(--ease-out); }
.lp-set.is-off { transform: translateY(102%); }
.lp-set-h { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 4px; height: 46px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ECECEF; }
.lp-set-h .ico { width: 18px; height: 18px; }
.lp-set-h b { font-size: 14px; text-align: center; }
.lp-save { padding: 4px 11px; border-radius: 999px; background: var(--lc); color: #fff; font-size: 11.5px; font-weight: 700; transition: transform .15s; }
.lp-save.is-press { transform: scale(.9); }
.lp-f { display: grid; gap: 2px; margin: 0 10px; padding: 7px 11px; border-radius: 10px; background: #fff; }
.lp-f small { color: #8E8E93; font-size: 10.5px; font-weight: 700; }
.lp-v { min-height: 1.5em; font-size: 13px; font-weight: 700; }
.lp-fh { margin: 6px 12px 0; color: #8E8E93; font-size: 10.5px; font-weight: 700; }
.lp-tg { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 10px; padding: 7px 11px; border-radius: 10px; background: #fff; }
.lp-tg > span { display: grid; gap: 1px; }
.lp-tg b { font-size: 12.5px; }
.lp-tg small { color: #8E8E93; font-size: 10.5px; }
/* 聊天列表（頭貼） */
.dm-cl { background: #fff; }
.lcl-top { display: flex; flex: none; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-bottom: 1px solid #F0F0F2; }
.lcl-top b { flex: 1; font-size: 17px; font-weight: 800; }
.lcl-top > .ico { width: 18px; height: 18px; }
.lcl-top em { padding: 1px 8px; border-radius: 999px; background: #F0F0F0; color: #666; font-size: 11px; font-style: normal; font-weight: 700; }
.lcl-list { display: grid; }
.lcl-row { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 14px; transition: background-color .4s; }
.lcl-row.is-on { background: color-mix(in srgb, var(--lc) 11%, #fff); }
.lcl-av { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: hsl(calc(200 + var(--k) * 37) 20% 88%); color: hsl(calc(200 + var(--k) * 37) 16% 40%); font-size: 15px; font-weight: 800; transition: box-shadow .5s; }
.lcl-av > i { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .5s, transform .6s var(--ease-out); }
.lcl-def { background: #D1D1D6; color: #fff; }
.lcl-def .ico { width: 22px; height: 22px; }
.lcl-new { background: var(--lc); color: #fff; opacity: 0; transform: scale(.6); }
.lcl-new .ico { width: 21px; height: 21px; }
.lcl-row.is-on .lcl-new { opacity: 1; transform: none; }
.lcl-row.is-on .lcl-av { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--lc); overflow: visible; }
.lcl-t { display: grid; min-width: 0; }
.lcl-t b { font-size: 13px; }
.lcl-t small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #8E8E93; font-size: 11px; }
.lcl-time { align-self: start; margin-top: 3px; color: #AEAEB2; font-size: 10px; }
.lcl-badge { position: absolute; right: 14px; bottom: 11px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #E5484D; color: #fff; font: 700 10.5px/17px var(--font-num); font-style: normal; text-align: center; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.lcl-badge.is-on { transform: scale(1); }
.lcl-crop { position: absolute; inset: 46px 0 0; z-index: 5; display: grid; align-content: center; justify-items: center; gap: 16px; background: rgba(12, 12, 14, .92); color: #fff; opacity: 0; transition: opacity .45s; }
.lcl-crop.is-on { opacity: 1; }
.lcl-crop.is-off { opacity: 0; }
.lcl-crop p { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 11.5px; font-weight: 700; opacity: 0; transition: opacity .4s .4s; }
.lcl-crop p .ico { width: 15px; height: 15px; stroke-width: 2.6; color: #7FD3A0; }
.lcl-crop.is-ring p { opacity: 1; }
.lcl-cbox { position: relative; width: 156px; height: 156px; border-radius: 6px; overflow: hidden; }
.lcl-logo { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; color: #fff; background: radial-gradient(60% 60% at 30% 25%, #F2D48F, #B98A3E 75%); }
.lcl-logo .ico { width: 44px; height: 44px; }
.lcl-logo b { font-size: 14px; font-weight: 900; letter-spacing: .06em; }
.lcl-ring { position: absolute; inset: 5px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .95); box-shadow: 0 0 0 90px rgba(0, 0, 0, .58); opacity: 0; transform: scale(1.3); transition: opacity .4s, transform .7s var(--ease-out); }
.lcl-crop.is-ring .lcl-ring { opacity: 1; transform: none; }
/* 圖片素材：空白的選單、海報 */
.dm-lx .dm-blank .lx-tile { background: #F2F2F4; color: #D1D1D6; }
.dm-lx .dm-blank { background: #E5E5EA; }
.dm-poster { position: relative; display: grid; align-content: end; gap: 3px; width: 168px; height: 184px; padding: 14px; border-radius: 14px; overflow: hidden; color: #fff; background: radial-gradient(60% 50% at 78% 22%, rgba(255, 238, 196, .8), transparent 65%), linear-gradient(165deg, #C9A35C, #6B4A1B 85%); }
.dm-poster > span { justify-self: start; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #6B4A1B; font-size: 10.5px; font-weight: 800; }
.dm-poster b { font-size: 19px; font-weight: 900; line-height: 1.25; }
.dm-poster small { font-size: 10px; opacity: .9; }

/* ---------- L-10 視覺風格定調：同一個畫面換四種風格（顏色、字、圖示、圓角）；換的時候慢慢過去 ---------- */
.dm-sty { --sf: var(--font-body); --sw: 700; --sl: .01em; --sr: 0px; --rb: color-mix(in srgb, var(--lc) 26%, #fff); }
.dm-sty .lx-rpage { padding: 5px; gap: 5px; background: var(--rb); transition: background-color .8s var(--ease-out); }
.dm-sty .lx-tile { border-radius: var(--sr); background: var(--tb, var(--ls)); color: var(--tc, var(--lc)); box-shadow: var(--tsh, 0 0 0 0 transparent); outline: 1.5px dashed transparent; outline-offset: -5px;
  transition: background-color .8s var(--ease-out), color .8s var(--ease-out), border-radius .8s var(--ease-out), box-shadow .8s var(--ease-out), outline-color .8s; }
.dm-sty .lx-tile.is-on { box-shadow: inset 0 0 0 2px currentColor; }
.dm-sty .lx-tile span, .dm-sty .lx-c-top b, .dm-sty .lx-c-btn { font-family: var(--sf); font-weight: var(--sw); letter-spacing: var(--sl); }
.dm-sty .lx-tile .ico { transition: padding .6s var(--ease-out), background-color .8s, width .6s, height .6s; }
.dm-sty .lx-av { transition: background-color .8s var(--ease-out); }
.dm-sty .lx-card1 { border-radius: calc(var(--sr) + 6px); transition: border-radius .8s var(--ease-out); }
.dm-sty .lx-c-top { position: relative; background: var(--ct, var(--lc)); color: var(--cc, #fff); transition: background-color .8s var(--ease-out), color .8s; }
.dm-sty .lx-c-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .22), transparent 55%, rgba(0, 0, 0, .14)); pointer-events: none; }
.dm-sty .lx-c-top > * { position: relative; z-index: 1; }
.dm-sty .lx-c-btn { border-radius: var(--sr); background: var(--bb, var(--ls)); color: var(--bc, var(--lc)); transition: background-color .8s var(--ease-out), color .8s, border-radius .8s; }
.dm-sty.is-morph .lx-tile span, .dm-sty.is-morph .lx-tile .ico, .dm-sty.is-morph .lx-c-top b, .dm-sty.is-morph .lx-c-btn, .dm-sty.is-morph .dm-stc-n { animation: dm-sty .56s ease-in-out; }
@keyframes dm-sty { 45%, 55% { opacity: 0; filter: blur(3px); } }
/* 還沒定調：每一格各做各的 */
.dm-sty.is-mix { --lc: #9CA3AF; --ls: #F3F4F6; --rb: #E5E7EB; --ct: #7C3AED; --bb: #E0F2FE; --bc: #0369A1; --sr: 6px; }
.dm-sty.is-mix .lx-tile:nth-child(1) { --tb: #FF5A5F; --tc: #fff; --sr: 0px; --sf: "Noto Serif TC", "Songti TC", "PMingLiU", serif; }
.dm-sty.is-mix .lx-tile:nth-child(2) { --tb: #DDF4E4; --tc: #138A4B; --sr: 18px; --sw: 900; }
.dm-sty.is-mix .lx-tile:nth-child(3) { --tb: #222222; --tc: #FFD400; --sr: 2px; --sf: "JetBrains Mono", ui-monospace, monospace; }
.dm-sty.is-mix .lx-tile:nth-child(4) { --tb: #FDE2F3; --tc: #C2185B; --sr: 12px; --sf: "Kaiti TC", "BiauKai", "DFKai-SB", "STKaiti", serif; }
.dm-sty.is-mix .lx-tile:nth-child(5) { --tb: #FFF3C4; --tc: #8A6D00; --sr: 0px; }
.dm-sty.is-mix .lx-tile:nth-child(6) { --tb: #E0E7FF; --tc: #4338CA; --sr: 22px; --sw: 500; }
/* 溫暖手作：奶茶色、楷書手寫感、圓角、虛線框 */
.dm-sty.is-s0 { --lc: #A3683A; --ls: #F7EDE0; --rb: #E9D5BC; --tb: #FBF5EC; --tc: #8A5530; --sr: 14px; --sf: "Kaiti TC", "BiauKai", "DFKai-SB", "STKaiti", "KaiTi", var(--font-body); --sw: 700; --sl: .04em; }
.dm-sty.is-s0 .lx-tile { outline-color: rgba(163, 104, 58, .4); }
/* 專業俐落：藏青、黑體字距收緊、小圓角、細線條 */
.dm-sty.is-s1 { --lc: #1F3A5F; --ls: #EEF3F8; --rb: #D9E1EA; --tb: #FFFFFF; --tc: #1F3A5F; --sr: 3px; --sw: 600; --sl: 0; --tsh: inset 0 0 0 1px #D9E1EA; }
.dm-sty.is-s1 .lx-tile .ico { stroke-width: 1.5; }
/* 高級質感：黑金、宋體字距拉開、直角、金色細框 */
.dm-sty.is-s2 { --lc: #141414; --ls: #F3EBDD; --rb: #0B0B0B; --tb: #161616; --tc: #D9BC7A; --sr: 0px; --sf: "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif CJK TC", serif; --sw: 600; --sl: .16em; --tsh: inset 0 0 0 1px rgba(217, 188, 122, .45); --ct: #141414; --cc: #D9BC7A; --bb: #141414; --bc: #D9BC7A; }
.dm-sty.is-s2 .lx-tile .ico { stroke-width: 1.3; }
/* 活潑繽紛：多色、粗黑體、大圓角、彩色圓底圖示 */
.dm-sty.is-s3 { --lc: #FF5C8A; --ls: #FFF0F5; --rb: #FFFFFF; --sr: 16px; --sw: 900; --ct: #7B61FF; --bb: #FFC23C; --bc: #3A2A00; }
.dm-sty.is-s3 .lx-tile { --tc: #fff; }
.dm-sty.is-s3 .lx-tile:nth-child(1) { --tb: #FF6B8B; } .dm-sty.is-s3 .lx-tile:nth-child(2) { --tb: #FFB020; } .dm-sty.is-s3 .lx-tile:nth-child(3) { --tb: #2EC4B6; }
.dm-sty.is-s3 .lx-tile:nth-child(4) { --tb: #7B61FF; } .dm-sty.is-s3 .lx-tile:nth-child(5) { --tb: #FF8A3D; } .dm-sty.is-s3 .lx-tile:nth-child(6) { --tb: #3DA5F5; }
.dm-sty.is-s3 .lx-tile .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
/* 風格卡：名稱、四個顏色、字和圖示 */
.dm-stc { position: absolute; top: 45px; left: 0; right: 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1px 8px; padding: 8px 14px 10px; border-radius: 0 0 16px 16px; background: #fff; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .4); }
.dm-stc-k { grid-column: 1; grid-row: 1; color: #8E8E93; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.dm-stc-n { grid-column: 1; grid-row: 2; font-size: 14px; font-weight: 900; transition: color .4s; }
.dm-sws { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 4px; }
.dm-sws i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: background-color .8s var(--ease-out); }
.dm-stc-d { grid-column: 1 / -1; color: #6E6E73; font-size: 10.5px; }
.dm-stc.is-mix .dm-stc-n { color: #D93025; }
.dm-lx .dm-stc ~ .lx-chat { padding-top: 76px; }

/* ---------- 群發訊息：後台面板（從下面滑上來） ---------- */
.dm-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; display: grid; gap: 8px; padding: 12px 12px 16px; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .22); transform: translateY(105%); transition: transform .5s var(--ease-out); }
.dm-sheet.is-on { transform: none; }
.sh-h { display: grid; gap: 1px; }
.sh-h b { font-size: 13.5px; }
.sh-h small { color: #8E8E93; font-size: 10.5px; font-weight: 600; }
.sh-pv { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; padding: 9px; border-radius: 12px; background: var(--ls); }
.sh-pv > .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--lc); color: #fff; }
.sh-pv span { display: grid; gap: 1px; min-width: 0; }
.sh-pv b { min-height: 1.4em; color: var(--lc); font-size: 13px; }
.sh-pv small { color: #6E6E73; font-size: 10.5px; }
.sh-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 2px 0; border-top: 1px solid #F0F0F2; font-size: 11.5px; }
.sh-row small { color: #8E8E93; font-weight: 600; }
.sh-row b { font-size: 11.5px; }
.dm-btn.sh-go { justify-self: stretch; justify-content: center; padding: 8px; font-size: 12px; }

/* ---------- 受眾分眾 ---------- */
.au { display: grid; gap: 10px; }
.au-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.au-h b { font-size: 13px; }
.au-h small { color: #8E8E93; font-size: 10.5px; }
.au-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.au-chips span { padding: 4px 10px; border-radius: 999px; border: 1.5px solid #E5D5B5; color: #8A6A2E; font-size: 11px; font-weight: 700; transition: background-color .25s, color .25s, border-color .25s; }
.au-chips span.is-on { background: #B98A3E; border-color: #B98A3E; color: #fff; }
.au-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; max-width: 360px; padding: 10px; border-radius: 12px; background: #F7F7F9; }
.au-grid i { display: block; aspect-ratio: 1; border-radius: 50%; background: #DCDCE0; transition: background-color .4s, transform .4s var(--ease-out); }
.au-grid.is-a i, .au-grid.is-c i[data-g="c"], .au-grid.is-w i[data-g="w"] { background: #B98A3E; transform: scale(1.08); }
.au-grid.is-sent.is-c i[data-g="c"], .au-grid.is-sent.is-w i[data-g="w"] { animation: au-sent .9s ease-out; }
@keyframes au-sent { 0% { box-shadow: 0 0 0 0 rgba(185, 138, 62, .75); } 100% { box-shadow: 0 0 0 8px rgba(185, 138, 62, 0); } }
.au-foot { display: flex; align-items: center; gap: 10px; }
.au-n { color: #6E6E73; font-size: 11.5px; white-space: nowrap; }
.au-n b { color: #1D1D1F; font: 800 16px var(--font-num); }
.au-msg { flex: 1; min-width: 0; overflow: hidden; color: #B98A3E; font-size: 11px; font-weight: 800; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.au-msg.is-in { animation: lx-in .35s var(--ease-out); }

/* ---------- LINE Tag 追蹤碼 ---------- */
.lt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; }
.lt-form { display: grid; align-content: start; gap: 7px; }
.lt-src { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(6, 199, 85, .12); color: #0A8F43; font-size: 10px; font-weight: 800; }
.lt-src .ico { width: 12px; height: 12px; }
.lt-form > b { font-size: 14px; }
.lt-in { display: grid; gap: 1px; padding: 5px 9px; border: 1.5px solid #E5E5EA; border-radius: 9px; }
.lt-in small { color: #8E8E93; font-size: 9.5px; font-weight: 700; }
.lt-v { min-height: 1.4em; font-size: 12px; font-style: normal; font-weight: 700; }
.dm-btn.lt-go { justify-self: stretch; justify-content: center; }
.lt-log { display: grid; align-content: start; gap: 7px; padding: 10px; border-radius: 12px; background: #1D1D1F; color: #fff; }
.lt-log > small { color: #E7C987; font-size: 10px; font-weight: 700; }
.lt-r { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11px; opacity: .25; transition: opacity .4s; }
.lt-r.is-on { opacity: 1; }
.lt-r > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lt-r .ico { width: 13px; height: 13px; flex: none; color: #7FD3A0; }
.lt-r em { flex: none; margin-left: auto; padding: 1px 6px; border-radius: 999px; background: rgba(6, 199, 85, .22); color: #8EF0B6; font-size: 9.5px; font-style: normal; font-weight: 800; }
.lt-sum { display: grid; gap: 1px; margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); }
.lt-sum small { color: #A1A1A6; font-size: 9.5px; }
.lt-sum b { font-size: 12px; }
.lt-sum .num { color: #E7C987; font: 800 20px var(--font-num); }

/* ---------- 網站架構 ---------- */
.smp { position: absolute; inset: 10px 12px; }
.smp-ln { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.smp-ln path { fill: none; stroke: #D8C6A0; stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out); }
.smp-ln path.is-on { stroke-dashoffset: 0; }
.smp-n { position: absolute; z-index: 2; padding: 4px 10px; border-radius: 8px; border: 1.5px solid #E5D5B5; background: #fff; color: #6B4A1B; font-size: 11px; font-weight: 800; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .3s, background-color .3s, color .3s, border-color .3s; }
.smp-n.is-on { opacity: 1; transform: translate(-50%, -50%); }
.smp-n.is-root { border-color: #241B0E; background: #241B0E; color: #F5E1B3; }
.smp-n.is-hot { border-color: #B98A3E; background: #B98A3E; color: #fff; }
.smp-n.is-on.is-press { transform: translate(-50%, -50%) scale(.92); }
.smp-tip { position: absolute; right: 0; top: 0; z-index: 3; display: grid; gap: 1px; width: min(42%, 190px); padding: 7px 9px; border-radius: 10px; background: #241B0E; color: #F5E1B3; font-size: 10.5px; font-weight: 600; line-height: 1.45; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease-out); }
.smp-tip b { color: #E7C987; font-size: 11px; }
.smp-tip.is-on { opacity: 1; transform: none; }
.smp-dot { position: absolute; left: 50%; top: 12%; z-index: 3; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .25); opacity: 0; transition: left .42s linear, top .42s linear, opacity .3s; }
.smp-dot.is-on { opacity: 1; }
.smp-lab { position: absolute; left: 50%; bottom: 0; z-index: 3; padding: 4px 11px; border-radius: 999px; background: #FDECEC; color: #C62F35; font-size: 10.5px; font-weight: 800; white-space: nowrap; opacity: 0; transform: translate(-50%, 6px); transition: opacity .3s, transform .4s var(--ease-out); }
.smp-lab.is-on { opacity: 1; transform: translate(-50%, 0); }
.smp-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 4px 12px; padding: 7px 11px; border-radius: 10px; background: #241B0E; color: #F5E1B3; font-size: 10.5px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .5s var(--ease-out); }
.smp-nav b { margin-right: auto; color: #E7C987; }
.smp-nav.is-on { opacity: 1; transform: none; }

/* ---------- 網域與上線 ---------- */
.lv .dm-bar .lv-url { display: flex; align-items: center; gap: 4px; min-width: 150px; color: #1D1D1F; }
.lv-lock { display: none; color: #2E7D32; }
.lv-lock .ico { width: 11px; height: 11px; stroke-width: 2.4; }
.lv-warn { display: none; padding: 0 5px; border-radius: 4px; background: #FDECEC; color: #C62F35; font: 700 9px var(--font-body); font-style: normal; }
.lv-url.is-warn .lv-warn { display: inline-block; }
.lv-url.is-safe .lv-lock { display: inline-flex; }
.lv-typed { font-style: normal; }
.lv-typed.is-edit::after { display: none; }
.lv .dm-caret { width: 1px; height: 11px; background: #1D1D1F; }
.lv-url.is-typed .dm-caret { display: none; }
.lv-blank { position: absolute; inset: 0 0 46px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 0 16px; color: #8E8E93; font-size: 11.5px; text-align: center; transition: opacity .4s, color .3s; }
.lv-blank .ico { width: 28px; height: 28px; color: #C7C7CC; }
.lv-blank.is-warn { color: #C62F35; }
.lv-blank.is-warn .ico { color: #F2A0A3; }
.lv-blank.is-off { opacity: 0; }
.lv-site { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.lv-site.is-on { opacity: 1; transform: none; }
.lv-steps { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lv-steps span { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 4px; border-radius: 8px; background: #F2F2F4; color: #8E8E93; font-size: 10.5px; font-weight: 700; white-space: nowrap; transition: background-color .3s, color .3s; }
.lv-steps .ico { width: 12px; height: 12px; stroke-width: 2.6; opacity: .3; }
.lv-steps span.is-on { background: #E8F5E9; color: #2E7D32; }
.lv-steps span.is-on .ico { opacity: 1; }

/* ---------- 內頁：導覽列＋換頁 ---------- */
.dm-nav { display: flex; align-items: center; gap: 10px; height: 26px; }
.dm-nav > b { display: inline-flex; align-items: center; gap: 4px; margin-right: auto; font-size: 12px; font-weight: 900; white-space: nowrap; }
.dm-nav > b .ico { width: 15px; height: 15px; color: #B98A3E; }
.dm-nl { display: flex; gap: 11px; }
.dm-nl span { position: relative; padding: 3px 0; color: #6E6E73; font-size: 11px; font-weight: 700; white-space: nowrap; transition: color .25s; }
.dm-nl span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #B98A3E; transform: scaleX(0); transition: transform .35s var(--ease-out); }
.dm-nl span.is-on { color: #1D1D1F; }
.dm-nl span.is-on::after { transform: none; }
.dm-pgs { position: absolute; left: 16px; right: 16px; top: 50px; bottom: 12px; }
.dm-pgs > .dm-load { top: -8px; }
.dm-pg { position: absolute; inset: 0; opacity: 0; transform: translateX(28px); transition: opacity .4s ease, transform .55s var(--ease-out); pointer-events: none; }
.dm-pg.is-cur { opacity: 1; transform: none; transition-delay: .12s; }
.dm-pg.is-out { opacity: 0; transform: translateX(-28px); transition-delay: 0s; }
.dm-pg .dm-blk { margin-top: 8px; }
.dm-about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; height: 100%; }
.ab-pic { display: grid; align-items: end; justify-items: start; padding: 8px; border-radius: 12px; color: #fff; font-size: 10.5px; font-weight: 800; background: radial-gradient(50% 40% at 70% 30%, rgba(255, 246, 218, .9), transparent 70%), linear-gradient(160deg, #EBD3A6, #8C6526); }
.ab-pic span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .25); }
.ab-pic .ico { width: 12px; height: 12px; }
.ab-t { display: grid; align-content: center; gap: 7px; }
.ab-t b { font-size: 15px; font-weight: 900; }
.ab-t i { display: block; height: 6px; border-radius: 3px; background: #E2E2E6; }
.ab-t i:nth-of-type(2) { width: 86%; } .ab-t i:nth-of-type(3) { width: 64%; }
.ab-t q { margin-top: 4px; padding-left: 8px; border-left: 3px solid #E7C987; color: #6B4A1B; font-size: 11.5px; font-weight: 700; quotes: none; }
.dm-h2.sm { margin-bottom: 8px; font-size: 13px; }
.dm-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dm-svc > div { display: grid; justify-items: start; gap: 3px; min-width: 0; padding: 10px 9px; border-radius: 12px; background: #F7F2E8; }
.dm-svc .ico { width: 28px; height: 28px; margin-bottom: 2px; padding: 6px; border-radius: 8px; background: #fff; color: #B98A3E; }
.dm-svc b { font-size: 12px; white-space: nowrap; }
.dm-svc small { color: #8A6A2E; font: 700 11px var(--font-num); white-space: nowrap; }
.dm-sv-l { margin-top: 3px; color: #B98A3E; font-size: 10.5px; font-weight: 700; }
.dm-ct { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px; height: 100%; }
.ct-f { display: grid; align-content: start; gap: 6px; }
.ct-f > span:not(.dm-btn) { padding: 6px 9px; border: 1.5px solid #E5E5EA; border-radius: 8px; color: #AEAEB2; font-size: 10.5px; }
.ct-f > span.is-tall { height: 46px; }
.ct-map { display: grid; place-content: center; justify-items: center; gap: 4px; border-radius: 12px; color: #B98A3E; text-align: center; background: repeating-linear-gradient(45deg, #F5EFE2 0 10px, #EFE6D3 10px 20px); }
.ct-map .ico { width: 26px; height: 26px; }
.ct-map small { color: #6B4A1B; font-size: 10px; font-weight: 700; }

/* ---------- 圖片素材：AI 生成、修圖前後（圖都是用色塊畫的示意） ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 440px; }
.ig-slot { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #F2F2F4; }
.ig-slot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); transform: translateX(-100%); animation: ig-shim 1.2s ease-in-out infinite; }
@keyframes ig-shim { to { transform: translateX(100%); } }
.ig-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; color: #8E8E93; font-size: 10px; font-weight: 700; transition: opacity .3s; }
.ig-wait .ico { width: 18px; height: 18px; color: #B98A3E; }
.ig-slot .ig-art { opacity: 0; transform: scale(1.08); filter: blur(10px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out); }
.ig-slot.is-on .ig-art { opacity: 1; transform: none; filter: none; }
.ig-slot.is-on .ig-wait { opacity: 0; }
.ig-slot.is-on::before { animation: none; opacity: 0; }
.ig-note { display: flex; align-items: center; gap: 5px; margin: 10px 0 0; color: #2E7D32; font-size: 11px; font-weight: 700; opacity: 0; transition: opacity .4s; }
.ig-note .ico { width: 14px; height: 14px; flex: none; stroke-width: 2.4; }
.ig-note.is-on { opacity: 1; }
.ig-art { position: absolute; inset: 0; display: block; overflow: hidden; }
.ig-art.a0 { background: radial-gradient(42% 30% at 72% 22%, rgba(255, 250, 235, .95), transparent 70%), linear-gradient(165deg, #F3E3C6, #D5B07A); }
.ig-art.a0::before { content: ""; position: absolute; left: 39%; bottom: 17%; width: 22%; height: 50%; border-radius: 9px 9px 5px 5px; background: linear-gradient(#3A2A12, #3A2A12) top center / 56% 15% no-repeat, linear-gradient(90deg, #7E5A22, #D2AE68 42%, #8C6526 82%); box-shadow: 0 14px 12px -10px rgba(60, 40, 10, .55); }
.ig-art.a0::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 13%; height: 6%; border-radius: 50%; background: rgba(90, 60, 20, .25); filter: blur(2px); }
.ig-art.a1 { background: linear-gradient(180deg, #EAF0E6 0 62%, #CDB99C 62%); }
.ig-art.a1::before { content: ""; position: absolute; left: 20%; right: 20%; top: 12%; height: 42%; border-radius: 6px; background: linear-gradient(160deg, #FFFFFF, #DCE8EE); box-shadow: inset 0 0 0 3px #FAF7F0; }
.ig-art.a1::after { content: ""; position: absolute; left: 13%; bottom: 22%; width: 26%; height: 34%; border-radius: 50% 50% 6px 6px; background: radial-gradient(circle at 50% 30%, #8FAE78, #5E7D4A 70%); }
.ig-art.a2 { background: radial-gradient(50% 40% at 70% 20%, rgba(255, 255, 255, .7), transparent 70%), linear-gradient(150deg, #F4EAE3, #D8C3B4); }
.ig-art.a2::before { content: ""; position: absolute; left: 16%; right: 16%; bottom: 20%; height: 24%; background: radial-gradient(ellipse 30% 42% at 28% 58%, #5E5550 0 98%, transparent 100%), radial-gradient(ellipse 24% 36% at 58% 54%, #7A706A 0 98%, transparent 100%), radial-gradient(ellipse 17% 28% at 82% 62%, #4A4440 0 98%, transparent 100%); }
.ig-art.a2::after { content: ""; position: absolute; left: 28%; top: 22%; width: 44%; height: 24%; border-radius: 8px; background: linear-gradient(180deg, #FFFFFF, #EFE7E0); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .25); }
.ig-ba { position: relative; width: min(100%, 340px); aspect-ratio: 16 / 10; margin: 2px auto 0; border-radius: 14px; overflow: hidden; }
.ig-art.is-before { filter: grayscale(.6) brightness(.8) contrast(.85) sepia(.15); }
.ig-after { clip-path: inset(0 0 0 var(--p, 100%)); transition: clip-path 1.6s var(--ease-out); }
.ig-hdl { position: absolute; top: 0; bottom: 0; left: var(--p, 100%); z-index: 2; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .35); transition: left 1.6s var(--ease-out); }
.ig-hdl b { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; color: #1D1D1F; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.ig-hdl .ico { width: 11px; height: 11px; margin: 0 -1px; stroke-width: 2.6; }
.ig-l, .ig-r { position: absolute; top: 9px; z-index: 3; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 700; transition: opacity .3s; }
.ig-l { left: 9px; } .ig-r { right: 9px; }
.ig-ba.is-b .ig-r, .ig-ba.is-a .ig-l { opacity: 0; }

/* ---------- 隱私同意＋像素 ---------- */
.ck { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; }
.ck-shop { display: grid; align-content: start; gap: 7px; }
.ck .dm-shophead { margin-bottom: 0; }
.ck-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 4px 8px; padding: 7px; border: 1px solid #ECECEF; border-radius: 10px; }
.ck-item > i { grid-row: span 2; display: block; width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, hsl(calc(36 + var(--k, 0) * 14) 60% 82%), hsl(calc(30 + var(--k, 0) * 10) 45% 54%)); }
.ck-item > span:not(.dm-btn) { display: grid; min-width: 0; }
.ck-item b { font-size: 11.5px; }
.ck-item small { color: #8E8E93; font-size: 10px; }
.ck-item .dm-btn { grid-column: 2; }
.ck-log { display: grid; align-content: start; gap: 6px; padding: 9px; border-radius: 12px; background: #1D1D1F; color: #fff; }
.ck-log > small { color: #E7C987; font-size: 10px; font-weight: 700; }
.ck-rows { display: grid; gap: 5px; }
.ck-r { display: flex; align-items: center; gap: 5px; color: #A1A1A6; font-size: 10.5px; animation: lx-in .35s var(--ease-out); }
.ck-r .ico { flex: none; width: 12px; height: 12px; stroke-width: 2.6; color: #FF9C8C; }
.ck-r.is-ok { color: #fff; }
.ck-r.is-ok .ico { color: #7FD3A0; }
.ck-foot { margin: 4px 0 0; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .12); color: #E7C987; font-size: 10.5px; font-weight: 700; animation: lx-in .35s var(--ease-out); }
.ck-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 5; display: grid; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25), 0 0 0 1px #ECECEF; transform: translateY(130%); transition: transform .5s var(--ease-out); }
.ck-bar.is-on { transform: none; }
.ck-txt { display: grid; gap: 2px; }
.ck-txt b { font-size: 12px; }
.ck-txt span { color: #6E6E73; font-size: 10.5px; line-height: 1.45; }
.ck-set { display: none; gap: 0; }
.ck-bar.is-set .ck-set { display: grid; }
.ck-tg { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px solid #F0F0F2; font-size: 11px; }
.ck-tg.is-lock .dm-tgl { opacity: .45; }
.ck-btns { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.ck-b { padding: 5px 11px; border-radius: 999px; border: 1.5px solid #1D1D1F; color: #1D1D1F; font-size: 10.5px; font-weight: 700; white-space: nowrap; transition: transform .15s; }
.ck-b.is-press { transform: scale(.92); }
.ck-cfg { margin-right: auto; padding-inline: 2px; border-color: transparent; text-decoration: underline; text-underline-offset: 2px; }
.ck-save { display: none; background: #1D1D1F; color: #fff; }
.ck-bar.is-set .ck-save { display: inline-block; }
.ck-bar.is-set .ck-all, .ck-bar.is-set .ck-cfg { display: none; }

/* ---------- 流量分析 ---------- */
.ga { display: grid; align-content: start; gap: 8px; }
.ga-k { display: flex; justify-content: space-between; align-items: center; }
.ga-k > span:first-child { display: grid; }
.ga-k small { color: #8E8E93; font-size: 10.5px; font-weight: 700; }
.ga-n { font: 800 24px/1.1 var(--font-num); }
.ga-seg { display: flex; padding: 2px; border-radius: 999px; background: #F2F2F4; }
.ga-seg span { padding: 3px 10px; border-radius: 999px; color: #6E6E73; font-size: 10px; font-weight: 700; }
.ga-seg span.is-on { background: #fff; color: #1D1D1F; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.ga-h { margin: 2px 0 0; font-size: 11.5px; font-weight: 800; }
.ga-rows { display: grid; gap: 4px; }
.ga-r { display: grid; grid-template-columns: 7.6em minmax(0, 1fr) 3.4em; align-items: center; gap: 8px; margin-inline: -6px; padding: 3px 6px; border-radius: 8px; font-size: 11px; white-space: nowrap; transition: background-color .3s; }
.ga-r > span { overflow: hidden; text-overflow: ellipsis; }
.ga-r i { position: relative; height: 10px; border-radius: 5px; overflow: hidden; background: #F2F2F4; }
.ga-r i b { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #E7C987, #B98A3E); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.ga-r.is-on i b { transform: scaleX(var(--w)); }
.ga-r em { font: 700 11px var(--font-num); font-style: normal; text-align: right; }
.ga-r.is-hot { background: #FBF1DF; }
.ga-tip { margin: 2px 0 0; padding: 6px 10px; border-radius: 10px; background: #241B0E; color: #F5E1B3; font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out); }
.ga-tip.is-on { opacity: 1; transform: none; }

/* ---------- 粉絲專頁：一般社群專頁的樣子（封面、頭貼、名稱、行動按鈕、分頁、貼文）；不放平台標誌和顏色 ---------- */
.dm-fp { position: relative; display: flex; flex-direction: column; height: 400px; border-radius: 30px; overflow: hidden; background: #fff; color: #1D1D1F; font-size: 12px; }
.fp-top { position: relative; z-index: 4; display: flex; flex: none; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-bottom: 1px solid #F0F0F2; background: #fff; }
.fp-top > .ico { flex: none; width: 18px; height: 18px; }
.fp-top b { flex: 1; min-width: 0; font-size: 13.5px; }
.fp-top em { padding: 1px 8px; border-radius: 999px; background: #F0F0F0; color: #666; font-size: 11px; font-style: normal; font-weight: 700; }
.fp-scroll { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.fp-in { transition: transform 1s var(--ease-out); }
.fp-cover { position: relative; height: 98px; overflow: hidden; background: #ECECEF; }
.fp-cover.is-empty { background: repeating-linear-gradient(-45deg, #F3F3F5 0 10px, #E9E9EC 10px 20px); }
.fp-ph0 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding-bottom: 14px; color: #8E8E93; font-size: 11.5px; font-weight: 700; transition: opacity .3s; }
.fp-ph0.is-off { opacity: 0; }
.fp-ph0 .ico { width: 16px; height: 16px; }
.fp-cv { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 5px; padding: 0 14px 14px; color: #fff;
  background: radial-gradient(55% 80% at 88% 12%, rgba(255, 246, 218, .85), transparent 62%), linear-gradient(135deg, #EED39C, #B98A3E 62%, #7E5A22);
  opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.fp-cv.is-on { opacity: 1; transform: none; }
.fp-cv > b { font-size: 14.5px; font-weight: 900; line-height: 1.3; text-shadow: 0 1px 6px rgba(70, 45, 10, .35); }
.fp-cv > span { font-size: 10.5px; font-weight: 600; opacity: .95; }
.fp-cv > .fp-hint { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px 2px 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #6B4A1B; font-weight: 800; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease-out); }
.fp-cv > .fp-hint.is-on { opacity: 1; transform: none; animation: fp-nudge 1.2s ease-in-out .5s infinite; }
@keyframes fp-nudge { 50% { transform: translateY(3px); } }
.fp-hint .ico { width: 12px; height: 12px; stroke-width: 2.6; }
.fp-id { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 9px; margin-top: -24px; padding: 0 12px 10px; }
.fp-av { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff; color: #fff; background: radial-gradient(70% 70% at 30% 25%, #F2D48F, #B98A3E 70%); box-shadow: 0 3px 10px rgba(0, 0, 0, .14); }
.fp-av .ico { width: 26px; height: 26px; }
.fp-av.sm { width: 30px; height: 30px; border-width: 0; box-shadow: none; }
.fp-av.sm .ico { width: 15px; height: 15px; }
.fp-nm { display: grid; min-width: 0; padding: 0 6px 3px 0; border-radius: 8px; }
.fp-name { font-size: 15px; font-weight: 800; line-height: 1.25; }
.fp-meta { overflow: hidden; color: #6E6E73; font-size: 10.5px; white-space: nowrap; text-overflow: ellipsis; }
.fp-acts { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 10px; }
.fp-act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 30px; border-radius: 8px; background: #F0F0F2; color: #1D1D1F; font-size: 11.5px; font-weight: 700; white-space: nowrap; transition: transform .15s; }
.fp-act .ico { width: 14px; height: 14px; }
.fp-act.is-main { flex: 1.7; background: #B98A3E; color: #fff; }
.fp-act.is-sq { flex: 0 0 34px; gap: 2px; }
.fp-act.is-sq i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.fp-act.is-press { transform: scale(.94); }
.fp-act.is-glow { animation: fp-glow 1.1s ease-in-out infinite alternate; }
@keyframes fp-glow { from { box-shadow: 0 0 0 0 rgba(185, 138, 62, 0); } to { box-shadow: 0 0 0 4px rgba(185, 138, 62, .25), 0 0 18px 2px rgba(185, 138, 62, .5); } }
.fp-tabs { display: flex; gap: 16px; padding: 0 12px; border-bottom: 1px solid #F0F0F2; }
.fp-tabs span { position: relative; padding: 9px 0 8px; color: #8E8E93; font-size: 11.5px; font-weight: 700; transition: color .25s; }
.fp-tabs span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #B98A3E; transform: scaleX(0); transition: transform .3s var(--ease-out); }
.fp-tabs span.is-on { color: #1D1D1F; }
.fp-tabs span.is-on::after { transform: none; }
.fp-post { display: grid; gap: 7px; padding: 10px 12px; border-bottom: 6px solid #F2F2F4; }
.fp-ph { display: flex; align-items: center; gap: 7px; }
.fp-ph > span:last-child { display: grid; }
.fp-ph b { font-size: 12px; }
.fp-ph small { color: #8E8E93; font-size: 10px; }
.fp-pt { margin: 0; font-size: 11.5px; line-height: 1.5; }
.fp-pimg { position: relative; display: grid; align-content: end; gap: 2px; height: 132px; padding: 12px; border-radius: 10px; color: #fff; background: radial-gradient(45% 45% at 78% 24%, rgba(255, 240, 205, .85), transparent 70%), linear-gradient(160deg, #D8B26C, #6B4A1B 90%); }
.fp-pimg > b { font-size: 18px; font-weight: 900; }
.fp-pimg > span { font-size: 11px; font-weight: 700; opacity: .92; }
.fp-react { display: flex; justify-content: space-between; align-items: center; color: #6E6E73; font-size: 10.5px; }
.fp-react > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.fp-react .ico { width: 13px; height: 13px; color: #E5484D; fill: #E5484D; }
/* 蓋在專頁上的畫面（建立專頁、裁切頭貼、建立貼文） */
.fp-sheet0 { position: absolute; inset: 42px 0 0; z-index: 5; background: #fff; transition: transform .55s var(--ease-out); }
.fp-sheet0.is-off { transform: translateY(102%); }
.fp-nh { font-size: 15px; font-weight: 900; }
/* F-01 建立專頁 */
.fp-new { display: grid; align-content: start; gap: 9px; padding: 14px; }
.fp-f { display: grid; gap: 3px; padding: 8px 11px; border: 1.5px solid #ECECEF; border-radius: 10px; }
.fp-f small { color: #8E8E93; font-size: 10px; font-weight: 700; }
.fp-v { display: flex; min-height: 1.5em; font-size: 13px; font-weight: 700; }
.fp-v > span:first-child { color: #8E8E93; }
.fp-ok { display: inline-flex; align-items: center; gap: 3px; color: #2E7D32; font-size: 10.5px; font-style: normal; font-weight: 700; opacity: 0; transition: opacity .3s; }
.fp-ok.is-on { opacity: 1; }
.fp-ok .ico { width: 12px; height: 12px; stroke-width: 2.6; }
.fp-cats { display: flex; flex-wrap: wrap; gap: 5px; }
.fp-cats span { padding: 3px 9px; border-radius: 999px; background: #F2F2F4; color: #6E6E73; font-size: 10.5px; font-weight: 700; transition: background-color .25s, color .25s; }
.fp-cats span.is-on { background: #B98A3E; color: #fff; }
.fp-go { display: grid; place-items: center; height: 34px; border-radius: 10px; background: #B98A3E; color: #fff; font-size: 12.5px; font-weight: 800; transition: transform .15s; }
.fp-go.is-press { transform: scale(.95); }
/* F-02 頭貼裁切 */
.fp-crop { display: grid; align-content: center; justify-items: center; gap: 16px; background: #111113; color: #fff; }
.fp-crop .fp-nh { position: absolute; left: 14px; top: 14px; }
.fp-cbox { position: relative; width: 168px; height: 168px; border-radius: 8px; overflow: hidden; }
.fp-logo { position: absolute; inset: 0; color: #fff; background: radial-gradient(60% 60% at 30% 25%, #F2D48F, #B98A3E 75%); transition: opacity .6s; }
.fp-logo i { display: grid; place-items: center; }
.fp-logo.is-a i { position: absolute; left: 10px; top: 10px; }
.fp-logo.is-a .ico { width: 38px; height: 38px; }
.fp-logo.is-a b { position: absolute; right: 9px; bottom: 9px; font-size: 18px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.fp-logo.is-b { display: grid; place-content: center; justify-items: center; gap: 3px; opacity: 0; }
.fp-logo.is-b .ico { width: 46px; height: 46px; }
.fp-logo.is-b b { font-size: 15px; font-weight: 900; letter-spacing: .04em; }
.fp-crop.is-fix .fp-logo.is-a { opacity: 0; }
.fp-crop.is-fix .fp-logo.is-b { opacity: 1; }
.fp-ring { position: absolute; inset: 4px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .95); box-shadow: 0 0 0 90px rgba(0, 0, 0, .62); opacity: 0; transform: scale(1.3); transition: opacity .4s, transform .7s var(--ease-out); }
.fp-crop.is-ring .fp-ring { opacity: 1; transform: none; }
.fp-cmsg { position: relative; width: 100%; height: 18px; margin: 0; font-size: 12px; font-weight: 700; }
.fp-cmsg span { position: absolute; left: 50%; top: 0; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; opacity: 0; transform: translateX(-50%); transition: opacity .3s; }
.fp-cmsg .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.fp-cmsg .is-bad { color: #FF9C8C; }
.fp-cmsg .is-good { color: #7FD3A0; }
.fp-crop.is-bad .fp-cmsg .is-bad, .fp-crop.is-fix .fp-cmsg .is-good { opacity: 1; }
/* F-03 封面：電腦、手機看到的範圍 */
.fs { position: relative; width: min(88%, 470px); aspect-ratio: 820 / 360; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.fs-art { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; color: #fff; text-align: center;
  background: radial-gradient(40% 70% at 86% 20%, rgba(255, 246, 218, .8), transparent 65%), radial-gradient(30% 60% at 8% 90%, rgba(255, 255, 255, .25), transparent 70%), linear-gradient(135deg, #EED39C, #B98A3E 60%, #7E5A22); }
.fs-art b { font-size: 19px; font-weight: 900; letter-spacing: .03em; text-shadow: 0 1px 8px rgba(70, 45, 10, .35); }
.fs-art span { font-size: 11px; font-weight: 700; opacity: .95; }
.fs-shade { position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .6); clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); transition: clip-path .8s var(--ease-out); }
.fs-box { position: absolute; inset: 0; z-index: 3; border: 2px solid #fff; border-radius: 4px; opacity: 0; transition: inset .8s var(--ease-out), opacity .3s; }
.fs-box em { position: absolute; left: 50%; top: 6px; padding: 2px 9px; border-radius: 999px; background: #fff; color: #1D1D1F; font-size: 10.5px; font-style: normal; font-weight: 800; white-space: nowrap; transform: translateX(-50%); }
.fs.is-pc .fs-shade { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 6.7%, 100% 6.7%, 100% 93.3%, 0 93.3%, 0 6.7%); }
.fs.is-pc .fs-box { inset: 6.7% 0; opacity: 1; }
.fs.is-mb .fs-shade { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 11% 0, 89% 0, 89% 100%, 11% 100%, 11% 0); }
.fs.is-mb .fs-box { inset: 0 11%; opacity: 1; }
.fs.is-safe .fs-shade { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 11% 6.7%, 89% 6.7%, 89% 93.3%, 11% 93.3%, 11% 6.7%); }
.fs.is-safe .fs-box { inset: 6.7% 11%; opacity: 1; border-style: dashed; }
@media (max-width: 640px) { .fs-art b { font-size: 15px; } .fs-art span { font-size: 10px; } }
/* F-04 關於 */
.fp-tc.is-alt { display: none; }
.dm-fp.is-about .fp-tc { display: none; }
.dm-fp.is-about .fp-tc.is-alt { display: block; }
.fp-about { display: grid; padding: 4px 12px 12px; }
.fp-ar { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; padding: 7px 4px; border-bottom: 1px solid #F2F2F4; border-radius: 8px; opacity: 0; transform: translateX(14px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.fp-ar.is-on { opacity: 1; transform: none; }
.fp-ar > .ico { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #F2F2F4; color: #6B4A1B; }
.fp-ar > span { display: grid; min-width: 0; }
.fp-ar small { color: #8E8E93; font-size: 10px; }
.fp-ar b { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.fp-ar em { margin-left: 6px; padding: 0 6px; border-radius: 999px; background: #E8F5E9; color: #2E7D32; font-size: 9.5px; font-style: normal; font-weight: 800; }
/* F-05、F-10 從下面滑上來的視窗（訊息、報名、加 LINE） */
.fp-bs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; display: grid; align-content: start; gap: 10px; min-height: 52%; padding: 16px 14px 18px; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -12px 30px rgba(0, 0, 0, .22); transform: translateY(105%); transition: transform .5s var(--ease-out); }
.fp-bs.is-on { transform: none; }
.fp-bs::before { content: ""; position: absolute; left: 50%; top: 6px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: #D1D1D6; }
.fp-bsh { display: grid; gap: 1px; }
.fp-bsh b { font-size: 14px; }
.fp-bsh small { color: #8E8E93; font-size: 10.5px; }
.fp-msgs { display: grid; gap: 6px; }
.fp-bub { justify-self: start; max-width: 86%; margin: 0; padding: 7px 10px; border-radius: 14px 14px 14px 4px; background: #F0F0F2; font-size: 11.5px; line-height: 1.5; animation: lx-in .35s var(--ease-out); }
.fp-bub.is-me { justify-self: end; border-radius: 14px 14px 4px 14px; background: #B98A3E; color: #fff; }
.fp-qs { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-qs span { padding: 4px 11px; border-radius: 999px; border: 1.5px solid #B98A3E; color: #8A6A2E; font-size: 11px; font-weight: 700; transition: background-color .15s, color .15s; }
.fp-qs span.is-press { background: #B98A3E; color: #fff; }
.fp-form { display: grid; gap: 7px; }
.fp-in2 { display: grid; gap: 1px; padding: 6px 10px; border: 1.5px solid #E5E5EA; border-radius: 9px; }
.fp-in2 small { color: #8E8E93; font-size: 9.5px; font-weight: 700; }
.fp-in2 i { min-height: 1.4em; font-size: 12px; font-style: normal; font-weight: 700; }
.fp-done { display: none; align-items: center; gap: 5px; margin: 0; padding: 8px 10px; border-radius: 10px; background: #E8F5E9; color: #2E7D32; font-size: 11.5px; font-weight: 700; animation: lx-in .35s var(--ease-out); }
.fp-done .ico { flex: none; width: 15px; height: 15px; stroke-width: 2.6; }
.fp-form.is-done .fp-in2, .fp-form.is-done .fp-send { display: none; }
.fp-form.is-done .fp-done { display: flex; }
.fp-lineadd { display: grid; justify-items: center; gap: 2px; padding: 4px 0 2px; text-align: center; }
.fp-lineadd .fp-av { width: 54px; height: 54px; border-width: 0; }
.fp-lineadd b { margin-top: 5px; font-size: 14px; }
.fp-lineadd small { color: #8E8E93; font-size: 10.5px; }
.fp-addb { width: 100%; margin-top: 10px; padding: 8px 0; border-radius: 10px; background: #06C755; color: #fff; font-size: 12.5px; font-weight: 800; transition: transform .15s, background-color .3s, color .3s; }
.fp-addb.is-press { transform: scale(.95); }
.fp-lineadd.is-done .fp-addb { background: #E8F5E9; color: #2E7D32; }
.fp-lineadd.is-done .fp-done { display: flex; margin-top: 8px; }
/* F-06 收件匣 */
.ib-link { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px 6px; }
.ib-app { display: grid; justify-items: center; gap: 4px; }
.ib-app .fp-av.sm, .ib-g { width: 34px; height: 34px; }
.ib-g { display: grid; place-items: center; border-radius: 10px; background: #1D1D1F; color: #fff; font: 800 11px var(--font-num); }
.ib-app b { font-size: 10.5px; }
.ib-wire { position: relative; width: 64px; height: 2px; margin-bottom: 20px; background: repeating-linear-gradient(90deg, #D1D1D6 0 5px, transparent 5px 9px); }
.ib-wire i { position: absolute; inset: 0; background: #2E7D32; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.is-linked .ib-wire i { transform: none; }
.ib-st { position: relative; height: 18px; margin: 0 0 6px; font-size: 11px; font-weight: 700; }
.ib-st span { position: absolute; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 4px; transition: opacity .35s; }
.ib-st .is-off { color: #8E8E93; }
.ib-st .is-on { color: #2E7D32; opacity: 0; }
.is-linked .ib-st .is-off { opacity: 0; }
.is-linked .ib-st .is-on { opacity: 1; }
.ib-st .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.ib-tabs { display: flex; gap: 6px; padding: 4px 12px 8px; border-bottom: 1px solid #F0F0F2; }
.ib-tabs span { padding: 3px 10px; border-radius: 999px; background: #F2F2F4; color: #6E6E73; font-size: 10.5px; font-weight: 700; }
.ib-tabs span.is-on { background: #1D1D1F; color: #fff; }
.ib-list { display: grid; }
.ib-row { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 12px; overflow: hidden; animation: ib-in .5s var(--ease-out); transition: background-color .4s; }
@keyframes ib-in { from { max-height: 0; padding-block: 0; opacity: 0; } to { max-height: 60px; opacity: 1; } }
.ib-av { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #EDE3D0; color: #6B4A1B; font-size: 13px; font-weight: 800; }
.ib-t { display: grid; min-width: 0; }
.ib-t b { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.ib-t em { padding: 0 6px; border-radius: 4px; background: #F2F2F4; color: #6E6E73; font-size: 9.5px; font-style: normal; font-weight: 800; }
.ib-t em.is-ig { background: #1D1D1F; color: #fff; }
.ib-t small { overflow: hidden; color: #3A3A3C; font-size: 11px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.ib-time { align-self: start; margin-top: 2px; color: #8E8E93; font-size: 9.5px; }
.ib-dot { position: absolute; right: 13px; bottom: 13px; width: 8px; height: 8px; border-radius: 50%; background: #B98A3E; transition: opacity .3s; }
.ib-row.is-read .ib-dot { opacity: 0; }
.ib-row.is-read .ib-t small { color: #8E8E93; font-weight: 500; }
/* F-07 建立貼文 */
.fp-comp { display: grid; align-content: start; gap: 9px; padding: 12px 14px; }
.fp-comp > .fp-nh { display: flex; justify-content: space-between; align-items: center; }
.fp-pub { padding: 4px 12px; border-radius: 999px; background: #B98A3E; color: #fff; font-size: 11.5px; font-weight: 800; transition: transform .15s; }
.fp-pub.is-press { transform: scale(.9); }
.fp-cap { position: relative; min-height: 3.2em; margin: 0; padding-right: 42px; font-size: 12px; line-height: 1.55; }
.fp-tags { position: relative; display: flex; flex-wrap: wrap; gap: 4px 8px; min-height: 1.5em; margin: 0; padding-right: 42px; color: #8A6A2E; font-size: 11.5px; font-weight: 700; }
.fp-tags > span { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out); }
.fp-comp.is-tags .fp-tags > span { opacity: 1; transform: none; }
.fp-comp.is-tags .fp-tags > span:nth-child(2) { transition-delay: .15s; }
.fp-comp.is-tags .fp-tags > span:nth-child(3) { transition-delay: .3s; }
.fp-dsg { height: 120px; opacity: 0; transform: scale(.94); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.fp-comp.is-img .fp-dsg { opacity: 1; transform: none; }
.fp-ann { position: absolute; right: 0; top: 0; padding: 1px 7px; border-radius: 999px; background: #241B0E; color: #F5E1B3; font-size: 9.5px; font-style: normal; font-weight: 800; line-height: 1.6; opacity: 0; transition: opacity .3s; }
.fp-dsg .fp-ann { top: 8px; right: 8px; }
.fp-comp.is-img .fp-dsg .fp-ann, .fp-comp.is-cap .fp-cap .fp-ann, .fp-comp.is-tags .fp-tags .fp-ann { opacity: 1; }
/* F-08 直式短影音 */
.dm-fp.is-reel { background: #0B0B0C; color: #fff; }
.reel-scene { position: absolute; inset: 0; overflow: hidden; background: #2A1F12; transition: background-color 1s; }
.dm-fp.is-play .reel-scene { animation: reel-zoom 7.2s linear forwards; }
@keyframes reel-zoom { to { transform: scale(1.1); } }
.dm-fp.is-reel[data-s="1"] .reel-scene { background-color: #1E2A26; }
.dm-fp.is-reel[data-s="2"] .reel-scene { background-color: #2B2033; }
.dm-fp.is-reel[data-s="3"] .reel-scene { background-color: #3A2A12; }
.reel-b1, .reel-b2 { position: absolute; border-radius: 50%; opacity: .8; filter: blur(18px); transition: transform 1.6s var(--ease-out), background-color 1s; }
.reel-b1 { left: -40px; top: 40px; width: 180px; height: 180px; background: #B98A3E; }
.reel-b2 { right: -30px; bottom: 90px; width: 150px; height: 150px; background: #E7C987; }
.dm-fp.is-reel[data-s="1"] .reel-b1 { transform: translate(60px, 30px) scale(1.1); background: #5E8B7E; }
.dm-fp.is-reel[data-s="1"] .reel-b2 { transform: translate(-30px, -40px); background: #A9D3C1; }
.dm-fp.is-reel[data-s="2"] .reel-b1 { transform: translate(90px, -20px) scale(.9); background: #8B6CB8; }
.dm-fp.is-reel[data-s="2"] .reel-b2 { transform: translate(-60px, 10px) scale(1.2); background: #E9C9F2; }
.dm-fp.is-reel[data-s="3"] .reel-b1 { transform: translate(30px, 60px) scale(1.2); }
.reel-prod { position: absolute; left: 50%; top: 20%; width: 64px; height: 118px; margin-left: -32px; border-radius: 14px 14px 10px 10px; background: linear-gradient(90deg, #8C6526, #E7C987 45%, #9C7432 80%); box-shadow: 0 22px 30px -12px rgba(0, 0, 0, .65); transition: transform 1.6s var(--ease-out); }
.reel-prod::before { content: ""; position: absolute; left: 22%; right: 22%; top: -16px; height: 18px; border-radius: 4px 4px 2px 2px; background: #1E160C; }
.dm-fp.is-reel[data-s="1"] .reel-prod { transform: translateX(-52px) rotate(-8deg) scale(.92); }
.dm-fp.is-reel[data-s="2"] .reel-prod { transform: translateX(46px) rotate(6deg) scale(1.04); }
.dm-fp.is-reel[data-s="3"] .reel-prod { transform: scale(1.1); }
.reel-step { position: absolute; left: 12px; top: 14px; z-index: 3; max-width: calc(100% - 70px); padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #241B0E; font-size: 10.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-tag { position: absolute; right: 12px; top: 14px; z-index: 3; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .4); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 700; }
.reel-sub { position: absolute; left: 12px; right: 50px; bottom: 116px; z-index: 3; margin: 0; text-align: center; text-wrap: balance; }
.reel-sub span { padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .58); color: #fff; font-size: 15px; font-weight: 900; line-height: 1.75; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.reel-sub.is-pop, .reel-step.is-pop { animation: reel-pop .45s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes reel-pop { from { opacity: 0; transform: translateY(8px) scale(.94); } }
.reel-side { position: absolute; right: 10px; bottom: 112px; z-index: 3; display: grid; gap: 12px; }
.reel-side span { display: grid; justify-items: center; gap: 2px; font-size: 9.5px; font-weight: 700; }
.reel-side .ico { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.reel-who { position: absolute; left: 12px; bottom: 70px; z-index: 3; display: flex; align-items: center; gap: 7px; font-size: 12px; }
.reel-fol { padding: 2px 9px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 7px; font-size: 10.5px; font-weight: 700; }
.reel-cta { position: absolute; left: 12px; right: 12px; bottom: 20px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 5px; height: 36px; border-radius: 10px; background: #B98A3E; color: #fff; font-size: 12.5px; font-weight: 800; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.reel-cta.is-on { opacity: 1; transform: none; }
.reel-cta .ico { width: 15px; height: 15px; }
.reel-prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .25); }
.reel-prog i { display: block; width: 0; height: 100%; background: #fff; }
.dm-fp.is-play .reel-prog i { width: 100%; transition: width 7.2s linear; }
/* F-09、F-10 粉絲專頁的私訊（跟 LINE 分開：白底、灰色泡泡） */
.dm-lx.is-fpm { background: #fff; }
.dm-lx.is-fpm .lx-top { border-bottom: 1px solid #F0F0F2; }
.dm-lx.is-fpm .is-bot .lx-b { background: #F0F0F2; }
.dm-lx.is-fpm .is-me .lx-b { background: #B98A3E; color: #fff; }
.dm-lx.is-fpm .dm-sys { background: #F0F0F2; color: #6E6E73; }
.dm-lx.is-fpm .lx-quick { background: #fff; border-top: 1px solid #F5F5F7; }
.dm-lx.is-fpm .lx-card1 { box-shadow: 0 0 0 1px #ECECEF; }
.fp-chat { position: absolute; inset: 0; z-index: 7; transform: translateX(102%); transition: transform .5s var(--ease-out); }
.fp-chat.is-on { transform: none; }
.fp-cms { display: grid; gap: 7px; padding-top: 8px; border-top: 1px solid #F2F2F4; }
.fp-cm { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 7px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease-out); }
.fp-cm.is-on { opacity: 1; transform: none; }
.fp-cm .ib-av, .fp-cm .fp-av.sm { width: 26px; height: 26px; font-size: 11px; }
.fp-cm .fp-av.sm .ico { width: 13px; height: 13px; }
.fp-cm p { justify-self: start; margin: 0; padding: 6px 10px; border-radius: 12px; background: #F2F2F4; font-size: 11.5px; line-height: 1.45; }
.fp-cm p b { display: flex; align-items: center; gap: 5px; font-size: 10.5px; }
.fp-cm p em { padding: 0 6px; border-radius: 4px; background: #241B0E; color: #F5E1B3; font-size: 9px; font-style: normal; }
.fp-cm.is-auto { margin-left: 30px; }
@media (prefers-reduced-motion: reduce) {
  .dm-stage *, .dm-stage *::before, .dm-stage *::after { animation: none !important; transition: none !important; }
}
