/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --text-primary: #18181b;
  --text-secondary: #71717a;
  --text-tertiary: #a1a1aa;
  --accent: #e63946;
  --accent-light: #fee2e2;
  --link: #2563eb;
  --link-hover: #1d4ed8;
  --border: #e4e4e7;
  --border-light: #f4f4f5;
  --pinned-bg: #eff6ff;
  --pinned-border: #bfdbfe;
  --quote-bg: #fafaf9;
  --quote-border: #d6d3d1;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --max-width: 640px;
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --media-gap: 3px;
}

/* ===== GLOBAL ===== */
html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body { min-height: 100dvh; overflow-x: hidden; }
a { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--link-hover); }
img { display: block; max-width: 100%; }

/* ===== LAYOUT ===== */
.app { max-width: var(--max-width); margin: 0 auto; padding-bottom: 80px; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}
.header-inner { display: flex; align-items: center; gap: 12px; }
.header-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  /*background: var(--accent); */
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  /*box-shadow: 0 2px 8px rgba(230,57,70,0.3);*/
}
.header-avatar svg { width: 22px; height: 22px; fill: white; }
.header-info { flex: 1; min-width: 0; }
.header-title {
  font-size: 16px; font-weight: 700; line-height: 1.2;
  display: flex; align-items: center; gap: 5px;
}
.verified-badge { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }
.header-subs { font-size: 12px; color: var(--text-tertiary); font-weight: 500; margin-top: 1px; }
.header-actions { display: flex; gap: 4px; }
.header-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none; background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
}
.header-btn:hover { background: var(--border-light); color: var(--text-primary); }
.header-btn svg { width: 20px; height: 20px; }

/* ===== PINNED ===== */
.pinned {
  margin: 12px 12px 0; background: var(--pinned-bg); border: 1px solid var(--pinned-border);
  border-radius: var(--radius); padding: 12px 14px; cursor: pointer;
  transition: all var(--transition); animation: slideDown 0.4s ease-out;
}
.pinned:hover { box-shadow: var(--shadow-sm); }
.pinned-label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--link);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.pinned-label svg { width: 12px; height: 12px; }
.pinned-text {
  font-size: 13px; color: var(--text-secondary); line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ===== FEED ===== */
.feed { padding: 8px 0; }

/* ===== POST ===== */
.post {
  background: var(--surface); margin: 8px 12px; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: all var(--transition); animation: fadeUp 0.5s ease-out both;
}
.post:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.post:nth-child(1) { animation-delay: 0.05s; }
.post:nth-child(2) { animation-delay: 0.1s; }
.post:nth-child(3) { animation-delay: 0.15s; }
.post:nth-child(4) { animation-delay: 0.2s; }
.post:nth-child(5) { animation-delay: 0.25s; }
.post:nth-child(6) { animation-delay: 0.3s; }
.post:nth-child(7) { animation-delay: 0.35s; }

.post-header {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0;
}
.post-author { display: flex; align-items: center; gap: 8px; }
.post-author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  /*background: var(--accent);*/
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.post-author-avatar svg { width: 14px; height: 14px; fill: white; }
.post-author-name { font-size: 13px; font-weight: 700; color: var(--accent); }
.post-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-tertiary); font-weight: 500;
}
.post-meta svg { width: 14px; height: 14px; opacity: 0.6; }
.post-body { padding: 10px 16px 0; }
.post-text {
  font-size: 14.5px; line-height: 1.6; color: var(--text-primary); word-break: break-word;
}
.post-text strong { font-weight: 700; }
.post-text em { font-style: italic; }
.post-text a { color: var(--link); font-weight: 500; }
.post-text a:hover { text-decoration: underline; }

/* ===== MEDIA GRIDS ===== */
.post-media { margin-top: 10px; padding: 0 16px; }

.media-grid {
  display: grid; gap: var(--media-gap);
  border-radius: var(--radius-sm); overflow: hidden;
}

