img.g40-unit-avatar{box-sizing:border-box;border-radius:0;padding:29%;object-fit:contain!important;background-color:#f4f1e8!important}.g40-player-content{width:min(900px,100% - 48px);margin:42px auto}.g40-player-card{color:#f4f1e8;--g40-ink:#f4f1e8;--g40-ink-soft:#d5ded9;--g40-muted:#a7b5b6;--g40-paper-raised:#1f2c31;background:#1f2c31e8;border:1px solid #d5ded936;border-radius:16px;margin-bottom:20px;padding:28px}.g40-player-card .g40-account-kicker{color:#a7b5b6}.g40-player-card button:focus-visible,.g40-player-card input:focus-visible,.g40-player-card textarea:focus-visible{outline-offset:3px;outline:2px solid #d5ded9}.g40-player-card h1{overflow-wrap:anywhere;margin:5px 0 8px;font-size:clamp(1.6rem,4vw,2.4rem)}.g40-player-card h2{margin:0 0 20px;font-size:1.15rem}.g40-player-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.g40-player-profile-page [data-profile-summary]>[data-profile-about]{border-top:1px solid #d5ded936;margin-top:24px;padding-top:24px}.g40-player-identity{align-items:center;gap:22px;min-width:0;display:flex}.g40-player-identity>div{min-width:0}.g40-player-avatar{background:#2b3a3f;border:1px solid #d5ded966;border-radius:50%;flex:0 0 96px;place-items:center;width:96px;height:96px;display:grid;overflow:hidden}.g40-player-avatar img{object-fit:cover;width:100%;height:100%}.g40-player-avatar-button{color:inherit;font:inherit;cursor:zoom-in;padding:0}.g40-player-avatar-button:disabled{cursor:default}.g40-player-avatar-button:focus-visible{outline-offset:4px;outline:2px solid #d89a6e}.g40-profile-photo-viewer.g40-main-page-modal{box-sizing:border-box;color:#f4f1e8;background:#0b1014f5;border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:16px 24px 24px;overflow:hidden}.g40-profile-photo-viewer[open]{grid-template-rows:auto minmax(0,1fr);gap:16px;display:grid}.g40-profile-photo-viewer::backdrop{background:#000d}.g40-profile-photo-viewer header{justify-content:space-between;align-items:center;gap:16px;display:flex}.g40-profile-photo-viewer h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:1rem}.g40-profile-photo-viewer header button{width:44px;height:44px;color:inherit;font:inherit;cursor:pointer;background:#ffffff10;border:0;border-radius:8px;flex:0 0 44px;place-items:center;padding:0;font-size:1.5rem;display:grid}.g40-profile-photo-viewer header button:focus-visible{outline-offset:3px;outline:2px solid #d89a6e}.g40-profile-photo-viewer figure{justify-content:center;align-items:center;min-width:0;min-height:0;margin:0;display:flex}.g40-profile-photo-viewer figure img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.g40-profile-photo-viewer [hidden]{display:none!important}@media (width<=959px){.g40-profile-photo-viewer.g40-main-page-modal{padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left))}}.g40-player-avatar-fallback{font-size:1.8rem;font-weight:800}.g40-player-joined{color:#a7b5b6;margin:0;font-size:.85rem}.g40-player-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;display:grid}.g40-player-stats dt{color:#a7b5b6;font-size:.8rem}.g40-player-stats dd{overflow-wrap:anywhere;margin:6px 0 0;font-size:1.2rem;font-weight:800}.g40-player-stats dt span{text-underline-offset:3px;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.g40-player-stats .g40-player-stat-help{color:#a7b5b6;margin-top:3px;font-size:.7rem;font-weight:400;line-height:1.35}.g40-player-about{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.6}.g40-player-edit-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.g40-player-profile-page [data-profile-about-form],.g40-player-profile-page [data-account-inline-editor]{display:none}.g40-player-profile-page.is-profile-editing [data-profile-about-form],.g40-player-profile-page.is-profile-editing [data-account-inline-editor]{gap:16px;display:grid}.g40-player-profile-page.is-profile-editing [data-profile-summary],.g40-player-profile-page.is-profile-editing [data-profile-stats],.g40-player-profile-page.is-profile-editing [data-profile-about]{display:none}.g40-player-editor-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.g40-player-editor-heading h2,.g40-player-profile-page [data-account-about-slot] [data-profile-about-form],.g40-player-profile-page [data-account-about-slot] .g40-account-copy,.g40-player-profile-page [data-profile-about-status]{margin:0}.g40-player-profile-page [data-profile-about-status]:empty{display:none}.g40-player-profile-page .g40-profile-username-actions:has(>button[hidden]){display:none}.g40-player-profile-page [data-profile-about-form]{margin-top:22px}.g40-player-profile-page.is-profile-editing [data-profile-about-form]{gap:6px}.g40-player-profile-page [data-profile-about-form] textarea{box-sizing:border-box;resize:vertical;color:#f4f1e8;width:100%;min-height:100px;font:inherit;background:#10181b;border:1px solid #d5ded966;border-radius:8px;padding:12px;font-size:max(1rem,16px)}.g40-player-profile-page [data-profile-about-count]{text-align:right;font-variant-numeric:tabular-nums;margin:0}.g40-player-profile-page [data-profile-private] .g40-profile-photo-summary{min-width:0}.g40-player-profile-page [data-profile-private] .g40-profile-photo-summary strong{white-space:normal;overflow-wrap:anywhere}.g40-player-profile-page [data-account-inline-editor] .g40-profile-photo-summary strong{font-size:1rem}.g40-player-profile-page [data-account-inline-editor]{margin-bottom:0;position:relative}.g40-player-profile-page [data-account-inline-editor][data-profile-saving]>:not([data-profile-save-overlay]){filter:blur(1.5px);pointer-events:none}.g40-profile-save-overlay{z-index:2;cursor:progress;background:#1f2c3124;border-radius:12px;place-items:center;display:grid;position:absolute;inset:0}.g40-profile-save-overlay[hidden]{display:none}.g40-profile-save-spinner{border:3px solid #d5ded940;border-top-color:#f4f1e8;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite g40-profile-save-spin}@keyframes g40-profile-save-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.g40-profile-save-spinner{animation:none}}.g40-player-profile-page [data-profile-about-status]{overflow-wrap:anywhere}.g40-player-profile-page [hidden]{display:none!important}@media (width<=820px){.g40-player-content{width:calc(100% - 28px);margin:28px auto}.g40-player-card{padding:20px}.g40-player-header{flex-wrap:wrap}.g40-player-identity{gap:16px}.g40-player-identity h1{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.g40-player-avatar{flex-basis:64px;width:64px;height:64px}.g40-player-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.g40-player-profile-page .g40-profile-name-fields{grid-template-columns:minmax(0,1fr)}.g40-player-profile-page .g40-profile-photo-control,.g40-player-profile-page .g40-profile-photo-button,.g40-player-profile-page .g40-profile-photo-preview{width:64px}.g40-player-profile-page .g40-profile-photo-button,.g40-player-profile-page .g40-profile-photo-preview{height:64px}}.g40-player-profile-page [data-profile-summary]{position:relative}.g40-player-profile-page [data-profile-summary]>.g40-player-header{padding-right:52px}.g40-profile-edit-icon{color:#d5ded9;cursor:pointer;background:#d5ded909;border:1px solid #d5ded936;border-radius:10px;place-items:center;width:44px;height:44px;padding:10px;display:grid;position:absolute;top:24px;right:24px}.g40-profile-edit-icon svg{width:22px;height:22px}.g40-profile-edit-icon:hover{color:#fff8ef;background:#d5ded91c}@media (width<=820px){.g40-profile-edit-icon{top:16px;right:16px}}.g40-player-profile-page fieldset[data-profile-private]{min-inline-size:0;margin:0}.g40-player-combat-totals{margin-top:24px}.g40-turn-usage-value{min-width:44px;min-height:44px;color:inherit;font:inherit;text-underline-offset:4px;cursor:pointer;background:0 0;border:0;margin:-6px 0 -6px -6px;padding:0 6px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.g40-turn-usage-value:hover{color:#fff}.g40-turn-usage-dialog{box-sizing:border-box;color:#f4f1e8;background:#1f2c31;border:1px solid #d5ded966;border-radius:16px;width:min(480px,100vw - 28px);max-width:none;max-height:calc(100dvh - 28px);padding:0;box-shadow:0 18px 60px #0008}.g40-turn-usage-dialog[open]{flex-direction:column;display:flex}.g40-turn-usage-dialog::backdrop{background:#0009}.g40-turn-usage-dialog header{border-bottom:1px solid #d5ded936;flex:none;justify-content:space-between;align-items:center;gap:8px;padding:14px 16px;display:flex;position:relative}.g40-turn-usage-heading{align-items:center;gap:2px;min-width:0;display:flex}.g40-turn-usage-dialog h2{margin:0;font-size:1.1rem}.g40-turn-usage-dialog header button{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:0;display:grid}.g40-turn-usage-dialog header button:not([data-turn-usage-help-trigger]):hover{background:#d5ded914}.g40-turn-usage-help{flex:none}.g40-turn-usage-help-icon{box-sizing:border-box;color:#d5ded9;border:1px solid #d5ded999;border-radius:50%;place-items:center;width:20px;height:20px;font:700 .85rem/1 sans-serif;display:grid}.g40-turn-usage-hint{z-index:1;color:#d5ded9;background:#111d22;border:1px solid #d5ded966;border-radius:10px;padding:12px 14px;font-size:.85rem;line-height:1.5;position:absolute;top:calc(100% - 4px);left:16px;right:16px;box-shadow:0 8px 24px #0006}.g40-turn-usage-hint[hidden]{display:none}.g40-turn-usage-dialog button:focus-visible{outline-offset:3px;outline:2px solid #d5ded9}.g40-turn-usage-body{overscroll-behavior:contain;min-height:0;padding:0 20px 20px;overflow-y:auto}.g40-turn-usage-body p{color:#d5ded9;font-size:.85rem;line-height:1.5}.g40-turn-usage-list{margin:6px 0 0}.g40-turn-usage-list>div{border-bottom:1px solid #d5ded924;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:12px;padding:14px 0;display:grid}.g40-turn-usage-list dt{color:#d5ded9}.g40-turn-usage-list dd{overflow-wrap:anywhere;margin:0;font-weight:700}
