@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #faf7f3;
  --ink: #302728;
  --muted: #6e5f60;
  --line: #e4d5cc;
  --champagne: #99765f;
  --accent: #875264;
  --serif: "Cormorant Garamond", "Palatino Linotype", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif CJK JP", Georgia, serif;
  --sans: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", Meiryo, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: radial-gradient(ellipse at 10% 2%, #fffdf9 0, transparent 61%), var(--paper); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { opacity: .5; cursor: wait; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
.site-header { border-bottom: 1px solid var(--line); background: #fffdf9ba; }
.header-inner, .layout { width: min(1500px, calc(100% - 96px)); margin-inline: auto; }
.header-inner { min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.wordmark { width: max-content; display: inline-flex; align-items: center; gap: 12px; }
.wordmark span { font: 600 24px/.91 var(--serif); letter-spacing: -.03em; white-space: nowrap; }
.wordmark small { display: block; font: 550 9px/1 var(--sans); letter-spacing: .26em; color: #796251; margin-top: 7px; }
.character-picker { display: flex; gap: 8px; max-width: min(48vw, 590px); overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.character-pill { flex: none; display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; white-space: nowrap; border: 1px solid transparent; border-radius: 40px; background: #f2eae54d; font-size: 12px; color: #58484b; }
.character-pill img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; object-position: center 40%; }
.character-pill:hover, .character-pill[aria-pressed="true"] { background: #f4e8e6; border-color: #dbc4bd; color: #5e3546; }
.header-actions, .languages { display: flex; align-items: center; gap: 15px; }
.header-actions { justify-content: flex-end; }
.plain { border: 0; padding: 8px 1px; background: none; font-size: 12px; white-space: nowrap; }
.plain:hover { color: var(--accent); }
.languages { border-left: 1px solid var(--line); gap: 3px; padding-left: 11px; }
.languages button { border: 0; padding: 6px; background: transparent; color: #6e5c58; white-space: nowrap; font-size: 11px; }
.languages button[aria-pressed="true"] { color: #673c4a; font-weight: 700; text-decoration: underline; text-decoration-color: #b68178; text-underline-offset: 5px; }
.page-title { display: flex; align-items: center; gap: 19px; padding-block: 19px 16px; }
.page-title h1 { font: 500 clamp(25px, 3vw, 39px)/1.23 var(--serif); letter-spacing: -.01em; }
.title-rule { height: 1px; background: var(--line); flex: 1; }
.page-index { font-size: 11px; letter-spacing: .095em; color: var(--muted); white-space: nowrap; }
.showroom { display: grid; grid-template-columns: minmax(0,1fr) minmax(322px, 365px); gap: 22px; align-items: start; }
.stage { --theme-border: #e3d0c5; position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--theme-border); border-radius: 18px; min-height: 530px; height: clamp(545px, calc(100svh - 206px), 805px); background: radial-gradient(ellipse at 55% 55%, #fff8f0, #e9dbdb); box-shadow: 0 14px 45px #60483a16; }
.stage[data-stage="mood"] { --theme-border: #74586b; }
#viewport, #viewport canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-tools, .stage-controls { position: absolute; z-index: 1; inset-inline: 19px; display: flex; pointer-events: none; }
.stage-tools { top: 17px; justify-content: space-between; align-items: center; gap: 8px; }
.stage-controls { bottom: 14px; flex-direction: column; align-items: center; gap: 9px; }
.stage-tools button, .stage-controls button { pointer-events: auto; }
.stage-label, .segmented, .icon-button { border: 1px solid #fff9; background: #fffaf3d9; backdrop-filter: blur(15px); box-shadow: 0 2px 11px #47303915; border-radius: 40px; }
.stage-label { display: flex; align-items: center; gap: 7px; color: #5d4c4d; padding: 8px 10px; font-size: 10px; font-weight: 650; white-space: nowrap; }
.stage-label i { width: 6px; height: 6px; background: #9b6976; border-radius: 50%; box-shadow: 0 0 0 3px #9b697629; }
.segmented { display: flex; gap: 2px; align-items: center; padding: 3px; }
.segmented button { border: 0; border-radius: 40px; background: transparent; padding: 6px 11px; font-size: 11px; white-space: nowrap; color: #514449; min-height: 30px; }
.segmented button:hover, .icon-button:hover { background: #fffdf9; }
.segmented button[aria-pressed="true"] { color: #fffaf4; background: #644352; }
.edition-select { display: flex; align-items: center; gap: .65rem; margin: .65rem 0; font-size: .82rem; }
.edition-select select { font: inherit; color: inherit; border: 1px solid #c5b6ad; background: #fffaf4; border-radius: 5px; padding: .3rem .55rem; }
.walk-character .walk-edition { border-inline-start: 1px solid #d4c9b9; padding-inline-start: 8px; }
@media (max-width: 540px) {
  .walk-character:has(.walk-edition:not([hidden])) { gap: 6px; }
  .walk-character:has(.walk-edition:not([hidden])) #walk-avatar { max-width: 30vw; }
  .walk-character .walk-edition select { max-width: 24vw; }
}
.stage-footer { width: 100%; display: flex; gap: 8px; min-height: 27px; align-items: center; justify-content: space-between; }
#gesture { color: #4d3d3d; font-size: 10px; font-weight: 550; text-shadow: 0 1px 8px #fff; }
.stage[data-stage="mood"] #gesture { color: #fff9ee; text-shadow: 0 1px 6px #262139; }
.stage-actions { display: flex; gap: 6px; }
.icon-button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #524049; padding: 6px 9px; font-size: 10px; }
.camera-icon { border: 1px solid currentColor; width: 13px; height: 9px; position: relative; border-radius: 2px; }
.camera-icon::before { content: ""; position: absolute; border: 1px solid currentColor; width: 4px; height: 4px; border-radius: 50%; inset: 1px 0 0 3px; }
.camera-icon::after { content: ""; position: absolute; background: currentColor; width: 4px; height: 2px; left: 2px; top: -3px; border-radius: 2px 2px 0 0; }
.load-card { position: absolute; z-index: 3; display: grid; gap: 11px; left: 50%; top: 49%; transform: translate(-50%,-50%); width: min(280px, 86%); border-radius: 16px; padding: 21px; border: 1px solid #f4e4dc; background: #fffaf3ee; box-shadow: 0 12px 40px #47303924; text-align: center; }
#load-name { font: 600 20px var(--serif); }
#load-status { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
progress { width: 100%; height: 4px; accent-color: var(--accent); }
#retry { background: #f6e6e5; border: 1px solid var(--line); padding: 5px; border-radius: 7px; }
.inspector { min-width: 0; }
.inspector-card { background: linear-gradient(140deg, #fffdfadd, #fbf4f0dd); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 12px 26px #60483a0b; }
.concept-card { display: block; width: 100%; padding: 0; margin-top: 16px; text-align: left; overflow: hidden; border: 1px solid var(--line); background: #fffaf5; border-radius: 13px; }
.concept-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; object-position: center 41%; }
.concept-card img.studio-portrait, .catalog-card img.studio-portrait { object-position: center 13%; }
.concept-card > span { display: flex; justify-content: space-between; align-items: center; padding: 10px 13px; color: #765661; font-size: 11px; }
.concept-card:hover > span { background: #f9ebe8; }
.product { padding: 22px 22px 17px; }
.product-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
#product-reading { color: #805b67; font-size: 11px; letter-spacing: .11em; min-height: 1em; }
#product-name { margin: 5px 0 7px; font: 600 clamp(26px, 3.2vw, 36px)/1.18 var(--serif); letter-spacing: -.043em; }
.specs { margin-top: 2px; flex: none; white-space: nowrap; border: 1px solid var(--line); background: #fffaf6; color: #684e50; padding: 6px 8px; border-radius: 6px; font-size: 10px; }
#product-tagline { font: 600 14px/1.5 var(--serif); color: #634753; }
#product-description { font-size: 12px; line-height: 1.72; color: #625353; margin: 8px 0 11px; }
.badges { display: flex; gap: 4px; flex-wrap: wrap; }
.badges span { border: 1px solid #e9dcd2; border-radius: 4px; padding: 3px 5px; color: #6b5454; background: #fffaf4; font-size: 9px; white-space: nowrap; }
.buy { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 15px; padding: 12px 14px; border-radius: 8px; color: #fffaf4; background: linear-gradient(108deg,#714656,#895568); border: 1px solid #704455; box-shadow: 0 4px 12px #6f3c5034; line-height: 1.25; font-size: 12px; font-weight: 650; }
.buy:hover { background: #673b4e; }
.buy strong { white-space: nowrap; font-weight: 600; letter-spacing: .02em; }
#web-preview { margin-top: 8px; color: #6f5a59; font-size: 10px; line-height: 1.5; }
.controls { border-top: 1px solid var(--line); }
.drawer-toggle { display: none; }
.tabs { display: flex; padding-inline: 16px; gap: 6px; border-bottom: 1px solid #e8dcd5; }
.tabs button { flex: 1; border: 0; border-bottom: 2px solid transparent; background: none; margin-bottom: -1px; min-width: 0; padding: 10px 1px 9px; font-size: 11px; color: #6b5b5b; }
.tabs button[aria-selected="true"] { color: #754753; border-bottom-color: #9b6472; font-weight: 700; }
fieldset { border: 0; padding: 13px 16px 12px; margin: 0; min-inline-size: 0; }
.option-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.option-grid button { padding: 7px 3px; min-height: 32px; border: 1px solid #e4d8ce; background: #fffaf6; border-radius: 6px; color: #57454b; font-size: 11px; line-height: 1.2; }
.option-grid button:hover, .specs:hover, .subtle:hover { background: #f8e9e5; }
.option-grid button[aria-pressed="true"] { background: #f0e0e4; border-color: #c6a2ae; color: #633548; font-weight: 675; }
.switch-row { display: flex; align-items: center; gap: 8px; min-height: 29px; color: #5d4b4e; font-size: 12px; cursor: pointer; }
.option-grid + .switch-row { margin-top: 8px; }
.switch-row input { margin: 0; appearance: none; width: 28px; height: 16px; background: #ded1ca; border: 1px solid #a88d84; border-radius: 30px; position: relative; cursor: pointer; flex: none; }
.switch-row input::before { content: ""; display: block; width: 10px; height: 10px; background: #fffaf6; box-shadow: 0 1px 2px #44363ceb; border-radius: 50%; position: absolute; left: 2px; top: 2px; transition: transform .16s; }
.switch-row input:checked { background: #946475; border-color: #805368; }
.switch-row input:checked::before { transform: translateX(12px); }
.select-row, .slider-row, details { font-size: 12px; color: #625154; }
select { width: 100%; padding: 6px 9px; margin: 4px 0 9px; border-radius: 7px; border: 1px solid var(--line); background: #fffbf7; color: #48383f; }
.slider-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
input[type="range"] { width: 100%; accent-color: var(--accent); margin: 3px 0; cursor: pointer; }
details { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 8px; }
summary { cursor: pointer; }
#vowels .slider-row { justify-content: initial; }
#vowels input { flex: 1; }
#vowels span { min-width: 13px; }
.legend { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 5px 0; font-size: 11px; }
.legend span { display: flex; gap: 5px; align-items: center; }
.legend i { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 1px #4a314633; }
.subtle { font-size: 11px; border: 1px solid var(--line); background: #fffaf6; border-radius: 6px; padding: 5px 8px; margin-top: 7px; }
.site-footer { display: flex; justify-content: space-between; padding: 19px 1px; font-size: 11px; color: #6a5857; }
.site-footer a:hover { text-decoration: underline; }
dialog { width: min(760px, calc(100% - 32px)); border: 1px solid #ddc5b8; border-radius: 17px; background: #fffbf7; color: var(--ink); box-shadow: 0 16px 78px #3a233d4d; max-height: min(82svh, 850px); padding: 20px; }
dialog::backdrop { background: #39283872; backdrop-filter: blur(6px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.dialog-head h2 { font: 600 27px var(--serif); }
.dialog-head button { font-size: 22px; border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; line-height: 1; background: transparent; }
#catalog-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: 12px; }
.catalog-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #faf2ee; }
.catalog-card img { width: 100%; display: block; height: clamp(125px, 28vh, 240px); object-fit: cover; object-position: center 35%; }
.catalog-card .content { padding: 13px; }
.catalog-card h3 { margin: 0 0 7px; font: 600 23px var(--serif); }
.catalog-card p { font-size: 13px; color: #633f50; margin-bottom: 7px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.card-actions button, .card-actions a { padding: 7px 10px; border-radius: 5px; border: 1px solid #bd9a9c; background: #fffbf8; color: #634450; font-size: 12px; }
.card-actions button { background: #815064; color: #fff; }
#specs-dialog { max-width: 475px; }
#specs-content { display: grid; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
#specs-content img { display: block; width: 100%; max-height: 39svh; object-fit: contain; border-radius: 8px; background: #f0e5dc; }
#toast { position: fixed; z-index: 5; bottom: 20px; right: 20px; background: #573d4c; color: #fff; padding: 9px 15px; border-radius: 7px; font-size: 12px; }
body.clean { overflow: hidden; }
body.clean .chrome { display: none; }
body.clean .layout, body.clean .showroom { display: block; width: 100%; }
body.clean .stage { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
#restore-hud { position: absolute; z-index: 2; top: 14px; right: 14px; opacity: .2; }
#restore-hud:hover, #restore-hud:focus-visible { opacity: 1; }
@media (max-width: 1090px) {
  .header-inner,.layout { width: calc(100% - 54px); }
  .showroom { gap: 15px; grid-template-columns: minmax(0,1fr) minmax(300px, 337px); }
  .product { padding-inline: 17px; }
}
@media (max-width: 899px) {
  .header-inner,.layout { width: calc(100% - 38px); }
  .showroom { display: block; }
  .inspector { margin-top: 12px; }
  .concept-card { display: none; }
  .stage { min-height: 400px; height: clamp(410px,57svh,618px); }
  .drawer-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 8px; border: 0; border-radius: 0 0 17px 17px; background: #f3e7e5; padding: 12px 17px; color: #674852; font-size: 12px; font-weight: 700; }
  .drawer-toggle[aria-expanded="false"] + #drawer { display: none; }
  .drawer-toggle[aria-expanded="true"] { border-radius: 0; }
  .drawer-toggle[aria-expanded="true"] span:last-child { transform: rotate(180deg); }
}
@media (max-width: 600px) {
  .header-inner,.layout { width: calc(100% - 26px); }
  .header-inner { grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; min-height: 0; padding: 11px 0 5px; }
  .wordmark { gap: 6px; }
  .wordmark img { width: 27px; height: 27px; }
  .wordmark span { font-size: 20px; }
  .wordmark small { font-size: 7px; margin-top: 5px; }
  .character-picker { grid-column: 1 / -1; grid-row: 2; max-width: 100%; }
  .character-pill { font-size: 10px; padding-right: 9px; }
  .character-pill img { width: 23px; height: 23px; }
  .header-actions { gap: 5px; }
  .plain { font-size: 10px; }
  .languages { gap: 0; padding-left: 4px; }
  .languages button { padding: 6px 3px; font-size: 9px; }
  .page-title { padding: 12px 0 10px; gap: 11px; }
  .page-title h1 { font-size: 22px; }
  .page-index { font-size: 9px; }
  .stage { border-radius: 13px; height: clamp(365px,48svh,470px); min-height: 365px; }
  .stage-tools,.stage-controls { inset-inline: 8px; }
  .stage-tools { top: 8px; }
  .stage-controls { bottom: 7px; gap: 5px; }
  .stage-label { font-size: 9px; padding: 7px 6px; gap: 5px; }
  .stage-label i { width: 5px; height: 5px; }
  .segmented button { padding: 4px 7px; font-size: 10px; min-height: 26px; }
  .stage-footer { gap: 3px; }
  #gesture, .stage[data-stage="mood"] #gesture { font-size: 8px; color: #4f3b46; background: #fffaf2cf; text-shadow: none; padding: 4px 5px; border-radius: 5px; }
  .icon-button { font-size: 9px; padding: 5px 6px; }
  .inspector { margin-top: 10px; }
  .product { padding: 12px 13px 9px; }
  #product-name { margin-top: 3px; margin-bottom: 4px; }
  #product-description { margin-block: 4px 7px; }
  .buy { margin-top: 8px; padding-block: 8px; }
  .drawer-toggle { padding: 9px 13px; }
  .site-footer { padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
.walk-entry{background:#284b43;color:white;font-weight:650;text-decoration:none;padding:.45em .9em;border-radius:6px;white-space:nowrap}
.walk-page {margin:0;background:#d8dfda;color:#223934;overflow:hidden;font-family:Inter,"Segoe UI","Yu Gothic",sans-serif}
.walk-shell,#walk-viewport{position:fixed;inset:0;overflow:hidden}
#walk-viewport:focus{outline:none}#walk-viewport canvas{display:block;width:100%;height:100%;touch-action:none}
.walk-top,.walk-bottom{position:absolute;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
.walk-top{top:max(16px,env(safe-area-inset-top));align-items:flex-start}.walk-bottom{bottom:max(16px,env(safe-area-inset-bottom));align-items:flex-end}
.walk-brand,.walk-actions,.walk-character,.walk-help{background:rgba(250,247,237,.94);border:1px solid #d4c9b9;box-shadow:0 3px 16px #33291819;border-radius:9px}
.walk-brand,.walk-actions,.walk-character{display:flex;align-items:center;pointer-events:auto}
.walk-brand{padding:10px 16px;gap:11px}.walk-brand h1{margin:0;font:normal clamp(19px,2.7vw,30px)/1.15 Georgia,serif;letter-spacing:-.045em}
.walk-brand small,.walk-character small{font-size:9px;letter-spacing:.12em;font-weight:700;color:#68756d;display:block}
.walk-actions{padding:5px;gap:6px}.walk-actions select,.walk-character select{background:transparent;border:0;color:inherit;min-height:34px;max-width:100%;cursor:pointer}
.walk-actions a,.walk-character a,.walk-status button,#walk-jump{background:#284c42;color:white;border-radius:5px;text-decoration:none;font-size:12px;font-weight:600;padding:9px 13px;cursor:pointer}
.walk-character{gap:12px;padding:7px 10px 7px 7px;max-width:100%}.walk-character img{width:45px;height:45px;object-fit:cover;border-radius:5px}
.walk-character label{min-width:0}.walk-character select{font-size:14px;line-height:1.2;font-weight:600;min-height:25px;max-width:235px}.walk-character a{flex-shrink:0}
.walk-help{display:flex;gap:12px;flex-wrap:wrap;padding:8px 12px;font-size:11px;color:#41554d}.walk-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffaf1ed;display:grid;gap:9px;text-align:center;padding:18px 27px;border-radius:8px;color:#30483f}.walk-status progress{accent-color:#3b6858}
.walk-shell [hidden]{display:none!important}#walk-pad,#walk-jump{display:none}.touch-walk #walk-pad,.touch-walk #walk-jump{display:block;position:absolute;bottom:108px;touch-action:none;user-select:none;-webkit-user-select:none}
#walk-pad{left:max(18px,env(safe-area-inset-left));width:84px;height:84px;border-radius:50%;border:1px solid #fff9;background:#233a3352}
#walk-pad i{position:absolute;left:calc(50% - 16px);top:calc(50% - 16px);width:32px;height:32px;border:1px solid #fff9;border-radius:50%;background:#f7f2dcd1;transform:translate(var(--x,0),var(--y,0))}
#walk-jump{right:max(18px,env(safe-area-inset-right));border:1px solid #fffa;border-radius:50%;height:58px;min-width:58px;background:#234339dd}
@media(max-width:760px){.walk-top,.walk-bottom{left:10px;right:10px}.walk-top{top:10px}.walk-bottom{bottom:10px}.walk-help{display:none}.walk-brand{padding:8px;gap:6px}.walk-brand img{width:24px;height:24px}.walk-brand small{font-size:7px}.walk-actions{padding:3px;gap:0}.walk-actions a,.walk-character a{padding:8px;font-size:10px}.walk-character select{max-width:47vw}.walk-character{gap:6px}.walk-brand h1{font-size:19px}}
.walk-actions select{width:auto}.walk-actions a{white-space:nowrap}.walk-character select{font-family:inherit;font-size:14px;font-weight:600}.touch-walk .walk-help #walk-run,.touch-walk .walk-help #walk-leap{display:none}
