@charset "UTF-8";
:root {
  color-scheme: light;
  --ink: #3f3b35;
  --sub: #797269;
  --line: #ddd6ca;
  --accent: #927354;
  --paper: #f5f1e9;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #9c7850;
  outline-offset: 4px;
}
header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font:
    22px Georgia,
    serif;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand span {
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 2.2px;
  border-left: 1px solid #b8c1b4;
  padding-left: 22px;
}
.edition {
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 2px;
  color: var(--sub);
}
.edition b {
  font-size: 17px;
  font-weight: 400;
  margin-left: 13px;
}
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: calc(100dvh - 76px);
}
.stage {
  position: relative;
  background: radial-gradient(ellipse at 55% 46%, #f1efe9, #e5e3dc);
  min-height: 740px;
  overflow: hidden;
}
.stage:before,
.stage:after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: #adb6a6;
  border-style: solid;
  pointer-events: none;
  z-index: 1;
}
.stage:before {
  left: 28px;
  top: 28px;
  border-width: 1px 0 0 1px;
}
.stage:after {
  right: 28px;
  bottom: 28px;
  border-width: 0 1px 1px 0;
}
.stage-heading {
  position: absolute;
  left: 49px;
  top: 46px;
  z-index: 1;
  pointer-events: none;
}
.eyebrow {
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 2.3px;
  color: #76806e;
}
h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  line-height: 1.7;
  font-size: 24px;
  letter-spacing: 2px;
  margin: 20px 0 12px;
}
p {
  line-height: 1.9;
  color: var(--sub);
}
.stage-heading p {
  font-size: 11px;
  letter-spacing: 0.8px;
}
#view {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  touch-action: none;
  cursor: grab;
}
#view:active {
  cursor: grabbing;
}
#view:focus-visible {
  outline: 2px solid #d4c3a9;
  outline-offset: -6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.view-tools {
  position: absolute;
  bottom: 57px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid #c9cec0;
  background: #f5f1e9d9;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}
.view-tools button {
  border: 0;
  background: transparent;
  color: #6b7568;
  border-radius: 24px;
  padding: 10px 18px;
  min-width: 58px;
  white-space: nowrap;
}
.view-tools button[aria-pressed="true"] {
  background: #82684e;
  color: #fff;
}
.view-tools #reset {
  border-left: 1px solid #d8ddd1;
  border-radius: 0;
  padding: 9px 12px;
  min-width: 40px;
  font-size: 18px;
  line-height: 16px;
}
.stage-bottom {
  position: absolute;
  bottom: 22px;
  left: 49px;
  right: 49px;
  display: flex;
  justify-content: space-between;
  color: #7a8374;
  font-size: 9px;
  letter-spacing: 0.5px;
}
#angleLabel {
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 1.6px;
}
aside {
  padding: 34px 27px 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.intro h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 15px 0 12px;
}
.intro p {
  font-size: 11px;
  margin: 0 0 24px;
}
.control {
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
h3 {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0 0 15px;
}
h3 span {
  font:
    9px Arial,
    sans-serif;
  color: #89917f;
  margin-right: 9px;
}
.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #cdd4c7;
  border-radius: 5px;
  padding: 3px;
  gap: 3px;
}
.segmented button {
  background: transparent;
  border: 0;
  color: #6e7969;
  padding: 8px 4px;
  font-size: 11px;
  border-radius: 3px;
}
.segmented button[aria-pressed="true"] {
  background: #e8dfcf;
  color: #59442e;
}
.segmented.two {
  grid-template-columns: 1fr 1fr;
}
.animation {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 9px;
  margin-top: 12px;
  padding: 12px 10px;
  border: 1px solid #d0d8c8;
  border-radius: 5px;
  color: #70583e;
  background: #efe8dc;
  font-size: 11px;
}
.animation[aria-pressed="true"] {
  background: #82684e;
  color: white;
}
.play-icon {
  font-size: 16px;
  line-height: 12px;
}
.small {
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 1.4px;
  margin-left: auto;
  opacity: 0.7;
}
.hint {
  font-size: 10px;
  margin: 10px 0 0;
}
.finger-row {
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  margin: 0 0 13px;
}
.finger-row:last-child {
  margin-bottom: 0;
}
.finger-row output {
  font:
    10px Arial,
    sans-serif;
  text-align: right;
  color: #7a8373;
}
input[type="range"] {
  accent-color: #927354;
  width: 100%;
  height: 18px;
  cursor: pointer;
  margin: 0;
}
.side-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  gap: 15px;
}
.side-options label {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sub);
}
select {
  border: 1px solid #cdd4c7;
  background: #f8f9f3;
  border-radius: 4px;
  padding: 6px 4px;
  color: var(--ink);
  font-size: 11px;
}
.side-options input {
  width: 65px;
}
.side-options output {
  font:
    10px Arial,
    sans-serif;
  min-width: 30px;
}
details {
  border-top: 1px solid var(--line);
  padding: 17px 0;
  color: var(--sub);
}
summary {
  font-size: 10px;
  cursor: pointer;
  letter-spacing: 0.7px;
}
details p {
  font-size: 10px;
}
.metrics {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 1px;
}
.metrics span {
  display: flex;
  justify-content: space-between;
}
.metrics b {
  font-size: 10px;
  color: #4b6148;
  font-weight: 400;
}
footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 0.7px;
  margin-top: auto;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: #89917e;
}
.status-dot {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #b08f62;
}
.version {
  margin-left: auto;
  letter-spacing: 1px;
}
#loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #52644e;
  background: #f5f1e9ed;
  padding: 20px 24px;
  border: 1px solid #c8d0be;
}
#failure {
  position: absolute;
  inset: 40% 10% auto;
  background: #fff9f3;
  border: 1px solid #c9a389;
  padding: 24px;
  line-height: 1.9;
  color: #744e38;
}
button {
  transition:
    background 0.18s,
    color 0.18s;
}
button:hover {
  filter: brightness(0.97);
}
@media (min-width: 1500px) {
  main {
    grid-template-columns: minmax(0, 1fr) 370px;
  }
  aside {
    padding: 40px 36px 0;
  }
  .stage-heading {
    left: 65px;
    top: 60px;
  }
  h1 {
    font-size: 28px;
  }
}
@media (max-width: 1050px) {
  main {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  aside {
    padding: 28px 21px 0;
  }
  .stage-heading {
    left: 30px;
    top: 34px;
  }
  h1 {
    font-size: 19px;
  }
  .stage-heading p {
    font-size: 10px;
  }
  .stage-bottom {
    left: 30px;
    right: 30px;
  }
  .stage-bottom > span:last-child {
    display: none;
  }
}
@media (max-width: 720px) {
  header {
    height: 61px;
    padding: 0 20px;
  }
  .brand {
    font-size: 18px;
    gap: 13px;
    letter-spacing: 3px;
  }
  .brand span {
    font-size: 7px;
    letter-spacing: 1.3px;
    padding-left: 13px;
  }
  .edition {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .edition b {
    font-size: 14px;
    margin-left: 7px;
  }
  main {
    display: block;
  }
  .stage {
    height: 680px;
    height: clamp(430px, calc(100svh - 140px), 680px);
    min-height: 0;
  }
  #view {
    touch-action: pan-y pinch-zoom;
  }
  .stage-heading {
    left: 25px;
    top: 25px;
  }
  .stage-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: 18px;
    line-height: 1.6;
    margin: 12px 0 8px;
  }
  .stage-heading p {
    display: none;
  }
  .stage:before {
    left: 14px;
    top: 15px;
    width: 9px;
    height: 9px;
  }
  .stage:after {
    right: 14px;
    bottom: 17px;
    width: 9px;
    height: 9px;
  }
  .stage-bottom {
    left: 24px;
    right: 24px;
    bottom: 18px;
  }
  .view-tools {
    bottom: 44px;
  }
  .view-tools button {
    padding: 9px 17px;
  }
  .view-tools #reset {
    padding: 8px 12px;
  }
  aside {
    padding: 27px 25px 0;
  }
  .intro {
    max-width: 460px;
  }
  .intro h2 {
    font-size: 22px;
    margin: 12px 0;
  }
  .intro p {
    margin-bottom: 20px;
    font-size: 12px;
  }
  .control {
    padding: 21px 0;
  }
  .control h3 {
    font-size: 12px;
  }
  .segmented button {
    padding: 10px 4px;
    font-size: 12px;
  }
  .finger-row {
    grid-template-columns: 65px 1fr 25px;
    font-size: 12px;
    margin-bottom: 17px;
  }
  .finger-row input {
    height: 24px;
  }
  .side-options input {
    width: 100px;
  }
  details p {
    font-size: 11px;
  }
  footer {
    padding: 21px 0;
  }
  .animation {
    padding: 14px 12px;
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .brand span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}

