/* ===== «Тёплая бумага» (12.11.2026) =====
   Визуальный язык админки J.Travel Admin, перенесённый на сайт: бумага без рамок,
   белые «листы» с мягкой тенью, одна искра (#C2410C, ночью #F2703E), знаки разделов
   в персиковых плашках, поля — серая «бумага» #F0EEE8, зелёные чипы-галочки.
   Подключается в base.html ПОСЛЕ site.css и только переопределяет его — откатить
   весь стиль = убрать одну строку <link>. Цвета — те же токены site.css, плюс
   несколько своих ниже (тёмная тема переопределяет их в :root[data-theme="dark"]). */
:root{
  --warm-tint: #F6E3D8;        /* персиковая плашка знака */
  --warm-tint-ink: #9A3412;    /* текст на персиковой плашке (контраст 6.3:1) */
  --warm-ok-bg: #E6F1E4; --warm-ok-ink: #2D6A2E;
  --warm-field: #F0EEE8;
  --warm-shadow: 0 1px 2px rgba(27,27,27,.04), 0 12px 32px -16px rgba(27,27,27,.14);
  --warm-night: #1B1B1B; --warm-night-2: #242424; --warm-night-3: #2E2E2E;
}
:root[data-theme="dark"]{
  --warm-tint: #3A2A22; --warm-tint-ink: #F7A27E;
  --warm-ok-bg: #1F3320; --warm-ok-ink: #9FD39B;
  --warm-field: #2A2A2A;
  --warm-shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
  --warm-night: #0F0F0F; --warm-night-2: #1A1A1A; --warm-night-3: #262626;
}

/* ---- шапка: белый лист со скруглением ---- */
.top-nav{
  background: var(--bg-card); border-radius: 22px; padding: 10px 10px 10px 22px;
  margin: 0 0 32px; box-shadow: var(--warm-shadow);
}
.logo{ letter-spacing: -0.03em; }
.tabs{ gap: 4px; }
.tab-btn{ padding: 10px 14px; border-radius: 12px; }
.tab-btn.active{ background: var(--warm-field); color: var(--ink); }

.community-lang-switch{ gap: 0; background: var(--warm-field); border-radius: 12px; padding: 4px; }
.community-lang-btn{ border: 0; background: transparent; border-radius: 9px; padding: 7px 12px; font-size: 13px; }
.community-lang-btn.active{ background: var(--bg-card); color: var(--ink); box-shadow: 0 1px 2px rgba(27,27,27,.08); }
.community-lang-btn:hover{ color: var(--ink); }

.btn{ border-radius: 22px; padding: 13px 22px; font-weight: 700; font-size: 15px; }
.btn:hover{ transform: none; }
/* «Билеты» в шапке — вторичная кнопка (серая бумага), главная искра — «Войти» */
.top-nav-actions > a.btn[href*="/tickets/"]:not([href*="login"]){ background: var(--warm-field); color: var(--ink); font-weight: 600; }
.top-nav-actions > a.btn[href*="/tickets/"]:not([href*="login"]):hover{ background: var(--rule-strong); }
.community-user-menu-trigger{ border: 0; background: var(--warm-field); min-height: 44px; }

.theme-btn{ border: 0; box-shadow: var(--warm-shadow); width: 44px; height: 44px; }

/* ---- общие карточки: без рамок, мягкая тень ---- */
.card, .telegram-banner, .community-teaser, .project-link, .next-city-nav,
.community-city-grid, .note-preview-card{
  border: 0; box-shadow: var(--warm-shadow);
}
.card{ border-radius: 28px; }
.telegram-banner, .community-teaser{ border-radius: 24px; }
.telegram-banner:hover, .community-teaser:hover, .next-city-nav:hover, .project-link:hover{
  box-shadow: 0 1px 2px rgba(27,27,27,.04), 0 18px 40px -16px rgba(194,65,12,.30);
}
.telegram-banner-icon{ border-radius: 14px; width: 48px; height: 48px; background: var(--warm-tint); color: var(--accent-rust); }
.telegram-banner-cta, .note-preview-btn{ border-radius: 22px; }

/* ---- надзаголовки: разреженные капители ---- */
.eyebrow, .next-city-label{
  color: var(--ink-secondary); font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
}
.title-dot{ color: var(--accent-rust); }

