/* ⛳ community-kit 사본 — 바닥 규칙(전역 초기화·html·body 서체) — post-content.css 가 기댄다
   원본 rider-sesang/rider-world/public/static/style.css @ b7390dc07bdb 에서 선택자로 뽑음(export-kit.mjs --with-ui). 고칠 땐 원본을 고친다. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-feature-settings: "ss01" 1; background: var(--bg-1); color: var(--fg-1); min-height: 100vh; min-height: 100dvh; line-height: var(--leading-normal); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 1024px) {
  html { font-size: 15px; }
}
@media (max-width: 900px) {
  html, body, .app-shell, .main-content, .content-grid, .content-grid-wide,
  #postListCard, .cm-swipe, .cm-panel, .cm-feed-wrap, .cm-feed-card { min-width: 0; max-width: 100%; }
  html, body, .app-shell { overflow-x: clip; }
}
body { background: var(--bg-1); }
:root[data-theme="light"] body, :root:not([data-theme]) body { background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 55%, #EEF3FB 100%) fixed; }
:root, :root[data-theme="light"] { background: #FFFFFF; }
:root[data-theme="dark"], :root[data-theme="reduced-red"] { background: #0F1322; }
@media (max-width: 900px) {
  :root, :root[data-theme="light"] { background: #EEF3FB; }
  body { background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 55%, #EEF3FB 100%) fixed; }
  :root[data-theme="dark"], :root[data-theme="reduced-red"] { background: #161926; }
  :root[data-theme="dark"] body, :root[data-theme="dark"] .main-content,
  :root[data-theme="reduced-red"] body, :root[data-theme="reduced-red"] .main-content { background: #161926; }
}
html, body { overscroll-behavior-y: contain; }