/* Atelier 02: raking light and a graphite stage let the bony planes read. */
header {
  background: #182126;
  border-color: #2f393d;
  color: #e8dfd0;
}
header .brand {
  color: #e8dfd0;
}
header .brand span {
  border-color: #5a5e5a;
  color: #bcb5a9;
}
header .edition {
  color: #b2a897;
}
.stage {
  background: radial-gradient(ellipse at 48% 43%, #2d383e, #172228);
}
.stage:before,
.stage:after {
  border-color: #566167;
}
.stage-heading {
  color: #e9dfce;
}
.stage-heading .eyebrow {
  color: #b9a284;
  letter-spacing: 2px;
}
.stage-heading h1 {
  font-size: 30px;
  line-height: 1.75;
  letter-spacing: 3px;
}
.stage-heading p {
  color: #a6aaa7;
  letter-spacing: 1.2px;
}
.stage-bottom {
  color: #98a19f;
}
.view-tools {
  border-color: #596269;
  background: #182126dd;
  box-shadow: 0 8px 35px #0003;
}
.view-tools button {
  color: #bdbbb3;
}
.view-tools button[aria-pressed="true"] {
  background: #d4c3a9;
  color: #263034;
}
.view-tools #reset {
  border-color: #465157;
  color: #d4c3a9;
}
.control h3 span,
.intro .eyebrow {
  color: #9e8465;
}
.animation {
  border-color: #d5c6b2;
}
.animation[aria-pressed="true"] {
  background: #82684e;
  color: #fff8ed;
}
#loading {
  background: #1d282eee;
  border-color: #687066;
  color: #ded3c0;
}
@media (max-width: 1050px) {
  .stage-heading h1 {
    font-size: 25px;
  }
}
@media (max-width: 720px) {
  .stage-heading h1 {
    font-size: 21px;
    line-height: 1.65;
    letter-spacing: 2.3px;
  }
  .stage-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
}