/* ---- главная ---- */
.hero h1{ font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.045em; }
.hero p{ font-size: 17px; }
.stat-pill{ background: var(--bg-card); border-radius: 14px; padding: 10px 14px; box-shadow: var(--warm-shadow); }
.art-block{ border: 0; border-radius: 28px; }
.art-block:hover{ border: 0; box-shadow: 0 24px 48px rgba(194,65,12,.28); }
.art-block span{ background: var(--bg-card); color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 14px; }

.notes-section-heading{ font-size: 34px; letter-spacing: -0.035em; }
.notes-section-heading::after{ content: "."; color: var(--accent-rust); }
.note-preview-card{ border-radius: 26px; padding: 8px; }
.note-preview-photo{ border-radius: 19px; height: 170px; }
.note-preview-body{ padding: 14px 10px 10px; }
.note-preview-title{ font-size: 18px; letter-spacing: -0.02em; }
.note-preview-meta{ font-size: 13px; }
.note-preview-meta .dot{ display: none; }
.note-preview-btn{ background: var(--warm-field); color: var(--ink); }
.note-preview-card:hover .note-preview-btn{ background: var(--accent-fill); color: #fff; }

/* ---- заметка: заголовок над фото ---- */
.note-head{ margin: 0 0 20px; }
.note-head .eyebrow{ margin-bottom: 10px; }
.note-title{
  font-family: 'Onest', sans-serif; font-weight: 800; margin: 0;
  font-size: clamp(48px, 8vw, 88px); line-height: .95; letter-spacing: -0.05em; color: var(--ink);
}
.note-facts{ margin: 0 0 24px; }
.note-fact{ border: 0; border-radius: 12px; background: var(--warm-field); font-weight: 600; }
.note-fact--accent{ background: var(--warm-tint); color: var(--warm-tint-ink); }
.note-fact--ok{ background: var(--warm-ok-bg); color: var(--warm-ok-ink); text-decoration: none; }
.note-fact .ic{ width: 14px; height: 14px; }

.hero-photo{ height: 460px; border-radius: 32px; box-shadow: none; border: 0; margin-bottom: 36px; }
.hero-photo.lightbox-thumb:hover{ border: 0; opacity: .94; }
@media (max-width: 640px){ .hero-photo{ height: 260px; border-radius: 24px; } }

.intro{ font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }

/* Каждый раздел — белый лист, как карточка «Где жить» в админке */
.section{
  background: var(--bg-card); border-radius: 28px; padding: 28px 28px 24px;
  box-shadow: var(--warm-shadow); margin-bottom: 20px; scroll-margin-top: 16px;
}
.section-head{ gap: 14px; margin-bottom: 20px; }
.section-icon{
  width: 48px; height: 48px; border-radius: 14px; background: var(--warm-tint); color: var(--accent-rust);
}
.section-icon .ic{ width: 24px; height: 24px; }
.section-title{ font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.section-intro{ font-size: 16px; }

/* Места внутри листа — на «бумаге» */
.place-list{ gap: 10px; }
.place-card{ background: var(--bg-paper); border: 0; border-radius: 20px; padding: 18px 20px; }
.place-card:hover{ border: 0; background: var(--warm-field); }
.place-name{ font-size: 17px; letter-spacing: -0.01em; }
.place-note{ font-size: 15px; }
.place-links{ gap: 6px; margin: 2px 0 10px; }
.place-links a{
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 10px;
  background: var(--warm-ok-bg); color: var(--warm-ok-ink); font-size: 13px;
}
.place-links a:hover span{ text-decoration: none; }
.place-links a:hover{ filter: brightness(.96); }
.place-links .ic{ width: 13px; height: 13px; }

/* Кнопки «‹ предыдущий раздел / следующий ›» внизу листа */
.section-pager{
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--warm-field);
}
.section-pager a{
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px;
  border-radius: 22px; font-weight: 600; font-size: 15px; text-decoration: none;
  background: var(--warm-field); color: var(--ink);
}
.section-pager a.next{ margin-left: auto; background: var(--accent-fill); color: #fff; font-weight: 700; }
.section-pager a:hover{ filter: brightness(.95); }
.section-pager .ic{ width: 14px; height: 14px; stroke-width: 2.6; }

/* Практическая информация — «ночной» лист */
.section--night{ background: var(--warm-night); padding: 10px; }
.section--night > .section-inner{ background: var(--warm-night-2); border-radius: 22px; padding: 26px; }
.section--night .section-title{ color: #F7F6F3; }
.section--night .section-icon{ background: #3A2A22; color: #F2703E; }
.section--night .extra-info{ background: transparent; padding: 0; color: #C9C9C9; font-size: 15px; }
.section--night .extra-info strong, .section--night .extra-info .rich-text-heading{ color: #F7F6F3; }

.photo-grid img{ border-radius: 16px; }
.next-city-nav{ border-radius: 24px; }
.next-city-arrow{
  width: 44px; height: 44px; border-radius: 22px; background: var(--accent-fill); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

.community-city-grid{ border-radius: 28px; }
.legal-footer{ border-top: 0; }
.social-links a{ border: 0; box-shadow: var(--warm-shadow); }

@media (max-width: 640px){
  .top-nav{ padding: 8px 8px 8px 16px; border-radius: 18px; margin-bottom: 20px; }
  .section{ padding: 20px 16px 16px; border-radius: 24px; }
  .section-title{ font-size: 20px; }
  .section-pager a{ padding: 0 14px; font-size: 14px; }
}

/* ===== Весь сайт (12.11.2026): заметки, «О нас», сообщество, билеты =====
   Одно правило на все «листы» сайта вместо правки каждого шаблона: убираем рамки,
   даём одинаковую мягкую тень и скругление. Новые карточки, которые появятся в
   site.css с рамкой var(--rule), стоит добавить в этот список. */
.card, .note-card, .city-card, .latest-video-card, .community-stat-card,
.community-place-card, .community-profile-place-card, .community-map-card,
.notes-map-card, .note-places-map-card, .activity-card, .activity-map-card,
.activity-profile-body, .home-rating-card, .activity-main-stats, .activity-weather-card,
.activity-week-card, .activity-row, .places-add-card, .places-country-card,
.activity-note-link, .search-card, .glass{
  border: 0; box-shadow: var(--warm-shadow);
}
.card, .community-map-card, .notes-map-card, .search-card{ border-radius: 28px; }
.note-card, .city-card, .latest-video-card, .community-stat-card, .community-place-card,
.community-profile-place-card, .note-places-map-card, .activity-card, .activity-map-card,
.home-rating-card, .activity-main-stats, .activity-weather-card, .activity-week-card,
.activity-row, .places-add-card, .places-country-card, .glass{ border-radius: 24px; }
.note-card:hover, .city-card:hover, .latest-video-card:hover, .activity-card:hover,
.community-place-card:hover, .community-profile-place-card:hover, .activity-row:hover{
  box-shadow: 0 1px 2px rgba(27,27,27,.04), 0 18px 40px -16px rgba(194,65,12,.30);
}

/* выпадающие меню — тоже без рамок, тень поглубже */
.community-user-menu-dropdown, .community-transport-picker-dropdown,
.community-base-picker-dropdown, .community-city-dropdown, .places-menu-pop,
.community-chain-modal-card, .community-map-legend, .dropdown{
  border: 0; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(27,27,27,.06), 0 18px 48px -12px rgba(27,27,27,.28);
}
.nav-burger{ border: 0; background: var(--warm-field); }

/* подвкладки (Города/Места, регионы, топы, профиль) — тёмная «активная» пилюля */
.subtabs .tab-btn{ border: 0; background: var(--warm-field); min-height: 40px; padding: 10px 16px; border-radius: 20px; font-size: 14px; }
.subtabs .tab-btn.active{ background: var(--ink); color: var(--bg-paper); border: 0; box-shadow: none; }

/* заголовки разделов сообщества — как на главной */
.community-header h1{ letter-spacing: -0.04em; }
.community-header h1::after{ content: "."; color: var(--accent-rust); }
.community-section-title{ font-size: 22px; letter-spacing: -0.02em; }
.community-stat-num{ font-size: 34px; letter-spacing: -0.03em; }

/* поля ввода — серая бумага без рамки, фокус — искра */
.community-field-input, .community-place-add-input, .community-place-add-select{
  border: 0; background: var(--warm-field); border-radius: 14px;
}
.community-field-input:focus, .community-place-add-input:focus, .community-place-add-select:focus{
  outline: 2px solid var(--accent-rust); outline-offset: 0;
}
.btn-secondary{ background: var(--warm-field); }

/* бейджи-«пилюли» без рамок */
.community-lb-page-btn, .activity-chip, .activity-like-btn, .activity-weather-badge,
.community-avatar-upload-btn, .social-links a{ border: 0; }
.community-lb-page-btn, .activity-chip, .activity-like-btn, .community-avatar-upload-btn{ background: var(--warm-field); }
.oauth-btn{ border-radius: 22px; }

/* кнопка темы — в правый нижний угол, чтобы не наезжала на шапку-лист */
.theme-btn{ top: auto; bottom: 24px; right: 24px; }

/* ===== Билеты (templates/travel.html — отдельный документ со своими стилями;
   warm.css подключается в нём после встроенного <style>) ===== */
.top-nav-links{ gap: 4px; }
.top-nav-links a{ padding: 10px 14px; border-radius: 12px; }
.top-nav-links a.active{ background: var(--warm-field); }
.lang-switch{ gap: 0; background: var(--warm-field); border-radius: 12px; padding: 4px; }
.lang-btn{ border: 0; background: transparent; border-radius: 9px; padding: 7px 12px; font-size: 13px; }
.lang-btn.active{ background: var(--bg-card); color: var(--ink); box-shadow: 0 1px 2px rgba(27,27,27,.08); }
.lang-btn:hover{ color: var(--ink); }
.page-tickets .top-nav-actions > a.btn:not([href*="login"]){ background: var(--warm-field); color: var(--ink); font-weight: 600; }
.page-tickets header h1{ font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; }
.page-tickets header h1::after{ content: "."; color: var(--accent-rust); }
.page-tickets input, .page-tickets select{ border: 0; background: var(--warm-field); }
.page-tickets input:focus, .page-tickets select:focus{ outline: 2px solid var(--accent-rust); background: var(--warm-field); }
.page-tickets label{ letter-spacing: 0.12em; }
.toggle-btn{ border: 0; background: var(--warm-field); }
.toggle-btn.active{ border: 0; }
.toggle-group.compact .toggle-btn{ border-radius: 20px; }
.toggle-group.compact .toggle-btn.active{ background: var(--ink); color: var(--bg-paper); }
.search-submit-btn{ border-radius: 24px; }
.reset-btn{ border: 0; background: var(--warm-field); }
.filter-chip{ border: 0; background: var(--warm-field); }
.page-tickets .note-preview-card, .page-tickets .latest-video-card, .page-tickets .activity-card{ border: 0; box-shadow: var(--warm-shadow); }

/* ===== Блоки по макету «Тёплая бумага» (12.11.2026): главная и заметка ===== */
.warm-tile{
  width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--warm-tint);
  color: var(--accent-rust); display: inline-flex; align-items: center; justify-content: center;
}
.warm-tile .ic{ width: 22px; height: 22px; }
.warm-tile--lg{ width: 56px; height: 56px; border-radius: 16px; }
.warm-tile--lg .ic{ width: 26px; height: 26px; }
.warm-tile--sm{ width: 34px; height: 34px; border-radius: 10px; }
.warm-tile--sm .ic{ width: 17px; height: 17px; }
.warm-tile--night{ background: #3A2A22; color: #F2703E; }

.warm-chip{
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 10px;
  background: var(--warm-field); color: var(--ink-secondary); font-size: 12.5px; font-weight: 600;
}
.warm-chip--accent{ background: var(--warm-tint); color: var(--warm-tint-ink); }
.warm-chip--ok{ background: var(--warm-ok-bg); color: var(--warm-ok-ink); }
.warm-chip .ic{ width: 12px; height: 12px; stroke-width: 3; }

.warm-h2{
  font-family: 'Onest', sans-serif; font-weight: 800; margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.04em;
}
.btn-icon{ display: inline-flex; align-items: center; gap: 8px; }
.btn-icon .ic{ width: 16px; height: 16px; stroke-width: 2.6; }
.hero-cta .btn{ min-height: 52px; padding: 0 26px; display: inline-flex; align-items: center; border-radius: 26px; font-size: 16px; }

/* первый экран */
.hero--warm{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 40px 0 8px; }
.hero--warm h1{ font-size: clamp(40px, 5.6vw, 68px); margin-bottom: 22px; }
.hero--warm p{ font-size: 17px; max-width: 520px; text-align: left; }
.hero--warm .hero-cta{ gap: 12px; }
.hero-stats{ display: flex; flex-wrap: wrap; gap: 32px; margin-top: 32px; }
.hero-stat{ display: flex; flex-direction: column; gap: 2px; }
.hero-stat b{ font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.hero-stat span{ font-size: 13.5px; color: var(--ink-secondary); }
.hero-photo-card{ position: relative; display: block; text-decoration: none; color: var(--ink); }
.hero-photo-img{
  display: block; height: 520px; border-radius: 32px; background: var(--warm-field) center/cover no-repeat;
}
.hero-photo-caption{
  position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border-radius: 22px; padding: 12px 14px; box-shadow: 0 14px 34px -12px rgba(27,27,27,.35);
}
.hero-photo-text{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hero-photo-city{ font-size: 17px; font-weight: 700; }
.hero-photo-meta{ font-size: 13.5px; color: var(--ink-secondary); }
.hero-photo-go{
  width: 44px; height: 44px; flex: none; border-radius: 22px; background: var(--accent-fill); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: transform .15s;
}
.hero-photo-go .ic{ width: 18px; height: 18px; stroke-width: 2.6; }
.hero-photo-card:hover .hero-photo-go{ transform: translateX(3px); }
@media (max-width: 780px){
  .hero--warm{ grid-template-columns: 1fr; gap: 28px; padding-top: 8px; }
  .hero-photo-img{ height: 320px; border-radius: 24px; }
  .hero--warm .hero-art{ display: block; }
}

/* «Что внутри каждой заметки» */
.warm-inside{ margin: 64px 0 0; }
.warm-inside-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.warm-inside-card{ background: var(--bg-card); border-radius: 24px; padding: 22px; box-shadow: var(--warm-shadow); display: flex; flex-direction: column; gap: 14px; }
.warm-inside-title{ font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.warm-inside-card p{ margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-secondary); }

/* «Куда я съездил» */
.warm-trips{ margin-top: 72px; padding-bottom: 0; }
.warm-trips-head{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.warm-filter{ display: flex; flex-wrap: wrap; gap: 8px; }
.warm-filter-btn{
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 20px; cursor: pointer;
  background: var(--warm-field); color: var(--ink); font-family: 'Onest', sans-serif; font-weight: 600; font-size: 14px;
}
.warm-filter-btn.active{ background: var(--ink); color: var(--bg-paper); }
.warm-trips-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.trip-card{
  display: flex; flex-direction: column; background: var(--bg-card); border-radius: 26px; padding: 8px;
  text-decoration: none; color: var(--ink); box-shadow: var(--warm-shadow); transition: box-shadow .15s, transform .15s;
}
.trip-card[hidden]{ display: none; }
.trip-card:hover{ transform: translateY(-2px); box-shadow: 0 1px 2px rgba(27,27,27,.04), 0 18px 40px -16px rgba(194,65,12,.30); }
.trip-card-photo{ display: block; height: 210px; border-radius: 19px; background: var(--warm-field) center/cover no-repeat; }
.trip-card-body{ display: flex; flex-direction: column; gap: 10px; padding: 14px 10px 10px; }
.trip-card-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.trip-card-title{ font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.trip-card-num{ font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; color: var(--ink-secondary); white-space: nowrap; }
.trip-card-chips{ display: flex; flex-wrap: wrap; gap: 6px; }

/* билеты на главной */
.warm-tickets{ margin-top: 72px; }
.warm-tickets-card{ background: var(--bg-card); border-radius: 28px; padding: 28px; box-shadow: var(--warm-shadow); display: flex; flex-direction: column; gap: 20px; }
.warm-card-head{ display: flex; align-items: center; gap: 14px; }
.warm-card-title{ font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.warm-card-sub{ font-size: 13.5px; color: var(--ink-secondary); }
.warm-tickets-fields{ display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; align-items: end; }
.warm-field{ display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--ink-secondary); }
.warm-field input{
  height: 48px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--warm-field);
  font-family: 'Onest', sans-serif; font-size: 16px; font-weight: 600; color: var(--ink); text-transform: uppercase;
}
.warm-field input[type="date"]{ text-transform: none; }
.warm-field input:focus{ outline: 2px solid var(--accent-rust); }
.warm-tickets-fields .btn{ height: 48px; border-radius: 24px; }

/* сообщество — «ночной» лист */
.warm-night-block{ margin-top: 72px; background: var(--warm-night); border-radius: 36px; padding: 12px; }
.warm-night-inner{
  background: var(--warm-night-2); border-radius: 28px; padding: 36px;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center;
}
.warm-night-copy{ flex: 1 1 380px; min-width: 0; }
.warm-night-copy .eyebrow{ color: #A8A8A8; }
.warm-night-copy .warm-h2{ color: #F7F6F3; }
.warm-night-copy .title-dot{ color: #F2703E; }
.warm-night-copy p{ color: #B5B5B5; font-size: 16px; line-height: 1.6; margin: 14px 0 0; max-width: 520px; text-align: left; }
.warm-night-members{ display: flex; align-items: center; gap: 12px; margin-top: 18px; color: #C9C9C9; font-size: 14px; }
.warm-night-members .community-avatar{ border-color: var(--warm-night-2); }
.warm-night-actions{ flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.warm-night-row{
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: var(--warm-night-3);
  color: #F7F6F3; text-decoration: none; font-weight: 600; font-size: 15.5px;
}
.warm-night-row:hover{ background: #333; }
.warm-night-cta{
  display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 6px; border-radius: 26px;
  background: #F2703E; color: #1B1B1B; text-decoration: none; font-weight: 700; font-size: 16px;
}
.warm-night-cta:hover{ background: #F58A5E; }
.page-home .telegram-banner{ margin-top: 72px; }
@media (max-width: 640px){
  .warm-night-inner{ padding: 24px 20px; }
  .warm-tickets-card{ padding: 20px; }
}

/* ---- заметка: две колонки ---- */
.wrap:has(.note-layout){ max-width: 1200px; }
.note-layout{ display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.note-main{ flex: 999 1 600px; min-width: 0; }
.note-aside{ flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
.note-aside-card{ background: var(--bg-card); border-radius: 24px; padding: 18px; box-shadow: var(--warm-shadow); }
.note-toc{ display: flex; flex-direction: column; gap: 2px; }
.note-toc .eyebrow{ margin: 2px 4px 8px; }
.note-toc-item{
  display: flex; align-items: center; gap: 12px; padding: 7px; border-radius: 14px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.note-toc-item:hover{ background: var(--bg-paper); }
.note-toc-item.active{ background: var(--bg-paper); font-weight: 700; }
.note-toc-item.active .warm-tile{ background: var(--accent-fill); color: #fff; }
.note-toc-label{ flex: 1 1 auto; }
.note-toc-count{ font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; color: var(--ink-secondary); }
.note-aside-map{ padding: 8px; }
.note-aside-map .note-places-map-card{ border: 0; box-shadow: none; background: transparent; padding: 0; }
.note-aside-map #note-places-map{ height: 260px; border-radius: 18px; }
.note-aside-map-title{ order: 2; padding: 10px 8px 2px; font-weight: 700; font-size: 15px; }
.note-aside-map .note-places-map-card{ display: flex; flex-direction: column; }
.note-aside-map .note-places-map-legend{ padding: 6px 8px 8px; border: 0; font-size: 12.5px; flex-wrap: wrap; gap: 8px 12px; order: 3; }
.place-num{
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; font-weight: 500;
  color: var(--accent-rust); margin-right: 12px;
}
.place-list--grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (max-width: 900px){
  .note-aside{ position: static; }
  .note-toc{ display: none; }
}
.note-aside-map .note-places-map-card{ margin: 0; }
.note-aside-map .section-head{ display: none; }
.page-home .home-ratings-section, .page-home .latest-video-section, .page-home .latest-activity-section{ margin-top: 72px; }
@media (max-width: 640px){
  .warm-inside-grid{ grid-template-columns: 1fr 1fr; gap: 10px; }
  .warm-inside-card{ padding: 16px; gap: 10px; border-radius: 20px; }
  .warm-inside-card .warm-tile--lg{ width: 44px; height: 44px; border-radius: 13px; }
  .warm-inside-title{ font-size: 16px; }
  .warm-inside-card p{ font-size: 13.5px; }
}
