#playerInboxButton{position:relative;display:inline-grid;place-items:center;min-width:42px;min-height:40px;padding:7px 12px}
#playerInboxButton svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
#playerInboxButton span:not([hidden]){position:absolute;top:-3px;right:-3px;display:grid;place-items:center;width:17px;height:17px;background:#ffcf6c;color:#132b42;border-radius:50%}
#playerInboxButton span svg{width:13px;height:13px;stroke-width:2}
#playerInbox{box-sizing:border-box;width:min(460px,94vw);max-height:80vh;padding:20px;color:#f3f7ff;background:#10283d;border:1px solid #426783;border-radius:16px;font:inherit}
#playerInbox::backdrop{background:#081426bb}
#playerInbox header{display:flex;align-items:center;justify-content:space-between}
#playerInbox h2,#playerInbox h3{color:#ffcf6c;margin:.4em 0}
#playerInbox button{font:inherit;color:inherit;background:#193950;border:1px solid #476b84;border-radius:8px;cursor:pointer;padding:8px 12px}
#playerInbox .mail-row{display:grid;gap:4px;text-align:left;width:100%;margin-top:8px}
#playerInbox small{color:#bdd4e7}
#playerInbox p{line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
#playerInbox button:focus-visible{outline:2px solid #ffcf6c}
