
* { box-sizing: border-box; } html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; background: #faf8f5; }
body { margin: 0; background: #faf8f5; color: #1a1a1a; font: 400 1rem/1.6 "DM Sans", system-ui, sans-serif; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: #1a1a1a; text-decoration: none; }
:focus-visible { outline: 2px solid #c47055; outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.serif { font-family: Georgia, "Instrument Serif", serif; }
.num { font-variant-numeric: tabular-nums; }
.fi { width: 21px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); vertical-align: -3px; }

/* топбар */
.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #eee7dc;
  background: rgba(250,248,245,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar .wrap { display: flex; align-items: center; gap: 8px; height: 64px; }
.logo { font: italic 700 1.35rem/1 Georgia, serif; letter-spacing: -0.01em; }
.logo b { color: #c47055; font-weight: 700; }
.topnav { display: flex; gap: 2px; margin-left: 26px; margin-right: auto; }
.topnav a { color: #57534e; font-size: 0.94rem; font-weight: 500; padding: 8px 12px; border-radius: 8px;
  transition: background 150ms ease-out, color 150ms ease-out; }
.topnav a:hover { background: #f1ece4; color: #1a1a1a; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  font: 600 0.93rem/1 system-ui, sans-serif; padding: 11px 18px; border-radius: 999px;
  background: #1a1a1a; color: #faf8f5; transition: background 150ms ease-out, transform 150ms ease-out; }
.btn:hover { background: #c47055; }
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: #57534e; box-shadow: inset 0 0 0 1.5px #e7e0d6; }
.btn-ghost:hover { background: #f1ece4; color: #1a1a1a; }
.btn-amber { background: #f0b44a; color: #1a1a1a; }
.btn-amber:hover { background: #e3a63a; color: #1a1a1a; }

/* тёмный топбар (вариант B) */
.dark-bar.topbar { background: rgba(26,26,26,.94); border-bottom-color: #33302c; }
.dark-bar .logo, .dark-bar .logo a { color: #faf8f5; }
.dark-bar .topnav a { color: #b3aca1; }
.dark-bar .topnav a:hover { background: #2a2724; color: #faf8f5; }
.dark-bar .btn-ghost { color: #d9d2c7; box-shadow: inset 0 0 0 1.5px #45403a; }
.dark-bar .btn-ghost:hover { background: #2a2724; color: #fff; }
.dark-bar .btn { background: #f0b44a; color: #1a1a1a; }
.dark-bar .btn:hover { background: #e3a63a; }

/* hero */
.kicker { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: #8a8078; margin-bottom: 18px; }
.hero-split .wrap { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 64px; }
h1.display { font: italic 700 clamp(2.3rem, 5.6vw, 4rem)/1.02 Georgia, serif; letter-spacing: -0.02em; }
h1.display b { color: #c47055; font-style: italic; }
.hero-sub { color: #57534e; font-size: 1.07rem; margin: 18px 0 26px; max-width: 50ch; }
.search { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; max-width: 560px;
  box-shadow: inset 0 0 0 1.5px #e7e0d6; transition: box-shadow 200ms ease-out; }
.search:focus-within { box-shadow: inset 0 0 0 2px #c47055; }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 16px;
  font: 400 1rem system-ui, sans-serif; color: #1a1a1a; }
.search input:focus { outline: none; }
.search input::placeholder { color: #a39b8e; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; color: #57534e; font-size: 0.94rem; }
.hero-stats b { color: #1a1a1a; font-weight: 700; font-variant-numeric: tabular-nums; }
/* полароиды */
.stack { position: relative; height: 460px; }
.pol { position: absolute; width: 235px; background: #fff; padding: 10px 10px 13px; border-radius: 6px;
  box-shadow: 0 1px 3px rgba(87,61,52,.12), 0 14px 30px -14px rgba(87,61,52,.35); color: #26302f;
  transition: transform 250ms cubic-bezier(0.25,1,0.5,1), box-shadow 250ms ease-out; }
.pol img { display: block; width: 100%; height: 245px; object-fit: cover; border-radius: 3px;
  outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px; }
.pol figcaption { margin-top: 10px; font-size: 0.9rem; font-weight: 600; display: flex; justify-content: space-between; }
.pol .cnt { color: #8a8078; font-weight: 400; font-size: 0.8rem; }
.pol-1 { top: 5%; left: 0; transform: rotate(-5deg); }
.pol-2 { top: 0; right: 3%; transform: rotate(3.5deg); z-index: 2; }
.pol-3 { bottom: 0; left: 24%; transform: rotate(-1.5deg); z-index: 3; }
.pol:hover { transform: rotate(0) scale(1.05); z-index: 9; }
/* компактный hero (вариант B) */
.hero-b { background: #1a1a1a; color: #faf8f5; }
.hero-b .wrap { padding: 76px 22px 62px; max-width: 860px; text-align: center; }
.hero-b .kicker { color: #f0b44a; }
.hero-b .hero-sub { color: #b3aca1; margin-left: auto; margin-right: auto; }
.hero-b .search { margin: 0 auto; box-shadow: none; }
.hero-b .hero-stats { justify-content: center; color: #b3aca1; }
.hero-b .hero-stats b { color: #faf8f5; }

/* секции */
section.block { padding: 68px 0 0; }
.block-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.block-head h2 { font: italic 700 1.7rem/1.1 Georgia, serif; letter-spacing: -0.01em; }
.block-head .more { margin-left: auto; font-size: 0.93rem; font-weight: 600; color: #c47055; white-space: nowrap; }
.block-head .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.block-head .bn { color: #8a8078; font-size: 0.86rem; }

/* гео-лента */
.geo-cols { columns: 2; column-gap: 56px; }
.grow { break-inside: avoid; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 6px; border-bottom: 1px solid #eee7dc; border-radius: 6px; transition: background 150ms ease-out; }
.grow:hover { background: #f1ece4; }
.grow .name { font-weight: 600; }
.grow .cnt { color: #8a8078; font-size: 0.88rem; font-variant-numeric: tabular-nums; }

/* вопросы */
.qlist { border-top: 1px solid #eee7dc; }
.qrow { display: flex; gap: 16px; align-items: flex-start; padding: 17px 6px; border-bottom: 1px solid #eee7dc;
  transition: background 150ms ease-out; }
.qrow:hover { background: #fff; }
.ava { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 600; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.qtitle { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 600; line-height: 1.4; }
.qrow:hover .qtitle { color: #c47055; }
.qmeta { margin-top: 5px; color: #8a8078; font-size: 0.86rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.qmeta .gt { color: #c47055; font-weight: 600; }

/* цитаты */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote { background: #fff; border: 1px solid #eee7dc; border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 3px rgba(87,61,52,.07); }
.quote p { margin: 0; font-size: 0.96rem; line-height: 1.55; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 10px; }
.quote .who .ava { width: 34px; height: 34px; font-size: 0.9rem; }
.quote .who .nm { font-weight: 600; font-size: 0.9rem; display: block; }
.quote .who .qg { color: #c47055; font-size: 0.83rem; font-weight: 600; }

/* частые темы */
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topic { display: inline-flex; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.94rem;
  background: #fff; border: 1px solid #e7e0d6; color: #57534e;
  transition: all 180ms cubic-bezier(0.25,1,0.5,1); }
.topic:hover { border-color: #c47055; color: #c47055; transform: translateY(-1px); }

/* как устроено + вход */
.how { background: #1a1a1a; color: #faf8f5; border-radius: 20px; padding: 42px; margin-top: 68px; }
.how h2 { font: italic 700 1.6rem/1.1 Georgia, serif; margin-bottom: 26px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 30px; }
.how-steps b { display: block; margin-bottom: 6px; }
.how-steps p { margin: 0; color: #b3aca1; font-size: 0.93rem; }
.how-steps .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(240,180,74,.18); color: #f0b44a; font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; }
.join { margin-top: 26px; padding-top: 24px; border-top: 1px solid #33302c;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.join .jt b { display: block; }
.join .jt span { color: #b3aca1; font-size: 0.9rem; }
.join form { display: flex; gap: 8px; flex: 1; min-width: 280px; max-width: 430px; }
.join input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 12px 18px;
  font: 400 0.96rem system-ui, sans-serif; background: #faf8f5; color: #1a1a1a; }
.join input:focus { outline: 2px solid #f0b44a; }

/* футер */
footer { margin-top: 84px; border-top: 1px solid #eee7dc; background: #f4f0e9; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 44px 22px 36px; }
.foot-grid h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8a8078;
  margin: 0 0 14px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: #57534e; font-size: 0.93rem; }
.foot-grid a:hover { color: #1a1a1a; }
.foot-about { color: #57534e; font-size: 0.93rem; max-width: 34ch; }
.foot-legal { border-top: 1px solid #e7e0d6; padding: 18px 22px; display: flex; flex-wrap: wrap;
  gap: 8px 24px; color: #8a8078; font-size: 0.85rem; }
.foot-legal a { color: #8a8078; }

/* появление */
.reveal { opacity: 0; transform: translateY(14px);
  transition: opacity 450ms ease-out, transform 450ms cubic-bezier(0.25,1,0.5,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ── виджет стоимости ── */
.colw .controls { display: grid; gap: 12px; margin-bottom: 18px; }
.colw .crow { display: flex; gap: 18px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.colw .ctl label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #8a8078; margin-bottom: 7px; }
.colw .seg { display: flex; flex-wrap: wrap; gap: 6px; }
.colw .seg button, .colw .sort-btn { cursor: pointer; font: 500 0.88rem system-ui, sans-serif; padding: 8px 14px;
  border-radius: 999px; background: #fff; color: #57534e; border: 1px solid #e7e0d6; transition: all 150ms ease-out; }
.colw .seg button.on { background: #1a1a1a; color: #faf8f5; border-color: #1a1a1a; }
.colw .cur-sel { cursor: pointer; font: 500 0.9rem system-ui, sans-serif; padding: 9px 14px; border-radius: 10px;
  background: #fff; color: #1a1a1a; border: 1px solid #e7e0d6; }
.colw .sort-btn { display: inline-flex; gap: 7px; background: #1a1a1a; color: #faf8f5; border-color: #1a1a1a; }
.colw .sort-btn:hover { background: #c47055; border-color: #c47055; }
.colw .tright { text-align: right; } .colw .tright .seg { justify-content: flex-end; }
.colw .grid-wrap { position: relative; }
.colw .grid-wrap.folded { max-height: 760px; overflow: hidden; }
.colw .grid-wrap.folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  background: linear-gradient(180deg, rgba(250,248,245,0), #faf8f5 82%); pointer-events: none; }
.colw .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.colw .fold-row { text-align: center; margin-top: 18px; }
.card { position: relative; background: #fff; border: 1px solid #eee7dc; border-radius: 16px; padding: 18px;
  display: flex; flex-direction: column; gap: 11px; box-shadow: 0 1px 3px rgba(87,61,52,.07);
  transition: transform 200ms cubic-bezier(0.25,1,0.5,1), box-shadow 200ms ease-out; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(87,61,52,.28); }
.card header { display: flex; gap: 10px; align-items: center; }
.card header b { display: block; font: 700 1.1rem/1.2 Georgia, serif; }
.card header small { color: #8a8078; font-size: 0.79rem; }
.pin { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center; background: #faf8f5; color: #8a8078;
  border: 1px solid #e7e0d6; font-size: 0.95rem; line-height: 1; }
.card.pinned { box-shadow: 0 0 0 2px #c47055, 0 12px 26px -14px rgba(196,112,85,.45); }
.rank { position: absolute; top: -9px; left: 14px; font-size: 0.74rem; font-weight: 700; padding: 3px 9px;
  border-radius: 999px; background: #f0b44a; color: #1a1a1a; }
.tiers { display: flex; gap: 4px; background: #f1ece4; border-radius: 9px; padding: 3px; }
.tiers .tseg { flex: 1; cursor: pointer; font: 500 0.76rem system-ui, sans-serif; padding: 6px 2px;
  border-radius: 7px; background: transparent; color: #8a8078; border: 0; transition: all 150ms ease-out; }
.tiers .tseg.on { background: #1a1a1a; color: #faf8f5; }
.pl { font-size: 0.82rem; color: #c47055; font-weight: 600; }
.rows { display: grid; gap: 6px; flex: 1; }
.row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.87rem; padding: 5px 8px;
  border-radius: 7px; }
.row.act { background: #fdf0ea; }
.row .rl { color: #57534e; } .row .rl i { font-style: normal; color: #a39b8e; font-size: 0.75rem; margin-left: 4px; }
.row .rv { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.row .rv em { display: block; font-style: normal; font-weight: 400; font-size: 0.71rem; color: #a39b8e; }
.row .rv.good { color: #167a4b; font-weight: 700; }
.card footer { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px;
  border-top: 1px solid #eee7dc; padding-top: 11px; }
.card footer span { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8a8078; }
.card footer b { font: italic 700 1.4rem/1 Georgia, serif; font-variant-numeric: tabular-nums; }
.card footer em { grid-column: 2; font-style: normal; font-size: 0.74rem; color: #a39b8e; text-align: right; }
.cmp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #1a1a1a; color: #faf8f5;
  box-shadow: 0 -8px 30px rgba(0,0,0,.25); padding: 13px 24px; }
.cmp.empty { display: none; }
.cmp-h { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #f0b44a; margin-bottom: 10px; }
.cmp-r { display: flex; gap: 26px; flex-wrap: wrap; }
.cmp-c { position: relative; display: flex; align-items: center; gap: 9px; padding-right: 10px; }
.cmp-c u { text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.cmp-c .mb { width: 8px; height: 30px; border-radius: 4px; background: #33302c; overflow: hidden;
  display: inline-flex; align-items: flex-end; }
.cmp-c .mb i { display: block; width: 100%; background: #f0b44a; }
.cmp-x { position: absolute; top: -9px; right: -5px; border: 0; background: none; color: #faf8f5;
  cursor: pointer; font-size: 0.72rem; opacity: 0.6; }
.cmp-x:hover { opacity: 1; }
.col-note { color: #8a8078; font-size: 0.82rem; max-width: 76ch; margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; }
}
@media (max-width: 960px) {
  .hero-split .wrap { grid-template-columns: 1fr; gap: 40px; }
  .stack { height: 400px; max-width: 520px; margin: 0 auto; }
  .topnav { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .geo-cols { columns: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pol { width: 185px; } .pol img { height: 195px; } .stack { height: 350px; }
  section.block { padding-top: 52px; }
  .colw .tright { text-align: left; } .colw .tright .seg { justify-content: flex-start; }
  .join form { flex-direction: column; }
}

.pl { display: flex; align-items: center; gap: 6px; }
.pin-i { width: 13px; height: 13px; flex-shrink: 0; }
.card footer { background: #f7f3ec; margin: 2px -18px -18px; padding: 12px 18px 15px;
  border-radius: 0 0 15px 15px; border-top: 1px solid #eee7dc; }
.cur-sel { appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2357534e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 11px; }
.cur-sel:focus { outline: none; border-color: #c47055; box-shadow: 0 0 0 2px rgba(196,112,85,.25); }
/* анимации */
@keyframes cardIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.grid.anim .card { animation: cardIn 380ms cubic-bezier(0.25,1,0.5,1) both; animation-delay: calc(var(--i) * 30ms); }
@keyframes valSwap { from { opacity: .15; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.card.swap .rows, .card.swap footer, .card.swap .pl { animation: valSwap 260ms ease-out both; }
.colw .seg button:active, .colw .sort-btn:active, .tiers .tseg:active, .pin:active { transform: scale(.94); }
.cmp { transform: translateY(0); transition: transform 320ms cubic-bezier(0.25,1,0.5,1); }
.cmp.empty { display: block; transform: translateY(110%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .grid.anim .card, .card.swap .rows, .card.swap footer, .card.swap .pl { animation: none; } }

.pl .est { font-style: normal; font-size: 0.7rem; color: #a39b8e; border: 1px solid #e7e0d6;
  border-radius: 999px; padding: 1px 7px; margin-left: 5px; vertical-align: 1px; }

/* ── фикс гео-строки: колонка флага авто ── */
.grow { grid-template-columns: auto 1fr auto; }
.grow .fi { width: 21px; }
/* ── пин-звезда и закреплённая карточка ── */
.pin { color: #b3aa9c; }
.pin:hover { color: #c47055; border-color: #c47055; }
.pin.act { background: #e2703a; border-color: #e2703a; color: #fff; }
.card.pinned { background: linear-gradient(168deg, #fff8ef, #ffeeda); }
/* ── верхний блок сравнения (чёрный) ── */
.cmp { position: static; transform: none; transition: none; box-shadow: none; padding: 0;
  background: #1a1a1a; color: #faf8f5; border-radius: 20px; margin: 4px 0 22px; overflow: hidden;
  animation: cmpIn 320ms cubic-bezier(0.25,1,0.5,1); }
@keyframes cmpIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.cmp.empty { display: none; }
.cmp-head { display: flex; justify-content: space-between; gap: 12px; padding: 13px 22px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #f0b44a;
  border-bottom: 1px solid #33302c; }
.cmp-slots { display: grid; grid-template-columns: repeat(3, 1fr); }
.slot { position: relative; padding: 20px 22px 18px; border-left: 1px solid #33302c;
  display: flex; flex-direction: column; gap: 12px; min-height: 168px; }
.slot:first-child { border-left: 0; }
.slot .cc { display: flex; gap: 10px; align-items: center; }
.slot .cc b { display: block; font: 700 1.05rem/1.2 Georgia, serif; }
.slot .cc .sub { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8f897d; }
.slot .fv { flex: 1; }
.slot .fv .fl { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8f897d; margin-bottom: 3px; }
.slot .fv b { font: italic 700 1.9rem/1 Georgia, serif; font-variant-numeric: tabular-nums; }
.slot .fv .lc { display: block; margin-top: 4px; font-size: 0.76rem; color: #8f897d; font-variant-numeric: tabular-nums; }
.slot .tot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  border-top: 1px solid #33302c; padding-top: 11px; font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: #8f897d; }
.slot .tot b { color: #faf8f5; font-size: 0.95rem; font-variant-numeric: tabular-nums; margin-left: 6px; }
.slot .x { position: absolute; top: 12px; right: 14px; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid #45403a; background: transparent; color: #b3aa9c; cursor: pointer; font-size: 0.72rem; }
.slot .x:hover { color: #fff; border-color: #8f897d; }
.slot.empty-slot { justify-content: center; gap: 6px; }
.es-cap { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6d675d; }
.es-t { font: 400 1.1rem/1.3 Georgia, serif; color: #cfc8bb; }
.es-s { font-size: 0.8rem; color: #8f897d; }
/* ── мобильный адаптив ── */
@media (max-width: 900px) {
  .cmp-slots { grid-template-columns: 1fr; }
  .slot { border-left: 0; border-top: 1px solid #33302c; min-height: 0; }
  .slot:first-child { border-top: 0; }
  .slot.empty-slot { display: none; }
}
@media (max-width: 640px) {
  .topbar .btn-ghost { display: none; }
  .topbar .wrap { gap: 8px; }
  .hero-b .wrap { padding-top: 52px; padding-bottom: 44px; }
  .hero-stats { gap: 6px 18px; font-size: 0.88rem; }
  .block-head { flex-wrap: wrap; }
  .colw .seg button { padding: 7px 11px; font-size: 0.84rem; }
}

/* ── футер карточки: расчётный бюджет + местная валюта ── */
.card footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 14px; }
.card footer .ft-l, .card footer .ft-r { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card footer .ft-r { text-align: right; align-items: flex-end; }
.card footer i { font-style: normal; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: #8a8078; }
.card footer .ft-l b { font: italic 700 1.45rem/1 Georgia, serif; font-variant-numeric: tabular-nums; color: #1a1a1a; }
.card footer .ft-l b u { text-decoration: none; font: 400 0.78rem/1 system-ui, sans-serif; color: #8a8078; margin-left: 3px; }
.card footer .ft-r em { font-style: normal; font-size: 0.8rem; color: #57534e; font-variant-numeric: tabular-nums; }

.card footer .ft-l b, .card footer .ft-r em { text-transform: none; letter-spacing: 0; }
.card footer .ft-r em { white-space: nowrap; font-size: 0.75rem; }
.card footer .ft-l b u { text-transform: none; }

/* стабильная высота футера: лейбл всегда занимает две строки, значения не переносятся */
.card footer { align-items: stretch; }
.card footer i { min-height: 2.05em; display: flex; align-items: flex-end; }
.card footer .ft-r i { justify-content: flex-end; text-align: right; }
.card footer .ft-l b { white-space: nowrap; }
.card footer .ft-l, .card footer .ft-r { justify-content: flex-end; }

/* появление нового слота в блоке сравнения */
@keyframes slotIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.slot.sin { animation: slotIn 340ms cubic-bezier(0.25,1,0.5,1) both; }
@media (prefers-reduced-motion: reduce) { .slot.sin { animation: none; } }

/* ── слот избранного: плавный въезд с каскадом содержимого ── */
@keyframes slotIn {
  from { opacity: 0; transform: translateX(-36px) scale(.975); filter: blur(4px); }
  60%  { filter: blur(0); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes partIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: none; }
}
.slot.sin { animation: slotIn 640ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.slot.sin .cc  { animation: partIn 520ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both; }
.slot.sin .fv  { animation: partIn 520ms cubic-bezier(0.16, 1, 0.3, 1) 190ms both; }
.slot.sin .tot { animation: partIn 520ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both; }
/* карточки грида — тот же характер движения */
@keyframes cardIn { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.grid.anim .card { animation: cardIn 560ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i) * 36ms); }
@media (prefers-reduced-motion: reduce) {
  .slot.sin, .slot.sin .cc, .slot.sin .fv, .slot.sin .tot, .grid.anim .card { animation: none; }
}

/* ── чекбокс «кафе» ── */
.cafe-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none;
  padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #e7e0d6;
  font: 500 0.88rem system-ui, sans-serif; color: #57534e; transition: border-color 150ms ease-out; }
.cafe-check:hover { border-color: #c47055; }
.cafe-check input { position: absolute; opacity: 0; pointer-events: none; }
.cafe-check i { width: 30px; height: 17px; border-radius: 999px; background: #d9d2c5; position: relative;
  transition: background 200ms ease-out; flex-shrink: 0; }
.cafe-check i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px;
  border-radius: 50%; background: #fff; transition: transform 200ms cubic-bezier(0.25,1,0.5,1); }
.cafe-check input:checked + i { background: #c47055; }
.cafe-check input:checked + i::after { transform: translateX(13px); }
.cafe-check input:focus-visible + i { outline: 2px solid #c47055; outline-offset: 2px; }
.card footer .cafe-note { font-size: 0.7rem; color: #a39b8e; margin-top: 2px; text-transform: none; letter-spacing: 0; }

/* чекбокс кафе: перебить общий стиль лейблов контролов */
.colw .ctl label.cafe-check { display: inline-flex; align-items: center; gap: 9px;
  text-transform: none; letter-spacing: 0; font: 500 0.88rem system-ui, sans-serif;
  color: #57534e; margin-bottom: 0; }
.colw .ctl label.cafe-check span { white-space: nowrap; }

/* пояснение категории под контролами (дашборд): кикер + заголовок + текст, анимация появления */
.cat-intro { margin: 0 0 30px; }
.cat-intro:empty { display: none; }
.ci-k { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #c47055; font-weight: 600; animation: ciIn 420ms cubic-bezier(0.16,1,0.3,1) backwards; }
.ci-h { font: italic 700 clamp(1.7rem, 3.4vw, 2.5rem)/1.12 Georgia, serif; letter-spacing: -0.01em;
  color: #1a1a1a; margin: 8px 0 10px; animation: ciIn 520ms cubic-bezier(0.16,1,0.3,1) 60ms backwards; }
.ci-h b { color: #c47055; }
.ci-s { max-width: 66ch; color: #57534e; font-size: 0.95rem; line-height: 1.55; margin: 0;
  animation: ciIn 520ms cubic-bezier(0.16,1,0.3,1) 140ms backwards; }
@keyframes ciIn { from { opacity: 0; transform: translateY(14px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .ci-k, .ci-h, .ci-s { animation: none; } }

/* итог под слотами сравнения: разброс и среднее по фокусной метрике */
.cmp-foot { display: flex; gap: 30px; padding: 12px 22px; border-top: 1px solid #33302c;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8f897d; }
.cmp-foot b { color: #faf8f5; font-size: 0.88rem; letter-spacing: 0;
  font-variant-numeric: tabular-nums; margin-left: 7px; }

/* иконки категорий в строках карточек (реф Kimi) */
.row .rl { display: flex; align-items: center; gap: 8px; }
.ric { flex: 0 0 auto; display: inline-grid; place-items: center; width: 24px; height: 24px;
  border-radius: 7px; background: #f3eee5; color: #8a8078; transition: background 200ms, color 200ms; }
.row.act .ric { background: #f6dccf; color: #c47055; }
.row .rv { align-self: center; }

/* переход на дашборд «Занавес»: чернильная шторка накрывает главную снизу,
   на дашборде страница рождается уже накрытой (::after) и шторка уходит вверх */
#curtain { position: fixed; inset: 0; z-index: 9999; background: #151310; display: grid;
  place-items: center; transform: translateY(103%); pointer-events: none; will-change: transform; }
#curtain .wm { font: italic 700 2rem Georgia, serif; color: #f0b44a; opacity: 0;
  transform: translateY(14px); transition: opacity 240ms ease, transform 240ms ease; }
html.page-out { overflow: hidden; }
html.page-out #curtain { transition: transform 480ms cubic-bezier(0.72,0,0.2,1); transform: translateY(0); }
html.page-out #curtain .wm { opacity: 1; transform: none; transition-delay: 200ms; }
html.page-in body::after { content: "zimovka.travel"; position: fixed; inset: 0; z-index: 9999;
  background: #151310; display: grid; place-items: center; font: italic 700 2rem Georgia, serif;
  color: #f0b44a; animation: curtainUp 540ms cubic-bezier(0.7,0,0.18,1) 300ms both; }
@keyframes curtainUp { from { transform: translateY(0); } to { transform: translateY(-103%); } }
@media (prefers-reduced-motion: reduce) {
  html.page-in body::after { display: none; }
  html.page-out #curtain { transition: none; }
}

/* сравнение: подсветка самой выгодной страны + «Открепить все» */
.cmp-head { align-items: center; flex-wrap: wrap; }
.cmp-head .ch-r { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.cmp-best { color: #3fcf8e; border: 1px solid rgba(63,207,142,.4); background: rgba(63,207,142,.09);
  border-radius: 999px; padding: 3px 11px; }
.cmp-unpin { border: 1px solid #45403a; background: none; color: #b3aa9c; border-radius: 999px;
  padding: 3px 12px; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.cmp-unpin:hover { color: #fff; border-color: #8f897d; }
/* тренды у фокусного значения (иконки вместо спарклайнов) и «+X к самой дешёвой» */
.slot .fvrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.trend { display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.trend svg { flex: 0 0 auto; }
.trend.up { color: #e2703a; }
.trend.dn { color: #3fcf8e; }
.slot .tot .diff { text-transform: none; letter-spacing: 0; font-size: 0.76rem; color: #8f897d; }
.slot .tot .diff b { color: #3fcf8e; font-size: 0.82rem; margin-left: 0; }
