/* v3 «Местные» — раздел «＋» (владелец — Compose): шторка «Что расскажешь?», пост жителя (фото/обсуждение),
   отметка на карте с выбором точки на мини-карте, «Спросить соседей», карточка опроса. Только токены контракта (css/base.css). */

.cs-i { width: 20px; height: 20px; flex: none; display: block; }

/* ---------------------------------------------------------------- шторка: контейнер (когда в ней наш контент) */
/* пружина при открытии, быстрый уход при закрытии (motion-токены base.css, P1-1) */
.sheet:has(.cs-sh) { background: var(--bg); transition: transform var(--d-sheet, 420ms) var(--ease-spring, cubic-bezier(.34, 1.36, .64, 1)); }
.sheet:not(.on):has(.cs-sh) { transition: transform 260ms var(--ease-exit, cubic-bezier(.4, 0, 1, 1)); }
.sheet:has(.cs-sh) .sheet__grab { width: 36px; height: 5px; margin: 8px auto 6px; background: color-mix(in srgb, var(--text-3) 55%, transparent); }
.sheet:has(.cs-sh) .sheet-body { padding-bottom: calc(24px + max(var(--safe-bottom), 8px)); }
body:has(.sheet.on .cs-sh) .scrim, body:has(.sheet.on .cs-sh) .sheet-backdrop {
  -webkit-backdrop-filter: blur(8px) saturate(.9); backdrop-filter: blur(8px) saturate(.9); }

.cs-sh { padding: 2px 0 4px; }
.cs-in > * { animation: cs-up var(--dur-3, 380ms) var(--ease-out, cubic-bezier(.22, 1, .36, 1)) both; }
.cs-in > :nth-child(2) { animation-delay: 30ms; }
.cs-in > :nth-child(3) { animation-delay: 60ms; }
.cs-in > :nth-child(4) { animation-delay: 90ms; }
.cs-in > :nth-child(n+5) { animation-delay: 120ms; }
@keyframes cs-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cs-in > * { animation: none; } .sheet:has(.cs-sh), .sheet:not(.on):has(.cs-sh) { transition: transform 1ms; } }

.cs-hd { display: flex; align-items: center; gap: 12px; padding: 0 4px; margin-bottom: 14px; }
.cs-hd h2 { margin: 0; font: var(--t-title, 700 22px/28px var(--font-head)); letter-spacing: -.02em; }
.cs-sub { margin: 6px 0 0; font: var(--t-caption, 600 13px/18px var(--font)); font-size: 14px; line-height: 20px; color: var(--text-2); }
.cs-back { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1);
  color: var(--text); display: grid; place-items: center; align-self: flex-start; }

/* бенто 2×2 */
/* бенто 2×2: плитки одной высоты, иконка 44 вверху, текст внизу (P1-13) */
.cs-bento { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }
.cs-t { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  min-height: 132px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); color: var(--text); text-align: left; box-shadow: var(--shadow-1); }
.cs-t-tx { display: block; }
.cs-t b { display: block; font: 600 16px/20px var(--font-head); letter-spacing: -.02em; }
.cs-t i { display: block; margin-top: 4px; font-style: normal; font: var(--t-caption, 600 13px/18px var(--font)); color: var(--text-2); }
.cs-t-i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.cs-t-i .cs-i { width: 22px; height: 22px; }
.cs-t.photo { background: linear-gradient(150deg, var(--bg), var(--surface-3)); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="light"] .cs-t.photo { background: linear-gradient(150deg, var(--invert), color-mix(in srgb, var(--invert) 80%, var(--blue))); color: var(--invert-ink); }
:root[data-theme="light"] .cs-t.photo i { color: color-mix(in srgb, var(--invert-ink) 72%, transparent); }
.cs-t.photo .cs-t-i { background: color-mix(in srgb, currentColor 14%, transparent); }
.cs-t.disc .cs-t-i { background: var(--blue-soft); color: var(--blue); }
.cs-t.mark .cs-t-i { background: var(--red-soft); color: var(--red); }
.cs-t.ask { background: var(--accent-soft); }
.cs-t.ask .cs-t-i { background: var(--accent); color: var(--accent-ink); }

