.rpg-pack{--cell:56px;max-width:1000px;margin:auto;padding:12px;background:#201c16;color:#e5cba0;border:4px double #897042;font-family:Georgia,serif}.pack-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;border-bottom:2px solid #625137}.pack-heading .eyebrow{width:100%;margin:0}.pack-heading h1{font-size:24px;margin:4px 0 12px}.pack-tabs,.pack-people{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0}.pack-tabs button{flex:1;min-width:65px}.pack-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px}.paper-person h2{margin:0 0 6px;font-size:19px}.paper-stage{position:relative;width:100%;height:424px;background:#332b20;border:3px ridge #7b6846;isolation:isolate;overflow:hidden}.paper-figure{position:absolute;inset:22px 76px 12px;pointer-events:none;z-index:1}.paper-figure .wardrobe-doll{width:100%;height:100%;margin:0}.paper-figure .wardrobe-base{height:100%;width:100%;object-fit:fill;image-rendering:pixelated}.paper-held{position:absolute;width:40%;height:20%;top:45%;z-index:4;image-rendering:pixelated}.held-left{left:-5%}.held-right{right:-5%}.held-bagSlot{left:-8%;top:47%;width:50%;height:29%}.paper-held.two-hand{width:95%;height:37%;left:5%;top:32%;transform:rotate(-25deg)}.paper-slot{position:absolute;z-index:2;padding:2px!important;width:66px;height:72px;border:2px inset #80663f!important;background:#25231c!important;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0!important;box-shadow:none!important}.paper-slot small{font-size:10px;line-height:13px;overflow:hidden;color:#cbb079}.paper-slot .pack-art{width:52px;height:49px}.paper-slot>span{font-size:26px;color:#746344}.slot-head{top:12px;left:10px}.slot-upper{top:94px;left:10px}.slot-coat{top:176px;left:10px}.slot-left{top:258px;left:10px}.slot-bagSlot{top:340px;left:10px}.slot-accessory{top:12px;right:10px}.slot-lower{top:94px;right:10px}.slot-shoes{top:176px;right:10px}.slot-right{top:258px;right:10px}.pack-art{object-fit:contain;image-rendering:pixelated;max-width:100%;max-height:100%;pointer-events:none}.pack-identity{float:right;width:40px;height:40px;object-fit:cover}.pack-derived{display:flex;justify-content:space-between;padding:12px 2px;border-bottom:2px solid #625137;gap:5px}.pack-derived span{font-size:11px;color:#beaa7c}.pack-derived b{display:block;font-size:24px;color:#f3d89a}.paper-person dl div{display:flex;justify-content:space-between}.paper-person dd{margin:0}.pack-grids{min-width:0}.pack-container{margin:0 0 16px}.pack-container h3{font-size:17px;margin:8px 0 2px}.pack-container header small{display:block;margin-bottom:8px}.slot-grid{display:grid;grid-template-columns:repeat(var(--columns),var(--cell));grid-template-rows:repeat(var(--rows),var(--cell));position:relative;width:max-content;max-width:100%;border:2px solid #756041;background:#181714}.pack-cell{border:1px inset #675338!important;border-radius:0!important;background:#29271e!important;min-width:0!important;min-height:0!important;padding:0!important;box-shadow:none!important}.pack-item{display:flex;flex-direction:column;position:relative;z-index:1;min-width:0!important;min-height:0!important;padding:2px!important;background:#393322!important;border:1px solid #af8a4e!important;border-radius:0!important;overflow:hidden;box-shadow:inset 0 0 0 2px #211c16!important}.pack-item .pack-art{height:calc(var(--cell) - 15px);width:100%}.pack-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;font-size:9px;line-height:10px}.pack-item b{position:absolute;top:1px;right:2px;background:#111c;color:#ffe99d;font-size:12px}.pack-item.selected{outline:2px solid #e6c774;outline-offset:-3px}.rpg-pack .valid-drop{background:#354631!important;outline:1px solid #9aba75;outline-offset:-3px}.pack-selection,.pack-warning{background:#493521;padding:8px;border-left:3px solid #c29b54;font-size:12px}.pack-selection button{min-height:32px;font-size:11px}.pack-note,.pack-feedback{font-size:12px;color:#cbb993;line-height:1.5}.pack-feedback:empty{display:none}.pack-warning{color:#eed4a6}.pack-empty{padding:24px;border:1px dashed #6b624c}.rpg-pack footer{margin-top:15px;display:flex;gap:8px;flex-wrap:wrap}.pack-detail-art{height:120px;margin:auto;text-align:center}.pack-detail-art .pack-art{height:120px;width:160px}.bag-offer{display:flex;gap:12px;margin:12px 0;padding-bottom:12px;border-bottom:1px solid #756041}.bag-offer img{width:74px;height:74px;image-rendering:pixelated}.bag-offer h3{margin:0}.bag-offer p{font-size:12px}.combat-carry{font-size:12px;line-height:1.5;color:#dcc394}
@media(max-width:700px){.rpg-pack{padding:8px;--cell:46px}.pack-layout{display:flex;flex-direction:column;gap:10px}.paper-person{width:100%;max-width:360px;margin:auto}.paper-stage{height:390px}.paper-slot{height:65px;width:60px}.paper-slot .pack-art{height:44px}.slot-upper,.slot-lower{top:87px}.slot-coat,.slot-shoes{top:162px}.slot-left,.slot-right{top:237px}.slot-bagSlot{top:312px}.paper-figure{inset:16px 64px 8px}.pack-grids{width:100%}.slot-grid{--cell:min(46px,calc((100vw - 54px)/var(--columns)))}.pack-tabs{flex-wrap:nowrap}.pack-tabs button{padding:5px!important;font-size:12px;min-width:0}.pack-heading h1{font-size:20px}.rpg-pack[data-pack-section="vehicle"] .paper-person,.rpg-pack[data-pack-section="storage"] .paper-person,.rpg-pack[data-pack-section="ground"] .paper-person{display:none}.pack-derived b{font-size:21px}}

.pack-item.long-item .pack-art{object-fit:cover}.paper-held.two-hand .pack-art{width:100%;height:100%;object-fit:cover}.paper-held.two-hand{height:18%;top:47%;overflow:hidden}.paper-slot:focus-visible,.pack-item:focus-visible,.pack-cell:focus-visible{outline:2px solid #f3d78a;outline-offset:-3px}.pack-people [aria-current],.pack-tabs [aria-current]{background:#695434;border-color:#caaa6b}.pack-grids{overflow-x:auto}

.pack-cell.reserved{background:repeating-linear-gradient(45deg,#342a20 0 5px,#4c3a29 5px 7px);opacity:.65}
.rpg-pack[data-pack-section="chest"] .paper-person{display:none}
.rpg-pack[data-pack-section="chest"] .pack-layout{grid-template-columns:1fr}

/* Long-weapon detail art: the audited central half contains the whole silhouette.
   Enlarge the image horizontally while cropping transparent padding only. */
.pack-detail-art.pack-detail-long .pack-art{width:min(240px,100%);height:120px;max-width:100%;object-fit:cover;object-position:center}
