/* Play hub layout. Tokens and components come from oou.css. */
body { background: var(--oou-bg); }
.top { position: sticky; top: 0; z-index: 20; padding: .6rem 0; background: rgba(253,248,236,.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(234,223,200,.7); }
.top .oou-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top__logo img { display: block; height: auto; }
.langs { display: flex; gap: .25rem; flex-wrap: wrap; }
.langs a { padding: .3rem .6rem; border-radius: 999px; font-weight: 800; font-size: .85rem; text-decoration: none; color: var(--oou-teal-900); }
.langs a[aria-current="page"] { background: var(--oou-teal-900); color: #fff; }
.langs a:hover { background: var(--oou-teal-100); }
.langs a[aria-current="page"]:hover { background: var(--oou-teal-900); }
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) 1rem; max-width: 52rem; }
.hero h1 { margin-block: .5rem 1rem; }
.safe { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.safe li { padding: .35rem .8rem; border-radius: 999px; background: var(--oou-teal-100); color: var(--oou-teal-900); font-weight: 700; font-size: .9rem; }
h2 { margin-top: 2.5rem; }
.games { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.game { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; height: 100%; padding: 1.1rem; border-radius: 1.25rem; background: #fff; border: 2px solid var(--oou-line, #eadfc8); text-decoration: none; color: var(--oou-ink); box-shadow: var(--oou-shadow-sm); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.game:hover, .game:focus-visible { transform: translateY(-3px); border-color: var(--oou-coral-500); box-shadow: var(--oou-shadow); }
.game__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--oou-coral-100); color: var(--oou-coral-500); }
.game[data-tint="teal"] .game__icon { background: var(--oou-teal-100); color: var(--oou-teal-700); }
.game[data-tint="sun"] .game__icon { background: var(--oou-sun-100); color: #9a6a00; }
.game[data-tint="sky"] .game__icon { background: var(--oou-sky-100); color: #2c6b94; }
.game__icon svg { width: 1.6rem; height: 1.6rem; }
.game__body { display: grid; gap: .25rem; }
.game__body strong { font-family: var(--oou-font-display); font-size: 1.2rem; color: var(--oou-teal-900); }
.game__body small { color: var(--oou-muted); font-weight: 700; }
.game__go { grid-column: 1 / -1; justify-self: start; padding: .4rem 1rem; border-radius: 999px; background: var(--oou-teal-900); color: #fff; font-weight: 800; font-size: .9rem; }
.parents { max-width: 46rem; padding-bottom: 2rem; }
.parents p { line-height: 1.7; }
.foot { margin-top: 3rem; padding: 2rem 0 2.5rem; background: var(--oou-teal-50); border-top: 1px solid var(--oou-line, #eadfc8); }
.foot .oou-wrap { display: grid; gap: 1rem; }
.foot ul { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot a { color: var(--oou-teal-900); font-weight: 700; }
.foot p { margin: 0; color: var(--oou-muted); font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .game { transition: none; } .game:hover { transform: none; } }
