@property --top { syntax: "<color>"; inherits: true; initial-value: #1C6AD6; }
@property --bot { syntax: "<color>"; inherits: true; initial-value: #73B6F5; }

.home { flex: 1; width: min(100% - 32px, 1180px); margin: 0 auto; padding: 8px 0 0; }

/* ---------- Hero: what this is, one button, your streak ---------- */
.hero { padding: 40px 0 44px; }
.kicker { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.hero h1 { margin: 0; font-size: clamp(46px, 5.6vw, 84px); font-weight: 800; line-height: 0.95; letter-spacing: -0.055em; }
.hero h1 span { color: #FF5A1F; }
.lede { max-width: 44ch; margin: 20px 0 28px; font-size: 19px; font-weight: 500; line-height: 1.45; color: var(--ink-2); }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-actions .pill { min-height: 56px; padding: 0 30px; font-size: 17px; }
.text-link { color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.today { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.today li { display: flex; align-items: center; padding: 0; font-size: 14px; font-weight: 550; color: var(--ink-2); white-space: nowrap; }
.today b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.today .flame { display: grid; place-items: center; width: 16px; height: 16px; margin: 0 6px 0 0; color: #FF5A1F; }
.today .flame svg { width: 16px; height: 16px; }
.today .streak.hot { color: var(--ink); }
.today .streak.hot .flame { color: #FF5A1F; }

.games-head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 2px 4px; }
.games-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.games-head p { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- The four games: one shape, four worlds ---------- */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 460px;
  border-radius: 32px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  transition: transform 420ms var(--spring), box-shadow 320ms var(--ease);
}
.card { box-shadow: 0 1px 2px rgba(10, 10, 11, 0.06), 0 18px 40px -28px rgba(10, 10, 11, 0.45); }
.card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(10, 10, 11, 0.06), 0 34px 60px -30px rgba(10, 10, 11, 0.55); }
.card:focus-visible { outline-offset: 4px; border-radius: 32px; }
.card .art { position: relative; flex: 1; overflow: hidden; }
.card-body { position: relative; z-index: 2; padding: 22px 26px 26px; }
.card-head { display: flex; align-items: center; gap: 12px; }
.card h3 { margin: 0; font-size: 44px; font-weight: 800; line-height: 0.95; letter-spacing: -0.06em; }
.card-body p { margin: 12px 0 18px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .pill { min-height: 48px; padding: 0 28px; font-size: 16px; pointer-events: none; }
.card:hover .pill { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 4px rgba(10, 10, 11, 0.12), 0 16px 30px -14px rgba(10, 10, 11, 0.5); }
.status { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; text-align: right; }
.status.done { opacity: 1; }
.status.done::before { content: "✓ Played · "; }

/* higher: the sky moves through the zones while the climber climbs */
.higher-card { color: #FFFFFF; background: linear-gradient(to bottom, var(--top) 0%, var(--top) 25%, var(--bot) 100%); transition: --top 1400ms ease, --bot 1400ms ease, transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease; }
.higher-card .card-body { background: linear-gradient(to bottom, transparent, rgba(5, 15, 40, 0.18)); }
.higher-card .card-body p { opacity: 0.9; }
.t-stars, .t-clouds { position: absolute; inset: 0; transition: opacity 1200ms ease; }
.t-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #FFFFFF; }
.t-stars { opacity: 0; }
.higher-card[data-space] .t-stars { opacity: 0.9; }
.higher-card[data-space] .t-clouds { opacity: 0; }
.tc { position: absolute; height: auto; fill: #FFFFFF; }
.tc.a { --to: -420%; width: 46%; left: 100%; top: 62%; opacity: 0.95; }
.tc.b { --to: -520%; width: 32%; left: 100%; top: 34%; opacity: 0.6; }
.tc.c { --to: -680%; width: 22%; left: 100%; top: 14%; opacity: 0.4; }
.t-trail { position: absolute; top: 20%; left: 100%; width: 160px; height: 3px; border-radius: 3px; background: linear-gradient(to right, #FFFFFF 0 4px, rgba(255, 255, 255, 0.6) 5px, rgba(255, 255, 255, 0)); opacity: 0; }
.higher-card[data-space] .t-trail { display: none; }
.t-ladder {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 76px;
  margin-left: -38px;
  background: linear-gradient(to right, transparent 12px, #FFFFFF 12px 17px, transparent 17px 59px, #FFFFFF 59px 64px, transparent 64px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.t-ladder::before { content: ""; position: absolute; top: 0; bottom: 0; left: 17px; right: 17px; background: repeating-linear-gradient(to bottom, transparent 0 40px, #FFFFFF 40px 44px); background-position-y: var(--rungs, 0px); }
.t-rig { position: absolute; inset: 0; color: #FF5A1F; pointer-events: none; filter: drop-shadow(0 8px 12px rgba(5, 25, 60, 0.3)); }
.t-rig svg { position: absolute; inset: 0; overflow: visible; }
.t-rig .limb { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.t-rig .arm { stroke-width: var(--arm, 9px); }
.t-rig .leg { stroke-width: var(--leg, 11px); }
.t-rig .torso { stroke: currentColor; stroke-width: var(--body, 18px); stroke-linecap: round; }
.t-rig .head { fill: currentColor; }
.t-read { position: absolute; left: 24px; top: 22px; text-shadow: 0 2px 14px rgba(0, 20, 60, 0.35); }
.t-alt { margin: 0; display: flex; align-items: baseline; gap: 5px; font-size: 40px; font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.t-alt small { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; opacity: 0.85; }
.t-zone { margin: 6px 0 0; font-size: 14px; font-weight: 700; }

/* price: the counter, the flag, the burger and its tag */
.price-card { color: #FFFFFF; background: radial-gradient(80% 60% at 45% 35%, rgba(184, 242, 216, 0.22), transparent 70%), #0B6B4F; }
.price-card .card-body p { opacity: 0.88; }
.price-card .pill.white { --edge: #8CCFB0; color: #0B6B4F; }
.p-where { position: absolute; left: 24px; top: 22px; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.p-where img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85); }
.p-item { position: absolute; z-index: 1; left: 32%; bottom: 10%; width: 36%; transform: translateX(-50%); }
.p-item svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.2)); }
.p-string { position: absolute; top: 16%; left: 84%; width: 24%; height: 2px; background: rgba(255, 255, 255, 0.85); transform-origin: left center; transform: rotate(24deg); }
.p-tag { position: absolute; top: 18%; left: 104%; display: flex; flex-direction: column; min-width: 116px; padding: 10px 14px 10px 26px; background: #FFFFFF; color: #0B6B4F; clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%); border-radius: 5px; transform: rotate(-7deg); transform-origin: 0% 50%; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.25)); transition: background-color 300ms ease; }
.p-tag i { position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #0B6B4F; }
.p-tag span, .p-tag small { font-size: 11px; font-weight: 700; color: #4F8A74; white-space: nowrap; }
.p-tag b { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.p-tag.real { background: #B8F2D8; }

/* window: the cabin wall, one window, the wing outside */
.window-card { color: var(--ink); background: linear-gradient(to bottom, #F3EEE6, #ECE5DA); }
.window-card .card-body p { color: #4A4640; }
.window-card .pill.red { --edge: #A92C1E; background: #E0412F; color: #FFFFFF; }
.w-art { display: grid; place-items: center; }
.w-surround { display: grid; place-items: center; width: min(66%, 250px); aspect-ratio: 0.78; margin-top: 18px; border-radius: 44% / 32%; background: #F8F4EE; box-shadow: inset 0 12px 26px rgba(70, 55, 35, 0.16), 0 1px 0 #FFFFFF; }
.w-win { width: 84%; height: 88%; padding: 6px; border-radius: 42% / 30%; background: #D6CDBF; box-shadow: inset 0 5px 12px rgba(40, 30, 15, 0.35); }
.w-pane { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 40% / 28%; background: #0E2A45; }
.w-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 22%; }
.w-pane .w-wing { inset: auto 0 0 auto; width: 80%; height: auto; }
.w-glare { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 38%, transparent 46%); }

/* sort: five cards sliding into order on the yellow */
.sort-card { color: var(--ink); background: radial-gradient(70% 60% at 50% 40%, rgba(255, 255, 255, 0.35), transparent 70%), #FFC72C; }
.sort-card .card-body p { opacity: 0.8; }
.sort-card .pill.black { --edge: #000000; }
.s-art { display: flex; flex-direction: column; justify-content: center; padding: 20px 40px 0; }
.s-label { margin: 0 0 8px; font-size: 13px; font-weight: 800; opacity: 0.6; }
.s-board { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.s-board li { position: relative; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 40px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 3px 0 #E5A800; transition: transform 600ms cubic-bezier(.2,.8,.2,1), background-color 300ms ease, box-shadow 300ms ease; }
.s-board i { position: absolute; left: 10px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: rgba(10, 10, 11, 0.12); transition: background-color 300ms ease; }
.s-board b { flex: 1; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-board span { font-size: 13px; font-weight: 700; color: var(--ink-2); opacity: 0; transition: opacity 300ms ease; }
.s-board.solved i { background: #16A34A; }
.s-board.solved span { opacity: 1; }

/* ---------- Footer ---------- */
.site-foot { width: min(100% - 32px, 1180px); margin: 72px auto 0; padding: 24px 0 32px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-row nav a { color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.foot-row nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.credits { margin: 0; max-width: 70ch; font-size: 12px; color: var(--ink-2); text-align: right; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tc.a { animation: pass 26s linear infinite; animation-delay: -6s; }
  .tc.b { animation: pass 38s linear infinite; animation-delay: -20s; }
  .tc.c { animation: pass 54s linear infinite; animation-delay: -30s; }
  .t-trail { animation: jet 14s linear infinite 2s; }
  .w-pane img:first-child { animation: wfly 30s ease-in-out infinite alternate; }
  .p-tag { animation: sway 4s ease-in-out infinite; }
  .hero > *, .card { animation: rise 700ms cubic-bezier(.2,.8,.2,1) both; }
  .hero > :nth-child(2) { animation-delay: 60ms; }
  .hero > :nth-child(3) { animation-delay: 120ms; }
  .hero > :nth-child(n+4) { animation-delay: 180ms; }
  .card:nth-child(2) { animation-delay: 200ms; }
  .card:nth-child(3) { animation-delay: 270ms; }
  .card:nth-child(4) { animation-delay: 340ms; }
}
@keyframes pass { from { transform: translateX(0); } to { transform: translateX(var(--to, -400%)); } }
@keyframes jet { 0% { opacity: 0; transform: translateX(0); } 4% { opacity: 1; } 40% { opacity: 1; transform: translateX(-120vw); } 41%, 100% { opacity: 0; transform: translateX(-120vw); } }
@keyframes wfly { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes sway { 50% { transform: rotate(-3deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Smaller screens ---------- */
@media (max-width: 680px) {
  .home { width: min(100% - 24px, 1240px); }
  .hero { padding: 20px 4px 28px; }
  .lede { font-size: 17px; margin: 18px 0 22px; }
  .games { grid-template-columns: 1fr; }
  .card { height: 440px; border-radius: 28px; }
  .site-foot { margin-top: 64px; }
  .credits { text-align: left; }
}

/* ---------- Nudge: a game you haven't played today ---------- */
.nudge {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  width: min(370px, calc(100% - 24px));
  padding: 16px 16px 16px 14px;
  border-radius: 26px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgba(10, 10, 11, 0.4);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 320ms ease, transform 620ms var(--spring);
}
.nudge.show { opacity: 1; transform: none; pointer-events: auto; }
.nudge-icon .nav-i { width: 48px; height: 48px; border-radius: 14px; }
.nudge-icon .nav-i:is(.house, .help) svg { width: 24px; height: 24px; }
.nudge-text { min-width: 0; padding-right: 26px; }
.nudge-k { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.nudge-t { margin: 2px 0 0; font-size: 17px; font-weight: 750; line-height: 1.2; letter-spacing: -0.025em; }
.nudge-d { margin: 4px 0 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.nudge .pill { grid-column: 2; justify-self: start; min-height: 46px; margin-top: 10px; padding: 0 24px; }
.nudge-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
.nudge-x:hover { background: var(--soft); color: var(--ink); }
.nudge-x svg { width: 15px; height: 15px; }
@media (max-width: 680px) {
  .nudge { right: 12px; bottom: 12px; left: 12px; width: auto; }
}

/* ---------- One set: the same label, button and flat field on every card ---------- */
.card .tag { position: absolute; left: 20px; top: 20px; z-index: 3; display: flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; text-shadow: none; opacity: 1; }
.higher-card .tag { color: #1C4FA8; }
.price-card .tag { color: #0B6B4F; }
.window-card .tag { color: #C0321F; }
.t-read.tag { flex-direction: row; align-items: baseline; gap: 6px; }
.t-read.tag .t-alt { gap: 3px; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.t-read.tag .t-alt small { font-size: 14px; opacity: 1; }
.t-read.tag .t-zone { margin: 0; font-size: 14px; }
.t-read.tag .t-zone::before { content: "· "; }
.p-where.tag img { width: 20px; height: 20px; margin-left: -6px; box-shadow: none; }

.higher-card { background: var(--top); }
.higher-card .card-body { background: none; }
.price-card { background: #0B6B4F; }
.window-card { color: #FFFFFF; background: #E0412F; }
.window-card .card-body p { color: #FFFFFF; opacity: 0.92; }
.w-surround { background: #F3EEE6; box-shadow: inset 0 12px 26px rgba(70, 55, 35, 0.22); }
.sort-card { background: #FFC72C; }
.s-art { padding: 58px 48px 6px; }
.s-board li { height: 36px; }
.card .pill.white { --edge: rgba(10, 10, 11, 0.18); background: #FFFFFF; }
.higher-card .pill.white { color: #1C4FA8; }
.window-card .pill.white { color: #C0321F; }
.sort-card .pill.white { color: var(--ink); --edge: #E5A800; }

/* ---------- The top: headline left, the way in on the right ---------- */
@media (min-width: 1061px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 56px; align-items: end; padding: 36px 0 44px; }
  .hero h1 { font-size: min(78px, 5.3vw); white-space: nowrap; }
  .hero .kicker { grid-column: 1 / -1; }
  .hero-side .lede { margin-top: 0; font-size: 17px; max-width: 36ch; }
}
@media (max-width: 680px) {
  .s-art { padding: 60px 24px 4px; }
  .s-board { gap: 4px; }
  .s-board li { height: 30px; }
  .s-board b { font-size: 14px; }
}

/* ---------- Buttons: flat, bold, obvious ---------- */
.home .pill, .nudge .pill { box-shadow: none; font-weight: 700; transition: transform 160ms cubic-bezier(.2,.8,.2,1), background-color 160ms ease, opacity 160ms ease; }
.home .pill:hover, .nudge .pill:hover { transform: translateY(-2px); box-shadow: none; }
.home .pill:active, .nudge .pill:active { transform: scale(0.97); box-shadow: none; }
.card:hover .pill { transform: scale(1.05); box-shadow: none; }
.card .pill { gap: 8px; min-height: 50px; padding: 0 26px 0 22px; font-size: 17px; }
.play-i { width: 14px; height: 14px; }
#playNext { gap: 10px; min-height: 58px; padding: 0 30px; font-size: 18px; }
#playNext::after { content: "→"; font-weight: 700; transition: transform 160ms ease; }
#playNext:hover::after { transform: translateX(3px); }
.status:empty { display: none; }
/* The sidebar already has How to play */
@media (min-width: 1180px) { .hero-actions .text-link { display: none; } }
@media (max-width: 680px) {
  .hero-actions { gap: 16px; }
  #playNext { padding: 0 22px; font-size: 17px; }
}

/* lock: a steel padlock whose dials roll to the code and spring open, beside a few coloured tries */
.lock-card { color: #FFFFFF; background: #0E7C74; }
.lock-card .tag { background: #FACC15; color: #3A2A00; }
.lock-card .pill.white { color: #0E7C74; --edge: #0A5F59; }
.l-art { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 18px; }
.l-lock { position: relative; display: flex; flex-direction: column; align-items: center; width: 200px; }
.l-shackle { width: 58%; aspect-ratio: 1 / 0.8; margin-bottom: -16%; border: 18px solid #C3CED8; border-bottom: 0; border-radius: 999px 999px 0 0; transition: transform 480ms cubic-bezier(.2,.9,.3,1.4); transform-origin: 85% 100%; }
.l-lock.open .l-shackle { transform: translateY(-24%) rotate(-14deg); }
.l-body { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; padding: 22px 14px 26px; border-radius: 22px; background: linear-gradient(to bottom, #F1F5F8 0 80%, #D5DEE5 80%); }
.l-body span { display: grid; place-items: center; height: 58px; overflow: hidden; border-radius: 10px; background: #14211F; transition: background-color 300ms ease; }
.l-lock.open .l-body span { background: #22C55E; }
.l-body b { color: #FFFFFF; font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; transition: transform 180ms ease, opacity 180ms ease; }
.l-body b.roll { transform: translateY(-40%); opacity: 0; }
.l-tries { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.l-tries li { display: flex; gap: 6px; }
.l-tries b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: #FFFFFF; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.l-tries .ok { background: #22C55E; }
.l-tries .near { background: #FACC15; color: #3A2A00; }
.l-tries .no { background: #33413F; }
@media (max-width: 680px) {
  .l-art { gap: 18px; }
  .l-lock { width: 168px; }
  .l-shackle { border-width: 14px; }
  .l-body { gap: 4px; padding: 16px 10px 20px; }
  .l-body span { height: 44px; }
  .l-body b { font-size: 24px; }
  .l-tries { gap: 4px; }
  .l-tries li { gap: 4px; }
  .l-tries b { width: 28px; height: 28px; border-radius: 7px; font-size: 15px; }
}

/* one star: a mystery listing whose terrible reviews keep changing */
.os-card { color: #FFFFFF; background: #6C4CF1; }
.os-card .tag { background: #FFC72C; color: #3A2A00; }
.os-card .pill.white { color: #6C4CF1; --edge: #4F33C9; }
.os-art { display: flex; align-items: center; justify-content: center; padding: 20px 26px 0; }
.os-mini { display: grid; gap: 10px; width: min(100%, 340px); }
.os-listing, .os-review { padding: 12px 14px; border-radius: 18px; background: #FFFFFF; color: #17112B; }
.os-listing { display: flex; align-items: center; gap: 12px; }
.os-q { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #F0ECFF; color: #6C4CF1; font-size: 22px; font-weight: 800; }
.os-what { display: flex; flex-direction: column; gap: 2px; }
.os-what b { font-size: 20px; letter-spacing: -0.03em; }
.os-stars { display: inline-flex; gap: 1px; }
.os-stars i { display: grid; width: 14px; height: 14px; color: #DCD8E8; }
.os-stars i.on { color: #FFC72C; }
.os-stars svg { width: 100%; height: 100%; }
.os-review { box-shadow: 0 0 0 3px #FFC72C; transition: opacity 260ms ease, transform 260ms ease; }
.os-review.out { opacity: 0; transform: translateY(-8px); }
.os-who { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.os-who b { font-size: 14px; }
.os-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0EA5E9; color: #FFFFFF; font-size: 12px; font-weight: 700; }
.os-review p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.35; }
@media (max-width: 680px) {
  .os-art { padding: 56px 18px 0; }
  .os-review p { font-size: 14px; }
}

/* stack: an elephant, a giraffe and a chair drop onto a pile under a 10 m line, over and over */
.st-card { color: #FFFFFF; background: #E83E8C; }
.st-card .tag { background: #FFD23F; color: #3A2A00; }
.st-card .pill.white { color: #E83E8C; --edge: #C42A72; }
.st-art { display: flex; align-items: flex-end; justify-content: center; padding: 24px 24px 0; }
.st-mini { position: relative; width: 240px; height: 230px; margin-bottom: -4px; border-bottom: 10px solid #C42A72; }
.st-line { position: absolute; left: -20px; right: -20px; bottom: 190px; border-top: 3px dashed #FFD23F; }
.st-line span { position: absolute; right: 0; top: -30px; padding: 4px 10px; border-radius: 999px; background: #FFD23F; color: #3A2A00; font-size: 13px; font-style: normal; font-weight: 800; }
.st-b { position: absolute; left: 50%; display: grid; place-items: center; border-radius: 10px; background: #FFFFFF; box-shadow: inset 0 -4px 0 rgba(42, 15, 30, 0.1); transform: translateX(-50%); }
.st-b em { font-style: normal; line-height: 1; }
.st-b.b1 { bottom: 0; width: 150px; height: 61px; font-size: 34px; }
.st-b.b2 { bottom: 61px; width: 110px; height: 105px; font-size: 52px; }
.st-b.b3 { bottom: 166px; width: 120px; height: 17px; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .st-b { animation: st-drop 6s cubic-bezier(.3,1.4,.5,1) infinite both; }
  .st-b.b2 { animation-delay: 0.5s; }
  .st-b.b3 { animation-delay: 1s; }
}
@keyframes st-drop { 0% { opacity: 0; transform: translate(-50%, -120px); } 8%, 88% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }
@media (max-width: 680px) {
  .st-art { padding-top: 56px; }
}

/* live: players climbing the four levels towards the crown */
.lv-card { color: #FFFFFF; background: linear-gradient(170deg, #3B82FF, #1E4FE0); }
.lv-card .pill.white { color: #1E4FE0; --edge: #1438B8; }
.lv-art { display: flex; align-items: flex-end; justify-content: center; padding: 24px 24px 0; }
.lv-mini { position: relative; width: 290px; height: 240px; }
.lv-s { position: absolute; bottom: 0; width: 62px; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, var(--a), var(--b)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 18px 26px -14px rgba(0, 0, 30, 0.6); }
.lv-s.s1 { left: 0; height: 58px; --a: #3FE0A2; --b: #14B67A; }
.lv-s.s2 { left: 76px; height: 102px; --a: #FFE070; --b: #FFB21E; }
.lv-s.s3 { left: 152px; height: 146px; --a: #FF9068; --b: #F2482A; }
.lv-s.s4 { left: 228px; height: 190px; --a: #B57BFF; --b: #D02E8B; }
.lv-s b { position: absolute; left: 50%; top: -38px; display: grid; place-items: center; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; font-size: 21px; line-height: 1; font-weight: 400;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75), transparent 38%), var(--a); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16), 0 0 0 2.5px #FFFFFF; }
.lv-crown { position: absolute; left: 228px; width: 62px; bottom: 196px; text-align: center; font-size: 38px; line-height: 1; filter: drop-shadow(0 8px 10px rgba(120, 60, 0, 0.45)); }
.lv-live { position: absolute; left: 0; top: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: #FF2D55; color: #FFFFFF; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -6px rgba(120, 0, 30, 0.7); }
.lv-live i { width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; }
@media (prefers-reduced-motion: no-preference) {
  .lv-s b { animation: lv-hop 2.4s cubic-bezier(.2,.8,.2,1) infinite; }
  .lv-s.s2 b { animation-delay: 0.3s; }
  .lv-s.s3 b { animation-delay: 0.6s; }
  .lv-crown { animation: lv-bob 3s ease-in-out infinite; }
  .lv-live i { animation: lv-blink 1.2s ease-in-out infinite; }
}
@keyframes lv-hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-9px); } }
@keyframes lv-bob { 50% { transform: translateY(-7px) rotate(-4deg); } }
@keyframes lv-blink { 50% { opacity: 0.25; } }
@media (max-width: 680px) {
  .lv-art { padding-top: 20px; }
  .lv-mini { transform: scale(0.82); transform-origin: bottom center; }
}

/* The wide live card at the top: words on the left, a bigger tower on the right */
.lv-card.feature { grid-column: 1 / -1; flex-direction: row; height: 420px; }
.lv-card.feature .card-body { display: flex; flex-direction: column; justify-content: flex-end; width: 48%; padding: 40px 44px 40px; }
.lv-card.feature h3 { font-size: 80px; }
.lv-card.feature .card-body p { max-width: 34ch; font-size: 18px; }
.lv-card.feature .art { order: 2; align-items: flex-end; padding: 0 40px 0 0; }
.lv-card.feature .lv-mini { transform: scale(1.3); transform-origin: bottom center; }
.lv-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 14px !important; font-size: 12px !important; font-weight: 800 !important; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.lv-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF2D55; box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.3); }
.lv-card.feature .lv-live { display: none; }
@media (prefers-reduced-motion: no-preference) { .lv-dot { animation: lv-blink 1.2s ease-in-out infinite; } }
@media (max-width: 900px) {
  .lv-card.feature .card-body { width: 55%; padding: 32px; }
  .lv-card.feature h3 { font-size: 60px; }
  .lv-card.feature .lv-mini { transform: scale(1.05); }
}
@media (max-width: 680px) {
  .lv-card.feature { flex-direction: column; height: 480px; }
  .lv-card.feature .card-body { width: auto; padding: 22px 26px 26px; justify-content: flex-start; }
  .lv-card.feature h3 { font-size: 52px; }
  .lv-card.feature .card-body p { font-size: 16px; }
  .lv-card.feature .art { order: 0; padding: 20px 0 0; justify-content: center; }
  .lv-card.feature .lv-mini { transform: scale(0.82); }
}
