:root {
  color-scheme: dark;
  --ink: #f3f0e9;
  --muted: #b9b7b1;
  --accent: #c8b0ff;
  --heading-italic: #c8ddf4;
  --accent-soft: #c8b0ff26;
  --accent-stroke: #c8b0ff69;
  --action: #ed95c4;
  --action-hover: #f6aed5;
  --action-ink: #321427;
  --base: #101012;
  --stroke: rgba(242, 239, 229, .18);
  --mono: 'Courier New', monospace;
  --ease: cubic-bezier(.24,.68,.3,1);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
}
@supports (color: color-mix(in srgb, white, black)) {
  :root {
    --accent-soft: color-mix(in srgb,var(--accent) 15%,transparent);
    --accent-stroke: color-mix(in srgb,var(--accent) 41%,transparent);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 50% 6%, #282824, transparent 34rem), var(--base); font-family: Arial, Helvetica, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button[hidden] { display: none; }
button:disabled { cursor: wait; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: .95; font-weight: 500; letter-spacing: -.078em; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
main :is(h1, h2) em { color: var(--heading-italic); }
.wrap { width: min(calc(100% - 96px), 1312px); margin-inline: auto; }
.mono, .eyebrow { font: 700 .81rem/1.25 var(--mono); letter-spacing: .065em; text-transform: uppercase; }
.eyebrow { color: var(--accent); }
.glass { border: 1px solid var(--stroke); background: linear-gradient(135deg,#ffffff13,#ffffff04 54%,#05050626), #222225a3; box-shadow: inset 0 1px 0 #ffffff13, 0 16px 42px #0003; -webkit-backdrop-filter: blur(16px) saturate(115%); backdrop-filter: blur(16px) saturate(115%); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; gap: .55rem; padding: .68rem 1.12rem; border: 1px solid var(--stroke); border-radius: 100px; color: var(--ink); font-size: .91rem; font-weight: 700; line-height: 1.12; text-align: center; transition: background .23s, border-color .23s, transform .23s var(--ease); }
.button:hover { border-color: #f4f0e98a; background-color: #4a4a46; transform: translateY(-2px); }
.button.glass { border-color: color-mix(in srgb,var(--action) 30%,transparent); background-color: #392333a3; }
.button.glass:hover { background-color: #563548; }
.button.primary { background: var(--action); color: var(--action-ink); border-color: var(--action); box-shadow: 0 4px 18px color-mix(in srgb,var(--action) 15%,transparent); }
.button.primary:hover { background: var(--action-hover); }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 5; padding: .8rem; background: var(--accent); color: #1e221b; transform: translateY(-150%); }
.skip:focus { transform: none; }

.top { border-bottom: 1px solid var(--stroke); background: #19191abb; }
.top-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.logo { flex-shrink: 0; display: inline-block; }
.logo img { width: 135px; height: auto; filter: invert(95%); }
.top nav { display: flex; gap: clamp(19px, 3.1vw, 50px); align-items: center; color: var(--muted); font-size: .9rem; }
.top nav a:hover { color: white; }
.top .button { min-height: 40px; }
.top-actions { display: flex; align-items: center; gap: 7px; }
.wish-toggle { padding-inline: 9px; min-width: 40px; }
.wish-toggle svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }
#wish-count { font: 700 .72rem var(--mono); }
.direct-short { display: none; }

.hero { padding-block: 23px 13px; }
.hero-grid { display: grid; grid-template-columns: .96fr 1.04fr; min-height: clamp(400px, 40vw, 565px); gap: 16px; align-items: center; }
.hero-copy { z-index: 1; position: relative; padding: 24px 0 25px clamp(0px, 2.8vw, 40px); }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 28px; }
.status-sign { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 11px var(--accent-stroke); flex-shrink: 0; }
.separator { display: inline-block; width: 18px; height: 1px; background: var(--accent-stroke); }
.hero h1 { position: relative; z-index: 1; font-size: clamp(4.3rem, 8.3vw, 8.1rem); line-height: .76; font-weight: 600; }
.hero h1 em { display: inline-block; white-space: nowrap; margin-top: .17em; font-size: .78em; letter-spacing: -.08em; }
.hero-deck { margin-top: 23px; font-size: 1rem; line-height: 1.48; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-stage { --model-tone: #edb6c7; display: grid; place-items: center; align-self: stretch; min-width: 0; min-height: 0; isolation: isolate; position: relative; }
.hero-halo { position: absolute; inset: 6% 7% 9% 2%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb,var(--model-tone) 22%,#383837),#2b2b285b 49%,transparent 72%); }
.hero-halo::after { content: ''; position: absolute; inset: 6% 14%; border: 1px solid #ffffff15; border-radius: 50%; transform: rotate(-14deg) scaleX(1.14); box-shadow: 0 0 40px #ffffff08, inset 0 0 35px #ffffff0b; }
.hero-halo::before { content: ''; position: absolute; inset: 16% 29%; border: 1px solid #ffffff19; border-radius: 50%; transform: rotate(37deg) scaleX(1.45); box-shadow: inset 0 0 30px #ffffff08; }
.hero-bag { position: absolute; top: 6%; left: 14%; width: 69%; height: 80%; object-fit: contain; object-position: center; filter: drop-shadow(24px 23px 17px #000b) drop-shadow(0 0 30px #f6f2cb1c); transform-origin: center 15%; }
.hero-bag.is-changing { animation: feature-in .46s var(--ease) both; }
@keyframes feature-in { from { opacity: .3; transform: translateY(10px) rotate(-3deg) scale(.97); } to { opacity: 1; transform: none; } }
.feature { position: absolute; bottom: 11%; right: 2%; text-align: left; padding: 11px 12px 11px 16px; min-width: min(250px,75%); max-width: 80%; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.feature:hover { border-color: #ffffff78; }
.feature-meta { display: block; margin-bottom: 4px; color: var(--muted); font-size: .71rem; }
.feature strong { font-size: 1rem; }
.feature-open { width: 31px; height: 31px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--stroke); border-radius: 100%; color: var(--accent); font-size: 1.22rem; line-height: 1; }

.rail-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 15px; border-top: 1px solid var(--stroke); }
.rail-head .eyebrow { flex-shrink: 0; white-space: nowrap; }
.rail-intro { display: grid; gap: 5px; }
.rail-launch { font-size: clamp(.86rem,1.4vw,1.06rem); font-weight: 700; line-height: 1.28; }
.rail-status { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; column-gap: 13px; text-align: right; font-size: .84rem; color: var(--muted); }
.stock-link { display: inline-flex; align-items: center; min-height: 36px; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.stock-link:hover { color: var(--action-hover); }
.rail-status .stock-link { white-space: nowrap; }
.rack { display: flex; position: relative; isolation: isolate; margin-top: 5px; padding-inline: clamp(3px,1vw,14px); }
.rack::before { content: ''; position: absolute; z-index: 0; inset: 0 0 auto; height: 4px; border-radius: 4px; background: linear-gradient(#807c74,#d2d0c8 32%,#514f4b 56%,#272725); box-shadow: 0 2px 4px #000; }
.rack-item { position: relative; border: 0; display: flex; flex: 1 1 0px; flex-direction: column; align-items: center; min-width: 0; background: transparent; padding: 0 0 7px; }
.rack-item.is-turned { z-index: 2; }
.rack-item:focus-visible { outline-offset: -2px; }
.hook { z-index: 1; width: 13px; height: 17px; border: 1px solid #ccc9b8; border-left-color: transparent; border-bottom-color: #77756b; border-radius: 11px 11px 10px 4px; margin-top: -3px; transform: rotate(-15deg); }
.rack-bag { display: block; flex: none; width: min(100% - 6px,118px); height: clamp(112px,11vw,152px); margin-block: -4px 3px; pointer-events: none; }
.rack-bag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transform-origin: center top;
  transform: perspective(440px) rotateY(-62deg);
  transition: transform .46s var(--ease);
}
.rack-item.is-turned .rack-bag img { transform: perspective(440px) rotateY(0deg); }
.rack-label { display: grid; place-items: center; width: 28px; height: 28px; color: var(--muted); border: 1px solid transparent; font: 700 .74rem/1 var(--mono); margin-top: 2px; border-radius: 50%; }
.rack-item.is-current .rack-label { border-color: var(--accent-stroke); color: var(--accent); background: var(--accent-soft); }
.rack-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: var(--space-1); }
.rack-tip { color: var(--muted); font-size: .83rem; line-height: 1.35; }
.rack-prices { margin-top: var(--space-2); }
.rack-prices summary { list-style: none; cursor: pointer; }
.rack-prices summary::-webkit-details-marker { display: none; }
.rack-price-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,336px),1fr)); gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
.rack-price-list button { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; text-align: start; gap: .5rem; width: 100%; min-height: 44px; border: 1px solid var(--stroke); border-radius: 10px; padding: 7px 10px; background: var(--base); }
.rack-price-number { color: var(--accent); }
.rack-price-list strong { white-space: nowrap; color: var(--action); }
@media (max-width: 420px) {
  .rack-price-list button { grid-template-columns: auto minmax(0,1fr); row-gap: 3px; }
  .rack-price-list strong { grid-column: 2; }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .rack.show-rack-gesture .rack-item:not(.is-turned) img { animation: rack-nudge 570ms var(--ease) var(--rack-delay) backwards; }
  @keyframes rack-nudge {
    0%,100% { transform: perspective(440px) rotateY(-62deg); }
    37% { transform: perspective(440px) rotateY(-39deg) rotateZ(-3deg); }
    72% { transform: perspective(440px) rotateY(-65deg) rotateZ(1deg); }
  }
}
.rack-footer .stock-link { font-size: .88rem; }
@media (max-width: 900px) {
  .rack-item { transition: flex-grow .34s var(--ease); }
  .rack-item.is-turned { flex-grow: 2.1; }
}
.mascot-quiz { margin-top: clamp(22px,4vw,54px); }
.guess-layout { display: grid; grid-template-columns: minmax(0, .52fr) minmax(0,1fr); overflow: hidden; border-radius: 14px; }
.guess-copy { align-self: center; padding: 18px clamp(14px,3vw,36px); }
.guess-intro .eyebrow { font-size: .7rem; margin-bottom: 6px; }
.guess-intro h2 { font-size: clamp(1.55rem,3.2vw,2.7rem); letter-spacing: -.055em; }
.guess-mascot { position: relative; display: grid; place-items: center; min-height: 220px; overflow: hidden; background: radial-gradient(ellipse at 52% 45%,#503857,#25202e 76%); }
.mascot-color-filters { position: absolute; pointer-events: none; }
.mascot-poses { position: relative; width: min(90%,160px); aspect-ratio: 4 / 5; transform-origin: 50% 92%; filter: drop-shadow(4px 8px 9px #0007); }
.mascot-poses img { position: absolute; inset: 0 auto auto 50%; height: 100%; width: auto; max-width: none; translate: var(--pose-center,-51%) 0; opacity: 0; }
.mascot-poses .mascot-idle { opacity: 1; }
.mascot-clap-apart, .mascot-clap-together { filter: url(#mascot-color-clap); }
.mascot-clap-apart { --pose-center: -52%; }
.mascot-clap-together { --pose-center: -48%; }
.mascot-thumb-down { --pose-center: -50%; filter: url(#mascot-color-down); }
.mascot-happy { --pose-center: -51%; filter: url(#mascot-color-happy); mask-image: linear-gradient(90deg,transparent,#000 9%,#000 83%,transparent),linear-gradient(0deg,transparent,#000 7%); mask-composite: intersect; }
.guess-mascot:is(.is-correct,.is-wrong) .mascot-idle { opacity: 0; }
.guess-mascot.is-correct .mascot-clap-apart { animation: clap-apart .34s step-end 3 both; }
.guess-mascot.is-correct .mascot-clap-together { animation: clap-together .34s step-end 3 both; }
.guess-mascot.is-wrong .mascot-thumb-down { opacity: 1; animation: mascot-no .38s var(--ease) both; }
@keyframes clap-apart { 0% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes clap-together { 0% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes mascot-no { from { transform: rotate(-3deg); } to { transform: none; } }
.guess-riddle { color: var(--muted); line-height: 1.47; max-width: 48ch; margin-top: 9px; }
.guess-instruction { margin-top: 11px; color: var(--muted); font-size: .8rem; }
.guess-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.guess-choice { min-width: 44px; min-height: 44px; padding: .45rem .62rem; font-family: var(--mono); }
.guess-choice[aria-disabled=true] { opacity: .6; cursor: default; }
.guess-choice.is-correct { opacity: 1; background: var(--accent-soft); border-color: var(--accent-stroke); color: var(--accent); }
.guess-feedback { margin-top: 9px; min-height: 1.25em; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.guess-feedback:empty { display: none; }
.guess-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.guess-actions .button { min-height: 40px; padding-inline: .75rem; font-size: .83rem; }
.guess-actions .primary { --action: #9ed8ff; --action-hover: #bde7ff; --action-ink: #172b43; }
.touch-tip { display: none; white-space: nowrap; }
@media (hover: none), (pointer: coarse) {
  .pointer-tip { display: none; }
  .touch-tip { display: inline; }
}

.section { padding-top: clamp(65px, 9vw, 125px); }
.section-head { display: grid; grid-template-columns: 1fr minmax(190px,35%); align-items: end; gap: 14px 24px; border-top: 1px solid var(--stroke); padding-top: 20px; margin-bottom: 22px; }
.section-head .eyebrow, .mascot-copy .eyebrow { margin-bottom: 14px; }
.section h2 { font-size: clamp(3.6rem, 7.1vw, 7.25rem); }
.accessory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: clamp(12px, 2.5vw, 32px);
}
.flower-machine, .accessory-copy {
  border-radius: 18px;
  min-width: 0;
}
.flower-machine {
  padding: clamp(8px, 1.5vw, 16px);
  border-color: #adbdc86b;
  background-color: #252b31;
}
.flower-machine-sign {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: .55rem .8rem .85rem;
}
.flower-machine-sign h3 { font-size: clamp(1.34rem, 2.65vw, 2.15rem); }
.flower-machine-sign em { color: var(--action); }
.flower-machine-sign > span {
  height: 1px;
  background: linear-gradient(90deg,transparent,#c9dbe17d,transparent);
}
.flower-chamber {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 55px 9px 42px;
  border: 1px solid #e0e8ef8a;
  border-radius: 13px;
  background: radial-gradient(ellipse at 44% 53%,#c5cdd0 0%,#a5afb5 62%,#76838b 100%);
  box-shadow: inset 0 0 24px #222f3c94;
}
.flower-chamber::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 5;
  inset: 0;
  background: linear-gradient(124deg,transparent 12%,#f2fbff29 12.2%,#f4f9ff0d 24%,transparent 25% 70%,#f7fcff1a 70.2%,transparent 87%);
}
.flower-track {
  position: absolute;
  inset: 13px 0 auto;
  z-index: 4;
  height: 5px;
  background: linear-gradient(#eff9ff,#8c9aa4 40%,#424e5b);
}
.flower-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: clamp(1px, .7vw, 9px);
}
.flower-piece {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  aspect-ratio: 3 / 4.2;
  background: transparent;
  appearance: none;
  touch-action: manipulation;
}
.flower-piece:hover, .flower-piece[aria-pressed="true"] {
  border-color: #26374be0;
  background: radial-gradient(ellipse at 50% 72%,#f8fcff80,transparent 73%);
}
.flower-piece:focus-visible { outline: 2px solid #26374b; outline-offset: -2px; }
.flower-piece img {
  display: block;
  margin: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4.2;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px #1d2b3c70);
}
.flower-piece img { transition: transform .24s var(--ease), opacity .2s; }
.flower-piece:hover img { transform: translateY(-3px); }
.flower-piece.is-grabbed img { opacity: 0; }
.flower-carriage {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 12%;
  width: 0;
  pointer-events: none;
}
.flower-claw {
  position: absolute;
  width: 36px;
  height: 28px;
  left: -18px;
}
.flower-claw::before {
  content: "";
  position: absolute;
  inset: auto auto 23px 17px;
  width: 3px;
  height: 550px;
  background: repeating-linear-gradient(0deg,#46525f 0 2px,#eef6fc 2px 3px);
}
.flower-claw-head, .flower-jaw {
  position: absolute;
  background: linear-gradient(100deg,#697984,#f1f9ff 52%,#8595a0);
}
.flower-claw-head {
  inset: 2px 9px auto;
  height: 11px;
  border-radius: 4px;
}
.flower-jaw {
  top: 9px;
  width: 14px;
  height: 19px;
  transition: transform .18s var(--ease);
}
.flower-jaw-left {
  left: 3px;
  transform-origin: top right;
  clip-path: polygon(76% 0,100% 15%,34% 68%,69% 95%,42% 100%,0 70%);
}
.flower-jaw-right {
  right: 3px;
  transform-origin: top left;
  clip-path: polygon(24% 0,0 15%,66% 68%,31% 95%,58% 100%,100% 70%);
}
.flower-claw.is-closed .flower-jaw-left { transform: rotate(-27deg); }
.flower-claw.is-closed .flower-jaw-right { transform: rotate(27deg); }
.flower-hatch {
  position: absolute;
  inset: auto 6% 11px auto;
  width: 24%;
  height: 15px;
  border: 1px solid #e5eef4;
  border-radius: 50%;
  background: #27313e;
  box-shadow: 0 0 7px #eef7ff77;
}
.flower-caught-image {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px #1d284399);
}
.flower-machine-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 18px;
  padding: .8rem .2rem .1rem;
}
.flower-machine-controls p { min-height: 2.5em; color: var(--muted); font-size: .88rem; }
.flower-result {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(calc(100% - 28px), 390px);
  max-height: calc(100% - 28px);
  overflow: auto;
  padding: clamp(16px, 5vw, 26px);
  border: 1px solid #afc2d38a;
  border-radius: 20px;
  background: #232a31;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 22px 80px #0008;
}
.flower-result::backdrop {
  background: #110c10ba;
  backdrop-filter: blur(7px);
}
.flower-result h2 {
  margin-inline: 36px;
  font-size: clamp(1.65rem, 6vw, 2.55rem);
}
.flower-result-visual {
  display: grid;
  place-items: center;
  margin: .7rem 0;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 56%,#d7e0e4,#84939c 84%);
}
.flower-result-visual img {
  width: min(85%, 230px);
  height: auto;
  max-height: min(48dvh, 320px);
  object-fit: contain;
  filter: drop-shadow(0 8px 12px #202f416f);
}
.flower-result p {
  margin-bottom: .85rem;
  color: #e4edf4;
}
@media (prefers-reduced-motion: no-preference) {
  .flower-result[open] { animation: flower-reveal .28s var(--ease) both; }
  @keyframes flower-reveal {
    from { opacity: 0; transform: translateY(10px) scale(.97); }
    to { opacity: 1; transform: none; }
  }
}
.accessory-copy {
  padding: clamp(18px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.accessory-copy h3 {
  font-size: clamp(2.1rem, 4.5vw, 4.6rem);
  line-height: .99;
}
.accessory-copy h3 em {
  color: var(--heading-italic);
}
.accessory-price {
  font-size: clamp(1.12rem, 2.6vw, 1.6rem);
  font-weight: 700;
}
.accessory-price span {
  color: var(--accent);
  font-weight: 400;
}
.accessory-copy > p:not(.accessory-price) {
  color: var(--muted);
  line-height: 1.5;
}
#flower-machine { scroll-margin-top: 20px; }
@media (max-width: 720px) {
  .accessory-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .flower-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
.about-spread { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1fr); align-items: stretch; gap: var(--space-2); }
.about-portrait { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center 34%; border-radius: clamp(10px,1.4vw,18px); }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--space-2); padding: clamp(22px,4vw,52px); border-radius: clamp(12px,1.4vw,18px); }
.section .about-copy h2 { font-size: clamp(2.45rem,4.8vw,5rem); }
.about-copy h2 em { display: block; margin-top: .12em; }
.about-copy p { max-width: 38ch; color: var(--muted); line-height: 1.55; }
.about-copy p a { color: var(--heading-italic); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .about-spread { grid-template-columns: minmax(0,1fr); gap: var(--space-1); }
}
.section-head > p, .mascot-copy > p:last-of-type { color: var(--muted); line-height: 1.48; font-size: 1rem; max-width: 34ch; }
.scan-layout, .mascot-layout { display: grid; grid-template-columns: 1.25fr .75fr; overflow: hidden; border-radius: 16px; }
.scan-visual { display: grid; place-items: center; min-height: 390px; position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(var(--accent-soft) 1px,transparent 1px), linear-gradient(90deg,var(--accent-soft) 1px,transparent 1px), radial-gradient(ellipse at center,#362c42,#1c1723 75%); background-size: 28px 28px,28px 28px,100% 100%; }
.scan-visual::after { content: ''; position: absolute; pointer-events: none; inset: 13px; border: 1px solid var(--accent-soft); border-radius: 3px; }
.stage-meta { position: absolute; inset: 23px 24px auto; display: flex; justify-content: space-between; gap: 10px; z-index: 1; color: var(--accent); }
.scan-art { width: 100%; height: 100%; position: absolute; inset: 0; pointer-events: none; }
.scan-bag { filter: drop-shadow(6px 12px 7px #000b); transition: filter .45s, opacity .45s; }
.scan-visual.is-on .scan-bag { opacity: .72; filter: grayscale(.78) brightness(.82) drop-shadow(0 0 12px var(--accent-stroke)); }
.scan-reveal { opacity: 0; transition: opacity .26s; }
.scan-visual.is-on .scan-reveal { opacity: 1; animation: reveal-scan .85s linear both; }
.scan-interior { fill: #28173876; }
.scan-object { fill: var(--accent-soft); stroke: #f1e7ff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 1.5px var(--accent)); }
@keyframes reveal-scan { 0%,41% { opacity: 0; } 72% { opacity: .55; } 100% { opacity: 1; } }
.scan-line { position: absolute; inset: 10% 15px auto; height: 1px; background: var(--accent); box-shadow: 0 0 13px 3px var(--accent-stroke); opacity: 0; }
.scan-visual.is-on .scan-line { animation: scanning .8s var(--ease); }
@keyframes scanning { 0% { opacity: 0; top: 10%; } 18%,81% { opacity: 1; } 100% { top: 91%; opacity: 0; } }
.scan-copy { align-self: center; padding: clamp(22px,5vw,65px); }
.select-label { display: block; color: var(--muted); margin-bottom: 8px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; top: 16px; right: 15px; width: 8px; height: 8px; border: solid var(--accent); border-width: 0 1px 1px 0; transform: rotate(45deg); pointer-events: none; }
select { width: 100%; min-height: 46px; padding: 9px 32px 9px 12px; appearance: none; border-radius: 7px; border: 1px solid var(--stroke); background: #202020; }
.scan-toggle { display: flex; cursor: pointer; align-items: center; gap: 12px; min-height: 48px; width: max-content; margin-top: 10px; font-weight: 700; }
.scan-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-track { display: inline-flex; align-items: center; padding: 3px; width: 46px; height: 25px; border-radius: 100px; border: 1px solid var(--stroke); background: #ffffff13; transition: background .25s; }
.switch-track::after { display: block; content: ''; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); transition: transform .25s var(--ease), background .25s; }
.scan-toggle input:checked + .switch-track { background: var(--accent); }
.scan-toggle input:checked + .switch-track::after { background: #2b1c43; transform: translateX(20px); }
.scan-toggle input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 4px; }
.scan-readout { min-height: 53px; color: var(--muted); font-size: .91rem; line-height: 1.45; }
.scan-readout strong { display: block; color: var(--ink); }
.scan-readout p { margin-block: 4px 8px; font-size: .9rem; }
#scan-measurements { margin-top: 4px; font-size: .9rem; }

.measurement-list { padding-inline: clamp(12px,3vw,32px); border-radius: 16px; }
.measurement-list details { scroll-margin-top: 16px; }
.measurement-list details + details { border-top: 1px solid var(--stroke); }
.measurement-list summary { display: grid; grid-template-columns: 36px minmax(0,1fr) 32px; align-items: center; gap: clamp(8px,2vw,20px); min-height: 64px; padding-block: 10px; list-style: none; cursor: pointer; }
.measurement-list summary::-webkit-details-marker { display: none; }
.measurement-list summary::after { content: ''; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent-stroke); background: linear-gradient(var(--accent),var(--accent)) center / 12px 1px no-repeat, linear-gradient(var(--accent),var(--accent)) center / 1px 12px no-repeat; transition: transform .25s var(--ease); }
.measurement-list details[open] summary::after { transform: rotate(45deg); }
.measurement-number { color: var(--accent); }
.measurement-name { display: grid; gap: 3px; font-size: clamp(1rem,2vw,1.24rem); font-weight: 700; }
.measurement-name small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.measurement-list dl { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(120px,100%),1fr)); column-gap: clamp(10px,2vw,20px); row-gap: 12px; margin: 0; padding-block: 8px 20px; }
.measurement-list dl div { display: grid; align-content: start; gap: 5px; padding: 10px 0 2px; border-top: 1px solid var(--accent-stroke); }
.measurement-list dt { color: var(--muted); font-size: .82rem; }
.measurement-list dd { margin: 0; font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }

#looks { max-width: 1060px; }
.look-topline { display: flex; align-items: center; justify-content: space-between; gap: var(--space-1); border-block: 1px solid var(--stroke); }
.look-topline .eyebrow { color: var(--ink); }
.look-title { margin-block: var(--space-3) var(--space-4); }
.section .look-title { font-size: clamp(3rem,8.4vw,7rem); }
.looks-layout { --look-radius: 18px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: start; gap: clamp(12px,2.3vw,32px); }
.look-stage { display: grid; grid-template-columns: minmax(42px,1fr) minmax(0,3.75fr) minmax(42px,1fr); align-items: center; gap: clamp(5px,1.2vw,14px); min-width: 0; touch-action: pan-y pinch-zoom; }
.look-neighbor { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--look-radius); color: var(--ink); background: #26212e; }
.look-neighbor img { width: 100%; height: auto; border-radius: inherit; opacity: .58; transition: opacity .24s; }
.look-neighbor:hover img, .look-neighbor:focus-visible img { opacity: 1; }
.look-neighbor span { position: absolute; inset: auto 0 0; padding: 3px; font-size: clamp(1rem,2vw,1.5rem); line-height: 1.2; text-align: center; background: #17111cdc; }
.look-stage.is-closeup .look-figure { background: #211c24; background: radial-gradient(ellipse, color-mix(in srgb,var(--look-tone) 33%,#29232a), #211c24 81%); }
.look-figure { display: grid; place-items: center; width: 100%; overflow: hidden; aspect-ratio: 3/4; border-radius: var(--look-radius); clip-path: inset(0 round var(--look-radius)); }
.look-figure img { width: 100%; height: auto; border-radius: var(--look-radius); clip-path: inset(0 round var(--look-radius)); }
.looks-layout.is-changing .look-figure { animation: look-page .42s var(--ease) both; }
.looks-layout.is-changing .look-editorial { animation: look-caption-in .48s var(--ease) both; }
@keyframes look-page {
  from { opacity: .35; transform: translateX(calc(4% * var(--page-direction,1))); }
  to { opacity: 1; transform: none; }
}
@keyframes look-caption-in { from { opacity: .2; transform: translateY(9px); } }
.look-view { display: flex; align-items: stretch; }
.look-view button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: .4rem .75rem; font-size: .84rem; color: var(--muted); }
.look-view button[aria-pressed=true] { border-bottom-color: var(--accent); color: var(--accent); }
.look-stage.is-closeup .look-figure img { height: 100%; min-height: 0; object-fit: contain; object-position: center; padding: 18px; filter: drop-shadow(8px 12px 10px #0009); }
.look-copy { display: grid; gap: clamp(16px,2.2vw,28px); min-width: 0; padding: clamp(14px,2.4vw,30px); border: 1px solid var(--stroke); border-radius: var(--look-radius); background: #25202d; background: linear-gradient(135deg,color-mix(in srgb,var(--look-tone) 12%,#25202d),#1a171f); }
.look-folio { display: grid; gap: var(--space-1); }
.look-folio .mono { color: var(--muted); }
.look-editorial { align-self: center; }
.look-editorial h3 { font: 400 clamp(2.25rem,3.9vw,4.6rem)/.95 Georgia,'Times New Roman',serif; letter-spacing: -.06em; overflow-wrap: anywhere; }
.look-editorial p { max-width: 38ch; margin-top: var(--space-2); font-size: clamp(.96rem,1.45vw,1.14rem); line-height: 1.5; color: var(--muted); }
.look-straps:not([hidden]) { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-2); }
.look-straps button { min-height: 44px; padding: .45rem .7rem; border: 1px solid var(--stroke); border-radius: 100px; color: var(--ink); background: transparent; font-size: .8rem; }
.look-straps button[aria-pressed=true] { border-color: var(--heading-italic); color: var(--heading-italic); background: #c8ddf414; }
.look-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1); }
.look-choices { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(42px,1fr); gap: 5px; padding: 2px 2px 5px; overflow-x: auto; scrollbar-width: thin; }
.look-choice { display: grid; gap: 5px; min-height: 44px; padding: 2px 2px 4px; border: 1px solid transparent; border-radius: 7px; color: var(--muted); background: #100e1638; font: 700 .73rem var(--mono); }
.look-choice img { width: 100%; height: auto; border-radius: 4px; opacity: .7; }
.look-choice[aria-pressed=true] { border-color: var(--heading-italic); color: var(--heading-italic); }
.look-choice:is(:hover,[aria-pressed=true]) img { opacity: 1; }
.round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; padding: 0; color: var(--ink); font: 400 1.8rem/1 Arial,sans-serif; }
.round:hover { border-color: #f4f0e98a; }
.detail-deck { overflow: hidden; border-radius: 16px; }
.detail-slide { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: stretch; touch-action: pan-y pinch-zoom; }
.detail-crop { --lens-radius: clamp(43px,10vw,70px); position: relative; height: clamp(240px,35vw,410px); overflow: hidden; background: #1b191e; background: radial-gradient(ellipse at 60% 66%,color-mix(in srgb,var(--textile-tint,#edb6c7) 26%,#352a37),#1b191e 80%); }
.detail-crop img { width: 100%; height: 100%; object-fit: cover; }
.detail-crop.is-zooming { touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.detail-crop:focus-visible { outline-offset: -3px; }
.detail-lens { display: none; position: absolute; inset: 0; pointer-events: none; background: #352a37; background: radial-gradient(ellipse at 60% 66%,color-mix(in srgb,var(--textile-tint,#edb6c7) 26%,#352a37),#1b191e 80%); clip-path: circle(var(--lens-radius) at var(--lens-x) var(--lens-y)); }
.detail-lens img { transform-origin: var(--lens-x) var(--lens-y); transform: scale(1.43); }
.detail-crop.is-zooming .detail-lens { display: block; }
.detail-crop.is-zooming::after { content: ''; position: absolute; width: calc(2 * var(--lens-radius)); aspect-ratio: 1; top: var(--lens-y); left: var(--lens-x); translate: -50% -50%; border: 1px solid #fff9; border-radius: 50%; box-shadow: 0 3px 12px #0007; pointer-events: none; }
#detail-zoom { position: absolute; z-index: 1; right: var(--space-2); bottom: var(--space-2); }
#detail-zoom[aria-pressed=true] { color: var(--accent); border-color: var(--accent); }
.detail-copy { align-self: center; display: grid; align-content: start; gap: var(--space-2); padding: clamp(24px,4vw,56px); }
.detail-copy h3 { font-size: clamp(2.15rem,4.4vw,4.2rem); line-height: .98; text-wrap: balance; }
.detail-copy > p:last-child { color: var(--muted); line-height: 1.5; max-width: 42ch; }
.detail-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-1); padding: var(--space-2) var(--space-3); border-top: 1px solid var(--stroke); }
.detail-controls { display: flex; align-items: center; gap: var(--space-1); }
.detail-controls .round { width: 44px; height: 44px; }
.detail-controls .mono { white-space: nowrap; color: var(--accent); }
.faq-list { border-radius: 16px; padding-inline: clamp(16px,4vw,48px); }
.faq-list details + details { border-top: 1px solid var(--stroke); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); min-height: 60px; padding-block: var(--space-2); cursor: pointer; list-style: none; font-size: clamp(1rem,1.8vw,1.25rem); font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--stroke); border-radius: 50%; color: var(--accent); font-size: 1.3rem; font-weight: 400; transition: transform .28s var(--ease), background .28s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--accent-soft); }
.faq-list details > p { max-width: 59ch; padding: 0 var(--space-4) var(--space-3) 0; color: var(--muted); line-height: 1.55; }
.faq-list details[open] > p { animation: faq-open .26s var(--ease) both; }
.faq-list .stock-link { display: inline; }
.footer-terms { margin-top: var(--space-1); }
.footer-terms > summary { width: fit-content; padding-block: 12px; cursor: pointer; font-size: .91rem; }
.terms-panel { margin-top: 4px; padding: clamp(18px,3.6vw,40px); border-radius: 16px; }
.terms-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: var(--space-3) var(--space-4); margin: 0; }
.terms-list dt { margin-bottom: 6px; font-size: 1rem; font-weight: 700; }
.terms-list dd { max-width: 52ch; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.terms-list a, .terms-link { color: var(--heading-italic); text-decoration: underline; text-underline-offset: 3px; }
.terms-translation { margin-top: var(--space-3); border-top: 1px solid var(--stroke); }
.terms-translation summary { width: fit-content; padding: 12px 0; color: var(--heading-italic); cursor: pointer; }
.terms-translation[open] .terms-list { padding-top: 4px; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-5px); } }

.mascot-layout { position: relative; grid-template-columns: .8fr 1.2fr; background: radial-gradient(ellipse at 70% 57%,#38303f,#202022 58%,#181819 86%); }
.mascot-copy { padding: clamp(22px,5vw,65px); align-self: center; position: relative; z-index: 2; }
.mascot-copy > p:last-of-type { min-height: 48px; margin-top: 17px; }
.mascot-invitation { white-space: nowrap; }
.mascot-actions, .footer-actions, .product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mascot-actions .primary { --action: #9ed8ff; --action-hover: #bde7ff; --action-ink: #172b43; }
.mascot-stage { min-height: clamp(315px,37vw,520px); position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden; }
.mascot-glow { position: absolute; inset: 10% 10% 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%,#ba90cf5c,transparent 67%); }
.mascot-glow::after { content: ''; position: absolute; inset: 16% 18%; border: 1px solid #f2f0ef20; border-radius: 50%; transform: rotate(-17deg) scaleX(1.13); }
.mascot-body { width: min(53%,280px,32vw); }
.mascot-stage.is-catching .mascot-body { animation: anticipate .66s var(--ease) both; }
.mascot-stage.is-happy .mascot-body { animation: celebrate .72s var(--ease) both; }
.mascot-stage.is-happy .mascot-idle { opacity: 0; }
.mascot-stage.is-happy .mascot-happy { opacity: 1; }
@keyframes anticipate { 0% { transform: none; } 49% { transform: translateX(-3%) rotate(-6deg) scale(1.025,.97); } 100% { transform: translateX(-1%) rotate(-2deg); } }
@keyframes celebrate { 0% { transform: rotate(-2deg); } 25% { transform: translateY(-6%) rotate(2deg) scale(.97,1.045); } 61% { transform: translateY(1%) scale(1.045,.97); } 100% { transform: none; } }
.yarn { position: absolute; z-index: 2; width: clamp(32px,7vw,64px); aspect-ratio: 1; left: 50%; top: 57%; opacity: 0; transform: translate(-50%,-50%); pointer-events: none; filter: drop-shadow(0 0 12px var(--accent-stroke)); }
.yarn svg { width: 100%; height: 100%; }
.mascot-stage.is-catching .yarn { animation: toss .66s linear both; }
@keyframes toss {
  0% { left: -4%; top: 83%; opacity: 0; transform: translate(-50%,-50%) rotate(-185deg) scale(.62); }
  14% { opacity: 1; }
  53% { left: 27%; top: 26%; transform: translate(-50%,-50%) rotate(15deg); }
  88% { opacity: 1; }
  100% { left: 50%; top: 57%; opacity: 0; transform: translate(-50%,-50%) rotate(150deg) scale(.65); }
}
.mascot-ripple { position: absolute; inset: 31% 33%; pointer-events: none; border: 1px solid var(--accent-stroke); border-radius: 50%; opacity: 0; }
.mascot-stage.is-happy .mascot-ripple { animation: ripple .7s var(--ease); }
@keyframes ripple { 0% { opacity: 0; transform: scale(.35); } 25% { opacity: .65; } 100% { opacity: 0; transform: scale(1.6); } }
.mascot-particles i { position: absolute; top: 46%; left: 49%; height: 4px; width: 11px; border-radius: 2px; color: var(--accent); background: currentColor; opacity: 0; box-shadow: 0 0 8px currentColor; }
.mascot-particles i:nth-child(1) { --dx: -110px; --dy: -45px; }
.mascot-particles i:nth-child(2) { --dx: -63px; --dy: -86px; color: #d3b4ec; }
.mascot-particles i:nth-child(3) { --dx: 0px; --dy: -95px; }
.mascot-particles i:nth-child(4) { --dx: 68px; --dy: -79px; color: #e2d7b8; }
.mascot-particles i:nth-child(5) { --dx: 110px; --dy: -35px; color: #d3b4ec; }
.mascot-stage.is-happy .mascot-particles i { animation: sparks .75s var(--ease); }
@keyframes sparks { 0% { opacity: 0; transform: scale(.5); } 34% { opacity: .85; } 100% { opacity: 0; transform: translate(var(--dx),var(--dy)) rotate(108deg) scale(.48); } }

.order-layout { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(20px,6vw,70px); align-items: center; padding: clamp(20px,5vw,64px); border-radius: 16px; }
.order-intro .button { margin-top: 24px; }
.order-steps { margin: 0; padding-left: 1.4rem; }
.order-steps li { padding: 10px 0 10px 4px; }
.order-steps li + li { border-top: 1px solid var(--stroke); }
.order-steps li::marker { color: var(--accent); font: 700 .82rem var(--mono); }
.order-steps p { margin-top: 5px; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.footer { margin-top: clamp(65px,9vw,125px); padding-block: 34px; border-top: 1px solid var(--stroke); background: #171717; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.footer p { margin-top: 11px; font-size: .91rem; color: var(--muted); }
.footer-actions { margin-top: 0; }
.product, .wish { width: min(calc(100% - 28px),870px); max-height: min(89vh,780px); max-height: min(89dvh,780px); padding: 0; border-radius: 15px; overflow: hidden; color: var(--ink); background-color: #202022e8; }
.dialog-scroll { max-height: min(calc(89vh - 2px),778px); max-height: min(calc(89dvh - 2px),778px); overflow: auto; overscroll-behavior: contain; }
.product::backdrop, .wish::backdrop { background: #070809a9; backdrop-filter: blur(8px); }
.product-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.product-visual { position: relative; isolation: isolate; overflow: hidden; min-height: 390px; display: grid; place-items: center; padding: 30px; background: radial-gradient(ellipse at center,#39353b,#242126 78%); background: radial-gradient(ellipse at center,color-mix(in srgb,var(--product-bg,#abb09a) 22%,#39353b),#242126 78%); }
.product-visual img { width: auto; height: auto; max-width: 100%; max-height: 330px; filter: drop-shadow(8px 11px 7px #0008); }
.product-visual.has-card-photo img { max-height: min(49dvh,430px); }
.product-copy { min-width: 0; align-self: center; padding: 53px 29px 27px; }
.product h2 { font-size: clamp(2.15rem,4.7vw,4.15rem); line-height: 1.06; letter-spacing: -.06em; overflow-wrap: anywhere; margin: 11px 0 14px; }
.product-copy p { line-height: 1.44; }
.product-copy p:not(.eyebrow) { color: var(--muted); }
.product-copy p.product-variant { margin-bottom: 8px; color: var(--ink); font-weight: 700; }
.product-prices:not([hidden]) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-block: 8px 14px; }
.product-copy p.product-price { color: var(--action); font-size: clamp(1.6rem,3.8vw,2.5rem); font-weight: 700; line-height: 1; }
.product-price-rub:not([hidden]) { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.product-price-rub strong { color: var(--ink); font-size: .98rem; }
.product-yarn { margin-bottom: var(--space-2); padding-top: var(--space-1); border-top: 1px solid var(--stroke); }
.product-yarn h3 { margin-bottom: var(--space-1); font: 700 .9rem/1.2 Arial,sans-serif; letter-spacing: 0; }
.yarn-colors { display: grid; row-gap: 8px; padding: 0; margin: 0; list-style: none; }
.yarn-colors li { display: grid; grid-template-columns: 30px max-content; align-items: center; column-gap: 13px; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.yarn-colors li > span:last-child { white-space: nowrap; }
.yarn-skein {
  position: relative;
  width: 30px;
  height: 26px;
  border-radius: 48%;
  background: repeating-radial-gradient(ellipse at 16% 78%, #0003 0 1px, transparent 1.9px 4px), radial-gradient(ellipse at 33% 18%, #fff5, transparent 60%), var(--yarn-shade);
  box-shadow: inset -2px -3px 5px #0004, 0 2px 4px #0006;
  transform: rotate(-17deg);
}
.yarn-skein::before {
  content: '';
  position: absolute;
  inset: 0 28% 0 20%;
  border-radius: 42% 30% 48% 40%;
  background: repeating-linear-gradient(139deg, #fff2 0 1px, transparent 1px 3px, #0003 3px 4px), var(--yarn-shade);
  box-shadow: 1px 0 1px #0003, inset 0 -3px 4px #0003;
}
.yarn-skein::after { content: ''; position: absolute; right: -2px; bottom: -2px; width: 9px; height: 7px; border: solid var(--yarn-shade); border-width: 0 1px 1px 0; border-radius: 0 0 90% 0; }
.product-description { margin-top: 13px; }
.dialog-close { position: absolute; top: 5px; right: 5px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.dialog-close span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--stroke); border-radius: 50%; background: #1a171ed9; }
.dialog-close svg, .wish-remove svg { display: block; width: 17px; height: 17px; }
.dialog-close:focus-visible { outline: 0; }
.dialog-close:focus-visible span { outline: 1px solid var(--accent); outline-offset: 1px; }
.wish { width: min(calc(100% - 28px),520px); }
.wish-content { padding: clamp(18px,4vw,34px); }
.wish h2 { margin: 4px 40px 20px 0; font-size: clamp(2.5rem,7vw,3.6rem); }
.wish-empty { color: var(--muted); line-height: 1.45; }
.wish-list { list-style: none; padding: 0; margin: 0 0 16px; }
.wish-list li { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--stroke); }
.wish-card { display: flex; align-items: center; gap: 14px; text-align: left; padding: 4px; border: 0; background: transparent; flex: 1; }
.wish-card img { width: 62px; height: 66px; object-fit: contain; }
.wish-card:hover { color: var(--accent); }
#wish-rack { margin-top: 8px; }
.fallback { padding: 20px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 52px); }
  .hero-grid { min-height: 405px; }
  .hero-copy { padding-left: 0; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { min-height: 58px; }
  .top .logo img { width: 99px; }
  .top nav { display: none; }
  .top .button { min-height: 35px; padding: .4rem .62rem; font-size: .76rem; white-space: nowrap; }
  .top .wish-toggle { min-width: 37px; gap: 3px; padding-inline: 6px; }
  .direct-full { display: none; }
  .direct-short { display: inline; }
  .hero { padding-top: 18px; }
  .hero-grid { display: block; position: relative; min-height: 0; padding: 0 0 16px; }
  .hero-copy { padding: 0; min-height: clamp(270px,60vw,400px); pointer-events: none; }
  .hero-copy .eyebrow { margin-bottom: 17px; gap: 8px; font-size: .68rem; }
  .hero h1 { font-size: clamp(3.4rem,12.8vw,6.45rem); }
  .hero h1 em { font-size: .76em; }
  .hero-deck { max-width: 47%; font-size: .9rem; line-height: 1.45; margin-top: 15px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 13px; }
  .hero-actions .button { padding-inline: .78rem; min-height: 40px; font-size: .79rem; pointer-events: auto; }
  .hero-stage { position: absolute; top: 23%; bottom: 5%; right: 0; width: 55%; }
  .hero-halo { inset: 2% 5% 10%; }
  .hero-halo::after { inset: 10% 8%; transform: rotate(-11deg); }
  .hero-halo::before { inset: 18% 24%; transform: rotate(29deg) scaleX(1.05); }
  .hero-bag { top: 7%; left: 6%; width: 88%; height: 75%; filter: drop-shadow(9px 9px 7px #000b); }
  .feature { right: 0; bottom: 2%; min-width: 0; width: max-content; max-width: 93%; gap: 8px; padding: 5px 6px 5px 8px; border-radius: 8px; }
  .feature-meta { font-size: .57rem; }
  .feature strong { display: block; font-size: .74rem; }
  .feature-open { width: 23px; height: 23px; font-size: 1rem; }
  .rail-head { padding-block: 10px 11px; }
  .rail-head .eyebrow { font-size: .72rem; }
  .rail-status { font-size: .76rem; }
  .guess-layout { grid-template-columns: minmax(0,.48fr) minmax(0,1fr); border-radius: 12px; }
  .guess-copy { padding: 12px 9px; }
  .guess-intro .eyebrow { font-size: .65rem; }
  .guess-intro h2 { font-size: clamp(1.2rem,5.3vw,1.7rem); }
  .guess-mascot { min-height: 185px; }
  .guess-riddle { font-size: .84rem; }
  .guess-choice { font-size: .78rem; }
  .guess-feedback { font-size: .78rem; }
  .hook { height: 13px; width: 10px; }
  .rack-bag { height: clamp(99px,26vw,122px); }
  .rack-label { width: 22px; height: 22px; font-size: .67rem; }
  .section { padding-top: 52px; }
  .section-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 15px; padding-top: 13px; }
  .section-head .eyebrow, .mascot-copy .eyebrow { margin-bottom: 10px; }
  .section h2 { font-size: clamp(3.05rem, 11.5vw, 5.05rem); }
  .section-head > p, .mascot-copy > p:last-of-type { font-size: .95rem; }
  .scan-layout, .mascot-layout { grid-template-columns: minmax(0,1fr); border-radius: 12px; }
  .scan-visual { min-height: 0; aspect-ratio: 1.16; }
  .stage-meta { font-size: .7rem; }
  .scan-copy { padding: 15px; }
  .scan-readout { min-height: 0; }
  .look-topline .eyebrow { font-size: .67rem; }
  .looks-layout { grid-template-columns: minmax(0,1fr); }
  .look-copy { gap: var(--space-2); }
  .look-editorial h3 { font-size: clamp(2.25rem,10vw,4rem); }
  .look-title { margin-block: var(--space-2) var(--space-3); }
  .detail-deck, .faq-list { border-radius: 12px; }
  .detail-slide { grid-template-columns: minmax(0,1fr); }
  .detail-crop { height: clamp(180px,61vw,322px); }
  .detail-copy { min-height: 230px; align-self: start; padding: var(--space-2); gap: var(--space-1); }
  .detail-copy h3 { font-size: clamp(2rem,9vw,3.3rem); }
  .detail-toolbar { padding: var(--space-1) var(--space-2); }
  .detail-toolbar .button { padding-inline: .75rem; font-size: .82rem; }
  .order-layout { grid-template-columns: minmax(0,1fr); border-radius: 12px; }
  .order-intro { display: contents; }
  .order-intro .button { margin-top: 0; justify-self: start; grid-row: 3; }
  .mascot-stage { grid-row: 1; min-height: 0; aspect-ratio: 1.19; }
  .mascot-body { width: min(53%,240px); }
  .mascot-copy { padding: 15px 15px 20px; }
  .mascot-copy > p:last-of-type { min-height: 0; margin-top: 10px; }
  .mascot-invitation { font-size: clamp(.73rem, 3.2vw, .95rem); }
  .footer { margin-top: 50px; padding-block: 23px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .product-layout { grid-template-columns: minmax(0,1fr); }
  .product-visual { min-height: 0; padding: 17px 25px; }
  .product-visual img { max-height: min(31dvh,225px); }
  .product-copy { padding: 16px 16px 20px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 26px); }
  .top-inner { gap: 8px; }
  .hero-copy { min-height: 255px; }
  .hero-stage { width: 53%; }
  .hero h1 { font-size: 3.13rem; }
  .hero h1 em { font-size: .71em; }
  .hero-bag { top: 13%; }
  .hero-deck { font-size: .81rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { backdrop-filter: none; background-color: #242425; }
}