/* быстрые теги */
.cs-quick { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.cs-qt { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 14px; background: var(--surface);
  box-shadow: var(--shadow-1); font: var(--t-callout, 700 14px/20px var(--font)); font-size: 13px; font-weight: 800; color: var(--text); }
.cs-qt .cs-i { width: 17px; height: 17px; color: var(--c); }

/* адрес и плашки */
.cs-where { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; margin-top: 14px; padding: 0 14px; border-radius: 18px;
  background: var(--surface-2); color: var(--text); font: var(--t-callout, 700 14px/20px var(--font)); text-align: left; }
.cs-where > .cs-i { width: 18px; height: 18px; color: var(--accent); }
.cs-where span { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cs-where em { font-style: normal; font-weight: 800; color: var(--accent-text, var(--accent)); }
.cs-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 4px 0; font: var(--t-caption, 600 13px/18px var(--font)); font-weight: 500; color: var(--text-3); }
.cs-note .cs-i { width: 15px; height: 15px; margin-top: 1px; }
.cs-err { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--red-soft); color: var(--red); font-size: 13.5px; font-weight: 700; line-height: 1.4; animation: cs-shake .4s var(--ease); }
.cs-err[hidden] { display: none; }
.cs-err span { color: var(--text); }
@keyframes cs-shake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } }

/* строки-выборы */
.cs-rows { display: grid; gap: 8px; margin-top: 12px; }
.cs-row { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-1); color: var(--text); text-align: left; }
.cs-row > span:not(.cs-row-i) { flex: 1; min-width: 0; display: block; overflow: hidden; }
.cs-row b { display: block; font: var(--t-callout, 700 14px/20px var(--font)); font-size: 15px; font-weight: 800; }
.cs-row i { display: block; margin-top: 2px; font-style: normal; font: var(--t-caption, 600 13px/18px var(--font)); color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-row-i { --c: var(--text-2); width: 40px; height: 40px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.cs-chev { width: 18px; height: 18px; color: var(--text-3); }
.cs-row select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.cs-ty-i { --c: var(--accent); width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.cs-ty-i.lg { width: 48px; height: 48px; border-radius: 16px; }
.cs-ty-i.lg .cs-i { width: 24px; height: 24px; }

/* кнопки */
.cs-go { width: 100%; margin-top: 14px; min-height: 52px; border-radius: 18px; font-size: 15px; gap: 8px; }
.cs-go + .cs-go { margin-top: 8px; }
.cs-go .cs-i { width: 19px; height: 19px; }
.cs-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 800; }
.cs-pill .cs-i { width: 17px; height: 17px; }
.cs-pill:disabled { opacity: .35; }
.cs-pill.busy { opacity: .6; pointer-events: none; }
.cs-spin { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2.4px solid currentColor; border-right-color: transparent;
  display: inline-block; animation: cs-rot .7s linear infinite; }
@keyframes cs-rot { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- экран поста */
.cs-scr .s-body { background: var(--bg); }
.cs-c { max-width: 640px; margin: 0 auto; padding: 8px var(--pad) 0; }
.cs-c.is-busy .cs-rows, .cs-c.is-busy .cs-cat { opacity: .55; pointer-events: none; }
.cs-drop { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 190px;
  border-radius: var(--r-lg); background: var(--surface); color: var(--text); border: 1.5px dashed color-mix(in srgb, var(--text-3) 50%, transparent); }
.cs-drop .cs-t-i { background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.cs-drop b { font: 600 16px/1.2 var(--font-head); letter-spacing: -.02em; }
.cs-drop i { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text-2); }

.cs-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 6px; scroll-padding-inline: var(--pad); }
.cs-strip::-webkit-scrollbar { display: none; }
.cs-ph { position: relative; flex: 0 0 112px; height: 148px; border-radius: 18px; overflow: hidden; background: var(--surface-2);
  scroll-snap-align: start; transition: transform .2s var(--ease), box-shadow .2s; }
.cs-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .2s, opacity .2s; }
.cs-ph.is-sel { box-shadow: 0 0 0 3px var(--accent); transform: scale(.96); }
.cs-ph.is-up img { filter: brightness(.55); }
.cs-ph-st { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text); }
.cs-ph-st.ok { inset: auto 6px 6px auto; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); animation: cs-pop .35s var(--ease); }
.cs-ph-st.ok .cs-i { width: 15px; height: 15px; stroke-width: 2.6; }
@keyframes cs-pop { from { transform: scale(.3); opacity: 0; } }
.cs-cover, .cs-n { position: absolute; left: 6px; top: 6px; padding: 3px 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 800;
  background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--text); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cs-cover { background: var(--accent); color: var(--accent-ink); }
