/* ============================================================================
   MARKTEX — ОБЩИЕ СТИЛИ ПОДСТРАНИЦ РАЗДЕЛА «КУРСЫ АКТИВОВ»
   Подключается на crypto/forex/stocks/gainers/losers/hidden/converter/watchlist.
   Базовый вид повторяет kyrs.html (тёмный фон + золото).
   ========================================================================== */
:root {
    --bg-color: #0a0a0a;
    --bg-gradient: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #0a0a0a 70%);
    --text-color: #ffffff;
    --text-secondary: #aaaaaa;
    --line-color: #333333;
    --border-color: rgba(212, 175, 55, 0.15);
    --gold: #d4af37;
    --gold-light: #f5d97a;
    --green: #4ade80;
    --red: #f87171;
    --cyan: #67e8f9;
    --purple: #c084fc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 56px;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(212,175,55,0.04); }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,0.45); }

@keyframes shimmer { 0%{background-position:0% center} 50%{background-position:200% center} 100%{background-position:0% center} }

/* ===== БЕГУЩАЯ СТРОКА ===== */
.ticker-wrap { width: 100%; overflow: hidden; background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, rgba(10,10,10,0.95) 100%); border-bottom: 1px solid rgba(212,175,55,0.2); padding: 10px 0; position: relative; z-index: 20; }
.ticker-wrap::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #d4af37, transparent); animation: shimmer 3s ease-in-out infinite; }
.ticker { display: flex; width: max-content; animation: tickerScroll 110s linear infinite; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; padding: 0 28px; white-space: nowrap; font-size: 12px; font-weight: 600; border-right: 1px solid rgba(212,175,55,0.15); }
.ticker-item::before { content: '\25c6'; color: rgba(212,175,55,0.3); font-size: 8px; }
.ticker-icon { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(212,175,55,0.35); }
.ticker-name { color: #d4af37; font-weight: 700; font-size: 11px; letter-spacing: 0.5px; }
.ticker-price { color: #fff; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.ticker-change.up { color: var(--green); font-weight: 700; }
.ticker-change.down { color: var(--red); font-weight: 700; }

/* ===== ВЕРХНЯЯ ПАНЕЛЬ ===== */
.top-bar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line-color); position: relative; z-index: 30; background: rgba(10,10,10,0.8); backdrop-filter: blur(10px); }
.brand-logo { position: absolute; left: 80px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo img { height: 60px; width: auto; filter: drop-shadow(0 0 12px rgba(212,175,55,0.5)); }
.brand-logo .brand-name { font-size: 24px; font-weight: 800; letter-spacing: 1.5px; background: linear-gradient(90deg, #d4af37, #f5d97a, #d4af37); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 3s ease-in-out infinite; }
.theme-toggle { background: none; border: none; font-size: 20px; cursor: pointer; padding: 0 10px; transition: 0.2s; color: var(--text-secondary); }
.theme-toggle:hover { transform: scale(1.1); color: var(--text-color); }

/* ===== КАРКАС СТРАНИЦЫ ===== */
.page-content { max-width: 100%; margin: 0; padding: 14px 80px 40px; position: relative; z-index: 1; }
.hero { text-align: center; padding: 18px 0 22px; position: relative; margin-bottom: 24px; }
.hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; color: var(--text-color); display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }
.hero h1::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 120px; height: 3px; background: linear-gradient(90deg, transparent, #d4af37, transparent); border-radius: 2px; }
.hero h1 span { background: linear-gradient(90deg, #d4af37, #f5d97a, #d4af37); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 3s ease-in-out infinite; }
.hero h1 i { font-size: 38px; color: var(--gold); filter: drop-shadow(0 0 12px rgba(212,175,55,0.6)); }
.hero-sub { margin-top: 18px; font-size: 15px; color: var(--text-secondary); letter-spacing: 4px; text-transform: uppercase; font-weight: 700; position: relative; display: inline-block; }
.hero-sub::before, .hero-sub::after { content: ''; position: absolute; top: 50%; width: 60px; height: 1px; }
.hero-sub::before { right: 100%; margin-right: 15px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4)); }
.hero-sub::after { left: 100%; margin-left: 15px; background: linear-gradient(90deg, rgba(212,175,55,0.4), transparent); }

/* ===== ПАНЕЛИ / КАРТОЧКИ ===== */
.panel-card { background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid rgba(212,175,55,0.15); border-radius: 14px; padding: 16px; position: relative; overflow: hidden; transition: border-color .3s; }
.panel-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #d4af37, transparent); opacity: .5; }
.panel-card:hover { border-color: rgba(212,175,55,0.3); }
.panel-title { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.panel-title i { font-size: 13px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid rgba(212,175,55,0.15); border-radius: 14px; padding: 16px 18px; position: relative; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; cursor: default; }
.stat-card:hover { transform: translateY(-3px); border-color: rgba(212,175,55,0.4); box-shadow: 0 14px 34px -18px rgba(212,175,55,.55); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.stat-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.stat-card-icon { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(212,175,55,0.35); }
.stat-card-icon.letter { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.stat-card-symbol { font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.stat-card-name { font-size: 10px; color: var(--text-secondary); margin-top: 2px; }
.stat-card-price { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.stat-card-change { font-size: 13px; font-weight: 700; }
.stat-card-change.up { color: var(--green); }
.stat-card-change.down { color: var(--red); }
.stat-card-spark { width: 100%; height: 42px; display: block; margin-top: 8px; }

/* ===== ФИЛЬТРЫ ===== */
.filters-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; padding: 12px 16px; background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid rgba(212,175,55,0.15); border-radius: 14px; position: relative; overflow: hidden; }
.filters-bar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #d4af37, transparent); opacity: .5; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border: 1px solid rgba(212,175,55,0.2); border-radius: 10px; background: rgba(255,255,255,0.02); color: var(--text-secondary); font-size: 12px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.3s; user-select: none; white-space: nowrap; }
.filter-chip:hover { border-color: rgba(212,175,55,0.5); color: var(--text-color); background: rgba(212,175,55,0.05); transform: translateY(-1px); }
.filter-chip.active { background: linear-gradient(135deg, #d4af37, #f5d97a); border-color: #d4af37; color: #0a0a0a; font-weight: 700; box-shadow: 0 4px 15px rgba(212,175,55,0.3); }

/* ===== ПОИСК ===== */
.search-bar-wrapper { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.search-input-wrap { position: relative; flex: 1; min-width: 220px; }
.search-input-wrap > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #777; font-size: 13px; }
.search-input { width: 100%; padding: 11px 40px 11px 38px; background: rgba(255,255,255,0.04); border: 1px solid rgba(212,175,55,0.25); border-radius: 10px; color: #fff; font-size: 13px; font-family: 'Inter',sans-serif; outline: none; transition: all .3s; }
.search-input:focus { border-color: rgba(212,175,55,0.6); box-shadow: 0 0 16px -6px rgba(212,175,55,.5); background: rgba(212,175,55,0.05); }
.search-input::placeholder { color: #666; }
.search-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #888; cursor: pointer; font-size: 13px; }
.search-clear:hover { color: #fff; }
.sort-select { background: rgba(255,255,255,0.05); border: 1px solid rgba(212,175,55,0.3); border-radius: 10px; color: #fff; padding: 10px 14px; font-size: 12px; cursor: pointer; outline: none; font-family: 'Inter', sans-serif; }
.sort-select option { background: #1a1a1a; color: #fff; }

/* ===== ТАБЛИЦА ===== */
.table-wrapper { border-radius: 12px; overflow-x: auto; border: 1px solid rgba(212,175,55,0.15); background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); }
.market-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.market-table thead th { padding: 13px 12px; text-align: center; font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; background: rgba(212,175,55,0.08); border-bottom: 2px solid rgba(212,175,55,0.3); white-space: nowrap; }
.market-table thead th.sortable { cursor: pointer; user-select: none; transition: color .2s; }
.market-table thead th.sortable:hover { color: var(--gold-light); }
.market-table thead th:first-child { text-align: left; }
.market-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: 0.2s; }
.market-table tbody tr:hover { background: rgba(212,175,55,0.06); }
.market-table tbody td { padding: 11px 12px; vertical-align: middle; color: var(--text-color); text-align: center; font-variant-numeric: tabular-nums; }
.market-table tbody td:first-child { text-align: left; }
.asset-cell { display: flex; align-items: center; gap: 10px; }
.asset-icon { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.asset-name { font-weight: 700; font-size: 12.5px; line-height: 1.2; color: var(--text-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.asset-symbol { font-size: 9.5px; color: var(--text-secondary); margin-top: 2px; }
.price-cell { font-weight: 800; font-size: 13.5px; }
.change-cell { font-weight: 700; font-size: 12px; }
.change-cell.up { color: var(--green); }
.change-cell.down { color: var(--red); }
.sparkline-canvas { width: 90px; height: 34px; }
.rank-cell { color: var(--text-secondary); font-weight: 600; font-size: 12px; }
.mcap-cell, .vol-cell { font-weight: 600; font-size: 12px; color: #ddd; }
.hide-mobile { display: table-cell; }

/* ===== БЕЙДЖИ / ЗНАЧЕНИЯ ===== */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; letter-spacing: .6px; padding: 4px 9px; border-radius: 7px; text-transform: uppercase; }
.badge.gold { background: linear-gradient(135deg, rgba(212,175,55,.2), rgba(212,175,55,.06)); color: var(--gold-light); border: 1px solid rgba(212,175,55,.4); }
.badge.green { background: rgba(74,222,128,.1); color: var(--green); border: 1px solid rgba(74,222,128,.35); }
.badge.red { background: rgba(248,113,113,.1); color: var(--red); border: 1px solid rgba(248,113,113,.35); }
.badge.cyan { background: rgba(103,232,249,.1); color: var(--cyan); border: 1px solid rgba(103,232,249,.3); }
.badge.purple { background: rgba(192,132,252,.12); color: var(--purple); border: 1px solid rgba(192,132,252,.35); }
.up { color: var(--green); }
.down { color: var(--red); }
.gold { color: var(--gold); }

/* ===== ИНФО-БАННЕР ===== */
.info-banner { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; margin-bottom: 20px; border-radius: 14px; background: linear-gradient(100deg, rgba(212,175,55,.12), rgba(212,175,55,.03) 60%, rgba(212,175,55,.08)); border: 1px solid rgba(212,175,55,.3); }
.info-banner i { font-size: 20px; color: var(--gold); margin-top: 2px; }
.info-banner b { display: block; font-size: 13px; color: #fff; margin-bottom: 4px; }
.info-banner span { font-size: 12px; color: var(--text-secondary); line-height: 1.55; }

/* ===== ЗАГРУЗКА / ПУСТО ===== */
.loading-block { text-align: center; padding: 60px 0; color: var(--text-secondary); font-size: 14px; }
.loading-block i { font-size: 26px; color: var(--gold); display: block; margin-bottom: 12px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-secondary); }
.empty-state i { font-size: 42px; color: rgba(212,175,55,.4); display: block; margin-bottom: 16px; }
.empty-state b { display: block; color: #fff; font-size: 16px; margin-bottom: 6px; }

/* ===== МЕТРИКИ РЫНКА (глобальная полоса) ===== */
.metrics-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.metric-card { background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid rgba(212,175,55,.15); border-radius: 12px; padding: 13px 15px; position: relative; overflow: hidden; transition: transform .25s, border-color .25s; }
.metric-card:hover { transform: translateY(-2px); border-color: rgba(212,175,55,.4); }
.metric-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .4; }
.metric-card-top { display: flex; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.metric-card-top i { color: var(--gold); font-size: 11px; }
.metric-card-value { font-size: 19px; font-weight: 800; margin-top: 7px; font-variant-numeric: tabular-nums; }
.metric-card-value.gold { color: var(--gold); }
.metric-card-value.green { color: var(--green); }
.metric-card-value.red { color: var(--red); }
.metric-card-value.cyan { color: var(--cyan); }
.metric-card-value.purple { color: var(--purple); }
.metric-card-sub { font-size: 10px; color: var(--text-secondary); margin-top: 4px; }

/* ===== ЛЕНТА ДВИЖЕНИЙ ===== */
.movers-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.movers-strip::-webkit-scrollbar { height: 5px; }
.mover-chip { display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); flex: 0 0 auto; transition: transform .22s, border-color .22s; }
.mover-chip:hover { transform: translateY(-2px); }
.mover-chip.up { border-color: rgba(74,222,128,.3); }
.mover-chip.down { border-color: rgba(248,113,113,.3); }
.mover-chip img { width: 26px; height: 26px; border-radius: 50%; }
.mover-sym { font-size: 12px; font-weight: 800; }
.mover-price { font-size: 10px; color: var(--text-secondary); }
.mover-chg { font-size: 12px; font-weight: 800; margin-left: 6px; }
.mover-chip.up .mover-chg { color: var(--green); }
.mover-chip.down .mover-chg { color: var(--red); }

/* ===== ТЕПЛОВАЯ КАРТА ===== */
.heatmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; }
.heat-cell { border-radius: 9px; padding: 9px 6px; text-align: center; border: 1px solid rgba(255,255,255,.06); transition: transform .18s; cursor: default; }
.heat-cell:hover { transform: scale(1.06); z-index: 2; }
.heat-sym { font-size: 11.5px; font-weight: 800; color: #fff; }
.heat-chg { font-size: 10px; font-weight: 700; margin-top: 3px; }

/* ===== СЕССИИ ===== */
.sess-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 12px; }
.sess-row:last-child { border-bottom: none; }
.sess-name { flex: 1; color: var(--text-secondary); font-weight: 600; }
.sess-name i { width: 16px; color: var(--gold); font-size: 11px; }
.sess-time { font-variant-numeric: tabular-nums; color: #ddd; font-weight: 600; }
.sess-status { font-size: 9px; font-weight: 800; letter-spacing: .8px; padding: 3px 8px; border-radius: 6px; }
.sess-row.open .sess-status { background: rgba(74,222,128,.12); color: var(--green); border: 1px solid rgba(74,222,128,.35); }
.sess-row:not(.open) .sess-status { background: rgba(255,255,255,.04); color: #777; border: 1px solid rgba(255,255,255,.1); }
.sess-row.open .sess-name::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(74,222,128,.8); margin-left: 7px; animation: sessPulse 2s ease-in-out infinite; }
@keyframes sessPulse { 0%,100%{opacity:.5} 50%{opacity:1} }

/* ===== ГОРИЗОНТАЛЬНЫЕ БАРЫ ===== */
.hbar-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.hbar-label { flex: 0 0 110px; font-size: 11.5px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-track { flex: 1; height: 7px; background: rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
.hbar-fill { display: block; height: 100%; border-radius: 4px; transition: width .6s ease; }
.hbar-val { flex: 0 0 64px; text-align: right; font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ===== КАЛЕНДАРЬ СОБЫТИЙ ===== */
.econ-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 11.5px; }
.econ-row:last-child { border-bottom: none; }
.econ-when { flex: 0 0 108px; color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.econ-flag { font-size: 14px; }
.econ-name { flex: 1; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.econ-imp { flex: 0 0 auto; color: var(--gold); font-size: 9px; display: flex; gap: 2px; }

/* ===== НОВОСТНЫЕ КАРТОЧКИ ===== */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-card { background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid rgba(212,175,55,.15); border-radius: 13px; padding: 15px 18px; transition: border-color .25s, transform .25s; }
.news-card:hover { border-color: rgba(212,175,55,.45); transform: translateY(-2px); }
.news-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.news-when { margin-left: auto; font-size: 10.5px; color: #777; font-variant-numeric: tabular-nums; }
.news-title { display: block; font-size: 14px; font-weight: 700; color: #f4f4f4; text-decoration: none; line-height: 1.45; }
.news-title:hover { color: var(--gold-light); }
.news-src { font-size: 10.5px; color: var(--text-secondary); margin-top: 8px; }
.news-src i { color: var(--gold); }

/* ===== ДВУХКОЛОНОЧНЫЙ ГРИД ПАНЕЛЕЙ ===== */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
@media (max-width: 900px) { .duo-grid { grid-template-columns: 1fr; } }

/* ===== ПОДВАЛ ===== */
.page-footer { text-align: center; padding: 26px 0 10px; font-size: 10.5px; color: #666; letter-spacing: 1px; text-transform: uppercase; }
.page-footer i { color: var(--gold); }

/* ============================================================================
   ЗАГОТОВКИ НОВЫХ СТРАНИЦ (stub)
   Используются на страницах-заготовках: signals, liquidations, screener и т.д.
   Логика и дизайн ещё не написаны — только каркас, общий со всем сайтом.
   ========================================================================== */
.stub-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.stub-block { border: 1px dashed rgba(212, 175, 55, 0.25); border-radius: 12px; padding: 14px 15px; background: rgba(255, 255, 255, 0.015); }
.stub-block-head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.stub-block-head i { color: var(--gold); font-size: 14px; }
.stub-block-head b { font-size: 12.5px; color: #fff; font-weight: 600; }
.stub-block p { font-size: 11.5px; color: var(--text-secondary); line-height: 1.55; }

.stub-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.stub-nav .filter-chip { text-decoration: none; }
.stub-nav .filter-chip.cur { pointer-events: none; }

.stub-section-title { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin: 22px 0 10px; display: flex; align-items: center; gap: 6px; }
.stub-section-title:first-child { margin-top: 0; }

@media (max-width: 1100px) {
    .page-content { padding: 14px 24px 40px; }
    .brand-logo { position: static; transform: none; order: -1; width: 100%; justify-content: center; padding-bottom: 6px; }
    .hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
    .hide-mobile { display: none; }
    .hero h1 { font-size: 26px; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
}
