/* Prettysee — layout and motion carried over from the template build; brand palette and type are Prettysee's. */
:root {
  --bg: #E9EEF0;
  --paper: #FFFFFF;
  --card: #F7FAFA;
  --ink: #1E3943;
  --ink2: #4A6168;
  --ink3: #8A9DA2;
  --celadon: #A9CFC7;
  --celadon-d: #3F7D73;
  --serum: #F1CBB9;
  --serum-d: #B9604E;
  --line: #D6E1E2;
  --tile: radial-gradient(ellipse at 50% 40%, #FAFCFC, #E1EBEB);
  --cardbg: linear-gradient(140deg, #FFFFFF 0%, #F6F9F9 55%, #EDF4F2 100%);
  --shadow: 0 22px 40px -26px rgba(30, 57, 67, .35), 0 2px 6px rgba(30, 57, 67, .05);
  --rim: inset 0 0 0 1px rgba(30, 57, 67, .08);
  --inkbtn: linear-gradient(180deg, #2C4F59, #1E3943);
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  overflow: hidden;
  font-family: var(--font);
  font-variation-settings: "opsz" 14;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.ico { width: 1em; height: 1em; display: block; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
/* display type: condensed, light */
.disp { font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; letter-spacing: -.01em; }

/* ---------- stage ---------- */
#stage {
  position: absolute; left: 50%; top: 50%;
  width: 1728px; height: 995px;
  transform-origin: 50% 50%;
  z-index: 1;
  overflow: clip;
}

/* ---------- floating glints ---------- */
.motes { position: absolute; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; }
.mote {
  position: absolute; top: -20px; left: var(--x);
  width: var(--w); height: var(--w); border-radius: 50%;
  background: var(--c); opacity: var(--o); box-shadow: 0 0 6px rgba(255, 255, 255, .8);
  animation: drift var(--t) linear var(--dl) infinite;
}
@keyframes drift {
  0% { transform: translate3d(0, -20px, 0); }
  25% { transform: translate3d(calc(var(--sw) * 1px), 25vh, 0); }
  50% { transform: translate3d(calc(var(--sw) * -0.6px), 50vh, 0); }
  75% { transform: translate3d(calc(var(--sw) * 1px), 76vh, 0); }
  100% { transform: translate3d(0, 1040px, 0); }
}

/* ---------- scene (the studio, SVG) ---------- */
.scene {
  position: absolute; left: 0; top: 0;
  width: 640px; height: 800px;
  transform-origin: 0 0;
  transition: transform 1.15s var(--ease-io), opacity .6s;
  z-index: 2;
  pointer-events: none;
}
.store-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 88%, transparent);
  mask-composite: intersect;
  transition: opacity .9s var(--ease-io); }
.store-photo.is-open { opacity: 0; }
.scene.store-open .store-photo.is-open { opacity: 1; }
.scene .building { width: 100%; height: 100%; overflow: visible; display: block; }
#stage[data-view="home"] .scene,
#stage[data-view="bag"] .scene,
#stage[data-view="thanks"] .scene { transform: translate(424px, 96px) scale(1); }
#stage[data-view="shop"] .scene,
#stage[data-view="story"] .scene { transform: translate(30px, 470px) scale(.52); }
#stage[data-view="studio"] .scene { transform: translate(1250px, 470px) scale(.52); }

.building .roofbottle { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px) rotate(.6deg); } }
.building .dropper { transition: transform .9s var(--ease-io); }
.scene.roof-open .building .dropper { transform: translateY(-50px); }
.building .roofdrop { opacity: 0; }
.scene.roof-drip .building .roofdrop { animation: roofDrip 1.1s cubic-bezier(.5, 0, .9, .4) forwards; }
@keyframes roofDrip { 0% { opacity: 0; transform: translateY(-20px) scale(.3); } 35% { opacity: 1; transform: translateY(-20px) scale(1); } 90% { opacity: 1; transform: translateY(14px) scale(.9, 1.2); } 100% { opacity: 0; transform: translateY(18px); } }
.building .dragonfly { animation: hover 7s ease-in-out infinite; }
.building .dragonfly .wings { transform-box: fill-box; transform-origin: 50% 50%; animation: flap .12s linear infinite alternate; }
@keyframes hover { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(24px, -14px); } 60% { transform: translate(-10px, 10px); } }
@keyframes flap { to { transform: scaleY(.6); } }
.building .bunting { opacity: 0; transition: opacity .4s; }
.building .bunting .flag { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
#stage.festive .building .bunting { opacity: 1; }
#stage.festive .building .bunting .flag { animation: flagDrop .6s var(--ease) calc(var(--d) + .5s) forwards; }
@keyframes flagDrop { 0% { transform: scaleY(0); } 70% { transform: scaleY(1.15); } 100% { transform: scaleY(1); } }

.stage-canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.stage-canvas.is-dragging { cursor: grabbing; }
.scene-open { position: absolute; z-index: 12; left: 640px; top: 846px; transition: opacity .4s; }
#stage:not([data-view="home"]) .scene-open { opacity: 0; pointer-events: none; visibility: hidden; }

/* product photos */
.pic { display: block; width: 100%; height: 100%; object-fit: contain; }
.best-item .tile, .m-card .tile, .thumbs button, .b-thumb { background: #E9EEF0; }
.best-item .tile .pic { transform: scale(1.18); transition: transform .45s var(--ease); }
.best-item:hover .tile .pic { transform: scale(1.26); }
.m-card .tile .pic { transition: transform .5s var(--ease); }
.m-card:hover .tile .pic { transform: scale(1.05); }
.thumbs button .pic, .b-thumb .pic { transform: scale(1.12); }
.spin3d .face .pic { -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 70%, transparent 100%); }
.goods-grid .g-tile { display: block; background: #E9EEF0; }
.goods-grid .g-tile .pic { position: absolute; inset: 0 0 18px; height: auto; width: 100%; transform: scale(1.1); transition: transform .45s var(--ease); }
.goods-grid .g-tile:hover .pic { transform: scale(1.18); }
.note-bottle .pic { -webkit-mask-image: radial-gradient(ellipse 46% 50% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 46% 50% at 50% 50%, #000 60%, transparent 100%); }
.fly .pic { border-radius: 50%; }
.bag-empty .pic { width: 160px; height: 200px; margin: 0 auto; }

/* ---------- layers ---------- */
.layer { position: absolute; inset: 0; z-index: 10; visibility: hidden; opacity: 0; transition: opacity .32s ease, visibility 0s linear .32s; pointer-events: none; }
.layer.on { visibility: visible; opacity: 1; transition: opacity .45s ease; }
.layer.on > *, .layer.on .card, .layer.on a, .layer.on button { pointer-events: auto; }
.layer.on .st { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- header ---------- */
.topbar { position: absolute; inset: 0 0 auto 0; height: 120px; z-index: 40; }
.brand { position: absolute; left: 94px; top: 30px; width: 380px; height: 80px; }
.brand-mark { position: absolute; left: 0; top: 10px; width: 58px; height: 40px; }
.brand-mark svg, .hud-mark svg, .foot-brand > span svg { width: 100%; height: 100%; display: block; }
.brand-name { position: absolute; left: 74px; top: 4px; font-size: 44px; line-height: 1; font-weight: 400; font-stretch: 80%; font-variation-settings: "opsz" 72; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.brand-sub { position: absolute; left: 77px; top: 56px; font-size: 11.5px; font-weight: 500; letter-spacing: .36em; color: var(--ink2); white-space: nowrap; }
.topnav { position: absolute; left: 515px; top: 40px; display: flex; gap: 46px; }
.topnav a { font-size: 14px; font-weight: 500; letter-spacing: .2em; color: var(--ink2); position: relative; padding: 2px 0; transition: color .25s; }
.topnav a:hover, .topnav a.active { color: var(--ink); }
.topnav a::after { content: ""; position: absolute; left: 0; right: .2em; bottom: -16px; height: 2.5px; border-radius: 2px; background: var(--celadon-d); transform: scaleX(0); transition: transform .45s var(--ease); }
.topnav a.active::after { transform: scaleX(1); }

.hud { position: absolute; left: 1196px; top: 34px; display: flex; align-items: center; height: 46px; }
.hud-mark { width: 40px; height: 28px; margin-right: 20px; }
.hud-mark svg { transition: transform .8s var(--ease); }
.hud-mark:hover svg { transform: rotate(180deg); }
.pill { display: flex; align-items: center; height: 46px; border-radius: 23px; background: var(--paper); box-shadow: var(--rim), 0 2px 8px -4px rgba(30, 57, 67, .25); font-size: 20px; color: var(--ink); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.pill-points { padding: 0 8px 0 16px; width: 168px; }
.pill-drop { width: 24px; height: 24px; margin-right: 14px; color: var(--celadon-d); font-size: 24px; }
.pill b { font-weight: 400; min-width: 54px; }
.pill-plus { margin-left: auto; width: 25px; height: 25px; border-radius: 50%; background: var(--inkbtn); color: #fff; font-size: 14px; transition: transform .2s; }
.pill-plus:hover { transform: scale(1.12); }
.pill-hearts { margin-left: 22px; width: 104px; padding-left: 16px; gap: 18px; }
.pill-heart { color: var(--serum-d); font-size: 24px; transition: transform .3s; }
.pill-hearts:hover .pill-heart { transform: scale(1.15); }
.hud-gear { margin-left: 52px; font-size: 25px; color: var(--ink); transition: transform .6s var(--ease); }
.hud-gear:hover { transform: rotate(60deg); }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.3); } }

/* ---------- generic card ---------- */
.card { position: absolute; border-radius: 26px; background: var(--cardbg); box-shadow: var(--rim), var(--shadow); }
.card-head { display: flex; align-items: center; height: 30px; font-size: 15.5px; font-weight: 500; letter-spacing: .24em; color: var(--ink); }
.card-head > [data-art="drop"] { width: 22px; height: 22px; margin-right: 16px; display: inline-block; }
.card-head > [data-art="drop"] svg { width: 100%; height: 100%; }
.card-head .link { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .2em; transition: gap .3s, color .3s; }
.card-head .link:hover { gap: 18px; color: var(--celadon-d); }
.card-head .accent-ico { color: var(--celadon-d); font-size: 22px; margin-right: 16px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; letter-spacing: .26em; color: var(--ink); }
.eyebrow [data-art="spark"] { width: 30px; height: 16px; display: inline-block; }
.eyebrow svg, .cal-tag svg, [data-art="spark"] svg, .spark { width: 100%; height: 100%; display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: .2em; transition: transform .25s var(--ease), box-shadow .25s, background .35s; white-space: nowrap; }
.btn-ink { background: var(--inkbtn); color: #fff; box-shadow: 0 10px 18px -10px rgba(30, 57, 67, .7), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 14px 22px -10px rgba(30, 57, 67, .7); }
.btn-ink:active { transform: translateY(1px) scale(.98); }
.btn-ghost { height: 44px; padding: 0 22px; background: rgba(255, 255, 255, .75); color: var(--ink); box-shadow: var(--rim), 0 8px 16px -12px rgba(30, 57, 67, .5); font-size: 12.5px; }
.btn-ghost:hover { background: #fff; }
.btn[aria-busy="true"] { cursor: progress; }
.btn .ico { font-size: 17px; }

/* ---------- home left ---------- */
.hero-spark { position: absolute; left: 66px; top: 166px; width: 40px; height: 22px; }
.hero-title { position: absolute; left: 0; top: 0; font-size: 80px; line-height: 1; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; letter-spacing: -.015em; color: var(--ink); }
.hero-title span { position: absolute; white-space: nowrap; }
.hero-title .l1 { left: 112px; top: 150px; }
.hero-title .l2 { left: 168px; top: 222px; }
.hero-title .l3 { left: 132px; top: 294px; }
.hero-tags { position: absolute; left: 116px; top: 396px; font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--ink2); white-space: nowrap; }
.hero-tags i { font-style: normal; margin: 0 6px; }
.squiggle { position: absolute; left: 112px; top: 422px; width: 70px; height: 10px; }

.sidenav { position: absolute; left: 112px; top: 458px; width: 262px; display: flex; flex-direction: column; gap: 10px; }
.sidenav a {
  position: relative; height: 48px; border-radius: 12px; display: flex; align-items: center; gap: 24px; padding: 0 22px 0 28px;
  font-size: 15px; font-weight: 500; letter-spacing: .22em; color: var(--ink);
  background: linear-gradient(180deg, #FFFFFF, #F4F8F8);
  box-shadow: var(--rim), 0 6px 14px -10px rgba(30, 57, 67, .4);
  transition: background .35s, color .35s, transform .25s var(--ease), box-shadow .35s;
}
.sidenav a > span:first-child { font-size: 22px; }
.sidenav a .chev { margin-left: auto; font-size: 14px; opacity: .7; transition: transform .25s; }
.sidenav a:hover { transform: translateX(4px); }
.sidenav a:hover .chev { transform: translateX(3px); }
.sidenav a.active { background: var(--inkbtn); color: #fff; box-shadow: 0 10px 18px -10px rgba(30, 57, 67, .8); }
.sidenav a.active .chev { opacity: 1; }
.side-dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--serum-d); margin-left: 8px; }
.side-dot.show { display: block; }
.sidenav a.active .side-dot { background: var(--serum); }

.note-card { position: absolute; left: 117px; top: 766px; width: 242px; height: 112px; border-radius: 6px; background: #FBFCFC; box-shadow: 0 6px 14px -8px rgba(30, 57, 67, .35); padding: 14px 10px 0 92px; }
.note-card::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--celadon); border-radius: 4px; pointer-events: none; }
.note-card p { font-size: 18px; line-height: 1.3; font-weight: 400; font-stretch: 85%; color: var(--ink); }
.note-bottle { position: absolute; left: -46px; top: -46px; width: 150px; height: 150px; }
.note-bottle svg { width: 100%; height: 100%; overflow: visible; }
.note-drop { position: absolute; left: -30px; top: -70px; width: 26px; height: 26px; }
.note-drop svg { width: 100%; height: 100%; }
.note-clip { position: absolute; left: 44px; top: -12px; width: 10px; height: 28px; border: 2px solid var(--ink3); border-radius: 6px; }

/* ---------- home right ---------- */
.season { left: 1088px; top: 132px; width: 572px; height: 276px; overflow: hidden; background: linear-gradient(100deg, #FFFFFF 0%, #F4F8F8 45%, #E7F0EE 100%); }
.season-text { position: absolute; left: 30px; top: 30px; z-index: 2; }
.season h2 { margin-top: 14px; font-size: 54px; line-height: .92; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; letter-spacing: -.01em; color: var(--ink); }
.season-sub { margin-top: 16px; font-size: 12px; line-height: 1.55; font-weight: 500; letter-spacing: .24em; color: var(--ink2); }
.season .btn { margin-top: 18px; height: 39px; padding: 0 22px; font-size: 12.5px; }
.season-art { position: absolute; right: 52px; top: -8px; height: 300px; width: auto; mix-blend-mode: multiply; }
.season-script { position: absolute; right: 22px; top: 30px; font-size: 13px; line-height: 1.1; font-weight: 500; letter-spacing: .04em; color: var(--celadon-d); transform: rotate(-10deg); text-align: center; z-index: 2; }

.bestsellers { left: 1088px; top: 428px; width: 572px; height: 246px; padding: 22px 28px 0 28px; }
.best-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.best-item { text-align: center; cursor: pointer; }
.best-item .tile { height: 108px; border-radius: 14px; background: var(--tile); overflow: hidden; display: grid; place-items: center; transition: transform .35s var(--ease), box-shadow .35s; }
.best-item .tile svg { width: 112%; height: 112%; transition: transform .45s var(--ease); }
.best-item:hover .tile { transform: translateY(-3px); box-shadow: 0 12px 20px -14px rgba(30, 57, 67, .5); }
.best-item:hover .tile svg { transform: scale(1.06) rotate(-2deg); }
.best-item b { display: block; margin-top: 12px; font-size: 16px; font-weight: 500; font-stretch: 85%; color: var(--ink); white-space: nowrap; }
.best-item small { display: block; margin-top: 8px; font-size: 14px; letter-spacing: .08em; color: var(--ink2); text-align: left; padding-left: 8px; font-variant-numeric: tabular-nums; }

.goods { left: 1088px; top: 696px; width: 572px; height: 190px; padding: 22px 20px 0 26px; }
.goods-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.goods-grid .g-tile { height: 118px; border-radius: 10px; background: linear-gradient(180deg, #F7FAFA 0%, #EDF4F2 55%, #DDEBE8 100%); position: relative; overflow: hidden; }
.goods-grid .g-tile svg { position: absolute; left: 0; top: -4px; width: 100%; height: 96%; transition: transform .45s var(--ease); }
.goods-grid .g-tile:hover svg { transform: translateY(-4px); }
.g-name { position: absolute; left: 0; right: 0; bottom: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; color: var(--ink2); text-align: center; }

/* ---------- shop / story left ---------- */
.backlink { position: absolute; left: 100px; top: 142px; display: inline-flex; align-items: center; gap: 16px; font-size: 13.5px; font-weight: 500; letter-spacing: .24em; color: var(--ink); transition: gap .3s, color .3s; }
.backlink:hover { gap: 22px; color: var(--celadon-d); }
.backlink .ico { font-size: 16px; }
.menu-title { position: absolute; left: 96px; top: 176px; font-size: 84px; line-height: 1; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; letter-spacing: -.015em; color: var(--ink); white-space: nowrap; }
.menu-tags { position: absolute; left: 102px; top: 280px; font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--ink2); white-space: nowrap; }
.menu-tags i { font-style: normal; margin: 0 6px; }
.youarehere { position: absolute; left: 236px; top: 380px; }
.youarehere span { font-size: 15px; font-weight: 500; color: var(--celadon-d); display: block; transform: rotate(-6deg); }
.youarehere svg { position: absolute; left: 40px; top: 24px; width: 50px; height: 50px; }

/* ---------- shop panel ---------- */
.panel { overflow: hidden; }
.menu-panel { left: 518px; top: 128px; width: 1142px; height: 758px; }
.menu-grid-view, .detail-view { position: absolute; inset: 0; transition: opacity .35s; }
.menu-panel.is-detail .menu-grid-view { opacity: 0; pointer-events: none; visibility: hidden; }
.menu-panel:not(.is-detail) .detail-view { opacity: 0; pointer-events: none; visibility: hidden; }
.menu-head { position: absolute; left: 32px; right: 32px; top: 20px; height: 36px; }
.chips { margin-left: auto; display: flex; gap: 9px; }
.chip { height: 35px; padding: 0 18px 0 20px; border-radius: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; letter-spacing: .16em; color: var(--ink2); background: #F2F7F7; box-shadow: var(--rim); transition: background .3s, color .3s, box-shadow .3s, transform .2s; }
.chip small { font-size: 11px; letter-spacing: 0; opacity: .7; }
.chip:hover { transform: translateY(-1px); color: var(--ink); }
.chip.active { background: var(--inkbtn); color: #fff; box-shadow: 0 8px 14px -8px rgba(30, 57, 67, .7); }
.menu-grid { position: absolute; left: 28px; top: 80px; right: 28px; display: grid; grid-template-columns: repeat(4, 254px); gap: 24px 23px; }
.grid-empty { position: absolute; left: 0; right: 0; top: 320px; text-align: center; font-size: 18px; color: var(--ink2); }
.m-card { position: relative; height: 304px; border-radius: 18px; padding: 12px; background: linear-gradient(180deg, #FFFFFF, #F6F9F9); box-shadow: var(--rim), 0 10px 20px -16px rgba(30, 57, 67, .45); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s, opacity .35s; }
.m-card:hover { transform: translateY(-4px); box-shadow: var(--rim), 0 18px 26px -18px rgba(30, 57, 67, .55); }
.m-card .tile { height: 182px; border-radius: 14px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.m-card .tile svg { width: 92%; height: 92%; transition: transform .5s var(--ease); }
.m-card:hover .tile svg { transform: scale(1.06) rotate(-2deg); }
.m-card b { display: block; margin-top: 16px; text-align: center; font-size: 19px; font-weight: 500; font-stretch: 85%; color: var(--ink); }
.m-card small { display: block; margin-top: 9px; text-align: center; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; color: var(--ink2); white-space: nowrap; }
.m-card .price { position: absolute; left: 22px; bottom: 18px; font-size: 16px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.add-round { position: absolute; right: 14px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--inkbtn); color: #fff; font-size: 17px; box-shadow: 0 6px 12px -6px rgba(30, 57, 67, .8); transition: transform .25s var(--ease), background .3s; }
.add-round:hover { transform: scale(1.12) rotate(90deg); }
.add-round.done { background: var(--celadon-d); }
.m-card.enter { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }

/* detail */
.detail-stage { position: absolute; left: 34px; top: 70px; width: 470px; height: 520px; perspective: 1100px; cursor: grab; touch-action: pan-y; }
.detail-stage:active { cursor: grabbing; }
.spin3d { position: absolute; left: 25px; top: 40px; width: 420px; height: 420px; transform-style: preserve-3d; animation: float 5s ease-in-out infinite; }
.spin3d .face { position: absolute; inset: 0; backface-visibility: hidden; transform-style: preserve-3d; }
.spin3d .face svg { width: 100%; height: 100%; overflow: visible; }
.spin3d .back { transform: rotateY(180deg) scaleX(-1); }
@keyframes float { 50% { translate: 0 -8px; } }
.detail-3d { position: absolute; inset: 0; display: none; border-radius: 18px; overflow: hidden; }
.detail-stage.is-3d .detail-3d { display: block; }
.detail-stage.is-3d .spin3d, .detail-stage.is-3d .detail-shadow { visibility: hidden; }
.detail-shadow { position: absolute; left: 90px; top: 430px; width: 300px; height: 40px; border-radius: 50%; background: radial-gradient(ellipse, rgba(30, 57, 67, .16), transparent 70%); }
.detail-info { position: absolute; left: 637px; top: 100px; width: 470px; }
.detail-info > * { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.detail-info .backlink { position: static; font-size: 13.5px; }
.d-cat { margin-top: 28px; font-size: 13.5px; font-weight: 500; letter-spacing: .24em; color: var(--celadon-d); }
.d-titlerow { margin-top: 10px; display: flex; align-items: center; gap: 16px; }
.d-title { font-size: 52px; line-height: 1; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.save-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--serum-d); background: #fff; box-shadow: var(--rim); transition: transform .25s var(--ease); }
.save-btn:hover { transform: scale(1.1); }
.d-price { margin-top: 12px; display: flex; align-items: baseline; gap: 12px; font-size: 22px; letter-spacing: .06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.d-price small { font-size: 12px; letter-spacing: .04em; color: var(--ink3); }
.d-price span { display: inline-block; }
.d-price span.tick { animation: tick .45s var(--ease); }
@keyframes tick { from { opacity: 0; transform: translateY(-10px); } }
.d-desc { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 440px; }
.d-tags { margin-top: 16px; display: flex; gap: 9px; flex-wrap: wrap; }
.d-tags span { height: 28px; padding: 0 12px; border: 1.5px dashed var(--celadon); border-radius: 14px; display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; color: var(--celadon-d); }
.d-opts { margin-top: 22px; display: flex; gap: 9px; }
.d-opts button { height: 36px; padding: 0 16px; border-radius: 10px; font-size: 15px; color: var(--ink); background: #F2F7F7; box-shadow: var(--rim); transition: box-shadow .25s, background .25s, transform .2s; }
.d-opts button:hover { transform: translateY(-1px); }
.d-opts button.active { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.d-buy { margin-top: 22px; display: flex; gap: 17px; align-items: center; }
.d-3d { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.stepper { height: 42px; padding: 0 6px; border-radius: 21px; display: inline-flex; align-items: center; background: #F2F7F7; box-shadow: var(--rim); }
.stepper button { width: 30px; height: 30px; border-radius: 50%; font-size: 15px; display: grid; place-items: center; transition: background .2s; }
.stepper button:hover { background: #E1ECEB; }
.stepper output { min-width: 34px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.add-btn { position: relative; height: 47px; width: 193px; font-size: 13.5px; overflow: hidden; }
.add-btn .lbl { display: inline-flex; align-items: center; gap: 12px; transition: transform .4s var(--ease), opacity .3s; }
.add-btn .lbl2 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; transform: translateY(100%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.add-btn.added { background: linear-gradient(180deg, #56978C, #3F7D73); box-shadow: 0 10px 18px -10px rgba(63, 125, 115, .8); }
.add-btn.added .lbl { transform: translateY(-100%); opacity: 0; }
.add-btn.added .lbl2 { transform: none; opacity: 1; }
.detail-hint { position: absolute; left: 196px; top: 618px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink2); }
.detail-hint .ico { font-size: 14px; }
.detail-rule { position: absolute; left: 22px; right: 22px; top: 650px; border-top: 1.5px dashed var(--line); }
.thumbs { position: absolute; left: 0; right: 0; top: 662px; display: flex; justify-content: center; gap: 13px; }
.thumbs button { width: 79px; height: 74px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s; }
.thumbs button svg { width: 92%; height: 92%; }
.thumbs button:hover { transform: translateY(-3px); }
.thumbs button.active { box-shadow: inset 0 0 0 2.5px var(--ink); }
.is-detail .thumbs button { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 40ms + 250ms); }
.swap-out { animation: swapOut .32s var(--ease-io) forwards; }
.swap-in { animation: swapIn .6s var(--ease) both; }
@keyframes swapOut { to { opacity: 0; transform: translateX(var(--dx, -40px)) scale(.9); } }
@keyframes swapIn { from { opacity: 0; transform: translateX(var(--dx, 40px)) scale(.9); } }

/* ---------- studio ---------- */
.cal-panel { left: 97px; top: 128px; width: 970px; height: 760px; overflow: visible; }
.cal-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 0% 100%, rgba(169, 207, 199, .4), transparent 40%), radial-gradient(ellipse at 100% 0%, rgba(241, 203, 185, .45), transparent 40%); pointer-events: none; }
.tape { position: absolute; z-index: 3; height: 38px; width: 112px; }
.tape-mint { left: 48px; top: -20px; transform: rotate(-4deg); background: repeating-linear-gradient(90deg, #BFDCD5 0 9px, #D6E9E4 9px 18px); opacity: .9; }
.tape-peach { right: -38px; top: -18px; transform: rotate(3deg); background-color: #F4D5C7; background-image: radial-gradient(#fff 1.6px, transparent 1.8px); background-size: 12px 12px; opacity: .9; }
.cal-head { position: absolute; left: 34px; right: 34px; top: 26px; height: 90px; }
.round-btn { position: absolute; top: 24px; width: 39px; height: 39px; border-radius: 50%; background: #F2F7F7; box-shadow: var(--rim); font-size: 15px; display: grid !important; place-items: center; transition: transform .25s var(--ease), background .25s; }
.round-btn:hover { transform: scale(1.08); background: #E6EFEF; }
#calPrev { left: 0; }
#calNext { left: 383px; }
.cal-month { position: absolute; left: 56px; top: 10px; display: flex; align-items: baseline; gap: 12px; font-size: 64px; line-height: 1; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; color: var(--ink); white-space: nowrap; }
.cal-month small { font-size: 14px; font-weight: 500; font-stretch: 100%; letter-spacing: .32em; color: var(--ink); }
.cal-month.swap { animation: rise .5s var(--ease); }
.cal-tag { position: absolute; right: 50px; top: 38px; display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .26em; color: var(--ink2); }
.cal-tag [data-art="spark"] { width: 52px; height: 26px; position: absolute; right: -60px; top: -14px; }
.cal-dows { position: absolute; left: 34px; right: 34px; top: 116px; display: grid; grid-template-columns: repeat(7, 1fr); padding-bottom: 12px; border-bottom: 1.5px solid #BFCFD1; }
.cal-dows span { font-size: 12.5px; font-weight: 500; letter-spacing: .2em; color: var(--ink2); padding-left: 10px; }
.cal-dows .we { color: var(--celadon-d); }
.cal-grid { position: absolute; left: 34px; right: 34px; top: 142px; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 94px; }
.cal-grid.slide-l { animation: slideL .5s var(--ease); }
.cal-grid.slide-r { animation: slideR .5s var(--ease); }
@keyframes slideL { from { opacity: 0; transform: translateX(-30px); } }
@keyframes slideR { from { opacity: 0; transform: translateX(30px); } }
.cell { position: relative; border-right: 1.2px dashed var(--line); border-bottom: 1.2px dashed var(--line); padding: 12px 10px; }
.cell:nth-child(7n) { border-right: 0; }
.cell .n { font-size: 18px; color: var(--ink); position: relative; z-index: 1; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.cell.we .n { color: var(--celadon-d); }
.cell.dim .n { color: #BCC9CB; }
.cell.today .n::before { content: ""; position: absolute; width: 36px; height: 34px; border: 2px solid var(--serum-d); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -52%); }
.cell .evt { position: absolute; left: 0; right: 0; top: 18px; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.cell .evt .evi { width: 36px; height: 36px; transition: transform .35s var(--ease); }
.cell .evt b { margin-top: 4px; font-size: 13px; font-weight: 500; font-stretch: 85%; line-height: 1.1; color: var(--ink); text-align: center; padding: 0 4px; }
.cell .evt:hover .evi { transform: translateY(-3px) rotate(-6deg) scale(1.1); }
.cell .evt::before { content: ""; position: absolute; left: 50%; top: 18px; width: 92px; height: 70px; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; background: radial-gradient(ellipse, rgba(169, 207, 199, .6), transparent 70%); opacity: 0; transition: opacity .35s, transform .45s var(--ease); }
.cell.sel .evt::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cell .evt.past { opacity: .55; }
.cal-grid.pop .evt .evi { animation: pop .55s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
.cal-grid.pop .evt b { animation: fadeIn .5s both; animation-delay: calc(var(--i) * 45ms + 200ms); }
.reserved-heart { position: absolute; right: 10px; top: 10px; color: var(--serum-d); font-size: 13px; }
.cal-foot { position: absolute; left: 40px; bottom: 26px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink2); }
.cal-foot i { width: 10px; height: 10px; border-radius: 50%; background: var(--celadon-d); margin-right: 4px; }
.cal-foot em { font-style: normal; color: var(--ink); font-weight: 500; }

.onday { position: absolute; left: 1110px; top: 128px; width: 550px; }
.ticket { position: relative; margin-top: 18px; height: 248px; display: flex; filter: drop-shadow(0 16px 20px rgba(30, 57, 67, .14)); }
.ticket.enter { animation: ticketIn .7s var(--ease) both; }
@keyframes ticketIn { from { opacity: 0; transform: translateX(40px) rotate(1deg); } }
.t-stub { position: relative; width: 112px; flex: none; border-radius: 16px 0 0 16px; background: var(--inkbtn); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.t-stub::after { content: ""; position: absolute; right: -1px; top: 10px; bottom: 10px; border-right: 2px dotted rgba(255, 255, 255, .6); }
.t-stub small { font-size: 13px; font-weight: 500; letter-spacing: .26em; }
.t-stub b { margin: 10px 0 8px; font-size: 56px; line-height: 1; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; }
.t-body { position: relative; flex: 1; border-radius: 0 18px 18px 0; background: var(--cardbg); box-shadow: var(--rim); padding: 22px 26px 0 30px; }
.t-body::before, .t-body::after { content: ""; position: absolute; left: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.t-body::before { top: -9px; }
.t-body::after { bottom: -9px; }
.t-title { font-size: 28px; line-height: 1.05; font-weight: 400; font-stretch: 75%; font-variation-settings: "opsz" 72; color: var(--ink); padding-right: 60px; }
.t-meta { margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--ink2); }
.t-desc { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--ink); padding-right: 6px; }
.t-row { position: absolute; left: 30px; right: 26px; bottom: 34px; display: flex; align-items: center; }
.t-seats { font-size: 13px; letter-spacing: .02em; color: var(--ink2); }
.t-seats b { font-size: 17px; color: var(--celadon-d); font-weight: 600; margin-right: 4px; }
.t-btn { margin-left: auto; height: 41px; width: 150px; font-size: 12px; }
.t-btn.cancel { background: #F2F7F7; color: var(--ink); box-shadow: var(--rim); }
.t-btn:disabled { opacity: .5; cursor: default; transform: none; }
.t-icon { position: absolute; right: 22px; top: 18px; width: 50px; height: 50px; }
.t-icon svg { width: 100%; height: 100%; }
.stamp { position: absolute; right: 34px; bottom: 30px; padding: 6px 14px; border: 2.5px solid var(--serum-d); border-radius: 6px; color: var(--serum-d); font-size: 15px; font-weight: 600; letter-spacing: .24em; transform: rotate(-20deg); text-align: center; pointer-events: none; mix-blend-mode: multiply; }
.stamp::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--serum-d); border-radius: 3px; opacity: .6; }
.stamp i { display: block; font-style: normal; font-size: 10px; margin-top: 2px; }
.stamp.slam { animation: slam .55s var(--ease) both; }
@keyframes slam { 0% { opacity: 0; transform: rotate(-30deg) scale(2.2); } 60% { opacity: 1; transform: rotate(-18deg) scale(.92); } 100% { transform: rotate(-20deg) scale(1); } }

/* ---------- story ---------- */
.story-panel { left: 518px; top: 128px; width: 1142px; height: 758px; display: grid; grid-template-columns: 520px 1fr; }
.story-image { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.story-text { padding: 56px 56px 40px 52px; display: flex; flex-direction: column; align-items: flex-start; }
.story-text h2 { margin-top: 18px; font-size: 52px; line-height: 1; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; letter-spacing: -.01em; }
.story-text p:not(.eyebrow) { margin-top: 18px; font-size: 17px; line-height: 1.6; max-width: 56ch; }
.story-text .story-note { padding: 14px 16px; border-radius: 12px; border: 1.5px dashed var(--celadon); font-size: 14.5px !important; color: var(--ink2); }
.story-text .btn { margin-top: 26px; height: 44px; padding: 0 24px; font-size: 12.5px; }

/* ---------- bag ---------- */
.bag-panel { left: 1088px; top: 128px; width: 572px; height: 758px; padding: 26px 26px 0 26px; }
.bag-panel::after, .thanks-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at 0% 100%, rgba(169, 207, 199, .3), transparent 45%); }
.bag-head { display: flex; align-items: center; gap: 16px; font-size: 15.5px; font-weight: 500; letter-spacing: .24em; }
.bag-head .ico { font-size: 22px; }
.bag-head .chip-count { margin-left: 4px; height: 24px; padding: 0 12px; border-radius: 12px; background: #E3EEEC; display: inline-flex; align-items: center; font-size: 11px; letter-spacing: .16em; }
.bag-title { margin-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; }
.bag-title h2 { font-size: 50px; line-height: 1; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; color: var(--ink); }
.bag-title a { display: inline-flex; gap: 12px; font-size: 13.5px; font-weight: 500; letter-spacing: .2em; padding-bottom: 8px; transition: gap .3s, color .3s; }
.bag-title a:hover { gap: 18px; color: var(--celadon-d); }
.bag-rows { margin-top: 14px; height: 348px; overflow-y: auto; overflow-x: hidden; padding: 2px 2px 4px; display: flex; flex-direction: column; gap: 9px; scrollbar-width: thin; scrollbar-color: #C9D6D8 transparent; }
.b-row { position: relative; flex: none; height: 80px; border-radius: 14px; background: linear-gradient(180deg, #FFFFFF, #F6F9F9); box-shadow: var(--rim); display: flex; align-items: center; padding: 0 16px 0 7px; transition: opacity .3s, transform .35s var(--ease), height .35s var(--ease), margin .35s; }
.b-row.enter { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 200ms); }
.b-row.leaving { opacity: 0; transform: translateX(30px); height: 0; margin-top: -9px; }
.b-thumb { width: 66px; height: 66px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; flex: none; }
.b-thumb svg { width: 95%; height: 95%; }
.b-name { margin-left: 15px; flex: 1; min-width: 0; }
.b-name b { display: block; font-size: 17px; font-weight: 500; font-stretch: 85%; color: var(--ink); }
.b-name small { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; color: var(--ink2); white-space: nowrap; }
.b-row .stepper { height: 34px; padding: 0 3px; }
.b-row .stepper button { width: 26px; height: 26px; font-size: 13px; }
.b-row .stepper output { min-width: 22px; font-size: 15px; }
.b-total { width: 88px; text-align: right; font-size: 16px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.b-x { margin-left: 18px; color: var(--ink3); font-size: 15px; transition: color .2s, transform .2s; }
.b-x:hover { color: var(--serum-d); transform: rotate(90deg); }
.b-row.free { background: linear-gradient(180deg, #FDF7F4, #F8ECE6); box-shadow: none; }
.b-row.free::before { content: ""; position: absolute; inset: 0; border: 1.5px dashed #E3B8A9; border-radius: inherit; pointer-events: none; }
.onus { height: 26px; padding: 0 14px; border-radius: 13px; background: var(--inkbtn); color: #fff; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; display: inline-flex; align-items: center; transform: rotate(-4deg); }
.free-word { width: 96px; text-align: right; font-size: 15px; font-weight: 600; color: var(--serum-d); }
.bag-note { margin-top: 10px; height: 78px; border-radius: 14px; border: 1.5px dashed var(--line); padding: 14px 18px 0 18px; position: relative; }
.bag-note p { font-size: 15px; color: var(--ink); }
.bag-note p b { font-weight: 600; color: var(--celadon-d); }
.garland-mask { position: absolute; left: 18px; bottom: 6px; height: 34px; width: calc(100% - 92px); overflow: hidden; transition: clip-path .6s var(--ease); }
.bag-note .gift { position: absolute; right: 18px; bottom: 10px; width: 34px; height: 34px; }
.bag-note .gift.wiggle { animation: wiggle 1.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-10deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } }
.bag-sum { position: absolute; left: 26px; right: 26px; bottom: 22px; border-top: 1.5px dashed var(--line); padding-top: 16px; }
.sum-line { display: flex; justify-content: space-between; font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.sum-line span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.sum-line .script { font-size: 14px; font-weight: 600; color: var(--serum-d) !important; }
.sum-total { margin-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sum-total small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--ink2); }
.sum-total b { display: block; margin-top: 4px; font-size: 42px; line-height: 1; font-weight: 300; font-stretch: 75%; color: var(--ink); font-variant-numeric: tabular-nums; }
.checkout { height: 50px; padding: 0 24px; font-size: 12.5px; }
.bag-empty { position: absolute; left: 0; right: 0; top: 250px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.bag-empty .art { width: 160px; height: 160px; }
.bag-empty p { margin: 6px 0 22px; font-size: 18px; color: var(--ink2); }
.bag-empty .btn { height: 44px; padding: 0 26px; font-size: 12.5px; }

/* ---------- thanks ---------- */
.thanks-panel { left: 1088px; top: 128px; width: 572px; height: 758px; text-align: center; }
.thanks-panel .eyebrow { justify-content: center; margin-top: 96px; }
.thanks-panel h2 { margin-top: 10px; font-size: 76px; line-height: 1; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 96; color: var(--ink); }
.thanks-panel .sub { margin-top: 10px; font-size: 16px; color: var(--ink); padding: 0 40px; }
.thanks-panel .sub b { font-weight: 600; }
.receipt { position: relative; margin: 24px auto 0; width: 404px; max-width: calc(100% - 32px); padding: 22px 26px 64px; background: #FFFFFF; text-align: left; box-shadow: 0 10px 20px -16px rgba(30, 57, 67, .4);
  --z: 8px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) var(--z) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) var(--z) repeat-x; }
.receipt .ono { font-size: 12px; font-weight: 500; letter-spacing: .22em; color: var(--ink2); padding-bottom: 14px; border-bottom: 1.5px dashed var(--line); }
.r-lines { padding: 10px 0 12px; border-bottom: 1.5px dashed var(--line); max-height: 196px; overflow: auto; scrollbar-width: none; }
.r-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; line-height: 1.85; color: var(--ink); font-variant-numeric: tabular-nums; }
.r-line small { font-size: 10.5px; letter-spacing: .1em; color: var(--ink2); margin-left: 6px; }
.r-total { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.r-total small { font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--ink2); }
.r-total b { font-size: 34px; font-weight: 300; font-stretch: 75%; color: var(--ink); font-variant-numeric: tabular-nums; }
.receipt .stamp { right: auto; left: 30px; bottom: 14px; font-size: 12px; padding: 7px 14px; transform: rotate(-12deg); }
.receipt .stamp.slam { animation: slam2 .6s var(--ease) .7s both; }
@keyframes slam2 { 0% { opacity: 0; transform: rotate(-24deg) scale(2.2); } 60% { opacity: 1; transform: rotate(-10deg) scale(.92); } 100% { transform: rotate(-12deg) scale(1); } }
.thanks-panel .btn { margin-top: 30px; height: 42px; padding: 0 44px; font-size: 12.5px; }

/* ---------- footer ---------- */
.footbar { position: absolute; left: 63px; top: 908px; width: 1600px; height: 60px; border-radius: 20px; background: linear-gradient(180deg, #FFFFFF, #F6F9F9); box-shadow: var(--rim), 0 12px 24px -18px rgba(30, 57, 67, .4); z-index: 40; }
.foot-brand { position: absolute; left: 36px; top: 13px; display: block; width: 280px; height: 36px; }
.foot-brand > span { position: absolute; left: 0; top: 6px; width: 34px; height: 24px; }
.foot-brand b { position: absolute; left: 48px; top: 1px; font-size: 19px; font-weight: 500; font-stretch: 85%; color: var(--ink); white-space: nowrap; }
.foot-brand small { position: absolute; left: 48px; top: 25px; font-size: 9px; font-weight: 500; letter-spacing: .3em; color: var(--ink2); white-space: nowrap; }
.foot-script { position: absolute; left: 640px; top: 18px; font-size: 21px; font-weight: 300; font-stretch: 75%; font-variation-settings: "opsz" 48; color: var(--ink); white-space: nowrap; }
.preview-pill { position: absolute; left: 1068px; top: 8px; height: 44px; width: 222px; border-radius: 12px; background: #F2F7F7; box-shadow: var(--rim); display: flex; align-items: center; gap: 12px; padding-left: 8px; }
.preview-pill > span:first-child { width: 30px; height: 30px; border-radius: 8px; background: var(--inkbtn); color: #fff; font-size: 16px; }
.preview-pill small { display: block; font-size: 8.5px; font-weight: 500; letter-spacing: .28em; color: var(--ink2); margin-bottom: 4px; }
.preview-pill span:last-child { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.foot-div { position: absolute; left: 1320px; top: 15px; width: 1px; height: 30px; background: var(--line); }
.foot-nav { position: absolute; left: 1358px; top: 0; height: 60px; display: flex; align-items: center; gap: 36px; }
.foot-nav a { position: relative; font-size: 24px; color: var(--ink2); transition: color .3s, transform .25s var(--ease); }
.foot-nav a:hover { transform: translateY(-2px); color: var(--ink); }
.foot-nav a.active { color: var(--celadon-d); }
.badge { position: absolute; right: -12px; top: -12px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--serum-d); color: #fff; font-size: 10.5px; line-height: 19px; font-weight: 600; text-align: center; font-style: normal; transform: scale(0); transition: transform .35s var(--ease); box-shadow: 0 0 0 2px #fff; }
.badge.show { transform: scale(1); }
.badge.bump { animation: badgeBump .5s var(--ease); }
@keyframes badgeBump { 40% { transform: scale(1.45); } }
.foot-nav a.catch { animation: catch .5s var(--ease); }
@keyframes catch { 30% { transform: translateY(-6px) scale(1.15) rotate(-8deg); } 60% { transform: translateY(1px) scale(.95); } }

/* ---------- fx ---------- */
.morph-ghost { position: absolute; z-index: 20; border-radius: 26px; background: var(--cardbg); box-shadow: var(--rim), var(--shadow); pointer-events: none; overflow: hidden; }
.fly { position: absolute; z-index: 60; pointer-events: none; }
.fly svg { width: 100%; height: 100%; overflow: visible; }
.toast { position: absolute; left: 50%; top: 846px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; padding: 12px 22px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.points-float { position: absolute; z-index: 70; font-size: 16px; font-weight: 600; color: var(--celadon-d); pointer-events: none; animation: floatUp 1.4s var(--ease) forwards; }
@keyframes floatUp { to { opacity: 0; transform: translateY(-36px); } }

/* =====================================================================
   Phones: the 1728x995 canvas becomes a single scrolling column.
   ===================================================================== */
@media (max-width: 820px) {
  html, body { height: auto; }
  body { overflow-x: hidden; overflow-y: auto; padding-bottom: 76px; }
  #stage { position: relative; left: auto; top: auto; width: 100%; height: auto; transform: none !important; display: flex; flex-direction: column; }
  .motes { display: none; }

  /* header */
  .topbar { position: relative; order: 0; height: auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
  .brand { position: relative; left: auto; top: auto; width: auto; height: 44px; display: flex; align-items: center; gap: 10px; }
  .brand-mark { position: static; width: 44px; height: 30px; }
  .brand-name { position: static; font-size: 26px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px !important; height: 25px !important; }
  .brand-sub, .topnav, .hud-mark, .hud-gear { display: none; }
  .hud { position: static; height: 40px; }
  .pill { height: 34px; font-size: 14px; }
  .pill-points { width: auto; padding: 0 6px 0 12px; gap: 0; }
  .pill-points b { min-width: 0; margin-right: 8px; }
  .pill-drop { width: 18px; height: 18px; font-size: 18px; margin-right: 8px; }
  .pill-plus { width: 22px; height: 22px; }
  .pill-hearts { margin-left: 6px; width: auto; padding: 0 10px; gap: 6px; }
  .pill-plus { display: none; }
  .topbar { padding: 12px 12px 8px; gap: 8px; }
  .pill-heart { font-size: 18px; }

  /* the 3D bottle sits under the header on home only */
  .scene { position: relative; order: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 70svh; transform: none !important; transition: none; margin-top: 4px; }
  #stage:not([data-view="home"]) .scene { display: none; }
  .scene-open { position: relative; order: 2; left: auto; top: auto; align-self: center; margin-top: 8px; }
  #stage:not([data-view="home"]) .scene-open { display: none; }

  /* layers become normal blocks */
  .layer { position: relative; inset: auto; display: none; visibility: visible; opacity: 1; transition: none; pointer-events: auto; order: 3; padding: 0 16px; }
  .layer.on { display: block; }
  .L-homeRight, .L-menuPanel, .L-story, .L-bag, .L-thanks, .L-events { order: 4; }
  .layer .card, .layer .panel { position: relative; left: auto; top: auto; width: auto; height: auto; }
  #stage[data-view="bag"] .L-homeLeft, #stage[data-view="thanks"] .L-homeLeft { display: none; }

  /* home left */
  .hero-spark, .squiggle { display: none; }
  .hero-title { position: relative; font-size: 64px; line-height: .95; padding-top: 20px; }
  .hero-title span { position: relative; left: auto !important; top: auto !important; display: block; }
  .hero-title .l2 { padding-left: 32px; }
  .hero-tags { position: relative; left: auto; top: auto; margin-top: 14px; white-space: normal; line-height: 1.6; }
  .sidenav { position: relative; left: auto; top: auto; width: auto; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sidenav a { padding: 0 14px; gap: 12px; font-size: 13px; letter-spacing: .14em; }
  .sidenav a .chev { display: none; }
  .note-card { position: relative; left: auto; top: auto; margin: 70px auto 28px; }

  /* home right */
  .L-homeRight .card { margin-bottom: 16px; }
  .season { height: 300px; }
  .season-art { right: -6px; height: 260px; top: 20px; opacity: .9; }
  .season h2 { font-size: 48px; }
  .season-script { display: none; }
  .bestsellers { padding: 20px 18px; }
  .best-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .goods { padding: 20px 16px 16px; }
  .goods-grid { grid-template-columns: 1fr 1fr; }
  .card-head { flex-wrap: wrap; height: auto; row-gap: 10px; font-size: 13px; letter-spacing: .18em; }
  .card-head .link { font-size: 12px; }

  /* shop / story left */
  .L-menuLeft, .L-storyLeft { order: 3; }
  .backlink { position: relative; left: auto; top: auto; margin-top: 18px; }
  .menu-title { position: relative; left: auto; top: auto; margin-top: 10px; font-size: 56px; }
  .menu-tags { position: relative; left: auto; top: auto; margin: 8px 0 18px; white-space: normal; }
  .youarehere { display: none; }

  /* shop panel */
  .menu-panel { overflow: visible; }
  .menu-grid-view, .detail-view { position: relative; inset: auto; }
  .menu-panel.is-detail .menu-grid-view, .menu-panel:not(.is-detail) .detail-view { display: none; }
  .menu-head { position: relative; left: auto; right: auto; top: auto; height: auto; padding: 18px 16px 0; flex-wrap: wrap; row-gap: 12px; }
  .chips { margin-left: 0; flex-wrap: wrap; gap: 6px; }
  .chip { height: 32px; padding: 0 12px; font-size: 12px; letter-spacing: .1em; }
  .menu-grid { position: relative; left: auto; right: auto; top: auto; padding: 16px; grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid-empty { position: relative; top: auto; padding: 24px 16px 32px; }
  .m-card { height: auto; padding: 8px 8px 52px; }
  .m-card .tile { height: 140px; }
  .m-card small { white-space: normal; line-height: 1.4; }
  .detail-stage { position: relative; left: auto; top: auto; width: 100%; height: 380px; overflow: hidden; }
  .d-3d { flex-wrap: wrap; }
  .spin3d { left: 50%; top: 10px; width: 340px; height: 340px; margin-left: -170px; }
  .detail-shadow { left: 50%; margin-left: -150px; top: 330px; }
  .detail-info { position: relative; left: auto; top: auto; width: auto; padding: 0 18px 20px; }
  .d-title { font-size: 42px; white-space: normal; }
  .d-buy { flex-wrap: wrap; }
  .add-btn { flex: 1; min-width: 170px; }
  .detail-hint { position: relative; left: auto; top: auto; justify-content: center; padding-bottom: 8px; }
  .detail-rule { position: relative; left: auto; right: auto; top: auto; margin: 0 16px; }
  .thumbs { position: relative; top: auto; flex-wrap: wrap; gap: 8px; padding: 14px 12px 20px; }
  .thumbs button { width: 64px; height: 60px; }

  /* studio */
  .cal-panel { overflow: hidden; padding-bottom: 16px; }
  .tape { display: none; }
  .cal-head { position: relative; left: auto; right: auto; top: auto; height: 84px; margin: 18px 12px 0; }
  .cal-month { left: 50px; top: 14px; font-size: 44px; }
  .cal-month small { font-size: 11px; }
  #calNext { left: auto; right: 0; }
  .round-btn { top: 18px; }
  .cal-tag { display: none; }
  .cal-dows { position: relative; left: auto; right: auto; top: auto; margin: 0 10px; }
  .cal-dows span { padding-left: 0; text-align: center; font-size: 10px; letter-spacing: .06em; }
  .cal-grid { position: relative; left: auto; right: auto; top: auto; margin: 0 10px; grid-auto-rows: 60px; }
  .cell { padding: 6px 4px; }
  .cell .n { font-size: 14px; }
  .cell.today .n::before { width: 26px; height: 24px; }
  .cell .evt { top: 22px; }
  .cell .evt .evi { width: 26px; height: 26px; }
  .cell .evt b { display: none; }
  .cal-foot { position: relative; left: auto; bottom: auto; margin: 14px 16px 0; flex-wrap: wrap; font-size: 13px; }
  .onday { position: relative; left: auto; top: auto; width: auto; margin-top: 20px; }
  .ticket { height: auto; min-height: 250px; }
  .t-stub { width: 84px; }
  .t-stub b { font-size: 44px; }
  .t-body { padding: 18px 16px 84px 20px; }
  .t-title { font-size: 24px; padding-right: 50px; }
  .t-icon { width: 40px; height: 40px; right: 12px; }
  .t-row { left: 20px; right: 14px; bottom: 18px; flex-wrap: wrap; gap: 8px; }
  .t-btn { width: auto; padding: 0 16px; }
  .stamp { right: 18px; bottom: 70px; font-size: 13px; }

  /* story */
  .story-panel { display: block; overflow: hidden; }
  .story-image { height: 240px; }
  .story-text { padding: 26px 20px 28px; }
  .story-text h2 { font-size: 40px; }

  /* bag */
  .bag-panel { padding: 22px 16px 20px; }
  .bag-title h2 { font-size: 40px; }
  .bag-rows { height: auto; max-height: none; overflow: visible; }
  .b-row { height: auto; min-height: 80px; flex-wrap: wrap; row-gap: 8px; padding: 8px 12px 8px 7px; }
  .b-name { flex: 1 1 140px; }
  .b-name small { white-space: normal; line-height: 1.4; }
  .b-row .stepper { margin-left: 81px; }
  .b-total { flex: 1; }
  .b-row.free { flex-wrap: wrap; }
  .free-word { width: auto; margin-left: 12px; }
  .bag-note { height: auto; padding-bottom: 48px; }
  .bag-sum { position: relative; left: auto; right: auto; bottom: auto; margin-top: 16px; }
  .sum-total { flex-wrap: wrap; }
  .checkout { flex: 1 1 100%; }
  .bag-empty { position: relative; top: auto; padding: 30px 0 40px; }

  /* thanks */
  .thanks-panel { padding-bottom: 32px; }
  .thanks-panel .eyebrow { margin-top: 36px; }
  .thanks-panel h2 { font-size: 56px; }
  .thanks-panel .sub { padding: 0 16px; }

  /* footer becomes a bottom tab bar */
  .footbar { position: fixed; left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; height: 60px; border-radius: 18px; }
  .foot-brand, .foot-script, .preview-pill, .foot-div { display: none; }
  .foot-nav { position: static; justify-content: space-around; width: 100%; gap: 0; }
  .toast { position: fixed; top: auto; bottom: 84px; white-space: normal; width: max-content; max-width: calc(100vw - 32px); text-align: center; }
  .points-float { position: fixed; }
  .fly { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motes { display: none; }
}
