/*
 * Haruse Yuna Theme 3 - editorial layer
 *
 * This file intentionally sits after main.css. During the Theme 3 migration,
 * legacy page styles remain stable while the new homepage and shared editorial
 * components move to a calmer, image-led visual language.
 */

:root {
  --hy3-paper: #fbfaf7;
  --hy3-paper-deep: #f3f0e9;
  --hy3-ink: #202833;
  --hy3-muted: #6f7781;
  --hy3-line: rgba(32, 40, 51, .13);
  --hy3-blue: #315f7b;
  --hy3-blue-soft: #dbe8ed;
  --hy3-accent: #b88c5a;
  --hy3-radius: 10px;
  --hy3-wide: 1320px;
}

/* ------------------------------------------------------------
   Shared editorial components
------------------------------------------------------------ */
.hy-media-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.hy-media-feature--reverse {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
}

.hy-media-feature--reverse .hy-media-feature__visual {
  order: 2;
}

.hy-media-feature--reverse .hy-media-feature__body {
  order: 1;
}

.hy-media-feature__visual {
  overflow: hidden;
  border-radius: var(--hy3-radius);
  background: #eceff0;
}

.hy-media-feature__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
}

.hy-media-feature__body {
  max-width: 520px;
}

.hy-media-feature__body h2 {
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.hy-media-feature__body > p:not(.hy-kicker) {
  margin: 24px 0 0;
  color: var(--hy3-muted);
  font-size: 1.02rem;
  line-height: 2;
}

.hy-media-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hy-visual-card {
  min-width: 0;
}

.hy-visual-card__visual {
  display: block;
  overflow: hidden;
  border-radius: var(--hy3-radius);
  background: #eceff0;
}

.hy-visual-card__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.hy-visual-card:hover .hy-visual-card__visual img {
  transform: scale(1.018);
}

.hy-visual-card__body {
  padding: 24px 2px 0;
}

.hy-visual-card__body h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.hy-visual-card__body h3 a {
  text-decoration: none;
}

.hy-visual-card__body > p:not(.hy-kicker) {
  margin: 14px 0 18px;
  color: var(--hy3-muted);
  line-height: 1.85;
}

/* ------------------------------------------------------------
   Theme 3 homepage
------------------------------------------------------------ */
body.home {
  color: var(--hy3-ink);
  background: var(--hy3-paper);
}

.home .hy-header {
  background: rgba(251, 250, 247, .92);
  border-bottom-color: var(--hy3-line);
  backdrop-filter: blur(16px);
}

.home .hy-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(32, 40, 51, .06);
}

.home .hy-nav__list {
  gap: 20px;
}

.home .hy-nav__list a {
  min-height: 42px;
  padding: 0 2px;
  border-radius: 0;
  background: transparent !important;
  color: var(--hy3-ink);
  font-size: .86rem;
  font-weight: 650;
  border-bottom: 1px solid transparent;
}

.home .hy-nav__list a:hover,
.home .hy-nav__list .current-menu-item > a,
.home .hy-nav__list .current_page_item > a {
  color: var(--hy3-blue);
  border-bottom-color: currentColor;
  transform: none;
}

.home .hy-button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: none;
}

.home .hy-button:hover {
  transform: translateY(-1px);
}

.home .hy-button--primary {
  color: #fff;
  background: var(--hy3-blue);
  box-shadow: none;
}

.home .hy-button--soft,
.home .hy-button--ghost {
  color: var(--hy3-ink);
  background: rgba(251, 250, 247, .72);
  border: 1px solid rgba(32, 40, 51, .2);
  box-shadow: none;
}

.home .hy-text-link {
  color: var(--hy3-blue);
  font-weight: 700;
  border-bottom-width: 1px;
  border-bottom-color: rgba(49, 95, 123, .35);
}

.home .hy-kicker {
  color: var(--hy3-blue);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .20em;
}

.hy-home3-hero {
  width: min(var(--hy3-wide), calc(100% - 56px));
  min-height: min(760px, calc(100vh - var(--hy-header-height)));
  margin: 0 auto;
  padding: clamp(64px, 7vw, 104px) 0;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, .76fr);
  gap: clamp(44px, 6vw, 104px);
  align-items: center;
}

.hy-home3-hero__visual {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.hy-home3-hero__visual picture,
.hy-home3-hero__visual img {
  width: 100%;
  display: block;
}

.hy-home3-hero__visual img {
  aspect-ratio: 4 / 5;
  max-height: 680px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--hy3-radius);
}