/* 1 image */
.media-grid.g-1 { grid-template-columns: 1fr; }
.media-grid.g-1 .media-item { aspect-ratio: 16/10; }

/* 3 images: 1 big top + 2 equal bottom — FIXED tight rows */
.media-grid.g-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.media-grid.g-3 .media-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}
.media-grid.g-3 .media-item:nth-child(2),
.media-grid.g-3 .media-item:nth-child(3) {
  aspect-ratio: 4/3;
}

/* 4 images: 2×2 */
.media-grid.g-4 {
  grid-template-columns: 1fr 1fr;
}
.media-grid.g-4 .media-item { aspect-ratio: 1; }

/* 5 images: 2 top + 3 bottom */
.media-grid.g-5 {
  grid-template-columns: repeat(6, 1fr);
}
.media-grid.g-5 .media-item:nth-child(1),
.media-grid.g-5 .media-item:nth-child(2) {
  grid-column: span 3; aspect-ratio: 3/2;
}
.media-grid.g-5 .media-item:nth-child(3),
.media-grid.g-5 .media-item:nth-child(4),
.media-grid.g-5 .media-item:nth-child(5) {
  grid-column: span 2; aspect-ratio: 4/3;
}

.media-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--border-light);
}
.media-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease; display: block;
}
.media-item:hover img { transform: scale(1.03); }

/* placeholder */
.media-item.ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e4e4e7 0%, #d4d4d8 100%);
}
.media-item.ph svg { color: var(--text-tertiary); opacity: 0.4; }

/* +N overlay */
.media-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: white; letter-spacing: -0.5px;
}

/* ===== VIDEO PLAYER ===== */
.video-wrap { margin-top: 10px; padding: 0 16px; }
.video-container {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  background: #000;
}
.video-container video {
  width: 100%; display: block; border-radius: var(--radius-sm);
}
.video-play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer; transition: opacity 0.25s; z-index: 2;
}
.video-play-btn.hidden { opacity: 0; pointer-events: none; }
.video-play-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s; backdrop-filter: blur(4px);
}
.video-container:hover .video-play-circle {
  background: rgba(0,0,0,0.7); transform: scale(1.06);
}
.video-play-circle svg { width: 24px; height: 24px; fill: white; margin-left: 2px; }
.video-duration-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.7); color: white; font-size: 12px;
  font-weight: 600; padding: 2px 8px; border-radius: 4px;
  pointer-events: none; z-index: 1;
}
.video-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 30px 12px 10px; display: flex; align-items: center; gap: 10px;
  opacity: 0; transition: opacity 0.25s; z-index: 3;
}
.video-container:hover .video-controls,
.video-container.playing .video-controls { opacity: 1; }
.video-controls button {
  background: none; border: none; color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center; width: 28px; height: 28px;
}
.video-controls button svg { width: 18px; height: 18px; }
.video-progress {
  flex: 1; height: 4px; background: rgba(255,255,255,0.3);
  border-radius: 2px; cursor: pointer;
}
.video-progress-bar {
  height: 100%; background: white; border-radius: 2px;
  width: 0%; transition: width 0.1s linear;
}
.video-time {
  font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 500;
  min-width: 36px; text-align: right;
}

/* ===== BLOCKQUOTE ===== */
.post-quote, blockquote {
  margin: 10px 16px 0; padding: 14px 16px;
  background: var(--quote-bg); border-left: 3px solid var(--quote-border);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 13.5px; line-height: 1.6; color: var(--text-secondary);
}
.post-quote p + p, blockquote p + p { margin-top: 10px; }

