.costume-gallery{min-width:0}.costume-gallery>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.costume-gallery>header h2{display:flex;align-items:center;gap:8px;margin:0;font-size:14px}.costume-gallery>header h2>span{font-size:11px;color:var(--muted);font-weight:400}.costume-browse{gap:4px;font-size:11px;background:var(--field);border:1px solid var(--line-strong);border-radius:7px;color:var(--text);padding:7px 9px;white-space:nowrap}.costume-browse,.costume-browse-actions{display:flex;align-items:center;flex:none}.costume-browse-actions{gap:7px}.costume-rail-controls{display:flex;gap:4px}.costume-rail-controls button{display:grid;place-items:center;width:26px;height:28px;padding:0;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--text)}.costume-rail-controls button:disabled{opacity:.3;cursor:default}.costume-rail-controls button:not(:disabled):hover{border-color:var(--accent)}.costume-featured{display:flex;gap:8px;max-height:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-gutter:auto;padding:3px 2px 9px}.costume-featured>.costume-card{flex:0 0 76px;width:76px;scroll-snap-align:start}.costume-featured .costume-card-choice>span{font-size:10px;padding:6px}.costume-featured .costume-card-choice small{font-size:9px}.costume-featured .costume-zoom{width:23px;height:23px;right:4px;top:4px}.costume-card{position:relative;min-width:0}.costume-card-choice{display:block;width:100%;border:1px solid var(--line);padding:0;border-radius:10px;background:var(--field);overflow:hidden;text-align:left}.costume-card-choice img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;display:block;background:#252529}.costume-card-choice>span{display:block;padding:7px 8px;font-size:11px;line-height:1.4}.costume-card-choice small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.costume-card-choice:hover{border-color:var(--accent)}.costume-card-choice[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.costume-card-choice:disabled{cursor:not-allowed}.costume-zoom{position:absolute;right:6px;top:6px;width:26px;height:26px;display:grid;place-items:center;background:#101014d9;border:1px solid #ffffff30;border-radius:7px;color:#fff}.costume-check{position:absolute;left:6px;top:6px;background:var(--accent);border-radius:50%;padding:2px;color:var(--on-action)}.costume-selection{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:10px;background:var(--accent-soft)}.costume-selection>button{display:flex;align-items:center;gap:9px;background:transparent;text-align:left;min-width:0}.costume-selection img{width:30px;height:44px;object-fit:contain;border-radius:4px}.costume-selection span{font-size:10px;color:var(--muted)}.costume-selection strong{display:block;color:var(--text);font-weight:500;font-size:12px;margin-top:3px}.costume-selection>button:last-child{padding:8px}.ct-wardrobe-styles{margin-top:12px}.ct-wardrobe-styles>summary{color:var(--muted);font-size:12px;cursor:pointer;padding:4px 0}.ct-wardrobe-styles .ct-outfits{margin-top:8px}.costume-dialog{width:min(1000px,94vw)}.costume-dialog>.dialog-surface{height:min(860px,92dvh);display:flex;flex-direction:column;padding:0;overflow:hidden}.costume-dialog-heading{display:flex;align-items:center;gap:10px;padding:18px 60px 12px 20px;flex:none}.costume-dialog-heading h2{font-size:22px;margin:0;line-height:1.2}.costume-dialog-heading>span{font-size:12px;color:var(--muted)}.costume-search{display:flex;align-items:center;gap:9px;margin:0 20px 12px;border:1px solid var(--line);background:var(--field);border-radius:9px;padding:10px 12px;color:var(--muted);flex:none}.costume-search input{border:0;outline:0;background:transparent;color:var(--text);font-size:13px;width:100%;min-width:0;padding:0}.costume-search:focus-within{border-color:var(--accent)}.costume-search button{display:grid;place-items:center;background:transparent;padding:0}.costume-filters{display:flex;gap:6px;flex-wrap:wrap;padding:0 20px 12px;flex:none;border-bottom:1px solid var(--line)}.costume-filters button{display:flex;gap:5px;align-items:center;background:var(--panel);color:var(--muted);font-size:12px;border:1px solid var(--line);border-radius:20px;padding:7px 10px}.costume-filters small{font-size:10px;opacity:.65}.costume-filters button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-action)}.costume-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 18px;flex:1 1}.costume-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:8px;gap:8px;align-content:start}.costume-state{gap:8px;color:var(--muted);padding:24px}.costume-more,.costume-state{display:flex;align-items:center;justify-content:center;font-size:13px}.costume-more{gap:10px;margin:18px auto 8px;padding:10px 18px;border:1px solid var(--line-strong);border-radius:9px;background:var(--panel)}.costume-more span{font-size:11px;color:var(--muted)}.costume-featured:focus-visible,.costume-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media(max-width:900px){.costume-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.costume-gallery>header{align-items:flex-start}.costume-gallery>header h2{font-size:13px;flex-wrap:wrap;gap:4px}.costume-browse{font-size:10px;text-align:right;justify-content:flex-end;padding:7px}.costume-featured{gap:7px}.costume-rail-controls{display:none}.costume-dialog{width:96vw;max-width:calc(100vw - 16px)}.costume-dialog>.dialog-surface{height:94dvh;max-height:calc(100dvh - 24px)}.costume-dialog-heading{padding:17px 52px 12px 14px}.costume-dialog-heading h2{font-size:19px}.costume-search{margin:0 12px 10px}.costume-filters{padding:0 12px 10px;gap:5px}.costume-filters button{font-size:11px;padding:7px 9px}.costume-filters small{display:none}.costume-scroll{padding:10px}.costume-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.costume-card-choice>span{padding:6px;font-size:10px}.costume-card-choice small{font-size:9px}.costume-zoom{right:4px;top:4px;width:24px;height:24px}.costume-selection strong{font-size:11px}}.ct-clothes-form .costume-gallery>header h2{font-size:13px;line-height:1.4;margin:0}.ct-clothes-form .costume-gallery>header{margin-bottom:10px}.costume-browse:focus-visible,.costume-card-choice:focus-visible,.costume-rail-controls button:focus-visible,.costume-zoom:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.ct-clothes-inputs .costume-gallery>header{flex-wrap:wrap;gap:8px}.ct-clothes-inputs .costume-browse-actions{margin-left:auto}.ct-clothes-inputs .costume-selection{margin-top:6px;padding:4px 0 0;border:0;border-radius:0;background:transparent}.ct-clothes-inputs .costume-selection>button:first-child{padding:0}.ct-clothes-inputs .costume-selection>button:last-child{padding:5px}.ct-clothes-inputs .costume-selection span{font-size:10px;line-height:1.5}.ct-clothes-inputs .costume-selection strong{display:inline;font-size:10px;font-weight:500;margin-left:6px;line-height:1.5}.ct-clothes-inputs .ct-wardrobe-styles{margin-top:8px}.ct-clothes-inputs .ct-wardrobe-styles>summary{font-size:11px;padding:3px 0}