/* Separate, non-cube Captain bonus rewards. */
#captain-chest-inbox{margin:0 0 18px}
#captain-chest-inbox h2{font-size:.93rem;color:var(--green);margin:0 0 11px}
.captain-chest-inbox-list{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.captain-chest-inbox-card{border:1px solid #407359;background:#0b2319;padding:13px;display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.captain-chest-inbox-art{width:57px;height:57px;object-fit:contain;flex:none}
.captain-chest-inbox-details{flex:1 1 210px;min-width:0;display:grid;gap:5px}
.captain-chest-inbox-details strong{font-size:.82rem;color:#d8ffe8}
.captain-chest-inbox-details small{color:#90b5a2;font-size:.67rem}
.captain-chest-reward-summary{display:flex;gap:6px;flex-wrap:wrap}
.captain-chest-reward-summary span{display:inline-flex;align-items:center;gap:4px;background:#153428;border:1px solid #29523d;padding:3px 6px;font-size:.7rem;color:#d9ffe9}
.captain-chest-reward-summary img{width:23px;height:23px;object-fit:contain}
.captain-chest-reward-summary .captain-chest-skin-win{color:#d9f7a6;border-color:#719a32}
.captain-chest-inbox-card>button{white-space:nowrap;flex:none}
.captain-chest-dialog{border:1px solid #4edb82;background:#071d14;color:#d8f8e2;box-shadow:0 25px 80px #000e;width:min(95vw,1010px);max-height:90vh;padding:0;overflow:auto}
.captain-chest-dialog::backdrop{background:#000c}
.captain-chest-header{display:flex;align-items:center;gap:14px;border-bottom:1px solid #28543c;padding:12px 17px;background:#0a2a1c}
.captain-chest-header>img{height:73px;width:73px;object-fit:contain}
.captain-chest-header>div{flex:1;min-width:0}
.captain-chest-header span{font-size:.68rem;color:#93eeb4;letter-spacing:.07em}
.captain-chest-header h2{margin:3px 0;color:#f2ffd6;font-size:1.35rem}
.captain-chest-header small{font-size:.67rem;color:#88b49b}
.captain-chest-header>button{align-self:flex-start;font-size:1.15rem}
.captain-chest-columns{display:grid;grid-template-columns:minmax(230px,1fr) minmax(290px,1.1fr);gap:0}
.captain-chest-columns section{padding:14px 17px;min-width:0}
.captain-chest-players{border-right:1px solid #346348}
.captain-chest-columns h3{font-size:.93rem;color:#75ffa7;margin:0}
.captain-chest-columns section>p{font-size:.69rem;color:#9fc6b0;margin:7px 0 12px}
.captain-chest-person{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.captain-chest-player{display:flex;align-items:center;gap:8px;min-width:0;flex:1;white-space:normal;text-align:left;color:#e3f7e8}
.captain-chest-player.selected{border-color:#44df86;background:#165239}
.captain-chest-check{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:none;border:1px solid #537d63;color:#8dfb9d;font-weight:bold}
.captain-chest-person label{display:grid;gap:3px;font-size:.53rem;letter-spacing:.04em;color:#99c8a5}
.captain-chest-person input{width:73px;height:31px;border:1px solid #436b50;background:#03130c;color:#d3ffde;padding:3px 6px;font-size:.76rem}
.captain-chest-items{display:grid;align-content:start;gap:7px}
.captain-chest-item{display:flex;align-items:center;text-align:left;gap:10px;padding:8px 11px;border:1px solid #355b45;background:#0b291b;color:#dcf7e8;min-height:52px;width:100%}
.captain-chest-item.locked{border-color:#85e589;background:#144d31}
.captain-chest-item:hover{border-color:#9cebaf}
.captain-chest-item>img{width:36px;height:36px;object-fit:contain}
.captain-chest-item>span:nth-child(2){min-width:0;flex:1;display:grid;gap:3px}
.captain-chest-item strong{font-size:.78rem}
.captain-chest-item small{color:#9bc4a4;font-size:.62rem}
.captain-chest-columns .captain-chest-private{border:1px solid #2f7c43;background:#0f3420;padding:10px;line-height:1.5;color:#a6eaba}
.captain-chest-footer{border-top:1px solid #356b4d;padding:14px 17px;background:#09261a}
.captain-chest-gold>strong{font-size:.82rem;color:#f2df80}
.captain-chest-splits{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}
.captain-chest-splits button{padding:7px 11px;font-size:.72rem}
.captain-chest-splits button.active{background:#29de72;color:#04180b}
.captain-chest-totals{display:flex;gap:20px;font-size:.78rem;margin:9px 0}
.captain-chest-totals b{color:#f5df73}
.captain-chest-gold small{color:#a6bcae;font-size:.65rem}
.captain-chest-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}
@media(max-width:690px){.captain-chest-columns{grid-template-columns:1fr}.captain-chest-players{border-right:none;border-bottom:1px solid #346348}.captain-chest-header>img{width:58px;height:58px}.captain-chest-dialog{max-height:95vh}}

#captain-chest-inbox.battle-room-hidden{display:none}

.captain-chest-inbox-owner{display:flex;align-items:center;gap:8px}
.captain-chest-inbox-owner img{height:30px;width:30px;object-fit:cover;border:1px solid #41644c}