.view-tools #detail {
  border-left: 1px solid #465157;
  border-radius: 2px 20px 20px 2px;
}
@media (max-width: 720px) {
  .view-tools button {
    min-height: 42px;
    min-width: 53px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .view-tools #reset {
    min-width: 36px;
  }
}
@media (max-width: 720px) and (max-height: 700px) {
  .stage-heading h1 {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 1.6px;
  }
  .stage-heading h1 br {
    display: none;
  }
}

/* Illustrated collection: quiet paper, small ink details, and four distinct looks. */
[hidden] {
  display: none !important;
}
.svg-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.collection-mark {
  position: absolute;
  right: 34px;
  top: 47px;
  z-index: 1;
  font:
    9px/1.7 Arial,
    sans-serif;
  letter-spacing: 2px;
  color: #7b7771;
  pointer-events: none;
}
.collection-mark i {
  display: block;
  margin-top: 6px;
  font:
    italic 20px Georgia,
    serif;
  letter-spacing: 1px;
}
.look-control {
  padding-top: 16px;
  padding-bottom: 15px;
}
.control h3 small {
  float: right;
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 1.4px;
  color: #918579;
}
.look-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.look-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 82px;
  padding: 8px 9px;
  border: 1px solid #d8cfc1;
  border-radius: 6px;
  text-align: left;
  color: #57473e;
  background: #faf7f0;
  overflow: hidden;
}
.look-card svg {
  width: 39px;
  height: 58px;
  flex: none;
  fill: #e5c1b3;
  stroke: #66514a;
  stroke-width: 1;
  stroke-linejoin: round;
}
.look-card svg .ornament-preview {
  fill: none;
  stroke: #b18b42;
  stroke-width: 1.8;
}
.ink-card svg .ornament-preview {
  stroke: #767e87;
}
.cel-card svg .ornament-preview {
  stroke: #ab813a;
}
.cel-card svg .preview-gem {
  fill: #3c8274;
  stroke: #8f733e;
}
.studio-card svg .ornament-preview {
  stroke: #e1e6e9;
}
.ornament-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #dfd4c2;
}
.ornament-kicker {
  font:
    7px Arial,
    sans-serif;
  letter-spacing: 1.5px;
  color: #9b835d;
}
#ornamentName {
  margin: 5px 0 0;
  font-size: 11px;
  color: #68533e;
  letter-spacing: 0.6px;
}
#adorn {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 8px;
  border: 1px solid #cbbca3;
  border-radius: 20px;
  background: #f9f3e7;
  color: #766149;
  font-size: 10px;
  min-height: 38px;
}
#adorn b {
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 1px;
  background: #796047;
  color: #fff7e9;
  border-radius: 14px;
  padding: 6px 7px;
}
#adorn[aria-pressed="false"] b {
  background: #d8d2c8;
  color: #83786a;
}
.ornament-note {
  font-size: 10px;
  line-height: 1.8;
  margin: 9px 0 0;
  color: #917e68;
  min-height: 36px;
}
body[data-adorned="false"] .ornament-note {
  opacity: 0.55;
}
body[data-look="ink"] .ornament-kicker,
body[data-look="ink"] #ornamentName {
  color: #647078;
}
body[data-look="cel"] .ornament-kicker,
body[data-look="cel"] #ornamentName {
  color: #477b70;
}
body[data-look="studio"] .ornament-kicker,
body[data-look="studio"] #ornamentName {
  color: #687a86;
}
@media (max-width: 720px) {
  #adorn {
    min-height: 44px;
    padding-left: 12px;
    padding-right: 8px;
  }
  #ornamentName {
    font-size: 12px;
  }
  .ornament-note {
    font-size: 11px;
    min-height: 0;
  }
}
.look-card span {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.look-card b {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
}
.look-card small {
  font:
    7px Arial,
    sans-serif;
  letter-spacing: 0.7px;
}
.look-card i {
  position: absolute;
  right: 7px;
  top: 6px;
  font:
    italic 9px Georgia,
    serif;
  opacity: 0.5;
}
.look-card[aria-pressed="true"] {
  border-color: #866d59;
  box-shadow: inset 0 0 0 1px #866d59;
}
.look-card[aria-pressed="true"]:after {
  content: "";
  position: absolute;
  bottom: 6px;
  right: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #866d59;
}
.wash-card {
  background:
    radial-gradient(ellipse at 25% 55%, #efc8b63b, transparent 70%), #faf6ee;
}
.wash-card svg {
  transform: rotate(-12deg) scaleX(0.9);
}
.ink-card {
  background:
    repeating-linear-gradient(125deg, transparent 0 4px, #595b5d06 4px 5px),
    #efeee7;
}
.ink-card svg {
  fill: #dedbd2;
  stroke: #4f5353;
  transform: rotate(8deg) scaleX(0.94);
}
.cel-card {
  background: #e6efed;
}
.cel-card svg {
  fill: #efbcaa;
  stroke: #57414c;
  stroke-width: 1.7;
  transform: rotate(-7deg) scaleX(1.04);
}
.studio-card {
  background: #263137;
  color: #e6dccd;
  border-color: #465057;
}
.studio-card svg {
  fill: #c4a893;
  stroke: #9d8b7d;
  transform: rotate(9deg);
}
.pose-grid {
  grid-template-columns: repeat(3, 1fr);
}
.finger-adjust {
  padding: 14px 0;
}
.finger-adjust summary {
  font-size: 11px;
  color: #6e5c4b;
}
.finger-adjust[open] summary {
  margin-bottom: 19px;
}
.side-options {
  margin-top: 4px;
}
#surfaceControl:not([hidden]) {
  margin-bottom: 16px;
}
body:not([data-look="studio"]) header {
  background: #f7f2e8;
  border-color: #ded4c6;
}
body:not([data-look="studio"]) header .brand {
  color: #4a4039;
}
body:not([data-look="studio"]) header .brand span {
  color: #8b7c6c;
  border-color: #cfc2b1;
}
body:not([data-look="studio"]) header .edition {
  color: #8b7c6c;
}
body:not([data-look="studio"]) .stage {
  background: #f5edde;
}
body:not([data-look="studio"]) .stage-heading {
  color: #4b413b;
}
body:not([data-look="studio"]) .stage-heading .eyebrow {
  color: #9d8875;
}
body:not([data-look="studio"]) .stage-heading p {
  color: #978171;
  font:
    italic 12px Georgia,
    serif;
  letter-spacing: 1.1px;
}
body:not([data-look="studio"]) .stage:before,
body:not([data-look="studio"]) .stage:after {
  border-color: #cbbfae;
}
body:not([data-look="studio"]) .stage-bottom {
  color: #8d8173;
}
body:not([data-look="studio"]) .view-tools {
  background: #faf6edeb;
  border-color: #d3c5b3;
  box-shadow: 0 5px 22px #6d504210;
}
body:not([data-look="studio"]) .view-tools button {
  color: #756355;
}
body:not([data-look="studio"]) .view-tools button[aria-pressed="true"] {
  background: #6f5a4b;
  color: #fff7ed;
}
body:not([data-look="studio"]) .view-tools #reset,
body:not([data-look="studio"]) .view-tools #detail {
  border-color: #d9cdbb;
}
body[data-look="studio"] .collection-mark {
  color: #b7a38a;
}
@media (min-width: 721px) {
  main {
    height: calc(100dvh - 76px);
    min-height: 680px;
  }
  .stage {
    min-height: 0;
  }
  aside {
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c7baa6 transparent;
  }
}
@media (max-width: 1050px) and (min-width: 721px) {
  .look-card {
    padding-left: 5px;
    gap: 3px;
  }
  .look-card svg {
    width: 32px;
  }
  .look-card small {
    font-size: 6px;
  }
}
@media (max-width: 720px) {
  .collection-mark {
    right: 22px;
    top: 28px;
    font-size: 7px;
    letter-spacing: 1px;
  }
  .collection-mark i {
    font-size: 17px;
  }
  .look-card {
    min-height: 93px;
    padding: 10px 13px;
    gap: 14px;
  }
  .look-card svg {
    width: 43px;
    height: 65px;
  }
  .look-card b {
    font-size: 14px;
  }
  .look-card small {
    font-size: 8px;
  }
  .look-card i {
    right: 10px;
    top: 8px;
    font-size: 11px;
  }
  .finger-adjust summary {
    min-height: 28px;
    padding: 5px 0;
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .look-card {
    padding: 8px;
    gap: 6px;
  }
  .look-card small {
    font-size: 7px;
  }
  .collection-mark {
    display: none;
  }
}
