@font-face {
  font-family: "Inter";
  src: url("./fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #111110;
  --ink-soft: #2b2a27;
  --muted: #6b6862;
  --muted-strong: #514e48;
  --paper: #f6f4ef;
  --paper-strong: #fffdf8;
  --studio: #e7e4de;
  --line: rgba(17, 17, 16, 0.12);
  --line-strong: rgba(17, 17, 16, 0.2);
  --accent: #007782;
  --accent-deep: #005a62;
  --accent-soft: rgba(0, 119, 130, 0.1);
  --amber: #a15c00;
  --amber-soft: rgba(161, 92, 0, 0.12);
  --red: #b3261e;
  --red-soft: rgba(179, 38, 30, 0.1);
  --blue: #2f5d8a;
  --blue-soft: rgba(47, 93, 138, 0.1);
  --gray: #5b5b57;
  --gray-soft: rgba(91, 91, 87, 0.1);
  --shadow-soft: 0 18px 48px rgba(38, 33, 25, 0.14);
  --shadow-sheet: 0 -18px 50px rgba(38, 33, 25, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--studio);
}

body {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.viewer {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 15%, rgba(255, 253, 248, 0.75) 0%, rgba(255, 253, 248, 0) 55%),
    linear-gradient(180deg, #ebe8e1 0%, #e3dfd8 62%, #ddd8d0 100%);
}

.stage-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 78% at 50% 18%, #f0ebe3 0%, #ddd5c9 52%, #c8bfb2 100%);
}

#stage {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

#stage:active {
  cursor: grabbing;
}

.stage-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 70% at 50% 32%, rgba(255, 255, 255, 0) 38%, rgba(75, 65, 50, 0.08) 100%),
    linear-gradient(180deg, rgba(246, 244, 239, 0.35) 0%, rgba(246, 244, 239, 0) 20%);
}

/* ---------- topbar ---------- */

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 6px 10px 6px 6px;
  border: 1px solid rgba(255, 253, 248, 0.58);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.56);
  box-shadow: 0 6px 18px rgba(38, 33, 25, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fffdf8;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.brand-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 253, 248, 0.6);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.6);
  box-shadow: 0 6px 18px rgba(38, 33, 25, 0.06);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  background: var(--paper-strong);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

/* El drawer de Vinted ya tiene su propio botón de cerrar. */
body.is-embed .icon-button {
  display: none;
}

/* ---------- view switch ---------- */

.view-switch {
  position: absolute;
  top: 64px;
  left: 16px;
  z-index: 3;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 253, 248, 0.55);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.5);
  box-shadow: 0 8px 22px rgba(38, 33, 25, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.view-switch button {
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.view-switch button:hover {
  color: var(--ink);
}

.view-switch button.is-active {
  background: var(--ink);
  color: #fffdf8;
}

.hint {
  position: absolute;
  top: 102px;
  left: 16px;
  z-index: 2;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.52);
  color: var(--muted-strong);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 500ms ease;
}

.hint.is-hidden {
  opacity: 0;
}

/* ---------- loading / error ---------- */

.loading,
.error {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  background:
    radial-gradient(80% 60% at 50% 42%, rgba(255, 253, 248, 0.72), rgba(231, 228, 222, 0.92));
  text-align: center;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.loading.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.error[hidden] {
  display: none;
}

.loading-mark {
  width: 64px;
  color: rgba(17, 17, 16, 0.2);
}

.loading-mark svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loading p,
.error p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 12px;
}

.loading-bar {
  display: block;
  width: 116px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 17, 16, 0.1);
}

.loading-bar span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: load-slide 1.15s ease-in-out infinite;
}

@keyframes load-slide {
  0% {
    transform: translateX(-105%);
  }
  100% {
    transform: translateX(245%);
  }
}

.error {
  background: rgba(246, 244, 239, 0.96);
}

.error strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.error code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(17, 17, 16, 0.07);
  font-size: 11px;
}

.error button,
.reset-button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper-strong);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- sheet ---------- */

.sheet {
  position: relative;
  z-index: 6;
  flex: 0 1 auto;
  width: min(100%, 620px);
  max-height: min(48%, 500px);
  margin-top: -20px;
  margin-right: auto;
  margin-left: auto;
  padding: 10px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(17, 17, 16, 0.1);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(246, 244, 239, 0.99) 100%);
  box-shadow: var(--shadow-sheet);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 16, 0.2) transparent;
}

.sheet::-webkit-scrollbar {
  width: 5px;
}

.sheet::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(17, 17, 16, 0.18);
}

.sheet-handle {
  width: 38px;
  height: 3px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(17, 17, 16, 0.16);
}

.sheet-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sheet-title-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sheet h1 {
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.size-badge {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.verdict-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.verdict-title {
  margin: 0;
  font-size: clamp(22px, 6.2vw, 29px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.verdict-detail {
  margin: 7px 0 0;
  color: var(--muted-strong);
  font-size: 11.5px;
  line-height: 1.45;
}

.zones {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.zone {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}

.zone-name {
  overflow: hidden;
  color: var(--muted-strong);
  font-weight: 550;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.zone-value {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
}

.zone-track {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 17, 16, 0.07);
}

.zone-track::after {
  position: absolute;
  top: -2px;
  bottom: -2px;
  /* La barra escala de −10 a +30 cm: el cero cae al 25%. */
  left: 25%;
  width: 1px;
  background: rgba(17, 17, 16, 0.16);
  content: "";
}

.zone-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--zone-color, var(--accent));
}

.confidence-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 550;
}

.confidence-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 17, 16, 0.07);
}