.hy-home3-hero__visual--character {
  overflow: hidden;
  border-radius: var(--hy3-radius);
  background: var(--hy3-blue-soft);
}

.hy-home3-hero__visual--character img {
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
}

.hy-home3-hero__content {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.hy-home3-hero__copy {
  max-width: 620px;
}

.hy-home3-hero h1 {
  margin: 0;
  max-width: 10.5em;
  font-size: clamp(3rem, 5.7vw, 6.35rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -.062em;
}

.hy-home3-hero__lead {
  max-width: 34em;
  margin: 30px 0 0;
  color: #4f5963;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 2;
}

.hy-home3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hy-home3-section {
  padding: clamp(86px, 10vw, 150px) 0;
}

.hy-home3-section > .hy-container,
.hy-home3-section > .hy-home3-wide {
  width: min(var(--hy3-wide), calc(100% - 56px));
  margin: 0 auto;
}

.hy-home3-section--featured {
  background: #fff;
}

.hy-home3-section--about {
  background: var(--hy3-paper-deep);
}

.hy-home3-section--about .hy-media-feature__visual img {
  aspect-ratio: 4 / 5;
  object-position: center 30%;
}

.hy-home3-section--explore {
  background: var(--hy3-paper);
}

.hy-home3-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.hy-home3-section__head h2 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.15rem, 4.3vw, 4.5rem);
  font-weight: 570;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hy-home3-section__head p:not(.hy-kicker) {
  max-width: 36em;
  margin: 14px 0 0;
  color: var(--hy3-muted);
  line-height: 1.9;
}

.hy-home3-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.hy-home3-card--game .hy-visual-card__visual {
  background: #fff;
  border: 1px solid var(--hy3-line);
}

.hy-home3-card--game .hy-visual-card__visual img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.hy-home3-card--game:hover .hy-visual-card__visual img {
  transform: none;
}

.hy-home3-section--news {
  padding-top: 40px;
  background: #fff;
}

.hy-home3-news-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hy3-line);
  margin-bottom: 10px;
}

.hy-home3-news-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 570;
  letter-spacing: -.04em;
}

.hy-home3-section--news .hy-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.hy-home3-section--news .hy-post-card {
  display: block;
  padding: 32px 24px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hy-home3-section--news .hy-post-card + .hy-post-card {
  padding-left: 24px;
  border-left: 1px solid var(--hy3-line);
}

.hy-home3-section--news .hy-post-card__image {
  border-radius: 5px;
  box-shadow: none;
}

.hy-home3-section--news .hy-post-card__body {
  padding: 18px 0 0;
}

.hy-home3-section--news .hy-post-card__body h3 {
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.hy-home3-connect {
  padding: clamp(86px, 10vw, 140px) 0;
  background: var(--hy3-ink);
  color: #fff;
}

.hy-home3-connect__inner {
  width: min(1000px, calc(100% - 56px));
  margin: 0 auto;
  text-align: center;
}

.hy-home3-connect .hy-kicker {
  color: #bcd4df;
}

.hy-home3-connect h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hy-home3-connect p {
  max-width: 43em;
  margin: 24px auto 0;
  color: rgba(255,255,255,.72);
  line-height: 1.9;
}

.hy-home3-connect .hy-home3-hero__actions {
  justify-content: center;
}

.hy-home3-connect .hy-button--primary {
  color: var(--hy3-ink);
  background: #fff;
}

.hy-home3-connect .hy-button--ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.38);
}

/* seasonal accent stays subtle; images carry most of the mood */
body.home.theme-season-spring,
body.home.event-sakura,
body.home.event-entrance {
  --hy3-blue: #6f718f;
  --hy3-blue-soft: #ece7ee;
  --hy3-accent: #b98091;
}

body.home.theme-season-summer-autumn {
  --hy3-blue: #406d7b;
  --hy3-blue-soft: #dfe9e7;
  --hy3-accent: #ad845b;
}

body.home.theme-season-winter,
body.home.event-christmas,
body.home.event-newyear {
  --hy3-blue: #425c75;
  --hy3-blue-soft: #e2e7eb;
  --hy3-accent: #9b8063;
}

