:root{--pp-bg:#0a0f12;--pp-panel:#10191d;--pp-panel2:#152127;--pp-line:rgba(221,177,83,.22);--pp-gold:#f1bf54;--pp-gold2:#d59622;--pp-text:#f5f2ea;--pp-muted:#95a3a6;--pp-green:#45d58d;--pp-red:#e06b70;--pp-blue:#50b9e9}
.players-source-error{padding:22px;border:1px solid rgba(224,107,112,.38);border-radius:12px;color:#ffc1c4;background:rgba(111,34,40,.18);text-align:center}
.modern-player-directory{padding:8px 0 2px}.player-directory-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.player-directory-summary>div{padding:16px 18px;border:1px solid var(--pp-line);border-radius:12px;background:linear-gradient(145deg,rgba(22,32,36,.95),rgba(10,16,19,.96));box-shadow:0 12px 30px rgba(0,0,0,.18)}.player-directory-summary strong{display:block;color:var(--pp-gold);font-size:22px}.player-directory-summary span{display:block;margin-top:4px;color:var(--pp-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.player-search-shell{display:flex;align-items:center;gap:10px;max-width:680px;margin:0 auto 18px;padding:0 14px;border:1px solid rgba(221,177,83,.35);border-radius:12px;background:#0b1215}.player-search-shell span{color:var(--pp-gold);font-size:24px}.player-search-shell input{width:100%;padding:13px 0;border:0;outline:0;color:var(--pp-text);background:transparent;font-size:15px}.modern-player-directory .table-wrapper{overflow:auto;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(7,11,13,.78)}.modern-player-directory table{width:100%;border-collapse:collapse;color:var(--pp-text)}.modern-player-directory th{padding:13px 12px;color:#e7c77f;background:linear-gradient(180deg,#20282c,#151c20);font-size:12px;text-transform:uppercase;letter-spacing:.06em;text-align:left;white-space:nowrap}.modern-player-directory td{padding:11px 12px;border-top:1px solid rgba(255,255,255,.07);vertical-align:middle}.modern-player-directory tr.player-row{cursor:pointer;transition:.15s ease}.modern-player-directory tr.player-row:hover{background:rgba(241,191,84,.07)}.modern-player-directory .avatar-info{width:58px}.modern-player-directory .avatar-info img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid rgba(241,191,84,.45)}.modern-player-directory .player-name a{color:#fff;text-decoration:none;font-weight:800}.modern-player-directory .wipe-note{display:block;margin-top:3px;color:#88979a;font-size:11px}.status-badge{display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%}.status-badge.online{background:var(--pp-green);box-shadow:0 0 0 4px rgba(69,213,141,.12)}.status-badge.offline{background:#66757a}.combat-rank{display:inline-flex;padding:5px 9px;border:1px solid rgba(241,191,84,.28);border-radius:999px;color:#ffd678;background:rgba(241,191,84,.08);font-size:11px;font-weight:900}.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:18px 0}.pagination button,.pagination span{padding:8px 11px;border:1px solid rgba(221,177,83,.32);border-radius:8px;color:#e8eceb;background:#11191d}.pagination button{cursor:pointer}.pagination button.active,.pagination button:hover{color:#161008;background:linear-gradient(180deg,#f5ca69,#d49a28)}
.player-profile-page{display:grid;gap:16px}.profile-hero-card,.profile-panel,.profile-stat-grid article,.wipe-empty-notice{border:1px solid rgba(221,177,83,.2);background:linear-gradient(145deg,rgba(19,29,34,.98),rgba(8,13,16,.98));box-shadow:0 18px 45px rgba(0,0,0,.18)}.profile-hero-card{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;border-radius:18px}.profile-identity{display:flex;align-items:center;gap:18px;min-width:0}.profile-avatar{width:88px;height:88px;border-radius:50%;object-fit:cover;border:3px solid var(--pp-gold);box-shadow:0 0 0 6px rgba(241,191,84,.08),0 12px 30px rgba(0,0,0,.35)}.profile-kicker{color:var(--pp-gold);font-size:11px;font-weight:900;letter-spacing:.12em}.profile-hero-card h1{margin:4px 0 7px;color:#fff;font-size:34px;line-height:1.05}.profile-status-row{display:flex;gap:8px;flex-wrap:wrap}.profile-online,.profile-rank{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900}.profile-online.is-online{color:#b7ffda;border:1px solid rgba(69,213,141,.45);background:rgba(69,213,141,.12)}.profile-online.is-offline{color:#ffc7ca;border:1px solid rgba(224,107,112,.38);background:rgba(224,107,112,.09)}.profile-rank{color:#ffe0a0;border:1px solid rgba(241,191,84,.4);background:rgba(241,191,84,.1)}.profile-share{display:grid;gap:8px;min-width:min(100%,380px)}.profile-share button,.achievement-open-button{padding:12px 16px;border:1px solid #e9b84c;border-radius:10px;color:#151008;background:linear-gradient(180deg,#f8cf72,#d89b26);font-weight:900;cursor:pointer}.profile-share input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid rgba(255,255,255,.1);border-radius:9px;color:#aebbbe;background:#0a1114}.wipe-empty-notice{padding:16px 18px;border-color:rgba(80,185,233,.28);border-radius:12px}.wipe-empty-notice strong{display:block;color:#bfeaff}.wipe-empty-notice span{display:block;margin-top:4px;color:var(--pp-muted)}.profile-section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:6px}.profile-section-title span{color:#f5ce79;font-size:20px;font-weight:900}.profile-section-title small{color:#7f9094}.profile-section-title.compact{margin:0 0 14px}.profile-section-title.compact span{font-size:17px}.profile-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-stat-grid article{padding:15px 16px;border-radius:12px}.profile-stat-grid article span{display:block;color:#7f9195;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.profile-stat-grid article strong{display:block;margin-top:7px;color:#f8f8f4;font-size:20px}.profile-stat-grid--lifetime article{border-color:rgba(80,185,233,.2);background:linear-gradient(145deg,rgba(15,32,41,.98),rgba(7,17,22,.98))}.profile-split-grid{display:grid;grid-template-columns:1.45fr .8fr;gap:14px}.profile-panel{padding:18px;border-radius:15px}.favorite-weapons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.weapon-card{position:relative;display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center;padding:12px;border:1px solid rgba(221,177,83,.22);border-radius:11px;background:#0b1216}.weapon-card img{width:50px;height:50px;object-fit:contain}.weapon-card strong{display:block;color:#fff;font-size:13px}.weapon-card span{display:block;margin-top:4px;color:#e6b751;font-size:12px;font-weight:800}.weapon-position{position:absolute;top:5px;left:5px;z-index:1;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;color:#171008;background:#e9b84c;font-size:10px;font-weight:900}.achievement-overview strong{display:block;color:#fff;font-size:34px}.achievement-overview span{color:#8fa0a4}.achievement-progress,.achievement-mini-progress{height:8px;overflow:hidden;border-radius:999px;background:#071014}.achievement-progress{margin:14px 0}.achievement-progress i,.achievement-mini-progress i{display:block;height:100%;background:linear-gradient(90deg,#d49220,#ffd46d)}.achievement-open-button{width:100%}.achievement-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.achievement-card{position:relative;display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:center;min-height:88px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#0a1216}.achievement-card img{width:56px;height:56px}.achievement-card strong{display:block;color:#fff;font-size:13px}.achievement-card span{display:block;margin-top:3px;color:#8f9da1;font-size:11px;line-height:1.35}.achievement-card em{position:absolute;right:8px;top:7px;padding:3px 6px;border-radius:999px;font-size:9px;font-style:normal;font-weight:900}.achievement-card.is-unlocked{border-color:rgba(241,191,84,.35);box-shadow:inset 0 0 25px rgba(241,191,84,.035)}.achievement-card.is-unlocked em{color:#b9ffdc;background:rgba(69,213,141,.13)}.achievement-card.is-locked{opacity:.72;filter:saturate(.6)}.achievement-card.is-locked em{color:#adb8ba;background:rgba(255,255,255,.06)}.achievement-card small{display:block;margin-top:6px;color:#77898d;font-size:9px}.achievement-mini-progress{margin-top:7px;height:5px}.profile-empty{padding:24px;border:1px dashed rgba(255,255,255,.12);border-radius:10px;color:#849497;text-align:center}.achievement-modal{position:fixed;inset:0;z-index:9999;display:none;padding:26px;background:rgba(3,6,8,.82);backdrop-filter:blur(8px)}.achievement-modal.is-open{display:grid;place-items:center}.achievement-modal__dialog{position:relative;width:min(1240px,96vw);max-height:90vh;overflow:auto;padding:24px;border:1px solid rgba(221,177,83,.33);border-radius:18px;background:linear-gradient(145deg,#131e23,#091015);box-shadow:0 30px 100px rgba(0,0,0,.65)}.achievement-modal__close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:1px solid rgba(255,255,255,.15);border-radius:50%;color:#fff;background:#131c20;font-size:24px;cursor:pointer}.achievement-card-grid--all{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}
@media(max-width:900px){.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-split-grid{grid-template-columns:1fr}.favorite-weapons{grid-template-columns:1fr}.achievement-card-grid,.achievement-card-grid--all{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-hero-card{align-items:flex-start;flex-direction:column}.profile-share{width:100%}}
@media(max-width:640px){.player-directory-summary{grid-template-columns:1fr}.modern-player-directory th:nth-child(6),.modern-player-directory td:nth-child(6),.modern-player-directory th:nth-child(7),.modern-player-directory td:nth-child(7){display:none}.profile-stat-grid{grid-template-columns:1fr 1fr}.achievement-card-grid,.achievement-card-grid--all{grid-template-columns:1fr}.profile-identity{align-items:flex-start}.profile-avatar{width:68px;height:68px}.profile-hero-card h1{font-size:27px}.achievement-modal{padding:0}.achievement-modal__dialog{width:100vw;max-height:100vh;border-radius:0;box-sizing:border-box}.modern-player-directory td,.modern-player-directory th{padding:9px 8px;font-size:11px}}

/* Profile polish v3 ------------------------------------------------------- */
.player-profile-page,.player-profile-page *,.achievement-modal__dialog,.achievement-modal__dialog *{box-sizing:border-box}
.weapon-card{overflow:hidden;border-color:color-mix(in srgb,var(--weapon-quality-color) 60%,transparent);box-shadow:inset 3px 0 0 var(--weapon-quality-color);background:linear-gradient(135deg,color-mix(in srgb,var(--weapon-quality-color) 9%,#0b1216),#0b1216 60%)}
.weapon-icon-shell{position:relative;display:grid;width:54px;height:54px;place-items:center}.weapon-icon-shell img{width:50px;height:50px;object-fit:contain}.weapon-quality-badge{position:absolute;right:-4px;bottom:-3px;display:grid;width:21px;height:21px;place-items:center;border:2px solid #091115;border-radius:50%;color:#091115;background:var(--weapon-quality-color);font-size:9px;font-weight:1000;box-shadow:0 0 10px color-mix(in srgb,var(--weapon-quality-color) 42%,transparent)}.weapon-card>div:last-child>span{color:var(--weapon-quality-color)}.weapon-card>div:last-child>small{display:block;margin-top:3px;color:#87979b;font-size:10px}
.profile-achievement-preview{overflow:hidden;padding-bottom:22px}.achievement-preview-heading{align-items:flex-start}.achievement-preview-heading>div{display:flex;min-width:0;flex-direction:column;gap:3px}.achievement-open-button--compact{width:auto;padding:9px 13px}.achievement-preview-carousel{padding:2px 2px 4px}.achievement-preview-carousel.is-swapping{animation:websiteAchievementSwap .52s cubic-bezier(.2,.75,.2,1)}@keyframes websiteAchievementSwap{0%{opacity:.15;transform:translateY(10px) scale(.985)}100%{opacity:1;transform:none}}
.achievement-modal{overflow:hidden}.achievement-modal__dialog{padding-bottom:34px;scrollbar-gutter:stable;overscroll-behavior:contain}.achievement-card-grid--all{padding-bottom:3px}
@media(max-width:900px){.achievement-preview-heading{gap:10px}.achievement-open-button--compact{flex:0 0 auto}.profile-panel{overflow:hidden}}
@media(max-width:640px){.player-profile-page{gap:12px}.profile-hero-card{padding:16px}.profile-identity{width:100%}.profile-share{min-width:0}.profile-share input{font-size:11px}.profile-section-title{align-items:flex-start}.profile-section-title small{max-width:55%;text-align:right;line-height:1.35}.profile-stat-grid{gap:7px}.profile-stat-grid article{padding:12px}.profile-stat-grid article strong{font-size:17px}.weapon-card{min-height:72px}.achievement-preview-heading{flex-direction:column}.achievement-preview-heading>div{width:100%}.achievement-preview-heading>div small{max-width:none;text-align:left}.achievement-open-button--compact{width:100%}.achievement-modal__dialog{height:100dvh;max-height:100dvh;overflow:auto;padding:20px 14px calc(30px + env(safe-area-inset-bottom))}.achievement-modal__close{position:sticky;float:right;top:8px;z-index:5}.achievement-card{min-height:82px}}
@media(max-width:420px){.profile-stat-grid{grid-template-columns:1fr}.profile-identity{gap:12px}.profile-avatar{width:60px;height:60px}.profile-hero-card h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.achievement-preview-carousel.is-swapping{animation:none}}

/* All Players: lifetime playtime + live ping ------------------------------- */
.modern-player-directory .total-playtime{white-space:nowrap;font-weight:750;color:#f1ede2}
.modern-player-directory .player-ping{white-space:nowrap}
.modern-player-directory .ping-value{display:inline-flex;min-width:42px;justify-content:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;line-height:1;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04);color:#8f9da1}
.modern-player-directory .ping-value.is-live{border-color:rgba(69,213,141,.34);background:rgba(69,213,141,.09);color:#aef3cf}
@media(max-width:640px){
  .modern-player-directory th:nth-child(4),.modern-player-directory td:nth-child(4),
  .modern-player-directory th:nth-child(5),.modern-player-directory td:nth-child(5),
  .modern-player-directory th:nth-child(8),.modern-player-directory td:nth-child(8),
  .modern-player-directory th:nth-child(9),.modern-player-directory td:nth-child(9){display:none}
  .modern-player-directory th:nth-child(6),.modern-player-directory td:nth-child(6),
  .modern-player-directory th:nth-child(7),.modern-player-directory td:nth-child(7){display:table-cell}
}
