/* AI GENERATION — shared styles */
:root {
  --bg: #08080a;
  --surface: #111114;
  --surface-2: #17171b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eeece6;
  --muted: #9b988f;
  --faint: #5f5d58;
  --accent: #c9f36b;          /* default: lime */
  --accent-ink: #0b0b0d;
  --social: #ff8a65;
  --web: #7aa2ff;
  --all: #c9f36b;
  --radius: 22px;
  --max: 1120px;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Noto Sans TC", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Noto Serif TC", serif;
}

body.t-social { --accent: var(--social); }
body.t-web    { --accent: var(--web); }
body.t-all    { --accent: var(--all); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* grain + glow background */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  top: -420px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  filter: blur(20px); opacity: .7;
}
.bg-fx::after {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.16em; display: inline-flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 22px; height: 22px; border-radius: 7px; position: relative;
  background: conic-gradient(from 200deg, var(--social), var(--web), var(--all), var(--social));
}
.logo-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--bg); }
.header-link {
  font-size: 14px; color: var(--muted); border: 1px solid var(--line-strong);
  padding: 7px 14px; border-radius: 999px; transition: color .2s, border-color .2s;
}
.header-link:hover { color: var(--text); border-color: var(--text); }

/* type */
.eyebrow {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* hero */
.hero { padding: 88px 0 56px; }
.hero h1 { font-size: clamp(34px, 7vw, 68px); margin-top: 22px; }
.hero h1 .serif { font-size: 1.12em; }
.hero p.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 560px; margin: 22px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s;
  font-family: var(--font-sans);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn svg { width: 18px; height: 18px; }

/* section */
section { padding: 56px 0; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 4.4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--muted); margin: 12px 0 0; max-width: 560px; }

/* choose cards (home) */
.choices { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice {
  --c: var(--accent);
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 28px 26px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s;
  min-height: 340px;
}
.choice::before {
  content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%;
  right: -140px; top: -140px; opacity: .0; transition: opacity .4s;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 40%, transparent), transparent);
}
.choice:hover, .choice:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.choice:hover::before, .choice:focus-visible::before { opacity: 1; }
.choice:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.choice.c-social { --c: var(--social); }
.choice.c-web { --c: var(--web); }
.choice.c-all { --c: var(--all); }
.choice-top { display: flex; justify-content: space-between; align-items: center; }
.choice-num { font-family: var(--font-display); font-size: 13px; letter-spacing: .2em; color: var(--c); }
.choice-icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--c);
}
.choice-icon svg { width: 22px; height: 22px; }
.choice h3 { font-size: 23px; }
.choice .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 13px; padding: 3px 10px; border-radius: 999px; color: var(--muted);
  border: 1px solid var(--line-strong); white-space: nowrap;
}
.choice p { margin: 0; color: var(--muted); font-size: 15px; }
.choice-go {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px;
}
.choice-go .arrow {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: var(--accent-ink); transition: transform .3s;
}
.choice:hover .choice-go .arrow { transform: rotate(-45deg); }
.choice-go .arrow svg { width: 16px; height: 16px; }

/* steps */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.step-n { font-family: var(--font-serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 18px; margin-top: 14px; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* type page: two column info */
.info-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.panel { padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.panel h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.panel h3 .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.list li svg { width: 18px; height: 18px; margin-top: 5px; color: var(--accent); }

.big-quote {
  margin-top: 16px; padding: 32px 26px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));
  font-size: clamp(20px, 3.4vw, 28px); font-weight: 700; line-height: 1.5;
}

/* free pack CTA */
.free {
  position: relative; overflow: hidden; border-radius: 28px; padding: 40px 26px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    var(--surface);
}
@media (min-width: 860px) { .free { padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; } }
.free h2 { font-size: clamp(26px, 4.4vw, 40px); margin-top: 14px; }
.free p { color: var(--muted); }
.free-includes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.keyword-box {
  margin-top: 26px; padding: 22px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line-strong);
}
@media (min-width: 860px) { .keyword-box { margin-top: 0; } }
.keyword-box .k-label { font-size: 14px; color: var(--muted); }
.keyword-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 18px; }
.keyword {
  font-size: 32px; font-weight: 900; letter-spacing: .12em; color: var(--accent);
}
.copy-btn {
  min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: transparent; color: var(--text); border: 1px solid var(--line-strong); cursor: pointer;
  font-family: var(--font-sans);
}
.copy-btn.done { border-color: var(--accent); color: var(--accent); }
.keyword-box ol { margin: 0 0 20px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.keyword-box .btn { width: 100%; }

/* plans */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column;
}
.plan.featured { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.plan-badge {
  position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
}
.plan-name { font-size: 15px; color: var(--muted); font-weight: 700; }
.plan-price { font-family: var(--font-display); font-size: 52px; font-weight: 600; line-height: 1.1; margin: 10px 0 4px; }
.plan-price small { font-size: 18px; color: var(--muted); font-weight: 500; margin-right: 4px; }
.plan-tagline { font-size: 20px; font-weight: 700; }
.plan .list { margin-bottom: 26px; }
.plan .plan-foot { margin-top: auto; font-size: 14px; color: var(--faint); }
.slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* showcase */
.showcase { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .showcase { grid-template-columns: repeat(3, 1fr); } }
.show-item { padding: 22px; border-radius: 18px; border: 1px dashed var(--line-strong); }
.show-item b { display: block; font-size: 17px; }
.show-item span { color: var(--muted); font-size: 14px; }

/* other types */
.others { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .others { grid-template-columns: 1fr 1fr; } }
.other {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s;
}
.other:hover { border-color: var(--line-strong); }
.other svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.other:hover svg { transform: translateX(4px); color: var(--text); }
.other small { display: block; color: var(--muted); font-size: 13px; }
.other b { font-size: 17px; }

/* breadcrumb */
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 40px; color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--text); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* sticky mobile CTA on type pages */
.m-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  transform: translateY(140%); transition: transform .35s ease;
}
.m-cta.show { transform: none; }
.m-cta .btn { width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
@media (min-width: 860px) { .m-cta { display: none; } }

/* ===== 共用：窄版、按鈕 ===== */
.wrap.narrow { max-width: 760px; }
.plan-btn { width: 100%; margin-bottom: 14px; }
.linklike { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; margin-left: 8px; padding: 0; }
.hint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.mono { font-family: var(--font-display); letter-spacing: .06em; }

/* ===== 影片 ===== */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { display: grid; place-items: center; text-align: center;
  background: radial-gradient(400px 220px at 50% 40%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--surface); }
.video-empty .play { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--accent); font-size: 18px; }
.video-empty b { display: block; font-size: 18px; }
.video-empty small { color: var(--muted); }

