/* iNEW Games 공용 스타일 — 첫 화면(.home)과 게임 소개 페이지(.game)가 같이 쓴다.
   팔레트는 처음 사이트(마리모)의 크림·물풀색을 이어받았다. 게임 페이지는 --accent·--tint 만 바꿔 제 색을 입는다.
   글자는 기본 17px — 척척 낱말·내 인생 컷을 하는 어르신도 편하게 읽도록 작게 줄이지 않는다. */

:root {
  --ground: #f7f1e5;
  --panel: #fffaf1;
  --ink: #1c2b22;
  --muted: #5b6a60;
  --line: #e4dccb;
  --chip: #ece4d3;
  --brand: #3f7d34;
  --focus: #2f86a0;
  --accent: var(--brand);
  --accent-ink: #ffffff;
  --tint: #eef0e2;
  --shadow: 0 14px 34px rgba(60, 45, 20, .14);
  --shadow-sm: 0 3px 10px rgba(60, 45, 20, .09);
  --display: "Jua", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0f1813; --panel: #16221b; --ink: #e6eee8; --muted: #9db0a3;
    --line: #26372d; --chip: #1f2d25; --brand: #8cc96d; --focus: #6cc3dc;
    --accent-ink: #0f1813; --tint: #15211a;
    --shadow: 0 14px 34px rgba(0, 0, 0, .45); --shadow-sm: 0 3px 10px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0f1813; --panel: #16221b; --ink: #e6eee8; --muted: #9db0a3;
  --line: #26372d; --chip: #1f2d25; --brand: #8cc96d; --focus: #6cc3dc;
  --accent-ink: #0f1813; --tint: #15211a;
  --shadow: 0 14px 34px rgba(0, 0, 0, .45); --shadow-sm: 0 3px 10px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.75;
  word-break: keep-all; overflow-wrap: anywhere; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 0 0 1rem; }
p { margin: 0 0 .9rem; }
.wrap { max-width: 72rem; margin: 0 auto; padding-inline: 1rem; }
@media (min-width: 48rem) { .wrap { padding-inline: 1.5rem; } }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .strip:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px;
}
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; font-weight: 500; }

/* ── 머리 ── */
.top { padding: 1.1rem 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mark { font-family: var(--display); font-size: 1.4rem; text-decoration: none; white-space: nowrap; }
.mark b { color: var(--brand); font-weight: 400; }
.top nav { display: flex; gap: .3rem; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--muted); padding: .4rem .7rem; border-radius: 999px; }
.top nav a:hover { color: var(--ink); background: var(--chip); }

/* ── 단추 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 3rem; padding: .65rem 1.3rem; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--ink); color: var(--ground); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.btn-light { background: #fff; border-color: #fff; color: #18201b; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-line-light { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-line-light:hover { background: #fff; color: #18201b; }

.badge {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .02em; line-height: 1;
  padding: .42rem .7rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
}
.badge-soon { background: #f2b33d; color: #2a1f05; }

/* ── 플랫폼 알약(카드) ── */
.glyph { flex: none; }
.pill {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .38rem .8rem .38rem .62rem; border-radius: 999px;
  font-size: .86rem; font-weight: 700; line-height: 1.3; text-decoration: none;
  background: var(--chip); color: var(--ink); border: 1.5px solid transparent;
}
a.pill:hover { background: var(--ink); color: var(--ground); }
.pill-hint, .pill-soon { background: transparent; border: 1.5px dashed var(--line); color: var(--muted); }

/* ── 스토어 단추(게임 페이지) ── */
.stores { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.store {
  display: inline-flex; align-items: center; gap: .65rem;
  min-height: 3.6rem; padding: .55rem 1.2rem .55rem .95rem; border-radius: 1rem;
  background: var(--ink); color: var(--ground); text-decoration: none;
  border: 1.5px solid var(--ink); transition: background .15s, color .15s, transform .15s;
}
.store > span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.08rem; line-height: 1.2; }
.store small { font-size: .74rem; font-weight: 500; opacity: .78; }
a.store:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.store-hint, .store-soon { background: transparent; color: inherit; border-style: dashed; border-color: currentColor; }
.store-soon { opacity: .75; }