/* ===== POST FOOTER ===== */
.post-footer {
  padding: 10px 16px 14px; display: flex; align-items: center; justify-content: space-between;
}
.post-reactions { display: flex; align-items: center; gap: 6px; }
.reaction-avatars { display: flex; }
.reaction-avatars span {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: white;
  margin-left: -4px; border: 2px solid var(--surface);
}
.reaction-avatars span:first-child { margin-left: 0; }
.comment-toggle {
  font-size: 13px; font-weight: 600; color: var(--link); cursor: pointer;
  transition: color var(--transition); background: none; border: none;
  font-family: var(--font); padding: 0;
}
.comment-toggle:hover { color: var(--link-hover); }
.post-share-btn {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-tertiary); transition: all var(--transition);
}
.post-share-btn:hover { background: var(--border-light); color: var(--text-secondary); }
.post-share-btn svg { width: 18px; height: 18px; }

/* ===== COMMENTS (read-only flat list) ===== */
.comments-section {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
  border-top: 0px solid var(--border);
}
.comments-section.open { max-height: 2000px; border-top-width: 1px; }
.comments-inner { padding: 14px 16px 16px; }
.comments-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.comments-title { font-size: 14px; font-weight: 700; }
.comments-close {
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: var(--border-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-tertiary); font-size: 14px; transition: all var(--transition);
}
.comments-close:hover { background: var(--border); color: var(--text-primary); }

.comment {
  display: flex; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  animation: fadeUp 0.3s ease-out both;
}
.comment:first-of-type { padding-top: 0; }
.comment:last-of-type { border-bottom: none; padding-bottom: 0; }
.comment-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white;
}
.comment-body { flex: 1; min-width: 0; }
.comment-meta {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px;
}
.comment-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.comment-time { font-size: 11px; color: var(--text-tertiary); font-weight: 500; }
.comment-text {
  font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); word-break: break-word;
}
.comment-media {
  margin-top: 8px; border-radius: var(--radius-xs); overflow: hidden; max-width: 220px;
}
.comment-media img,
.comment-media .media-item {
  width: 100%; display: block; border-radius: var(--radius-xs);
}

/* ===== WEATHER ===== */
.weather-card {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e3a5f 100%);
  border-radius: var(--radius-sm); padding: 20px; color: white;
  position: relative; overflow: hidden;
}
.weather-card::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; background: rgba(255,255,255,0.08); border-radius: 50%;
}
.weather-city { font-size: 14px; font-weight: 600; opacity: 0.85; }
.weather-temp { font-size: 48px; font-weight: 800; line-height: 1.1; margin: 4px 0; }
.weather-icon { position: absolute; top: 16px; right: 20px; font-size: 40px; }
.weather-desc { font-size: 13px; opacity: 0.8; margin-bottom: 12px; }
.weather-details { display: flex; gap: 14px; font-size: 12px; opacity: 0.75; }

/* ===== GALLERY LIGHTBOX ===== */
.gallery-lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.94); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  flex-direction: column; user-select: none;
}
.gallery-lb.active { opacity: 1; pointer-events: auto; }
.gallery-lb-img {
  max-width: 92vw; max-height: 82vh; object-fit: contain;
  border-radius: var(--radius-xs);
  transform: scale(0.92); transition: transform 0.3s ease, opacity 0.15s;
}
.gallery-lb.active .gallery-lb-img { transform: scale(1); }
.gallery-lb-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.12); color: white; font-size: 22px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.gallery-lb-close:hover { background: rgba(255,255,255,0.25); }
.gallery-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.12); color: white;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; font-size: 20px;
}
.gallery-lb-nav:hover { background: rgba(255,255,255,0.25); }
.gallery-lb-nav.prev { left: 12px; }
.gallery-lb-nav.next { right: 12px; }
.gallery-lb-counter {
  position: absolute; bottom: 20px;
  font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 500;
}

/* ===== INSTALL BANNER ===== */
.install-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); padding: 12px 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  animation: slideUp 0.4s ease-out 0.5s both;
}
.install-banner.hidden { display: none; }
.install-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px;
  background: var(--text-primary); color: white; border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.2px;
  border: none; cursor: pointer; font-family: var(--font);
  transition: all var(--transition);
}
.install-btn:hover { background: var(--accent); transform: scale(1.03); box-shadow: 0 4px 16px rgba(230,57,70,0.3); }
.install-btn svg { flex-shrink: 0; }
.install-close {
  position: absolute; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  border: none; background: var(--border-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-tertiary); font-size: 16px; transition: all var(--transition);
}
.install-close:hover { background: var(--border); color: var(--text-primary); }

