/* Romoid homepage: compact wiki catalog */

body.home-page {
  --romoid-ink: #161616;
  --romoid-copy: #3d3d3d;
  --romoid-muted: #6b6b6b;
  --romoid-line: #e4e4e4;
  --romoid-line-strong: #d2d2d2;
  --romoid-surface: #ffffff;
  --romoid-page: #f4f5f6;
  --romoid-soft: #ececec;
  --romoid-teal: #0f766e;
  --romoid-teal-dark: #115e59;
  --romoid-green: #087a55;
  --romoid-amber: #9a5a00;
  --romoid-blue: #0f766e;
  --romoid-blue-dark: #0f5f59;
  overflow-x: clip;
  background: var(--romoid-page) !important;
  color: var(--romoid-ink);
  color-scheme: light;
}

body.home-page,
body.home-page * {
  letter-spacing: 0;
}

body.home-page .vz-site-header {
  margin-bottom: 0 !important;
}

body.home-page #main-content.romoid-home,
body.home-page #main-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.home-page #main-content.romoid-home > * + *,
body.home-page #main-content > * + * {
  margin-top: 0;
}

#home-hero-shell.romoid-home-hero {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 4px;
  padding: 12px 12px 8px;
  background: transparent;
  color: var(--romoid-ink);
}

.romoid-home-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

.romoid-home-stage-slides {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: #161616;
  aspect-ratio: 3 / 2;
  max-height: 280px;
}

.romoid-home-feature {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.romoid-home-stage-slides .romoid-home-feature {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
}

.romoid-home-stage-slides .romoid-home-feature.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.romoid-home-stage-slides .romoid-home-feature:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.romoid-home-feature-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #161616;
}

.romoid-home-feature-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.romoid-home-feature:hover .romoid-home-feature-art img {
  transform: scale(1.03);
}

.romoid-home-feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 70px 16px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.45) 40%, rgba(8, 8, 8, 0.92) 100%);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.romoid-home-feature-icon {
  width: 56px;
  height: 56px;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  object-fit: cover;
  background: #2a2a2a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.romoid-home-feature:hover .romoid-home-feature-icon {
  transform: scale(1.05);
}

.romoid-home-feature-text {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.romoid-home-feature .romoid-home-pick-chip {
  top: 14px;
  left: 14px;
}

.romoid-home-feature-empty {
  padding: 20px 16px;
}

.romoid-home-feature-text strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: color 0.15s ease;
}

.romoid-home-feature:hover .romoid-home-feature-text strong {
  color: #93c5fd;
}

.romoid-home-feature .romoid-home-cover-meta {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.romoid-home-feature .romoid-home-cover-meta span + span::before {
  content: "·";
  margin: 0 6px 0 0;
}

.romoid-home-stage-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.romoid-home-stage-toggle:hover,
.romoid-home-stage-toggle:focus-visible {
  background: rgba(8, 8, 8, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.romoid-home-stage-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.romoid-home-stage-toggle-pause {
  width: 10px;
  height: 12px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

.romoid-home-stage-toggle-play {
  display: none;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
}

.romoid-home-stage-toggle[aria-pressed="true"] .romoid-home-stage-toggle-pause {
  display: none;
}

.romoid-home-stage-toggle[aria-pressed="true"] .romoid-home-stage-toggle-play {
  display: block;
}

.romoid-home-stage-toggle[hidden] {
  display: none;
}

.romoid-home-stage-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.2);
}

.romoid-home-stage-progress > i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #ffffff);
}

.romoid-home-stage-progress.is-running > i {
  animation: romoid-home-progress var(--spotlight-interval, 2400ms) linear forwards;
}

.romoid-home-covers {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 70%);
  gap: 12px;
  min-width: 0;
  margin-top: 14px;
  padding: 2px 0 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.romoid-home-covers::-webkit-scrollbar {
  display: none;
}

.romoid-home-cover {
  display: block;
  min-width: 0;
  text-decoration: none;
  scroll-snap-align: start;
  color: var(--romoid-ink);
  cursor: pointer;
}

.romoid-home-cover-art {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #1e293b;
  aspect-ratio: 3 / 2;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
}

.romoid-home-cover-art > img[data-spotlight-img] {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: saturate(0.96) brightness(0.92);
}

.romoid-home-cover:hover .romoid-home-cover-art {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.14), 0 6px 12px -2px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.4);
}

.romoid-home-cover:hover .romoid-home-cover-art > img[data-spotlight-img] {
  transform: scale(1.05);
  filter: brightness(1);
}

.romoid-home-cover:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 16px;
}

.romoid-home-cover-icon {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  object-fit: cover;
  background: #111;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.romoid-home-cover:hover .romoid-home-cover-icon {
  transform: scale(1.08);
}

