header .support-navigation{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;margin-left:auto}
header .support-hexparty{order:-1;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:9px 13px;border:1px solid #718952;border-radius:6px;background:#26372a;color:#d4eca9;font:650 13px/1.4 system-ui,sans-serif;cursor:pointer}
header .support-hexparty:hover{background:#354c35;border-color:#c8e896}
.support-hexparty:focus-visible,#support-dialog :focus-visible{outline:2px solid #c8e896;outline-offset:3px}
#support-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-width:480px;max-height:calc(100dvh - 32px);margin:auto;padding:34px;border:1px solid #526b72;border-radius:15px;background:#17292f;color:#ebf0ec;box-shadow:0 24px 80px #0009;text-align:center;font:16px/1.6 system-ui,sans-serif;overflow:auto}
#support-dialog::backdrop{background:rgb(3 10 14 / 80%)}
#support-dialog .support-close{position:absolute;right:12px;top:10px;width:32px;height:32px;border:0;border-radius:5px;padding:0;background:transparent;color:#b7c9cd;font:25px/1 system-ui,sans-serif;cursor:pointer}
#support-dialog .support-close:hover{background:#30464e}
#support-dialog .support-heart{display:block;color:#c8e896;font-size:42px;line-height:1.2;margin:4px 0 14px}
#support-dialog h2{font:750 27px/1.2 system-ui,sans-serif;margin:0 0 18px;color:#ebf0ec}
#support-dialog p{margin:0 0 22px;color:#cbdadc;font-size:15px;line-height:1.65}
#support-dialog .support-paypal{display:block;box-sizing:border-box;width:100%;padding:12px 16px;border:1px solid #c8e896;border-radius:7px;background:#c8e896;color:#172217;text-decoration:none;font:700 16px/1.4 system-ui,sans-serif}
#support-dialog .support-paypal:disabled{opacity:.45;cursor:default}
#support-dialog .support-note{font-size:12px;line-height:1.5;color:#a8bdc1;margin:12px 0 0}
@media(max-width:650px){header:has(.support-hexparty){flex-wrap:wrap;height:auto}header .support-navigation,header nav:has(.support-hexparty),header .header-right:has(.support-hexparty){flex-wrap:wrap;gap:10px}header .support-hexparty{font-size:12px;padding:8px 10px}#support-dialog{padding:30px 24px}}

header a.account-navigation{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;box-sizing:border-box;border:1px solid #60756b;border-radius:5px;padding:7px 16px;color:#e2ecdc;text-decoration:none;line-height:1.2;white-space:nowrap}
header a.account-navigation:hover{background:#cbe99712;border-color:#cbe997}
header a.account-navigation .account-badge{display:block;flex:none;width:24px;height:24px;margin:0;vertical-align:middle}
.friends-navigation{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:40px;box-sizing:border-box;padding:7px 4px;color:#e2ecdc;text-decoration:none;font:600 14px/1.2 system-ui,sans-serif;white-space:nowrap}
.friends-navigation:hover,.friends-navigation[aria-current=page]{color:#cbe997}
.friends-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;box-sizing:border-box;border-radius:10px;background:#cbe997;color:#172217;font:750 11px/1 system-ui,sans-serif}
.friends-pill{position:relative;display:inline-flex;align-items:stretch;border:1px solid #60756b;border-radius:6px}
.friends-pill:hover,.friends-pill:focus-within{border-color:#cbe997}
.friends-pill a.account-navigation{border:0;border-radius:0 5px 5px 0;border-left:1px solid #60756b}
.friends-pill a.account-navigation:hover{border-color:#60756b}
.friends-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px;box-sizing:border-box;padding:7px 13px;border:0;border-radius:5px 0 0 5px;background:transparent;color:#e2ecdc;font:600 14px/1.2 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.friends-toggle:hover,.friends-toggle[aria-expanded=true]{background:#cbe99712;color:#cbe997}
.friends-toggle:focus-visible,.friends-panel :focus-visible{outline:2px solid #c8e896;outline-offset:-2px}
.fp-dot{display:inline-block;flex:none;width:9px;height:9px;border-radius:50%;background:#56666b;box-shadow:inset 0 0 0 1px #7b8d92}
.fp-dot.is-online{background:#8fd46b;box-shadow:0 0 0 3px #8fd46b2e}
.friends-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:60;box-sizing:border-box;width:350px;max-height:min(620px,calc(100dvh - 90px));overflow:auto;padding:6px 0 10px;border:1px solid #526b72;border-radius:12px;background:#17292f;color:#ebf0ec;box-shadow:0 18px 50px #0009;font:14px/1.4 system-ui,sans-serif;text-align:left}
.friends-panel[hidden]{display:none}
.friends-panel .fp-head{margin:0;padding:10px 14px 4px;font:650 11px/1.3 system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#93a9ad}
.fp-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 14px}
.fp-left{display:flex;flex-direction:column;min-width:0}
.fp-who{display:inline-flex;align-items:center;gap:8px;min-width:0}
.fp-who .account-badge{width:18px;height:18px}
.fp-name{color:#e5eeeb;font-weight:650;text-decoration:none;overflow-wrap:anywhere}
.fp-name:hover{text-decoration:underline}
.fp-note{font-size:12px;color:#a6babc}
.fp-actions{display:flex;gap:6px;flex:none}
.friends-panel button,.friends-panel a.fp-invite{font:650 12px/1.3 system-ui,sans-serif;padding:5px 10px;border-radius:6px;border:1px solid #496168;background:transparent;color:#c6d5d5;cursor:pointer;text-decoration:none}
.friends-panel button:hover,.friends-panel a.fp-invite:hover{border-color:#cbe997;color:#cbe997}
.friends-panel button:disabled{opacity:.5;cursor:default}
.friends-panel .fp-go,.friends-panel a.fp-invite{background:#c8e896;border-color:#c8e896;color:#172217}
.friends-panel .fp-go:hover,.friends-panel a.fp-invite:hover{background:#d8f2ae;color:#172217}
.fp-friends{max-height:220px;overflow:auto}
.fp-empty{margin:0;padding:4px 14px 8px;color:#a6babc;font-size:13px}
.fp-add{display:flex;gap:6px;padding:4px 14px}
.fp-add input{flex:1;min-width:0;box-sizing:border-box;padding:6px 9px;border:1px solid #496168;border-radius:6px;background:#10202a;color:#ebf0ec;font:13px system-ui,sans-serif}
.fp-message{margin:0;padding:4px 14px 0;min-height:0;font-size:12px;color:#ddc58f}
.fp-message:empty{display:none}
.fp-foot{display:block;margin:10px 14px 0;padding-top:10px;border-top:1px solid #30464b;color:#c8e896;font-size:13px;text-decoration:none}
.fp-foot:hover{text-decoration:underline}
@media(max-width:650px){.friends-pill{position:static}.friends-panel{position:fixed;left:8px;right:8px;top:64px;width:auto}}

.header-community-links{display:flex;align-items:stretch;gap:8px;order:-1}
.battlefield-page header .header-right{gap:8px}
header .header-discord-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38.2px;width:38.2px;min-height:38.2px;padding:5px;box-sizing:border-box;border:1px solid #496168;border-radius:7px;background:#1b2b30;color:#dce9ec;text-decoration:none}
.header-discord-button svg{width:26px;height:26px;display:block}
header .header-discord-button:hover{background:#31454a;color:#fff}
.header-discord-button:focus-visible{outline:2px solid #c8e896;outline-offset:3px}
header .support-hexparty.support-icon-button{flex:0 0 38.2px;width:38.2px;min-height:38.2px;padding:6px;box-sizing:border-box;border-radius:7px;border-color:#496168;background:#1b2b30;color:#b4ce91}
header .support-hexparty.support-icon-button:hover{background:#26372a;border-color:#718952;color:#d4eca9}
.support-icon-button svg{display:block;width:24px;height:24px}
#support-dialog{width:min(600px,calc(100vw - 32px));max-width:600px;padding:30px 30px 14px;text-align:left}
#support-dialog .support-heading{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 20px 22px}
#support-dialog .support-heading svg{flex:none;color:#c8e896}
#support-dialog .support-heading h2{margin:0;font-size:25px}
#support-dialog .support-story{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:22px;align-items:center;text-align:left;margin-bottom:24px}
#support-dialog .support-story #support-description{grid-column:1;grid-row:1}
#support-dialog .support-story .support-photo-note{grid-column:2;grid-row:1}
#support-dialog .support-photo{display:block;width:160px;height:160px;object-fit:cover;border-radius:10px;border:1px solid #496168}
#support-dialog .support-story p{margin:0 0 12px;font-size:15px;line-height:1.6}
#support-dialog .support-story p:last-child{margin-bottom:0}
#support-dialog .support-story .support-intro{font-size:19px;font-weight:700;color:#ebf0ec}
#support-dialog .support-paypal{text-align:center}
@media(max-width:480px){#support-dialog{padding:26px 22px 14px}#support-dialog .support-heading h2{font-size:22px}#support-dialog .support-story{grid-template-columns:1fr;gap:18px}#support-dialog .support-story #support-description{grid-column:1;grid-row:1}#support-dialog .support-story .support-photo-note{grid-column:1;grid-row:2;justify-self:center}#support-dialog .support-photo{width:140px;height:140px}#support-dialog .support-heading{gap:9px}}

#support-dialog .support-photo-note{position:relative;width:180px;height:224px}
#support-dialog .support-photo-note .support-photo{width:180px;height:180px;margin:17px 0 0}
#support-dialog .support-photo-doodles{position:absolute;inset:0;width:180px;height:224px;overflow:visible;pointer-events:none;color:#ef8a80;filter:drop-shadow(0 1px 1px #102024)}
#support-dialog .support-photo-doodles text{font:16px "Bradley Hand","Chalkboard SE","Comic Sans MS",cursive}

#support-dialog .support-story{align-items:start;margin-bottom:0}
#support-dialog #support-description{display:flex;flex-direction:column;min-height:197px;padding-top:17px}
#support-dialog .support-payment{margin-top:auto;padding-top:16px}
#support-dialog .support-heading{justify-content:flex-start;margin:0 28px 12px 0}
#support-dialog #support-description>p{margin:0}
@media(max-width:480px){#support-dialog #support-description{min-height:0;padding-top:0}#support-dialog .support-payment{margin-top:0}}

/* Larger personal photo with a compact, aligned message and action. */
#support-dialog .support-story{grid-template-columns:minmax(0,1fr) 210px;gap:24px}
#support-dialog .support-photo-note{width:210px;height:261.33px}
#support-dialog .support-photo-note .support-photo{width:210px;height:210px;margin-top:19.83px}
#support-dialog .support-photo-doodles{width:210px;height:261.33px}
#support-dialog #support-description{min-height:229.83px;padding-top:19.83px;justify-content:flex-end}
#support-dialog #support-description>p.support-thanks{margin-top:7px;padding-right:0;color:#ebf0ec;text-align:center;transform:translate(8px,-12px) rotate(-2.5deg);transform-origin:center}
#support-dialog .support-payment{margin-top:0;padding-top:14px}
@media(max-width:480px){#support-dialog .support-story{grid-template-columns:1fr}#support-dialog #support-description{min-height:0;padding-top:0}}

#support-dialog #support-description .support-heading{margin:0 0 12px;gap:10px}
#support-dialog #support-description .support-heading h2{font-size:22px;white-space:nowrap}
#support-dialog #support-description .support-heading svg{width:28px;height:28px}

#support-dialog{padding-top:20px}
#support-dialog #support-description .support-heading{transform:translateY(-4px)}
#support-dialog .support-close{right:5px;top:3px}

#support-dialog #support-description>p.support-thanks{font-family:"Chalkboard SE","Comic Sans MS",cursive;font-size:16px;line-height:1.55}

#support-dialog #support-description>p:not(.support-thanks){font-family:"Trebuchet MS","Segoe UI",sans-serif;font-size:16px;line-height:1.55}

#support-dialog #support-description>p:not(.support-thanks){transform:translateY(4px)}

#support-dialog .support-payment{transform:translateY(-5px)}
