/* Private gifts use the same plum, gold and illustrated arsenal as the lobby. */
.br-inbox-entry{position:relative;color:#ffe6a0!important}
.br-inbox-entry svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.br-inbox-entry #inbox-count{position:absolute;right:-6px;top:-7px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border:2px solid #ffe4a6;border-radius:8px;background:#d83259;color:#fff7df;font:900 11px/1 Inter,system-ui;box-shadow:0 2px 0 #411d31}
.br-inbox-entry.has-mail{border-color:#ffe090!important;box-shadow:0 0 14px #ffc94e55!important}
.br-interface .hud .identity{min-width:0}.br-interface .hud .portrait{flex-shrink:0}.br-interface .hud .identity strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.br-interface .hud .identity b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.br-inbox{width:min(820px,calc(100% - 24px));max-height:94svh;margin:auto;padding:0;overflow:auto;border:2px solid #f1bf7e;border-radius:21px;background:linear-gradient(145deg,#4c293e,#22152c);color:#fff3df;box-shadow:0 0 0 5px #231329,0 24px 80px #0d061fbb;font:16px/1.45 Inter,system-ui,sans-serif}
.br-inbox::backdrop{background:#140b20bd;backdrop-filter:blur(5px)}
.br-inbox[open]{animation:br-inbox-arrive .25s ease-out both}
.br-inbox *{box-sizing:border-box;min-width:0}
.br-inbox button,.br-inbox a{font:inherit;touch-action:manipulation}
.br-inbox button{cursor:pointer}.br-inbox button:disabled{cursor:default;opacity:.65}
.br-inbox button:focus-visible,.br-inbox a:focus-visible{outline:3px solid #fff1a8;outline-offset:3px}
.br-inbox-head{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:46px minmax(0,1fr) 60px;gap:12px;padding:19px 20px 16px;border-bottom:1px solid #cc9665;background:linear-gradient(115deg,#723e45,#342039);box-shadow:0 4px 16px #180b2233}
.br-inbox-head .br-resources{grid-column:1/-1}
.br-inbox-head .br-resource{min-height:55px;padding:8px 10px}
.br-inbox-back{align-self:center;width:44px;height:44px;border:1px solid #f8cc8b;border-radius:12px;background:linear-gradient(#b9774c,#633849);color:#ffe5a8;font-size:36px!important;line-height:1!important;box-shadow:0 3px #241126}
.br-inbox-kicker{display:block;color:#ffcf82;font-size:11px;line-height:1.3;font-weight:900;letter-spacing:.1em}
.br-inbox-title h2{margin:2px 0 0;font-size:29px;font-weight:950;font-style:italic;letter-spacing:-.035em;line-height:1.15}
.br-inbox-mail{display:grid;place-items:center;align-self:center;width:54px;height:47px;border:2px solid #fff0aa;border-radius:12px;background:linear-gradient(135deg,#ffe587,#e5a13c);color:#4c2638;font-size:35px;line-height:1;box-shadow:0 4px #7b4233;transform:rotate(8deg)}
.br-inbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px 0}
.br-inbox-status{margin:0;font-size:13px;color:#e8cbd3}
.br-inbox-refresh,.br-inbox-more{padding:8px 13px;min-height:40px;border:1px solid #b78273;border-radius:9px;background:#4c2b3d;color:#ffe2ac;font-size:13px!important;font-weight:850!important;box-shadow:0 3px #180d23}
.br-inbox-content{padding:16px 20px 23px}
.br-inbox-list{display:grid;gap:14px}
.br-inbox-row{position:relative;display:grid;grid-template-columns:98px minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;padding:13px 16px 13px 8px;border:1px solid #977080;border-radius:13px;background:linear-gradient(120deg,#654138,#38243b);color:#fff0dd;text-align:left;box-shadow:0 4px #1c0f26}
.br-inbox-row.is-unread{border-color:#ffd67b;background:linear-gradient(120deg,#7c4d36,#3c263d);box-shadow:inset 3px 0 #ffd87f,0 4px #1c0f26}
.br-inbox-row:hover:not(:disabled){border-color:#ffdf9d;background:linear-gradient(120deg,#895337,#472c42)}
.br-inbox-row-art{display:grid;place-items:center;width:98px;height:92px;background:radial-gradient(ellipse at center,#ffdb6a26,transparent 70%)}
.br-inbox-row-art img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 2px #1a0e24aa)}
.br-inbox-row-copy{display:flex;flex-direction:column;gap:4px}
.br-inbox-row-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:#d9b4c1}
.br-inbox-row-meta b{font-size:10px;color:#ffe399;letter-spacing:.07em}.br-inbox-row-copy strong{font-size:18px;font-weight:900;line-height:1.25;overflow-wrap:anywhere}.br-inbox-row-copy>span:last-child{font-size:13px;color:#e9cbd5}
.br-inbox-row-open{padding:7px 11px;border:1px solid #ca9c6f;border-radius:7px;background:#2b182dc4;color:#ffdfa0;font-size:12px;font-weight:900;white-space:nowrap}
.br-inbox-more{display:block;margin:18px auto 0}
.br-inbox-feedback{padding:11px 14px;margin:0 0 16px;border:1px solid #e6b17677;border-radius:9px;background:#352034;color:#ffe6ba;font-size:14px;overflow-wrap:anywhere}
.br-inbox-feedback.is-error{border-color:#ef7e86;color:#ffd9dc;background:#61263855}.br-inbox-feedback.is-success{border-color:#9cdbb080;color:#d6f8dd;background:#28463b55}
.br-inbox-empty{padding:29px 16px 42px;text-align:center}.br-inbox-empty-icon{display:grid;place-items:center;width:88px;height:78px;margin:0 auto 22px;border:2px solid #d5ac79;border-radius:21px;background:linear-gradient(140deg,#875138,#35203c);color:#ffe0a3;font-size:52px;box-shadow:0 6px #1e1129;transform:rotate(-6deg)}
.br-inbox-empty h3{margin:0 0 10px;font-size:26px;font-weight:900;font-style:italic;letter-spacing:-.03em}.br-inbox-empty p{max-width:390px;margin:0 auto;color:#dfc2d0;font-size:15px}
.br-inbox-gift{overflow:hidden;border:1px solid #d8a375;border-radius:16px;background:linear-gradient(145deg,#663744,#2b1c35);box-shadow:0 5px #1a0d23}
.br-inbox-gift-art{position:relative;display:grid;place-items:center;min-height:230px;background:radial-gradient(ellipse at 50% 70%,#ffce6055,transparent 57%),linear-gradient(#341a2b88,#2d1630dd),url(hangar-ambar.webp) center/cover;border-bottom:1px solid #d0a16477}
.br-inbox-gift-tank{display:block;width:260px;height:215px;object-fit:contain;filter:drop-shadow(0 12px 4px #140b24bb);animation:br-inbox-tank 5s ease-in-out infinite}
.br-inbox-gift-seal{position:absolute;top:15px;left:16px;padding:5px 10px;border:1px solid #ffedab;border-radius:6px;background:linear-gradient(#ffe08b,#ffc25e);color:#4b2934;font-size:11px;font-weight:950;letter-spacing:.08em;transform:rotate(-4deg);box-shadow:0 3px #753c30}
.br-inbox-gift-copy{padding:23px 25px 25px}.br-inbox-gift-copy h3{margin:5px 0 12px;font-size:40px;line-height:1.05;font-weight:950;font-style:italic;letter-spacing:-.045em}.br-inbox-gift-copy h4{margin:0 0 9px;font-size:18px;font-weight:850;overflow-wrap:anywhere}.br-inbox-message{margin:0 0 16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;color:#ead1d8}
.br-inbox-permanent{display:block;color:#d7edc5;font-size:13px;margin-bottom:20px}
.br-inbox-claim{display:block;width:100%;min-height:50px;padding:10px 18px;border:2px solid #fff0b2;border-radius:10px;background:linear-gradient(#ffe897,#ffbe51);color:#352031;box-shadow:0 4px #995131;font-size:19px!important;font-weight:950!important}
.br-inbox-claim:disabled{border-color:#a48374;background:#4d3545;color:#dcc2cf;box-shadow:0 3px #211327}
.br-inbox-collection{display:block;margin-top:17px;padding:10px;border:1px solid #cc9e72;border-radius:8px;color:#ffdfa0;text-align:center;font-size:14px;font-weight:850}
.br-inbox-hint{font-size:13px;color:#dec2cc;margin:16px 0 0}.br-inbox-date{display:block;margin-top:18px;color:#bd9dad;font-size:11px}
@keyframes br-inbox-arrive{from{opacity:.3;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes br-inbox-tank{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(max-width:600px){.br-inbox{width:calc(100% - 18px);border-radius:17px;max-height:95svh}.br-inbox-head{padding:13px;gap:9px;grid-template-columns:40px minmax(0,1fr) 45px}.br-inbox-back{width:38px;height:40px}.br-inbox-title h2{font-size:25px}.br-inbox-kicker{font-size:9px}.br-inbox-mail{width:42px;height:38px;font-size:28px}.br-inbox-head .br-resources{gap:6px}.br-inbox-head .br-resource{padding:7px;min-height:48px}.br-inbox-toolbar{padding:13px 13px 0}.br-inbox-content{padding:14px 13px 20px}.br-inbox-status{font-size:12px}.br-inbox-row{grid-template-columns:79px minmax(0,1fr);gap:9px;padding:12px 12px 12px 5px}.br-inbox-row-art{width:79px;height:79px;grid-row:1/3}.br-inbox-row-copy strong{font-size:16px}.br-inbox-row-copy>span:last-child{font-size:12px}.br-inbox-row-open{grid-column:2;justify-self:start;font-size:11px;padding:5px 9px}.br-inbox-row-meta{gap:4px;font-size:9px}.br-inbox-gift-art{min-height:200px}.br-inbox-gift-tank{width:230px;height:190px}.br-inbox-gift-copy{padding:20px 17px}.br-inbox-gift-copy h3{font-size:36px}.br-inbox-gift-copy h4{font-size:17px}.br-inbox-gift-copy .br-inbox-kicker{font-size:10px}.br-inbox-claim{font-size:18px!important}}
@media(prefers-reduced-motion:reduce){.br-inbox[open],.br-inbox-gift-tank{animation:none!important}}
.static-motion .br-inbox[open],.static-motion .br-inbox-gift-tank{animation:none!important}
