/* ==========================================================================
   home.css — v4.0.0 홈 A 아케이드 (홈 쪽에서만 받음 · 빌드 tools/site-pages.mjs)
   값은 디자인 26절 · 26-8 참조 구현(look-v400 6fa83817 v400ref/arcade.css ③) 그대로 — 토큰(--arc-* · --neon-* · .n1~.n6)은 base.css,
   공통 머리글 A 꼴 · 머리글 초점 고리는 layout.css 머리 절. 여기 더한 것: 빌드 · 앱 마크업에 맞춘 것(스네이크 넓은 판 · 카테고리 칸 숨쉬기 차례 ·
   p 여백 · 글 링크 :hover 색) · 홈 본문 초점 고리는 맨 아래(제 그림자 규칙보다 뒤)
   움직임은 transform · opacity 만(칠하기 애니메이션 0) · 줄임 설정이면 전부 멈춤
   ========================================================================== */

/* 바탕 · 빛 · 초점 고리 --ring · 바닥 점선은 v4.2.0 부터 모든 쪽(css/arc-skin.css · base.css body::before) */
html[data-page="home"] .game-panel { padding: 0; background: none; border: 0; box-shadow: none; }
html[data-page="home"] #stage > .game-mount { margin-top: 0; }
html[data-page="home"] .site-main { gap: 0; padding-top: 14px; }
.arc { display: flow-root; }                  /* 홈 묶음 — 자동 광고가 사이에 끼어도 줄 하나로(격자 부모 없음) */
.arc + .arc, .arc-hero + .arc { margin-top: 30px; }

/* 제목 줄 — 영문 꼬리표(고정폭 · 낭독 밖) + 한글 제목 */
.arc-sec { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 14px; font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--arc-ink); }
.arc-sec > span { font: 800 12px/1 var(--mono); letter-spacing: .16em; color: var(--neon-2); text-shadow: 0 0 calc(var(--arc-glow) * 8px) var(--neon-2); }
/* v4.5.4 ② 밝은 테마 — 네온(선명한 값)은 선 · 채움 · 빛에만 · 네온 색 글은 --ink(디자인 24-37-② 1절) · 이 파일의 밝은 규칙은 그 규칙 바로 아래 */
:root[data-theme="light"] :is(.arc-sec > span, .arc-clock, .arc-daily-all, .arc-xhead a, .home-notes .text-btn) { color: var(--ink-2); }
/* 제목 줄 + 오른쪽 글 링크(v4.4.0 U42 B · F — 홈 인기 칸 [인기 게임 전체 보기 →] · 마이페이지 메인 절 셋 [… 전체 보기 →]) — 단추는 .arc-ghost 작게(보이는 36 · 누르는 칸 44) · 좁으면 아래 줄로 */
.arc-sec-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 14px; }
.arc-sec-head > .arc-sec { margin: 0; min-width: 0; }
.arc-sec-more { flex: none; height: 36px; margin-left: auto; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 800; }
.arc-sec-more::after { content: ''; position: absolute; inset: -4px 0; }

/* 오락기 띠 */
.arc-hero { position: relative; display: grid; gap: 18px; padding: 20px; border-radius: 22px; border: 2px solid var(--arc-line); background: linear-gradient(180deg, var(--arc-bg2), var(--arc-bg)); overflow: hidden; isolation: isolate; box-shadow: var(--arc-shadow); }
.arc-floor { position: absolute; z-index: -1; left: -50%; right: -50%; bottom: -36%; height: 72%; transform: perspective(380px) rotateX(62deg); transform-origin: 50% 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); pointer-events: none; }
.arc-floor::before { content: ''; position: absolute; left: 0; right: 0; top: -56px; bottom: 0; background-image: linear-gradient(var(--arc-grid) 2px, transparent 2px), linear-gradient(90deg, var(--arc-grid) 2px, transparent 2px); background-size: 56px 56px; animation: arc-floor 1.6s linear infinite; will-change: transform; }
@keyframes arc-floor { to { transform: translateY(56px); } }

