/* JellyTarot storefront.
   Layout concept: a night-sky jewellery box — galaxy "night" bands alternate with lavender "day" bands;
   constellation lines from the logo tie headings together; product photos always sit on light ground. */
.st {
  --navy: #131357;
  --night: #0d0d33;
  --night-2: #17124a;
  --purple: #6b26ba;
  --violet: #603bd6;
  --orchid: #b53af0;
  --sky: #3b8edc;
  --royal: #112a82;
  --paper: #f7f4fd;
  --paper-2: #efe8fb;
  --card: #ffffff;
  --line: #e4dbf5;
  --ink: #1c1a4a;
  --ink-2: #5d5888;
  --on-dark: #f4f0ff;
  --on-dark-2: #bcb4e6;
  --dark-line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.07);
  --ok: #1f9d6b;
  --warn: #c77a12;
  --danger: #d4405b;
  --line-green: #06c755;
  --f-en: 'Cormorant Garamond', 'Cormorant', 'Noto Serif Thai', Georgia, serif;
  --f-th: 'Noto Serif Thai', 'Cormorant Garamond', serif;
  --f-body: 'Anuphan', 'Noto Sans Thai', 'Leelawadee UI', 'Thonburi', system-ui, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(28, 18, 90, 0.28);
  --shadow-glow: 0 18px 60px -18px rgba(181, 58, 240, 0.55);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 60px;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--night);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.st-body { background: #0d0d33; margin: 0; color-scheme: light; }
body.st-body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #0d0d33; }
.st *, .st *::before, .st *::after { box-sizing: border-box; }
.st img { max-width: 100%; height: auto; display: block; }
.st a { color: inherit; }
.st button { font: inherit; color: inherit; }
.st .ic { width: 20px; height: 20px; flex: none; }
.st .s8 { width: 14px; height: 14px; flex: none; }
.st :focus-visible { outline: 2px solid var(--orchid); outline-offset: 2px; border-radius: 6px; }
.st .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st .tnum { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* ---------- Buttons ---------- */
.st .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
}
.st .btn:active { transform: translateY(1px); }
.st .btn.primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px -10px rgba(107, 38, 186, .8); }
.st .btn.primary:hover { background: #5a1f9f; }
.st .btn.glow { background: linear-gradient(120deg, var(--purple), var(--orchid)); color: #fff; box-shadow: var(--shadow-glow); }
.st .btn.glow:hover { filter: brightness(1.08); }
.st .btn.light { background: #fff; color: var(--navy); }
.st .btn.light:hover { background: #efe9ff; }
.st .btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.st .dark .btn.ghost, .st .btn.ghost.on-dark { border-color: rgba(255,255,255,.35); color: var(--on-dark); }
.st .btn.ghost:hover { border-color: var(--purple); }
.st .dark .btn.ghost:hover { background: rgba(255,255,255,.08); }
.st .btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.st .btn.block { width: 100%; }
.st .btn[disabled] { opacity: .5; cursor: not-allowed; }
.st .btn.ch-line { background: #06c755; color: #fff; }
.st .btn.ch-messenger { background: #0866ff; color: #fff; }
.st .btn.ch-whatsapp { background: #1fae54; color: #fff; }
.st .icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; flex: none;
}
.st .dark .icon-btn { background: var(--glass); border-color: var(--dark-line); color: var(--on-dark); }
.st .icon-btn:disabled { opacity: .35; cursor: default; }
.st .link { color: var(--purple); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; cursor: pointer; }
.st .dark .link { color: #d9c7ff; }

/* ---------- Announcement + header ---------- */
.ann { background: linear-gradient(90deg, var(--purple), var(--orchid)); color: #fff; font-size: 13px; }
.ann .wrap { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; text-align: center; }
.ann .s8 { width: 11px; height: 11px; opacity: .85; }
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 13, 51, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dark-line); color: var(--on-dark);
}
.hdr .wrap { display: flex; align-items: center; gap: 12px; height: var(--header-h); max-width: 1340px; }
.hdr .logo { display: flex; align-items: center; height: 100%; flex: none; }
.hdr .logo img { height: 36px; width: auto; }
.hdr nav { display: none; gap: 2px; margin-inline: auto; }
.hdr nav a { padding: 8px 11px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--on-dark-2); white-space: nowrap; }
.hdr nav a:hover, .hdr nav a.on { color: #fff; background: rgba(255,255,255,.08); }
.hdr .actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr .actions .icon-btn { background: transparent; border-color: transparent; color: var(--on-dark); width: 42px; height: 42px; }
.hdr .actions .icon-btn:hover { background: rgba(255,255,255,.08); }
.cart-btn { position: relative; }
.cart-btn .count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--orchid); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.game-pill { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 10px 4px 8px; border-radius: 999px; border: 1px dashed rgba(233, 207, 143, .55); color: #f3e2b0; background: rgba(233, 185, 73, .08); line-height: 1.1; cursor: default; user-select: none; flex: 0 1 auto; min-width: 0; }
.game-pill .ic { width: 15px; height: 15px; flex: none; color: #e9cf8f; }
.game-pill .t { display: grid; min-width: 0; }
.game-pill b { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr .game-pill { flex-shrink: 0; }
@media (max-width: 1199px) { .hdr .game-pill { flex-shrink: 1; } }
.game-pill small { font-size: 10px; color: #cfc6f5; white-space: nowrap; }
.game-pill .full { display: none; }
.hdr .game-pill + .actions { margin-left: 4px; }
@media (max-width: 479px) {
  .hdr .wrap { gap: 8px; }
  .hdr .actions { gap: 2px; }
  .hdr .actions .icon-btn { width: 40px; height: 40px; }
  .game-pill { gap: 4px; padding: 3px 8px; }
  .game-pill .ic { display: none; }
  .game-pill b { font-size: 10.5px; } .game-pill small { font-size: 9.5px; }
}
@media (max-width: 379px) { .game-pill .the { display: none; } .hdr .logo img { height: 32px; } }
@media (min-width: 1280px) { .game-pill .full { display: inline; } }
.drawer-nav .game-row { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 12px 4px; color: #f3e2b0; border-top: 1px dashed rgba(255,255,255,.18); margin-top: 6px; }
.drawer-nav .game-row .ic { grid-row: span 2; width: 18px; height: 18px; }
.drawer-nav .game-row small { color: var(--on-dark-2); font-size: 12px; }
.member-btn { display: none !important; }
@media (min-width: 1200px) {
  .hdr nav { display: flex; }
  .hdr .menu-btn { display: none !important; }
  .member-btn { display: inline-grid !important; }
  .hdr .game-pill { margin-left: 8px; }
}
@media (min-width: 1200px) and (max-width: 1439px) { .hdr nav a { padding: 8px 8px; font-size: 14px; } }

/* Mobile drawer menu */
.drawer-nav { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.drawer-nav .bg { position: absolute; inset: 0; background: rgba(8, 6, 30, .5); opacity: 0; transition: opacity .25s; }
.drawer-nav .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--night) url('../img/galaxy-900.webp') center / cover; color: var(--on-dark);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) 20px;
  overflow-y: auto;
}
.drawer-nav .panel::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,51,.72), rgba(13,13,51,.9)); z-index: -1; }
.drawer-nav.open { pointer-events: auto; }
.drawer-nav.open .bg { opacity: 1; }
.drawer-nav.open .panel { transform: none; }
.drawer-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-nav .top img { height: 34px; }
.drawer-nav .links { display: grid; gap: 2px; }
.drawer-nav .links a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 6px; border-bottom: 1px solid var(--dark-line); text-decoration: none; }
.drawer-nav .links a b { font-weight: 500; font-size: 16.5px; }
.drawer-nav .links a small { font-family: var(--f-en); font-size: 13px; letter-spacing: .12em; color: var(--on-dark-2); text-transform: uppercase; }
.drawer-nav .chs { display: grid; gap: 8px; margin-top: auto; padding-top: 22px; }

/* ---------- Sections ---------- */
.sec { padding-block: 64px; position: relative; }
.sec.light { background: var(--paper); color: var(--ink); }
.sec.light.alt { background: var(--paper-2); }
.sec.dark { background: var(--night); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.sec.dark::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: url('../img/galaxy-1600.webp') center / cover no-repeat;
  opacity: .55;
}
.sec.dark::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,51,.55), rgba(13,13,51,.82)); }
.sec.dark.deep::before { opacity: .3; filter: hue-rotate(-12deg); }
@media (min-width: 900px) { .sec { padding-block: 88px; } }

.hd { display: grid; gap: 6px; margin-bottom: 30px; max-width: 760px; }
.hd.center { text-align: center; margin-inline: auto; justify-items: center; }
.hd .cst { width: 120px; height: 16px; color: var(--purple); opacity: .75; margin-bottom: 4px; }
.dark .hd .cst { color: #c9b5ff; }
.hd .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.dark .hd .eyebrow { color: var(--on-dark-2); }
.hd h2 {
  margin: 0; font-family: var(--f-en); font-weight: 600; font-size: clamp(32px, 6vw, 54px); line-height: 1.02;
  letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; color: var(--navy);
}
.dark .hd h2 { color: #fff; }
.hd .th { margin: 4px 0 0; font-family: var(--f-th); font-size: clamp(18px, 2.6vw, 22px); font-weight: 500; color: var(--purple); text-wrap: balance; }
.dark .hd .th { color: #dccdff; }
.hd .lead { margin: 6px 0 0; color: var(--ink-2); max-width: 62ch; }
.dark .hd .lead { color: var(--on-dark-2); }
.hd-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hd-row .hd { margin-bottom: 0; }
.hd-row .ctrls { display: flex; gap: 8px; align-items: center; }
.swipe-hint { display: none; align-items: center; gap: 2px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.swipe-hint .ic { width: 14px; height: 14px; }
.dark .swipe-hint { color: var(--on-dark-2); }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 64px; }
.hero::before { opacity: .9 !important; background-position: 30% 40% !important; }
.hero::after { background: radial-gradient(120% 90% at 20% 10%, rgba(13,13,51,.15), rgba(13,13,51,.75) 70%) !important; }
.hero .grid { display: grid; gap: 34px; align-items: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 600; }
.hero .eyebrow .s8 { color: #d7c4ff; width: 12px; height: 12px; }
.hero h1 {
  margin: 14px 0 10px; font-family: var(--f-en); font-weight: 500; font-style: italic;
  font-size: clamp(40px, 9vw, 78px); line-height: .98; letter-spacing: -.005em; text-wrap: balance; color: #fff;
}
.hero .th1 { margin: 0; font-family: var(--f-th); font-size: clamp(19px, 3vw, 24px); color: #e6dbff; font-weight: 500; }
.hero p.lead { margin: 14px 0 0; color: var(--on-dark-2); max-width: 52ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .steps { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; font-size: 13px; color: var(--on-dark-2); }
.hero .steps span { display: inline-flex; align-items: center; gap: 6px; }
.hero .steps .s8 { width: 9px; height: 9px; color: #c9b5ff; }
.tarot {
  position: relative; width: min(100%, 380px); margin-inline: auto; padding: 14px 14px 12px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.28); box-shadow: var(--shadow-glow), inset 0 0 0 6px rgba(255,255,255,.04);
  transform: rotate(-2.5deg); cursor: pointer;
}
.tarot .frame { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #241c5c; }
.tarot .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s ease; }
.tarot .corner { position: absolute; color: #fff; opacity: .9; width: 16px; height: 16px; }
.tarot .corner.tl { top: -7px; left: -7px; } .tarot .corner.br { bottom: 44px; right: -7px; }
.tarot .cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px 0; font-size: 13px; color: #fff; }
.tarot .cap b { font-family: var(--f-en); font-size: 18px; font-weight: 600; letter-spacing: .02em; }
.tarot .cap small { color: var(--on-dark-2); font-size: 12px; }
.tarot .dots { display: flex; gap: 4px; }
.tarot .dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); transition: width .3s, background .3s; }
.tarot .dots i.on { width: 16px; background: #fff; }
@media (min-width: 900px) {
  .hero { padding-block: 72px 96px; }
  .hero .grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .tarot { width: 400px; }
}

/* ---------- Path tiles ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.path {
  display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: 12px 12px 16px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdbdf0; }
.path .art { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.path .art img { width: 100%; height: 100%; object-fit: cover; }
.path .en { font-family: var(--f-en); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.path .t { font-weight: 600; font-size: 15px; margin-top: 3px; }
.path .b { font-size: 13px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.path.fortune { background: linear-gradient(160deg, var(--navy), #2a1670); border-color: transparent; color: var(--on-dark); }
.path.fortune .en { color: #fff; } .path.fortune .b { color: var(--on-dark-2); }
@media (min-width: 640px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .paths { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- Intention finder ---------- */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.topic {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--dark-line); color: var(--on-dark); cursor: pointer; text-align: center;
  font-size: 13.5px; line-height: 1.25; transition: background .2s, border-color .2s, transform .15s;
}
.topic .s8 { width: 22px; height: 22px; color: #bfa8ff; transition: transform .4s ease, color .2s; }
.topic:hover { background: rgba(255,255,255,.12); }
.topic[aria-pressed="true"] { background: linear-gradient(160deg, rgba(181,58,240,.45), rgba(96,59,214,.4)); border-color: rgba(255,255,255,.55); }
.topic[aria-pressed="true"] .s8 { color: #fff; transform: rotate(22.5deg) scale(1.1); }
.topic .rank { position: absolute; top: 6px; right: 8px; font-size: 11px; font-weight: 700; color: #fff; }
.finder-out { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.finder-out > * { min-width: 0; }
.finder-out .note { font-size: 13px; color: var(--on-dark-2); }
.finder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .topics { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* ---------- Product cards & scrollers ---------- */
.scroller-wrap { position: relative; }
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 46%); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  padding: 4px var(--gutter-r) 14px var(--gutter); margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-r) * -1);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 640px) { .scroller { grid-auto-columns: minmax(200px, 31%); } }
@media (min-width: 1000px) { .scroller { grid-auto-columns: calc((100% - 36px) / 4); margin-inline: 0; padding-inline: 0; scroll-padding-left: 0; } }

.pc {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); min-width: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}
.pc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pc .img { position: relative; aspect-ratio: 1 / 1; background: var(--paper-2); overflow: hidden; display: block; }
.pc .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pc:hover .img img { transform: scale(1.04); }
.pc .badges { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: #fff; color: var(--purple); box-shadow: 0 2px 6px rgba(20, 10, 60, .12); }
.badge.hot { background: #ffe9f3; color: #b4235f; }
.badge.best { background: var(--navy); color: #fff; }
.badge.new { background: #efe6ff; color: var(--purple); }
.badge.sample { background: #fff4d6; color: #8a5a00; }
.pc .soldout { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(247, 244, 253, .62); font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.pc .body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; flex: 1; }
.pc .cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.pc .nm { font-family: var(--f-en); font-weight: 700; font-size: 18px; line-height: 1.12; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.pc .nm::after { content: ''; position: absolute; inset: 0; }
.pc .nt { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.pc .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.pc .price { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.pc .price.ask { font-weight: 600; font-size: 13.5px; color: var(--purple); }
.pc .mode { font-size: 11.5px; color: var(--ink-2); }
.pc .add { position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--purple); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.pc .add:hover { background: var(--purple); color: #fff; }
.pc .add:disabled { opacity: .35; cursor: default; }
.pc .fit { position: absolute; top: 8px; right: 8px; z-index: 1; background: rgba(19, 19, 87, .86); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.dark .pc { border-color: transparent; }
.more-card { display: grid; place-items: center; text-align: center; gap: 8px; border-radius: var(--r); border: 1px dashed #c7b7ef; color: var(--purple); text-decoration: none; padding: 20px; min-height: 220px; font-weight: 600; }
.dark .more-card { border-color: rgba(255,255,255,.3); color: #e6dbff; }
.more-card .s8 { width: 26px; height: 26px; }

.shop-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.shop-tabs button { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s; min-width: 0; }
.shop-tabs button:hover { border-color: #cdbdf0; transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(60, 30, 140, .6); }
.shop-tabs .art { flex: none; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.shop-tabs .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-tabs .tx { display: grid; gap: 2px; min-width: 0; }
.shop-tabs b { font-size: 16px; line-height: 1.25; }
.shop-tabs small { font-size: 12px; color: var(--ink-2); }
.shop-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 14px 28px -18px rgba(19, 19, 87, .9); }
.shop-tabs button[aria-selected="true"] small { color: #cfc6f5; }
@media (max-width: 699px) {
  .shop-tabs { gap: 8px; }
  .shop-tabs button { flex-direction: column; text-align: center; padding: 10px 6px 12px; gap: 8px; border-radius: 18px; }
  .shop-tabs .art { width: 60px; height: 60px; border-radius: 50%; }
  .shop-tabs b { font-size: 14.5px; }
  .shop-tabs small { font-size: 11px; }
  .shop-tabs small .en { display: none; }
}
/* String your stories (DIY on the home page) */
.string { background: radial-gradient(circle at 80% 40%, #fbe9f3 0, transparent 45%), radial-gradient(circle at 15% 80%, #ede4ff 0, transparent 50%), var(--paper); }
.string .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.string-steps { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.string-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.string-steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple), var(--orchid)); color: #fff; font-size: 13px; }
.string .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.string .fine { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.string .pic { position: relative; display: block; width: min(100%, 380px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, #fff 0, #f8f2ff 55%, transparent 72%); }
.string .pic .ring, .string .pic .ring svg { display: block; width: 100%; height: 100%; }
.string .pic .ring { animation: jt-spin 90s linear infinite; }
.string .pic .mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; color: #b9a6e6; font-size: 14px; letter-spacing: .14em; pointer-events: none; }
.string .pic .mid .s8 { width: 18px; height: 18px; } .string .pic .mid b { text-transform: uppercase; } .string .pic .mid small { letter-spacing: 0; font-style: italic; color: #9a8cc4; }
@keyframes jt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .string .pic .ring { animation: none; } }
@media (max-width: 860px) { .string .grid { grid-template-columns: 1fr; gap: 18px; } .string .pic { width: min(78%, 320px); order: -1; } }
.seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.seg button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Fortune ---------- */
.packs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pack {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--dark-line); backdrop-filter: blur(6px);
}
.pack .scope { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 600; }
.pack h3 { margin: 0; font-family: var(--f-th); font-size: 20px; font-weight: 600; color: #fff; }
.pack .en { font-family: var(--f-en); font-style: italic; color: #d9c7ff; font-size: 17px; margin-top: -4px; }
.pack p { margin: 0; color: var(--on-dark-2); font-size: 14px; }
.pack .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.pack .price { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pack .price small { display: block; font-size: 11px; font-weight: 500; color: var(--on-dark-2); }
.fortune-note { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 13.5px; color: var(--on-dark-2); }
.fortune-note .ic { color: #d9c7ff; }

/* ---------- Reviews ---------- */
.reviews .scroller { grid-auto-columns: minmax(250px, 82%); }
@media (min-width: 640px) { .reviews .scroller { grid-auto-columns: minmax(280px, 46%); } }
@media (min-width: 1000px) { .reviews .scroller { grid-auto-columns: calc((100% - 24px) / 3); } }
.rv { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.rv img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.rv q { quotes: '“' '”'; font-size: 15px; }
.rv .who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-top: auto; }
.rv .who .s8 { color: var(--purple); width: 12px; height: 12px; }

/* ---------- About / contact / game ---------- */
.about .grid { display: grid; gap: 30px; align-items: center; }
.about .logo-v { width: min(240px, 62%); margin-inline: auto; opacity: .95; }
.about .txt { white-space: pre-line; color: var(--on-dark); font-size: 16px; }
.status-bubble { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: rgba(255,255,255,.1); border: 1px solid var(--dark-line); font-size: 14.5px; }
.status-bubble .ic { color: #ffe08a; margin-top: 2px; }
.status-bubble small { display: block; color: var(--on-dark-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 900px) { .about .grid { grid-template-columns: .8fr 1.2fr; gap: 60px; } }

.contact-card { display: grid; gap: 22px; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card .chs { display: grid; gap: 10px; }
.contact-card .socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; background: #fff; }
.social:hover { border-color: var(--purple); color: var(--purple); }
@media (min-width: 760px) { .contact-card { grid-template-columns: 1fr 1fr; align-items: center; padding: 36px; } .contact-card .chs { grid-template-columns: 1fr; } }

.game { padding-block: 34px; }
.game .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.game .t { font-family: var(--f-en); font-size: 24px; font-style: italic; color: #fff; }
.game .t span { display: block; font-family: var(--f-body); font-style: normal; font-size: 14px; color: var(--on-dark-2); }
.game .pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--dark-line); color: #e6dbff; font-size: 13px; }

/* ---------- Footer ---------- */
.ftr { background: #0a0a29; color: var(--on-dark-2); padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.ftr .grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr .brand { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 360px; }
.ftr .brand img { width: 170px; }
.ftr h4 { margin: 0 0 10px; color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ftr a { text-decoration: none; color: var(--on-dark-2); }
.ftr a:hover { color: #fff; }
.ftr .fine { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12.5px; }
@media (min-width: 900px) { .ftr .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .ftr .brand { grid-column: auto; } }

.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px -8px rgba(13,13,51,.6); cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.has-bar .to-top { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Shop page ---------- */
.page-top { padding-block: 36px 26px; }
.shopbar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 30;
  background: rgba(247, 244, 253, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding-block: 10px;
}
.shopbar .row { display: flex; gap: 8px; align-items: center; }
.shopbar .row + .row { margin-top: 8px; }
.search { position: relative; flex: 1; min-width: 0; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); width: 18px; height: 18px; }
.search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 14px 0 38px; font: inherit; font-size: 15px; color: var(--ink); }
.st select { height: 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 12px; font: inherit; font-size: 14px; color: var(--ink); max-width: 46vw; }
.filter-btn { position: relative; }
.filter-btn .dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--orchid); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.chip .s8 { width: 11px; height: 11px; }
.filters { padding: 12px 0 2px; display: grid; gap: 10px; }
.filters .lbl { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 12px; font-size: 14px; color: var(--ink-2); }
.grid-p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid-p { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1060px) { .grid-p { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-2); display: grid; gap: 12px; justify-items: center; }
.empty .s8 { width: 34px; height: 34px; color: #c7b7ef; }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }
.crumbs a { text-decoration: none; color: var(--ink-2); } .crumbs a:hover { color: var(--purple); }
.pd { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.pd > * { min-width: 0; }
@media (min-width: 900px) { .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; } .pd .gal { position: sticky; top: calc(var(--header-h) + 20px); } }
.gal .main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.gal .slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal .slides::-webkit-scrollbar { display: none; }
.gal .slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.gal .nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gal .nav.prev { left: 10px; } .gal .nav.next { right: 10px; }
.gal .counter { position: absolute; bottom: 10px; right: 10px; background: rgba(13,13,51,.7); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.gal .flag { position: absolute; bottom: 10px; left: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; padding: 4px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.gal .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gal .thumbs button { flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--paper-2); cursor: pointer; }
.gal .thumbs button[aria-current="true"] { border-color: var(--purple); }
.gal .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { display: grid; gap: 16px; }
.info .cat { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.info h1 { margin: 0; font-family: var(--f-en); font-size: clamp(34px, 6vw, 46px); line-height: 1.02; font-weight: 600; color: var(--navy); text-wrap: balance; }
.info .th { margin: -8px 0 0; font-family: var(--f-th); font-size: 18px; color: var(--purple); }
.info .price { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.info .price.ask { font-size: 20px; color: var(--purple); }
.mode-box { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); font-size: 14px; }
.mode-box b { display: inline-flex; align-items: center; gap: 6px; }
.mode-box b .s8 { color: var(--purple); width: 12px; height: 12px; }
.opt-group { display: grid; gap: 8px; }
.opt-group .lbl { font-size: 14px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; height: 44px; }
.qty button { width: 42px; height: 42px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.qty span { min-width: 32px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.buy-row .btn.primary { flex: 1; min-width: 180px; }
.short { font-size: 16px; color: var(--ink); margin: 0; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
.specs dt { color: var(--ink-2); } .specs dd { margin: 0; }
.panel-box { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
.panel-box h3 { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.stone-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stone-chip { display: grid; gap: 1px; padding: 8px 12px 8px 30px; border-radius: 14px; background: #fff; border: 1px solid var(--line); position: relative; font-size: 13px; min-width: 0; }
.stone-chip i { position: absolute; left: 11px; top: 12px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset -2px -2px 3px rgba(0,0,0,.18), inset 2px 2px 3px rgba(255,255,255,.6); }
.stone-chip b { font-weight: 600; font-size: 14px; }
.stone-chip span { color: var(--ink-2); }
.meter { display: grid; gap: 7px; }
.meter .r { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 10px; font-size: 14px; }
.meter .stars { display: flex; gap: 3px; color: #ddd3f3; }
.meter .stars .on { color: var(--purple); }
.meter .stars .s8 { width: 16px; height: 16px; }
.meter-note { font-size: 12.5px; color: var(--ink-2); }
.long { white-space: pre-line; font-size: 15.5px; }
.video-link { display: inline-flex; align-items: center; gap: 8px; }
.terms { font-size: 14px; color: var(--ink-2); white-space: pre-line; }
details.fold { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
details.fold summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold[open] summary .ic { transform: rotate(180deg); }
details.fold > div { padding: 0 16px 14px; }
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(28, 18, 90, .4);
}
.buybar .p { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.buybar .p small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-2); max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar .btn { margin-left: auto; }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---------- Cart drawer & sheets ---------- */
.jt-lock, .jt-lock body { overflow: hidden; }
.jt-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.jt-modal-bg { position: absolute; inset: 0; background: rgba(9, 7, 32, .55); opacity: 0; transition: opacity .22s; }
.jt-modal-card {
  position: relative; width: 100%; max-height: calc(100dvh - 40px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper, #f7f4fd); color: var(--ink, #1c1a4a); border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(30px); opacity: 0; transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s;
  font-family: var(--f-body, system-ui);
}
.jt-modal.in .jt-modal-bg { opacity: 1; }
.jt-modal.in .jt-modal-card { transform: none; opacity: 1; }
@media (min-width: 760px) {
  .jt-modal { align-items: center; }
  .jt-modal-card { width: min(560px, calc(100vw - 40px)); border-radius: 22px; max-height: calc(100dvh - 60px); }
  .jt-modal.side { justify-content: flex-end; align-items: stretch; }
  .jt-modal.side .jt-modal-card { width: 440px; max-height: none; height: 100%; border-radius: 22px 0 0 22px; }
}
.sheet-h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 12px; background: var(--paper, #f7f4fd); border-bottom: 1px solid var(--line, #e4dbf5); }
.sheet-h h3 { margin: 0; font-size: 18px; }
.sheet-h h3 small { display: block; font-family: var(--f-en, serif); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2, #5d5888); font-weight: 600; }
.sheet-b { padding: 16px 18px 22px; display: grid; gap: 16px; }
.cline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line, #e4dbf5); }
.cline img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--paper-2, #efe8fb); }
.cline .n { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.cline .m { font-size: 12.5px; color: var(--ink-2, #5d5888); }
.cline .rt { display: grid; justify-items: end; gap: 6px; }
.cline .qty { height: 34px; } .cline .qty button { width: 32px; height: 32px; } .cline .qty span { min-width: 22px; font-size: 14px; }
.sum { display: grid; gap: 6px; font-size: 14.5px; }
.sum .r { display: flex; justify-content: space-between; gap: 10px; }
.sum .r.total { font-size: 18px; font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--line, #e4dbf5); }
.sum .tnum, .sum .r span:last-child { font-variant-numeric: tabular-nums; }
.hint { font-size: 13px; color: var(--ink-2, #5d5888); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--ink-2, #5d5888); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line, #e4dbf5); border-radius: 12px; background: #fff; padding: 11px 13px;
  font: inherit; font-size: 16px; color: var(--ink, #1c1a4a);
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(107, 38, 186, .35); border-color: var(--purple, #6b26ba); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: var(--danger, #d4405b); font-size: 13.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--purple, #6b26ba); flex: none; }
.ch-pick { display: grid; gap: 8px; }
.msg-box { white-space: pre-wrap; font-size: 13.5px; background: #fff; border: 1px solid var(--line, #e4dbf5); border-radius: 14px; padding: 12px 14px; max-height: 240px; overflow: auto; font-family: var(--f-body, system-ui); }
.okmark { display: grid; justify-items: center; text-align: center; gap: 6px; padding-top: 4px; }
.okmark .circle { width: 54px; height: 54px; border-radius: 50%; background: #e7f7ef; color: var(--ok, #1f9d6b); display: grid; place-items: center; }
.okmark .circle .ic { width: 28px; height: 28px; }
.okmark b { font-size: 20px; } .okmark .id { font-family: ui-monospace, monospace; font-size: 15px; letter-spacing: .04em; color: var(--purple, #6b26ba); }
.steps-n { display: grid; gap: 8px; counter-reset: s; padding: 0; margin: 0; list-style: none; font-size: 14px; }
.steps-n li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; }
.steps-n li::before { counter-increment: s; content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2, #efe8fb); color: var(--purple, #6b26ba); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.tpick { display: flex; flex-wrap: wrap; gap: 6px; }

/* Toasts & confirm */
.jt-toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.jt-toast { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #1c1a4a; color: #fff; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(8px); transition: .25s; font-family: 'Anuphan', system-ui, sans-serif; }
.jt-toast.in { opacity: 1; transform: none; }
.jt-toast.err { background: #8f1d36; }
.jt-toast .ic { width: 18px; height: 18px; }
.jt-confirm-body { padding: 22px 20px 18px; display: grid; gap: 10px; }
.jt-confirm-body h3 { margin: 0; font-size: 19px; }
.jt-confirm-body p { margin: 0; color: var(--ink-2, #5d5888); }
.jt-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }

/* Order status */
.ostat { display: grid; gap: 18px; max-width: 720px; margin-inline: auto; }
.ostat .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; }
.timeline { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 14px; position: relative; color: var(--ink-2); font-size: 14.5px; }
.timeline li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cdbdf0; background: #fff; margin-top: 4px; z-index: 1; }
.timeline li::after { content: ''; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: #e4dbf5; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); } .timeline li.done::before { background: var(--purple); border-color: var(--purple); }
.timeline li.now b { color: var(--purple); }

.st .demo-flag { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 42; display: flex; gap: 6px; align-items: center; background: #fff4d6; color: #6b4600; border: 1px solid #f0d58a; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-family: 'Anuphan', system-ui, sans-serif; box-shadow: 0 6px 18px -8px rgba(0,0,0,.3); }
.st .demo-flag button { border: 0; background: #6b26ba; color: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; }


.loading-screen { min-height: 70vh; display: grid; place-items: center; color: var(--on-dark-2); }
.loading-screen .s8 { width: 34px; height: 34px; color: #c9b5ff; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, #ece6f8 0, #f6f2fd 50%, #ece6f8 100%); background-size: 200% 100%; animation: sk 1.2s ease infinite; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .st *, .st *::before, .st *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 699px) {
  .hd-row .ctrls { display: none; }
  .hd-row .swipe-hint { display: inline-flex; margin-left: auto; }
  .scroller { grid-auto-columns: minmax(148px, 42%); }
}
.gal .badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.st [hidden] { display: none !important; }

/* ---------- Butler “งาดำ” ---------- */
.ngd { display: block; width: 100%; height: auto; overflow: visible; }
.ngd .tail { transform-box: view-box; transform-origin: 138px 198px; animation: ngd-tail 3.2s ease-in-out infinite; }
.ngd .head { transform-box: view-box; transform-origin: 100px 136px; animation: ngd-bob 5s ease-in-out infinite; }
.ngd .eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: ngd-blink 5.5s infinite; }
.ngd .hat { transform-box: view-box; transform-origin: 108px 56px; animation: ngd-hat 5s ease-in-out infinite; }
.ngd .arm-r { transform-box: view-box; transform-origin: 132px 150px; }
.ngd .spk { transform-box: fill-box; transform-origin: 50% 50%; animation: ngd-tw 2.8s ease-in-out infinite; }
.ngd.head-only .head, .ngd.head-only .hat { animation: none; }
.bt-cat:hover .ngd .arm-r, .ngd.wave .arm-r { animation: ngd-wave 1.4s ease-in-out 1; }
@keyframes ngd-tail { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(9deg); } }
@keyframes ngd-bob { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(2deg) translateY(1px); } }
@keyframes ngd-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes ngd-hat { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(3deg); } }
@keyframes ngd-tw { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes ngd-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-130deg); } 45% { transform: rotate(-110deg); } 65% { transform: rotate(-135deg); } 85% { transform: rotate(-115deg); } }

/* Home hero with the butler */
.bt-hero { padding-block: 34px 56px; }
.bt-hero-top { text-align: center; max-width: 760px; margin: 0 auto; }
.bt-hero-top .eyebrow { justify-content: center; }
.bt-hero-top h1 { margin: 10px 0 4px; }
.bt-hero-grid { display: grid; gap: 8px; margin-top: 16px; align-items: center; }
.bt-cat { border: 0; background: none; padding: 0; cursor: pointer; width: min(210px, 58vw); justify-self: center; filter: drop-shadow(0 18px 30px rgba(10, 6, 40, .55)); }
.bt-hero-talk { display: grid; gap: 14px; }
.bt-speech { position: relative; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; padding: 14px 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bt-speech::before { content: ''; position: absolute; left: 50%; top: -9px; width: 16px; height: 16px; background: inherit; border-left: 1px solid rgba(255,255,255,.22); border-top: 1px solid rgba(255,255,255,.22); transform: translateX(-50%) rotate(45deg); background: #2d2672; }
.bt-speech b { display: block; font-family: var(--f-en); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #e9c26a; }
.bt-speech p { margin: 4px 0 0; color: var(--on-dark); font-size: 15.5px; }
.bt-speech p + p { color: var(--on-dark-2); font-size: 14.5px; }
.bt-services { display: grid; gap: 10px; }
.bt-services button, .bt-card-btn {
  display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; text-align: left; width: 100%;
  padding: 10px 14px 10px 10px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .22); cursor: pointer;
  background: linear-gradient(135deg, rgba(107, 38, 186, .55), rgba(59, 142, 220, .28)); color: #fff; transition: transform .15s, border-color .2s, background .2s;
}
.bt-services button:hover, .bt-card-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .55); }
.bt-services b, .bt-card-btn b { display: block; font-size: 16px; font-weight: 600; }
.bt-services small, .bt-card-btn small { display: block; color: #d9cffd; font-size: 13px; line-height: 1.35; }
.ill { width: 54px; height: 64px; display: grid; place-items: center; border-radius: 12px; }
.ill svg { width: 38px; height: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.ill.dots { grid-template-columns: repeat(4, 10px); gap: 4px; place-content: center; background: rgba(255,255,255,.08); }
.ill.dots i { width: 10px; height: 10px; border-radius: 50%; display: block; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35); }
.ill.gift { background: linear-gradient(160deg, #e9c26a, #f08fb6); color: #2a1660; }
.ill.gift .ic { width: 30px; height: 30px; }
.bt-hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; }
.bt-hero-links a { color: var(--on-dark-2); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.bt-hero-links a:hover { color: #fff; }
.bt-hero-links .ic { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .bt-hero { padding-block: 48px 76px; }
  .bt-hero-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; margin-top: 26px; }
  .bt-cat { width: min(330px, 100%); }
  .bt-speech { padding: 18px 22px; }
  .bt-speech::before { left: -9px; top: 34px; transform: rotate(-45deg); }
  .bt-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bt-services button { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 16px 12px; }
  .bt-hero-links { justify-content: flex-start; }
}

/* Floating butler button */
.bt-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 41; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.bt-fab button { pointer-events: auto; width: 62px; height: 62px; border-radius: 50%; border: 2px solid rgba(233, 194, 106, .9); background: radial-gradient(circle at 35% 30%, #4a3aa8, #1b1552 75%); padding: 4px 5px 0; cursor: pointer; box-shadow: 0 10px 26px -8px rgba(20, 10, 70, .75), 0 0 0 4px rgba(181, 58, 240, .18); transition: transform .2s; overflow: visible; }
.bt-fab button:hover { transform: translateY(-2px) scale(1.04); }
.bt-fab button .ngd { width: 100%; margin-top: -8px; }
.bt-fab .tip { pointer-events: auto; max-width: 210px; background: #fff; color: var(--ink); font-size: 13.5px; line-height: 1.4; padding: 9px 12px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: .3s; }
.bt-fab .tip.in { opacity: 1; transform: none; }
.to-top { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
.has-bar .bt-fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.has-bar .to-top { bottom: calc(158px + env(safe-area-inset-bottom, 0px)); }
.jt-lock .bt-fab { display: none; }
.bt-fab { transition: opacity .25s, transform .25s; }
.bt-hero-in .bt-fab { opacity: 0; transform: translateY(12px); }
.bt-hero-in .bt-fab button, .bt-hero-in .bt-fab .tip { pointer-events: none; }

/* Butler chat sheet */
.jt-modal.butler .jt-modal-card { background: radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.7), transparent 60%), radial-gradient(1px 1px at 72% 8%, rgba(255,255,255,.6), transparent 60%), radial-gradient(1.2px 1.2px at 88% 40%, rgba(255,255,255,.5), transparent 60%), linear-gradient(180deg, #1d1658, #100c3a 60%); background-attachment: local; color: var(--on-dark); min-height: min(78dvh, 720px); }
@media (min-width: 760px) {
  .jt-modal.butler { justify-content: flex-end; align-items: stretch; }
  .jt-modal.butler .jt-modal-card { width: 460px; max-height: none; height: 100%; min-height: 0; border-radius: 22px 0 0 22px; }
}
.bt-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 14px 10px; background: rgba(22, 17, 70, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.1); }
.bt-head .av { width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a3aa8, #1b1552 75%); border: 2px solid rgba(233,194,106,.8); padding: 3px 4px 0; overflow: visible; flex: none; }
.bt-head .av .ngd { margin-top: -6px; }
.bt-head .who { flex: 1; min-width: 0; }
.bt-head .who b { display: block; font-size: 17px; }
.bt-head .who small { display: block; font-family: var(--f-en); letter-spacing: .14em; font-size: 12px; color: #e9c26a; }
.bt-head .icon-btn { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.bt-body { padding: 14px 14px calc(22px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; }
.bt-log { display: grid; gap: 10px; align-content: start; }
.bt-msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.55; animation: bt-in .3s ease both; overflow-wrap: anywhere; }
.bt-msg.bot { justify-self: start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-top-left-radius: 6px; }
.bt-msg.bot b { color: #ffe3a3; font-weight: 600; }
.bt-msg.me { justify-self: end; background: linear-gradient(135deg, var(--purple), var(--orchid)); color: #fff; border-top-right-radius: 6px; }
.bt-msg .typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.bt-msg .typing i { width: 7px; height: 7px; border-radius: 50%; background: #cbbcff; animation: bt-dot 1s infinite; }
.bt-msg .typing i:nth-child(2) { animation-delay: .15s; } .bt-msg .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bt-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes bt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bt-block { animation: bt-in .35s ease both; }
.bt-opts { display: grid; gap: 10px; }
.bt-opts:empty { display: none; }
.bt-menu { display: grid; gap: 10px; }
.bt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 14.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.bt-chip:hover { background: rgba(255,255,255,.16); }
.bt-chip[data-main] { background: linear-gradient(120deg, var(--purple), var(--orchid)); border-color: transparent; }
.bt-chip[data-ghost] { justify-self: start; border-color: transparent; background: transparent; color: var(--on-dark-2); padding: 0 6px; }
.bt-chip .ic { width: 17px; height: 17px; }
.bt-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.bt-links a, .bt-links button { color: #d4c7ff; background: none; border: 0; padding: 4px 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(212,199,255,.4); }
.bt-note { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--on-dark-2); line-height: 1.5; }
.bt-note .s8 { width: 12px; height: 12px; margin-top: 4px; color: #e9c26a; }

/* card fan + flip */
.bt-fan { position: relative; height: 200px; margin: 6px 0 4px; perspective: 900px; transition: opacity .2s; }
.bt-block.gone { opacity: 0; transition: opacity .2s; }
.bt-fan .fc:hover { z-index: 6; }
.bt-fan .fc { position: absolute; left: 50%; bottom: 8px; width: 86px; aspect-ratio: 120 / 200; margin-left: -43px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 120%;
  transform: translateX(calc(var(--i) * 30px)) rotate(calc(var(--i) * 7deg)); transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s; animation: bt-deal .7s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc((var(--i) + 3) * 45ms); }
.bt-fan .fc:hover, .bt-fan .fc:focus-visible { transform: translateX(calc(var(--i) * 30px)) rotate(calc(var(--i) * 7deg)) translateY(-14px); }
@keyframes bt-deal { from { transform: translateX(0) rotate(0) translateY(10px); opacity: 0; } }
.bt-fan .in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,.7,.2,1); }
.bt-fan .bk, .bt-fan .fr { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 9px; overflow: hidden; box-shadow: 0 10px 22px -10px rgba(0,0,0,.7); }
.bt-fan .fr { transform: rotateY(180deg); }
.bt-fan .bk svg, .bt-fan .fr svg { width: 100%; height: 100%; display: block; }
.bt-fan.picked .fc { opacity: 0; pointer-events: none; transform: translateX(calc(var(--i) * 30px)) rotate(calc(var(--i) * 7deg)) translateY(40px); }
.bt-fan.picked .fc.chosen { opacity: 1; z-index: 5; transform: translateX(0) rotate(0) translateY(-8px) scale(1.12); }
.bt-fan.picked .fc.chosen .in { transform: rotateY(180deg); }
.bt-fan.picked .fc.chosen .fr { box-shadow: 0 0 0 2px rgba(233,194,106,.6), 0 0 40px 6px rgba(181,58,240,.55); }

.bt-reading { display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(233,194,106,.35); }
.bt-tcard svg { width: 100%; height: auto; display: block; border-radius: 9px; box-shadow: 0 0 30px -4px rgba(181,58,240,.6); }
.bt-reading small { color: #e9c26a; font-family: var(--f-en); letter-spacing: .12em; font-size: 12.5px; }
.bt-reading h4 { margin: 2px 0 0; font-family: var(--f-en); font-size: 25px; line-height: 1.1; color: #fff; }
.bt-reading .th { font-family: var(--f-th); font-size: 16px; color: #e6dbff; }
.bt-reading .kw { margin-top: 6px; font-size: 13.5px; color: var(--on-dark-2); }

.bt-stones { display: grid; gap: 6px; }
.bt-stone { display: grid; grid-template-columns: 14px auto 1fr; gap: 4px 8px; align-items: baseline; font-size: 13.5px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.06); }
.bt-stone i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.25); align-self: center; }
.bt-stone b { font-weight: 600; }
.bt-stone small { color: var(--on-dark-2); font-size: 12.5px; }

.bt-prods { display: grid; gap: 8px; }
.bt-prod { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: #fff; color: var(--ink); }
.bt-prod .pimg img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--paper-2); }
.bt-prod .pt { display: grid; gap: 1px; min-width: 0; }
.bt-prod .nm { font-weight: 600; font-size: 14.5px; text-decoration: none; line-height: 1.3; }
.bt-prod .why { font-size: 12px; color: var(--purple); }
.bt-prod .pr { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.bt-add { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--purple); color: #fff; display: grid; place-items: center; cursor: pointer; }
.bt-add .ic { width: 18px; height: 18px; }

.bt-bday { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.bt-bday .sw { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, transparent 45%), var(--c); box-shadow: 0 0 26px -2px var(--c); }
.bt-bday small { color: #e9c26a; font-size: 12.5px; }
.bt-bday b { display: block; font-size: 17px; }
.bt-bday p { margin: 2px 0 0; color: var(--on-dark-2); font-size: 13.5px; }
.bt-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bt-day { min-height: 44px; border-radius: 14px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff; font: inherit; font-size: 13.5px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 2px; }
.bt-day i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.3); }
.bt-day.last { border-color: #e9c26a; }
.bt-dob { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); font-size: 13.5px; }
.bt-dob .row { display: flex; gap: 8px; }
.bt-dob input[type=date] { flex: 1; min-width: 0; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.95); color: var(--ink); padding: 0 10px; font: inherit; }
.bt-dob .cks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.bt-dob .ck { display: inline-flex; gap: 6px; align-items: center; }
.bt-dob small { color: var(--on-dark-2); font-size: 12px; line-height: 1.45; }
.bt-bless { padding: 14px 16px; border-radius: 16px; background: linear-gradient(160deg, #fff8ea, #f6eaff); color: var(--ink); display: grid; gap: 10px; }
.bt-bless p { margin: 0; font-family: var(--f-th); font-size: 15.5px; line-height: 1.65; }
.bt-bless .bt-chip { justify-self: start; color: var(--purple); border-color: #d9c8f5; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .ngd *, .bt-msg, .bt-block, .bt-fan .fc { animation: none !important; }
  .bt-fan .in, .bt-fan .fc { transition: none; }
}

.has-bar .st .demo-flag { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.jt-lock .st .demo-flag { display: none; }

/* Checkout address + customer edit page */
.rcv { border: 1px solid var(--line, #e4dbf5); border-radius: 16px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 10px; min-width: 0; background: #fcfaff; }
.rcv legend { font-weight: 700; font-size: 14px; padding: 0 6px; }
.rcv legend small { font-weight: 400; color: var(--ink-2, #5d5888); }
.oedit { max-width: 820px; }
.oedit .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px; }
.oedit .eyebrow-id { font-family: ui-monospace, monospace; color: var(--purple); font-weight: 600; letter-spacing: .04em; }
.oedit .lnk-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #fff7e6; color: #7a4b00; font-size: 13.5px; }
.oedit .lnk-note .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.oedit .save-bar { position: sticky; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: var(--shadow); }
.oedit .save-bar b { font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.back-home { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px -8px rgba(28, 18, 90, .35); }
.back-home:hover { border-color: #cdbdf0; color: var(--purple); }
.back-home .ic { width: 16px; height: 16px; }
.back-home.sm { margin: 0 4px 0 0; padding: 3px 10px 3px 6px; font-size: 13px; box-shadow: none; }
.msg-edit { width: 100%; border: 1px solid var(--line, #e4dbf5); border-radius: 12px; background: #fff; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ink, #1c1a4a); resize: vertical; min-height: 52px; }
.msg-edit:focus { outline: 2px solid rgba(107, 38, 186, .35); border-color: var(--purple, #6b26ba); }
.msg-box.locked { background: #f6f2fd; border-style: dashed; color: var(--ink, #1c1a4a); user-select: text; }
.msg-box.locked .lk { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--purple, #6b26ba); }
.msg-box.locked .lk .ic { width: 14px; height: 14px; }

/* DIY designer: 4-step wizard (size → bead size → design → summary) */
.diy-page { padding-bottom: 110px; }
.diy-page .hd { margin-bottom: 14px; }
.wz { scroll-margin-top: calc(var(--header-h) + 10px); }
.wz-top { margin-bottom: 14px; }
.wz-k { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .14em; color: var(--ink-2); font-weight: 600; text-transform: uppercase; }
.wz-k .s8 { width: 14px; height: 14px; color: var(--purple); flex: none; }
.wz-k b { color: var(--purple); }
.wz-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.wz-prog button { display: grid; gap: 5px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: var(--ink-2); cursor: pointer; text-align: left; }
.wz-prog button i { display: block; height: 5px; border-radius: 99px; background: #e4dbf5; transition: background .2s; }
.wz-prog button.done i, .wz-prog button.on i { background: var(--purple); }
.wz-prog button.on { color: var(--purple); font-weight: 700; }
.wz-prog button:disabled { cursor: default; opacity: .7; }
.wz-card { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 4vw, 26px); display: grid; gap: 14px; box-shadow: 0 18px 40px -30px rgba(40, 20, 110, .45); }
.wz-h { margin: 0; font-size: clamp(22px, 5vw, 26px); color: var(--ink); }
.wz-sub { margin: -10px 0 0; color: var(--ink-2); font-size: 14px; }
.wz-type { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-type button { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border-radius: 18px; border: 1.5px solid var(--line); background: #fbf9ff; font: inherit; color: var(--ink); cursor: pointer; }
.wz-type button b { font-size: 15px; } .wz-type button small { font-size: 12px; color: var(--ink-2); }
.wz-type button[aria-pressed="true"] { border-color: var(--purple); background: #f1e9ff; box-shadow: 0 0 0 3px rgba(107, 38, 186, .12); }
.wz-art { display: grid; justify-items: center; gap: 6px; padding: 12px; border-radius: 16px; background: #fbf9ff; border: 1px solid var(--line); }
.wz-art svg { width: 100%; max-width: 380px; height: auto; display: block; }
.wz-art.key svg { max-width: 220px; }
.wz-art small { font-size: 12.5px; color: var(--ink-2); text-align: center; font-style: italic; }
.wz-num { display: flex; align-items: center; gap: 8px; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; }
.wz-num:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(107, 38, 186, .12); }
.wz-num input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 28px; font-weight: 700; text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.wz-num input::-webkit-outer-spin-button, .wz-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wz-num span { color: var(--ink-2); font-weight: 600; }
.wz-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.wz-chips .chip { justify-content: center; height: 38px; font-variant-numeric: tabular-nums; }
.wz-name input { font-size: 16px; }
.wz-name .hint { margin: 0; }
.wz-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; }
.wz-size { display: grid; justify-items: center; align-content: end; gap: 0; min-height: 118px; padding: 12px 4px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.wz-size .ball, .wz-mix .balls i { display: block; width: var(--d); height: var(--d); border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0, #f4b6c8 38%, #c97a96 100%); box-shadow: 0 2px 5px rgba(150, 60, 100, .3); margin-bottom: 6px; }
.wz-size b { font-size: 22px; line-height: 1; } .wz-size small { font-size: 12px; color: var(--ink-2); } .wz-size i { font-style: normal; font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
.wz-size[aria-pressed="true"], .wz-mix[aria-pressed="true"] { border-color: var(--purple); background: #f1e9ff; box-shadow: 0 0 0 3px rgba(107, 38, 186, .12); }
.wz-mix { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.wz-mix .balls { display: flex; align-items: center; gap: 3px; } .wz-mix .balls i { margin: 0; }
.wz-mix b { display: block; font-size: 15px; } .wz-mix small { font-size: 12.5px; color: var(--ink-2); }
.wz-compare { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #fbf9ff; border: 1px solid var(--line); justify-items: center; text-align: center; }
.wz-compare b { font-size: 13.5px; } .wz-compare small { font-size: 12.5px; color: var(--ink-2); }
.wz-compare .row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; width: 100%; }
.wz-compare figure { margin: 0; display: grid; gap: 2px; justify-items: center; }
.wz-compare figure svg { width: 100%; max-width: 90px; height: auto; border-radius: 12px; background: #f6efe9; }
.wz-compare figcaption { font-size: 12px; font-weight: 600; color: var(--purple); }
.wz-compare > svg { width: 100%; max-width: 420px; height: auto; }

.wz-design { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.wz-stage { position: sticky; top: calc(var(--header-h) + 12px); display: grid; gap: 8px; padding: 14px 16px 12px; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 46%, #fff 0, #f8f4ff 60%, #efe6fd 100%); border: 1px solid var(--line); }
.wz-meta, .wz-meta2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.wz-meta b { font-size: 20px; color: var(--purple); font-variant-numeric: tabular-nums; }
.wz-meta .r { display: inline-flex; align-items: baseline; gap: 10px; } .wz-meta [data-cnt] { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); font-size: 13px; }
.wz-mid .tip { display: none; }
.wz-meta2 { font-size: 12.5px; margin-top: -6px; } .wz-meta2 .tip { display: inline-flex; gap: 4px; align-items: center; font-style: italic; } .wz-meta2 .ic { width: 14px; height: 14px; color: #e0a92c; }

.wz-ring { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: 0 auto; }
.wz-ring > svg { width: 100%; height: 100%; display: block; }
.wz-ring svg [data-slot] { cursor: pointer; }
.wz-ring svg [data-slot]:focus { outline: none; }
.wz-ring svg [data-slot]:focus-visible { filter: drop-shadow(0 0 4px #e9b949); }
.wz-ring svg g[data-slot]:hover { filter: brightness(.92); }
.wz-mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; pointer-events: none; color: #b9a6e6; font-size: 13px; letter-spacing: .12em; }
.wz-mid .s8 { width: 16px; height: 16px; } .wz-mid b { font-weight: 600; text-transform: uppercase; } .wz-mid small { letter-spacing: 0; font-style: italic; color: #9a8cc4; }
.wz-msg { min-height: 22px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.wz-msg p { margin: 0; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; }
.wz-msg .ic { width: 15px; height: 15px; }
.wz-msg .ok { color: #157a4a; font-weight: 600; } .wz-msg .bad { color: #b42345; font-weight: 600; }
.wz-ringrow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px; }
.wz-tools { display: grid; gap: 6px; align-content: start; }
.wz-tools button { display: grid; justify-items: center; gap: 2px; width: 58px; padding: 7px 2px 6px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 11px; line-height: 1.15; cursor: pointer; }
.wz-tools button:hover { border-color: var(--purple); color: var(--purple); }
.wz-tools button:active { transform: scale(.95); }
.wz-tools button[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.wz-tools .ic { width: 18px; height: 18px; }
.wz-note { margin: 0; font-size: 11.5px; color: var(--ink-2); font-style: italic; text-align: center; }
.wz-note.m, .wz-swipe { display: none; }
.wz-pick { display: grid; gap: 10px; min-width: 0; }
.wz-filters { display: grid; gap: 8px; min-width: 0; }
.wz-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin: 0 -2px; align-items: center; }
.wz-filter::-webkit-scrollbar { display: none; }
.wz-filter .chip { flex: none; height: 36px; } .wz-filter .chip i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.wz-filter .chip .ic { width: 14px; height: 14px; }
.wz-filter .chip.charm { border-color: #e9cf8f; background: #fff9ea; } .wz-filter .chip.charm[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.wz-filter.sm .chip { height: 30px; font-size: 12.5px; padding: 0 10px; }
.wz-filter .lbl { flex: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-right: 2px; }
.wz-filter[hidden] { display: none; }
.wz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1100px) { .wz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wz-item { position: relative; }
.wz-item .pick { position: relative; width: 100%; height: 100%; display: grid; justify-items: center; align-content: start; gap: 2px; padding: 10px 6px 26px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); text-align: center; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; }
.wz-item .pick:hover { border-color: #cdbdf0; box-shadow: 0 8px 18px -12px rgba(60, 30, 140, .55); }
.wz-item .pick:active { transform: scale(.97); }
.wz-item .pic { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 4px; }
.wz-item .pic img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.wz-item.is-charm .pic img { border-radius: 10px; object-fit: contain; }
.wz-item .nm { font-size: 13px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.wz-item .pr { font-size: 13.5px; font-weight: 700; color: var(--purple); font-variant-numeric: tabular-nums; } .wz-item .pr small { font-weight: 400; color: var(--ink-2); font-size: 11px; }
.wz-item .mm { position: absolute; top: 6px; left: 6px; font-size: 10.5px; padding: 1px 6px; border-radius: 99px; background: #f1e9ff; color: var(--purple); font-weight: 600; }
.wz-item .lo { font-size: 11px; color: #b42345; }
.wz-item .n { position: absolute; top: 6px; right: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--purple); color: #fff; font-size: 11.5px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.wz-item .info { position: absolute; left: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 600 12px/1 Georgia, serif; font-style: italic; cursor: pointer; display: grid; place-items: center; padding: 0; }
.wz-item .info:hover { border-color: var(--purple); color: var(--purple); }
.wz-item.off .pick { opacity: .45; }
.wz-empty { grid-column: 1 / -1; text-align: center; padding: 20px 0; }
.wz-info .sheet-b { display: grid; gap: 10px; }
.wz-info-pic { display: grid; place-items: center; } .wz-info-pic img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.wz-info-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; } .wz-info-tags span { font-size: 12.5px; padding: 3px 10px; border-radius: 99px; background: #f1e9ff; color: var(--purple); }
.wz-info-k { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); text-transform: uppercase; }
.wz-info p { margin: 0; line-height: 1.7; }

.wz-sum { gap: 16px; }
.wz-show { display: grid; justify-items: center; gap: 2px; padding: 18px 14px 14px; border-radius: 20px; background: radial-gradient(circle at 50% 40%, #fff 0, #f8f4ff 60%, #efe6fd 100%); border: 1px solid var(--line); text-align: center; }
.wz-show .brand { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--purple); font-weight: 700; } .wz-show .brand .s8 { width: 14px; height: 14px; }
.wz-show .for { font-size: 17px; font-weight: 600; } .wz-show .for i { color: var(--ink-2); font-weight: 400; margin-right: 2px; font-family: Georgia, serif; }
.wz-show .date { font-size: 12px; color: var(--ink-2); }
.wz-show .pic { width: min(100%, 300px); aspect-ratio: 1; } .wz-show .pic svg { width: 100%; height: 100%; display: block; }
.wz-show .spec { width: 100%; margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; text-align: left; }
.wz-show .spec dt { font-size: 11.5px; color: var(--ink-2); } .wz-show .spec dd { margin: 0; font-weight: 700; font-size: 15px; }
.wz-lines { display: grid; gap: 6px; font-size: 14px; }
.wz-lines .r { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.wz-lines .r > span:first-child { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.wz-lines small { color: var(--ink-2); }
.wz-lines .dot svg { display: block; }
.wz-lines .total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; font-size: 17px; } .wz-lines .total span:last-child { color: var(--purple); font-size: 22px; }
.wz-mean { min-width: 0; }
.wz-mean .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.wz-mean h3 { margin: 0; font-size: 16px; }
.wz-mean .hd small { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: var(--ink-2); } .wz-mean .hd .ic { width: 14px; height: 14px; }
.wz-mean .track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 2px 2px 6px; margin: 0 -2px; }
.wz-mean .track::-webkit-scrollbar { display: none; }
.wz-mean .m { flex: 0 0 min(80%, 300px); scroll-snap-align: start; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-content: start; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fbf9ff; }
.wz-mean .m b { font-size: 14.5px; } .wz-mean .m p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.wz-mean .dot svg, .wz-mean .dot img { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.wz-memo { padding: 12px 14px; border-left: 3px solid var(--purple); background: #fbf9ff; border-radius: 0 12px 12px 0; } .wz-memo b { font-size: 13px; } .wz-memo p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }

.drag-x { cursor: grab; } .drag-x.dragging { cursor: grabbing; user-select: none; } .drag-x.dragging * { pointer-events: none; }
.hs { position: relative; min-width: 0; }
.hs-btn { position: absolute; top: 50%; z-index: 3; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.96); color: var(--purple); font: 700 22px/1 Georgia, serif; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(40, 20, 110, .5); padding: 0 0 3px; }
.hs-btn:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.hs-btn.prev { left: -6px; } .hs-btn.next { right: -6px; }
.hs-btn[hidden] { display: none; }
@media (hover: none) { .hs-btn { display: none !important; } .drag-x { cursor: auto; } }
.cline .m.dz { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wz-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px var(--gutter-r, 16px) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter, 16px); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(28, 18, 90, .4); }
.wz-bar .in { max-width: 680px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.wz-bar .btn { min-height: 48px; }
.wz-bar .btn.primary { flex: 1; }
.wz-bar .btn.ghost { flex: 0 0 auto; padding: 0 16px; background: #fff; }
.wz-bar .btn[aria-disabled="true"] { background: #d9d3ea; color: #fff; box-shadow: none; cursor: not-allowed; }
.wz-bar .wz-st { display: grid; line-height: 1.15; text-align: center; min-width: 0; } .wz-bar .wz-st b { font-size: 16px; color: var(--purple); font-variant-numeric: tabular-nums; } .wz-bar .wz-st small { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.wz-bar .link { flex: none; font-size: 14px; }
.has-bar .jt-toasts, .jt-lock .jt-toasts { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 10px); }
.has-bar .jt-toast, .jt-lock .jt-toast { transform: translateY(-8px); } .has-bar .jt-toast.in, .jt-lock .jt-toast.in { transform: none; }
@media (max-width: 860px) {
  .wz-design { grid-template-columns: 1fr; gap: 10px; }
  /* phones: the design stays on screen while the stones swipe sideways underneath */
  .diy-page[data-step="3"] { padding-top: 12px; }
  .diy-page[data-step="3"] .hd, .diy-page[data-step="3"] .back-home { display: none; }
  .diy-page[data-step="3"] .wz-top { display: none; }
  .diy-on .bt-fab, .diy-on .st .demo-flag, .diy-on .to-top { display: none !important; }
  .wz-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 4; gap: 4px; padding: 8px 10px 6px; border-radius: 0 0 20px 20px; margin-inline: calc(var(--gutter, 16px) * -1); border-inline: 0; border-top: 0; box-shadow: 0 10px 22px -18px rgba(40, 20, 110, .6); }
  .wz-meta { font-size: 12.5px; } .wz-meta b { font-size: 18px; }
  .wz-meta2 { display: none; }
  .wz-mid .tip { display: block; font-size: 9.5px; letter-spacing: 0; color: #9a8cc4; margin-top: 2px; }
  .wz-mid { font-size: 11px; } .wz-mid .s8 { width: 13px; height: 13px; }
  .wz-ring { width: min(100%, 290px, 30vh); }
  @supports (height: 1dvh) { .wz-ring { width: min(100%, 290px, 30dvh); } }
  .wz-ringrow { grid-template-columns: minmax(0, 1fr) 52px; }
  .wz-tools { gap: 5px; }
  .wz-tools button { width: 52px; padding: 5px 2px 4px; font-size: 10px; border-radius: 12px; gap: 1px; }
  .wz-tools .ic { width: 16px; height: 16px; }
  .wz-msg { min-height: 18px; font-size: 12px; }
  .wz-stage .wz-note { display: none; }
  .wz-note.m { display: block; }
  .wz-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); }
  .wz-filters::-webkit-scrollbar { display: none; }
  .wz-filters .wz-filter { overflow: visible; flex: none; margin: 0; padding: 2px 0 4px; }
  .wz-filters .hs { flex: none; }
  .wz-pick > .hs { margin-inline: calc(var(--gutter, 16px) * -1); }
  .wz-pick > .hs .wz-grid { margin-inline: 0; }
  .wz-filters .wz-filter.sm .chip { height: 36px; font-size: 13px; }
  .wz-grid { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 12px) / 3.3); gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter, 16px) * -1); padding: 2px var(--gutter, 16px) 4px; scroll-padding-inline: var(--gutter, 16px); }
  .wz-grid::-webkit-scrollbar { display: none; }
  .wz-grid > * { scroll-snap-align: start; }
  .wz-grid .wz-empty { grid-row: 1 / -1; grid-column: auto; width: calc(100vw - 32px); }
  .wz-item .pick { padding: 6px 4px 6px; border-radius: 14px; gap: 0; }
  .wz-item .pic { width: 42px; height: 42px; margin-bottom: 2px; }
  .wz-item .pic svg, .wz-item .pic img { width: 42px; height: 42px; }
  .wz-item .nm { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
  .wz-item .pr { font-size: 12.5px; }
  .wz-item .info { top: 5px; left: 5px; bottom: auto; width: 20px; height: 20px; font-size: 11px; }
  .wz-item .mm { position: static; font-size: 9.5px; padding: 0 5px; margin-top: 1px; }
  .wz-item .n { top: 5px; right: 5px; min-width: 20px; height: 20px; font-size: 11px; }
  .wz-swipe { display: flex; align-items: center; justify-content: center; gap: 4px; margin: -2px 0 0; font-size: 11.5px; color: var(--ink-2); }
  .wz-swipe .ic { width: 13px; height: 13px; }
  .wz-swipe[hidden] { display: none; }
}
@media (max-width: 380px) { .wz-grid { gap: 6px; } .wz-item .pic { width: 54px; height: 54px; } .wz-item .pic svg, .wz-item .pic img { width: 54px; height: 54px; } .wz-bar .btn.ghost { padding: 0 12px; } }
