/* Warm paper / painted wood: small travel, soft landings, quiet at rest. */
:root {
  --motion-press: 90ms;
  --motion-fast: 180ms;
  --motion-panel: 300ms;
  --motion-out: cubic-bezier(.16, 1, .3, 1);
  --motion-exit: cubic-bezier(.4, 0, 1, 1);
}
.phone button {
  transition: transform var(--motion-fast) var(--motion-out), opacity var(--motion-fast) linear;
  touch-action: manipulation;
}
/* Entering transforms must not change which side of the shop backdrop a panel paints on. */
.stock-controls, .bill-total, .ready-copy { position: relative; }
.phone button:not(:disabled):active,
.phone button:not(:disabled).press-feedback {
  transform: translateY(1px) scale(.97);
  transition-duration: var(--motion-press);
}
.phone button:focus, .phone input:focus { outline: 2px solid #9c743c; outline-offset: 3px; }
@supports selector(:focus-visible) {
  .phone button:focus:not(:focus-visible), .phone input:focus:not(:focus-visible) { outline: none; }
}
@media (hover: hover) and (pointer: fine) {
  .phone button:not(:disabled):not(:active):not(.press-feedback):hover { transform: translateY(-1px); }
}
/* Only phase changes enter. A quantity edit never replays a whole screen. */
.motion-enter .customer-request,
.motion-enter .fitting-split,
.motion-enter .checkout-content,
.motion-enter .bill-total,
.motion-enter .rent-summary,
.motion-enter .stock-controls,
.motion-enter .stock-scroll,
.motion-enter .ready-copy {
  animation: paper-enter var(--motion-panel) var(--motion-out) backwards;
}
.motion-enter .fitting-split { animation-delay: 35ms; }
/* The next action stays readable while the content above it arrives. */
@media (prefers-reduced-motion: no-preference) {
  .phone .footer button:not(:disabled):active,
  .phone .footer button:not(:disabled).press-feedback,
  .phone .stock-footer button:not(:disabled):active,
  .phone .stock-footer button:not(:disabled).press-feedback { transform:translateY(1px); }
}
.motion-enter .bill-row, .motion-enter .bundle-tile,
.motion-enter .stock-receipt-row,
.motion-list .item, .motion-list .stock-card {
  animation: paper-enter 220ms var(--motion-out) var(--motion-delay, 0ms) backwards;
}
[data-stock-all] .stock-card { --motion-delay: 140ms; }
[data-stock-all] .stock-card:nth-child(1) { --motion-delay: 0ms; }
[data-stock-all] .stock-card:nth-child(2) { --motion-delay: 35ms; }
[data-stock-all] .stock-card:nth-child(3) { --motion-delay: 70ms; }
[data-stock-all] .stock-card:nth-child(4) { --motion-delay: 105ms; }
.motion-list .tabs button.active { animation: selection-settle 180ms var(--motion-out); }
.motion-outfit .item.just-worn .state { animation: fitting-check-in 180ms var(--motion-out); }
@keyframes fitting-check-in {
  from { opacity:.5; transform:scale(.8); }
  65% { opacity:1; transform:scale(1.06); }
  to { transform:scale(1); }
}
.motion-customer .person canvas, .motion-customer .quote-portrait canvas {
  animation: customer-enter 280ms var(--motion-out) backwards;
}
.motion-customer .queue-face.current { animation: selection-settle 220ms var(--motion-out); }
.motion-customer .queue-face.current + .queue-status { animation: ink-appear 180ms linear; }
.motion-speech .speech { animation: none; }
.motion-speech .speech span, .motion-speech .quote-dialogue { animation: paper-enter 200ms var(--motion-out); }
.screen-fitting.motion-speech .fitting-conversation .speech > span { animation: fitting-reply-in 160ms ease-out; }
@keyframes fitting-reply-in { from { opacity:.65; } to { opacity:1; } }
.motion-wallet .wallet strong, .motion-cart .wallet-preview strong, .motion-cart .stock-payment strong,
.motion-quantity > span { animation: number-settle 180ms var(--motion-out); }
.motion-patience .patience b { animation: ink-appear 180ms linear; }
.motion-enter .deal-accepted .deal-result { animation: seal-enter 320ms var(--motion-out); }
.motion-enter .deal-accepted .deal-result strong { animation: paper-enter 280ms var(--motion-out) 80ms backwards; }
.motion-enter .deal-rejected .deal-result { animation: ink-appear 180ms linear; }
.quote-overlay { animation: ink-appear var(--motion-fast) linear; }
.quote-modal { animation: modal-enter var(--motion-panel) var(--motion-out); }
/* Menu controls stay in place while the panel fades in. */
.game-menu-overlay .quote-modal { animation: ink-appear var(--motion-fast) linear; }
.motion-guide .guide-bubble { animation: paper-enter 220ms var(--motion-out); }
.motion-leaving { pointer-events: none; animation: ink-leave 140ms var(--motion-exit) forwards; }
.motion-leaving .quote-modal { animation: modal-leave 140ms var(--motion-exit) forwards; }
.toast { animation: paper-enter 180ms var(--motion-out); }
.toast.motion-leaving { animation: ink-leave 140ms linear forwards; }
.coin-overlay { animation: ink-appear 180ms linear; transition: opacity 260ms linear; }
.coin-overlay.landing { background: #faf8f1; opacity: 0; }
.coin-celebration { transition: transform 260ms var(--motion-exit), opacity 260ms linear; }
.big-coin { animation: coin-settle 480ms var(--motion-out) 1; }
.settle-value { animation: none; font-variant-numeric: tabular-nums; }
.screen-summary .bill-total {
  flex: 0 0 auto;
  height: clamp(150px, 25vh, 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-bottom: 0;
  background: #faf3e6;
}
.screen-summary .bill-columns {
  margin: 0 18px;
  padding: 10px 12px;
  border: 1px solid #d4bf97;
  border-bottom: 1px dashed #d4bf97;
  background: #faf3e6;
}
.screen-summary .bill-list {
  margin: 0 18px 8px;
  padding: 0 12px;
  border: 1px solid #d4bf97;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #faf3e6;
}
.screen-summary .bill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.screen-summary .bill-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.screen-summary .bill-row > strong { flex-shrink: 0; }
.screen-summary .bill-picture { flex-shrink: 0; }
.screen-summary .bill-allowance { min-height: 56px; }
.screen-summary .bill-allowance > span { font-size: 12px; }
@media (max-height: 650px) {
  .screen-summary .bill-total { height: 140px; }
  .screen-summary .bill-row { min-height: 72px; }
  .screen-summary .bill-picture { width: 58px; height: 58px; }
}
.screen-summary .wallet { position: relative; }
.screen-summary .footer { margin-top: auto; }
.settlement-flight { position: fixed; z-index: 45; display: block; white-space: nowrap; pointer-events: none; transform-origin: top left; }
.settlement-source-hidden { visibility: hidden; }
.settlement-landed strong { animation: income-land 500ms var(--motion-out) both; }
.settlement-rent-active strong { color: #a35f45; }
.settlement-reveal strong { animation: settlement-result-reveal 550ms var(--motion-out) both; }
.rent-confirm-amount { display: block; margin: 16px 0 28px; color: #a35f45; font: 38px Georgia,var(--font-ui); text-align: center; }
.rent-confirm-amount small { font: 14px var(--font-ui); }
.settlement-coin { position: absolute; top: 8px; width: 24px; height: 24px; border: 1px solid #b58a38; border-radius: 50%; background: #ebcc78; color: #8c631f; text-align: center; line-height: 22px; font-size: 15px; pointer-events: none; }
.screen-summary .wallet .settlement-coin { left: calc(30% - 26px); }
.settlement-coin.landed { animation: coin-settle 600ms var(--motion-out) both; }
.settlement-coin.debit { animation: settlement-debit 640ms cubic-bezier(.76, 0, .24, 1) both; }
@keyframes settlement-result-reveal { from { opacity: 0; transform: translateY(8px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes settlement-debit { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translate(-18px, -34px) scale(.6); } }
.stock-stepper > span, .wallet strong, #offer-value { font-variant-numeric: tabular-nums; }
.income-received .income-amount{animation:income-land 500ms cubic-bezier(.16,1,.3,1) both}
.income-flight{animation:income-transfer 1600ms cubic-bezier(.4,0,.2,1) both}
.deal-income-value { font: inherit; font-variant-numeric: tabular-nums; }
.sale-income-coin { position: fixed; z-index: 12; width: 26px; height: 26px; border: 1px solid #b58a38; border-radius: 50%; background: #ebcc78; color: #8c631f; text-align: center; line-height: 24px; font-size: 16px; pointer-events: none; }
@keyframes income-transfer{0%{opacity:0;transform:translate(0,8px) scale(.85)}18%,28%{opacity:1;transform:translate(0,0) scale(1)}85%{opacity:1}100%{opacity:0;transform:translate(var(--flight-x),var(--flight-y)) scale(.6)}}
@keyframes income-land{0%{transform:scale(1)}35%{transform:scale(1.13)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.income-received .income-amount,.income-flight{animation:none}}
@keyframes paper-enter { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ink-appear { from { opacity: .25; } to { opacity: 1; } }
@keyframes ink-leave { to { opacity: 0; } }
@keyframes modal-enter { from { opacity: .3; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes modal-leave { to { opacity: 0; transform: translateY(6px) scale(.99); } }
@keyframes customer-enter { from { opacity: .4; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes selection-settle { from { transform: scale(.96); } to { transform: scale(1); } }
@keyframes seal-enter { from { opacity: .4; transform: scale(.94); } 65% { opacity: 1; transform: scale(1.015); } to { transform: scale(1); } }
@keyframes number-settle { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes coin-settle { from { transform: translateY(8px) scale(.9); } 55% { transform: translateY(-4px) scale(1.025); } to { transform: none; } }
/* Content stays in its finished state without motion, including JS animations. */
.motion-request .request-focus { animation: request-settle 650ms ease-out 100ms backwards; }
.motion-request .request-focus:after { animation: request-underline 420ms ease-out 180ms backwards; }
@keyframes request-settle {
  0% { transform: translateY(2px) scale(.96); }
  45% { transform: translateY(-1px) scale(1.06); }
  100% { transform: none; }
}
@keyframes request-underline {
  from { transform: rotate(-2deg) scaleX(0); }
  to { transform: rotate(-2deg) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .phone *, .phone *:before, .phone *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .phone button:not(:disabled):active, .phone button:not(:disabled).press-feedback,
  .phone button:not(:disabled):hover { transform: none; }
}

/* Same typography and materials as the shop. Motion only follows user events. */
.profile-bargain-progress{display:flex;align-items:center;flex-wrap:wrap;min-width:0;padding:4px 0}
.profile-progress-bar{display:inline-flex;align-items:center;flex-shrink:0}
.profile-progress-segment{display:block;width:22px;height:7px;border:1px solid #beaf96;border-radius:2px;background:#e9dfc9}
.profile-progress-segment+.profile-progress-segment{margin-left:4px}
.profile-progress-segment.is-filled{border-color:#718358;background:#718358}
.profile-progress-count{margin-left:7px;font-size:10px;color:#8c7e68;font-variant-numeric:tabular-nums}
.profile-progress-caption{margin-left:9px;font-size:11px;color:#8c7e68}
.profile-progress-caption .profile-discovery{color:#546b43}
.profile-entry-row{display:flex;justify-content:flex-end;position:relative;margin:0 16px 4px;flex-shrink:0;z-index:2}
.today-income{position:relative;display:flex;align-items:center;justify-content:center;flex:1 1 120px;max-width:120px;min-width:0;height:30px;margin-right:auto;padding:3px 8px;color:#405633}
.today-income:before{content:'';position:absolute;left:0;right:0;top:1px;bottom:1px;background:#f8efdc url('./assets/ui/ivory-paper.jpg') center/150px;border:1px solid #d3bc92;border-radius:1px 2px 1px 2px;box-shadow:0 2px 2px #493b2933,inset 0 0 0 2px #fff8e880;clip-path:polygon(1% 0,23% 2%,47% 0,73% 2%,99% 0,100% 22%,99% 65%,100% 96%,80% 100%,54% 97%,29% 100%,0 96%,1% 58%,0 20%)}
.today-income:after{content:'';position:absolute;right:1px;bottom:1px;width:7px;height:7px;background:linear-gradient(135deg,#bca77e 0%,#e6d6b7 45%,#fff9eb 48%,#f3e6cd 100%);clip-path:polygon(100% 0,100% 100%,0 100%);pointer-events:none}
.today-income+.profile-entry{margin-left:8px;flex-shrink:0;white-space:nowrap}
.income-amount{position:relative;display:inline-block;font-size:22px;line-height:1;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;transform-origin:center}
.income-flight{position:absolute;z-index:25;pointer-events:none;padding:4px 10px;border:1px solid #b9c59d;border-radius:14px;background:#f5f5e6;color:#486039;font-size:22px;font-weight:600;line-height:26px;white-space:nowrap;font-variant-numeric:tabular-nums}
.income-delta{position:absolute;left:0;top:-20px;color:#486039;font-size:14px;font-weight:600;white-space:nowrap;pointer-events:none}
/* Reserve the dialogue track even when there is no speech element. */
.phone.screen-fitting{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto 82px auto minmax(0,1fr) 64px}
.screen-fitting>*,.screen-fitting .wardrobe,.screen-fitting .cards{min-width:0;min-height:0}
.screen-fitting>.queue{height:62px}
.screen-fitting>.profile-entry-row{min-height:36px}
.screen-fitting>.customer-request{padding-top:5px;padding-bottom:5px}
.screen-fitting>.speech{max-height:70px}
.screen-fitting>.tabs{min-height:44px}
.screen-fitting>.fitting-split{overflow:hidden}
.screen-fitting .fitting-split .cards{flex:1 1 0;overflow-x:hidden;overflow-y:auto}
@media(max-height:730px){
 .phone.screen-fitting{grid-template-rows:auto auto auto auto 68px auto minmax(0,1fr) 56px}
 .screen-fitting>.queue{height:49px}
 .screen-fitting>.speech{max-height:56px}
 .screen-fitting>.tabs{min-height:38px}
}
@media(min-width:601px) and (max-height:650px){
 .phone.screen-fitting{margin:6px auto;max-height:calc(100vh - 12px);max-height:calc(var(--app-height,100vh) - 12px)}
}
@media(max-height:520px){
 .phone.screen-fitting{grid-template-rows:auto auto auto auto 62px auto minmax(0,1fr) 48px}
 .screen-fitting>.speech{margin-top:3px;margin-bottom:3px}
 .screen-fitting>.footer{padding-bottom:4px}
}
.screen-fitting>.profile-entry-row{grid-row:2;align-items:center;margin:0 16px}
.screen-fitting>.queue{grid-row:3}
.screen-fitting>.customer-request{grid-row:4}.screen-fitting>.speech{grid-row:5}.screen-fitting>.tabs{grid-row:6}.screen-fitting>.fitting-split{grid-row:7}.screen-fitting>.footer{grid-row:8}
.phone .profile-entry-row button.profile-entry{position:relative;display:flex;align-items:center;min-height:36px;padding:4px 11px;border:1px solid #a4a77d;border-radius:4px;background:#f4efdc;box-shadow:0 2px 2px #64543620;font-size:12px;color:#566842;text-shadow:none}
.profile-entry svg{width:20px;height:20px;margin-right:6px}.profile-entry b{font-size:10px;font-weight:500;margin-left:7px;background:#a65f38;color:#fff8e6;padding:1px 6px;border-radius:8px}
.profile-entry.has-unread:after{content:'';position:absolute;right:9px;top:-4px;width:8px;height:13px;background:#a65f38;clip-path:polygon(0 0,100% 0,100% 100%,50% 75%,0 100%)}
.profile-entry-pulse{animation:profile-entry-mark 650ms ease-out 2}.profile-entry:active{transform:translateY(1px)}
.profile-entry-row.has-promotion{gap:6px}
.profile-entry-row.has-promotion .profile-entry{order:1;margin-left:0}
.profile-entry-row.has-promotion .today-income~.customer-promotion-entry{margin-left:8px}
.profile-entry-row.has-promotion .today-income{margin-right:auto;flex-basis:68px}
.profile-entry-row.has-promotion .income-amount{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:clamp(13px,4vw,20px)}
.phone .profile-entry-row button.customer-promotion-entry{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:40px;padding:5px 9px;border:1px solid #75452f;border-radius:3px;background:linear-gradient(135deg,#b77550 0%,#935137 72%,#824630 100%);box-shadow:inset 0 0 0 2px #e8bb8455,inset 0 -3px 0 #5f35283d,0 2px 4px #493b2940;color:#fff7e6;font-size:12px;font-weight:600;letter-spacing:.2px;white-space:nowrap;text-shadow:0 1px 1px #5d3426}
.customer-promotion-entry svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.phone .profile-entry-row button.customer-promotion-entry:not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 0 0 2px #e8bb8455,inset 0 1px 4px #5f352866}
.phone .profile-entry-row button.customer-promotion-entry:disabled{background:#ded4c2;border-color:#b9aa93;box-shadow:inset 0 0 0 2px #f4ecdd;color:#756e61;text-shadow:none;cursor:default}
@media(max-width:350px){.profile-entry-row.has-promotion{margin-left:10px;margin-right:10px;gap:4px}.phone .profile-entry-row.has-promotion button.profile-entry{padding-left:7px;padding-right:7px}.profile-entry-row.has-promotion .profile-entry svg{width:17px;height:17px;margin-right:4px}.phone .profile-entry-row button.customer-promotion-entry{padding-left:6px;padding-right:6px;font-size:11px}.customer-promotion-entry svg{width:17px;height:17px}}
.profile-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:110;display:flex;align-items:center;justify-content:center;padding:32px 16px;background:#3d342d38;animation:profile-shade-in 180ms ease-out}
.profile-book{--profile-line:#d9c8a8;position:relative;width:366px;max-width:100%;height:720px;max-height:100%;padding:20px 22px 20px 30px;border-radius:12px;background:#f6eedc url('./assets/ui/customer-notebook.webp') center/100% 100%;box-shadow:0 14px 38px #493b2940;display:flex;flex-direction:column;overflow:hidden;color:#493b29;transform-origin:8% 50%;animation:profile-book-open 340ms cubic-bezier(.22,.8,.25,1) both}
.profile-layer button{font:inherit;touch-action:manipulation}.profile-layer button:focus{outline:2px solid #b5764f;outline-offset:2px}.profile-layer button:focus:not(:focus-visible){outline:none}.profile-layer button:disabled{opacity:.35}.profile-head{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;margin-bottom:6px}.profile-head h1{letter-spacing:1px;font: var(--ui-title);}.profile-head>button{font-size:24px;width:40px;height:40px;padding:0;color:#89795f}
.profile-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));grid-gap:6px 2px;flex-shrink:0;padding:7px 0 10px;border-bottom:1px solid var(--profile-line)}.profile-people>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;padding:0;font-size:11px;color:#8d7c62;min-height:55px}.profile-portrait{position:relative;display:block;flex-shrink:0;width:35px;height:35px;margin:0 auto 4px;overflow:hidden;border-radius:50%;background:#ebe2ca;border:2px solid #fff8e5;box-shadow:0 0 0 1px #cfbea0}.profile-portrait canvas{display:block;width:98px;height:auto;max-width:none;transform:translate(-33px,-7px)}.profile-people button[aria-pressed=true]{color:#546b43;font-weight:600}.profile-people button[aria-pressed=true] .profile-portrait{box-shadow:0 0 0 2px #6e8056}.profile-dot,.profile-add-customer.has-available:after{position:absolute;top:0;right:calc(50% - 18px);width:7px;height:7px;background:#a65f38;border:1px solid #fff7df;border-radius:50%}
.profile-pages{overflow-y:auto;min-height:0;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 2px 5px;transform-origin:0 50%}.profile-hero{display:flex;padding:17px 0 12px;align-items:center}.profile-photo{position:relative;width:133px;height:254px;flex-shrink:0;background:#fffcf1;padding:7px 6px 4px;box-shadow:0 2px 5px #56452e25;transform:rotate(-2deg);border:1px solid #dfd4bd}.profile-photo:before{content:'';position:absolute;top:-7px;left:43px;width:44px;height:15px;background:#b8bb8e9c;transform:rotate(4deg);z-index:1}.profile-photo>div{height:222px;display:flex;align-items:center;justify-content:center;background:#ece5d34d}.profile-photo canvas{display:block;height:222px;width:auto;max-width:100%;object-fit:contain}.profile-photo small{font-size:10px;color:#958267;display:block;text-align:center;line-height:18px}.profile-intro{padding-left:17px;min-width:0;flex:1}.profile-intro h2{font-size:27px;font-weight:600;margin-bottom:5px}.profile-intro>p{color: var(--ui-paper-muted);font: var(--ui-caption);}.profile-stats{margin-top:17px}.profile-stats>div{display:flex;align-items:baseline;margin:6px 0;flex-wrap:wrap}.profile-stats small{width:32px;flex-shrink:0;font-size:11px;color:#93836b}.profile-stats strong{font-size:18px;font-weight:500;overflow-wrap:break-word;max-width:100%}.profile-stats em{font-size:10px;font-style:normal;margin-left:3px;color:#93836b}.profile-intro .profile-album-button{margin-top:10px;font-size:11px;padding:4px 0;min-height:32px}
.profile-tabs{display:flex;border-bottom:1px solid var(--profile-line);position:sticky;top:0;background:#f5eedc;z-index:2}.profile-tabs button{flex:1;padding:10px 0;font-size:12px;border-bottom:2px solid transparent;color:#93836b;min-height:38px}.profile-tabs button[aria-selected=true]{color:#546844;border-color:#6d7f55;font-weight:600}.profile-content{padding:9px 0 0}.profile-row{display:flex;align-items:center;min-height:35px;padding:4px 0;border-bottom:1px solid #d9c8a83d}.profile-row:last-of-type{border-bottom:0}.profile-label{font-size:11px;color:#978970;width:44px;flex-shrink:0}.profile-value{display:flex;align-items:center;flex-wrap:wrap;font-size:11px;min-width:0;flex:1}.profile-tag{padding:2px 6px;margin:2px 3px 2px 0;background:#e8e6d4;border-radius:3px;font-size:11px}.profile-tag.favorite{color:#556a44;background:#e1e5ce}.profile-color{display:inline-flex;align-items:center;margin-right:13px;font-size:11px}.profile-color>i{width:13px;height:13px;border:1px solid #bcad93;border-radius:50%;margin-right:5px}.profile-value .profile-lock{color:#a49780;font-size:11px;min-height:30px;padding:3px 0;text-align:left}.profile-lock i{font-style:normal;display:inline-block;text-align:center;width:22px;line-height:20px;border:1px dashed #beaf96;border-radius:3px;margin-right:6px}.profile-hint{color: var(--ui-paper-muted);padding:8px 0;font: var(--ui-caption);}.profile-hint:empty{display:none}.profile-items{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:7px}.profile-item{min-width:0;border:1px solid #dfd4bd;background:#fff9eb;padding:6px 4px;text-align:center}.profile-item canvas{width:100%;height:62px;object-fit:contain}.profile-item span{display:block;font-size:10px;line-height:1.4}.profile-item small{display:block;font-size:9px;color:#9d8b6d;margin-top:4px}.profile-visit{padding:8px 0;border-bottom:1px solid #d9c8a85c}.profile-visit b{font-size:11px;font-weight:500}.profile-visit small{float:right;font-size:10px;color:#8c7859}.profile-visit p{font-size:10px;color:#998971;margin-top:4px}.profile-empty{padding:25px 0;color:#96866d;font-size:12px;text-align:center}.profile-album-stage{height:420px;display:flex;align-items:center;justify-content:center;margin-top:12px}.profile-album-stage canvas{display:block;height:100%;width:auto;max-width:100%;object-fit:contain}.profile-pager{display:flex;align-items:center;justify-content:space-between;font-size:11px}.profile-pager button{width:44px;height:40px;font-size:23px}.profile-back{min-height:40px;font-size:12px;color:#687851}
.profile-notice{position:fixed;z-index:15;width:235px;max-width:calc(100vw - 32px);border:1px solid #a6a97c;border-radius:5px;background:#faf3df;box-shadow:0 5px 15px #4d402a2b;transform-origin:90% 0;animation:profile-notice-in 300ms cubic-bezier(.2,.8,.25,1) both}.profile-notice:before{content:'';position:absolute;top:-6px;right:30px;width:10px;height:10px;background:#faf3df;border-left:1px solid #a6a97c;border-top:1px solid #a6a97c;transform:rotate(45deg)}.profile-notice-open{display:block;text-align:left;width:100%;padding:11px 28px 11px 13px;font-size:11px;color:#726044}.profile-notice-open strong{display:block;font-size:12px;font-weight:600;color:#566842;margin-bottom:6px}.profile-notice-line{display:block;padding:2px 0;animation:profile-ink-in 360ms ease-out both;animation-delay:var(--reveal-delay,0ms)}.profile-notice-dismiss{position:absolute;right:1px;top:1px;width:29px;height:32px;font-size:18px;color:#9b896b}
.profile-turn{animation:profile-page-turn 240ms cubic-bezier(.2,.75,.25,1) both}.profile-discovery{position:relative;display:inline-block}.profile-discovery.is-new{animation:profile-ink-in 420ms ease-out both;animation-delay:var(--reveal-delay,0ms)}.profile-discovery.is-new:after{content:'';position:absolute;bottom:-2px;left:0;right:0;height:2px;background:#9aab66;transform-origin:left;animation:profile-underline 650ms ease-out both;animation-delay:var(--reveal-delay,0ms)}.profile-leaving{animation:profile-shade-out 180ms ease-in both;pointer-events:none}.profile-leaving .profile-book{animation:profile-book-close 180ms ease-in both}
@keyframes profile-book-open{from{opacity:0;transform:perspective(900px) translateY(16px) rotateY(-9deg) rotateZ(-1deg) scale(.97)}to{opacity:1;transform:none}}@keyframes profile-book-close{to{opacity:0;transform:translateY(9px) scale(.98)}}@keyframes profile-shade-in{from{background:#3d342d00}}@keyframes profile-shade-out{to{background:#3d342d00}}@keyframes profile-page-turn{from{opacity:.35;transform:perspective(800px) rotateY(-4deg) translateX(8px)}to{opacity:1;transform:none}}@keyframes profile-ink-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes profile-underline{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes profile-notice-in{from{opacity:0;transform:translateY(-7px) scale(.97)}to{opacity:1;transform:none}}@keyframes profile-entry-mark{0%,100%{transform:none;box-shadow:0 2px 2px #64543620}40%{transform:translateY(-2px);box-shadow:0 0 0 3px #c5ce9966}}
@media(max-width:350px){.profile-layer{padding:24px 10px}.profile-book{padding-left:23px;padding-right:16px}.profile-photo{width:117px}.profile-intro{padding-left:12px}.profile-intro h2{font-size:24px}.profile-portrait{width:32px;height:32px}.profile-label{width:41px}}
@media(max-height:740px){.profile-layer{padding-top:26px;padding-bottom:26px}.profile-photo{height:218px}.profile-photo>div,.profile-photo canvas{height:188px}.profile-hero{padding-top:13px}.profile-intro h2{font-size:24px}.profile-stats{margin-top:9px}.profile-album-stage{height:330px}.profile-entry-row{margin-bottom:1px}.profile-entry-row .profile-entry{min-height:32px}}
@media(prefers-reduced-motion:reduce){.profile-layer,.profile-book,.profile-turn,.profile-discovery.is-new,.profile-discovery.is-new:after,.profile-notice,.profile-notice-line,.profile-entry-pulse{animation:none!important;transform:none}.profile-notice-line,.profile-discovery{opacity:1}.profile-discovery.is-new:after{transform:scaleX(1)}.profile-photo{transform:none}}
/* Sharing keeps the shop visible behind a compact paper window. */
.share-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:18px 12px;background:rgba(41,43,31,.52)}
.share-book{box-sizing:border-box;width:100%;max-width:420px;max-height:calc(100vh - 36px);display:flex;flex-direction:column;padding:16px;background:#f6eedc url('./assets/ui/ivory-paper.jpg') center/cover;color:#493b29;border:4px double #bca57d;border-radius:14px;box-shadow:0 12px 45px rgba(30,24,15,.32);animation:profile-book-open .28s ease-out}
.share-book header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;flex-shrink:0}.share-book h2{margin:0;font: var(--ui-title);}.share-book button,.share-book input,.share-book textarea{font:inherit}.share-book button{cursor:pointer;border:1px solid #c6b38d;border-radius:7px;color:#4e563e;background:#fff9eb;min-height:44px;padding:8px 12px}.share-book button:disabled{opacity:.6;cursor:default}.share-book button:focus,.share-book input:focus,.share-book textarea:focus{outline:2px solid #6d7d51;outline-offset:2px}.share-book header button{border:0;background:transparent;font-size:26px;padding:0;width:44px}.share-scroll{overflow-y:auto;min-height:0;-webkit-overflow-scrolling:touch}.share-poster{display:block;width:auto;height:auto;max-width:100%;max-height:44vh;margin:0 auto 12px;box-shadow:0 3px 10px rgba(62,48,28,.16);-webkit-touch-callout:default}.share-label{display:block;font-size:11px;color:#89785a;margin:7px 0 4px}.share-book input,.share-book textarea{box-sizing:border-box;width:100%;border:1px solid #d1c2a7;background:rgba(255,253,242,.72);border-radius:6px;padding:9px;color:inherit;font-size:13px;line-height:1.6;user-select:text;-webkit-user-select:text}.share-book textarea{resize:vertical;min-height:80px}.share-tools{display:flex;margin-top:12px;flex-shrink:0}.share-tools button{flex:1;font-size:13px}.share-tools button+button{margin-left:10px}.share-book .share-publish{margin-top:9px;flex-shrink:0;background:#566749 url('./assets/ui/green-wood.jpg') center/cover;color:#fff9e8;border-color:#738164;font-weight:600}.share-reward{font-size:12px;text-align:center;color:#765d35;margin:10px 0 0}.share-status{text-align:center;margin:8px 0 0;flex-shrink:0;font: var(--ui-caption);}.share-status:empty{display:none}
@media(max-height:650px){.share-layer{padding:10px}.share-book{max-height:calc(100vh - 20px);padding:10px}.share-poster{max-height:36vh}.share-book header{margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){.share-book{animation:none}}
.share-people{display:flex;flex-wrap:wrap;margin-bottom:6px}.share-people label{display:flex;align-items:center;padding:7px 10px;margin:0 6px 6px 0;border:1px solid #cabb9b;border-radius:6px;background:#fff9eb;font-size:13px;cursor:pointer;min-height:38px;box-sizing:border-box}.share-people input[type=checkbox]{width:17px;height:17px;margin:0 6px 0 0;padding:0;accent-color:#586e47}.share-unavailable{font-size:11px;color:#8f8069;padding:8px 5px;margin-right:4px}.share-empty{padding:24px 10px;text-align:center;font-size:13px;color:#827153}.share-poster[hidden]{display:none}
.profile-photo{height:280px}.profile-photo-pager{display:flex;align-items:center;justify-content:space-between;height:24px;font-size:10px;color:#827153}.profile-photo-pager button{border:0;background:transparent;min-width:28px;min-height:28px;font-size:20px;color:#60734c;padding:0}.profile-photo-pager button:disabled{opacity:.35}.profile-intro .profile-edit-button{display:block;margin-top:6px;padding:4px 0;font-size:11px;min-height:30px}.profile-intro .profile-album-button{display:block;margin-top:2px}
.profile-intro .profile-edit-button,.profile-intro .profile-album-button{color:var(--ui-paper-link);font-weight:600;text-decoration:underline;text-underline-offset:3px}.profile-editor p{color: var(--ui-paper-muted);margin:8px 0;font: var(--ui-caption);}.profile-editor-preview{height:210px;display:flex;justify-content:center;align-items:center;background:#ece5d34d}.profile-editor-preview canvas{height:100%;max-width:100%;object-fit:contain}.profile-editor-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.profile-editor-items button{min-width:0;min-height:94px;border:1px solid #dfd4bd;background:#fff9eb;padding:5px;color:#766b57;font-size:10px}.profile-editor-items button[aria-pressed=true]{border:2px solid #6d7f55;background:#ebefd9;color:#425837}.profile-editor-items canvas{display:block;width:100%;height:62px;object-fit:contain}.profile-editor-items span{display:block;line-height:1.3}.profile-editor-done{display:block;min-height:40px;width:100%;margin:10px 0;background:#596d4b;color:#fff9eb;border:0;border-radius:4px}.share-tools{flex-wrap:wrap}.share-tools button{flex:1 1 30%;margin:0 3px!important;padding:7px 5px;font-size:11px}
.share-victory-intro,.share-tags{margin:4px 0 10px;color:#77634d;font-size:12px;line-height:1.5}.share-tags{color:#5d6e4d;word-break:break-word}
.share-preview-nav{display:flex;align-items:center;justify-content:center;margin:-3px 0 10px}.share-preview-nav[hidden]{display:none}.share-preview-nav span{min-width:120px;text-align:center;font-size:12px;color:#827153}.share-preview-nav button{font-size:22px;padding:0;width:42px;background:transparent;border:0}
.profile-call-button{display:block;margin-top:12px;padding:8px 12px;border:1px solid #9d715b;border-radius:10px;background:#f6e8d9;color:#5d3a30;font:inherit;cursor:pointer}
.profile-call-button:disabled{opacity:.48;cursor:default}
.profile-call-button.is-dialing{opacity:1;cursor:wait}
.profile-call-note{display:block;margin-top:5px;color:#79685e;font: var(--ui-caption);}
/* The fitting area keeps the customer and completion action in view while the wardrobe scrolls. */
.profile-book-editing .profile-people{position:relative;display:flex;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.profile-book-editing .profile-people>button{flex:0 0 48px}
.profile-editor{display:flex;flex:1 1 0;min-height:0;flex-direction:column;overflow:hidden;padding:5px 2px 0}
.profile-editor-heading{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;min-height:48px;border-bottom:1px solid #d9c8a8}
.profile-editor-heading strong,.profile-editor-heading small{display:block}.profile-editor-heading strong{font-size:15px;color:#493b29}.profile-editor-heading small{font-size:10px;color:#94846a;margin-top:2px}
.profile-editor-heading button{flex-shrink:0;color:#526b43;font-size:11px;padding:5px 1px 5px 6px;min-height:36px}
.profile-editor-preview{flex:0 1 235px;min-height:70px;height:auto;margin:6px 0 4px;border:1px solid #dfd2b8;background:#ece5d36e;overflow:hidden}
.profile-editor-preview canvas{display:block;height:100%;width:auto;max-width:100%;object-fit:contain}
.profile-editor-categories{display:flex;flex-shrink:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;border-bottom:1px solid #d9c8a8;-webkit-overflow-scrolling:touch}
.profile-editor-categories[hidden]{display:none}.profile-editor-categories button{flex:0 0 auto;min-height:44px;padding:5px 9px;color:#8c7e68;font-size:11px;border-bottom:2px solid transparent}
.profile-editor-categories button[aria-pressed=true]{color:#4f6841;border-color:#6e8056;background:#e9ecd866;font-weight:600}.profile-editor-categories small{font-size:9px;margin-left:3px;color:#a1947c}
/* The stacked editor reserves one 108px card with its 9px scroll padding at each end. */
.profile-editor-list{flex:1 0 126px;min-height:113px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:9px 1px}
.profile-editor-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}
.profile-editor-items button{position:relative;min-width:0;min-height:95px;border:1px solid #dfd4bd;background:#fff9eb;padding:5px;color:#766b57;font-size:10px}
.profile-editor-items button[aria-pressed=true]{border:2px solid #6d7f55;background:#ebefd9;color:#425837}
.profile-editor-items canvas{display:block;width:100%;height:62px;object-fit:contain}.profile-editor-items span{display:block;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-editor-items b{position:absolute;top:3px;right:3px;background:#637a50;color:#fff9eb;border-radius:3px;padding:2px 3px;font-size:9px;font-weight:500}
.profile-editor-albums{display:flex;flex-direction:column;gap:7px}.profile-editor-albums button{display:flex;align-items:center;min-height:84px;width:100%;padding:5px 9px;border:1px solid #d7c6a8;background:#fff9eb;text-align:left;color:#526643}
.profile-editor-albums canvas{width:52px;height:70px;object-fit:contain;background:#eee7d8;flex-shrink:0}.profile-editor-albums span{display:block;flex:1;min-width:0;padding-left:12px}.profile-editor-albums strong,.profile-editor-albums small{display:block}.profile-editor-albums strong{font-size:12px}.profile-editor-albums small{font-size:10px;color:#95876e;margin-top:5px}.profile-editor-albums b{font-size:20px;font-weight:400}
.profile-editor-footer{flex-shrink:0;padding:8px 0 0;border-top:1px solid #d9c8a8;background:#f6eedc}.profile-editor-done{display:block;min-height:44px;width:100%;margin:0;background:#596d4b;color:#fff9eb;border:0;border-radius:5px;font-size:14px;font-weight:600}
.profile-photo{height:287px}.profile-photo-pager{display:flex;justify-content:center;align-items:center;gap:2px;height:31px}.profile-photo-pager button{flex:1;min-width:0;min-height:28px;padding:2px;font-size:9px;color:#746b57;border-bottom:2px solid transparent;white-space:nowrap}.profile-photo-pager button[aria-pressed=true]{color:#526b43;border-color:#6e8056;font-weight:600}.profile-photo-pager button:disabled{opacity:1}
@media(max-height:680px){.profile-editor-preview{flex-basis:130px}.profile-editor-heading{min-height:42px}.profile-editor-categories button{min-height:38px}.profile-editor-footer{padding-top:5px}.profile-editor-done{min-height:40px}}
/* Short phone windows share one row for the customer and clothes, including safe-area insets. */
@media(max-height:600px){
 .profile-editor{display:grid;grid-template-columns:minmax(70px,1fr) minmax(0,2fr);grid-template-rows:auto auto minmax(0,1fr) auto;grid-column-gap:8px}
 .profile-editor-heading{grid-column:1 / -1;grid-row:1}
 .profile-editor-categories{grid-column:1 / -1;grid-row:2;min-width:0}
 .profile-editor-preview{grid-column:1;grid-row:3;min-width:0}
 .profile-editor-list{grid-column:2;grid-row:3;min-width:0}
 .profile-editor-items{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-editor-footer{grid-column:1 / -1;grid-row:4}
}
/* The photo pager is a sibling of the image stage, so it needs its own height. */
.profile-photo{height:auto}
.profile-photo>.profile-photo-pager{height:31px;background:transparent;flex-shrink:0}
.profile-photo>small{display:none}
.profile-photo-pager button{font-size:10px}
.profile-tabs button{border-bottom:0}.profile-tabs button[aria-selected=true]{border-color:transparent;background:#e9ecd866}
.profile-photo-pager button:disabled{opacity:.35;cursor:default}

/* The add action uses the same portrait frame and notification anchor. */
.profile-add-customer .profile-portrait{display:flex;align-items:center;justify-content:center;color:#63734f}
.profile-add-customer .profile-portrait svg{display:block;flex:none;width:16px;height:16px}
.profile-add-customer.has-available:after{content:""}
.profile-person-name{display:block;min-height:16px;line-height:16px}
.share-book[hidden],.share-picture-controls[hidden]{display:none}
.share-picture{position:fixed;inset:0;background:#f5ecdb;z-index:1}
.share-picture-image{display:block;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:pointer}
.share-picture-image img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.share-picture-controls{position:absolute;left:0;right:0;bottom:0;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:rgba(255,249,235,.94);color:#4e563e;text-align:center;font-size:13px}
.share-picture-controls p{margin:0 0 8px}.share-picture-controls>div{display:flex;align-items:center;justify-content:center;gap:14px}
.share-picture-controls button{min-width:44px;min-height:44px;padding:8px 14px;font:inherit;color:inherit;border:1px solid #c6b38d;border-radius:7px;background:#fff9eb}
.phone .promotion-overlay{background:rgba(29,34,26,.72)}
.phone .quote-modal.promotion-shell{position:relative;border:0;border-radius:0;padding:28px 0 0;background:none;box-shadow:none;overflow:visible}
.promotion-dialog{position:relative;text-align:left}
.promotion-business-card{position:relative;display:flex;aspect-ratio:1.75;width:100%;background:#f8f0dc var(--paper-image) center / cover;border:1px solid #e5d6b7;border-radius:2px;box-shadow:0 2px 0 #d9c9a7,0 4px 0 #f1e6ce,0 16px 26px #20190e55;overflow:hidden}
.promotion-card-portrait-panel{width:30%;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#465a45;color:#e4d4ab;box-shadow:inset -3px 0 #344735,inset -4px 0 #c2b58c}
.promotion-card-identity{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:20px}
.promotion-dialog .promotion-card-identity h2,.promotion-dialog .promotion-card-identity p{padding:0;border:0;text-indent:0;text-align:left;font-family:inherit;letter-spacing:0}
.promotion-dialog .promotion-card-identity h2{margin:0 0 10px;font-size:26px;font-weight:600;line-height:1.45;color:#43513c}
.promotion-dialog-portrait{display:block;position:relative;flex:0 0 56px;width:56px;height:56px;overflow:hidden;border:1px solid #c4b99c;border-radius:50%;background:#e9e3d1}
.promotion-dialog-portrait canvas{display:block;width:156px;height:auto;max-width:none;transform:translate(-52px,-10px);filter:brightness(0);opacity:.55}
.promotion-dialog .promotion-description{margin:0;color:#807159;font: var(--ui-body);}
.promotion-dialog .promotion-age{margin:4px 0 0;color:#807159;font-size:12px;line-height:1.8}
.phone .promotion-dialog button.promotion-close[data-action="cancel"]{position:absolute;right:-6px;top:-48px;width:44px;height:44px;min-height:44px;padding:0;background:none;color:#fff3d9;text-shadow:0 1px 3px #241d13;font:28px/1 Arial,sans-serif}
.promotion-dialog-options{display:flex;flex-direction:column;gap:8px;margin:24px 10px 10px}
.phone .promotion-dialog .promotion-dialog-options>button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:54px;aspect-ratio:449 / 79;padding:10px 32px;line-height:1.4}
.promotion-dialog-options span{font-size:13px}
.promotion-dialog-options strong{font-size:18px;white-space:nowrap}
.promotion-dialog-options>button+button strong{font-size:14px;font-weight:500}
.phone .promotion-dialog-options>button:disabled{opacity:1;filter:saturate(.25) brightness(.8);cursor:default}
.promotion-dialog-footer{display:flex;justify-content:center;align-items:baseline;gap:4px 12px;flex-wrap:wrap;color:#f3e6cd;text-shadow:0 1px 3px #241d13}
.promotion-dialog-footer small{font-size:10px;line-height:1.6}
.promotion-dialog-note{font-size:11px;line-height:1.6}
@media(max-width:350px){.promotion-card-identity{padding:14px}.promotion-dialog .promotion-card-identity h2{font-size:21px}.promotion-dialog .promotion-description{font-size:12px}}
.profile-outfit-meta{padding:6px 0 10px}
.profile-outfit-actions{display:flex;justify-content:center}
.profile-outfit-actions button{display:flex;align-items:center;justify-content:center;min-width:88px;min-height:44px;padding:6px 12px;border:1px solid #cdbfa6;border-radius:6px;color:#786b57;background:#fff9eb;font-size:12px}
.profile-outfit-actions button+button{margin-left:12px}
.profile-outfit-actions svg{width:22px;height:22px;margin-right:6px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.profile-outfit-actions button[aria-pressed=true]{border-color:#a35d58;background:#f3dfd6;color:#914f4c}
.profile-outfit-actions button[aria-pressed=true] svg{fill:currentColor}
.profile-recommend-icon.is-down{transform:rotate(180deg)}
.profile-outfit-actions button:focus{outline:2px solid #6d7f55;outline-offset:2px}
.profile-outfit-invalid{margin:0 0 10px;padding:8px 10px;border:1px dashed #b9a78b;border-radius:4px;color:#786b57;overflow-wrap:break-word;font: var(--ui-caption);}
.profile-outfit-invalid strong{display:block;color:#92524b;font-size:12px;font-weight:500}
.profile-album-layout{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.profile-album-layout>.profile-back{text-align:left;flex-shrink:0}
.profile-album-workspace{display:flex;flex:1;min-height:0;padding:4px 0}
.profile-album-layout .profile-album-stage{flex:1;min-width:0;min-height:0;height:auto;margin:0 8px 0 0;background:#e9e2d126;border-radius:5px;overflow:hidden}
.profile-album-layout .profile-album-stage canvas{width:100%;height:100%;object-fit:contain}
.profile-album-list{width:43%;flex-shrink:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:4px 5px 7px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.profile-album-list .profile-album-card{display:block;width:100%;padding:6px 6px 0;margin:0 0 12px;border:1px solid #d8cdbb;border-radius:1px;background:#fffdf6;box-shadow:1px 3px 5px #493b2926;color:#897a65;text-align:left}
.profile-album-list .profile-album-card[aria-pressed=true]{border-color:#8b5746;box-shadow:0 0 0 2px #ae7860,1px 3px 6px #493b2933}
.profile-album-garments{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:48px 48px;grid-gap:2px;background:#ebe5d9;padding:4px;overflow:hidden}
.profile-album-garments canvas{display:block;width:100%;height:100%;min-width:0;object-fit:contain}
.profile-album-garments [data-album-slot=top]{grid-column:1;grid-row:1}
.profile-album-garments [data-album-slot=bottom]{grid-column:1;grid-row:2}
.profile-album-garments [data-album-slot=outer]{grid-column:2;grid-row:1 / 3}
.profile-album-garments [data-album-slot=dress]{grid-column:1;grid-row:1 / 3}
.profile-album-garments:not(.has-outer) canvas{grid-column:1 / 3}
.profile-album-caption{display:flex;align-items:center;justify-content:space-between;min-height:30px;font-size:10px}
.profile-album-mark{display:flex;align-items:center;color:#92574e}
.profile-album-mark svg{width:16px;height:16px;fill:currentColor;stroke:currentColor;stroke-width:1.3;stroke-linejoin:round}
.profile-album-mark small{margin-left:3px;font-size:9px}
.profile-album-layout .profile-outfit-meta{flex-shrink:0;padding:8px 0 0}
.profile-album-layout .profile-outfit-invalid{max-height:62px;overflow-y:auto;margin-bottom:7px;padding:4px 8px}
.profile-album-layout .profile-outfit-actions button{flex:1;min-width:0}
@media(max-width:350px){.profile-album-list{width:44%;padding-left:4px;padding-right:4px}.profile-album-garments{grid-template-rows:48px 48px;padding:2px}.profile-album-layout .profile-album-stage{margin-right:5px}}
