.community-top5-view{display:none;padding:20px;max-width:1280px;margin:auto}.community-top5-view.active{display:block}.community-hero{background:linear-gradient(135deg,#181f29,#2d190e);border:1px solid #ff650055;border-top:4px solid #ff5a00;border-radius:18px;padding:24px;color:#fff}.community-hero h1{margin:5px 0;color:#fff}.community-hero p{color:#d9e0e7}.community-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}.community-tools button,.community-card button{border:0;border-radius:10px;padding:11px 15px;background:#ff5a00;color:#fff;font-weight:850;cursor:pointer}.community-tools select{padding:11px;border-radius:10px}.community-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:16px}.community-card{background:var(--bg-card);border:1px solid var(--border-subtle);border-top:4px solid #ff5a00;border-radius:16px;padding:17px;color:var(--text-primary)}.community-card>header{display:flex;justify-content:space-between;gap:10px}.community-card h2{margin:0}.community-card header span{color:#ff6a00;font-weight:900}.community-position{margin-top:12px}.community-position>b{display:block;font-size:.72rem;color:var(--text-secondary);text-transform:uppercase;margin-bottom:6px}.community-picks{display:flex;gap:6px;flex-wrap:wrap}.community-player{display:flex;align-items:center;gap:6px;background:rgba(128,140,155,.12);border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:800}.community-player img{width:24px;height:24px;border-radius:50%;object-fit:cover}.community-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.community-actions button.secondary{background:#253142}.community-empty{padding:35px;text-align:center;background:var(--bg-card);border-radius:14px}.community-channel-dialog{border:0;border-radius:16px;padding:0;max-width:430px;width:calc(100% - 30px);background:#151c25;color:#fff}.community-channel-dialog::backdrop{background:#05080dcc}.community-channel-dialog form{padding:22px}.community-channel-dialog input{display:block;width:100%;box-sizing:border-box;margin:12px 0;padding:12px;border-radius:9px;border:1px solid #536071}.community-channel-dialog menu{display:flex;justify-content:flex-end;gap:8px;padding:0}.community-channel-dialog button{padding:10px 14px;border:0;border-radius:9px;font-weight:800}.community-channel-dialog button[value="save"]{background:#ff5a00;color:#fff}[data-theme="light"] .community-card,[data-theme="light"] .community-empty{background:#fff;color:#111318}[data-theme="light"] .community-card :is(h2,b,strong,span){color:#111318}@media(max-width:600px){.community-top5-view{padding:12px}.community-hero{padding:18px}.community-grid{grid-template-columns:1fr}.community-tools>*{flex:1}.community-card{padding:14px}}
.community-report{margin:18px 0;padding:22px;border-radius:18px;background:linear-gradient(145deg,#151d27,#0d1219);border:1px solid #ff650055;border-top:4px solid #ff5a00;color:#f5f7fa;box-shadow:0 16px 40px #0004}.community-report>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.community-report h2,.community-report h3{color:#fff;margin:.25rem 0}.community-report>header p{color:#c7d0d9}.community-report button{border:0;border-radius:9px;background:#ff5a00;color:#fff;padding:9px 13px;font-weight:850;cursor:pointer}.community-kpis{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;margin:18px 0}.community-kpis span{background:#202b38;border:1px solid #354457;border-radius:12px;padding:12px;display:flex;flex-direction:column}.community-kpis small,.community-kpis em{color:#aebdca;font-size:.72rem}.community-kpis b{font-size:1.08rem;color:#fff}.community-chart-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:14px}.community-chart-grid>article{background:#111821;border:1px solid #2c3948;border-radius:14px;padding:16px}.community-bars{display:grid;gap:8px}.community-bars button{display:grid;grid-template-columns:minmax(95px,1fr) 2fr 65px;align-items:center;gap:8px;background:transparent;padding:3px;text-align:left}.community-bars i{height:12px;background:#293543;border-radius:99px;overflow:hidden}.community-bars i b{display:block;height:100%;background:linear-gradient(90deg,#ff5a00,#ff9a3d);border-radius:99px}.community-bars strong{font-size:.75rem;text-align:right}.community-radars{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.community-radars>div{text-align:center;min-width:0}.community-radars>div>b,.community-radars>div>small{display:block}.community-radars>div>small{color:#aebdca;font-size:.65rem}.community-radar{width:100%;max-width:180px;color:#a9b8c5}.community-radar text{fill:#dce5ec;font-size:8px}.community-projection-table{margin-top:14px;background:#111821;border:1px solid #2c3948;border-radius:14px;padding:16px}.community-projection-table table{width:100%;min-width:760px;border-collapse:collapse}.community-projection-table th,.community-projection-table td{padding:10px;border-bottom:1px solid #2c3948;text-align:center}.community-projection-table th:first-child,.community-projection-table td:first-child{text-align:left}.community-projection-table td button{background:transparent;color:#fff;padding:0}.community-report-actions{display:flex;gap:9px;margin-top:15px;flex-wrap:wrap}.community-disclaimer{display:block;margin-top:10px;color:#aebdca}[data-theme="light"] .community-report{background:#fff;color:#111318;border-color:#ff5a00}[data-theme="light"] .community-report :is(h2,h3,b,strong,td){color:#111318}[data-theme="light"] .community-report>header p,[data-theme="light"] .community-disclaimer{color:#4a5965}[data-theme="light"] .community-kpis span,[data-theme="light"] .community-chart-grid>article,[data-theme="light"] .community-projection-table{background:#f5f7f9;border-color:#d5dde4}[data-theme="light"] .community-kpis small,[data-theme="light"] .community-kpis em,[data-theme="light"] .community-radars>div>small{color:#52616d}[data-theme="light"] .community-radar text{fill:#263640}[data-theme="light"] .community-projection-table td button{color:#111318}@media(max-width:850px){.community-kpis{grid-template-columns:repeat(2,1fr)}.community-chart-grid{grid-template-columns:1fr}.community-radars{grid-template-columns:repeat(3,1fr)}}@media(max-width:520px){.community-report{padding:14px}.community-report>header{display:block}.community-kpis{grid-template-columns:1fr 1fr}.community-radars{grid-template-columns:1fr}.community-radar{max-width:210px}.community-bars button{grid-template-columns:90px 1fr 58px}}
.community-position-filters{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 10px}.community-position-filters button{background:#263241;color:#dce5ec}.community-position-filters button.active{background:#ff5a00;color:#fff}.community-position-filters button b{margin-left:5px;background:#ffffff20;border-radius:99px;padding:2px 7px}.community-compare-guide{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#202b38;border:1px solid #354457;border-radius:11px;padding:11px 13px}.community-compare-guide span{color:#afbdc9;flex:1}.community-compare-guide button{padding:7px 10px}.community-projection-table tr.is-compared{background:#ff5a0018}.community-projection-table .community-compare-toggle{background:#263241;padding:7px 9px;font-size:.72rem;white-space:nowrap}.community-projection-table tr.is-compared .community-compare-toggle{background:#ff5a00}[data-theme="light"] .community-position-filters button{background:#edf1f4;color:#17212b}[data-theme="light"] .community-position-filters button.active{background:#ff5a00;color:#fff}[data-theme="light"] .community-compare-guide{background:#f5f7f9;border-color:#d5dde4}[data-theme="light"] .community-compare-guide span{color:#52616d}@media(max-width:600px){.community-position-filters{display:grid;grid-template-columns:repeat(2,1fr)}.community-position-filters button{padding:10px 5px}.community-compare-guide{align-items:flex-start;flex-direction:column}}
.community-analysis-controls{display:grid;grid-template-columns:220px 1fr;gap:10px;margin-bottom:12px}.community-analysis-controls>label{display:flex;flex-direction:column;gap:5px;font-size:.72rem;font-weight:900;text-transform:uppercase}.community-analysis-controls select{min-height:43px;border:1px solid #46566a;border-radius:10px;background:#202b38;color:#fff;padding:0 10px;font-weight:800}.community-best{display:flex;gap:16px;align-items:center;margin:14px 0;padding:16px;border-radius:14px;background:linear-gradient(115deg,#ff5a00,#8f3000);box-shadow:0 10px 25px #ff5a0030}.community-best>span{font-size:.72rem;font-weight:950;max-width:120px}.community-best h3{font-size:1.35rem}.community-best p{margin:4px 0;color:#fff}.community-best strong{font-size:1.15rem}.community-projection-table td.metric-focus{background:#ff5a0020;color:#ff8b42;font-weight:900}.community-ranking{margin:18px 0;padding:20px;border:1px solid var(--border-subtle);border-top:4px solid #ff5a00;border-radius:17px;background:var(--bg-card);color:var(--text-primary)}.community-ranking>header{display:flex;justify-content:space-between;gap:15px}.community-ranking h2{margin:3px 0}.community-ranking>header p{margin:0;color:var(--text-secondary)}.community-ranking>header>span{align-self:flex-start;background:#ff5a00;color:#fff;padding:8px 13px;border-radius:99px;font-weight:900}.community-ranking-list{display:grid;gap:8px;margin-top:16px}.community-ranking-list article{display:grid;grid-template-columns:48px minmax(150px,1fr) 125px 165px auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--border-subtle);border-radius:12px;background:rgba(120,135,150,.08)}.community-ranking-list article>div,.community-ranking-list article>span{display:flex;flex-direction:column}.community-ranking-list small{color:var(--text-secondary)}.community-ranking-list button{border:0;border-radius:9px;background:#ff5a00;color:#fff;padding:9px 12px;font-weight:850}.community-rank-number{font-size:1.15rem;color:#ff6700}.community-ranking-history{display:grid;gap:5px;padding:5px 12px 12px 60px}.community-ranking-history span{padding:8px 10px;border-left:3px solid #ff5a00;background:rgba(120,135,150,.08)}.community-author-score{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;padding:9px;border-radius:10px;background:#ff5a0014}.community-author-score>*{font-size:.75rem}.community-author-score b{color:#ff6500}.community-radars{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}[data-theme="light"] .community-analysis-controls select{background:#fff;color:#17212b;border-color:#cbd4dd}[data-theme="light"] .community-best :is(h3,b,strong,p,span){color:#fff}[data-theme="light"] .community-projection-table td.metric-focus{color:#a84000}@media(max-width:750px){.community-analysis-controls{grid-template-columns:1fr}.community-ranking-list article{grid-template-columns:42px 1fr 95px}.community-ranking-list article>span:nth-of-type(2){display:none}.community-ranking-list article button{grid-column:2/4}.community-ranking-history{padding-left:12px}}
.community-top5-view .community-grid{display:grid;grid-template-columns:minmax(0,1fr)}
.community-published-positions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px;align-items:start}
.community-position-cards{display:flex;flex-direction:column;gap:10px}
.community-card .top5-pos-column{min-width:0;padding:16px;border-radius:18px;background:#131a22;border:1px solid #ffffff14}
.community-card .top5-col-header{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #ffffff12}
.community-card .top5-col-title-box{display:flex;align-items:center;gap:9px;min-width:0}.community-card .top5-col-title{font-size:1rem;font-weight:900;color:#fff}.community-card .top5-col-formula-badge{max-width:64%;font-size:.65rem;line-height:1.35}
.community-card .top5-player-card{min-width:0;padding:14px;border-radius:13px;background:linear-gradient(125deg,#1b222c,#131a22);border:1px solid #ffffff16;border-left:4px solid #8c9daf}
.community-card .top5-player-card.rank-1{border-left-color:#ffb400}.community-card .top5-player-card.rank-3{border-left-color:#b65d16}
.community-card .top5-card-top-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.community-card .top5-card-left{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.community-card .top5-player-info{min-width:0}.community-card .top5-player-name{font-size:.86rem;line-height:1.25;color:#fff;white-space:normal;cursor:pointer}.community-card .top5-card-right{flex:0 0 auto;text-align:right}.community-card .top5-media-val{font-size:1.1rem;color:#ff6500;font-weight:950}.community-card .top5-media-sub{font-size:.6rem;color:#92a5bd;font-weight:900}.community-card .top5-price-sub{font-size:.72rem;color:#e0e8f1;font-weight:850}
.community-card .top5-rank-number{flex:0 0 27px;width:27px;height:27px;font-size:.75rem}.community-card .top5-avatar-wrap{flex:0 0 43px;width:43px;height:43px}.community-card .top5-avatar-img{width:43px;height:43px;object-fit:cover}.community-card .top5-club-badge{width:17px;height:17px}
.community-card .top5-stat-chips-row{display:flex;flex-wrap:wrap;gap:5px;padding:7px 8px;margin:12px 0;background:#0b1219;border-radius:5px;min-height:0}.community-card .top5-stat-chip{display:inline-flex;align-items:center;gap:3px;margin:0;padding:0;background:transparent;border:0;white-space:nowrap;font-size:.65rem}.community-card .top5-stat-chip span{color:#aab9c9}.community-card .top5-stat-chip strong{color:#f0f4fa}.community-card .top5-stat-chip.highlight strong{color:#00c68c}.community-card .top5-stat-chip.accent strong{color:#ff6500}
.community-card .top5-card-actions{display:flex;justify-content:flex-end;gap:8px;margin:10px 0 0}.community-card .top5-card-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:5px 10px;border-radius:6px;font-size:.7rem;font-weight:850;border:1px solid #ffffff20}.community-card .top5-card-actions .btn-top5-scout{background:#232b35;color:#d5deea}.community-card .top5-card-actions .btn-top5-escalar{background:#0fbb8a;color:#061c14;border-color:#0fbb8a}.community-card .top5-card-actions .already-selected{background:#093e35;color:#00d199;border-color:#086d54}
.community-gallery-toolbar{padding:15px 18px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:19px}.community-gallery-position,.community-gallery-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.community-gallery-position{margin-bottom:12px}.community-gallery-position button{padding:8px 13px;border:1px solid #ffffff16;border-radius:99px;background:#202732;color:#c4d2e5;font-weight:850;cursor:pointer}.community-gallery-position button.active{background:#ff6500;color:#111}.community-gallery-filters label{display:flex;align-items:center;gap:7px;font-size:.78rem;font-weight:800}.community-gallery-filters select,.community-gallery-filters>input{min-height:36px;padding:7px 11px;border:1px solid #ffffff22;border-radius:9px;background:#121b28;color:#fff}.community-gallery-filters>input{flex:1;min-width:160px}
.community-context{padding:18px;margin:16px 0;border-radius:16px;background:#131e2b;border:1px solid #ff650066}.community-context>header{display:flex;gap:12px;justify-content:space-between;align-items:center}.community-context small{display:block;color:#b4c7da;font-size:.7rem;line-height:1.5}.community-context-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px;margin-top:14px}.community-context-grid article{padding:15px;border:1px solid #3a4a5e;border-radius:12px;background:#1a2736}.community-context-grid h4{font-size:1.05rem;margin:5px 0}.community-context-grid h4 b{float:right;color:#ff8733}.community-context-grid p{font-size:.78rem;line-height:1.5}.community-context dl{display:grid;gap:7px;font-size:.75rem}.community-context dl>div{border-bottom:1px solid #ffffff16;padding-bottom:7px}.community-context dt{color:#a5b8cd}.community-context dd{margin:3px 0 0;font-weight:800}.community-context-grid article>strong{display:block;margin:12px 0;font-size:.78rem}.community-context-grid button{margin-top:10px}.community-method{font-size:.74rem;line-height:1.6;color:#b4c7da}.community-missing{font-size:.8rem;padding:14px;color:var(--text-secondary)}
[data-theme="light"] .community-card .top5-pos-column,[data-theme="light"] .community-context,[data-theme="light"] .community-context-grid article{background:#f1f5f9!important;color:#111827!important;border-color:#bdccda!important}[data-theme="light"] .community-card .top5-player-card{background:#fff!important;color:#111827!important}[data-theme="light"] .community-context :is(h3,h4,p,small,span,dt,dd,strong,b){color:#111827!important}
@media(max-width:1000px){.community-published-positions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.community-published-positions{grid-template-columns:minmax(0,1fr);gap:14px}.community-gallery-filters{display:grid;grid-template-columns:1fr}.community-gallery-position{gap:5px}.community-gallery-position button{padding:8px 10px;font-size:.72rem}.community-context>header{display:block}.community-context-grid{grid-template-columns:minmax(0,1fr)}}
.community-card .top5-player-card{display:block;min-height:0;height:auto}.community-card .top5-stat-chips-row{margin:10px 0}.community-card .top5-card-actions{margin-top:8px}

/* Card spacing and hierarchy only; existing colors and ranking stay intact. */
.community-card{border-radius:20px!important;padding:22px!important}.community-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.community-card>header h2{margin:7px 0;line-height:1.2}.community-published-positions{gap:20px!important;margin-top:22px}.community-published-positions .top5-col-header{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}.community-published-positions .top5-col-formula-badge{max-width:100%;white-space:normal;line-height:1.4}.top5-player-card{border-radius:16px!important;padding:16px!important;min-width:0}.top5-card-top-row{gap:12px!important;align-items:flex-start!important}.top5-card-left,.top5-player-info{min-width:0}.top5-player-name{line-height:1.3!important}.top5-card-right{flex-shrink:0}.top5-stat-chips-row{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(62px,1fr));gap:5px!important;align-items:stretch;margin-top:12px!important}.top5-stat-chip{white-space:nowrap;min-width:0;display:flex;gap:4px;justify-content:center;align-items:center}.top5-card-actions{display:flex;gap:8px!important;flex-wrap:wrap;margin-top:14px!important}.top5-card-actions>button{flex:1 1 78px;min-height:34px;white-space:nowrap}.community-actions{display:flex;flex-wrap:wrap;gap:10px!important;margin-top:18px}.community-actions>button{flex:1 1 160px}
.community-edit-dialog{width:min(850px,calc(100vw - 28px));max-height:88vh;overflow:auto;background:var(--bg-card);color:var(--text-primary);border:1px solid var(--border-color,#64748b);border-radius:20px;padding:24px}.community-edit-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.community-edit-dialog h2,.community-edit-dialog h3{margin:0 0 12px}.community-edit-dialog p{line-height:1.5}.community-edit-dialog button{background:var(--bg-card-elevated);color:var(--text-primary);border:1px solid var(--border-color,#64748b);border-radius:9px;padding:10px 12px;font-weight:700;cursor:pointer}.community-edit-dialog button:disabled{opacity:.5;cursor:wait}.community-editor-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.community-editor-tabs [aria-pressed=true]{font-weight:900;outline:2px solid currentColor}.community-editor-picks{display:grid;gap:10px;margin:12px 0}.community-editor-picks article{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border-color,#64748b);border-radius:12px}.community-editor-picks article>div{flex:1;min-width:0}.community-editor-picks img{width:44px;height:44px;border-radius:50%;object-fit:cover}.community-editor-picks small{display:block;margin-top:4px}.community-editor-candidates{margin-top:18px}.community-editor-candidates input{width:100%;box-sizing:border-box;padding:12px;border-radius:9px;margin:8px 0;background:var(--bg-card-elevated);color:var(--text-primary);border:1px solid var(--border-color,#64748b)}.community-editor-candidates>div{max-height:280px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.community-editor-candidates button{text-align:left;display:grid;gap:6px}.community-edit-dialog footer{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:20px}@media(max-width:600px){.community-card{padding:14px!important}.community-edit-dialog{padding:16px}.community-editor-picks article{flex-wrap:wrap}.community-editor-picks article>div{flex-basis:calc(100% - 60px)}.community-editor-candidates>div{grid-template-columns:1fr}}
