/* 미니카 챔피언 로드 홈페이지 — 밝은 경주 애니메이션풍: 남색 테두리 · 붉은 띠 · 노란 밑줄 · 속도선(게임 메인 메뉴 TitleLogo 와 같은 말).
   build.py 가 asset 자리를 판 붙은 주소로 바꿔 css/site.css 로 낸다(이 파일을 고친다). 그림은 쓰지 않는 곳까지 CSS 로만(가볍게). */

@font-face {
  font-family: "Minicar Gothic";
  src: url("../fonts/minicar-gothic-bold.woff2?v=0d56e53c") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #13205a;
  --navy-2: #0e1642;
  --navy-3: #22337e;
  --ink: #161d3f;
  --ink-2: #39436b;
  --ink-3: #636c8f;
  --ink-4: #9aa1bb;
  --bg: #f3f6fc;
  --card: #ffffff;
  --card-2: #eef3fb;
  --rule: rgba(19, 32, 90, 0.12);
  --rule-2: rgba(19, 32, 90, 0.24);
  --red: #e8322b;
  --red-deep: #b9201b;
  --red-wash: rgba(232, 50, 43, 0.08);
  --gold: #ffc629;
  --gold-deep: #f0a000;
  --gold-wash: rgba(255, 198, 41, 0.18);
  --blue: #2f6bff;
  --sky: #39b6ff;
  --ok: #1f8a4c;
  --r-common: #8e96ad;
  --r-rare: #2f8fff;
  --r-epic: #9b4dff;
  --r-legend: #f29d00;
  --r-myth: #ff3f7c;
  --shadow: 0 1px 0 rgba(19, 32, 90, 0.04), 0 16px 34px -22px rgba(19, 32, 90, 0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1160px;
  --gutter: 20px;
  --font-disp: "Minicar Gothic", "NanumGothic", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", "NanumGothic", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--red); }

:focus-visible { outline: 3px solid rgba(47, 107, 255, 0.6); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; color: var(--navy); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.disp { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.01em; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ─── 꼬리표 ─── */
.tag {
  display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.6;
  color: #fff; background: var(--red); border-radius: 999px; padding: 0.02em 0.7em;
}
.tag.t-update { background: var(--blue); }
.tag.t-event { background: var(--gold); color: var(--navy); }
.tag.t-maint { background: var(--ink-3); }
.badge-beta {
  display: inline-flex; align-items: center; gap: 0.4em;
  background: var(--red); color: #fff; font-size: 0.92rem; padding: 0.35em 0.95em 0.3em;
  border-radius: 6px; transform: skewX(-10deg); box-shadow: 0 0 0 3px var(--navy), 4px 4px 0 3px var(--navy);
}
.badge-staff { font-size: 0.72rem; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; padding: 0.05em 0.55em; letter-spacing: 0.04em; }

/* ─── 단추 ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 44px; padding: 0.55em 1.3em;
  font: 700 1rem/1.2 var(--font-body);
  color: var(--navy); background: var(--card);
  border: 2px solid var(--navy); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(19, 32, 90, 0.7); color: var(--navy); }
.btn:active { transform: none; box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-gold {
  background: var(--gold); border-color: var(--navy); color: var(--navy);
  box-shadow: 0 4px 0 var(--navy);
}
.btn-gold:hover { background: #ffd651; color: var(--navy); box-shadow: 0 6px 0 var(--navy); }
.btn-gold:active { box-shadow: 0 2px 0 var(--navy); transform: translateY(2px); }
.btn-gold.disp { font-family: var(--font-disp); }
.btn-red { background: var(--red); border-color: var(--red-deep); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--navy); }
.btn-white:hover { color: var(--red); }
.btn-ghost { background: rgba(14, 22, 66, 0.35); border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn-ghost:hover { background: rgba(14, 22, 66, 0.6); color: #fff; }
.btn-line { background: transparent; }
.btn-lg { min-height: 54px; padding: 0.7em 1.7em; font-size: 1.08rem; }
.btn-sm { min-height: 36px; padding: 0.3em 0.95em; font-size: 0.92rem; }
.btn-text {
  border: 0; background: none; padding: 0.2em 0.35em; min-height: 32px;
  color: var(--ink-3); font: 400 0.92rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em;
}
.btn-text:hover { color: var(--red); }
.btn-text.is-danger { color: var(--red); }
.btn-text[disabled] { opacity: 0.55; cursor: default; }

/* ─── 머리 ─── */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid var(--navy);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.top::after {   /* 머리 아래 붉은·노란 속도선 */
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 4px; pointer-events: none;
  background: linear-gradient(90deg, var(--red) 0 38%, transparent 38% 39%, var(--gold) 39% 52%, transparent 52%);
  opacity: 0.9;
}
.top-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.logo:hover { color: var(--navy); }
.logo-badge { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 2px var(--navy); }
.logo-t { font-size: 1.25rem; line-height: 1; white-space: nowrap; transform: skewX(-8deg); }
.logo-t .logo-1 { color: var(--navy); }
.logo-t .logo-2 { color: var(--red); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 12px; text-decoration: none; font-weight: 700; color: var(--navy); border-radius: 999px; }
.nav a:hover { color: var(--red); background: var(--red-wash); }
.nav a[aria-current="page"] { color: #fff; background: var(--navy); }
.nav .nav-join { margin-left: 8px; padding: 0.45em 1.1em; min-height: 40px; box-shadow: 0 3px 0 var(--navy); }
.nav .nav-join:hover { color: var(--navy); background: #ffd651; }
.nav-btn {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 2px solid var(--navy); border-radius: 12px; background: #fff; cursor: pointer; position: relative;
}
.nav-btn-bars, .nav-btn-bars::before, .nav-btn-bars::after {
  position: absolute; left: 10px; width: 20px; height: 2.5px; background: var(--navy); content: ""; border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-btn-bars { top: 19px; }
.nav-btn-bars::before { top: -6px; left: 0; }
.nav-btn-bars::after { top: 6px; left: 0; }
.top.is-open .nav-btn-bars { background: transparent; }
.top.is-open .nav-btn-bars::before { transform: translateY(6px) rotate(45deg); }
.top.is-open .nav-btn-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ─── 말 바꾸기 ─── */
.lang {
  flex: none; display: inline-flex; align-items: center; gap: 2px; margin-left: 8px;
  padding: 2px 3px 2px 9px; border: 2px solid var(--rule-2); border-radius: 999px; background: #fff;
}
.lang-ico { width: 17px; height: 17px; flex: none; color: var(--ink-3); }
.lang .lang-ico { margin-right: 3px; }
.lang-opt {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; line-height: 1; white-space: nowrap; text-decoration: none; color: var(--ink-2);
}
a.lang-opt:hover { color: var(--red); background: var(--red-wash); }
.lang-opt.is-cur { background: var(--navy); color: #fff; }
.lang-menu { position: relative; padding: 0; border: 0; background: none; }
.lang-menu > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px 0 10px; cursor: pointer;
  border: 2px solid var(--rule-2); border-radius: 999px; background: #fff; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::after {
  content: ""; width: 0.42em; height: 0.42em; margin: 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.lang-menu[open] > summary { border-color: var(--navy); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; list-style: none; margin: 0; padding: 6px;
  min-width: 190px; max-height: 70vh; overflow-y: auto;
  background: #fff; border: 2px solid var(--navy); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.lang-list a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; font-weight: 700; color: var(--navy); }
.lang-list a[aria-current] { background: var(--navy); color: #fff; }

/* 격자 칸은 안의 그림 크기(width 속성)로 넓어지지 않게(min-width: auto 막기) */
.feat-grid > *, .news-cards > *, .shots > *, .shots-teaser > *, .hero-cards > *, .racer-row > *, .beta-in > *,
.acc-grid > *, .news-wrap > *, .hero-card > *, .foot-in > *, .intro-in > * { min-width: 0; }

/* ─── 첫 쪽: 키 아트 ─── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: min(78vh, 680px); display: flex; align-items: center;
  background: var(--navy-2);
}
.hero-bg { position: absolute; inset: 0; margin: 0; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::before {   /* 왼쪽 글 자리만 어둡게(게임 메인 메뉴처럼) */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 22, 66, 0.9) 0%, rgba(14, 22, 66, 0.72) 32%, rgba(14, 22, 66, 0.08) 58%, transparent 70%),
              linear-gradient(0deg, rgba(14, 22, 66, 0.55) 0%, transparent 28%);
}
.hero::after {   /* 아래 체커 깃발 띠 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 2;
  background: repeating-conic-gradient(var(--navy-2) 0 25%, #fff 0 50%) 0 0 / 14px 14px;
  opacity: 0.85;
}
.hero-in { position: relative; z-index: 3; padding-top: 56px; padding-bottom: 64px; }
.hero-text { max-width: 560px; }
.hero-badge { margin: 0 0 18px; }
.logo-big { margin: 0; line-height: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.logo-big .lb-1, .logo-big .lb-2 > span {
  color: #fff;
  text-shadow:   /* 두꺼운 남색 테두리(여러 방향 그림자) + 아래로 떨어지는 그림자 */
    3px 0 0 var(--navy), -3px 0 0 var(--navy), 0 3px 0 var(--navy), 0 -3px 0 var(--navy),
    2px 2px 0 var(--navy), -2px -2px 0 var(--navy), 2px -2px 0 var(--navy), -2px 2px 0 var(--navy),
    5px 5px 0 var(--navy), 7px 7px 0 rgba(0, 0, 0, 0.35);
}
.logo-big .lb-1 { font-size: clamp(2.6rem, 6.2vw, 4rem); transform: skewX(-10deg); margin-left: 0.15em; }
.logo-big .lb-2 {
  position: relative; display: inline-block; padding: 0.06em 0.45em 0.12em 0.3em;
  font-size: clamp(3.1rem, 8vw, 5.4rem); transform: skewX(-10deg);
}
.logo-big .lb-2::before {   /* 붉은 띠 */
  content: ""; position: absolute; inset: 14% -0.25em 4% -0.2em; z-index: -1;
  background: linear-gradient(180deg, #ff4a3f, var(--red) 60%, var(--red-deep));
  border: 3px solid var(--navy); transform: skewX(-6deg);
}
.logo-big .lb-2::after {   /* 노란 밑줄 */
  content: ""; position: absolute; left: -0.2em; right: 0.4em; bottom: -0.16em; height: 0.14em; z-index: -1;
  background: var(--gold); border: 3px solid var(--navy); transform: skewX(-6deg);
}
.logo-big .lb-2 > span { position: relative; color: #fff7d6; }
html[lang="en"] .logo-big .lb-1 { font-size: clamp(2rem, 4.6vw, 3rem); }
html[lang="en"] .logo-big .lb-2 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); white-space: nowrap; }
html[lang="en"] .hero-en { letter-spacing: 0.08em; }
.hero-en { font-size: 0.95rem; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.82); margin: 26px 0 14px; text-transform: uppercase; font-weight: 700; }
.hero-lines { font-size: clamp(1.12rem, 2.2vw, 1.35rem); line-height: 1.6; margin-bottom: 26px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); }
.hero-lines span { display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── 띠·마디 ─── */
.sec { padding: 76px 0; }
.sec-h {
  font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.15; margin: 0 0 16px;
  display: inline-block; position: relative; padding: 0 0 14px 0.1em; transform: skewX(-8deg);
}
.sec-h::after {   /* 붉은·노란 속도선 밑줄 */
  content: ""; position: absolute; left: 0.05em; bottom: 0; width: calc(100% + 0.6em); height: 7px;
  background: linear-gradient(90deg, var(--red) 0 62%, transparent 62% 65%, var(--gold) 65% 84%, transparent 84% 87%, var(--sky) 87% 100%);
  border-radius: 2px;
}
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 48em; }
.note { color: var(--ink-3); font-size: 0.95rem; }
.box {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
}

.band-beta { position: relative; margin-top: -1px; padding: 40px 0 0; }
.beta-in {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: center;
  background: var(--card); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 30px 32px; box-shadow: 8px 8px 0 var(--navy);
}
.beta-in .sec-h { font-size: clamp(1.7rem, 3.6vw, 2.2rem); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: 0.45em; }
.ticks li::before {
  content: ""; position: absolute; left: 0.1em; top: 0.55em; width: 0.85em; height: 0.55em;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--gold) 50%); transform: skewX(-20deg); border-radius: 2px;
}
.beta-dl { text-align: center; }
.dl-card { display: grid; gap: 10px; }
.dl-store {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px;
  border: 2px dashed var(--rule-2); border-radius: var(--radius-sm); background: var(--card-2); text-decoration: none; color: var(--navy);
}
.dl-store.is-on { border: 2px solid var(--navy); background: var(--gold); box-shadow: 0 4px 0 var(--navy); }
.dl-store .dl-name { font-weight: 700; font-size: 1.05rem; }
.dl-store .dl-state { color: var(--ink-3); font-size: 0.92rem; font-weight: 700; }
.dl-store.is-on .dl-state { color: var(--navy); }

/* 주인공 */
.hero-cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.hero-card {
  position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden;
  background: var(--card); border: 3px solid var(--navy); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--navy);
}
.hero-card figure { margin: 0; background: var(--navy-2); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-card-tx { padding: 22px 22px 20px; display: flex; flex-direction: column; }
.hero-card .hero-card-tag {
  align-self: flex-start; margin: 0 0 10px; font-weight: 700; font-size: 0.82rem; color: #fff; background: var(--red);
  padding: 0.15em 0.8em; border-radius: 999px;
}
.hero-card.hc-sera .hero-card-tag { background: var(--blue); }
.hero-card h3 { font-size: 2rem; margin: 0 0 4px; transform: skewX(-8deg); }
.hero-card .hero-card-machine { margin: 0 0 12px; font-weight: 700; color: var(--red); font-size: 0.95rem; }
.hero-card.hc-sera .hero-card-machine { color: var(--blue); }
.hero-card p { font-size: 0.98rem; color: var(--ink-2); }
.hero-card .hero-card-ch { margin: auto 0 0; padding-top: 10px; border-top: 2px dashed var(--rule-2); font-size: 0.9rem; color: var(--ink-3); }

/* 특징 */
.feats { background: linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.06) 20%, rgba(47, 107, 255, 0.06) 80%, transparent); }
.feat-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat {
  position: relative; background: var(--card); border: 2px solid var(--navy); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.2s;
}
.feat:hover { transform: translateY(-4px); }
.feat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--navy); }
.feat-no {
  position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 1rem; line-height: 1; padding: 6px 10px 5px;
  color: var(--navy); background: var(--gold); border: 2px solid var(--navy); border-radius: 8px; transform: skewX(-10deg);
}
.feat-tx { padding: 16px 20px 20px; }
.feat h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.feat p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }

/* 레이서들 */
.racer-row { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.racer { background: var(--card); border: 2px solid var(--rule-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.racer figure {
  margin: 0; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  background: radial-gradient(closest-side at 50% 55%, rgba(57, 182, 255, 0.28), transparent 80%),
              repeating-linear-gradient(-55deg, rgba(19, 32, 90, 0.05) 0 8px, transparent 8px 22px), var(--card-2);
}
.racer img { width: 112%; max-width: none; height: auto; transition: transform 0.3s; }
.racer:hover img { transform: translateY(-4px) scale(1.03); }
.racer-tx { padding: 10px 12px 14px; border-top: 2px solid var(--rule-2); }
.racer h3 { font-size: 1.15rem; margin: 0; }
.racer .racer-role { margin: 0 0 4px; font-size: 0.82rem; font-weight: 700; color: var(--red); }
.racer p { margin: 0; font-size: 0.88rem; color: var(--ink-2); line-height: 1.55; }

/* 새 소식 */
.news-cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { background: var(--card); border: 2px solid var(--rule-2); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color 0.2s, transform 0.2s; }
.news-card:hover { border-color: var(--navy); transform: translateY(-3px); }
.news-card a { display: block; height: 100%; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.news-card a:hover h3 { color: var(--red); }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-3); margin-bottom: 8px; }
.news-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.news-card p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.sec-more { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }

.shots-teaser { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shots-teaser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid var(--navy); border-radius: var(--radius-sm); transition: transform 0.2s; }
.shots-teaser a:hover img { transform: translateY(-3px); }

.cta {
  position: relative; text-align: center; padding: 84px 0 96px; color: #fff; overflow: hidden;
  background:
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px),
    radial-gradient(120% 140% at 50% 120%, var(--navy-3), var(--navy-2) 60%);
}
.cta .sec-h { color: #fff; margin-bottom: 14px; }
.cta .lead { color: rgba(255, 255, 255, 0.85); margin-left: auto; margin-right: auto; }
.cta-act { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ─── 쪽 머리 ─── */
.page-head { padding: 46px 0 26px; }
.page-head h1 { font-size: clamp(2.3rem, 6vw, 3.3rem); margin: 0 0 6px; line-height: 1.1; transform: skewX(-8deg); display: inline-block; }
.page-head .lead { margin-bottom: 0; }

/* ─── 소식 ─── */
.news-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 40px; padding-top: 20px; padding-bottom: 76px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  min-height: 36px; padding: 0.25em 1em; border-radius: 999px; border: 2px solid var(--rule-2);
  background: var(--card); font: 700 0.92rem var(--font-body); color: var(--ink-2); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.chip.is-on, .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy); }
.news-item { border-bottom: 1px solid var(--rule-2); }
.news-item a { display: grid; grid-template-columns: 110px 1fr; gap: 6px 20px; padding: 18px 4px; text-decoration: none; color: var(--ink); }
.news-item .news-date { color: var(--ink-3); font-size: 0.92rem; padding-top: 3px; font-variant-numeric: tabular-nums; }
.news-item h2 { font-size: 1.15rem; margin: 0 0 4px; }
.news-item a:hover h2 { color: var(--red); }
.news-item p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.news-side .side-h { font-size: 0.95rem; letter-spacing: 0.06em; margin: 4px 0 10px; color: var(--ink-3); }
.side-links { list-style: none; padding: 0; margin: 0 0 24px; border-top: 2px solid var(--navy); }
.side-links li { border-bottom: 1px solid var(--rule-2); }
.side-links a { display: block; padding: 10px 2px; text-decoration: none; font-weight: 700; color: var(--navy); }
.side-links a:hover { color: var(--red); }
.article { max-width: 780px; padding-bottom: 76px; }
.article .page-head h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.article-meta { display: flex; align-items: center; gap: 10px; color: var(--ink-3); margin: 0 0 14px; }
.article-body { font-size: 1.05rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.article-body h2, .article-body h3 { margin-top: 1.4em; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.35em; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 2px solid var(--rule-2); margin-top: 32px; padding-top: 18px; }

/* ─── 미디어 ─── */
.shots { list-style: none; padding: 0; margin: 22px 0 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shots-arts { grid-template-columns: repeat(3, 1fr); }
.shot a { display: block; text-decoration: none; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid var(--navy); border-radius: var(--radius-sm); box-shadow: var(--shadow); transition: transform 0.2s; }
.shot-art img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
.shot a:hover img { transform: translateY(-3px); }
.shot p { margin: 8px 2px 0; font-size: 0.95rem; color: var(--ink-2); }
.lightbox {
  border: 0; padding: 0; max-width: min(96vw, 1400px); width: 100%; background: transparent; color: #fff;
}
.lightbox::backdrop { background: rgba(8, 12, 36, 0.9); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 10px 4px; font-size: 0.98rem; }
.lb-act { display: flex; justify-content: center; gap: 10px; padding: 4px 0 8px; }
.lb-act .btn { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.7); }
.lb-act .btn:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ─── 표(약관·확률) ─── */
.tbl-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--card); }
.tbl th, .tbl td { border: 1px solid var(--rule-2); padding: 8px 12px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; border-color: var(--navy); }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr.is-zero td { color: var(--ink-4); }
.tbl tbody tr:nth-child(even) td { background: rgba(47, 107, 255, 0.035); }
.tbl .orig { color: var(--ink-3); font-size: 0.88em; white-space: nowrap; }
.tbl .orig::before { content: "("; }
.tbl .orig::after { content: ")"; }
.tbl .cell-sub { display: inline-block; margin-left: 6px; font-size: 0.8em; font-weight: 700; color: #fff; background: var(--ok); border-radius: 999px; padding: 0 0.55em; }
.tbl .cell-dim { color: var(--ink-3); font-size: 0.9em; padding-left: 1em; }
.tbl-odds thead th.num:nth-child(2) { background: #59617c; }
.tbl-odds thead th.num:nth-child(3) { background: var(--r-rare); }
.tbl-odds thead th.num:nth-child(4) { background: var(--r-epic); }
.tbl-odds thead th.num:nth-child(5) { background: var(--r-legend); }
.tbl-odds thead th.num:nth-child(6) { background: var(--r-myth); }
.tbl-parts td { font-size: 0.88rem; }
.tbl caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 6px; }

.doc { max-width: 860px; padding-bottom: 84px; }
.doc > h1 { font-size: clamp(2rem, 5vw, 2.7rem); transform: skewX(-6deg); display: inline-block; margin-top: 36px; }
.doc h2 { font-size: 1.35rem; margin-top: 2em; padding-top: 0.6em; border-top: 2px solid var(--rule-2); }
.doc h3 { font-size: 1.12rem; margin-top: 1.5em; }
.doc h4 { font-size: 1rem; margin: 1.2em 0 0.5em; color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin-bottom: 0.3em; }
.doc li > ul, .doc li > ol { margin-top: 0.3em; }
.doc blockquote { margin: 1em 0; padding: 12px 16px; border-left: 5px solid var(--gold); background: var(--gold-wash); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.doc blockquote p { margin: 0; }
.doc code { font-family: var(--font-mono); font-size: 0.9em; background: var(--card-2); padding: 0.05em 0.35em; border-radius: 4px; }
.doc hr { border: 0; border-top: 2px solid var(--rule-2); margin: 2em 0; }
.doc-meta { list-style: none; padding: 0; margin: 0 0 18px; color: var(--ink-3); font-size: 0.95rem; }
.doc-meta li { margin: 0; }
.toc { margin: 20px 0 8px; padding: 16px 20px; background: var(--card); border: 2px solid var(--navy); border-radius: var(--radius); }
.toc h2 { font-size: 0.95rem; margin: 0 0 6px; border: 0; padding: 0; color: var(--ink-3); letter-spacing: 0.06em; }
.toc .toc-list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; font-size: 0.95rem; }
.doc-langs { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 0; }
.doc-other { margin-top: 48px; padding-top: 18px; border-top: 3px solid var(--navy); }
.doc-other ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
details.fold { border: 2px solid var(--rule-2); border-radius: var(--radius-sm); background: var(--card); margin: 0 0 12px; }
details.fold > summary { cursor: pointer; padding: 11px 14px; font-weight: 700; color: var(--navy); list-style-position: inside; }
details.fold[open] > summary { border-bottom: 2px solid var(--rule-2); }
details.fold > .fold-in { padding: 12px 14px 4px; }
.doc-prob section > ul { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 12px 18px 12px 34px; }

/* ─── 입력 ─── */
.form { display: grid; gap: 16px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field > span, .field > label { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: 400 1rem/1.5 var(--font-body); color: var(--ink);
  background: #fff; border: 2px solid var(--rule-2); border-radius: var(--radius-sm);
}
.textarea { min-height: 220px; resize: vertical; }
.textarea.is-short { min-height: 92px; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.18); }
.input[aria-invalid="true"] { border-color: var(--red); }
.counter { font-size: 0.85rem; color: var(--ink-3); text-align: right; margin: 0; }
.counter.is-over { color: var(--red); font-weight: 700; }
.checks { display: grid; gap: 4px; padding: 14px 16px; border: 2px solid var(--rule-2); border-radius: var(--radius-sm); background: #fff; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; margin: 0; }
.check.is-all { font-weight: 700; border-bottom: 2px solid var(--rule); padding-bottom: 6px; margin-bottom: 4px; }
.check a { margin-left: auto; font-size: 0.9rem; color: var(--ink-3); }
.msg { min-height: 1.6em; margin: 0; font-weight: 700; color: var(--red); }
.msg.is-ok { color: var(--ok); }
.form-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.95rem; margin: 0; }
.danger-zone { border: 3px solid var(--red); border-radius: var(--radius); padding: 18px 20px; background: var(--red-wash); }

/* ─── 게시판 ─── */
.board { padding-bottom: 76px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 3px solid var(--navy); margin: 14px 0 0; padding-bottom: 0; }
.tabs a {
  padding: 10px 16px; text-decoration: none; font-weight: 700; color: var(--ink-3);
  border: 2px solid transparent; border-bottom: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: 0;
}
.tabs a:hover { color: var(--red); }
.tabs a[aria-current="page"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; }
.board-bar p { margin: 0; color: var(--ink-3); font-size: 0.95rem; }
.blist { width: 100%; border-collapse: collapse; background: var(--card); border-bottom: 2px solid var(--rule-2); border-radius: var(--radius-sm); }
.blist th { font-size: 0.88rem; color: var(--ink-3); font-weight: 700; text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--rule-2); }
.blist td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.blist .c-no { width: 70px; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: center; }
.blist .c-au { width: 170px; }
.blist .c-dt { width: 110px; color: var(--ink-3); font-size: 0.92rem; white-space: nowrap; }
.blist .c-ti a { text-decoration: none; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; word-break: normal; }
.blist .c-ti a:hover { color: var(--red); }
.blist .cc { color: var(--red); font-size: 0.9rem; margin-left: 6px; font-weight: 700; }
.blist tr.is-pin td { background: var(--gold-wash); }
.blist tr.is-hid td { opacity: 0.6; }
.blist .tag-seal, .post-head .tag-seal, .tbl .tag-seal {
  display: inline-block; font-size: 0.76rem; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: 0.02em 0.65em;
}
.blist tr.is-pin .tag-seal { background: var(--red); }
.who { display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; }
.pager a, .pager span {
  min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
  border: 2px solid var(--rule-2); border-radius: 999px; text-decoration: none; background: var(--card); color: var(--navy); font-variant-numeric: tabular-nums; font-weight: 700;
}
.pager [aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager .is-off { opacity: 0.4; }
.post { background: var(--card); border: 2px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 18px; overflow: hidden; }
.post-head { padding: 22px 24px 16px; border-bottom: 2px solid var(--rule-2); }
.post-head h2 { font-size: 1.4rem; margin: 8px 0 10px; overflow-wrap: anywhere; word-break: normal; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-3); font-size: 0.93rem; margin: 0; }
.post-body { padding: 22px 24px 26px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; font-size: 1.04rem; min-height: 120px; }
.post-act { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 18px; border-top: 2px solid var(--rule-2); background: var(--card-2); }
.post-flag { margin: 0 24px 16px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--red-wash); color: var(--red-deep); font-weight: 700; font-size: 0.93rem; }
.cmts { margin-top: 26px; }
.cmts h3 { font-size: 1.1rem; }
.cmt-list { list-style: none; padding: 0; margin: 0 0 16px; border-top: 2px solid var(--rule-2); }
.cmt { padding: 12px 4px; border-bottom: 1px solid var(--rule); }
.cmt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 0.92rem; color: var(--ink-3); }
.cmt-head .who { color: var(--ink); font-weight: 700; }
.cmt-head .cmt-act { margin-left: auto; display: flex; gap: 2px; }
.cmt-x { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; }
.cmt.is-hid .cmt-x { color: var(--ink-4); font-style: italic; }
.cmt-form { display: grid; gap: 8px; }
.cmt-form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cmt-form-row .counter { margin: 0 0 0 auto; }
.cmt-form .field { display: flex; align-items: center; gap: 8px; }
.cmt-form .field label { font-size: 0.9rem; color: var(--ink-3); }
.cmt-form .select { width: auto; min-height: 40px; padding: 6px 10px; font-size: 0.95rem; }
.write { margin-top: 18px; }
.write .form { max-width: none; }
.rules { font-size: 0.93rem; color: var(--ink-3); background: var(--card); border: 2px dashed var(--rule-2); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0; }
.state { text-align: center; padding: 44px 20px; }
.state .state-badge { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 22px; box-shadow: 0 0 0 3px var(--navy); }
.loading { color: var(--ink-3); padding: 28px 4px; }

