:root{--content-max:1540px}
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.topInner,main{width:min(calc(100% - 56px),var(--content-max))}
.top{box-shadow:0 8px 32px rgba(0,0,0,.12)}
.top nav button,.tools button,.brand,.primary,.secondary,.ghost,.event,.quickCard button{transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,filter .16s ease}
.top nav button:active,.tools button:active,.primary:active,.secondary:active,.ghost:active,.quickCard button:active{transform:translateY(1px)}
.feature,.panel,.pageHero,.profileHero,.event{box-shadow:0 18px 54px rgba(0,0,0,.20)}
.event[role="button"],.gameEvent,[data-player]{cursor:pointer}
.event[role="button"]:hover,.gameEvent:hover,[data-player]:hover{background:rgba(20,31,40,.94);border-color:rgba(154,229,251,.18);transform:translateY(-2px)}
.event[role="button"]:focus-visible,.gameEvent:focus-visible,[data-player]:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(99,197,232,.18)}
.emptyPanel{padding:28px;min-height:150px;display:flex;flex-direction:column;justify-content:center}
.emptyPanel h2{margin:8px 0 7px}.emptyPanel p{margin:0;color:var(--muted);line-height:1.55}
button[aria-label="Уведомления"],button[data-help="Напоминание появится внутри сайта перед началом"]{display:none}
@media(max-width:1100px){.topInner,main{width:min(calc(100% - 32px),var(--content-max))}.top nav{margin-left:24px}.top nav button{padding:0 10px}.homeLead{grid-template-columns:1fr}.livePanel{min-height:auto}.homePersonal{grid-template-columns:1fr 1fr}.quickCard{grid-column:1/-1}.events{grid-template-columns:1fr 1fr}.serverGrid{grid-template-columns:1fr}}
@media(max-width:760px){body{padding-bottom:78px}.top{height:64px}.topInner,main{width:calc(100% - 28px)}.top nav{display:none}.brand span{width:34px;height:34px}.tools{gap:2px}.tools button{width:40px;height:40px}.tools button[aria-label="Поиск"]{display:grid;place-items:center}.tools .avatar{display:grid!important}main{padding:28px 0 48px}.welcome{display:block;margin-bottom:22px}.welcome h1{font-size:34px}.welcome p{font-size:14px}.welcomeStatus{margin-top:14px;white-space:normal}.homeLead{gap:14px}.feature{min-height:390px;padding:25px 22px}.featureBody h1{font-size:43px}.featureDate{font-size:12px}.livePanel{padding:22px}.homePersonal{grid-template-columns:1fr;gap:14px;margin-top:14px}.quickCard{grid-column:auto}.events{grid-template-columns:1fr;gap:10px}.section{margin-top:38px}.sectionHead{align-items:flex-start;gap:12px}.sectionHead h2{font-size:24px}.simpleStats,.stats{grid-template-columns:1fr 1fr}.pageHero,.profileHero{min-height:auto;padding:24px;align-items:flex-start;flex-direction:column}.pageHero h1,.profileHero h1,.title h1{font-size:38px}.serverStats{width:100%;grid-template-columns:repeat(3,1fr)}.profileLevel{margin-left:0;text-align:left}.cards3{grid-template-columns:1fr}.tourCard{align-items:flex-start;gap:18px;flex-direction:column}.tourCard>div:last-child{align-items:flex-start}.mobile{padding-bottom:env(safe-area-inset-bottom);background:rgba(8,13,18,.94);backdrop-filter:blur(20px)}.event{grid-template-columns:46px 1fr 14px;padding:14px}.event>span{width:46px;height:46px}.kr-search{padding:max(68px,calc(env(safe-area-inset-top) + 54px)) 10px max(84px,calc(env(safe-area-inset-bottom) + 70px))}.kr-search__dialog{max-height:calc(100dvh - 156px)}.kr-search__body{max-height:calc(100dvh - 235px)}}
@media(max-width:420px){.topInner,main{width:calc(100% - 22px)}.brand b{display:none}.featureBody h1{font-size:38px}.featureActions,.panelActions{flex-wrap:wrap}.primary,.secondary,.ghost{min-height:44px}.simpleStats,.stats{grid-template-columns:1fr}.serverStats{grid-template-columns:1fr}.welcome h1{font-size:31px}.pageHero h1,.profileHero h1,.title h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.top nav button,.tools button,.brand,.primary,.secondary,.ghost,.event,.quickCard button{transition:none}}


.loadNotice{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px;padding:16px 20px;border:1px solid rgba(154,229,251,.18);border-radius:16px;background:rgba(20,31,40,.94);color:var(--muted);line-height:1.5}
.loadNoticeError{border-color:rgba(232,185,99,.35)}
.loadNotice button{flex-shrink:0;min-height:44px}