/* ════════════════ 첫 화면 ════════════════ */

.intro {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; align-items: center;
  padding-block: 2.5rem 3.5rem;
}
.intro h1 { font-size: clamp(2.5rem, 6.4vw, 4.5rem); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
.intro h1 em { font-style: normal; color: var(--brand); }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 34rem; margin: 1.2rem 0 0; }
.intro-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.intro .btn-solid { --accent: var(--brand); }
.stats { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; color: var(--muted); font-size: .92rem; }
.stats li { display: flex; align-items: baseline; gap: .45rem; }
.stats b { font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--ink); line-height: 1; }

/* 아이콘 벽 — 가운데 줄만 살짝 내려 엇갈리게 */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 25rem; width: 100%; justify-self: end; padding-bottom: 2.4rem; }
.tile { display: block; aspect-ratio: 1; border-radius: 24%; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile:nth-child(3n+2), .tile:nth-child(7) { transform: translateY(2.4rem); }
.tile:nth-child(7) { grid-column: 2; }
@media (prefers-reduced-motion: no-preference) {
  .tile { animation: bob 7s ease-in-out infinite alternate; }
  .tile:nth-child(2n) { animation-delay: -2.5s; }
  .tile:nth-child(3n) { animation-delay: -4.5s; animation-duration: 8s; }
  .tile:nth-child(3n+2), .tile:nth-child(7) { animation-name: bob-mid; }
}
@keyframes bob { to { transform: translateY(-.55rem) rotate(-1.5deg); } }
@keyframes bob-mid { from { transform: translateY(2.4rem); } to { transform: translateY(1.85rem) rotate(1.5deg); } }

/* 새로 나온 게임 + 곧 출시 */
.spot { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.25rem; padding-bottom: 4rem; }
.spot-main {
  position: relative; overflow: hidden; border-radius: 1.75rem; min-height: 22rem;
  display: flex; align-items: flex-end; color: #fff; background: #20150f; box-shadow: var(--shadow);
}
.spot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot-main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 10, 8, .78) 0%, rgba(14, 10, 8, .45) 48%, rgba(14, 10, 8, 0) 78%),
              linear-gradient(0deg, rgba(14, 10, 8, .55) 0%, rgba(14, 10, 8, 0) 55%);
}
.spot-body { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 32rem; }
.spot-body h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); margin: .9rem 0 .5rem; }
.spot-body h2 a { text-decoration: none; }
.spot-body p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; }
.spot-go { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }

.soon-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 1.75rem;
  background: var(--panel); border: 1px solid var(--line); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.soon-card img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.soon-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.4rem 1.5rem; align-items: flex-start; }