/* ===== 懶人包重點 ===== */
.points { display: grid; gap: 14px; }
.point { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.point-n { font-family: var(--font-serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--accent); }
.point h3 { font-size: 19px; }
.point p { margin: 8px 0 0; color: var(--muted); }
.prompt { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line-strong); }
.prompt-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); }
.prompt-head .copy-btn { min-height: 32px; padding: 0 12px; font-size: 13px; }
.prompt p { color: var(--text); font-size: 15px; margin-top: 8px; }

/* ===== 表單 ===== */
.form { display: grid; gap: 18px; }
.fstep { padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.fstep-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fstep-head h2 { font-size: 19px; }
.fstep-n { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 14px; font-weight: 600; background: var(--accent); color: var(--accent-ink); }
.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr; }
@media (min-width: 600px) { .opts.two { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); transition: border-color .2s, background .2s; font-weight: 700; }
.opt > span small { display: block; font-family: var(--font-display); font-size: 12px; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.opt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-opt b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; margin: 2px 0; }
.plan-opt em { display: block; font-style: normal; font-weight: 400; font-size: 14px; color: var(--muted); }

.slots-grid { display: grid; gap: 18px; margin-top: 14px; }
.slot-week b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 8px; letter-spacing: .06em; }
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.slot { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.slot:hover:not(:disabled) { border-color: var(--text); }
.slot[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.bank { display: grid; gap: 2px; border-radius: 16px; border: 1px solid var(--line-strong); overflow: hidden; }
.bank-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg); flex-wrap: wrap; }
.bank-row span { width: 72px; flex-shrink: 0; color: var(--muted); font-size: 14px; }
.bank-row b { flex: 1; font-size: 17px; word-break: break-all; }
.bank-row .copy-btn { min-height: 34px; padding: 0 14px; font-size: 13px; }

.fields { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field > span { font-size: 14px; font-weight: 700; }
.field small { color: var(--faint); font-size: 13px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 16px;
  color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.policy { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); }
.policy summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.policy ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: center; margin-top: 14px; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.form-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.4); color: #ff9b9b; font-size: 15px; }
.submit { width: 100%; min-height: 58px; font-size: 17px; }
.submit:disabled { opacity: .6; cursor: wait; }