@media (max-width: 920px) {
  .home .hy-nav {
    display: none;
  }

  .home .hy-menu-button {
    display: inline-block !important;
  }

  .hy-home3-hero {
    width: min(100% - 40px, 760px);
    min-height: 0;
    padding: 52px 0 72px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hy-home3-hero__visual {
    grid-column: 1;
    grid-row: 1;
  }

  .hy-home3-hero__visual img {
    aspect-ratio: 4 / 5;
    max-height: 620px;
    object-position: center 28%;
  }

  .hy-home3-hero__content {
    grid-column: 1;
    grid-row: 2;
  }

  .hy-home3-hero__copy {
    max-width: 100%;
  }

  .hy-home3-hero h1 {
    max-width: 9.5em;
    font-size: clamp(2.8rem, 11vw, 5.6rem);
  }

  .hy-media-feature,
  .hy-media-feature--reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hy-media-feature--reverse .hy-media-feature__visual,
  .hy-media-feature--reverse .hy-media-feature__body {
    order: initial;
  }

  .hy-media-feature__body {
    max-width: 680px;
  }

  .hy-home3-section--about .hy-media-feature__visual img {
    aspect-ratio: 4 / 3;
    object-position: center 30%;
  }

  .hy-home3-explore-grid {
    grid-template-columns: 1fr;
  }

  .hy-home3-section--news .hy-post-grid {
    grid-template-columns: 1fr;
  }

  .hy-home3-section--news .hy-post-card,
  .hy-home3-section--news .hy-post-card + .hy-post-card {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--hy3-line);
  }
}

@media (max-width: 600px) {
  .hy-home3-section > .hy-container,
  .hy-home3-section > .hy-home3-wide,
  .hy-home3-connect__inner {
    width: min(100% - 32px, 100%);
  }

  .hy-home3-section {
    padding: 72px 0;
  }

  .hy-home3-hero {
    width: calc(100% - 32px);
    padding: 32px 0 56px;
    gap: 30px;
  }

  .hy-home3-hero__visual img {
    max-height: 560px;
  }

  .hy-home3-hero__lead {
    margin-top: 20px;
    line-height: 1.8;
  }

  .hy-home3-hero__actions,
  .hy-media-feature__actions {
    width: 100%;
  }

  .hy-home3-hero__actions .hy-button,
  .hy-media-feature__actions .hy-button {
    flex: 1 1 auto;
  }

  .hy-home3-section__head,
  .hy-home3-news-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hy-media-feature__visual,
  .hy-visual-card__visual {
    border-radius: 6px;
  }
}

/* ------------------------------------------------------------
   Theme 3 migrated inner pages
------------------------------------------------------------ */
.hy-theme3-surface:not(.home) {
  color: var(--hy3-ink);
  background: var(--hy3-paper);
}

.hy-theme3-surface:not(.home) .hy-header {
  background: rgba(251, 250, 247, .94);
  border-bottom-color: var(--hy3-line);
  backdrop-filter: blur(16px);
}

.hy-theme3-surface:not(.home) .hy-nav__list {
  gap: 20px;
}

.hy-theme3-surface:not(.home) .hy-nav__list a {
  min-height: 42px;
  padding: 0 2px;
  border-radius: 0;
  background: transparent !important;
  color: var(--hy3-ink);
  font-size: .86rem;
  font-weight: 650;
  border-bottom: 1px solid transparent;
}

.hy-theme3-surface:not(.home) .hy-nav__list a:hover,
.hy-theme3-surface:not(.home) .hy-nav__list .current-menu-item > a,
.hy-theme3-surface:not(.home) .hy-nav__list .current_page_item > a {
  color: var(--hy3-blue);
  border-bottom-color: currentColor;
  transform: none;
}

.hy-theme3-surface:not(.home) .hy-button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: none;
}

.hy-theme3-surface:not(.home) .hy-button--primary {
  color: #fff;
  background: var(--hy3-blue);
  box-shadow: none;
}

.hy-theme3-surface:not(.home) .hy-button--ghost,
.hy-theme3-surface:not(.home) .hy-button--soft {
  color: var(--hy3-ink);
  background: transparent;
  border: 1px solid rgba(32, 40, 51, .2);
  box-shadow: none;
}

.hy-theme3-surface:not(.home) .hy-text-link {
  color: var(--hy3-blue);
  font-weight: 700;
  border-bottom-width: 1px;
}

.hy-theme3-surface:not(.home) .hy-page-hero {
  padding: clamp(70px, 8vw, 118px) 0 54px;
  background: transparent;
  border-bottom: 1px solid var(--hy3-line);
}