/* ─── 대화 상자 ─── */
.dlg { border: 3px solid var(--navy); border-radius: var(--radius); padding: 0; width: min(92vw, 460px); background: #fff; color: var(--ink); box-shadow: 10px 10px 0 var(--navy); }
.dlg::backdrop { background: rgba(8, 12, 36, 0.6); }
.dlg-in { padding: 22px 24px; margin: 0; }
.dlg h2 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 8px; }
.dlg fieldset { border: 0; padding: 0; margin: 10px 0 16px; display: grid; gap: 2px; }
.dlg-act { display: flex; justify-content: flex-end; gap: 8px; }

/* ─── 알림 ─── */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); z-index: 60;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--gold);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity 0.2s, transform 0.2s; max-width: min(92vw, 520px);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── 계정 ─── */
.acc { padding-bottom: 84px; }
.acc-view h2.disp, .board-view h2.disp, .write h2.disp { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.2; margin: 0 0 14px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 40px; align-items: start; margin-top: 18px; }
.acc-view { background: var(--card); border: 2px solid var(--navy); border-radius: var(--radius); padding: 26px 28px; box-shadow: 8px 8px 0 var(--navy); }
.acc-aside { padding-left: 8px; color: var(--ink-2); }
.acc-aside img { width: 220px; max-width: 70%; margin: 0 0 12px; }
.me-list { margin: 0 0 24px; display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; }
.me-list dt { font-weight: 700; color: var(--ink-3); }
.me-list dd { margin: 0; overflow-wrap: anywhere; }
.racer-name { display: inline-block; font-weight: 700; color: var(--navy); background: var(--gold-wash); border: 2px solid var(--gold); border-radius: 999px; padding: 0 0.8em; }
.act-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ─── 404 ─── */
.nf { padding: 70px 0 100px; text-align: center; }
.nf img { width: 140px; margin: 0 auto 18px; border-radius: 30px; box-shadow: 0 0 0 4px var(--navy); transform: rotate(-8deg); }
.nf h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
.nf .lead { margin: 0 auto 20px; }

