.community-home { min-width: 0; }
.hero-banner { position: relative; margin-bottom: 24px; }
.hero-banner > div:not(.hero-controls) { display: grid; grid-template-columns: 5fr 3fr; grid-template-rows: repeat(2, 160px); gap: 10px; }
.hero-banner__slide { display: block; min-width: 0; overflow: hidden; background: var(--paper); }
.hero-banner__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-banner__slide[data-slot="0"] { grid-row: 1 / 3; }
.hero-banner[data-count="1"] > div:not(.hero-controls) { grid-template-columns: 1fr; }
.hero-banner[data-count="2"] > div:not(.hero-controls) { grid-template-columns: 1fr 1fr; }
.hero-banner[data-count="2"] .hero-banner__slide { grid-row: 1 / 3; }
.hero-controls { position: absolute; bottom: 12px; right: 12px; display: flex; align-items: center; background: #202126d9; color: white; }
.hero-controls button { border: 0; background: transparent; color: inherit; width: 44px; height: 44px; font-size: 24px; cursor: pointer; }
.home-feed { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); gap: 26px; align-items: start; }
.today-section, .home-sidebar { min-width: 0; }
.home-sidebar { grid-column: 2; grid-row: 1 / 3; border-left: 1px solid var(--line); padding-left: 26px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.section-heading h1, .rail-heading h2, .home-notices h2 { font-family: var(--headline-font); font-size: 24px; line-height: 1.4; margin: 0 0 12px; color: var(--ink); }
.today-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.today-tabs button { min-height: 44px; padding: 6px 16px; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.today-tabs button[aria-selected="true"] { color: #fff; background: var(--evergreen); }
.today-group ul { margin: 0; padding: 0; list-style: none; }
.today-group li { display: grid; grid-template-columns: 86px minmax(0, 1fr) 84px; gap: 12px; align-items: center; min-height: 33px; padding: 3px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.today-post-board { padding: 3px 8px; border-radius: 16px; background: var(--evergreen-soft); color: var(--evergreen-deep); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.today-group a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.today-group time { color: var(--muted); font-size: 12px; text-align: right; }
.today-posts[aria-busy="true"] { opacity: .55; }
.today-status, .rail-status, .home-module-status { padding: 20px 0; color: var(--muted); font-size: 14px; }
.today-retry { min-height: 44px; border: 1px solid var(--line); background: white; padding: 8px 16px; cursor: pointer; }
.rail-heading { border-bottom: 1px solid var(--line); }
.rail-list { counter-reset: rank; }
.popular-post { counter-increment: rank; border-bottom: 1px solid var(--line); }
.popular-post a { display: flex; align-items: center; gap: 10px; min-height: 33px; padding: 3px 0; color: var(--ink); font-size: 14px; }
.popular-post a::before { content: counter(rank); color: var(--evergreen); min-width: 22px; font-weight: 700; }
.popular-post__title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.popular-post small { max-width: 65px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
.home-sponsors { margin-top: 20px; }
.sponsor-heading { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
.sponsor-controls { display: flex; align-items: center; }
.sponsor-controls button { width: 44px; height: 44px; background: none; border: 0; font-size: 22px; cursor: pointer; }
.sponsor-slides a { display: block; }
.sponsor-slides img { display: block; width: 100%; height: 330px; object-fit: fill; background: var(--paper); }
.home-notices { min-width: 0; }
.notice-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.notice-heading > a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: 13px; }
.notice-list ul { list-style: none; margin: 0; padding: 0; }
.notice-list li { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 16px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); }
.notice-list li a { display: block; min-width: 0; min-height: 44px; overflow: hidden; color: var(--ink); font-size: 14px; line-height: 44px; white-space: nowrap; text-overflow: ellipsis; }
.notice-list time { color: var(--muted); font-size: 12px; text-align: right; white-space: nowrap; }
.notice-status { padding: 20px 0; color: var(--muted); font-size: 14px; }
.community-home a:hover { color: var(--evergreen); }
.community-home :focus-visible { outline: 2px solid var(--evergreen); outline-offset: 3px; }
.community-home [hidden] { display: none !important; }
@media (max-width: 1200px) {
  .home-sponsors { display: none; }
}
@media (max-width: 900px) {
  .home-feed { grid-template-columns: minmax(0, 1fr); }
  .home-sidebar { grid-column: auto; grid-row: auto; border-left: 0; padding-left: 0; }
  .home-notices { grid-row: 2; }
}
@media (max-width: 600px) {
  .hero-banner > div:not(.hero-controls) { grid-template-columns: 1fr; grid-template-rows: 220px; }
  .hero-banner__slide[data-slot="0"], .hero-banner[data-count="2"] .hero-banner__slide { grid-row: auto; }
  .hero-banner[data-count="2"] > div:not(.hero-controls) { grid-template-columns: 1fr; }
  .section-heading h1, .rail-heading h2, .home-notices h2 { font-size: 22px; }
  .today-group li { grid-template-columns: 65px minmax(0, 1fr) 68px; gap: 8px; min-height: 44px; }
  .today-group time { font-size: 11px; }
}
.today-tabs__divider { flex: 0 0 1px; width: 1px; height: 20px; margin: 0 4px; align-self: center; background: var(--line); }
