/* Spotted — mobile-first, light/dark */
:root {
  --accent: #e91e63;
  --accent-2: #9c27b0;
  --grad: linear-gradient(135deg, #e91e63, #9c27b0);
  --bg: #f6f5f8;
  --surface: #ffffff;
  --text: #17131c;
  --text-2: #6d6577;
  --line: #e8e4ee;
  --danger: #d32f2f;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(20, 10, 30, .07), 0 6px 24px rgba(20, 10, 30, .05);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111014;
    --surface: #1c1a21;
    --text: #f3f0f7;
    --text-2: #a49bb0;
    --line: #2c2933;
    --shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 6px 24px rgba(0, 0, 0, .3);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100dvh;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, textarea, select { font: inherit; color: var(--text); }
a { color: var(--accent); }
img { max-width: 100%; }
.ico-svg { vertical-align: -4px; flex-shrink: 0; }
.ico-spin { animation: spin .8s linear infinite; }

#app { max-width: 640px; margin: 0 auto; padding-bottom: calc(24px + var(--safe-bottom)); }

/* ---------- Nagłówek ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: calc(10px + var(--safe-top)) 16px 8px;
  display: flex; align-items: center; gap: 10px;
}
.logo {
  font-weight: 800; font-size: 22px; letter-spacing: -.5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  cursor: pointer; user-select: none;
}
.city-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
  max-width: 55%; white-space: nowrap; overflow: hidden;
}
.city-btn span { overflow: hidden; text-overflow: ellipsis; }

/* Pasek górny mieści logo, nazwę tablicy i cztery ikony. Na wąskich telefonach
   to za dużo i nazwa miasta ścinała się do dwóch liter — dlatego tam oddajemy
   miejsce z logo i z ikon nazwie tablicy, bo to ona mówi, gdzie jestem. */
@media (max-width: 430px) {
  .topbar { gap: 7px; padding-left: 12px; padding-right: 12px; }
  .topbar .logo { font-size: 17px; letter-spacing: -.6px; }
  .topbar .icon-btn { width: 34px; height: 34px; }
  .city-btn { max-width: none; flex: 1 1 auto; min-width: 0; padding: 7px 11px; }
}
@media (max-width: 360px) {
  .topbar .logo { display: none; }   /* ikona aplikacji i tak jest w pasku systemu */
}
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 17px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* ---------- Wyszukiwarka + kategorie ---------- */
.searchbar { padding: 4px 16px 0; }
.searchbar input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); padding: 10px 14px; font-size: 15px; outline: none;
}
.searchbar input:focus { border-color: var(--accent); }
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.chip.active { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- Karty postów ---------- */
.feed { display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 16px; }
.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 16px; border: 1px solid var(--line);
}
.card-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 13px; color: var(--text-2);
  flex-wrap: nowrap; overflow: hidden;      /* meta w jednej linii — bez łamania nazw */
}
.card-head > * { flex: 0 0 auto; white-space: nowrap; }
.card-head .card-nick, .card-head .meta-city { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cat-badge {
  font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent);
}
.card-head .dot::before { content: "·"; margin: 0 2px; }
.card-nick { font-weight: 700; color: var(--text); }
.verified { color: var(--accent); font-size: 12px; font-weight: 800; }
.icon-btn.logged { border-color: var(--accent); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent); }
.card-content { white-space: pre-wrap; word-break: break-word; font-size: 15.5px; }
.card-content.clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.card-img { margin-top: 10px; border-radius: 12px; width: 100%; max-height: 420px; object-fit: cover; cursor: pointer; }
.img-grid { display: grid; gap: 6px; margin-top: 10px; grid-template-columns: 1fr 1fr; }
.img-grid img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; cursor: pointer; }
.img-grid.n3 img:first-child { grid-column: 1 / -1; height: 200px; }
.card-content a { word-break: break-all; }
.card-actions { display: flex; gap: 4px; margin-top: 10px; align-items: center; }
.act {
  display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
}
.act:active { background: color-mix(in srgb, var(--text) 8%, transparent); }
.act.liked { color: var(--accent); }
.act .heart { transition: transform .15s; }
.act.liked .heart { transform: scale(1.15); }
.act-spacer { margin-left: auto; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(20px + var(--safe-bottom)); z-index: 25;
  width: 58px; height: 58px; border-radius: 999px; background: var(--grad); color: #fff;
  font-size: 26px; display: grid; place-items: center;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 45%, transparent);
}
@media (min-width: 700px) { .fab { right: calc(50% - 320px + 18px); } }

