.home-community {
  --hc-card-width: 256px;
  --hc-gap: 16px;
  --hc-edge-fade: 64px;
  padding: 96px 0;
  overflow: hidden;
  background: #0a0a0a;
  color: #fafafa;
}
.hc-heading { padding: 0 20px; margin: 0 auto 40px; text-align: center; }
.hc-heading h2 { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.hc-heading h2 > span { color: #a1a1aa; }
.hc-heading h2 > strong { margin-left: 8px; font-weight: 700; white-space: nowrap; }
.hc-heading p { margin: 12px 0 0; color: #a1a1aa; font-size: 16px; line-height: 1.5; }
.hc-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.hc-row { min-width: 0; }
.hc-viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; mask-image: linear-gradient(to right, transparent, #000 var(--hc-edge-fade), #000 calc(100% - var(--hc-edge-fade)), transparent); }
.hc-viewport::-webkit-scrollbar { display: none; }
.hc-viewport:focus-visible { outline: 2px solid #60a5fa; outline-offset: -2px; }
.hc-track, .hc-copy { display: flex; width: max-content; gap: var(--hc-gap); }
.hc-copy { flex: 0 0 auto; }
.hc-is-ready .hc-viewport { touch-action: pan-y pinch-zoom; cursor: grab; }
.hc-is-dragging .hc-viewport { cursor: grabbing; }
.hc-card { flex: 0 0 var(--hc-card-width); width: var(--hc-card-width); margin: 0; text-align: left; user-select: none; }
.hc-card__image { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #202023; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s; }
.hc-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .5s cubic-bezier(.2,.6,.3,1); }
.hc-card__image:hover, .hc-card__image:focus-visible { outline-color: #3b82f6; }
.hc-card__image:hover img, .hc-card__image:focus-visible img { transform: scale(1.05); }
.hc-card__customize { position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 7px; background: #0a0a0ae8; color: #fff; font-size: 12px; line-height: 1.4; opacity: 0; transform: translateY(3px); transition: opacity .18s, transform .18s; pointer-events: none; }
.hc-card__customize svg { width: 14px; height: 14px; }
.hc-card__image:hover .hc-card__customize, .hc-card__image:focus-visible .hc-card__customize { opacity: 1; transform: none; }
.hc-card__caption { display: flex; align-items: center; gap: 6px; padding-top: 8px; min-height: 46px; }
.hc-card__copy { min-width: 0; flex: 1; }
.hc-card__model { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e4e4e7; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; }
.hc-card__model:hover { color: #fff; text-decoration: underline; }
.hc-card__author { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #a1a1aa; font-size: 12px; line-height: 18px; }
.hc-card__detail { display: flex; width: 36px; min-height: 38px; flex: 0 0 36px; align-items: center; justify-content: center; color: #a1a1aa; border-radius: 7px; }
.hc-card__detail svg { width: 17px; height: 17px; }
.hc-card__detail:hover { color: #fff; background: #202023; }
.hc-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding: 0 16px; }
.hc-gallery, .hc-controls button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 1px solid #3f3f46; border-radius: 9px; background: transparent; color: #e4e4e7; font: inherit; font-size: 14px; line-height: 22px; text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s; }
.hc-gallery:hover, .hc-controls button:hover { background: #202023; border-color: #71717a; }
.hc-gallery svg, .hc-controls svg { width: 18px; height: 18px; }
.hc-controls { display: flex; gap: 8px; }
.hc-controls[hidden] { display: none; }
.hc-controls button { width: 44px; padding: 10px; }
.hc-controls button.hc-pause { width: 72px; }
.hc-controls button:disabled { width: 92px; color: #a1a1aa; cursor: default; }
.home-community a:focus-visible, .hc-controls button:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }
.hc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 767px) {
  .home-community { --hc-card-width: 224px; padding: 64px 0; }
  .hc-heading { margin-bottom: 32px; }
  .hc-heading h2 { font-size: 28px; line-height: 1.25; }
  .hc-heading h2 > strong { margin-left: 5px; }
  .hc-heading p { font-size: 14px; }
}
@media (max-width: 639px) {
  .home-community { --hc-card-width: 176px; --hc-edge-fade: 30px; }
  .hc-card__model { font-size: 12px; line-height: 18px; }
  .hc-card__author { line-height: 18px; }
  .hc-card__detail { width: 28px; flex-basis: 28px; }
  .hc-gallery { gap: 6px; padding-inline: 8px; font-size: 13px; }
  .hc-controls { gap: 6px; }
}
@media (hover: none) {
  .hc-card__customize { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-card__image, .hc-card__image img, .hc-card__customize, .hc-gallery, .hc-controls button { transition: none; }
  .hc-card__image:hover img, .hc-card__image:focus-visible img { transform: none; }
}
