/* =========================================================
   «Куда сходить в Москве»: блок с H1 на главной и посадочные
   (reboot-child / inc/kuda-shodit.php, assets/kuda-shodit.js)
   Карточки и ленты используют стили каруселей рубрик (home-rubrics.css)
   ========================================================= */

@property --kc {
    syntax: '<color>';
    inherits: true;
    initial-value: #f23104;
}

/* ---------- блок на главной ---------- */
.kc {
    --kc: #f23104;
    position: relative;
    margin: 0 0 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    overflow: hidden;
    transition: --kc .45s ease;
}
.kc::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    z-index: 2;
    background: linear-gradient(90deg, var(--kc), color-mix(in srgb, var(--kc) 45%, #fbbf24) 55%, color-mix(in srgb, var(--kc) 20%, transparent));
}

.kc__head {
    position: relative;
    padding: 24px 22px 4px;
    background:
        radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--kc) 13%, #fff) 0%, transparent 60%),
        radial-gradient(60% 120% at 0% 0%, color-mix(in srgb, var(--kc) 6%, #fff) 0%, transparent 70%);
    overflow: hidden;
}
.kc__title {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
    max-width: calc(100% - 90px);
    font-size: 30px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: -.025em;
    color: #111 !important;
    background: none !important;
}
.kc__lead {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 8px 0 0 !important;
    font-size: 15px;
    line-height: 1.5;
    color: #5b6170;
}
.kc__deco {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    font-size: 40px;
    line-height: 1;
    background: #fff;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--kc) 24%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--kc) 14%, #fff);
    transform: rotate(6deg);
    animation: kc-float 6s ease-in-out infinite;
}
.kc__deco span { display: block; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4), opacity .2s ease; }
.kc__deco span.is-swap { transform: scale(.4) rotate(-30deg); opacity: 0; }
@keyframes kc-float {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50%      { transform: rotate(2deg) translateY(-6px); }
}

/* ---------- вкладки-фильтры ---------- */
.kc-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 22px 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 22px;
}
.kc-tabs::-webkit-scrollbar { display: none; }
.kc-tab {
    --c: #2d81e0;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 15px 0 6px;
    border-radius: 999px;
    border: 1px solid #eceef1;
    background: #f6f7f9;
    color: #1c1c1c !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .15s ease;
}
.kc-tab__ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 15px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .07);
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.4);
}
.kc-tab:hover {
    border-color: color-mix(in srgb, var(--c) 35%, #fff);
    background: color-mix(in srgb, var(--c) 8%, #fff);
    color: color-mix(in srgb, var(--c) 80%, #000) !important;
}
.kc-tab:hover .kc-tab__ico { transform: scale(1.12) rotate(-8deg); }
.kc-tab:active { transform: scale(.96); }
.kc-tab:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.kc-tab.is-active {
    border-color: var(--c);
    background: var(--c);
    color: #fff !important;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 38%, transparent);
}
.kc-tab.is-active .kc-tab__ico { background: rgba(255, 255, 255, .95); }

/* ---------- вкладка: строка «когда» + карусель ---------- */
.kc-panels { position: relative; padding: 12px 0 20px; min-height: 330px; }
.kc-panel[hidden] { display: none !important; }
.kc-panel { animation: kc-in .35s ease both; }
@keyframes kc-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.kc-panel__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    margin-bottom: 14px;
}
.kc-panel__when {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    min-width: 0;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 600;
    color: #2a2d34;
}
.kc-panel__ico { font-size: 16px; line-height: 1; }
.kc-panel__n {
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: color-mix(in srgb, var(--kc) 80%, #000);
    background: color-mix(in srgb, var(--kc) 10%, #fff);
}
.kc-panel__nav { display: flex; gap: 6px; margin-left: auto; }
.kc-panel__nav .hr-nav:hover:not(:disabled) { background: var(--kc); border-color: var(--kc); color: #fff; }
.kc-panel__all,
.kc-box__all {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: color-mix(in srgb, var(--kc) 85%, #000) !important;
    text-decoration: none !important;
    background: color-mix(in srgb, var(--kc) 10%, #fff);
    transition: background .2s ease, color .2s ease;
}
.kc-panel__all:hover { color: #fff !important; background: var(--kc); }

.kc .hr-track { padding: 2px 22px 6px; scroll-padding: 0 22px; }

/* живой индикатор «сейчас» */
.kc-live {
    position: relative;
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16a34a;
}
.kc-live::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #16a34a;
    opacity: 0;
    animation: kc-pulse 2s ease-out infinite;
}
@keyframes kc-pulse {
    0%   { transform: scale(.5); opacity: .7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* скелетон при загрузке вкладки */
.kc-skel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 14px;
    padding: 0 22px;
    overflow: hidden;
}
.kc-skel__bar { height: 18px; width: 260px; max-width: 60%; margin: 0 22px 16px; border-radius: 6px; }
.kc-skel__card { display: flex; flex-direction: column; gap: 9px; }
.kc-skel__img { aspect-ratio: 3 / 2; border-radius: 10px; }
.kc-skel__line { height: 13px; border-radius: 5px; }
.kc-skel__line--s { width: 60%; }
.kc-skel__bar, .kc-skel__img, .kc-skel__line {
    background: linear-gradient(90deg, #f1f3f6 0, #e6e9ee 40%, #f1f3f6 80%);
    background-size: 200% 100%;
    animation: kc-shimmer 1.2s linear infinite;
}
@keyframes kc-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.kc-empty {
    margin: 0 22px;
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    color: #5b6170;
    background: #f7f8fa;
}
.kc-empty a { color: var(--kc) !important; font-weight: 600; }

/* ---------- карточка подборки ---------- */
.kc-card { position: relative; }
.kc-card .hr-card__media { box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.kc-card__rb {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 58px);
    padding: 3px 10px 3px 3px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #15171c;
    background: rgba(255, 255, 255, .93);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform .25s ease;
}
.kc-card__rb i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    font-style: normal;
    background: color-mix(in srgb, var(--rb) 22%, #fff);
}
.kc-card .hr-card__link:hover .kc-card__rb { transform: translateY(-1px); }
.kc-card__why {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 2;
    max-width: calc(100% - 16px);
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    background: rgba(17, 19, 24, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kc-card__st { display: block; min-height: 17px; margin-top: -3px; line-height: 1.3; }
.kc-card__st .rf-status { font-size: 12.5px; }
.kc-st {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #4b5563;
}
.kc-st--ok { color: #16a34a; }
.kc-st--ok::before,
.kc-st--date::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}
.kc-st--date { color: #7c3aed; }

/* ---------- посадочная: шапка ---------- */
.kc-crumbs { margin: 0 0 12px; }
.kc-hero {
    --kc: #f23104;
    position: relative;
    margin: 0 0 14px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.kc-hero__cover {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: linear-gradient(135deg, color-mix(in srgb, var(--kc) 75%, #fff) 0%, var(--kc) 50%, color-mix(in srgb, var(--kc) 65%, #000) 100%);
}
.kc-hero__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 120% at 85% 0%, rgba(255, 255, 255, .28), transparent 60%);
}
.kc-hero__pattern {
    position: absolute;
    inset: -30px -40px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px 10px;
    font-size: 36px;
    line-height: 1;
    opacity: .2;
    transform: rotate(-12deg);
    pointer-events: none;
    user-select: none;
    animation: kc-drift 40s linear infinite;
}
.kc-hero__pattern i { font-style: normal; text-align: center; }
@keyframes kc-drift {
    from { transform: rotate(-12deg) translateX(0); }
    to   { transform: rotate(-12deg) translateX(-60px); }
}
.kc-hero__body { position: relative; padding: 0 24px; }
.kc-hero__avatar {
    position: relative;
    z-index: 1;
    width: 92px;
    height: 92px;
    margin-top: -46px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    border: 4px solid #fff;
    font-size: 44px;
    line-height: 1;
    background: color-mix(in srgb, var(--kc) 16%, #fff);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--kc) 30%, transparent);
    transform: rotate(-4deg);
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.4);
}
.kc-hero__avatar:hover { transform: rotate(4deg) scale(1.05); }
.kc-hero__title {
    margin: 14px 0 0 !important;
    font-size: 28px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
    color: #111 !important;
}
.kc-hero__about { max-width: 660px; margin: 10px 0 0 !important; font-size: 16px; line-height: 1.55; color: #33363d; }
.kc-hero__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 14px;
    color: #4b5563;
}
.kc-hero__stats b { color: #111; font-weight: 700; }
.kc-hero__dot { color: #c8cdd5; }
.kc-hero .kc-tabs { padding: 16px 24px 18px; scroll-padding: 0 24px; }

/* ---------- посадочная: сетка «по одной из каждой рубрики» ---------- */
.kc-box {
    --kc: inherit;
    margin: 0 0 16px;
    padding: 20px 0 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.kc-box__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 0 22px;
    margin-bottom: 16px;
}
.kc-box__title,
.kc-more-wrap__title {
    margin: 0 !important;
    font-size: 21px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -.01em;
    color: #111 !important;
}
.kc-box__when {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-size: 14px;
    color: #5b6170;
}
.kc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 20px 16px;
    padding: 0 22px;
}
.kc-grid .kc-card { animation: kc-in .45s ease both; animation-delay: calc(var(--i, 0) * 45ms); }
.kc-grid .hr-card__title { -webkit-line-clamp: 3; }

.kc-more-wrap { margin: 0 0 16px; }
.kc-more-wrap__title { padding: 6px 4px 12px; }
.kc-more .hr-sec__title { font-size: 18px; }
.kc-more__sfx { font-weight: 500; color: #8a8f99; }

.kc-seo h2 + .lp-faq { margin-top: 4px; }
.kc-related { margin-top: 16px; }

/* ---------- адаптив ---------- */
@media (max-width: 768px) {
    .kc,
    .kc-box {
        border-radius: 0;
        box-shadow: none;
    }
    .kc { margin-bottom: 10px; }
    .kc__head { padding: 20px 16px 2px; }
    .kc__title { font-size: 25px !important; max-width: calc(100% - 70px); }
    .kc__lead { font-size: 14px; }
    .kc__deco { width: 58px; height: 58px; border-radius: 17px; font-size: 30px; top: 16px; right: 14px; }
    .kc-tabs { padding: 14px 16px 4px; scroll-padding: 0 16px; gap: 7px; }
    .kc-tab { height: 38px; font-size: 13.5px; }
    .kc-tab__ico { width: 26px; height: 26px; font-size: 14px; }
    .kc-panel__bar { padding: 0 16px; }
    .kc .hr-track { padding: 2px 16px 6px; scroll-padding: 0 16px; }
    .kc-skel { padding: 0 16px; grid-auto-columns: 200px; }
    .kc-skel__bar { margin: 0 16px 16px; }
    .kc-empty { margin: 0 16px; }
    .kc-box { padding: 18px 0 20px; }
    .kc-box__head { padding: 0 16px; }
    .kc-grid { padding: 0 16px; gap: 18px 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .kc-more-wrap__title { padding: 4px 16px 10px; }
}

@media (max-width: 640px) {
    .kc-hero { border-radius: 0; margin-left: -12px; margin-right: -12px; }
    .kc-hero__cover { height: 120px; }
    .kc-hero__body { padding: 0 16px; }
    .kc-hero__avatar { width: 76px; height: 76px; margin-top: -38px; font-size: 36px; border-radius: 22px; }
    .kc-hero__title { font-size: 23px !important; }
    .kc-hero__about { font-size: 15px; }
    .kc-hero .kc-tabs { padding: 14px 16px 16px; scroll-padding: 0 16px; }
}

@media (max-width: 599px) {
    .kc-panel__nav { display: none; }
    .kc-panel__all { margin-left: auto; padding: 7px 11px; font-size: 13px; }
    .kc-panel__when { font-size: 13px; }
    .kc-skel { grid-auto-columns: min(62vw, 200px); }
    .kc-grid .hr-card__title { font-size: 14px; }
    .kc-card__rb { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .kc, .kc__deco, .kc__deco span, .kc-panel, .kc-grid .kc-card, .kc-hero__pattern, .kc-live::after,
    .kc-skel__bar, .kc-skel__img, .kc-skel__line { animation: none !important; transition: none !important; }
}

/* =========================================================
   Календарь на 7 дней (подборки «на день» на главной)
   ========================================================= */
.kc-panels { container: kcp / inline-size; }
.kc-panel__bar--cal { flex-wrap: wrap; row-gap: 12px; }
.kc-cal {
    display: grid;
    grid-template-columns: repeat(7, minmax(44px, 1fr));
    flex: 0 1 400px;
    min-width: 0;
    padding: 4px;
    border-radius: 14px;
    background: #f5f6f8;
}
.kc-cal__d {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 0;
    padding: 6px 2px 5px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #23262d;
    font: inherit;
    line-height: 1.1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.kc-cal__d + .kc-cal__d::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: #e3e6eb;
    transition: opacity .2s ease;
}
.kc-cal__d.is-active::before,
.kc-cal__d.is-active + .kc-cal__d::before,
.kc-cal__d:hover::before,
.kc-cal__d:hover + .kc-cal__d::before { opacity: 0; }

.kc-cal__n { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.kc-cal__m {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8b919c;
}
.kc-cal__w { font-size: 12px; font-style: italic; color: #5b616c; }
.kc-cal__d.is-we .kc-cal__n,
.kc-cal__d.is-we .kc-cal__w { color: #e5383b; }

.kc-cal__d:hover { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.kc-cal__d:focus-visible { outline: 2px solid var(--kc); outline-offset: 1px; }
.kc-cal__d.is-active,
.kc-cal__d.is-active:hover {
    background: var(--kc);
    box-shadow: 0 6px 16px -8px var(--kc);
    color: #fff;
}
.kc-cal__d.is-active .kc-cal__n,
.kc-cal__d.is-active .kc-cal__m,
.kc-cal__d.is-active .kc-cal__w { color: #fff; }
.kc-cal__d.is-active .kc-cal__m { opacity: .85; }
.kc-cal__d:active { transform: scale(.96); }
.kc-cal__d.is-loading { animation: kc-cal-pulse .9s ease-in-out infinite; }
@keyframes kc-cal-pulse { 50% { opacity: .55; } }

/* «сегодня»: зелёная точка «работает сейчас» */
.kc-cal__live {
    position: absolute;
    top: 5px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px #f5f6f8;
}
.kc-cal__d.is-active .kc-cal__live { background: #fff; box-shadow: none; }

.kc-panel__n--cal {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 0 !important;
    padding: 0;
    background: none;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    color: #1d2025;
}
.kc-panel__n--cal small { font-size: 12px; font-weight: 500; color: #7a808b; }

/* смена дня: карточки слегка гаснут, пока грузится новый день */
.kc-panel.is-busy .kc-track,
.kc-panel.is-busy .kc-empty { opacity: .45; transition: opacity .2s ease; pointer-events: none; }

@container kcp (max-width: 640px) {
    .kc-panel__bar--cal .kc-cal { flex: 1 1 100%; order: -1; }
}
@media (max-width: 599px) {
    .kc-cal { grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 3px; }
    .kc-cal__d { padding: 5px 0 4px; }
    .kc-cal__n { font-size: 16px; }
    .kc-cal__live { top: 4px; right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .kc-cal__d, .kc-cal__d.is-loading { transition: none; animation: none; }
}

/* дни календаря — ссылки на страницы с датой: без подчёркивания и оранжевого hover темы */
a.kc-cal__d,
a.kc-cal__d:hover,
a.kc-cal__d:focus,
a.kc-cal__d:active { color: #23262d; text-decoration: none; box-shadow: none; }
a.kc-cal__d:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
a.kc-cal__d.is-active,
a.kc-cal__d.is-active:hover { color: #fff; box-shadow: 0 6px 16px -8px var(--kc); }

/* календарь в шапке посадочной */
.kc-hero__cal { display: flex; margin-top: 16px; }
.kc-hero__cal .kc-cal { flex: 0 1 460px; }
@media (max-width: 640px) {
    .kc-hero__cal .kc-cal { flex: 1 1 100%; }
}

/* ---------- стрелки прокрутки ленты подборок (ПК) ---------- */
.kc-tabs-wrap {
    --arr-top: 36px;            /* центр вкладок: отступ сверху 16px + половина высоты 40px */
    position: relative;
}
/* мягкое затухание у края, за которым есть ещё вкладки */
.kc-tabs-wrap.has-next .kc-tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent calc(100% - 6px));
            mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent calc(100% - 6px));
}
.kc-tabs-wrap.has-prev .kc-tabs {
    -webkit-mask-image: linear-gradient(90deg, transparent 6px, #000 90px);
            mask-image: linear-gradient(90deg, transparent 6px, #000 90px);
}
.kc-tabs-wrap.has-prev.has-next .kc-tabs {
    -webkit-mask-image: linear-gradient(90deg, transparent 6px, #000 90px, #000 calc(100% - 90px), transparent calc(100% - 6px));
            mask-image: linear-gradient(90deg, transparent 6px, #000 90px, #000 calc(100% - 90px), transparent calc(100% - 6px));
}
.kc-tabs__arr {
    position: absolute;
    top: var(--arr-top);
    z-index: 4;
    display: none;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #1e293b;
    box-shadow: 0 4px 14px rgba(17, 24, 39, .14);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    user-select: none;
}
.kc-tabs__arr--prev { left: 6px; }
.kc-tabs__arr--next { right: 6px; }
.kc-tabs__arr:hover {
    color: var(--kc, #f23104);
    border-color: color-mix(in srgb, var(--kc, #f23104) 40%, #fff) !important;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--kc, #f23104) 28%, transparent);
    transform: translateY(-50%) scale(1.08);
}
.kc-tabs__arr:active { transform: translateY(-50%) scale(.94); }
.kc-tabs__arr:focus-visible { outline: 2px solid var(--kc, #f23104); outline-offset: 2px; }
.kc-tabs__arr[hidden] { display: none !important; }

/* стрелки — на устройствах с мышью или на десктопах */
@media (hover: hover) and (pointer: fine) {
    .kc-tabs__arr { display: grid; }
}
@media (min-width: 900px) {
    .kc-tabs__arr:not([hidden]) { display: grid; }
}
@media (max-width: 640px) {
    .kc-tabs-wrap { --arr-top: 33px; }
}

/* При перетаскивании мышью курсор grabbing */
.kc-tabs.is-dragging,
.kc-occasions-list.is-dragging {
    cursor: grabbing !important;
    user-select: none !important;
    scroll-behavior: auto !important;
}
.kc-tabs.is-dragging *,
.kc-occasions-list.is-dragging * {
    pointer-events: none !important;
}

/* =========================================================
   Подборка «Вечером»: фильтры и каталог заведений
   ========================================================= */

/* Блок вечерних заведений */
.kc-eve-box {
    position: relative;
    border-top: 3px solid #6366f1;
    background: #fff;
    margin-top: 24px;
}
.kc-eve-box__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f3f7;
    margin-bottom: 18px;
}
.kc-eve-box__titles {
    flex: 1 1 auto;
    min-width: 0;
}
.kc-eve-title-ico {
    margin-right: 8px;
    font-size: 24px;
    vertical-align: -2px;
}
.kc-eve-box__desc {
    margin: 6px 0 0 !important;
    font-size: 14.5px;
    line-height: 1.5;
    color: #64748b;
}
.kc-eve-box__all {
    background: #eef2ff !important;
    color: #4338ca !important;
    white-space: nowrap;
    transition: all .2s ease;
}
.kc-eve-box__all:hover {
    background: #4338ca !important;
    color: #fff !important;
}

/* Фильтры-чипы */
.kc-eve-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0 22px 20px;
    margin: 0;
}
.kc-eve-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px 0 8px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.kc-eve-chip__ico {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    transition: transform .2s ease;
}
.kc-eve-chip__name {
    white-space: nowrap;
}
.kc-eve-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    background: #e2e8f0;
    transition: background .2s ease, color .2s ease;
}
.kc-eve-chip:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    color: #0f172a;
    transform: translateY(-1px);
}
.kc-eve-chip:hover .kc-eve-chip__ico {
    transform: scale(1.1);
}
.kc-eve-chip:active {
    transform: translateY(0);
}
.kc-eve-chip.is-active {
    border-color: #4f46e5;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .35);
}
.kc-eve-chip.is-active .kc-eve-chip__ico {
    background: rgba(255, 255, 255, .95);
}
.kc-eve-chip.is-active .kc-eve-chip__count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

/* Сетка карточек */
.kc-eve-grid {
    padding-top: 4px;
    min-height: 200px;
}
.kc-eve-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

/* Кнопка «Показать ещё» */
.kc-eve-more-wrap {
    display: flex;
    justify-content: center;
    padding: 24px 22px 4px;
}
.kc-eve-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
    background: #f5f7ff;
    color: #4338ca;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(67, 56, 202, .08);
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.kc-eve-more-btn svg {
    transition: transform .2s ease;
}
.kc-eve-more-btn:hover {
    background: #4338ca;
    border-color: #4338ca;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(67, 56, 202, .25);
}
.kc-eve-more-btn:hover svg {
    transform: translateY(2px);
}
.kc-eve-more-btn:active {
    transform: translateY(0);
}

/* Быстрые фильтры на главной в панели «Вечером» */
.kc-eve-home-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 22px 14px;
    margin-top: -4px;
}
.kc-eve-hp-title {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-right: 4px;
}
.kc-eve-hp-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.kc-eve-hp-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #334155 !important;
    text-decoration: none !important;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.kc-eve-hp-ico {
    font-size: 14px;
}
.kc-eve-hp-item:hover {
    background: #e0e7ff;
    border-color: #c7d2fe;
    color: #3730a3 !important;
    transform: translateY(-1px);
}

/* Адаптив для вечерних элементов */
@media (max-width: 768px) {
    .kc-eve-box {
        margin-top: 14px;
    }
    .kc-eve-box__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 12px;
    }
    .kc-eve-box__desc {
        font-size: 13.5px;
    }
    .kc-eve-filters {
        padding: 0 16px 14px;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .kc-eve-filters::-webkit-scrollbar {
        display: none;
    }
    .kc-eve-chip {
        flex-shrink: 0;
        height: 36px;
        font-size: 13px;
    }
    .kc-eve-home-pills {
        padding: 0 16px 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    .kc-eve-hp-list {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .kc-eve-hp-list::-webkit-scrollbar {
        display: none;
    }
    .kc-eve-hp-item {
        flex-shrink: 0;
    }
}

/* =========================================================
   Быстрые фильтры по настроению, Геолокация и Маршруты на 3 часа
   ========================================================= */

/* ---------- Панель умных фильтров ---------- */
.kc-smart-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 22px 14px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.kc-smart-bar[data-context="landing"] {
    padding: 4px 0 18px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0f2f5;
}

.kc-smart-bar__moods {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}
.kc-smart-bar__moods::-webkit-scrollbar {
    display: none;
}

.kc-mood-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 6px 13px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4b5563;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s cubic-bezier(.2, .8, .2, 1);
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.kc-mood-pill:hover {
    color: #111827;
    background: #e5e7eb;
}

.kc-mood-pill.is-active {
    color: #fff;
    background: var(--kc, #f23104);
    box-shadow: 0 3px 10px color-mix(in srgb, var(--kc, #f23104) 35%, transparent);
    border-color: transparent;
}

.kc-mood-pill__ico {
    font-size: 14px;
    line-height: 1;
}

/* Кнопки инструментов справа */
.kc-smart-bar__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.kc-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
    user-select: none;
}

.kc-tool-btn--geo {
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}
.kc-tool-btn--geo:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
}
.kc-tool-btn--geo.is-active {
    color: #fff;
    background: #0284c7;
    border-color: #0284c7;
    box-shadow: 0 3px 10px rgba(2, 132, 199, .3);
}
.kc-tool-btn--geo.is-loading {
    opacity: .75;
    pointer-events: none;
}

.kc-tool-btn__spinner {
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: kc-spin .7s linear infinite;
    display: inline-block;
}
@keyframes kc-spin {
    to { transform: rotate(360deg); }
}

.kc-tool-btn--route {
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.kc-tool-btn--route:hover {
    background: #dcfce7;
    border-color: #86efac;
}

/* Бейдж расстояния на карточке */
.kc-geo-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(17, 24, 39, .88);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    pointer-events: none;
    animation: kc-pop-in .25s ease-out;
}
@keyframes kc-pop-in {
    from { transform: scale(.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.kc-geo-badge svg {
    color: #38bdf8;
}

/* Инфо-полоса после геосортировки */
.kc-geo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    margin: 8px 22px;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 8px;
    font-size: 12.5px;
    color: #0369a1;
}
.kc-geo-bar__reset {
    background: none;
    border: none;
    color: #0284c7;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.kc-geo-bar__reset:hover {
    color: #0369a1;
}

/* Скрытие карточек по настроению */
.hr-card.is-mood-hidden {
    display: none !important;
}

/* ---------- Блок «Готовый маршрут на 3 часа» ---------- */
.kc-routes {
    position: relative;
    margin: 24px 0 16px;
    scroll-margin-top: 80px;
    background: linear-gradient(180deg, #fafbfe 0%, #ffffff 100%);
    border: 1px solid #e5e9f2;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .04);
    transition: all .35s ease;
}

.kc-routes.is-collapsed {
    display: none;
}
.kc-routes.is-open {
    display: block !important;
    animation: kc-slide-down .35s ease-out;
}
@keyframes kc-slide-down {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.kc-routes__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.kc-routes__badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #d97706;
    background: #fef3c7;
    border-radius: 6px;
    margin-bottom: 6px;
}

.kc-routes__title {
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
}

.kc-routes__lead {
    font-size: 14px;
    color: #64748b;
    margin: 0 !important;
    max-width: 580px;
}

/* Табы сценариев */
.kc-routes__tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.kc-routes__tabs::-webkit-scrollbar {
    display: none;
}

.kc-route-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    text-align: left;
    white-space: nowrap;
}
.kc-route-tab:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.kc-route-tab.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .18);
}
.kc-route-tab__title {
    font-size: 13.5px;
    font-weight: 700;
}
.kc-route-tab.is-active .kc-route-tab__title {
    color: #fff;
}
.kc-route-tab__badge {
    font-size: 11px;
    color: #64748b;
}
.kc-route-tab.is-active .kc-route-tab__badge {
    color: #94a3b8;
}

/* Контент маршрута */
.kc-route-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.kc-route-info__theme {
    font-size: 14px;
    color: #334155;
    flex: 1 1 300px;
}
.kc-route-info__theme b {
    color: #0f172a;
}
.kc-route-info__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.kc-route-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all .2s ease;
}
.kc-route-btn--map {
    background: #fcc419;
    color: #111 !important;
    border: 1px solid #fab005;
}
.kc-route-btn--map:hover {
    background: #ffd43b;
}
.kc-route-btn--copy {
    background: #fff;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.kc-route-btn--copy:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}
.kc-route-btn--copy.is-copied {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

/* Шаги таймлайна */
.kc-route-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
}

.kc-route-step {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .02);
}

.kc-route-step__num {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    border-radius: 8px;
    margin-bottom: 12px;
}

.kc-route-step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.kc-route-step__tag {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.kc-route-step__time {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    background: #f8fafc;
    padding: 2px 6px;
    border-radius: 4px;
}

.kc-route-step__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 6px !important;
}
.kc-route-step__title a {
    color: #0f172a !important;
    text-decoration: none !important;
}
.kc-route-step__title a:hover {
    color: var(--kc, #f23104) !important;
}

.kc-route-step__desc {
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
    margin: 0 0 12px !important;
    flex: 1 1 auto;
}

.kc-route-step__walk {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

/* Мобильная адаптация */
@media (max-width: 900px) {
    .kc-smart-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 16px 12px;
    }
    .kc-smart-bar__tools {
        justify-content: space-between;
    }
    .kc-tool-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
    .kc-route-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .kc-routes {
        padding: 18px 14px;
    }
    .kc-routes__header {
        flex-direction: column;
        gap: 14px;
    }
    .kc-routes__tabs {
        width: 100%;
    }
    .kc-route-tab {
        flex: 1 1 auto;
    }
    .kc-route-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .kc-route-info__actions {
        width: 100%;
    }
    .kc-route-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}
/* =========================================================
   Подборки по поводам (день рождения, подросток, для двоих...)
   ========================================================= */
.kc-occasions-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0 14px;
    position: relative;
}
.kc-occasions-lbl {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.kc-occasions-track {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}
.kc-occasions-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding: 2px 4px;
}
.kc-occasions-list::-webkit-scrollbar { display: none; }

/* Мягкое затухание по краям поводов */
.kc-occasions-track.has-next .kc-occasions-list {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent calc(100% - 4px));
            mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent calc(100% - 4px));
}
.kc-occasions-track.has-prev .kc-occasions-list {
    -webkit-mask-image: linear-gradient(90deg, transparent 4px, #000 70px);
            mask-image: linear-gradient(90deg, transparent 4px, #000 70px);
}
.kc-occasions-track.has-prev.has-next .kc-occasions-list {
    -webkit-mask-image: linear-gradient(90deg, transparent 4px, #000 70px, #000 calc(100% - 70px), transparent calc(100% - 4px));
            mask-image: linear-gradient(90deg, transparent 4px, #000 70px, #000 calc(100% - 70px), transparent calc(100% - 4px));
}

/* Стрелки прокрутки поводов (ПК) */
.kc-occ__arr {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: none;
    place-items: center;
    width: 32px;
    height: 32px;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #1e293b;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .14);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    user-select: none;
}
.kc-occ__arr--prev { left: 2px; }
.kc-occ__arr--next { right: 2px; }

.kc-occ__arr:hover {
    color: var(--kc, #f23104);
    border-color: color-mix(in srgb, var(--kc, #f23104) 40%, #fff) !important;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--kc, #f23104) 28%, transparent);
    transform: translateY(-50%) scale(1.08);
}
.kc-occ__arr:active { transform: translateY(-50%) scale(.94); }
.kc-occ__arr:focus-visible { outline: 2px solid var(--kc, #f23104); outline-offset: 2px; }
.kc-occ__arr[hidden] { display: none !important; }

@media (hover: hover) and (pointer: fine) {
    .kc-occ__arr { display: grid; }
}
@media (min-width: 900px) {
    .kc-occ__arr:not([hidden]) { display: grid; }
}
.kc-occ-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    transition: all .18s ease;
}
.kc-occ-chip:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px -3px rgba(0,0,0,.08);
}
.kc-occ-chip.is-active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px -2px rgba(15,23,42,.35);
}
.kc-occ-chip__ico {
    font-size: 15px;
    line-height: 1;
}

/* =========================================================
   Посадочные у метро (/kuda-shodit/metro/{slug}/)
   ========================================================= */
.kc-metro-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}
.kc-metro-hero {
    margin-bottom: 24px;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -5px rgba(0,0,0,.05);
}
.kc-metro-hero-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 12px;
}
.kc-metro-line-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}
.kc-metro-tabs {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.kc-metro-tabs::-webkit-scrollbar { display: none; }
.kc-metro-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .18s ease;
}
.kc-metro-tab b {
    background: #e2e8f0;
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 11.5px;
    color: #475569;
}
.kc-metro-tab:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.kc-metro-tab.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}
.kc-metro-tab.is-active b {
    background: rgba(255,255,255,.2);
    color: #fff;
}
.kc-metro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.kc-metro-item-wrapper {
    transition: opacity .2s ease;
}
.kc-metro-item-wrapper .hr-card {
    width: 100%;
    margin: 0;
}

/* Общий хаб станций метро */
.kc-metro-stations-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 24px;
}
.kc-metro-station-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all .2s ease;
    border-left: 5px solid var(--st-c, #3b82f6);
}
.kc-metro-station-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0,0,0,.08);
    border-color: #cbd5e1;
}
.kc-metro-station-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
.kc-metro-station-line {
    font-size: 12.5px;
    color: #64748b;
}
