/* Rēhia — 夜を支えるアウトドアブランド
   Natural (生成り) is the ground, Night Blue closes the page, Ember is a small accent (lines, edges, selected states — never small text).
   Logo and symbol are always the supplied SVG files. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/Newsreader-latin.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --night: #263F4D;
  --night-d: #1D323E;
  --ember: #C65D3D;
  --natural: #EAE3D6;
  --paper: #F4F0E8;
  --field: #FBF9F5;
  --sand: #E0D8C8;
  --ink: #263F4D;
  --ink-2: #4A5F6B;
  --line: rgba(38, 63, 77, .18);
  --line-2: rgba(38, 63, 77, .42);
  --f-en: "Newsreader", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-min: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --wrap: 1200px;
  --r: 4px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--natural); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.8; letter-spacing: .02em;
  line-break: strict; word-break: keep-all; overflow-wrap: break-word;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, h4, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--night); outline-offset: 3px; }
.nw { white-space: nowrap; }
.ib { display: inline-block; }
.line { display: block; white-space: nowrap; }
.line wbr, .nw wbr { display: none; }
.sen { display: block; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* type */
.h-min { font-family: var(--f-min); font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
.en { font-family: var(--f-en); font-weight: 500; letter-spacing: .01em; font-variation-settings: "opsz" 24; }
.eyebrow { font-family: var(--f-en); font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--ember); flex: none; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

/* ---------- demo strip ---------- */
.demo-strip { background: var(--night-d); color: var(--natural); font-size: 12.5px; letter-spacing: .04em; }
.demo-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.demo-strip .ds-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.demo-strip .ds-tag { font-family: var(--f-en); font-size: 12px; border: 1px solid rgba(234,227,214,.5); padding: 0 7px; flex: none; line-height: 1.6; }
.demo-strip .ds-what { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.demo-strip .ds-r { display: flex; gap: 16px; flex: none; align-items: center; }
.demo-strip a, .demo-strip button { color: var(--natural); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-size: inherit; }
@media (max-width: 640px) { .demo-strip .ds-long { display: none; } .demo-strip .ds-r a { display: none; } }

/* ---------- header ---------- */
.rh-head { position: sticky; top: 0; z-index: 40; background: var(--natural); border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .rh-head { position: relative; } html { scroll-padding-top: 16px; } }
.rh-head .wrap { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.rh-logo { display: block; flex: none; padding: 12px 0; }
.rh-logo img { width: 156px; height: auto; aspect-ratio: 731 / 256; }
.rh-nav { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; }
.rh-nav::-webkit-scrollbar { display: none; }
.rh-nav a wbr { display: none; }
.rh-nav a { white-space: nowrap; text-decoration: none; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; }
.rh-nav a:hover { border-color: var(--line-2); }
.rh-nav a[aria-current="page"] { border-color: var(--ember); }
.rh-util { flex: none; display: flex; gap: 18px; font-size: 13px; }
.rh-util a { text-decoration: none; }
.rh-util a:hover { text-decoration: underline; }
.demo-badge { font-size: 12px; color: var(--ink-2); white-space: nowrap; border: 1px solid var(--line-2); border-radius: 2px; padding: 2px 8px; }
@media (max-width: 1120px) {
  .rh-head .wrap { flex-wrap: wrap; row-gap: 0; gap: 16px; min-height: 0; }
  .rh-logo img { width: 134px; }
  .rh-util { margin-left: auto; }
  .rh-nav { order: 3; flex-basis: 100%; gap: 22px; padding-bottom: 6px; mask-image: linear-gradient(90deg, #000 88%, transparent); }
}

/* ---------- photos ---------- */
.photo { position: relative; overflow: hidden; background: #3B4A50; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph { position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: var(--natural); }
.photo img + .ph { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 52px; padding: 0 28px; border-radius: var(--r); border: 1px solid var(--night); background: var(--night); color: var(--natural); font-size: 15px; font-weight: 500; letter-spacing: .06em; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.5; }
.btn:hover { background: var(--night-d); border-color: var(--night-d); }
.btn.ghost { background: transparent; color: var(--night); }
.btn.ghost:hover { background: rgba(38,63,77,.06); }
.btn.on-night { background: var(--natural); color: var(--night); border-color: var(--natural); }
.btn.on-night:hover { background: #fff; }
.btn.ghost.on-night { background: transparent; color: var(--natural); border-color: rgba(234,227,214,.7); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.arr { margin-left: 14px; width: 16px; height: 1px; background: currentColor; position: relative; flex: none; }
.arr::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.tlink { font-size: 14px; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }

/* ---------- page head (child pages) ---------- */
.pg-head { border-bottom: 1px solid var(--line); }
.pg-head .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 64px); }
.crumb { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.crumb a { color: inherit; }
.pg-head h1 { font-family: var(--f-min); font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.45; letter-spacing: .04em; margin: 14px 0 16px; }
.pg-head .lead { max-width: 34em; }
.pg-head .photo { aspect-ratio: 4 / 3; border-radius: 2px; }
.pg-head .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.pg-head .facts b { color: var(--ink); font-weight: 500; margin-right: .5em; }
@media (max-width: 820px) { .pg-head .wrap { grid-template-columns: minmax(0, 1fr); } .pg-head .photo { aspect-ratio: 16 / 9; order: -1; } }

/* ---------- steps ---------- */
.rf-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-bottom: 36px; counter-reset: s; }
.rf-steps li { counter-increment: s; padding: 0 0 12px; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; gap: 10px; align-items: baseline; }
.rf-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-en); font-size: 15px; }
.rf-steps li.on { color: var(--ink); border-color: var(--ember); font-weight: 500; }
.rf-steps li.done { color: var(--ink); }

/* ---------- form layout ---------- */
.rf-sec { padding-block: clamp(40px, 6vw, 72px); }
.rf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.rf-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
@media (max-width: 980px) { .rf-layout { grid-template-columns: minmax(0, 1fr); } .rf-aside { position: static; } }

.rf fieldset { border: 0; padding: 0; margin: 0 0 44px; min-width: 0; }
.rf legend { padding: 0; margin-bottom: 20px; display: flex; align-items: baseline; gap: 14px; width: 100%; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rf legend .no { font-family: var(--f-en); font-size: 18px; color: var(--ink-2); }
.rf legend .t { font-family: var(--f-min); font-weight: 600; font-size: 20px; letter-spacing: .04em; }
.rf .hint { font-size: 14px; color: var(--ink-2); margin: -8px 0 18px; }
.rf fieldset > .fld { margin-bottom: 22px; }
.rf fieldset > .fld:last-child { margin-bottom: 0; }
.rf .row { display: grid; grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
@media (max-width: 640px) { .rf .row { grid-template-columns: minmax(0, 1fr); } .rf .row.keep { grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); gap: 12px; } }
.fld { display: grid; gap: 8px; align-content: start; min-width: 0; }
.fld > .fn { font-size: 14px; font-weight: 500; display: block; }
.fn .tag-req, .fn .tag-opt { display: inline-block; margin-left: 8px; vertical-align: 1px; }
.tag-req, .tag-opt { font-size: 11px; font-weight: 500; line-height: 1; padding: 4px 6px; border-radius: 2px; letter-spacing: .04em; }
.tag-req { background: var(--night); color: var(--natural); }
.tag-opt { border: 1px solid var(--line-2); color: var(--ink-2); }
.fld input:not([type=checkbox]):not([type=radio]), .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; background: var(--field); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink);
}
.fld textarea { min-height: 112px; resize: vertical; line-height: 1.7; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--night) 50%), linear-gradient(-45deg, transparent 50%, var(--night) 50%); background-position: right 20px center, right 15px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--night); outline-offset: 0; border-color: var(--night); }
.fld .sub { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.fld.err input, .fld.err select, .fld.err textarea { border-color: var(--ember); box-shadow: inset 3px 0 0 var(--ember); }
.fe { font-size: 13px; color: var(--ink); display: none; gap: 8px; align-items: center; }
.fe::before { content: ""; width: 3px; height: 14px; background: var(--ember); flex: none; }
.fld.err .fe, .chs.err + .fe { display: flex; }
.fld input[type=file] { padding: 10px; font-size: 14px; }

/* choice cards */
.chs { display: grid; gap: 10px; grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); }
@media (max-width: 640px) { .chs { grid-template-columns: minmax(0, 1fr); } }
.ch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 16px 16px 16px 14px; background: var(--field); border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; }
.ch input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--night); }
.ch .ct { display: grid; gap: 2px; min-width: 0; }
.ch .ct b { font-weight: 500; font-size: 15px; }
.ch .ct small { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ch .cp { font-family: var(--f-en); font-size: 17px; white-space: nowrap; }
.ch:has(input:checked) { border-color: var(--night); box-shadow: inset 3px 0 0 var(--ember); background: #fff; }
.ch:has(input:focus-visible) { outline: 2px solid var(--night); outline-offset: 2px; }
.chs.err .ch { border-color: var(--ember); }
.chs.compact .ch { padding: 12px 14px; align-items: center; }
.chs.compact .ch input { margin: 0; }

.qty { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--field); overflow: hidden; }
.qty button { border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--night); }
.qty button:hover { background: rgba(38,63,77,.06); }
.fld .qty input { border: 0 !important; text-align: center; min-height: 48px; background: transparent !important; outline-offset: -2px; }