.hy-theme3-surface:not(.home) .hy-page-hero .hy-container {
  width: min(var(--hy3-wide), calc(100% - 56px));
}

.hy-theme3-surface:not(.home) .hy-page-hero h1 {
  max-width: 12em;
  color: var(--hy3-ink);
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -.06em;
}

.hy-theme3-surface:not(.home) .hy-content-section {
  padding: 0;
  background: #fff;
}

.hy-theme3-surface:not(.home) .hy-content-layout {
  width: min(var(--hy3-wide), calc(100% - 56px));
  max-width: none;
  padding: clamp(72px, 8vw, 126px) 0;
  display: block;
}

.hy-theme3-surface:not(.home) .hy-content {
  max-width: none;
}

.hy-theme3-page--about .hy-page-shortcode--about {
  max-width: 1200px;
  margin: 0 auto;
}

.hy-theme3-surface:not(.home) .hy-page-shortcode__lead {
  max-width: 850px;
  margin: 0 0 clamp(72px, 9vw, 126px);
  color: var(--hy3-muted);
  font-size: 1.06rem;
  line-height: 2;
}

.hy-theme3-page--about .hy-about-profile {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-page--about .hy-about-profile__body h2,
.hy-theme3-page--about .hy-about-message h2 {
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(2.25rem, 4.2vw, 4.6rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hy-theme3-page--about .hy-about-profile__body > p:not(.hy-kicker) {
  margin: 24px 0 0;
  color: var(--hy3-muted);
  line-height: 2;
}

.hy-theme3-page--about .hy-about-profile__photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--hy3-radius);
  background: var(--hy3-paper-deep);
  box-shadow: none;
}

.hy-theme3-page--about .hy-about-profile__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.hy-theme3-page--about .hy-about-profile__photo figcaption {
  padding: 12px 0 0;
  color: var(--hy3-muted);
  background: transparent;
  font-size: .72rem;
  letter-spacing: .18em;
}

.hy-theme3-page--about .hy-about-profile__list {
  margin: 34px 0 0;
  border-top: 1px solid var(--hy3-line);
}

.hy-theme3-page--about .hy-about-profile__list > div {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hy3-line);
}

.hy-theme3-page--about .hy-about-profile__list dt {
  color: var(--hy3-muted);
  font-size: .8rem;
  font-weight: 650;
}

.hy-theme3-page--about .hy-about-profile__list dd {
  margin: 0;
}

.hy-theme3-page--about .hy-about-message {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
  margin: clamp(86px, 10vw, 144px) 0;
  padding: clamp(58px, 7vw, 92px) 0;
  background: transparent;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-page--about .hy-about-message > p {
  margin: 0;
  color: var(--hy3-muted);
  line-height: 2;
}

.hy-theme3-surface:not(.home) .hy-page-shortcode__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
}

.hy-theme3-surface:not(.home) .hy-page-shortcode__card {
  min-width: 0;
  padding: 34px 30px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-surface:not(.home) .hy-page-shortcode__card + .hy-page-shortcode__card {
  border-left: 1px solid var(--hy3-line);
}

.hy-theme3-surface:not(.home) .hy-page-shortcode__card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.45;
}

.hy-theme3-surface:not(.home) .hy-page-shortcode__card p {
  margin: 16px 0 0;
  color: var(--hy3-muted);
  line-height: 1.85;
}

