/* GL-559 follow-up (24.11): ПК-раскладка входа + отзывы без коробок. Только CSS, разметка и логика не меняются. */

/* ── Вход/регистрация, ПК: две колонки. Слева восьмёрка и приветствие, справа форма. Телефон не трогаем. ── */
@media (min-width:1000px){
  html.kp-auth [data-shell]{max-width:1080px!important;width:100%;display:grid!important;
    grid-template-columns:minmax(0,1fr) 420px;column-gap:96px;align-items:start;padding:0 40px!important}
  html.kp-auth [data-shell] > *{grid-column:2}
  html.kp-auth [data-shell] > .kp-hdr{grid-column:1 / -1;grid-row:1}
  html.kp-auth [data-shell] > .kp-hero{grid-column:1;grid-row:2 / span 12;align-self:start;text-align:left;margin:0;padding:8px 0 0}
  html.kp-auth .kp-hero .kq-eyebrow{justify-content:flex-start}
  html.kp-auth .kp-hero .kp-eight{margin:0 0 28px;width:100%;max-width:420px}
  html.kp-auth .kp-hero .kq-h{font-size:60px!important;line-height:1!important;white-space:nowrap}
  html.kp-auth .kp-hero .kp-lead{font-size:19px;max-width:30ch;margin:16px 0 0!important;text-align:left}
  html.kp-auth [data-page]{align-items:center!important}
  html.kp-auth .kp-help{text-align:left}
}

/* ── Отзывы: без рамки и плашки у каждого. Цитата крупно, звёзды остаются, тонкая линия между отзывами. ── */
.km-rv{gap:0!important}
.km-rv article{background:none!important;border:0!important;border-radius:0!important;padding:26px 0!important;border-top:1px solid rgba(255,255,255,.08)!important}
.km-rv article:first-child{border-top:0!important;padding-top:6px!important}
.km-rv p{font-size:20px!important;line-height:1.5!important;letter-spacing:-.01em;margin:10px 0 12px!important}
.km-rv .km-meta{color:rgba(244,242,250,.5)}
@media (min-width:1000px){
  .km-rv p{font-size:22px!important}
  .km-rv article{padding:32px 0!important}
}

/* ── Главная (24.11, Кама «очень зашли» про отзывы): то же правило. Коробки убраны там, где это просто текст.
   Остаются выделенными: тарифы, баннер GTA, финальный «Попробуйте 3 дня» (один акцент на экран). ── */
html body #how .kq-tile.kq-r{background:none!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body #reviews .kg-card{background:none!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important}
html body #trust .card.t-loc,html body #trust .card.t-data{background:none!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body #trust .card.t-data{border-top:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;margin-top:8px}
html body .dz-ref.kq-r{background:none!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important}

/* ══ Весь сайт (24.11, Кама «Давай давай, переделываем все вообще»): правило Пёрышек v8.
   Одна выделенная карточка на экран, остальное на фоне. Второстепенные действия = фиолетовый текст, без капсул с контуром.
   Остаются: карта подписки в кабинете, баннер GTA, карточка тарифа на оплате, формы входа/регистрации/сброса, поля ввода,
   переключатели (табы), QR. ══ */

/* второстепенные кнопки-пилюли с контуром -> текст-ссылка (все страницы) */
html body .btn.btn-ghost:not(.btn-primary),html body .btn.km-ghost,html body .btn.kf-ghost,html body .kb-chip,
html body .km-back,html body .kf-back{
  background:none!important;border:0!important;box-shadow:none!important;color:#B9A8FF!important;
  padding:0!important;min-height:44px!important;width:auto!important;border-radius:0!important;font-weight:700!important}
html body .kb-actions{gap:24px!important;align-items:center}

/* ── Кабинет ── */
/* блоки-плитки разделов на фоне (карта подписки .kb-card и баннер GTA остаются) */
html body main[data-shell] .surface.kb-tile:not(.kb-tabs){background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding-left:0!important;padding-right:0!important}
/* «Вход по коду»: белая кнопка открытия остаётся, код без рамки вокруг */
/* статистика приглашений: числа без плашек */
html body .kb-stats > div{background:none!important;border:0!important;box-shadow:none!important;padding:8px 0!important;text-align:left!important}
html body .kb-stats{border-top:1px solid rgba(255,255,255,.08);padding-top:6px}
/* страны: строки, а не плитки */
html body .kb-countries{display:block!important}
html body .kb-countries > li{background:none!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;
  box-shadow:none!important;display:flex!important;align-items:center;gap:14px;padding:12px 0!important;width:auto!important;max-width:none!important}