.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.4); }
.agree input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--night); flex: none; }

.rf-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid var(--night); border-bottom: 1px solid var(--line); margin: 8px 0 28px; }
.rf-total span { font-size: 14px; }
.rf-total b { font-family: var(--f-en); font-weight: 500; font-size: 28px; }
.rf-total small { font-size: 12px; color: var(--ink-2); margin-left: 4px; }
.rf-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.rf-actions .btn { min-width: 240px; }
@media (max-width: 520px) { .rf-actions .btn { width: 100%; min-width: 0; } }
.rf-fine { font-size: 13px; color: var(--ink-2); margin-top: 14px; }

/* confirm + done */
.rf-view[hidden] { display: none; }
.rf-confirm h2, .rf-done h2 { font-family: var(--f-min); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .04em; margin-bottom: 10px; }
.rf-confirm > p { margin-bottom: 24px; color: var(--ink-2); font-size: 15px; }
.cf { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-top: 1px solid var(--line); margin-bottom: 28px; }
.cf dt, .cf dd { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cf dt { color: var(--ink-2); padding-right: 16px; }
@media (max-width: 560px) { .cf { grid-template-columns: minmax(0, 1fr); } .cf dt { border-bottom: 0; padding-bottom: 0; font-size: 13px; } .cf dd { padding-top: 2px; } }
.rf-done .no-box { display: inline-grid; gap: 2px; padding: 14px 20px; border: 1px solid var(--night); border-left: 3px solid var(--ember); border-radius: 2px; margin: 18px 0 24px; }
.rf-done .no-box small { font-size: 12px; color: var(--ink-2); }
.rf-done .no-box b { font-family: var(--f-en); font-weight: 500; font-size: 24px; letter-spacing: .04em; }
.rf-done .next { margin-top: 28px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; align-items: start; }
.rf-done .next img { width: 56px; height: 56px; border-radius: 50%; }
.rf-done .next b { display: block; font-weight: 500; margin-bottom: 4px; }
.rf-done .next p { font-size: 15px; }
.rf-done .next .rf-actions { grid-column: 2; margin-top: 6px; }
@media (max-width: 560px) { .rf-done .next { grid-template-columns: minmax(0, 1fr); } .rf-done .next .rf-actions { grid-column: 1; } }
.live-note { font-size: 14px; line-height: 1.8; padding: 12px 14px; background: rgba(38,63,77,.06); border-left: 3px solid var(--night); margin-top: 14px; }
.live-note[hidden] { display: none; }

/* ---------- aside cards ---------- */
.ac { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 22px; display: grid; gap: 14px; }
.ac h3 { font-family: var(--f-min); font-weight: 600; font-size: 17px; letter-spacing: .04em; }
.ac .photo { aspect-ratio: 3 / 2; border-radius: 2px; margin: -6px -6px 0; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--ink-2); }
.kv dd { text-align: right; }
.ac-help .who { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; }
.ac-help .who img { width: 52px; height: 52px; border-radius: 50%; }
.ac-help .who b { display: block; font-weight: 500; font-size: 15px; }
.ac-help .who small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ac-help p { font-size: 14px; }
.live-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.live-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-2); }
.live-status.ok { color: var(--ink); }
.live-status.ok::before { background: var(--night); border-color: var(--night); box-shadow: 0 0 0 3px rgba(198,93,61,.25); }