.cs-x { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--text); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cs-x .cs-i { width: 15px; height: 15px; stroke-width: 2.4; }
.cs-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-2);
  border: 1.5px dashed color-mix(in srgb, var(--text-3) 50%, transparent); background: var(--surface); font-size: 12px; font-weight: 800; }
.cs-add .cs-i { width: 24px; height: 24px; color: var(--accent); }
.cs-order { display: flex; gap: 8px; justify-content: center; margin-top: 6px; animation: cs-up .25s var(--ease); }
.cs-hint { margin: 4px 0 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-3); }

.cs-cat { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 6px 6px 12px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 800; }
.cs-cat .cs-i { width: 16px; height: 16px; }
.cs-cat button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: inherit; }

.cs-field { position: relative; display: block; margin-top: 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); }
.cs-field textarea { display: block; width: 100%; resize: none; border: 0; outline: 0; background: transparent; color: var(--text);
  padding: 14px 14px 26px; font: 500 16px/1.45 var(--font); border-radius: inherit; }
.cs-field textarea::placeholder { color: var(--text-3); }
.cs-field:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.cs-cnt { position: absolute; right: 12px; bottom: 8px; font-size: 11px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cs-sh .cs-field { margin-top: 10px; }

/* превью точки */
.cs-mm { position: relative; height: 128px; border-radius: 18px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-1); }
.cs-mm img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .3s; }
.cs-mm.ok img { opacity: 1; }
.cs-mm > .cs-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); }
.cs-mm-b { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--bg) 78%, transparent); color: var(--text); font-size: 12.5px; font-weight: 800;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cs-mm-b .cs-i { width: 15px; height: 15px; color: var(--accent); }
.cs-mm-x { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent); color: var(--text); }
.cs-mm-x .cs-i { width: 15px; height: 15px; }

/* метка */
.cs-pin { --c: var(--accent); position: relative; width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  display: grid; place-items: center; background: var(--c); color: var(--bg); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 45%, transparent); }
.cs-pin .cs-i { transform: rotate(45deg); width: 19px; height: 19px; stroke-width: 2.1; }
.cs-pin.sm { width: 32px; height: 32px; }
.cs-pin.sm .cs-i { width: 16px; height: 16px; }
.cs-mm > .cs-pin { transform: translate(-50%, -110%) rotate(-45deg); }
.cs-pin.big { width: 48px; height: 48px; }
.cs-pin.big .cs-i { width: 24px; height: 24px; }

/* липкая нижняя панель */
.cs-bar { position: sticky; bottom: 0; z-index: 2; margin: 16px calc(-1 * var(--pad)) 0; padding: 10px var(--pad) calc(10px + var(--safe-bottom));
  background: linear-gradient(to top, var(--bg) 70%, color-mix(in srgb, var(--bg) 0%, transparent)); }
.cs-bar .cs-go:first-of-type { margin-top: 4px; }
.cs-scr .s-body:has(.cs-bar) { padding-bottom: 0; }
.cs-prog { height: 6px; border-radius: 3px; overflow: hidden; background: var(--surface-2); }
.cs-prog i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .4s var(--ease); }

/* правила */
.cs-rules h1, .cs-done-s h1, .cs-done-s h2 { margin: 14px 0 0; font: 700 26px/1.1 var(--font-head); letter-spacing: -.03em; }
.cs-rl { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.cs-rl li { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1);
  font-size: 14.5px; line-height: 1.45; font-weight: 600; }
.cs-rl-n { width: 26px; height: 26px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2);
  font: 700 12px/1 var(--font-head); color: var(--text-2); }

/* готово */
.cs-ok { --c: var(--accent); width: 76px; height: 76px; border-radius: 26px; display: grid; place-items: center; margin-top: 18px;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); animation: cs-pop .5s cubic-bezier(.22, 1.4, .36, 1) both; }
.cs-ok .cs-i { width: 38px; height: 38px; stroke-width: 2.2; }
.cs-ok.wait { --c: var(--amber); }
.cs-done-s { text-align: left; }
.cs-sh.cs-done-s { padding: 4px 4px 0; }
.cs-sh.cs-done-s .cs-ok { margin-top: 6px; }
.cs-done .s-body { display: flex; flex-direction: column; }
.cs-done .cs-c { flex: 1; display: flex; flex-direction: column; width: 100%; }
.cs-done .cs-bar { margin-top: auto; }

