.dom-home .dom-main { padding-top: 8px; }
.dom-home-intro { margin: 0 0 8px; padding: 7px 9px; border-left: 4px solid var(--dom-primary); border-radius: 0 var(--dom-radius-sm) var(--dom-radius-sm) 0; background: rgba(255,255,255,.78); }
.dom-home-intro h1 { font-size: 16px; line-height: 1.35; font-weight: 850; letter-spacing: -.02em; }
.dom-home-intro p { margin-top: 1px; color: var(--dom-muted); font-size: 12px; line-height: 1.45; }
.dom-hero { position: relative; overflow: hidden; margin: 0 -10px 10px; }
.dom-hero__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 10px 5px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: pan-x pan-y;
}
.dom-hero__track::-webkit-scrollbar { display: none; }
.dom-hero__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.dom-hero__track.is-dragging a { pointer-events: none; }
.dom-hero__slide {
  position: relative;
  flex: 0 0 84%;
  overflow: hidden;
  aspect-ratio: 2.08 / 1;
  border: 1px solid rgba(23, 21, 28, .1);
  border-radius: var(--dom-radius);
  background: var(--dom-surface-soft) url('/static/dom/img/loading-cover.jpg') center 42% / cover no-repeat;
  box-shadow: var(--dom-shadow);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  -webkit-user-drag: none;
}
.dom-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.dom-hero__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px 10px 0;
  min-height: 14px;
}
.dom-hero__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 21, 28, .22);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.dom-hero__dot.is-active {
  width: 16px;
  background: var(--dom-primary);
}
.dom-hero__dot:focus-visible {
  outline: 2px solid rgba(0, 143, 104, .45);
  outline-offset: 2px;
}
.dom-hero__slide::after {
  position: absolute;
  inset: 38% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(23, 21, 28, .88));
}
.dom-hero__title {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 8px;
  left: 10px;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dom-split { display: contents; }
.dom-aside {
  margin: 12px 0 18px;
  padding: 9px 10px 7px;
  border: 1px solid var(--dom-line);
  border-radius: var(--dom-radius);
  background: var(--dom-surface);
  box-shadow: var(--dom-shadow);
  content-visibility: auto;
  contain-intrinsic-size: 310px;
}
.dom-rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.dom-rank li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: 21px 16px;
  align-items: center;
  min-width: 0;
  padding: 4px 0;
  border-bottom: 1px dashed var(--dom-line);
}
.dom-rank__n {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: var(--dom-primary);
  background: var(--dom-primary-soft);
  font-size: 11px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.dom-rank li:nth-child(-n+3) .dom-rank__n { color: #fff; background: var(--dom-accent); }
.dom-rank a, .dom-rank time { overflow: hidden; min-width: 0; white-space: nowrap; text-overflow: ellipsis; }
.dom-rank a { font-size: 12px; font-weight: 700; }
.dom-rank time { color: var(--dom-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.dom-home .dom-links {
  padding: 9px 10px;
  border: 1px solid var(--dom-line);
  border-radius: var(--dom-radius-sm);
  background: var(--dom-surface);
}
@media (max-width: 339px) {
  .dom-rank { grid-template-columns: 1fr; }
  .dom-hero__slide { flex-basis: 88%; }
}
