.games[data-astro-cid-aqnn2ztw] {
  padding: 120px 0 80px;
}

.g-head[data-astro-cid-aqnn2ztw] {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.g-head[data-astro-cid-aqnn2ztw] h1[data-astro-cid-aqnn2ztw] {
  margin: 8px 0 14px;
}

.g-head[data-astro-cid-aqnn2ztw] .lede[data-astro-cid-aqnn2ztw] {
  margin: 0 auto;
  max-width: 44ch;
}

.g-grid[data-astro-cid-aqnn2ztw] {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  max-width: 1180px;
  margin-inline: auto;
}

.g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw] {
  grid-column: span 3;
}

@media (width >= 1101px) {
  .g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw]:nth-child(n+3) {
    grid-column: span 2;
  }

  .g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw]:nth-child(n+3) .g-art[data-astro-cid-aqnn2ztw] {
    aspect-ratio: 16 / 11;
  }

  .g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw]:nth-child(n+3) .g-cluster[data-astro-cid-aqnn2ztw] {
    top: 20%;
  }

  .g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw]:nth-child(n+3) .g-live[data-astro-cid-aqnn2ztw] {
    padding: 5px 10px;
    font-size: 12px;
  }
}

@media (width >= 861px) and (width <= 1100px) {
  .g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw]:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw]:last-child:nth-child(odd) .g-art[data-astro-cid-aqnn2ztw] {
    aspect-ratio: 21 / 8;
  }

  .g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw]:last-child:nth-child(odd) .g-cluster[data-astro-cid-aqnn2ztw] {
    width: 30%;
    right: 6%;
  }
}

.g-card[data-astro-cid-aqnn2ztw] {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 32px;
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 4px #0f111408, 0 14px 40px #0f111414;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.g-card[data-astro-cid-aqnn2ztw]:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px #0f11140a, 0 22px 54px #0f11141f;
}

.g-card[data-astro-cid-aqnn2ztw]:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 4px;
}

.g-body[data-astro-cid-aqnn2ztw] {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
}

.g-desc[data-astro-cid-aqnn2ztw] {
  flex: none;
}

.g-kicker[data-astro-cid-aqnn2ztw] {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral-text);
}

.g-title[data-astro-cid-aqnn2ztw] {
  margin: 0 0 10px;
  font: 600 clamp(28px, 3vw, 36px)/1.1 var(--font-display);
  letter-spacing: -.03em;
  color: var(--ink-100);
}

.g-desc[data-astro-cid-aqnn2ztw] {
  margin: 0 0 18px;
  color: var(--ink-80);
  font-size: 16px;
  line-height: 1.5;
}

.g-foot[data-astro-cid-aqnn2ztw] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.g-status[data-astro-cid-aqnn2ztw] {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--paper-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-60);
  justify-self: start;
}

.g-status[data-astro-cid-aqnn2ztw].done {
  color: var(--azure);
  background: var(--azure-soft);
}

.g-go[data-astro-cid-aqnn2ztw] {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-100);
  background: #ffffff38;
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border: 1px solid #ffffffbf;
  box-shadow: 0 10px 30px #0f111424, inset 0 1px #ffffffe6, inset 0 0 0 1px #0f11140f;
  transition: background .3s, color .3s, transform .3s var(--ease);
}

.g-card[data-astro-cid-aqnn2ztw]:hover .g-go[data-astro-cid-aqnn2ztw] {
  background: #007fdce6;
  color: #fff;
  transform: translateX(2px);
}

.g-art[data-astro-cid-aqnn2ztw] {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--card);
}

.g-cluster[data-astro-cid-aqnn2ztw] {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 50%;
  aspect-ratio: 5 / 4;
  container-type: inline-size;
}

.g-board[data-astro-cid-aqnn2ztw] {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 3cqw;
  transform: rotate(-4deg);
}

.g-row[data-astro-cid-aqnn2ztw] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3cqw;
}

.g-row[data-astro-cid-aqnn2ztw] b[data-astro-cid-aqnn2ztw] {
  display: grid;
  place-items: center;
  border-radius: 4cqw;
  font: 700 9cqw/1 var(--font-display);
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 1.5cqw 4cqw #0f11141a;
}

.g-row[data-astro-cid-aqnn2ztw] b[data-astro-cid-aqnn2ztw][data-st="correct"] {
  background: var(--azure);
}

.g-row[data-astro-cid-aqnn2ztw] b[data-astro-cid-aqnn2ztw][data-st="present"] {
  background: var(--coral);
}

.g-row[data-astro-cid-aqnn2ztw] b[data-astro-cid-aqnn2ztw][data-st="absent"] {
  background: var(--ink-40);
}