/* ---------- Ekrany / modale ---------- */
.screen { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; }
.screen-inner { max-width: 640px; margin: 0 auto; padding: calc(10px + var(--safe-top)) 16px calc(24px + var(--safe-bottom)); }
.screen-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; position: sticky; top: 0; background: var(--bg); z-index: 5; padding-top: 4px; }
.screen-head h2 { font-size: 19px; flex: 1; }
.sheet-backdrop { position: fixed; inset: 0; background: rgba(10, 5, 20, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  background: var(--surface); width: 100%; max-width: 640px;
  border-radius: 20px 20px 0 0; padding: 18px 18px calc(20px + var(--safe-bottom));
  max-height: 88dvh; overflow-y: auto; animation: up .22s ease;
}
@keyframes up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet h3 { margin-bottom: 12px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.block-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.block-row .btn { width: auto; padding: 8px 14px; flex: none; }

/* ---------- Formularze ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  padding: 11px 13px; font-size: 15px; outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.counter { text-align: right; font-size: 12px; color: var(--text-2); margin-top: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
  border-radius: 12px; padding: 13px 18px; width: 100%;
}
.btn:disabled { opacity: .55; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
/* Przycisk Google — wytyczne marki wymagają białego tła i oryginalnego logo. */
.btn.google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 600; }
.btn.google svg { width: 18px; height: 18px; }
.auth-sep {
  display: flex; align-items: center; gap: 10px; margin: 14px 0;
  color: var(--text-2); font-size: 12.5px;
}
.auth-sep::before, .auth-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn.danger { background: var(--danger); }
/* Oficjalne znaczki sklepów. Artwork jest własnością Apple/Google i nie wolno go
   przerabiać (kolory, proporcje, dorysowywanie ramek) — dlatego tu tylko skala
   i odstęp, żadnych efektów na samym obrazku. */
.store-badge { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.store-badge img { display: block; height: auto; }
/* Apple: wymagany odstęp = 1/10 wysokości znaczka (przy 40 px → 4 px). */
.store-badge.apple { padding: 4px; }
.store-badge.apple img { width: 120px; }
/* Google: odstęp jest częścią pliku, więc dokładamy 0 i skalujemy tak,
   by widoczny przycisk miał te same 40 px wysokości co u Apple. */
.store-badge.play img { width: 155px; }

.store-row { display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; }
/* Pojedynczy znaczek (Android/iOS) wyśrodkowany, żeby nie wisiał przy krawędzi. */
.store-badge { margin: 2px auto; }
.store-row .store-badge { margin: 0; }
.dl-qr { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; }
.dl-qr img { flex: 0 0 auto; border-radius: 8px; background: #fff; padding: 4px; border: 1px solid var(--line); }
.dl-more { margin-top: 12px; }
.dl-more > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--text-2); list-style: none; padding: 4px 0; }
.dl-more > summary::-webkit-details-marker { display: none; }
.dl-more > summary::before { content: '＋ '; }
.dl-more[open] > summary::before { content: '－ '; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.cat-tile {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: left;
  background: var(--bg); font-size: 14px; font-weight: 600;
}
.cat-tile.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.cat-tile small { display: block; font-weight: 400; color: var(--text-2); font-size: 11.5px; margin-top: 2px; }
.attach-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.attach-thumb { position: relative; }
.attach-thumb img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; display: block; }
.attach-thumb button { position: absolute; top: -6px; right: -6px; background: rgba(0,0,0,.7); color: #fff; border-radius: 999px; width: 22px; height: 22px; display: grid; place-items: center; }

/* ---------- Wybór tablicy: kafelki z banerami ---------- */
/* Tablica to produkt admina grupy, więc dostaje własną okładkę. Bez wgranego
   banera rysujemy gradient wyliczony ze slug-a — kafelek nigdy nie jest pusty
   i to samo miasto zawsze ma ten sam kolor. */
.city-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  max-height: 44dvh; overflow-y: auto; padding: 2px; margin-bottom: 4px;
}
@media (min-width: 720px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
.city-tile {
  position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line);
  aspect-ratio: 16 / 10; display: flex; align-items: flex-end; text-align: left;
  background: var(--surface); transition: transform .15s;
}
.city-tile:active { transform: scale(.975); }
.city-tile .tile-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.city-tile .tile-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .28) 52%, rgba(0, 0, 0, .04) 100%);
}
.city-tile .tile-txt { position: relative; padding: 9px 11px; width: 100%; color: #fff; }
.city-tile .tile-name {
  font-weight: 700; font-size: 14.5px; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.city-tile .tile-meta {
  font-size: 11.5px; color: rgba(255, 255, 255, .85); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.city-tile .tile-km {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}
.city-tile .tile-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--grad); color: #fff; font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 999px; letter-spacing: .02em;
}

/* Lista tekstowa — używana przy społecznościach i jako zapasowy układ. */
.city-list { display: flex; flex-direction: column; max-height: 44dvh; overflow-y: auto; }
.city-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 15.5px; text-align: left; width: 100%;
}
.city-item small { color: var(--text-2); }
.city-item strong { font-weight: 600; }