.done { text-align: center; padding: 40px 22px; border-radius: 28px; border: 1px solid var(--line-strong); background: var(--surface); }
.done .bank { text-align: left; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.done-icon svg { width: 30px; height: 30px; }
.done h2 { font-size: 28px; }
.next-box { margin-top: 24px; padding: 22px; border-radius: 18px; background: var(--bg); border: 1px dashed var(--line-strong); }
.next-box p { color: var(--muted); margin: 6px 0 16px; }
.next-box .btn { width: 100%; }

/* ===== 觀看頁 ===== */
.code-form { display: grid; gap: 14px; max-width: 420px; }
.videos { display: grid; gap: 22px; }
.video-item h3 { font-size: 18px; margin-bottom: 10px; }

/* ===== 後台 ===== */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.dash-sub { font-size: 17px; margin: 28px 0 12px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.stat small { color: var(--muted); font-size: 13px; }
.stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.upcoming { display: grid; gap: 8px; }
.up-item { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.tabs { display: flex; gap: 6px; margin: 28px 0 14px; overflow-x: auto; }
.tabs button { flex-shrink: 0; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.tabs button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.tabs button .count { margin-left: 4px; opacity: .7; }
.orders { display: grid; gap: 12px; }
.order { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.order.st-pending { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.order-top b { font-size: 18px; }
.order-meta { color: var(--faint); font-size: 13px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.badge.pending { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.badge.confirmed { color: #7ee2a8; border-color: rgba(126,226,168,.4); }
.badge.warn { color: #ffb36b; border-color: rgba(255,179,107,.5); }
.order dl { display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; margin: 14px 0 0; font-size: 15px; }
.order dt { color: var(--muted); }
.order dd { margin: 0; word-break: break-all; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.order-actions .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-danger { background: transparent; color: #ff9b9b; border-color: rgba(255,107,107,.4); }
.passcode { font-family: var(--font-display); font-size: 20px; letter-spacing: .14em; color: var(--accent); }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 16px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; padding: 12px 20px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: calc(100% - 32px); }
.bank-row b.mono { word-break: normal; white-space: nowrap; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }

/* ===== 特效提示詞懶人包 ===== */
mark.ph { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); border-radius: 6px; padding: 0 3px; }
.fx-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.fx-filter button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.fx-filter button.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.fx-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .fx-grid { grid-template-columns: 1fr 1fr; } }
.fx { display: flex; flex-direction: column; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.fx-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fx-n { font-family: var(--font-serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--accent); }
.fx-top h3 { font-size: 20px; }
.need { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255,179,107,.5); color: #ffb36b; white-space: nowrap; }
.need.ok { border-color: var(--line-strong); color: var(--muted); }
.fx-prompt { margin: 14px 0 18px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line-strong); font-size: 15px; line-height: 1.85; flex: 1; }
.fx-copy { align-self: flex-start; }
.fx-tip { margin-top: 18px; padding: 20px 22px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.fx-tip p { margin: 6px 0 0; color: var(--muted); }
@media (min-width: 1100px) { .fx-grid.three { grid-template-columns: repeat(3, 1fr); } }
.g-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.g-rules { border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: var(--surface); padding: 26px 22px; }
.g-rules-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.g-rules-head h2 { font-size: clamp(22px, 3.6vw, 30px); margin-top: 10px; }
.g-rules-body { margin-top: 16px; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line-strong); font-size: 15px; line-height: 1.85; }
.g-rules-body p { margin: 0 0 10px; }
.g-rules-body p:last-child { margin: 0; }
.g-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: none; }
.g-nav-item { flex-shrink: 0; min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; font-weight: 700; }
.g-nav-item:hover { color: var(--text); border-color: var(--text); }
.g-cat { padding-top: 32px; scroll-margin-top: 72px; }
.g-cat-head { margin-bottom: 14px; }
.g-cat-head h2 { font-size: clamp(20px, 3.4vw, 26px); }
.g-cat-head p { color: var(--muted); margin: 4px 0 0; font-size: 15px; }

/* ===== IG 連結頁 ===== */
.links-wrap { width: 100%; max-width: 520px; margin: 0 auto; padding: 56px 16px 40px; }
.lk-head { text-align: center; }
.lk-mark { width: 84px; height: 84px; margin: 0 auto; border-radius: 26px; position: relative; background: conic-gradient(from 200deg, var(--social), var(--web), var(--all), var(--social)); box-shadow: 0 20px 60px rgba(122,162,255,.18); }
.lk-mark span { position: absolute; inset: 22px; border-radius: 9px; background: var(--bg); }
.lk-head h1 { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: .18em; margin-top: 20px; }
.lk-head p { color: var(--muted); margin: 6px 0 0; }
.lk-tags { display: flex; justify-content: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.lk-free { margin-top: 32px; padding: 22px 18px; border-radius: 24px; border: 1px solid var(--line-strong);
  background: radial-gradient(400px 200px at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--surface); }
.lk-free h2 { font-size: 20px; margin-top: 10px; }
.kws { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 16px; }
.kw { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s; }
.kw:hover { border-color: var(--accent); }
.kw b { display: block; font-size: 18px; color: var(--accent); letter-spacing: .08em; }
.kw small { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.kw.done { border-color: var(--accent); }
.kw.done b::after { content: "　已複製"; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.lk-line { width: 100%; margin-top: 14px; }
.lk-list { display: grid; gap: 10px; margin-top: 18px; }
.lk { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: transform .2s, border-color .2s; }
.lk:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.lk.primary { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 12%, var(--surface)), var(--surface)); }
.lk-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--c); }
.lk-icon svg { width: 22px; height: 22px; }
.lk-text { flex: 1; min-width: 0; }
.lk-text b { display: block; font-size: 16px; line-height: 1.4; }
.lk-text small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.lk-arrow { flex-shrink: 0; color: var(--muted); }
.lk-arrow svg { width: 18px; height: 18px; }
.lk-foot { display: grid; gap: 6px; text-align: center; margin-top: 32px; font-size: 13px; color: var(--faint); }
.lk-foot a:hover { color: var(--text); }