.confidence-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 260ms ease;
}

.confidence-row strong {
  color: var(--muted-strong);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.missing {
  margin: 9px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(161, 92, 0, 0.18);
  border-radius: 10px;
  background: var(--amber-soft);
  color: #744400;
  font-size: 10.5px;
  line-height: 1.4;
}

/* ---------- presets de maniquí ---------- */

.preset-block {
  margin-top: 14px;
}

.preset-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 650;
}

.preset-note {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
}

.presets {
  display: flex;
  gap: 5px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.presets::-webkit-scrollbar {
  display: none;
}

.presets button {
  flex: none;
  min-width: 36px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.presets button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.presets button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffdf8;
}

.presets button.is-body {
  margin-left: auto;
  padding: 0 11px;
}

/* ---------- measure panel ---------- */

.measure-panel {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.measure-panel .preset-block {
  margin-top: 2px;
  margin-bottom: 12px;
}

.fit-specs .verdict-detail {
  margin-top: 2px;
}

.fit-specs .zones {
  margin-top: 10px;
}

.measure-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 9px;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.measure-panel summary::-webkit-details-marker {
  display: none;
}

.measure-panel summary::after {
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
  content: "";
}

.measure-panel[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.summary-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
}

.sliders {
  display: grid;
  gap: 10px;
  padding: 2px 0 4px;
}

.slider {
  display: grid;
  gap: 4px;
}

.slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 10.5px;
  font-weight: 550;
}

.slider-head output {
  color: var(--ink);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.slider input[type="range"] {
  width: 100%;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.reset-button {
  width: 100%;
  height: 32px;
  margin-top: 4px;
  border-color: var(--line);
  background: transparent;
  color: var(--muted-strong);
  font-size: 10.5px;
}

.reset-button:hover {
  background: rgba(17, 17, 16, 0.04);
}

.body-line {
  margin: 12px 0 0;
  color: var(--muted-strong);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.footnote {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

#source-note {
  color: var(--muted-strong);
}

/* ---------- pestañas del panel ---------- */

.sheet-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.sheet-tab {
  position: relative;
  padding: 0 1px 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: -0.005em;
  cursor: pointer;
}

.sheet-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  content: "";
}

.sheet-tab:hover {
  color: var(--ink);
}

.sheet-tab.is-active {
  color: var(--ink);
}

.sheet-tab.is-active::after {
  background: var(--ink);
}

.tab-panel[hidden] {
  display: none;
}

.sheet.is-personal {
  max-height: min(74%, 760px);
}

/* ---------- mi maniquí ---------- */

.personal-head {
  margin: 2px 0 0;
}

.personal-title {
  margin: 0;
  font-size: clamp(23px, 6.4vw, 30px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.personal-copy {
  max-width: 46ch;
  margin: 7px 0 0;
  color: var(--muted-strong);
  font-size: 11.5px;
  line-height: 1.45;
}

.personal-block {
  margin-top: 14px;
}

.sex-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 17, 16, 0.035);
}

.sex-switch button {
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 10.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.sex-switch button:hover {
  color: var(--ink);
}

.sex-switch button.is-active {
  background: var(--ink);
  color: #fffdf8;
}

.personal-form {
  margin-top: 14px;
}

.personal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.field {
  display: grid;
  gap: 4px;
}

.field > span {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field input {
  width: 100%;
  height: 36px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.personal-shape {
  margin-top: 12px;
}

.personal-summary {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.66);
}

.personal-summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.personal-summary span {
  flex: none;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.personal-summary strong {
  color: var(--ink);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}

.personal-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.primary-button,
.ghost-button {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.primary-button {
  flex: 1;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fffdf8;
}

.primary-button:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
}

.ghost-button {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted-strong);
}

.ghost-button:hover {
  background: rgba(17, 17, 16, 0.04);
  color: var(--ink);
}

.personal-toast {
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(0, 119, 130, 0.16);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 10.5px;
  line-height: 1.4;
}

.link-button {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.personal-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .personal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .personal-actions {
    flex-direction: column-reverse;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .personal-grid {
    grid-template-columns: 1fr;
  }

  .sex-switch button {
    padding: 0 6px;
    font-size: 10px;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 380px) {
  .sheet {
    padding-right: 14px;
    padding-left: 14px;
  }

  .verdict-title {
    font-size: 21px;
  }

  .zone {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .view-switch button {
    min-width: 46px;
    padding: 0 8px;
  }
}

@media (max-height: 680px) {
  .hint {
    display: none;
  }

  .view-switch {
    top: 58px;
  }

  .sheet {
    max-height: 52%;
  }

  .sheet.is-personal {
    max-height: 78%;
  }

  .verdict-row {
    margin-top: 10px;
  }

  .zones {
    gap: 6px;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- prenda 3D ---------- */

.garment-status {
  position: absolute;
  top: 112px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 253, 248, 0.6);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.62);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(38, 33, 25, 0.08);
  pointer-events: none;
}

.garment-status[hidden] {
  display: none;
}

.garment-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.garment-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.garment-tools .ghost-button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.sim-note {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

@media (max-height: 680px) {
  .garment-status {
    top: 104px;
  }
}
