.home-game-update .hero { display: block; }
.home-game-update .hero-copy { display: block; }
.home-game-update .hero h1 { white-space: normal; text-wrap: wrap; }
.home-game-update .hero .intro { letter-spacing: 0; }
.home-game-update .hero-action.primary { background: #27674d; box-shadow: none; }
.home-game-update .game-entry { display: flex; flex-direction: column; min-width: 0; }
.home-game-update .game-entry > .service-card { flex: 1; align-self: stretch; }
.home-game-update .game-entry-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 8px; }
.home-game-update .game-entry-actions a { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 6px; border: 1px solid #cdd3de; border-radius: 6px; color: #4b566b; font-size: 12px; font-weight: 750; text-decoration: none; background: white; }
.home-game-update .game-entry-actions .game-entry-play { border-color: #27674d; color: white; background: #27674d; }
.home-game-update .game-entry-actions a:focus-visible { outline: 3px solid #387eaa; outline-offset: 3px; }
.home-game-update .service-title { letter-spacing: 0; }
html[data-service-view="compact"] .home-game-update .service-description { display: none; }
html[data-service-view="compact"] .home-game-update .service-card { min-height: 0; }
html[data-service-view="compact"] .home-game-update .card-copy { padding: 8px 6px 10px; }
@media (max-width: 560px) {
  .home-game-update .game-entry-actions { gap: 4px; }
  .home-game-update .game-entry-actions a { min-height: 36px; padding: 0 3px; font-size: 11px; }
}
@media (max-width: 420px) {
  html[data-service-view="compact"] .home-game-update .card-copy { padding: 6px 5px 8px; }
}

/* The featured games stay prominent in both directory card view modes. */
.home-game-update .page { width: min(100% - 48px, 1120px); }
.home-game-update .hero { padding: 28px 0 26px; }
.home-game-update .hero .eyebrow { display: none; }
.home-game-update .hero h1 { font-size: clamp(34px, 4.2vw, 48px); font-weight: 900; letter-spacing: -.055em; line-height: 1.2; }
.home-game-update .hero .intro { margin-top: 14px; font-size: 15px; line-height: 1.8; }
.home-game-update .hero-actions { margin-top: 20px; }
.home-game-update .hero-action { min-height: 44px; gap: 16px; border-radius: 10px; }
.home-game-update .hero-action:focus-visible { outline: 3px solid #387eaa; outline-offset: 3px; }
.featured-games { scroll-margin-top: 24px; }
.featured-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.featured-kicker { margin: 0 0 5px; color: #697083; font-size: 12px; }
.featured-heading h2 { font-size: 24px; letter-spacing: -.04em; }
.featured-heading > a { flex-shrink: 0; padding: 10px 0 10px 10px; color: #27674d; font-size: 13px; font-weight: 750; text-decoration: none; }
.featured-heading > a:hover { text-decoration: underline; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.featured-game { --game-accent: #27674d; --game-tint: #eaf3eb; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #dce1e6; border-radius: 18px; background: white; }
.featured-liar { --game-accent: #7440a0; --game-tint: #f3edf8; }
.featured-sword { --game-accent: #86552e; --game-tint: #f7f0e5; }
.featured-preview { position: relative; display: block; height: 200px; overflow: hidden; background: var(--game-tint); }
.featured-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 200ms ease; }
.featured-liar .featured-preview img { object-position: 50% 56%; }
.featured-sword .featured-preview img { object-position: 50% 31%; }
.featured-preview:hover img { transform: scale(1.025); }
.preview-caption { position: absolute; right: 12px; bottom: 12px; left: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 7px 10px; border: 1px solid #ffffff80; border-radius: 6px; color: #202637; font-size: 11px; font-weight: 750; line-height: 1.5; background: #fffffff2; }
.featured-copy { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.featured-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; color: #697083; font-size: 11px; line-height: 1.6; }
.featured-meta > span { padding: 3px 7px; border-radius: 5px; color: var(--game-accent); font-weight: 800; background: var(--game-tint); }
.featured-copy h3 { margin: 0; font-size: 25px; font-weight: 900; letter-spacing: -.045em; line-height: 1.25; }
.featured-description { margin: 12px 0 22px; color: #596174; font-size: 13px; line-height: 1.85; word-break: keep-all; overflow-wrap: break-word; }
.featured-actions { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.featured-actions > a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; color: #596174; font-size: 12px; font-weight: 750; text-decoration: none; }
.featured-actions .featured-play { flex: 1; justify-content: space-between; gap: 12px; padding: 0 14px; border: 1px solid var(--game-accent); border-radius: 8px; color: white; background: var(--game-accent); }
.featured-actions > a:hover { text-decoration: underline; }
.featured-actions .featured-play:hover { filter: brightness(.93); text-decoration: none; }
.featured-game a:focus-visible, .featured-heading > a:focus-visible { outline: 3px solid #387eaa; outline-offset: 3px; }
.featured-preview:focus-visible { outline-offset: -4px !important; }
.service-directory { margin: 48px 0 36px; scroll-margin-top: 24px; }
.service-directory .section-head { align-items: center; margin: 0 0 20px; }
.service-directory h2 { font-size: 23px; }
.directory-intro { margin: 8px 0 0; color: #697083; font-size: 13px; line-height: 1.65; word-break: keep-all; }
.service-directory .service-category { margin: 10px 0 0; padding: 0; overflow: hidden; border: 1px solid #dce1e6; border-radius: 12px; background: #ffffffb8; }
.service-directory .category-head { position: relative; min-height: 82px; margin: 0; padding: 18px 48px 18px 20px; list-style: none; cursor: pointer; }
.service-directory .category-head::-webkit-details-marker { display: none; }
.service-directory .category-head::after { position: absolute; top: 36px; right: 24px; width: 8px; height: 8px; border-right: 2px solid #697083; border-bottom: 2px solid #697083; content: ""; transform: rotate(45deg); }
.service-directory details[open] > .category-head::after { top: 40px; transform: rotate(225deg); }
.service-directory .category-head:hover { background: #f0f4f5; }
.service-directory .category-head:focus-visible { outline: 3px solid #387eaa; outline-offset: -4px; }
.service-directory .category-title h3 { font-size: 16px; }
.service-directory .category-title p { margin-top: 4px; font-size: 12px; line-height: 1.5; }
.service-directory .category-count { flex-shrink: 0; }
.category-content { padding: 20px; border-top: 1px solid #e4e7ed; }
.directory-hub { margin: 0 0 16px; text-align: right; }
.home-game-update .portal-story { margin-top: 0; }
@media (min-width: 981px) {
  .home-game-update .hero-copy { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 32px; align-items: center; }
  .home-game-update .hero .intro { margin: 0; font-size: 14px; }
  .home-game-update .hero-actions { grid-column: 1 / -1; margin-top: 18px; }
  .service-directory .service-grid, .service-directory .service-grid.single-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .featured-grid { gap: 14px; }
  .featured-preview { height: 200px; }
  .featured-copy { padding: 18px; }
  .featured-copy h3 { font-size: 23px; }
  .featured-actions { flex-wrap: wrap; gap: 2px 10px; }
  .featured-actions .featured-play { flex-basis: 100%; }
}
@media (max-width: 760px) {
  .home-game-update .page { width: min(100% - 32px, 560px); }
  .home-game-update .hero { padding: 30px 0 28px; }
  .home-game-update .hero h1 { font-size: clamp(30px, 7.6vw, 42px); }
  .home-game-update .hero .intro { font-size: 13px; line-height: 1.8; }
  .featured-heading h2 { font-size: 22px; }
  .featured-heading > a { font-size: 12px; }
  .featured-grid { grid-template-columns: 1fr; gap: 22px; }
  .featured-preview { height: 220px; }
  .featured-copy { padding: 22px; }
  .featured-copy h3 { font-size: 25px; }
  .featured-description { margin-bottom: 18px; font-size: 14px; line-height: 1.8; }
  .featured-actions { flex-wrap: nowrap; gap: 18px; }
  .featured-actions .featured-play { flex-basis: auto; }
  .service-directory { margin-top: 36px; }
  .service-directory .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .service-directory .category-head { padding-left: 14px; }
  .service-directory .category-title p { font-size: 11px; }
  .category-content { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-preview img { transition: none; }
  .featured-preview:hover img { transform: none; }
}
