/* 名片的快印店 — 新版設計系統
   原生 CSS：@layer、oklch、container query、:has()、scroll-driven / view-transition（皆有 fallback） */
@layer reset, tokens, base, layout, components, pages, cute, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; }
  img, svg, video { display: block; max-width: 100%; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button { cursor: pointer; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
}

@layer tokens {
  :root { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
  :root {
    --bg: #fff8ee;
    --bg-2: #fff1dc;
    --surface: #ffffff;
    --ink: #24180d;
    --ink-2: #5d4d3f;
    --ink-3: #75655a;
    --line: #ecdcc5;
    --orange: #ff7a1a;
    --orange-d: #d95d00;
    --yellow: #ffc93c;
    --blue: #2b4fd8;
    --purple: #6a35d8;
    --green: #22a559;
    --danger: #c92f20;
    --accent: var(--orange);
    --stroke: #5c0c0e; /* 怪妹外框深栗色 */
    --f-cute: "Huninn", "Noto Sans TC", system-ui, sans-serif;
    --deep: #2a1b0e; /* 固定深色底（頁尾、報價框等），不隨深色模式反轉 */
    --r-s: 10px; --r-m: 18px; --r-l: 28px;
    --shadow-s: 0 1px 2px rgb(60 30 0 / .08), 0 4px 12px rgb(60 30 0 / .06);
    --shadow-m: 0 2px 4px rgb(60 30 0 / .06), 0 14px 34px rgb(60 30 0 / .12);
    --shadow-l: 0 30px 70px rgb(60 30 0 / .22);
    --f-body: "Noto Sans TC", system-ui, -apple-system, "Microsoft JhengHei", sans-serif;
    --f-disp: "Bricolage Grotesque", "Noto Sans TC", system-ui, sans-serif;
    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.2, .8, .2, 1);
  }
  @supports (color: oklch(0.7 0.2 50)) {
    :root { --orange: oklch(0.72 0.2 48); --orange-d: oklch(0.55 0.19 45); --yellow: oklch(0.87 0.17 90); }
  }
  :root[data-theme="dark"] {
    --bg: #17110b; --bg-2: #211810; --surface: #251b12; --ink: #fbeedc; --ink-2: #cdb9a2; --ink-3: #98846f;
    --line: #3b2c1e; --stroke: #a9744f; --blue: #93a9ff; --purple: #c6a9ff; --green: #4fd68d; --orange-d: #ff9a52; --ink-3: #b3a08a; --danger: #ff7b6b; --shadow-s: 0 1px 2px rgb(0 0 0 / .4); --shadow-m: 0 14px 34px rgb(0 0 0 / .5);
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: 88px; }
  body {
    font-family: var(--f-body); background: var(--bg); color: var(--ink);
    line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(color-mix(in srgb, var(--orange) 14%, transparent) 1.2px, transparent 1.3px);
    background-size: 22px 22px;
  }
  a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
  a:hover { text-decoration-color: currentColor; }
  h1, h2, h3, h4 { line-height: 1.25; letter-spacing: .01em; text-wrap: balance; }
  p { text-wrap: pretty; }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
  ::selection { background: var(--yellow); color: #000; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 999; }
  .skip:focus { top: 12px; }
  @view-transition { navigation: auto; }
}

@layer layout {
  .wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
  section { padding-block: clamp(56px, 9vw, 110px); }
  .grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
  .sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
  .sec-head.center { margin-inline: auto; text-align: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-disp);
    letter-spacing: .22em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 14px;
  }
  .eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
  h2.title { font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; }
  .lead { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 19px); margin-top: 14px; }
}