/* Rēhia ID card */
.nz-mem { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; font-size: 14px; }
.nz-mem .nz-k { font-family: var(--f-en); font-size: 14px; color: var(--ink-2); }
.nz-mem .nz-th { background: var(--field); border: 1px solid var(--line); border-left: 3px solid var(--ember); padding: 12px 14px; line-height: 1.8; }
.nz-mem .nz-th b { display: block; font-size: 12px; font-weight: 500; color: var(--ink-2); margin-bottom: 4px; }
.nz-mem details summary { cursor: pointer; font-size: 13px; }
.nz-mem ul { margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 13px; line-height: 1.7; }
.nz-mem ul b { font-weight: 500; margin-right: .6em; }
.nz-mem .nz-fine { font-size: 12px; color: var(--ink-2); }
.nz-mem .nz-forget { font-size: 12px; background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.nz-mem form { display: grid; gap: 8px; }
.nz-mem input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--field); font-size: 16px; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec.tight { padding-block: clamp(36px, 5vw, 56px); }
.sec.paper { background: var(--paper); }
.sec.night { background: var(--night); color: var(--natural); }
.sec.night .eyebrow, .sec.night .muted { color: rgba(234,227,214,.78); }
.s-title { display: grid; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 52em; }
.s-title h2 { font-family: var(--f-min); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.5; letter-spacing: .04em; }
.s-title p { color: var(--ink-2); }
.sec.night .s-title p { color: rgba(234,227,214,.82); }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.g2.mid { align-items: center; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .g2, .g3 { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: 16px; }
.prose h3 { font-family: var(--f-min); font-weight: 600; font-size: 20px; letter-spacing: .04em; }

.spec { display: grid; grid-template-columns: minmax(7em, auto) minmax(0, 1fr); border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--ink-2); padding-right: 20px; }
@media (max-width: 520px) { .spec { grid-template-columns: minmax(0, 1fr); } .spec dt { border-bottom: 0; padding-bottom: 0; font-size: 13px; } .spec dd { padding-top: 2px; } }
.plist { border-top: 1px solid var(--line); }
.plist > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plist small { display: block; font-size: 13px; color: var(--ink-2); }
.plist .pv { font-family: var(--f-en); font-size: 17px; white-space: nowrap; }
.vtl { list-style: none; display: grid; }
.vtl li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; padding: 12px 0 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.vtl li b { font-family: var(--f-en); font-weight: 500; }
.vtl li b.jp-b { font-family: var(--f-body); font-size: 14px; }
.vtl li small { display: block; font-size: 13px; color: var(--ink-2); }
.vtl li.now { box-shadow: inset 3px 0 0 var(--ember); padding-left: 12px; }
.track { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: 16px; }
.track li { font-size: 13px; padding-top: 12px; border-top: 3px solid var(--line); color: var(--ink-2); text-align: center; }
.track li.done { border-color: var(--night); color: var(--ink); }
.track li.cur { border-color: var(--ember); color: var(--ink); font-weight: 500; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border-right: 1.5px solid var(--night); border-bottom: 1.5px solid var(--night); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .a { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.tscroll { overflow-x: auto; }
.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
.cmp th, .cmp td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp thead th { font-weight: 500; }
.cmp .on { background: rgba(255,255,255,.55); box-shadow: inset 0 2px 0 var(--ember); }

/* handoff card + banner */
.handoff { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: center; }
.handoff .ho-body { display: grid; gap: 8px; justify-items: start; }
.handoff .ho-k { font-family: var(--f-en); font-size: 15px; opacity: .85; }
.handoff b { font-family: var(--f-min); font-weight: 600; font-size: 20px; letter-spacing: .04em; }
.handoff .ho-ctx { border-left: 2px solid var(--ember); padding-left: 12px; font-size: 14px; opacity: .9; }
.handoff .btn { margin-top: 8px; }
.ho-faces { display: flex; align-items: center; gap: 10px; }
.ho-faces .av { width: 64px; height: 64px; border-radius: 50%; display: block; }
.ho-arr { width: 26px; height: 1px; background: currentColor; position: relative; flex: none; }
.ho-arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
@media (max-width: 640px) { .handoff { grid-template-columns: minmax(0, 1fr); } .ho-faces .av { width: 52px; height: 52px; } }
.ho-banner { background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: inset 0 3px 0 var(--ember); }
.ho-banner .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding-block: 18px; }
.ho-banner .ho-faces .av { width: 44px; height: 44px; }
.ho-banner .ho-txt { display: grid; gap: 4px; }
.ho-banner .ho-txt b { font-weight: 500; }
.ho-banner .ho-txt p { font-size: 14px; color: var(--ink-2); }
.ho-banner .b { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px; border-radius: var(--r); background: var(--night); color: var(--natural); border: 0; cursor: pointer; font-size: 14px; }
@media (max-width: 760px) { .ho-banner .wrap { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* LINE hub list */
.hubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .hubs { grid-template-columns: minmax(0, 1fr); } }
.hub { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.hubs .hub:nth-child(odd) { padding-right: 24px; }
.hub .av { width: 44px; height: 44px; border-radius: 50%; }
.hub small { display: block; font-size: 13px; color: var(--ink-2); }
.hub b { font-weight: 500; }

/* product gallery (pop) */
.gal { display: grid; gap: 10px; }
.gal .main { aspect-ratio: 4 / 3; border-radius: 2px; }
.gal .thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gal .thumbs .photo { aspect-ratio: 1; cursor: pointer; opacity: .7; }
.gal .thumbs .photo.on { opacity: 1; box-shadow: inset 0 -3px 0 var(--ember); }
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); vertical-align: -4px; margin-right: 6px; }
.price-l { font-family: var(--f-en); font-weight: 500; font-size: 30px; }
.price-l small { font-family: var(--f-body); font-size: 13px; color: var(--ink-2); margin-left: 6px; }
.qrbox { display: flex; gap: 16px; align-items: center; }
.qrbox .qr { width: 104px; height: 104px; padding: 6px; background: #fff; border: 1px solid var(--line); flex: none; }

/* ---------- footer ---------- */
.rh-foot { background: var(--night); color: var(--natural); padding-block: clamp(48px, 7vw, 80px) 28px; }
.rh-foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(234,227,214,.2); }
.rh-foot .brand { display: grid; gap: 18px; align-content: start; }
.rh-foot .brand a { display: block; width: 150px; }
.rh-foot .brand a img { width: 150px; height: auto; aspect-ratio: 731 / 256; }
.rh-foot .brand p { font-size: 14px; max-width: 24em; color: rgba(234,227,214,.86); }
.rh-foot h4 { font-family: var(--f-en); font-weight: 500; font-size: 15px; margin-bottom: 12px; color: rgba(234,227,214,.78); }
.rh-foot ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.rh-foot ul a { text-decoration: none; }
.rh-foot ul a:hover { text-decoration: underline; }
.rh-foot .legal { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding-top: 24px; font-size: 12.5px; color: rgba(234,227,214,.78); }
.rh-foot .legal p { max-width: 52em; }
.rh-foot .sig { width: 32px; height: 32px; flex: none; }
@media (max-width: 860px) { .rh-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rh-foot .brand { grid-column: 1 / -1; } }

/* ---------- demo drawer ---------- */
.dd-btn { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; background: var(--night-d); color: var(--natural); border: 1px solid rgba(234,227,214,.3); border-radius: var(--r); font-size: 13px; cursor: pointer; box-shadow: 0 6px 18px rgba(29,50,62,.22); }
.dd-btn .t { font-family: var(--f-en); font-size: 12px; border: 1px solid rgba(234,227,214,.5); padding: 0 6px; line-height: 1.6; }
.dd-veil { position: fixed; inset: 0; background: rgba(29,50,62,.4); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s; }
.dd { position: fixed; top: 0; left: 0; bottom: 0; width: min(560px, 100vw); background: var(--paper); z-index: 80; transform: translateX(-102%); transition: transform .3s ease; overflow-y: auto; overscroll-behavior: contain; }
body.dd-open .dd { transform: none; }
body.dd-open .dd-veil { opacity: 1; pointer-events: auto; }
.dd-in { padding: 22px clamp(16px, 4vw, 32px) 48px; display: grid; gap: 26px; }
.dd-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dd-x { width: 40px; height: 40px; border: 1px solid var(--line-2); background: var(--field); cursor: pointer; position: relative; flex: none; border-radius: var(--r); }
.dd-x::before, .dd-x::after { content: ""; position: absolute; left: 11px; right: 11px; top: 19px; height: 1px; background: var(--night); transform: rotate(45deg); }
.dd-x::after { transform: rotate(-45deg); }
.dd .label { font-family: var(--f-en); font-size: 16px; display: flex; gap: 10px; align-items: baseline; }
.dd .label span { font-family: var(--f-body); font-size: 13px; color: var(--ink-2); }
.dd-head { display: grid; gap: 8px; }
.dd-head h2 { font-family: var(--f-min); font-weight: 600; font-size: 22px; }
.dd-head p { font-size: 14px; }
.dd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dd-pager a { border: 1px solid var(--line); background: var(--field); padding: 12px 14px; text-decoration: none; display: grid; gap: 2px; font-size: 14px; border-radius: var(--r); }
.dd-pager a small { font-family: var(--f-en); font-size: 13px; color: var(--ink-2); }
.dd-pager a.next { text-align: right; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; }
.phone-wrap { display: grid; gap: 14px; justify-items: start; }
.phone { width: min(100%, 420px); border: 1px solid var(--line-2); border-radius: 22px; background: var(--field); overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.phone-top b { font-size: 13px; font-weight: 500; }
.phone-top small { display: block; font-size: 11px; color: var(--ink-2); }
.phone-top img.avatar { width: 34px; height: 34px; border-radius: 50%; }
.chat { display: grid; gap: 12px; padding: 18px 14px 22px; min-height: 120px; }
.msg { display: grid; gap: 4px; max-width: 88%; min-width: 0; }
.msg .who { font-size: 11px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.msg img.avatar.sm { width: 22px; height: 22px; border-radius: 50%; }
.msg .bubble { padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.75; }
.msg.ai .bubble { background: #fff; border: 1px solid var(--line); border-top-left-radius: 3px; }
.msg.staff .bubble { background: var(--sand); border-top-left-radius: 3px; }
.msg.user { justify-self: end; }
.msg.user .bubble { background: var(--night); color: var(--natural); border-top-right-radius: 3px; }
.msg.sys, .msg.task, .msg.exit { justify-self: center; max-width: 100%; }
.msg.sys .bubble, .msg.task .bubble, .msg.exit .bubble { background: transparent; border: 1px dashed var(--line-2); font-size: 12px; color: var(--ink-2); border-radius: 6px; }
.msg.task .bubble { border-style: solid; border-left: 3px solid var(--ember); color: var(--ink); }
.mark-chip { justify-self: start; font-size: 11px; background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.msg.user .mark-chip { justify-self: end; }
.typing { display: flex; gap: 4px; padding: 10px 12px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); opacity: .5; }
.panel { border: 1px solid var(--line); background: var(--field); border-radius: 6px; }
.panel-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.panel-head b { font-weight: 500; }
.panel-head small { font-size: 12px; color: var(--ink-2); }
.rows > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.rows > div:last-child { border-bottom: 0; }
.rows dt { color: var(--ink-2); }
.rows .lit { background: #fff; box-shadow: inset 3px 0 0 var(--ember); }
.rows code { font-size: 12px; }
@media (max-width: 640px) { .dd-btn { height: 40px; padding: 0 12px; font-size: 12px; } }

/* ---------- top page ---------- */
.fv .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 96px); }
.fv h1 { font-family: var(--f-min); font-weight: 600; font-size: clamp(30px, 4vw, 50px); line-height: 1.45; letter-spacing: .05em; margin: 18px 0 22px; }
.fv .lead { max-width: 30em; font-size: 17px; }
.fv .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.fv .photo { aspect-ratio: 4 / 5; border-radius: 2px; }
.fv .cap { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 860px) { .fv .wrap { grid-template-columns: minmax(0, 1fr); } .fv .photo { aspect-ratio: 4 / 3; order: -1; } .fv .lead { font-size: 16px; } }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 28px); }
@media (max-width: 960px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard { display: grid; gap: 10px; text-decoration: none; align-content: start; min-width: 0; }
@media (max-width: 600px) { .pcard h3 { font-size: 15px; } .pcard h3 .nw { white-space: normal; } }
.pcard .photo { aspect-ratio: 4 / 5; border-radius: 2px; }
.pcard .k { font-family: var(--f-en); font-size: 14px; color: var(--ink-2); }
.pcard h3 { font-family: var(--f-min); font-weight: 600; font-size: 17px; letter-spacing: .03em; line-height: 1.5; }
.pcard .pr { font-family: var(--f-en); font-size: 18px; }
.pcard:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

.brand-night .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.brand-night .sym { width: 64px; height: 64px; margin-bottom: 26px; }
.brand-night h2 { font-family: var(--f-min); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.55; letter-spacing: .05em; margin-bottom: 20px; }
.brand-night p + p { margin-top: 14px; }
.brand-night .photo { aspect-ratio: 5 / 4; border-radius: 2px; }
@media (max-width: 860px) { .brand-night .wrap { grid-template-columns: minmax(0, 1fr); } }

.entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.6vw, 28px); }
@media (max-width: 960px) { .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .entries { grid-template-columns: minmax(0, 1fr); } }
.ecard { min-width: 0; display: grid; gap: 10px; text-decoration: none; align-content: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ecard .photo { aspect-ratio: 3 / 2; border-radius: 2px; }
.ecard .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.ecard .meta .n { font-family: var(--f-en); font-size: 15px; }
.ecard h3 { font-family: var(--f-min); font-weight: 600; font-size: 19px; letter-spacing: .04em; }
.ecard .form-k { font-size: 14px; }
.ecard .face { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.ecard .face img { width: 28px; height: 28px; border-radius: 50%; }
.ecard:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(234,227,214,.25); }
.promise li { list-style: none; padding: 22px 20px 22px 0; border-bottom: 1px solid rgba(234,227,214,.25); }
.promise b { display: block; font-family: var(--f-min); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.promise p { font-size: 14px; color: rgba(234,227,214,.84); }
@media (max-width: 860px) { .promise { grid-template-columns: minmax(0, 1fr); } }
.faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .faces { grid-template-columns: minmax(0, 1fr); } }
.faces > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.faces img { width: 48px; height: 48px; border-radius: 50%; }
.faces b { font-weight: 500; display: block; }
.faces small { font-size: 13px; color: var(--ink-2); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: f; border-top: 1px solid var(--line); }
.flow li { counter-increment: f; padding: 18px 14px 18px 0; display: grid; gap: 6px; align-content: start; }
.flow li::before { content: counter(f, decimal-leading-zero); font-family: var(--f-en); font-size: 15px; color: var(--ink-2); }
.flow b { font-weight: 500; }
.flow span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 480px) {
  .qty { grid-template-columns: 34px minmax(28px, 1fr) 34px; }
  .qty button { font-size: 18px; }
}
:lang(en) .pg-head h1, :lang(en) .s-title h2, :lang(en) .rf legend .t, :lang(en) .ac h3, :lang(en) .rf-done h2, :lang(en) .rf-confirm h2, :lang(en) .handoff b { font-family: var(--f-en); font-weight: 560; letter-spacing: 0; }

