/* PHỐI. — lookbook store */
:root {
  --ink: #111113;
  --ink2: #3c3c42;
  --mute: #66666d;
  --line: #e4e4e8;
  --soft: #f4f4f6;
  --paper: #ffffff;
  --ground: #f3f3f5;
  --blue: #2f5fd0;
  --blue-soft: #e8ecf8;
  --sale: #b42318;
  --sale-soft: #ffe8e6;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --hd: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lock { overflow: hidden; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: background 0.25s, transform 0.25s var(--ease); }
.btn:hover { background: #2a2a30; }
.btn:active { transform: scale(0.98); }
.btn-full { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #cfcfd5; }
.btn-ghost:hover { background: var(--soft); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.lnk { font-size: 13px; font-weight: 500; color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; }
.lnk:hover { color: var(--ink); }

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hd); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.hd.scrolled { border-color: var(--line); }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.logo i { font-style: normal; color: var(--blue); }
.hd nav { display: flex; gap: 32px; }
.hd nav a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink2); text-decoration: none; padding: 6px 0; }
.hd nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.hd nav a:hover, .hd nav a.on { color: var(--ink); }
.hd nav a:hover::after, .hd nav a.on::after { transform: scaleX(1); transform-origin: left; }
.bag-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 14px; border-radius: 20px; font-size: 14px; font-weight: 600; transition: background 0.2s; }
.bag-btn:hover { background: var(--soft); }
.bag-btn [data-bag-count] { display: inline-block; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 12px; line-height: 24px; text-align: center; }
.bag-btn [data-bag-count].is-empty { background: #d9d9de; color: var(--ink2); }

/* ---------- lookbook ---------- */
.lb { position: relative; height: max(720px, 100vh); height: max(720px, 100svh); overflow: hidden; background: radial-gradient(ellipse 60% 70% at 42% 48%, #ffffff 0%, #f6f6f7 55%, #ececee 100%); }
.lb-head { position: absolute; left: 56px; top: calc(var(--hd) + 34px); z-index: 6; max-width: 420px; }
.lb-head h1 { font-size: clamp(40px, 4.2vw, 60px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.lb-head p { margin-top: 12px; font-size: 14px; color: var(--mute); }
.lb-set { position: absolute; left: 56px; top: calc(var(--hd) + 40px); z-index: 6; visibility: hidden; }
.lb-set small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--mute); }
.lb-set h2 { margin-top: 6px; font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); font-weight: 600; line-height: 1.1; }
.lb-set p { margin-top: 6px; font-size: 13px; color: var(--mute); }
.lb-back { margin-top: 18px; display: inline-flex; gap: 6px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.lb-stage { position: absolute; left: 0; top: 0; bottom: 0; right: 320px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.lb-stage.dragging { cursor: grabbing; }
.lb.open .lb-stage { cursor: default; }
.lb-ring { position: absolute; left: 50%; bottom: 7%; width: 76%; height: 20%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(205, 210, 222, 0.55) 0%, rgba(236, 236, 238, 0) 72%); }
.lb-ring::after { content: ""; position: absolute; inset: 14% 3%; border-radius: 50%; border: 1px solid rgba(17, 17, 17, 0.06); }
#lbStrip { position: absolute; inset: 0; }
.lb-m { position: absolute; left: 50%; bottom: 9%; width: 0; height: var(--fh); }
.lb-fig { position: absolute; left: 0; bottom: 0; height: var(--fh); transform: translateX(-50%); }
.lb-fig > img.mi { position: relative; height: var(--fh); width: auto; pointer-events: none; }
.lb-fig > img.rf { position: absolute; left: 0; top: 100%; height: var(--fh); width: auto; transform: scaleY(-1); transform-origin: 50% 0; opacity: 0.09; -webkit-mask-image: linear-gradient(0deg, transparent 80%, #000 100%); mask-image: linear-gradient(0deg, transparent 80%, #000 100%); pointer-events: none; }
.lb-fig .shadow { position: absolute; left: 50%; bottom: -14px; width: 78%; height: 30px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2), transparent 70%); }
.lb-hit { position: absolute; inset: 0; border-radius: 40px; }
.lb-hit:focus-visible { outline-offset: 6px; }
.hs { position: absolute; width: 0; height: 0; z-index: 3; visibility: hidden; }
.hs button { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; }
.hs .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.95); animation: pulse 2.2s var(--ease) infinite; }
.hs .dot { position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 11px; font-weight: 600; line-height: 24px; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); transition: background 0.2s, color 0.2s; }
.hs.on .dot, .hs button:hover .dot { background: var(--ink); color: #fff; }
.hs .tip { position: absolute; left: 24px; top: -16px; height: 32px; padding: 0 14px; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); font-size: 13px; font-weight: 600; line-height: 32px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.3s var(--ease); }
.hs .tip span { margin-left: 8px; color: var(--blue); }
.hs.on .tip, .hs button:hover + .tip, .hs button:focus-visible + .tip { opacity: 1; transform: none; }
.hs.left .tip { left: auto; right: 24px; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 1; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.lb-nav { position: absolute; left: 56px; right: 376px; bottom: 34px; z-index: 6; display: flex; align-items: center; gap: 16px; }
.lb-prog { position: relative; width: 160px; height: 2px; background: #d4d4d8; }
.lb-prog i { position: absolute; left: 0; top: 0; width: 12.5%; height: 2px; background: var(--ink); }
.lb-count { font-size: 12px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; }
.lb-arrows { margin-left: auto; display: flex; gap: 8px; }
.lb-arrows button { width: 44px; height: 44px; border-radius: 50%; font-size: 18px; color: var(--ink2); box-shadow: inset 0 0 0 1px #d4d4d8; background: rgba(255, 255, 255, 0.6); transition: background 0.2s, color 0.2s; }
.lb-arrows button:hover { background: var(--ink); color: #fff; box-shadow: none; }
.lb.open .lb-nav { opacity: 0; pointer-events: none; }
.lb-nav { transition: opacity 0.3s; }
.lb-panel { position: absolute; right: 0; top: var(--hd); bottom: 0; width: 320px; z-index: 6; display: flex; flex-direction: column; padding: 40px 28px 0; }
.lb-panel h2 { font-size: 14px; font-weight: 600; }
.lb-list { list-style: none; margin-top: 20px; }
.lb-item { position: relative; }
.lb-item button { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px; margin: 0 -8px 10px; width: calc(100% + 16px); border-radius: 12px; text-align: left; transition: background 0.25s; }
.lb-item button:hover, .lb-item.on button { background: var(--blue-soft); }
.th { position: relative; flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--soft); }
.th .num { position: absolute; right: 3px; top: 3px; z-index: 2; width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; line-height: 18px; text-align: center; opacity: 0; transform: scale(0.4); transition: opacity 0.25s, transform 0.35s var(--ease); }
.lb.open .th .num { opacity: 1; transform: none; }
.crop { position: absolute; width: auto; max-width: none; pointer-events: none; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.it-tx small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--mute); }
.it-tx b { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.it-tx i { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--ink2); }
.it-tx i s { margin-left: 6px; color: var(--mute); }
.lb-foot { margin-top: auto; padding-bottom: 0; }
.lb-total { display: flex; justify-content: space-between; align-items: baseline; padding: 0 0 12px; font-size: 13px; color: var(--mute); }
.lb-total b { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.lb-add { position: relative; width: calc(100% + 56px); margin: 0 -28px; height: 64px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; overflow: hidden; }
.lb-add::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(101%); transition: transform 0.45s var(--ease); }
.lb-add.done::before { transform: none; }
.lb-add span { position: relative; }
.lb-add:hover:not(.done)::before { transform: translateY(86%); }
.lb-hint { position: absolute; left: calc((100% - 320px) / 2); bottom: 46px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: var(--mute); z-index: 5; pointer-events: none; transition: opacity 0.4s; right: auto; }
.lb-hint kbd { display: inline-block; min-width: 22px; padding: 0 5px; margin: 0 2px; border-radius: 5px; box-shadow: inset 0 0 0 1px #cfcfd5; font: 600 11px/20px var(--sans); text-align: center; background: #fff; }
.lb.open .lb-hint { opacity: 0; }

/* ---------- quick view ---------- */
.qv-wrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.qv-wrap[hidden] { display: none; }
.qv-bd { position: absolute; inset: 0; background: rgba(18, 18, 24, 0.42); }
.qv { position: relative; display: grid; grid-template-columns: 600px 1fr; width: min(1100px, 100%); height: min(700px, calc(100vh - 48px)); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 100px rgba(10, 12, 30, 0.38); }
.qv-media { position: relative; overflow: hidden; background: linear-gradient(160deg, #ece9e5 0%, #d6d2cc 100%); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.qv-media.dragging { cursor: grabbing; }
.qv-track { position: absolute; inset: 0; display: flex; transition: transform 0.6s var(--ease); }
.qv-media.dragging .qv-track { transition: none; }
.qv-slide { position: relative; flex: none; width: 100%; height: 100%; overflow: hidden; }
.qv-slide .cover { object-fit: cover; }
.qv-slide.model { background: radial-gradient(ellipse at 50% 45%, #f7f6f4, #dcd8d2); }
.qv-slide.model .full { position: absolute; left: 50%; bottom: 4%; height: 92%; width: auto; transform: translateX(-50%); }
.qv-seg { position: absolute; left: 24px; right: 24px; top: 24px; display: flex; gap: 8px; z-index: 2; }
.qv-seg button { flex: 1; height: 16px; padding: 6px 0; }
.qv-seg button i { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.5); transition: background 0.3s; }
.qv-seg button.on i { background: #fff; }
.qv-rail { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.qv-rail button { position: relative; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; background: #eee; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); outline: 3px solid transparent; outline-offset: 2px; transition: outline-color 0.25s; }
.qv-rail button.on { outline-color: #fff; }
.qv-rail .crop, .qv-rail .cover { pointer-events: none; }
.qv-chip { position: absolute; left: 24px; bottom: 24px; z-index: 2; height: 38px; padding: 0 16px; border-radius: 19px; background: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 600; line-height: 38px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.qv-chip b { margin-left: 8px; color: var(--blue); font-weight: 600; }
.qv-hint { position: absolute; right: 24px; bottom: 24px; z-index: 2; height: 38px; padding: 0 16px; border-radius: 19px; background: rgba(17, 17, 17, 0.8); color: #fff; font-size: 13px; font-weight: 600; line-height: 38px; }
.qv-lens { position: absolute; z-index: 3; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.92), 0 18px 40px rgba(0, 0, 0, 0.35); pointer-events: none; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.3s var(--ease); background: #ddd; }
.qv-lens.on { opacity: 1; transform: none; }
.qv-lens .zoom { position: absolute; overflow: hidden; }
.qv-lens .zoom .qv-slide { width: 100%; height: 100%; }
.qv-zb { position: absolute; z-index: 4; height: 28px; padding: 0 10px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; line-height: 28px; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.qv-zb.on { opacity: 1; }
.qv-info { position: relative; padding: 52px 40px 28px; overflow-y: auto; display: flex; flex-direction: column; }
.qv-bc { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--mute); }
.qv-info h2 { margin-top: 8px; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.15; }
.qv-rate { margin-top: 8px; font-size: 13px; color: var(--ink2); }
.qv-rate b { margin-right: 8px; color: #a15c00; letter-spacing: 2px; font-weight: 500; }
.qv-pr { margin-top: 14px; display: flex; align-items: center; gap: 12px; }
.qv-pr b { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.qv-pr s { font-size: 16px; color: var(--mute); }
.qv-pr span { padding: 4px 10px; border-radius: 12px; background: var(--sale-soft); color: var(--sale); font-size: 13px; font-weight: 600; }
.qv-hr { height: 1px; background: #ececef; margin: 20px 0 18px; }
.qv-lbl { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink2); }
.qv-lbl b { color: var(--ink); font-weight: 600; }
.qv-sw { display: flex; gap: 14px; margin: 12px 0 22px; }
.qv-sw button { position: relative; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.qv-sw button::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; transition: border-color 0.2s; }
.qv-sw button[aria-checked="true"]::after { border-color: var(--ink); }
.qv-sw button[aria-disabled="true"]::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; background: rgba(255, 255, 255, 0.9); transform: rotate(45deg); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.3); }
.qv-sz { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.qv-sz button { position: relative; min-width: 64px; height: 46px; padding: 0 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px #d5d5da; font-size: 15px; font-weight: 600; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.qv-sz button:hover:not([disabled]) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.qv-sz button[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.qv-sz button[disabled] { color: #a8a8ae; background: repeating-linear-gradient(135deg, transparent 0 6px, #f1f1f3 6px 7px); cursor: not-allowed; text-decoration: line-through; }
.qv-err { min-height: 20px; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--sale); }
.qv-sg { position: relative; }
.qv-sgBox { position: absolute; right: 0; top: 26px; z-index: 5; width: 300px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); font-size: 12px; }
.qv-sgBox table { width: 100%; border-collapse: collapse; }
.qv-sgBox th, .qv-sgBox td { padding: 6px 4px; text-align: left; border-bottom: 1px solid var(--line); }
.qv-sgBox th { font-weight: 600; }
.qv-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.qv-feat div { position: relative; height: 44px; padding-left: 40px; border-radius: 12px; background: var(--soft); font-size: 13px; font-weight: 500; line-height: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qv-feat div::before { content: ""; position: absolute; left: 16px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #dfe7fb; }
.qv-buy { display: flex; gap: 12px; margin-top: auto; padding-top: 22px; }
.qv-add { flex: 1; height: 60px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; transition: background 0.3s; }
.qv-add:hover { background: #2a2a30; }
.qv-add.done { background: var(--blue); }
.qv-heart { position: relative; flex: none; width: 60px; height: 60px; border-radius: 14px; box-shadow: inset 0 0 0 1px #d5d5da; }
.qv-heart svg { position: absolute; left: 17px; top: 18px; }
.qv-heart .fill { opacity: 0; transition: opacity 0.2s; }
.qv-heart[aria-pressed="true"] .fill { opacity: 1; }
.qv-burst i { position: absolute; left: 26px; top: 26px; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; opacity: 0; }
.qv-note { margin-top: 14px; font-size: 12px; color: var(--mute); }
.qv-x { position: absolute; right: 20px; top: 20px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: #f1f1f3; font-size: 22px; line-height: 38px; transition: background 0.2s; }
.qv-x:hover { background: #e4e4e8; }
.qv-set { margin-top: 12px; font-size: 13px; color: var(--ink2); }

/* ---------- set size sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 62; display: grid; place-items: center; padding: 24px; }
.sheet-wrap[hidden] { display: none; }
.sheet { position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 32px; border-radius: 24px; background: #fff; box-shadow: 0 40px 100px rgba(10, 12, 30, 0.35); }
.sheet h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; }
.sheet > p { margin-top: 6px; font-size: 14px; color: var(--mute); }
.sheet-row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sheet-row .qv-sz { margin-top: 8px; }
.sheet-row .qv-sz button { min-width: 48px; height: 40px; font-size: 14px; }
.sheet-sum { display: flex; justify-content: space-between; margin: 20px 0 14px; font-size: 14px; color: var(--mute); }
.sheet-sum b { font-size: 18px; color: var(--ink); }
.sheet .qv-x { right: 16px; top: 16px; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer[hidden] { display: none; }
.dw-bd { position: absolute; inset: 0; background: rgba(18, 18, 24, 0.4); opacity: 0; transition: opacity 0.4s; }
.dw-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform 0.45s var(--ease); }
.drawer.on .dw-bd { opacity: 1; }
.drawer.on .dw-panel { transform: none; }
.dw-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dw-head h2 { font-size: 18px; font-weight: 600; }
.dw-close { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); font-size: 22px; line-height: 38px; }
#dwBody { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dw-ship { padding: 16px 24px; background: var(--soft); font-size: 13px; }
.dw-ship .bar { height: 4px; margin-top: 8px; border-radius: 2px; background: #dcdce1; overflow: hidden; }
.dw-ship .bar i { display: block; height: 100%; background: var(--blue); transition: width 0.6s var(--ease); }
.dw-list { flex: 1; overflow-y: auto; list-style: none; padding: 8px 24px; }
.dw-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dw-line .th { width: 72px; height: 72px; }
.dw-tx small { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--mute); }
.dw-tx b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; margin-top: 2px; }
.dw-ctl { display: flex; gap: 10px; margin-top: 10px; }
.sel select { height: 34px; padding: 0 28px 0 12px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px #d5d5da; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; font-size: 13px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; height: 34px; border-radius: 10px; box-shadow: inset 0 0 0 1px #d5d5da; }
.qty button { width: 32px; height: 34px; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.dw-pr { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.dw-pr b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dw-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.dw-sum { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 14px; color: var(--mute); }
.dw-sum b { font-size: 18px; color: var(--ink); }
.fine { margin-top: 10px; font-size: 12px; color: var(--mute); text-align: center; }
.dw-empty { margin: auto; padding: 40px; text-align: center; }
.dw-empty p { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.dw-empty span { display: block; margin: 8px 0 22px; font-size: 14px; color: var(--mute); }

.flyer { position: fixed; z-index: 90; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--soft); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); pointer-events: none; }
#toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; padding: 14px 22px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transform: translate(-50%, 140%); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.3s; pointer-events: none; max-width: calc(100% - 32px); }
#toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- sections ---------- */
.sec { padding: 120px 56px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.kick { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--mute); }
.sec-head h2, .h2 { margin-top: 10px; font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; }
.sec-head p { max-width: 420px; margin-top: 12px; font-size: 15px; color: var(--mute); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { height: 40px; padding: 0 18px; border-radius: 20px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px #d5d5da; transition: background 0.2s, color 0.2s; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.card { position: relative; }
.card-btn { display: block; width: 100%; text-align: left; }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #f1efec 0%, #e2dfda 100%); }
.card-img .a, .card-img .b { position: absolute; inset: 0; transition: opacity 0.5s, transform 0.9s var(--ease); }
.card-img .b { opacity: 0; transform: scale(1.06); }
.card:hover .card-img .a { opacity: 0; }
.card:hover .card-img .b { opacity: 1; transform: none; }
.card-img .tag { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 10px; background: var(--sale-soft); color: var(--sale); font-size: 12px; font-weight: 600; }
.card-img .qk { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 600; line-height: 44px; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.card:hover .qk, .card-btn:focus-visible .qk { opacity: 1; transform: none; }
.card-tx { margin-top: 14px; }
.card-tx small { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--mute); }
.card-tx b { display: block; margin-top: 3px; font-size: 15px; font-weight: 600; }
.card-tx span { display: block; margin-top: 3px; font-size: 14px; color: var(--ink2); }
.card-tx span s { margin-left: 8px; color: var(--mute); }
.card-set { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--blue); text-decoration: none; }
.card-set:hover { text-decoration: underline; }

.guide { background: #111113; color: #fff; }
.guide .kick { color: #a2a2aa; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rule { position: relative; border-radius: 22px; background: #1c1c20; overflow: hidden; display: grid; grid-template-rows: 380px auto; }
.rule-img { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #f3f2ef, #cfcbc4); }
.rule-img img { position: absolute; left: 50%; bottom: -4%; height: 104%; width: auto; transform: translateX(-50%); }
.rule-img .sw { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 6px; }
.rule-img .sw i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, 0.2); }
.rule-tx { padding: 26px 26px 30px; }
.rule-tx em { font-style: normal; font-family: var(--serif); font-size: 40px; font-weight: 600; color: #8fb0ff; line-height: 1; }
.rule-tx h3 { margin-top: 12px; font-size: 20px; font-weight: 600; }
.rule-tx p { margin-top: 8px; font-size: 14px; color: #b9b9c1; }
.rule-tx a { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: #fff; }

.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc div { padding: 28px; border-radius: 20px; background: var(--soft); }
.svc b { display: block; font-size: 17px; font-weight: 600; }
.svc span { display: block; margin-top: 6px; font-size: 14px; color: var(--mute); }
.svc i { display: block; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--blue-soft); position: relative; }
.svc i::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--blue); }

.ft { padding: 64px 56px 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; font-size: 14px; color: var(--ink2); }
.ft .logo { font-size: 40px; }
.ft p { margin-top: 10px; max-width: 360px; color: var(--mute); }
.ft h3 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.ft ul { list-style: none; display: grid; gap: 6px; }
.ft ul a { text-decoration: none; }
.ft ul a:hover { text-decoration: underline; }
.ft small { grid-column: 1 / -1; margin-top: 24px; font-size: 12px; color: var(--mute); }

/* ---------- checkout ---------- */
.co { max-width: 1180px; margin: 0 auto; padding: calc(var(--hd) + 40px) 40px 80px; display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.co h1 { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1.1; }
.steps { display: flex; gap: 8px; margin: 26px 0 30px; list-style: none; }
.steps li { flex: 1; }
.steps button { width: 100%; text-align: left; padding-top: 12px; border-top: 3px solid var(--line); font-size: 13px; font-weight: 600; color: var(--mute); transition: border-color 0.3s, color 0.3s; }
.steps li.on button, .steps li.done button { border-color: var(--ink); color: var(--ink); }
.steps button[disabled] { cursor: default; }
.steps b { display: block; font-size: 11px; letter-spacing: 0.12em; font-weight: 600; color: var(--mute); }
.co > div { min-width: 0; }
.pane-wrap { position: relative; overflow: hidden; transition: height 0.5s var(--ease); }
.panes { display: flex; transition: transform 0.6s var(--ease); align-items: flex-start; }
.pane { flex: none; width: 100%; padding: 2px; }
.pane[aria-hidden="true"] { visibility: hidden; }
.pane h2 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.fld { display: grid; gap: 6px; margin-bottom: 16px; }
.fld label { font-size: 13px; font-weight: 600; }
.fld input, .fld select, .fld textarea { height: 50px; padding: 0 16px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px #d5d5da; background: #fff; font-size: 15px; transition: box-shadow 0.2s; }
.fld textarea { height: 90px; padding: 12px 16px; resize: vertical; font: inherit; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.fld.bad input, .fld.bad select { box-shadow: inset 0 0 0 2px var(--sale); }
.fld .err { font-size: 13px; color: var(--sale); min-height: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt { display: grid; gap: 12px; margin-bottom: 20px; }
.opt label { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px #d5d5da; cursor: pointer; transition: box-shadow 0.2s, background 0.2s; }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); }
.opt label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: #fafafb; }
.opt b { display: block; font-size: 15px; font-weight: 600; }
.opt span { font-size: 13px; color: var(--mute); }
.opt em { font-style: normal; font-size: 14px; font-weight: 600; }
.pane-act { display: flex; gap: 12px; justify-content: space-between; margin-top: 12px; }
.sum { position: sticky; top: calc(var(--hd) + 24px); padding: 28px; border-radius: 22px; background: var(--soft); }
.sum h2 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.sum ul { list-style: none; }
.sum li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e2e2e6; }
.sum .th { width: 56px; height: 56px; background: #fff; }
.sum li b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.sum li small { font-size: 12px; color: var(--mute); }
.sum .qty { height: 28px; margin-top: 6px; background: #fff; }
.sum .qty button { width: 26px; height: 28px; font-size: 14px; }
.sum .lp { text-align: right; font-size: 13px; font-weight: 600; }
.sum .lp .lnk { display: block; margin-top: 8px; font-size: 12px; }
.code { display: flex; gap: 8px; margin: 16px 0 6px; }
.code input { flex: 1; height: 44px; padding: 0 14px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px #d5d5da; background: #fff; font-size: 14px; text-transform: uppercase; }
.code button { height: 44px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.code-msg { min-height: 18px; font-size: 12px; color: var(--mute); }
.code-msg.ok { color: #1f7a3d; }
.code-msg.bad { color: var(--sale); }
.tot { margin-top: 10px; display: grid; gap: 8px; font-size: 14px; color: var(--ink2); }
.tot div { display: flex; justify-content: space-between; }
.tot .grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid #dcdce1; font-size: 15px; color: var(--ink); font-weight: 600; }
.tot .grand b { font-size: 22px; font-weight: 600; }
.co-empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; }
.co-empty p { margin: 10px 0 24px; color: var(--mute); }
.demo-note { margin-top: 14px; font-size: 12px; color: var(--mute); }

/* ---------- success ---------- */
.ok-page { min-height: 100vh; padding: calc(var(--hd) + 48px) 40px 80px; background: radial-gradient(ellipse 70% 60% at 50% 30%, #ffffff 0%, #f3f3f5 70%); text-align: center; }
.ok-mark { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.ok-page h1 { margin-top: 24px; font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); font-weight: 600; line-height: 1.1; }
.ok-page .lead { margin-top: 10px; color: var(--mute); }
.ok-code { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.ok-line { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 360px; margin: 40px auto 0; max-width: 900px; }
.ok-line img { height: 340px; width: auto; }
.ok-line::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 30px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, 0.14), transparent 70%); z-index: -1; }
.track { display: flex; max-width: 720px; margin: 48px auto 0; list-style: none; }
.track li { flex: 1; position: relative; padding-top: 26px; font-size: 13px; font-weight: 600; color: var(--mute); }
.track li::before { content: ""; position: absolute; left: 50%; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #d4d4d8; z-index: 1; }
.track li::after { content: ""; position: absolute; left: -50%; right: 50%; top: 6px; height: 2px; background: #d4d4d8; }
.track li:first-child::after { display: none; }
.track li.on { color: var(--ink); }
.track li.on::before { background: var(--blue); box-shadow: 0 0 0 5px var(--blue-soft); }
.track li.on::after { background: var(--blue); }
.ok-box { max-width: 720px; margin: 48px auto 0; padding: 28px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.ok-box h2 { font-size: 16px; font-weight: 600; }
.ok-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; font-size: 14px; color: var(--ink2); }
.ok-grid b { display: block; font-size: 12px; letter-spacing: 0.08em; color: var(--mute); margin-bottom: 4px; font-weight: 600; }
.ok-act { display: flex; gap: 12px; justify-content: center; margin-top: 36px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .qv { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hd nav { display: none; }
  .lb { height: auto; min-height: 0; padding-top: var(--hd); }
  .lb-head, .lb-set { position: relative; left: auto; top: auto; padding: 28px 20px 0; max-width: none; }
  .lb-set { position: absolute; left: 0; top: var(--hd); }
  .lb-head h1 { font-size: 40px; }
  .lb-stage { position: relative; right: auto; height: 520px; margin-top: -10px; }
  .lb-nav { position: relative; left: auto; right: auto; bottom: auto; padding: 0 20px 18px; }
  .lb-hint { display: none; }
  .lb-panel { position: relative; top: auto; width: auto; padding: 22px 20px 0; border-top: 1px solid var(--line); background: #fff; }
  .lb-list { display: grid; grid-template-columns: 1fr; }
  .lb-add { width: calc(100% + 40px); margin: 6px -20px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .rules, .svc { grid-template-columns: 1fr; }
  .sec { padding: 80px 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .ft { grid-template-columns: 1fr 1fr; padding: 48px 20px 32px; }
  .ft > div:first-child { grid-column: 1 / -1; }
  .qv-wrap { padding: 0; align-items: end; }
  .qv { grid-template-columns: 1fr; grid-template-rows: 46vh 1fr; width: 100%; height: 94vh; height: 94svh; border-radius: 22px 22px 0 0; }
  .qv-info { padding: 24px 20px 20px; }
  .qv-info h2 { font-size: 26px; }
  .qv-rail { display: none; }
  .qv-hint { display: none; }
  .qv-buy { position: sticky; bottom: -20px; background: #fff; padding-bottom: 4px; }
  .co { grid-template-columns: 1fr; padding: calc(var(--hd) + 24px) 20px 60px; gap: 32px; }
  .sum { position: relative; top: auto; order: -1; }
  .ok-line { height: 240px; }
  .ok-line img { height: 220px; }
}
@media (max-width: 560px) {
  .hd { padding: 0 16px; }
  .bag-btn .lbl { display: none; }
  .lb-stage { height: 470px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card-tx b { font-size: 14px; }
  .row2 { grid-template-columns: 1fr; }
  .co h1 { font-size: 34px; }
  .steps button { font-size: 12px; }
  .ok-grid { grid-template-columns: 1fr; }
  .ok-act { flex-direction: column; }
  .ok-line { gap: 0; }
  .ok-line img { height: 180px; }
  .ok-line { height: 200px; }
  .sheet { padding: 24px 18px; }
  .rule { grid-template-rows: 320px auto; }
  .hs .tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- Phối thử: re-dye the model ---------- */
.guide .sec-head p { color: #a2a2aa; }
.mix { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: stretch; }
.mix-stage { position: relative; min-height: 640px; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 50% 58%, #f6f5f2 0%, #dedbd5 70%, #cfcbc4 100%); }
.mix-stage::after { content: ""; position: absolute; left: 50%; bottom: 62px; width: 46%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.22), transparent); }
.mix-fig { position: absolute; inset: 28px 0 70px; z-index: 1; }
.mix-fig canvas { position: absolute; left: 50%; top: 0; height: 100%; width: auto; transform: translateX(-50%); opacity: 0; transition: opacity 0.45s var(--ease); }
.mix-fig canvas.on { opacity: 1; }
.mix-fig canvas.instant { transition: none; }
.mix-models { position: absolute; left: 18px; bottom: 16px; z-index: 2; display: flex; gap: 8px; }
.mix-models button { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background-color: #e9e7e3; background-repeat: no-repeat; background-size: 250% auto; background-position: 50% 4%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.12); transition: box-shadow 0.2s, transform 0.25s var(--ease); }
.mix-models button:hover { transform: translateY(-2px); }
.mix-models button[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.mix-note { position: absolute; right: 18px; bottom: 18px; z-index: 2; max-width: 220px; margin: 0; font-size: 11px; line-height: 1.5; color: #6d6b67; text-align: right; }
.mix-ctrl { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: #1c1c20; }
.mix-part + .mix-part { margin-top: 20px; }
.mix-lab { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 14px; }
.mix-lab b { font-weight: 600; color: #fff; }
.mix-lab span { color: #a2a2aa; }
.mix-sw { display: flex; flex-wrap: wrap; gap: 10px; }
.mix-sw button { width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); transition: box-shadow 0.2s, transform 0.25s var(--ease); }
.mix-sw button:hover { transform: scale(1.08); }
.mix-sw button[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 3px #1c1c20, 0 0 0 5px #fff; }
.mix-sw button:focus-visible, .mix-models button:focus-visible { outline: 2px solid #8fb0ff; outline-offset: 6px; }
.mix-rules { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid #2c2c32; display: grid; gap: 14px; }
.mix-rules li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.mix-rules li > i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #2c2c32; color: #8b8b94; transition: background 0.3s, color 0.3s; }
.mix-rules li > i svg { width: 14px; height: 14px; }
.mix-rules li.ok > i { background: var(--blue); color: #fff; }
.mix-rules b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.mix-rules li > div span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: #a2a2aa; }
.mix-rules .mix-score { display: block; font-size: 13px; color: #a2a2aa; }
.mix-rules .mix-score b { display: inline; margin-right: 6px; font-family: var(--serif); font-size: 26px; color: #fff; }
.mix .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mix-sum { margin-top: auto; padding-top: 22px; }
.mix-items { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid #2c2c32; display: grid; gap: 6px; }
.mix-it { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px; margin: 0 -6px; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 0.2s; }
.mix-it:hover { background: #26262b; }
.mix-it .th { width: 48px; height: 56px; background: #2a2a2f; }
.mix .it-tx b { color: #fff; }
.mix .it-tx i { color: #c9c9cf; }
.mix .it-tx small { color: #8b8b94; }
.mix-go { margin-left: auto; font-size: 12px; font-weight: 600; color: #8fb0ff; white-space: nowrap; }
.mix-tot { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 14px; font-size: 13px; color: #a2a2aa; }
.mix-tot b { font-size: 18px; color: #fff; }
.mix-add { background: #fff; color: var(--ink); }
.mix-add:hover { background: #e9e9ee; }
.mix-add.done { background: var(--blue); color: #fff; }
@media (max-width: 980px) {
  .mix { grid-template-columns: 1fr; }
  .mix-stage { min-height: 560px; }
}
@media (max-width: 560px) {
  .mix-stage { min-height: 480px; border-radius: 18px; }
  .mix-fig { inset: 20px 0 74px; }
  .mix-note { left: 18px; right: auto; bottom: auto; top: 14px; max-width: 170px; text-align: left; }
  .mix-ctrl { padding: 22px 18px; border-radius: 18px; }
  .mix-sw { gap: 9px; }
  .mix-sw button { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .mix-fig canvas, .mix-sw button, .mix-models button, .mix-rules li > i { transition: none; } }
#sheet h2 { padding-right: 48px; }
.mix-foot { display: none; margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: #8b8b94; }
@media (max-width: 560px) { .mix-note { display: none; } .mix-foot { display: block; } }
