:root {
  color-scheme: light;
  --ground: #f5f5f5;
  --paper: #fff;
  --ink: #141414;
  --muted: #606060;
  --line: #e6e6e6;
  --pencil: #777;
  --selection: #eee;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--ink); font: 15px/1.6 var(--sans);
  background: var(--paper);
}
body:has(dialog[open]) { overflow: hidden; }
main { flex: 1; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { width: min(1440px, 86.5%); margin-inline: auto; }
.top { background: var(--paper); }
.nav { height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font: 800 43px/1 var(--sans); letter-spacing: -.075em; white-space: nowrap; }
.mark { position: relative; overflow: hidden; flex: none; mix-blend-mode: multiply; }
.mark img { position: absolute; width: 100%; top: 50%; transform: translateY(-50%); left: 0; }
.mark-small { width: 47px; height: 30px; }
.mark-hero { width: 137px; height: 65px; margin: 0 auto 13px; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav nav a:hover, .plain:hover, #auth-switch:hover { text-decoration: underline; text-underline-offset: 5px; }
.plain { border: 0; background: none; padding: 0; }
.bag-button {
  position: fixed; z-index: 5; right: max(20px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 9px 15px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 28px;
  box-shadow: 0 4px 16px #14141430; white-space: nowrap; font-size: 14px; font-weight: 650;
}
#bag-count { min-width: 21px; padding: 0 5px; background: var(--paper); color: var(--ink); border-radius: 20px; text-align: center; font: 700 11px/21px var(--sans); }
.bag-icon { display: inline-block; width: 14px; height: 12px; border: 1px solid; border-radius: 2px; position: relative; margin-top: 3px; }
.bag-icon::before { content: ""; position: absolute; border: 1px solid; border-bottom: 0; border-radius: 6px 6px 0 0; top: -5px; left: 3px; width: 5px; height: 6px; }
.account-paper {
  text-align: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cat-intro {
  min-height: min(790px, calc(100svh - 94px)); padding: 42px 0 48px;
  display: grid; align-content: center; justify-items: center; text-align: center;
}
.cat-note {
  width: min(100%, 860px); padding: clamp(20px, 4vw, 54px) 20px 20px;
}
.cat-art {
  position: relative; width: min(100%, 580px); aspect-ratio: 1324 / 460; overflow: hidden;
  margin: auto; mix-blend-mode: multiply;
}
.cat-face { position: absolute; left: 0; top: -82.609%; width: 100%; height: auto; pointer-events: none; }
.cat-eye {
  position: absolute; top: 9.565%; width: 6.798%; height: 23.043%; background: white;
  pointer-events: none; opacity: 0;
}
.cat-eye-left { left: 35.876%; --eye-x: 38.493%; }
.cat-eye-right { left: 60.801%; --eye-x: 65.235%; }
.cat-eye::before {
  content: ""; position: absolute; inset: 0;
  background: url("/cat-hero-hd.webp?v=a644c3bf95b228d349763d57") var(--eye-x) 39.187% / 1471.111% 1120.755% no-repeat;
}
.cat-art.is-blinking .cat-eye { opacity: 1; }
.cat-art.is-blinking .cat-eye::before { animation: cat-blink .48s ease-in-out 2 both; }
@keyframes cat-blink {
  34%, 55% { transform: scaleY(.09); }
}
#cat-nose {
  position: absolute; left: 51.7%; top: 44.35%; width: max(13%, 44px); height: max(36%, 44px);
  transform: translate(-50%, -50%); background: transparent; border: 0; border-radius: 50%;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
#cat-nose:hover { box-shadow: 0 0 0 1px #7776; }
.cat-prompt { font-size: 14px; color: var(--muted); margin-top: 9px; }
@media (pointer: fine) {
  body.shop-page { cursor: url("/cat-cursor.png?v=a644c3bf95b228d349763d57") 16 13, auto; }
  body.shop-page :is(a, button:not(:disabled)) { cursor: url("/cat-cursor.png?v=a644c3bf95b228d349763d57") 16 13, pointer; }
  body.shop-page input { cursor: text; }
}
.playroom { padding: 54px 0 0; text-align: center; scroll-margin-top: 20px; border-top: 1px solid var(--line); }
.playroom-title { margin: 0 0 32px; }
.playroom h2 { font: 750 clamp(26px, 3.3vw, 42px)/1.25 var(--sans); letter-spacing: -.035em; }
.playroom-title p { margin-top: 10px; color: var(--muted); }
.stage {
  position: relative; isolation: isolate; padding: 17px 21px 20px; max-width: 840px; margin: auto;
  border-radius: 12px;
  background: #f7f7f7;
}
.doll-lineup { position: relative; height: 335px; overflow: hidden; }
.doll-lineup::before {
  content: ""; position: absolute; left: 50%; bottom: 39px; width: min(77%, 510px); height: 47px;
  transform: translateX(-50%); border: 1px solid #dedede; border-radius: 50%;
  background: radial-gradient(ellipse, #e8e8e8, transparent 72%);
}
.doll {
  position: absolute; bottom: 4px; left: 50%; width: 250px; padding: 0 2px 6px;
  border: 0; border-radius: 45% 42% 7px 6px; background: none;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  visibility: hidden; opacity: 0; transform: translateX(-50%) scale(.35); transform-origin: 50% 88%;
  transition: transform .38s ease, opacity .28s ease;
}
.doll[data-position="active"] { z-index: 2; opacity: 1; visibility: visible; transform: translateX(-50%); }
.doll[data-position="before"], .doll[data-position="after"] {
  z-index: 1; opacity: .57; visibility: visible;
  transform: translateX(calc(-50% + var(--offset))) scale(.63);
}
.doll[data-position="before"] { --offset: clamp(-219px, -28vw, -96px); }
.doll[data-position="after"] { --offset: clamp(96px, 28vw, 219px); }
.doll:is([data-position="before"], [data-position="after"]):hover { opacity: .87; }
.doll:not([data-position="active"]) :is(.doll-action, .doll-response, .doll-ground) { visibility: hidden; }
.carousel-arrow {
  position: absolute; z-index: 3; top: 43%; display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
  font: 32px/1 Georgia, serif; padding: 0 0 4px;
}
#doll-prev { left: 17px; }
#doll-next { right: 17px; }
.carousel-arrow:hover { background: var(--selection); }
.carousel-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 4px auto 0; }
.doll-lineup { touch-action: pan-y; }
.doll-filters { justify-content: center; margin: 0 auto 17px; }
.doll .doll-scene, .doll { touch-action: pan-y; }
.doll-choice {
  position: relative; width: 44px; height: 44px; padding: 0; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 50%;
}
.doll-choice[aria-pressed="true"] { border-color: var(--ink); }
.doll-choice img { position: absolute; top: 2px; left: 50%; width: 100%; height: auto; transform: translateX(-50%); pointer-events: none; }
.choice-squint img { width: 85%; }
.choice-thunder img { top: 9px; }
.choice-rain img { top: 4px; }
.choice-thunder img { clip-path: inset(0 0 68% 0); }
.choice-rain img { clip-path: inset(0 0 49% 0); }
.custom-doll { --art-ratio: 1; --art-width: 225px; }
.custom-doll .portrait img { object-fit: contain; object-position: center bottom; }
.custom-doll .doll-action { max-width: 95%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.custom-choice img, .animated-choice img { height: 100%; top: 0; padding: 3px; object-fit: contain; }
.doll-scene {
  position: relative; display: block; aspect-ratio: .87; isolation: isolate;
  background: radial-gradient(ellipse at 50% 52%, #ebebeb 0%, transparent 69%);
}
.rabbit { --art-ratio: 612 / 792; --art-width: 222px; }
.squint { --art-ratio: 1024 / 1536; --art-width: 190px; }
.thunder { --art-ratio: 426 / 681; --art-width: 232px; }
.rain { --art-ratio: 612 / 792; --art-width: 227px; }
.running-lamb { --art-ratio: 600 / 800; --art-width: 220px; }
.flip-wheels { --art-ratio: 760 / 640; --art-width: 246px; }
.animated-doll .puppet { bottom: 8%; }
.doll-ground {
  position: absolute; width: 54%; height: 5%; bottom: 5%; left: 23%; border-radius: 50%;
  background: #695f4a22; filter: blur(4px); transform: rotate(-3deg);
}
.weather .doll-ground { width: 44%; left: 28%; bottom: 13%; background: #695f4a16; }
.puppet { position: absolute; bottom: 3%; left: 50%; width: min(100%, var(--art-width)); transform: translateX(-50%); }
.weather .puppet { bottom: auto; top: 21%; }
.rain .puppet { top: 13%; }
.portrait { position: relative; display: block; aspect-ratio: var(--art-ratio); transform-origin: 50% 84%; }
.portrait img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; pointer-events: none; }
.doll .portrait { filter: drop-shadow(2px 6px 5px #5b4e351c); }
.weather .portrait { transform-origin: 50% 29%; }
.thunder .cloud { clip-path: inset(0 0 68% 0); }
.rain .cloud { clip-path: inset(0 0 49% 0); }
.thunder .weather-effect { clip-path: inset(31% 0 45% 0); }
.rain .weather-effect { clip-path: inset(53% 0 15% 0); filter: brightness(.94); }
.weather-effect { opacity: 0; }
.doll-action {
  display: inline-block; padding: 6px 14px; color: var(--ink); border: 1px solid var(--line);
  background: var(--paper); border-radius: 40px; line-height: 1.4; font-size: 14px;
}
.doll:hover .doll-action, .doll:focus-visible .doll-action, .doll.is-reacting .doll-action { background: var(--selection); }
.doll-response {
  position: absolute; z-index: 1; top: 8%; right: 2%; max-width: 100%;
  background: var(--paper); color: var(--ink); padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 13px;
  opacity: 0; transform: translateY(5px); transition: opacity .17s, transform .17s;
}
.weather .doll-response { top: 11%; right: 5%; }
.doll.is-reacting .doll-response { opacity: 1; transform: translateY(0); }
.blush {
  position: absolute; left: 24.5%; top: 51.3%; width: 8%; height: 4%;
  border-radius: 50%; opacity: 0; transform: rotate(-9deg);
  background: repeating-linear-gradient(116deg, transparent 0 5px, #b7665d55 6px 7px, transparent 8px 9px),
    radial-gradient(ellipse, #df8f827b 18%, #eaaa9866 48%, transparent 75%);
  transition: opacity .23s;
}
.blush-right { left: 51.5%; }
.squint .blush { left: 29%; top: 41.1%; width: 12%; height: 4%; }
.squint .blush-right { left: 62%; }
.doll.is-reacting .blush { opacity: 1; }
.doll-lid {
  position: absolute; opacity: 0; left: 24.8%; top: 43.6%; width: 8.6%; height: 6.6%;
  background: radial-gradient(ellipse, var(--fur, #e8d8c8) 49%, transparent 73%);
}
.doll-lid::after {
  content: ""; position: absolute; inset: 38% 27% 38%; border-bottom: 1.5px solid #665b51;
  border-radius: 50%; transform: rotate(-5deg);
}
.rabbit .doll-lid-right { left: 50.8%; top: 44.8%; --fur: #ece0d1; }
.squint .doll-lid { left: 31.2%; top: 34.4%; width: 14.8%; height: 6.9%; --fur: #ebe3d6; }
.squint .doll-lid-right { left: 60%; --fur: #f3ede3; }
.doll.is-reacting .doll-lid { animation: doll-blink .56s ease-in-out 2 both; }
.thunder.is-reacting .portrait { animation: rumble .48s ease-in-out both; }
.thunder.is-reacting .weather-effect { animation: strike 1.5s ease-out .12s both; }
.rain.is-reacting .weather-effect { animation: shower 1.06s ease-in .15s 2 both; }
@keyframes doll-blink { 31%, 57% { opacity: 1; } }
@keyframes rumble {
  26%, 66% { transform: translateX(-2%) rotate(-3deg); }
  46%, 83% { transform: translateX(2%) rotate(3deg); }
}
@keyframes strike {
  0% { opacity: 0; transform: translateY(-3%) scale(.8); }
  13%, 70% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(2%); }
}
@keyframes shower {
  0% { opacity: 0; transform: translateY(-4%); }
  30%, 70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(7%); }
}
.browse-paper {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 5px 8px;
  color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 5px;
}
.browse-paper:hover { color: var(--ink); }
.ink-button, .outline {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 5px; padding: 9px 17px;
  background: var(--paper); line-height: 1.4;
}
.ink-button { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ink-button:hover { background: #333; }
.outline:hover { background: var(--selection); }
.bag-button:hover { background: #333; }
.catalog { padding: 86px 0 84px; }
.catalog-top { position: sticky; z-index: 4; top: 0; background: var(--paper); }
.catalog-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 0 13px; }
.catalog-heading h2, .admin h1, .account h1 { font: 750 clamp(22px, 2.4vw, 32px)/1.25 var(--sans); letter-spacing: -.035em; }
.catalog-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--line);
}
.catalog-nav a { flex: none; padding: 13px 1px 14px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 700; }
.catalog-nav a:is(:hover, [aria-current]) { border-color: var(--ink); }
.catalog-nav a:focus-visible { outline-offset: -3px; }
.catalog-group { padding-top: 56px; scroll-margin-top: 136px; }
.catalog-group:focus { outline: none; }
.group-title { margin-bottom: 22px; font-size: clamp(19px, 2vw, 24px); line-height: 1.25; font-weight: 750; }
.group-empty { color: var(--muted); font-size: 14px; }
.search { display: flex; align-items: center; gap: 11px; max-width: 220px; padding: 5px 10px 5px 2px; border-bottom: 1px solid var(--line); }
.search-icon { width: 12px; height: 12px; border: 1px solid var(--pencil); border-radius: 50%; position: relative; flex: none; }
.search-icon::after { content: ""; position: absolute; border-top: 1px solid var(--pencil); width: 6px; right: -5px; bottom: -2px; transform: rotate(45deg); }
.search input { border: 0; background: transparent; min-width: 0; width: 100%; padding: 3px; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 16px 0 19px; }
.chip { border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--muted); padding: 4px 12px; font-size: 13px; }
.chip[aria-pressed=true] { color: var(--ink); background: var(--selection); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 27px 7px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.photo { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: #ededed; border-radius: 10px; overflow: hidden; }
.photo > img, .product-media > img, .product-media > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo > img { position: absolute; inset: 0; object-fit: contain; transition: transform .2s; }
.card:hover .photo > img, .card:focus-within .photo > img { transform: scale(1.035); }
.motion-label { position: absolute; top: 9px; left: 9px; background: var(--paper); border-radius: 20px; padding: 2px 7px; font-size: 11px; }
.card-bag {
  position: absolute; z-index: 1; display: grid; place-items: center;
  bottom: 6px; right: 6px; width: 40px; height: 40px;
  padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
}
.card-bag:hover { background: var(--selection); }
.card-body { padding: 9px 2px 0; }
.category { font-size: 11px; font-weight: 650; color: var(--muted); }
.card h3 { font: 500 14px/1.45 var(--sans); margin: 3px 0 5px; overflow-wrap: anywhere; }
.title-button { background: none; text-align: left; padding: 0; border: 0; font: inherit; }
.title-button::after { content: ""; position: absolute; inset: 0; }
.title-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.price { font-size: 20px; font-weight: 750; }
.card .price { font-size: 14px; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.footer { display: flex; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer a { font-weight: 750; }
.account { padding: 62px 0; }
.account-paper { width: min(100%, 430px); margin: auto; padding: 32px 38px 30px; }
.account form { margin: 24px 0 17px; display: grid; gap: 15px; text-align: left; }
.account label { display: grid; gap: 5px; }
.account input { border: 1px solid var(--line); border-radius: 4px; background: var(--ground); padding: 9px 11px; width: 100%; }
.hint, .form-error { color: var(--muted); font-size: 13px; }
.form-error { color: #923522; }
#auth-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
#auth-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
#sms-fields { display: flex; align-items: end; gap: 7px; }
#sms-fields label { flex: 1; min-width: 0; }
#sms-fields button { flex: none; padding: 9px 11px; white-space: nowrap; font-size: 13px; }
.dialog, .drawer {
  color: var(--ink); background: var(--paper); padding: 18px; border: 1px solid var(--line);
  border-radius: 10px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px);
}
dialog::backdrop { background: #14141466; }
.dialog { width: min(100%, 750px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dialog .dialog-head { justify-content: flex-end; }
.dialog-head h2, #detail-title { font: 750 25px/1.3 var(--sans); }
.close { background: none; border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; font: 23px/1 var(--sans); }
.detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.product-media { aspect-ratio: 1; background: var(--ground); display: grid; place-items: center; position: relative; border-radius: 8px; overflow: hidden; }
.product-media > img, .product-media > video { position: absolute; inset: 0; object-fit: contain; }
.detail-info { display: grid; justify-items: start; gap: 11px; }
.detail-colors, .detail-photos { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-photos { margin-top: 9px; }
.photo-thumb { width: 49px; height: 49px; border: 1px solid var(--line); border-radius: 3px; padding: 2px; background: var(--paper); }
.photo-thumb[aria-pressed="true"] { border-color: var(--ink); }
.photo-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.detail-info .hint { margin: -5px 0 5px; }
#detail-add-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 0; }
.detail-quantity { display: grid; gap: 5px; }
.detail-quantity label { color: var(--muted); font-size: 13px; }
.detail-quantity input { width: 48px; height: 36px; text-align: center; border: 1px solid var(--line); border-radius: 4px; appearance: textfield; }
.detail-quantity input::-webkit-inner-spin-button, .detail-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.detail-quantity .quantity button { width: 36px; height: 36px; }
.drawer { width: min(100vw, 415px); max-width: 100vw; height: 100%; max-height: 100dvh; margin: 0 0 0 auto; }
.drawer h2 { margin-top: 3px; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 11px; align-items: center; border-top: 1px solid var(--line); padding: 13px 0; }
.cart-photo { display: block; width: 60px; height: 60px; object-fit: contain; background: var(--ground); border-radius: 7px; }
.cart-item-info { min-width: 0; }
.cart-row strong { overflow-wrap: anywhere; }
.quantity { display: flex; align-items: center; gap: 8px; }
.quantity button { background: var(--ground); border: 1px solid var(--line); border-radius: 3px; width: 32px; height: 32px; }
.cart-row .quantity span { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.cart-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 15px 0 8px; }
.cart-login { padding: 27px 0; text-align: center; }
.cart-login p { margin-bottom: 13px; }
.notice { position: fixed; z-index: 6; bottom: 23px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 30px); color: var(--paper); background: var(--ink); padding: 9px 16px; border-radius: 4px; }
.inline-notice { margin-top: 12px; padding: 7px 11px; background: var(--selection); font-size: 14px; }
.admin { padding: 45px 0 60px; }
.overline { color: var(--muted); font-size: 13px; margin-bottom: 7px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.metrics > div { background: var(--paper); border: 1px solid var(--line); padding: 12px 15px; }
.metrics span { display: block; font-size: 13px; color: var(--muted); }
.metrics strong { font: 650 32px/1.35 var(--sans); }
.admin-paper { background: var(--paper); border: 1px solid var(--line); padding: 0 14px; }
.manager-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.manager-nav a { padding: 5px 11px; font-size: 13px; }
.manager-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.manager-panel { min-width: 0; padding: 16px; border: 1px solid var(--line); background: var(--paper); }
.customer-page { padding-top: 36px; padding-bottom: 65px; }
.customer-page h1 { font-size: 30px; letter-spacing: -.04em; }
.customer-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 24px; margin: 20px 0 35px; }
.profile-avatar { display: block; width: 100px; height: 100px; object-fit: cover; border: 1px solid var(--line); border-radius: 50%; margin-bottom: 15px; }
.profile-id { font-weight: 750; }
.customer-layout form { margin-top: 20px; }
.my-cart-section { max-width: 750px; }
.my-cart-section h2 { font-size: 22px; margin-bottom: 18px; }
.report-avatar { display: block; width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.customer-report { margin-top: 28px; }
.customer-report table { min-width: 920px; }
.customer-report .metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
.customer-report .metrics strong { font-size: 26px; }
#admin-dolls li { flex-wrap: wrap; }
#admin-dolls select { min-width: 0; max-width: 190px; padding: 5px; border: 1px solid var(--line); background: white; color: var(--ink); }
.manager-panel h2 { margin-bottom: 12px; font: 750 24px/1.3 var(--sans); }
.manager-form { display: grid; justify-items: start; gap: 9px; }
.manager-form label { width: 100%; display: grid; gap: 3px; font-size: 14px; }
.manager-form :is(input, select, textarea) { width: 100%; min-width: 0; padding: 5px; color: var(--ink); font: inherit; }
.manager-form textarea { resize: vertical; min-height: 130px; border: 1px solid var(--line); background: white; }
.feedback-section { margin-top: 28px; scroll-margin-top: 95px; }
.feedback-section h3 { margin-top: 26px; }
.feedback-entry { padding: 14px 0; border-bottom: 1px solid var(--line); }
.feedback-entry time { color: var(--muted); font-size: 13px; margin-left: 12px; }
.feedback-content { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 8px; }
.feedback-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.feedback-filter + .feedback-filter { margin-top: 10px; }
.feedback-handling { min-width: 240px; }
.feedback-handling textarea { min-height: 65px; }
.info-page { max-width: 850px; padding-block: 38px 65px; }
.info-page h1 { margin-bottom: 22px; font-size: 30px; }
.info-page h2 { margin-block: 28px 12px; font-size: 22px; }
.info-page p { margin-block: 12px; overflow-wrap: anywhere; }
.info-page a,.consent-line a,#account-consent a { text-decoration: underline; text-underline-offset: 3px; }
.footer { flex-wrap: wrap; gap: 16px; }
.consent-line { display: flex !important; flex-flow: row wrap; gap: 5px; align-items: baseline; font-size: 13px; margin-block: 12px; }
.consent-line input[type=checkbox] { width: 17px !important; height: 17px; flex: 0 0 auto; }
.account-form { max-width: 520px; margin-block: 20px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
#account-dialog-content { padding: 10px 22px 22px; }
#account-flow-status { padding: 0 22px 22px; }
.feedback-filter select { padding: 7px; color: var(--ink); background: white; font: inherit; border: 1px solid var(--line); }
#feedback-body td { vertical-align: top; }
#feedback-body .feedback-content { min-width: 230px; max-width: 360px; margin: 0; }
#manage-feedback { scroll-margin-top: 95px; }
.manager-panel .hint { margin-top: 8px; }
.media-list { list-style: none; margin: 9px 0 0; padding: 0; }
.media-list li { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid var(--line); }
.media-list img { width: 46px; height: 46px; object-fit: contain; background: var(--ground); }
.media-list button { margin-left: auto; font-size: 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 530px; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px; border-top: 1px solid var(--line); }
th { font-size: 13px; color: var(--muted); background: var(--ground); }
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 14px 0; font-size: 13px; }
@media (max-width: 1120px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px 10px; }
}
@media (max-width: 720px) {
  .customer-layout { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .customer-layout input { font-size: 16px; }
  .feedback-section :is(select,textarea) { font-size: 16px; }
  #manage-feedback .catalog-heading { flex-wrap: wrap; gap: 12px; }
  .wrap { width: calc(100% - 32px); }
  .nav { height: 63px; }
  .nav nav { gap: 12px; }
  .brand { font-size: 31px; }
  .nav-shop { display: none; }
  .cat-intro { min-height: min(540px, calc(100svh - 63px)); padding: 33px 0 42px; }
  .cat-note { padding-inline: 10px; }
  .playroom { padding-top: 25px; }
  .playroom-title { margin-bottom: 24px; }
  .playroom-title p { margin-top: 7px; font-size: 13px; }
  .stage { padding: 12px 8px 11px; }
  .doll-lineup { height: 267px; }
  .doll { width: min(205px, 64%); }
  .doll-scene { aspect-ratio: .9; max-height: 225px; }
  .doll[data-position="before"], .doll[data-position="after"] { transform: translateX(calc(-50% + var(--offset))) scale(.52); }
  .carousel-arrow { width: 36px; height: 36px; font-size: 27px; }
  #doll-prev { left: 9px; }
  #doll-next { right: 9px; }
  .puppet { width: min(78%, var(--art-width)); bottom: 1%; }
  .squint .puppet { width: min(69%, var(--art-width)); }
  .weather .puppet { width: min(89%, var(--art-width)); }
  .weather .doll-ground { bottom: 9%; }
  .doll-action { font-size: 13px; }
  .doll-response { font-size: 11px; }
  .catalog { padding: 48px 0 40px; }
  .catalog-nav { justify-content: flex-start; gap: 21px; }
  .catalog-nav a { font-size: 13px; }
  .catalog-group { padding-top: 34px; }
  .group-title { margin-bottom: 15px; }
  .manager-grid { grid-template-columns: minmax(0, 1fr); }
  .search { max-width: 43%; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px 8px; }
  .price { font-size: 17px; }
}
@media (max-width: 490px) {
  .bag-button { min-height: 46px; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .shop-page .footer { padding-bottom: 73px; }
  .detail { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .product-media { aspect-ratio: 1.35; }
  .brand { font-size: 29px; gap: 5px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mark-small { width: 35px; }
  .account-paper { padding-inline: 23px; }
  .metrics > div { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo > img, .doll, .doll-action, .doll-response, .blush { transition: none; }
  .cat-art.is-blinking .cat-eye::before, .doll.is-reacting .doll-lid { animation-timing-function: steps(1); }
  .doll.is-reacting .portrait, .doll.is-reacting .weather-effect { animation: none; }
  .doll.is-reacting .weather-effect { opacity: 1; }
}