/* ---------- chat launcher (one per window) ---------- */
.nzl { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 55; display: grid; justify-items: end; gap: 10px; transition: opacity .2s, transform .2s; }
.nzl.hide { opacity: 0; transform: translateY(12px); pointer-events: none; }
.nzl-btn { position: relative; width: 68px; height: 68px; padding: 0; border-radius: 50%; border: 2px solid var(--night); background: var(--natural); cursor: pointer; box-shadow: 0 8px 20px rgba(29,50,62,.26); }
.nzl-btn img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.nzl-btn:hover { transform: translateY(-2px); }
.nzl-btn:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }
.nzl-prop { position: absolute; left: -8px; bottom: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--night); border: 2px solid var(--natural); display: grid; place-items: center; }
.nzl-prop svg { width: 18px; height: 18px; fill: none; stroke: var(--natural); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.nzl-prop .f { fill: var(--natural); stroke: none; }
.nzl-prop .flame { fill: var(--ember); stroke: none; }
.nzl-prop .flag, .nzl-prop .thread { stroke: var(--ember); }
.nzl-ring { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--ember); opacity: 0; pointer-events: none; }
.nzl-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ember); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; border: 2px solid var(--natural); }
.nzl-badge[hidden] { display: none; }
.nzl-label { font-size: 12px; font-weight: 500; color: var(--natural); background: var(--night); padding: 3px 10px; border-radius: 12px; margin-top: -4px; white-space: nowrap; box-shadow: 0 2px 8px rgba(29,50,62,.2); }
.nzl-bubble { position: relative; width: 268px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px 14px 4px 14px; padding: 14px 16px 14px; box-shadow: 0 10px 28px rgba(29,50,62,.18); display: grid; gap: 8px; }
.nzl-bubble[hidden] { display: none; }
.nzl-bubble::after { content: ""; position: absolute; right: 26px; bottom: -7px; width: 12px; height: 12px; background: var(--paper); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg); }
.nzl-who { font-size: 12px; color: var(--ink-2); }
.nzl-say { font-family: var(--f-min); font-weight: 600; font-size: 16px; line-height: 1.6; padding-right: 18px; transition: opacity .25s, transform .25s; min-height: 1.6em; }
.nzl-say.out { opacity: 0; transform: translateY(4px); }
.nzl-chips { display: grid; gap: 6px; }
.nzl-chip { text-align: left; font-size: 13px; line-height: 1.5; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--field); color: var(--ink); cursor: pointer; }
.nzl-chip:hover { border-color: var(--night); box-shadow: inset 3px 0 0 var(--ember); }
.nzl-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border: 0; background: none; cursor: pointer; }
.nzl-x::before, .nzl-x::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 1.5px; background: var(--ink-2); transform: rotate(45deg); }
.nzl-x::after { transform: rotate(-45deg); }
.nzl.talking .nzl-bubble { animation: nzl-in .35s ease both; }
@keyframes nzl-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* a ring that widens once per cycle: "here I am" without glow */
.nzl .nzl-ring { animation: nzl-ring 7s ease-out 2.2s infinite; }
@keyframes nzl-ring { 0% { opacity: .9; transform: scale(1); } 18% { opacity: 0; transform: scale(1.35); } 100% { opacity: 0; transform: scale(1.35); } }