/* ---------- Komentarze ---------- */
.comment { padding: 10px 0; border-bottom: 1px solid var(--line); }
.comment .meta { font-size: 12.5px; color: var(--text-2); margin-bottom: 3px; display: flex; gap: 8px; align-items: center; }
.comment .meta b { color: var(--text); }
.comment p { font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }
.comment-form { display: flex; gap: 8px; margin-top: 14px; position: sticky; bottom: calc(8px + var(--safe-bottom)); }
.comment-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  padding: 11px 16px; font-size: 14.5px; outline: none;
}
.comment-form button { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--grad); color: #fff; }

/* ---------- Stany ---------- */
.empty { text-align: center; color: var(--text-2); padding: 48px 24px; }
.empty .big { font-size: 40px; margin-bottom: 10px; }
.spinner { margin: 28px auto; width: 28px; height: 28px; border-radius: 999px; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + var(--safe-bottom)); z-index: 90;
  background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow); max-width: 88vw; text-align: center;
  animation: up .2s ease;
}

/* ---------- Onboarding ---------- */
.onboard { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 32px 24px; max-width: 480px; margin: 0 auto; }
.onboard .logo-big {
  font-size: 44px; font-weight: 800; letter-spacing: -1px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.onboard p { color: var(--text-2); margin: 10px 0 28px; font-size: 16px; }

/* ---------- Detal ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.92); display: grid; place-items: center; }
.lightbox img { max-width: 96vw; max-height: 92dvh; object-fit: contain; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 64px; color: #fff; font-size: 34px; font-weight: 700;
  background: rgba(255,255,255,.12); border-radius: 12px;
}
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(0,0,0,.5); padding: 4px 12px; border-radius: 999px; }

/* ---------- Narzędzia feedu ---------- */
.feed-tools { padding: 0 16px 10px; display: flex; align-items: center; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.seg button.active { background: var(--grad); color: #fff; }
.mine-bar { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.mine-bar button { color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---------- Obserwowanie tablic ---------- */
/* Stan „obserwujesz" jest wypełniony kolorem akcentu, stan wyjściowy konturowy —
   różnica musi być czytelna od razu, bo to przełącznik, nie akcja jednorazowa. */
.follow-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  box-shadow: var(--shadow); white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .12s;
}
.follow-btn.on { background: var(--grad); border-color: transparent; color: #fff; }
.follow-btn:active { transform: scale(.96); }
.follow-chip.on { background: var(--grad); border-color: transparent; color: #fff; }
.follow-btn.glass, .follow-chip.glass {
  background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.follow-btn.glass.on, .follow-chip.glass.on { background: var(--grad); border-color: transparent; }

/* Wąskie ekrany: sam znacznik, bez etykiety — inaczej pasek się łamie. */
@media (max-width: 380px) {
  .follow-btn span { display: none; }
  .follow-btn { padding: 7px 10px; }
}

.follow-list { display: flex; flex-direction: column; gap: 10px; }
.follow-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px 12px 12px 14px;
}
.follow-open { flex: 1 1 auto; min-width: 0; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.follow-name { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text); }
.follow-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follow-count {
  flex: 0 0 auto; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px;
}
.follow-meta { font-size: 12.5px; color: var(--text-2); }
.follow-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.follow-actions .icon-btn { width: 34px; height: 34px; }

.freq-opts { display: flex; flex-direction: column; gap: 8px; }
.freq-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-align: left;
}
.freq-opt.active { border-color: var(--accent); color: var(--accent); }

/* ---------- Stan offline ---------- */
/* Pasek u dołu, nad paskiem nawigacji systemu — mówi wprost, co się dzieje,
   zamiast zostawiać użytkownika z kręcącym się spinnerem albo pustym ekranem. */
.offline-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + var(--safe-bottom)); z-index: 70;
  display: flex; align-items: center; gap: 8px;
  max-width: calc(100% - 32px);
  padding: 9px 14px; border-radius: 999px;
  background: #241f2b; color: #f3f0f7;
  font-size: 13px; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  animation: offlineIn .22s ease-out;
}
.offline-bar.syncing { background: var(--accent); }
.offline-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes offlineIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .offline-bar { animation: none; }
}
/* .ico-spin jest zdefiniowane wyżej — tu tylko wyciszamy je przy ograniczonej animacji. */
@media (prefers-reduced-motion: reduce) { .ico-spin { animation: none; } }

.footer-links { text-align: center; font-size: 12.5px; color: var(--text-2); padding: 18px 16px 4px; }
.footer-links a { color: var(--text-2); margin: 0 6px; }
.linklike { color: var(--accent); font-size: 13.5px; font-weight: 700; padding: 4px 8px; margin-bottom: 6px; }

/* ---------- Baner pobierania ---------- */
.dl-banner {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 16px 10px; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); font-size: 13.5px;
}
.dl-banner > span { flex: 1; }
.dl-get {
  flex: 0 0 auto; background: var(--grad); color: #fff; font-weight: 700;
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
}
.dl-close { flex: 0 0 auto; color: var(--text-2); font-size: 14px; padding: 4px 6px; }

/* ---------- Promowane wpisy ---------- */
.card.promoted {
  border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 2px 14px color-mix(in srgb, var(--accent) 18%, transparent);
}
.promo-badge {
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px;
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .3px;
  padding: 3px 10px; border-radius: 999px;
}
.act.promote { color: var(--accent); }
.promo-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.promo-tier {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg);
  padding: 12px 13px; text-align: left; font-size: 14.5px; cursor: pointer;
}
.promo-tier small { color: var(--text-2); font-size: 12px; }
.promo-tier .promo-price { margin-top: 4px; font-weight: 800; color: var(--accent); }
.promo-tier.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }

