/* Critical CSS - Inline for above-the-fold */
:root {
  --body-font-family: Poppins, Helvetica, "sans-serif";
  --body-bg-color: #f0f2f5;
  --body-color: #111;
  --link-color: #5e72e4;
  --header-bg-color: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body-color);
  background: var(--body-bg-color);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
a { color: var(--link-color); text-decoration: none; }
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg-color);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.post {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(82,63,105,.05);
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}
.container {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
.d-none { display: none !important; }
/* Loading skeleton placeholder */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
