/* Hub (v2): Ehu's garden. A big Ehu and one Continue card on top, then a shelf of painted game tiles
   ("many games, one brand", PRD §8). */
.ehu-steps { visibility: hidden; }
.hub { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 4px 4px 28px; -webkit-overflow-scrolling: touch; }
.hub-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 6px 16px; max-width: 1040px; margin: 0 auto 18px; }
.hub-ehu { width: clamp(130px, 30vw, 240px); aspect-ratio: 1; align-self: end; }
.hub-ehu img, .hub-ehu svg { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; animation: ehu-breathe 3.2s ease-in-out infinite; filter: drop-shadow(0 8px 0 rgba(58, 39, 23, .12)); }
.hub-side { display: grid; gap: 12px; justify-items: start; padding-bottom: 6px; min-width: 0; }
.hub-say { position: relative; padding: 12px 20px; border-radius: 26px 26px 26px 8px; background: var(--paper); box-shadow: var(--shadow-soft); font-family: var(--display); font-weight: 800; font-size: clamp(24px, 5.4vw, 40px); line-height: 1.05; }
.hub-go { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: min(100%, 520px); padding: 10px 14px 10px 10px; border-radius: 30px; background: var(--leaf); color: #fff; box-shadow: 0 7px 0 var(--leaf-dark), 0 16px 30px rgba(47, 138, 44, .28); text-align: left; transition: transform .1s ease, box-shadow .1s ease; }
.hub-go:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--leaf-dark); }
.hub-go .thumb { width: clamp(72px, 18vw, 96px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 4px solid rgba(255, 255, 255, .9); }
.hub-go .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-go .lbl { display: grid; gap: 2px; min-width: 0; font-family: var(--display); font-weight: 800; line-height: 1.05; }
.hub-go .lbl small { font-size: clamp(15px, 3.4vw, 18px); opacity: .9; }
.hub-go .lbl b { font-size: clamp(22px, 5vw, 32px); }
.hub-go .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.hub-go .play svg { width: 34px; height: 34px; }
.hub-shelf { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 760px) { .hub-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hub-shelf { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.hub-shelf li { display: grid; }
.hub-card { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); text-align: left; transition: transform .14s ease; }
.hub-card:active { transform: translateY(4px) scale(.98); }
.hub-card .cov { aspect-ratio: 1; overflow: hidden; background: var(--sky); }
.hub-card .cov img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.hub-card:hover .cov img { transform: scale(1.04); }
.hub-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px 12px; }
.hub-name { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 3.8vw, 23px); line-height: 1.08; min-width: 0; }
.hub-stars { display: flex; align-items: center; gap: 3px; flex: none; font-family: var(--display); font-size: 17px; color: var(--ink-soft); }
.hub-stars svg { width: 22px; height: 22px; }
.hub-note { max-width: 1040px; margin: 20px auto 0; padding: 10px 16px; border-radius: 18px; background: var(--glass); text-align: center; font-size: 14px; font-weight: 700; color: var(--ink-soft); width: max-content; max-width: 100%; }
@media (max-width: 520px) {
  .hub-hero { grid-template-columns: 120px minmax(0, 1fr); }
  .hub-go { grid-column: 1 / -1; width: 100%; }
}