/* ---------- Powiadomienia ---------- */
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 800; border-radius: 999px;
  place-items: center; line-height: 1;
  box-shadow: 0 0 0 2px var(--surface);
}
.notif-list { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.notif-item {
  display: flex; flex-direction: column; gap: 3px; text-align: left;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  padding: 10px 12px; cursor: pointer; font-size: 13.5px;
}
.notif-item.unread { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 5%, var(--bg)); }
.notif-line { color: var(--text); }
.notif-comment { color: var(--text); font-weight: 600; }
.notif-post { color: var(--text-2); font-size: 12.5px; }
.notif-time { color: var(--text-2); font-size: 11.5px; }

/* ================================================================
   ROLKI — pełnoekranowy feed (domyślny na telefonie)
   ================================================================ */

body.reels-active {
  overflow: hidden;
  height: 100dvh;
  background: #08070c;
  overscroll-behavior: none;
}
#app.reels-root { max-width: none; margin: 0; padding: 0; }

/* Kontener: fixed + height 100% zamiast 100dvh — pasek adresu na mobile
   zmienia dvh w trakcie scrolla i psułby snap. */
.reels {
  position: fixed; inset: 0; z-index: 1;
  overflow-y: scroll; overflow-x: hidden;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #08070c;
}
.reels::-webkit-scrollbar { display: none; }