/* ---------------------------------------------------------------- выбор точки на мини-карте */
.cs-pick { max-width: 640px; margin: 0 auto; padding: 4px var(--pad) 0; display: flex; flex-direction: column; min-height: 100%; }
.cs-pick-s .s-body { display: flex; flex-direction: column; }
.cs-pick-map { position: relative; flex: 1; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-1); }
.cs-pick-gl { position: absolute; inset: 0; }
.cs-pick-map > .cs-pin { position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none;
  transform: translate(-50%, calc(-100% - 6px)) rotate(-45deg); transition: transform .2s var(--ease); }
.cs-pick-map.lift > .cs-pin { transform: translate(-50%, calc(-100% - 18px)) rotate(-45deg); }
.cs-pin-dot { position: absolute; left: 50%; top: 50%; z-index: 1; width: 10px; height: 5px; margin: -2px 0 0 -5px; border-radius: 50%;
  background: color-mix(in srgb, var(--text) 45%, transparent); pointer-events: none; transition: transform .2s var(--ease); }
.cs-pick-map.lift .cs-pin-dot { transform: scale(1.6); opacity: .6; }
.cs-pick-tip { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 2; display: flex; justify-content: center; pointer-events: none; }
.cs-pick-tip b { padding: 8px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 800;
  background: color-mix(in srgb, var(--bg) 80%, transparent); color: var(--text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cs-pick-row { display: flex; gap: 8px; margin-top: 10px; }
.cs-pick-row .cs-pill { flex: 1; }
.cs-pick-row .cs-i { color: var(--accent); }
.cs-pick > .cs-go { margin-bottom: calc(8px + var(--safe-bottom)); }
.cs-pick-fail { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--text-2); font-weight: 700; }

/* ---------------------------------------------------------------- отметка: типы, АЗС */
.cs-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cs-ty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 108px; padding: 12px; border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow-1); color: var(--text); text-align: left; }
.cs-ty b { font: var(--t-callout, 700 14px/20px var(--font)); font-size: 13px; font-weight: 800; line-height: 17px; }
.cs-ty i { margin-top: -4px; font-style: normal; font-size: 12px; font-weight: 600; line-height: 16px; color: var(--text-2); }
.cs-ty .cs-ty-i { width: 38px; height: 38px; border-radius: 12px; }
.cs-lbl { margin: 14px 4px 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.cs-fuel { display: grid; gap: 6px; }
.cs-fi { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 16px; background: var(--surface); }
.cs-fi b { font-size: 14px; font-weight: 800; }
.cs-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.cs-seg.wide { display: flex; }
.cs-seg.wide button { flex: 1; }
.cs-seg button { min-width: 56px; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 800; color: var(--text-2); }
.cs-seg button.is-on { background: var(--seg-on, var(--surface)); color: var(--text); }
.cs-seg button.is-on.yes { background: var(--accent-soft); color: var(--accent); }
.cs-seg button.is-on.no { background: var(--red-soft); color: var(--red); }
.cs-sh .cs-mm { margin-top: 2px; }

/* ---------------------------------------------------------------- «Спросить соседей» */
.cs-ask { display: grid; gap: 8px; }
.cs-ao { --c: var(--accent); display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow-1); color: var(--text); text-align: left; }
.cs-ao-i { width: 46px; height: 46px; flex: none; border-radius: 15px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.cs-ao-i .cs-i { width: 23px; height: 23px; }
.cs-ao-t { flex: 1; min-width: 0; }
.cs-ao b { display: block; font: var(--t-callout, 700 14px/20px var(--font)); font-size: 15px; font-weight: 800; }
.cs-ao i { display: block; margin-top: 2px; font-style: normal; font: var(--t-caption, 600 13px/18px var(--font)); color: var(--text-2); }
.cs-ao i.on { color: var(--accent-text, var(--accent)); font-weight: 800; }
.cs-q { --c: var(--accent); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 18%, var(--surface)), var(--surface)); box-shadow: var(--shadow-1); }
.cs-q-i { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--c); color: var(--bg); }
.cs-q-i .cs-i { width: 26px; height: 26px; }
.cs-q b { font: 700 22px/1.15 var(--font-head); letter-spacing: -.03em; }
.cs-q-ans { display: flex; gap: 8px; }
.cs-q-ans span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: var(--surface-2);
  font-size: 13px; font-weight: 800; color: var(--text-2); }
