/* =========================================================
   Chabot Planet — Global Stylesheet
   Stripe / PayPal 계열의 클린 핀테크 톤
   ========================================================= */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

:root {
  /* Brand */
  --c-ink: #0a2540;          /* 딥 네이비 (본문 제목) */
  --c-body: #425466;         /* 본문 텍스트 */
  --c-muted: #6b7c93;
  --c-line: #e6ebf1;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f9fc;
  --c-dark: #0a1930;         /* 다크 섹션 */
  --c-dark-2: #11264a;

  --c-primary: #5b4cff;      /* 플래닛 바이올렛 */
  --c-primary-600: #4a3bf0;
  --c-accent: #00d4ff;       /* 사이언 */
  --c-accent-2: #ff6b9a;     /* 핑크 */
  --c-accent-3: #ffb547;     /* 앰버 */
  --c-success: #12b886;

  --grad-hero: linear-gradient(120deg, #5b4cff 0%, #8f5bff 30%, #ff6b9a 60%, #ffb547 85%);
  --grad-brand: linear-gradient(135deg, #5b4cff, #00d4ff);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(10, 37, 64, .06);
  --shadow: 0 15px 35px rgba(50, 50, 93, .10), 0 5px 15px rgba(0, 0, 0, .07);
  --shadow-lg: 0 50px 100px -20px rgba(50, 50, 93, .25), 0 30px 60px -30px rgba(0, 0, 0, .30);

  --container: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--c-body);
  background: var(--c-bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { color: var(--c-ink); margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: background .2s var(--ease), color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-600); }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: #163a63; }
.btn-ghost { background: transparent; color: var(--c-primary); padding-left: 6px; }
.btn-ghost:hover { color: var(--c-ink); }
.btn-white { background: #fff; color: var(--c-ink); }
.btn-white:hover { background: #eef2ff; }
.btn-outline-light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.22); }

/* ---------- Header / GNB ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .25s var(--ease), box-shadow .25s var(--ease), backdrop-filter .25s;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--c-ink); letter-spacing: -0.03em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-brand);
  position: relative; box-shadow: 0 4px 12px rgba(91,76,255,.35);
}
.brand-mark::after { /* 행성 고리 */
  content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 8px; margin-top: -4px;
  border: 2px solid var(--c-ink); border-radius: 50%; transform: rotate(-20deg);
  border-top-color: transparent;
}
.site-header.on-hero:not(.is-scrolled) .brand { color: #fff; }
.site-header.on-hero:not(.is-scrolled) .brand-mark::after { border-color: #fff; border-top-color: transparent; }

.gnb { display: flex; align-items: center; gap: 4px; flex: 1; }
.gnb-item { position: relative; }
.gnb-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--c-ink);
  background: none; border: 0;
  transition: color .2s, background .2s;
}
.gnb-link .chev { width: 10px; height: 10px; transition: transform .2s var(--ease); opacity: .6; }
.gnb-item:hover .gnb-link,
.gnb-item:focus-within .gnb-link { color: var(--c-primary); }
.gnb-item:hover .chev,
.gnb-item:focus-within .chev { transform: rotate(180deg); }
.site-header.on-hero:not(.is-scrolled) .gnb-link { color: #fff; }
.site-header.on-hero:not(.is-scrolled) .gnb-item:hover .gnb-link { color: #fff; background: rgba(255,255,255,.15); }

/* Dropdown panel */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%;
  min-width: 300px;
  padding: 14px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px) rotateX(-12deg);
  transform-origin: top center;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s;
}
.dropdown::before { /* hover gap bridge */
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.gnb-item:hover .dropdown,
.gnb-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) rotateX(0);
}
.dropdown-title {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-muted); padding: 6px 10px 10px;
}
.dropdown-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dropdown-list.cols-2 { grid-template-columns: 1fr 1fr; min-width: 520px; }
.dd-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 10px;
  transition: background .15s;
}
.dd-link:hover { background: var(--c-bg-soft); }
.dd-icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 14px;
  background: var(--grad-brand);
}
.dd-text strong { display: block; color: var(--c-ink); font-size: 15px; font-weight: 700; line-height: 1.3; }
.dd-text span { display: block; color: var(--c-muted); font-size: 13px; line-height: 1.4; }
.dd-link:hover strong { color: var(--c-primary); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .link-signin { font-weight: 600; font-size: 15px; color: var(--c-ink); padding: 10px 12px; }
.site-header.on-hero:not(.is-scrolled) .link-signin { color: #fff; }
.site-header.on-hero:not(.is-scrolled) .header-actions .btn-primary { background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.site-header.on-hero:not(.is-scrolled) .header-actions .btn-primary:hover { background: rgba(255,255,255,.3); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 10px; border: 0; background: transparent;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute; left: 11px; width: 20px; height: 2px; border-radius: 2px; background: var(--c-ink);
  transition: transform .25s var(--ease), background .2s;
}
.menu-toggle span { top: 20px; }
.menu-toggle span::before { content: ""; left: 0; top: -6px; }
.menu-toggle span::after { content: ""; left: 0; top: 6px; }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .menu-toggle span,
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .menu-toggle span::before,
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .menu-toggle span::after { background: #fff; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 140px;
  color: #fff;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0 0 0 0; z-index: -1;
  transform: skewY(-8deg); transform-origin: 0 0;
  background: #5b4cff;
  overflow: hidden;
}
.hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob.b1 { width: 60vw; height: 60vw; left: -10vw; top: -20vw; background: #6f4bff; }
.blob.b2 { width: 45vw; height: 45vw; right: -5vw; top: -10vw; background: #ff6b9a; animation-duration: 22s; }
.blob.b3 { width: 40vw; height: 40vw; left: 30vw; top: 10vw; background: #00d4ff; animation-duration: 26s; opacity: .75; }
.blob.b4 { width: 35vw; height: 35vw; right: 10vw; top: 20vw; background: #ffb547; animation-duration: 20s; opacity: .8; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 3vw) scale(1.12); }
  100% { transform: translate(-4vw, 5vw) scale(.95); }
}
.hero-bg::after { /* grain */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 3px 3px; mix-blend-mode: overlay;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  font-size: 14px; font-weight: 600; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.eyebrow-pill b { background: #fff; color: var(--c-primary); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 {
  color: #fff; font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.04em; margin: 22px 0 22px;
}
.hero h1 .soft { color: rgba(255,255,255,.72); }
.hero .lead { font-size: 19px; color: rgba(255,255,255,.88); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-cta .btn-white .arrow { color: var(--c-primary); }

/* Hero visual (UI mockups) */
.hero-visual { position: relative; height: 520px; perspective: 1600px; }
.mock {
  position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  color: var(--c-body);
}
.mock-dashboard {
  right: -40px; top: 10px; width: 470px; padding: 22px;
  transform: rotateY(-10deg) rotateX(4deg);
  animation: float 7s ease-in-out infinite;
}
.mock-phone {
  left: -70px; bottom: -30px; width: 210px; padding: 16px; border-radius: 30px;
  background: #0a1930; color: #fff; box-shadow: 0 40px 80px -20px rgba(10,25,48,.6);
  animation: float 8s ease-in-out infinite reverse;
}
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-head .label { font-size: 13px; color: var(--c-muted); font-weight: 600; }
.mock-head .badge { font-size: 12px; font-weight: 700; color: var(--c-success); background: #e6fcf5; padding: 3px 9px; border-radius: 999px; }
.mock-balance { font-size: 32px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.03em; }
.mock-balance small { font-size: 15px; color: var(--c-muted); font-weight: 600; margin-left: 4px; }
.mock-chart { margin: 14px 0 16px; height: 120px; }
.mock-rows { display: grid; gap: 10px; }
.mock-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.mock-row .ic { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.mock-row .nm { flex: 1; color: var(--c-ink); font-weight: 600; }
.mock-row .nm small { display: block; color: var(--c-muted); font-weight: 500; font-size: 12px; }
.mock-row .amt { font-weight: 700; color: var(--c-ink); }
.mock-row .amt.up { color: var(--c-success); }
.mock-row .amt.down { color: #f03e3e; }
.ai-chip {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 16px; padding: 12px; border-radius: 12px;
  background: linear-gradient(135deg, #f3f0ff, #e7fbff);
  font-size: 13px; color: var(--c-ink); line-height: 1.5;
}
.ai-chip .spark { width: 22px; height: 22px; border-radius: 7px; background: var(--grad-brand); flex: none; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }

.phone-notch { width: 70px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); margin: 0 auto 16px; }
.phone-card {
  border-radius: 16px; padding: 16px; margin-bottom: 14px;
  background: linear-gradient(135deg, #5b4cff, #ff6b9a);
  box-shadow: 0 10px 25px rgba(91,76,255,.45);
}
.phone-card .t { font-size: 11px; opacity: .8; letter-spacing: .06em; }
.phone-card .v { font-size: 22px; font-weight: 800; margin-top: 6px; }
.phone-card .n { font-size: 11px; opacity: .8; margin-top: 18px; letter-spacing: .15em; }
.phone-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.phone-actions div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px 0; text-align: center; font-size: 11px; }
.phone-actions i { display: block; width: 18px; height: 18px; margin: 0 auto 5px; border-radius: 6px; background: rgba(255,255,255,.3); }
.phone-tx { font-size: 12px; display: grid; gap: 8px; }
.phone-tx div { display: flex; justify-content: space-between; opacity: .9; }
.phone-tx div span:last-child { font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: var(--c-dark); color: #adbdcc; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-size: 15px; font-weight: 700; margin-bottom: 14px;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-dark .eyebrow { background: linear-gradient(90deg, #00d4ff, #a99bff); -webkit-background-clip: text; background-clip: text; }
.section-title { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.035em; max-width: 760px; }
.section-desc { font-size: 19px; margin-top: 18px; max-width: 640px; }
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head.center .section-title,
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* Pillars strip */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 0 0 20px;
}
.pillar { border-left: 1px solid var(--c-line); padding-left: 20px; }
.pillar h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; position: relative; }
.pillar h4::before { content: ""; position: absolute; left: -21px; top: 2px; bottom: 2px; width: 2px; background: var(--c-primary); }
.pillar p { font-size: 15px; color: var(--c-muted); }

/* Finance product cards */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow); overflow: hidden; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .tag { font-size: 13px; font-weight: 700; color: var(--c-primary); letter-spacing: .04em; }
.product-card h3 { font-size: 28px; margin: 8px 0 12px; }
.product-card p { color: var(--c-body); }
.product-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.product-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--c-ink); }
.product-card li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: #eceaff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%235b4cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.product-visual {
  margin: 30px -40px -40px; padding: 28px 40px 0; height: 220px;
  background: linear-gradient(180deg, var(--c-bg-soft), #eef1fb);
  position: relative; overflow: hidden;
}

/* mini wallet visual */
.wallet-stack { position: relative; height: 100%; }
.wcard {
  position: absolute; width: 260px; height: 160px; border-radius: 16px; padding: 18px; color: #fff;
  box-shadow: 0 20px 40px -10px rgba(10,37,64,.35);
}
.wcard .t { font-size: 12px; opacity: .85; }
.wcard .v { font-size: 24px; font-weight: 800; margin-top: 8px; }
.wcard .n { position: absolute; bottom: 18px; left: 18px; font-size: 12px; letter-spacing: .18em; opacity: .85; }
.wcard.c1 { left: 0; top: 30px; background: linear-gradient(135deg, #0a2540, #2a4a7f); transform: rotate(-6deg); }
.wcard.c2 { left: 120px; top: 10px; background: linear-gradient(135deg, #5b4cff, #00d4ff); transform: rotate(4deg); }

/* mini exchange visual */
.order-book { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; height: 100%; }
.ob-chart { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); }
.ob-chart .pair { font-size: 13px; font-weight: 700; color: var(--c-ink); display: flex; justify-content: space-between; }
.ob-chart .pair span { color: var(--c-success); }
.ob-list { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); font-size: 12px; font-variant-numeric: tabular-nums; }
.ob-list div { display: flex; justify-content: space-between; padding: 3px 0; position: relative; }
.ob-list .ask { color: #f03e3e; }
.ob-list .bid { color: var(--c-success); }
.ob-list .mid { font-weight: 800; color: var(--c-ink); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); margin: 4px 0; padding: 5px 0; }

/* AI section (dark) */
.section-dark .ai-glow {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.section-dark .ai-glow::before {
  content: ""; position: absolute; width: 800px; height: 800px; left: 50%; top: -400px; margin-left: -400px;
  background: radial-gradient(closest-side, rgba(91,76,255,.35), transparent);
}
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.ai-cell { background: var(--c-dark); padding: 36px 32px; transition: background .25s; }
.ai-cell:hover { background: var(--c-dark-2); }
.ai-cell .ic {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.ai-cell .ic svg { width: 22px; height: 22px; }
.ai-cell h3 { font-size: 19px; margin-bottom: 8px; }
.ai-cell p { font-size: 15px; }
.ai-cell .domain { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: #00d4ff; letter-spacing: .06em; text-transform: uppercase; }

/* Platform split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 32px 0 34px; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.feature-list .n {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: var(--c-primary); background: #eeecff; font-size: 15px;
}
.feature-list h4 { font-size: 17px; margin-bottom: 4px; }
.feature-list p { font-size: 15px; color: var(--c-muted); }

.editor-mock {
  background: #0f1b33; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  color: #c9d4e3; font-size: 13px;
}
.editor-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #0a1428; border-bottom: 1px solid rgba(255,255,255,.06); }
.editor-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4560; }
.editor-bar i:nth-child(1) { background: #ff5f57; }
.editor-bar i:nth-child(2) { background: #febc2e; }
.editor-bar i:nth-child(3) { background: #28c840; }
.editor-bar span { margin-left: 10px; font-weight: 600; color: #8796ad; }
.editor-body { display: grid; grid-template-columns: 1fr 200px; min-height: 340px; }
.editor-canvas {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/24px 24px,
    radial-gradient(circle at 50% 40%, #1b2d55, #0f1b33);
  display: grid; place-items: center;
}
.editor-side { border-left: 1px solid rgba(255,255,255,.06); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.editor-side .h { font-size: 11px; letter-spacing: .1em; color: #6c7d99; font-weight: 700; }
.msg { padding: 10px 12px; border-radius: 10px; line-height: 1.5; font-size: 12px; }
.msg.user { background: rgba(255,255,255,.06); }
.msg.ai { background: linear-gradient(135deg, rgba(91,76,255,.35), rgba(0,212,255,.2)); color: #fff; }
.msg .typing { display: inline-flex; gap: 3px; }
.msg .typing b { width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .4; animation: blink 1.2s infinite; }
.msg .typing b:nth-child(2) { animation-delay: .2s; }
.msg .typing b:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* Games */
.games-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.games-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  color: #fff; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.game-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,10,25,.82)); z-index: 1; }
.game-card .art { position: absolute; inset: 0; }
.game-card .art svg { width: 100%; height: 100%; }
.game-card > *:not(.art) { position: relative; z-index: 2; }
.game-card .genre { font-size: 12px; font-weight: 700; opacity: .8; letter-spacing: .05em; }
.game-card h3 { color: #fff; font-size: 20px; margin-top: 4px; }
.game-card .more { font-size: 13px; font-weight: 600; margin-top: 10px; opacity: 0; transform: translateY(6px); transition: .3s var(--ease); }
.game-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.game-card:hover .more { opacity: 1; transform: none; }
.g-darkfarm { background: linear-gradient(160deg, #1a1f2b, #3b2a1e 60%, #7a3b1d); }
.g-voxeldim { background: linear-gradient(160deg, #4b3cff, #00b8e6); }
.g-voxelbonk { background: linear-gradient(160deg, #ff6b9a, #ffb547); }
.g-diablock { background: linear-gradient(160deg, #2b0a14, #8a1730); }
.g-voxeldead { background: linear-gradient(160deg, #0e2a1e, #3d6b33); }

/* Trust / Security */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-card { padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); }
.trust-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: #f3f0ff; color: var(--c-primary); }
.trust-card .ic svg { width: 24px; height: 24px; }
.trust-card h3 { font-size: 19px; margin-bottom: 8px; }
.trust-card p { font-size: 15px; color: var(--c-muted); }

/* CTA band */
.cta-band { padding: 0 0 120px; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: 28px; padding: 72px 64px;
  background: var(--c-dark); color: #c9d4e3;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-inner::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%;
  background: conic-gradient(from 180deg, #5b4cff, #00d4ff, #ff6b9a, #ffb547, #5b4cff);
  filter: blur(80px); opacity: .55;
}
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.cta-inner p { margin-top: 14px; font-size: 18px; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-soft); padding: 72px 0 40px; font-size: 14px; border-top: 1px solid var(--c-line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
.footer-brand p { color: var(--c-muted); margin-top: 14px; max-width: 280px; }
.footer-col h5 { margin: 0 0 14px; font-size: 14px; color: var(--c-ink); font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--c-muted); transition: color .15s; }
.footer-col a:hover { color: var(--c-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: 13px;
}
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .links a:hover { color: var(--c-ink); }
.footer-bottom .links a.strong { color: var(--c-ink); font-weight: 700; }

/* ---------- Sub page (placeholder) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 90px) 0 110px;
  color: #fff;
}
.page-hero .hero-bg { transform: skewY(-5deg); }
.page-hero .crumb { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -0.04em; margin-top: 12px; }
.page-hero p { margin-top: 14px; font-size: 19px; color: rgba(255,255,255,.85); max-width: 600px; }
.placeholder {
  min-height: 360px; border-radius: var(--radius-lg);
  border: 2px dashed #d6dde8; background: var(--c-bg-soft);
  display: grid; place-items: center; text-align: center; color: var(--c-muted); padding: 40px;
}
.placeholder strong { display: block; font-size: 22px; color: var(--c-ink); margin-bottom: 6px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; overflow-y: auto; padding: 12px 24px 40px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.menu-open { background: #fff !important; }
.menu-open .brand { color: var(--c-ink) !important; }
.menu-open .brand-mark::after { border-color: var(--c-ink) !important; border-top-color: transparent !important; }
.m-group { border-bottom: 1px solid var(--c-line); }
.m-group summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-weight: 700; font-size: 18px; color: var(--c-ink); cursor: pointer;
}
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--c-muted); }
.m-group[open] summary::after { content: "–"; }
.m-group ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.m-group ul a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--c-body); font-weight: 600; }
.m-group ul a:hover { background: var(--c-bg-soft); color: var(--c-primary); }
.mobile-nav .m-actions { display: grid; gap: 10px; margin-top: 24px; }
.mobile-nav .m-actions .btn { justify-content: center; padding: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gnb, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; max-width: 560px; }
  .mock-dashboard { right: 0; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .hero { padding-bottom: 100px; }
  .hero-visual { height: 420px; }
  .mock-dashboard { width: 340px; padding: 18px; transform: none; }
  .mock-phone { width: 180px; left: -10px; }
  .phone-card .v { font-size: 18px; white-space: nowrap; }
  .phone-card .n { letter-spacing: .08em; white-space: nowrap; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .product-grid, .trust-grid { grid-template-columns: 1fr; }
  .product-card { padding: 28px; }
  .product-visual { margin: 24px -28px -28px; padding: 22px 28px 0; }
  .order-book { grid-template-columns: 1fr; }
  .ob-list { display: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .games-head { flex-direction: column; align-items: flex-start; }
  .ai-grid { grid-template-columns: 1fr; }
  .editor-body { grid-template-columns: 1fr; }
  .editor-side { border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .cta-inner { grid-template-columns: 1fr; padding: 48px 28px; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Language (KO / EN)
   ========================================================= */
html[lang="ko"] [data-l="en"],
html[lang="en"] [data-l="ko"] { display: none !important; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px 4px 3px 9px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-muted);
  margin-right: 4px;
}
.lang-switch button {
  border: 0; background: transparent; color: var(--c-muted);
  font-size: 12px; font-weight: 700; padding: 5px 8px; border-radius: 999px; line-height: 1;
}
.lang-switch button[aria-pressed="true"] { background: var(--c-ink); color: #fff; }
.site-header.on-hero:not(.is-scrolled) .lang-switch { color: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.site-header.on-hero:not(.is-scrolled) .lang-switch button { color: rgba(255,255,255,.85); }
.site-header.on-hero:not(.is-scrolled) .lang-switch button[aria-pressed="true"] { background: #fff; color: var(--c-primary); }
.mobile-nav .lang-switch { justify-self: start; margin-bottom: 6px; }
.mobile-nav .lang-switch button { color: var(--c-muted) !important; }
.mobile-nav .lang-switch button[aria-pressed="true"] { background: var(--c-ink) !important; color: #fff !important; }

/* =========================================================
   Legal document (Privacy Policy)
   ========================================================= */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.doc-toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  font-size: 14px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto;
}
.doc-toc .h { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--c-muted); text-transform: uppercase; margin: 0 0 10px; }
.doc-toc ol { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 2px; }
.doc-toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--c-body); line-height: 1.4; }
.doc-toc a:hover { background: var(--c-bg-soft); color: var(--c-primary); }

.doc { max-width: 780px; font-size: 16px; color: var(--c-body); }
.doc .doc-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 20px; margin-bottom: 32px;
  background: var(--c-bg-soft); border-radius: var(--radius); font-size: 14px;
}
.doc .doc-meta b { color: var(--c-ink); }
.doc h2 {
  font-size: 22px; margin: 56px 0 14px; padding-top: 8px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.doc h3 { font-size: 18px; margin: 28px 0 10px; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.doc .note { font-size: 14px; color: var(--c-muted); }
.doc .table-wrap { overflow-x: auto; margin: 10px 0 18px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--c-line); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.doc tr:last-child td, .doc tr:last-child th { border-bottom: 0; }
.doc thead th { background: var(--c-bg-soft); color: var(--c-ink); font-weight: 700; white-space: nowrap; }
.doc tbody th { color: var(--c-ink); font-weight: 700; width: 150px; background: #fbfcfe; }

.game-scope { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.game-scope a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--c-line); text-decoration: none; color: var(--c-ink);
  transition: box-shadow .15s, transform .15s;
}
.game-scope a:hover { box-shadow: inset 0 0 0 1px var(--c-primary); transform: translateY(-1px); }
.game-scope .gi { width: 34px; height: 34px; border-radius: 9px; flex: none; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.game-scope strong { display: block; font-size: 15px; line-height: 1.3; }
.game-scope small { display: block; color: var(--c-muted); font-size: 12px; }

.game-annex {
  border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--c-line);
  padding: 24px 26px; margin: 18px 0; scroll-margin-top: calc(var(--header-h) + 20px);
}
.game-annex:target { box-shadow: inset 0 0 0 2px var(--c-primary); background: #faf9ff; }
.game-annex h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.game-annex .chip { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eeecff; color: var(--c-primary); }
.game-annex .chip.soon { background: #fff4e0; color: #b8640b; }
.game-annex .meta { font-size: 13px; color: var(--c-muted); margin-bottom: 14px; }

.policy-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--c-primary); }
.policy-link:hover { color: var(--c-ink); }

@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-toc { position: static; max-height: none; padding: 16px 18px; border-radius: var(--radius); background: var(--c-bg-soft); }
  .doc-toc ol { margin-bottom: 0; }
  .doc-toc .toc-annex { display: none; }
}

/* =========================================================
   Game page — DARK FARM (dark theme, gold accent)
   ========================================================= */
.theme-df { --df-bg: #0b0a0c; --df-bg2: #141216; --df-line: rgba(255,255,255,.09); --df-gold: #c9a45c; --df-gold-2: #e6c98a; --df-text: #b9b2a6; background: var(--df-bg); color: var(--df-text); }
.theme-df h1, .theme-df h2, .theme-df h3, .theme-df h4 { color: #f3ede2; }
.theme-df .site-header.is-scrolled { background: rgba(11,10,12,.86); box-shadow: 0 1px 0 var(--df-line); }
.theme-df .site-header.is-scrolled .brand,
.theme-df .site-header.is-scrolled .gnb-link,
.theme-df .site-header.is-scrolled .link-signin { color: #f3ede2; }
.theme-df .site-header.is-scrolled .brand-mark::after { border-color: #f3ede2; border-top-color: transparent; }
.theme-df .site-header.is-scrolled .lang-switch { color: #cfc6b8; box-shadow: inset 0 0 0 1px var(--df-line); }
.theme-df .site-header.is-scrolled .lang-switch button { color: #cfc6b8; }
.theme-df .site-header.is-scrolled .lang-switch button[aria-pressed="true"] { background: var(--df-gold); color: #17130c; }
.theme-df .site-header.is-scrolled .menu-toggle span,
.theme-df .site-header.is-scrolled .menu-toggle span::before,
.theme-df .site-header.is-scrolled .menu-toggle span::after { background: #f3ede2; }
.theme-df .site-header.menu-open .menu-toggle span::before,
.theme-df .site-header.menu-open .menu-toggle span::after { background: var(--c-ink); }
.theme-df .site-footer { background: #08070a; border-top-color: var(--df-line); }
.theme-df .site-footer .brand, .theme-df .footer-col h5, .theme-df .footer-bottom .links a.strong { color: #f3ede2; }
.theme-df .site-footer .brand-mark::after { border-color: #f3ede2; border-top-color: transparent; }
.theme-df .footer-bottom { border-top-color: var(--df-line); }
.theme-df .reveal { transition-duration: 1s; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.df-btn-gold { background: linear-gradient(180deg, var(--df-gold-2), var(--df-gold)); color: #17130c; box-shadow: 0 10px 30px -10px rgba(201,164,92,.6); }
.df-btn-gold:hover { filter: brightness(1.08); }
.df-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--df-gold); margin-bottom: 14px; }
.df-p { font-size: 17px; line-height: 1.8; margin-top: 16px; max-width: 640px; }
.df-p b { color: #f3ede2; }

/* hero */
.df-hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 120px; overflow: hidden; isolation: isolate; }
.df-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: dfZoom 24s ease-in-out infinite alternate; }
@keyframes dfZoom { to { transform: scale(1.14) translateY(-1.5%); } }
.df-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,10,12,.92) 0%, rgba(11,10,12,.6) 45%, rgba(11,10,12,.15) 100%), linear-gradient(0deg, var(--df-bg) 0%, transparent 35%); }
.df-hero .crumb { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.df-hero .crumb a:hover { color: #fff; }
.df-eyebrow { display: inline-block; font-size: 12px; letter-spacing: .24em; font-weight: 700; color: var(--df-gold); padding: 7px 14px; border: 1px solid rgba(201,164,92,.45); border-radius: 999px; }
.df-logo { margin: 26px 0 0; }
.df-logo img { width: min(520px, 86vw); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.df-sub { font-size: 15px; letter-spacing: .5em; color: #e9dfcc; margin-top: 10px; font-weight: 600; }
.df-lead { font-size: 21px; line-height: 1.75; color: #efe7da; margin-top: 30px; }
.df-hero .hero-cta { margin-top: 36px; }
.df-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; color: #cfc6b8; }
.df-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--df-gold); box-shadow: 0 0 0 4px rgba(201,164,92,.2); }

/* facts */
.df-facts { border-top: 1px solid var(--df-line); border-bottom: 1px solid var(--df-line); background: var(--df-bg2); }
.df-facts .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.df-fact { padding: 26px 20px; border-left: 1px solid var(--df-line); }
.df-fact:first-child { border-left: 0; padding-left: 0; }
.df-fact span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--df-gold); font-weight: 700; }
.df-fact strong { display: block; color: #f3ede2; font-size: 16px; margin-top: 6px; }

/* sections */
.df-section { padding: 120px 0; position: relative; }
.df-alt { background: var(--df-bg2); }
.df-section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.df-head { margin-bottom: 56px; }
.df-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.df-loop { position: relative; border-radius: 20px; overflow: hidden; padding: 34px; border: 1px solid var(--df-line); isolation: isolate; }
.df-loop-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.df-loop::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(11,10,12,.55), rgba(11,10,12,.92)); }
.df-loop ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.df-loop li { display: grid; grid-template-columns: 46px 90px 1fr; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--df-line); }
.df-loop li:last-child { border-bottom: 0; }
.df-loop .n { font-size: 13px; font-weight: 800; color: var(--df-gold); }
.df-loop strong { color: #f3ede2; font-size: 18px; }
.df-loop small { font-size: 14px; color: #cfc6b8; }
.df-note { margin-top: 16px; font-size: 13px; color: var(--df-gold-2); }

/* classes */
.df-classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.df-class { border-radius: 18px; overflow: hidden; background: #0f0e11; border: 1px solid var(--df-line); transition: transform .35s var(--ease), border-color .35s; }
.df-class:hover { transform: translateY(-6px); border-color: rgba(201,164,92,.5); }
.df-class .art { aspect-ratio: 3 / 4; overflow: hidden; background: #1a171c; }
.df-class .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.df-class:hover .art img { transform: scale(1.05); }
.df-class .body { padding: 22px; }
.df-class .en { font-size: 11px; letter-spacing: .24em; color: var(--df-gold); font-weight: 700; }
.df-class h3 { font-size: 22px; margin: 6px 0 4px; }
.df-class .role { font-size: 13px; color: var(--df-gold-2); }
.df-class p { font-size: 14px; margin-top: 12px; line-height: 1.7; }

/* world */
.df-world { overflow: hidden; isolation: isolate; }
.df-world-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.df-world::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--df-bg) 0%, rgba(11,10,12,.6) 50%, var(--df-bg) 100%); }
.df-eras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.df-era { padding: 28px; border-radius: 16px; background: rgba(20,18,22,.75); border: 1px solid var(--df-line); backdrop-filter: blur(6px); }
.df-era .tag { display: inline-block; font-size: 13px; font-weight: 800; color: #17130c; background: var(--df-gold); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.df-era p { font-size: 15px; line-height: 1.75; color: #ddd4c6; }

/* systems */
.df-systems { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.df-system { border-radius: 16px; background: var(--df-bg2); border: 1px solid var(--df-line); overflow: hidden; transition: border-color .3s; }
.df-system[open], .df-system:hover { border-color: rgba(201,164,92,.45); }
.df-system summary { list-style: none; display: grid; grid-template-columns: 120px 1fr 28px; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; cursor: pointer; }
.df-system summary::-webkit-details-marker { display: none; }
.df-system .thumb { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #1a171c; }
.df-system .thumb img { width: 100%; height: 100%; object-fit: cover; }
.df-system .num { font-size: 12px; font-weight: 800; color: var(--df-gold); letter-spacing: .1em; }
.df-system h3 { font-size: 18px; margin: 4px 0; }
.df-system .txt p { font-size: 14px; }
.df-system .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--df-line); position: relative; }
.df-system .plus::before, .df-system .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--df-gold); transform: translate(-50%, -50%); transition: transform .25s; }
.df-system .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.df-system[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.df-system .more { padding: 4px 24px 24px; border-top: 1px solid var(--df-line); margin: 0 14px; padding-left: 0; padding-right: 0; }
.df-system h4 { font-size: 15px; color: var(--df-gold-2); margin: 18px 0 6px; }
.df-system .more p, .df-system .more li { font-size: 14px; line-height: 1.75; }
.df-system .more ul { margin: 0; padding-left: 18px; }

/* media */
.df-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--df-line); background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.df-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.df-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.df-shot { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #1a171c; }
.df-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.df-shot:hover img { transform: scale(1.05); }
.df-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 13px; color: #f3ede2; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); }

/* faq */
.df-faq-wrap { max-width: 860px; }
.df-faqs { display: grid; gap: 10px; }
.df-faq { border: 1px solid var(--df-line); border-radius: 14px; background: var(--df-bg2); }
.df-faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: #f3ede2; display: flex; justify-content: space-between; gap: 16px; }
.df-faq summary::-webkit-details-marker { display: none; }
.df-faq summary::after { content: "+"; color: var(--df-gold); font-size: 20px; line-height: 1; }
.df-faq[open] summary::after { content: "–"; }
.df-faq p { padding: 0 24px 22px; font-size: 15px; line-height: 1.75; }

/* cta */
.df-cta { position: relative; overflow: hidden; isolation: isolate; padding: 120px 0; border-top: 1px solid var(--df-line); }
.df-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.df-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,10,12,.95) 30%, rgba(11,10,12,.5)); }
.df-cta .container { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.df-cta h2 { font-size: clamp(32px, 4.5vw, 54px); font-weight: 800; letter-spacing: -0.03em; }
.df-cta .hero-cta { margin-top: 30px; }
.df-fine { margin-top: 26px; font-size: 13px; color: #8f887d; }
.df-fine a { color: var(--df-gold-2); text-decoration: underline; text-underline-offset: 2px; }
.df-qr { text-align: center; padding: 16px; border-radius: 16px; background: #fff; }
.df-qr img { width: 140px; height: 140px; }
.df-qr span { display: block; margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .3em; color: #17130c; }

@media (max-width: 1080px) {
  .df-facts .container { grid-template-columns: repeat(3, 1fr); }
  .df-fact:nth-child(4) { border-left: 0; padding-left: 0; }
  .df-split { grid-template-columns: 1fr; }
  .df-classes { grid-template-columns: repeat(2, 1fr); }
  .df-systems { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .df-section { padding: 88px 0; }
  .df-lead { font-size: 18px; }
  .df-facts .container { grid-template-columns: 1fr 1fr; }
  .df-fact { border-left: 0; padding-left: 0; }
  .df-eras, .df-gallery { grid-template-columns: 1fr; }
  .df-classes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .df-class .body { padding: 16px; }
  .df-system summary { grid-template-columns: 84px 1fr 24px; gap: 12px; }
  .df-loop li { grid-template-columns: 34px 64px 1fr; }
  .df-cta .container { grid-template-columns: 1fr; }
  .df-qr { justify-self: start; }
}

/* =========================================================
   Blockbuster / About / Contact
   ========================================================= */
.hero-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: rgba(255,255,255,.8); margin-top: 22px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); font-size: 13px; font-weight: 700; color: #fff; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7cffc4; box-shadow: 0 0 0 4px rgba(124,255,196,.25); }

.bb-wordmark { margin-top: 22px; }
.bb-wordmark img { height: 64px; width: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,.25)); }
.bb-hero h1 { margin-top: 18px; }
.bb-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bb-feat { background: #fff; border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow); }
.bb-feat .n { font-weight: 800; font-size: 14px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-feat h3 { font-size: 22px; margin: 12px 0 10px; }
.bb-feat p { font-size: 15px; }
.editor-canvas { position: relative; }
.live-badge { position: absolute; left: 14px; top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #fff; background: #f03e3e; padding: 3px 8px; border-radius: 6px; }

.studio-tags { display: flex; gap: 8px; margin-top: 26px; }
.studio-tags span { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #f3f0ff; color: var(--c-primary); }
.studio-shot { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; background: #1a171c; aspect-ratio: 4 / 3; }
.studio-shot img { width: 100%; height: 100%; object-fit: cover; }
.studio-shot figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: #fff; border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: inset 0 0 0 1px var(--c-line); }
.value .n { font-size: 14px; font-weight: 800; color: var(--c-primary); }
.value h3 { font-size: 24px; margin: 10px 0 12px; }
.value p { font-size: 15px; color: var(--c-muted); }

.biz-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.biz-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: 32px; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; transition: transform .35s var(--ease), box-shadow .35s; box-shadow: var(--shadow); }
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.biz-card .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.biz-card::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.biz-df::after { background: linear-gradient(0deg, rgba(11,10,12,.92) 20%, rgba(11,10,12,.2)); }
.biz-bb { background: linear-gradient(140deg, #3a2bd8, #00c2ff); }
.biz-fn { background: linear-gradient(140deg, #0a2540, #5b4cff); }
.biz-card .k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.biz-card h3 { color: #fff; font-size: 24px; margin: 8px 0; }
.biz-card p { font-size: 14px; opacity: .88; }
.biz-card .go { margin-top: 16px; font-size: 14px; font-weight: 700; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; }
.member { background: var(--c-dark); padding: 32px; }
.member .area { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #00d4ff; }
.member h3 { font-size: 24px; margin: 10px 0 2px; }
.member .title { font-size: 14px; color: #a99bff; font-weight: 600; }
.member ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.member li { font-size: 14px; line-height: 1.55; padding-left: 14px; position: relative; }
.member li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); }

.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 24px; margin-bottom: 18px; }
.contact-info dl { margin: 0; display: grid; gap: 4px; }
.contact-info dt { font-size: 13px; font-weight: 700; color: var(--c-muted); margin-top: 14px; }
.contact-info dd { margin: 0; color: var(--c-ink); font-weight: 600; }
.contact-info a { color: var(--c-primary); }
.contact-info .note, .contact-form .note { font-size: 13px; color: var(--c-muted); margin-top: 22px; }
.contact-info .note a { text-decoration: underline; }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); display: grid; gap: 20px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.contact-form legend, .contact-form label { font-size: 14px; font-weight: 700; color: var(--c-ink); }
.contact-form legend { margin-bottom: 10px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic > span { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--c-body); box-shadow: inset 0 0 0 1px var(--c-line); cursor: pointer; transition: .15s; }
.topic input:checked + span { background: var(--c-ink); color: #fff; box-shadow: none; }
.topic input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input[type=text], .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--c-line);
  font: inherit; font-size: 15px; font-weight: 400; color: var(--c-ink); background: var(--c-bg-soft); transition: border-color .15s, background .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; }
.contact-form .btn { justify-self: start; }

@media (max-width: 1080px) {
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .biz-df { grid-column: 1 / -1; }
  .team { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .bb-feats, .values, .biz-grid, .team { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .bb-wordmark img { height: 46px; }
}

/* Flagship banner (main page) */
.flagship { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); margin-bottom: 22px; min-height: 380px; color: #e9e2d4; box-shadow: var(--shadow-lg); }
.flagship .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.flagship:hover .bg { transform: scale(1.04); }
.flagship::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,10,12,.94) 25%, rgba(11,10,12,.35) 75%, rgba(11,10,12,.1)); }
.flag-body { padding: 52px; max-width: 560px; }
.flagship .k { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: #c9a45c; text-transform: uppercase; }
.flagship .logo { width: 340px; max-width: 100%; height: auto; margin-top: 18px; }
.flagship .t { letter-spacing: .45em; font-size: 13px; font-weight: 600; margin-top: 6px; color: #efe7da; }
.flagship p { font-size: 16px; margin-top: 16px; line-height: 1.7; }
.flagship .pill { display: inline-block; margin-top: 22px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #17130c; background: #c9a45c; }
.game-card .art .photo { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .flag-body { padding: 32px 24px; } .flagship { min-height: 0; } }
.dd-icon-img { background: none !important; }
.dd-icon-img img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================================
   Game page — Voxel Dimension (purple, playful)
   ========================================================= */
.theme-vd { --vd-1: #5b1fd6; --vd-2: #8b3dff; --vd-y: #ffe14d; }
.vd-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: calc(var(--header-h) + 60px) 0 120px;
  background: radial-gradient(1200px 600px at 80% 20%, #9a4dff 0%, transparent 60%), linear-gradient(160deg, #4a17c4 0%, #6a26ee 55%, #7b2ff7 100%); }
.vd-pattern { position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: linear-gradient(30deg, rgba(255,255,255,.18) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.18) 87.5%),
    linear-gradient(150deg, rgba(255,255,255,.18) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.18) 87.5%),
    linear-gradient(90deg, rgba(255,255,255,.08) 2%, transparent 2.5%);
  background-size: 120px 210px; }
.vd-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: #fff; clip-path: polygon(0 100%, 100% 30%, 100% 100%); z-index: -1; }
.vd-hero .crumb { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); margin-bottom: 24px; }
.vd-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.vd-title { display: flex; align-items: center; gap: 22px; }
.vd-icon { width: 112px; height: 112px; border-radius: 26px; background: #fff; padding: 8px; box-shadow: 0 20px 40px -12px rgba(20,0,80,.55); animation: vdBob 4s ease-in-out infinite; }
@keyframes vdBob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.vd-genre { display: inline-block; font-size: 13px; font-weight: 800; color: #3b0f9e; background: var(--vd-y); padding: 4px 12px; border-radius: 999px; }
.vd-hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 66px); font-weight: 900; letter-spacing: -0.03em; margin-top: 8px; text-shadow: 0 6px 0 rgba(40,0,120,.35); }
.vd-tagline { font-size: 22px; font-weight: 800; color: var(--vd-y); margin-top: 26px; }
.vd-lead { font-size: 18px; color: rgba(255,255,255,.9); margin-top: 12px; max-width: 540px; }
.vd-btn-store { background: #111; color: #fff; cursor: default; }
.vd-btn-store .gp { width: 16px; height: 18px; background: conic-gradient(from 200deg, #00d26a, #00a3ff, #ff3d5a, #ffc400, #00d26a); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.vd-bgm .note { font-size: 16px; }
.vd-bgm.playing { background: var(--vd-y); color: #3b0f9e; box-shadow: none; }
.vd-bgm.playing .note { animation: vdNote .6s ease-in-out infinite alternate; }
@keyframes vdNote { to { transform: translateY(-3px) rotate(-12deg); } }
.vd-chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vd-chips li { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

.vd-hero-art { position: relative; height: 560px; }
.vd-phone { position: absolute; width: 250px; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; border: 8px solid #12062e; background: #12062e; box-shadow: 0 40px 80px -20px rgba(20,0,80,.7); }
.vd-phone img { width: 100%; height: 100%; object-fit: cover; }
.vd-phone.p1 { left: 8%; top: 0; transform: rotate(-6deg); z-index: 2; }
.vd-phone.p2 { right: 4%; top: 60px; transform: rotate(7deg); }
.vd-guide { display: flex; align-items: flex-end; gap: 6px; }
.vd-guide img { width: 120px; height: auto; filter: drop-shadow(0 12px 18px rgba(20,0,80,.35)); }
.vd-guide .bubble { position: relative; background: #fff; color: var(--c-ink); font-weight: 700; font-size: 14px; padding: 12px 16px; border-radius: 16px; margin-bottom: 70px; box-shadow: var(--shadow); max-width: 220px; line-height: 1.45; }
.vd-guide .bubble::before { content: ""; position: absolute; left: -7px; bottom: 16px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); }
.hero-shark { position: absolute; left: -10px; bottom: -40px; z-index: 3; animation: vdBob 5s ease-in-out infinite; }
.hero-shark img { width: 150px; }

.vd-shot { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; border: 10px solid #12062e; box-shadow: var(--shadow-lg); }
.vd-shot img { width: 100%; height: 100%; object-fit: cover; }
.theme-vd .eyebrow { background: linear-gradient(90deg, #6a26ee, #ff4fa3); -webkit-background-clip: text; background-clip: text; }

.vd-how-head { display: flex; align-items: center; gap: 28px; margin-bottom: 52px; }
.vd-how-shark { width: 150px; flex: none; animation: vdBob 5s ease-in-out infinite; }
.vd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vd-step { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 34px 28px 26px; box-shadow: inset 0 0 0 2px #eee7ff; }
.vd-step .num { position: absolute; top: -18px; left: 26px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, #6a26ee, #ff4fa3); box-shadow: 0 8px 18px -6px rgba(106,38,238,.6); }
.vd-step h3 { font-size: 20px; margin: 8px 0 8px; }
.vd-step p { font-size: 15px; }
.vd-step .tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #eef7ff; color: #1b4f86; font-size: 14px; font-weight: 600; }
.vd-step .fin { flex: none; width: 22px; height: 22px; margin-top: 1px; background: #6fb8f0; clip-path: polygon(10% 100%, 55% 0, 100% 100%); border-radius: 4px; }

.vd-sound-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.vd-tracks { display: grid; gap: 14px; }
.vd-track { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 18px 22px 18px 18px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); transition: box-shadow .2s; }
.vd-track.playing { box-shadow: 0 0 0 2px #8b3dff, var(--shadow); }
.vd-play { width: 56px; height: 56px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #6a26ee, #8b3dff); display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(106,38,238,.7); transition: transform .15s; }
.vd-play:hover { transform: scale(1.06); }
.vd-play .i { width: 0; height: 0; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.vd-track.playing .vd-play .i { width: 14px; height: 18px; border: 0; margin: 0; border-left: 5px solid #fff; border-right: 5px solid #fff; }
.vd-track .where { font-size: 12px; font-weight: 700; color: #8b3dff; }
.vd-track strong { display: block; color: var(--c-ink); font-size: 18px; }
.vd-track .bar { height: 6px; border-radius: 6px; background: #eee7ff; margin-top: 10px; cursor: pointer; overflow: hidden; }
.vd-track .fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6a26ee, #ff4fa3); transition: width .2s linear; }
.vd-track .time { font-size: 13px; color: var(--c-muted); font-variant-numeric: tabular-nums; }

.vd-cta { background: linear-gradient(135deg, #4a17c4, #7b2ff7); }
.vd-cta::before { background: conic-gradient(from 180deg, #ffe14d, #ff4fa3, #00d4ff, #ffe14d); opacity: .4; }
.vd-cta-art { position: relative; height: 220px; }
.vd-cta-art .ic { position: absolute; right: 90px; top: 0; width: 150px; border-radius: 34px; background: #fff; padding: 10px; transform: rotate(-8deg); box-shadow: 0 20px 40px -12px rgba(0,0,0,.4); }
.vd-cta-art .sh { position: absolute; right: 0; bottom: -10px; width: 150px; }

@media (max-width: 1080px) {
  .vd-hero-grid, .vd-sound-grid { grid-template-columns: 1fr; }
  .vd-hero-art { height: 520px; max-width: 520px; }
  .vd-steps { grid-template-columns: 1fr; gap: 30px; }
  .vd-rev > :first-child { order: 2; }
}
@media (max-width: 760px) {
  .vd-icon { width: 84px; height: 84px; border-radius: 20px; }
  .vd-hero-art { height: 440px; }
  .vd-phone { width: 190px; border-width: 6px; border-radius: 24px; }
  .hero-shark img { width: 110px; }
  .vd-guide .bubble { font-size: 13px; max-width: 170px; margin-bottom: 50px; }
  .vd-how-head { flex-direction: column; align-items: flex-start; }
  .vd-how-shark { width: 110px; }
  .vd-cta-art { height: 180px; }
}

/* =========================================================
   Brand logo (cat & fish) — replaces the placeholder planet mark
   ========================================================= */
img.brand-mark { width: 36px; height: 36px; border-radius: 0; background: none; box-shadow: none; display: block; transition: filter .25s; }
img.brand-mark::after { content: none; }
.brand { gap: 9px; }
/* 어두운/컬러 배경 위에서는 흰색 로고 */
.site-header.on-hero:not(.is-scrolled):not(.menu-open) img.brand-mark,
.theme-df .site-header.is-scrolled:not(.menu-open) img.brand-mark,
.theme-df .site-footer img.brand-mark { filter: brightness(0) invert(1); }

/* =========================================================
   Notice board
   ========================================================= */
.board-section { padding-top: 72px; }
.board-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.board-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.board-tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--c-body); box-shadow: inset 0 0 0 1px var(--c-line); transition: .15s; }
.board-tabs button:hover { color: var(--c-primary); }
.board-tabs button[aria-selected="true"] { background: var(--c-ink); color: #fff; box-shadow: none; }
.board-search { display: flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line); background: var(--c-bg-soft); padding: 0 6px 0 16px; transition: box-shadow .15s, background .15s; }
.board-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--c-primary); background: #fff; }
.board-search input { border: 0; background: transparent; font: inherit; font-size: 14px; padding: 10px 0; width: 220px; outline: none; color: var(--c-ink); }
.board-search button { border: 0; background: transparent; color: var(--c-muted); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.board-search button:hover { color: var(--c-primary); }
.board-count { font-size: 14px; color: var(--c-muted); margin-bottom: 10px; }
.board-count b { color: var(--c-primary); }

.board-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--c-ink); font-size: 15px; }
.board-table th { font-size: 13px; font-weight: 700; color: var(--c-muted); padding: 14px 12px; border-bottom: 1px solid var(--c-line); text-align: center; }
.board-table td { padding: 18px 12px; border-bottom: 1px solid var(--c-line); text-align: center; color: var(--c-muted); }
.board-table tbody tr { transition: background .12s; }
.board-table tbody tr:hover { background: var(--c-bg-soft); }
.board-table .c-no { width: 80px; font-variant-numeric: tabular-nums; }
.board-table .c-cat { width: 120px; }
.board-table .c-date { width: 130px; font-variant-numeric: tabular-nums; }
.board-table th.c-title, .board-table td.c-title { text-align: left; }
.board-table td.c-title a { color: var(--c-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.board-table td.c-title a:hover { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.new { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #ff4d6a; color: #fff; font-size: 10px; font-weight: 800; }
.cat { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.cat-notice { background: #eceaff; color: var(--c-primary); }
.cat-update { background: #e3f8ff; color: #0077a8; }
.cat-maintenance { background: #fff1e0; color: #b8640b; }
.cat-event { background: #ffe8ef; color: #d6336c; }
.board-empty { padding: 60px 0; text-align: center; color: var(--c-muted); }
.board-pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.board-pager button { min-width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--c-body); font-weight: 600; }
.board-pager button:hover:not(:disabled) { background: var(--c-bg-soft); }
.board-pager button[aria-current="page"] { background: var(--c-ink); color: #fff; }
.board-pager button:disabled { opacity: .3; cursor: default; }

.board-view { max-width: 860px; margin: 0 auto; }
.bv-head { border-top: 2px solid var(--c-ink); padding: 28px 4px 22px; border-bottom: 1px solid var(--c-line); }
.bv-head h2 { font-size: clamp(24px, 3vw, 30px); margin: 12px 0 12px; }
.bv-meta { display: flex; gap: 16px; font-size: 14px; color: var(--c-muted); }
.bv-meta span + span::before { content: "·"; margin-right: 16px; }
.bv-body { padding: 36px 4px 48px; font-size: 16px; line-height: 1.85; color: var(--c-body); min-height: 200px; }
.bv-body p { margin: 0 0 14px; }
.bv-body ul { margin: 0 0 16px; padding-left: 20px; }
.bv-body li { margin-bottom: 4px; }
.bv-body b { color: var(--c-ink); }
.bv-body a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.bv-nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.bv-nav li { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.bv-nav .k { font-size: 13px; font-weight: 700; color: var(--c-muted); }
.bv-nav a { color: var(--c-ink); font-weight: 600; }
.bv-nav a:hover { color: var(--c-primary); }
.bv-nav .d { font-size: 13px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.bv-nav .none { color: var(--c-muted); }
.bv-actions { display: flex; justify-content: center; margin-top: 36px; }

@media (max-width: 760px) {
  .board-search { width: 100%; }
  .board-search input { width: 100%; }
  .board-table thead { display: none; }
  .board-table, .board-table tbody, .board-table tr, .board-table td { display: block; }
  .board-table tr { padding: 16px 4px; border-bottom: 1px solid var(--c-line); display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; }
  .board-table td { padding: 0; border: 0; text-align: left; }
  .board-table .c-no { display: none; }
  .board-table .c-cat { width: auto; }
  .board-table .c-date { width: auto; align-self: center; font-size: 13px; }
  .board-table td.c-title { grid-column: 1 / -1; order: 3; }
  .bv-nav li { grid-template-columns: 70px 1fr; }
  .bv-nav .d { display: none; }
}

/* =========================================================
   Game page — Voxelbonk (dark earth + pixel, logo colors)
   ========================================================= */
.theme-vbk { --vbk-bg: #17110d; --vbk-bg2: #211812; --vbk-line: rgba(255,214,150,.12); --vbk-or: #ff8a1f; --vbk-yl: #ffd23f; --vbk-gr: #6ccf3a; --vbk-text: #cdbca6; background: var(--vbk-bg); color: var(--vbk-text); }
.theme-vbk h1, .theme-vbk h2, .theme-vbk h3 { color: #fff4e3; }
.theme-vbk .site-header.is-scrolled { background: rgba(23,17,13,.88); box-shadow: 0 1px 0 var(--vbk-line); }
.theme-vbk .site-header.is-scrolled .brand, .theme-vbk .site-header.is-scrolled .gnb-link { color: #fff4e3; }
.theme-vbk .site-header.is-scrolled:not(.menu-open) img.brand-mark, .theme-vbk .site-footer img.brand-mark { filter: brightness(0) invert(1); }
.theme-vbk .site-header.is-scrolled .lang-switch, .theme-vbk .site-header.is-scrolled .lang-switch button { color: var(--vbk-text); box-shadow: none; }
.theme-vbk .site-header.is-scrolled .lang-switch button[aria-pressed="true"] { background: var(--vbk-or); color: #1a0f05; }
.theme-vbk .site-header.is-scrolled .menu-toggle span, .theme-vbk .site-header.is-scrolled .menu-toggle span::before, .theme-vbk .site-header.is-scrolled .menu-toggle span::after { background: #fff4e3; }
.theme-vbk .site-footer { background: #100b08; border-top-color: var(--vbk-line); }
.theme-vbk .site-footer .brand, .theme-vbk .footer-col h5, .theme-vbk .footer-bottom .links a.strong { color: #fff4e3; }
.theme-vbk .footer-bottom { border-top-color: var(--vbk-line); }

.vbk-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 50px) 0 0; text-align: center;
  background: radial-gradient(900px 500px at 50% 30%, #4a2a12 0%, transparent 70%), linear-gradient(180deg, #2a1a0e, var(--vbk-bg)); }
.vbk-grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .25;
  background-image: linear-gradient(rgba(255,180,90,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,180,90,.15) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%); }
.vbk-hero .crumb { text-align: left; font-size: 14px; font-weight: 600; color: rgba(255,244,227,.6); }
.vbk-logo { margin: 20px auto 0; }
.vbk-logo img { width: min(560px, 88vw); height: auto; margin: 0 auto; image-rendering: pixelated; filter: drop-shadow(0 12px 0 rgba(0,0,0,.35)); }
.vbk-tag { font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; color: var(--vbk-yl); margin-top: 22px; }
.vbk-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.vbk-chips li { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 6px; background: rgba(255,244,227,.08); box-shadow: inset 0 0 0 1px var(--vbk-line); color: #fff4e3; }
.vbk-chips li.dev { background: var(--vbk-gr); color: #11220a; box-shadow: none; }
.vbk-lineup { position: relative; height: 440px; margin: 30px auto 0; max-width: 900px; }
.vbk-lineup img { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 18px 20px rgba(0,0,0,.6)); }
.vbk-lineup .boss { left: 50%; bottom: 120px; width: 420px; transform: translateX(-50%); opacity: .55; filter: drop-shadow(0 0 40px rgba(170,90,255,.5)); }
.vbk-lineup .h { width: 230px; animation: vbkHop 2.6s ease-in-out infinite; }
.vbk-lineup .a { left: 8%; animation-delay: -.8s; }
.vbk-lineup .w { left: 50%; margin-left: -110px; width: 220px; z-index: 2; }
.vbk-lineup .k { right: 6%; width: 270px; animation-delay: -1.6s; }
@keyframes vbkHop { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.vbk-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(0deg, var(--vbk-bg), transparent); }

.vbk-section { padding: 110px 0; }
.vbk-alt { background: var(--vbk-bg2); }
.vbk-head { text-align: center; margin-bottom: 52px; }
.vbk-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .24em; color: var(--vbk-or); margin-bottom: 12px; }
.vbk-head h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; letter-spacing: -0.02em; }

.vbk-heroes { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.vbk-picks { display: grid; gap: 12px; }
.vbk-pick { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 14px; border: 0; background: var(--vbk-bg2); color: var(--vbk-text); box-shadow: inset 0 0 0 2px var(--vbk-line); font-weight: 800; font-size: 17px; text-align: left; transition: .2s; }
.vbk-pick img { width: 56px; height: 56px; object-fit: contain; object-position: top; border-radius: 10px; background: rgba(255,255,255,.04); }
.vbk-pick:hover { color: #fff4e3; }
.vbk-pick[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--c); color: #fff4e3; background: color-mix(in srgb, var(--c) 14%, var(--vbk-bg2)); }
.vbk-panels { position: relative; }
.vbk-hero-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 30px 40px; border-radius: 22px;
  background: radial-gradient(circle at 30% 60%, color-mix(in srgb, var(--c) 35%, transparent) 0%, transparent 60%), var(--vbk-bg2); box-shadow: inset 0 0 0 1px var(--vbk-line); animation: vbkIn .35s var(--ease); }
@keyframes vbkIn { from { opacity: 0; transform: translateY(8px); } }
.vbk-hero-panel .art { height: 420px; display: grid; place-items: center; }
.vbk-hero-panel .art img { max-height: 100%; width: auto; filter: drop-shadow(0 20px 24px rgba(0,0,0,.55)); }
.vbk-hero-panel .en { font-size: 12px; font-weight: 800; letter-spacing: .24em; color: var(--c); }
.vbk-hero-panel h3 { font-size: 40px; font-weight: 900; margin: 6px 0; }
.vbk-hero-panel .role { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 6px; background: var(--c); color: #160d05; }
.vbk-hero-panel p { font-size: 17px; line-height: 1.75; margin-top: 18px; }

.vbk-play { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vbk-play li { padding: 32px 28px; border-radius: 18px; background: var(--vbk-bg); box-shadow: inset 0 0 0 1px var(--vbk-line); }
.vbk-play .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; font-weight: 900; color: #1a0f05; background: linear-gradient(180deg, var(--vbk-yl), var(--vbk-or)); box-shadow: 0 4px 0 #9a4a0a; }
.vbk-play h3 { font-size: 22px; margin: 16px 0 8px; }
.vbk-play p { font-size: 15px; line-height: 1.7; }

.vbk-boss { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 30px 44px; margin-bottom: 26px; border-radius: 22px;
  background: radial-gradient(circle at 30% 50%, rgba(150,70,255,.35), transparent 60%), #1d1424; box-shadow: inset 0 0 0 1px rgba(180,120,255,.25); }
.vbk-boss .art img { width: 100%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(170,90,255,.45)); }
.vbk-boss .badge { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .2em; padding: 5px 12px; border-radius: 6px; background: #a14dff; color: #fff; }
.vbk-boss h3 { font-size: 38px; font-weight: 900; margin: 12px 0 10px; }
.vbk-boss p { font-size: 17px; line-height: 1.75; }
.vbk-mons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.vbk-mon { margin: 0; border-radius: 16px; overflow: hidden; background: var(--vbk-bg2); box-shadow: inset 0 0 0 1px var(--vbk-line); transition: transform .25s var(--ease), box-shadow .25s; }
.vbk-mon:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 2px var(--vbk-or); }
.vbk-mon .art { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 50% 60%, rgba(255,138,31,.12), transparent 70%); }
.vbk-mon .art img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0,0,0,.5)); transition: transform .3s var(--ease); }
.vbk-mon:hover .art img { transform: scale(1.06); }
.vbk-mon figcaption { padding: 12px 16px 16px; font-weight: 800; color: #fff4e3; font-size: 15px; }
.vbk-mon .no { display: block; font-size: 11px; color: var(--vbk-or); letter-spacing: .1em; margin-bottom: 2px; }

.vbk-cta { padding: 110px 0 120px; text-align: center; background: radial-gradient(700px 300px at 50% 40%, #3a2410, transparent 70%); border-top: 1px solid var(--vbk-line); }
.vbk-cta .logo { width: 300px; height: auto; margin: 0 auto; image-rendering: pixelated; }
.vbk-cta p { font-size: 17px; margin: 22px auto 0; max-width: 520px; }
.vbk-cta .hero-cta { margin-top: 28px; }
.vbk-btn { background: linear-gradient(180deg, var(--vbk-yl), var(--vbk-or)); color: #1a0f05; box-shadow: 0 4px 0 #9a4a0a; }
.vbk-btn:hover { filter: brightness(1.06); }

@media (max-width: 1080px) {
  .vbk-heroes { grid-template-columns: 1fr; }
  .vbk-picks { grid-template-columns: repeat(3, 1fr); }
  .vbk-mons { grid-template-columns: repeat(3, 1fr); }
  .vbk-boss { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .vbk-lineup { height: 300px; }
  .vbk-lineup .boss { width: 280px; bottom: 90px; }
  .vbk-lineup .h { width: 130px; }
  .vbk-lineup .w { width: 130px; margin-left: -65px; }
  .vbk-lineup .k { width: 150px; }
  .vbk-pick { flex-direction: column; gap: 6px; padding: 10px; font-size: 14px; text-align: center; }
  .vbk-hero-panel { grid-template-columns: 1fr; padding: 24px; }
  .vbk-hero-panel .art { height: 300px; }
  .vbk-play { grid-template-columns: 1fr; }
  .vbk-mons { grid-template-columns: 1fr 1fr; }
  .vbk-boss { padding: 24px; }
}
.game-card .art .photo.vbk-card { object-fit: contain; object-position: center 20%; padding: 18px 18px 60px; }
.vbk-hero-panel[hidden] { display: none; }
.vbk-tag, .vbk-chips, .vbk-logo { position: relative; z-index: 2; }
.vbk-lineup { margin-top: 10px; }
.vbk-lineup .boss { bottom: 40px; width: 400px; opacity: .5; }
@media (max-width: 760px) { .vbk-lineup .boss { width: 260px; bottom: 40px; } }
.vbk-hero-panel .art img { height: 100%; max-height: none; width: auto; max-width: 100%; object-fit: contain; }
.vbk-hero-panel .art { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vbk-hero-panel .art img { height: 400px; }
@media (max-width: 760px) { .vbk-hero-panel .art img { height: 280px; } }

/* =========================================================
   Store buttons (STEAM / AOS) — 링크는 assets/js/store-links.js
   ========================================================= */
.store-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.store-btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 10px 20px 10px 16px; border-radius: 12px;
  background: #0d0d0f; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 24px -12px rgba(0,0,0,.7); text-align: left; transition: transform .15s, box-shadow .15s, background .15s; }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn .t { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: 11px; opacity: .75; font-weight: 600; }
.store-btn b { font-size: 19px; font-weight: 800; letter-spacing: .06em; }
.store-steam svg { color: #66c0f4; }
.store-aos svg { color: #3ddc84; }
a.store-btn[href]:hover { transform: translateY(-2px); background: #17171b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 14px 28px -12px rgba(0,0,0,.8); }
.store-btn .soon { display: none; }
.store-btn.is-soon { cursor: default; opacity: .78; }
.store-btn.is-soon .soon { display: inline-block; position: absolute; top: -9px; right: -8px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #ffd23f; color: #2a1800; }

.vbk-hero-foot { position: relative; z-index: 3; padding: 26px 0 70px; margin-top: -10px; }
.vbk-hero-foot .vbk-chips { margin: 0 0 22px; }
.df-stores { align-items: center; }
.df-stores .store-btn { background: rgba(10,9,11,.75); backdrop-filter: blur(6px); }
.vd-hero .store-btn { background: #12062e; }

/* Notice board — service selector */
.svc-bar { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; padding: 16px; margin-bottom: 26px; border-radius: var(--radius); background: var(--c-bg-soft); box-shadow: inset 0 0 0 1px var(--c-line); }
.svc-bar button { border: 0; background: #fff; color: var(--c-body); font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line); white-space: nowrap; transition: .15s; }
.svc-bar button:hover { color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.svc-bar button[aria-pressed="true"] { background: var(--c-primary); color: #fff; box-shadow: none; }
.svc-bar .svc-all { font-weight: 700; }
.svc-group { display: flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid var(--c-line); flex-wrap: wrap; }
.svc-bar .svc-glabel { background: transparent; box-shadow: none; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--c-muted); padding: 8px 6px; }
.svc-bar .svc-glabel[aria-pressed="true"] { background: var(--c-ink); color: #fff; padding: 8px 12px; }

.svc { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; white-space: nowrap; background: #f1f3f7; color: var(--c-ink); }
.svc-games { background: #fff3e6; color: #b45309; }
.svc-platform { background: #e8f4ff; color: #0b6bcb; }
.svc-finance { background: #ecfdf3; color: #067647; }
.svc-company { background: #f1f3f7; color: var(--c-body); }
.board-table .c-svc { width: 150px; }
.bv-tags { display: flex; gap: 6px; align-items: center; }

@media (max-width: 760px) {
  .svc-bar { flex-wrap: nowrap; overflow-x: auto; padding: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .svc-group { flex-wrap: nowrap; }
  .board-table .c-svc { width: auto; }
  .board-table tr { grid-template-columns: auto auto 1fr; }
}

/* Notice board — simplified filters (select boxes) */
.board-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.sel { position: relative; display: inline-block; }
.sel select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--c-ink);
  padding: 10px 40px 10px 16px; min-width: 180px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); cursor: pointer; transition: box-shadow .15s; }
.sel select:hover { box-shadow: inset 0 0 0 1px #c9d2de; }
.sel select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--c-primary); }
.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--c-muted); border-bottom: 1.5px solid var(--c-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.board-search { border-radius: 10px; background: #fff; }
/* 표 안 표시를 단순하게 */
.board-table .svc { background: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--c-body); }
.board-table .cat, .bv-tags .cat { background: none; padding: 0; border-radius: 0; font-size: 13px; }
.bv-tags .svc { background: none; padding: 0; font-size: 13px; font-weight: 700; color: var(--c-body); }
.bv-tags .svc + .cat::before { content: "·"; margin: 0 8px 0 2px; color: var(--c-muted); }
.board-table .c-svc { width: 160px; text-align: left; }
.board-table th.c-svc { text-align: left; }
.new { width: 16px; height: 16px; font-size: 9px; }
@media (max-width: 760px) {
  .board-filters { width: 100%; }
  .board-filters .sel { flex: 1; }
  .sel select { min-width: 0; width: 100%; }
}

/* "공지사항 보기" button */
.btn-notice svg { flex: none; }
.notice-row { display: flex; justify-content: center; margin-top: 16px; }
.page-hero .notice-row { margin-top: 26px; }

/* =========================================================
   Portfolio (company/portfolio.html)
   ========================================================= */
.pf-head { padding: calc(var(--header-h) + 64px) 0 28px; }
.pf-head .crumb { font-size: 14px; font-weight: 600; color: var(--c-muted); }
.pf-head .crumb a:hover { color: var(--c-primary); }
.pf-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; margin-top: 10px; }
.pf-head p { font-size: 18px; margin-top: 10px; color: var(--c-body); }
.pf-tabs { display: flex; gap: 28px; margin-top: 40px; border-bottom: 1px solid var(--c-line); }
.pf-tabs button { border: 0; background: none; padding: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--c-muted); position: relative; }
.pf-tabs button:hover { color: var(--c-ink); }
.pf-tabs button[aria-pressed="true"] { color: var(--c-ink); }
.pf-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c-ink); }

.pf-section { padding: 36px 0 120px; }
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pf-card { position: relative; display: flex; flex-direction: column; aspect-ratio: 4 / 5; background: #fff; border: 1px solid #dfe4ea; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.pf-card[hidden] { display: none; }
.pf-card:hover { border-color: var(--c-ink); box-shadow: 0 18px 40px -20px rgba(10,37,64,.35); transform: translateY(-3px); }
.pf-logo { flex: 1; display: grid; place-items: center; padding: 30px 28px 0; }
.pf-logo img { transition: transform .35s var(--ease); }
.pf-card:hover .pf-logo img, .pf-card:hover .lg-type, .pf-card:hover .lg-fin { transform: scale(1.05); }
.lg-wide { width: 82%; max-width: 280px; height: auto; }
.lg-mid { width: 64%; max-width: 220px; height: auto; image-rendering: pixelated; }
.lg-icon { width: 46%; max-width: 150px; height: auto; filter: drop-shadow(0 10px 18px rgba(80,40,200,.2)); }
.lg-type { display: inline-block; transition: transform .35s var(--ease); text-align: center; line-height: 1; }
.lg-diablock { font-family: Georgia, "Times New Roman", serif; font-weight: 900; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: .08em; color: #7a1028; text-shadow: 0 2px 0 #2b0a14; }
.lg-voxeldead { font-weight: 900; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .06em; color: #2f5a27; }
.lg-voxeldead b { display: block; font-size: 1.45em; letter-spacing: .1em; color: #6fbf3a; -webkit-text-stroke: 1px #2f5a27; }
.lg-fin { display: inline-flex; align-items: center; gap: 12px; transition: transform .35s var(--ease); }
.lg-fin svg { width: 46px; height: 46px; }
.lg-fin span { font-size: 22px; font-weight: 600; color: var(--c-ink); letter-spacing: -0.01em; }
.lg-fin b { font-weight: 800; margin-left: 2px; }
.lg-wallet svg { color: #5b4cff; }
.lg-exchange svg { color: #12b886; }
.pf-meta { padding: 0 30px 32px; }
.pf-name { display: block; font-size: 22px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.02em; }
.pf-sub { display: block; font-size: 13px; color: var(--c-muted); margin-top: 6px; }
.pf-go { position: absolute; right: 26px; bottom: 32px; font-size: 20px; color: var(--c-ink); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.pf-card:hover .pf-go { opacity: 1; transform: none; }

@media (max-width: 1080px) { .pf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .pf-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pf-card { aspect-ratio: 3 / 4; }
  .pf-logo { padding: 18px 14px 0; }
  .pf-meta { padding: 0 16px 18px; }
  .pf-name { font-size: 17px; }
  .pf-sub { font-size: 12px; }
  .pf-tabs { gap: 20px; overflow-x: auto; }
  .lg-fin { flex-direction: column; gap: 6px; }
  .lg-fin span { font-size: 16px; }
}
.pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf-card { min-width: 0; }
.lg-wide { width: 86%; }
.lg-mid { width: 72%; }
.lg-fin { flex-direction: column; gap: 10px; text-align: center; }
.lg-fin svg { width: 54px; height: 54px; }
.lg-fin span { font-size: 21px; }
@media (max-width: 1080px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lg-fin svg { width: 40px; height: 40px; } }
@media (max-width: 760px) {
  .lg-diablock { font-size: 19px; letter-spacing: .03em; }
  .lg-voxeldead { font-size: 18px; }
  .lg-fin span { font-size: 15px; }
}

/* =========================================================
   Newsroom (press coverage)
   ========================================================= */
.news-count { font-size: 14px; color: var(--c-muted); margin-bottom: 14px; }
.news-count b { color: var(--c-primary); }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--c-ink); }
.news-list li { border-bottom: 1px solid var(--c-line); }
.news-item { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 30px 0; align-items: center; transition: background .2s; }
.news-item:hover { background: var(--c-bg-soft); }
.news-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #1a171c; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-item:hover .news-thumb img { transform: scale(1.05); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13px; color: var(--c-muted); }
.news-meta .outlet { font-weight: 800; color: var(--c-ink); }
.news-meta .svc-tag { font-weight: 700; color: var(--c-primary); }
.news-title { font-size: 21px; line-height: 1.45; margin: 10px 0 10px; font-weight: 700; letter-spacing: -0.02em; }
.news-item:hover .news-title { color: var(--c-primary); }
.news-sum { font-size: 15px; line-height: 1.7; color: var(--c-body); }
.news-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--c-ink); }
.news-note { margin-top: 26px; font-size: 13px; color: var(--c-muted); }
@media (min-width: 761px) { .news-item { padding-right: 20px; } }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
  .news-title { font-size: 18px; }
}

/* =========================================================
   Game page — Diablock (reuses Voxelbonk layout, crimson + gold)
   ========================================================= */
.theme-db { --vbk-bg: #140a0c; --vbk-bg2: #1e0f12; --vbk-line: rgba(255,180,120,.12); --vbk-or: #e8792b; --vbk-yl: #f2c14e; --vbk-gr: #c43a2f; --vbk-text: #d4bfb3; }
.theme-db .vbk-hero { background: radial-gradient(900px 520px at 50% 30%, #5a1418 0%, transparent 70%), linear-gradient(180deg, #2a0b0f, var(--vbk-bg)); }
.theme-db .vbk-chips li.dev { color: #fff; }
.db-logo img { width: min(620px, 90vw); image-rendering: auto; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); }
.db-cta-logo { width: 340px !important; image-rendering: auto !important; }
.db-lineup { height: 400px; max-width: 1000px; }
.db-lineup .h { width: auto; height: 300px; animation: vbkHop 2.8s ease-in-out infinite; }
.db-lineup .d1 { left: 2%; bottom: 10px; height: 260px; animation-delay: -.4s; }
.db-lineup .d2 { left: 19%; bottom: 30px; height: 280px; animation-delay: -1.2s; }
.db-lineup .d3 { left: 50%; transform: translateX(-50%); height: 340px; z-index: 2; animation-name: dbHopC; }
.db-lineup .d4 { right: 17%; bottom: 30px; height: 290px; animation-delay: -2s; }
.db-lineup .d5 { right: 2%; bottom: 10px; height: 270px; animation-delay: -.8s; }
@keyframes dbHopC { 0%,100% { transform: translateX(-50%); } 50% { transform: translateX(-50%) translateY(-10px); } }
.db-world { position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: radial-gradient(700px 360px at 50% 50%, rgba(140,30,40,.35), transparent 70%), var(--vbk-bg); }
.db-world-l, .db-world-r { position: absolute; bottom: 0; height: 420px; width: auto; opacity: .18; z-index: -1; filter: grayscale(.3); }
.db-world-l { left: 3%; } .db-world-r { right: 3%; }
.db-lore { font-size: 19px; line-height: 1.9; max-width: 680px; margin: 22px auto 0; color: #ead8cc; }
.db-features { grid-template-columns: repeat(4, 1fr); }
.db-mons { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 1080px) { .db-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .db-lineup { height: 260px; }
  .db-lineup .h { height: 170px !important; }
  .db-lineup .d3 { height: 200px !important; }
  .db-lineup .d1, .db-lineup .d5 { display: none; }
  .db-lineup .d2 { left: 4%; } .db-lineup .d4 { right: 4%; }
  .db-features { grid-template-columns: 1fr; }
  .db-mons { grid-template-columns: 1fr 1fr; }
  .db-world-l, .db-world-r { height: 220px; }
}
.vbk-feat5 { grid-template-columns: repeat(6, 1fr); }
.vbk-feat5 li { grid-column: span 2; }
.vbk-feat5 li:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 1080px) { .vbk-feat5 { grid-template-columns: 1fr 1fr; } .vbk-feat5 li, .vbk-feat5 li:nth-child(4) { grid-column: auto; } }
@media (max-width: 760px) { .vbk-feat5 { grid-template-columns: 1fr; } }
/* contact: topic select */
.sel-block { display: block; margin-top: 8px; }
.sel-block select { width: 100%; min-width: 0; background: var(--c-bg-soft); font-weight: 600; padding: 12px 40px 12px 14px; }
.sel-block select:focus { background: #fff; }
.lg-fin img { width: 72px; height: 72px; }
@media (max-width: 760px) { .lg-fin img { width: 52px; height: 52px; } }
/* tutorial tips: match new navy shark */
.vd-step .tip { background: #edf2fa; color: #2c4a78; }
.vd-step .fin { background: #4a6fa5; }

/* Voxel Dimension — City builder */
.vd-city { background: radial-gradient(900px 500px at 50% 60%, #f1eaff 0%, #fff 70%); overflow: hidden; }
.vd-city-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.vd-city-head .section-title, .vd-city-head .section-desc { margin-left: auto; margin-right: auto; }
.vd-city-stage { display: grid; gap: 26px; }
.vd-city-view { position: relative; height: 560px; display: grid; place-items: center; }
.vd-city-view::before { content: ""; position: absolute; left: 50%; bottom: 10px; width: 62%; height: 40px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(70,20,160,.25), transparent); }
.vd-city-img { position: absolute; max-height: 540px; max-width: 92%; width: auto; opacity: 0; transform: translateY(30px) scale(.9); transition: opacity .6s var(--ease), transform .7s cubic-bezier(.2,1.4,.4,1); filter: drop-shadow(0 30px 40px rgba(60,20,140,.25)); }
.vd-city-img.on { opacity: 1; transform: none; animation: vdFloat 5s ease-in-out .7s infinite; }
@keyframes vdFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.vd-city-badge { position: absolute; right: 8%; top: 8%; display: flex; flex-direction: column; align-items: center; padding: 12px 20px; border-radius: 16px; background: #ffe14d; color: #3b0f9e; box-shadow: 0 10px 0 #c9a300, 0 20px 30px -10px rgba(0,0,0,.25); transform: rotate(6deg); }
.vd-city-badge b { font-size: 20px; font-weight: 900; letter-spacing: .04em; }
.vd-city-badge .cname { font-size: 14px; font-weight: 800; }
.vd-city-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 900px; margin: 0 auto; width: 100%; }
.vd-city-tab { border: 0; background: #fff; border-radius: 16px; padding: 10px 8px 12px; box-shadow: inset 0 0 0 2px #eee7ff; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: .2s; }
.vd-city-tab img { width: 72px; height: 72px; object-fit: contain; filter: grayscale(.85) opacity(.55); transition: .25s; }
.vd-city-tab .st { font-size: 11px; font-weight: 900; letter-spacing: .08em; color: #8b3dff; margin-top: 4px; }
.vd-city-tab .nm { font-size: 14px; font-weight: 700; color: var(--c-ink); }
.vd-city-tab:hover img { filter: none; }
.vd-city-tab[aria-selected="true"] { box-shadow: inset 0 0 0 2px #8b3dff, 0 12px 24px -12px rgba(106,38,238,.5); transform: translateY(-3px); }
.vd-city-tab[aria-selected="true"] img { filter: none; }
@media (max-width: 760px) {
  .vd-city-view { height: 340px; }
  .vd-city-img { max-height: 320px; }
  .vd-city-badge { right: 2%; top: 0; padding: 8px 12px; } .vd-city-badge b { font-size: 15px; }
  .vd-city-tabs { gap: 6px; }
  .vd-city-tab { padding: 6px 2px 8px; } .vd-city-tab img { width: 44px; height: 44px; }
  .vd-city-tab .st { font-size: 9px; } .vd-city-tab .nm { font-size: 12px; }
}

/* =========================================================
   Game page — Voxel Dead (night city, toxic green + hazard yellow)
   ========================================================= */
.theme-vdd { --vbk-bg: #0b120f; --vbk-bg2: #111b16; --vbk-line: rgba(160,255,140,.10); --vbk-or: #9be36a; --vbk-yl: #ffd23f; --vbk-gr: #9be36a; --vbk-text: #b7c7bc; }
.theme-vdd .site-header.is-scrolled .lang-switch button[aria-pressed="true"] { background: #9be36a; color: #0b120f; }
.vdd-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 760px; padding: calc(var(--header-h) + 60px) 0 200px;
  background: linear-gradient(180deg, #0e1a2a 0%, #13261f 55%, #0b120f 100%); }
.vdd-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; z-index: -2; opacity: .95; }
.vdd-horde { position: absolute; left: 0; right: 0; bottom: 30px; width: 100%; height: 120px; z-index: -1; animation: vddShamble 6s ease-in-out infinite alternate; }
@keyframes vddShamble { to { transform: translateX(14px); } }
.vdd-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,18,15,.92) 0%, rgba(11,18,15,.55) 50%, transparent 85%); pointer-events: none; }
.vdd-hero .crumb { font-size: 14px; font-weight: 600; color: rgba(220,240,225,.6); margin-bottom: 26px; }
.vdd-warn { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .14em; color: #111; padding: 6px 14px;
  background: repeating-linear-gradient(-45deg, #ffd23f 0 14px, #e8b800 14px 28px); box-shadow: 0 0 0 2px #111 inset; }
.vdd-title { margin-top: 22px; font-weight: 900; font-size: clamp(54px, 8vw, 104px); line-height: .92; letter-spacing: .04em; color: #e8f2e0; text-shadow: 0 6px 0 #0a0f0c; }
.vdd-title b { display: block; color: #9be36a; letter-spacing: .1em; text-shadow: 0 6px 0 #2f5a27, 0 0 30px rgba(155,227,106,.35); }
.vdd-title.sm { font-size: clamp(40px, 5vw, 64px); margin: 0 auto; }
.vdd-tag { font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; color: #ffd23f; margin-top: 22px; }
.vdd-chips { justify-content: flex-start; margin-top: 18px; }
.vdd-chips li.dev { background: #9be36a; color: #0b120f; }

.vdd-section { padding: 110px 0; }
.vdd-alt { background: var(--vbk-bg2); }
.vdd-head { text-align: center; margin-bottom: 52px; }
.vdd-kicker { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .24em; color: #9be36a; margin-bottom: 12px; }
.vdd-section h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; letter-spacing: -0.02em; color: #eef6ea; }
.vdd-story-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.vdd-story p { font-size: 18px; line-height: 1.9; margin-bottom: 16px; }

.vdd-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vdd-feat { padding: 30px 28px; border-radius: 16px; background: var(--vbk-bg); box-shadow: inset 0 0 0 1px var(--vbk-line); transition: box-shadow .25s, transform .25s var(--ease); }
.vdd-feat:hover { box-shadow: inset 0 0 0 1px rgba(155,227,106,.5); transform: translateY(-4px); }
.vdd-feat .ic { font-size: 30px; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: rgba(155,227,106,.10); }
.vdd-feat h3 { font-size: 21px; margin: 16px 0 8px; color: #eef6ea; }
.vdd-feat p { font-size: 15px; line-height: 1.75; }

.vdd-log { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.vdd-log::before { content: ""; position: absolute; left: 70px; top: 6px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, #9be36a 0 6px, transparent 6px 12px); opacity: .5; }
.vdd-log li { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 16px 0; align-items: baseline; }
.vdd-log .d { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 800; color: #9be36a; text-align: right; padding-right: 28px; position: relative; }
.vdd-log .d::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: #9be36a; }
.vdd-log p { font-size: 17px; color: #dfe9dc; font-style: italic; }
.vdd-log li:last-child p { color: #ffd23f; font-weight: 800; font-style: normal; }

.vdd-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vdd-shot { margin: 0; }
.vdd-shot img, .vdd-shot .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; }
.vdd-shot .ph { display: grid; place-items: center; border: 2px dashed rgba(155,227,106,.25); background: repeating-linear-gradient(-45deg, rgba(155,227,106,.04) 0 12px, transparent 12px 24px); }
.vdd-shot .ph span { font-size: 13px; font-weight: 700; color: rgba(220,240,225,.5); }
.vdd-shot figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; color: #dfe9dc; }

.vdd-cta { padding: 110px 0 120px; text-align: center; border-top: 1px solid var(--vbk-line); background: radial-gradient(700px 300px at 50% 40%, rgba(155,227,106,.10), transparent 70%); }
.vdd-cta p { font-size: 17px; margin: 18px auto 0; max-width: 520px; }
.vdd-cta .hero-cta { margin-top: 18px; }
.vdd-btn { background: #9be36a; color: #0b120f; }
.vdd-btn:hover { filter: brightness(1.08); }

@media (max-width: 1080px) { .vdd-feats { grid-template-columns: 1fr 1fr; } .vdd-story-in { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 760px) {
  .vdd-hero { min-height: 0; padding-bottom: 170px; }
  .vdd-feats, .vdd-shots { grid-template-columns: 1fr; }
  .vdd-log::before { left: 44px; }
  .vdd-log li { grid-template-columns: 90px 1fr; gap: 14px; }
  .vdd-log .d { padding-right: 20px; font-size: 13px; }
}
/* Voxel Dead title logo */
.vdd-logo { margin: 18px 0 0; }
.vdd-logo img { width: min(520px, 88vw); height: auto; filter: drop-shadow(0 16px 24px rgba(0,0,0,.6)); }
.vdd-logo.sm { margin: 0 auto; }
.vdd-logo.sm img { width: min(360px, 80vw); margin: 0 auto; }
.lg-vdd { width: 78% !important; image-rendering: auto !important; }
.game-card .art .photo.vdd-card { object-fit: contain; object-position: center 30%; padding: 14px 10px 70px; }

/* =========================================================
   Lightbox (click to zoom)
   ========================================================= */
img.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 60px 80px;
  background: rgba(6,8,12,.92); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: scale(.96); transition: transform .3s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: default; }
.lightbox.transparent img { box-shadow: none; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); border-radius: 0; }
.lightbox figcaption { color: #e9edf3; font-size: 15px; font-weight: 700; text-align: center; }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%; display: grid; place-items: center; transition: background .15s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 20px; right: 24px; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 34px; line-height: 1; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-prev[hidden], .lb-next[hidden] { display: none; }
.lb-count { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
@media (max-width: 760px) {
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}
.vd-city-img { pointer-events: none; }
.vd-city-img.on { pointer-events: auto; }

/* ===== Careers (채용 공고) ===== */
.jobs-toolbar { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 16px; background: var(--c-bg-soft); }
.jobs-search { width: 100%; padding: 4px 6px 4px 18px; }
.jobs-search input { width: 100%; font-size: 16px; padding: 12px 0; }
.jobs-toolbar .board-filters .sel { flex: 1 1 180px; }
.jobs-toolbar .board-filters .sel select { width: 100%; }
.jobs-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 28px 0 8px; flex-wrap: wrap; }
.jobs-meta .board-count { font-size: 15px; color: var(--c-body); }
.jobs-meta .board-count b { color: var(--c-primary); }
.jobs-right { display: flex; align-items: center; gap: 14px; }
.saved-only { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c-body); cursor: pointer; }
.saved-only input { width: 16px; height: 16px; accent-color: var(--c-primary); }
.sel-sm select { padding-top: 8px; padding-bottom: 8px; min-width: 0; }
.jobs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--c-ink); }
.job { position: relative; border-bottom: 1px solid var(--c-line); }
.job-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "proj dl" "title title" "tags tags"; gap: 8px 16px; padding: 26px 64px 26px 4px; color: inherit; text-decoration: none; transition: background .15s; }
.job-link:hover { background: var(--c-bg-soft); }
.job-link:hover .job-title { color: var(--c-primary); }
.job-proj { grid-area: proj; font-size: 13px; font-weight: 700; color: var(--c-primary); letter-spacing: .02em; }
.job-title { grid-area: title; margin: 0; font-size: 20px; line-height: 1.4; color: var(--c-ink); font-weight: 700; transition: color .15s; }
.job-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 6px; }
.job-tags span { font-size: 13px; color: var(--c-body); background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); padding: 4px 10px; border-radius: 6px; }
.job-tags span span { box-shadow: none; padding: 0; background: none; }
.job-dl { grid-area: dl; font-size: 13px; color: var(--c-muted); white-space: nowrap; }
.dday { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #ffe8ef; color: #e0336a; font-weight: 700; font-size: 12px; }
.job-save { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #d3dae4; display: grid; place-items: center; cursor: pointer; transition: color .15s, background .15s; }
.job-save:hover { background: var(--c-bg-soft); color: var(--c-muted); }
.job-save.on, .jv-save.on svg { color: var(--c-accent-3); }
.job-view { max-width: 1080px; }
.jv-back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--c-muted); text-decoration: none; margin-bottom: 18px; }
.jv-back:hover { color: var(--c-primary); }
.jv-head { padding-bottom: 28px; border-bottom: 2px solid var(--c-ink); }
.jv-head h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; color: var(--c-ink); margin: 8px 0 16px; }
.jv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; margin-top: 36px; align-items: start; }
.jv-sec { margin-bottom: 36px; }
.jv-sec h3 { font-size: 18px; color: var(--c-ink); margin: 0 0 12px; }
.jv-sec p, .jv-sec li { color: var(--c-body); line-height: 1.75; font-size: 15.5px; }
.jv-sec ul { margin: 0; padding-left: 20px; }
.jv-sec li { margin-bottom: 6px; }
.jv-sec li::marker { color: var(--c-primary); }
.jv-side { position: sticky; top: 96px; padding: 24px; border-radius: 16px; background: var(--c-bg-soft); }
.jv-side dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 22px; font-size: 14px; }
.jv-side dt { color: var(--c-muted); }
.jv-side dd { margin: 0; color: var(--c-ink); font-weight: 600; text-align: right; }
.jv-apply { width: 100%; justify-content: center; }
.jv-save { width: 100%; justify-content: center; margin-top: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink); display: inline-flex; align-items: center; gap: 6px; }
.jv-save svg { color: #c3ccd8; }
.jv-note { font-size: 13px; color: var(--c-muted); margin: 14px 0 0; line-height: 1.6; }
@media (max-width: 860px) {
  .jv-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .jv-side { position: static; order: -1; margin-bottom: 28px; }
  .job-link { grid-template-areas: "proj" "title" "tags" "dl"; grid-template-columns: minmax(0, 1fr); padding-right: 52px; }
  .job-title { font-size: 17px; }
  .jobs-toolbar { padding: 16px; }
}

/* ===== Help Center (고객센터, Apple Support 스타일) ===== */
.hc-hero { padding: 132px 0 56px; text-align: center; background: linear-gradient(180deg, #f6f9fc 0%, #fff 100%); }
.hc-hero .crumb { justify-content: center; text-align: center; }
.hc-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; color: var(--c-ink); margin: 10px 0 8px; }
.hc-hero > .container > p { font-size: clamp(18px, 2vw, 22px); color: var(--c-body); margin: 0 0 30px; }
.hc-search { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 18px; box-shadow: 0 0 0 1px var(--c-line), 0 12px 30px -16px rgba(10,37,64,.25); color: var(--c-muted); }
.hc-search:focus-within { box-shadow: 0 0 0 2px var(--c-primary), 0 12px 30px -16px rgba(10,37,64,.25); }
.hc-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; padding: 12px 0; color: var(--c-ink); background: transparent; }
.hc-search .btn { padding: 11px 20px; }
.hc-sec { padding: 56px 0; }
.hc-sec-tight { padding-top: 8px; }
.hc-soft { background: var(--c-bg-soft); }
.hc-h2 { font-size: 24px; color: var(--c-ink); margin: 0 0 22px; letter-spacing: -.01em; }
.hc-products { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.hc-prod { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 8px 18px; border-radius: 18px; text-decoration: none; color: var(--c-ink); font-weight: 600; font-size: 14px; text-align: center; transition: background .15s, transform .15s; }
.hc-prod:hover { background: var(--c-bg-soft); transform: translateY(-2px); }
.hc-pic { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--c-line), 0 8px 20px -12px rgba(10,37,64,.35); flex: none; }
.hc-pic img { width: 100%; height: 100%; object-fit: cover; }
.hc-pic img[src$=".svg"] { width: 70%; height: 70%; object-fit: contain; }
.hc-pic-lg { width: 88px; height: 88px; border-radius: 22px; }
.hc-quicks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hc-quick { display: flex; align-items: center; gap: 12px; padding: 18px 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--c-line); text-decoration: none; color: var(--c-ink); font-weight: 600; transition: box-shadow .15s, color .15s; }
.hc-quick svg { width: 26px; height: 26px; color: var(--c-primary); flex: none; }
.hc-quick > span:first-of-type { flex: 1; }
.hc-quick .arrow { color: var(--c-muted); }
.hc-quick:hover { box-shadow: inset 0 0 0 1.5px var(--c-primary); color: var(--c-primary); }
.hc-articles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.hc-articles li { border-bottom: 1px solid var(--c-line); }
.hc-articles a { display: flex; align-items: center; gap: 16px; padding: 20px 4px; text-decoration: none; color: inherit; }
.hc-articles a > div { flex: 1; min-width: 0; }
.hc-articles strong { display: block; font-size: 17px; color: var(--c-ink); }
.hc-articles p { margin: 4px 0 0; color: var(--c-body); font-size: 14.5px; }
.hc-articles .arrow { color: var(--c-muted); font-size: 20px; }
.hc-articles a:hover strong { color: var(--c-primary); }
.hc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hc-card { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 0 0 1px var(--c-line); display: flex; flex-direction: column; }
.hc-card-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #efedff; color: var(--c-primary); margin-bottom: 16px; }
.hc-card-ic svg { width: 22px; height: 22px; }
.hc-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--c-ink); }
.hc-card p { margin: 0 0 18px; color: var(--c-body); line-height: 1.7; }
.hc-card .link-arrow { margin-top: auto; }
.hc-notices { list-style: none; margin: 0 0 18px; padding: 0; }
.hc-notices a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--c-line); text-decoration: none; color: var(--c-ink); font-size: 14.5px; }
.hc-notices a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-notices a:hover { color: var(--c-primary); }
.hc-notices time { color: var(--c-muted); font-size: 13px; flex: none; }
.link-arrow { color: var(--c-primary); font-weight: 600; text-decoration: none; }
.hc-alerts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hc-alert { display: flex; gap: 18px; padding: 26px; border-radius: 20px; background: #fff7ec; text-decoration: none; color: inherit; transition: transform .15s; }
.hc-alert:nth-child(2) { background: #eef7ff; }
.hc-alert:hover { transform: translateY(-2px); }
.hc-alert-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #d97a00; }
.hc-alert:nth-child(2) .hc-alert-ic { color: #1f74d1; }
.hc-alert-ic svg { width: 22px; height: 22px; }
.hc-alert h3 { margin: 0 0 6px; font-size: 18px; color: var(--c-ink); }
.hc-alert p { margin: 0 0 10px; color: var(--c-body); line-height: 1.65; font-size: 15px; }
.hc-crumbs { font-size: 14px; color: var(--c-muted); margin-bottom: 26px; }
.hc-crumbs a { color: var(--c-primary); text-decoration: none; font-weight: 600; }
.hc-crumbs span { margin: 0 6px; }
.hc-crumbs b { color: var(--c-ink); font-weight: 600; }
.hc-phead { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.hc-phead h2 { margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 36px); color: var(--c-ink); }
.hc-plinks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hc-plinks a { color: var(--c-primary); font-weight: 600; text-decoration: none; font-size: 15px; }
.hc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hc-chips button { border: 0; padding: 8px 16px; border-radius: 999px; background: var(--c-bg-soft); color: var(--c-body); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hc-chips button:hover { color: var(--c-ink); }
.hc-chips button.on { background: var(--c-ink); color: #fff; }
.hc-noresult { padding: 40px; border-radius: 18px; background: var(--c-bg-soft); text-align: center; }
.hc-noresult p { color: var(--c-body); margin: 0 0 16px; }
.hc-doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.hc-doc h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; color: var(--c-ink); margin: 0 0 14px; letter-spacing: -.01em; }
.hc-doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--c-line); }
.hc-tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: #efedff; color: var(--c-primary); text-decoration: none; }
.hc-doc-meta time { font-size: 13px; color: var(--c-muted); margin-left: auto; }
.hc-doc-body { font-size: 16.5px; line-height: 1.85; color: var(--c-body); }
.hc-doc-body p { margin: 0 0 18px; }
.hc-doc-body ol, .hc-doc-body ul { margin: 0 0 20px; padding-left: 22px; }
.hc-doc-body li { margin-bottom: 8px; }
.hc-doc-body li::marker { color: var(--c-primary); font-weight: 700; }
.hc-doc-body b { color: var(--c-ink); }
.hc-doc-body a { color: var(--c-primary); }
.hc-doc-body code { background: var(--c-bg-soft); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.hc-helpful { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 18px 20px; border-radius: 14px; background: var(--c-bg-soft); font-weight: 600; color: var(--c-ink); }
.hc-helpful span:first-child { margin-right: auto; }
.hc-helpful button { border: 0; padding: 8px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); font: inherit; font-size: 14px; cursor: pointer; }
.hc-helpful button:hover { box-shadow: inset 0 0 0 1.5px var(--c-primary); color: var(--c-primary); }
.hc-helpful a { color: var(--c-primary); }
.hc-doc-side { position: sticky; top: 96px; }
.hc-doc-side h3 { font-size: 15px; color: var(--c-ink); margin: 0 0 10px; }
.hc-related { list-style: none; margin: 0 0 26px; padding: 0; }
.hc-related a { display: block; padding: 10px 0; border-bottom: 1px solid var(--c-line); color: var(--c-body); text-decoration: none; font-size: 14.5px; line-height: 1.5; }
.hc-related a:hover { color: var(--c-primary); }
.hc-side-card { padding: 22px; border-radius: 16px; background: var(--c-bg-soft); }
.hc-side-card strong { color: var(--c-ink); }
.hc-side-card p { margin: 6px 0 14px; color: var(--c-body); font-size: 14px; line-height: 1.6; }
@media (max-width: 1080px) { .hc-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hc-quicks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hc-hero { padding: 104px 0 36px; }
  .hc-search .btn { display: none; }
  .hc-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .hc-prod { padding: 14px 2px; font-size: 12px; gap: 8px; }
  .hc-pic { width: 56px; height: 56px; border-radius: 14px; }
  .hc-quicks, .hc-two, .hc-alerts, .hc-doc-grid { grid-template-columns: minmax(0, 1fr); }
  .hc-doc-grid { gap: 32px; }
  .hc-doc-side { position: static; }
  .hc-phead { align-items: flex-start; }
  .hc-pic-lg { width: 64px; height: 64px; }
}
.hc-hero.is-compact { padding: 104px 0 28px; }
.hc-hero.is-compact h1, .hc-hero.is-compact > .container > p { display: none; }
.hc-hero.is-compact .hc-search { margin-top: 14px; }
.hc-hero.is-compact + #hc-home + .hc-sec, .hc-hero.is-compact ~ #hc-sub { padding-top: 36px; }
@media (max-width: 760px) { .hc-hero.is-compact { padding: 84px 0 20px; } }

/* ===== BlockBuster 기능 소개 ===== */
.bb-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.bb-tool { padding: 7px 14px; border-radius: 999px; background: var(--c-bg-soft); box-shadow: inset 0 0 0 1px var(--c-line); font-size: 14px; font-weight: 600; color: var(--c-body); }
.bb-tools-eq { color: var(--c-muted); font-weight: 700; margin: 0 2px; }
.bb-tool-one { background: var(--grad-brand); color: #fff; box-shadow: none; }
.bb-feat-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #efedff; color: var(--c-primary); }
.bb-feat-ic svg { width: 26px; height: 26px; }
.bbf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.bbf-step { position: relative; padding: 26px 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--c-line), 0 14px 30px -22px rgba(10,37,64,.35); }
.bbf-step:not(:last-child)::after { content: "›"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; line-height: 1; z-index: 1; box-shadow: 0 0 0 4px #fff; }
.bbf-n { position: absolute; top: 18px; right: 20px; font-size: 13px; font-weight: 800; color: #c9cfe0; }
.bbf-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; margin-bottom: 16px; }
.bbf-ic svg { width: 24px; height: 24px; }
.bbf-step h3 { font-size: 18px; margin: 0 0 10px; color: var(--c-ink); }
.bbf-step ul { margin: 0; padding: 0; list-style: none; }
.bbf-step li { font-size: 14px; color: var(--c-body); line-height: 1.6; padding-left: 12px; position: relative; }
.bbf-step li::before { content: ""; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--c-primary); }
.bb-loop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 36px auto 0; padding: 16px 24px; border-radius: 999px; background: var(--c-bg-soft); width: fit-content; max-width: 100%; font-weight: 700; color: var(--c-ink); }
.bb-loop-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-primary); }
.bb-loop-ic svg { width: 18px; height: 18px; }
.bb-loop-arrow { color: var(--c-primary); }
.bb-product { background: #0b0a1f; color: #c8cbe0; }
.bb-product .section-title { color: #fff; }
.bb-product .section-desc { color: #9aa0bd; }
.bb-product .eyebrow { background: linear-gradient(90deg, #00d4ff, #a99bff); -webkit-background-clip: text; background-clip: text; }
.bb-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.bb-tab { border: 0; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.06); color: #b8bdd6; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.bb-tab b { font-size: 12px; margin-right: 8px; opacity: .6; }
.bb-tab:hover { color: #fff; }
.bb-tab.on { background: #fff; color: #0b0a1f; }
.bb-panel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.bb-panel[hidden] { display: none; }
.bb-shot { margin: 0; }
.bb-shot-frame { border-radius: 16px; overflow: hidden; background: #16152e; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(91,76,255,.55); }
.bb-shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: #1d1c3a; }
.bb-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.bb-shot-bar i:nth-child(2) { background: #febc2e; }
.bb-shot-bar i:nth-child(3) { background: #28c840; }
.bb-shot img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #0f0e24; cursor: zoom-in; }
.bb-panel-text h3 { font-size: clamp(26px, 3vw, 34px); color: #fff; margin: 10px 0 14px; }
.bb-panel-text p { color: #b3b8d2; line-height: 1.75; margin: 0 0 20px; }
.bb-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bb-checks li { position: relative; padding-left: 28px; color: #e2e4f2; font-size: 15px; }
.bb-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,212,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.2 2.6 2.6L12 5.4' fill='none' stroke='%2300d4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 1080px) {
  .bbf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .bbf-step::after { display: none; }
}
@media (max-width: 760px) {
  .bbf { grid-template-columns: minmax(0, 1fr); }
  .bb-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bb-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 28px; padding: 0 20px 4px; }
  .bb-tab { flex: none; }
  .bb-loop { border-radius: 18px; }
}

/* ===== Voxel Wallet ===== */
.btn-outline { background: #fff; color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--c-primary); color: var(--c-primary); }
.vw-head { padding: calc(var(--header-h) + 48px) 0 36px; border-bottom: 1px solid var(--c-line); background: linear-gradient(180deg, #f3f1ff 0%, #fff 100%); }
.vw-head .crumb { font-size: 14px; font-weight: 600; color: var(--c-muted); }
.vw-title { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.vw-logo { width: 96px; height: 96px; flex: none; filter: drop-shadow(0 14px 24px rgba(91,76,255,.35)); }
.vw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vw-tags span { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; background: #efedff; color: var(--c-primary); }
.vw-tags .vw-soon { background: #e6fbf2; color: #0f9a62; }
.vw-title h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -.03em; margin: 8px 0 4px; color: var(--c-ink); }
.vw-plat { margin: 0; color: var(--c-muted); font-weight: 600; }
.vw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.vw-actions .btn-notice { margin: 0; }
.vw-next { margin-left: auto; font-size: 14px; color: var(--c-muted); text-decoration: none; }
.vw-next b { color: var(--c-ink); }
.vw-next:hover b { color: var(--c-primary); }
.vw-body { padding: 56px 0 88px; }
.vw-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.vw-intro h2, .vw-h2 { font-size: 26px; color: var(--c-ink); margin: 0 0 12px; }
.vw-intro p { font-size: 17px; line-height: 1.8; color: var(--c-body); margin: 0; }
.vw-toc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 36px 0 12px; }
.vw-toc a { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--c-line); text-decoration: none; color: var(--c-ink); font-weight: 600; font-size: 14px; position: relative; transition: box-shadow .15s; }
.vw-toc a:hover { box-shadow: inset 0 0 0 1.5px var(--c-primary); }
.vw-toc svg { width: 22px; height: 22px; color: var(--c-primary); }
.vw-toc b { position: absolute; top: 14px; right: 14px; font-size: 12px; color: var(--c-muted); }
.vw-group { padding-top: 36px; scroll-margin-top: 90px; }
.vw-group h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--c-ink); margin: 0 0 14px; }
.vw-gic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #efedff; color: var(--c-primary); }
.vw-gic svg { width: 19px; height: 19px; }
.vw-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vw-group li { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--c-bg-soft); }
.vw-ck { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #1fbf7a; color: #fff; display: grid; place-items: center; margin-top: 1px; }
.vw-ck svg { width: 14px; height: 14px; }
.vw-group strong { display: block; color: var(--c-ink); font-size: 15.5px; }
.vw-group p { margin: 4px 0 0; color: var(--c-body); font-size: 14px; line-height: 1.6; }
.vw-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.vw-info { padding: 24px; border-radius: 18px; box-shadow: 0 0 0 1px var(--c-line), 0 18px 40px -28px rgba(10,37,64,.4); background: #fff; }
.vw-info h3 { margin: 0 0 14px; font-size: 17px; color: var(--c-ink); }
.vw-info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; font-size: 14px; }
.vw-info dt { color: var(--c-muted); }
.vw-info dd { margin: 0; text-align: right; font-weight: 600; color: var(--c-ink); }
.vw-warn { display: block; padding: 18px 20px; border-radius: 16px; background: #fff7ec; text-decoration: none; }
.vw-warn strong { display: block; color: #a35a00; font-size: 14.5px; margin-bottom: 4px; }
.vw-warn span { color: var(--c-body); font-size: 13.5px; line-height: 1.55; }
.vw-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.vw-card { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--c-line); text-decoration: none; transition: transform .15s; }
.vw-card:hover { transform: translateY(-2px); }
.vw-card img { width: 52px; height: 52px; border-radius: 14px; object-fit: contain; background: var(--c-bg-soft); padding: 6px; flex: none; }
.vw-card strong { display: block; color: var(--c-ink); font-size: 16px; }
.vw-card span { display: block; color: var(--c-body); font-size: 14px; margin: 3px 0 6px; }
.vw-card em { font-style: normal; font-size: 12.5px; color: var(--c-muted); font-weight: 600; }
@media (max-width: 960px) {
  .vw-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .vw-side { position: static; }
  .vw-toc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vw-related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .vw-title { gap: 16px; } .vw-logo { width: 68px; height: 68px; }
  .vw-group ul { grid-template-columns: minmax(0, 1fr); }
  .vw-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vw-next { margin-left: 0; width: 100%; }
}

/* ===== Exchange (STO 거래소, 다크 테마) ===== */
.theme-ex { --ex-bg: #0b0e14; --ex-bg2: #12161f; --ex-card: #181d28; --ex-line: rgba(255,255,255,.08); --ex-text: #eaecef; --ex-mute: #8b93a7; --ex-acc: #ffb547; --ex-up: #2ebd85; --ex-down: #f6465d; background: var(--ex-bg); color: var(--ex-text); }
.theme-ex .site-footer { background: #080a0f; }
.ex-hero { padding: calc(var(--header-h) + 56px) 0 80px; background: radial-gradient(900px 500px at 85% 20%, rgba(91,76,255,.25), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(255,181,71,.12), transparent 60%), var(--ex-bg); }
.ex-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.ex-hero .crumb, .ex-hero .crumb a { color: var(--ex-mute); font-size: 14px; font-weight: 600; }
.ex-badge { display: inline-block; margin-top: 22px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--ex-acc); padding: 6px 12px; border-radius: 6px; background: rgba(255,181,71,.1); box-shadow: inset 0 0 0 1px rgba(255,181,71,.3); }
.ex-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.15; letter-spacing: -.03em; color: #fff; margin: 18px 0 18px; }
.ex-hero h1 em { font-style: normal; color: var(--ex-acc); }
.ex-hero-copy > p { font-size: 18px; color: #b7bdcb; line-height: 1.7; margin: 0 0 30px; max-width: 560px; }
.ex-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ex-btn-main { background: var(--ex-acc); color: #1a1205; font-weight: 700; }
.ex-btn-main:hover { background: #ffc666; }
.ex-btn-sub { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.ex-btn-sub:hover { background: rgba(255,255,255,.14); }
.ex-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ex-points li { display: flex; align-items: center; gap: 8px; color: #cfd4df; font-weight: 600; font-size: 15px; }
.ex-points svg { width: 20px; height: 20px; color: var(--ex-acc); }
.ex-panel { background: var(--ex-card); border-radius: 20px; padding: 22px; box-shadow: 0 0 0 1px var(--ex-line), 0 40px 80px -40px rgba(0,0,0,.7); }
.ex-panel-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.ex-panel-tabs button, .ex-mk-tabs button { border: 0; background: none; color: var(--ex-mute); font: inherit; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.ex-panel-tabs button.on, .ex-mk-tabs button.on { color: #fff; background: rgba(255,255,255,.08); }
.ex-panel-list { list-style: none; margin: 0; padding: 0; }
.ex-panel-list li { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--ex-line); }
.ex-pn { flex: 1; min-width: 0; }
.ex-pn b, .ex-tok b { display: block; color: #fff; font-size: 15px; }
.ex-pn span, .ex-tok span { display: block; color: var(--ex-mute); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-pp { text-align: right; }
.ex-pp b { display: block; color: #fff; font-variant-numeric: tabular-nums; }
.ex-tk { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: #222838; display: grid; place-items: center; }
.ex-tk img { width: 100%; height: 100%; object-fit: cover; }
.ex-tk img[src$=".png"][src*="blockbuster"] { object-fit: contain; padding: 4px; }
.ex-tk-txt { color: #fff; font-weight: 800; font-size: 13px; }
.ex-chg { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.ex-chg.up { color: var(--ex-up); } .ex-chg.down { color: var(--ex-down); }
.ex-panel-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; }
.ex-panel-foot a { color: var(--ex-acc); font-weight: 700; text-decoration: none; }
.ex-sample { color: var(--ex-mute); padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.05); }
.ex-sec { padding: 96px 0; background: var(--ex-bg); }
.ex-sec-alt { background: var(--ex-bg2); }
.ex-sec-head { margin-bottom: 36px; }
.ex-sec-head.center { text-align: center; }
.ex-sec h2, .ex-final h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; margin: 0 0 10px; }
.ex-sec-head p, .ex-eco p, .ex-faq-wrap > div > p { color: var(--ex-mute); margin: 0; font-size: 16px; }
.ex-mk-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ex-mk-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.ex-mk-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 10px; background: var(--ex-card); box-shadow: inset 0 0 0 1px var(--ex-line); color: var(--ex-mute); }
.ex-mk-search input { border: 0; outline: none; background: transparent; color: #fff; font: inherit; font-size: 14px; padding: 10px 0; width: 200px; }
.ex-table-wrap { border-radius: 16px; background: var(--ex-card); box-shadow: 0 0 0 1px var(--ex-line); overflow: hidden; }
.ex-table { width: 100%; border-collapse: collapse; }
.ex-table th { text-align: left; font-size: 13px; color: var(--ex-mute); font-weight: 600; padding: 14px 20px; border-bottom: 1px solid var(--ex-line); white-space: nowrap; }
.ex-table th[data-sort] { cursor: pointer; user-select: none; }
.ex-table th[data-sort]:hover, .ex-table th.sorted { color: #fff; }
.ex-table th.sorted::after { content: " ↓"; } .ex-table th.sorted[data-dir="asc"]::after { content: " ↑"; }
.ex-table td { padding: 14px 20px; border-bottom: 1px solid var(--ex-line); color: #fff; }
.ex-table tr:last-child td { border-bottom: 0; }
.ex-table tbody tr:hover { background: rgba(255,255,255,.03); }
.ex-table .r { text-align: right; }
.ex-table .num { font-variant-numeric: tabular-nums; font-weight: 600; }
.ex-tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ex-tok > div { min-width: 0; }
.ex-type-tag { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 5px; margin-left: 4px; white-space: nowrap; }
.t-game { background: rgba(91,76,255,.18); color: #a99bff; } .t-streamer { background: rgba(255,107,154,.16); color: #ff8fb3; } .t-platform { background: rgba(0,212,255,.14); color: #6fe3ff; }
.ex-spark.up { color: var(--ex-up); } .ex-spark.down { color: var(--ex-down); }
.ex-trade { border: 0; padding: 7px 16px; border-radius: 8px; background: rgba(255,181,71,.12); color: var(--ex-acc); font: inherit; font-weight: 700; font-size: 13px; }
.ex-trade:disabled { opacity: .55; cursor: not-allowed; }
.ex-empty { text-align: center; color: var(--ex-mute) !important; padding: 40px !important; }
.ex-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,181,71,.1); color: var(--ex-acc); flex: none; }
.ex-ic svg { width: 24px; height: 24px; }
.ex-ic-lg { width: 56px; height: 56px; border-radius: 16px; } .ex-ic-lg svg { width: 30px; height: 30px; }
.ex-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ex-type { padding: 36px; border-radius: 22px; background: var(--ex-card); box-shadow: 0 0 0 1px var(--ex-line); }
.ex-type h3 { color: #fff; font-size: 24px; margin: 20px 0 10px; }
.ex-type p { color: #b7bdcb; line-height: 1.75; margin: 0 0 16px; }
.ex-type ul { margin: 0; padding-left: 18px; color: #cfd4df; font-size: 15px; line-height: 1.9; }
.ex-type li::marker { color: var(--ex-acc); }
.ex-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ex-step { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--ex-card); box-shadow: 0 0 0 1px var(--ex-line); }
.ex-step-n { position: absolute; top: 24px; right: 24px; font-weight: 800; color: #39404f; font-size: 22px; }
.ex-step h3 { color: #fff; font-size: 19px; margin: 18px 0 8px; }
.ex-step p { color: var(--ex-mute); font-size: 14.5px; line-height: 1.65; margin: 0; }
.ex-eco { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.ex-eco-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ex-eco-item { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 18px; background: var(--ex-card); box-shadow: 0 0 0 1px var(--ex-line); text-decoration: none; transition: box-shadow .15s; }
a.ex-eco-item:hover { box-shadow: 0 0 0 1px rgba(255,181,71,.5); }
.ex-eco-item > div { flex: 1; min-width: 0; }
.ex-eco-item strong { display: block; color: #fff; }
.ex-eco-item span { display: block; color: var(--ex-mute); font-size: 14px; margin-top: 2px; }
.ex-eco-item > b { color: var(--ex-mute); }
.ex-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ex-feat { padding: 28px 24px; border-radius: 20px; background: var(--ex-card); box-shadow: 0 0 0 1px var(--ex-line); }
.ex-feat h3 { color: #fff; font-size: 18px; margin: 18px 0 8px; }
.ex-feat p { color: var(--ex-mute); font-size: 14.5px; line-height: 1.65; margin: 0; }
.ex-faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.ex-faq-wrap .btn { margin-top: 22px; }
.ex-faq-item { border-bottom: 1px solid var(--ex-line); }
.ex-faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; color: #fff; font-weight: 700; font-size: 17px; }
.ex-faq-item summary::-webkit-details-marker { display: none; }
.ex-faq-item summary i { width: 28px; height: 28px; flex: none; border-radius: 8px; background: rgba(255,255,255,.06); position: relative; }
.ex-faq-item summary i::before, .ex-faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; transform: translate(-50%, -50%); transition: transform .2s; }
.ex-faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.ex-faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.ex-faq-item p { margin: 0 0 22px; padding: 0 4px; color: #b7bdcb; line-height: 1.75; }
.ex-final { padding: 100px 0 90px; text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(255,181,71,.14), transparent 70%), var(--ex-bg); }
.ex-final h2 { margin-bottom: 28px; }
.ex-risk { max-width: 760px; margin: 40px auto 0; font-size: 13px; color: var(--ex-mute); line-height: 1.7; }
@media (max-width: 1080px) {
  .ex-steps, .ex-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ex-hero-grid, .ex-eco, .ex-faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ex-types { grid-template-columns: minmax(0, 1fr); }
  .ex-table .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .ex-sec { padding: 64px 0; }
  .ex-steps, .ex-feats, .ex-eco-list { grid-template-columns: minmax(0, 1fr); }
  .ex-table .hide-xs { display: none; }
  .ex-table th, .ex-table td { padding: 12px 12px; }
  .ex-type-tag { display: none; }
  .ex-mk-search { width: 100%; } .ex-mk-search input { width: 100%; }
  .ex-type { padding: 26px; }
}
.theme-ex .site-header.is-scrolled { background: rgba(11,14,20,.88); box-shadow: 0 1px 0 var(--ex-line); }
.theme-ex .site-header.is-scrolled .brand, .theme-ex .site-header.is-scrolled .gnb-link { color: #fff; }
.theme-ex .site-header.is-scrolled:not(.menu-open) img.brand-mark, .theme-ex .site-footer img.brand-mark { filter: brightness(0) invert(1); }
.theme-ex .site-header.is-scrolled .lang-switch, .theme-ex .site-header.is-scrolled .lang-switch button { color: var(--ex-mute); box-shadow: none; }
.theme-ex .site-header.is-scrolled .lang-switch button[aria-pressed="true"] { background: var(--ex-acc); color: #1a1205; }
.theme-ex .site-header.is-scrolled .menu-toggle span, .theme-ex .site-header.is-scrolled .menu-toggle span::before, .theme-ex .site-header.is-scrolled .menu-toggle span::after { background: #fff; }
.theme-ex .site-footer { border-top-color: var(--ex-line); }
.theme-ex .site-footer .brand, .theme-ex .footer-col h5, .theme-ex .footer-bottom .links a.strong { color: #fff; }
.ex-eco-bb .ex-ic { background: rgba(238,191,75,.1); }
.ex-eco-bb .ex-ic img { width: 30px; height: 30px; object-fit: contain; }
.ex-eco-bb strong { background: linear-gradient(180deg, #f2c855 0%, #e6b33f 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-weight: 800; letter-spacing: -.01em; }
a.ex-eco-bb:hover { box-shadow: 0 0 0 1px rgba(238,191,75,.6); }
/* Diablock 몬스터: 세 몬스터를 스켈레톤 기준 같은 높이로 표시 */
.db-mons .vbk-mon { container-type: inline-size; }
.db-mons .vbk-mon .art { aspect-ratio: auto; height: calc((100cqw - 32px) * 720 / 550 + 32px); padding: 16px 0; }
.db-mons .vbk-mon .art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.db-mons .vbk-mon .art img { height: calc((100cqw - 32px) * 720 / 550); max-height: none; }
/* Voxelbonk 몬스터: 10마리 모두 같은 높이로 표시 (가장 넓은 '오크'가 카드 폭에 들어가는 최대 높이) */
.vbk-mons:not(.db-mons) .vbk-mon { container-type: inline-size; }
.vbk-mons:not(.db-mons) .vbk-mon .art { aspect-ratio: auto; height: calc(96cqw * 449 / 375 + 28px); padding: 14px 0; }
.vbk-mons:not(.db-mons) .vbk-mon .art img { height: calc(96cqw * 449 / 375); width: auto; max-width: 100%; max-height: none; object-fit: contain; }

/* ===== Voxelbonk 도감 (무기 · 아이템 · 비전서) ===== */
.vbk-sub { margin: 12px auto 0; max-width: 640px; color: var(--vbk-text); font-size: 16px; line-height: 1.7; }
.cx-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cx-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--vbk-line); }
.cx-tabs button { border: 0; background: none; color: var(--vbk-text); font: inherit; font-weight: 800; font-size: 15px; padding: 9px 16px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.cx-tabs button b { font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--vbk-text); }
.cx-tabs button.on { background: var(--vbk-or); color: #1a0f05; }
.cx-tabs button.on b { background: rgba(0,0,0,.18); color: #1a0f05; }
.cx-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--vbk-line); color: var(--vbk-text); }
.cx-search input { border: 0; outline: none; background: transparent; color: #fff4e3; font: inherit; font-size: 14px; padding: 11px 0; width: 220px; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.cx-chips button { border: 0; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--vbk-text); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1px var(--vbk-line); }
.cx-chips button:hover { color: #fff4e3; }
.cx-chips button.on { background: #fff4e3; color: #1a0f05; box-shadow: none; }
.cx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.cx-card { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px 14px; border: 0; border-radius: 16px; background: var(--vbk-bg); box-shadow: inset 0 0 0 1px var(--vbk-line); color: #fff4e3; font: inherit; cursor: pointer; text-align: center; transition: transform .2s var(--ease), box-shadow .2s; }
.cx-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--vbk-or); }
.cx-img { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 55%, rgba(255,138,31,.14), transparent 70%); }
.cx-img img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); transition: transform .25s var(--ease); }
.cx-card:hover .cx-img img { transform: scale(1.08); }
.cx-name { font-size: 13.5px; font-weight: 800; line-height: 1.35; word-break: keep-all; }
.cx-tag { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.07); color: var(--vbk-text); margin-top: auto; }
.r-common { --rc: #b9b2a6; } .r-magic { --rc: #4da3ff; } .r-rare { --rc: #ffd23f; } .r-legend { --rc: #ff8a1f; } .r-ancestral { --rc: #ff4f5e; } .r-unique { --rc: #c77dff; }
.cx-tag[class*="r-"] { color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); }
.cx-items .cx-card { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 35%, transparent); }
.cx-items .cx-img { background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 70%); }
.cx-items .cx-card:hover { box-shadow: inset 0 0 0 2px var(--rc); }
.cx-empty { text-align: center; color: var(--vbk-text); padding: 40px 0; }
.cx-note { margin: 22px 0 0; font-size: 13px; color: var(--vbk-text); opacity: .7; text-align: center; }
.cx-modal { position: fixed; inset: 0; z-index: 200; background: rgba(8,5,3,.78); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.cx-modal[hidden] { display: none; }
.cx-dialog { position: relative; width: min(720px, 100%); max-height: 90vh; overflow: auto; border-radius: 22px; background: var(--vbk-bg2); box-shadow: 0 0 0 1px var(--vbk-line), 0 40px 80px rgba(0,0,0,.6); }
.cx-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff4e3; font-size: 22px; cursor: pointer; z-index: 1; }
.cx-dialog-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.cx-dimg { display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--rc, #ff8a1f) 26%, transparent), transparent 70%), var(--vbk-bg); }
.cx-dimg img { width: 100%; max-width: 220px; filter: drop-shadow(0 12px 16px rgba(0,0,0,.5)); }
.cx-dtext { padding: 30px 28px; }
.cx-dtext h3 { color: #fff4e3; font-size: 26px; margin: 12px 0 2px; }
.cx-en { margin: 0 0 18px; color: var(--vbk-text); font-size: 14px; opacity: .75; }
.cx-dtext dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.cx-dtext dt { color: var(--vbk-text); opacity: .8; }
.cx-dtext dd { margin: 0; color: #fff4e3; font-weight: 600; }
.cx-concept { color: #fff4e3; line-height: 1.7; margin: 0 0 16px; }
.cx-fx { display: grid; gap: 8px; }
.cx-fx > div { padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: 14.5px; }
.cx-fx span:first-child { display: block; font-size: 11.5px; letter-spacing: .06em; margin-bottom: 3px; opacity: .85; }
.cx-fx .buff { background: rgba(108,207,58,.12); color: #9be37a; }
.cx-fx .debuff { background: rgba(255,79,94,.12); color: #ff8a94; }
@media (max-width: 640px) {
  .cx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cx-card { padding: 10px 6px; }
  .cx-name { font-size: 12px; }
  .cx-search { width: 100%; } .cx-search input { width: 100%; }
  .cx-tabs { width: 100%; } .cx-tabs button { flex: 1; justify-content: center; padding: 9px 6px; font-size: 14px; }
  .cx-dialog-body { grid-template-columns: minmax(0, 1fr); }
  .cx-dimg { padding: 20px; } .cx-dimg img { max-width: 160px; }
  .cx-dtext { padding: 20px; }
}
.df-video-fallback { position: absolute; inset: 0; display: block; background: #000; }
.df-video-fallback img { width: 100%; height: 100%; object-fit: cover; }
.df-video-fallback .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); border-radius: 14px; background: #ff0033; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.df-video-fallback .play::after { content: ""; position: absolute; left: 31px; top: 16px; border-left: 20px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
/* Voxelbonk 영웅 4인 라인업 (궁수 · 마법사 · 전사 · 기사) */
.vbk-lineup { max-width: 1000px; }
.vbk-lineup .h { width: 215px; }
.vbk-lineup .a { left: 1%; }
.vbk-lineup .m { left: 23%; width: 185px; z-index: 1; animation-delay: -.4s; }
.vbk-lineup .w { left: auto; right: 27%; margin-left: 0; width: 215px; z-index: 2; }
.vbk-lineup .k { right: 1%; width: 250px; }
@media (max-width: 760px) {
  .vbk-lineup .h { width: 100px; }
  .vbk-lineup .m { left: 22%; width: 88px; }
  .vbk-lineup .w { width: 104px; margin-left: 0; right: 25%; }
  .vbk-lineup .k { width: 118px; }
}
/* DarkFarm 새 타이틀(2줄 세로형) 크기 조정 */
.df-logo img { width: min(380px, 72vw); }
.flagship .logo { width: 250px; }
.pf-logo img.lg-wide[src*="darkfarm"] { width: auto; max-width: 70%; max-height: 120px; }