.reel {
  position: relative;
  height: 100%; width: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; align-items: center; justify-content: center;
}
.reel-card {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  background: #14121a; color: #fff;
  isolation: isolate;
}
@media (min-width: 700px) {
  .reel-card {
    height: calc(100% - 28px); width: auto; aspect-ratio: 9 / 16; max-width: 94vw;
    border-radius: 26px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  }
}

/* ---------- Tło wpisu tekstowego (gradient per kategoria + wariacja po id) ---------- */
.reel-art {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(120% 78% at 16% 6%, rgba(255, 255, 255, .34), transparent 58%),
    radial-gradient(110% 70% at 92% 104%, rgba(0, 0, 0, .42), transparent 58%),
    linear-gradient(var(--ang, 150deg), var(--g1), var(--g2) 52%, var(--g3));
}
.reel-art::after {
  content: ''; position: absolute; inset: 0; opacity: .13; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* ---------- Zdjęcia: rozmyte tło + ostry kadr + karuzela ---------- */
.reel-media { position: absolute; inset: 0; z-index: 0; background: #000; }
.reel-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(38px) saturate(1.5) brightness(.5); transform: scale(1.18);
}
.reel-strip {
  position: absolute; inset: 0; display: flex;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.reel-strip::-webkit-scrollbar { display: none; }
.reel-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; }
.reel-slide img { width: 100%; height: 100%; object-fit: contain; }
.reel-dots {
  position: absolute; left: 0; right: 0; bottom: calc(12px + var(--safe-bottom)); z-index: 4;
  display: flex; justify-content: center; align-items: center; gap: 5px; pointer-events: none;
}
.reel-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .42); transition: width .2s, background .2s; }
.reel-dot.on { width: 18px; background: #fff; }

.reel-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, .12) 20%, rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, .35) 72%, rgba(0, 0, 0, .8) 100%);
}

/* ---------- Treść wpisu tekstowego (hero) ---------- */
/* Uwaga: hero NIE może być własnym scrollerem. Przykrywa prawie cały ekran,
   więc jako zagnieżdżony kontener przewijania przechwytywałby gest przesuwania
   rolek — dało się je wtedy złapać tylko poniżej, przy dolnym bloku. */