.arc-cab { background: linear-gradient(180deg, var(--arc-cab2), var(--arc-cab)); border-radius: 18px; padding: 10px 12px 12px; box-shadow: 0 0 0 2px #000 inset, 0 0 calc(var(--arc-glow) * 34px) rgba(255, 62, 165, .45), var(--arc-shadow); }
.arc-cab-top { display: flex; align-items: center; gap: 6px; height: 17px; margin: 0; padding: 0 2px 8px; box-sizing: content-box; }
.arc-cab-top i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f7a; } .arc-cab-top i:nth-child(2) { background: #ffd34a; } .arc-cab-top i:nth-child(3) { background: #4ade80; }
/* 밝은 = 연보라 몸통(--arc-cab · base.css) · 안 선 = --arc-line · 분홍 빛 옅게(v4.5.4 ② 4절 · 디자인 24-37-②) */
:root[data-theme="light"] .arc-cab { box-shadow: 0 0 0 2px var(--arc-line) inset, 0 0 calc(var(--arc-glow) * 34px) rgba(255, 46, 151, .35), var(--arc-shadow); }
.arc-cab-top span { margin-left: auto; font: 800 11px/1 var(--mono); letter-spacing: .18em; color: #ffe04a; animation: arc-blink 1.2s steps(2) infinite; }
:root[data-theme="light"] .arc-cab-top span { color: var(--ink-1); }
@keyframes arc-blink { 50% { opacity: .25; } }
/* 오락기 화면 = 어두운 테마는 어두운 판(CRT) · 밝은 테마는 밝은 화면(v4.5.4 ②) — attract 는 이 상자의 --field-* 를 읽음(themeColors([], canvas) · 테마 단추 때 다시 읽음) */
.arc-screen {
  --field-bg: #070a12; --field-cell: #1a2540; --field-grid: rgba(159, 176, 208, .28); --field-line: #3a5aa8; --line: #243250;
  --surface: #121a2b; --surface-2: #18223a; --surface-3: #1f2b47; --bg: #0a0e18; --text: #e8edf9; --text-dim: #9fb0d0;
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; height: var(--scr-h, 260px); padding: 12px; border-radius: 12px; background: #04050c; overflow: hidden; box-sizing: border-box; box-shadow: inset 0 0 40px rgba(34, 228, 255, .18);
}
:root[data-theme="light"] .arc-screen {
  --field-bg: #f4f0ff; --field-cell: #ffffff; --field-grid: rgba(120, 90, 200, .18); --field-line: #9d5cff; --line: #d9cdee;
  --surface: #ffffff; --surface-2: #f7f3ff; --surface-3: #ece4fb; --bg: #fbf8ff; --text: #1d1538; --text-dim: #5a5274;
  background: #fbf8ff; box-shadow: inset 0 0 0 1.5px #d9cdee, inset 0 0 40px rgba(0, 191, 238, .16);
}
/* attract 없는 게임 — og 그림을 통째로(글이 든 그림이라 자르지 않음 · 위아래 화면 바탕 띠) · 점수판 없음 · 상자 크기는 화면 그대로라 밀림 0
   그림 = 어두운 테마 assets/og · 밝은 테마 assets/og-light(같은 이름 · 같은 크기 · home-arcade-html.js ogScreenSrc · 테마 단추 때 home-arcade.js 가 바꿈) */
.arc-screen.is-og { grid-template-columns: minmax(0, 1fr); place-items: center; padding: 10px; }
.arc-og { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.arc-board { height: 100%; aspect-ratio: 1 / 2; border-radius: 4px; overflow: hidden; outline: 2px solid rgba(255, 255, 255, .12); background: #070a12; }
:root[data-theme="light"] .arc-board { outline-color: rgba(29, 21, 56, .12); background: #f4f0ff; }
.arc-board.is-wide { grid-column: 1 / -1; width: 100%; aspect-ratio: auto; }      /* 스네이크 — 판이 화면을 꽉 채움 */
.arc-board canvas { display: block; width: 100%; height: 100%; }
.arc-hud { display: grid; align-content: start; gap: 12px; margin: 0; color: #e8edf9; font-family: var(--mono); }
.arc-hud p { margin: 0; }
.arc-hud small { display: block; font-size: 11px; letter-spacing: .14em; color: #8f97b8; }
.arc-hud b { font-size: 22px; font-variant-numeric: tabular-nums; color: #fff; }
.arc-hud .arc-score { color: #ffe04a; text-shadow: 0 0 10px rgba(255, 224, 74, .6); }
:root[data-theme="light"] .arc-hud { color: #1d1538; }
:root[data-theme="light"] .arc-hud small { color: #5a5274; }
:root[data-theme="light"] .arc-hud b { color: #1d1538; }
:root[data-theme="light"] .arc-hud .arc-score { color: var(--ink-1); text-shadow: 0 0 10px rgba(255, 46, 151, .30); }
.arc-next { display: grid; grid-template-columns: repeat(3, 14px); gap: 2px; margin-top: 4px; }
.arc-next i { width: 14px; height: 14px; background: #4ade80; border-radius: 2px; } .arc-next i:nth-child(4) { grid-column: 2; }
.arc-scan { position: absolute; inset: 0; pointer-events: none; overflow: hidden; background: repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, .22) 2px 3px); }
:root[data-theme="light"] .arc-scan { background: repeating-linear-gradient(transparent 0 2px, rgba(29, 21, 56, .045) 2px 3px); }
.arc-scan::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(transparent, rgba(255, 255, 255, .06), transparent); transform: translateY(-100%); animation: arc-sweep 4s linear infinite; }
@keyframes arc-sweep { to { transform: translateY(334%); } }
.arc-cab-bot { display: flex; align-items: center; justify-content: space-between; height: 18px; margin: 0; padding: 10px 14px 0; box-sizing: content-box; }
.arc-joy { width: 18px; height: 18px; border-radius: 50%; background: #ff3ea5; box-shadow: 0 6px 0 -2px #000; animation: arc-joy 2.4s ease-in-out infinite; }
:root[data-theme="light"] .arc-joy { box-shadow: 0 6px 0 -2px rgba(29, 21, 56, .35); }
@keyframes arc-joy { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-5px) rotate(-12deg); } 60% { transform: translateX(5px) rotate(12deg); } }
.arc-btns { display: flex; gap: 8px; } .arc-btns i { width: 14px; height: 14px; border-radius: 50%; background: #22e4ff; } .arc-btns i + i { background: #ffe04a; animation: arc-press 1.8s infinite; }
@keyframes arc-press { 0%, 70%, 100% { transform: none; } 80% { transform: scale(.75); } }

.arc-pick { display: grid; align-content: start; gap: 10px; min-width: 0; container-type: inline-size; }
.arc-tag { justify-self: start; margin: 0; font-weight: 800; font-size: 13px; color: var(--neon-3); border: 1.5px solid var(--neon-3); padding: 3px 10px; border-radius: 99px; box-shadow: 0 0 calc(var(--arc-glow) * 12px) color-mix(in oklab, var(--neon-3) 60%, transparent); }
:root[data-theme="light"] .arc-tag { color: var(--chip-fg); background: var(--chip-bg); border-color: var(--chip-bd); }   /* 노랑 딱지(v4.5.4 ② 3절) */
/* 오늘의 추천 — 날마다 이름 · 한 줄 · 단추가 바뀌어도 칸 높이 그대로(밀림 0):
   이름 = 한 줄 고정(높이 = 기본 글 크기) · 긴 이름은 data-fit 으로 줄인 크기(칸 폭 기준 cqi) · 한 줄 글 = 두 줄 자리 · 단추 = 한 줄(좁은 폭은 늘 두 줄) */
.arc-pick-name { display: flex; align-items: flex-end; height: var(--pick-fs, 64px); margin: 0; white-space: nowrap; overflow: hidden;
  font-size: min(var(--pick-fs, 64px), calc(100cqi / var(--fit-em, 5.1))); line-height: 1; font-weight: 900; letter-spacing: -.04em; color: var(--arc-ink);
  text-shadow: 0 0 calc(var(--arc-glow) * 14px) var(--neon-2), calc((1 - var(--arc-glow)) * 3px) calc((1 - var(--arc-glow)) * 3px) 0 var(--neon-1); }
:root[data-theme="light"] .arc-pick-name { text-shadow: 0 0 calc(var(--arc-glow) * 14px) color-mix(in oklab, var(--neon-1) 70%, transparent); }   /* 밝은 = 빛만(어긋난 3px 뺌 · v4.5.4 ② 2절) */
.arc-pick-name[data-fit="m"] { --fit-em: 6.5; }
.arc-pick-name[data-fit="l"] { --fit-em: 8.4; }
.arc-blurb { margin: 0; min-height: 3.1em; color: var(--arc-dim); font-size: 15px; line-height: 1.55; max-width: 34em; word-break: keep-all; }
.arc-cta { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 10px; margin: 4px 0 0; }
.arc-play, .arc-ghost { height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; border-radius: 12px; font-weight: 900; font-size: 15px; white-space: nowrap; text-decoration: none; }
.arc-play { background: var(--arc-play); color: #fff; box-shadow: 0 0 calc(var(--arc-glow) * 22px) var(--neon-1), var(--arc-shadow); animation: arc-pulse 2s ease-in-out infinite; }
@keyframes arc-pulse { 50% { transform: scale(1.04); } }
.arc-ghost { position: relative; border: 2px solid var(--arc-line); background: var(--arc-panel); color: var(--arc-ink); }
.arc-more-a { display: none; }
/* 추천 칸 ≤ 319(360 · 1100–1121 · 두 줄 칸) — "… N종 보기" 쌍이 칸에 1~7px 만 남아 글꼴이 바뀌면 넘침 → 짧은 꼴 "… N종 →"(눈만 · 낭독은 "보기" 그대로) */
@container (max-width: 319px) {
  .arc-ghost .arc-more-w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .arc-ghost .arc-more-a { display: inline; }
}
.arc-play:hover, .arc-ghost:hover { text-decoration: none; }
.arc-play:hover { color: #fff; }
.arc-ghost:hover { border-color: var(--neon-2); color: var(--arc-ink); }
.arc-minis { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }   /* 다음 추천 둘 — 줄마다 하나(이름 · 짧은 줄이 날마다 바뀌어도 한 줄씩 다 보이게 · 26-8) */
.arc-mini { display: flex; align-items: center; gap: 10px; height: 50px; padding: 4px 10px 4px 5px; border-radius: 12px; background: var(--arc-panel); border: 2px solid var(--arc-line); color: var(--arc-ink); text-decoration: none; min-width: 0; box-sizing: border-box; }
.arc-mini:hover { text-decoration: none; border-color: var(--neon-2); color: var(--arc-ink); }
.arc-mini-scr { flex: 0 0 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; font-size: 22px; line-height: 1; background: #04050c; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--neon-2) 45%, transparent); }
:root[data-theme="light"] .arc-mini-scr { background: radial-gradient(circle at 50% 40%, #ffffff, #f1eaff 75%); }   /* 밝은 = 흰 유리(v4.5.4 ② 4절 · me.css .me-icon · .me-starter-scr 같은 값) */
.arc-mini-txt { display: grid; min-width: 0; }
.arc-mini b { font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arc-mini small { font-size: 12px; line-height: 1.3; color: var(--arc-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 오늘의 퍼즐(옆 칸) — 띠 고리 이름(daily-band · db-*)은 그대로 둠(앱 fillBand · v360-daily 탐침) */
.arc-hero .daily-band { display: grid; align-content: start; gap: 10px; margin: 0; padding: 14px; border-radius: 16px; background: var(--arc-panel); border: 2px solid var(--arc-line); box-shadow: var(--arc-shadow); }
.arc-hero .daily-band-title { margin: 0; height: auto; font-size: 18px; line-height: 1.3; font-weight: 900; color: var(--arc-ink); }
.arc-left { margin: 0; font-size: 13px; color: var(--arc-dim); }
.arc-clock { display: inline-block; min-width: 8ch; font: 800 15px/1 var(--mono); color: var(--neon-2); font-variant-numeric: tabular-nums; text-shadow: 0 0 calc(var(--arc-glow) * 8px) var(--neon-2); }
.arc-hero .daily-band-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.arc-hero .daily-band-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; column-gap: 10px; align-items: center; height: 62px; min-height: 0; padding: 0 10px; border-radius: 12px; border: 1.5px solid color-mix(in oklab, var(--n) 60%, transparent); background: none; color: var(--arc-ink); text-decoration: none; box-sizing: border-box; }
.arc-hero .daily-band-card:hover { text-decoration: none; border-color: var(--n); color: var(--arc-ink); }
.arc-hero .daily-band-card[data-done] { box-shadow: inset 4px 0 0 var(--neon-4); }
.arc-hero .db-icon { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; line-height: 1; border-radius: 10px; background: color-mix(in oklab, var(--n) 16%, transparent); }
.arc-hero .db-name { grid-column: 2; margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.arc-hero .db-today { display: block; grid-column: 2; font-size: 12px; color: var(--arc-dim); line-height: 1.3; min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arc-hero .db-state { grid-column: 3; grid-row: 1 / 3; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 800; color: var(--n); background: color-mix(in oklab, var(--n) var(--arc-tint), transparent); }
:root[data-theme="light"] .arc-hero .db-state { color: var(--nt, var(--n)); }
.arc-hero .daily-band-card[data-done] .db-state { color: var(--arc-dim); background: none; }
.arc-daily-all { justify-self: end; font-size: 13px; font-weight: 800; color: var(--neon-2); }

.arc-sec-ic { font-style: normal; }          /* 제목 앞 꾸밈 그림(▶ 🏅 ⭐ — v4.1.0 · 꼬리표 span 꼴과 따로) */

/* 이어서 하기 줄(v4.1.0 ME-PLAN 8 · 홈 · /me/ 같은 칸) — 즐겨찾기 줄과 같은 꼴 · 즐겨찾기 줄 위 · theme-init 이 html[data-recent] 면 자리부터 · 없으면 줄째 없음 */
.arc-resume { display: none; }
html[data-recent] .arc-resume { display: block; min-height: 82px; }
.arc-resume .arc-sec { margin-bottom: 10px; }
.arc-fav-list a small { font-size: 12px; font-weight: 700; color: var(--arc-dim); }   /* 이어서 하기 칩 꼬리 — 마지막으로 한 날 */

/* 즐겨찾기 줄 — 처음 그리기 전(theme-init)에 html[data-fav] 가 있으면 자리부터 · 없으면 줄째 없음 */
.arc-fav { display: none; }
html[data-fav] .arc-fav { display: block; min-height: 82px; }      /* 빌드는 빈 칸 · 앱이 제목 + 칩(줄임 없이 한 줄) — 높이 고정이라 밀림 0 */
.arc-fav-list { display: flex; gap: 8px; height: 44px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.arc-fav-list a { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--arc-line); background: var(--arc-panel); color: var(--arc-ink); font-weight: 800; font-size: 14px; white-space: nowrap; text-decoration: none; box-sizing: border-box; }
.arc-fav-list a:hover { border-color: var(--neon-3); text-decoration: none; color: var(--arc-ink); }
:is(.arc-fav, .arc-resume) .arc-fav-list a:focus-visible { box-shadow: inset 0 0 0 3px var(--arc-ring); }   /* 굴림 칸 높이 = 칩 높이 44 라 바깥 고리는 위아래가 잘림 → 안쪽 고리(자리 0 · 0,3,1 이라 맨 아래 :is 보다 셈 · 27-7 ②) */
.arc-fav .arc-sec { margin-bottom: 10px; }

/* 카테고리 칸 — 게임 여섯(큰 네온 칸) + 부가기능 넷(작은 칸) */
.arc-tiles, .arc-xtiles { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.arc-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.arc-tiles a { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; height: var(--tile-h, 136px); padding: 10px 6px; border-radius: 18px; text-align: center; background: var(--arc-panel); color: var(--arc-ink); text-decoration: none; box-sizing: border-box;
  border: 2px solid var(--n); box-shadow: 0 0 calc(var(--arc-glow) * 16px) color-mix(in oklab, var(--n) 45%, transparent), inset 0 0 calc(var(--arc-glow) * 16px) color-mix(in oklab, var(--n) 20%, transparent), var(--arc-shadow); }
/* 칸마다 −.5s 늦게 숨쉼 — 빌드 HTML 은 style 을 못 써서(CSP) 차례로 */
.arc-tiles li:nth-child(2) { --i: 1; } .arc-tiles li:nth-child(3) { --i: 2; } .arc-tiles li:nth-child(4) { --i: 3; } .arc-tiles li:nth-child(5) { --i: 4; } .arc-tiles li:nth-child(6) { --i: 5; }
.arc-tiles a::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 calc(var(--arc-glow) * 30px) color-mix(in oklab, var(--n) 60%, transparent); opacity: 0; animation: arc-breathe 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.5s); }
@keyframes arc-breathe { 50% { opacity: 1; } }
.arc-tiles a:hover { text-decoration: none; transform: translateY(-2px); color: var(--arc-ink); }
.arc-ic { font-size: 40px; line-height: 1.1; }
.arc-tiles b { font-size: 16px; font-weight: 900; line-height: 1.25; }
.arc-tiles small { line-height: 1.25; }
.arc-tiles small, .arc-xtiles small { font-size: 13px; font-weight: 800; color: var(--n); }
:root[data-theme="light"] :is(.arc-tiles small, .arc-xtiles small) { color: var(--nt, var(--n)); }
.arc-tiles .arc-tline { max-width: 100%; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--arc-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 갈래 짧은 줄 8자 안 */
.arc-xhead { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 10px; }
.arc-xhead h3 { margin: 0; font-size: 16px; font-weight: 900; color: var(--arc-ink); }
.arc-xhead a { margin-left: auto; font-size: 14px; font-weight: 800; color: var(--neon-2); }
.arc-xtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.arc-xtiles a { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; height: 64px; padding: 8px 12px; border-radius: 14px; background: var(--arc-panel); color: var(--arc-ink); text-decoration: none; box-sizing: border-box;
  border: 2px dashed color-mix(in oklab, var(--n) 75%, transparent); }
.arc-xtiles a:hover { border-style: solid; text-decoration: none; color: var(--arc-ink); }
.arc-xtiles .arc-ic { grid-row: 1 / 3; font-size: 26px; text-align: center; }
.arc-xtiles b { font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 인기 게임(12) — 가로 굴림 · 칸 크기 고정(집계가 늦게 와도 자리 그대로) · 칸 색 = 네온 차례(자리마다) */
.arc-hot-row { display: grid; grid-auto-flow: column; grid-auto-columns: var(--hot-w, 150px); gap: 12px; margin: 0; padding: 10px 4px 14px; scroll-padding-inline: 4px; list-style: none; overflow-x: auto; scrollbar-width: thin; }   /* 붙음(snap) 없음 — mandatory 면 Tab 으로 간 칸을 반쯤 가린 자리로 되돌림(27-7 ①) */
.arc-hot-row a { position: relative; display: grid; gap: 6px; height: 100%; padding: 10px; border-radius: 16px; background: var(--arc-panel); border: 2px solid var(--arc-line); color: var(--arc-ink); text-decoration: none; box-sizing: border-box; }
.arc-hot-row a:hover { border-color: var(--n); text-decoration: none; color: var(--arc-ink); }
.arc-hot-scr { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; font-size: calc(var(--hot-w, 150px) * .36); line-height: 1; background: radial-gradient(circle at 50% 40%, color-mix(in oklab, var(--n) 30%, #0b0a1a), #05040c 72%); box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--n) 55%, transparent); }
/* 밝은 = 그 칸 네온을 옅게 섞은 밝은 바탕(v4.5.4 ② 4절 · me.css .me-scr · popular.css .pop-ic 같은 값) · 안쪽 네온 고리 그대로 */
:root[data-theme="light"] .arc-hot-scr { background: radial-gradient(circle at 50% 40%, color-mix(in oklab, var(--n) 16%, #ffffff), color-mix(in oklab, var(--n) 12%, #fbf6ff) 72%); }
.arc-rank { position: absolute; z-index: 1; left: -2px; top: -8px; font: 900 44px/1 var(--mono); color: transparent; -webkit-text-stroke: 2px var(--n); text-shadow: 0 0 calc(var(--arc-glow) * 12px) var(--n); }
.arc-hot-row li:nth-child(-n + 3) .arc-rank { color: var(--n); -webkit-text-stroke: 0; }
:root[data-theme="light"] .arc-hot-row li:nth-child(-n + 3) .arc-rank { color: var(--nt, var(--n)); }
:root[data-theme="light"] .arc-rank { -webkit-text-stroke-color: var(--nt, var(--n)); }   /* 4위~ 속 빈 숫자 테 — 밝음은 그 칸 --ink(흐림 1.6~2.2 → 디자인 24-36 2차 △ · 빛은 네온 그대로) */
.arc-hot-row b { font-size: 15px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 자간 −.02 — 112종 이름 다 들어감(600 이상 "거꾸로 숫자 외우기" 하나 말줄임이던 것 · U52 C4) */
.arc-hot-row small { font-size: 12px; color: var(--arc-dim); }
/* 판 수 줄(v4.4.0 U42 F · 카테고리 줄 아래 · 빌드는 빈칸 한 줄로 자리) */
.arc-hot-row .arc-hot-n { margin-top: -2px; font-size: 14px; font-weight: 900; line-height: 1.2; color: var(--arc-ink); font-variant-numeric: tabular-nums; }

/* 전체 목록 — 게임 112 + 부가기능 33 · 이름 링크 + 짧은 줄(JS 없이도 · 숨김 0) */
.arc-all-cat { margin: 0 0 18px; padding: 14px 16px 16px; border-radius: 16px; background: var(--arc-panel); border: 2px solid var(--arc-line); border-top: 3px solid var(--n); box-shadow: var(--arc-shadow); }
.arc-all-cat h3 { margin: 0 0 10px; font-size: 17px; font-weight: 900; }
.arc-all-cat h3 a { display: inline-flex; align-items: baseline; gap: 6px; color: var(--arc-ink); text-decoration: none; }
.arc-all-cat h3 small { font-size: 13px; font-weight: 800; color: var(--n); }
:root[data-theme="light"] .arc-all-cat h3 small { color: var(--nt, var(--n)); }
.arc-all-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 2px 12px; margin: 0; padding: 0; list-style: none; }
/* 줄 = 이름 링크 + 짧은 줄(링크 밖 글 · 마케팅 4절) — 링크의 ::after 를 줄 전체로 펴서 누르는 자리 = 두 줄 전체(44px↑) */
.arc-all-list li { position: relative; display: grid; grid-template-columns: 1.4em minmax(0, 1fr); column-gap: 8px; align-content: center; min-height: 44px; padding: 4px 6px; border-radius: 8px; }
.arc-all-list li:hover { background: color-mix(in oklab, var(--n) var(--arc-tint), transparent); }
.arc-all-list a { grid-column: 1 / -1; display: flex; gap: 8px; min-width: 0; color: var(--arc-ink); font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; word-break: keep-all; }   /* 꺾여도 낱말째("반응속도 / 테스트" · v4.5.0 디자인 E6) */
.arc-all-list a::after { content: ''; position: absolute; inset: 0; border-radius: 8px; }
.arc-all-list a:focus-visible { box-shadow: none; }
.arc-all-list a:focus-visible::after { box-shadow: var(--ring); }        /* 고리 = 줄 전체 둘레 */
.arc-all-list a > span { flex: none; width: 1.4em; text-align: center; }
.arc-all-list .arc-short { grid-column: 2; font-size: 12px; line-height: 1.35; color: var(--arc-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 홈 아래 칸(공략 노트 · 안내 글 · 바닥) — 같은 판 위로 */
html[data-page="home"] .home-notes, html[data-page="home"] .guide { margin-top: 30px; padding: 18px 20px; border-radius: 16px; background: var(--arc-panel); border: 2px solid var(--arc-line); color: var(--arc-dim); box-shadow: var(--arc-shadow); }
html[data-page="home"] .home-notes h2, html[data-page="home"] .guide h2, html[data-page="home"] .guide h3 { color: var(--arc-ink); }
html[data-page="home"] .guide a, html[data-page="home"] .home-notes a { color: var(--arc-ink); }
html[data-page="home"] .home-notes .text-btn { color: var(--neon-2); font-weight: 800; }

/* ── 폭 ── */
@media (min-width: 1100px) { .arc-hero { grid-template-columns: 380px minmax(0, 1fr) 300px; } }
/* 980–1099 도 두 칸(오락기 | 추천 · 퍼즐 칸은 아래) — 세 칸이면 추천 칸이 240px 대라 단추 둘이 한 줄에 안 듦(26-8) */
@media (min-width: 600px) and (max-width: 1099px) {
  .arc-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); --scr-h: 236px; --pick-fs: 48px; }
  .arc-hero .daily-band { grid-column: 1 / -1; }
  .arc-hero .daily-band-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .arc-hero .daily-band-card { grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto auto; row-gap: 6px; height: 104px; padding: 0 12px; }
  .arc-hero .db-icon { width: 36px; height: 36px; font-size: 20px; grid-row: 1 / 3; }
  .arc-hero .db-today { grid-column: 2; grid-row: 2; }
  .arc-hero .db-state { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
}
@media (min-width: 600px) and (max-width: 719px) { .arc-cta { grid-template-columns: minmax(0, 1fr); } .arc-blurb { font-size: 14px; min-height: 4.65em; } }   /* 추천 칸 300px 밑 — 단추 늘 두 줄 · 한 줄 글 세 줄 자리(600 근처에서 44자가 세 줄) — 날마다 같은 높이 */
@media (max-width: 359px) { .arc-cta { grid-template-columns: minmax(0, 1fr); } }
/* 부가기능 넷 — 600 ~ 719(1280 의 200% 확대 포함)에서 네 칸이면 "심리 테…" "밸런스 …" 로 잘림 → 두 칸 두 줄(U52 C5 · 720 이상 네 칸 그대로) */
@media (min-width: 600px) and (max-width: 719px) { .arc-xtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 979px) {
  .arc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .arc-tiles a { height: var(--tile-h, 132px); }
}
@media (max-width: 599px) {
  html[data-page="home"] .site-main { padding-top: 12px; }
  .arc + .arc, .arc-hero + .arc { margin-top: 24px; }
  html[data-fav] .arc-fav, html[data-recent] .arc-resume { min-height: 78px; }
  .arc-sec { font-size: 19px; margin-bottom: 12px; }
  .arc-sec-head { margin-bottom: 12px; }
  .arc-sec > span { font-size: 11px; }
  .arc-hero { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 14px; border-radius: 18px; --scr-h: 180px; --pick-fs: 40px; }
  .arc-floor { bottom: -20%; height: 50%; }
  .arc-hud b { font-size: 18px; }
  .arc-blurb { font-size: 14px; }
  .arc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .arc-tiles a { height: var(--tile-h, 124px); border-radius: 16px; }
  .arc-ic { font-size: 34px; }
  .arc-tiles b { font-size: 15px; }
  .arc-xtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .arc-xtiles a { height: 60px; padding: 6px 10px; column-gap: 8px; grid-template-columns: 30px minmax(0, 1fr); }
  .arc-xtiles .arc-ic { font-size: 24px; }
  .arc-hot-row { --hot-w: 142px; gap: 10px; }   /* 132 → 142 · 이름 14px — 112종 중 여섯이 "…" 이던 것 0(U52 C4) */
  .arc-hot-row b { font-size: 14px; }
  .arc-rank { font-size: 38px; }
  .arc-all-cat { padding: 12px 12px 14px; }
  .arc-all-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
  .arc-all-list li { padding: 4px; }
}
/* 320 — 짧은 줄 두 줄까지(말줄임 151 중 23 → 낱말째 두 줄 · v4.5.0 디자인 E6) */
@media (max-width: 359px) {
  .arc-all-list .arc-short { white-space: normal; word-break: keep-all; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
  /* 갈래 칸 짧은 줄 "순발력과 손놀림" 이 10px 잘리던 것(U52 C6) — 칸 안 여백 6 → 2 · 자간 −.04 */
  .arc-tiles a { padding-inline: 2px; }
  .arc-tiles .arc-tline { letter-spacing: -.04em; }
}

/* ── 줄임 설정 — 전부 멈춤(attract 는 정지 그림 한 장) ── */
@media (prefers-reduced-motion: reduce) {
  .arc-floor::before, .arc-cab-top span, .arc-scan::after, .arc-joy, .arc-btns i, .arc-play, .arc-tiles a::after { animation: none !important; }
  .arc-tiles a:hover { transform: none; }
}

/* ── 초점 고리(26-8-6) — 사이트 공통 --ring 꼴에 A 색만 · 고리는 그림자라 자리 0
   A 색 --ring 은 v4.2.0 부터 모든 쪽 body 에서 통째로 다시 정함(css/arc-skin.css · 머리글은 layout.css)
   제 그림자(빛 · 만화 그림자 · 다 푼 칸 줄)가 있는 것은 :focus-visible 보다 세거나 같아서 고리를 덮음 → 초점일 때 고리로(그래서 맨 아래) ── */
:is(.arc-play, .arc-ghost, .arc-mini, .arc-tiles a, .arc-xtiles a, .arc-hot-row a, .arc-fav-list a, .arc-hero .daily-band-card):focus-visible { box-shadow: var(--ring); }