@layer components {
  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
  }
  .site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgb(60 30 0 / .06); }
  .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; text-decoration: none; }
  .brand-txt { display: flex; flex-direction: column; }
  .brand-face { height: 56px; width: auto; flex: none; transition: rotate .4s var(--ease); }
  .brand:hover .brand-face { rotate: -8deg; }
  .brand b { font: 900 32px/1 var(--f-body); letter-spacing: .02em; }
  .brand b i { font-style: normal; color: var(--blue); }
  .brand b u { text-decoration: none; color: var(--purple); }
  .brand small { font: 700 9px/1 var(--f-disp); letter-spacing: .16em; color: #14803f; margin-top: 5px; }
  .brand b { white-space: nowrap; }
  @media (max-width: 420px) { .brand { gap: 8px; } .brand-face { height: 46px; } .brand b { font-size: 26px; } }
  @media (max-width: 340px) { .brand-face { height: 40px; } .brand small { letter-spacing: .08em; } }
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 20px; white-space: nowrap; transition: background .2s, color .2s; }
  .nav a:hover { background: var(--bg-2); }
  .nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
  .nav .btn { margin-left: 8px; }
  .menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
  .menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
  .menu-btn[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
  .menu-btn[aria-expanded="true"] span { opacity: 0; }
  @media (max-width: 1120px) {
    .menu-btn { display: block; }
    .nav {
      position: absolute; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 22px;
      background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m);
      clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .35s var(--ease), visibility .35s;
    }
    .nav.open { clip-path: inset(0); visibility: visible; }
    .nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
    .nav .btn { margin: 8px 0 0; justify-content: center; }
  }

  /* ---------- Buttons ---------- */
  .btn {
    --b: var(--orange); --t: #2a1300;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border: 0; border-radius: 999px;
    font-weight: 700; text-decoration: none; background: var(--b); color: var(--t);
    box-shadow: 0 3px 0 color-mix(in srgb, var(--b) 60%, #000), 0 10px 22px color-mix(in srgb, var(--b) 35%, transparent);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .2s;
  }
  .btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
  .btn:active { transform: translateY(2px); box-shadow: 0 1px 0 color-mix(in srgb, var(--b) 60%, #000); }
  .btn.ghost { --b: transparent; --t: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
  .btn.ghost:hover { --b: var(--ink); --t: var(--bg); }
  .btn.dark { --b: var(--ink); --t: var(--bg); }
  .btn.sm { padding: 9px 18px; font-size: 14px; }
  .btn.lg { padding: 16px 32px; font-size: 18px; }
  .btn[disabled] { opacity: .5; pointer-events: none; }

  /* ---------- Cards / chips ---------- */
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(20px, 2.6vw, 30px); box-shadow: var(--shadow-s); }
  .chip { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
  .chip.hot { background: var(--yellow); color: #3a2600; border-color: transparent; font-weight: 700; }
  .notice { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--r-s); background: color-mix(in srgb, var(--yellow) 30%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yellow) 70%, var(--line)); font-size: 15px; }

  /* announcement bar */
  .topbar { background: var(--deep); color: #fbeedc; font-size: 14px; }
  .topbar .wrap { display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: center; padding-block: 8px; text-align: center; }
  .topbar b { color: var(--yellow); }
  @media (max-width: 640px) { .topbar .wrap > span + span { display: none; } }

  /* ---------- Footer ---------- */
  .site-footer { background: var(--deep); color: #e9dccb; padding-block: 56px 28px; margin-top: 40px; }
  .site-footer a { text-decoration: none; }
  .site-footer a:hover { color: var(--yellow); }
  .foot-grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer h3 { font-size: 15px; color: #fff; margin-bottom: 12px; letter-spacing: .08em; }
  .site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; }
  .site-footer .brand b { color: #fff; }
  .site-footer .brand small { color: #6fe0a0; }
  .site-footer .brand b i { color: #8fa6ff; } .site-footer .brand b u { color: #c2a4ff; }
  .foot-note { border-top: 1px solid #ffffff22; margin-top: 40px; padding-top: 20px; font-size: 13.5px; color: #cdbca5; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
  .qr { width: 96px; border-radius: 10px; background: #fff; padding: 4px; }
  @media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

  /* ---------- Reveal ---------- */
  .js .reveal { opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; translate: 0 0; }
  @media (prefers-reduced-motion: reduce) {
    .hero-mei, .say img { animation: none; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; translate: none; transition: none; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  }
}

@layer pages {
  /* ================= HERO ================= */
  .hero { padding-block: clamp(36px, 6vw, 80px) clamp(60px, 9vw, 120px); overflow: clip; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
  .hero h1 { font-size: clamp(38px, 6.4vw, 78px); font-weight: 900; line-height: 1.12; letter-spacing: -.005em; }
  .hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); padding-inline: .06em; }
  .hero h1 .no { color: var(--blue); }
  .hero p.lead { max-width: 30em; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
  .hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .hero-badges .chip:not(.hot) { background: var(--surface); }
  .hero-stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 40px; flex-wrap: wrap; }
  .hero-stats div b { display: block; font: 800 clamp(30px, 4vw, 44px)/1 var(--f-disp); color: var(--orange-d); }
  .hero-stats div span { font-size: 14px; color: var(--ink-2); }

  /* 3D 名片堆 */
  .stage { position: relative; aspect-ratio: 1 / .92; perspective: 1100px; }
  .deck { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); transition: transform .25s ease-out; }
  .mock {
    position: absolute; width: 62%; aspect-ratio: 9 / 5.4; border-radius: 10px; padding: 5.5% 6%;
    box-shadow: 0 1px 0 #fff8 inset, 0 24px 40px rgb(60 30 0 / .28), 0 2px 6px rgb(60 30 0 / .2);
    display: flex; flex-direction: column; justify-content: space-between; font-family: var(--f-body); overflow: hidden;
    animation: bob 7s ease-in-out infinite; animation-delay: var(--dl, 0s);
  }
  .mock .n { font-weight: 900; font-size: clamp(11px, 1.5vw, 18px); }
  .mock .r { font-size: clamp(7px, .85vw, 10.5px); opacity: .75; line-height: 1.5; }
  .mock .lg { width: 26%; aspect-ratio: 1; border-radius: 50%; }
  .mock .row { display: flex; justify-content: space-between; align-items: flex-end; }
  .m1 { left: 0; top: 4%; transform: translateZ(20px) rotate(-8deg); background: #fff; color: #222; }
  .m1 .lg { background: conic-gradient(from 30deg, var(--orange), var(--yellow), var(--orange)); }
  .m2 { right: 0; top: 20%; transform: translateZ(90px) rotate(5deg); background: linear-gradient(135deg, #1b2a6b, #2b4fd8); color: #fff; --dl: -2s; }
  .m2 .lg { background: linear-gradient(135deg, #f7e2a1, #c79a3c 55%, #f7e2a1); box-shadow: 0 0 0 2px #fff4; }
  .m2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, #fff5 48%, transparent 60%); background-size: 250% 100%; animation: sheen 4.5s ease-in-out infinite; }
  .m3 { left: 12%; bottom: 0; transform: translateZ(160px) rotate(-2deg); background: #f4ede0; color: #2b1a10; border-radius: 26px 10px 26px 10px; --dl: -4s; }
  .m3 .lg { background: #2b1a10; border-radius: 40% 60% 50% 50%; }
  .m3::before { content: ""; position: absolute; inset: 5px; border: 1.5px solid #c9b79b; border-radius: 22px 7px 22px 7px; }
  .float-tag { position: absolute; z-index: 5; padding: 8px 14px; border-radius: 999px; font: 700 13px var(--f-body); background: var(--surface); box-shadow: var(--shadow-m); border: 1px solid var(--line); transform: translateZ(210px); }
  .ft1 { right: 2%; top: 2%; } .ft2 { left: -2%; bottom: 30%; } .ft3 { right: 6%; bottom: 8%; background: var(--yellow); color: #3a2600; border-color: transparent; }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
  @keyframes sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -80% 0; } }
  @media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .stage { max-width: 520px; margin-inline: auto; width: 100%; } }

  /* marquee */
  .marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding-block: 18px; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee-track { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee img { height: 108px; width: auto; border-radius: 6px; box-shadow: var(--shadow-s); }
  @keyframes slide { to { translate: -50% 0; } }

  /* value props */
  .props { grid-template-columns: repeat(4, 1fr); }
  .prop .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--bg-2); margin-bottom: 14px; }
  .prop h3 { font-size: 19px; margin-bottom: 6px; }
  .prop p { color: var(--ink-2); font-size: 15px; }
  @media (max-width: 900px) { .props { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .props { grid-template-columns: 1fr; } }

  /* steps */
  .steps { grid-template-columns: repeat(4, 1fr); counter-reset: s; }
  .step { position: relative; counter-increment: s; }
  .step::before { content: counter(s, decimal-leading-zero); font: 900 54px/1 var(--f-disp); color: color-mix(in srgb, var(--orange) 35%, transparent); display: block; margin-bottom: 10px; }
  .step h3 { font-size: 19px; margin-bottom: 6px; }
  .step p { color: var(--ink-2); font-size: 15px; }
  .step small { display: inline-block; margin-top: 8px; color: var(--orange-d); font-weight: 700; }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
  .timeline { position: relative; display: grid; gap: 18px; max-width: 820px; margin-inline: auto; padding-left: 34px; }
  .timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--orange), var(--yellow)); border-radius: 3px; }
  .tl { position: relative; }
  .tl::before { content: ""; position: absolute; left: -32px; top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 4px solid var(--orange); }

  /* price teaser */
  .teaser { background: var(--deep); color: #f6e9d6; border-radius: var(--r-l); padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
  .teaser::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(var(--orange), transparent 65%); opacity: .5; }
  .teaser h2 { color: #fff; }
  .teaser .lead { color: #d9c7ae; }
  .price-big { position: relative; z-index: 1; display: grid; gap: 14px; }
  .price-big div { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; border-radius: 16px; background: #ffffff12; border: 1px solid #ffffff1c; }
  .price-big b { font: 800 34px/1 var(--f-disp); color: var(--yellow); }
  .price-big small { color: #cdb9a2; }
  @media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }

  /* ================= WORKS ================= */
  .works-grid { columns: 4 220px; column-gap: 18px; }
  .work { break-inside: avoid; margin-bottom: 18px; border: 0; padding: 0; background: none; width: 100%; position: relative; border-radius: 10px; overflow: clip; }
  .work img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-s); transition: transform .4s var(--ease), box-shadow .4s; }
  .work:hover img, .work:focus-visible img { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow-m); }
  .lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 960px); width: 100%; margin: auto; }
  .lightbox::backdrop { background: rgb(20 10 0 / .82); backdrop-filter: blur(6px); }
  .lightbox img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-l); image-rendering: auto; background: #fff; }
  .lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: 12px 4px; }
  .lightbox button { background: #fff2; color: #fff; border: 1px solid #fff4; padding: 8px 16px; border-radius: 999px; }
  .ip-note { font-size: 13.5px; color: var(--ink-3); }

  /* ================= PAPERS ================= */
  .paper-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
  .paper-filter button { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; }
  .paper-filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .papers { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
  .paper { display: flex; flex-direction: column; gap: 14px; padding: 0; overflow: clip; container-type: inline-size; }
  .paper-swatch { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--tone); overflow: hidden; }
  .paper-swatch .sample { width: 62%; aspect-ratio: 9 / 5.4; border-radius: 6px; background: var(--tone); box-shadow: 0 10px 24px rgb(60 30 0 / .25), 0 0 0 1px #0001; position: relative; transform: rotate(-4deg); transition: transform .5s var(--ease); display: grid; place-items: center; font: 800 20px var(--f-body); color: #3a2a1a; }
  .paper:hover .sample { transform: rotate(0) scale(1.06); }
  .paper-swatch .sample::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
  .tx-lines .sample::after { background: repeating-linear-gradient(0deg, #0000 0 3px, #8a6d3f18 3px 4px), repeating-linear-gradient(90deg, #0000 0 3px, #8a6d3f12 3px 4px); }
  .tx-grid .sample::after { background: repeating-linear-gradient(45deg, #0000 0 4px, #6a6a5a14 4px 5px), repeating-linear-gradient(-45deg, #0000 0 4px, #6a6a5a14 4px 5px); }
  .tx-stone .sample::after { background: radial-gradient(#7a6a5a22 1px, transparent 1.4px) 0 0 / 5px 5px, radial-gradient(#7a6a5a18 1px, transparent 1.4px) 2px 3px / 7px 7px; }
  .fin-gloss .sample::after { background: linear-gradient(120deg, #fff0 30%, #fffc 45%, #fff0 60%); }
  .fin-matte .sample { box-shadow: 0 10px 24px rgb(60 30 0 / .18), inset 0 0 22px #0000000d; }
  .fin-spot .sample::after { background: radial-gradient(circle at 30% 50%, #fff 0 14%, transparent 15%); mix-blend-mode: overlay; }
  .fin-shine .sample { background: linear-gradient(120deg, #c8bde8, #f3ecff 25%, #b7d6f2 50%, #f7d9ee 75%, #c8bde8); background-size: 250% 100%; animation: sheen 5s linear infinite; }
  .paper-body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .paper-body h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .paper-body p { color: var(--ink-2); font-size: 15px; }
  .paper-price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: baseline; }
  .paper-price b { font: 800 22px var(--f-disp); color: var(--orange-d); }
  .paper-pick { margin-top: 4px; }

  /* ================= CALCULATOR ================= */
  .calc { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
  .calc > * { min-width: 0; }
  .calc-form { display: grid; gap: 22px; }
  fieldset.fs { min-width: 0; }
  .fs { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); padding: clamp(18px, 2.4vw, 28px); }
  .fs > legend, .fs > .fs-title { font-weight: 900; font-size: 18px; padding-inline: 8px; margin-left: -8px; display: flex; align-items: center; gap: 10px; }
  .fs-title .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #2a1300; font: 800 14px var(--f-disp); }
  .fs .hint { color: var(--ink-3); font-size: 14px; margin-bottom: 12px; }
  .opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .opt { position: relative; }
  .opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .opt > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); transition: border-color .2s, background .2s, transform .2s var(--ease); min-height: 64px; }
  .opt > span b { font-weight: 700; }
  .opt > span small { color: var(--ink-3); font-size: 12.5px; }
  .opt:hover > span { border-color: color-mix(in srgb, var(--orange) 55%, var(--line)); }
  .opt input:checked + span { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 12%, var(--surface)); }
  .opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
  .opt input:disabled + span { opacity: .45; }
  .stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--bg); overflow: hidden; }
  .stepper button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 20px; font-weight: 700; }
  .stepper button:hover { background: var(--bg-2); }
  .stepper input { width: 56px; text-align: center; border: 0; background: transparent; font-weight: 800; font-size: 17px; -moz-appearance: textfield; appearance: textfield; }
  .stepper input::-webkit-inner-spin-button { appearance: none; }
  .row-2 { display: flex; gap: 22px 40px; flex-wrap: wrap; align-items: center; }
  .field-l { font-weight: 700; margin-bottom: 8px; display: block; }
  .people { display: grid; gap: 10px; }
  .person { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 14px; }
  .person .who { font-weight: 700; color: var(--ink-2); }
  .person .rm { border: 0; background: none; color: var(--ink-3); font-size: 20px; width: 36px; height: 36px; border-radius: 50%; }
  .person .rm:hover { background: var(--bg-2); color: var(--danger); }
  .switch { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; }
  .switch:has(input:checked) { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 10%, var(--surface)); }
  .switch input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--orange-d); flex: none; }
  .switch small { display: block; color: var(--ink-3); font-size: 13px; }
  .switch:has(input:disabled) { opacity: .5; cursor: not-allowed; }

  .quote { position: sticky; top: 92px; background: var(--deep); color: #f6e9d6; border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow-l); }
  .quote h3 { color: #fff; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
  .quote .total { font: 800 clamp(44px, 6vw, 58px)/1 var(--f-disp); color: var(--yellow); margin: 12px 0 2px; font-variant-numeric: tabular-nums; }
  .quote .total small { font-size: 18px; color: #cdb9a2; font-weight: 500; margin-left: 4px; }
  .quote .sub { color: #cdb9a2; font-size: 14px; }
  .lines { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 9px; font-size: 14.5px; border-top: 1px solid #ffffff22; padding-top: 16px; }
  .lines li { display: flex; justify-content: space-between; gap: 12px; }
  .lines li span:first-child { color: #d9c7ae; }
  .lines li.disc span:last-child { color: #7ee2a3; }
  .lines li b { font-variant-numeric: tabular-nums; }
  .quote .tip { font-size: 13.5px; color: #cdb9a2; background: #ffffff10; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
  .quote .btn { width: 100%; }
  .quote .fine { font-size: 12.5px; color: #a8957f; margin-top: 12px; }
  @media (max-width: 980px) { .calc { grid-template-columns: 1fr; } .quote { position: static; order: -1; } .quote.sticky-m { position: sticky; top: 72px; z-index: 20; } }

  .price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
  .price-table th, .price-table td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
  .price-table th:first-child, .price-table td:first-child { text-align: left; }
  .price-table thead th { font-size: 13px; color: var(--ink-3); font-weight: 700; letter-spacing: .06em; }
  .price-table tbody tr:hover { background: var(--bg-2); }
  .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
  .seg { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
  .seg button { border: 0; background: transparent; padding: 8px 20px; border-radius: 999px; font-weight: 700; }
  .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

  /* ================= FAQ ================= */
  .faq-tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
  .search { flex: 1 1 280px; position: relative; }
  .search input { width: 100%; padding: 14px 18px 14px 48px; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); }
  .search input:focus { border-color: var(--orange); outline: none; }
  .search::before { content: "🔍"; position: absolute; left: 18px; top: 50%; translate: 0 -50%; font-size: 16px; }
  details.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 12px; transition: box-shadow .2s, border-color .2s; }
  details.qa[open] { box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
  details.qa summary { list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; cursor: pointer; position: relative; }
  details.qa summary::-webkit-details-marker { display: none; }
  details.qa summary::before { content: "Q"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; margin-right: 12px; background: var(--orange); color: #2a1300; font: 800 13px var(--f-disp); }
  details.qa summary::after { content: "＋"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; transition: rotate .3s var(--ease); color: var(--ink-3); }
  details.qa[open] summary::after { rotate: 135deg; }
  .qa-a { padding: 0 24px 22px 60px; color: var(--ink-2); }
  .qa-a p + p { margin-top: 8px; }
  details.qa mark { background: var(--yellow); color: #000; border-radius: 3px; }
  .no-result { text-align: center; padding: 40px; color: var(--ink-3); display: none; }

  /* ================= FORMS (order/contact) ================= */
  .form-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
  .progress { position: sticky; top: 92px; display: grid; gap: 6px; list-style: none; padding: 0; }
  .progress li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-weight: 500; color: var(--ink-3); cursor: pointer; transition: background .2s; }
  .progress li .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font: 800 13px var(--f-disp); flex: none; background: var(--surface); }
  .progress li.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-s); }
  .progress li.active .n { background: var(--orange); border-color: var(--orange); color: #2a1300; }
  .progress li.done .n { background: var(--green); border-color: var(--green); color: #fff; }
  .progress li.done .n::before { content: "✓"; }
  .progress li.done .n span { display: none; }
  .panel { display: none; animation: pin .45s var(--ease); }
  .panel.active { display: block; }
  @keyframes pin { from { opacity: 0; translate: 0 14px; } }
  .fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
  .fields .full { grid-column: 1 / -1; }
  .f label, .f > .lab { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
  .f label .req, .req { color: var(--danger); margin-left: 2px; }
  .f .help { font-size: 13px; color: var(--ink-3); margin-top: 5px; }
  .f input:not([type="checkbox"]):not([type="radio"]), .f select, .f textarea {
    width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s, box-shadow .2s;
  }
  .f textarea { min-height: 110px; resize: vertical; }
  .f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 22%, transparent); }
  .f input:user-invalid, .f select:user-invalid, .f textarea:user-invalid { border-color: var(--danger); }
  .pane-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
  .p-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--bg); margin-bottom: 14px; position: relative; }
  .p-card h4 { font-size: 15px; margin-bottom: 12px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
  .p-card .fields { grid-template-columns: repeat(3, 1fr); }
  .review dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; font-size: 15px; }
  .review dt { color: var(--ink-3); } .review dd { font-weight: 500; word-break: break-word; }
  .review h4 { margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
  .hp { position: absolute; left: -9999px; }
  .toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 120px; z-index: 300; background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-l); transition: translate .4s var(--ease); max-width: 92vw; }
  .toast.show { translate: -50% 0; }
  .success { text-align: center; padding: clamp(30px, 6vw, 70px) 20px; }
  .success .big { font-size: 64px; }
  @media (max-width: 900px) {
    .form-wrap { grid-template-columns: 1fr; }
    .progress { position: static; grid-auto-flow: column; overflow-x: auto; gap: 4px; }
    .progress li { padding: 8px 12px; white-space: nowrap; }
    .fields, .p-card .fields { grid-template-columns: 1fr; }
    .review dl { grid-template-columns: 1fr; gap: 2px; } .review dd { margin-bottom: 8px; }
  }

  /* ================= CONTACT ================= */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .info-list { display: grid; gap: 18px; }
  .info-list div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
  .info-list .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--bg-2); display: grid; place-items: center; font-size: 20px; }
  .info-list b { display: block; } .info-list span { color: var(--ink-2); }
  .map { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--r-m); filter: saturate(.9); }
  @media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

  /* page hero (inner) */
  .page-hero { padding-block: clamp(40px, 7vw, 84px) clamp(18px, 3vw, 34px); }
  .page-hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 900; }
  .crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
  .crumbs a { text-decoration: none; }
  .cta-band { background: linear-gradient(120deg, var(--orange), var(--yellow)); border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: #2a1300; }
  .cta-band h2 { font-size: clamp(24px, 3.6vw, 38px); font-weight: 900; }
  .cta-band .btn { --b: #2a1300; --t: #fff; }
  .cta-band > div { flex: 1 1 320px; }
  .cta-mei { height: 130px; width: auto; margin-block: -34px; filter: drop-shadow(0 6px 10px rgb(60 30 0 / .25)); }
  @media (max-width: 640px) { .cta-mei { display: none; } }

  /* 怪妹 */
  .hero-mei { position: absolute; z-index: 6; right: -1%; bottom: -6%; width: 40%; height: auto; transform: translateZ(230px); filter: drop-shadow(0 14px 18px rgb(60 30 0 / .3)); transform-origin: 50% 90%; animation: wave 5s ease-in-out infinite; pointer-events: none; }
  @keyframes wave { 0%, 100% { rotate: -2deg; } 50% { rotate: 3deg; } }
  .hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .say { position: relative; flex: none; width: clamp(130px, 17vw, 190px); margin-bottom: -12px; }
  .say img { width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgb(60 30 0 / .2)); transform-origin: 50% 95%; animation: wave 6s ease-in-out infinite; }
  .bubble { position: absolute; right: 88%; top: 6%; width: max-content; max-width: 210px; background: var(--surface); border: 2px solid var(--ink); border-radius: 18px 18px 4px 18px; padding: 10px 16px; font-weight: 700; font-size: 14.5px; line-height: 1.5; box-shadow: 4px 4px 0 var(--yellow); }
  @media (max-width: 760px) { .say { display: none; } }
}

@layer cute {
  :root { --r-m: 26px; --r-l: 40px; --r-s: 16px; }
  h1, h2, h3, .btn, .eyebrow, .chip, .bubble, .nav a, .paper-filter button, .seg button, .fs-title, .step h3, .quote .total { font-family: var(--f-cute); }
  h1, h2.title, .page-hero h1, .hero h1, .teaser h2, .cta-band h2 { font-weight: 400; -webkit-text-stroke: .03em currentColor; letter-spacing: .02em; }
  h3 { font-weight: 400; -webkit-text-stroke: .02em currentColor; }
  .hero h1 em { background: linear-gradient(transparent 58%, var(--yellow) 58% 90%, transparent 90%); border-radius: 6px; }

  /* 貼紙感卡片 */
  .card, .fs, details.qa, .table-scroll { border: 2px solid var(--stroke); box-shadow: 5px 5px 0 color-mix(in srgb, var(--yellow) 85%, var(--stroke)); }
  .card:hover { translate: -1px -2px; box-shadow: 7px 8px 0 color-mix(in srgb, var(--yellow) 85%, var(--stroke)); transition: translate .25s var(--ease), box-shadow .25s var(--ease); }
  details.qa[open] { box-shadow: 5px 5px 0 var(--orange); }
  .chip { border: 2px solid color-mix(in srgb, var(--stroke) 45%, transparent); }
  .chip.hot { border-color: var(--stroke); }

  /* 立體圓潤按鈕 */
  .btn { border: 2px solid var(--stroke); box-shadow: 0 5px 0 var(--stroke); letter-spacing: .04em; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--stroke); filter: none; }
  .btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--stroke); }
  .btn.ghost { --b: var(--surface); --t: var(--ink); box-shadow: 0 5px 0 var(--stroke); }
  .btn.ghost:hover { --b: var(--yellow); --t: #3a1400; }
  .btn.dark { --b: var(--stroke); --t: #fff; }
  .cta-band .btn { --b: var(--stroke); --t: #fff; border-color: #fff8; box-shadow: 0 5px 0 #2a0507; }
  .quote .btn { border-color: #3a1400; box-shadow: 0 5px 0 #1a0a00; }
  .nav a[aria-current="page"] { background: var(--yellow); color: #3a1400; box-shadow: inset 0 0 0 2px var(--stroke); }
  .nav .btn { box-shadow: 0 3px 0 var(--stroke); }
  .theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--stroke); background: var(--surface); box-shadow: 0 3px 0 var(--stroke); display: grid; place-items: center; margin-left: 6px; transition: transform .2s var(--ease), box-shadow .2s; }
  .theme-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--stroke); }
  .theme-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--stroke); }
  .theme-btn span::before { content: "🌙"; font-size: 18px; line-height: 1; }
  :root[data-theme="dark"] .theme-btn span::before { content: "☀️"; }
  @media (max-width: 1120px) { .theme-btn { margin: 8px 0 0; width: 100%; border-radius: 999px; height: 46px; } }


  /* 表單圓潤 */
  .f input:not([type="checkbox"]):not([type="radio"]), .f select, .f textarea, .search input { border-radius: 18px; border-color: color-mix(in srgb, var(--stroke) 40%, var(--line)); }
  .opt > span, .switch { border-radius: 20px; border-color: color-mix(in srgb, var(--stroke) 28%, var(--line)); }
  .stepper { border-color: color-mix(in srgb, var(--stroke) 40%, var(--line)); }

  /* Hero 背景裝飾 */
  .hero { position: relative; }
  .hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
  .hero::before { width: 380px; height: 380px; right: -110px; top: -70px; background: color-mix(in srgb, var(--yellow) 55%, transparent); }
  .hero::after { width: 190px; height: 190px; left: -60px; bottom: 30px; background: color-mix(in srgb, #ff7ab8 32%, transparent); }
  .hero-grid { position: relative; z-index: 0; }
  .eyebrow::before { height: 6px; width: 26px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, var(--yellow) 6px 12px); }

  /* 作品跑馬燈：貼紙感 */
  .marquee { border: 0; background: color-mix(in srgb, var(--yellow) 26%, var(--bg)); padding-block: 26px; }
  .marquee img { border: 4px solid #fff; border-radius: 10px; box-shadow: 0 6px 14px rgb(92 12 14 / .2); }
  .marquee img:nth-child(3n+1) { rotate: -3deg; }
  .marquee img:nth-child(3n+2) { rotate: 2deg; translate: 0 6px; }
  .marquee img:nth-child(3n) { rotate: -1deg; }
  .works-grid .work img, .grid img[src*="cards/"] { border: 3px solid #fff; box-shadow: 0 6px 14px rgb(92 12 14 / .18); }

  /* 公告條 */
  .shout-sec { padding-block: clamp(36px, 6vw, 70px) 0; }
  .shout { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); padding: clamp(18px, 3vw, 30px) clamp(20px, 3.4vw, 40px); border: 2px solid var(--stroke); border-radius: var(--r-l); background: linear-gradient(120deg, color-mix(in srgb, var(--yellow) 65%, var(--surface)), color-mix(in srgb, #ffb3d4 45%, var(--surface))); box-shadow: 6px 6px 0 var(--stroke); position: relative; }
  .shout img { height: clamp(96px, 12vw, 150px); width: auto; flex: none; margin-block: calc(clamp(18px, 3vw, 30px) * -1); transform-origin: 50% 100%; animation: wave 4.5s ease-in-out infinite; }
  .shout h2 { font-size: clamp(22px, 3vw, 32px); margin: 8px 0 4px; color: #3a1400; }
  .shout p { color: #4a2a18; max-width: 46em; }
  .shout .chip { background: #fff; color: #3a1400; }
  .shout .btn { margin-left: auto; flex: none; }
  @media (max-width: 760px) { .shout { flex-wrap: wrap; } .shout .btn { margin-left: 0; } }
  :root[data-theme="dark"] .shout { background: linear-gradient(120deg, #4b3510, #4d2340); }
  :root[data-theme="dark"] .shout h2, :root[data-theme="dark"] .shout p { color: #fbeedc; }

  /* 波浪邊區塊 */
  .wavy { position: relative; background: var(--bg-2); margin-block: 26px; }
  .wavy::before, .wavy::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; background: var(--bg-2); }
  .wavy::before { top: -25px; -webkit-mask: radial-gradient(circle at 22px 26px, #000 21px, #0000 22px) 0 0 / 44px 100%; mask: radial-gradient(circle at 22px 26px, #000 21px, #0000 22px) 0 0 / 44px 100%; }
  .wavy::after { bottom: -25px; -webkit-mask: radial-gradient(circle at 22px 0, #000 21px, #0000 22px) 0 0 / 44px 100%; mask: radial-gradient(circle at 22px 0, #000 21px, #0000 22px) 0 0 / 44px 100%; }

  /* 步驟圖示 */
  .step { padding-top: 6px; }
  .step-ico { height: 84px; width: auto; margin-bottom: 10px; transition: transform .4s var(--ease); transform-origin: 50% 90%; }
  .step:hover .step-ico { transform: rotate(-6deg) scale(1.08); }
  .step::before { position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border-radius: 50%; background: var(--yellow); border: 2px solid var(--stroke); color: #3a1400; font: 400 15px var(--f-cute); }

  /* Teaser VIP */
  .teaser { border: 2px solid #ffffff2e; }
  .teaser-vip { position: absolute; right: clamp(16px, 4vw, 48px); bottom: -14px; width: clamp(110px, 14vw, 170px); height: auto; z-index: 1; rotate: 8deg; filter: drop-shadow(0 8px 12px #0006); animation: bob 5s ease-in-out infinite; }
  .price-big { padding-bottom: 46px; }
  @media (max-width: 860px) { .teaser-vip { top: 12px; bottom: auto; width: 100px; } .price-big { padding-bottom: 0; } }

  /* 內頁怪妹 */
  .say .prop { position: absolute; left: -20%; bottom: 2%; width: 46%; height: auto; rotate: -8deg; animation: bob 5s ease-in-out infinite; }
  .bubble { border: 2px solid var(--stroke); border-radius: 22px 22px 6px 22px; box-shadow: 4px 4px 0 var(--yellow); font-family: var(--f-cute); font-weight: 400; }
  .say .mei { width: 100%; height: auto; }
  .page-hero { position: relative; }

  /* 時間軸圖示 */
  .tl { display: grid; grid-template-columns: 78px 1fr; gap: 18px; align-items: center; }
  .tl-ico { width: 78px; height: 70px; object-fit: contain; }
  .tl::before { top: 50%; translate: 0 -50%; }
  @media (max-width: 520px) { .tl { grid-template-columns: 56px 1fr; } .tl-ico { width: 56px; } }

  /* 頁尾怪妹探頭 */
  .site-footer { position: relative; margin-top: 90px; border-radius: 40px 40px 0 0; }
  .foot-mei { position: absolute; right: clamp(16px, 8vw, 110px); top: -132px; width: 150px; display: block; z-index: 2; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .foot-mei img { width: 100%; height: auto; display: block; transform-origin: 50% 100%; animation: wave 5s ease-in-out infinite; transition: transform .3s var(--ease); }
  .foot-mei:hover img, .foot-mei:focus-visible img { animation-play-state: paused; transform: translateY(-12px) scale(1.06); }
  .foot-mei:active img { transform: translateY(-4px) scale(.98); }
  .foot-mei::after { content: "回到頂端 ↑"; position: absolute; left: 50%; top: -8px; translate: -50% 0; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: #3a1400; border: 2px solid var(--stroke); font: 400 14px/1.3 var(--f-cute); opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s var(--ease); }
  .foot-mei:hover::after, .foot-mei:focus-visible::after { opacity: 1; translate: -50% -22px; }
  @media (max-width: 640px) { .foot-mei { width: 100px; top: -88px; } .foot-mei::after { display: none; } }
  .cta-band { border: 2px solid var(--stroke); box-shadow: 6px 6px 0 var(--stroke); }

  /* 查無結果 */
  .no-result img { margin: 0 auto 8px; height: 130px; width: auto; }
  .no-result p { font-family: var(--f-cute); font-size: 18px; }
  .cta-band .btn { --b: #3a1400; --t: #fff; border-color: #fff8; }
  :root[data-theme="dark"] .site-header .brand small { color: var(--green); }
  /* 頁尾：信用卡快速刷卡區 */
  .pay-zone { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 32px; align-items: center; margin-top: 40px; padding: 22px 28px; border: 2px solid #ffffff2e; border-radius: 28px; background: #ffffff0d; }
  .pay-head { display: flex; align-items: center; gap: 14px; }
  .pay-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--yellow); font-size: 28px; border: 2px solid var(--stroke); box-shadow: 0 3px 0 var(--stroke); flex: none; }
  .site-footer .pay-zone h3 { margin: 0; font-size: 20px; color: #fff; letter-spacing: .04em; }
  .pay-brands { display: flex; gap: 6px; margin-top: 6px; }
  .pay-brands span { padding: 1px 10px; border-radius: 6px; background: #fff; color: #23297a; font: 800 11px/1.6 var(--f-disp); letter-spacing: .04em; }
  .pay-brands span:nth-child(2) { color: #c8102e; } .pay-brands span:nth-child(3) { color: #0b7a3e; }
  .pay-notes h4 { font: 400 15px/1.4 var(--f-cute); color: var(--yellow); margin: 0 0 4px; }
  .pay-notes ol { margin: 0; padding-left: 1.3em; display: grid; gap: 2px; font-size: 14.5px; color: #e9dccb; }
  .pay-notes b { color: #ffd86b; font-weight: 700; }
  .pay-cta { display: grid; gap: 10px; justify-items: center; text-align: center; }
  .pay-cta .btn { white-space: nowrap; }
  .pay-tel { font-size: 13.5px; color: #e9dccb; }
  @media (max-width: 980px) { .pay-zone { grid-template-columns: 1fr; padding: 20px; } .pay-cta { justify-items: start; text-align: left; } }
  @media (prefers-reduced-motion: reduce) { .shout img, .foot-mei img, .teaser-vip, .say .prop { animation: none; } }
}

@layer utilities {
  :root[data-theme="dark"] .teaser, :root[data-theme="dark"] .quote, :root[data-theme="dark"] .site-footer { border: 1px solid #ffffff1f; }
  [hidden] { display: none !important; }
  .mt-s { margin-top: 12px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 52px; }
  .center { text-align: center; }
  .hidden { display: none !important; }
  .muted { color: var(--ink-3); }
  .stack > * + * { margin-top: 12px; }
}

@media print {
  .site-header, .site-footer, .topbar, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