.reel-hero {
  position: absolute; left: 0; right: 0; z-index: 3;
  top: calc(var(--safe-top) + 104px); bottom: calc(190px + var(--safe-bottom));
  padding: 0 26px; display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden;
}
.reel-quote {
  /* auto-marginesy centrują, gdy tekst się mieści, a przy dłuższym trzymają go
     przy górze (align-items:center ucinałoby początek). */
  margin: auto 0;
  font-weight: 800; letter-spacing: -.5px; line-height: 1.2; text-align: center;
  text-wrap: balance; white-space: pre-wrap; word-break: break-word;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .32);
}
/* Przycięty tekst gaśnie ku dołowi — sygnał, że jest dalszy ciąg („Czytaj dalej"). */
.reel-hero.is-clipped {
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 98%);
}
.reel-quote a { color: #fff; text-decoration: underline; }
.q-xl { font-size: 34px; }
.q-l { font-size: 27px; }
.q-m { font-size: 21px; letter-spacing: -.2px; }
.q-s { font-size: 16.5px; line-height: 1.45; letter-spacing: 0; text-align: left; font-weight: 600; }

/* ---------- Dolny blok informacyjny ---------- */
.reel-info {
  position: absolute; left: 0; right: 74px; bottom: 0; z-index: 3;
  padding: 0 16px calc(26px + var(--safe-bottom));
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
}
.reel-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.reel-cat {
  background: rgba(255, 255, 255, .18); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.reel-promo { display: inline-flex; align-items: center; gap: 4px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
/* Promowana rolka dostaje cienki pasek na górze — widać, że to wyróżniony wpis,
   bez zasłaniania treści ramką na pełnym ekranie. */
.reel.is-promo .reel-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 5;
  background: var(--grad);
}
.reel-author {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  font-size: 13.5px; color: rgba(255, 255, 255, .82); text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.reel-author .card-nick { color: #fff; }
.reel-author .verified { color: #fff; }
.reel-text {
  font-size: 15.5px; line-height: 1.42; white-space: pre-wrap; word-break: break-word;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .6); text-align: left;
}
.reel-text a { color: #fff; text-decoration: underline; }
.reel-text.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* Też bez własnego scrolla — reszta treści jest pod „Czytaj dalej". */
.reel-text.open { max-height: 34dvh; overflow: hidden; }
.reel-text.clipped {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.reel-expand { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .75); padding: 2px 0; }
.reel-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 2px; font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px; padding: 7px 14px; text-align: left;
}

/* ---------- Prawa kolumna akcji ---------- */
.reel-rail {
  position: absolute; right: 6px; bottom: calc(24px + var(--safe-bottom)); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 15px;
}
.rail-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px; width: 58px;
  color: #fff; font-size: 11.5px; font-weight: 700;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55));
}
.rail-btn .ico { font-size: 27px; line-height: 1; transition: transform .2s cubic-bezier(.32, 1.7, .5, 1); }
.rail-btn:active .ico { transform: scale(.84); }
.rail-btn.liked .ico { transform: scale(1.14); }
.rail-add {
  width: 46px; height: 46px; border-radius: 999px; background: var(--grad);
  display: grid; place-items: center; font-size: 25px; color: #fff; margin-bottom: 2px;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 55%, transparent);
}

/* ---------- Serce po podwójnym stuknięciu ---------- */
.reel-burst {
  position: absolute; z-index: 6; font-size: 92px; pointer-events: none; user-select: none;
  animation: burst .8s cubic-bezier(.2, .8, .3, 1) forwards;
}
@keyframes burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(-16deg); }
  16% { opacity: 1; transform: translate(-50%, -50%) scale(1.2) rotate(7deg); }
  42% { opacity: 1; transform: translate(-50%, -50%) scale(.98) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%, -78%) scale(1.06); }
}

/* ---------- Wejście treści aktywnej rolki ---------- */
.reel.is-active .reel-info,
.reel.is-active .reel-hero,
.reel.is-active .reel-rail { animation: reelIn .42s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes reelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Górna nakładka ---------- */
.reels-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; pointer-events: none;
  padding: calc(8px + var(--safe-top)) 0 12px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .18) 55%, rgba(0, 0, 0, 0));
}
/* Nakładka przepuszcza dotyk wszędzie poza samymi kontrolkami — inaczej pasek
   górny byłby martwą strefą, w której gest nie przewija rolek. */
