:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #0b101a;
  color: #f5f7f8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
#games,
#ranking {
  scroll-margin-top: 76px;
}
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 70% 6%, #1b2340 0, transparent 31%), #0b101a;
}
button,
a {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.site-header {
  border-bottom: 1px solid #ffffff12;
  background: #0b101acc;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -1.4px;
  white-space: nowrap;
}
.brand small {
  font-size: 12px;
  letter-spacing: 0;
  color: #8892a6;
}
.brand-accent,
.footer-brand span {
  color: #c9f363;
}
.brand-icon {
  width: 31px;
  height: 31px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  transform: rotate(-14deg);
}
.brand-icon i {
  border-radius: 4px;
  background: #c9f363;
}
.brand-icon i:nth-child(2),
.brand-icon i:nth-child(3) {
  background: #8ee9ef;
}
.header-inner nav {
  display: flex;
  gap: 31px;
  margin-left: auto;
}
.header-inner nav a {
  font-size: 14px;
  color: #b7c0cd;
  transition: color 0.2s;
}
.header-inner nav a:hover {
  color: #fff;
}
.language {
  border: 1px solid #354050;
  background: #161d2b;
  color: #fff;
  border-radius: 10px;
  min-width: 52px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}
.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 70px;
}
.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
  color: #c9f363;
  margin: 0 0 20px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse {
  width: 7px;
  height: 7px;
  background: #c9f363;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #c9f36320;
  display: inline-block;
  flex: none;
}
.hero h1 {
  font-size: clamp(47px, 5.4vw, 75px);
  line-height: 1.13;
  letter-spacing: -4px;
  margin: 0 0 23px;
  font-weight: 900;
}
.hero h1 em {
  font-style: normal;
  color: #c9f363;
}
.hero-description {
  max-width: 515px;
  font-size: 17px;
  line-height: 1.8;
  color: #aab4c2;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 800;
  font-size: 13px;
}
.button-primary {
  background: #c9f363;
  color: #111b13;
  box-shadow: 0 8px 26px #baf45b28;
}
.button-primary:hover {
  background: #d9ff7d;
}
.button-ghost {
  border: 1px solid #3b4657;
  background: #ffffff08;
}
.button-ghost:hover {
  background: #ffffff14;
}
.hero-facts {
  display: flex;
  gap: 37px;
  margin-top: 59px;
}
.hero-facts div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-facts strong {
  font-size: 25px;
  letter-spacing: -1px;
}
.hero-facts span {
  font-size: 12px;
  color: #8892a2;
}
.hero-art {
  height: 490px;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.art-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: #91d6e51c;
  border-radius: 50%;
  filter: blur(12px);
}
.art-orbit {
  position: absolute;
  border: 1px solid #92a8be1b;
  border-radius: 50%;
  width: 440px;
  height: 440px;
  transform: rotate(-17deg) scaleY(0.72);
}
.orbit-two {
  width: 530px;
  height: 530px;
  transform: rotate(26deg) scaleY(0.7);
}
.art-controller {
  width: 330px;
  height: 220px;
  border-radius: 95px 95px 105px 105px;
  background: linear-gradient(140deg, #f6f8ed, #b9c8c8 54%, #85969c);
  transform: rotate(-12deg);
  box-shadow:
    inset 0 10px 16px #fff8,
    inset 0 -18px 22px #4d607050,
    0 42px 70px #0009;
  position: relative;
  z-index: 2;
}
.art-controller:before,
.art-controller:after {
  content: "";
  position: absolute;
  bottom: -32px;
  width: 88px;
  height: 115px;
  background: linear-gradient(#c1d0ce, #80949a);
  border-radius: 15px 20px 46px 52px;
  z-index: -1;
}
.art-controller:before {
  left: 12px;
  transform: rotate(20deg);
}
.art-controller:after {
  right: 12px;
  transform: rotate(-20deg);
}
.art-top {
  position: absolute;
  top: 29px;
  left: 128px;
  width: 76px;
  height: 25px;
  background: #86959b;
  border-radius: 18px;
  box-shadow: inset 0 3px 5px #50616b;
}
.art-dpad {
  position: absolute;
  left: 55px;
  top: 87px;
  font-size: 68px;
  font-weight: 900;
  color: #253541;
  line-height: 1;
  text-shadow: 2px 4px 2px #53656b;
}
.art-buttons {
  position: absolute;
  right: 58px;
  top: 79px;
  width: 100px;
  height: 92px;
}
.art-buttons b {
  position: absolute;
  width: 28px;
  height: 28px;
  background: #d06d7d;
  border: 4px solid #943b50;
  border-radius: 50%;
  box-shadow:
    inset 2px 3px 4px #f5a4a8,
    2px 3px 3px #617078;
}
.art-buttons b:nth-child(1) {
  left: 36px;
  top: 0;
  background: #c9f363;
  border-color: #88ae3a;
}
.art-buttons b:nth-child(2) {
  left: 0;
  top: 34px;
  background: #8de4e9;
  border-color: #4d9da9;
}
.art-buttons b:nth-child(3) {
  right: 0;
  top: 34px;
}
.art-buttons b:nth-child(4) {
  left: 36px;
  bottom: 0;
  background: #f9c876;
  border-color: #b38340;
}
.art-center {
  position: absolute;
  left: 136px;
  top: 117px;
  display: flex;
  gap: 14px;
}
.art-center i {
  width: 22px;
  height: 9px;
  border-radius: 8px;
  background: #62747b;
  transform: rotate(-22deg);
}
.art-star {
  position: absolute;
  color: #c9f363;
  font-size: 42px;
  z-index: 1;
}
.star-one {
  top: 55px;
  right: 73px;
}
.star-two {
  bottom: 69px;
  left: 40px;
  color: #8ee9ef;
  font-size: 31px;
}
.star-three {
  top: 86px;
  left: 58px;
  font-size: 20px;
}
.art-tag {
  position: absolute;
  right: 7px;
  bottom: 46px;
  background: #182235;
  border: 1px solid #ffffff24;
  border-radius: 10px;
  padding: 12px 14px;
  color: #b9c5d2;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 800;
  transform: rotate(6deg);
  z-index: 3;
  box-shadow: 0 12px 30px #0007;
}
.art-tag span {
  color: #c9f363;
  margin-left: 17px;
}
.games-section {
  background: #101724;
  border-top: 1px solid #ffffff0e;
  border-bottom: 1px solid #ffffff0e;
  padding: 84px 0 99px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-heading .section-kicker {
  margin-bottom: 13px;
}
.section-heading h2 {
  font-size: clamp(28px, 3vw, 39px);
  letter-spacing: -1.4px;
  margin: 0 0 8px;
}
.section-heading p:not(.section-kicker) {
  color: #97a3b4;
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}
.filter-group {
  display: flex;
  gap: 7px;
  background: #0b101a;
  border: 1px solid #2a3544;
  border-radius: 12px;
  padding: 5px;
}
.filter {
  border: 0;
  background: none;
  color: #93a0ad;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  padding: 9px 16px;
}
.filter.active {
  background: #c9f363;
  color: #142014;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.game-card {
  background: #192232;
  border: 1px solid #2b3748;
  border-radius: 19px;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: #718e69;
}
.game-art {
  height: 230px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.game-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#fff1 1px, transparent 1px),
    linear-gradient(90deg, #fff1 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, #0006, transparent);
}
.snake-art {
  background: radial-gradient(circle at 50% 40%, #324a44, #142b32 70%);
}
.snake-path {
  font-family: monospace;
  color: #c9f363;
  font-size: 34px;
  font-weight: 900;
  line-height: 0.82;
  white-space: pre;
  transform: rotate(-10deg);
  text-shadow: 0 0 19px #b6ff57;
}
.tile-art {
  background: radial-gradient(circle at 50% 45%, #4a3a53, #29263f 70%);
}
.tile-demo,
.memory-demo {
  display: grid;
  grid-template-columns: repeat(2, 70px);
  gap: 8px;
  transform: rotate(-10deg);
}
.tile-demo span {
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f4cf83;
  color: #553c32;
  font-size: 27px;
  font-weight: 900;
  box-shadow: 0 7px 14px #0003;
}
.tile-demo span:nth-child(2) {
  background: #f7b87a;
}
.tile-demo span:nth-child(3) {
  background: #e99882;
}
.tile-demo span:nth-child(4) {
  background: #e87d82;
  color: #fff;
}
.memory-art {
  background: radial-gradient(circle at 50% 40%, #374564, #202944 70%);
}
.memory-demo {
  grid-template-columns: repeat(2, 66px);
  transform: rotate(10deg);
}
.memory-demo span {
  height: 66px;
  border-radius: 13px;
  background: #b5d1f3;
  color: #39506d;
  font-size: 31px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 7px 14px #0004;
}
.memory-demo span:nth-child(2),
.memory-demo span:nth-child(3) {
  background: #405677;
  color: #b5d1f3;
}
.mines-art {
  background: radial-gradient(circle at 50% 40%, #395263, #183042 75%);
}
.mines-demo {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  gap: 5px;
  transform: rotate(-9deg);
}
.mines-demo span {
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #8cb9c6;
  color: #1c4051;
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 5px 12px #0003;
}
.mines-demo span:nth-child(3),
.mines-demo span:nth-child(5) {
  background: #e6937e;
  color: #fff;
}
.mines-demo span:nth-child(6),
.mines-demo span:nth-child(8),
.mines-demo span:nth-child(9) {
  background: #315368;
  color: #a5d3dc;
}
.tic-art {
  background: radial-gradient(circle at 50% 40%, #51406b, #302641 75%);
}
.tic-demo {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  gap: 5px;
  transform: rotate(8deg);
}
.tic-demo span {
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #493a65;
  color: #c9f363;
  font-size: 34px;
  font-weight: 800;
}
.tic-demo span:nth-child(even) {
  color: #8ee9ef;
}
.connect-art {
  background: radial-gradient(circle at 50% 40%, #3d466f, #1e2949 75%);
}
.connect-demo {
  display: grid;
  grid-template-columns: repeat(4, 39px);
  gap: 7px;
  transform: rotate(-8deg);
}
.connect-demo span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c9f363;
  color: #c9f363;
  box-shadow: 0 6px 12px #0005;
}
.connect-demo span:nth-child(3n) {
  background: #8ee9ef;
  color: #8ee9ef;
}
.reaction-art {
  background: radial-gradient(circle at 50% 45%, #36564f, #19362f 75%);
}
.reaction-demo {
  font-size: 61px;
  font-weight: 900;
  color: #c9f363;
  letter-spacing: -4px;
  text-shadow: 0 0 28px #b8ed68a0;
  transform: rotate(-7deg);
}
.reaction-demo span {
  font-size: 28px;
  letter-spacing: 0;
}
.simon-art {
  background: radial-gradient(circle at 50% 45%, #514456, #302a40 75%);
}
.simon-demo {
  display: grid;
  grid-template-columns: repeat(2, 68px);
  gap: 7px;
  transform: rotate(9deg);
}
.simon-demo span {
  height: 68px;
  border-radius: 14px 4px 4px 4px;
  background: #c9f363;
  box-shadow: 0 7px 17px #0005;
}
.simon-demo span:nth-child(2) {
  background: #8ee9ef;
  border-radius: 4px 14px 4px 4px;
}
.simon-demo span:nth-child(3) {
  background: #f7c77c;
  border-radius: 4px 4px 4px 14px;
}
.simon-demo span:nth-child(4) {
  background: #e98c98;
  border-radius: 4px 4px 14px 4px;
}
.art-number {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.3px;
  color: #ffffffaa;
}
.game-info {
  padding: 23px;
}
.game-meta {
  display: flex;
  gap: 8px;
  color: #c9f363;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 800;
}
.game-meta span:last-child {
  color: #91a0b2;
}
.game-info h3 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 12px 0 6px;
}
.game-info p {
  color: #97a4b5;
  font-size: 13px;
  margin: 0;
  min-height: 40px;
  line-height: 1.6;
}
.card-play {
  border: 0;
  border-top: 1px solid #ffffff16;
  margin-top: 18px;
  padding: 17px 0 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: none;
  color: #eaf3f3;
  font-size: 12px;
  font-weight: 800;
}
.card-play span:last-child {
  color: #c9f363;
  font-size: 17px;
  line-height: 12px;
}
.guide-section {
  padding-top: 87px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.guide-card {
  position: relative;
  padding: 25px;
  min-height: 215px;
  display: flex;
  flex-direction: column;
  align-items: start;
  background: #172131;
  border: 1px solid #2b384b;
  border-radius: 17px;
}
.guide-symbol {
  color: #c9f363;
  font-size: 28px;
  line-height: 1;
}
.guide-time {
  position: absolute;
  right: 24px;
  top: 28px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #8694a8;
}
.guide-card h3 {
  margin: 21px 0 7px;
  font-size: 18px;
}
.guide-card p {
  margin: 0;
  color: #96a4b6;
  font-size: 12px;
  line-height: 1.65;
}
.guide-card button {
  margin-top: auto;
  padding: 17px 0 0;
  border: 0;
  background: none;
  color: #c9f363;
  font-size: 12px;
  font-weight: 800;
}
.ranking-section {
  padding-top: 91px;
  padding-bottom: 104px;
}
.ranking-heading {
  margin-bottom: 28px;
}
.ranking-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c9f363;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 850;
}
.refresh {
  border: 1px solid #334054;
  color: #c4d0dc;
  background: #162031;
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
}
.refresh:hover {
  border-color: #a4bb78;
}
.refresh:disabled {
  opacity: 0.6;
  cursor: wait;
}
.chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px;
  color: #91a0b4;
  font-size: 12px;
}
.chart-toolbar label {
  font-weight: 700;
}
.chart-toolbar input {
  width: min(310px, 100%);
  margin-right: auto;
  border: 1px solid #35445a;
  border-radius: 9px;
  padding: 10px 12px;
  background: #182335;
  color: #fff;
  font: inherit;
}
.chart-toolbar input::placeholder {
  color: #8190a2;
}
.chart-toolbar #chart-count {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ranking-panel {
  background: #121b2a;
  border: 1px solid #2b3647;
  border-radius: 17px;
  overflow: hidden;
}
.ranking-table-head,
.chart-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 155px;
  align-items: center;
  gap: 15px;
  padding: 0 25px;
}
.ranking-table-head {
  height: 48px;
  background: #1b2738;
  color: #8190a3;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 850;
}
.ranking-table-head span:last-child {
  text-align: right;
}
.chart-row {
  min-height: 61px;
  border-top: 1px solid #ffffff0c;
}
.chart-row:hover {
  background: #ffffff07;
}
.chart-rank {
  font-weight: 900;
  color: #aebbd0;
  font-size: 14px;
}
.chart-row.top-three .chart-rank {
  color: #c9f363;
}
.chart-game {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 720;
  font-size: 13px;
}
.chart-game span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chart-game:hover {
  color: #c9f363;
}
.chart-icon {
  width: 29px;
  height: 29px;
  flex: none;
  background: linear-gradient(135deg, #263a50, #506d78);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #c9f363;
  font-size: 12px;
  font-weight: 850;
}
.chart-players {
  text-align: right;
  font-size: 13px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.chart-message {
  padding: 30px 25px;
  margin: 0;
  color: #aab7c5;
  font-size: 13px;
}
.ranking-foot {
  border-top: 1px solid #ffffff12;
  padding: 17px 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8190a3;
  font-size: 11px;
}
.ranking-foot a {
  color: #c9f363;
  font-weight: 700;
}
.ranking-foot a:hover {
  text-decoration: underline;
}
.ranking-explain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.ranking-explain div {
  padding: 20px 0;
  border-top: 1px solid #3a4657;
}
.ranking-explain strong {
  font-size: 13px;
  color: #d8e3e7;
}
.ranking-explain p {
  color: #8c9aaa;
  font-size: 12px;
  line-height: 1.65;
  margin: 9px 0 0;
}
.steam-detail {
  min-height: calc(100vh - 183px);
  padding: 48px 0 100px;
}
.detail-back {
  display: inline-block;
  margin-bottom: 55px;
  color: #aebbd0;
  font-size: 13px;
}
.detail-back:hover {
  color: #c9f363;
}
.steam-detail .section-kicker {
  margin-bottom: 18px;
}
.detail-status {
  color: #aab7c5;
  font-size: 14px;
}
.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
.detail-content[hidden] {
  display: none;
}
.detail-image-wrap {
  min-height: 215px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, #263d55, #121b2a 65%);
  border: 1px solid #2b3647;
  border-radius: 16px;
  overflow: hidden;
}
.detail-image-wrap::before {
  content: "STEAM";
  grid-area: 1 / 1;
  color: #8290a2;
  font-size: 38px;
  font-weight: 850;
  letter-spacing: 5px;
  opacity: 0.45;
}
.detail-image-wrap img {
  display: block;
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  height: auto;
}
.detail-image-wrap img[hidden] {
  display: none;
}
.detail-source {
  margin: 0 0 14px;
  color: #c9f363;
  font-size: 12px;
  font-weight: 800;
}
.detail-body h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.13;
  letter-spacing: -2px;
}
.detail-description {
  margin: 0 0 24px;
  color: #bac5d3;
  line-height: 1.8;
  white-space: pre-line;
}
.detail-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.detail-genres span {
  padding: 7px 11px;
  border: 1px solid #39495b;
  border-radius: 99px;
  color: #c9d5e2;
  font-size: 12px;
}
.detail-facts {
  margin: 0 0 32px;
  border-top: 1px solid #ffffff18;
}
.detail-facts div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #ffffff18;
  font-size: 13px;
}
.detail-facts dt {
  color: #8290a2;
}
.detail-facts dd {
  margin: 0;
  color: #e1e9f0;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.detail-note {
  margin: 20px 0 0;
  color: #8290a2;
  font-size: 11px;
}
footer {
  border-top: 1px solid #ffffff12;
  background: #090e17;
}
.footer-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-brand {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -1px;
}
.footer-inner p {
  max-width: 500px;
  color: #8290a2;
  font-size: 11px;
  line-height: 1.6;
}
.footer-meta {
  max-width: 500px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 10px;
  color: #c9d3de;
  font-size: 12px;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #c9f363;
  text-decoration: underline;
}
.footer-inner > span:last-child {
  color: #728093;
  font-size: 11px;
  white-space: nowrap;
}
.legal-page {
  max-width: 850px;
  min-height: calc(100vh - 182px);
  padding: 54px 0 90px;
}
.legal-page .detail-back {
  display: inline-block;
  margin-bottom: 48px;
}
.legal-page h1 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.04em;
}
.legal-page .legal-lead {
  color: #c9d3de;
  font-size: 18px;
}
.legal-page section {
  margin-top: 36px;
}
.legal-page h2 {
  font-size: 20px;
}
.legal-page section p {
  color: #a8b5c4;
  line-height: 1.8;
}
dialog {
  width: min(500px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 1px solid #4a596c;
  border-radius: 19px;
  background: #141e2e;
  color: #f5f7f8;
  padding: 22px;
  box-shadow: 0 30px 80px #000b;
}
dialog::backdrop {
  background: #050a11d9;
  backdrop-filter: blur(6px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
}
.dialog-head .section-kicker {
  margin-bottom: 7px;
}
.dialog-head h2 {
  margin: 0;
  font-size: 23px;
}
.close-game {
  border: 1px solid #405067;
  background: #1f2c40;
  color: #fff;
  border-radius: 9px;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
}
.game-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #c3cdda;
  font-size: 12px;
  margin-bottom: 12px;
}
.game-status strong {
  color: #c9f363;
  font-size: 16px;
}
.game-status button,
.game-controls button {
  background: #26374b;
  color: #fff;
  border: 1px solid #41566d;
  border-radius: 9px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 800;
}
.game-controls {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.game-controls button {
  min-width: 52px;
  min-height: 43px;
}
.game-help {
  color: #94a2b5;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  margin: 13px 0 0;
}
.snake-canvas {
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: block;
  margin: auto;
  background: #101a27;
  border: 1px solid #3a4a55;
  border-radius: 13px;
  touch-action: none;
}
.tile-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #243448;
  border-radius: 13px;
  padding: 8px;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: auto;
}
.tile-cell {
  border-radius: 8px;
  background: #35485d;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: clamp(17px, 6vw, 29px);
  color: #203042;
}
.tile-cell[data-value="0"] {
  color: transparent;
}
.tile-cell[data-value="2"] {
  background: #dbe6c9;
}
.tile-cell[data-value="4"] {
  background: #c9f363;
}
.tile-cell[data-value="8"] {
  background: #f2d17f;
}
.tile-cell[data-value="16"] {
  background: #f2ad70;
}
.tile-cell[data-value="32"] {
  background: #e98c78;
  color: #fff;
}
.tile-cell[data-value="64"] {
  background: #db7079;
  color: #fff;
}
.tile-cell[data-value="128"],
.tile-cell[data-value="256"],
.tile-cell[data-value="512"],
.tile-cell[data-value="1024"],
.tile-cell[data-value="2048"] {
  background: #8de5dc;
  color: #193b43;
}
.memory-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: min(100%, 360px);
  margin: auto;
}
.memory-card {
  aspect-ratio: 1;
  border: 1px solid #59718c;
  border-radius: 10px;
  background: #334965;
  color: #c9f363;
  font-size: 30px;
  font-weight: 900;
}
.memory-card.revealed,
.memory-card.matched {
  background: #c9f363;
  color: #26352b;
}
.memory-card.matched {
  opacity: 0.65;
}
.memory-card:disabled {
  cursor: default;
}
.mines-board {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  margin: auto;
}
.mines-cell {
  aspect-ratio: 1;
  border: 1px solid #5a7185;
  border-radius: 5px;
  background: #36516a;
  color: #ecf5f0;
  font-size: clamp(10px, 3vw, 17px);
  font-weight: 900;
  padding: 0;
}
.mines-cell.revealed {
  background: #22354a;
  border-color: #30465b;
}
.mines-cell.mine {
  background: #e88c85;
  color: #fff;
}
.mines-cell.flagged {
  color: #c9f363;
}
.mines-tools {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.mines-tools button {
  border: 1px solid #486077;
  border-radius: 9px;
  color: #c9f363;
  background: #26384c;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 800;
}
.mines-tools button.active {
  color: #18271d;
  background: #c9f363;
}
.tic-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  width: min(100%, 330px);
  margin: auto;
}
.tic-cell {
  aspect-ratio: 1;
  border: 1px solid #5b6b83;
  border-radius: 11px;
  background: #27394f;
  color: #c9f363;
  font-size: 50px;
  font-weight: 800;
}
.tic-cell[data-value="O"] {
  color: #8ee9ef;
}
.tic-cell:disabled {
  cursor: default;
}
.connect-board {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: min(100%, 395px);
  padding: 9px;
  margin: auto;
  background: #263a63;
  border-radius: 13px;
}
.connect-cell {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: #121c31;
  padding: 0;
}
.connect-cell[data-value="1"] {
  background: #c9f363;
}
.connect-cell[data-value="2"] {
  background: #8ee9ef;
}
.connect-board:not(.finished) .connect-cell:hover {
  box-shadow: inset 0 0 0 3px #ffffff80;
  cursor: pointer;
}
.reaction-target {
  width: min(100%, 360px);
  min-height: 270px;
  display: grid;
  place-items: center;
  text-align: center;
  margin: auto;
  border: 1px solid #52627a;
  border-radius: 14px;
  background: #27384f;
  color: #f5f7f8;
  font-size: 20px;
  font-weight: 850;
  padding: 25px;
}
.reaction-target.waiting {
  background: #b3655f;
}
.reaction-target.ready {
  background: #669b4d;
  color: #fff;
}
.reaction-target.done {
  background: #2d5b61;
}
.simon-board {
  width: min(100%, 340px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: auto;
}
.simon-pad {
  aspect-ratio: 1;
  border: 0;
  border-radius: 20px;
  opacity: 0.68;
}
.simon-pad:nth-child(1) {
  background: #bde55d;
}
.simon-pad:nth-child(2) {
  background: #8ee9ef;
}
.simon-pad:nth-child(3) {
  background: #f4bd6e;
}
.simon-pad:nth-child(4) {
  background: #e68d96;
}
.simon-pad.active,
.simon-pad:active {
  opacity: 1;
  filter: brightness(1.35);
  box-shadow: 0 0 22px currentColor;
}

/* Give the collection a clear starting point and separate each reading layer. */
.hero {
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: min(62vw, 690px);
  aspect-ratio: 1;
  right: -5%;
  top: -8%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #a8d7cf12,
    #8fb2ff08 43%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-copy,
.hero-art {
  z-index: 1;
}
.games-section {
  background:
    radial-gradient(circle at 14% 10%, #293d3b46, transparent 34%),
    linear-gradient(180deg, #121c2b, #101724 42%, #101724);
}
.section-heading h2 {
  text-wrap: balance;
}
.game-card {
  box-shadow:
    0 14px 34px #0409122e,
    inset 0 1px #ffffff0a;
}
.game-card:first-child:not([hidden]) {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: linear-gradient(135deg, #213346, #182534 70%);
  border-color: #557269;
}
.game-card:first-child .game-art {
  height: 100%;
  min-height: 285px;
}
.game-card:first-child .snake-path {
  font-size: 48px;
}
.game-card:first-child .game-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3vw, 46px);
}
.game-card:first-child .game-info h3 {
  font-size: clamp(26px, 2.7vw, 35px);
}
.game-card:first-child .game-info p {
  max-width: 28ch;
  min-height: 0;
  font-size: 14px;
}
.game-card:first-child .card-play {
  margin-top: 30px;
}
.guide-section {
  position: relative;
  padding-bottom: 78px;
}
.guide-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 39px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #65847468, transparent);
}
.guide-card {
  background: linear-gradient(145deg, #1b2939, #141e2e);
  box-shadow:
    0 15px 35px #03070f3b,
    inset 0 1px #ffffff0b;
}
.guide-card:nth-child(2) {
  transform: translateY(14px);
  border-color: #59716b;
}
.guide-card:nth-child(3) {
  transform: translateY(28px);
}
.guide-card:hover {
  border-color: #9dbd7e;
}
.ranking-section {
  position: relative;
}
.ranking-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #60788880, transparent);
}
.ranking-panel {
  box-shadow: 0 24px 50px #03070e70;
}
.chart-row:nth-child(-n + 3) {
  background: linear-gradient(90deg, #c9f3630c, transparent 55%);
}
.chart-row:nth-child(-n + 3) .chart-rank {
  font-size: 17px;
}
@media (max-width: 860px) {
  .game-card:first-child:not([hidden]) {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .hero {
    overflow: clip;
  }
  .hero::before {
    width: 100vw;
    right: -25%;
    top: 20%;
  }
  .game-card:first-child:not([hidden]) {
    grid-column: auto;
    display: block;
  }
  .game-card:first-child .game-art {
    height: 205px;
    min-height: 0;
  }
  .game-card:first-child .snake-path {
    font-size: 34px;
  }
  .game-card:first-child .game-info {
    padding: 23px;
  }
  .guide-section {
    padding-bottom: 65px;
  }
  .guide-card:nth-child(2),
  .guide-card:nth-child(3) {
    transform: none;
  }
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid #c9f363;
  outline-offset: 3px;
}
@media (max-width: 860px) {
  .detail-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-image-wrap {
    max-width: 600px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 72px;
  }
  .hero-copy {
    max-width: 630px;
  }
  .hero-art {
    height: 360px;
    transform: scale(0.78);
    margin: -20px auto -30px;
    width: 100%;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-inner {
    flex-wrap: wrap;
    padding: 26px 0;
    min-height: 0;
  }
  .footer-meta {
    order: 3;
    width: 100%;
    max-width: none;
  }
  .footer-inner p {
    margin: 0;
  }
}
@media (max-width: 620px) {
  .steam-detail {
    padding: 30px 0 70px;
  }
  .detail-back {
    margin-bottom: 42px;
  }
  .detail-image-wrap {
    min-height: 150px;
  }
  .shell {
    width: min(100% - 32px, 1180px);
  }
  .header-inner {
    height: 64px;
    gap: 14px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-icon {
    width: 25px;
    height: 25px;
    gap: 3px;
  }
  .brand small {
    font-size: 9px;
  }
  .header-inner nav {
    gap: 14px;
  }
  .header-inner nav a {
    font-size: 11px;
  }
  .language {
    min-width: 42px;
    padding: 7px;
    font-size: 10px;
  }
  .hero {
    padding-top: 56px;
    padding-bottom: 35px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(40px, 11vw, 59px);
    letter-spacing: -2.7px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-facts {
    gap: 25px;
    margin-top: 40px;
  }
  .hero-facts strong {
    font-size: 20px;
  }
  .hero-facts span {
    font-size: 10px;
  }
  .hero-art {
    height: 300px;
    transform: scale(0.6);
    width: 500px;
    max-width: none;
    left: 50%;
    margin-left: -250px;
    margin-top: -26px;
    margin-bottom: -54px;
  }
  .games-section {
    padding: 60px 0 68px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .filter-group {
    margin-top: 2px;
    flex-wrap: wrap;
  }
  .filter {
    padding: 9px 11px;
  }
  .guide-section {
    padding-top: 64px;
  }
  .guide-grid,
  .ranking-explain {
    grid-template-columns: 1fr;
  }
  .guide-card {
    min-height: 190px;
  }
  .chart-toolbar {
    flex-wrap: wrap;
  }
  .chart-toolbar input {
    order: 3;
    width: 100%;
    margin-right: 0;
  }
  .chart-toolbar #chart-count {
    margin-left: auto;
  }
  .ranking-explain {
    gap: 0;
  }
  .ranking-explain div {
    padding: 16px 0;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .game-art {
    height: 205px;
  }
  .game-info p {
    min-height: 0;
  }
  .ranking-section {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .ranking-actions {
    width: 100%;
    justify-content: space-between;
  }
  .ranking-table-head,
  .chart-row {
    grid-template-columns: 42px minmax(0, 1fr) 92px;
    gap: 7px;
    padding: 0 13px;
  }
  .ranking-table-head {
    font-size: 9px;
  }
  .chart-game {
    font-size: 11px;
    gap: 7px;
  }
  .chart-icon {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
  .chart-players {
    font-size: 11px;
  }
  .ranking-foot {
    padding: 14px 13px;
    flex-direction: column;
  }
  .footer-inner {
    gap: 9px;
  }
  .footer-inner p {
    line-height: 1.5;
  }
  dialog {
    padding: 16px;
  }
}

/* Ucool's own game screens lead the page. */
:root {
  --ink: #f4f5ed;
  --muted: #b6c0c2;
  --line: #354246;
  --lime: #c9f363;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
  background: #0d1519;
  color: var(--ink);
}
.skip-link {
  position: fixed;
  z-index: 30;
  left: 16px;
  top: 12px;
  padding: 12px 16px;
  background: var(--lime);
  color: #142018;
  transform: translateY(-160%);
}
.shell {
  width: min(1200px, calc(100% - 48px));
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  background: #0d1519ed;
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.header-inner nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d0d7d4;
  font-size: 14px;
  font-weight: 650;
}
.header-inner nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.header-inner nav a:hover::after,
.header-inner nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}
.language {
  min-height: 44px;
  background: transparent;
  border-color: #566261;
  border-radius: 4px;
  font-size: 12px;
}
.brand { min-height: 44px; }
.hero {
  min-height: calc(100svh - 76px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 100px);
  padding-block: 52px;
}
.hero::before {
  display: none;
}
.hero-copy {
  position: relative;
}
.hero h1 {
  max-width: 9.5em;
  font-size: clamp(54px, 5vw, 76px);
  line-height: 1.12;
  letter-spacing: -.055em;
  margin-bottom: 26px;
}
.hero h1 em {
  color: var(--lime);
}
.eyebrow {
  color: var(--lime);
  font-size: 12px;
  letter-spacing: .14em;
  margin-bottom: 26px;
}
.hero-description {
  max-width: 29em;
  color: #c4cdca;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 35px;
}
.button {
  min-height: 52px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(1px);
}
.button-primary {
  box-shadow: none;
  background: var(--lime);
  color: #142018;
}
.button-ghost {
  background: transparent;
  border-color: #61716b;
}
.button-ghost:hover {
  background: #ffffff10;
  border-color: #becfbd;
}
.hero-note {
  margin: 40px 0 0;
  color: #aebcb7;
  font-size: 12px;
  letter-spacing: .05em;
}
.hero-art {
  width: 100%;
  height: auto;
  min-height: 490px;
  display: grid;
  place-items: center;
  transform: none;
  margin: 0;
}
.hero-game-window {
  width: min(100%, 540px);
  padding: 12px;
  background: #182427;
  border: 1px solid #58675e;
  box-shadow: 20px 24px 0 #91b75814, 0 32px 80px #0007;
}
.hero-game-bar,
.hero-game-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  color: #d8e4d8;
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}
.hero-game-bar > span:last-child,
.hero-game-status > span:last-child {
  color: var(--lime);
}
.hero-game-dots {
  display: flex;
  gap: 5px;
}
.hero-game-dots i {
  width: 6px;
  height: 6px;
  border: 1px solid #9bb2a7;
  border-radius: 50%;
}
.hero-game-dots i:first-child {
  background: var(--lime);
  border-color: var(--lime);
}
.hero-game-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(9, 1fr);
  gap: 4px;
  padding: 12px;
  aspect-ratio: 1.22;
  overflow: hidden;
  border: 1px solid #3e5e58;
  background-color: #102320;
  background-image: linear-gradient(#35564a5e 1px, transparent 1px), linear-gradient(90deg, #35564a5e 1px, transparent 1px);
  background-size: calc(100% / 12) calc(100% / 9);
}
.hero-snake,
.hero-food {
  z-index: 1;
  display: block;
  border-radius: 3px;
  background: var(--lime);
  box-shadow: 0 0 18px #c9f363a0;
}
.hero-snake.s1 { grid-area: 6 / 3; }
.hero-snake.s2 { grid-area: 6 / 4; }
.hero-snake.s3 { grid-area: 6 / 5; }
.hero-snake.s4 { grid-area: 5 / 5; }
.hero-snake.s5 { grid-area: 4 / 5; }
.hero-snake.s6 { grid-area: 4 / 6; }
.hero-snake.s7 { grid-area: 4 / 7; }
.hero-snake.s8 { grid-area: 5 / 7; }
.hero-snake.s9 { grid-area: 6 / 7; background: #e7ffc2; }
.hero-food {
  grid-area: 6 / 10;
  background: #ff9b6b;
  box-shadow: 0 0 20px #ff9b6baa;
}
.hero-board-glow {
  position: absolute;
  width: 55%;
  height: 55%;
  top: 20%;
  left: 18%;
  border-radius: 50%;
  background: #b8ff5812;
  filter: blur(28px);
}
.hero-game-status {
  padding-top: 14px;
  padding-bottom: 5px;
}
.hero-game-status strong {
  color: #fff;
  font-size: 14px;
}
[data-enter] .hero-copy,
[data-enter] .hero-game-window {
  animation: hero-in .65s both;
}
[data-enter] .hero-game-window { animation-delay: .12s; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.games-section {
  background: #152024;
  border-color: #354246;
  padding-block: 100px 110px;
}
.section-heading {
  margin-bottom: 42px;
}
.section-heading h2 {
  font-size: clamp(34px, 3.6vw, 50px);
  letter-spacing: -.045em;
}
.section-heading p:not(.section-kicker) {
  color: #b6c0c2;
  font-size: 16px;
}
.section-kicker {
  color: var(--lime);
  font-size: 12px;
  letter-spacing: .12em;
}
.filter-group {
  border: 0;
  border-bottom: 1px solid #5b6a68;
  border-radius: 0;
  padding: 0;
  gap: 0;
  background: none;
}
.filter {
  min-height: 44px;
  padding: 0 15px;
  border-radius: 0;
  color: #c0cbc7;
  font-size: 13px;
}
.filter.active {
  background: transparent;
  box-shadow: inset 0 -3px var(--lime);
  color: var(--lime);
}
.filter:hover { color: #fff; }
.game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.game-card,
.game-card:first-child:not([hidden]) {
  display: block;
  grid-column: auto;
  border-radius: 4px;
  border-color: #42504e;
  background: #1d2a2d;
  box-shadow: none;
  transition: transform .2s, border-color .2s;
}
.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
}
.game-art,
.game-card:first-child .game-art {
  height: 220px;
  min-height: 0;
}
.game-art::before { opacity: .5; }
.snake-art { background: #17332d; }
.tile-art { background: #493c34; }
.memory-art { background: #20364c; }
.mines-art { background: #24424a; }
.tic-art { background: #30424c; }
.connect-art { background: #263b55; }
.reaction-art { background: #1c3f35; }
.simon-art { background: #473c36; }
.tile-demo, .memory-demo, .mines-demo, .tic-demo,
.connect-demo, .reaction-demo, .simon-demo, .snake-path {
  transform: none;
}
.tile-demo span:nth-child(4),
.mines-demo span:nth-child(3),
.mines-demo span:nth-child(5) { color: #26312b; }
.reaction-demo { font-size: 48px; }
.game-card:first-child .snake-path { font-size: 34px; }
.game-info,
.game-card:first-child .game-info {
  display: flex;
  flex-direction: column;
  justify-content: initial;
  min-height: 195px;
  padding: 22px;
}
.game-meta { font-size: 11px; }
.game-info h3,
.game-card:first-child .game-info h3 {
  margin-top: 14px;
  font-size: 23px;
  line-height: 1.25;
}
.game-info p,
.game-card:first-child .game-info p {
  font-size: 14px;
  line-height: 1.55;
  min-height: 44px;
  color: #b8c6c6;
}
.card-play,
.game-card:first-child .card-play {
  margin-top: auto;
  min-height: 48px;
  align-items: end;
  padding-top: 15px;
  font-size: 13px;
}
.card-play:hover { color: var(--lime); }
.guide-section {
  background: #c9f363;
  color: #18231c;
  padding: 90px 0 96px;
}
.guide-section::before { display: none; }
.guide-section .section-kicker,
.guide-section .section-heading p:not(.section-kicker) {
  color: #354b31;
}
.guide-grid { gap: 0; }
.guide-card,
.guide-card:nth-child(2),
.guide-card:nth-child(3) {
  min-height: 260px;
  padding: 26px 30px;
  transform: none;
  border: 0;
  border-left: 1px solid #648640;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.guide-card:last-child { border-right: 1px solid #648640; }
.guide-symbol { color: #263e29; font-size: 34px; }
.guide-time { color: #405b37; }
.guide-card h3 { font-size: 24px; }
.guide-card p { color: #3a5038; font-size: 15px; line-height: 1.6; }
.guide-card button {
  color: #1d2d23;
  min-height: 44px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: transform .2s;
}
.guide-card button:hover { transform: translateX(3px); }
.ranking-section { padding-block: 100px 110px; }
.ranking-section::before { display: none; }
.ranking-panel {
  border-radius: 4px;
  border-color: #40504e;
  background: #172225;
  box-shadow: none;
}
.ranking-table-head {
  background: #243236;
  color: #c6d0ca;
  font-size: 11px;
}
.chart-row { min-height: 68px; }
.chart-game, .chart-players { font-size: 15px; }
.chart-icon { border-radius: 3px; }
.chart-toolbar { font-size: 14px; }
.chart-toolbar input {
  min-height: 44px;
  border-radius: 4px;
  background: #1b292c;
}
.refresh { min-height: 44px; border-radius: 4px; }
.refresh {
  background: transparent;
  border-color: #566261;
  color: #fff;
}
.ranking-foot, .ranking-explain p { font-size: 13px; }
.ranking-foot a,
.footer-links a,
.chart-game {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.ranking-explain strong { font-size: 15px; }
.footer-links a { position: relative; }
:is(a, button, input):focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid #f6ffe7;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #84b539;
}
.guide-section button:focus-visible {
  outline-color: #142018;
  box-shadow: 0 0 0 6px #fff;
}
@media (max-width: 1100px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 72px;
  }
  .hero-art { min-height: 0; }
  .hero-game-window { max-width: 600px; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 1200px); }
  .hero {
    padding-block: 45px 55px;
    gap: 34px;
    overflow: visible;
  }
  .hero h1 {
    font-size: clamp(35px, 9.3vw, 48px);
    letter-spacing: -.055em;
    margin-bottom: 20px;
  }
  .hero-description { font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-note { margin-top: 22px; }
  .hero-art {
    width: 100%;
    height: auto;
    left: auto;
    margin: 0;
    transform: none;
  }
  .hero-game-window { padding: 8px; box-shadow: 10px 12px 0 #91b75814; }
  .hero-game-bar, .hero-game-status { font-size: 9px; }
  .hero-game-board { gap: 2px; padding: 7px; }
  .games-section, .ranking-section { padding-block: 70px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 34px; }
  .filter-group { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .filter { white-space: nowrap; padding-inline: 12px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-art, .game-card:first-child .game-art { height: 205px; }
  .game-info, .game-card:first-child .game-info { min-height: 0; }
  .game-info p, .game-card:first-child .game-info p { min-height: 0; margin-bottom: 15px; }
  .guide-section { padding-block: 70px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card, .guide-card:nth-child(2), .guide-card:nth-child(3) {
    min-height: 210px;
    padding-inline: 0;
    border-left: 0;
    border-top: 1px solid #648640;
  }
  .guide-card:last-child { border-right: 0; border-bottom: 1px solid #648640; }
  .chart-game, .chart-players { font-size: 12px; }
  .ranking-foot { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-enter] .hero-copy,
  [data-enter] .hero-game-window { animation: none; }
  .button, .game-card, .guide-card button { transition: none; }
}