.soon-body b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.2; margin-top: .5rem; }
.soon-body em { font-style: normal; font-size: .88rem; color: var(--muted); }
.soon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* 게임 목록 */
.catalog { padding-bottom: 4.5rem; }
.catalog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.6rem; }
.catalog-head h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button {
  font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer;
  min-height: 2.6rem; padding: .35rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--panel); color: var(--ink);
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20.5rem), 1fr)); gap: 1.4rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:focus-within { box-shadow: 0 0 0 3px var(--focus); }
.card-art { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--chip); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-art img { transform: scale(1.04); }
.card-art .badge { position: absolute; top: .8rem; left: .8rem; box-shadow: var(--shadow-sm); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 0 1.25rem 1.3rem; }
.card-title { display: flex; align-items: flex-start; gap: .85rem; position: relative; }
.card-icon { width: 4rem; height: 4rem; margin-top: -1.9rem; border-radius: 1.05rem; border: 3px solid var(--panel); box-shadow: var(--shadow-sm); background: var(--panel); flex: none; }
.card h3 { font-size: 1.38rem; margin: 0; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card-title > div { padding-top: .75rem; min-width: 0; }
.card-en { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.card-tag { margin: .85rem 0 .3rem; font-size: 1rem; }
.card-genre { margin: 0; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.card-genre::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.card-go { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.1rem; }
.card.is-soon .card-art img { filter: saturate(.8); }
.card[hidden] { display: none; }
.empty { color: var(--muted); padding: 2rem 0; }

/* 의견 안내 */
.ask {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  background: var(--tint); border-radius: 1.75rem; padding: clamp(1.5rem, 4vw, 2.5rem);
}
.ask h2 { margin-bottom: .6rem; }
.ask p { margin: 0; color: var(--muted); }
.ask-go { display: flex; flex-wrap: wrap; gap: .5rem; }
.ask-go a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .9rem .3rem .3rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; font-size: .92rem; font-weight: 500;
}
.ask-go a:hover { border-color: var(--ink); }
.ask-go img { width: 2.1rem; height: 2.1rem; border-radius: .6rem; }

/* 회사 */
.about { padding-block: 4.5rem 3rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.about h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.about p { margin: 0; color: var(--muted); }
dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; font-size: .95rem; }
dt { color: var(--muted); white-space: nowrap; }
dd { margin: 0; font-variant-numeric: tabular-nums; }

/* 바닥 */
.foot { border-top: 1px solid var(--line); padding: 2rem 0 2.8rem; font-size: .88rem; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 2rem; }
.foot .mark { font-size: 1.15rem; color: var(--ink); }
.foot-co p { margin: .5rem 0 0; line-height: 1.7; }
.foot-pol p { margin: 0 0 .4rem; color: var(--ink); font-weight: 500; }
.foot-pol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot-copy { grid-column: 1 / -1; margin: 0; }

/* 404 */
.lost { padding-block: 4rem 6rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lost h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0; }
.lost .ask-go { justify-content: center; margin-top: 1.5rem; }

/* ════════════════ 게임 소개 페이지 ════════════════ */

.crumb { font-size: .9rem; margin: 0 0 1.2rem; display: flex; gap: .5rem; opacity: .85; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.g-title { display: flex; align-items: center; gap: 1.1rem; }
.g-title img { width: 5.5rem; height: 5.5rem; border-radius: 1.4rem; flex: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.g-title h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); margin: 0; }
.g-en { margin: .25rem 0 0; font-size: 1rem; opacity: .78; line-height: 1.4; }
.g-tagline { font-size: clamp(1.1rem, 2.4vw, 1.3rem); margin: 1.3rem 0 0; max-width: 32rem; line-height: 1.6; }
.g-status { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin: .9rem 0 0; opacity: .85; }
.g-status .dot { width: .6rem; height: .6rem; border-radius: 50%; background: #3fb36b; box-shadow: 0 0 0 4px rgba(63, 179, 107, .2); }
.g-status.is-soon .dot { background: #f2b33d; box-shadow: 0 0 0 4px rgba(242, 179, 61, .22); }

/* 머리 그림 1: 세로 화면 세 장을 부채처럼 (폰 게임) */
.g-fan { background: var(--tint); padding-block: 2.5rem 3.5rem; }
.g-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.fan { display: flex; justify-content: center; align-items: flex-end; max-width: 30rem; width: 100%; margin: 0 auto; padding-top: 1rem; }
.fan img {
  width: 34%; aspect-ratio: 414 / 900; object-fit: cover;
  border-radius: 1.3rem; border: 5px solid var(--panel); box-shadow: var(--shadow); background: var(--panel);
}
.fan img:nth-child(1) { transform: rotate(-6deg) translate(12%, 5%); }
.fan img:nth-child(2) { width: 37%; transform: translateY(-3%); z-index: 1; }
.fan img:nth-child(3) { transform: rotate(6deg) translate(-12%, 5%); }
@media (prefers-reduced-motion: no-preference) {
  .fan img { transition: transform .45s ease; }
  .g-fan:hover .fan img:nth-child(1) { transform: rotate(-9deg) translate(5%, 6%); }
  .g-fan:hover .fan img:nth-child(3) { transform: rotate(9deg) translate(-5%, 6%); }
}

/* 머리 그림 2: 그림을 꽉 채우고 글자를 얹음 (그림이 강한 게임) */
.g-bleed { position: relative; overflow: hidden; min-height: clamp(32rem, 72vh, 42rem); display: flex; align-items: center; }
.g-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-bleed .g-hero-in { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr); width: 100%; padding-block: 3rem; }
.g-bleed .g-hero-text { max-width: 36rem; }
.g-bleed.is-dark { color: #fff; background: #0b0d12; }
.g-bleed.is-dark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 13, .9) 0%, rgba(8, 9, 13, .66) 42%, rgba(8, 9, 13, .1) 78%),
              linear-gradient(0deg, rgba(8, 9, 13, .6) 0%, rgba(8, 9, 13, 0) 40%);
}
.g-bleed.is-dark .store { background: #fff; border-color: #fff; color: #14171c; }
.g-bleed.is-dark a.store:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.g-bleed.is-light { background: var(--tint); }
.g-bleed.is-light .g-hero-text {
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 1.75rem; padding: clamp(1.4rem, 3.5vw, 2.2rem); box-shadow: var(--shadow);
}

/* 소개 */
.g-about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; padding-block: 4.5rem; align-items: start; }
.g-about-text p { font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.chips li { background: var(--chip); border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; counter-reset: f; }
.feats li {
  counter-increment: f; background: var(--panel); border: 1px solid var(--line); border-radius: 1.25rem;
  padding: 1.2rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem;
}
.feats li::before {
  content: counter(f, decimal-leading-zero); font-family: var(--display); font-size: .95rem;
  color: var(--accent); margin-bottom: .2rem;
}
.feats b { font-size: 1.08rem; }
.feats span { color: var(--muted); font-size: .96rem; line-height: 1.65; }

/* 화면 넘겨 보기 — 옆으로 밀면 한 장씩 멈춘다 */
.g-shots { padding-bottom: 4rem; }
.strip {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: .5rem max(1rem, calc((100vw - 72rem) / 2 + 1.5rem)) 1.2rem;
  scroll-padding-inline: max(1rem, calc((100vw - 72rem) / 2 + 1.5rem));
  scrollbar-width: thin;
}
.strip img {
  height: 30rem; width: auto; flex: none; scroll-snap-align: start;
  border-radius: 1.3rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: var(--panel);
}
.strip.is-wide img { height: 21rem; }

/* 어디서 */
.g-where { padding-bottom: 4rem; }
.where { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: .9rem; }
.where li {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 1.25rem;
}
.where-ic { width: 3rem; height: 3rem; border-radius: .9rem; display: grid; place-items: center; background: var(--tint); color: var(--accent); flex: none; }
.where-tx { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.5; }
.where-tx b { font-size: 1.05rem; }
.where-tx span { color: var(--muted); font-size: .9rem; }
.where-act {
  flex: none; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap;
  padding: .55rem 1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
}
a.where-act:hover { background: var(--ink); color: var(--ground); }
.where-act.is-off { background: var(--chip); color: var(--muted); }

/* 의견 보내기 */
.g-fb { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; padding-block: 1rem 4.5rem; align-items: start; }
.g-fb-text p { font-size: 1.02rem; }
.fb {
  background: var(--panel); border: 1px solid var(--line); border-radius: 1.5rem;
  padding: clamp(1.25rem, 3.5vw, 2rem); display: flex; flex-direction: column; gap: 1.2rem;
}
.kinds { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.kinds legend { font-weight: 700; font-size: .95rem; margin-bottom: .6rem; padding: 0; }
.kinds label { position: relative; }
.kinds input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kinds span {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px; font-size: .95rem;
  border: 1.5px solid var(--line); background: var(--ground);
}
.kinds input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.kinds input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field > span { font-weight: 700; font-size: .95rem; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .8rem .95rem; border-radius: .9rem; border: 1.5px solid var(--line); background: var(--ground);
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.fb-go { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.fb-go .btn { min-width: 8rem; }
.fb-status { margin: 0; font-size: .93rem; color: var(--muted); }
.fb-status.is-error { color: #c0392b; }
.fb-status.is-ok { color: var(--accent); font-weight: 700; }
.fb-alt { margin: 0; font-size: .85rem; color: var(--muted); }
.copy { font: inherit; font-size: .82rem; padding: .15rem .6rem; margin-left: .2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--ground); color: var(--ink); cursor: pointer; }

/* 다른 게임 */
.g-more { padding-bottom: 3.5rem; border-top: 1px solid var(--line); padding-top: 3.5rem; }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 1rem; }
.more a { display: flex; flex-direction: column; gap: .15rem; text-decoration: none; padding: .9rem; border-radius: 1.25rem; transition: background .15s; }
.more a:hover { background: var(--panel); }
.more img { width: 4.5rem; height: 4.5rem; border-radius: 1.15rem; box-shadow: var(--shadow-sm); margin-bottom: .55rem; }
.more b { font-weight: 700; font-size: 1rem; line-height: 1.35; }
.more span { font-size: .84rem; color: var(--muted); }
.g-privacy { margin: 2rem 0 0; font-size: .9rem; }
.g-privacy a { color: var(--muted); }

/* ── 좁은 화면 ── */
@media (max-width: 60rem) {
  .intro { grid-template-columns: 1fr; padding-block: 1.5rem 2.5rem; }
  .wall { grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: none; justify-self: stretch; gap: .55rem; padding-bottom: 0; order: -1; }
  .tile { border-radius: 22%; box-shadow: var(--shadow-sm); }
  .tile:nth-child(3n+2), .tile:nth-child(7) { transform: none; }
  .tile:nth-child(7) { grid-column: auto; }
  .tile, .tile:nth-child(3n+2), .tile:nth-child(7) { animation-name: bob; }
  .spot { grid-template-columns: 1fr; }
  .ask, .about, .g-about, .g-fb { grid-template-columns: 1fr; gap: 1.8rem; }
  .g-hero-in { grid-template-columns: 1fr; gap: 1.5rem; }
  .g-fan .fan { order: -1; max-width: 22rem; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) {
  body { font-size: 17px; }
  .top nav a { padding: .35rem .55rem; font-size: .9rem; }
  .spot-main { min-height: 26rem; }
  .spot-main::after { background: linear-gradient(0deg, rgba(14, 10, 8, .88) 0%, rgba(14, 10, 8, .55) 50%, rgba(14, 10, 8, .05) 85%); }
  .feats { grid-template-columns: 1fr; }
  .strip img { height: 25rem; }
  .strip.is-wide img { height: 12.5rem; }
  /* 꽉 찬 그림은 위에 따로 두고 글자는 그 아래로 */
  .g-bleed { display: block; min-height: 0; }
  .g-bleed .g-hero-bg { position: relative; height: auto; aspect-ratio: 16 / 10; }
  .g-bleed.is-dark::after { inset: auto 0 0 0; top: 0; height: auto; background: linear-gradient(0deg, #0b0d12 0%, rgba(11, 13, 18, .6) 22%, rgba(11, 13, 18, 0) 45%); }
  .g-bleed .g-hero-in { padding-block: 0 2.2rem; margin-top: -3rem; }
  .g-bleed.is-light .g-hero-text { box-shadow: var(--shadow-sm); }
  .g-title img { width: 4.6rem; height: 4.6rem; border-radius: 1.15rem; }
  .store { flex: 1 1 10rem; }
}
@media (max-width: 26rem) {
  .top nav a:last-child { display: none; }
  .mark { font-size: 1.25rem; }
  .stats { gap: .4rem 1.4rem; }
  .where li { flex-wrap: wrap; }
  .where-act { margin-left: 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card-art img, .soon-card, .tile { transition: none; animation: none; }
  .card:hover, .soon-card:hover { transform: none; }
  .card:hover .card-art img { transform: none; }
}
.h1-sub { display: block; font-size: .5em; margin-top: .35rem; opacity: .85; letter-spacing: 0; }