/* nine motions, each on a 7s cycle with a long rest */
.nzl[data-motion="sway"] .nzl-btn { animation: m-sway 7s ease-in-out 1s infinite; transform-origin: 50% 0; }
@keyframes m-sway { 0%, 30%, 100% { transform: rotate(0); } 8% { transform: rotate(-7deg); } 16% { transform: rotate(5deg); } 23% { transform: rotate(-2deg); } }
.nzl[data-motion="peek"] .nzl-btn { animation: m-peek 7s ease-in-out 1s infinite; }
@keyframes m-peek { 0%, 34%, 100% { transform: translateX(0); } 8% { transform: translateX(26px) rotate(8deg); } 20% { transform: translateX(26px) rotate(8deg); } 28% { transform: translateX(-3px); } }
.nzl[data-motion="hop"] .nzl-btn { animation: m-hop 7s ease 1s infinite; }
@keyframes m-hop { 0%, 30%, 100% { transform: translateY(0); } 6% { transform: translateY(-14px); } 12% { transform: translateY(0) scale(1.04, .96); } 17% { transform: translateY(-7px); } 22% { transform: translateY(0); } }
.nzl[data-motion="flicker"] .nzl-btn { animation: m-breathe 7s ease-in-out 1s infinite; }
.nzl[data-motion="flicker"] .flame { animation: m-flame 1.6s ease-in-out infinite; transform-origin: 12px 15px; transform-box: view-box; }
@keyframes m-breathe { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.06); } 30% { transform: scale(1); } }
@keyframes m-flame { 0%, 100% { transform: scale(1); opacity: 1; } 40% { transform: scale(.82, 1.12); opacity: .75; } 70% { transform: scale(1.08, .9); } }
.nzl[data-motion="wave"] .nzl-btn { animation: m-up 7s ease 1s infinite; }
.nzl[data-motion="wave"] .flag { animation: m-flag 1.4s ease-in-out infinite; transform-origin: 6px 8px; transform-box: view-box; }
@keyframes m-up { 0%, 26%, 100% { transform: translateY(0); } 8% { transform: translateY(-8px) rotate(-6deg); } 16% { transform: translateY(-8px) rotate(6deg); } }
@keyframes m-flag { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-8deg) scaleX(.9); } }
.nzl[data-motion="swing"] .nzl-prop { animation: m-pend 7s ease-in-out 1s infinite; transform-origin: 50% -6px; }
.nzl[data-motion="swing"] .nzl-btn { animation: m-breathe 7s ease-in-out 1s infinite; }
@keyframes m-pend { 0%, 36%, 100% { transform: rotate(0); } 6% { transform: rotate(28deg); } 14% { transform: rotate(-20deg); } 22% { transform: rotate(10deg); } 30% { transform: rotate(-4deg); } }
.nzl[data-motion="nod"] .nzl-btn { animation: m-nod 7s ease-in-out 1s infinite; transform-origin: 50% 90%; }
.nzl[data-motion="nod"] .dots { stroke-width: 2.6; animation: m-dots 1.8s steps(1) infinite; }
@keyframes m-nod { 0%, 30%, 100% { transform: rotate(0); } 8% { transform: rotate(8deg); } 16% { transform: rotate(0); } 22% { transform: rotate(6deg); } }
@keyframes m-dots { 0% { stroke-dasharray: 0 99; } 33% { stroke-dasharray: 0 3.5 0 99; } 66% { stroke-dasharray: 0 3.5 0 3.5 0 99; } }
.nzl[data-motion="stitch"] .nzl-ring { opacity: 1; border-style: dashed; border-color: var(--ember); animation: m-stitch 9s linear infinite; inset: -6px; }
.nzl[data-motion="stitch"] .thread { stroke-dasharray: 4 3; animation: m-thread 1.2s linear infinite; }
@keyframes m-stitch { to { transform: rotate(360deg); } }
@keyframes m-thread { to { stroke-dashoffset: -14; } }
.nzl[data-motion="tilt"] .nzl-btn { animation: m-tilt 7s ease-in-out 1s infinite; }
.nzl[data-motion="tilt"] .spin { animation: m-globe 4s linear infinite; transform-origin: 12px 12px; transform-box: view-box; }
@keyframes m-tilt { 0%, 28%, 100% { transform: rotate(0); } 7% { transform: rotate(-12deg); } 18% { transform: rotate(-12deg); } }
@keyframes m-globe { to { transform: scaleX(-1); } }

@media (max-width: 640px) {
  .nzl { right: 14px; bottom: 14px; gap: 8px; }
  .nzl-btn { width: 58px; height: 58px; }
  .nzl-bubble { width: min(250px, calc(100vw - 96px)); padding: 12px 14px; }
  .nzl-chips { display: none; }
  .nzl-label { display: none; }
  .nzl-say { font-size: 15px; }
}
.nzl.still *, .nzl.still { animation: none !important; }
.nzl.still[data-motion="stitch"] .nzl-ring { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nzl *, .nzl { animation: none !important; } }