.reels-top .reels-bar > *, .reels-top .chip, .reels-top input,
.reels-top .view-seg button { pointer-events: auto; }
.reels-bar { display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.reels-bar .city-btn { margin-left: 0; flex: 1 1 auto; min-width: 0; max-width: none; }
.reels-bar .icon-btn { width: 36px; height: 36px; font-size: 16px; }

/* ---------- Przełącznik widoku (ten sam w rolkach i na liście) ---------- */
.feed-controls { display: flex; align-items: center; gap: 10px; padding: 10px 16px 0; }
/* Kreska oddziela „czym przeglądam" od „co przeglądam". Na desktopie nie ma
   przełącznika widoku, więc kreska zostawałaby sierotą — stąd :not(:first-child). */
.feed-controls .chips {
  flex: 1 1 auto; min-width: 0; padding: 0;
}
.feed-controls .chips:not(:first-child) {
  padding-left: 10px; border-left: 1px solid var(--line);
}
.view-seg {
  flex: 0 0 auto; display: inline-flex; gap: 2px; padding: 3px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow);
}
.view-seg button {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 11px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; color: var(--text-2);
  transition: background .18s, color .18s;
}
/* Aktywny tryb neutralnie — róż zostaje zarezerwowany dla filtrów kategorii. */
.view-seg button.active { background: var(--text); color: var(--bg); }
.view-seg button:active { transform: scale(.96); }

/* Wariant na ciemnym tle rolek. */
.reels-controls { padding: 10px 12px 0; }
.reels-controls .view-seg {
  background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .2);
  box-shadow: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.reels-controls .view-seg button { color: rgba(255, 255, 255, .9); }
.reels-controls .view-seg button.active { background: #fff; color: #16141c; }

/* Toast w rolkach musi omijać dolny blok informacyjny. */
body.reels-active .toast { bottom: calc(150px + var(--safe-bottom)); }

/* ================================================================
   LISTA — efekty przewijania
   ================================================================ */

/* Własne „pociągnij, by odświeżyć" zamiast systemowego. */
body { overscroll-behavior-y: contain; }

.topbar { transition: transform .26s cubic-bezier(.3, .7, .3, 1), background .2s, box-shadow .2s; }
.topbar.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(20, 10, 30, .06);
}
.topbar.tucked { transform: translateY(calc(-100% - 8px)); }

/* Karty wchodzą w kadr — animacja tylko dodaje wejście, brak klasy nic nie chowa. */
.card.in { animation: cardIn .5s cubic-bezier(.2, .7, .3, 1); }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.card { transition: transform .18s cubic-bezier(.3, .7, .3, 1); }
.card:active { transform: scale(.988); }

/* Powrót na górę */
.to-top {
  position: fixed; right: 18px; bottom: calc(86px + var(--safe-bottom)); z-index: 24;
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(10px) scale(.9); pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 700px) { .to-top { right: calc(50% - 320px + 18px); } }

