:root {
  --home-ink: #f2f3ed;
  --home-muted: #a3adbf;
  --home-lime: #d8f879;
}
body[data-page="home"] {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--home-ink);
  background:
    radial-gradient(850px 560px at 80% 7%, rgba(102, 85, 169, 0.2), transparent 68%),
    radial-gradient(800px 600px at 5% 30%, rgba(68, 105, 116, 0.13), transparent 67%),
    linear-gradient(180deg, #111624 0%, #0a0e17 62%, #090c13 100%);
}
.home-shell { width: min(1220px, 100%); margin: 0 auto; padding: 0 36px; }
.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(211, 223, 243, 0.1);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(216, 248, 121, 0.58);
  border-radius: 11px;
  color: var(--home-lime);
  background: rgba(216, 248, 121, 0.09);
  font-size: 16px;
  font-weight: 850;
}
.brand-mark i { position: absolute; width: 7px; height: 7px; right: 5px; bottom: 5px; border-radius: 2px; background: var(--home-lime); transform: rotate(45deg); }
.brand-name { font-size: 17px; font-weight: 780; letter-spacing: -0.06em; }
.brand-period { color: var(--home-lime); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); margin-left: auto; }
.main-nav a, .site-footer > a:last-child {
  color: var(--home-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .18s ease;
}
.main-nav a:hover, .site-footer > a:last-child:hover { color: var(--home-lime); }
.header-cta {
  padding: 10px 14px;
  border: 1px solid rgba(211, 223, 243, 0.17);
  border-radius: 12px;
  color: var(--home-ink);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease;
}
.header-cta:hover { border-color: rgba(216, 248, 121, 0.45); background: rgba(216, 248, 121, 0.08); }
.header-cta span { margin-left: 8px; color: var(--home-lime); }
.hero {
  min-height: 545px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(38px, 8vw, 100px);
  padding: 56px 0 46px;
}
.hero-copy { max-width: 580px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; color: #b5c0d1; font-size: 10px; font-weight: 760; letter-spacing: .19em; }
.eyebrow-dot, .resume-pip { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--home-lime); box-shadow: 0 0 12px rgba(216, 248, 121, .8); }
.hero h1 { margin: 0; font-size: clamp(62px, 8vw, 104px); line-height: .91; letter-spacing: -.085em; font-weight: 770; }
.hero h1 em, .guide-intro h2 em { color: var(--home-lime); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.07em; }
.hero-lede { max-width: 470px; margin: 25px 0 0; color: #b2bbcb; font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 16px; padding: 0 18px; border: 1px solid transparent; border-radius: 13px; font: inherit; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #141a12; background: var(--home-lime); box-shadow: 0 12px 28px rgba(216, 248, 121, .13); }
.button-primary:hover { background: #e4ff9a; box-shadow: 0 16px 34px rgba(216, 248, 121, .2); }
.button-primary span { font-size: 16px; }
.button-quiet { color: var(--home-ink); background: transparent; border-color: rgba(211, 223, 243, .14); }
.button-quiet:hover { border-color: rgba(211, 223, 243, .32); background: rgba(255, 255, 255, .04); }
.resume-link { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 17px; color: var(--home-lime); text-decoration: none; font-size: 12px; font-weight: 700; }
.resume-link[hidden] { display: none; }
.resume-link span:last-child { margin-left: 3px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 31px; }
.player-stack { display: flex; align-items: center; }
.player-stack span { display: grid; width: 29px; height: 29px; place-items: center; margin-right: -7px; border: 2px solid #101521; border-radius: 50%; background: #242e40; color: var(--home-lime); font-size: 12px; }
.player-stack span:nth-child(2) { background: #353052; color: #cec2ff; }
.player-stack span:nth-child(3) { background: #4a352b; color: #ffd9a3; }
.hero-note p { margin: 0 0 0 5px; color: var(--home-muted); font-size: 11px; }
.hero-note strong { color: var(--home-ink); }
.hero-art {
  position: relative;
  width: min(100%, 450px);
  justify-self: end;
  padding: 25px;
  border: 1px solid rgba(211, 223, 243, .14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(28, 36, 54, .86), rgba(13, 18, 29, .96));
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34), inset 0 1px rgba(255,255,255,.04);
  transform: rotate(1.5deg);
}
.art-glow { position: absolute; inset: 5% 10% auto; height: 55%; border-radius: 50%; background: rgba(170, 146, 255, .12); filter: blur(55px); pointer-events: none; }
.art-label { position: relative; display: flex; justify-content: space-between; color: #8894a9; font-size: 9px; font-weight: 760; letter-spacing: .18em; }
.art-live { display: flex; align-items: center; gap: 7px; color: #c5d2c1; }
.art-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--home-lime); box-shadow: 0 0 8px var(--home-lime); }
.mini-board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 338px); aspect-ratio: 1; margin: 22px auto 18px; }
.tile { display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(203, 215, 236, .1); border-radius: 15px; background: rgba(7, 11, 19, .48); color: var(--home-lime); }
.tile:nth-child(odd) { background: linear-gradient(145deg, rgba(46, 56, 76, .74), rgba(24, 31, 46, .84)); }
.tile b { font-size: clamp(32px, 5vw, 52px); font-weight: 500; text-shadow: 0 8px 22px rgba(216, 248, 121, .12); }
.tile-2 b, .tile-5 b, .tile-9 b { color: #c3b4ff; }
.tile-4 b, .tile-8 b { color: #ffbf83; }
.art-caption { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid rgba(211, 223, 243, .1); border-radius: 14px; background: rgba(7, 11, 19, .53); }
.caption-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: #131912; background: var(--home-lime); font-weight: 850; }
.art-caption strong, .art-caption small { display: block; }
.art-caption strong { font-size: 12px; }
.art-caption small { margin-top: 3px; color: var(--home-muted); font-size: 10px; }
.caption-arrow { margin-left: auto; color: var(--home-lime); }
.floating-tag { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid rgba(219, 225, 242, .15); border-radius: 12px; background: #191f2e; color: var(--home-ink); box-shadow: 0 14px 30px rgba(0,0,0,.28); font-size: 12px; }
.floating-tag span { color: var(--home-muted); font-size: 8px; font-weight: 750; letter-spacing: .16em; }
.floating-tag-one { top: 20%; left: -34px; color: var(--home-lime); }
.floating-tag-two { right: -22px; bottom: 21%; }
.floating-tag-two .tag-spark { color: #ffc87f; font-size: 14px; }
.quick-facts { display: flex; align-items: center; gap: clamp(25px, 5vw, 65px); padding: 19px 0; border-top: 1px solid rgba(211, 223, 243, .1); border-bottom: 1px solid rgba(211, 223, 243, .1); }
.quick-facts div { display: flex; align-items: baseline; gap: 9px; }
.quick-facts strong { color: var(--home-lime); font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.quick-facts span, .quick-facts p { color: var(--home-muted); font-size: 11px; }
.quick-facts p { margin-left: auto; }
.games-section { padding: 92px 0 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.section-heading .eyebrow, .guide-intro .eyebrow { margin-bottom: 12px; color: var(--home-lime); }
.section-heading h2, .guide-intro h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -.07em; }
.section-heading > p { margin: 0 0 3px; color: var(--home-muted); font-size: 13px; line-height: 1.65; text-align: right; }
.game-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { min-height: 38px; padding: 0 12px; border: 1px solid rgba(211, 223, 243, .13); border-radius: 11px; background: rgba(255, 255, 255, .025); color: #abb5c6; font: inherit; font-size: 11px; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.filter-chip:hover, .filter-chip.is-active { border-color: rgba(216, 248, 121, .46); background: rgba(216, 248, 121, .09); color: var(--home-lime); }
.filter-chip span { margin-left: 4px; opacity: .7; }
.search-box { display: flex; width: min(260px, 100%); height: 38px; align-items: center; gap: 8px; padding: 0 9px 0 12px; border: 1px solid rgba(211, 223, 243, .13); border-radius: 11px; background: rgba(255,255,255,.03); color: #8591a5; }
.search-box > span { font-size: 20px; line-height: 1; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--home-ink); background: transparent; font: inherit; font-size: 11px; }
.search-box input::placeholder { color: #7f899a; }
.search-box kbd { display: grid; width: 19px; height: 20px; place-items: center; border: 1px solid rgba(211, 223, 243, .17); border-radius: 5px; color: #818da0; font-size: 10px; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.game-card { min-width: 0; display: flex; flex-direction: column; padding: 13px; border: 1px solid rgba(211, 223, 243, .13); border-radius: 21px; background: linear-gradient(160deg, rgba(24, 32, 49, .9), rgba(15, 20, 32, .92)); box-shadow: 0 18px 45px rgba(0, 0, 0, .2); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.game-card:hover { transform: translateY(-5px); border-color: rgba(216, 248, 121, .35); box-shadow: 0 26px 55px rgba(0,0,0,.28); }
.game-card[hidden] { display: none; }
.game-card-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 0; }
.game-index, .game-kicker { color: #8d99ad; font-size: 9px; font-weight: 750; letter-spacing: .15em; }
.card-status { display: flex; align-items: center; gap: 6px; color: #c4d3ad; font-size: 8px; font-weight: 750; letter-spacing: .14em; }
.card-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--home-lime); }
.game-art { position: relative; display: grid; min-height: 195px; place-items: center; overflow: hidden; margin-top: 12px; border: 1px solid rgba(211, 223, 243, .08); border-radius: 15px; }
.game-art::before { content: ""; position: absolute; width: 220px; height: 170px; border-radius: 50%; background: rgba(216, 248, 121, .09); filter: blur(42px); }
.chess-art { background: radial-gradient(circle at 48% 45%, rgba(65, 85, 115, .54), rgba(20, 27, 42, .95) 69%); }
.checkers-art { background: radial-gradient(circle at 50% 45%, rgba(147, 96, 57, .34), rgba(25, 25, 30, .96) 71%); }
.xox-art { background: radial-gradient(circle at 50% 45%, rgba(101, 83, 166, .32), rgba(22, 24, 39, .96) 72%); }
.chess-board { display: grid; grid-template-columns: repeat(4, 42px); grid-template-rows: repeat(2, 42px); transform: rotate(-8deg); border: 1px solid rgba(224, 230, 241, .12); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.chess-board span { display: grid; place-items: center; background: rgba(214, 223, 239, .82); color: #273044; font-size: 27px; }
.chess-board span:nth-child(4n+1), .chess-board span:nth-child(4n+3) { background: #343f56; color: #e8edf7; }
.art-orbit { position: absolute; right: 14%; bottom: 14%; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(216,248,121,.35); border-radius: 50%; color: var(--home-lime); background: rgba(14,18,29,.82); font-size: 9px; font-weight: 800; }
.checker-board { display: grid; grid-template-columns: repeat(4, 39px); grid-template-rows: repeat(3, 35px); gap: 2px; padding: 5px; transform: rotate(6deg); border: 1px solid rgba(242,194,140,.22); background: #4b3024; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.checker-board span { display: grid; place-items: center; background: #cc9c67; color: #f0eee7; font-size: 19px; }
.checker-board span:nth-child(8n+1), .checker-board span:nth-child(8n+3), .checker-board span:nth-child(8n+6), .checker-board span:nth-child(8n+8) { background: #38291f; color: #d8f879; }
.checker-board span:nth-child(2), .checker-board span:nth-child(6), .checker-board span:nth-child(8) { text-shadow: 0 2px 6px #000; }
.xox-board { display: grid; grid-template-columns: repeat(3, 47px); grid-template-rows: repeat(3, 47px); gap: 5px; transform: rotate(-7deg); }
.xox-board span { display: grid; place-items: center; border: 1px solid rgba(224, 218, 255, .15); border-radius: 10px; background: rgba(16,18,30,.8); color: #c4b6ff; font-size: 29px; font-weight: 550; }
.xox-board span:nth-child(odd) { color: var(--home-lime); }
.game-card-copy { padding: 17px 4px 21px; }
.game-kicker { margin: 0 0 7px; font-size: 8px; }
.game-card h3 { margin: 0; font-size: 26px; letter-spacing: -.055em; }
.game-card-copy > p:last-child { min-height: 52px; margin: 7px 0 0; color: var(--home-muted); font-size: 11px; line-height: 1.6; }
.game-card-bottom { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 11px 3px 0; border-top: 1px solid rgba(211, 223, 243, .1); }
.game-card-bottom > span { color: #929daf; font-size: 9px; white-space: nowrap; }
.game-card-bottom i { color: #50596b; font-style: normal; }
.game-card-bottom a { color: var(--home-ink); text-decoration: none; font-size: 10px; font-weight: 750; white-space: nowrap; }
.game-card-bottom a b { margin-left: 5px; color: var(--home-lime); font-size: 13px; }
.empty-state { margin: 22px 0; color: var(--home-muted); font-size: 13px; }
.empty-state[hidden] { display: none; }
.guide-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 8vw, 100px); padding: 70px 0 82px; border-top: 1px solid rgba(211, 223, 243, .1); }
.guide-intro h2 { margin: 0; font-size: clamp(41px, 5.3vw, 62px); line-height: .99; letter-spacing: -.075em; }
.guide-intro > p:last-child { max-width: 260px; margin-top: 15px; color: var(--home-muted); font-size: 12px; line-height: 1.6; }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-steps li { display: grid; grid-template-columns: 38px 1fr 20px; align-items: start; gap: 14px; padding: 17px 0; border-bottom: 1px solid rgba(211, 223, 243, .1); }
.guide-steps li:first-child { border-top: 1px solid rgba(211, 223, 243, .1); }
.guide-steps li > span { padding-top: 3px; color: var(--home-lime); font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.guide-steps h3 { margin: 0; font-size: 15px; }
.guide-steps p { margin: 5px 0 0; color: var(--home-muted); font-size: 11px; line-height: 1.55; }
.guide-steps li > b { color: #727e91; font-size: 14px; font-weight: 500; }
.site-footer { display: flex; align-items: center; gap: 25px; min-height: 82px; border-top: 1px solid rgba(211, 223, 243, .1); }
.site-footer .brand-mark { width: 29px; height: 29px; font-size: 13px; }
.site-footer .brand-name { font-size: 14px; }
.site-footer p { margin: 0; color: #778398; font-size: 10px; }
.site-footer > a:last-child { margin-left: auto; font-size: 11px; }
.site-footer > a:last-child span { margin-left: 5px; color: var(--home-lime); }
@media (max-width: 920px) {
  .home-shell { padding-inline: 25px; }
  .hero { min-height: 500px; gap: 35px; }
  .hero-art { width: min(100%, 380px); padding: 19px; }
  .game-grid { gap: 10px; }
  .game-art { min-height: 165px; }
  .chess-board { grid-template-columns: repeat(4, 34px); grid-template-rows: repeat(2, 34px); }
  .checker-board { grid-template-columns: repeat(4, 33px); grid-template-rows: repeat(3, 30px); }
  .xox-board { grid-template-columns: repeat(3, 41px); grid-template-rows: repeat(3, 41px); }
}
@media (max-width: 700px) {
  .home-shell { padding-inline: 19px; }
  .site-header { min-height: 70px; gap: 10px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 11px; }
  .header-cta { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding: 48px 0 35px; }
  .hero-copy { max-width: 560px; }
  .hero h1 { font-size: clamp(58px, 13vw, 82px); }
  .hero-lede { max-width: 520px; margin-top: 18px; font-size: 14px; }
  .hero-art { width: min(100%, 440px); justify-self: center; transform: none; }
  .mini-board { width: min(100%, 285px); }
  .quick-facts { gap: 17px; }
  .quick-facts div { display: grid; gap: 1px; }
  .quick-facts p { max-width: 115px; line-height: 1.5; text-align: right; }
  .games-section { padding: 68px 0 58px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .game-art { min-height: 155px; }
  .guide-section { grid-template-columns: 1fr; gap: 28px; padding: 55px 0 60px; }
}
@media (max-width: 520px) {
  .home-shell { padding-inline: 15px; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 31px; height: 31px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 10px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(54px, 14vw, 70px); }
  .hero-actions { gap: 8px; }
  .button { min-height: 46px; padding-inline: 13px; font-size: 11px; }
  .hero-note { margin-top: 24px; }
  .hero-art { padding: 15px; border-radius: 21px; }
  .floating-tag-one { left: -6px; }
  .floating-tag-two { right: -5px; }
  .quick-facts { flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .quick-facts p { display: none; }
  .section-heading { align-items: start; flex-direction: column; gap: 11px; }
  .section-heading > p { text-align: left; }
  .game-tools { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card:last-child:nth-child(odd) { grid-column: auto; }
  .game-art { min-height: 185px; }
  .site-footer { gap: 12px; }
  .site-footer p { display: none; }
  .site-footer > a:last-child { font-size: 10px; }
}
@media (max-width: 400px) {
  .site-header { gap: 8px; }
  .main-nav { gap: 9px; }
  .main-nav a:last-child { display: none; }
  .brand-name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] *, body[data-page="home"] *::before, body[data-page="home"] *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.four-art { background: radial-gradient(circle at 50% 45%, rgba(73, 79, 171, .4), rgba(18, 23, 42, .97) 72%); }
.connect-art-board { position: relative; display: grid; grid-template-columns: repeat(7, 24px); grid-template-rows: repeat(3, 24px); gap: 4px; padding: 8px; transform: rotate(-7deg); border: 1px solid rgba(176, 184, 255, .32); border-radius: 12px; background: linear-gradient(145deg, #394381, #252b5d); box-shadow: 0 20px 40px rgba(0,0,0,.38); }
.connect-art-board span { border: 2px solid rgba(13, 17, 44, .44); border-radius: 50%; background: radial-gradient(circle at 35% 28%, #171b3b, #10142f 75%); }
.connect-art-board span.red { background: radial-gradient(circle at 34% 28%, #ffabb5, #ff7184 53%, #c9435a); box-shadow: 0 2px 8px rgba(222,65,91,.3); }
.connect-art-board span.yellow { background: radial-gradient(circle at 34% 28%, #fff0a5, #ffd36c 53%, #d69a37); box-shadow: 0 2px 8px rgba(230,174,65,.24); }
.game-card-four .game-art::before { background: rgba(108, 117, 239, .16); }


@media (max-width: 920px) {
  .connect-art-board { grid-template-columns: repeat(7, 20px); grid-template-rows: repeat(3, 20px); }
}

.puzzle-art { background: radial-gradient(circle at 50% 45%, rgba(145, 113, 81, .3), rgba(25, 24, 30, .97) 72%); }
.puzzle-art::before { background: rgba(255, 190, 122, .1); }
.puzzle-art-board { display: grid; grid-template-columns: repeat(4, 32px); grid-template-rows: repeat(4, 32px); gap: 4px; padding: 7px; transform: rotate(-7deg); border: 1px solid rgba(240,211,174,.2); border-radius: 12px; background: #303846; box-shadow: 0 20px 40px rgba(0,0,0,.38); }
.puzzle-art-board span { display: grid; place-items: center; border-radius: 5px; color: #51493d; background: #e9e2d6; font-size: 14px; font-weight: 850; }
.puzzle-art-board span:empty { background: rgba(225,231,242,.1); }
.puzzle-art-board span:nth-child(3), .puzzle-art-board span:nth-child(6) { color: white; background: #efa86a; }
.puzzle-art-board span:nth-child(11), .puzzle-art-board span:nth-child(16) { color: white; background: #ed7154; }
.game-card-2048 .game-art::before { background: rgba(227, 143, 80, .14); }
@media (max-width: 920px) {
  .puzzle-art-board { grid-template-columns: repeat(4, 27px); grid-template-rows: repeat(4, 27px); }
}

.snake-art { background: radial-gradient(circle at 50% 45%, rgba(83, 135, 83, .28), rgba(18, 26, 35, .97) 72%); }
.snake-art-board { display: grid; grid-template-columns: repeat(4, 31px); grid-template-rows: repeat(4, 31px); gap: 4px; padding: 8px; transform: rotate(-7deg); border: 1px solid rgba(216,248,121,.17); border-radius: 12px; background: #141f2a; box-shadow: 0 20px 40px rgba(0,0,0,.38); }
.snake-art-board span { border-radius: 5px; background: rgba(143,171,164,.1); }
.snake-art-board span.body { background: linear-gradient(145deg, #a7d85a, #77af42); }
.snake-art-board span.head { position: relative; border-radius: 7px; background: #d8f879; box-shadow: 0 0 12px rgba(216,248,121,.3); }
.snake-art-board span.food { border-radius: 50%; background: radial-gradient(circle at 35% 28%, #ffcfab, #f17b69 62%, #b94e55); }
.game-card-snake .game-art::before { background: rgba(127, 187, 82, .15); }
@media (max-width: 920px) {
  .snake-art-board { grid-template-columns: repeat(4, 26px); grid-template-rows: repeat(4, 26px); }
}

.memory-art { background: radial-gradient(circle at 50% 45%, rgba(124, 102, 177, .3), rgba(24, 23, 40, .97) 72%); }
.memory-art-board { display: grid; grid-template-columns: repeat(4, 31px); grid-template-rows: repeat(4, 31px); gap: 4px; padding: 8px; transform: rotate(-7deg); border: 1px solid rgba(203,188,255,.2); border-radius: 12px; background: #29283f; box-shadow: 0 20px 40px rgba(0,0,0,.38); }
.memory-art-board span { display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(211,203,245,.1); border-radius: 5px; color: #e4dfff; background: linear-gradient(145deg, #514976, #35334f); font-size: 15px; }
.memory-art-board span:empty { background: rgba(225,231,242,.1); }
.game-card-memory .game-art::before { background: rgba(157, 124, 231, .16); }
@media (max-width: 920px) {
  .memory-art-board { grid-template-columns: repeat(4, 26px); grid-template-rows: repeat(4, 26px); }
}
@media (min-width: 701px) {
  .game-card:last-child:nth-child(3n + 1) { grid-column: 2; }
}

.mines-art { background: radial-gradient(circle at 50% 45%, rgba(79, 115, 99, .28), rgba(20, 27, 39, .97) 72%); }
.mines-art-board { display: grid; grid-template-columns: repeat(4, 31px); grid-template-rows: repeat(4, 31px); gap: 4px; padding: 8px; transform: rotate(-7deg); border: 1px solid rgba(196,214,202,.18); border-radius: 12px; background: #1d2a36; box-shadow: 0 20px 40px rgba(0,0,0,.38); }
.mines-art-board span { display: grid; place-items: center; border: 1px solid rgba(211,223,243,.09); border-radius: 5px; color: #88baff; background: #43536a; font-size: 15px; font-weight: 850; }
.mines-art-board span:empty { background: rgba(225,231,242,.1); }
.mines-art-board span.mine { color: #ffe4d3; background: #a64f57; }
.mines-art-board span.flag { color: #ffad91; background: #57445a; }
.game-card-mines .game-art::before { background: rgba(127, 187, 130, .15); }
.rps-art { background: radial-gradient(circle at 50% 45%, rgba(124, 94, 156, .3), rgba(24, 23, 40, .97) 72%); }
.rps-art-symbols { display: flex; align-items: center; gap: 12px; transform: rotate(-7deg); }
.rps-art-symbols span { display: grid; width: 76px; height: 86px; place-items: center; border: 1px solid rgba(211,223,243,.13); border-radius: 17px; background: rgba(18,22,34,.82); font-size: 39px; box-shadow: 0 18px 34px rgba(0,0,0,.28); }
.rps-art-symbols i { color: #d8f879; font-size: 9px; font-style: normal; font-weight: 800; }
.game-card-rps .game-art::before { background: rgba(160, 121, 193, .15); }
@media (max-width: 920px) {
  .mines-art-board { grid-template-columns: repeat(4, 26px); grid-template-rows: repeat(4, 26px); }
  .rps-art-symbols span { width: 62px; height: 70px; font-size: 32px; }
}

.balloons-art { background: radial-gradient(circle at 50% 45%, rgba(255, 131, 187, .34), rgba(33, 28, 58, .97) 72%); }
.balloon-preview { position: relative; display: flex; align-items: center; gap: 3px; transform: rotate(-7deg); }
.balloon-preview span { font-size: 49px; filter: drop-shadow(0 12px 10px rgba(0,0,0,.25)); animation: preview-bob 1.7s ease-in-out infinite alternate; }
.balloon-preview span:nth-child(2) { margin-top: -33px; animation-delay: -.7s; }
.balloon-preview span:nth-child(3) { margin-top: 25px; animation-delay: -1.1s; }
.balloon-preview i { position: absolute; top: -25px; right: -20px; color: #ffe06c; font-size: 20px; font-style: normal; }
.game-card-balloons .game-art::before { background: rgba(255, 122, 180, .2); }
.colors-art { background: radial-gradient(circle at 50% 45%, rgba(107, 194, 199, .27), rgba(21, 31, 53, .97) 72%); }
.colors-preview { display: grid; grid-template-columns: repeat(2, 58px); gap: 8px; transform: rotate(-7deg); }
.colors-preview span { display: grid; width: 58px; height: 54px; place-items: center; border: 2px solid rgba(255,255,255,.47); border-radius: 17px; color: white; font-size: 24px; box-shadow: inset 0 -6px rgba(28,32,54,.14), 0 10px 20px rgba(0,0,0,.2); }
.colors-preview span:nth-child(1) { background: linear-gradient(145deg,#ff7ea8,#ed447c); }
.colors-preview span:nth-child(2) { background: linear-gradient(145deg,#ffdf72,#ffab40); }
.colors-preview span:nth-child(3) { background: linear-gradient(145deg,#89e99a,#40bd80); }
.colors-preview span:nth-child(4) { background: linear-gradient(145deg,#76d8f7,#4a92f0); }
.blocks-art { background: radial-gradient(circle at 50% 45%, rgba(104, 231, 213, .23), rgba(27, 25, 51, .97) 72%); }
.block-preview { display: grid; grid-template-columns: repeat(5, 25px); grid-template-rows: repeat(5, 25px); gap: 5px; transform: rotate(-7deg); }
.block-preview span { border: 1px solid rgba(255,255,255,.18); border-radius: 6px; background: transparent; }
.block-preview span.lime { background: linear-gradient(145deg,#e4ff9a,#abd85b); box-shadow: 0 5px 12px rgba(0,0,0,.2); }
.block-preview span.violet { background: linear-gradient(145deg,#d1b7ff,#8d72d3); box-shadow: 0 5px 12px rgba(0,0,0,.2); }
.block-preview span.teal { background: linear-gradient(145deg,#8cf1df,#48bfae); box-shadow: 0 5px 12px rgba(0,0,0,.2); }
.game-card-colors .game-art::before { background: rgba(142,233,220,.16); }
@keyframes preview-bob { to { translate: 0 -6px; } }
@media (max-width: 920px) { .balloon-preview span { font-size: 42px; }.colors-preview { grid-template-columns: repeat(2,50px); }.colors-preview span { width: 50px; height: 48px; } }

.player-zone { padding: 26px 0 4px; }
.player-card { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 25px; padding: 22px; border: 1px solid rgba(211,223,243,.14); border-radius: 24px; background: radial-gradient(circle at 2% 0%, rgba(189,126,255,.17), transparent 40%), linear-gradient(125deg,rgba(27,35,55,.94),rgba(16,22,35,.98)); box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.player-avatar-column { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid rgba(211,223,243,.1); }
.player-avatar { display: grid; width: 112px; height: 112px; place-items: center; border: 1px solid rgba(238,217,255,.35); border-radius: 33px; background: radial-gradient(circle at 32% 22%,rgba(255,255,255,.2),transparent 36%),linear-gradient(145deg,#7b70b8,#373450); box-shadow: 0 14px 35px rgba(12,14,30,.3),inset 0 1px rgba(255,255,255,.24); font-size: 62px; }
.player-label,.player-eyebrow { margin: 0; color: #c7b8ff; font-size: 9px; font-weight: 850; letter-spacing: .17em; }
.player-details { min-width: 0; }.player-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.player-heading-row h2 { margin: 3px 0 0; font-size: clamp(22px,3vw,30px); letter-spacing: -.06em; }.player-streak { padding: 8px 10px; border: 1px solid rgba(255,193,106,.24); border-radius: 999px; color: #ffd18d; background: rgba(255,193,106,.07); font-size: 10px; font-weight: 750; white-space: nowrap; }
.player-name-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }.player-name-row label { color: #9ca8bb; font-size: 10px; white-space: nowrap; }.player-name-row input { width: min(220px,100%); min-height: 34px; padding: 0 10px; border: 1px solid rgba(211,223,243,.14); border-radius: 9px; outline: none; color: var(--home-ink); background: rgba(8,12,21,.5); font: inherit; font-size: 11px; }.player-name-row input:focus { border-color: rgba(216,248,121,.54); }.player-name-row button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(216,248,121,.32); border-radius: 9px; color: var(--home-lime); background: rgba(216,248,121,.08); font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.avatar-picker { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }.avatar-picker button { display: grid; width: 33px; height: 32px; place-items: center; border: 1px solid rgba(211,223,243,.12); border-radius: 9px; background: rgba(255,255,255,.035); font-size: 18px; cursor: pointer; transition: transform .16s ease,border-color .16s ease,background .16s ease; }.avatar-picker button:hover { transform: translateY(-2px); }.avatar-picker button.is-selected { border-color: rgba(216,248,121,.65); background: rgba(216,248,121,.12); box-shadow: 0 0 0 2px rgba(216,248,121,.06); }
.player-level-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }.player-level-row strong { color: #e7f5b6; font-size: 11px; }.player-level-row span { color: #98a5bb; font-size: 9px; font-variant-numeric: tabular-nums; }.player-xp-track { height: 7px; overflow: hidden; margin-top: 6px; border-radius: 99px; background: rgba(2,7,14,.62); }.player-xp-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#d8f879,#9de8c9,#b8a9ff); box-shadow: 0 0 13px rgba(216,248,121,.35); transition: width .35s ease; }
.player-mission { display: flex; align-items: center; gap: 12px; margin-top: 11px; padding: 9px 11px; border: 1px solid rgba(216,248,121,.14); border-radius: 11px; background: rgba(216,248,121,.045); }.player-mission > span { color: var(--home-lime); font-size: 8px; font-weight: 850; letter-spacing: .12em; white-space: nowrap; }.player-mission p { margin: 0; color: #d0d9df; font-size: 10px; line-height: 1.4; }
.player-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }.player-badge { padding: 5px 8px; border: 1px solid rgba(211,223,243,.08); border-radius: 999px; color: #707d92; background: rgba(255,255,255,.025); font-size: 9px; filter: grayscale(1); opacity: .6; }.player-badge.is-unlocked { border-color: rgba(195,177,255,.24); color: #ded6ff; background: rgba(174,147,255,.1); filter: none; opacity: 1; }
.player-feedback { margin: 9px 0 0; color: #d8f879; font-size: 10px; font-weight: 750; }.player-feedback[hidden] { display: none; }.player-note { display: block; margin-top: 8px; color: #7f8ba0; font-size: 9px; }
@media (max-width: 700px) { .player-card { grid-template-columns: 115px minmax(0,1fr); gap: 15px; padding: 16px; }.player-avatar-column { padding-right: 13px; }.player-avatar { width: 84px; height: 84px; border-radius: 26px; font-size: 46px; }.player-heading-row { align-items: start; flex-direction: column; }.player-streak { padding: 6px 8px; }.player-mission { align-items: start; flex-direction: column; gap: 5px; } }
@media (max-width: 520px) { .player-zone { padding-top: 17px; }.player-card { grid-template-columns: 1fr; gap: 13px; }.player-avatar-column { flex-direction: row; justify-content: start; gap: 13px; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid rgba(211,223,243,.1); }.player-avatar { width: 58px; height: 58px; border-radius: 18px; font-size: 32px; }.player-heading-row { flex-direction: row; align-items: center; }.player-heading-row h2 { font-size: 23px; }.player-name-row { flex-wrap: wrap; }.player-name-row input { flex: 1; min-width: 110px; }.player-mission { flex-direction: row; align-items: center; }.player-streak { font-size: 9px; } }