.cs-q-ans .cs-i { width: 16px; height: 16px; }
.cs-q-live { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 13px; font-weight: 700; color: var(--accent); }
.cs-q-live .cs-i { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- карточка опроса (лента, «Мой район», карта) */
article.poll { --c: var(--accent); position: relative; margin: 10px 0 0; padding: 14px; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(170deg, color-mix(in srgb, var(--c) 12%, var(--surface)) 0, var(--surface) 110px); box-shadow: var(--shadow-1); color: var(--text); }
article.poll::before { content: none; }
article.poll.hl { animation: cs-pop .5s var(--ease) both; box-shadow: 0 0 0 2px var(--accent); }
article.poll.busy { opacity: .7; pointer-events: none; }
article.poll .pl-top { display: flex; gap: 12px; align-items: center; }
article.poll .pl-e { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 0;
  background: var(--c); color: var(--bg); box-shadow: none; animation: none; }
article.poll .pl-e .cs-i { width: 23px; height: 23px; }
article.poll .pl-h { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
article.poll .pl-kick { font: var(--t-micro, 800 11px/14px var(--font)); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
article.poll .pl-h b { font: 600 18px/1.2 var(--font-head); letter-spacing: -.02em; }
article.poll .pl-meta { display: flex; gap: 10px; justify-content: space-between; margin: 10px 2px 0; font: var(--t-caption, 600 13px/18px var(--font)); color: var(--text-3); }
article.poll .pl-left { font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
article.poll .pl-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
article.poll .pl-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 16px;
  font-size: 16px; font-weight: 800; transition: transform var(--d-base, 240ms) var(--ease-spring, ease-out); box-shadow: none; }
article.poll .pl-b .cs-i { width: 20px; height: 20px; stroke-width: 2.3; }
article.poll .pl-b.yes { background: var(--accent-soft); color: var(--accent); }
article.poll .pl-b.no { background: var(--red-soft); color: var(--red); }
article.poll .pl-b:active { transform: scale(.96); transition: transform var(--d-tap, 90ms) var(--ease-out, ease-out); }
article.poll .pl-foot { margin-top: 10px; text-align: center; font: var(--t-caption, 600 13px/18px var(--font)); color: var(--text-3); }
article.poll .pl-res { margin-top: 12px; }
article.poll .pl-lead { display: flex; align-items: baseline; gap: 6px; }
article.poll .pl-lead b { font: 700 32px/1 var(--font-head); letter-spacing: -.04em; color: var(--red); font-variant-numeric: tabular-nums; }
article.poll .pl-lead span { font-size: 15px; font-weight: 700; }
article.poll .pl-bar { position: relative; height: 10px; margin: 10px 0 6px; border-radius: 5px; overflow: hidden; background: var(--surface-2); }
article.poll .pl-bar i { position: absolute; inset: 0; transform-origin: left center; transition: transform .9s var(--ease); }
article.poll .pl-good { background: var(--accent); }
article.poll .pl-bad { background: var(--red); transform: scaleX(var(--s)); transition-delay: .15s; }
article.poll .pl-bar.none .pl-good { opacity: .2; }
article.poll .pl-res.pre .pl-bad, article.poll .pl-res.pre .pl-good { transform: scaleX(0); }
article.poll .pl-leg { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
article.poll .pl-me { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2);
  font-size: 12.5px; font-weight: 600; color: var(--text-2); }
article.poll .pl-me .cs-i { width: 15px; height: 15px; color: var(--accent); }
article.poll .pl-me b { color: var(--text); }
article.poll.compact .pl-h b { font-size: 16px; }
article.poll.compact .pl-e { width: 40px; height: 40px; border-radius: 13px; }
article.poll.compact .pl-b { height: 46px; font-size: 15px; }
article.poll.compact .pl-lead b { font-size: 26px; }
.mcard article.poll { margin: 0; box-shadow: var(--shadow-2); }
.mcard article.poll .pl-h { padding-right: 34px; }

@media (max-width: 360px) {
  .cs-types { grid-template-columns: repeat(2, 1fr); }
  .cs-t { padding: 12px; }
}
