/* Каталог хостингов. Цвета и радиусы берутся из токенов темы Quark 2 (--q2-*), с запасными значениями. */

.hc {
  --hc-accent: var(--q2-accent, #2563eb);
  --hc-bg: var(--q2-bg-elev, #fff);
  --hc-muted-bg: var(--q2-bg-muted, #f2f2f4);
  --hc-text: var(--q2-text, #242424);
  --hc-muted: var(--q2-text-muted, #6b7280);
  --hc-line: var(--q2-divider, rgba(34, 42, 53, .1));
  --hc-radius: var(--q2-radius-md, 12px);
  --hc-good: #15803d;
  --hc-mid: #b45309;
  --hc-bad: #b91c1c;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hc-muted { color: var(--hc-muted); }
.hc small { font-size: .82em; }
.hc h1 { margin-bottom: .5rem; }
.hc-hero { margin-bottom: 1.5rem; }
.hc-lead { color: var(--hc-muted); max-width: 70ch; }
.hc-lead > :last-child { margin-bottom: 0; }
.hc-section { margin-top: 2.5rem; }
.hc-card {
  background: var(--hc-bg); border-radius: var(--hc-radius); padding: clamp(1rem, 3vw, 1.75rem);
  box-shadow: var(--q2-shadow-card, 0 1px 3px rgba(0, 0, 0, .1));
}
.hc-card > h2:first-child { margin-top: 0; font-size: 1.25rem; }
.hc-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.hc-alert { padding: 1rem; border-radius: var(--hc-radius); background: var(--hc-muted-bg); }
.hc-kpis { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.hc-kpis li { margin: 0; list-style: none; }
.hc-kpis li::before, .hc-kpis li::marker { content: none; display: none; }
.hc-search > *, .hc-results, .hc-plans { min-width: 0; }
.hc-filters__title::before, .hc-filters__title::after { display: none; }
.hc-kpis strong { font-size: 1.25rem; }

/* Кнопки */
.hc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; white-space: nowrap;
  padding: .45rem .9rem; border-radius: var(--q2-radius, 8px); background: var(--hc-accent); color: #fff !important;
  text-decoration: none !important; font-weight: 600; font-size: .9rem; line-height: 1.3; border: 1px solid var(--hc-accent);
}
.hc-btn:hover { filter: brightness(1.08); }
.hc-btn--ghost { background: transparent; color: var(--hc-accent) !important; }
.hc-btn--sm { padding: .25rem .6rem; font-size: .8rem; }
.hc-btn--lg { padding: .7rem 1.2rem; font-size: 1rem; }
.hc-badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--hc-accent); color: #fff; font-size: .75rem; text-align: center; }

/* Рейтинг */
.hc-score {
  display: inline-block; min-width: 2.6em; padding: .1em .45em; border-radius: .45em; text-align: center;
  font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; vertical-align: middle;
}
.hc-score--high { background: var(--hc-good); }
.hc-score--mid { background: var(--hc-mid); }
.hc-score--low { background: var(--hc-bad); }
.hc-score--sm { font-size: .75rem; margin-left: .3em; }
.hc-bars { list-style: none; padding: 0; margin: 0 0 1rem; }
.hc-bars li { display: grid; grid-template-columns: minmax(0, 1fr) 30% 2.5em; align-items: center; gap: .75rem; margin: .35rem 0; font-size: .9rem; }
.hc-bar { height: .5rem; border-radius: 999px; background: var(--hc-muted-bg); overflow: hidden; }
.hc-bar > span { display: block; height: 100%; width: var(--v); background: var(--hc-accent); }
.hc-bar { position: relative; }
/* Риска медианы по всем хостерам на полосе разбивки рейтинга */
.hc-bar__median { position: absolute; top: -1px; bottom: -1px; left: var(--m); width: 2px; margin-left: -1px; background: currentColor; opacity: .75; }
.hc-bar__median--legend { position: static; display: inline-block; width: 2px; height: .9em; margin: 0 .2em 0 0; vertical-align: -.1em; }
.hc-bars__legend { font-size: .8rem; margin: -.4rem 0 .8rem; }
.hc-votes__title { font-size: 1rem; margin: 1rem 0 .5rem; }

/* Поиск: фильтры слева, выдача справа */
.hc-search { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.hc-filters { position: sticky; top: calc(var(--q2-header-height, 72px) + 1rem); max-height: calc(100vh - var(--q2-header-height, 72px) - 2rem); overflow: auto;
  background: var(--hc-bg); border-radius: var(--hc-radius); padding: 1rem; box-shadow: var(--q2-shadow-card, none); }
.hc-filters__title { font-size: 1.1rem; margin: 0 0 .75rem; }
.hc-f { border: 0; padding: 0; margin: 0 0 .9rem; }
.hc-f legend, .hc-f summary { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; padding: 0; }
.hc-f summary { cursor: pointer; list-style-position: outside; }
.hc-f select, .hc-f input { margin: 0; padding: .35rem .5rem; font-size: .9rem; height: auto; }
.hc-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: .35rem; align-items: center; }
.hc-checks { list-style: none; padding: 0; margin: .35rem 0 0; }
.hc-checks--scroll { max-height: 220px; overflow: auto; }
.hc-checks li { margin: 0; }
.hc-checks label { display: flex; align-items: center; gap: .45rem; font-size: .88rem; padding: .12rem 0; cursor: pointer; }
.hc-checks input { width: auto; margin: 0; }
.hc-checks span { flex: 1; }
.hc-checks small { color: var(--hc-muted); }
.hc-f__search { margin: .35rem 0 0 !important; }
.hc-f.is-active > legend, .hc-f.is-active summary { color: var(--hc-accent); }
.hc-filters__actions { display: flex; gap: .5rem; position: sticky; bottom: -1rem; background: var(--hc-bg); padding: .5rem 0; }
.hc-filters__actions button { margin: 0; padding: .5rem .8rem; font-size: .9rem; width: auto; flex: 1; }
.hc-filters-toggle { display: none; }

.hc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .75rem; }
.hc-found { margin: 0 auto 0 0; font-weight: 600; }
.hc-inline { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; margin: 0; white-space: nowrap; }
.hc-inline select { margin: 0; padding: .3rem 2rem .3rem .5rem; font-size: .88rem; height: auto; width: auto; }
.hc-empty { padding: 2rem; text-align: center; }

/* Строки тарифов: grid-таблица */
.hc-plans { --cols: minmax(120px, 1.2fr) minmax(110px, 1.2fr) .55fr .5fr .85fr .9fr .7fr minmax(118px, 1.1fr) auto;
  background: var(--hc-bg); border-radius: var(--hc-radius); box-shadow: var(--q2-shadow-card, none); overflow: hidden; }
.hc-plans--nohoster { --cols: minmax(140px, 1.4fr) .6fr .55fr .9fr .9fr .8fr minmax(118px, 1.1fr) auto; }
/* Страница хостера (без колонки хостера) добавляет колонку «ОС»: она перед локацией */
.hc-plans--nohoster:not(.hc-plans--game):not(.hc-plans--web):not(.hc-plans--compact) { --cols: minmax(130px, 1.3fr) .55fr .5fr .85fr .8fr minmax(90px, .9fr) minmax(100px, 1fr) minmax(118px, 1fr) auto; }
.hc-plan__os { overflow-wrap: anywhere; font-size: .85rem; }
.hc-plan { display: grid; grid-template-columns: var(--cols); gap: .75rem; align-items: center; padding: .65rem 1rem; border-top: 1px solid var(--hc-line); font-size: .9rem; }
.hc-plan:first-child { border-top: 0; }
.hc-plan--head { font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--hc-muted); background: var(--hc-muted-bg); }
.hc-plan small { display: block; color: var(--hc-muted); }
.hc-plan__hoster a { font-weight: 600; }
.hc-plan__name strong { display: block; overflow-wrap: anywhere; }
.hc-plan__price strong { font-size: 1.05rem; }
.hc-plan__price small { display: inline; }
.hc-plan__price .hc-muted { display: block; }
.hc-opt { white-space: nowrap; }
.hc-geo { display: inline-block; font-size: .72rem; font-weight: 600; padding: 0 .35em; margin: 0 .2em .2em 0; border-radius: .3em; background: var(--hc-muted-bg); }
.hc-geo--more { font-weight: 400; }
.hc-plans--compact .hc-plan { grid-template-columns: 1fr auto auto; }
.hc-plans--compact .hc-plan > [data-label] { display: none; }

.hc-pager { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.hc-pager a, .hc-pager span { padding: .3rem .65rem; border-radius: var(--q2-radius-sm, 6px); background: var(--hc-bg); text-decoration: none; box-shadow: var(--q2-shadow-card, none); }
.hc-pager [aria-current] { background: var(--hc-accent); color: #fff; }

/* Таблицы рейтинга и сравнения */
.hc-table-wrap { overflow-x: auto; border-radius: var(--hc-radius); box-shadow: var(--q2-shadow-card, none); background: var(--hc-bg); }
.hc-ranking, .hc-compare { width: 100%; margin: 0; font-size: .92rem; }
.hc-ranking th, .hc-ranking td, .hc-compare th, .hc-compare td { padding: .55rem .75rem; vertical-align: middle; }
.hc-ranking tbody th { font-weight: 600; }
.hc-compare td.is-win { font-weight: 700; color: var(--hc-good); }
.hc-compare td i { margin-left: .3em; }
.hc-weights { width: 100%; }
.hc-formula { font-size: .85rem; overflow-x: auto; }

/* Хостер */
/* display: block — Blades (CSS Quark 2) делает любой nav flex-строкой с space-between: крошки разъезжались по ширине. */
.hc-crumbs { display: block; font-size: .85rem; color: var(--hc-muted); margin-bottom: 1rem; }
.hc-crumbs a { color: inherit; }
.hc-crumbs span[aria-hidden] { margin: 0 .35em; }
.hc-hoster-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; }
.hc-hoster-head h1 { margin: 0; }
.hc-hoster-head p { margin: .25rem 0; }
.hc-hoster-head__cta { text-align: right; max-width: 26rem; justify-self: end; }
.hc-hoster-head__cta small { display: block; }
.hc-price-from strong { font-size: 1.4rem; }
.hc-promo code { font-weight: 700; }
.hc-avatar { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-weight: 700; font-size: 1.4rem;
  color: #fff; background: linear-gradient(135deg, var(--hc-accent), color-mix(in oklab, var(--hc-accent) 55%, #000)); }
.hc-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1rem; margin: 0; font-size: .92rem; }
.hc-facts dt { color: var(--hc-muted); font-weight: 400; }
.hc-facts dd { margin: 0; overflow-wrap: anywhere; }
.hc-prose { line-height: 1.7; }
.hc-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hc-chips li { margin: 0; }
.hc-chips a { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: var(--hc-bg); box-shadow: var(--q2-shadow-card, none); text-decoration: none; font-size: .9rem; }

/* Голосование */
.hc-vote fieldset { border: 0; padding: 0; margin: 0; }
.hc-vote legend { font-weight: 600; }
.hc-stars { position: relative; display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.hc-stars input { position: absolute; opacity: 0; pointer-events: none; width: 0 !important; height: 0; margin: 0 !important; padding: 0; border: 0; }
.hc-stars label { font-size: 2rem; line-height: 1; cursor: pointer; color: var(--hc-line); margin: 0; transition: color .1s; }
.hc-stars label:hover, .hc-stars label:hover ~ label, .hc-stars input:checked ~ label { color: #f59e0b; }
.hc-stars input:focus-visible + label { outline: 2px solid var(--hc-accent); border-radius: 4px; }
.hc-vote.is-busy .hc-stars { opacity: .5; pointer-events: none; }
.hc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.hc-vote__msg { font-size: .85rem; margin: .4rem 0 0; }

/* Сравнение */
.hc-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.hc-vs__side { text-align: center; display: grid; justify-items: center; gap: .5rem; }
.hc-vs__side h2 { margin: 0; font-size: 1.3rem; }
.hc-vs__side p { margin: 0; }
.hc-vs__sep { font-family: var(--pico-font-family-display, inherit); font-size: 1.5rem; color: var(--hc-muted); }
.hc-compare-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; }
.hc-compare-form label, .hc-compare-form select, .hc-compare-form button { margin: 0; }

/* Карта сайта */
.hc-columns { columns: 3 200px; padding-left: 1.1rem; }
.hc-columns li { break-inside: avoid; }
.hc-sitemap-group { padding: .35rem 0; border-top: 1px solid var(--hc-line); }
.hc-sitemap-group summary { cursor: pointer; font-weight: 600; }

/* --- Адаптив --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hc-plans { --cols: minmax(120px, 1.2fr) minmax(100px, 1fr) .5fr .5fr .8fr .8fr .8fr auto; }
  .hc-plans .hc-plan > .hc-plan__geo { display: none; }
  .hc-plans .hc-plan--head > :nth-last-child(3) { display: none; }
  .hc-plans--nohoster { --cols: minmax(120px, 1.3fr) .5fr .5fr .8fr .8fr .8fr auto; }
}
@media (max-width: 900px) {
  .hc-search { grid-template-columns: minmax(0, 1fr); }
  .hc-filters-toggle { display: inline-flex; align-items: center; gap: .5rem; width: auto; margin: 0; }
  .hc-filters { position: static; max-height: none; display: none; }
  .hc-filters.is-open { display: block; }
  .hc-hide-sm { display: none; }

  /* Тариф = карточка */
  .hc-plan--head { display: none; }
  .hc-plan, .hc-plans--nohoster .hc-plan {
    grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: none; gap: .5rem .75rem; padding: .9rem 1rem;
  }
  .hc-plan__hoster, .hc-plan__name { grid-column: span 3; }
  .hc-plan__hoster + .hc-plan__name { margin-top: -.35rem; }
  .hc-plans .hc-plan > .hc-plan__geo { display: block; grid-column: span 3; }
  .hc-plan [data-label]::before { content: attr(data-label); display: block; font-size: .7rem; text-transform: uppercase; color: var(--hc-muted); }
  .hc-plan__price { grid-column: span 2; }
  .hc-plan__go { justify-self: end; }
  .hc-plans--compact .hc-plan { grid-template-columns: 1fr auto; }
  .hc-plans--compact .hc-plan__name { grid-column: auto; }
  .hc-plans--compact .hc-plan__price { grid-column: auto; }
  .hc-plans--compact .hc-plan__go { grid-column: span 2; justify-self: stretch; }
  .hc-plans--compact .hc-plan > .hc-plan__geo { display: none; }

  .hc-hoster-head { grid-template-columns: auto minmax(0, 1fr); }
  .hc-hoster-head__cta { grid-column: span 2; text-align: left; }
  .hc-vs { grid-template-columns: 1fr; }
  .hc-vs__sep { text-align: center; }
  .hc-compare-form { grid-template-columns: 1fr; }
}

/* Цены: «≈», скидка за срок, заметка о курсах, матрица сроков оплаты */
.hc-approx { color: var(--hc-muted); font-weight: 400; }
.hc-price { white-space: nowrap; }
.hc-disc { display: inline-block; margin-left: .3em; padding: 0 .35em; border-radius: .3em; font-size: .72rem; font-weight: 700;
  color: var(--hc-good); background: color-mix(in oklab, var(--hc-good) 12%, transparent); }
.hc-rates-note { font-size: .8rem; color: var(--hc-muted); margin: -.25rem 0 .75rem; }
.hc-small { font-size: .8rem; }
.hc-price-controls { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; }
.hc-terms { width: 100%; margin: 0; font-size: .88rem; }
.hc-terms th, .hc-terms td { padding: .45rem .6rem; white-space: nowrap; vertical-align: top; }
.hc-terms td small.hc-disc { display: block; width: max-content; margin: .15rem 0 0; }
.hc-terms .is-current { background: color-mix(in oklab, var(--hc-accent) 8%, transparent); }
.hc-plan__main { white-space: nowrap; }
.hc-plan__main small { display: inline; }

/* Страны: /vps и блоки «другие страны» */
.hc-countries { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem 1rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.hc-countries a { text-decoration: none; }
.hc-countries a:hover { text-decoration: underline; }
.hc-countries small { opacity: .65; }

/* Логотипы хостеров (WebP 200×100, прозрачный фон): строка тарифа, рейтинг, шапка хостера, сравнение */
.hc-logo { display: block; flex: none; object-fit: contain; border-radius: 9.33%; max-width: 100%; height: auto; }
.hc-logo--sm { width: 64px; aspect-ratio: 1; }
.hc-logo--lg { width: 120px; aspect-ratio: 1; }
.hc-logo.is-placeholder { opacity: .85; }
.hc-plan__hoster { display: flex; align-items: center; gap: .6rem; }
.hc-plan__hoster-name { min-width: 0; }
.hc-hoster-cell { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 900px) { .hc-logo--lg { width: 96px; } }

/* Контакт не указан хостером */
.hc-na { color: var(--hc-muted); opacity: .6; }

/* Дата проверки тарифов на странице хостера */
.hc-checked { margin: .25rem 0 .75rem; color: var(--hc-muted); font-size: .9rem; }
.hc-checked i { color: #2e9e5b; margin-right: .25rem; }

/* Текстовые страницы и блог */
.hc-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.hc-prose table { display: block; overflow-x: auto; }
.hc-picks { display: grid; gap: 1rem; margin: 1.5rem 0; }
.hc-pick { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.hc-pick h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.hc-pick p { margin: .2rem 0; }
.hc-pick__go { display: grid; gap: .5rem; }
@media (max-width: 700px) { .hc-pick { grid-template-columns: 1fr; justify-items: start; } .hc-pick__go { width: 100%; } }
.hc-posts { display: grid; gap: 1rem; }
.hc-post h2 { margin: 0 0 .25rem; font-size: 1.25rem; }
.hc-post p { margin: .25rem 0; }

/* Промокоды (страница /promokody-hosting) */
.hc-coupon { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem; margin: .75rem 0;
  border: 1px solid var(--hc-border, rgba(128,128,128,.25)); border-radius: 10px; }
.hc-coupon > img { width: 80px; height: 80px; object-fit: contain; border-radius: 6px; margin: 0; }
.hc-coupon__body h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.hc-coupon__body p { margin: .25rem 0; }
.hc-coupon__code { cursor: pointer; padding: .15rem .5rem; border: 1px dashed var(--hc-accent, #347baf); border-radius: 4px; font-weight: 700; }
.hc-coupon__code.is-copied::after { content: " ✓"; }
.hc-coupon__side { display: grid; gap: .5rem; justify-items: center; }
.hc-coupon__badge { font-size: 1.4rem; font-weight: 700; color: #2e9e5b; }
@media (max-width: 700px) { .hc-coupon { grid-template-columns: 64px minmax(0, 1fr); } .hc-coupon > img { width: 64px; height: 64px; } .hc-coupon__side { grid-column: 1 / -1; justify-items: start; } }
/* Плашка «промокоды» на текстовых страницах */
.hc-promo-cta { margin: 2rem 0 0; padding: .9rem 1.1rem; border-radius: 10px; border: 1px dashed var(--hc-accent, #347baf); }
.hc-promo-cta i { color: var(--hc-accent, #347baf); margin-right: .35rem; }

/* Игровые тарифы (страница поиска /game-servers, блок на странице хостера) */
.hc-plans--game { --cols: minmax(120px, 1.1fr) minmax(110px, 1.1fr) minmax(120px, 1.3fr) .55fr .6fr .85fr .5fr .7fr minmax(100px, .9fr) minmax(125px, 1.1fr); }
.hc-plans--game.hc-plans--nohoster { --cols: minmax(110px, 1.1fr) minmax(120px, 1.3fr) .55fr .6fr .85fr .5fr .7fr minmax(100px, .9fr) minmax(125px, 1.1fr); }
.hc-plan__games { overflow-wrap: anywhere; }
.hc-geo--wide { width: auto; padding: 0 .45rem; white-space: nowrap; }
.hc-checks__title { list-style: none; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--hc-muted); padding: .5rem 0 .15rem; }
.hc-checks__title:first-child { padding-top: 0; }
@media (max-width: 1100px) {
  .hc-plans--game { --cols: minmax(110px, 1.1fr) minmax(100px, 1fr) minmax(100px, 1.1fr) .5fr .6fr .8fr .5fr .6fr minmax(120px, 1fr); }
  .hc-plans--game .hc-plan > .hc-plan__geo { display: block; }
}
.hc-checks__more { list-style: none; margin-top: .4rem; }
.hc-checks__more > details > summary { font-size: .85rem; cursor: pointer; color: var(--hc-accent); }
/* Без маркеров-«точек» у кнопок раскрытия и пунктов списков фильтров. */
.hc-f summary, .hc-checks__more > details > summary { list-style: none; }
.hc-f summary::-webkit-details-marker, .hc-f summary::marker { display: none; content: ''; }
.hc-checks li, .hc-checks__more { list-style: none; }
.hc-checks li::marker, .hc-checks li::before { content: none; }

/* Облако игр над таблицей (вариант «игры сверху»): теги, выбранные подсвечены; числа в подсказке — хостеры / тарифы. */
.hc-cloud { margin: 0 0 1.25rem; padding: .9rem 1rem; border: 1px solid var(--hc-border, #d0d5dd); border-radius: 10px; }
.hc-cloud__title { font-size: 1rem; margin: 0 0 .6rem; }
.hc-cloud__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.hc-tag { display: inline-flex; align-items: center; gap: .35rem; margin: 0; padding: .25rem .7rem; border: 1px solid var(--hc-border, #d0d5dd); border-radius: 999px; font-size: .88rem; cursor: pointer; }
.hc-tag input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hc-tag small { color: var(--hc-muted); }
.hc-tag:hover { border-color: var(--hc-accent); }
.hc-tag:has(input:checked) { background: var(--hc-accent); border-color: var(--hc-accent); color: #fff; }
.hc-tag:has(input:checked) small { color: inherit; opacity: .8; }
.hc-tag:has(input:focus-visible) { outline: 2px solid var(--hc-accent); outline-offset: 2px; }
.hc-cloud__more { margin-top: .6rem; }
.hc-cloud__more > summary { cursor: pointer; list-style: none; color: var(--hc-accent); font-size: .88rem; margin-bottom: .5rem; }
.hc-cloud__more > summary::-webkit-details-marker { display: none; }
.hc-cloud__apply { margin: .75rem 0 0; padding: .35rem 1rem; font-size: .88rem; width: auto; }

/* Дата-центры хостера: облако стран с флагами (SVG из user/images/flags) и континенты игровых тарифов. */
.hc-dc__list { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.hc-dc__list li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px; background: var(--hc-bg); box-shadow: var(--q2-shadow-card, none); font-size: .9rem; }
.hc-dc__list a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.hc-dc__list img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex: none; }

/* Игровой каталог с выбранной игрой: у хостера один тариф, остальные раскрываются кнопкой «+N». */
.hc-more { display: block; margin-top: .35rem; padding: .15rem .6rem; font-size: .8rem; border-radius: 999px; background: transparent; border: 1px solid var(--hc-border, #d0d5dd); color: inherit; cursor: pointer; width: auto; }
.hc-more[aria-expanded="true"] { background: var(--hc-bg); }
.hc-plan--extra { background: var(--hc-bg); }
.hc-plan--extra[hidden] { display: none; }
.hc-plan__golink { text-decoration: none; color: inherit; display: inline-flex; align-items: baseline; gap: .35rem; }
.hc-plan__golink:hover strong { color: var(--hc-accent); text-decoration: underline; }
.hc-plan__golink i { font-size: .7rem; color: var(--hc-muted); }

/* Блок «или запустить на VPS» под игровой выдачей. */
.hc-vps-hint { display: flex; gap: .8rem; align-items: flex-start; margin: 1.2rem 0; padding: .9rem 1.1rem; border: 1px dashed var(--hc-border, #d0d5dd); border-radius: 10px; }
.hc-vps-hint i { margin-top: .25rem; color: var(--hc-accent); }
.hc-vps-hint p { margin: 0; }
.hc-sw__cat { display: flex; align-items: center; gap: .5rem; margin: .8rem 0 .3rem; font-size: .85rem; color: var(--hc-muted); }
.hc-sw__icon { width: 32px; height: 32px; aspect-ratio: 1; border-radius: 9.33%; }
.hc-vps-hint__list { list-style: none; margin: .25rem 0 .5rem; padding: 0; }
.hc-vps-hint__list li { margin: .15rem 0; }

/* Страница «Сколько стоит игровой сервер на N игроков»: форма и таблица предложений по хостерам. */
.hc-calc__form { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; margin: 1rem 0 1.5rem; }
.hc-calc__form label { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; margin: 0; }
.hc-calc__form select, .hc-calc__form input { margin: 0; min-width: 9rem; }
.hc-calc__form input[type="number"] { min-width: 6rem; max-width: 7rem; }
.hc-plans--calc { --cols: minmax(150px, 1.3fr) minmax(170px, 1.3fr) minmax(90px, .7fr) minmax(140px, 1fr); }
.hc-calc__note { margin-top: 1rem; font-size: .85rem; }
@media (max-width: 900px) { .hc-plans--calc { --cols: minmax(140px, 1.2fr) minmax(150px, 1.3fr) minmax(120px, 1fr); } .hc-plans--calc .hc-plan > .hc-plan__geo { display: block; } }

/* Краткое описание хостера: плюсы и минусы в две колонки */
.hc-profile__lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 2rem; margin: 1rem 0; }
.hc-profile__lists h3 { margin: 0 0 .4rem; font-size: 1rem; }
.hc-profile__lists ul { margin: 0; padding-left: 1.2rem; }
.hc-profile__pros h3::before { content: "+ "; color: #16a34a; }
.hc-profile__cons h3::before { content: "− "; color: #dc2626; }
.hc-profile__verdict { margin: 0; }

/* Виртуальный хостинг (страница /web-hosting, блок на странице хостера): хостер, тариф, сайты, диск, PHP memory_limit, почта, панель, локация, цена */
.hc-plans--web { --cols: minmax(120px, 1.1fr) minmax(140px, 1.5fr) .5fr .85fr .7fr .8fr .8fr .5fr minmax(125px, 1.1fr); }
.hc-plans--web.hc-plans--nohoster { --cols: minmax(140px, 1.5fr) .5fr .85fr .7fr .8fr .8fr .5fr minmax(125px, 1.1fr); }
@media (max-width: 1100px) {
  .hc-plans--web { --cols: minmax(110px, 1.1fr) minmax(110px, 1.3fr) .5fr .8fr .7fr .8fr .8fr minmax(120px, 1fr); }
  .hc-plans--web.hc-plans--nohoster { --cols: minmax(120px, 1.3fr) .5fr .8fr .7fr .8fr .8fr minmax(120px, 1fr); }
  .hc-plans--web .hc-plan > .hc-plan__geo { display: none; }
  .hc-plans--web .hc-plan--head > :nth-last-child(2) { display: none; }
}
@media (max-width: 900px) { .hc-plans--web .hc-plan > .hc-plan__geo { display: block; } }
/* «н/д»: хостер не указывает значение (не «нет») */
.hc-plans--web .hc-na { font-size: .85em; cursor: help; text-decoration: underline dotted; text-underline-offset: 2px; }
.hc-hint { cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }

/* Ползунок числового фильтра (число сайтов) */
.hc-slider { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; margin-bottom: .4rem; }
.hc-slider[hidden] { display: none; }
.hc-slider input[type="range"] { width: 100%; padding: 0; accent-color: var(--hc-accent, #347baf); }
.hc-slider output { min-width: 4.5rem; text-align: right; font-weight: 600; font-size: .9rem; }

/* Раскрывающийся список локаций тарифа */
.hc-geo-more { display: inline-block; vertical-align: top; }
.hc-geo-more > summary { cursor: pointer; list-style: none; display: inline-block; }
.hc-geo-more > summary::-webkit-details-marker { display: none; }
.hc-geo-list { margin: .3rem 0 0; padding: 0; list-style: none; font-size: .8rem; white-space: nowrap; }
.hc-geo-list li { margin: 0; padding: 0; }
.hc-geo-list b { display: inline-block; min-width: 1.8em; font-weight: 600; }
@media (max-width: 1100px) {
  .hc-plans--nohoster:not(.hc-plans--game):not(.hc-plans--web):not(.hc-plans--compact) { --cols: minmax(120px, 1.3fr) .5fr .5fr .8fr .8fr .8fr auto; }
  .hc-plans--nohoster .hc-plan > .hc-plan__os { display: none; }
  .hc-plans--nohoster .hc-plan--head > .hc-plan__os { display: none; }
}
@media (max-width: 900px) { .hc-plans--nohoster .hc-plan > .hc-plan__os { display: block; grid-column: span 3; } }

/* Выделенные серверы (страница /dedicated-servers, блок на странице хостера): хостер, тариф, ядра/потоки, RAM, диски, сеть, локация, цена */
.hc-plans--dedicated { --cols: minmax(120px, 1.1fr) minmax(140px, 1.4fr) .75fr .75fr 1.2fr .8fr .5fr minmax(125px, 1.1fr); }
.hc-plans--dedicated.hc-plans--nohoster { --cols: minmax(140px, 1.4fr) .75fr .75fr 1.2fr .8fr .5fr minmax(125px, 1.1fr); }
@media (max-width: 1100px) {
  .hc-plans--dedicated { --cols: minmax(110px, 1.1fr) minmax(110px, 1.3fr) .7fr .7fr 1.1fr .8fr minmax(120px, 1fr); }
  .hc-plans--dedicated.hc-plans--nohoster { --cols: minmax(120px, 1.3fr) .7fr .7fr 1.1fr .8fr minmax(120px, 1fr); }
  .hc-plans--dedicated .hc-plan > .hc-plan__geo { display: none; }
  .hc-plans--dedicated .hc-plan--head > :nth-last-child(2) { display: none; }
}
@media (max-width: 900px) { .hc-plans--dedicated .hc-plan > .hc-plan__geo { display: block; } }
.hc-opt--configurable { color: var(--hc-accent); }
.hc-checks__child { padding-left: 1.25rem; }
.hc-gpu { color: var(--hc-accent); }
