.rv-pirate-art { object-fit: contain; }
.rv-bag .bag-slot > .rv-pirate-art { width: 74%; height: 64%; align-self: center; justify-self: center; pointer-events: none; }
.rv-bag .bag-art-stage .rv-pirate-art { max-width: 70%; height: 88%; }
.rv-bag .bag-slot[data-type="reward"] { border-color: #aa7a33; }
.rv-bag .bag-pirate-copy { margin: 0; line-height: 1.5; }
.rv-bag .bag-pirate-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.rv-thread-wardrobe .rv-pirate-benefit { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; padding: 1rem 1.25rem; margin: 1rem 0; background: #332915; color: #fff4de; border: 1px solid #ac803c; border-radius: .75rem; }
.rv-thread-wardrobe .rv-pirate-benefit img { width: 4rem; height: 4rem; object-fit: contain; }
.rv-thread-wardrobe .rv-pirate-benefit h2 { margin: 0 0 .25rem; color: #ffda86; font-size: 1.125rem; }
.rv-thread-wardrobe .rv-pirate-benefit p { margin: .2rem 0; color: inherit; }
.rv-pirate-benefit > div:first-of-type { flex: 1 1 14rem; }
.rv-pirate-dialog { box-sizing: border-box; position: fixed; inset: 0; width: min(27rem, 92vw); max-height: 90vh; overflow: auto; margin: auto; padding: 1.5rem; background: #241f19; color: #fcf2df; border: 1px solid #ad884e; border-radius: 1rem; box-shadow: 0 .75rem 3rem #0006; }
.rv-pirate-dialog::backdrop { background: #100c09bc; }
.rv-pirate-dialog h2 { font-size: 1.35rem; margin: .5rem 0; color: #ffda86; }
.rv-pirate-dialog p { color: inherit; margin: .6rem 0; line-height: 1.5; }
.rv-pirate-dialog [role="alert"] { color: #ffd6aa; }
.rv-pirate-dialog img { display: block; width: 4.25rem; height: 4.25rem; }
.rv-pirate-buttons { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.rv-pirate-buttons button,button.rv-pirate-activate { padding: .5rem .9rem; font: inherit; border: 1px solid #948576; border-radius: .45rem; background: #363029; color: #fff3df; cursor:pointer; }
button.rv-pirate-activate,.rv-pirate-buttons button.rv-pirate-activate { background: #f4c36e; color: #281904; border-color: #e6b55e; font-weight: bold; }
.rv-pirate-buttons button:focus-visible,button.rv-pirate-activate:focus-visible { outline: 2px solid #ffd284; outline-offset: 2px; }
.rv-pirate-buttons button:disabled { opacity: .65; }
@media (max-width:480px) { .rv-thread-wardrobe .rv-pirate-benefit { gap:.7rem; } .rv-thread-wardrobe .rv-pirate-benefit img { width:3rem; height:3rem; } }