html body .kb-countries > li .kb-cbtn{margin-left:auto!important;display:flex!important;gap:18px!important}
html body .kb-countries > li .kb-cbtn a{background:none!important;border:0!important;box-shadow:none!important;color:#B9A8FF!important;
  padding:0!important;min-height:44px!important;width:auto!important;flex-direction:row!important;gap:6px!important;font-size:14px!important;font-weight:700!important}
/* устройства: «Удалить» текстом, строки через линию */
html body #devices form button,html body #devices div[style] > form button{background:none!important;border:0!important;box-shadow:none!important;color:#FF8A7A!important;padding:0!important;min-height:44px!important}
html body #devices .kb-tile > div{border-color:rgba(255,255,255,.08)!important}
/* Галактика: остаётся визуальным блоком, но без рамки */
html body section.kb-gx{border:0!important;box-shadow:none!important}

/* ── Приглашения ── */
html body .kp-tile{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding-left:0!important;padding-right:0!important}
html body .kp-ref{background:none!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;border-radius:0!important;padding-left:0!important}
html body .kp-acc{background:none!important;border:0!important;border-top:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}

/* ── Оплата: карточка тарифа выделена, способы оплаты строками ── */
html body label.kp-method{background:none!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}

/* ── Вопросы: разделы списком, «Не нашли ответ» на фоне ── */
html body a.kf-tile{background:none!important;border:0!important;border-top:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body .kf-ask,html body .kf-note{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding-left:0!important;padding-right:0!important}

/* ── Компьютер, отзывы, документы, 404 ── */
html body .km-tile.km-step{background:none!important;border:0!important;border-top:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body p.km-note{background:none!important;border:0!important;box-shadow:none!important;padding-left:0!important}
html body .km-tile.km-center{background:none!important;border:0!important;box-shadow:none!important}
html body .km-tile.km-doc{background:none!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body .km-doc a[style*="border"],html body .km-doc nav a{background:none!important;border:0!important;color:#B9A8FF!important;padding:0!important}
/* документы: ссылки на соседние документы текстом */
html body .km-doc a,html body main a[href^="/legal/"],html body main a[href="/privacy"],html body main a[href="/offer"],html body main a[href="/cookie"],html body main a[href="/consent"]{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;color:#B9A8FF!important}
/* кабинет: рамки вокруг ссылки-приглашения и строки кода -> линия снизу */
html body div:has(> #refLink),html body div:has(> #appCode){background:none!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}

/* ══ r4 (25.11, Кама: 4 пункта + стрелка наверх) ══ */

/* 1. Макет устройств: без обрезки скруглённой плиткой (свечение вычищено из самой картинки, kq-devices.webp?v=2) */
html body #how .kq-tile{overflow:visible!important;border-radius:0!important}
html body .kq-devices{filter:none!important}

/* 2. Страны на главной: строка флагов с подписями, без пилюль */
html body #trust .locs{display:flex!important;flex-wrap:wrap!important;gap:14px 26px!important}
html body #trust .locs li.loc{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;width:auto!important;flex:none!important}

/* 3. «Что храним» (и все такие раскрывашки): текст-ссылка со стрелкой, без капсулы */
html body details.kz-more > summary{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  padding:0!important;min-height:44px;color:#B9A8FF!important;font-weight:700}

/* 4. Добавить устройство: поле-линия на всю ширину, «Добавить» белой кнопкой (главное действие блока), «Удалить» не красная пилюля */
html body #devices .kb-tile > div,html body #devices .kb-tile > form{padding-left:0!important;padding-right:0!important}
html body section#devices .kb-tile form[action$="/devices/add"]{gap:14px!important;padding:18px 0 4px!important;border-top:0!important}
html body section#devices .kb-tile form[action$="/devices/add"] input[name="name"]{background:none!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.22)!important;
  border-radius:0!important;padding:0 2px!important;height:48px!important;font-size:17px!important;color:#F4F2FA!important;flex:1 1 auto;min-width:0;outline:none}
html body section#devices .kb-tile form[action$="/devices/add"] input[name="name"]:focus{border-bottom-color:#B9A8FF!important}
html body section#devices .kb-tile form[action$="/devices/add"] input[name="name"]::placeholder{color:rgba(244,242,250,.38)}
html body section#devices .kb-tile form[action$="/devices/add"] button{background:#fff!important;color:#07060D!important;border-radius:999px!important;
  padding:0 22px!important;min-height:46px!important;box-shadow:0 14px 30px -12px rgba(123,92,255,.6)!important;flex:none}
html body #devices form:not([action$="/devices/add"]) button{color:rgba(244,242,250,.55)!important}

/* 5. Стрелка наверх (k2/ktop.js): появляется после полутора экранов прокрутки */
.ktop{position:fixed;right:18px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:60;width:48px;height:48px;border-radius:50%;border:0;
  background:rgba(22,18,38,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#F4F2FA;display:grid;place-items:center;
  box-shadow:0 10px 30px -8px rgba(0,0,0,.7),0 0 0 1px rgba(185,168,255,.10) inset;cursor:pointer;
  opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s,transform .25s}
.ktop.on{opacity:1;transform:none;pointer-events:auto}
.ktop svg{width:22px;height:22px}
body[data-tabbar-on] .ktop{bottom:calc(92px + env(safe-area-inset-bottom))}
@media (max-width:899px){body:has(.float) .ktop{bottom:calc(86px + env(safe-area-inset-bottom))}}
@media (min-width:900px){.ktop{right:28px;bottom:28px}body[data-tabbar-on] .ktop{bottom:28px}}

/* r5 (25.11, Кама «стрелку почти не видно, обычно белыми делают»): белый круг, тёмная стрелка, фиолетовое свечение как у кнопок сайта */
html body .ktop{background:#fff!important;color:#07060D!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  box-shadow:0 14px 30px -10px rgba(123,92,255,.75),0 4px 14px rgba(0,0,0,.45)!important}
html body .ktop svg{stroke-width:2.6}
html body .ktop:active{transform:scale(.94)!important}

/* r6 (25.11, Кама: отзывы прыгают по высоте; стрелки белые без кругов) */
html body .kg-card{min-height:0!important}
html body .kg-card blockquote{overflow:hidden;position:relative}
/* очень длинный отзыв: мягкое затухание снизу вместо обрыва */
html body .kg-card.kg-clip blockquote{-webkit-mask-image:linear-gradient(#000 78%,transparent);mask-image:linear-gradient(#000 78%,transparent)}
/* подпись всегда в одну строку, чтобы не двигать стрелки */
html body .kg-card figcaption{white-space:nowrap;overflow:hidden;min-width:0}
html body .kg-card figcaption span{overflow:hidden;text-overflow:ellipsis;min-width:0}
/* смена отзыва в сторону листания */
html body .kg-card:not(.in) blockquote,html body .kg-card:not(.in) figcaption{transform:translateX(26px)!important}
html body .kg-card[data-dir=prev]:not(.in) blockquote,html body .kg-card[data-dir=prev]:not(.in) figcaption{transform:translateX(-26px)!important}
html body .kg-card.in figcaption{transition-delay:.06s}
/* стрелки: белые, без кругов */
html body .kg-nav{padding-top:18px}
html body .kg-nav button{width:56px!important;height:48px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
  color:#fff!important;font-size:30px!important;line-height:1!important;padding:0!important;display:grid;place-items:center;-webkit-tap-highlight-color:transparent;transition:transform .15s,opacity .15s}
html body .kg-nav .kg-prev{justify-items:start}
html body .kg-nav .kg-next{justify-items:end}
html body .kg-nav button:active{transform:scale(.88);opacity:.7}
@media (hover:hover){html body .kg-nav button:hover{opacity:.75}}
/* короткий отзыв = крупная цитата, длинный = обычный текст: пустоты под коротким нет */
html body .kg-card blockquote[data-sz=l]{font-size:clamp(32px,9vw,48px)!important;line-height:1.12!important;letter-spacing:-.03em}
html body .kg-card blockquote[data-sz=m]{font-size:clamp(23px,6.2vw,31px)!important;line-height:1.25!important;letter-spacing:-.02em}