/* ─── 바닥 ─── */
.foot { position: relative; margin-top: 0; background: var(--navy-2); color: rgba(255, 255, 255, 0.82); padding: 0 0 30px; font-size: 0.93rem; }
.foot-flag { height: 16px; background: repeating-conic-gradient(var(--navy-2) 0 25%, #fff 0 50%) 0 0 / 16px 16px; margin-bottom: 34px; opacity: 0.9; }
.foot a { color: rgba(255, 255, 255, 0.92); }
.foot a:hover { color: var(--gold); }
.foot-in { display: grid; grid-template-columns: 1fr 2fr; gap: 10px 40px; align-items: start; }
.foot-brand { grid-row: 1 / span 4; }
.foot-brand .logo-t { font-size: 1.5rem; transform: skewX(-8deg); display: inline-block; }
.foot-brand .logo-1 { color: #fff; }
.foot-brand .logo-2 { color: var(--gold); }
.foot-game { margin: 8px 0 0; color: rgba(255, 255, 255, 0.6); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: start; }
.foot-links a { text-decoration: none; font-weight: 700; }
.foot-links .foot-privacy { color: var(--gold); }
.foot-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; color: rgba(255, 255, 255, 0.6); }
.foot-langs { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.foot-langs .lang-ico { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.55); margin-right: -6px; }
.foot-langs a { font-weight: 700; text-decoration: none; }
.foot-langs [aria-current] { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; }
.foot-copy { grid-column: 2; margin: 0; color: rgba(255, 255, 255, 0.45); font-size: 0.85rem; }

/* ─── 좁은 화면 ─── */
@media (max-width: 1060px) {
  .racer-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .feat-grid, .news-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-cards { grid-template-columns: 1fr; }
  .shots-teaser { grid-template-columns: repeat(2, 1fr); }
  .news-wrap { grid-template-columns: 1fr; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-aside { padding-left: 0; }
}
@media (max-width: 920px) {
  html.js .nav-btn { display: block; }
  html.js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 3px solid var(--navy); padding: 6px var(--gutter) 14px;
    box-shadow: 0 18px 30px -20px rgba(19, 32, 90, 0.5);
  }
  html.js .top.is-open .nav { display: flex; }
  .top-in { gap: 8px; }
  .lang { order: 1; margin-left: auto; padding-left: 7px; }
  html.js .nav-btn { order: 2; margin-left: 0; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav a[aria-current="page"] { border-radius: 8px; }
  .nav .nav-join { margin: 12px 0 0; border-bottom: 2px solid var(--navy); border-radius: 999px; }
  html:not(.js) .top-in { flex-wrap: wrap; }
  html:not(.js) .nav { flex-wrap: wrap; margin-left: 0; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .logo-t { font-size: 1.05rem; }
  .logo-badge { width: 34px; height: 34px; }
  .lang .lang-ico { width: 15px; height: 15px; margin-right: 1px; }
  .lang-opt { min-height: 32px; padding: 0 8px; font-size: 0.82rem; }
  .hero { min-height: 0; display: block; }
  .hero-bg { position: relative; aspect-ratio: 960 / 1071; overflow: hidden; }
  .hero-bg img { object-position: 50% 30%; }
  .hero::before { background: linear-gradient(0deg, var(--navy-2) 0%, var(--navy-2) 38%, rgba(14, 22, 66, 0.85) 52%, rgba(14, 22, 66, 0) 70%); }
  .hero-in { margin-top: -150px; padding-top: 0; padding-bottom: 46px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .sec { padding: 54px 0; }
  .sec-h { max-width: calc(100% - 10px); }
  .beta-in { grid-template-columns: 1fr; padding: 22px 18px; box-shadow: 5px 5px 0 var(--navy); }
  .hero-card { grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--navy); }
  .hero-card figure { aspect-ratio: 4 / 3; }
  .feat-grid, .news-cards, .shots, .shots-arts { grid-template-columns: 1fr; }
  .shots-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .racer-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .racer { scroll-snap-align: start; }
  .news-item a { grid-template-columns: 1fr; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs a { flex: none; padding: 10px 12px; }
  .blist thead { display: none; }
  .blist, .blist tbody, .blist tr, .blist td { display: block; width: auto; }
  .blist tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 4px; border-bottom: 1px solid var(--rule); }
  .blist td { border: 0; padding: 2px 6px; }
  .blist .c-no { display: none; }
  .blist .c-ti { grid-column: 1 / -1; }
  .blist .c-au, .blist .c-dt { width: auto; font-size: 0.88rem; color: var(--ink-3); }
  .blist .c-dt { text-align: right; }
  .post-head, .post-body { padding-left: 16px; padding-right: 16px; }
  .article-body { padding: 18px 16px; }
  .acc-view { padding: 20px 16px; box-shadow: 5px 5px 0 var(--navy); }
  .toc .toc-list { columns: 1; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-meta, .foot-langs, .foot-copy { grid-column: 1; }
  .me-list { grid-template-columns: 1fr; gap: 2px; }
  .me-list dd { margin-bottom: 10px; }
}

@media (max-width: 480px) {
  .top .logo-t .logo-2 { display: none; }   /* 머리: 「미니카」만(말 바꾸기·메뉴 단추가 화면 안에) */
  .lang .lang-ico { display: none; }
  .lang { padding-left: 3px; }
  .logo-big .lb-2 { padding-right: 0.3em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .top, .foot, .nav-btn, .hero-cta, .post-act, .cmt-form { display: none !important; }
  body { background: #fff; }
}
