/* Cosmetic Gear window styles (moved out of index.html) */
#cosmetics { position: relative; align-self: flex-end; width: 352px; height: 352px; padding: 8px 12px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; }
#cosmetics .dummy { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.cos-picks { position: relative; z-index: 1; width: 100%; margin-top: -10px; display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: center; text-align: left; font-size: 13px; }
.cos-picks label { color: #ffd93d; }
.cos-picks select { min-width: 0; padding: 3px; font-size: 12px; background: #333; color: #fff; border: 1px solid #555; border-radius: 3px; }
#cosmetics .dummy svg { display: block; height: 100%; width: auto; max-width: 100%; overflow: visible; } /* overflow visible: big weapons (the runic blade) reach past the dummy's edge */

/* The pick buttons (they open the list) */
.cos-pick-btn { min-width: 0; padding: 3px 6px; font-size: 12px; text-align: left; background: #333; color: #fff; border: 1px solid #555; border-radius: 3px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cos-pick-btn::after { content: '\25BE'; float: right; margin-left: 6px; color: #aaa; }
.cos-pick-btn:hover, .cos-pick-btn.open { border-color: #ffd93d; }
/* The list: one box inside the window, above the pick buttons. It scrolls by itself and never scrolls the page behind it. */
.cos-menu { position: absolute; left: 8px; right: 8px; top: 8px; bottom: 100px; z-index: 5; display: flex; flex-direction: column; background: #222; border: 1px solid #666; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.6); text-align: left; font-size: 13px; }
.cos-menu[hidden] { display: none; }
.cos-menu-head { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-bottom: 1px solid #444; color: #ffd93d; flex: none; }
.cos-menu-title { font-weight: bold; }
.cos-menu-hint { flex: 1; color: #888; font-size: 11px; }
.cos-menu-close { background: none; border: none; color: #aaa; font-size: 13px; cursor: pointer; padding: 0 2px; }
.cos-menu-close:hover { color: #fff; }
.cos-menu-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.cos-row { display: flex; align-items: center; gap: 6px; padding: 4px 8px; color: #fff; cursor: pointer; }
.cos-row:hover { background: #3a3a3a; }
.cos-row.on { background: #4a4224; }
.cos-row.locked { color: #777; cursor: default; }
.cos-row.locked:hover { background: none; }
.cos-star { width: 16px; flex: none; text-align: center; color: #777; font-size: 15px; line-height: 1; }
.cos-star:hover { color: #ffd93d; }
.cos-star.fav { color: #ffd93d; }
.cos-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