.g-empty[data-astro-cid-aqnn2ztw] b[data-astro-cid-aqnn2ztw] {
  background: var(--card);
  border: 2px solid var(--ink-10);
  box-shadow: none;
}

.g-live[data-astro-cid-aqnn2ztw] {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-100);
  white-space: nowrap;
}

.g-live[data-astro-cid-aqnn2ztw] i[data-astro-cid-aqnn2ztw] {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.g-live[data-astro-cid-aqnn2ztw] i[data-astro-cid-aqnn2ztw]:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--coral);
  animation: 3.6s cubic-bezier(.2, .6, .3, 1) infinite gPing;
}

@keyframes gPing {
  0% {
    transform: scale(1);
    opacity: .75;
  }

  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}

.g-frame[data-astro-cid-aqnn2ztw] {
  position: absolute;
  inset: 0;
  border: 2px solid var(--ink-20);
  border-radius: 7cqw;
}

.g-cross[data-astro-cid-aqnn2ztw] {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18cqw;
  height: 18cqw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px dashed var(--coral);
}

.g-cross[data-astro-cid-aqnn2ztw]:before, .g-cross[data-astro-cid-aqnn2ztw]:after {
  content: "";
  position: absolute;
  background: var(--coral);
}

.g-cross[data-astro-cid-aqnn2ztw]:before {
  left: 50%;
  top: -6cqw;
  bottom: -6cqw;
  width: 2px;
  margin-left: -1px;
}

.g-cross[data-astro-cid-aqnn2ztw]:after {
  top: 50%;
  left: -6cqw;
  right: -6cqw;
  height: 2px;
  margin-top: -1px;
}

.g-dot[data-astro-cid-aqnn2ztw] {
  position: absolute;
  left: calc(50% + 4cqw);
  top: calc(50% - 3cqw);
  width: 8cqw;
  height: 8cqw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--azure);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 6px #0f111433;
}

.g-off[data-astro-cid-aqnn2ztw] {
  position: absolute;
  top: -5cqw;
  left: -12cqw;
  transform: rotate(-8deg);
  padding: 7px 12px;
  border-radius: 999px;
  background: #006bb8;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 2px 4px #0f11141a, 0 8px 20px #006bb84d;
}

.g-track[data-astro-cid-aqnn2ztw] {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 20%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink-20) 0 12px, transparent 12px 22px);
}

.g-runner[data-astro-cid-aqnn2ztw] {
  position: absolute;
  left: 0;
  bottom: calc(20% + 2px);
  width: 26cqw;
  animation: gHop 2.4s var(--ease) infinite;
}

