
/* Shared paperdoll v1.6.240 */
.tor-paperdoll{padding:0;border:2px solid #94723e;border-radius:12px;background:#211d18;color:#eee0c0;width:min(900px,96vw);max-height:92dvh;overflow:auto;box-shadow:0 20px 90px #000b}
.tor-paperdoll::backdrop{background:#0009}
.pd-window{padding:18px;background:radial-gradient(ellipse at 50% 38%,#464034 0,#252019 65%)}
.pd-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #94723e;padding-bottom:10px;margin-bottom:14px}
.pd-header h2{font-family:Georgia,serif;color:#f6d58c;font-size:28px;margin:0}.pd-header p{margin:4px 0 0;color:#cbb996}
.pd-close{font-size:26px;line-height:1;width:38px;height:38px}
.pd-layout{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,1.5fr) minmax(140px,1fr);gap:16px}
.pd-column{display:flex;flex-direction:column;gap:5px}.pd-slot-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#c9b484;margin:0 0 2px}
.pd-slot{display:flex;align-items:center;gap:8px;min-height:42px;width:100%;text-align:left;border:1px solid #77613c;border-radius:5px;padding:4px 7px;background:#171612;color:#eee0c0;font-size:12px;line-height:1.2}
.pd-slot.occupied:hover,.pd-slot.occupied:focus-visible{border-color:#efd088;background:#3e3320;outline:2px solid #aa8645}
.pd-slot img{width:34px;height:34px;object-fit:contain;flex-shrink:0}.pd-fallback,.pd-empty-icon{width:34px;text-align:center;font-size:23px;color:#bda16d;flex-shrink:0}.pd-slot.empty{opacity:.5}
.pd-center{display:flex;flex-direction:column;justify-content:space-between;min-width:0}.pd-avatar{display:flex;align-items:center;justify-content:center;border:1px solid #84704455;border-radius:50% 50% 12px 12px;background:radial-gradient(ellipse,#80745155,transparent 68%);flex:1}
.pd-figure{width:100%;height:380px;max-height:44dvh;min-height:240px}.pd-hands{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.pd-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 15px;padding:12px 0;font-size:13px}.pd-stats b{color:#f1d392}
.pd-details{border-top:1px solid #80683f;border-bottom:1px solid #80683f;padding:12px;margin-top:14px;display:flex;gap:12px;min-height:62px}.pd-details p{margin:4px 0;font-size:13px;color:#ddceb1}.pd-details small{color:#b8a47e}.pd-detail-icon img{width:65px;height:65px;object-fit:contain}
.pd-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:12px}.pd-footer button,.pd-close{background:#4d3d25;color:#f3dfb4;border:1px solid #aa854a;border-radius:5px;padding:8px 12px;cursor:pointer}
.pd-extra{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.pd-extra>.pd-slot-group{flex:1;min-width:140px}
#statusCharacterName[role=button]{cursor:pointer;text-decoration:underline;text-decoration-color:#9c844e;text-underline-offset:4px}#statusCharacterName[role=button]:focus-visible{outline:2px solid #b99a58}
@media(max-width:600px){.pd-window{padding:10px}.pd-layout{grid-template-columns:minmax(85px,1fr) minmax(100px,1.2fr) minmax(85px,1fr);gap:6px}.pd-slot{font-size:10px;gap:3px;padding:3px;min-height:42px}.pd-slot img{width:24px;height:28px}.pd-fallback,.pd-empty-icon{width:22px;font-size:18px}.pd-slot-label{font-size:9px}.pd-figure{min-height:210px;height:300px}.pd-hands{grid-template-columns:1fr}.pd-header h2{font-size:23px}.pd-stats{font-size:11px;gap:5px}.pd-footer{flex-wrap:wrap}.pd-details{min-height:76px}}

.pd-slot-picker{cursor:pointer;opacity:.85!important}.pd-slot-picker:hover{border-color:#efd088;background:#3e3320}.pd-picker{width:100%;display:flex;flex-direction:column;gap:7px}.pd-picker .pd-slot{font-size:13px}.pd-picker small{display:block;margin-top:3px}.pd-picker-error{color:#ffb7a6!important}.pd-slot:disabled{opacity:.5;cursor:wait}

.pd-item-actions{display:flex;gap:8px;margin-top:10px}.pd-item-actions button{background:#4d3d25;color:#f3dfb4;border:1px solid #aa854a;border-radius:5px;padding:8px 12px;cursor:pointer}
