/* EAGLES DESK v3 (задание 90) — широкая версия для ноутбука. Работает ТОЛЬКО при ширине экрана от 1200px. Телефон не меняется. */
@media (min-width:1200px){
html.egd body{padding-left:240px!important}
html.egd .egd-nav{top:0!important;bottom:0!important;left:0!important;right:auto!important;width:240px!important;height:auto!important;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:4px!important;
 padding:22px 14px!important;border-top:0!important;border-right:1px solid rgba(255,210,63,.14)!important;
 background:linear-gradient(180deg,#0b0a08,#060607)!important;grid-template-columns:none!important;box-sizing:border-box}
html.egd .egd-nav .egd-logo{display:block;width:150px;height:auto;margin:0 auto 18px}
html.egd .egd-nav .egd-it,html.egd .egd-nav .egd-x{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;
 padding:12px 16px!important;border-radius:14px!important;font:700 14px "Montserrat",system-ui,sans-serif!important;color:#9a9083!important;text-decoration:none;width:auto!important;flex:none!important}
html.egd .egd-nav .egd-it:hover,html.egd .egd-nav .egd-x:hover{background:rgba(255,210,63,.07)!important;color:#f3e3b0!important}
html.egd .egd-nav .egd-it.active,html.egd .egd-nav .egd-it.on{background:linear-gradient(90deg,rgba(255,210,63,.16),rgba(255,210,63,.03))!important;color:#ffd23f!important}
html.egd .egd-nav .egd-it.active::before,html.egd .egd-nav .egd-it.on::before{top:10px!important;bottom:10px!important;left:0!important;right:auto!important;width:3px!important;height:auto!important;border-radius:0 3px 3px 0!important}
html.egd .egd-nav .egd-it svg,html.egd .egd-nav .egd-x svg{width:22px!important;height:22px!important;transform:none!important;flex:none}
html.egd .egd-nav .egd-x svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html.egd .egd-nav .egd-sep{height:1px;background:rgba(255,210,63,.12);margin:12px 8px}
html.egd .egd-nav .egd-cap{font:800 10px "Montserrat",sans-serif;letter-spacing:.14em;color:#5f584e;padding:4px 16px}
html.egd .egd-nav>div:not(.egd-sep){display:flex!important;flex-direction:column!important;gap:4px!important;width:auto!important;grid-template-columns:none!important}
html.egd .egd-nav .egd-it i,html.egd .egd-nav .egd-it .eye-tn{position:static!important;margin-left:auto}
html.egd .egd-nav .egd-it span:not([class]){display:inline}
/* Профиль */
html.egd .egp>.wrap{max-width:1160px!important;padding:0 40px!important}
html.egd .egp .ptop{height:64px!important}
html.egd .egp .ptop .biglogo{display:none!important}
html.egd #loggedInBlock>.wrap{max-width:none!important;display:grid!important;grid-template-columns:repeat(12,1fr);gap:20px;align-items:start;padding:0!important}
html.egd #loggedInBlock>.wrap>*{margin:0!important;min-width:0}
html.egd #loggedInBlock .me{grid-column:span 4;height:200px;box-sizing:border-box}
html.egd #loggedInBlock #glassBlock{grid-column:span 8}
html.egd #loggedInBlock #kontaktyVB,html.egd #loggedInBlock #lureVB{grid-column:span 6;height:280px!important;width:100%!important;max-width:none!important;left:auto!important;right:auto!important;transform:none!important;box-sizing:border-box}
html.egd #loggedInBlock #kontaktyVB video,html.egd #loggedInBlock #lureVB video{inset:0!important;width:100%!important;height:100%!important;object-fit:cover}
html.egd #loggedInBlock #openMap{grid-column:span 6;height:260px!important}
html.egd #loggedInBlock .cbrow{grid-column:span 6;height:260px}
html.egd #loggedInBlock .cbrow>*{height:100%!important}
html.egd #loggedInBlock #pfnGame{grid-column:span 12}
html.egd #loggedInBlock #binarBlock,html.egd #loggedInBlock #partnersBlock,html.egd #loggedInBlock #planBox{grid-column:span 4}
html.egd #loggedInBlock>.wrap>.profile-modal{grid-column:1/-1}
/* 90: колокольчик (egBell2) правее левого меню */
html.egd #egBell{left:calc(240px + 20px)!important}
html.egd #egBellP{padding-left:252px!important}
/* 91: окно «Разреши камеру» (EYE) по центру справа от меню */
html.egd .eye-perm{left:252px!important}
/* 91: EYE в два окна — слева список чатов, справа переписка */
html.egd body:has(#chHome) .ch-wrap{max-width:none!important;margin:0!important;padding:0!important}
html.egd body:has(#chHome):not(:has(#chNoLogin[style*="block"])) #chHome{display:block!important;position:fixed;left:240px;top:0;bottom:0;width:400px;overflow-y:auto;padding:22px 20px 28px;border-right:1px solid rgba(255,210,63,.14);background:linear-gradient(180deg,rgba(18,15,11,.92),rgba(8,7,8,.96));z-index:30;scrollbar-width:thin;scrollbar-color:#3a3228 transparent}
html.egd #chRoom.on{margin-left:400px;padding:0 40px 130px}
html.egd #chRoom.on>*{max-width:820px;margin-left:auto;margin-right:auto}
html.egd #chRoom .ch-top{position:sticky;top:0;z-index:20;padding:22px 0 12px;background:linear-gradient(180deg,rgba(7,7,8,.97) 70%,rgba(7,7,8,0))}
html.egd .ch-form{left:640px!important;bottom:0!important;padding:12px 40px calc(14px + env(safe-area-inset-bottom,0px))!important;border-top:1px solid rgba(255,210,63,.12)}
html.egd .ch-form .in{max-width:820px!important}
html.egd .ch-b{max-width:70%}
html.egd #chHome .ch-item{cursor:pointer;transition:background .15s,border-color .15s}
html.egd #chHome .ch-item:hover{background:rgba(255,210,63,.06)}
html.egd #chHome .ch-item.egd-on{border-color:#ffd23f!important;background:rgba(255,210,63,.1)!important;box-shadow:0 0 0 1px rgba(255,210,63,.35),0 0 18px rgba(255,190,60,.18)}
html.egd body:has(#chHome):not(:has(#chRoom.on)):not(:has(#chNoLogin[style*="block"])) .ch-wrap::after{content:"Выбери чат слева";position:fixed;left:640px;right:0;top:50%;transform:translateY(-50%);text-align:center;font:700 16px/1.4 Montserrat,system-ui,sans-serif;color:#8a7f70;letter-spacing:.02em;pointer-events:none}
html.egd body:has(#chHome):not(:has(#chRoom.on)):not(:has(#chNoLogin[style*="block"])) .ch-wrap::before{content:"";position:fixed;left:calc(640px + (100vw - 640px)/2 - 34px);top:calc(50% - 86px);width:68px;height:68px;border-radius:50%;border:1.5px solid rgba(255,210,63,.45);background:radial-gradient(circle at 50% 50%,rgba(255,210,63,.18),transparent 70%) ,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd23f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.8 7L4 20l1.1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center/30px no-repeat;pointer-events:none}
/* 92: Контакты — слева счётчики и «Добавить», справа список; календарь рядом с карточкой дня */
.egd-kw,.egd-kw-l,.egd-kw-r,.egd-cw,.egd-cw-l,.egd-cw-r{display:contents}
html.egd body:has(#listZone) .wrap{max-width:1180px!important}
html.egd body:has(#listZone) .title-row,html.egd body:has(#listZone) #ktnSub,html.egd body:has(#listZone) .tabs{max-width:620px;margin-left:auto!important;margin-right:auto!important}
html.egd .egd-kw,html.egd .egd-cw{display:grid;grid-template-columns:400px minmax(0,1fr);gap:28px;align-items:start}
html.egd .egd-kw-l,html.egd .egd-cw-l{display:block;position:sticky;top:20px}
html.egd .egd-kw-r,html.egd .egd-cw-r{display:block;min-width:0}
html.egd .egd-kw-r>.filter-row:first-child{margin-top:0}
html.egd .egd-cw-l>*,html.egd .egd-cw-r>:first-child,html.egd .egd-kw-l>:first-child{margin-top:0!important}
html.egd .egd-nav .egd-x.active{background:linear-gradient(90deg,rgba(255,210,63,.16),rgba(255,210,63,.03))!important;color:#ffd23f!important;box-shadow:inset 3px 0 0 #ffd23f}
html.egd .egd-nav .egd-x.active svg{stroke:#ffd23f}
/* 93: Канал — шире, посты и уроки сеткой в 3 колонки, ролики в 5 */
html.egd #eagles-kanal .ek-w{max-width:1180px!important;padding-left:28px!important;padding-right:28px!important}
html.egd #eagles-kanal .ek-tabs,html.egd #eagles-kanal .kc-newpost,html.egd #eagles-kanal .kp-tlink{max-width:760px;margin-left:auto!important;margin-right:auto!important}
html.egd #eagles-kanal .ek-ls{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:start}
html.egd #eagles-kanal .ek-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html.egd #eagles-kanal .ek-sec:not([hidden])#ek-free{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
html.egd #eagles-kanal #ek-free>.ek-h{grid-column:1/-1}
html.egd #eagles-kanal .ek-sec>.ek-card,html.egd #eagles-kanal .ek-ls>*{margin-top:0!important;margin-bottom:0!important}
/* 93: Обучение — уроки сеткой в 3 колонки */
html.egd #learnMain.wrap{max-width:1180px!important;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:22px;row-gap:18px;align-items:start;padding-left:28px;padding-right:28px;box-sizing:border-box}
html.egd #learnMain>*:not(.les){grid-column:1/-1}
html.egd #learnMain .kc-urs>*:not(.les){grid-column:1/-1}
html.egd #learnMain .seg,html.egd #learnMain .kc-newles{max-width:760px;width:100%;justify-self:center}
html.egd #learnMain .les{margin:0!important}
/* 93: Мои ролики — две колонки */
html.egd .rl-page .rl-wrap{max-width:1180px!important;width:100%;padding-left:28px;padding-right:28px;box-sizing:border-box}
html.egd .rl-page .rl-sub{max-width:520px;margin-left:auto;margin-right:auto}
html.egd #rlApp .egd-kw{grid-template-columns:460px minmax(0,1fr)}
html.egd #rlApp .egd-kw-l>.rl-card+.rl-card{margin-top:14px}
/* 94: Моя команда — слева статус, справа бинар / структура / начисления */
html.egd .bn-page .bn-wrap{max-width:1100px!important;width:100%;padding-left:28px;padding-right:28px;box-sizing:border-box}
html.egd .bn-page .tm-top,html.egd .bn-page .tm-seg{max-width:620px;width:100%;margin-left:auto;margin-right:auto;justify-self:center}
html.egd #bnApp[style*="block"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:0;align-items:start}
/* 95б: карточки бинара парами; у партнёров в команде карточка статуса пустая, поэтому отдельной левой колонки нет */
html.egd #bnApp>#bnJoin,html.egd #bnApp>#bnStatus,html.egd #bnApp>#bnAdmCard,html.egd #bnApp>[data-s=str],html.egd #bnApp>[data-s=nach]{grid-column:1/-1}
html.egd #bnApp .bn-tree{min-height:420px}
/* 94: Маркетинг-план и документы — левое меню, текст шире */
html.egd .egd-own .egd-it svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
}
@media (min-width:1200px){
/* 94 v2: левая колонка стоит на месте при прокрутке (у .mk-page/.bn-page/.rl-page был overflow:hidden, он ломал sticky) */
html.egd .mk-page,html.egd .bn-page,html.egd .rl-page{overflow:visible!important;overflow-x:clip!important}
}
/* 94в: пока desk.js не перестроил страницу под ноутбук, страницу не показываем (не мелькает телефонный вид). Страховка: через 1,5 с показываем в любом случае */
@media (min-width:1200px){
html:not(.egd):not(.egdn) body{animation:egdWait 1.5s step-end both}
}
@keyframes egdWait{from{visibility:hidden}to{visibility:visible}}