/* Wskaźnik odświeżania */
.ptr {
  position: fixed; top: calc(6px + var(--safe-top)); left: 50%; z-index: 60;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  transform: translate(-50%, 0); transition: opacity .18s, transform .24s cubic-bezier(.3, .7, .3, 1);
}
.ptr-ring {
  width: 17px; height: 17px; border-radius: 999px;
  border: 2.5px solid var(--line); border-top-color: var(--accent);
}
.ptr.ready { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.ptr.ready .ptr-ring { border-top-color: var(--accent); border-left-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.ptr.busy .ptr-ring { animation: spin .7s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .card.in { animation: none; }
  .topbar.tucked { transform: none; }
  .card:active { transform: none; }
  /* Wskaźnik odświeżania zostaje widoczny i nadal informuje o postępie —
     znika tylko ciągły obrót, który przy tym ustawieniu potrafi wywołać mdłości.
     Zamiast kręcenia stan „pracuję" pokazuje pulsowanie kontrastu. */
  .ptr { transition: opacity .18s; }
  .ptr.busy .ptr-ring { animation: ptrPulse 1.1s ease-in-out infinite; }
  .follow-btn { transition: none; }
  .follow-btn:active { transform: none; }
}
@keyframes ptrPulse {
  0%, 100% { border-color: var(--line); border-top-color: var(--accent); opacity: .55; }
  50% { border-color: var(--accent); opacity: 1; }
}

/* ================================================================
   DESKTOP — szerszy układ zamiast wąskiej kolumny telefonu
   ================================================================
   Na dużym ekranie feed w szerokości 640 px zostawiał puste pół ekranu i
   wyglądał jak niedokończona strona. Poza tym pasek kategorii przewijał się
   poziomo — myszą nie dało się dojechać do ostatnich filtrów, więc „Praca"
   i „Inne" były praktycznie niewidoczne. Tu jedno i drugie znika. */
@media (min-width: 1000px) and (pointer: fine) {
  #app { max-width: 1080px; }
  /* Kategorie zawijają się do drugiego rzędu — wszystkie od razu widoczne. */
  .feed-controls .chips { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
  .feed {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start;
    padding: 4px 16px 16px;
  }
  /* Puste stany i komunikaty rozciągają się na obie kolumny. */
  .feed > .empty, .feed > .spinner { grid-column: 1 / -1; }
  .card-content.clamp { -webkit-line-clamp: 5; }
  .fab { right: calc(50% - 540px + 18px); }
  .to-top { right: calc(50% - 540px + 18px); }
  .dl-banner { margin-left: 16px; margin-right: 16px; }
}
/* Bardzo szerokie ekrany — trzecia kolumna zamiast rozciągania kart. */
@media (min-width: 1400px) and (pointer: fine) {
  #app { max-width: 1360px; }
  .feed { grid-template-columns: repeat(3, 1fr); }
  .fab, .to-top { right: calc(50% - 680px + 18px); }
}
.reels-top .logo {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: #fff; -webkit-text-fill-color: #fff; font-size: 19px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.icon-btn.glass, .city-btn.glass {
  background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .2); color: #fff;
  box-shadow: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.icon-btn.glass.logged { border-color: #fff; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); }
.reels-controls .chips { border-left-color: rgba(255, 255, 255, .22); }
.reels-controls .chip {
  background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.reels-controls .chip.active { background: var(--grad); color: #fff; border-color: transparent; }
.reels-search { padding: 10px 12px 0; }
.reels-search input {
  background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .2); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.reels-search input::placeholder { color: rgba(255, 255, 255, .65); }
/* Desktop: nakładka trzyma się szerokości karty, nie całego ekranu. */
@media (min-width: 700px) {
  .reels-bar, .reels-search, .reels-controls { max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* ---------- Podpowiedź „przesuń w górę" ---------- */
.reels-hint {
  position: absolute; left: 50%; bottom: calc(14px + var(--safe-bottom)); z-index: 5;
  display: flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .95); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6); pointer-events: none;
  animation: hintBob 1.9s ease-in-out infinite;
}
.reels-hint .arrow { font-size: 15px; line-height: 1; }
.reel.has-hint .reel-info { padding-bottom: calc(64px + var(--safe-bottom)); }
.reel.has-hint .reel-dots { bottom: calc(52px + var(--safe-bottom)); }
@keyframes hintBob {
  0%, 100% { transform: translate(-50%, 0); opacity: .95; }
  50% { transform: translate(-50%, -10px); opacity: .7; }
}

/* ---------- Rolka pusta / końcowa / ładowanie ---------- */
.reel-plain {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 40px 30px calc(120px + var(--safe-bottom));
}
.reel-plain .big { font-size: 46px; }
.reel-plain h3 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.reel-plain p { font-size: 14.5px; color: rgba(255, 255, 255, .78); max-width: 300px; }
.reel-plain .btn { width: auto; margin-top: 6px; }
.reel-plain .btn.ghost { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .22); color: #fff; }
.reel-plain .spinner { border-color: rgba(255, 255, 255, .25); border-top-color: #fff; }

/* ---------- Komentarze w arkuszu (rolki) ---------- */
.cs-list { max-height: 52dvh; overflow-y: auto; margin-bottom: 4px; }
.cs-list .comment:first-child { border-top: 0; }
.sheet-menu { display: flex; flex-direction: column; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .reel.is-active .reel-info,
  .reel.is-active .reel-hero,
  .reel.is-active .reel-rail { animation: none; }
  .reels-hint { animation: none; }
  .reel-burst { animation-duration: .4s; }
}
