.players .player-tile{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:88px;padding:6px 2px;border-radius:12px;text-align:center}
.players .player-tile:hover{background:var(--soft)}
.player-tile:focus-visible,.person-action:focus-visible,.person-game:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.person-avatar{position:relative;display:inline-grid;place-items:center;flex:none;width:54px;height:54px;overflow:hidden;border-radius:50%;background:var(--soft);border:1px solid var(--line);color:var(--muted);font-size:18px;font-weight:650}
.person-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.person-avatar-large{width:104px;height:104px;font-size:32px}
.players .player-tile small{font-size:12px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;margin:0;color:var(--ink)}
.player-role{font-size:10px;line-height:1.2;color:var(--muted)}
.public-person{padding-bottom:32px}.person-topbar{position:relative;min-height:48px;justify-content:space-between;border-bottom:1px solid var(--line)}
.person-topbar strong{font-size:16px;margin-right:6px}.person-identity{text-align:center;padding:28px 0 22px}
.person-identity h1{font-size:26px;line-height:1.2;letter-spacing:-.5px;margin:16px 0 12px;overflow-wrap:anywhere}
.person-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}.person-badges span{font-size:12px;padding:6px 10px;border:1px solid var(--line);border-radius:20px}
.person-section{margin:22px 0}.person-section h2{font-size:17px;margin:0 0 12px}.person-bio{font-size:15px;line-height:1.55;margin:0;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}
.person-stat{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}.person-stat strong{font-size:24px;color:var(--ink)}
.person-game{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:16px;border:1px solid var(--line);border-radius:16px;text-align:left;background:var(--bg)}
.person-game>span:first-child{display:grid;gap:6px;min-width:0}.person-game strong{font-size:16px;overflow-wrap:anywhere}.person-game span span{color:var(--muted);font-size:14px}.person-game small{font-size:12px;margin-top:4px;color:var(--muted)}.person-game>span:last-child{font-size:28px;color:var(--muted)}
.person-action{display:block;min-height:44px;width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font-size:14px;font-weight:600;text-align:center}
.person-note{color:var(--muted);font-size:13px;line-height:1.5;margin:14px 0 20px}.person-state{padding:40px 0;text-align:center;line-height:1.5}.person-state h2{font-size:20px}.person-state p{color:var(--muted)}
.own-player-photo{display:flex;gap:20px;align-items:center;margin:18px 0 8px}.own-player-photo>div{flex:1}.person-remove-photo{display:block;min-height:44px;width:100%;color:var(--muted);font-size:13px}
.person-photo-sheet{text-align:center}.person-photo-sheet .photo-preview{width:160px;height:160px;border-radius:50%;object-fit:cover;margin:8px auto}.person-photo-sheet .person-action{margin-top:10px}
.person-photo-sheet .btn.primary{background:#b4f55f;color:#18232d}
.person-photo-sheet .player-crop{position:relative;width:min(240px,100%);aspect-ratio:1;margin:18px auto;overflow:hidden;border-radius:50%;background:#f2f3f5;touch-action:none;user-select:none;cursor:grab;outline:1px solid var(--line)}
.person-photo-sheet .player-crop:active{cursor:grabbing}
.person-photo-sheet .player-crop:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.player-crop img{position:absolute;max-width:none;max-height:none;pointer-events:none;user-select:none}
.player-crop-zoom{display:grid;grid-template-columns:1fr auto;gap:6px;text-align:left;font-size:14px;color:var(--ink)}
.player-crop-zoom input{grid-column:1/-1;width:100%;min-height:44px;margin:0;accent-color:#536f20}
.player-crop-reset{min-height:44px;padding:8px 12px;color:var(--muted);font-size:14px;margin-bottom:8px}
.player-crop[aria-disabled=true]{cursor:default;opacity:.75}
@media(max-height:650px){.person-photo-sheet .player-crop{width:min(180px,100%);margin:12px auto}.person-photo-sheet .person-note{margin:8px 0}}
@media(max-width:360px){.players .player-tile small{font-size:11px}.person-avatar:not(.person-avatar-large){width:48px;height:48px}.person-identity h1{font-size:24px}.person-topbar strong{font-size:14px}}
.person-edit-avatar{display:flex;justify-content:center;margin:20px auto}

/* Selected profile layout 02: compact identity, white actions and two tiles. */
.content.own-profile{padding:0 24px 30px}
.own-profile-top{display:flex;justify-content:space-between;align-items:center;padding:22px 0 0;font-size:15px;font-weight:600}
.own-profile-top>span:last-child{width:22px;height:5px;background:#b6f45f;border-radius:5px}
.own-profile-overview{padding:30px 0 10px}
.own-profile-identity{display:flex;align-items:center;gap:17px}
.own-profile-avatar{position:relative;flex:none;width:72px;height:72px}
.own-profile-avatar .person-avatar{width:72px;height:72px;font-size:25px}
.own-profile-name{min-width:0;flex:1}
.own-profile-name h1{margin:0;font-size:23px;line-height:1.15;font-weight:720;letter-spacing:-.75px;overflow-wrap:anywhere}
.own-profile-name p{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.45;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.own-profile svg{width:21px;height:21px;flex:none}
.own-profile-camera{position:absolute;right:-2px;bottom:0;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:6px;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--ink);box-shadow:0 2px 5px #1925300a}
.own-profile-camera:before{content:"";position:absolute;inset:-6px;border-radius:50%}
.own-profile-camera svg{width:17px;height:17px}
.own-profile-photo-actions{display:flex;flex-wrap:wrap;gap:0 18px}
.own-profile-photo-actions button{min-height:44px;padding:9px 0;color:var(--ink);font-size:14px;font-weight:600}
.own-profile-photo-actions [data-remove-player-photo]{color:var(--muted);font-weight:400}
.own-profile-overview>.person-note{margin:18px 0 24px;max-width:300px;font-size:12px;line-height:1.5}
.own-profile-edit{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;padding:11px 14px;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.45;font-weight:600}
.own-profile-shortcuts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:26px}
.own-profile-shortcuts button{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0;min-height:110px;padding:17px;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.45;font-weight:600;text-align:left}
.own-profile-shortcuts span{max-width:100%;overflow-wrap:anywhere}
.own-profile button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:360px){.content.own-profile{padding-left:18px;padding-right:18px}.own-profile-identity{gap:12px}.own-profile-overview{padding-top:26px}}
