@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;900&display=swap");
:root {
  --bg: #141715;
  --panel: #1d211e;
  --line: #363b33;
  --muted: #a2a69a;
  --ink: #f3efdf;
  --lime: #d5ff6c;
  --orange: #ff8055;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", "Noto Sans KR", sans-serif;
  color-scheme: dark;
}
.arena-heading > .text-button {
  white-space: nowrap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 5px;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.nav,
main,
footer {
  max-width: 1440px;
  margin: auto;
  padding-left: 56px;
  padding-right: 56px;
}
.nav {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--display);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1px;
}
.wordmark span {
  color: var(--lime);
}
nav {
  display: flex;
  gap: 32px;
  font-size: 11px;
  letter-spacing: 1.7px;
}
nav a:hover {
  color: var(--lime);
}
.online {
  font-size: 10px;
  letter-spacing: 1px;
  display: flex;
  gap: 9px;
  align-items: center;
}
i.player-dot,
i.ai-dot,
.online i,
.ticker i,
.arena-note i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 5px;
}
i.ai-dot {
  background: var(--orange);
  margin-left: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  min-height: 560px;
  position: relative;
}
.hero-copy {
  z-index: 1;
  padding: 44px 0 50px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--muted);
}
.hero .eyebrow {
  display: flex;
  gap: 34px;
}
.hero .eyebrow span:last-child {
  font-size: 9px;
  opacity: 0.65;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(80px, 8.5vw, 124px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -2px;
  margin: 45px 0 28px;
  position: relative;
  white-space: nowrap;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero-star {
  position: absolute;
  color: var(--orange);
  font-family: Arial, sans-serif;
  font-size: 64px;
  bottom: 6px;
  right: 10px;
  animation: spin 28s linear infinite;
}
.hero p {
  font-size: 14px;
  line-height: 1.9;
  color: #b5b8ae;
  margin: 0 0 28px;
}
.primary {
  background: var(--lime);
  color: var(--bg);
  border: 0;
  display: inline-flex;
  gap: 38px;
  align-items: center;
  padding: 17px 24px;
  font-weight: 700;
  font-size: 13px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary:hover {
  background: #e4ffab;
  transform: translateY(-2px);
}
.primary span {
  font-size: 23px;
  line-height: 0.6;
}
.hero-note {
  font-size: 10px;
  color: var(--muted);
  margin-left: 18px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-art img {
  width: 115%;
  max-width: none;
  mix-blend-mode: lighten;
  animation: float 9s ease-in-out infinite;
}
.art-label {
  position: absolute;
  bottom: 31px;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
}
.art-label b {
  font-size: 10px;
  color: var(--ink);
}
.art-label span {
  margin: 0 15px;
  color: var(--orange);
}
.ticker {
  display: flex;
  justify-content: space-between;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 1.1px;
  align-items: center;
}
.ticker b {
  font-family: var(--display);
  font-size: 24px;
  margin-right: 10px;
}
.ticker-end {
  color: var(--muted);
  letter-spacing: 0;
}
.games-section {
  padding: 46px 0 65px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 37px;
  letter-spacing: -0.5px;
  margin: 0;
}
.section-heading h2 span {
  color: var(--lime);
}
.section-heading p {
  color: var(--muted);
  font-size: 12px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}
.game-card {
  display: block;
  background: transparent;
  border: 1px solid var(--line);
  border-left: 0;
  padding: 18px 20px 16px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s,
    transform 0.25s;
  color: inherit;
  text-decoration: none;
}
.game-card:hover {
  background: #262d23;
  transform: translateY(-6px);
  border-top-color: var(--lime);
}
.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.card-top > span {
  font-size: 18px;
  color: var(--ink);
}
.tag {
  display: inline-block;
  background: var(--lime);
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--bg);
  padding: 4px 6px;
  font-weight: 700;
}
.tag.orange {
  background: var(--orange);
}
.tag.subtle {
  color: var(--muted);
  background: #292f28;
}
.game-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  margin: 10px 0 1px;
  letter-spacing: -0.3px;
}
.game-card p {
  font-size: 11px;
  margin: 0 0 12px;
  color: var(--muted);
}
.tycoon-art {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #e99b5f 0%, #6f7980 57%, #26383c 58%, #182321 100%);
}
.tycoon-art img {
  height: 100%;
  width: auto;
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 8px #10151099);
}
.card-description {
  display: block;
  font-size: 10px;
  color: #bfc1b6;
  white-space: nowrap;
}
.play-link {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 9px;
  letter-spacing: 1px;
}
.play-link b {
  border: 1px solid #606752;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 400;
}
.mini-art {
  height: 132px;
  position: relative;
  margin: 7px 0 14px;
}
.block-art {
  display: grid;
  grid-template-columns: repeat(4, 28px);
  grid-template-rows: repeat(3, 28px);
  align-content: center;
  justify-content: center;
  transform: rotate(-9deg);
}
.block-art div {
  background: var(--lime);
  border: 2px solid #202819;
  box-shadow:
    inset -5px -5px #a6c54e,
    3px 5px #090d09;
}
.block-art div:nth-child(1) {
  grid-column: 2;
}
.block-art div:nth-child(5) {
  grid-column: 1;
  background: var(--orange);
  box-shadow:
    inset -5px -5px #c66544,
    3px 5px #090d09;
}
.block-art div:nth-child(n + 6) {
  background: var(--orange);
  box-shadow:
    inset -5px -5px #c66544,
    3px 5px #090d09;
}
.gomoku-art {
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, #424a38 26px 27px),
    repeating-linear-gradient(90deg, transparent 0 25px, #424a38 26px 27px);
  width: 135px;
  margin: 10px auto 14px;
  transform: perspective(200px) rotateX(22deg) rotateZ(-7deg);
}
.gomoku-art i,
.reversi-art i {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #f8f2d8, #a6a38b);
  box-shadow:
    1px 5px 0 #757568,
    3px 8px 9px #0007;
  left: 39px;
  top: 12px;
}
.gomoku-art i:nth-child(2) {
  left: 65px;
  top: 38px;
  background: radial-gradient(circle at 30% 25%, #535b46, #111710);
  box-shadow:
    1px 5px #080b08,
    3px 8px 9px #0007;
}
.gomoku-art i:nth-child(3) {
  left: 65px;
  top: 64px;
}
.gomoku-art i:nth-child(4) {
  left: 91px;
  top: 90px;
}
.gomoku-art i:nth-child(5) {
  left: 39px;
  top: 90px;
  background: #242c20;
}
.brick-art {
  display: grid;
  grid-template-columns: repeat(3, 38px);
  grid-template-rows: repeat(2, 17px);
  gap: 5px;
  justify-content: center;
  padding-top: 28px;
  transform: rotate(-6deg);
}
.brick-art i {
  background: var(--orange);
  box-shadow: 0 4px #8f4531;
}
.brick-art i:nth-child(n + 4) {
  background: var(--lime);
  box-shadow: 0 4px #758d36;
}
.brick-art b {
  position: absolute;
  background: var(--ink);
  width: 13px;
  height: 13px;
  top: 86px;
  left: 60%;
  border-radius: 50%;
  box-shadow:
    6px -10px 0 #f3efdf24,
    12px -20px 0 #f3efdf0a;
}
.brick-art em {
  position: absolute;
  background: var(--ink);
  width: 66px;
  height: 9px;
  bottom: 9px;
  left: 30%;
  border-radius: 9px;
}
.reversi-art {
  width: 140px;
  margin: auto;
  height: 153px;
  transform: rotate(-15deg);
}
.reversi-art i {
  width: 49px;
  height: 49px;
  top: 17px;
  left: 17px;
}
.reversi-art i:nth-child(2) {
  left: 76px;
  background: radial-gradient(circle at 30% 25%, #505648, #111810);
  box-shadow:
    1px 5px #080b08,
    3px 8px 9px #0007;
}
.reversi-art i:nth-child(3) {
  top: 78px;
  background: radial-gradient(circle at 30% 25%, #505648, #111810);
  box-shadow:
    1px 5px #080b08,
    3px 8px 9px #0007;
}
.reversi-art i:nth-child(4) {
  top: 78px;
  left: 76px;
}
.poker-art i {
  position: absolute;
  background: var(--ink);
  color: #20271e;
  font-style: normal;
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.1;
  padding: 10px;
  top: 18px;
  left: calc(50% - 52px);
  width: 70px;
  height: 99px;
  border-radius: 5px;
  transform: rotate(-16deg);
  box-shadow: 4px 6px #05090588;
}
.poker-art i + i {
  color: #d05a3d;
  transform: rotate(14deg);
  left: calc(50% - 4px);
  top: 28px;
}
.how {
  border-top: 1px solid var(--line);
  padding: 45px 0 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.how h2 {
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: -1px;
}
.how ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
.how li {
  display: flex;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.how li > b {
  color: var(--lime);
  font-family: var(--display);
  font-size: 23px;
}
.how h3 {
  font-size: 13px;
  margin: 0 0 5px;
}
.how p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 27px;
  padding-bottom: 27px;
}
footer > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}
footer > div {
  display: flex;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
footer .wordmark {
  font-size: 25px;
}
/* The arena is rendered UI, never an image of controls. */
#arena {
  padding-top: 26px;
  padding-bottom: 42px;
  max-width: 1280px;
}
.arena-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.text-button {
  background: none;
  border: 0;
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}
.arena-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}
.arena-tools button,
.arena-tools select {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 9px 12px;
  color: var(--ink);
}
.arena-tools label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}
.arena-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 28px 0 22px;
}
.arena-title h1 {
  font-family: var(--display);
  font-size: 55px;
  line-height: 1.1;
  margin: 5px 0 0;
  font-weight: 600;
}
.arena-title p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 5px;
}
.match-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #242a21;
  padding: 15px 22px;
  border: 1px solid var(--line);
  font-size: 11px;
  gap: 12px;
}
.match-strip strong {
  font-family: var(--display);
  font-size: 27px;
  margin: 0 10px;
}
.match-strip > span {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
#status {
  font-size: 12px;
  white-space: normal;
  text-align: center;
  color: var(--lime);
}
.play-stage {
  position: relative;
  background: #0e120f;
  border: 1px solid var(--line);
  border-top: 0;
  min-height: 300px;
  padding: 22px;
  overflow: hidden;
}
.duel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 810px;
  margin: auto;
}
.field-wrap {
  text-align: center;
  position: relative;
  min-width: 0;
}
.field-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.field-label b {
  color: var(--lime);
}
.field-wrap:last-child .field-label b {
  color: var(--orange);
}
canvas {
  display: block;
  width: 100%;
  height: auto;
  outline: 0;
  touch-action: none;
}
.block-canvas {
  max-height: 500px;
  width: auto;
  max-width: 100%;
  margin: auto;
  aspect-ratio: 1/2;
  border: 1px solid #36432e;
}
.brick-canvas {
  aspect-ratio: 3/4;
  border: 1px solid #36432e;
}
.versus {
  text-align: center;
  font-family: var(--display);
  font-size: 35px;
  font-weight: 700;
  color: #657354;
}
.versus small {
  display: block;
  font: 9px var(--body);
  letter-spacing: 1px;
  margin-top: 12px;
  color: var(--muted);
}
.attack-badge {
  display: block;
  font: 11px var(--body);
  color: var(--orange);
  height: 26px;
  margin-top: 10px;
}
.board-shell {
  max-width: 535px;
  margin: auto;
}
.board {
  display: grid;
  aspect-ratio: 1;
  border: 8px solid #384733;
  box-shadow: 0 12px 35px #0005;
  background: #a9956e;
  gap: 0;
}
.board button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
  min-height: 0;
  isolation: isolate;
}
.board button:focus-visible {
  outline-offset: -2px;
  z-index: 2;
}
.board.gomoku {
  grid-template-columns: repeat(15, 1fr);
  padding: 7px;
}
.gomoku button::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#625839, #625839) center/1px 100% no-repeat,
    linear-gradient(#625839, #625839) center/100% 1px no-repeat;
  z-index: -1;
}
.stone {
  display: block;
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  box-shadow: 1px 3px 4px #0008;
  animation: place 0.2s ease-out;
  background: radial-gradient(circle at 32% 25%, #43483a, #111610 70%);
}
.stone.white {
  background: radial-gradient(circle at 32% 25%, #fffdf0, #ccc8b3 75%);
}
.stone.last::after {
  content: "";
  position: absolute;
  width: 19%;
  height: 19%;
  background: var(--orange);
  border-radius: 50%;
  left: 40%;
  top: 40%;
}
.board.reversi {
  grid-template-columns: repeat(8, 1fr);
  background: #334a37;
  padding: 0;
}
.reversi button {
  border: 1px solid #1b3021;
}
.reversi .stone {
  inset: 13%;
  transition: background 0.25s;
}
.reversi .stone.changed {
  animation: flip 0.45s ease-in-out;
}
.legal::after {
  content: "";
  width: 16%;
  height: 16%;
  border-radius: 50%;
  background: #d5ff6c77;
  position: absolute;
  top: 42%;
  left: 42%;
}
.legal:hover {
  background: #d5ff6c1c;
}
.board-caption {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.touch-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 16px 0;
}
.touch-controls button,
.poker-actions button {
  border: 1px solid #46523b;
  background: #262f21;
  min-width: 56px;
  min-height: 45px;
  padding: 10px 16px;
  font-size: 12px;
}
.touch-controls button:active {
  background: #536b34;
}
.touch-controls .accent,
.poker-actions .accent {
  background: var(--lime);
  color: var(--bg);
  font-weight: 700;
}
.instructions {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.instructions > span {
  flex-shrink: 0;
  color: var(--lime);
  font-size: 9px;
  letter-spacing: 1px;
}
.instructions p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.arena-note {
  font-size: 10px;
  color: #8c9385;
  text-align: center;
  margin-top: 20px;
}
#pause-cover,
#result {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #0c100ddd;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
}
#pause-cover > span {
  font-family: var(--display);
  font-size: 40px;
  color: var(--lime);
}
#pause-cover h2 {
  font-size: 16px;
  font-weight: 400;
  margin: 12px 0 24px;
}
.result-card {
  max-width: 400px;
}
.result-card h2 {
  font-family: var(--display);
  font-size: 60px;
  margin: 16px 0;
  color: var(--lime);
}
.result-card p {
  line-height: 1.8;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.result-card .text-button {
  display: block;
  margin: 12px auto;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 30px);
  opacity: 0;
  padding: 14px 23px;
  background: var(--lime);
  color: #141715;
  font-size: 12px;
  font-weight: 600;
  z-index: 100;
  pointer-events: none;
  transition: 0.25s;
  max-width: 90vw;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.attack-flash {
  animation: attack 0.4s;
}
.poker-table {
  max-width: 800px;
  margin: auto;
  text-align: center;
  min-height: 410px;
  padding: 10px 0;
}
.seat-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 6px 0 12px;
}
.poker-cards {
  display: flex;
  gap: 8px;
  justify-content: center;
  min-height: 90px;
}
.playing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  padding: 8px 10px;
  background: var(--ink);
  border-radius: 5px;
  width: 60px;
  height: 83px;
  color: #20271e;
  font:
    24px Georgia,
    serif;
  box-shadow: 0 4px 0 #938e78;
  animation: deal 0.35s both;
}
.playing-card small {
  font-size: 24px;
  align-self: flex-end;
}
.playing-card.red {
  color: #ce5436;
}
.playing-card.back {
  background: repeating-linear-gradient(45deg, #3d4935 0 4px, #303b29 4px 8px);
  border: 4px solid #b7bc9e;
  box-shadow: 0 4px #737b65;
}
.playing-card.empty {
  background: #ffffff06;
  border: 1px dashed #526147;
  box-shadow: none;
}
.poker-center {
  background: radial-gradient(ellipse, #2d4931aa, transparent 70%);
  padding: 24px 0;
  margin: 10px auto;
}
.pot {
  font-family: var(--display);
  font-size: 25px;
  margin-bottom: 16px;
  color: var(--lime);
}
.pot span {
  font: 9px var(--body);
  letter-spacing: 2px;
  margin-right: 10px;
}
.street {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 16px;
  color: var(--muted);
}
.poker-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 16px 0;
}
.hand-name {
  font-size: 11px;
  color: var(--lime);
  margin-top: 13px;
}
.poker-log {
  font-size: 11px;
  color: var(--muted);
  min-height: 20px;
  margin-top: 16px;
}
.score-pop {
  position: absolute;
  top: 30%;
  left: 50%;
  font: 700 40px var(--display);
  color: var(--lime);
  pointer-events: none;
  animation: scorefly 0.9s forwards;
  z-index: 5;
  white-space: nowrap;
}
.projectile {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--orange);
  top: 45%;
  left: 25%;
  z-index: 8;
  pointer-events: none;
  box-shadow: 0 0 25px #ff805588;
  animation: projectile 0.65s ease-in forwards;
}
.projectile.reverse {
  left: auto;
  right: 25%;
  animation-name: projectileReverse;
}
@keyframes float {
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes place {
  from {
    transform: scale(0.55);
    opacity: 0.4;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes flip {
  50% {
    transform: rotateY(90deg);
  }
}
@keyframes deal {
  from {
    transform: translateY(-20px) rotate(-8deg);
    opacity: 0;
  }
}
@keyframes attack {
  50% {
    box-shadow: inset 0 0 65px #ff805557;
  }
}
@keyframes scorefly {
  to {
    transform: translate(-50%, -70px);
    opacity: 0;
  }
}
@keyframes projectile {
  to {
    left: 75%;
    transform: rotate(270deg) scale(0.6);
    opacity: 0;
  }
}
@keyframes projectileReverse {
  to {
    right: 75%;
    transform: rotate(-270deg) scale(0.6);
    opacity: 0;
  }
}
.hero {
  height: 560px;
}
.hero-art {
  min-height: 0;
}
.stone {
  animation: none;
}
.stone.last {
  animation: place 0.2s ease-out;
}
@media (min-width: 1600px) {
  .hero {
    height: 610px;
    min-height: 610px;
  }
  .hero h1 {
    font-size: 136px;
  }
  .hero-star {
    right: 0;
  }
}
@media (max-width: 1100px) {
  .nav,
  main,
  footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  .hero h1 {
    font-size: 9vw;
  }
  .hero-star {
    font-size: 44px;
    right: 0;
  }
  .hero .eyebrow span:last-child {
    display: none;
  }
  .hero {
    min-height: 490px;
  }
  .hero-note {
    display: block;
    margin: 14px 0 0;
  }
  .game-card {
    padding: 15px 12px;
  }
  .game-card h3 {
    font-size: 28px;
  }
  .card-description {
    font-size: 9px;
    white-space: normal;
    min-height: 26px;
  }
  .mini-art {
    transform: scale(0.85);
    margin-left: -5px;
    margin-right: -5px;
  }
  .hero-art img {
    width: 125%;
  }
  .duel {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .nav,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav {
    height: 72px;
  }
  nav {
    display: none;
  }
  .online {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .wordmark {
    font-size: 27px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 32px 0 0;
  }
  .hero h1 {
    font-size: clamp(62px, 19.6vw, 118px);
    margin: 30px 0 22px;
    letter-spacing: -1px;
  }
  .hero-star {
    right: 9%;
    font-size: 48px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-note {
    display: inline;
    margin-left: 15px;
    font-size: 9px;
  }
  .hero-art {
    height: 330px;
    margin-top: -10px;
    z-index: 0;
  }
  .hero-art img {
    width: 400px;
    max-width: 110%;
    margin-top: -30px;
  }
  .art-label {
    bottom: 13px;
  }
  .ticker {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 8px;
    padding: 17px 0;
  }
  .ticker b {
    font-size: 21px;
    margin-right: 5px;
  }
  .ticker-end {
    display: none;
  }
  .games-section {
    padding: 30px 0 40px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-card {
    padding: 17px;
  }
  .mini-art {
    height: 140px;
  }
  .game-card h3 {
    font-size: 33px;
  }
  .card-description {
    font-size: 10px;
    min-height: 0;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 30px;
  }
  .how h2 {
    font-size: 25px;
  }
  .how li {
    padding: 18px 0;
  }
  footer {
    flex-wrap: wrap;
    gap: 20px;
  }
  footer > span {
    display: none;
  }
  .arena-tools {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .arena-tools button,
  .arena-tools select {
    font-size: 10px;
    padding: 8px;
  }
  .arena-tools label {
    font-size: 9px;
  }
  .arena-title {
    padding: 23px 0 19px;
    display: block;
  }
  .arena-title h1 {
    font-size: 46px;
  }
  .arena-title p {
    margin-top: 8px;
    font-size: 11px;
  }
  .arena-heading {
    align-items: start;
  }
  .match-strip {
    padding: 10px;
    font-size: 9px;
    gap: 5px;
  }
  .match-strip strong {
    font-size: 21px;
    margin: 0 5px;
  }
  #status {
    font-size: 10px;
    max-width: 45%;
  }
  .play-stage {
    padding: 14px 9px;
    min-height: 250px;
  }
  .duel {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  }
  .versus {
    font-size: 21px;
  }
  .versus small {
    font-size: 7px;
    writing-mode: vertical-rl;
    margin: 14px auto;
  }
  .field-label {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .attack-badge {
    font-size: 9px;
  }
  .touch-controls {
    gap: 6px;
  }
  .touch-controls button {
    padding: 10px 12px;
    min-width: 45px;
    font-size: 11px;
  }
  .instructions {
    gap: 14px;
    display: block;
  }
  .instructions > span {
    display: block;
    margin-bottom: 8px;
  }
  .instructions p {
    font-size: 10px;
  }
  .arena-note {
    font-size: 8px;
    line-height: 1.8;
  }
  .board-shell {
    max-width: 480px;
  }
  .board {
    border-width: 5px;
  }
  .board.gomoku {
    padding: 4px;
  }
  .board-caption {
    font-size: 9px;
  }
  .poker-table {
    min-height: 410px;
  }
  .playing-card {
    width: 47px;
    height: 68px;
    font-size: 20px;
    padding: 7px;
  }
  .playing-card small {
    font-size: 20px;
  }
  .poker-cards {
    min-height: 74px;
    gap: 6px;
  }
  .poker-actions {
    gap: 7px;
  }
  .poker-actions button {
    padding: 10px 11px;
    font-size: 11px;
    min-width: 65px;
  }
  .result-card h2 {
    font-size: 47px;
  }
  .result-card p {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .hero {
    height: auto;
  }
}
.brick-loadout {
  max-width: 810px;
  margin: 22px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
@media (max-width: 760px) {
  .score-pop {
    font-size: 26px;
  }
}
.loadout-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
}
.loadout-caption span:last-child {
  letter-spacing: 0;
}
.item-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.item-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: #242e20;
  border: 1px solid #667b3f;
  padding: 15px 16px;
  overflow: hidden;
  min-height: 72px;
}
.item-button.laser {
  background: #33281f;
  border-color: #8a513b;
}
.item-button:disabled {
  opacity: 0.5;
}
.item-button.active:disabled {
  opacity: 1;
  box-shadow: inset 0 0 28px #ff805519;
}
.item-symbol {
  font-family: var(--display);
  font-size: 18px;
  color: var(--lime);
  letter-spacing: -3px;
  min-width: 34px;
}
.laser .item-symbol {
  color: var(--orange);
  font-size: 36px;
  letter-spacing: 0;
  text-align: center;
}
.item-button b {
  font-size: 12px;
  display: block;
}
.item-button small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.item-button kbd {
  font-family: var(--body);
  font-size: 10px;
  border: 1px solid #758167;
  padding: 1px 5px;
  margin-right: 5px;
  color: var(--lime);
}
.laser kbd {
  color: var(--orange);
  border-color: #916343;
}
.item-stock {
  margin-left: auto;
  font-family: var(--display);
  font-size: 26px;
  color: var(--lime);
  white-space: nowrap;
}
.laser .item-stock {
  color: var(--orange);
}
.item-duration {
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 0;
  background: var(--orange);
  pointer-events: none;
}
.brick-effects {
  font-size: 9px;
  letter-spacing: 0.3px;
  color: var(--muted);
  margin-top: 10px;
  min-height: 14px;
}
@media (max-width: 760px) {
  .brick-loadout {
    margin-top: 16px;
  }
  .loadout-caption {
    font-size: 8px;
  }
  .item-slots {
    gap: 7px;
  }
  .item-button {
    gap: 7px;
    padding: 11px 8px;
    min-height: 70px;
  }
  .item-symbol {
    min-width: 22px;
    font-size: 13px;
  }
  .laser .item-symbol {
    font-size: 29px;
  }
  .item-button b {
    font-size: 10px;
  }
  .item-button small {
    font-size: 8px;
  }
  .item-stock {
    font-size: 21px;
  }
  .item-button kbd {
    display: none;
  }
  .brick-effects {
    font-size: 7px;
    letter-spacing: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .projectile,
  .score-pop {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