.hy-theme3-page--about .hy-about-signature {
  margin: clamp(70px, 8vw, 110px) auto 0;
  max-width: 760px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hy-theme3-surface:not(.home) .hy-page-shortcode__actions {
  justify-content: center;
  margin-top: 46px;
}

@media (max-width: 920px) {
  .hy-theme3-surface:not(.home) .hy-nav {
    display: none;
  }

  .hy-theme3-surface:not(.home) .hy-menu-button {
    display: inline-block !important;
  }

  .hy-theme3-page--about .hy-about-profile,
  .hy-theme3-page--about .hy-about-message {
    grid-template-columns: 1fr;
  }

  .hy-theme3-page--about .hy-about-profile__visual {
    max-width: 620px;
  }

  .hy-theme3-surface:not(.home) .hy-page-shortcode__cards {
    grid-template-columns: 1fr;
  }

  .hy-theme3-surface:not(.home) .hy-page-shortcode__card + .hy-page-shortcode__card {
    border-left: 0;
    border-top: 1px solid var(--hy3-line);
  }
}

@media (max-width: 600px) {
  .hy-theme3-surface:not(.home) .hy-page-hero .hy-container,
  .hy-theme3-surface:not(.home) .hy-content-layout {
    width: calc(100% - 32px);
  }

  .hy-theme3-surface:not(.home) .hy-page-hero {
    padding: 52px 0 38px;
  }

  .hy-theme3-page--about .hy-about-profile__list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hy-theme3-surface:not(.home) .hy-page-shortcode__card {
    padding: 28px 0;
  }
}

/* ------------------------------------------------------------
   Games / structured information
------------------------------------------------------------ */
.hy-theme3-page--games .hy-game-page {
  max-width: 1200px;
  margin: 0 auto;
}

.hy-theme3-page--games .hy-game-section,
.hy-theme3-page--games .hy-game-benefits {
  margin-top: clamp(78px, 9vw, 132px);
}

.hy-theme3-page--games .hy-game-section__head,
.hy-theme3-page--games .hy-game-benefits__head {
  max-width: 850px;
  margin-bottom: 42px;
}

.hy-theme3-page--games .hy-game-section__head h2,
.hy-theme3-page--games .hy-game-benefits__head h2,
.hy-theme3-page--games .hy-game-member-cta h2 {
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hy-theme3-page--games .hy-game-section__head > p:last-child,
.hy-theme3-page--games .hy-game-benefits__head > p:last-child,
.hy-theme3-page--games .hy-game-member-cta p {
  color: var(--hy3-muted);
  line-height: 2;
}

.hy-theme3-page--games .hy-game-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
}

.hy-theme3-page--games .hy-game-card {
  min-width: 0;
  padding: 36px 32px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-page--games .hy-game-card + .hy-game-card {
  border-left: 1px solid var(--hy3-line);
}

.hy-theme3-page--games .hy-game-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.hy-theme3-page--games .hy-game-card__label,
.hy-theme3-page--games .hy-game-card__status {
  padding: 0;
  color: var(--hy3-muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .1em;
}

.hy-theme3-page--games .hy-game-card__label {
  color: var(--hy3-blue);
}

.hy-theme3-page--games .hy-game-card h3 {
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.3;
}

.hy-theme3-page--games .hy-game-card p {
  margin: 16px 0 0;
  color: var(--hy3-muted);
  line-height: 1.9;
}

.hy-theme3-page--games .hy-game-mini-grid {
  margin-top: 20px;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
}

.hy-theme3-page--games .hy-game-mini-grid .hy-game-card {
  padding-left: 0;
  padding-right: 0;
}

.hy-theme3-page--games .hy-game-benefits__table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--hy3-line);
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-page--games .hy-game-benefits__table {
  width: 100%;
  border-collapse: collapse;
}

.hy-theme3-page--games .hy-game-benefits__table th,
.hy-theme3-page--games .hy-game-benefits__table td {
  padding: 17px 16px;
  border-color: var(--hy3-line);
  line-height: 1.7;
}

.hy-theme3-page--games .hy-game-benefits__table thead th {
  color: var(--hy3-ink);
  background: var(--hy3-paper-deep);
  font-weight: 700;
}

.hy-theme3-page--games .hy-game-member-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-top: clamp(82px, 9vw, 132px);
  padding: clamp(54px, 6vw, 82px) 0;
  background: transparent;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-page--games .hy-game-member-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* ------------------------------------------------------------
   Members / plan presentation
------------------------------------------------------------ */
.hy-theme3-page--members .hy-content > .wp-block-paragraph:first-child {
  max-width: 850px;
  margin: 0 0 clamp(68px, 8vw, 108px);
  color: var(--hy3-muted);
  font-size: 1.06rem;
  line-height: 2;
}

.hy-theme3-page--members .hy-members-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
}

.hy-theme3-page--members .hy-members-plan {
  min-width: 0;
  padding: 38px 34px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.hy-theme3-page--members .hy-members-plan:nth-child(odd) {
  border-right: 1px solid var(--hy3-line) !important;
}

.hy-theme3-page--members .hy-members-plan:nth-child(-n+2) {
  border-bottom: 1px solid var(--hy3-line) !important;
}

.hy-theme3-page--members .hy-members-plan__badges {
  min-height: 24px;
  margin-bottom: 22px;
}

.hy-theme3-page--members .hy-members-plan__badge,
.hy-theme3-page--members .hy-members-plan__recommend-badge {
  padding: 0;
  color: var(--hy3-blue);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.hy-theme3-page--members .hy-members-plan__recommend-badge {
  margin-left: 12px;
  color: var(--hy3-red);
}

.hy-theme3-page--members .hy-members-plan h3 {
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  line-height: 1.3;
}

.hy-theme3-page--members .hy-members-price {
  margin: 20px 0 0;
  color: var(--hy3-ink);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 560;
  letter-spacing: -.04em;
}

.hy-theme3-page--members .hy-members-price small {
  color: var(--hy3-muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.hy-theme3-page--members .hy-members-plan__lead {
  color: var(--hy3-muted);
  line-height: 1.85;
}

.hy-theme3-page--members .hy-members-plan__items {
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--hy3-line);
}

.hy-theme3-page--members .hy-members-plan__items li {
  margin: 8px 0;
  color: var(--hy3-muted);
}

.hy-theme3-page--members .hy-members-plan__action {
  margin-top: 30px;
}

.hy-theme3-page--members .hy-members-button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--hy3-blue);
  border: 1px solid var(--hy3-blue);
  border-radius: 8px;
  box-shadow: none;
  font-weight: 700;
  text-decoration: none;
}

.hy-theme3-page--members .hy-members-button--soft,
.hy-theme3-page--members .hy-members-button--ghost {
  color: var(--hy3-ink);
  background: transparent;
  border-color: rgba(32, 40, 51, .2);
}

.hy-theme3-page--members .hy-members-box {
  margin-top: clamp(76px, 9vw, 128px);
  padding: clamp(48px, 6vw, 76px) 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-page--members .hy-members-box h2 {
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.hy-theme3-page--members .hy-members-box > p {
  max-width: 760px;
  color: var(--hy3-muted);
  line-height: 1.9;
}

.hy-theme3-page--members .hy-members-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 920px) {
  .hy-theme3-page--games .hy-game-feature-grid,
  .hy-theme3-page--games .hy-game-member-cta,
  .hy-theme3-page--members .hy-members-plans {
    grid-template-columns: 1fr;
  }

  .hy-theme3-page--games .hy-game-card + .hy-game-card {
    border-left: 0;
    border-top: 1px solid var(--hy3-line);
  }

  .hy-theme3-page--games .hy-game-member-cta__actions {
    justify-content: flex-start;
  }

  .hy-theme3-page--members .hy-members-plan:nth-child(odd),
  .hy-theme3-page--members .hy-members-plan:nth-child(-n+2) {
    border-right: 0 !important;
    border-bottom: 0 !important;
  }

  .hy-theme3-page--members .hy-members-plan + .hy-members-plan {
    border-top: 1px solid var(--hy3-line) !important;
  }
}

@media (max-width: 600px) {
  .hy-theme3-page--games .hy-game-card,
  .hy-theme3-page--members .hy-members-plan {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hy-theme3-page--games .hy-game-benefits__table {
    min-width: 760px;
  }
}

/* ------------------------------------------------------------
   Theme 3.4 / News, article and support surfaces
------------------------------------------------------------ */
.hy-theme3-listing .hy-content-section {
  padding: clamp(48px, 6vw, 86px) 0 clamp(88px, 10vw, 148px);
}

.hy-theme3-listing .hy-content-section > .hy-container {
  width: min(1180px, calc(100% - 48px));
}

.hy-theme3-listing .hy-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
}

.hy-theme3-listing .hy-post-card {
  min-width: 0;
  padding: 34px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-listing .hy-post-card:nth-child(even) {
  border-left: 1px solid var(--hy3-line);
}

.hy-theme3-listing .hy-post-card:nth-child(n+3) {
  border-top: 1px solid var(--hy3-line);
}

.hy-theme3-listing .hy-post-card__image {
  display: block;
  overflow: hidden;
  background: var(--hy3-paper-deep);
  border-radius: 10px;
}

.hy-theme3-listing .hy-post-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.hy-theme3-listing .hy-post-card__body {
  padding: 24px 0 0;
}

.hy-theme3-listing .hy-post-card__body time {
  color: var(--hy3-muted);
  font-size: .76rem;
  letter-spacing: .11em;
}

.hy-theme3-listing .hy-post-card__body h2,
.hy-theme3-listing .hy-post-card__body h3 {
  margin: 12px 0 0;
  color: var(--hy3-ink);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.hy-theme3-listing .hy-post-card__body h2 a,
.hy-theme3-listing .hy-post-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.hy-theme3-listing .hy-post-card__body p {
  margin: 16px 0 0;
  color: var(--hy3-muted);
  line-height: 1.85;
}

.hy-theme3-listing .hy-pagination {
  margin-top: 42px;
}

.hy-theme3-listing .hy-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.hy-theme3-listing .hy-pagination .page-numbers {
  min-width: 34px;
  padding: 8px 2px;
  color: var(--hy3-muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  text-align: center;
  text-decoration: none;
}

.hy-theme3-listing .hy-pagination .page-numbers.current,
.hy-theme3-listing .hy-pagination a.page-numbers:hover {
  color: var(--hy3-blue);
  border-bottom-color: currentColor;
}

.hy-theme3-listing .hy-content-section > .hy-container > p {
  margin: 0;
  padding: 44px 0;
  color: var(--hy3-muted);
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
}

.hy-theme3-page--article .hy-page-hero .hy-container {
  max-width: 980px;
}

.hy-theme3-page--article .hy-page-hero--post h1 {
  max-width: 920px;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
}

.hy-theme3-page--article .hy-post-meta {
  margin-top: 22px;
  color: var(--hy3-muted);
  font-size: .82rem;
}

.hy-theme3-page--article .hy-post-meta a {
  color: inherit;
}

.hy-theme3-page--article .hy-post-featured {
  width: min(1180px, calc(100% - 48px));
  margin-top: clamp(16px, 3vw, 42px);
}

.hy-theme3-page--article .hy-post-featured img {
  width: 100%;
  max-height: 720px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.hy-theme3-page--article .hy-content-layout {
  max-width: 820px;
}

.hy-theme3-page--article .hy-content {
  font-size: 1.02rem;
  line-height: 2;
}

.hy-theme3-page--article .hy-content > * + * {
  margin-top: 1.55em;
}

.hy-theme3-page--article .hy-content h2 {
  margin-top: 2.8em;
  padding-top: .8em;
  color: var(--hy3-ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -.025em;
  border-top: 1px solid var(--hy3-line);
}

.hy-theme3-page--article .hy-content h3 {
  margin-top: 2.2em;
  color: var(--hy3-ink);
  font-size: 1.35rem;
}

.hy-theme3-page--article .hy-content p,
.hy-theme3-page--article .hy-content li {
  color: var(--hy3-muted);
}

.hy-theme3-page--article .hy-content blockquote {
  margin-left: 0;
  padding: 8px 0 8px 24px;
  border-left: 2px solid var(--hy3-blue);
}

.hy-theme3-page--article .hy-post-tags {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--hy3-line);
}

.hy-theme3-page--article .hy-post-tags a {
  color: var(--hy3-muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hy-theme3-page--contact .hy-page-shortcode__contact-box {
  margin-top: clamp(56px, 7vw, 92px);
  padding: 36px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-page--contact .hy-page-shortcode__contact-box h3 {
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 560;
}

.hy-theme3-page--contact .hy-page-shortcode__contact-box p {
  margin: 14px 0 0;
  color: var(--hy3-muted);
}

.hy-theme3-page--contact .hy-page-shortcode__contact-box a {
  color: var(--hy3-blue);
  text-underline-offset: 4px;
}

.hy-theme3-page--ai-content .hy-page-shortcode__cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hy-theme3-page--ai-content .hy-page-shortcode__card + .hy-page-shortcode__card {
  border-left: 0;
}

.hy-theme3-page--ai-content .hy-page-shortcode__card:nth-child(even) {
  border-left: 1px solid var(--hy3-line);
}

.hy-theme3-page--ai-content .hy-page-shortcode__card:nth-child(n+3) {
  border-top: 1px solid var(--hy3-line);
}

.hy-theme3-page--legal .hy-content-layout,
.hy-theme3-page--privacy-policy .hy-content-layout {
  max-width: 900px;
}

.hy-theme3-page--legal .hy-content,
.hy-theme3-page--privacy-policy .hy-content {
  color: var(--hy3-muted);
  font-size: 1rem;
  line-height: 2;
}

.hy-theme3-page--legal .hy-content > p {
  margin: 0;
  line-height: 2.15;
}

.hy-theme3-page--privacy-policy .hy-content h2 {
  margin: 0 0 40px;
  color: var(--hy3-ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 560;
  line-height: 1.3;
}

.hy-theme3-page--privacy-policy .hy-content h3 {
  margin: 52px 0 16px;
  padding-top: 22px;
  color: var(--hy3-ink);
  font-size: 1.28rem;
  font-weight: 650;
  border-top: 1px solid var(--hy3-line);
}

.hy-theme3-page--privacy-policy .hy-content p,
.hy-theme3-page--privacy-policy .hy-content li {
  color: var(--hy3-muted);
}

.hy-theme3-page--privacy-policy .hy-content ul {
  padding-left: 1.4em;
}

.hy-theme3-surface:not(.home) .hy-mini-cta {
  padding: clamp(56px, 7vw, 88px) 0;
  background: var(--hy3-paper-deep);
  border-top: 1px solid var(--hy3-line);
}

.hy-theme3-surface:not(.home) .hy-mini-cta .hy-container {
  width: min(1180px, calc(100% - 48px));
}

.hy-theme3-surface:not(.home) .hy-mini-cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.hy-theme3-surface:not(.home) .hy-mini-cta .hy-inline-actions {
  margin-top: 30px;
}

@media (max-width: 920px) {
  .hy-theme3-listing .hy-post-grid,
  .hy-theme3-page--ai-content .hy-page-shortcode__cards {
    grid-template-columns: 1fr;
  }

  .hy-theme3-listing .hy-post-card:nth-child(even) {
    border-left: 0;
  }

  .hy-theme3-listing .hy-post-card + .hy-post-card {
    border-top: 1px solid var(--hy3-line);
  }

  .hy-theme3-page--ai-content .hy-page-shortcode__card:nth-child(even) {
    border-left: 0;
  }

  .hy-theme3-page--ai-content .hy-page-shortcode__card:nth-child(n+2) {
    border-top: 1px solid var(--hy3-line);
  }
}

@media (max-width: 600px) {
  .hy-theme3-listing .hy-content-section > .hy-container,
  .hy-theme3-page--article .hy-post-featured,
  .hy-theme3-surface:not(.home) .hy-mini-cta .hy-container {
    width: calc(100% - 32px);
  }

  .hy-theme3-listing .hy-post-card {
    padding: 28px 0;
  }

  .hy-theme3-page--article .hy-page-hero--post h1 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }
}

/* ------------------------------------------------------------
   Theme 3.5 / Utility surfaces
   Search and archive reuse the shared .hy-theme3-listing layer above.
------------------------------------------------------------ */
.hy-theme3-page--404 .hy-error-page {
  padding: clamp(78px, 10vw, 148px) 0 clamp(96px, 12vw, 168px);
  background: #fff;
}

.hy-theme3-page--404 .hy-error-page__inner {
  width: min(1120px, calc(100% - 56px));
  text-align: left;
}

.hy-theme3-page--404 .hy-error-page .hy-kicker {
  margin: 0 0 18px;
  color: var(--hy3-blue);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hy-theme3-page--404 .hy-error-page h1 {
  max-width: 9em;
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -.06em;
}

.hy-theme3-page--404 .hy-error-page__inner > p:not(.hy-kicker) {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--hy3-muted);
  line-height: 2;
}

.hy-theme3-page--404 .hy-error-actions {
  justify-content: flex-start;
  margin-top: 36px;
}

.hy-theme3-page--404 .hy-error-card {
  max-width: 760px;
  margin: clamp(62px, 8vw, 104px) 0 0;
  padding: 34px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hy3-line);
  border-bottom: 1px solid var(--hy3-line);
  border-radius: 0;
  box-shadow: none;
}

.hy-theme3-page--404 .hy-error-card h2 {
  margin: 0;
  color: var(--hy3-ink);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-weight: 560;
}

.hy-theme3-page--404 .hy-error-card p {
  margin: 14px 0 0;
  color: var(--hy3-muted);
  line-height: 1.8;
}

.hy-theme3-page--404 .hy-error-card__actions {
  margin-top: 20px;
}

@media (max-width: 600px) {
  .hy-theme3-page--404 .hy-error-page__inner {
    width: calc(100% - 32px);
  }

  .hy-theme3-page--404 .hy-error-page {
    padding: 62px 0 92px;
  }

  .hy-theme3-page--404 .hy-error-page h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }
}
