/* Wall posts — Telegram group-chat message layout */
.tx-feed { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 12px; }

.tx-post { display: flex; align-items: flex-end; gap: 7px; }
.tx-post-avatar { flex-shrink: 0; cursor: pointer; margin-bottom: 1px; }
.tx-post-col { flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 7px; }

.tx-bubble {
  flex: 1;
  min-width: 0;
  background: var(--tx-bubble);
  border-radius: var(--tx-bubble-radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.3);
}
.tx-bubble.is-out { background: var(--tx-bubble-out); border-bottom-left-radius: var(--tx-bubble-radius); border-bottom-right-radius: var(--tx-bubble-radius-small); }

.tx-bubble-name {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px 1px 9px;
  font-size: 15.5px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap; overflow: hidden;
}
.tx-bubble-name > span { overflow: hidden; text-overflow: ellipsis; }
.tx-bubble-name .VerifiedIcon { width: 17px; height: 17px; margin: 0 0 0 -4px; flex-shrink: 0; }
.tx-bubble-name .tx-avatar { width: 26px; height: 26px; font-size: 11px; }

/* Media inside the bubble: 2px inset like Telegram */
.tx-media { position: relative; margin: 6px 2px 0; border-radius: 6px; overflow: hidden; background: #111; }
.tx-media:first-child { margin-top: 2px; border-radius: calc(var(--tx-bubble-radius) - 2px) calc(var(--tx-bubble-radius) - 2px) 6px 6px; }
.tx-media.is-last { margin-bottom: 2px; border-bottom-left-radius: calc(var(--tx-bubble-radius) - 2px); border-bottom-right-radius: calc(var(--tx-bubble-radius) - 2px); }
.tx-media img, .tx-media video { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.tx-media .tx-grid { display: grid; gap: 2px; }
.tx-media .tx-grid > * { position: relative; overflow: hidden; background: #0d0d0d; min-height: 0; }
.tx-media .tx-grid img { height: 100%; max-height: none; }
.tx-media-pill {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 13px; font-weight: 500;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tx-media-pill .icon { font-size: 15px; }
.tx-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.45); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tx-play .icon { font-size: 28px; margin-left: 3px; }
.tx-media-tap { display: block; width: 100%; cursor: pointer; position: relative; }
.tx-media-more { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 24px; font-weight: 600; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.tx-media-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.tx-text {
  padding: 6px 12px 2px;
  font-size: var(--tx-text-size) !important;
  line-height: 1.375 !important;
  color: #fff !important;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.tx-text .emoji { width: 1.25em !important; height: 1.25em !important; vertical-align: -0.25em !important; margin: 0 0.05em; }

.tx-webpage {
  display: block; margin: 6px 10px 2px; padding: 6px 10px 8px 10px;
  border-radius: 6px; border-left: 3px solid var(--tx-accent);
  background: var(--tx-accent-soft); text-decoration: none;
}
.tx-webpage-site { font-size: 14.5px; font-weight: 600; color: var(--tx-accent); }
.tx-webpage-title { font-size: 14.5px; font-weight: 600; margin-top: 1px; }
.tx-webpage-desc { font-size: 14.5px; color: #e3e3e6; margin-top: 1px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tx-webpage img { width: 100%; max-height: 240px; object-fit: cover; border-radius: 6px; margin-top: 6px; display: block; }

/* Reactions: Telegram pills */
.tx-reactions { display: flex; flex-wrap: wrap; gap: 5px; padding: 6px 10px 0; }
.tx-reaction {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px 0 6px;
  border-radius: 999px; background: var(--tx-reaction); color: #fff;
  font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: transform 0.15s ease, background 0.15s ease;
}
.tx-reaction .emoji { width: 21px !important; height: 21px !important; margin: 0 !important; vertical-align: 0 !important; }
.tx-reaction:active { transform: scale(0.92); }
.tx-reaction.is-chosen { background: var(--tx-accent-fill); }

.tx-meta {
  display: flex; justify-content: flex-end; align-items: center; gap: 4px;
  padding: 2px 10px 7px; font-size: 13px; color: var(--tx-text-2); white-space: nowrap;
}
.tx-meta .icon { font-size: 16px; }
.tx-meta .tx-meta-author { overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.tx-media-only .tx-meta {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.5); color: #fff;
}

.tx-comments-row {
  display: flex; align-items: center; gap: 12px; width: 100%; white-space: nowrap;
  min-height: 46px; padding: 6px 12px 6px 10px; box-sizing: border-box;
  border-top: 1px solid var(--tx-separator) !important;
  color: var(--tx-link) !important; font-size: 16px; font-weight: 500; text-align: left;
}
.tx-comments-row:active { background: rgba(255, 255, 255, 0.04); }
.tx-comments-row > .icon { font-size: 24px; }
.tx-comments-row > span:not(.tx-avatars) { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tx-comments-row .tx-chevron { margin-left: auto; font-size: 18px; flex-shrink: 0; }
.tx-comments-row .tx-avatars { flex-shrink: 0; }
.tx-comments-row .tx-avatars .tx-avatar { width: 26px; height: 26px; font-size: 11px; }

.tx-side-btn {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; margin-bottom: 2px;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.tx-side-btn .icon { font-size: 20px; }
.tx-side-btn:active { transform: scale(0.92); }

/* Files & audio */
.tx-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px 2px; text-decoration: none; }
.tx-file-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--tx-accent-fill); color: #fff; position: relative;
}
.tx-file-icon .icon { font-size: 24px; }
.tx-file-body { flex: 1; min-width: 0; }
.tx-file-name { font-size: 15.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-file-sub { font-size: 13.5px; color: var(--tx-text-2); margin-top: 2px; }
.tx-wave { display: flex; align-items: center; gap: 2px; height: 24px; margin-top: 2px; cursor: pointer; }
.tx-wave i { width: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); }
.tx-wave i.is-played { background: var(--tx-accent); }
.tx-progress { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); margin-top: 6px; overflow: hidden; cursor: pointer; }
.tx-progress > i { display: block; height: 100%; width: 0; background: var(--tx-accent); }

/* Context menu with reaction strip (long tap / tap on bubble) */
.tx-ctx { position: fixed; z-index: 70; display: flex; flex-direction: column; gap: 8px; will-change: transform, opacity; animation: tx-ctx-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.12) both; }
.tx-ctx-reactions { animation: tx-ctx-strip 0.26s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.02s both; transform-origin: left center; }
.tx-ctx .tx-menu { animation: tx-ctx-menu 0.24s cubic-bezier(0.2, 0.9, 0.3, 1) 0.03s both; }
.tx-ctx-reactions {
  display: flex; gap: 2px; padding: 6px 8px; border-radius: 999px; max-width: 320px; overflow-x: auto; scrollbar-width: none;
  background: rgba(40, 40, 43, 0.97); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}
.tx-ctx-reactions::-webkit-scrollbar { display: none; }
.tx-ctx-reactions button { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.12s ease; }
.tx-ctx-reactions button:hover { transform: scale(1.18); }
.tx-ctx-reactions .emoji { width: 30px !important; height: 30px !important; }
.tx-menu {
  min-width: 240px; padding: 6px 0; border-radius: 18px;
  background: rgba(40, 40, 43, 0.97); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.tx-menu button { display: flex; align-items: center; gap: 18px; width: 100%; padding: 11px 18px; font-size: 16px; text-align: left; }
.tx-menu button:active, .tx-menu button:hover { background: rgba(255, 255, 255, 0.06); }
.tx-menu .icon { font-size: 22px; color: var(--tx-text-2); }
.tx-menu .is-danger, .tx-menu .is-danger .icon { color: var(--tx-red); }
.tx-ctx-backdrop { position: fixed; inset: 0; z-index: 69; background: rgba(0, 0, 0, 0.25); animation: tx-fade-in 0.16s ease-out both; }
@keyframes tx-fade-in { from { opacity: 0; } }
@keyframes tx-ctx-in { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: none; } }
@keyframes tx-ctx-strip { from { opacity: 0; transform: scale(0.7) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tx-ctx-menu { from { opacity: 0; transform: translateY(-6px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes tx-pop { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: none; } }

.tx-bubble.is-highlight { animation: tx-flash 1.2s ease; }
@keyframes tx-flash { 30% { box-shadow: 0 0 0 2px var(--tx-accent); } }

/* Stickers & custom emoji */
.tx-bubble.is-sticker { background: none; box-shadow: none; overflow: visible; }
.tx-bubble.is-sticker .tx-meta { justify-content: flex-start; padding: 4px 0 0; }
.tx-bubble.is-sticker .tx-meta > * { background: rgba(0, 0, 0, 0.45); }
.tx-sticker-wrap { padding: 0; }
.tx-sticker { display: block; width: 200px; height: 200px; }
.tx-sticker img, .tx-sticker video, .tx-sticker svg { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
.tx-cemoji { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.25em; position: relative; }
.tx-cemoji:not([data-resolved]), .tx-cemoji[data-resolved]:not(:has(.tx-cemoji-media)) { width: auto; height: auto; }
.tx-cemoji-media { display: block; width: 100%; height: 100%; }
.tx-cemoji-media img, .tx-cemoji-media video, .tx-cemoji-media svg { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
.tx-reaction .tx-cemoji { width: 22px; height: 22px; vertical-align: 0; }
.tx-reaction.is-paid { background: linear-gradient(90deg, rgba(255, 196, 0, 0.32), rgba(255, 160, 0, 0.18)); }
.tx-reaction .tx-star { display: block; filter: drop-shadow(0 0 4px rgba(255, 200, 40, 0.6)); }

/* Round video message */
.tx-round { position: relative; width: 240px; height: 240px; border-radius: 50%; overflow: hidden; margin: 6px auto 4px; background: #000; cursor: pointer; }
.tx-round img { width: 100%; height: 100%; object-fit: cover; }
.tx-round .tx-media-pill { left: 50%; top: auto; bottom: 10px; transform: translateX(-50%); }

/* "N new posts" pill */
.tx-new-pill {
  position: fixed; z-index: 45; left: 50%; transform: translateX(-50%);
  top: calc(130px + var(--tx-safe-top)); display: inline-flex; align-items: center; gap: 6px;
  background: var(--tx-accent-fill) !important; color: #fff; padding: 8px 16px; font-size: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); animation: tx-pop 0.2s ease-out;
}

/* New posts slide in */
.tx-appear { animation: tx-appear 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes tx-appear { from { opacity: 0; transform: translateY(-12px) scale(0.98); } }

/* Reaction tap: Telegram-like springy pop */
.tx-reaction.tx-pop { animation: tx-react-pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
.tx-reaction.tx-pop .emoji, .tx-reaction.tx-pop .tx-cemoji { animation: tx-react-emoji 0.55s cubic-bezier(0.3, 1.8, 0.5, 1); }
@keyframes tx-react-pop { 0% { transform: scale(0.8); } 60% { transform: scale(1.08); } 100% { transform: none; } }
@keyframes tx-react-emoji { 0% { transform: scale(0.4) rotate(-12deg); } 55% { transform: scale(1.45) rotate(6deg); } 100% { transform: none; } }

/* Bubbles appear when the feed renders / comments load */
.tx-msg { animation: tx-msg-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
@keyframes tx-msg-in { from { opacity: 0; transform: translateY(6px) scale(0.98); } }

/* Inline URL buttons (reply markup) under posts and comments */
.tx-post-stack { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tx-kb { display: flex; flex-direction: column; gap: 3px; }
.tx-kb-row { display: flex; gap: 3px; }
.tx-kb-btn {
  position: relative; flex: 1; min-width: 0; min-height: 40px; padding: 8px 18px;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  border-radius: 10px; text-decoration: none; text-align: center;
  font-size: 15px; font-weight: 600; color: #fff !important;
  background: rgba(30, 32, 40, 0.62);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background 0.15s ease, transform 0.12s ease;
}
.tx-kb-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-kb-btn:active { transform: scale(0.98); background: rgba(50, 54, 66, 0.7); }
.tx-kb-row:last-child .tx-kb-btn:first-child { border-bottom-left-radius: var(--tx-bubble-radius); }
.tx-kb-row:last-child .tx-kb-btn:last-child { border-bottom-right-radius: var(--tx-bubble-radius); }
.tx-kb-arrow {
  position: absolute; top: 5px; right: 6px; width: 9px; height: 9px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; opacity: 0.9;
}
.tx-kb-arrow::after {
  content: ''; position: absolute; top: -1px; right: 0; width: 12px; height: 2px;
  background: currentColor; transform-origin: right center; transform: rotate(-45deg);
}
.tx-msg-stack { flex: 0 1 auto; min-width: 0; max-width: min(84%, 520px); display: flex; flex-direction: column; gap: 3px; }
.tx-msg .tx-msg-stack > .tx-bubble { max-width: 100%; }
.tx-msg.is-out .tx-msg-stack { align-items: flex-end; }

/* Telegram 12 context menu details */
.tx-menu { padding: 4px 0; background: rgba(38, 38, 40, 0.98); overflow: hidden; }
.tx-menu button { gap: 22px; padding: 12px 20px; font-size: 16.5px; }
.tx-menu button .icon { color: #fff; opacity: 0.92; }
.tx-menu .is-danger .icon { opacity: 1; }
.tx-menu-head { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 20px; font-size: 15px; color: #fff; }
.tx-menu-head .icon { font-size: 20px; color: #fff; }
.tx-menu-gap { height: 8px; background: rgba(0, 0, 0, 0.28); }

/* Original Telegram verified badge: blue rosette + white check (two masks) */
.tx-verified { position: relative; display: inline-block; width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.tx-verified::before, .tx-verified::after {
  content: ''; position: absolute; inset: 0;
  -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain;
}
.tx-verified::before { background: #3d9cf5; -webkit-mask-image: url("../../icons/android/verified_area.webp"); mask-image: url("../../icons/android/verified_area.webp"); }
.tx-verified::after { background: #fff; -webkit-mask-image: url("../../icons/android/verified_check.webp"); mask-image: url("../../icons/android/verified_check.webp"); }
.tx-hero-name .tx-verified { width: 24px; height: 24px; vertical-align: -4px; }
.tx-pill-title .tx-verified { width: 18px; height: 18px; }
.tx-ctx-reactions .tx-cemoji { display: inline-flex; width: 34px; height: 34px; } .tx-ctx-reactions .tx-cemoji-media, .tx-ctx-reactions .tx-cemoji-media > * { width: 100%; height: 100%; }
.tx-post-stack > .tx-bubble, .tx-msg-stack > .tx-bubble { flex: 0 0 auto; }
#thread-avatar .tx-avatar { box-shadow: none; width: 40px; height: 40px; }

/* ---------------- Loading & arrival animations ---------------- */
@keyframes tx-shimmer { from { background-position: 160% 0; } to { background-position: -60% 0; } }
.tx-media-tap, .tx-media .tx-grid > *, .tx-round, .tx-pf-cell, .tx-media-cell {
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 25%, rgba(140, 160, 255, 0.09) 45%, rgba(255, 255, 255, 0.13) 50%, rgba(140, 160, 255, 0.09) 55%, rgba(255, 255, 255, 0) 75%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  animation: tx-shimmer 1.5s linear infinite;
}
.has-loaded, .tx-media-tap.has-loaded { animation: none; background-image: none; }
.tx-media img, .tx-round img, .tx-pf-cell img, .tx-media-cell img, .tx-webpage img {
  opacity: 0; filter: blur(14px); transform: scale(1.03);
  transition: opacity 0.4s ease, filter 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.tx-media img.is-loaded, .tx-round img.is-loaded, .tx-pf-cell img.is-loaded, .tx-media-cell img.is-loaded, .tx-webpage img.is-loaded {
  opacity: 1; filter: none; transform: none;
}
.tx-reduce-motion .tx-media img, .tx-reduce-motion .tx-pf-cell img, .tx-reduce-motion .tx-media-cell img { filter: none; transform: none; }

.tx-enter { animation: tx-enter 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes tx-enter { from { opacity: 0; transform: translateY(18px) scale(0.985); } }

.tx-bubble.tx-sheen { position: relative; }
.tx-bubble.tx-sheen::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(120, 150, 255, 0.16) 45%, rgba(255, 255, 255, 0.14) 50%, rgba(120, 150, 255, 0.16) 55%, transparent 70%);
  background-size: 250% 100%; background-repeat: no-repeat;
  animation: tx-sheen 1.1s ease-out forwards;
}
@keyframes tx-sheen { from { background-position: 130% 0; } to { background-position: -30% 0; } }

/* Photo tile with Telegram's embedded blurred preview underneath */
.tx-ph { display: block; position: relative; overflow: hidden; max-height: 520px; }
.tx-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-height: none; }
.tx-media-tap > video, .tx-media-tap > img { position: relative; z-index: 1; }
.tx-media-tap > .tx-media-pill, .tx-media-tap > .tx-play, .tx-media-tap > .tx-media-load { z-index: 3; }
.tx-media-preview {
  position: absolute; inset: -10px; z-index: 0; background-size: cover; background-position: center;
  filter: blur(12px) saturate(1.2); transform: scale(1.08); transition: opacity 0.5s ease;
}
.has-preview { background-image: none; animation: none; }
.has-preview:not(.has-loaded)::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.12) 50%, transparent 75%) no-repeat;
  background-size: 220% 100%; animation: tx-shimmer 1.5s linear infinite;
}
.has-loaded > .tx-media-preview { opacity: 0; }

/* Off-screen posts skip layout and paint entirely (smooth fast scrolling) */
.tx-feed > .tx-post { content-visibility: auto; contain-intrinsic-size: auto 460px; }
.has-error, .has-error::after { animation: none !important; background-image: none !important; }
/* Photo tiles: the image always fills its tile (above the blurred preview) */
.tx-media-tap.tx-ph > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-height: none; object-fit: cover; }

/* long menus scroll inside the screen instead of running off it */
.tx-ctx .tx-menu { overflow-y: auto; min-height: 0; overscroll-behavior: contain; scrollbar-width: none; }
.tx-ctx .tx-menu::-webkit-scrollbar { display: none; }
.tx-ctx-reactions { flex: 0 0 auto; }

/* ---------- Post silhouettes while the feed loads ---------- */
.sk-wrap { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.sk-card { position: relative; overflow: hidden; border-radius: var(--tx-bubble-radius, 17px); background: var(--tx-bubble); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; width: calc(100% - 46px); animation: sk-in .5s cubic-bezier(.2,.9,.3,1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.sk-head { display: flex; align-items: center; gap: 10px; }
.sk-ava { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.sk-line { display: block; height: 12px; border-radius: 6px; }
.sk-media { display: block; border-radius: 10px; margin: 2px -6px; }
.sk-chips { display: flex; gap: 8px; }
.sk-chip { display: block; width: 58px; height: 26px; border-radius: 13px; }
.sk-ava, .sk-line, .sk-media, .sk-chip { background: rgba(255, 255, 255, 0.07); }
html[data-theme='light'] .sk-ava, html[data-theme='light'] .sk-line, html[data-theme='light'] .sk-media, html[data-theme='light'] .sk-chip { background: rgba(0, 0, 0, 0.06); }
/* one soft light sweeps across the whole silhouette, like a wave */
.sk-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.10) 50%, transparent 80%); transform: translateX(-100%); animation: sk-wave 1.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 180ms); pointer-events: none; }
html[data-theme='light'] .sk-card::after { background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%); }
@keyframes sk-wave { to { transform: translateX(100%); } }
@keyframes sk-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
#feed-loader .sk-wrap { padding-top: 0; }
