@font-face { font-family: "Baloo 2"; src: url("/assets/fonts/Baloo2.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/Manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --cream: #FDFBF7; --cream-deep: #F5EFE4; --ink: #3D3A37; --stone: #6F6A66; --hair: #E6E3DE; --white: #FFFFFF;
  --coral: #FF6B4A; --coral-edge: #D9502F; --sun: #FFCF33; --grape: #2A1450; --mint: #2FD3A5; --gold: #F4B63F;
  --display: "Baloo 2", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid #2B6FE0; outline-offset: 3px; border-radius: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(253,251,247,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--hair); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; white-space: nowrap; }
.brand .mark { width: 40px; height: 40px; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .mark { transform: rotate(-12deg) scale(1.1); }
.top nav { display: flex; gap: 6px; }
.top nav a { text-decoration: none; font-weight: 800; font-size: 14.5px; padding: 11px 12px; white-space: nowrap; border-radius: 999px; }
.top nav a:hover { background: var(--cream-deep); }

/* buttons */
.btn { display: inline-block; border: 0; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1; padding: 15px 22px 13px; border-radius: 18px; background: var(--fill, var(--coral)); color: var(--label, #fff); box-shadow: 0 5px 0 var(--edge, var(--coral-edge)); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--edge, var(--coral-edge)); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--edge, var(--coral-edge)); }
.btn.quiet { --fill: rgba(255,255,255,.9); --edge: rgba(0,0,0,.16); --label: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { font-weight: 800; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.75); color: var(--ink); }
.chips li.soon { background: transparent; box-shadow: inset 0 0 0 2px currentColor; color: inherit; opacity: .7; }

/* hero carousel */
.hero { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 3px 0 rgba(0,0,0,.14); }
.big { font-size: clamp(40px, 6.2vw, 76px); letter-spacing: -0.01em; margin-top: 12px; }
.big em { font-style: normal; color: var(--pop, var(--coral)); display: inline-block; white-space: nowrap; }
.lede { max-width: 480px; margin-top: 14px; font-size: 19px; opacity: .86; }
.s-studio { background: radial-gradient(120% 90% at 80% 40%, #FFE9C9 0, var(--cream) 60%); }
.art { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.art .shot { height: 100%; width: auto; border-radius: 28px; border: 8px solid #1F1B18; box-shadow: 0 14px 0 rgba(0,0,0,.12), 0 26px 44px rgba(0,0,0,.2); transform: rotate(4deg); }
.art .poster { height: 100%; width: auto; filter: drop-shadow(0 12px 0 rgba(0,0,0,.1)); }
.art.duo { gap: 2%; } .art.duo .buddy { width: 49%; }
.buddy { position: relative; border: 0; background: none; padding: 0; width: 44%; -webkit-tap-highlight-color: transparent; }
.art .shot + .buddy, .art .buddy.over { position: absolute; left: 0; bottom: -8px; width: 46%; }
.buddy img { width: 100%; height: auto; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 0 rgba(0,0,0,.1)); }
.buddy:nth-of-type(2) img { animation-delay: -1.4s; }
.buddy.pop img { animation: boing .7s cubic-bezier(.3,1.5,.5,1); }
.bubble { position: absolute; left: 50%; bottom: 96%; z-index: 4; transform: translate(-50%, 8px) scale(.6); opacity: 0; pointer-events: none; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: 18px; background: var(--ink); color: #fff; padding: 8px 14px 6px; border-radius: 14px; transition: transform .25s cubic-bezier(.3,1.6,.5,1), opacity .2s; }
.bubble::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--ink); }
.bubble.on { opacity: 1; transform: translate(-50%, -4px) scale(1); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes boing { 0% { transform: scale(1); } 30% { transform: scale(1.18, .82) translateY(8px); } 60% { transform: scale(.9, 1.15) translateY(-40px) rotate(8deg); } 100% { transform: scale(1); } }
@media (max-width: 860px) {
  .art { height: 250px; }
  .art .shot { border-width: 6px; border-radius: 22px; }
  .art .shot + .buddy, .art .buddy.over { left: 8%; width: 36%; }
}

/* ticker */
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; padding: 12px 0 10px; transform: rotate(-1.2deg) scale(1.03); position: relative; z-index: 2; }
.ticker div { display: flex; width: max-content; animation: slide 26s linear infinite; font-family: var(--display); font-weight: 800; font-size: 22px; white-space: nowrap; }
.ticker span { padding: 0 18px; } .ticker span:nth-child(odd) { color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* game sections */
.game { position: relative; padding: 84px 0 76px; }
.game .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: center; }
.game.flip .wrap { grid-template-columns: 320px minmax(0, 1fr); }
.game.flip .stage { order: -1; }
.game .icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 6px 0 rgba(0,0,0,.14); }
.game h1, .game h2 { font-size: clamp(40px, 6.4vw, 64px); margin-top: 16px; }
.game .kind { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .78; margin-top: 2px; }
.game .blurb { margin-top: 12px; max-width: 520px; font-size: 19px; }
.g-scorely .shotart { border-radius: 26px; box-shadow: 0 14px 40px rgba(0,0,0,.4); transform: rotate(3deg); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.g-scorely .shotart:hover { transform: rotate(-2deg) scale(1.03); }

/* phone with video */
.stage { justify-self: center; width: 100%; max-width: 300px; position: relative; }
.phone { position: relative; border: 10px solid #1F1B18; border-radius: 44px; background: #1F1B18; box-shadow: 0 18px 0 rgba(0,0,0,.12), 0 30px 50px rgba(0,0,0,.18); overflow: hidden; transform: rotate(var(--tilt, 2deg)); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.phone:hover { transform: rotate(0); }
.phone video { width: 100%; aspect-ratio: var(--ar, 9/16); object-fit: cover; border-radius: 34px; background: #000; }
.phone .tap { position: absolute; inset: 0; border: 0; background: none; }
.phone .paused { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; border-radius: 50%; background: rgba(0,0,0,.55); display: none; pointer-events: none; }
.phone .paused::after { content: ""; position: absolute; left: 30px; top: 22px; border: 16px solid transparent; border-left: 24px solid #fff; border-right: 0; }
.phone.is-paused .paused { display: block; }
.clips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.clips button { border: 0; font-weight: 800; font-size: 14.5px; min-height: 44px; padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,.6); color: var(--ink); }
.clips button[aria-pressed="true"] { background: var(--fill); color: var(--label); }
.peek { position: absolute; width: 112px; height: auto; z-index: 3; pointer-events: none; animation: bob 3.6s ease-in-out infinite; }
.peek.tl { left: -62px; top: -34px; } .peek.br { right: -58px; bottom: 60px; animation-delay: -1.8s; }

/* toys */
.toy { margin-top: 30px; padding: 20px; border-radius: 26px; background: rgba(255,255,255,.62); max-width: 540px; }
.toy h3 { font-size: 24px; }
.toy .say { min-height: 56px; display: flex; align-items: center; gap: 12px; margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; }
.toy .say img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.toy .say small { display: block; font-family: var(--body); font-weight: 700; font-size: 14px; line-height: 1.35; opacity: .8; }
.dice { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.die { aspect-ratio: 1; border-radius: 22%; background: #FFFDF8; box-shadow: 0 4px 0 #E2D2BC, inset 0 0 0 2px #EADCC8; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 16%; }
.die i { width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); place-self: center; visibility: hidden; }
.die.rolling { animation: tumble .5s ease-out; }
.die.hit { background: #E6FBF3; box-shadow: 0 4px 0 #7FD9BC, inset 0 0 0 2px #2FD3A5; }
@keyframes tumble { 0% { transform: translateY(-26px) rotate(-200deg) scale(.7); } 70% { transform: translateY(3px) rotate(12deg); } 100% { transform: none; } }
.hand { display: flex; gap: 10px; margin-top: 12px; }
/* same card face as the UnderTen game (web/src/app.html) */
.card { --cw: 88px; width: var(--cw); height: calc(var(--cw) * 1.42); flex: 0 0 auto; padding: 0; border-radius: calc(var(--cw) * .17); background: #fff; border: 3px solid #3B1F6B; box-shadow: 0 4px 0 #3B1F6B; position: relative; font-family: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; font-weight: 400; color: #3B1F6B; display: flex; align-items: center; justify-content: center; transition: transform .18s; }
.card:hover { transform: translateY(-8px); }
.card.r { color: #FF5A5F; }
.card .ix { position: absolute; top: calc(var(--cw) * .05); left: calc(var(--cw) * .09); font-size: calc(var(--cw) * .27); line-height: .9; text-align: center; }
.card .ix i { display: block; font-style: normal; font-size: .72em; }
.card .pip { font-size: calc(var(--cw) * .56); margin: calc(var(--cw) * .22) 0 0 calc(var(--cw) * .12); }
.card.face { background: #FFF8E6; }
.card.face .pip { font-size: calc(var(--cw) * .66); }
.card.swap { animation: flipin .4s ease-out; }
@keyframes flipin { 0% { transform: translateY(-40px) rotateY(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.total { display: inline-block; min-width: 64px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; padding: 8px 12px 4px; border-radius: 14px; background: #fff; }
.toyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.btn.declare { --fill: #C9C2D6; --edge: #9D94B0; --label: #fff; }
.btn.declare.ready { --fill: var(--mint); --edge: #17A27C; --label: #0B3A2C; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }

/* screenshot rail */
.rail { grid-column: 1 / -1; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 18px; margin: 0 -4px; scrollbar-width: thin; }
.rail button { flex: none; width: 170px; padding: 0; border: 0; background: none; scroll-snap-align: start; border-radius: 22px; overflow: hidden; box-shadow: 0 6px 0 rgba(0,0,0,.12); transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.rail button:nth-child(odd) { transform: rotate(-1.5deg); } .rail button:nth-child(even) { transform: rotate(1.5deg) translateY(6px); }
.rail button:hover { transform: rotate(0) translateY(-6px) scale(1.03); }
.rail img { width: 100%; height: auto; }
dialog.light { border: 0; padding: 0; background: none; max-width: 94vw; max-height: 94vh; }
dialog.light::backdrop { background: rgba(20,14,10,.82); }
dialog.light img { max-height: 90vh; width: auto; border-radius: 26px; }

/* emote strip */
.emotes { display: flex; gap: 6px; }
.emotes button { border: 0; background: none; padding: 0; width: 56px; height: 56px; transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.emotes button:hover { transform: scale(1.2) rotate(-6deg); }
.emotes button.pop img { animation: boing .6s cubic-bezier(.3,1.5,.5,1); }

/* team */
.team { padding: 84px 0 70px; text-align: center; }
.team h2 { font-size: clamp(38px, 6vw, 58px); }
.team .sub { max-width: 560px; margin: 12px auto 0; color: var(--stone); font-size: 19px; }
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 22px; margin-top: 44px; }
.pol { perspective: 900px; border: 0; background: none; padding: 0; text-align: center; }
.pol .in { display: block; position: relative; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3,1.3,.5,1); transform: rotate(var(--r, -2deg)); }
.pol:hover .in { transform: rotate(0) translateY(-6px); }
.pol[aria-pressed="true"] .in { transform: rotateY(180deg); }
.pol .face { display: block; background: #fff; padding: 12px 12px 16px; border-radius: 6px; box-shadow: 0 2px 0 var(--hair), 0 14px 26px rgba(61,58,55,.16); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pol .back { position: absolute; inset: 0; transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; background: var(--c); }
.pol .pic { aspect-ratio: 1; background: var(--c); border-radius: 3px; overflow: hidden; display: grid; place-items: center; }
.pol .pic img { grid-area: 1 / 1; }
.pol .pic .me { width: 100%; height: 100%; object-fit: cover; }
.pol .pic .standin { width: 68%; height: 68%; object-fit: contain; }
.pol h3 { display: block; font-size: 23px; margin-top: 12px; }
.pol .who { display: block; font-weight: 700; font-size: 14.5px; color: var(--stone); }
.pol .back h3 { margin: 0; font-size: 26px; } .pol .back .why { font-weight: 700; font-size: 16px; }
.team .fine { margin-top: 30px; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 760px) { .crew { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } .pol h3 { font-size: 18px; } .pol .back { padding: 12px; } .pol .back h3 { font-size: 20px; } .pol .back .why { font-size: 13.5px; line-height: 1.35; } }

.about { padding: 0 0 64px; text-align: center; }
.about h2 { font-size: 32px; }
.about p { max-width: 600px; margin: 12px auto 0; color: var(--stone); }
footer { border-top: 2px solid var(--hair); padding: 26px 0 40px; color: var(--stone); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { text-underline-offset: 3px; display: inline-block; padding: 10px 0; }

.rise { opacity: 0; transform: translateY(28px); transition: opacity .6s, transform .6s cubic-bezier(.2,.9,.3,1); }
.rise.in { opacity: 1; transform: none; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

@media (max-width: 860px) {
  .game { padding: 64px 0 56px; }
  .game .wrap, .game.flip .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .game.flip .stage { order: 0; }
  .stage { max-width: 260px; }
  .peek { width: 92px; } .peek.tl { left: -46px; } .peek.br { right: -44px; }
  .g-scorely .shotart { max-width: 240px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
}

/* themes: one class per game sets the colours; .themed paints with them */
.g-risky { --bg: linear-gradient(170deg, #FFF5E1, #FFCAA6); --fg: var(--ink); --pop: #FF6B4A; --fill: #FF6B4A; --edge: #D9502F; --label: #fff; }
.g-under { --bg: var(--sun); --fg: var(--grape); --pop: #E8424A; --fill: var(--grape); --edge: #150830; --label: #fff; }
.g-pop { --bg: linear-gradient(170deg, #E6F6FF, #A9DDFF); --fg: #1F2A66; --pop: #F0408C; --fill: #FF5FA2; --edge: #C93A7C; --label: #fff; }
.g-honey { --bg: linear-gradient(170deg, #F1F9D2, #C3E58F); --fg: #4A2A0A; --pop: #B86A00; --fill: #5A3310; --edge: #2E1904; --label: #FFF4D6; }
.g-scorely { --bg: linear-gradient(160deg, #5B4025, #2E1F12); --fg: #FFF4E2; --pop: var(--gold); --fill: var(--gold); --edge: #B97E12; --label: #2E1F12; }
.themed { background: var(--bg); color: var(--fg); }
.themed .chips li { color: var(--ink); }
.themed .chips li.soon { color: inherit; }
.game.g-under::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: repeating-linear-gradient(90deg, #FF5A5F 0 28px, #fff 28px 56px); border-bottom: 4px solid var(--grape); }

/* header */
.top nav a[aria-current="page"] { background: var(--cream-deep); }
@media (max-width: 640px) { .top .wrap { padding: 0 14px; } .brand { font-size: 19px; gap: 8px; } .top nav a { padding: 12px 10px; } }

/* home hero */
.hero { background: radial-gradient(120% 90% at 80% 40%, #FFE9C9 0, var(--cream) 60%); padding: 52px 0 70px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; }
.big em { color: var(--pop, var(--coral)); }
.lede { max-width: 500px; }
.hero .facts { margin-top: 18px; font-weight: 800; font-size: 14.5px; color: var(--stone); }
.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 4%; align-items: center; justify-items: center; }
.quad .buddy { width: 86%; }
.quad .buddy:nth-child(even) { transform: translateY(26px); }
.quad .buddy.tall { width: 58%; }
.quad .buddy:nth-of-type(3) img { animation-delay: -2.1s; } .quad .buddy:nth-of-type(4) img { animation-delay: -.7s; }
@media (max-width: 860px) {
  .hero { padding: 30px 0 56px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; font-size: 18px; }
  .hero .actions { justify-content: center; }
  .quad { grid-template-columns: repeat(4, 1fr); gap: 0 2%; max-width: 520px; margin: 0 auto; }
  .quad .buddy, .quad .buddy.tall { width: 100%; } .quad .buddy.tall { width: 70%; }
  .quad .buddy:nth-child(even) { transform: translateY(14px); }
}

/* catalogue */
.catalogue { padding: 78px 0 30px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 26px; }
.sec-head h1, .sec-head h2 { font-size: clamp(34px, 5vw, 48px); }
.sec-head p { color: var(--stone); font-weight: 700; }
.cat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.gcard { grid-column: span 2; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 2px var(--hair), 0 8px 0 var(--hair); transition: transform .25s cubic-bezier(.3,1.5,.5,1); scroll-margin-top: 84px; }
.gcard:hover { transform: translateY(-5px); }
.gcard.wide { grid-column: span 3; }
.gcard .top-art { position: relative; display: block; height: 210px; overflow: hidden; background: var(--bg); }
.gcard.wide .top-art { height: 250px; }
.gcard .cshot { position: absolute; right: 9%; top: 26px; width: 38%; height: auto; border-radius: 16px; border: 5px solid #1F1B18; box-shadow: 0 10px 24px rgba(0,0,0,.22); transform: rotate(5deg); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.gcard.wide .cshot { width: 31%; right: 11%; }
.gcard:hover .cshot { transform: rotate(2deg) translateY(-8px); }
.gcard .cshot.bare { border: 0; border-radius: 14px; }
.gcard .cbuddy { position: absolute; left: 7%; bottom: 8px; width: 40%; max-height: 88%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 0 rgba(0,0,0,.1)); }
.gcard.wide .cbuddy { width: 34%; left: 10%; }
.badge { position: absolute; left: 14px; top: 14px; z-index: 2; font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1; padding: 8px 12px 6px; border-radius: 999px; background: var(--ink); color: #fff; }
.badge.new { background: var(--mint); color: #0B3A2C; }
.gcard .body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.gcard .head { display: flex; align-items: center; gap: 12px; }
.gcard .head img { width: 54px; height: 54px; border-radius: 13px; box-shadow: 0 3px 0 rgba(0,0,0,.12); flex: none; }
.gcard h3 { font-size: 27px; }
.gcard h3 a { text-decoration: none; }
.gcard h3 a::after { content: ""; }
.kind { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.gcard .line { margin-top: 12px; color: var(--ink); }
.gcard .chips { margin-top: 12px; }
.gcard .chips li { background: var(--cream-deep); font-size: 12.5px; padding: 5px 10px; }
.gcard .chips li.play { background: #DDF6EC; color: #0B5A43; }
.gcard .chips li.soon { background: transparent; color: var(--stone); }
.gcard .actions { margin-top: auto; padding-top: 18px; gap: 10px; }
.gcard .btn, .btn.sm { font-size: 16px; padding: 12px 13px 10px; border-radius: 15px; box-shadow: 0 4px 0 var(--edge, var(--coral-edge)); }
.gcard .btn.quiet, .page-cream .btn.quiet { --fill: var(--cream-deep); --edge: #DCD3C3; }
@media (max-width: 940px) { .gcard, .gcard.wide { grid-column: span 3; } .gcard.wide .top-art { height: 210px; } .gcard.wide .cshot { width: 38%; right: 9%; } .gcard.wide .cbuddy { width: 40%; left: 7%; } }
@media (max-width: 640px) { .gcard, .gcard.wide { grid-column: span 6; } .catalogue { padding-top: 56px; } }

/* game page */
.crumb { display: inline-block; font-weight: 800; font-size: 14.5px; text-decoration: none; padding: 8px 14px; margin: 0 0 18px -14px; border-radius: 999px; opacity: .8; }
.crumb:hover { background: rgba(255,255,255,.4); opacity: 1; }
.game.page { padding-top: 34px; }
.game.page .wrap { align-items: start; }
.game.page .stage { margin-top: 64px; }
@media (max-width: 860px) { .game.page .stage { margin-top: 0; } }
.game .tagline { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.1; margin-top: 14px; }
.game .tagline em { font-style: normal; color: var(--pop); }
.game .status { display: inline-block; margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1; padding: 9px 13px 7px; border-radius: 999px; background: var(--fill); color: var(--label); }
.phone img.still { width: 100%; height: auto; border-radius: 34px; }
.g-scorely .kind, .themed .kind { color: inherit; opacity: .78; }
.band { padding: 72px 0; }
.band h2 { font-size: clamp(30px, 4.6vw, 42px); }
.band .sub { color: var(--stone); margin-top: 8px; max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border-radius: 24px; padding: 22px 22px 24px; box-shadow: 0 0 0 2px var(--hair), 0 6px 0 var(--hair); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fill); color: var(--label); font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; padding-top: 3px; }
.steps h3 { font-size: 23px; margin-top: 14px; }
.steps p { margin-top: 6px; color: var(--stone); }
.links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-weight: 800; }
.links a { text-underline-offset: 4px; padding: 10px 0; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.feats li { background: var(--cream-deep); border-radius: 22px; padding: 20px 22px; }
.feats h3 { font-size: 22px; }
.feats p { margin-top: 4px; color: var(--stone); }
.band.shots { padding: 0 0 64px; }
.band.shots .rail { margin-top: 20px; }
.cta { text-align: center; padding: 64px 0 68px; }
.cta img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto; box-shadow: 0 6px 0 rgba(0,0,0,.14); }
.cta h2 { font-size: clamp(34px, 5.4vw, 52px); margin-top: 18px; }
.cta h2 em { font-style: normal; color: var(--pop); }
.cta .actions { justify-content: center; }
.more { padding: 64px 0 76px; }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.mini { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 24px; text-decoration: none; background: var(--bg); color: var(--fg); transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.mini:hover { transform: translateY(-5px) rotate(-1deg); }
.mini img { width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 4px 0 rgba(0,0,0,.14); }
.mini b { font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.05; }
.mini span { font-weight: 700; font-size: 14.5px; opacity: .85; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .feats { grid-template-columns: 1fr; } .minis { grid-template-columns: repeat(2, 1fr); } .band { padding: 56px 0; } }

/* Pop n Pass toy */
.puff-stage { height: 190px; display: grid; place-items: center; margin-top: 8px; border-radius: 20px; background: radial-gradient(closest-side, #fff 30%, rgba(255,255,255,0) 100%); }
.puff-wrap { display: block; height: 180px; }
.puff-wrap.pop { animation: boing .5s cubic-bezier(.3,1.5,.5,1); }
.puff-wrap img { height: 100%; width: auto; transform-origin: 50% 60%; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.puff-wrap img.shake { animation: jitter .25s linear infinite; }
@keyframes jitter { 0%,100% { translate: 0 0; } 25% { translate: -2px 1px; } 75% { translate: 2px -1px; } }
.puff-total { text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; margin-top: 4px; }
.puff-total b { font-size: 46px; } .puff-total.hot b { color: #FF5968; }
.save-chip { font-weight: 800; font-size: 14px; padding: 9px 13px; border-radius: 999px; background: #C9F3DF; color: #0B5A43; }
.save-chip.used { background: rgba(0,0,0,.08); color: inherit; opacity: .7; }

/* Honey Hive demo */
.toy.hive { background: rgba(255,255,255,.7); }
.hive-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hive-moves { font-weight: 800; font-size: 15px; } .hive-moves b { font-family: var(--display); font-size: 26px; }
.hive-board { position: relative; display: grid; gap: 0; margin-top: 12px; padding: 0; border-radius: 22px; background: #4A2A0A; box-shadow: inset 0 0 0 4px #E9A93A, 0 6px 0 #C98A1E; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.hv-cell { aspect-ratio: 1; padding: 5%; border: 0; background: none; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.hv-cell img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; opacity: .45; transition: transform .18s cubic-bezier(.3,1.6,.5,1); }
.hv-cell.full img, span.hv-cell img { opacity: 1; }
button.hv-cell.full { cursor: grab; }
.hv-cell.sel img { transform: scale(1.12); filter: drop-shadow(0 0 10px #FFE27A); }
.hv-cell.plop img { transform: scale(1.14); }
.hv-cell.seal img { opacity: 1; transform: scale(1.2); filter: drop-shadow(0 0 12px #FFF2B0); }
.hv-go { position: absolute; z-index: 2; border: 0; background: none; padding: 0; display: grid; place-items: center; color: #2E6B12; }
.hv-go svg { width: 46%; height: 46%; padding: 9%; box-sizing: content-box; border-radius: 50%; background: #D9F5B5; box-shadow: 0 3px 0 #6FA53C; }
.hv-go.hint svg { background: #FFE27A; box-shadow: 0 3px 0 #C98A1E, 0 0 0 5px rgba(255,226,122,.5); color: #5A3310; animation: pulse 1s ease-in-out infinite; }
.hive .toyrow { gap: 10px; }
.hive .btn { font-size: 17px; padding: 12px 15px 10px; }
.hive .btn:disabled { opacity: .45; cursor: default; }

/* about page */
.page-head { padding: 56px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(40px, 6.4vw, 64px); }
.page-head p { max-width: 600px; margin: 14px auto 0; color: var(--stone); font-size: 19px; }
.page-head .actions { justify-content: center; }
.team { padding-top: 56px; }

/* footer */
footer .wrap { align-items: flex-start; }
footer .cols { display: flex; flex-wrap: wrap; gap: 18px 56px; }
footer h2 { font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
footer .col a { display: block; padding: 7px 0; }
footer .legal { flex-basis: 100%; padding-top: 14px; }

/* tags: what kind of game it is and who it is for */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tags li { font-weight: 800; font-size: 12.5px; line-height: 1; padding: 7px 10px 6px; border-radius: 8px; background: color-mix(in srgb, var(--fill) 13%, #fff); color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fill) 30%, transparent); }
.tags li:first-child { background: var(--fill); color: var(--label); box-shadow: none; }
.game .tags { margin-top: 10px; }
.game .tags li { font-size: 13.5px; padding: 8px 11px 7px; background: rgba(255,255,255,.6); box-shadow: none; }
.game .tags li:first-child { background: var(--fill); color: var(--label); }

/* opened from inside a game: its own card goes last and steps back */
.more-head { padding: 30px 0 0; }
.more-head h1 { font-size: clamp(32px, 5vw, 44px); }
.more-head p { margin-top: 4px; color: var(--stone); font-weight: 700; }
.more-head + .catalogue { padding-top: 20px; }
/* inside a game's own app: the app draws the title bar, so the site's header and footer step aside */
.in-app .top, .in-app footer, .in-app .more-head h1, .in-app .more, .in-app .crumb { display: none; }
.in-app .more-head { padding-top: 14px; }
.in-app .more-head + .catalogue { padding-top: 12px; }
.in-app .game.page { padding-top: 14px; }
.in-app body { padding-bottom: 24px; }
.gcard.here .top-art { filter: saturate(.75); opacity: .85; }
@media (max-width: 640px) { .minis { grid-template-columns: 1fr 1fr; } }

/* type: the same weights as the games' apps, which never set Manrope lighter than medium */
body { font-weight: 500; }
.lede, .game .blurb, .gcard .line, .steps p, .feats p, .about p, .page-head p, .team .sub, .band .sub, .toy .say small, footer { font-weight: 600; }
.lede { opacity: 1; color: var(--stone); }
.themed .blurb { opacity: .92; }