.romoid-home-pick-chip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  max-width: calc(100% - 16px);
  min-height: 22px;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.62);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.romoid-home-pick-chip img {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  object-fit: contain;
}

.romoid-home-pick-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.romoid-home-cover-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  align-items: end;
  min-height: 48px;
  padding: 24px 10px 10px 48px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.6) 45%, rgba(8, 8, 8, 0.94) 100%);
  color: #fff;
}

.romoid-home-cover-caption strong,
.romoid-home-cover strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.3;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: color 0.15s ease;
}

.romoid-home-cover:hover .romoid-home-cover-caption strong {
  color: #93c5fd;
}

.romoid-home-cover-meta {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow: hidden;
  color: var(--romoid-muted);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.romoid-home-cover-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.romoid-home-games {
  width: 100%;
  min-width: 0;
  margin: 8px 0 20px;
  padding: 0 12px 10px;
}

.romoid-home-games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px 2px;
}

.romoid-home-games-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.romoid-home-games-bar {
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b82f6 0%, #06b6d4 100%);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4);
}

.romoid-home-games h2 {
  margin: 0;
  color: var(--romoid-ink);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.romoid-home-games-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.romoid-home-games-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: romoid-dot-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes romoid-dot-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.romoid-home-games-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--romoid-muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.romoid-home-games-more:hover {
  color: var(--romoid-blue-dark);
  background: rgba(37, 99, 235, 0.07);
  transform: translateX(2px);
}

.romoid-home-games-more-icon {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.romoid-home-games-more:hover .romoid-home-games-more-icon {
  transform: translateX(2px);
}

.romoid-home-games-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.romoid-home-games-list li {
  min-width: 0;
  border-radius: 16px;
  background: var(--romoid-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              background 0.2s ease;
  overflow: hidden;
}

.romoid-home-games-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  border-color: rgba(37, 99, 235, 0.25);
}

.romoid-home-game {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 68px;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
}

.romoid-home-game:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.55);
  outline-offset: 2px;
}

.romoid-home-game img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: #e2e8f0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.romoid-home-games-list li:hover .romoid-home-game img {
  transform: scale(1.06);
}

