/* PN Analytics v1.1 — brand integration, interaction and mobile-first refinements */

/* Brand and navigation */
.site-brand{display:flex;justify-content:center;align-items:center;min-height:144px;padding:4px 10px 18px}
.site-brand img{width:126px;height:126px;object-fit:contain;object-position:center;filter:drop-shadow(0 14px 24px rgba(0,0,0,.48))}
.sidebar-status{margin-top:0}.topbar-title,.topbar-badge{display:none!important}
.topbar{gap:12px}.top-seasons{display:flex;gap:7px;flex:0 0 auto}.top-seasons .season-pill{min-width:56px;padding:9px 10px}
.final-rating-link{height:42px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #46262a;border-radius:5px;background:#1a1113;color:#e9e4de;font-size:13px;font-weight:800;white-space:nowrap;transition:.2s ease}
.final-rating-link svg{width:17px;height:17px;fill:none;stroke:#ef4350;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.final-rating-link:hover,.final-rating-link.active{background:#351217;border-color:#8a2630;transform:translateY(-1px)}
.global-search{position:relative;margin-left:auto}
.search-suggestions{display:none;position:absolute;left:0;right:0;top:calc(100% + 10px);padding:7px;background:#111214;border:1px solid #353239;border-radius:10px;box-shadow:0 24px 60px rgba(0,0,0,.6);z-index:90;max-height:min(440px,65vh);overflow:auto}
.search-suggestions.open{display:block;animation:suggestion-in .18s ease both}
@keyframes suggestion-in{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
.search-suggestions a{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:10px;padding:10px;border-radius:7px;color:#eeeae5}
.search-suggestions a:hover,.search-suggestions a.active{background:#261417}
.search-suggestions a>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.search-suggestions b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-suggestions small{font-size:11px;color:#8f8990}
.suggestion-icon{width:34px;height:34px;display:grid!important;place-items:center;border:1px solid #453035;border-radius:6px;color:#ef4350;font-size:10px;font-weight:900}.suggestion-icon.game{font-size:16px;background:#1a181b;color:#d9d4ce}

/* Main brand moment */
.dashboard-hero:after{content:none!important}
.dashboard-hero{min-height:430px;grid-template-columns:1.06fr .94fr;padding-top:38px;padding-bottom:38px}
.hero-visual{display:block!important;min-height:330px}
.hero-emblem{position:absolute;width:350px;height:330px;right:5px;top:0}
.hero-logo-back{position:absolute;width:390px;height:390px;object-fit:contain;right:-25px;top:-28px;z-index:0;opacity:.98;filter:drop-shadow(0 22px 35px rgba(0,0,0,.62))}
.hero-ring{width:244px;height:244px;right:56px;top:39px;z-index:2;background:#0d0e12;border:1px solid #484148;overflow:hidden;box-shadow:0 0 0 10px rgba(13,14,18,.88),0 22px 55px rgba(0,0,0,.42)}
.hero-ring:after{display:none}
.hero-logo-inside{position:absolute;z-index:1;width:330px;height:330px;object-fit:contain;left:50%;top:50%;transform:translate(-50%,-50%);opacity:.15}
.ring-copy{position:relative;z-index:3;text-align:center;display:flex;flex-direction:column;align-items:center}
.ring-copy b{display:block;font-size:37px;line-height:.92;letter-spacing:-.055em;color:#fff}
.ring-copy span{font-size:9px;letter-spacing:.16em;color:#8f8992;margin-top:6px}.ring-copy i{width:42px;height:1px;background:#bd2834;margin:13px 0}
.hc-red{left:-7px;top:35px;z-index:4}.hc-black{left:-13px;bottom:33px;z-index:4}.hc-season{display:none}

/* Gentle motion */
.reveal{opacity:0;transform:translateY(17px);transition:opacity .52s ease var(--reveal-delay,0ms),transform .52s cubic-bezier(.2,.8,.2,1) var(--reveal-delay,0ms)}
.reveal.is-visible{opacity:1;transform:none}
.card,.panel,.metric-strip article,.quick-grid>a{transition:border-color .2s ease,transform .2s ease,background-color .2s ease,box-shadow .2s ease}
.panel:hover,.notes-grid .card:hover{border-color:#483237;transform:translateY(-2px)}
.metric-strip article:hover,.quick-grid>a:hover{transform:translateY(-3px)}
.hero-logo-back{animation:brand-float 7s ease-in-out infinite}
@keyframes brand-float{50%{transform:translateY(-7px) rotate(-1deg)}}

/* Clickable date surface */
input[type=date]{cursor:pointer;position:relative}
input[type=date]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;opacity:0;cursor:pointer}

/* Club statistics: balanced 4 × 2 */
.club-stats-page{position:relative;isolation:isolate}
.club-stats-page:before{content:"";position:absolute;z-index:-1;inset:60px 0 0;background:url("/static/logo-pn.png") center 42%/min(72vw,850px) auto no-repeat;opacity:.035;pointer-events:none}
.club-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch}
.club-stat{min-height:205px;padding:21px;display:grid;grid-template-rows:auto auto 1fr auto;align-content:stretch;justify-content:stretch;position:relative}
.club-stat:after{display:none}.club-stat .stat-index{justify-self:end;color:#5d5960;font-size:11px;font-weight:900;letter-spacing:.12em}
.club-stat .stat-value{font-size:38px;line-height:1;font-weight:950;letter-spacing:-.055em;color:#fff;margin:8px 0 17px}
.club-stat h2{font-size:15px;line-height:1.22;margin:0;color:#e9e5df;align-self:end}.club-stat p{margin:8px 0 0;color:#858089;font-size:12px;line-height:1.42}
.club-stat:nth-child(1),.club-stat:nth-child(4),.club-stat:nth-child(8){border-top:2px solid #3f8f68}.club-stat:nth-child(2),.club-stat:nth-child(7){border-top:2px solid #bd2935}.club-stat:nth-child(3),.club-stat:nth-child(5),.club-stat:nth-child(6){border-top:2px solid #a9883f}
.club-method p{margin:0;font-size:13px}

/* Rankings and medals */
.rating-filter-panel{display:grid;grid-template-columns:minmax(220px,1.55fr) repeat(2,minmax(145px,.75fr)) repeat(2,minmax(155px,.8fr)) auto;align-items:end;gap:9px;padding:14px}
.filter-field{display:flex;flex-direction:column;gap:6px;min-width:0}.filter-field>span{padding-left:2px;color:#77727b;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.filter-field input,.filter-field select{width:100%;min-width:0!important}.filter-submit{height:44px}
.rating-explainer{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;padding:17px 19px;border-left:2px solid #d82b37}
.explainer-mark{width:40px;height:40px;display:grid;place-items:center;border:1px solid #4b292e;border-radius:8px;background:#211316;color:#ee3f4b}
.explainer-mark svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.rating-explainer b{font-size:14px}.rating-explainer p{margin:4px 0;color:#aaa5ad;font-size:13px}.rating-explainer small{color:#77727b;font-size:11px}
.rank-player,.judge-name{display:inline-flex;align-items:center;gap:9px}
.medal{width:25px;height:25px;display:inline-grid;place-items:center;flex:0 0 25px;border-radius:50%;font-size:10px;font-weight:950;color:#151311;border:2px solid rgba(255,255,255,.26);box-shadow:0 3px 10px rgba(0,0,0,.25)}
.medal.gold{background:#e8bc4a}.medal.silver{background:#cfd3da}.medal.bronze{background:#c57b4e;color:#1d120d}
.rating-table tbody tr:nth-child(1),.rating-table tbody tr:nth-child(2),.rating-table tbody tr:nth-child(3){background:rgba(255,255,255,.012)}
.judge-name b{color:#efebe6!important}.judge-name .medal{color:#151311!important}

/* Game list players */
.game-player-links{display:flex;flex-wrap:wrap;gap:5px 7px;min-width:360px}.game-player-links a{display:inline-flex;padding:3px 7px;border:1px solid #302e35;border-radius:5px;background:#17171a;font-size:11px;color:#b9b4bc;font-weight:650}.game-player-links a:hover{border-color:#693039;background:#251519;color:#fff}

/* Profile rating matrix */
.profile-rating-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:10px}.profile-rating-head h2{margin:3px 0 0}.profile-rating-head small{font-size:10px;color:#77727b;text-align:right}
.split-ratings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;min-width:0}.rating-list.split-ratings>.rating-column{display:block;min-width:0;border:1px solid #29272e;border-radius:8px;padding:10px 13px}
.rating-column h3{margin:0;padding:3px 0 9px;color:#77727b;font-size:10px;letter-spacing:.11em;text-transform:uppercase;border-bottom:1px solid #29272e}
.rating-column a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 2px;border-bottom:1px solid #25232a;font-size:12px}.rating-column a:last-child{border-bottom:0}.rating-column a:hover span{color:#fff}.rating-column a:hover b{transform:translateX(2px)}
.rating-column span{color:#b8b3bb}.rating-column b{font-size:13px;transition:.18s ease}.positive-ratings b{color:#62d197}.negative-ratings b{color:#f05a65}

/* Final PN26 table */
.final-rating-page{position:relative;isolation:isolate}.final-rating-watermark{position:absolute;z-index:-1;width:min(820px,72vw);height:auto;right:-50px;top:30px;opacity:.035;pointer-events:none}
.final-rating-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:14px}.final-rating-summary>div{display:flex;flex-direction:column;min-height:112px;padding:17px 19px;background:#111319;border:1px solid #2d2b32;border-radius:7px}
.final-rating-summary span{color:#77727b;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.final-rating-summary b{font-size:23px;margin-top:8px}.final-rating-summary small{color:#89848c;font-size:11px}
.season-table-wrap{position:relative}.season-table{min-width:1420px}.season-table th,.season-table td{text-align:center}.season-table th:nth-child(2),.season-table td:nth-child(2){text-align:left}.season-table td:first-child{font-weight:900}.season-table .future-month{color:#4e4a51;background:#0e0f13}.season-total{background:#1e1216;color:#ff6570!important;font-size:15px}.season-table tbody tr:nth-child(-n+3){background:rgba(232,188,74,.035)}

/* Replace remaining club-number wording in page furniture */
.footer-kicker{letter-spacing:.16em}

/* Mobile is a first-class layout */
@media(max-width:1260px){
  .rating-filter-panel{grid-template-columns:1.4fr .7fr .7fr 1fr 1fr}.filter-submit{grid-column:1/-1}
  .club-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .top-seasons .season-pill{min-width:50px;padding-inline:8px}.final-rating-link{padding-inline:10px}
}
@media(max-width:1180px){
  .dashboard-hero{grid-template-columns:1fr .75fr;padding:32px}.hero-visual{min-height:310px}.hero-emblem{transform:scale(.88);transform-origin:center right}
  .hero-copy h1{font-size:53px}
}
@media(max-width:900px){
  .site-brand{min-height:128px}.site-brand img{width:108px;height:108px}
  .topbar{height:auto;min-height:118px;padding:10px 13px;display:grid;grid-template-columns:42px auto 1fr;gap:8px;top:0}
  .menu-toggle{grid-column:1}.top-seasons{grid-column:2}.final-rating-link{grid-column:3;justify-self:end}.global-search{grid-column:1/-1;grid-row:2;width:100%;height:42px;margin:0}
  .content{padding-top:20px}.dashboard-hero{grid-template-columns:1fr;padding:27px 25px 18px}.hero-visual{display:block!important;min-height:305px}.hero-emblem{left:50%;right:auto;transform:translateX(-50%) scale(.9);transform-origin:center}
  .hc-red{left:8%}.hc-black{left:7%}
  .rating-filter-panel{grid-template-columns:1fr 1fr}.metric-field{grid-column:1/-1}.filter-submit{grid-column:1/-1}
  .final-rating-summary{grid-template-columns:1fr 1fr}.final-rating-summary>div:first-child{grid-column:1/-1}
  .season-table th:first-child,.season-table td:first-child{position:sticky;left:0;z-index:3;background:#0e0f13}.season-table th:nth-child(2),.season-table td:nth-child(2){position:sticky;left:58px;z-index:3;background:#111319;box-shadow:8px 0 15px rgba(0,0,0,.22)}
}
@media(max-width:650px){
  .topbar{grid-template-columns:40px 1fr auto}.top-seasons{gap:4px}.top-seasons .season-pill{min-width:43px;padding:8px 5px;font-size:10px}.final-rating-link{height:38px;padding:0 9px}.final-rating-link span{font-size:11px}.final-rating-link svg{display:none}
  .search-suggestions{position:fixed;left:10px;right:10px;top:112px;max-height:56vh}
  .dashboard-hero{padding:24px 19px 13px}.hero-copy h1{font-size:41px}.hero-copy p{font-size:14px}.hero-actions{width:100%}.hero-actions .btn{width:100%;text-align:center}
  .hero-visual{min-height:280px}.hero-emblem{transform:translateX(-50%) scale(.78);top:-15px}.hc-red{left:0;top:38px}.hc-black{left:0;bottom:40px}
  .metric-strip{grid-template-columns:1fr 1fr}.metric-strip article{min-width:0;padding:13px}.metric-strip b{font-size:18px}.metric-strip small{font-size:10px}
  .club-stats-grid{grid-template-columns:1fr}.club-stat{min-height:170px;grid-template-rows:auto auto auto auto}.club-stat .stat-value{margin:4px 0 12px}.club-stats-page:before{position:fixed;background-size:115vw}
  .rating-filter-panel{display:flex;flex-direction:column;align-items:stretch}.filter-field,.metric-field,.filter-submit{width:100%}.filter-field input,.filter-field select{width:100%}
  .rating-explainer{grid-template-columns:34px 1fr;padding:14px}.explainer-mark{width:32px;height:32px}.rating-explainer p{font-size:12px}
  .rating-table table{min-width:610px}.medal{width:22px;height:22px;flex-basis:22px}
  .split-ratings{grid-template-columns:1fr}.profile-rating-head{align-items:flex-start;flex-direction:column}.profile-rating-head small{text-align:left}
  .game-player-links{min-width:300px}.game-player-links a{font-size:11px;padding:4px 7px}
  .final-rating-summary{grid-template-columns:1fr}.final-rating-summary>div:first-child{grid-column:auto}.final-rating-summary>div{min-height:92px}
  .season-table{min-width:1300px}.season-table th,.season-table td{padding:11px 9px}.season-table th:nth-child(2),.season-table td:nth-child(2){left:51px;min-width:145px}
}
@media(max-width:420px){
  .topbar{grid-template-columns:38px 1fr}.top-seasons{grid-column:2;justify-self:end}.final-rating-link{grid-column:1/-1;grid-row:2;width:100%;justify-content:center}.global-search{grid-row:3;top:auto}.topbar{min-height:158px}.search-suggestions{top:152px}
  .hero-copy h1{font-size:37px}.hero-emblem{transform:translateX(-50%) scale(.7)}.metric-strip{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}.hero-logo-back{animation:none}
}


/* v1.2.0 — monthly rating and annual PN identity */
.current-rating-link{height:42px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #34404a;border-radius:5px;background:#11171d;color:#e9e4de;font-size:13px;font-weight:800;white-space:nowrap;transition:.2s ease}
.current-rating-link svg{width:17px;height:17px;fill:none;stroke:#8fb9d8;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.current-rating-link:hover,.current-rating-link.active{background:#172531;border-color:#4d7898;transform:translateY(-1px)}

.annual-page,.current-rating-page{position:relative;isolation:isolate}
.annual-watermark{position:absolute;z-index:-1;width:min(900px,74vw);height:auto;left:50%;top:80px;transform:translateX(-50%);opacity:.032;pointer-events:none;filter:saturate(.8)}
.current-rating-watermark{position:absolute;z-index:-1;width:min(760px,64vw);height:auto;right:-20px;top:90px;opacity:.025;pointer-events:none}

.monthly-controls{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(360px,1.8fr) auto;align-items:end;gap:14px;padding:16px 18px;margin-bottom:14px}
.monthly-threshold{min-width:0}
.monthly-threshold-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:9px}
.monthly-threshold-head>div{display:flex;align-items:baseline;gap:10px}
.monthly-threshold-head span{color:#77727b;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.monthly-threshold-head b{font-size:24px;color:#fff;line-height:1}
.monthly-threshold-head small{color:#77727b;font-size:11px;text-align:right}
.monthly-threshold input[type=range]{width:100%;accent-color:#d82b37;cursor:pointer}
.monthly-threshold input[type=range]:disabled{cursor:not-allowed;opacity:.45}
.range-scale{display:flex;justify-content:space-between;margin-top:2px;color:#5e5a62;font-size:10px}
.current-rating-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:14px}
.current-rating-summary>div{display:flex;flex-direction:column;min-height:98px;padding:16px 18px;background:#111319;border:1px solid #2d2b32;border-radius:7px}
.current-rating-summary span{color:#77727b;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.current-rating-summary b{font-size:21px;margin-top:7px}
.current-rating-summary small{color:#89848c;font-size:11px;margin-top:3px}
.current-rating-table td:nth-child(3) strong{font-size:16px;color:#fff}

@media(max-width:1260px){
  .current-rating-link{padding-inline:10px}
}
@media(max-width:1050px){
  .monthly-controls{grid-template-columns:1fr 1.6fr}.monthly-controls .filter-submit{grid-column:1/-1}
  .current-rating-summary{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .topbar{grid-template-columns:42px auto auto 1fr}
  .menu-toggle{grid-column:1}.top-seasons{grid-column:2}.final-rating-link{grid-column:3;justify-self:start}.current-rating-link{grid-column:4;justify-self:end}
  .global-search{grid-column:1/-1;grid-row:2}
}
@media(max-width:650px){
  .topbar{grid-template-columns:40px 1fr 1fr}
  .menu-toggle{grid-column:1}.top-seasons{grid-column:2/4;justify-self:end}
  .final-rating-link{grid-column:1/3;grid-row:2;width:100%;justify-content:center}.current-rating-link{grid-column:3;grid-row:2;width:100%;justify-content:center;height:38px}
  .final-rating-link span,.current-rating-link span{font-size:10px}.current-rating-link svg{display:none}
  .global-search{grid-column:1/-1;grid-row:3}
  .monthly-controls{display:flex;flex-direction:column;align-items:stretch}.monthly-controls>*{width:100%}
  .monthly-threshold-head{align-items:flex-start;flex-direction:column;gap:5px}.monthly-threshold-head small{text-align:left}
  .current-rating-summary{grid-template-columns:1fr 1fr}
  .annual-watermark{position:fixed;width:125vw;top:22vh}
}
@media(max-width:420px){
  .topbar{grid-template-columns:38px 1fr}.top-seasons{grid-column:2}
  .final-rating-link{grid-column:1/-1;grid-row:2}.current-rating-link{grid-column:1/-1;grid-row:3}
  .global-search{grid-row:4}.topbar{min-height:202px}.search-suggestions{top:196px}
  .current-rating-summary{grid-template-columns:1fr}
}

/* v1.2.2 — medal icons + interactive game counter */
.medal-icon{position:relative;width:30px;height:30px;display:inline-grid;place-items:center;flex:0 0 30px;vertical-align:middle;filter:drop-shadow(0 4px 7px rgba(0,0,0,.28))}
.medal-icon svg{width:30px;height:30px;fill:currentColor;stroke:none!important}
.medal-icon i{position:absolute;left:50%;top:66%;transform:translate(-50%,-50%);font-style:normal;font-size:8px;line-height:1;font-weight:950;letter-spacing:-.03em;color:#17130f;text-shadow:0 1px 0 rgba(255,255,255,.18)}
.medal-icon.gold{color:#e4bd50}.medal-icon.silver{color:#c9ced7}.medal-icon.bronze{color:#b9774e}
.rank-player .medal-icon{margin-right:2px}.judge-name .medal-icon{margin-right:7px}.podium-person{display:flex;align-items:center;gap:7px;min-width:0}.podium-person .medal-icon{width:26px;height:26px;flex-basis:26px}.podium-person .medal-icon svg{width:26px;height:26px}.podium-person .medal-icon i{font-size:7px}
.hero-ring-link{color:inherit;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;outline:none}
.hero-ring-link:hover{transform:translateY(-4px) scale(1.025);border-color:#7c2b34;box-shadow:0 0 0 10px rgba(13,14,18,.88),0 28px 65px rgba(0,0,0,.48),0 0 38px rgba(224,32,43,.13)}
.hero-ring-link:focus-visible{box-shadow:0 0 0 3px rgba(224,32,43,.32),0 0 0 10px rgba(13,14,18,.88),0 22px 55px rgba(0,0,0,.42)}

@media(max-width:650px){.medal-icon{width:26px;height:26px;flex-basis:26px}.medal-icon svg{width:26px;height:26px}}

/* v1.2.3 — player search autocomplete */
.player-search-form{position:relative;overflow:visible}
.player-search-box{position:relative;min-width:min(420px,100%);flex:1 1 340px}
.player-search-box>input{width:100%;min-width:0!important}
.player-page-suggestions{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);padding:7px;background:#111214;border:1px solid #353239;border-radius:10px;box-shadow:0 24px 60px rgba(0,0,0,.6);z-index:95;max-height:min(430px,62vh);overflow:auto}
.player-page-suggestions.open{display:block;animation:suggestion-in .16s ease both}
.player-page-suggestions a{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:10px;padding:9px 10px;border-radius:7px;color:#eeeae5}
.player-page-suggestions a:hover,.player-page-suggestions a.active{background:#261417}
.player-page-suggestions a>span:nth-child(2){display:flex;flex-direction:column;min-width:0}
.player-page-suggestions b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-page-suggestions small{font-size:10px;color:#8f8990}
.player-suggest-mark{width:32px;height:32px;display:grid;place-items:center;border:1px solid #453035;border-radius:6px;color:#ef4350;font-size:9px;font-weight:900;background:#171315}
@media(max-width:650px){.player-search-box{min-width:0;width:100%}.player-page-suggestions{position:fixed;left:10px;right:10px;top:auto;max-height:52vh}}

/* v1.2.4 compact final rating + clearer total column */
.final-rating-summary{gap:9px}.final-rating-summary>div{min-height:102px;padding:15px 17px}.season-table{min-width:1350px;table-layout:auto}.season-table th,.season-table td{padding:9px 8px;font-size:10px;white-space:nowrap}.season-table th:first-child,.season-table td:first-child{min-width:56px}.season-table th:nth-child(2),.season-table td:nth-child(2){min-width:160px}.season-total{font-size:13px;font-weight:900;min-width:86px;padding-right:14px!important;white-space:nowrap}.season-table th:last-child,.season-table td:last-child{text-align:right;min-width:86px}.season-table tbody tr td:last-child{box-shadow:inset 1px 0 0 rgba(255,255,255,.03)}


/* v1.2.5 — instant rating selector + player artwork */
.rating-filter-panel{align-items:flex-end}
.profile-hero{position:relative}
.profile-hero.has-player-art{min-height:238px;margin-bottom:10px;padding:34px 325px 26px 28px;display:flex;align-items:center;overflow:hidden;border:1px solid #28242c;border-radius:18px;background:linear-gradient(112deg,#141116 0%,#0d0f14 60%,#171015 100%);box-shadow:0 14px 44px rgba(0,0,0,.18)}
.profile-hero.has-player-art:before{content:"";position:absolute;right:-70px;top:-120px;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(227,38,54,.18),rgba(227,38,54,.035) 45%,transparent 70%);pointer-events:none}
.profile-hero.has-player-art .compact-player-head{position:relative;z-index:3;margin:0}
.profile-hero.has-player-art .compact-player-head h1{font-size:clamp(42px,5vw,68px);letter-spacing:-.055em;margin-top:8px}
.profile-hero.has-player-art .compact-player-head p{font-size:12px;color:#979aa3}
.player-art-shell{position:absolute;z-index:2;right:16px;bottom:0;width:310px;height:238px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;pointer-events:none}
.player-art-glow{position:absolute;right:30px;bottom:-70px;width:255px;height:255px;border-radius:50%;background:radial-gradient(circle,rgba(239,55,70,.22),rgba(239,55,70,.04) 48%,transparent 72%);filter:blur(2px)}
.player-art{position:relative;z-index:2;display:block;max-width:none;width:295px;height:auto;max-height:255px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 24px rgba(0,0,0,.45))}
@media(max-width:900px){.profile-hero.has-player-art{padding-right:245px;min-height:205px}.player-art-shell{width:235px;height:205px}.player-art{width:238px;max-height:220px}}
@media(max-width:650px){.profile-hero.has-player-art{min-height:220px;padding:24px 128px 22px 20px}.profile-hero.has-player-art .compact-player-head h1{font-size:38px}.player-art-shell{right:-22px;width:165px;height:210px}.player-art{width:185px;max-height:210px;opacity:.9}.player-art-glow{width:180px;height:180px;right:0}}

/* v1.2.6 — profile redesign + Sheriff vs Don. Mobile is equal priority. */
.profile-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:stretch;margin-bottom:14px}
.profile-overview-card{position:relative;isolation:isolate;aspect-ratio:1/1;min-width:0;overflow:hidden;border:1px solid #2b2931;border-radius:20px;background:linear-gradient(145deg,#171217 0%,#0d0f14 54%,#141116 100%);box-shadow:0 18px 55px rgba(0,0,0,.26)}
.profile-overview-ambient{position:absolute;z-index:-2;inset:0;background:radial-gradient(circle at 79% 25%,rgba(227,38,54,.20),transparent 35%),linear-gradient(125deg,rgba(255,255,255,.018),transparent 40%)}
.profile-overview-card:after{content:"";position:absolute;z-index:-1;width:68%;height:68%;right:-22%;top:-24%;border:1px solid rgba(239,65,79,.14);border-radius:50%;box-shadow:0 0 0 34px rgba(227,38,54,.025),0 0 0 76px rgba(227,38,54,.012)}
.profile-overview-heading{position:absolute;z-index:5;left:28px;top:27px;max-width:68%}.profile-overview-heading h1{margin:5px 0 4px;font-size:clamp(42px,4.6vw,72px);line-height:.92;letter-spacing:-.06em}.profile-overview-heading p{margin:0;color:#96919a;font-size:12px;font-weight:650}
.profile-art-stage{position:absolute;z-index:2;inset:2% -2% 19% 17%;display:flex;justify-content:flex-end;align-items:flex-end;pointer-events:none}.profile-art-halo{position:absolute;width:70%;aspect-ratio:1;border-radius:50%;right:4%;bottom:0;background:radial-gradient(circle,rgba(232,43,58,.26),rgba(232,43,58,.06) 45%,transparent 70%);filter:blur(5px)}.profile-main-art{position:relative;z-index:2;display:block;width:82%;height:100%;max-width:none;object-fit:contain;object-position:right bottom;filter:drop-shadow(0 24px 28px rgba(0,0,0,.52))}
.profile-watermark{position:absolute;right:8%;top:17%;font-size:clamp(120px,16vw,235px);font-weight:950;letter-spacing:-.1em;color:rgba(255,255,255,.025);transform:rotate(-8deg)}
.profile-overview-stats{position:absolute;z-index:8;left:18px;right:18px;bottom:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:10px;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:rgba(10,11,15,.83);box-shadow:0 15px 34px rgba(0,0,0,.28);backdrop-filter:blur(15px)}
.profile-overview-stats>div{min-width:0;padding:8px 9px;border-right:1px solid #292831}.profile-overview-stats>div:nth-child(4n){border-right:0}.profile-overview-stats b{display:block;font-size:17px;line-height:1.05;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-overview-stats span{display:block;margin-top:4px;color:#716e77;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-ratings-main{margin:0;min-height:100%;padding:18px;overflow:hidden}.profile-ratings-main .split-ratings{height:calc(100% - 52px)}.profile-ratings-main .rating-column{height:100%}.profile-ratings-main .rating-column a{padding:9px 2px}
.profile-history-section{padding:0;overflow:hidden}.profile-history-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:18px 18px 13px}.profile-history-head h2{margin:3px 0 0;font-size:18px}.profile-history-head small{font-size:10px;color:#6d6971}.profile-history-mobile{display:none}

.duel-card-list{padding:0;overflow:hidden}.duel-column-head{display:grid;grid-template-columns:50px minmax(0,1fr) 110px minmax(0,1fr);gap:12px;padding:10px 17px;background:#101218;border-bottom:1px solid #242832;color:#66616a;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.duel-column-head span:nth-child(2){text-align:left}.duel-column-head span:nth-child(3){text-align:center}.duel-column-head span:nth-child(4){text-align:right}
.duel-row{display:grid;grid-template-columns:50px minmax(0,1fr) 110px minmax(0,1fr);gap:12px;align-items:center;padding:13px 17px;border-bottom:1px solid #20242d;transition:.16s ease}.duel-row:last-child{border-bottom:0}.duel-row:hover{background:rgba(227,38,54,.035)}.duel-rank{font-size:12px;font-weight:950;color:#65616a}.duel-player{min-width:0;display:flex;flex-direction:column}.duel-player b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.duel-player small{margin-top:2px;color:#7e7982;font-size:10px}.duel-player.don-side{text-align:right;align-items:flex-end}.duel-role{font-size:8px;font-weight:950;letter-spacing:.11em;margin-bottom:3px}.sheriff-side .duel-role{color:#e5c157}.don-side .duel-role{color:#f15d68}.duel-score{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:54px;border-left:1px solid #28262d;border-right:1px solid #28262d}.duel-score b{font-size:19px;line-height:1}.duel-score span{margin-top:3px;color:#716d76;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.duel-score i{position:absolute;right:-10px;top:50%;transform:translate(50%,-50%);font-style:normal;font-size:7px;font-weight:950;color:#4e4b52;background:#111319;padding:2px 3px}

@media(max-width:1050px){
  .profile-top-grid{grid-template-columns:1fr}.profile-overview-card{width:min(720px,100%);justify-self:center}.profile-ratings-main{min-height:auto}.profile-ratings-main .split-ratings{height:auto}.profile-ratings-main .rating-column{height:auto}
}
@media(max-width:650px){
  .profile-top-grid{gap:10px;margin-bottom:10px}.profile-overview-card{aspect-ratio:4/5;border-radius:15px}.profile-overview-heading{left:18px;top:20px;max-width:78%}.profile-overview-heading h1{font-size:44px}.profile-overview-heading p{font-size:11px}.profile-art-stage{inset:8% -12% 24% 2%}.profile-main-art{width:100%;height:100%;object-position:right bottom}.profile-art-halo{width:92%;right:-7%;bottom:-3%}.profile-overview-stats{left:10px;right:10px;bottom:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:8px 9px}.profile-overview-stats>div{padding:8px 10px;border-right:1px solid #292831;border-bottom:1px solid #292831}.profile-overview-stats>div:nth-child(2n){border-right:0}.profile-overview-stats>div:nth-last-child(-n+2){border-bottom:0}.profile-overview-stats b{font-size:16px}.profile-overview-stats span{font-size:8px}.profile-ratings-main{padding:14px}.profile-ratings-main .rating-column a{padding:9px 2px;font-size:12px}
  .profile-history-head{align-items:flex-start;flex-direction:column;padding:15px 14px 10px}.profile-history-desktop{display:none}.profile-history-mobile{display:flex;flex-direction:column;padding:0 10px 10px}.profile-game-card{display:block;padding:12px 11px;border-top:1px solid #252830}.profile-game-card:first-child{border-top:0}.profile-game-card-top,.profile-game-card-main{display:flex;align-items:center;justify-content:space-between;gap:9px}.profile-game-card-top b{font-size:12px;color:#f0ece8}.profile-game-card-top span{font-size:10px;color:#77727e}.profile-game-card-main{margin-top:8px}.profile-game-card-main>span:not(.role){font-size:10px;color:#77727e}.profile-game-card-main strong{font-size:15px;color:#fff}
  .duel-column-head{display:none}.duel-row{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);gap:7px;padding:13px 11px;position:relative}.duel-rank{position:absolute;left:9px;top:7px;font-size:8px;color:#56525a}.duel-player{padding-top:8px}.duel-player b{font-size:11px}.duel-player small{font-size:9px;line-height:1.25}.duel-role{font-size:7px}.duel-score{grid-column:2;min-height:56px}.duel-score b{font-size:17px}.duel-score i{display:none}
}
@media(max-width:390px){
  .profile-overview-heading h1{font-size:38px}.profile-overview-heading{max-width:86%}.profile-art-stage{inset:9% -17% 25% -5%}.profile-overview-stats b{font-size:15px}.profile-ratings-main{padding:12px}.rating-column a{font-size:11px}.duel-row{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);gap:5px;padding-inline:8px}.duel-player b{font-size:10px}.duel-player small{font-size:8px}.duel-score{min-height:50px}.duel-score b{font-size:15px}
}


/* v1.2.7 — profile polish + red-vote ranking. Mobile remains first-class. */
.profile-overview-card:before{
  content:"";position:absolute;z-index:-1;inset:6% 7% 20% 7%;
  background:url('/static/logo-pn.png') center/58% auto no-repeat;
  opacity:.075;filter:saturate(.8) contrast(1.05);pointer-events:none;
}
.profile-overview-card.has-profile-art:before{background-size:62% auto;background-position:18% 42%;opacity:.065}
.profile-overview-heading p{font-size:24px;line-height:1.2;font-weight:750;letter-spacing:-.02em;color:#aaa5ad;text-shadow:0 2px 12px rgba(0,0,0,.55)}
.profile-ratings-main .rating-list.split-ratings>.rating-column{display:flex;flex-direction:column}
.profile-ratings-main .rating-column h3{font-size:11px;padding:4px 1px 11px}
.profile-ratings-main .rating-column a{flex:1;min-height:39px;padding:8px 3px;font-size:14px;font-weight:650}
.profile-ratings-main .rating-column b{font-size:15px}.profile-ratings-main .rating-column span{line-height:1.22}
@media(max-width:1050px){
  .profile-overview-heading p{font-size:21px}
  .profile-ratings-main .rating-column a{min-height:42px;font-size:14px}
}
@media(max-width:650px){
  .profile-overview-card:before{inset:8% 2% 24% 2%;background-size:78% auto;background-position:center 42%;opacity:.06}
  .profile-overview-card.has-profile-art:before{background-size:80% auto;background-position:10% 38%;opacity:.055}
  .profile-overview-heading p{font-size:18px;line-height:1.25;max-width:92%}
  .profile-ratings-main .rating-column h3{font-size:10px}
  .profile-ratings-main .rating-column a{min-height:44px;padding:10px 2px;font-size:13px}
  .profile-ratings-main .rating-column b{font-size:14px}
}
@media(max-width:390px){
  .profile-overview-heading p{font-size:16px;max-width:96%}
  .profile-ratings-main .rating-column a{font-size:12px;min-height:42px}
}

/* v1.2.8 — clearer profile summary and final season table */
.profile-overview-summary{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:12px;color:#e9e6e3;font-size:15px;line-height:1.12;font-weight:700;text-shadow:0 2px 12px rgba(0,0,0,.7)}
.profile-overview-summary span{display:block;white-space:nowrap}
.profile-overview-summary b{color:#fff;font-size:21px;letter-spacing:-.035em}
.profile-overview-card:before{opacity:.18;filter:saturate(1) contrast(1.12)}
.profile-overview-card.has-profile-art:before{opacity:.15}
.final-rating-watermark{opacity:.07}
.season-table{min-width:1450px}
.season-table th,.season-table td{padding:11px 9px;font-size:11px}
.season-table th:nth-child(2),.season-table td:nth-child(2){min-width:172px}
.season-total{font-size:14px;min-width:92px}
@media(max-width:1050px){
  .profile-overview-summary{font-size:14px;gap:4px}
  .profile-overview-summary b{font-size:19px}
}
@media(max-width:650px){
  .profile-overview-summary{margin-top:10px;gap:3px;font-size:13px}
  .profile-overview-summary b{font-size:18px}
  .profile-overview-card:before{opacity:.14}
  .profile-overview-card.has-profile-art:before{opacity:.12}
  .final-rating-watermark{opacity:.055}
  .season-table{min-width:1410px}
  .season-table th,.season-table td{padding:11px 9px;font-size:11px}
  .season-table th:nth-child(2),.season-table td:nth-child(2){min-width:166px}
}

/* v1.2.9 — compact final table, stronger profile branding and player table filters */
.profile-overview-card:before{opacity:.30;filter:saturate(1.05) contrast(1.14)}
.profile-overview-card.has-profile-art:before{opacity:.26}
.profile-rating-head{min-height:24px}

.season-table-wrap{overflow:hidden}
.season-table{width:100%;min-width:0;table-layout:fixed}
.season-table th,.season-table td{padding:9px 4px;font-size:10px;text-align:center;white-space:nowrap}
.season-table th:first-child,.season-table td:first-child{width:48px}
.season-table th:nth-child(2),.season-table td:nth-child(2){width:150px;min-width:0;text-align:left}
.season-table th:last-child,.season-table td:last-child{width:78px}
.season-table .rank-player{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.season-total{font-size:13px;min-width:0}

.player-table-help{margin:-4px 0 10px;color:#777b85;font-size:10px}
.player-table-help b{color:#c7cad1}
.players-table-wrap table{min-width:720px}
.player-column-filters th{padding:7px 8px;background:#0d0f14}
.player-column-filters input{width:100%;min-width:0;height:30px;padding:0 8px;border:1px solid #292d37;border-radius:7px;background:#15181f;color:#e8e8eb;font-size:10px;outline:0;text-transform:none;letter-spacing:0}
.player-column-filters input:focus{border-color:#7d2831;box-shadow:0 0 0 2px rgba(227,38,54,.08)}
.players-filter-empty{padding:24px;text-align:center;color:#777b85;font-size:11px}

@media(max-width:900px){
  .season-table th,.season-table td{padding:8px 2px;font-size:9px}
  .season-table th:first-child,.season-table td:first-child{width:38px}
  .season-table th:nth-child(2),.season-table td:nth-child(2){width:120px}
  .season-table th:last-child,.season-table td:last-child{width:64px}
}
@media(max-width:650px){
  .profile-overview-card:before{opacity:.25}
  .profile-overview-card.has-profile-art:before{opacity:.22}
  .season-table-wrap{margin-left:-5px;margin-right:-5px}
  .season-table th,.season-table td{padding:7px 1px;font-size:7.5px;letter-spacing:-.02em}
  .season-table th:first-child,.season-table td:first-child{width:28px}
  .season-table th:nth-child(2),.season-table td:nth-child(2){width:76px}
  .season-table th:last-child,.season-table td:last-child{width:45px}
  .season-table td:nth-child(2) b{font-size:8px}
  .season-table .medal-icon{display:none}
  .season-total{font-size:9px}
  .player-table-help{font-size:9px;line-height:1.45}
}
@media(max-width:390px){
  .season-table th,.season-table td{font-size:6.8px}
  .season-table th:nth-child(2),.season-table td:nth-child(2){width:68px}
  .season-table th:last-child,.season-table td:last-child{width:42px}
}

/* v1.2.10 — sortable player columns, compact game detail, profile watermark cleanup */
.player-sort{appearance:none;border:0;background:none;color:inherit;font:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;padding:0;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}
.player-sort:hover,.player-sort.active{color:#fff}
.player-sort span{min-width:8px;color:#ef5360;font-size:8px}
.players-table-wrap table{min-width:640px}

.profile-watermark{display:none!important}

.game-pagehead{margin-bottom:10px}
.game-pagehead h1{font-size:30px;margin:2px 0 2px}
.game-pagehead p{font-size:10px;margin:0}
.game-detail-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.game-player-card{min-width:0;display:flex;gap:8px;padding:9px 10px;border-radius:13px}
.game-player-card .seat{width:29px;height:29px;flex:0 0 29px;border-radius:8px;font-size:12px}
.game-player-card .grow{min-width:0}
.game-player-title{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.game-player-title h3{margin:0;min-width:0;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-player-title .role{flex:0 0 auto;font-size:7px;padding:2px 5px}
.game-player-score-row{display:flex;align-items:center;justify-content:space-between;gap:5px}
.game-player-card .score{font-size:17px;margin:4px 0 2px}
.game-player-card .score small{font-size:7px}
.game-player-badges{display:flex;gap:3px;justify-content:flex-end;flex-wrap:wrap}
.game-player-card .pill{padding:2px 4px;font-size:6px}
.game-player-card .micro{font-size:7.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-player-card .game-lh{margin-top:2px}
.game-score-details{margin-top:3px}
.game-score-details summary{font-size:7.5px}
.game-score-details .scores{margin-top:4px;max-height:118px;overflow:auto}
.game-score-details .scores li{padding:3px 0;font-size:7.5px}
.game-events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}
.game-event-card{margin:0;padding:9px 11px;min-width:0}
.game-event-card h2{font-size:10px;margin:0 0 6px}
.game-event-chips{gap:5px}
.game-event-chips span{padding:4px 6px;font-size:7.5px}

@media(max-width:1500px){
  .game-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1180px){
  .game-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .game-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .players-table-wrap table{min-width:600px}
  .player-sort{gap:3px}
  .game-pagehead h1{font-size:26px}
  .game-detail-grid{grid-template-columns:1fr 1fr;gap:6px}
  .game-player-card{padding:8px;gap:6px}
  .game-player-card .seat{width:25px;height:25px;flex-basis:25px;font-size:10px}
  .game-player-title{display:block}
  .game-player-title h3{font-size:9px;margin-bottom:3px}
  .game-player-title .role{font-size:6px}
  .game-player-card .score{font-size:15px}
  .game-player-card .micro{font-size:7px}
  .game-events-grid{grid-template-columns:1fr}
}
@media(max-width:430px){
  .game-detail-grid{grid-template-columns:1fr}
}
.game-player-card{margin:0;min-height:0}

/* v1.2.11 — 34 transparent character assets across 33 matched player profiles */
.profile-overview-card.has-profile-art{background:linear-gradient(145deg,#171217 0%,#0d0f14 52%,#181017 100%)}
.profile-overview-card.has-profile-art .profile-overview-heading{max-width:58%}
.profile-overview-card.has-profile-art .profile-overview-heading h1{overflow-wrap:anywhere;text-wrap:balance;text-shadow:0 3px 18px rgba(0,0,0,.85)}
.profile-art-stage{inset:3% -2% 20% 25%;width:auto;height:auto;overflow:visible;align-items:flex-end;justify-content:flex-end}
.profile-art-stage picture{position:relative;z-index:2;display:flex;width:100%;height:100%;align-items:flex-end;justify-content:flex-end}
.profile-main-art{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:right bottom;filter:drop-shadow(0 22px 28px rgba(0,0,0,.52))}
.profile-art-stage:after{content:"";position:absolute;z-index:3;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(13,15,20,.82) 0%,rgba(13,15,20,.28) 20%,transparent 43%)}
.profile-art-stage.art-tall{inset:2% 0 20% 37%}
.profile-art-stage.art-portrait{inset:3% -1% 20% 30%}
.profile-art-stage.art-wide{inset:8% -4% 20% 20%}
.profile-art-stage.art-wide .profile-main-art{object-position:right bottom}
.profile-art-stage.art-tall .profile-main-art{object-position:right bottom}
.profile-overview-card.has-profile-art:before{background-position:12% 45%;background-size:52% auto;opacity:.20}

@media(max-width:1050px){
  .profile-overview-card.has-profile-art{min-height:620px;aspect-ratio:6/5}
  .profile-overview-card.has-profile-art .profile-overview-heading{max-width:52%}
  .profile-art-stage{inset:3% -1% 20% 30%}
  .profile-art-stage.art-wide{inset:8% -2% 20% 25%}
  .profile-art-stage.art-tall{inset:2% 1% 20% 42%}
}

@media(max-width:650px){
  .profile-overview-card.has-profile-art{width:100%;min-height:510px;aspect-ratio:4/5}
  .profile-overview-card.has-profile-art .profile-overview-heading{left:17px;top:18px;max-width:54%}
  .profile-overview-card.has-profile-art .profile-overview-heading h1{font-size:clamp(30px,10vw,44px);line-height:.94}
  .profile-overview-card.has-profile-art .profile-overview-summary{font-size:12px;gap:2px}
  .profile-overview-card.has-profile-art .profile-overview-summary b{font-size:17px}
  .profile-art-stage{inset:7% -7% 25% 28%;width:auto;height:auto}
  .profile-art-stage.art-wide{inset:12% -12% 25% 18%}
  .profile-art-stage.art-portrait{inset:7% -8% 25% 27%}
  .profile-art-stage.art-tall{inset:5% -3% 25% 41%}
  .profile-art-stage:after{background:linear-gradient(90deg,rgba(13,15,20,.78) 0%,rgba(13,15,20,.18) 25%,transparent 48%)}
  .profile-art-halo{width:100%;right:-8%;bottom:-5%}
  .profile-overview-card.has-profile-art:before{background-size:78% auto;background-position:8% 42%;opacity:.16}
  .profile-overview-stats{background:rgba(10,11,15,.92);backdrop-filter:blur(18px)}
}

@media(max-width:390px){
  .profile-overview-card.has-profile-art{min-height:485px}
  .profile-overview-card.has-profile-art .profile-overview-heading{max-width:56%}
  .profile-overview-card.has-profile-art .profile-overview-heading h1{font-size:clamp(27px,9.5vw,37px)}
  .profile-art-stage.art-wide{inset:13% -15% 26% 16%}
  .profile-art-stage.art-tall{inset:6% -5% 26% 40%}
  .profile-overview-stats{left:8px;right:8px;bottom:8px;padding:7px}
}

/* v1.2.12 — 33-player club portrait and compact hero statistics */
.dashboard-hero{
  min-height:0;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
  padding:22px 24px;
  align-items:stretch;
}
.hero-group-photo{
  min-width:0;
  min-height:390px;
  display:flex;
  align-items:center;
  overflow:hidden;
  border:1px solid #3c282d;
  border-radius:6px;
  background:#100d0f;
  box-shadow:inset 0 0 42px rgba(0,0,0,.35),0 18px 38px rgba(0,0,0,.24);
}
.hero-group-photo picture{display:block;width:100%}
.hero-group-photo img{display:block;width:100%;height:auto;object-fit:cover;object-position:center}
.hero-visual{min-height:390px!important;position:relative}
.hero-emblem{top:-2px;right:5px}
.hero-win-pair{
  position:absolute;
  z-index:5;
  left:0;
  right:0;
  bottom:2px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.hero-win-pair .hero-card{
  position:relative;
  inset:auto!important;
  min-width:0;
  width:auto;
  padding:11px 12px;
  text-align:center;
}
.hero-win-pair .hero-card b{font-size:24px}
.hero-win-pair .hero-card span{white-space:nowrap}

@media(max-width:1180px){
  .dashboard-hero{grid-template-columns:minmax(0,1fr) 330px;gap:16px;padding:20px}
  .hero-group-photo{min-height:350px}
  .hero-visual{min-height:350px!important}
  .hero-emblem{right:-8px;transform:scale(.88);transform-origin:center right}
}
@media(max-width:900px){
  .dashboard-hero{grid-template-columns:1fr;gap:14px;padding:18px}
  .hero-group-photo{min-height:0}
  .hero-visual{min-height:390px!important}
  .hero-emblem{left:50%;right:auto;transform:translateX(-50%) scale(.9);transform-origin:center}
  .hero-win-pair{left:50%;right:auto;width:min(350px,100%);transform:translateX(-50%)}
}
@media(max-width:650px){
  .dashboard-hero{padding:12px;gap:10px}
  .hero-group-photo{border-radius:5px}
  .hero-group-photo img{aspect-ratio:5/6;object-fit:cover;object-position:center top}
  .hero-visual{min-height:335px!important}
  .hero-emblem{top:-17px;transform:translateX(-50%) scale(.78)}
  .hero-win-pair{gap:6px;bottom:0}
  .hero-win-pair .hero-card{padding:9px 7px}
  .hero-win-pair .hero-card small{font-size:8px}
  .hero-win-pair .hero-card b{font-size:21px}
  .hero-win-pair .hero-card span{font-size:9px}
}
@media(max-width:420px){
  .hero-visual{min-height:305px!important}
  .hero-emblem{transform:translateX(-50%) scale(.7)}
}

/* v1.2.13 — selected profile scale tuning and full-page game layout */
.profile-art-stage.profile-art-heshka{inset:0 -8% 20% 20%}
.profile-art-stage.profile-art-ander{inset:0 -8% 20% 28%}
.profile-overview-card.profile-player-shahmatist09 .profile-overview-heading{max-width:72%}
.profile-overview-card.profile-player-shahmatist09 .profile-overview-heading h1{
  font-size:clamp(34px,3.6vw,56px);
  letter-spacing:-.055em;
  white-space:nowrap;
}

.game-pagehead{margin-bottom:14px}
.game-pagehead h1{font-size:38px}
.game-pagehead p{font-size:12px}
.game-detail-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  min-height:clamp(430px,58vh,620px);
  gap:12px;
}
.game-player-card{
  height:100%;
  padding:16px 17px;
  gap:12px;
  border-radius:16px;
  align-items:flex-start;
}
.game-player-card .seat{width:38px;height:38px;flex-basis:38px;border-radius:10px;font-size:15px}
.game-player-title h3{font-size:14px}
.game-player-title .role{font-size:8px;padding:3px 7px}
.game-player-card .score{font-size:25px;margin:10px 0 7px}
.game-player-card .score small{font-size:9px}
.game-player-card .pill{padding:3px 6px;font-size:7px}
.game-player-card .micro{font-size:10px;line-height:1.45;white-space:normal}
.game-player-card .game-lh{margin-top:5px}
.game-score-details{margin-top:7px}
.game-score-details summary{font-size:10px}
.game-score-details .scores{max-height:128px}
.game-score-details .scores li{padding:4px 0;font-size:9px}
.game-events-grid{gap:10px;margin-top:10px}
.game-event-card{padding:12px 15px}
.game-event-card h2{font-size:12px}
.game-event-chips span{font-size:9px}

@media(max-width:1180px) and (min-width:901px){
  .game-detail-grid{gap:8px;min-height:clamp(420px,56vh,560px)}
  .game-player-card{padding:12px 10px;gap:7px}
  .game-player-card .seat{width:31px;height:31px;flex-basis:31px;font-size:12px}
  .game-player-title{display:block}
  .game-player-title h3{font-size:11px;margin-bottom:4px}
  .game-player-card .score{font-size:20px;margin:7px 0 5px}
  .game-player-card .micro{font-size:8.5px}
}
@media(max-width:1050px){
  .profile-art-stage.profile-art-heshka{inset:0 -7% 20% 20%}
  .profile-art-stage.profile-art-ander{inset:0 -7% 20% 30%}
}
@media(max-width:900px){
  .game-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;min-height:0}
  .game-player-card{height:auto;min-height:150px}
}
@media(max-width:650px){
  .profile-art-stage.profile-art-heshka{inset:3% -13% 25% 19%}
  .profile-art-stage.profile-art-ander{inset:2% -9% 25% 32%}
  .profile-overview-card.profile-player-shahmatist09 .profile-overview-heading{max-width:82%}
  .profile-overview-card.profile-player-shahmatist09 .profile-overview-heading h1{font-size:clamp(25px,8.4vw,34px)}
  .game-pagehead h1{font-size:30px}
  .game-pagehead p{font-size:10px}
  .game-detail-grid{gap:8px}
  .game-player-card{min-height:145px;padding:11px 10px;gap:8px}
  .game-player-card .seat{width:30px;height:30px;flex-basis:30px;font-size:11px}
  .game-player-title h3{font-size:11px}
  .game-player-card .score{font-size:20px;margin:6px 0 4px}
  .game-player-card .micro{font-size:8.5px}
}
@media(max-width:430px){
  .game-detail-grid{grid-template-columns:1fr}
  .game-player-card{min-height:0}
}

/* v1.2.14 avatars + homepage hero grid */
.player-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;overflow:hidden;background:linear-gradient(180deg,#151922,#0b0e14);box-shadow:0 0 0 1px rgba(255,255,255,.12) inset,0 8px 18px rgba(0,0,0,.22)}
.player-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.player-avatar.fallback{color:#f2f4f8;font-weight:800;letter-spacing:.02em}
.player-avatar.hero{width:76px;height:76px}
.player-avatar.sm{width:48px;height:48px}
.player-avatar.xs{width:34px;height:34px}
.player-avatar.tiny{width:26px;height:26px}
.inline-avatar-link,.rank-player,.leader-row,.duel-player,.game-player-identity,.player-label-inline,.pair-inline,.game-info-with-avatar{display:inline-flex;align-items:center;gap:10px}
.inline-avatar-link.compact,.pair-inline .inline-avatar-link{gap:6px}
.inline-avatar-link.compact b,.inline-avatar-link.compact span,.pair-inline b{line-height:1.1}
.player-label-inline>div,.game-info-with-avatar>div{display:flex;flex-direction:column}
.pair-inline{flex-wrap:wrap;gap:6px}
.pair-inline>span{opacity:.55;font-weight:700}
.hero-with-avatars{align-items:stretch}
.hero-avatar-wall{padding:22px 20px 16px;border:1px solid rgba(255,255,255,.08);border-radius:28px;background:radial-gradient(circle at 20% 20%,rgba(227,38,54,.18),transparent 32%),linear-gradient(145deg,#14171f 0%,#0a0d12 65%,#11131a 100%);box-shadow:0 18px 45px rgba(0,0,0,.22)}
.hero-avatar-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;justify-items:center;align-items:center}
.hero-avatar-link{display:flex;align-items:center;justify-content:center;padding:0;border-radius:50%;transition:transform .16s ease,filter .16s ease}
.hero-avatar-link:hover{transform:translateY(-2px) scale(1.03);filter:brightness(1.06)}
.leader-row,.pu-list a,.recent-game{align-items:center}
.game-player-identity{display:flex;align-items:center;gap:12px;min-width:0}
.game-player-identity h3{margin:0}
.game-player-identity h3 a{color:inherit;text-decoration:none}
.game-player-title{gap:12px}
.game-player-card{min-height:0}
.profile-player-heshka .profile-main-art{object-position:62% bottom;transform:translateX(-4%)}
.profile-player-heshka .profile-art-stage{inset:1% -2% 18% 12%}
.profile-player-shahmatist09 .profile-overview-heading h1{font-size:clamp(30px,3vw,46px);letter-spacing:-.02em}
@media (max-width:1100px){
  .hero-avatar-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-width:760px){
  .hero-avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .player-avatar.hero{width:64px;height:64px}
  .player-avatar.sm{width:42px;height:42px}
}
@media (max-width:560px){
  .hero-avatar-wall{padding:16px 12px}
  .hero-avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .player-avatar.hero{width:58px;height:58px}
  .inline-avatar-link,.rank-player,.leader-row,.duel-player,.game-player-identity,.player-label-inline,.game-info-with-avatar{gap:8px}
  .profile-player-heshka .profile-main-art{transform:translateX(-6%)}
}

/* v1.2.15 — even homepage avatar wall + Sheriff vs Don alignment */
.hero-avatar-wall{
  min-height:510px;
  padding:24px 20px;
  align-items:stretch;
}
.hero-avatar-grid{
  width:100%;
  height:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-evenly;
  align-content:space-evenly;
  align-items:center;
  column-gap:8px;
  row-gap:14px;
}
.hero-avatar-link{
  flex:0 0 calc(14.285% - 10px);
  min-width:0;
}
.player-avatar.hero{
  width:88px;
  height:88px;
  max-width:100%;
}

/* Keep duel rows symmetric after avatars were introduced. */
.duel-player{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center!important;
  gap:11px!important;
  flex-direction:unset!important;
  padding-top:0!important;
  text-align:left;
}
.duel-player>span:not(.player-avatar){
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.duel-player .player-avatar.sm{
  width:46px;
  height:46px;
}
.duel-player.don-side{
  grid-template-columns:minmax(0,1fr) 48px;
  text-align:right;
  align-items:center!important;
}
.duel-player.don-side>span:not(.player-avatar){
  order:1;
  align-items:flex-end;
}
.duel-player.don-side>.player-avatar{
  order:2;
}
.duel-player b,
.duel-player small,
.duel-role{
  max-width:100%;
}

@media(max-width:1180px){
  .hero-avatar-wall{min-height:490px;padding:22px 16px}
  .hero-avatar-link{flex-basis:calc(14.285% - 8px)}
  .player-avatar.hero{width:82px;height:82px}
}

@media(max-width:900px){
  .hero-avatar-wall{min-height:470px;padding:20px 14px}
  .hero-avatar-link{flex-basis:calc(14.285% - 8px)}
  .player-avatar.hero{width:78px;height:78px}
}

@media(max-width:650px){
  .hero-avatar-wall{min-height:540px;padding:16px 10px}
  .hero-avatar-grid{column-gap:6px;row-gap:10px}
  .hero-avatar-link{flex-basis:calc(20% - 7px)}
  .player-avatar.hero{width:64px;height:64px}

  .duel-row{
    grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)!important;
    gap:7px!important;
    padding:12px 8px!important;
  }
  .duel-player{
    grid-template-columns:36px minmax(0,1fr);
    gap:6px!important;
  }
  .duel-player.don-side{
    grid-template-columns:minmax(0,1fr) 36px;
  }
  .duel-player .player-avatar.sm{
    width:34px;
    height:34px;
  }
  .duel-player b{font-size:10px!important}
  .duel-player small{font-size:8px!important;line-height:1.2}
  .duel-role{font-size:7px!important;margin-bottom:2px}
}

@media(max-width:420px){
  .hero-avatar-wall{min-height:590px}
  .hero-avatar-link{flex-basis:calc(25% - 6px)}
  .player-avatar.hero{width:58px;height:58px}

  .duel-row{
    grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr)!important;
    gap:4px!important;
    padding-inline:6px!important;
  }
  .duel-player{
    grid-template-columns:30px minmax(0,1fr);
    gap:5px!important;
  }
  .duel-player.don-side{
    grid-template-columns:minmax(0,1fr) 30px;
  }
  .duel-player .player-avatar.sm{
    width:29px;
    height:29px;
  }
  .duel-player b{font-size:9px!important}
  .duel-player small{font-size:7px!important}
  .duel-score b{font-size:14px!important}
}

/* v1.2.16 — restore the leader grid after adding avatars */
.leader-row{
  display:grid!important;
  grid-template-columns:32px 42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%;
}
.leader-row .player-avatar.sm{
  width:38px;
  height:38px;
}
.leader-row .leader-name{
  min-width:0;
  display:flex;
  flex-direction:column;
  line-height:1.2;
}
.leader-row .leader-name b{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:800;
  letter-spacing:0;
  transform:none;
}
.leader-row .leader-name small{
  white-space:nowrap;
  font-size:8px;
  line-height:1.2;
}
.leader-row .leader-value{
  min-width:58px;
  text-align:right;
  justify-self:end;
}
.leader-row .leader-value b{
  font-size:14px;
  line-height:1;
  letter-spacing:-.02em;
}
@media(max-width:560px){
  .leader-row{
    grid-template-columns:25px 36px minmax(0,1fr) auto!important;
    gap:7px!important;
  }
  .leader-row .player-avatar.sm{width:34px;height:34px}
  .leader-row .leader-value{min-width:50px}
}

/* v1.2.17 — fill dashboard panels instead of leaving large empty areas */
.leaders-panel,
.quick-panel{
  display:flex;
  flex-direction:column;
}
.leaders-panel .panel-head,
.quick-panel .panel-head{
  flex:0 0 auto;
}
.leaders-panel .leader-list{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.leaders-panel .leader-row{
  flex:1 1 0;
  min-height:86px;
  padding:16px 6px!important;
  grid-template-columns:42px 64px minmax(0,1fr) 92px!important;
  gap:15px!important;
}
.leaders-panel .leader-row .player-avatar.sm{
  width:58px;
  height:58px;
}
.leaders-panel .leader-rank{
  font-size:14px;
  font-weight:900;
}
.leaders-panel .leader-name b{
  font-size:16px;
  line-height:1.15;
}
.leaders-panel .leader-name small{
  margin-top:4px;
  font-size:11px;
  line-height:1.2;
}
.leaders-panel .leader-value{
  min-width:92px;
}
.leaders-panel .leader-value b{
  font-size:21px;
  line-height:1;
}
.leaders-panel .leader-value small{
  display:block;
  margin-top:6px;
  font-size:10px;
}
.quick-panel .quick-grid{
  flex:1 1 auto;
  min-height:0;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(4,minmax(94px,1fr));
  align-content:stretch;
}
.quick-panel .quick-grid>a{
  min-height:0;
  height:100%;
  padding:14px;
}

@media(max-width:1180px) and (min-width:651px){
  .leaders-panel .leader-row{
    min-height:92px;
    padding:18px 8px!important;
    grid-template-columns:44px 68px minmax(0,1fr) 104px!important;
  }
  .leaders-panel .leader-row .player-avatar.sm{width:62px;height:62px}
  .leaders-panel .leader-name b{font-size:17px}
  .leaders-panel .leader-name small{font-size:11px}
  .leaders-panel .leader-value b{font-size:22px}
}

@media(max-width:650px){
  .leaders-panel .leader-list{display:flex}
  .leaders-panel .leader-row{
    min-height:76px;
    padding:12px 4px!important;
    grid-template-columns:30px 48px minmax(0,1fr) 70px!important;
    gap:9px!important;
  }
  .leaders-panel .leader-row .player-avatar.sm{width:44px;height:44px}
  .leaders-panel .leader-name b{font-size:14px}
  .leaders-panel .leader-name small{font-size:10px}
  .leaders-panel .leader-value{min-width:70px}
  .leaders-panel .leader-value b{font-size:18px}
  .leaders-panel .leader-value small{font-size:9px}
  .quick-panel .quick-grid{
    grid-template-columns:1fr;
    grid-template-rows:none;
  }
  .quick-panel .quick-grid>a{min-height:86px}
}

/* v1.2.19 — 35-avatar wall, Honor Board and Elite status */
.hero-avatar-grid{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  grid-template-rows:repeat(5,minmax(0,1fr));
  gap:12px 8px!important;
  justify-items:center!important;
  align-items:center!important;
  align-content:stretch!important;
}
.hero-avatar-link{
  width:100%;
  flex:none!important;
  display:flex;
  justify-content:center;
}
.player-avatar.hero{width:86px;height:86px}

.honor-board-link{
  height:42px;
  min-width:170px;
  flex:1 1 220px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 16px;
  border:1px solid #665226;
  border-radius:5px;
  background:linear-gradient(90deg,#17140d,#211b0d);
  color:#f4e8c4;
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
  transition:.2s ease;
}
.honor-board-link svg{width:17px;height:17px;fill:none;stroke:#e5bd55;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.honor-board-link:hover,.honor-board-link.active{background:linear-gradient(90deg,#2a210d,#3a2b0d);border-color:#a98835;transform:translateY(-1px)}
.topbar .global-search{margin-left:0}

.honor-pagehead{margin-bottom:16px}
.honor-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(280px,1fr);gap:14px;align-items:start}
.honor-message{padding:28px;min-height:620px}
.honor-message-lead{max-width:900px}
.honor-kicker{display:inline-block;color:#e8bd4f;font-size:10px;font-weight:900;letter-spacing:.14em;margin-bottom:10px}
.honor-message h2{margin:0 0 14px;font-size:clamp(28px,3vw,43px);line-height:1.04;letter-spacing:-.035em;max-width:920px}
.honor-message-lead p{max-width:900px;color:#a8a3a7;font-size:14px;line-height:1.75;margin:0 0 12px}
.support-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0 18px}
.support-tier{padding:19px;border:1px solid #302d2c;border-radius:12px;background:linear-gradient(145deg,#111319,#0d0f13)}
.support-tier.featured{border-color:#715b25;background:linear-gradient(145deg,#19170f,#11120f)}
.support-tier>span{display:block;color:#77727a;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.support-tier>b{display:block;color:#f0c85f;font-size:25px;line-height:1.05;margin:5px 0 12px}
.support-tier h3{font-size:15px;margin:0 0 8px}
.support-tier p{color:#8d8990;font-size:11px;line-height:1.55;margin:0}
.elite-explainer{display:flex;align-items:flex-start;gap:14px;padding:17px 18px;border:1px solid #5c4a23;border-radius:11px;background:rgba(196,153,46,.06)}
.elite-explainer div{min-width:0}.elite-explainer b{display:block;font-size:14px}.elite-explainer p{margin:5px 0 0;color:#99949a;font-size:11px;line-height:1.55}
.elite-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:9px;padding:4px 8px;border-radius:999px;border:1px solid #e3be59;background:linear-gradient(135deg,#f6dc87,#b88822);color:#241703;font-size:11px!important;font-weight:950!important;line-height:1!important;letter-spacing:.025em!important;text-transform:uppercase;vertical-align:middle;box-shadow:0 4px 16px rgba(218,173,55,.18)}
.elite-badge.small{margin-left:6px;padding:3px 6px;font-size:8px!important}
.profile-overview-heading h1 .elite-badge{position:relative;top:-5px}

.honor-board-panel{padding:18px;position:sticky;top:88px}
.honor-board-head{padding:3px 4px 14px;border-bottom:1px solid #29272a}.honor-board-head h2{margin:3px 0 1px;font-size:22px}.honor-board-head p{margin:0;color:#6e6970;font-size:10px}
.honor-board-list{list-style:none;margin:0;padding:5px 0 0}
.honor-board-list li{min-height:45px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 5px;border-bottom:1px solid #242328}
.honor-board-list li:last-child{border-bottom:0}.honor-place{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#161820;border:1px solid #2d3038;color:#858995;font-size:9px;font-weight:900}
.honor-board-list .elite-slot .honor-place{background:#241c0b;border-color:#756029;color:#efc960}
.honor-empty{color:#55515a;font-size:10px;font-style:italic}.honor-board-list a{display:flex;align-items:center;min-width:0}.honor-board-list a b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.honor-board-list small{color:#c9a64d;font-size:9px;white-space:nowrap}

@media(max-width:1260px){
  .honor-board-link{min-width:145px;padding-inline:11px;font-size:12px}
  .player-avatar.hero{width:80px;height:80px}
}
@media(max-width:1050px){
  .honor-layout{grid-template-columns:minmax(0,2.4fr) minmax(250px,1fr)}
  .support-tier-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  .topbar{grid-template-columns:42px auto auto auto minmax(150px,1fr)!important}
  .menu-toggle{grid-column:1}.top-seasons{grid-column:2}.final-rating-link{grid-column:3}.current-rating-link{grid-column:4}.honor-board-link{grid-column:5;width:100%;justify-self:stretch}
  .global-search{grid-column:1/-1;grid-row:2;width:100%;margin:0}
  .honor-layout{grid-template-columns:1fr}.honor-board-panel{position:static;order:2}.honor-message{order:1}
  .hero-avatar-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-template-rows:repeat(5,minmax(0,1fr))}
  .player-avatar.hero{width:72px;height:72px}
}
@media(max-width:650px){
  .topbar{grid-template-columns:40px 1fr 1fr!important;min-height:244px!important}
  .menu-toggle{grid-column:1}.top-seasons{grid-column:2/4;grid-row:1;justify-self:end}
  .final-rating-link{grid-column:1/3;grid-row:2}.current-rating-link{grid-column:3;grid-row:2}
  .honor-board-link{grid-column:1/-1;grid-row:3;width:100%;height:38px}
  .global-search{grid-column:1/-1;grid-row:4}
  .hero-avatar-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:repeat(7,minmax(0,1fr));gap:9px 5px!important}
  .hero-avatar-wall{min-height:560px!important}
  .player-avatar.hero{width:62px;height:62px}
  .honor-message{padding:19px}.honor-message h2{font-size:30px}.elite-explainer{flex-direction:column}
}
@media(max-width:420px){
  .topbar{grid-template-columns:38px 1fr!important;min-height:286px!important}
  .menu-toggle{grid-column:1;grid-row:1}.top-seasons{grid-column:2;grid-row:1}
  .final-rating-link{grid-column:1/-1;grid-row:2}.current-rating-link{grid-column:1/-1;grid-row:3}.honor-board-link{grid-column:1/-1;grid-row:4}.global-search{grid-column:1/-1;grid-row:5}
  .hero-avatar-wall{min-height:540px!important;padding:14px 8px!important}
  .player-avatar.hero{width:55px;height:55px}
  .honor-board-list li{grid-template-columns:29px minmax(0,1fr)}.honor-board-list small{grid-column:2}
}


/* v1.2.20 footer social link */
.site-footer{align-items:center;gap:18px}
.footer-instagram{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#a8abb2;text-transform:none;letter-spacing:.02em;font-weight:700;transition:color .16s ease,transform .16s ease}
.footer-instagram:hover{color:#fff;transform:translateY(-1px)}
.footer-instagram svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.footer-instagram .fill-dot{fill:currentColor;stroke:none}
@media(max-width:650px){.site-footer{align-items:flex-start}.footer-instagram{justify-content:flex-start}}

/* v1.2.22 dynamic PN26 table: keep the whole season visible without horizontal scrolling */
.season-table-wrap{overflow-x:hidden}
.season-table.season-table-dynamic{width:100%;min-width:0;table-layout:fixed}
.season-table.season-table-dynamic th,.season-table.season-table-dynamic td{padding-left:clamp(3px,.45vw,8px);padding-right:clamp(3px,.45vw,8px);white-space:nowrap;font-size:clamp(10px,.82vw,14px)}
.season-table.season-table-dynamic th:first-child,.season-table.season-table-dynamic td:first-child{width:6%}
.season-table.season-table-dynamic th:nth-child(2),.season-table.season-table-dynamic td:nth-child(2){width:23%;text-align:left;overflow:hidden;text-overflow:ellipsis}
.season-table.season-table-dynamic th:last-child,.season-table.season-table-dynamic td:last-child{width:9%}
.season-table.season-table-dynamic .rank-player{min-width:0;max-width:100%}
.season-table.season-table-dynamic .rank-player b{overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){
  .season-table.season-table-dynamic th,.season-table.season-table-dynamic td{font-size:9px;padding:6px 2px}
  .season-table.season-table-dynamic .player-avatar{display:none}
  .season-table.season-table-dynamic .medal-icon{transform:scale(.8);margin-right:-3px}
  .season-table.season-table-dynamic th:nth-child(2),.season-table.season-table-dynamic td:nth-child(2){width:26%}
}


/* v1.2.25 — G0ga, balanced 36-avatar hero, larger emblem/social */
/* 36 portraits form a true 6×6 matrix so the hero block has no visually empty final row. */
.hero-avatar-wall{
  min-height:620px!important;
  padding:24px 22px!important;
}
.hero-avatar-grid{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-template-rows:repeat(6,minmax(0,1fr))!important;
  gap:10px 12px!important;
  align-items:center!important;
  justify-items:center!important;
  align-content:stretch!important;
}
.hero-avatar-link{width:100%;height:100%;display:grid;place-items:center;min-width:0}
.player-avatar.hero{width:90px;height:90px}

/* Give the games/season emblem more visual weight while preserving the two win cards below it. */
.dashboard-hero{grid-template-columns:minmax(0,1fr) 420px;gap:26px}
.hero-visual{min-height:620px!important}
.hero-emblem{width:410px;height:390px;right:0;top:8px}
.hero-logo-back{width:455px;height:455px;right:-23px;top:-34px}
.hero-ring{width:282px;height:282px;right:62px;top:45px}
.hero-logo-inside{width:380px;height:380px}
.ring-copy b{font-size:43px}.ring-copy span{font-size:10px}.ring-copy i{width:48px;margin:15px 0}

/* Keep multi-word player names such as “Темный Лорд” on one line in PN annual cards. */
.annual-page .podium-person .inline-avatar-link b{white-space:nowrap}
.annual-page .podium-person .inline-avatar-link{min-width:0;flex:0 1 auto}

/* Instagram was intentionally requested at 2.5× the previous footer scale. */
.footer-instagram{font-size:27.5px;gap:14px;line-height:1}
.footer-instagram svg{width:45px;height:45px;stroke-width:1.6}

/* G0ga profile artwork framing. */
.profile-art-stage.profile-art-g0ga{inset:1% -4% 20% 26%}
.profile-player-g0ga .profile-main-art{object-position:right bottom}

@media(max-width:1260px){
  .dashboard-hero{grid-template-columns:minmax(0,1fr) 385px;gap:18px}
  .hero-avatar-wall{min-height:570px!important;padding:20px 16px!important}
  .hero-visual{min-height:570px!important}
  .player-avatar.hero{width:80px;height:80px}
  .hero-emblem{right:-9px;transform:scale(.90);transform-origin:center right}
}
@media(max-width:900px){
  .dashboard-hero{grid-template-columns:1fr;gap:14px}
  .hero-avatar-wall{min-height:520px!important;padding:18px 14px!important}
  .hero-avatar-grid{gap:9px 8px!important}
  .player-avatar.hero{width:72px;height:72px}
  .hero-visual{min-height:440px!important}
  .hero-emblem{left:50%;right:auto;top:0;transform:translateX(-50%) scale(.94);transform-origin:center}
  .profile-art-stage.profile-art-g0ga{inset:3% -5% 20% 27%}
}
@media(max-width:650px){
  .hero-avatar-wall{min-height:430px!important;padding:14px 9px!important}
  .hero-avatar-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(6,minmax(0,1fr))!important;gap:7px 4px!important}
  .player-avatar.hero{width:58px;height:58px}
  .hero-visual{min-height:365px!important}
  .hero-emblem{top:-18px;transform:translateX(-50%) scale(.79)}
  .profile-art-stage.profile-art-g0ga{inset:6% -11% 25% 18%}
}
@media(max-width:420px){
  .hero-avatar-wall{min-height:385px!important;padding:12px 6px!important}
  .hero-avatar-grid{gap:6px 2px!important}
  .player-avatar.hero{width:50px;height:50px}
  .hero-visual{min-height:330px!important}
  .hero-emblem{transform:translateX(-50%) scale(.70)}
}
