/* Support is an ordinary authenticated account action, independent of game grants. */
html[data-bo-theme] body button.boSupportShortcut{display:inline-grid!important;place-items:center;flex:0 0 48px;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;padding:0!important;margin:0;border:1px solid #a6e1ff!important;border-radius:12px;background:#e2f5ff!important;color:#003f72!important;box-shadow:0 0 0 3px #6bdcff22!important}
html body .boSupportShortcut svg{width:24px;height:24px;flex-shrink:0}
html[data-bo-theme] body button.boSupportShortcut:is(:hover,:focus-visible){background:#fff!important;box-shadow:0 0 0 3px #6bdcff66!important}
html body .boSupportShortcut:focus-visible{outline:3px solid #ffe27b;outline-offset:3px}
html[data-bo-theme] body.boNavigationReady #topbar .topActions:has(.boSupportShortcut){display:flex!important;align-items:center;flex:0 0 auto!important;gap:8px;min-width:104px}
html body .boSharedHeader:has(.boSupportShortcut) .boSharedBrand{max-width:calc(100% - 168px)}
html body .boSupportDialog{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#315377);border-radius:18px;background:var(--card,#102944);color:var(--text,#e9f2ff);box-shadow:0 18px 70px #0005;overflow:auto}
html body .boSupportDialog::backdrop{background:#061426b8}
html body .boSupportDialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line,#315377)}
html body .boSupportDialog h2{margin:0;font-size:22px}
html body .boSupportDialog button{min-height:44px;padding:10px 16px;border-radius:10px}
html body .boSupportBody{padding:20px}
html body .boSupportIntro{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 20px;line-height:1.5}
html body .boSupportPerson{display:flex;align-items:center;gap:14px;margin:0 0 24px;min-width:0}
html body .boSupportPortrait{position:relative;display:grid;place-items:center;flex:0 0 72px;width:72px;height:72px;overflow:hidden;border-radius:50%;background:var(--panel2,#133252);color:var(--text,#e9f2ff);font-size:24px;font-weight:700}
html body .boSupportPortrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html body .boSupportPerson>div:last-child{min-width:0}
html body .boSupportPerson h3{margin:0 0 4px;font-size:18px;overflow-wrap:anywhere}
html body .boSupportPerson a{display:block;overflow-wrap:anywhere;padding:5px 0;color:var(--blue,#126bdd)}
html[data-bo-theme=dark] body .boSupportPerson a{color:#85bdff}
html body .boSupportPerson p{margin:4px 0;font-size:14px}
html body .boSupportBody form{display:grid;gap:10px}
html body .boSupportBody label{font-weight:700}
html body .boSupportBody textarea{box-sizing:border-box;display:block;width:100%;min-height:130px;resize:vertical;padding:12px;font:16px/1.5 system-ui;border-radius:10px}
html body .boSupportHint{font-size:13px;line-height:1.5;margin:0 0 4px;color:var(--muted,#aac3df)}
html body .boSupportStatus{margin:0;line-height:1.5;overflow-wrap:anywhere}
html body .boSupportDialog>.boWindowNav{display:none!important}
@media print{html body .boSupportShortcut,html body .boSupportDialog{display:none!important}}
.boSupportShortcut{position:relative}
.boSupportShortcut[data-chat-count]:not([data-chat-count=""])::after{content:attr(data-chat-count);position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;border-radius:16px;background:#ba263f;color:white;font:700 12px/20px system-ui;text-align:center}
.boSupportBody .boChatControls{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.boSupportBody .boChatHistory{max-height:40dvh;overflow:auto;display:grid;gap:8px}
.boChatHistory article{padding:8px 12px;border:1px solid var(--line,#7691ac);border-radius:10px;overflow-wrap:anywhere}
.boChatHistory .boChatAgent{border-inline-start:4px solid #3b91d3}
.boChatHistory p{white-space:pre-wrap;margin:4px 0}
.boChatHistory img{max-width:100%;max-height:220px;border-radius:6px}
.boSupportBody form[hidden]{display:none}
.boSupportBody button.primary{margin-bottom:8px}