.romoid-home-game-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.romoid-home-game-copy strong {
  overflow: hidden;
  color: var(--romoid-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.romoid-home-games-list li:hover .romoid-home-game-copy strong {
  color: var(--romoid-blue-dark);
}

.romoid-home-game-copy small {
  overflow: hidden;
  color: var(--romoid-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home-page #home-section-tabs-shell,
body.home-page #home-tabs-shell,
body.home-page [data-post-list-shell] {
  padding-left: 12px;
  padding-right: 12px;
}

.romoid-home-catalog-head {
  display: grid;
  gap: 3px;
  margin: 16px 0 10px;
  padding: 0 12px;
}

.romoid-home-catalog-head h2 {
  margin: 0;
  color: var(--romoid-ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.romoid-home-catalog-head p {
  margin: 0;
  color: var(--romoid-muted);
  font-size: 13px;
  font-weight: 600;
}

body.home-page .vozer-section-band {
  margin: 12px 0 0 !important;
}

body.home-page .vozer-section-tabs,
body.home-page .vozer-sort-tabs {
  border: 0;
  border-bottom: 1px solid var(--romoid-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

body.home-page .vozer-section-tabs::before {
  content: none;
}

body.home-page .vozer-section-tab.is-active::after,
body.home-page .vozer-sort-tab.is-active::after {
  background: var(--romoid-blue);
}

body.home-page .vozer-post-grid {
  gap: 10px;
}

body.home-page .vozer-post-grid.romoid-hub-grid,
body.search-page .vozer-post-grid.romoid-hub-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.home-page .romoid-hub-grid .vozer-post-card,
body.search-page .romoid-hub-grid .vozer-post-card {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

body.home-page .romoid-hub-grid .vozer-post-card__media,
body.search-page .romoid-hub-grid .vozer-post-card__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 8px 8px 0 0;
}

body.home-page .romoid-hub-grid .vozer-post-card__body,
body.search-page .romoid-hub-grid .vozer-post-card__body {
  padding: 10px 11px 12px;
}

body.home-page .romoid-game-card,
body.search-page .romoid-game-card {
  overflow: hidden;
  border-radius: 8px;
}

.romoid-game-card__art {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #d8d8d8;
}

.romoid-game-card__banner {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.romoid-game-card__icon {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 8px;
  object-fit: cover;
  background: #111;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

body.home-page .romoid-game-card .vozer-post-card__body,
body.search-page .romoid-game-card .vozer-post-card__body {
  padding: 10px 11px 12px;
}

.romoid-game-card__genre {
  overflow: hidden;
  color: var(--romoid-muted);
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 744px) {
  body.home-page .vozer-post-grid.romoid-hub-grid,
  body.search-page .vozer-post-grid.romoid-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

body.home-page .vozer-post-card {
  align-items: stretch;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--romoid-line);
  border-radius: 8px;
  background: var(--romoid-surface);
  box-shadow: none;
}

body.home-page .vozer-post-card:hover {
  border-color: #c8c8c8;
  background: #fafafa;
}

body.home-page .vozer-post-card__media {
  width: 4.75rem;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  box-shadow: none;
  background: #dceafa;
}

body.home-page .vozer-post-card__media::after {
  background: linear-gradient(to top, rgba(16, 35, 62, 0.16), transparent 58%);
}

body.home-page .vozer-post-card__title {
  letter-spacing: 0;
  color: var(--romoid-ink);
}

body.home-page .vozer-post-card:hover .vozer-post-card__title {
  color: var(--romoid-blue-dark);
}

body.home-page .vozer-post-empty {
  border-color: var(--romoid-line);
  background: var(--romoid-surface);
}

body.home-page .vz-moderation-banner {
  margin: 12px 12px 0;
  border-color: #d6e6f6;
  background: linear-gradient(180deg, #fff, #edf6ff);
}

@media (min-width: 640px) {
  #home-hero-shell.romoid-home-hero {
    padding: 12px 0 12px;
  }

  .romoid-home-stage-slides {
    max-height: 440px;
  }

  .romoid-home-feature-copy {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 90px 24px 22px;
  }

  .romoid-home-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .romoid-home-feature-text strong {
    font-size: 24px;
  }

  .romoid-home-covers {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    gap: 14px;
    margin-top: 14px;
    padding: 2px 0 0;
  }

  .romoid-home-cover-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .romoid-home-cover-caption {
    padding-left: 52px;
  }

  .romoid-home-catalog-head {
    padding: 0;
    margin: 20px 0 12px;
  }

  .romoid-home-catalog-head h2 {
    font-size: 20px;
  }

  body.home-page #home-section-tabs-shell,
  body.home-page #home-tabs-shell,
  body.home-page [data-post-list-shell] {
    padding-left: 0;
    padding-right: 0;
  }

  body.home-page .vz-moderation-banner {
    margin-left: 0;
    margin-right: 0;
  }

  .romoid-home-games {
    padding-left: 0;
    padding-right: 0;
  }

  .romoid-home-games-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .vozer-post-card__media {
    width: 5.4rem;
  }
}

@media (min-width: 744px) {
  body.home-page .vozer-post-grid {
    gap: 12px;
  }

  body.home-page .vozer-post-card {
    padding: 10px;
  }

  body.home-page .vozer-post-card__media {
    width: 4.9rem;
  }

  .romoid-home-games-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

html.dark body.home-page,
body.dark.home-page,
html[data-theme="dark"] body.home-page {
  --romoid-ink: #e8eef6;
  --romoid-copy: #c5d0de;
  --romoid-muted: #8ea0b5;
  --romoid-line: #2a3a4d;
  --romoid-line-strong: #35506a;
  --romoid-surface: #132033;
  --romoid-page: #0b1624;
  --romoid-soft: #173049;
  color-scheme: dark;
}

html.dark body.home-page .romoid-home-stage,
body.dark.home-page .romoid-home-stage,
html[data-theme="dark"] body.home-page .romoid-home-stage {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

html.dark body.home-page .romoid-home-cover-art,
body.dark.home-page .romoid-home-cover-art,
html[data-theme="dark"] body.home-page .romoid-home-cover-art {
  background: #1a2c42;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark body.home-page .romoid-home-cover:hover .romoid-home-cover-art,
body.dark.home-page .romoid-home-cover:hover .romoid-home-cover-art,
html[data-theme="dark"] body.home-page .romoid-home-cover:hover .romoid-home-cover-art {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.6);
}

html.dark body.home-page .romoid-home-hero-panel,
body.dark.home-page .romoid-home-hero-panel,
html[data-theme="dark"] body.home-page .romoid-home-hero-panel {
  border-color: #2a3a4d;
  background: radial-gradient(120% 160% at 0% 0%, #173049 0%, #132033 58%, #0b1624 100%);
}
html.dark body.home-page .romoid-home-feature-art,
body.dark.home-page .romoid-home-feature-art,
html[data-theme="dark"] body.home-page .romoid-home-feature-art {
  background: #0e0e0e;
}

html.dark body.home-page .romoid-home-games-list li,
body.dark.home-page .romoid-home-games-list li,
html[data-theme="dark"] body.home-page .romoid-home-games-list li {
  background: var(--romoid-surface);
  border-color: var(--romoid-line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

html.dark body.home-page .romoid-home-games-list li:hover,
body.dark.home-page .romoid-home-games-list li:hover,
html[data-theme="dark"] body.home-page .romoid-home-games-list li:hover {
  background: var(--romoid-soft);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
}

html.dark body.home-page .romoid-home-games-list li:hover .romoid-home-game-copy strong,
body.dark.home-page .romoid-home-games-list li:hover .romoid-home-game-copy strong,
html[data-theme="dark"] body.home-page .romoid-home-games-list li:hover .romoid-home-game-copy strong {
  color: #60a5fa;
}

html.dark body.home-page .romoid-home-games h2,
body.dark.home-page .romoid-home-games h2,
html[data-theme="dark"] body.home-page .romoid-home-games h2 {
  color: #f1f5f9;
}

html.dark body.home-page .romoid-home-games-pill,
body.dark.home-page .romoid-home-games-pill,
html[data-theme="dark"] body.home-page .romoid-home-games-pill {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

html.dark body.home-page .romoid-home-games-more,
body.dark.home-page .romoid-home-games-more,
html[data-theme="dark"] body.home-page .romoid-home-games-more {
  color: #94a3b8;
}

html.dark body.home-page .romoid-home-games-more:hover,
body.dark.home-page .romoid-home-games-more:hover,
html[data-theme="dark"] body.home-page .romoid-home-games-more:hover {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
}

html.dark body.home-page .romoid-home-game img,
body.dark.home-page .romoid-home-game img,
html[data-theme="dark"] body.home-page .romoid-home-game img {
  background: #1a2c42;
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark body.home-page .romoid-home-cover-caption strong,
body.dark.home-page .romoid-home-cover-caption strong,
html[data-theme="dark"] body.home-page .romoid-home-cover-caption strong,
html.dark body.home-page .romoid-home-cover strong,
body.dark.home-page .romoid-home-cover strong,
html[data-theme="dark"] body.home-page .romoid-home-cover strong {
  color: #fff;
}

html.dark body.home-page .romoid-home-cover.is-active .romoid-home-cover-caption strong,
body.dark.home-page .romoid-home-cover.is-active .romoid-home-cover-caption strong,
html[data-theme="dark"] body.home-page .romoid-home-cover.is-active .romoid-home-cover-caption strong {
  color: #5eead4;
}

html.dark body.home-page .vozer-post-card:hover,
body.dark.home-page .vozer-post-card:hover,
html[data-theme="dark"] body.home-page .vozer-post-card:hover {
  background: #173049;
}

body.search-page {
  background: #f4f8fd !important;
}

body.search-page .vozer-post-card {
  border: 1px solid #dce6f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 6px 16px rgba(16, 35, 62, 0.035);
}

body.search-page .vozer-post-card:hover {
  border-color: #99c4ec;
  background: #fbfdff;
}

body.search-page .vozer-post-card__media {
  border-radius: 8px;
  aspect-ratio: 3 / 2;
}

.romoid-catalog-index {
  padding: 6px 0 18px;
}

.romoid-catalog-index__intro {
  margin-bottom: 14px;
}

.romoid-catalog-index__intro h1 {
  margin: 0;
  color: #10233e;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.romoid-catalog-index__intro p {
  margin: 4px 0 0;
  color: #697c92;
  font-size: 13px;
  font-weight: 600;
}

.romoid-catalog-index__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.romoid-catalog-index__card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dce6f0;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 18px rgba(16, 35, 62, 0.035);
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.romoid-catalog-index__card:hover {
  border-color: #99c4ec;
  background: #f8fbff;
  box-shadow: 0 12px 24px rgba(21, 87, 176, 0.08);
}

.romoid-catalog-index__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.romoid-catalog-index__icon img,
.romoid-catalog-index__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.romoid-catalog-index__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.romoid-catalog-index__copy strong {
  overflow: hidden;
  color: #10233e;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.romoid-catalog-index__card:hover .romoid-catalog-index__copy strong {
  color: #1557b0;
}

.romoid-catalog-index__copy em {
  overflow: hidden;
  color: #697c92;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.romoid-catalog-index__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 16px;
  border: 1px dashed #dce6f0;
  border-radius: 14px;
  background: #fff;
  color: #697c92;
  font-size: 13px;
  text-align: center;
}

@media (min-width: 640px) {
  .romoid-catalog-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .romoid-catalog-index__intro h1 {
    font-size: 1.35rem;
  }
}

@keyframes romoid-home-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

@keyframes romoid-home-progress {
  from { width: 0%; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .romoid-home-covers {
    scroll-behavior: auto;
  }

  .romoid-home-cover-art img,
  body.home-page .vozer-post-card,
  body.home-page .vozer-post-card__img {
    transition: none;
  }

  .romoid-home-cover:hover .romoid-home-cover-art img {
    transform: none;
  }

  .romoid-home-cover,
  .romoid-home-stage-slides .romoid-home-feature {
    transition: none;
  }

  .romoid-home-stage-slides .romoid-home-feature.is-active .romoid-home-feature-art img,
  .romoid-home-stage-progress.is-running > i {
    animation: none;
  }
}
