@font-face { font-family: "Gmarket Sans"; font-weight: 300; font-display: swap; src: url("/assets/fonts/GmarketSansTTFLight.woff2") format("woff2"); }
@font-face { font-family: "Gmarket Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/GmarketSansTTFMedium.woff2") format("woff2"); }
@font-face { font-family: "Gmarket Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/GmarketSansTTFBold.woff2") format("woff2"); }

:root {
  --ink: #0f1115;
  --ink-2: #4b5060;
  --muted: #9a9fab;
  --line: #e8e9ee;
  --bg: #f7f7f9;
  --font: "Gmarket Sans", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --edge: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
/* 스크롤: 페이지 전체 스크롤 하나만 쓴다. 처음부터 항상 있어서 중간에 생기며 옆으로 밀리지 않는다 */
html { overflow-x: hidden; overflow-y: scroll; scrollbar-gutter: stable; }   /* body 에 overflow: hidden 을 걸면 안쪽 스크롤이 생긴다 */
body { overflow-x: clip; }   /* clip 은 스크롤 상자를 만들지 않는다. 넘친 내용이 모바일 화면 폭을 넓히지 못하게 막는다 */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15,17,21,.22); border-radius: 4px; }
html.scene-dark::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); }
@supports not selector(::-webkit-scrollbar) {   /* Firefox */
  html { scrollbar-width: thin; scrollbar-color: rgba(15,17,21,.22) transparent; }
  html.scene-dark { scrollbar-color: rgba(255,255,255,.3) transparent; }
}
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
/* 드래그해도 글자·이미지가 선택되거나 끌려가지 않게 (사이트 전체) */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-user-drag: none; user-drag: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* 아이콘 (assets/icons/*.svg 를 마스크로 써서 글자색을 따른다) */
.ico { display: inline-block; width: 18px; height: 18px; background: currentColor; flex: none;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i-play    { --i: url("/assets/icons/googleplay.svg?v=627a4026"); }
.i-apple   { --i: url("/assets/icons/apple.svg?v=8bb7b7d5"); }
.i-youtube { --i: url("/assets/icons/youtube.svg?v=fbae9fa0"); }
.i-insta   { --i: url("/assets/icons/instagram.svg?v=8e8d554c"); }
.i-x       { --i: url("/assets/icons/x.svg?v=591d75f4"); }
.i-threads { --i: url("/assets/icons/threads.svg?v=910f7e61"); }
.i-tiktok  { --i: url("/assets/icons/tiktok.svg?v=068c4fac"); }
.i-zuz     { --i: url("/assets/zuz/zuz-glyph.svg?v=dddec2e9"); }
.i-arcade  { --i: url("/assets/arcade/arcade-glyph.svg?v=18901f11"); }

/* ---------- 좌상단 로고 ---------- */
.corner-logo { position: fixed; top: 30px; left: var(--edge); z-index: 30; }
.corner-logo img { width: 38px; height: auto; }

/* ---------- 우상단 메뉴 ---------- */
.menu { position: fixed; top: 20px; right: calc(var(--edge) - 10px); z-index: 30; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.menu-btn:focus { outline: none; }
/* 메뉴 버튼: 작은 삼각형. 닫힘 = 위, 열림 = 아래로 돌아간다 */
.menu-btn svg { width: 10px; height: 9px; color: #7a7f8b; transition: transform .4s var(--ease), color var(--scene-dur) ease; }
.menu-btn:hover svg, .menu-btn:focus-visible svg { color: var(--ink-2); }
.menu.open .menu-btn svg { transform: rotate(180deg); }
/* 메뉴 펼침: 박스 없이 글자만 한 줄씩 부드럽게 내려온다 */
.menu-panel {
  position: absolute; top: 48px; right: 17px; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  pointer-events: none;
}
.menu-panel li {
  opacity: 0; transform: translateY(-10px);
  transition: opacity .35s ease, transform .45s var(--ease);
}
.menu-panel li:nth-child(2) { transition-delay: .06s; }
.menu-panel li:nth-child(3) { transition-delay: .12s; }
.menu.open .menu-panel { pointer-events: auto; }
.menu.open .menu-panel li { opacity: 1; transform: none; }
.menu-panel a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  font-size: 13.5px; font-weight: 500; letter-spacing: .02em; color: #8a8f9b; white-space: nowrap;
  transition: color .2s;
}
.menu-panel a:hover { color: var(--ink-2); }
.menu-panel a:focus { outline: none; }
.menu-panel a:focus-visible { color: var(--ink); }
/* 지금 보고 있는 페이지: 끝에 작은 화살표 */
.menu-panel a[aria-current="page"] { color: var(--ink-2); }
.menu-panel a[aria-current="page"]::after { content: "←"; font-size: 11px; line-height: 1; }

/* ---------- 우하단 회사 정보 (고정, 기존 사이트와 동일) ---------- */
.corp-info {
  position: fixed; right: 1rem; bottom: 20px; z-index: 20;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  font-family: "Noto Sans KR", sans-serif; font-weight: 400; font-size: 15px; line-height: 1.2;
  color: rgba(0, 0, 0, .4);
}
.corp-info img { width: 15px; height: auto; opacity: .4; }

/* ---------- 메인: 앱 아이콘 (목록 = assets/apps.js) ----------
   상부(메인)와 하부(서브)는 같은 크기(52px, 예전 하부 크기)이고 여백으로만 나눈다 (제목·구분선·글자·크기 차이 없음, MGW-DEV-022).
   아이콘 기본 형태: 흰 바탕 + 검은 모양 (모양 SVG 를 마스크로 써서 검은색으로 칠한다) */
.home-stage { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 120px 24px; }
@media (max-height: 480px) { .home-stage { padding: 64px 24px; } }   /* 낮은 가로 화면(667×375 등)에서 상·하부 아이콘이 한 화면에 (MGW-DEV-022) */
.app-tiers { display: flex; flex-direction: column; align-items: center; gap: clamp(64px, 14vh, 136px); width: 100%; }
.app-grid {
  display: grid; grid-template-columns: repeat(auto-fit, 72px); gap: 24px 20px;
  justify-content: center; width: min(560px, 100%); margin: 0; padding: 0; list-style: none;
}
.app-grid:empty { display: none; }
.app-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 72px; border-radius: 13px; }
.app-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.app-icon {
  width: 52px; height: 52px; border-radius: 12px; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(15,17,21,.05), 0 2px 6px rgba(15,17,21,.06);
}
.app-glyph {
  display: block; width: 74%; height: 74%; background-color: #000;
  -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat;
}
.app-name { font-size: 10.5px; font-weight: 500; color: var(--ink-2); letter-spacing: .02em; white-space: nowrap; }

/* ---------- 프로젝트 장면: 아이콘을 누르면 다른 아이콘은 사라지고 배경이 바뀐다 ---------- */
:root { --scene-dur: 1.2s; }   /* 배경 전환 = 로고·메뉴·회사정보 색 반전 시간 (site.js SCENE_MS 와 같게) */
#page { position: relative; z-index: 1; }
.scene-layer {
  /* 높이는 '가장 큰 화면 높이'로 고정한다. inset:0 이면 모바일에서 스크롤할 때 주소창이 접히고 펴지며
     크기가 바뀌고, 그때마다 행성 엔진이 화면 버퍼를 새로 만들어 지구본 전체가 깜박인다 */
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; background: #000;
  opacity: 0; pointer-events: none; transition: opacity var(--scene-dur) ease;
}
.scene-layer canvas { opacity: 0; transition: opacity 1.6s ease, filter 1s ease; }
/* 설명이 열리면 행성 캔버스 자체를 흐리게 한다.
   (위 레이어의 backdrop-filter 로 흐리면 매 프레임 그려지는 WebGL 위에서 스크롤·스와이프 때 깜박인다) */
body.panel-open .scene-layer canvas { filter: blur(16px) saturate(1.15); }
.scene-layer.ready canvas { opacity: 1; }
body.scene-on .scene-layer { opacity: 1; pointer-events: auto; }   /* 행성은 드래그로 돌릴 수 있다 */
body.scene-on #page { pointer-events: none; }
body.scene-on #page .app-grid li.is-active .app-tile, body.scene-on #page dialog { pointer-events: auto; }
.app-grid > li { transition: opacity .6s ease, visibility .6s; }
.app-tiers.has-active .app-grid > li:not(.is-active) { opacity: 0; visibility: hidden; }
.app-name { transition: color var(--scene-dur) ease; }
body.scene-dark .app-name { color: rgba(255,255,255,.72); }

/* 배경 색에 맞춰 로고·메뉴·회사정보 색 반전 (같은 시간) */
.corner-logo img, .corp-info img { transition: filter var(--scene-dur) ease; }
.corp-info { transition: color var(--scene-dur) ease; }
.menu-panel a { transition: color var(--scene-dur) ease; }
body.scene-dark .corner-logo img, body.scene-dark .corp-info img { filter: invert(1); }
body.scene-dark .corp-info { color: rgba(255,255,255,.45); }
body.scene-dark .menu-btn svg { color: #c9ccd4; }
body.scene-dark .menu-panel a { color: #8f94a0; }
body.scene-dark .menu-panel a:hover, body.scene-dark .menu-panel a[aria-current="page"] { color: #e6e8ed; }

/* ---------- 공통 애니메이션 ---------- */
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 페이지 전환: 고정 요소는 그대로, 가운데 내용(#page)만 바뀐다 ---------- */
#page { transition: opacity .4s ease, transform .55s var(--ease); }
#page.page-leave { opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; }
#page.page-enter { opacity: 0; transform: translateY(14px); transition: none; }

.modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: #f3f4f6; transition: background .2s, transform .3s var(--ease);
}
.modal-close:hover { background: var(--ink); transform: rotate(90deg); }
.modal-close:hover svg { stroke: #fff; }
.modal-close svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

.modal-close:focus:not(:focus-visible) { outline: none; }

/* ---------- 장면 아이콘: 누르면 배경·이름이 빠지고 색이 반전되며 상단바 가운데로 올라간다 ---------- */
.app-grid li.is-active .app-tile { visibility: hidden; }   /* 제자리 아이콘은 숨기고 복제본이 날아간다 */
.scene-glyph {
  position: fixed; z-index: 50; display: grid; place-items: center; padding: 0;   /* 상단바 가운데에 고정. 안개보다 위 */
  border-radius: 17px; background-color: rgba(255,255,255,1);
  box-shadow: 0 0 0 1px rgba(15,17,21,.05), 0 2px 6px rgba(15,17,21,.06);
  transform-origin: 0 0; will-change: transform;
  transition: transform .9s var(--ease), background-color .9s ease, box-shadow .9s ease;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.scene-glyph:focus:not(:focus-visible) { outline: none; }
.scene-glyph .app-glyph { transition: background-color .9s ease; }
.scene-glyph.is-lifted { background-color: rgba(255,255,255,0); box-shadow: 0 0 0 0 rgba(15,17,21,0), 0 0 0 0 rgba(15,17,21,0); }
.scene-glyph.is-lifted.on-dark .app-glyph { background-color: #fff; }

/* ---------- 설명 패널: 배경 위에 안개 블러가 깔리고 항목이 차례로 나타난다 (페이지 스크롤로 움직임) ---------- */
.scene-panel {
  position: absolute; top: 0; left: 0; right: 0; min-height: 100vh; z-index: 5; color: #fff;
  visibility: hidden; pointer-events: none; transition: visibility 0s linear 1s;
}
.scene-panel.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
/* 닫힌 패널은 높이를 차지하지 않는다 (MGW-QA-004 L1: 안 보이는 패널 때문에 모바일 빈 스크롤이 늘던 문제).
   닫힐 때는 항목이 먼저 사라진 뒤(is-leaving) is-open 이 빠지므로 잘려 보이는 것은 없고, 안개(.panel-fog)는 화면 고정이라 1초 걷힘이 그대로 보인다. */
.scene-panel:not(.is-open) { height: 0; min-height: 0; overflow: hidden; }
/* 설명이 열려 있는 동안 안개가 맨 위: 로고·메뉴·회사정보도 흐려지고 눌리지 않는다 (위에 남는 건 아이콘과 X) */
body.panel-open #page { z-index: 40; }
.panel-fog {   /* 화면에 고정된 안개(반투명 색만). 흐림은 행성 캔버스와 고정 요소에 직접 건다 */
  position: fixed; inset: 0;
  background-color: rgba(10,11,16,0);
  transition: background-color 1s ease;
}
.panel-fog::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background:
    radial-gradient(120% 80% at 18% 8%, rgba(255,255,255,.10), rgba(255,255,255,0) 60%),
    radial-gradient(90% 70% at 88% 92%, rgba(190,200,255,.08), rgba(190,200,255,0) 60%);
  transition: opacity 1.2s ease;
}
.scene-panel.is-open .panel-fog { background-color: rgba(10,11,16,.34); }
/* 안개 아래로 들어간 로고·메뉴·회사정보도 흐리게 (눌리지 않음은 site.js 의 inert) */
.corner-logo, .menu, .corp-info { transition: filter 1s ease, opacity 1s ease; }
body.panel-open .corner-logo, body.panel-open .menu, body.panel-open .corp-info { filter: blur(6px); opacity: .5; }
.scene-panel.is-open .panel-fog::before { opacity: 1; }

/* PC: 내용을 화면 가운데에 (가로·세로) */
.panel-body { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 104px var(--edge) 104px; }
.panel-grid { display: grid; width: min(1120px, 100%); grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); gap: 64px; align-items: center; }
.panel-list { display: flex; flex-direction: column; }

/* 항목이 하나씩 투루루룩 (--i 순서) */
.reveal { opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity .55s ease, transform .7s var(--ease), filter .6s ease; }
.scene-panel.is-open .reveal { opacity: 1; transform: none; filter: blur(0); transition-delay: calc(.45s + var(--i, 0) * .12s); }
.scene-panel.is-leaving .reveal { opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .3s ease; transition-delay: 0s; }

/* 닫기: 배경과 반전되는 색 (어두운 배경 → 흰색). 아이콘과 같은 상단바 줄, 스크롤해도 그대로 */
.panel-close {
  position: fixed; top: 20px; right: calc(var(--edge) - 10px); z-index: 2; width: 44px; height: 44px; border-radius: 50%;   /* 상단바 오른쪽(메뉴 자리)에 고정 */
  display: grid; place-items: center; color: #fff; opacity: 0; transform: rotate(-90deg);
  transition: opacity .5s ease, transform .6s var(--ease), background-color .2s;
}
.scene-panel.is-open .panel-close { opacity: 1; transform: none; transition-delay: .5s; }
.scene-panel.is-leaving .panel-close { opacity: 0; transition-delay: 0s; }
.panel-close:hover { background-color: rgba(255,255,255,.12); }
.panel-close:focus:not(:focus-visible) { outline: none; }
.panel-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* 패널 안 내용 (어두운 배경 위) */
.info-head h2 { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: .1em; line-height: 1; }
.info-head .sub { margin: 14px 0 0; font-size: 16px; color: rgba(255,255,255,.82); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0 0; padding: 16px 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.stats li + li { border-left: 1px solid rgba(255,255,255,.16); }
.stats strong { font-size: 15px; font-weight: 700; }
.stats span { font-size: 10.5px; font-weight: 300; color: rgba(255,255,255,.74); letter-spacing: .02em; }   /* MGW-QA-004 L3: .55 → .74 */

.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.store {
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px;
  border-radius: 16px; background: #fff; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store .ico { width: 22px; height: 22px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 10px; font-weight: 300; opacity: .7; }
.store b { font-size: 15.5px; font-weight: 700; letter-spacing: .01em; }
a.store:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.store.soon { background: rgba(255,255,255,.08); color: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); cursor: default; }

.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.channels a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); color: #fff;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.channels a:hover { background-color: #fff; border-color: #fff; color: var(--ink); transform: translateY(-2px); }
.channels .ico { width: 17px; height: 17px; }
.channels .i-zuz { width: 21px; height: 21px; }

.stores.one { grid-template-columns: 1fr; }   /* 버튼이 하나뿐인 패널 (Arcade) */

/* Arcade 패널: 게임 목록 (이름 + 한 줄 소개) */
.games { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.games li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.games li:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.games b { flex: none; width: 112px; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.games span { font-size: 12.5px; font-weight: 300; color: rgba(255,255,255,.76); line-height: 1.4; }   /* MGW-QA-004 L3: .62 → .76 */

.legal { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; font-weight: 300; color: rgba(255,255,255,.74); }   /* MGW-QA-004 L3: .5 → .74 */
.legal a:hover { color: #fff; }

/* 스크린샷 무대 (부채꼴 폰) */
.stage { position: relative; container-type: inline-size; height: min(600px, calc(100vh - 300px)); min-height: 420px; touch-action: pan-y; cursor: grab;
}   /* 칸에는 잘라내기를 걸지 않는다 (경계선이 생김). 화면 밖으로 나간 부분은 body 의 가로 잘라내기가 화면 끝에서 처리 */
.fan { position: absolute; inset: 0 0 44px; }
/* 폰 크기는 스크린샷 칸 폭에 비례 (칸의 42%, 최대 212px). 양옆 폰까지 칸 안에 들어온다.
   모서리·테두리도 같은 비율이라 작아져도 모양이 같다 */
.phone {
  --w: min(212px, 42cqw);
  position: absolute; left: 50%; top: 50%; width: var(--w); padding: calc(var(--w) * .033);
  border-radius: calc(var(--w) * .16); background: #0c0d11;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 70px rgba(0,0,0,.5);
  transform: translate(-50%, -50%) scale(.7); opacity: 0; z-index: 0;
  transition: transform .8s var(--ease), opacity .6s ease, filter .6s ease;
  cursor: pointer;
}
.phone img { width: 100%; height: auto; aspect-ratio: 432 / 960; border-radius: calc(var(--w) * .13); background: #1a1b20; }
@supports not (width: 1cqw) {   /* 칸 폭 단위를 모르는 옛 브라우저 */
  @media (min-width: 861px) and (max-width: 1180px) { .phone { --w: 150px; } }
}
.phone[data-pos="0"]  { transform: translate(-50%, -50%); opacity: 1; z-index: 3; cursor: default; }
.phone[data-pos="1"]  { transform: translate(-50%, -50%) translateX(58%) rotate(8deg) scale(.84); opacity: 1; z-index: 2; filter: brightness(.8); }
.phone[data-pos="-1"] { transform: translate(-50%, -50%) translateX(-58%) rotate(-8deg) scale(.84); opacity: 1; z-index: 2; filter: brightness(.8); }
/* 넘길 때: 사라지는 폰·새로 나오는 폰은 칸 밖으로 미끄러지지 않고 옆 폰 뒤로 작아지며 들어갔다 나온다 */
.phone[data-pos="2"]  { transform: translate(-50%, -50%) translateX(30%) rotate(4deg) scale(.68); opacity: 0; z-index: 1; }
.phone[data-pos="-2"] { transform: translate(-50%, -50%) translateX(-30%) rotate(-4deg) scale(.68); opacity: 0; z-index: 1; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 6px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.28); transition: width .4s var(--ease), background-color .3s; }
.dots button[aria-current="true"] { width: 22px; background: #fff; }

/* ---------- 모바일 ---------- */
@media (max-width: 860px) {
  .panel-body { display: block; min-height: 0; padding: 96px 20px 130px; }
  .panel-grid { width: auto; grid-template-columns: 1fr; gap: 26px; }
  .panel-list { display: contents; }   /* 항목 순서: 제목 → 스크린샷 → 수치 → 스토어 → 채널 → 정책 */
  .info-head { order: 1; } .stage { order: 2; } .stats { order: 3; } .stores { order: 4; } .channels, .games { order: 5; } .legal { order: 6; }
  .stats, .stores, .channels, .games, .legal { margin-top: 0; }
  .stage { height: 360px; min-height: 0; margin: 0 -20px; }   /* 화면 양끝까지 (옆 폰이 화면 끝에서 잘리도록) */
  .phone { --w: min(136px, 42cqw); }
  @supports not (width: 1cqw) { .phone { --w: 136px; } }
  .info-head h2 { font-size: 34px; }
}
@media (max-width: 640px) {
  :root { --edge: 20px; }
  .corner-logo { top: 24px; }
  .corner-logo img { width: 32px; }
  .menu { top: 14px; }
  .panel-close { top: 14px; }
  .corp-info { font-size: 13px; gap: 10px; }
  .store { padding: 0 14px; gap: 10px; }
  .store b { font-size: 14px; }
  .channels { gap: 6px; flex-wrap: wrap; }
  .games b { width: 96px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --scene-dur: 0s; }
  .phone, .reveal, .panel-fog, .panel-close, .scene-layer canvas, .corner-logo, .menu, .corp-info, .scene-glyph, .scene-glyph .app-glyph, .scene-layer, .case-card, .case-dim, #page { transition: none !important; animation: none !important; }
}

/* ---------- Arcade 설명 패널 (MGW-DSN-001 다솜 명세 3.3, MGW-DEV-022) ----------
   게임 아이콘 줄: 흰 바탕 검은 모양 아이콘을 어두운 패널 위에서는 반전(흰 모양)으로 그린다 — .ico 의 mask + currentColor 방식 그대로. */
.i-g2048    { --i: url("/assets/arcade/game-2048.svg?v=286adbd5"); }
.i-gsnake   { --i: url("/assets/arcade/game-snake.svg?v=b4445ef2"); }
.i-gplanets { --i: url("/assets/arcade/game-planets.svg?v=499b3a01"); }
/* MGW-REL-CO1: 운영 25게임 목록 — 칸마다 그 게임 주소(arcade.zuz.kr/<게임>/) 링크.
   그림은 Arcade 시작 페이지의 게임 칸 그림 그대로(assets/arcade/card-*.svg, 64px 기준 → 40px). */
.arcade-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 16px 8px; margin: 30px 0 0; padding: 18px 0; list-style: none;
  border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.arcade-games a { display: flex; flex-direction: column; align-items: center; gap: 8px; border-radius: 10px; transition: transform .2s var(--ease); }
.arcade-games a:hover { transform: translateY(-2px); }
.arcade-games a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.arcade-games img { display: block; width: 40px; height: 40px; }
.arcade-games a > b { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.8); white-space: nowrap; }
.arcade-games a:hover > b { color: #fff; }
/* 2048·Snake·Planets 칸 그림: Arcade 시작 페이지 home.css 의 CSS 그림 그대로 (64px 좌표를 zoom 으로 40px) */
.card-ic { flex: none; width: 64px; height: 64px; border-radius: 14px; position: relative; overflow: hidden; zoom: .625; }
.card-ic.icon-2048 { background: #1f2638; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px; }
.card-ic.icon-2048 i { border-radius: 6px; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 13px; }
.card-ic.icon-2048 i:nth-child(1) { background: #e6f0f4; color: #24304a; }
.card-ic.icon-2048 i:nth-child(2) { background: #6fd0c2; color: #10332f; }
.card-ic.icon-2048 i:nth-child(3) { background: #5a5fe0; color: #fff; }
.card-ic.icon-2048 i:nth-child(4) { background: linear-gradient(135deg, #ff7a6b, #f5b041); color: #1d2540; font-size: 9px; }
.card-ic.icon-snake { background: #1f2638; }
.card-ic.icon-snake i { position: absolute; width: 12px; height: 12px; border-radius: 4px; background: #3fc1ae; }
.card-ic.icon-snake i:nth-child(1) { left: 12px; top: 40px; background: #1f8f86; }
.card-ic.icon-snake i:nth-child(2) { left: 25px; top: 40px; }
.card-ic.icon-snake i:nth-child(3) { left: 25px; top: 27px; }
.card-ic.icon-snake i:nth-child(4) { left: 38px; top: 27px; background: #8ef0dc; }
.card-ic.icon-snake b { position: absolute; left: 42px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: #ff7a6b; }
.card-ic.icon-planet { background: #1f2638; }
.card-ic.icon-planet b { position: absolute; left: 8px; right: 8px; top: 14px; bottom: 6px; border: 2px solid #4a5a8a; border-top: 0; border-radius: 0 0 18px 18px; background: #283252; }
.card-ic.icon-planet i { position: absolute; z-index: 1; border-radius: 50%; }
.card-ic.icon-planet i:nth-child(1) { width: 14px; height: 14px; left: 13px; bottom: 10px; background: radial-gradient(circle at 35% 32%, #ffd9cf 0 12%, #e2563f 38%, #b23a28); }
.card-ic.icon-planet i:nth-child(2) { width: 22px; height: 22px; left: 28px; bottom: 9px; background: radial-gradient(circle at 35% 32%, #5cc46a 0 12%, #3d8de8 38%, #2a6cc0); }
.card-ic.icon-planet i:nth-child(3) { width: 12px; height: 12px; left: 26px; top: 6px; background: radial-gradient(circle at 35% 32%, #fffbea 0 12%, #efe7c6 38%, #cfc39a); }
@media (max-width: 860px) {
  .arcade-games { order: 3; margin-top: 0; }
}
