body.mivo-dress-body{
  --dc-surface:var(--main-bg-color,#fff);
  --dc-subtle:var(--muted-bg-2-color,#f6f7f8);
  --dc-inset:var(--body-bg-color,#f5f6f7);
  --dc-ink:var(--key-color,#333);
  --dc-muted:var(--muted-color,#777);
  --dc-line:var(--main-border-color,#eeedf0);
  --dc-vip:#94601a;
  --dc-user-bubble:#f5e0eb;
  margin:0;padding:0;background:var(--dc-surface);color:var(--dc-ink);
}
body.mivo-dress-body.dark-theme{--dc-vip:#efbc76;--dc-user-bubble:#56374a}
body.mivo-dress-body.mivo-dress-shell{padding-top:0}
body.mivo-dress-shell > :is(header.header, footer.footer, .footer-tabbar, .footer-tabbar-placeholder, .float-right, .mobile-header){display:none}
body.dc-open{overflow:hidden}
#mivo-dress{--dc-accent:var(--focus-color,#c64a83);--meo-text:var(--dc-ink);--meo-bg:var(--dc-surface);min-height:100vh;background:var(--dc-surface);color:var(--dc-ink);font:400 15px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
#mivo-dress *{box-sizing:border-box}
#mivo-dress [hidden]{display:none!important}
#mivo-dress button,#mivo-dress input{font:inherit}
#mivo-dress button{appearance:none;border:0;background:transparent;color:inherit;cursor:pointer;padding:0}
#mivo-dress a{color:inherit;text-decoration:none}
#mivo-dress :focus-visible{outline:2px solid var(--main-color, #565b63);outline-offset:2px}
.dc-container,.dc-bar{width:min(100%,1140px);margin:auto;padding-inline:clamp(14px,3vw,38px)}
.dc-header{position:sticky;top:var(--mivo-install-bar-height,0px);z-index:3;background:var(--dc-surface);padding-top:var(--mivo-cutout-top, env(safe-area-inset-top,0px));padding-left:var(--mivo-cutout-left,0px);padding-right:var(--mivo-cutout-right,0px);border-bottom:1px solid var(--dc-line)}
.dc-bar{position:relative;display:flex;align-items:center;justify-content:space-between;height:60px}
#mivo-dress .dc-bar h1{position:absolute;left:50%;transform:translateX(-50%);margin:0;font-size:20px;font-weight:650;letter-spacing:.04em;color:inherit}
.dc-actions{display:flex;align-items:center}
#mivo-dress .dc-actions button,#dc-back{display:grid;place-items:center;width:42px;height:44px;font-size:20px}
#dc-back{justify-content:start;font-size:30px}
#dc-mine[aria-pressed=true]{color:var(--dc-accent)}
.dc-tabs{display:flex;gap:26px}
#mivo-dress .dc-tabs button{position:relative;padding:9px 0 14px;font-weight:600;font-size:16px;color:var(--dc-muted)}
#mivo-dress .dc-tabs [aria-pressed=true]{color:var(--dc-ink)}
.dc-tabs [aria-pressed=true]::after{content:"";position:absolute;bottom:-1px;left:18%;right:18%;height:3px;border-radius:3px;background:var(--dc-accent)}
#dc-query,.dc-role-search{display:block;width:100%;padding:10px 14px;background:var(--dc-subtle);color:var(--dc-ink);border:1px solid var(--dc-line);border-radius:12px;margin:3px 0 10px}
.dc-content{border-left:var(--mivo-cutout-left,0px) solid transparent;border-right:var(--mivo-cutout-right,0px) solid transparent;padding-top:20px;padding-bottom:calc(36px + var(--mivo-cutout-bottom, env(safe-area-inset-bottom,0px)))}
#dc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
@media(min-width:370px){#dc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:660px){#dc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px}}
@media(min-width:960px){#dc-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 20px}.dc-content{padding-top:26px}}
#dc-grid .dc-card{min-width:0;display:flex;align-items:stretch;flex-direction:column;text-align:start;border-radius:14px}
.dc-art{display:grid;place-items:center;aspect-ratio:1.13;background:var(--dc-subtle);border:1px solid var(--dc-line);border-radius:15px;overflow:hidden}
#mivo-dress .dc-card:focus-visible{outline:0}
.dc-card:focus-visible .dc-name{text-decoration:underline;text-underline-offset:3px}
.dc-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:9px 1px 2px;font-size:15px;color:var(--dc-ink);line-height:1.45}
.dc-meta{display:flex;flex-wrap:wrap;gap:1px 7px;color:var(--main-color,var(--dc-ink));font-size:12px;line-height:1.6}
.dc-vip{color:var(--dc-vip)}
.dc-more,#dc-custom{display:block;margin:24px auto 0}
#mivo-dress .dc-more,#mivo-dress #dc-custom{border:1px solid var(--dc-line);border-radius:12px;padding:9px 18px}
#mivo-dress #dc-custom{margin:0 0 16px auto}
#dc-empty,.dc-muted{text-align:center;color:var(--dc-muted);padding:28px 4px}
#mivo-dress .meo-message{display:inline-flex;align-items:center;min-width:0;margin:0;max-width:100%}
.dc-art .meo-message-text,.dc-chat .meo-message-text{display:inline-block;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.5;padding:8px 13px}
.dc-chat .meo-message-text:not([data-mb-mode]){border-radius:12px;background:var(--dc-surface)}
#mivo-dress .meo-message--user .meo-message-text:not([data-mb-mode]){background:var(--dc-user-bubble)}
.dc-art .meo-message{max-width:90%!important}
.dc-art .meo-message-text{white-space:nowrap!important}
.dc-portrait{display:inline-grid;place-items:center;position:relative;flex:none;width:36px;height:36px;isolation:isolate}
.dc-portrait .dc-face{display:grid;place-items:center;width:100%;height:100%;border-radius:var(--mivo-face-radius,50%);object-fit:cover;background:var(--muted-bg-color,#eee);color:var(--dc-ink);line-height:1;font-size:14px}
.dc-art .dc-portrait{width:42%;height:auto;aspect-ratio:1}
.dc-art .dc-portrait .dc-face{font-size:clamp(17px,3vw,25px)}
#dc-overlay{position:fixed;inset:0;z-index:1000000;padding:var(--mivo-cutout-top,0px) var(--mivo-cutout-right,0px) 0 var(--mivo-cutout-left,0px);display:flex;align-items:flex-end;justify-content:center;background:rgba(28,23,34,.42)}
#dc-sheet{margin:0;width:100%;max-width:560px;min-height:min(46vh,370px);max-height:min(86vh,100%);max-height:min(86dvh,100%);display:flex;flex-direction:column;overflow:hidden;background:var(--dc-surface);border-radius:22px 22px 0 0;padding:8px 18px calc(18px + var(--mivo-cutout-bottom, env(safe-area-inset-bottom,0px)));box-shadow:0 -5px 30px #22162515}
.dc-grip{height:4px;width:32px;flex:none;background:var(--muted-4-color,#d2d2d2);border-radius:4px;margin:0 auto 8px}
#dc-sheet>header{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;flex:none;margin-bottom:12px}
#dc-sheet h2{grid-column:2;grid-row:1;text-align:center;margin:0;color:inherit;font-size:17px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
#dc-sheet>header button{grid-row:1;width:36px;height:36px;border-radius:50%;font:24px/1 Arial,sans-serif;color:var(--dc-muted)}
#dc-sheet [data-sheet-back]{grid-column:1}
#dc-sheet [data-close]{grid-column:3}
#dc-sheet-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}
.dc-preview{display:grid;align-content:center;gap:24px;padding:22px 16px;border-radius:15px;background:var(--dc-inset);min-height:155px}
.dc-chat{display:flex;align-items:center;gap:13px}
.dc-chat-user{flex-direction:row-reverse}
#dc-cta{display:flex;flex:none;gap:9px;padding-top:14px}
#mivo-dress .dc-main,#mivo-dress .dc-secondary{display:inline-flex;justify-content:center;align-items:center;padding:11px 18px;border-radius:12px;font-weight:600;text-align:center}
#mivo-dress .dc-main{background:var(--dc-accent);color:#fff;flex:1}
#mivo-dress .dc-secondary{flex:1;background:var(--dc-subtle);color:var(--dc-ink)}
#dc-sheet[aria-busy=true] #dc-sheet-content,#dc-sheet[aria-busy=true] #dc-cta{pointer-events:none;opacity:.65}
#mivo-dress .dc-choice{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;text-align:start;border-bottom:1px solid var(--dc-line);padding:8px 6px}
.dc-choice small{margin-inline-start:auto;color:var(--dc-muted)}
.dc-choice i{color:var(--dc-muted)}
#dc-sheet-content.dc-role-picker{display:flex;flex-direction:column;overflow:hidden}
.dc-role-picker>.dc-role-search{flex:none}
.dc-role-picker>.dc-roles{min-height:0;overflow-y:auto;overscroll-behavior:contain}
#dc-notice:not(:empty){position:fixed;z-index:1000010;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;max-width:85vw;border-radius:12px;padding:12px 18px;text-align:center;background:#29252e;color:#fff}
@media(max-width:640px){#dc-sheet{max-width:none}.dc-bar{height:52px}.dc-content{padding-top:14px}.dc-art{border-radius:12px}.dc-name{font-size:14px}.dc-meta{gap:1px 4px}}
@media(min-width:769px){#dc-overlay{align-items:center}#dc-sheet{border-radius:20px;padding:12px 24px 22px}.dc-grip{visibility:hidden}}
@media(max-width:390px){#dc-grid{column-gap:9px}.dc-art .meo-message{transform:scale(.86)}}
@media(prefers-reduced-motion:no-preference){#dc-sheet{animation:dc-enter .16s ease-out}@keyframes dc-enter{from{opacity:.6;transform:translateY(14px)}to{opacity:1;transform:none}}}

#mivo-dress .dc-actions #dc-search-entry {display:grid;place-items:center;width:42px;height:44px;font-size:20px}
#dc-search-form {display:flex;align-items:center;gap:12px;flex:1;min-width:0;margin:0}
.dc-search-field {display:flex;align-items:center;gap:9px;flex:1;min-width:0;margin:0;padding-inline:13px;color:var(--dc-muted);background:var(--dc-subtle);border:1px solid var(--dc-line);border-radius:22px}
#mivo-dress .dc-search-field #dc-query {appearance:none;flex:1;min-width:0;margin:0;padding:8px 0;border:0;background:transparent;color:var(--dc-ink);font-size:16px;line-height:20px}
#mivo-dress #dc-search-form button {min-height:44px;font-weight:600;color:var(--dc-accent)}
.dc-discovery {padding-top:22px;padding-bottom:calc(24px + var(--mivo-cutout-bottom, env(safe-area-inset-bottom,0px)));border-inline:solid transparent;border-left-width:var(--mivo-cutout-left,0px);border-right-width:var(--mivo-cutout-right,0px)}
.dc-discovery section + section {margin-top:28px}
.dc-section-head {display:flex;align-items:center;justify-content:space-between;min-height:36px;gap:12px}
#mivo-dress .dc-section-head h2 {margin:0;color:var(--dc-ink);font-size:17px;line-height:1.5;font-weight:650}
.dc-section-head small,.dc-search-note {color:var(--dc-muted);font-size:13px}
.dc-search-note {margin:10px 0 4px}
#mivo-dress #dc-history-clear {width:42px;min-height:40px;color:var(--dc-muted)}
#dc-history {display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
#mivo-dress .dc-chip {max-width:100%;overflow-wrap:anywhere;border-radius:18px;background:var(--dc-subtle);padding:6px 14px;color:var(--dc-ink);line-height:1.55}
#dc-trends {list-style:none;padding:0;margin:4px 0 0}
#dc-trends li {list-style:none;margin:0;padding:0}
#mivo-dress .dc-rank-row {display:flex;align-items:center;gap:12px;min-height:46px;width:100%;text-align:start;border-bottom:1px solid var(--dc-line)}
.dc-rank {min-width:20px;font-weight:700;font-variant-numeric:tabular-nums;text-align:center;color:var(--dc-muted)}
#dc-trends li:nth-child(1) .dc-rank {color:#df446a}
#dc-trends li:nth-child(2) .dc-rank {color:#ce692e}
#dc-trends li:nth-child(3) .dc-rank {color:#a47923}
.dc-rank-term {min-width:0;overflow-wrap:anywhere}
.dc-trend-badge {display:inline-block;flex:none;border-radius:5px;padding:2px 5px;font:700 10px/1.2 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:.04em}
.dc-hot {color:#a73543;background:#ffe8e7}
.dc-new {color:#296953;background:#e0f5ed}
.dark-theme .dc-hot {color:#ffaab5;background:#543039}
.dark-theme .dc-new {color:#8edbb7;background:#264638}
.dark-theme #dc-trends li:nth-child(1) .dc-rank {color:#ff879f}
.dark-theme #dc-trends li:nth-child(2) .dc-rank {color:#f5a375}
.dark-theme #dc-trends li:nth-child(3) .dc-rank {color:#e3bd75}
@media(prefers-reduced-motion:no-preference){.dc-trend-badge{animation:dc-search-badge 2.8s ease-in-out infinite}@keyframes dc-search-badge{50%{transform:translateY(-1px);opacity:.82}}}
@media(min-width:769px){.dc-discovery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(32px,6vw,96px)}.dc-discovery section + section{margin-top:0}}

#mivo-dress .dc-art > .dc-library-art{width:78%;height:78%;object-fit:contain}
#mivo-dress .dc-pack-samples{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:12px}
#mivo-dress .dc-pack-samples img{width:100%;aspect-ratio:1;object-fit:contain}
#mivo-dress #dc-sheet-content > .dc-library-art{display:block;width:min(100%,360px);margin:20px auto}

/* Keep scrolling available without visible tracks in the dress center. */
html:has(#mivo-dress),.mivo-dress-body,#mivo-dress *{scrollbar-width:none}
html:has(#mivo-dress)::-webkit-scrollbar,.mivo-dress-body::-webkit-scrollbar,#mivo-dress *::-webkit-scrollbar{width:0;height:0;display:none}
