/* Loaded only for the Biblioteca wardrobe. */
.wardrobe { --ink:#382a1b; --green:#264438; --edge:#b7a78c; color:var(--ink); font:14px/1.45 Verdana,Arial,sans-serif; color-scheme:light; }
.wardrobe *, .wardrobe *::before, .wardrobe *::after { box-sizing:border-box; }
.wardrobe [hidden] { display:none!important; }
.wardrobe h1, .wardrobe h2, .wardrobe p { margin:0; }
.wardrobe button, .wardrobe input { font:inherit; }
.wardrobe button { cursor:pointer; }
.wardrobe button:disabled { cursor:default; opacity:.45; }
.wardrobe :focus-visible { outline:3px solid #b86e0e; outline-offset:2px; z-index:1; }
.wd-home { display:none; }
.wd-studio { display:grid; grid-template-columns:minmax(0, .95fr) minmax(0,1.05fr); border:1px solid #948469; background:#f7edda; box-shadow:0 2px 5px #51372225; }
.wd-preview { position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; padding:20px 14px 15px; color:#f7e9cd; background:radial-gradient(ellipse at 50% 57%,#456253 0%,#243f36 33%,#192c28 68%,#13211e 100%); text-align:center; }
.wd-preview::before { content:""; pointer-events:none; position:absolute; inset:6px; border:1px solid #bd9a592f; background:linear-gradient(#bfa064,#bfa064) top left/18px 1px no-repeat,linear-gradient(#bfa064,#bfa064) bottom right/18px 1px no-repeat; }
.wardrobe .wd-look h1 { color:#ffedc4; font:normal 31px/1.12 Georgia,serif; letter-spacing:-.5px; text-shadow:0 2px 1px #101d18; }
.wardrobe .wd-look p { margin:0; color:#dedbc9; font-size:12px; }
.wd-look { z-index:1; width:100%; max-width:310px; }
.wd-selector { display:grid; grid-template-columns:38px minmax(0,1fr) 38px; align-items:center; gap:4px; }
.wd-selector h1, .wd-selector p { overflow-wrap:anywhere; }
.wd-selector button { display:grid; place-items:center; height:38px; border:1px solid transparent; border-radius:3px; color:#f4dfb7; background:transparent; font:25px/1 Georgia,serif; }
.wd-selector button:hover, .wd-selector button:focus-visible { background:#33483e; border-color:#8d815d; }
.wd-stage { --wd-ground:24px; position:relative; width:100%; height:152px; margin:0 auto; display:grid; place-items:center; overflow:hidden; }
.wd-stage::before { content:""; position:absolute; width:135px; height:142px; top:0; background:linear-gradient(165deg,#f4e4ac0e,transparent 70%); clip-path:polygon(34% 0,73% 0,100% 100%,0 100%); }
.wd-platform { position:absolute; left:50%; bottom:var(--wd-ground); transform:translate(-50%,50%); width:108px; height:24px; border-radius:50%; border:1px solid #a99863; background:radial-gradient(ellipse,#73907b 0%,#536d5f 55%,#354c41 58%,#969574 61%,#3c5246 64%,#506556 76%,#a59d75 79%,#425246 82%); box-shadow:0 4px 0 #33483c,0 5px 0 #69775e,0 9px 0 #26382f,0 13px 9px #0006; }
#wd-canvas { position:absolute; left:50%; bottom:var(--wd-ground); transform-origin:left bottom; transform:scale(2) translate(var(--wd-left,-32px),var(--wd-under,0px)); height:64px; width:64px; max-width:none; pointer-events:none; image-rendering:pixelated; filter:drop-shadow(1px 3px 1px #0b171c75); }
.wd-actions { display:flex; justify-content:center; gap:7px; margin-top:7px; }
.wd-actions button { font-size:12px; font-weight:bold; color:#f4e6c8; padding:6px 11px; border:1px solid #738377; background:#233a31; border-radius:3px; }
.wd-actions button:hover, .wd-actions button[aria-pressed=true] { background:#405747; border-color:#b99c64; }
#wd-download { display:grid; place-items:center; min-width:38px; min-height:36px; }
.wd-options { padding:16px 17px; display:grid; align-content:center; gap:14px; }
.wd-options fieldset { min-width:0; margin:0; padding:0; border:0; }
.wd-options legend { margin:0 0 5px; padding:0; font:bold 16px/1.2 Georgia,serif; color:#513e28; }
.wd-models, .wd-addons, #wd-parts { display:flex; gap:5px; flex-wrap:wrap; align-items:center; }
.wd-models label { position:relative; cursor:pointer; }
.wd-models input { position:absolute; opacity:0; }
.wd-models span, #wd-parts button { display:inline-flex; align-items:center; gap:4px; border:1px solid #b4a78d; border-radius:3px; background:#fff8ea; color:#443827; padding:5px 9px; font:12px/1.3 Verdana,sans-serif; }
.wd-models input:checked+span, #wd-parts button[aria-pressed=true] { background:#314d3f; border-color:#314d3f; color:#fff4da; }
.wd-models input:focus-visible+span { outline:3px solid #b86e0e; outline-offset:2px; }
.wd-addons label { display:flex; align-items:center; padding:3px 9px 3px 0; gap:4px; font-size:12px; cursor:pointer; }
.wd-addons input { margin:0; accent-color:#31523f; width:16px; height:16px; }
#wd-parts { gap:3px; margin:2px 0 7px; }
#wd-parts button { font-size:11px; padding:4px 5px; }
#wd-parts i { width:10px; height:10px; border-radius:50%; box-shadow:0 0 0 1px #8e836f; }
#wd-palette { display:grid; grid-template-columns:repeat(19,minmax(0,1fr)); gap:2px; max-width:380px; padding:4px; background:#b1a38b; border:1px solid #a4957c; border-radius:3px; }
#wd-palette button { width:100%; aspect-ratio:1.25; padding:0; min-width:0; border:0; border-radius:1px; position:relative; }
#wd-palette button[aria-pressed=true] { box-shadow:inset 0 0 0 2px white,0 0 0 2px #211c18; z-index:1; }
#wd-palette button:hover { outline:1px solid #18130e; z-index:2; }
#wd-status { margin:8px 0; font-size:12px; }
#wd-status:empty { display:none; }
.wd-catalog { margin-top:19px; border-top:2px solid #9a8057; }
.wd-catalog-header { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 0 10px; }
.wardrobe .wd-catalog-header h2 { color:#4f3922; font:normal 24px/1.2 Georgia,serif; }
#wd-search { width:45%; max-width:265px; border:1px solid #aa997c; background:#fffcf4; color:#322b20; border-radius:3px; padding:7px 9px; font-size:13px; }
.wd-categories { display:flex; border-bottom:1px solid #a38b64; margin-bottom:8px; gap:2px; }
.wd-categories button { font-weight:bold; color:#594a35; padding:7px 11px; background:transparent; border:0; border-bottom:3px solid transparent; }
.wd-categories button[aria-pressed=true] { border-bottom-color:#385444; color:#223d30; }
.wd-categories span { font-size:11px; font-weight:normal; }
#wd-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); gap:5px; }
#wd-grid button { position:relative; display:flex; min-width:0; flex-direction:column; justify-content:flex-start; align-items:center; gap:3px; padding:4px 4px 7px; border:1px solid #c6b79d; background:linear-gradient(#fff9eccc,#ecdfc7bb); color:#4c3a26; font:12px/1.25 Verdana,sans-serif; border-radius:2px; overflow-wrap:anywhere; }
#wd-grid button:hover { border-color:#7d7858; background:#fffaec; }
#wd-grid button[aria-pressed=true] { border-color:#35523f; box-shadow:inset 0 0 0 1px #35523f; background:#e3e7d2; font-weight:bold; }
#wd-grid button[aria-pressed=true]::after { content:"✓"; position:absolute; top:2px; right:5px; color:#35523f; }
.wd-thumb { width:48px; height:48px; display:grid; place-items:center; font-size:25px; color:#867a61; image-rendering:pixelated; }
.wd-empty { grid-column:1/-1; padding:25px 8px; text-align:center; }
.wd-pager { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:6px; margin-top:9px; color:#65553f; font-size:12px; }
.wd-pager button { border:1px solid #b1a184; background:#fdf4e1; color:#4d412e; padding:5px 8px; border-radius:3px; }
@media(min-width:1000px) and (max-width:1199px) {
 #Bodycontainer { width:100%!important; }
}
@media(max-width:999px) {
 #ArtworkHelper, #Bodycontainer { width:100%!important; min-width:0; min-height:100vh; height:auto; }
 #ContentRow { top:0; padding:8px 0; } #ContentColumn { margin:0 auto; max-width:800px; }
 #MenuColumn,#ThemeboxesColumn { display:none; } #ContentHelper > .Box:not(#provador) { display:none; }
 .wardrobe .wd-home { display:inline-block; margin:0 0 8px; font-size:12px; }
}
@media(max-width:610px) {
 .wd-studio { grid-template-columns:1fr; }
 .wd-preview { padding:13px 9px; } .wardrobe .wd-look h1 { font-size:25px; }
 .wd-options { padding:13px; grid-template-columns:1fr 1fr; gap:11px 7px; }
 .wd-options fieldset:last-child { grid-column:1/-1; }
 .wd-models span { padding:5px; } #wd-palette { max-width:none; }
 #wd-palette button { aspect-ratio:1; }
 #wd-grid { grid-template-columns:repeat(auto-fill,minmax(85px,1fr)); }
 .wd-catalog-header h2 { font-size:21px; }
}