.g-runner[data-astro-cid-aqnn2ztw] img[data-astro-cid-aqnn2ztw] {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.g-box[data-astro-cid-aqnn2ztw] {
  position: absolute;
  left: 62%;
  top: 34%;
  width: 62%;
  aspect-ratio: 1.2;
  border-radius: 6px;
  background: linear-gradient(90deg, #0000 43%, #e8c9a0 43% 57%, #0000 57%), #c69c6d;
}

.g-blocker[data-astro-cid-aqnn2ztw] {
  position: absolute;
  right: 0;
  bottom: 20%;
  padding: 4cqw 5cqw;
  border-radius: 4cqw;
  border: 2px solid var(--ink-100);
  background: var(--card);
  font-size: 7cqw;
  font-weight: 600;
  color: var(--ink-100);
  white-space: nowrap;
}

.g-cup[data-astro-cid-aqnn2ztw] {
  position: absolute;
  left: 50%;
  top: 18%;
  width: 14cqw;
  height: 14cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 7cqw;
}

@keyframes gHop {
  0%, 55%, 100% {
    transform: translateY(0);
  }

  70% {
    transform: translateY(-22cqw);
  }

  85% {
    transform: translateY(-4cqw);
  }
}

.g-wc[data-astro-cid-aqnn2ztw] {
  position: absolute;
  top: 4%;
  width: 34cqw;
  aspect-ratio: 5 / 7;
  border-radius: 4.5cqw;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 15cqw/1 var(--font-display);
  letter-spacing: -.04em;
  background: linear-gradient(155deg, #ffffff38, #fff0 42%), var(--c);
  box-shadow: 0 1.5cqw 5cqw #0f111429;
  transform-origin: 50% 120%;
}

.g-wc[data-astro-cid-aqnn2ztw][data-s="b"] {
  --c: #e8f3fd;
  color: #006bb8;
  box-shadow: inset 0 0 0 1px #007fdc38, 0 1.5cqw 5cqw #0f11141f;
}

.g-wc[data-astro-cid-aqnn2ztw][data-s="o"] {
  --c: #ff5c39;
}

.g-wc[data-astro-cid-aqnn2ztw][data-s="w"] {
  --c: #16181c;
}

.g-wc[data-astro-cid-aqnn2ztw] svg[data-astro-cid-aqnn2ztw] {
  width: 58%;
  height: auto;
}

.g-wc1[data-astro-cid-aqnn2ztw] {
  left: 8%;
  transform: rotate(-14deg);
}

.g-wc2[data-astro-cid-aqnn2ztw] {
  left: 33%;
  transform: rotate(0);
  top: 0;
}

.g-wc3[data-astro-cid-aqnn2ztw] {
  left: 58%;
  transform: rotate(14deg);
}

.g-lastcard[data-astro-cid-aqnn2ztw] {
  position: absolute;
  bottom: 12%;
  left: 2%;
  transform: rotate(-6deg);
  padding: 7px 12px;
  border-radius: 999px;
  background: #cc3d1d;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 20px #cc3d1d4d;
}

.g-grid4[data-astro-cid-aqnn2ztw] {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  padding: 4cqw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3cqw;
  border-radius: 6cqw;
  background: linear-gradient(#1d2026, #121418);
  box-shadow: 0 2cqw 6cqw #0f111433;
}

.g-grid4[data-astro-cid-aqnn2ztw] i[data-astro-cid-aqnn2ztw] {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0a0b0d;
  box-shadow: inset 0 1cqw 2cqw #0009;
}

.g-grid4[data-astro-cid-aqnn2ztw] i[data-astro-cid-aqnn2ztw][data-c="1"] {
  background: radial-gradient(circle at 34% 28%, #ffffff80, #0000 42%), #007fdc;
}

.g-grid4[data-astro-cid-aqnn2ztw] i[data-astro-cid-aqnn2ztw][data-c="2"] {
  background: radial-gradient(circle at 34% 28%, #ffffff80, #0000 42%), #ff5c39;
}

.g-fall[data-astro-cid-aqnn2ztw] {
  position: absolute;
  left: calc(58.8% + 1cqw);
  top: -6%;
  width: calc(17.6% - 4cqw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff80, #0000 42%), #007fdc;
  opacity: .9;
}

.g-four[data-astro-cid-aqnn2ztw] {
  position: absolute;
  top: 6%;
  left: -8%;
  transform: rotate(-7deg);
  padding: 7px 12px;
  border-radius: 999px;
  background: #006bb8;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 20px #006bb84d;
}

@media (prefers-color-scheme: dark) {
  .g-grid4[data-astro-cid-aqnn2ztw] {
    background: linear-gradient(#2a2d33, #1b1d21);
    box-shadow: inset 0 0 0 1px #ffffff14;
  }

  .g-wc[data-astro-cid-aqnn2ztw][data-s="w"] {
    box-shadow: inset 0 0 0 1px #ffffff29, 0 1.5cqw 5cqw #0006;
  }

  .g-wc[data-astro-cid-aqnn2ztw][data-s="b"] {
    --c: #10263b;
    color: #6cb8ff;
    box-shadow: inset 0 0 0 1px #6cb8ff47, 0 1.5cqw 5cqw #0006;
  }

  .g-card[data-astro-cid-aqnn2ztw] {
    box-shadow: inset 0 0 0 1px #ffffff0f;
  }

  .g-go[data-astro-cid-aqnn2ztw] {
    background: #48484e9e;
    border-color: #ffffff47;
    box-shadow: 0 10px 30px #00000080, inset 0 1px #ffffff38;
    color: #fff;
  }

  .g-card[data-astro-cid-aqnn2ztw]:hover .g-go[data-astro-cid-aqnn2ztw] {
    background: #007fdce6;
  }
}

@media (width <= 860px) {
  .g-grid[data-astro-cid-aqnn2ztw] {
    grid-template-columns: 1fr;
  }

  .g-grid[data-astro-cid-aqnn2ztw] > .g-card[data-astro-cid-aqnn2ztw] {
    grid-column: auto;
  }
}

@media (width <= 480px) {
  .games[data-astro-cid-aqnn2ztw] {
    padding-top: 100px;
  }

  .g-body[data-astro-cid-aqnn2ztw] {
    padding: 22px 22px 24px;
  }

  .g-go[data-astro-cid-aqnn2ztw] {
    width: 56px;
    height: 56px;
  }

  .g-go[data-astro-cid-aqnn2ztw] svg[data-astro-cid-aqnn2ztw] {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g-runner[data-astro-cid-aqnn2ztw], .g-live[data-astro-cid-aqnn2ztw] i[data-astro-cid-aqnn2ztw]:after {
    animation: none;
  }
}
