.layered-canvas{aspect-ratio:1080/1620;touch-action:pan-y;background-color:#f1f1f1;background-image:linear-gradient(45deg,#e8e8e8 25%,#0000 25%),linear-gradient(-45deg,#e8e8e8 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e8e8e8 75%),linear-gradient(-45deg,#0000 75%,#e8e8e8 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px;width:100%;max-width:100%;position:relative;overflow:hidden}.layered-canvas__layer,.canvas-guide{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;position:absolute;inset:0}.canvas-guide{fill:#232323;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:23px}.canvas-guide line{stroke:#232323a6;stroke-width:2px;stroke-dasharray:12 8}.dress-up-page{flex-direction:column;gap:16px;min-width:0;display:flex}.dress-up-page__canvas-wrap{width:min(100%,340px);margin-inline:auto}.dress-up-page__header,.dress-up-page__controls,.dress-up-page__header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dress-up-page__header{justify-content:space-between}.dress-up-page__header-actions{justify-content:flex-end}.dress-up-page__empty{color:#525252;margin:0}.ready-items{overscroll-behavior-inline:contain;gap:10px;width:100%;min-width:0;padding:2px 2px 10px;display:flex;overflow-x:auto}.ready-item{color:#171717;cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-radius:10px;flex-direction:column;flex:0 0 92px;gap:5px;min-width:0;padding:4px;display:flex;position:relative}.ready-item.is-active{border-color:#171717;box-shadow:0 0 0 1px #171717}.ready-item__image{background:#f3f3f3;justify-content:center;align-items:center;width:100%;height:86px;display:flex}.ready-item__image img{object-fit:contain;width:100%;height:100%;display:block}.ready-item__name{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.ready-item__selected{font-size:10px;font-weight:700}.slot-rail{overscroll-behavior-inline:contain;gap:8px;width:100%;min-width:0;padding:2px 2px 8px;display:flex;overflow-x:auto}.slot-rail__button{color:#525252;cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-radius:999px;flex:none;min-height:44px;padding:8px 14px;font-size:13px;font-weight:600}.slot-rail__button.is-active{color:#171717;border:2px solid #171717;font-weight:750}.item-navigation{grid-template-columns:minmax(88px,1fr) auto minmax(88px,1fr);align-items:center;gap:8px;display:grid}.item-navigation strong{text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.item-navigation button{color:#171717;cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-radius:10px;min-height:44px;padding:8px 12px;font-weight:600}.layers-dialog{width:min(100%,560px);max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);color:#171717;background:#fff;border:0;border-radius:20px 20px 0 0;margin:auto auto 0;padding:0;position:fixed;inset:auto 0 0;overflow:hidden}.layers-dialog::backdrop{background:#00000052}.layers-dialog__panel{max-height:calc(100dvh - env(safe-area-inset-top) - 12px);flex-direction:column;display:flex}.layers-dialog__header,.layers-dialog__footer{border-bottom:1px solid #e5e5e5;flex:none;justify-content:space-between;align-items:center;gap:10px;padding:14px 20px;display:flex}.layers-dialog__header h3{margin:0;font-size:18px}.layers-dialog__body{-webkit-overflow-scrolling:touch;flex-direction:column;min-height:0;display:flex;overflow-y:auto}.layer-row{border-bottom:1px solid #ededed;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px 16px;display:grid}.layer-row__image{background:#f3f3f3;justify-content:center;align-items:center;width:54px;height:54px;display:flex;overflow:hidden}.layer-row__image img{object-fit:contain;width:100%;height:100%;display:block}.layer-row__details{flex-direction:column;gap:4px;min-width:0;display:flex}.layer-row__details strong,.layer-row__details span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.layer-row__details strong{font-size:14px}.layer-row__details span{color:#737373;font-size:12px}.layer-row__actions{gap:4px;display:flex}.layer-row__actions button{color:#171717;cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-radius:9px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;font-size:20px;display:inline-flex}.layers-dialog__footer{padding-bottom:calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e5e5e5;border-bottom:0;justify-content:flex-end}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.dress-up-page button:focus-visible,.ready-item:focus-visible,.layers-dialog button:focus-visible{outline-offset:2px;outline:2px solid #171717}@media (width<=390px){.layer-row{grid-template-columns:48px minmax(0,1fr)}.layer-row__image{width:48px;height:48px}.layer-row__actions{grid-column:1/-1;justify-content:flex-end}}.wardrobe-page{min-width:0}.wardrobe-page__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.wardrobe-page__header-actions{align-items:center;gap:8px;display:flex}.data-sheet{width:min(100%,560px);max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);color:#171717;background:#fff;border:0;border-radius:20px 20px 0 0;margin:auto auto 0;padding:0;position:fixed;inset:auto 0 0;overflow:hidden}.data-sheet::backdrop{background:#00000052}.data-sheet__panel{max-height:calc(100dvh - env(safe-area-inset-top) - 12px);flex-direction:column;display:flex}.data-sheet__header{border-bottom:1px solid #e5e5e5;flex:none;justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.data-sheet__header h3,.data-sheet__section h4{margin:0}.data-sheet__body{min-height:0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;flex-direction:column;gap:18px;display:flex;overflow-y:auto}.data-sheet__section,.data-sheet__preview{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.data-sheet__section+.data-sheet__section{border-top:1px solid #e5e5e5;padding-top:18px}.data-sheet__section p,.data-sheet__preview p,.data-sheet__body>p{margin:0;font-size:14px;line-height:1.4}.data-sheet__preview{border:1px solid #dedede;border-radius:12px;width:100%;padding:14px}.data-sheet__choose{border-color:#d4d4d4}.data-sheet button:focus-visible{outline-offset:2px;outline:2px solid #171717}.data-sheet__file-input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.add-button,.icon-button{color:#171717;cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-radius:12px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;padding:0;font-size:27px;line-height:1;display:inline-flex}.status-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:24px;display:grid}.status-filter{color:#525252;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e5e5e5;border-radius:10px;min-width:0;min-height:44px;padding:5px 2px;font-size:12px;font-weight:500}.status-filter.is-active{color:#fff;background:#171717;border-color:#171717}.wardrobe-empty{flex-direction:column;align-items:center;gap:16px;padding-top:72px;display:flex}.wardrobe-empty p{color:#525252;margin:0}.wardrobe-page__error,.field-error{color:#a22222;margin:0;font-size:13px;line-height:1.4}.wardrobe-page__error{padding-top:24px}.wardrobe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin-top:24px;display:grid}.wardrobe-card{min-width:0;color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e5e5;border-radius:14px;padding:0;display:block;overflow:hidden}.image-surface{background:#f3f3f3}.wardrobe-card__image{aspect-ratio:1;justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.wardrobe-card__image img,.wardrobe-dialog__preview img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;display:block}.wardrobe-card__details{flex-direction:column;gap:5px;min-width:0;padding:12px;display:flex}.wardrobe-card__name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.wardrobe-card__meta{color:#737373;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.wardrobe-dialog{width:min(100%,560px);max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);color:#171717;background:#fff;border:0;border-radius:20px 20px 0 0;margin:auto auto 0;padding:0;position:fixed;inset:auto 0 0;overflow:hidden}.wardrobe-dialog::backdrop{background:#00000052}.wardrobe-form{max-height:calc(100dvh - env(safe-area-inset-top) - 12px);flex-direction:column;display:flex}.wardrobe-dialog__header{border-bottom:1px solid #e5e5e5;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.wardrobe-dialog__header h3{margin:0;font-size:18px;font-weight:600}.wardrobe-dialog__body{-webkit-overflow-scrolling:touch;flex-direction:column;gap:18px;min-height:0;padding:20px;display:flex;overflow-y:auto}.wardrobe-dialog__preview{border-radius:12px;flex:none;justify-content:center;align-items:center;width:100%;height:min(38dvh,300px);display:flex;overflow:hidden}.form-field{flex-direction:column;gap:7px;min-width:0;display:flex}.form-field label{font-size:14px;font-weight:600}.optional-label{color:#737373;font-weight:400}.form-field input,.form-field select{color:#171717;width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:1px solid #a3a3a3;border-radius:10px;padding:9px 12px;font-size:16px}.form-field input[type=file]{padding:8px;font-size:14px}.wardrobe-dialog__actions{padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5e5e5;flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.wardrobe-dialog__actions .text-button--danger{margin-right:auto}.text-button,.primary-button{white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;min-height:44px;padding:8px 14px;font-size:14px;font-weight:600;display:inline-flex}.text-button{color:#171717;background:0 0}.text-button--danger{color:#a22222}.primary-button{color:#fff;background:#171717}button:disabled{opacity:.55;cursor:default}.wardrobe-page button:focus-visible,.wardrobe-dialog button:focus-visible,.wardrobe-dialog input:focus-visible,.wardrobe-dialog select:focus-visible{outline-offset:2px;outline:2px solid #171717}.dress-up-asset{border-top:1px solid #e5e5e5;flex-direction:column;gap:12px;min-width:0;padding-top:18px;display:flex}.dress-up-asset__heading,.dress-up-asset__controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.dress-up-asset__heading h4{margin:0;font-size:16px}.dress-up-asset__heading span,.dress-up-asset__source{color:#525252;font-size:13px}.dress-up-asset__slot{justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:14px;display:flex}.dress-up-asset__slot span{font-weight:600}.dress-up-asset .layered-canvas{width:min(100%,220px);margin-inline:auto}:root{color:#171717;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*,:before,:after{box-sizing:border-box}html,body,#root{width:100%;min-width:0;min-height:100%;margin:0}body{overflow-x:hidden}button{font:inherit}.app-shell{background:#fff;flex-direction:column;width:100%;min-width:0;height:100dvh;display:flex;overflow:hidden}.app-header{padding:calc(env(safe-area-inset-top) + 18px) 24px 18px;border-bottom:1px solid #e5e5e5;flex:none}.app-header h1{letter-spacing:-.02em;margin:0;font-size:20px;font-weight:650;line-height:28px}.app-content{min-width:0;min-height:0;padding:28px 24px calc(80px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;flex:1;overflow:auto}.app-content h2{letter-spacing:-.02em;margin:0;font-size:24px;font-weight:600;line-height:32px}.bottom-tabs{z-index:10;inset-inline:0;min-width:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5e5e5;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;display:grid;position:fixed;bottom:0}.bottom-tabs__button{color:#737373;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;min-width:0;min-height:52px;padding:4px 2px;font-size:12px;font-weight:500;display:flex}.bottom-tabs__button.is-active{color:#171717;font-weight:700}.bottom-tabs__button:focus-visible{outline-offset:-3px;outline:2px solid #171717}
