/* v10 public player profiles */
.players-main{padding-top:55px;padding-bottom:80px;min-height:70vh}
.players-intro{margin-bottom:30px}.players-intro h1{font-weight:1000;font-size:clamp(40px,7vw,72px);letter-spacing:-.055em;line-height:1.1;margin:12px 0 10px}.players-intro p,.players-privacy{color:#777282;line-height:1.65}
.players-search-box,.player-profile{background:#fff;border:1px solid #eee9f3;border-radius:25px;padding:25px;box-shadow:0 8px 28px #42385d0b;margin:0 0 24px}
.players-search-box h2,.player-profile h2{font-size:22px;margin:0 0 15px;font-weight:950;letter-spacing:-.025em}
#players-form label{font-size:13px;color:#655c75;font-weight:850;display:block;margin-bottom:9px}
.players-search-inputs{display:flex;gap:10px}.players-search-inputs input{min-width:0;flex:1;font:inherit;font-size:16px;border-radius:12px;border:1px solid #dcd4ea;padding:13px 16px;background:#fefcff;color:#2c253b}
.players-search-inputs button{margin:0;min-width:100px;min-height:48px}
.players-search-hint{font-size:13px;color:#898292;margin:12px 0 0}
.players-results{display:grid;gap:10px;margin-top:18px}.player-result{display:flex;align-items:center;gap:13px;background:#faf8ff;border:1px solid #eee8f7;padding:12px;border-radius:15px;transition:background .16s;overflow:hidden}
.player-result:hover{background:#f2ecff}.player-result>span:nth-child(2){font-weight:900;flex:1;overflow-wrap:anywhere}.player-result>span:last-child{color:#7661ae;font-size:21px;font-weight:900}
.player-avatar{width:48px;height:48px;flex:none;border-radius:50%;object-fit:cover;background:#e7ddff;display:flex;align-items:center;justify-content:center;font-weight:950;color:#51447c;font-size:20px}
.players-status{padding:14px 4px;color:#6f697b}.players-status.is-error{color:#a14949}
.player-profile-hero{display:flex;align-items:center;gap:22px;background:#f7f3ff;border:1px solid #eee6ff;border-radius:21px;padding:22px}
.player-profile-hero .player-avatar{width:105px;height:105px;font-size:48px;box-shadow:0 4px 15px #372e5e15}
.player-profile-name{min-width:0}.player-profile-name .mini-label{font-size:11px;margin-bottom:5px}.player-profile-name h2{font-size:clamp(27px,4.5vw,44px);line-height:1.15;overflow-wrap:anywhere;margin:0 0 8px}.player-profile-name p{margin:0;color:#6e667c;font-weight:650}
.player-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 24px}.player-stat{background:#faf9fb;padding:18px 15px;border-radius:16px}.player-stat span{display:block;color:#80788d;font-size:13px;margin-bottom:7px}.player-stat strong{font-size:clamp(21px,3.3vw,30px);font-weight:950;letter-spacing:-.035em}
.player-game-heading{font-size:22px;font-weight:950;letter-spacing:-.03em;margin:16px 0}.player-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.player-game{padding:16px;background:#fbf9fd;border-radius:17px;border:1px solid #f0ecf4;display:flex;align-items:center;gap:12px;min-width:0}.player-game-emoji{width:42px;height:42px;background:#ede6fc;border-radius:13px;font-size:21px;display:flex;align-items:center;justify-content:center;flex:none}.player-game h3{font-size:14px;margin:0 0 5px;overflow-wrap:anywhere}.player-game p{font-size:13px;color:#756e7d;margin:0}.player-game strong{font-weight:950;color:#514473;font-size:17px}
.players-privacy{font-size:13px}.players-home-link{font-size:13px;font-weight:800;color:#62558d}
@media(max-width:750px){.players-main{padding-top:30px}.player-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.players-search-box,.player-profile{padding:17px;border-radius:20px}.player-profile-hero{padding:16px}.player-profile-hero .player-avatar{width:74px;height:74px;font-size:32px}.player-profile-name h2{font-size:28px}}
@media(max-width:420px){.players-main{padding-left:15px;padding-right:15px}.player-profile-hero{gap:13px}.player-profile-name h2{font-size:24px}.player-profile-hero .player-avatar{width:65px;height:65px;font-size:28px}.player-stats{gap:7px}.player-stat{padding:12px 8px}.player-stat span{font-size:11px}.player-stat strong{font-size:19px}.player-game-grid{grid-template-columns:1fr}.player-game{padding:12px}.players-search-inputs{gap:7px}.players-search-inputs button{min-width:84px;padding:12px}.players-home-link{font-size:12px}}

.player-profile-hero{flex-wrap:wrap}.player-profile-name .womble-badges{display:flex;margin:8px 0}.profile-friend-box{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.friend-result{font-size:12px;color:#ad4b4b}
@media(max-width:560px){.profile-friend-box{margin-left:0;width:100%}.profile-friend-box button,.profile-friend-box a{flex:1;text-align:center;min-height:44px}}

/* Badge collection: tap-friendly, responsive and accessible. */
.badge-collection,.badge-profile-note{margin:28px 0 30px;border-top:1px solid #ece7f2;padding-top:23px}
.badge-section-title h3,.badge-profile-note h3{font-size:25px;font-weight:950;margin:0 0 8px;letter-spacing:-.025em}
.badge-section-title p,.badge-profile-note p{margin:0 0 18px;color:#746b81;line-height:1.55;font-size:14px}
.badge-pinned{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 15px;background:#faf7ff;border:1px solid #eee5ff;border-radius:13px;margin:13px 0 20px}
.badge-pinned>strong{font-size:13px}.badge-muted{font-size:13px;color:#80758c}
.badge-filter-list{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding-bottom:10px;margin-bottom:8px}
.badge-filter{border:1px solid #dfd5ea;border-radius:999px;background:#fff;padding:9px 13px;font:inherit;font-weight:800;font-size:12px;white-space:nowrap;cursor:pointer;color:#4a405e}
.badge-filter.selected{background:#41345d;color:#fff;border-color:#41345d}
.badge-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.badge-card{background:#fff;border:1px solid #e6ddef;border-radius:17px;padding:15px;display:flex;flex-direction:column;gap:11px;min-width:0}
.badge-card.is-equipped{border-color:#9d86e7;box-shadow:0 0 0 2px #e5dcff}
.badge-card.locked{background:#f8f7fa;opacity:.78}
.badge-card-header{display:flex;gap:10px;align-items:center;min-width:0}
.badge-emblem{height:38px;width:38px;flex:none;display:grid;place-items:center;border-radius:12px;background:#ece3ff;color:#6d57a1;font-size:27px;font-weight:900}
.locked .badge-emblem{background:#e6e3e9;color:#b2aab8}
.badge-card h4{font-size:14px;font-weight:900;margin:0;overflow-wrap:anywhere;line-height:1.3}.badge-card-header small{font-size:11px;color:#847992}
.badge-card p{margin:0;color:#72697e;font-size:13px;line-height:1.4;min-height:34px}
.badge-progress{margin-top:auto;display:flex;align-items:center;gap:8px}.badge-progress small{white-space:nowrap;font-size:11px;font-weight:800;color:#655777}
.badge-progress-track{flex:1;height:7px;background:#eae4ef;overflow:hidden;border-radius:20px}.badge-progress-track span{display:block;height:100%;background:#ad94e9;border-radius:20px}
.badge-equip{border:0;min-height:40px;background:#4a3a70;color:white;border-radius:11px;font:inherit;font-size:12px;font-weight:850;cursor:pointer}
.badge-equip:disabled{background:#e9e5ee;color:#82768c;cursor:default}.is-equipped .badge-equip:disabled{background:#e6dcfb;color:#655087}
.badge-unequip{margin-top:15px}.badge-feedback{font-size:13px;color:#9a3b3b}
@media(max-width:900px){.badge-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.badge-cards{grid-template-columns:1fr}.badge-card{padding:13px}.badge-card p{min-height:0}.badge-filter{min-height:40px}}

#badge-collection{scroll-margin-top:90px}