/* ===== INSTALL OVERLAY + MODAL ===== */
.install-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.5); display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.install-overlay.active { opacity: 1; pointer-events: auto; }
.install-modal {
  background: var(--surface); border-radius: 20px 20px 0 0;
  width: 100%; max-width: 480px; padding: 24px 20px 28px;
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.install-overlay.active .install-modal { transform: translateY(0); }
.install-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--border-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-tertiary); font-size: 16px; transition: all var(--transition);
}
.install-modal-close:hover { background: var(--border); color: var(--text-primary); }

.install-steps-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 20px; }
.install-steps-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: all 0.3s;
}
.install-steps-dots .dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

.install-slide { display: none; text-align: center; min-height: 280px; }
.install-slide.active { display: block; animation: fadeUp 0.3s ease-out; }
.install-slide-icon { margin-bottom: 16px; }
.install-slide-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.install-slide-text { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin-bottom: 16px; }

.install-hint {
  background: var(--border-light); border-radius: var(--radius-sm);
  padding: 14px 16px; text-align: left; margin-top: 12px;
}
.install-hint p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.install-hint-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--link); background: rgba(37,99,235,0.1);
  padding: 2px 8px; border-radius: 4px; margin-bottom: 6px;
}
.install-share-icon { text-align: center; margin-top: 12px; }

.install-menu-preview {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; margin-top: 12px; text-align: left;
}
.install-menu-item {
  padding: 10px 14px; font-size: 13.5px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 6px;
}
.install-menu-item:last-child { border-bottom: none; }
.install-menu-item.highlight {
  background: rgba(37,99,235,0.06); color: var(--link); font-weight: 600;
}

.install-app-preview {
  display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 20px;
}
.install-app-icon {
  width: 60px; height: 60px; border-radius: 14px;
  /*background: var(--accent);*/
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}
.install-app-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }

.install-nav {
  display: flex; justify-content: space-between; margin-top: 20px;
}
.install-nav-btn {
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border);
  background: transparent; color: var(--text-secondary);
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font);
  transition: all var(--transition);
}
.install-nav-btn:hover { border-color: var(--text-tertiary); color: var(--text-primary); }
.install-nav-btn.primary {
  background: var(--accent); color: white; border-color: var(--accent);
}
.install-nav-btn.primary:hover { background: var(--accent-hover, #dc2626); }

/* ===== REPLY QUOTE (ответ на пост) ===== */
.reply-quote {
  margin: 10px 16px 0; padding: 10px 14px;
  background: var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  /*cursor: pointer; transition: background var(--transition);*/
}
/*.reply-quote:hover { background: var(--border); }*/
.reply-quote-source {
  font-size: 12px; font-weight: 700; color: var(--accent);
  margin-bottom: 3px; display: flex; align-items: center; gap: 4px;
}
.reply-quote-source svg { width: 12px; height: 12px; flex-shrink: 0; }
.reply-quote-text {
  font-size: 13px; color: var(--text-secondary); line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 76px; right: 16px; z-index: 98;
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: var(--surface); box-shadow: var(--shadow-lg); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); opacity: 0; transform: translateY(12px);
  transition: all 0.3s ease; pointer-events: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--text-primary); color: white; }
.scroll-top svg { width: 20px; height: 20px; }

/* ===== SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-xs);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 680px) {
  .app { padding-top: 8px; }
  .post { margin: 10px 0; }
  .pinned { margin: 12px 0 0; }
}
@media (max-width: 420px) {
  .post { margin: 6px 8px; border-radius: 14px; }
  .pinned { margin: 8px 8px 0; }
  .post-text { font-size: 14px; }
  .gallery-lb-nav { width: 36px; height: 36px; }
}