:root { --paper: #f1f0e9; --ink: #282a25; --muted: #77796f; --line: #d5d6cc; --red: #b43f2c; --olive: #697259; font-family: Arial, sans-serif; color: var(--ink); background: var(--paper); font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
button { border: 0; }
button:disabled { cursor: wait; opacity: .5; }
button, a { touch-action: manipulation; }
button svg { width: 24px; height: 24px; flex-shrink: 0; }
.masthead { height: 100px; margin: 0 4%; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 30px; }
.wordmark { font-family: Georgia, serif; font-size: 48px; font-weight: 700; letter-spacing: -4px; text-decoration: none; color: var(--ink); line-height: 1; white-space: nowrap; flex-shrink: 0; }
.wordmark span { font-family: Arial, sans-serif; font-weight: 400; letter-spacing: 0; font-size: 16px; color: var(--red); vertical-align: top; display: inline-block; margin: 5px 0 0 7px; }
.masthead-caption { font-size: 9px; line-height: 1.6; letter-spacing: 1.15px; font-weight: 600; padding-top: 6px; }
.room-label { margin-left: auto; display: flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .2px; }
.room-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }
.dark-mode-toggle { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 0 8px 8px; background: transparent; white-space: nowrap; font-size: 12px; }
.dark-mode-toggle[aria-checked='true'] .toggle-track > i { transform: translateX(12px); }
.fitting-room { position: relative; min-height: 738px; height: calc(100svh - 159px); max-height: 1000px; margin: 0 auto; max-width: 1600px; overflow: clip; }
.intro { position: absolute; top: 58px; left: 6.3%; z-index: 4; pointer-events: none; }
.eyebrow { display: block; font-size: 9px; letter-spacing: 1.4px; font-weight: 600; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(64px, 5.6vw, 90px); font-weight: 400; letter-spacing: -4px; line-height: 1; margin: 27px 0 24px; }
h1 em { font-weight: 400; color: var(--red); }
.intro p { font-size: 12px; line-height: 1.75; margin: 0; }
.little-arrow { font-family: Georgia, serif; color: var(--red); font-size: 57px; position: absolute; right: 10px; bottom: -8px; transform: rotate(-12deg); }
.model-stage { position: absolute; left: 50%; transform: translateX(-50%); bottom: 65px; width: min(39vw, 590px); height: calc(100% - 84px); max-height: 900px; }
.stage-oval { position: absolute; width: 92%; height: 79%; background: #e4e5d9; border-radius: 50% 50% 46% 46%; left: 4%; bottom: 4%; }
.stage-word { position: absolute; left: 10%; bottom: -4%; font: italic 530px/.9 Georgia, serif; color: #d8ddcb; transform: rotate(-10deg); user-select: none; }
.model-frame { position: absolute; height: 100%; aspect-ratio: 2 / 3; top: 0; left: 50%; transform: translateX(-50%); }
.outfit-layer, .model-outfit { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.outfit-layer { pointer-events: none; }
.model-outfit { will-change: opacity; }
.bag-overlay { position: absolute; left: 13.7%; top: 7.3%; width: 70%; height: 70%; object-fit: contain; pointer-events: none; }
.bag-overlay[hidden] { display: none; }
.sunglasses-overlay { position: absolute; left: 42.35%; top: 7.55%; width: 15.3%; height: auto; pointer-events: none; }
.sunglasses-overlay[hidden] { display: none; }
.loading-note { position: absolute; top: 48%; left: 50%; transform: translateX(-50%); width: max-content; max-width: 90%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-align: center; font-size: 12px; line-height: 1.5; z-index: 6; box-shadow: 0 4px 18px #282a2514; pointer-events: none; }
.loading-spinner { width: 15px; height: 15px; flex-shrink: 0; border: 1px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin 1s linear infinite; }
.loading-note[hidden], .loading-note[data-error='true'] .loading-spinner { display: none; }
.loading-note button { min-height: 44px; padding: 8px 14px; border-radius: 6px; background: var(--ink); color: var(--paper); pointer-events: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.speech-bubble { position: absolute; top: 1%; left: 60%; width: 310px; height: 176px; z-index: 4; pointer-events: none; }
.speech-bubble svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.speech-bubble path { fill: #faf9f3; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.bubble-above { display: none; }
.speech-bubble p { position: absolute; inset: 25px 30px 25px 51px; display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.swipe-zone { position: absolute; left: 5%; right: 5%; display: flex; justify-content: space-between; align-items: center; z-index: 5; touch-action: pan-y; }
.top-zone { top: 21%; height: 24%; }
.bottom-zone { top: 52%; height: 30%; }
.stage-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #b8bcae; background: #f1f0e9b3; font-size: 24px; font-family: Arial, sans-serif; transition: background .2s, transform .2s; line-height: 1; }
.stage-arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: scale(1.08); }
.stage-arrow:active { transform: scale(.94); }
.bottom-zone[aria-disabled='true'] { visibility: hidden; }
.stage-hint { position: absolute; bottom: -33px; width: 100%; text-align: center; margin: 0; font-size: 10px; color: var(--muted); }
.stage-hint span { margin-right: 7px; color: var(--ink); font-size: 16px; }
.selection { width: 218px; position: absolute; z-index: 6; }
.top-selection { left: 6.3%; top: 57%; width: 250px; }
.bottom-selection { right: 6.3%; top: min(36%, calc(100% - 560px)); }
.selection-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: .8px; }
.selection-heading h2 { margin: 0; font-size: 10px; font-weight: 500; color: var(--muted); }
.selection-heading h2 span { margin-left: 12px; color: var(--ink); font-weight: 800; letter-spacing: 1.6px; }
.selection-heading > span { color: var(--muted); font-variant-numeric: tabular-nums; }
.selection-info { padding-top: 21px; min-height: 113px; }
.item-note { color: var(--olive); letter-spacing: .8px; font-size: 8px; font-weight: 600; }
.selection h3 { font-family: Georgia, serif; font-size: 26px; font-weight: 400; letter-spacing: -.8px; margin: 8px 0; }
.selection-info p { color: var(--muted); font-size: 10px; line-height: 1.65; max-width: 208px; margin: 0; }
.item-options { display: flex; gap: 11px; margin-top: 10px; padding: 4px 1px 10px; overflow-x: auto; scrollbar-width: thin; }
.item-option { position: relative; width: 72px; height: 86px; border: 1px solid var(--line); border-radius: 2px; padding: 5px; background: transparent; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 4px; transition: border-color .2s, background .2s, transform .2s; }
.item-option[aria-pressed='true'] { border-color: var(--ink); background: #e8e9de; }
.item-option[aria-pressed='true']::after { content: ''; position: absolute; bottom: -7px; width: 4px; height: 4px; background: var(--red); border-radius: 50%; }
.item-option:hover { border-color: var(--ink); transform: translateY(-3px); }
.item-option:focus-visible { outline-offset: -3px; }
.item-option span { font-size: 9px; }
.item-option svg { fill: #252620; width: 44px; height: 44px; }
.top-selection .item-options { gap: 7px; }
.top-selection .item-option { flex: 0 0 46px; width: 46px; height: 78px; padding: 4px; }
.top-selection .item-option svg { max-width: 100%; }
.top-selection .item-option span { font-size: 8px; }
.collage-thumb { position: relative; display: block; overflow: hidden; width: 100%; height: 55px; }
.top-selection .collage-thumb img { position: absolute; width: 200%; height: 200%; max-width: none; left: 0; top: 0; object-fit: cover; object-position: top left; }
.top-selection .collage-front img { left: -100%; top: -100%; }
.bottom-selection .item-options { gap: 7px; }
.bottom-selection .item-option { flex: 0 0 49px; width: 49px; min-width: 0; }
.item-option:disabled { cursor: not-allowed; opacity: .3; transform: none; }
.bottom-selection .item-option svg { max-width: 100%; }
.item-option img { width: 100%; height: 55px; object-fit: cover; mix-blend-mode: multiply; }
.top-selection .item-option img { object-position: center 45%; }
.bottom-selection .item-option img { object-fit: contain; }
.selection-rule { position: absolute; width: 100px; top: 18px; display: flex; align-items: center; pointer-events: none; }
.top-selection .selection-rule { left: calc(100% + 25px); }
.bottom-selection .selection-rule { right: calc(100% + 25px); }
.selection-rule span { height: 1px; flex: 1; background: var(--line); }
.selection-rule i { width: 4px; height: 4px; border-radius: 50%; border: 1px solid #a4a995; }
.look-actions { position: absolute; right: 6.3%; bottom: 53px; width: 218px; display: flex; align-items: flex-start; flex-direction: column; gap: 17px; z-index: 6; }
.bag-toggle { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; padding: 10px 0 15px; border-bottom: 1px solid var(--line); text-align: left; }
.bag-toggle > img { width: 35px; height: 45px; object-fit: contain; mix-blend-mode: multiply; }
.bag-toggle > span { flex: 1; }
.bag-toggle strong { display: block; font-size: 10px; font-weight: 400; }
.bag-toggle small { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; }
.toggle-track { flex-shrink: 0; width: 28px; height: 16px; border-radius: 20px; background: #d7d9ce; padding: 3px; transition: background .2s; }
.toggle-track > i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); transition: transform .2s; }
.bag-toggle[aria-pressed='true'] .toggle-track { background: var(--olive); }
.bag-toggle[aria-pressed='true'] .toggle-track > i { transform: translateX(12px); }
.telegram-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 14px 17px; color: var(--paper); background: var(--ink); border-radius: 2px; text-decoration: none; font-size: 12px; }
.telegram-link:hover { background: var(--olive); }
.telegram-link span { font-size: 20px; line-height: 1; }
.shuffle-button { background: var(--red); color: #fff9e9; padding: 16px 23px; border-radius: 2px; display: flex; align-items: center; gap: 12px; font-size: 12px; transition: background .2s, transform .2s; }
.shuffle-button svg { width: 19px; height: 19px; }
.shuffle-button:hover { background: #922c1f; transform: rotate(-2deg); }
.shuffle-button:active { transform: scale(.97); }
.reset-button { display: flex; align-items: center; gap: 8px; font-size: 10px; background: none; padding: 3px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.reset-button:hover { color: var(--ink); border-color: var(--ink); }
.reset-button span { font-size: 17px; }
.footer { min-height: 59px; border-top: 1px solid var(--line); margin: 0 4%; display: flex; justify-content: space-between; align-items: center; font-size: 8px; letter-spacing: 1.1px; color: var(--muted); }
.footer > span:last-child { display: flex; align-items: center; gap: 18px; }
.footer i { font-size: 22px; font-style: normal; color: var(--olive); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.noscript-note { position: fixed; bottom: 20px; background: var(--paper); padding: 15px; border: 1px solid var(--line); z-index: 20; }

@media (min-width: 1500px) { .intro { top: 70px; } .selection { width: 250px; } .selection-rule { width: 120px; } .top-selection { top: 56%; } }
@media (max-width: 1250px) and (min-width: 1101px) { .intro, .top-selection { left: 4%; } .intro { top: 44px; } .bottom-selection, .look-actions { right: 4%; } .selection, .look-actions { width: 185px; } .selection-rule { width: 40px; } .model-stage { width: 40vw; } .speech-bubble { width: 260px; height: 174px; } .speech-bubble p { font-size: 14px; inset: 31px 20px 24px 40px; } }
@media (max-width: 1100px) {
  .masthead { height: 76px; margin: 0 6%; gap: 20px; }
  .wordmark { font-size: 41px; }
  .wordmark span { font-size: 10px; }
  .masthead-caption { font-size: 7px; letter-spacing: .7px; }
  .room-label { display: none; }
  .dark-mode-toggle { margin-left: auto; font-size: 11px; }
  .room-label i { width: 7px; height: 7px; }
  .fitting-room { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 25px; max-width: 750px; max-height: none; height: auto; min-height: 0; padding: 28px 6% 30px; }
  .intro { position: relative; top: auto; left: auto; grid-column: 1 / -1; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; }
  h1 { font-size: clamp(54px, 12vw, 80px); line-height: 1; letter-spacing: -3px; margin: 16px 0; }
  h1 br { display: none; }
  h1 em { display: block; }
  .intro p { font-size: 11px; line-height: 1.7; }
  .little-arrow { display: none; }
  .model-stage { grid-column: 1 / -1; position: relative; justify-self: center; width: min(100%, 540px); height: calc(min(118vw, 630px) + 145px); margin-top: 24px; left: auto; bottom: auto; transform: none; }
  .stage-oval { width: 90%; left: 5%; height: calc(78% - 113px); bottom: 5%; }
  .stage-word { font-size: 420px; left: 6%; }
  .speech-bubble { top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 330px); height: 145px; }
  .speech-bubble p { inset: 20px 27px 37px; font-size: 15px; line-height: 1.5; }
  .bubble-side { display: none; }
  .bubble-above { display: block; }
  .model-frame { width: auto; height: calc(100% - 145px); top: 145px; }
  .loading-note { top: 60%; }
  .swipe-zone { left: -1%; right: -1%; }
  .top-zone { top: calc(21% + 115px); height: calc(24% - 35px); }
  .bottom-zone { top: calc(52% + 70px); height: calc(30% - 43px); }
  .stage-arrow { width: 44px; height: 44px; font-size: 23px; }
  .stage-hint { bottom: -19px; font-size: 9px; }
  .selection { position: relative; top: auto; left: auto; right: auto; width: auto; margin-top: 49px; min-width: 0; }
  .selection-heading { font-size: 8px; }
  .selection-heading h2 { font-size: 9px; }
  .selection-heading h2 span { margin-left: 7px; }
  .selection-info { min-height: 115px; padding-top: 18px; }
  .selection h3 { font-size: 23px; margin-top: 10px; }
  .item-note { font-size: 6px; letter-spacing: .6px; }
  .selection-info p { font-size: 9px; line-height: 1.7; }
  .item-options { gap: 8px; margin-top: 0; padding-bottom: 14px; scroll-snap-type: x proximity; }
  .top-selection .item-option, .bottom-selection .item-option { flex: 0 0 68px; width: 68px; height: 92px; padding: 6px; scroll-snap-align: center; }
  .top-selection .item-option span, .bottom-selection .item-option span { font-size: 10px; }
  .item-option img { height: 58px; }
  .selection-rule { display: none; }
  .look-actions { grid-column: 1 / -1; position: relative; right: auto; bottom: auto; width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 25px; gap: 17px; }
  .bag-toggle { flex-basis: 100%; }
  .telegram-link { flex-basis: 100%; font-size: 14px; min-height: 52px; }
  .bag-toggle strong { font-size: 12px; }
  .bag-toggle small { font-size: 10px; }
  .shuffle-button { padding: 16px 22px; }
  .reset-button { min-height: 44px; font-size: 12px; }
  .footer { margin: 0 6%; gap: 20px; min-height: 72px; font-size: 6px; line-height: 1.7; letter-spacing: .7px; }
  .footer > span:first-child { max-width: 170px; }
  .footer > span:last-child { gap: 8px; white-space: nowrap; }
  .footer i { font-size: 17px; }
}
@media (max-width: 560px) {
  .masthead { height: 64px; gap: 14px; }
  .wordmark { font-size: 34px; letter-spacing: -3px; }
  .wordmark span { margin-left: 4px; }
  .masthead-caption { min-width: 0; font-size: 6.5px; letter-spacing: .4px; }
  .fitting-room { padding-top: 20px; }
  .eyebrow { font-size: 7px; letter-spacing: .7px; }
  h1 { font-size: clamp(32px, 11vw, 52px); letter-spacing: -2px; margin: 12px 0; }
  .model-stage { margin-top: 16px; height: calc(min(105vw, 530px) + 124px); }
  .model-frame { top: 124px; height: calc(100% - 124px); }
  .speech-bubble { height: 124px; }
  .speech-bubble p { inset: 14px 20px 30px; font-size: clamp(13px, 3.6vw, 14px); line-height: 1.45; }
  .stage-oval { height: calc(78% - 97px); }
  .top-zone { top: calc(21% + 98px); height: calc(24% - 30px); }
  .bottom-zone { top: calc(52% + 60px); height: calc(30% - 37px); }
  .stage-word { font-size: min(106vw, 420px); }
  .selection { grid-column: 1 / -1; margin-top: 28px; }
  .top-selection { margin-top: 44px; }
  .selection-heading { font-size: 10px; }
  .selection-heading h2 { font-size: 11px; }
  .selection-info { min-height: 0; padding: 15px 0; }
  .selection h3 { font-size: 26px; margin: 7px 0; }
  .item-note { font-size: 8px; }
  .selection-info p { font-size: 12px; max-width: none; }
  .look-actions { margin-top: 20px; }
  .stage-hint { font-size: 10px; }
  .footer { flex-wrap: wrap; padding: 12px 0; }
}
@media (max-width: 360px) { .masthead-caption { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
