.officeProfileButton{min-height:44px;padding:9px 13px;background:#e5edcf;color:#304e32;border:1px solid #c5d4ab;border-radius:10px;font-weight:700;font-size:12px;flex-shrink:0}
.playerNameButton{font:inherit;font-weight:700;color:#315c3d;background:transparent;text-align:left;padding:8px 0;min-height:44px;text-decoration:underline;text-decoration-color:#9eb58c;text-underline-offset:3px;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.profileDialog{width:min(480px,calc(100vw - 24px));max-width:480px;max-height:calc(100dvh - 28px);overflow:auto;padding:22px;color:#213e32;background:#fffefa;border:1px solid #cbd8ba;border-radius:18px}
.profileDialog::backdrop{background:#16312699;backdrop-filter:blur(3px)}
.profileDialog .profileClose{position:absolute;top:7px;right:7px;background:transparent;padding:8px;font-size:24px;min-height:44px;min-width:44px;margin:0}
.profileHeader{display:flex;gap:12px;align-items:center;padding-right:25px;margin-bottom:15px}.profileAvatar{flex-shrink:0;width:52px;height:52px;border-radius:14px;background:#e8efcf;display:grid;place-items:center;font-size:28px}.profileHeader h2{font-size:23px;overflow-wrap:anywhere}.profileHeader small{font-size:12px;color:#536346;display:block;margin-top:4px}
.profileStatus{font-size:12px;font-weight:600;line-height:1.6;color:#52614f;margin:10px 0}.profileStats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.profileStat{background:#eff3e5;border:1px solid #dbe3ce;border-radius:11px;padding:11px;min-width:0}.profileStat small{font-size:12px;line-height:1.4;display:block;color:#52614f}.profileStat strong{font-size:24px;display:block;margin-top:5px;overflow-wrap:anywhere}.profileBest{padding:12px;background:#213e32;color:#f5f8e9;border-radius:12px;margin:12px 0}.profileBest small{color:#d0e4a7;font-size:12px}.profileBest b{display:block;font-size:16px;margin-top:5px}.profileBest span{display:block;font-size:13px;margin-top:5px}
.profileDialog h3{font-size:16px;margin:16px 0 10px}.profileBadges{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profileBadge{background:#fbefce;border:1px solid #ddc88e;border-radius:10px;padding:10px;min-width:0;font-size:12px;font-weight:600;line-height:1.5}.profileBadge span{font-size:23px;display:block;margin-bottom:4px}.profileEmpty{font-size:12px;color:#52614f;line-height:1.6;grid-column:1/-1;margin:0}
.profileEditor{margin-top:16px;border-top:1px solid #dce3d0;padding-top:13px}.profileEditor label{font-size:12px;font-weight:700;display:block;margin-bottom:7px}.profileEditor>div{display:flex;gap:7px}.profileEditor input{font:inherit;font-size:16px;min-width:0;flex:1;padding:10px;border:1px solid #c9d6b7;border-radius:9px;color:#213e32;background:white}.profileDialog .profileSave{margin:0;min-height:44px;padding:10px 13px;border-radius:9px;font-size:12px;font-weight:700}.profileDialog .profileRefresh{width:100%;margin:12px 0 0;min-height:44px;font-size:12px;font-weight:700;border-radius:9px;padding:10px}.profilePrivacy{font-size:12px;color:#52614f;line-height:1.6;margin:13px 0 0}
@media(max-width:700px){.officeHeading{flex-wrap:wrap;gap:10px}.officeHeading>div{flex:1;min-width:180px}.officeProfileButton{padding:9px 10px}.profileDialog{padding:18px 14px}.profileHeader h2{font-size:21px}.profileStats strong{font-size:22px}.profileBadges{gap:7px}.profileBadge{padding:9px}}
