/* Character window (C): stat plates on the left, paper doll + weapon sets on the right (Charactersheet.png). */
.cw-cols { display: flex; gap: 8px; }
.cw-stats { width: 146px; flex: none; }
.cw-name { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 12px; border: 1px solid #5b3a18; background: linear-gradient(#6b4a2a, #4b3219); color: #f7ecd2; font-weight: 700; }
.cw-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-name b { color: #ffe44d; }
.cw-block { background: var(--gf-paper-dark); border: 1px solid #a88a58; border-radius: 6px; padding: 3px 4px; margin: 6px 0; }
.cw-stats .gf-row { margin: 2px 0; }
.cw-stats .gf-plate { font-size: 11px; padding: 2px 6px; }
.cw-stats .gf-val { min-width: 58px; font-size: 12px; padding: 2px 4px; }
.cw-detail { margin: 6px 0; max-height: 318px; overflow-y: auto; padding-right: 2px; }
.cw-detail .gf-plate { font-size: 10px; line-height: 1.15; }
.cw-detailbtn { width: 100%; padding: 3px 6px; }
.cw-right { flex: 1; min-width: 0; }
.cw-doll { display: grid; grid-template-columns: repeat(3, 50px); gap: 4px; justify-content: center; padding: 6px; background: radial-gradient(circle at 50% 45%, #efe4c8, var(--gf-paper-dark) 70%); border: 1px solid #a88a58; border-radius: 6px; }
.cw-doll .gf-tile { width: 50px; height: 50px; }
.cw-doll .gf-tile img { width: 42px; height: 42px; }
.cw-sets { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 8px; }
.cw-setrow { display: flex; gap: 6px; }
.cw-set { position: relative; display: flex; align-items: center; justify-content: center; gap: 2px; width: 50px; height: 28px; border-radius: 6px; border: 2px solid #8a6636; background: #d9c9a6; color: #4a2f14; padding: 0; }
.cw-set img { width: 18px; height: 18px; }
.cw-set.on { background: linear-gradient(#bff0b4, #7ed36d); border-color: #2f7a2a; }
.cw-set.over { outline: 2px solid #f6c453; }
.cw-change { padding: 2px 22px; }
.cw-hint { margin-top: 6px; font-size: 11px; text-align: center; min-height: 14px; }
.cw-empty, .sp-empty { text-align: center; padding: 22px 8px; }
.cw-doll .gf-tile.off { filter: grayscale(1); opacity: 0.5; cursor: not-allowed; background: repeating-linear-gradient(45deg, #b9b2a0, #b9b2a0 4px, #a39c8a 4px, #a39c8a 8px); }
.cw-lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; pointer-events: none; }
