/* Palette derived from the existing winter-lake asset: ice, forest and sunrise. */
body{background:radial-gradient(ellipse at 85% 0,#ffe5bc70,transparent 38%),linear-gradient(160deg,#e2eef8,#f3f7fb 45%,#eaf4f2);color:var(--social-ink)}
.socialShell main>*{min-width:0}.socialShell main{width:100%}
.top{height:82px;background:linear-gradient(90deg,#173652ec,#173652cc),url('/brand/winter-lake.png') center 42%/cover;color:#fff;border-bottom:1px solid #82a6c780;box-shadow:0 3px 12px #17365230}
.top .brand{color:#fff;letter-spacing:.08em}.top .brand b{font:900 clamp(20px,2.4vw,32px)/1.1 'Segoe UI',sans-serif}.top .brandCopy{display:grid;gap:4px;text-align:left}.top .brandCopy small{font-size:9px;font-weight:600;letter-spacing:.12em;color:#e0eaf5}
.top .tools{gap:14px}.top .tools button{color:#fff}.top .tools button:hover{background:#ffffff20;color:#fff}.top .tools button[data-private-messages-open]{width:auto;font-size:15px;padding:0 12px}.socialTopSearch{margin-left:clamp(18px,4vw,60px);min-width:210px;width:min(330px,27vw);height:44px;padding:0 16px;border-radius:13px;border:1px solid #a1b9d66b;background:#b8cbdf33;color:#e7f0fc;display:flex;gap:12px;align-items:center;text-align:left;cursor:pointer}.socialTopSearch span{font-size:24px}.socialTopSearch em{font-style:normal;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.socialNavigation{padding:4px 0;border:0;border-radius:12px;background:transparent}.socialNavigation nav button{border-radius:9px;color:#385a80;font-size:15px}.socialNavigation nav button[aria-current]{background:#d3e6f8;color:#1056a1;box-shadow:none}.socialIdentity{margin-top:24px;padding:24px 14px 260px;background:linear-gradient(180deg,#f6faff 15%,transparent 70%),url('/brand/winter-fisher.png') 75% bottom/auto 340px no-repeat;border-top:1px solid #bfd4e9;border-radius:0 0 14px 14px;color:#315274}
.socialShell .welcome{min-height:180px;background:linear-gradient(90deg,#102d4560,#102d4520),url('/brand/winter-fisher.png') center 60%/cover;color:white;padding:24px 30px;border-radius:10px;align-items:center}.socialShell .welcome:before{display:none}.socialShell .welcome h1{color:#fff;font-style:italic;font-family:'Segoe Print','Segoe UI',sans-serif;font-weight:900;font-size:clamp(32px,4vw,64px);letter-spacing:.04em;text-shadow:0 3px 15px #102a45;line-height:1.15}.socialShell .welcome p{font-size:12px;letter-spacing:.14em}.socialShell .welcome p,.socialShell .welcome .eyebrow{color:#edf5ff;text-shadow:0 2px 8px #102a45}.socialShell .welcome .welcomeStatus{background:#173652b3;color:#fff;border-color:#8aaaca80}
.socialShell .feature{background:linear-gradient(90deg,#12314be8,#12314bb0),url('/brand/winter-fisher.png') center/cover;border-top:0;color:#fff;min-height:320px;border-radius:10px}.socialShell .feature .eyebrow{color:#ffc24d}.socialShell .featureBody h1,.socialShell .featureText,.socialShell .featureDate,.socialShell .featureLake,.socialShell .featureTop p{color:#eff6ff!important}.socialShell .feature .primary{background:linear-gradient(#eeb440,#bb7819);border-color:#e6b957;color:#17283c}
.socialShell .quickCard{background:linear-gradient(145deg,#e5f1fa,#fff)}.socialShell .quickCard button{background:#ffffffb8;border:1px solid #cddfe9}
.socialShell .primary{background:#225d85;border-color:#225d85;box-shadow:0 8px 18px #225d8520}.socialShell .primary:hover{background:#19486a}
.socialShell .eyebrow{color:#91500f}.socialShell .textButton{color:#225d85}.socialShell .badge.online{background:#e2f2ec;color:#245c54}
.socialContext .livePanel{border:1px solid #7c9db5;background:linear-gradient(180deg,#17365280,#10283fee 60%),url('/brand/winter-lake.png') center top/auto 280px no-repeat;color:#f2f6ff;border-radius:10px;padding:20px}.socialContext .livePanel h2,.socialContext .livePanel .eyebrow,.socialContext .livePanel .sub,.socialContext .livePanel .serverMiniStats span,.socialContext .livePanel .serverMiniStats strong,.socialContext .livePanel .liveLeaders strong,.socialContext .livePanel .liveLeaders span,.socialContext .livePanel .demoNote{color:#eef5ff!important}.socialContext .livePanel .liveLeaders>div{background:#e9f3fe18}.socialContext .livePanel .liveLeaders b{color:#f3bf4f}
.socialContext .socialGuide{border-top:4px solid #b5782d;background:#fff8ed}
.socialShell .events{gap:14px}.socialShell .event{border-left:4px solid #91b7cf}
.socialShell .kpfGrid,.socialShell .kpfGridFull{grid-template-columns:minmax(0,1fr)}
.socialShell .kpfCard{display:grid;grid-template-columns:minmax(200px,.38fr) minmax(0,1fr);border:1px solid var(--social-line);background:#fff;box-shadow:var(--social-shadow)}
.socialShell .kpfCard:not(:has(>img)){grid-template-columns:minmax(0,1fr)}
.socialShell .kpfCard>img{height:100%;min-height:240px;max-height:420px;object-fit:cover}
.socialShell .kpfCard p{color:var(--social-muted)}.socialShell .kpfCard small{color:var(--social-muted)}
.socialShell .kpfReport{color:#225d85;border-color:#cddfe9}.socialShell .kpfReport:hover{color:#19354b;background:#e5f1fa;border-color:#91b7cf}
.socialShell .socialProfileHero,.socialShell .tournamentDetailHero,.socialShell .pageHero{border-color:#6f92b3;box-shadow:var(--social-shadow);background:linear-gradient(90deg,#173652cc,#173652bf),url('/brand/winter-fisher.png') center/cover;color:#f4f8ff;min-height:280px;border-radius:10px}.socialShell .socialProfileHero h1,.socialShell .socialProfileHero p,.socialShell .pageHero h1,.socialShell .pageHero p,.socialShell .pageHero .stat span,.socialShell .pageHero .stat strong,.socialShell .tournamentDetailHero h2,.socialShell .tournamentDetailHero p,.socialShell .tournamentDetailHero .tournamentDetailFacts span{color:#f4f8ff}.socialShell .socialProfilePresence{background:#173652b8;border-radius:8px;padding:8px 12px;width:max-content;flex-basis:auto}.socialShell .socialProfilePresence[data-state=online]{color:#86e6a6}
.socialShell .socialTournamentTimeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;padding:20px 0}.socialShell .socialTournamentTimeline li{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0;gap:10px}.socialShell .socialTournamentTimeline li:not(:last-child):before{top:20px;left:calc(50% + 20px);width:calc(100% - 28px);height:3px;bottom:auto;background:#cddfe9}.socialShell .socialStageNumber{position:relative;z-index:1;background:#d2e2f0;color:#385a80}.socialShell .socialTournamentTimeline li[aria-current] .socialStageNumber{background:#1964ba;color:#fff;box-shadow:0 0 0 5px #d5e7fb}.socialShell .socialTournamentTimeline button{background:transparent;text-align:center}.socialShell .tournamentResultsRow:nth-child(even){background:#edf5fc}
.top .brand .brandCopy{width:auto;height:auto;border-radius:0;background:none;box-shadow:none;color:inherit}
.socialShell .serverGrid{grid-template-columns:minmax(0,1fr)}.socialShell .socialLiveTable .thead{background:linear-gradient(#587ba0,#345678);color:white}.socialShell .socialLiveTable .trow:nth-child(even){background:#eaf3fb}.socialShell .socialLiveTable .trow:nth-child(odd){background:#f7fbff}
@media(max-width:1099px){.top nav{display:none}.socialTopSearch{margin-left:18px;min-width:120px}.top .tools{gap:6px}.top .brandCopy small{display:none}}
@media(max-width:767px){.top .brand b{font-size:18px}.top .brand img{width:34px;height:34px;flex-basis:34px}.top .topInner{width:calc(100% - 24px);gap:8px}.socialTopSearch{min-width:44px;width:44px;margin-left:auto;justify-content:center;padding:0;flex-shrink:0}.socialTopSearch em{display:none}.top .tools{margin-left:0;gap:2px}.top .tools button[data-private-messages-open]{width:44px;overflow:hidden;font-size:0;padding:0}.top .tools button[data-private-messages-open]:before{content:'✉';font-size:21px}.top .brandCopy small{display:none}.socialNavigation{padding:4px;border:0;background:transparent}.socialShell .kpfCard{display:block}.socialShell .kpfCard>img{width:100%;height:220px;min-height:0}.socialShell .kpfCard>div{padding:20px}.socialShell .homePersonal{grid-template-columns:minmax(0,1fr)}.socialShell .welcome{min-height:220px}.socialShell .pageHero{padding:24px;min-height:280px}}
@media(prefers-reduced-motion:reduce){.socialNavigation nav button{transition:none}}

.socialContext .socialServerControlContext{background:linear-gradient(145deg,#234766,#132d45);color:#fff;border-radius:10px}.socialServerControlContext>p{font-size:12px;color:#d8e8f7}.socialServerControlContext .socialAdminQuick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:0;padding-top:0}.socialServerControlContext .socialAdminQuick h3,.socialServerControlContext .socialAdminQuick p{grid-column:1/-1}.socialServerControlContext .socialAdminQuick button{background:linear-gradient(#e3f2ff,#c7e3fb);color:#143956;font-weight:650;border:1px solid #b7d5ee}.socialServerControlContext .socialAdminQuick p{font-size:12px;color:#d8e8f7}.socialServerControlContext .socialAdminShortcut{width:100%;background:#dcecf7}.socialShell .socialLiveTable .trow{min-height:44px;gap:8px}.socialShell .socialLiveTable .thead{border-radius:6px;padding:10px}.socialShell .socialLiveTable .player i{width:28px;height:28px}.socialShell .socialLiveTable .player strong{font-size:14px}.socialShell .socialLiveTable .trow>span,.socialShell .socialLiveTable .trow>b{font-size:13px}

.socialOnlinePlayers{list-style:none;margin:10px 0;padding:0}.socialOnlinePlayers li{padding:6px 0}.socialOnlinePlayers button{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;text-align:left;background:transparent;border:0;color:#213f63}.socialOnlinePlayers button>span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#d8e8f7;color:#225d85;flex-shrink:0;font-weight:750}.socialOnlinePlayers button>div{display:grid;gap:4px;min-width:0}.socialOnlinePlayers strong{font-size:14px;overflow-wrap:anywhere}.socialOnlinePlayers small{font-size:12px;color:#52728f}.socialOnlineCard>.socialSource{font-size:12px}.socialShell .kpfCard{grid-template-columns:minmax(0,1fr) minmax(150px,.45fr);gap:14px;padding:18px}.socialShell .kpfCard>img{grid-column:2;grid-row:1;border-radius:8px;height:150px;min-height:0;max-height:220px;width:100%}.socialShell .kpfCard>div{grid-column:1;grid-row:1;padding:0}.socialShell .kpfCard h3{font-size:18px;line-height:1.4}.socialShell .kpfCard p{line-height:1.6}.socialShell .kpfSection{margin-top:14px}.socialShell .kpfGrid{gap:12px}.socialShell .homeLead{margin-top:12px}@media(max-width:767px){.socialShell .kpfCard{display:flex;flex-direction:column}.socialShell .kpfCard>img{height:180px;max-height:none}.socialOnlinePlayers button>div{flex:1}}

/* Live: счётчик не ломается на узкой карточке, пустой состав читается. */
.socialContext .livePanel .badge{white-space:nowrap;flex-shrink:0;min-width:max-content;line-height:1.4}
.socialContext .livePanel .liveLeaders .empty{color:#edf5fc;background:#102b45a8;border:1px solid #adc5da55;line-height:1.5;padding:12px}

.socialContext .socialOnlineCard[hidden]{display:none!important}
