.hub { display: flex; flex-direction: column; gap: 22px; max-width: 1360px; }
.brand-stack { display: flex; flex-direction: column; line-height: 1; }
.brand-sub { font-size: 12px; font-weight: 800; color: var(--ink-soft); margin-top: 3px; }

.search {
  flex: 1 1 240px; max-width: 420px; display: flex; align-items: center; gap: 8px;
  min-height: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px;
}
.search input { flex-grow: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 700 15px var(--body); color: var(--ink); }
.search:focus-within { outline: 3px solid #8C7BFF; outline-offset: 2px; }

.mode-switch { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.mode-switch button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; font-weight: 800; font-size: 14px; cursor: pointer; }
.mode-switch button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

.break-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--ink); color: #FFFFFF; border-radius: 20px; padding: 10px 12px 10px 18px; font-weight: 800;
}
.break-banner.done { background: #FFE49A; color: var(--ink); }
.break-banner[hidden] { display: none; }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 13px; border-radius: 14px; }

.today { display: flex; flex-wrap: wrap; gap: 16px; }
.hero {
  flex: 999 1 640px; min-width: 0; position: relative; overflow: hidden;
  border-radius: 36px; background: #FFE3EE; padding: 32px 36px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.hero .blob { position: absolute; border-radius: 50%; }
.blob.y { right: 6%; top: 12%; width: 110px; height: 76px; background: #FFC94D; }
.blob.p { right: 24%; bottom: 10%; width: 80px; height: 56px; background: #8C7BFF; opacity: .85; }
.blob.g { right: 32%; top: 8%; width: 46px; height: 32px; background: #7FE0B5; }
.hero-bloop { position: absolute; right: 9%; bottom: 14%; width: 130px; }
.hero-tag { position: relative; width: fit-content; background: #FFFFFF; border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; color: #A3275A; }
.hero h1 { position: relative; font-weight: 700; font-size: clamp(32px, 5vw, 52px); line-height: 1.04; max-width: 560px; }
.hero p { position: relative; margin: 0; font-size: 18px; color: #4A3550; max-width: 520px; }
.hero-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-play { padding: 0 26px; text-decoration: none; }
.hero-actions .btn { min-height: 60px; border-radius: 20px; border: 0; }

.side-card {
  flex: 1 1 320px; border-radius: 32px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px;
  background: #E4FAF2;
}
.side-card[hidden] { display: none; }
.side-card.dark { background: var(--ink); color: #FFFFFF; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow.green { color: #0B6B4C; } .eyebrow.sun { color: #FFE49A; } .eyebrow.purple { color: #3F2FB3; } .eyebrow.brown { color: #7A5A2A; }
.side-title { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; }
.bar { height: 14px; border-radius: 999px; background: #FFFFFF; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: #2BB673; transition: width .6s ease; }
.small-note { font-size: 13px; font-weight: 800; color: #355E52; line-height: 1.45; }
.small-note.light { color: #C9D2EE; }
.break-row { display: flex; gap: 8px; }
.break-btn { flex: 1 1 0; min-height: 52px; border-radius: 16px; border: 0; background: #2E3B6E; color: #FFFFFF; font-weight: 800; font-size: 16px; cursor: pointer; }
.break-btn:hover, .break-btn.on { background: #FFE49A; color: var(--ink); }

.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); font-weight: 800; font-size: 14px; cursor: pointer; }
.cat[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }

.games-section { display: flex; flex-direction: column; gap: 14px; }
.grid-head { display: flex; align-items: baseline; gap: 10px; }
.grid-head h2 { font-weight: 700; font-size: 30px; }
.grid-count { font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.empty { margin: 0; color: var(--ink-soft); }

.card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 4px 0 var(--line); transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 12px 0 #DCEAF5; color: var(--ink); }
.card.soon { opacity: .8; }
.card-art { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-art .b1 { position: absolute; right: -24px; bottom: -30px; width: 130px; height: 100px; border-radius: 50%; opacity: .55; }
.card-art .b2 { position: absolute; left: -20px; top: 40px; width: 80px; height: 60px; border-radius: 50%; }
.card-art svg { position: relative; width: 64px; height: 64px; transition: transform .25s ease; }
a.card:hover .card-art svg { transform: scale(1.12) rotate(-6deg); }
.tag { position: absolute; top: 12px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.tag.l { left: 12px; } .tag.r { right: 12px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-name { font-family: var(--display); font-weight: 600; font-size: 21px; }
.card-blurb { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.card-skill { font-size: 12px; font-weight: 800; color: #0E6F69; }
.card.soon .card-skill { color: var(--ink-soft); }

.extras { display: flex; flex-wrap: wrap; gap: 16px; }
.extra { flex: 1 1 320px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; line-height: 1.45; }
.extra[hidden] { display: none; }
.extra.lilac { background: #E9E5FF; border-color: #E9E5FF; color: #2E2858; }
.extra.sand { background: #FFF8EC; border-color: #FFF8EC; color: #4B3A18; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-soft); padding-top: 8px; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .hero { padding: 24px 20px; min-height: 0; }
  .hero-bloop { width: 80px; right: 4%; bottom: auto; top: 14px; opacity: .9; }
  .blob { display: none; }
  .hero h1 { padding-right: 70px; }
}
