/* 뉴미래계획 회사 사이트 공통 스타일 (빌드 없음). 디자인 규칙은 docs/디자인.md */

:root {
  /* 회사 색 */
  --green: #12a866;
  --green-deep: #0a7d4b;
  --green-soft: #dcf5e8;
  --yellow: #ffd66b;

  /* 글자·바탕 */
  --ink: #2a2118;
  --ink-2: #6b5f53;
  --ink-3: #a3978a;
  --bg: #fcf3e7;
  --bg-2: #f7eadb;
  --line: #eee1cf;
  --line-strong: #e3cfb4;
  --danger: #d9473f;
  --danger-soft: #fde6e3;
  /* 서비스 색 팔레트: 새 서비스는 다음 순서의 색을 씀 */
  --pal-blue: #3d7bff;   --pal-blue-soft: #e3edff;
  --pal-orange: #ff7a2f; --pal-orange-soft: #ffe9dc;
  --pal-violet: #7c5cff; --pal-violet-soft: #ece6ff;
  --pal-pink: #f0508a;   --pal-pink-soft: #fde4ee;
  --pal-teal: #12a5a0;   --pal-teal-soft: #d9f4f2;
  --pal-amber: #e39b00;  --pal-amber-soft: #fff0c7;
  --pal-red: #ef4b4b;    --pal-red-soft: #fde3e3;
  --pal-indigo: #4a5bdc; --pal-indigo-soft: #e4e7fb;
  --pal-sky: #1a9fe0;    --pal-sky-soft: #dcf0fb;
  --pal-lime: #5f9e14;   --pal-lime-soft: #e8f5d6;

  /* 요소마다 덮어쓰는 강조색 (기본은 회사 색) */
  --svc: var(--green);
  --svc-soft: var(--green-soft);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 44px;
  --shadow: 0 18px 40px -22px rgba(90, 60, 20, 0.35);
  --shadow-lg: 0 30px 60px -24px rgba(90, 60, 20, 0.4);
  --ring: 0 0 0 1px var(--line);

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1180px;
  --header-h: 64px;
  --header-top: 14px;
}

/* 서비스별 강조색 */
[data-service='travelbook'] { --svc: var(--pal-blue); --svc-soft: var(--pal-blue-soft); }
[data-service='toolmoa'] { --svc: var(--pal-orange); --svc-soft: var(--pal-orange-soft); }
[data-service='appdori'] { --svc: var(--pal-violet); --svc-soft: var(--pal-violet-soft); }
[data-service='droneminer'] { --svc: var(--pal-amber); --svc-soft: var(--pal-amber-soft); }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-top) + 20px);
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.3; letter-spacing: -0.035em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--svc) 55%, transparent); outline-offset: 2px; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: 0.1em; height: 0.34em; z-index: -1;
  border-radius: 8px; background: var(--yellow); transform: rotate(-1.5deg);
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font-size: 0.95rem; font-weight: 800; line-height: 1; white-space: nowrap;
  background: #fff; color: var(--ink);
  box-shadow: 0 0 0 2px var(--line), 0 4px 0 var(--line);
  transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.2s, background-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 2px var(--line), 0 1px 0 var(--line); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn svg { font-size: 1.2em; }

.btn-primary { background: var(--svc); color: #fff; box-shadow: 0 4px 0 color-mix(in srgb, var(--svc) 68%, #000); }
.btn-primary:active { box-shadow: 0 1px 0 color-mix(in srgb, var(--svc) 68%, #000); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 5px 0 #000; }
.btn-ink:active { box-shadow: 0 2px 0 #000; }
.btn-outline { background: #fff; }
.btn-outline:hover { color: var(--svc); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--bg-2); transform: none; }
.btn-ghost:active { box-shadow: none; transform: none; }
.btn-ghost[aria-pressed='true'] { background: var(--svc-soft); color: var(--svc); }
.btn-danger { background: #fff; color: var(--danger); box-shadow: 0 0 0 2px #f5cdc8, 0 4px 0 #f5cdc8; }
.btn-danger:active { box-shadow: 0 0 0 2px #f5cdc8, 0 1px 0 #f5cdc8; }
.btn-danger[type='submit'] { background: var(--danger); color: #fff; box-shadow: 0 4px 0 #a8302a; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.875rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn.is-busy { opacity: 0.6; pointer-events: none; }

.link-button {
  padding: 0; border: 0; background: none; color: var(--ink-3); font-size: 0.875rem; font-weight: 600;
}
.link-button:hover { color: var(--ink); text-decoration: underline; }
.link-button.danger:hover { color: var(--danger); }
/* ---------- 헤더 (알약 모양) ---------- */
.site-header { position: sticky; top: var(--header-top); z-index: 50; padding: 0 16px; margin-top: var(--header-top); }
.header-inner {
  position: relative; display: flex; align-items: center; gap: 16px;
  max-width: 1140px; height: var(--header-h); margin: 0 auto; padding: 0 10px 0 22px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -14px rgba(90, 60, 20, 0.25), 0 0 0 1px rgba(90, 60, 20, 0.06);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.03em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--bg-2);
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* 모바일: 헤더 아래로 펼쳐지는 카드 */
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto;
  padding: 10px 14px 18px; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(90, 60, 20, 0.06);
}
.site-nav.is-open { display: block; animation: drop-in 0.2s ease-out; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li + li { border-top: 1px solid var(--line); }
.nav-link, .nav-group-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 8px; border: 0; background: none;
  color: var(--ink); font-weight: 700; font-size: 1rem; text-align: left;
}
.nav-link[aria-current='page'], .nav-group.is-current > .nav-group-toggle { color: var(--green-deep); }
.nav-group-toggle::after {
  content: ''; width: 7px; height: 7px; margin: 0 4px 0 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s;
}
.nav-group-toggle[aria-expanded='true']::after { transform: rotate(225deg) translate(-2px, -1px); }
.nav-sub { display: none; padding: 0 0 12px; }
.nav-group-toggle[aria-expanded='true'] + .nav-sub { display: block; }

.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; transition: background-color 0.2s; }
.mega-item:hover, .mega-item[aria-current='page'] { background: var(--svc-soft); }
.mega-item img { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--svc-soft); }
.mega-item b { display: block; font-size: 0.95rem; }
.mega-item small { display: block; color: var(--ink-3); font-size: 0.8rem; font-weight: 600; }
.mega-foot { display: none; }

.nav-account { padding-top: 12px; }

/* 언어 선택 */
.nav-lang { padding-top: 12px; }
.lang-select {
  appearance: none; width: 100%; min-height: 44px; padding: 0 38px 0 16px;
  border: 0; border-radius: 999px;
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b5f53' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--ink); font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: background-color 0.2s;
}
.lang-select:hover { background-color: var(--line); }

/* 계정 영역 */
.account-login { width: 100%; }
.account-menu { position: relative; }
.account-trigger {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 5px 14px 5px 5px; border: 0; border-radius: 999px; background: var(--bg-2);
  font-weight: 700; font-size: 0.95rem;
}
.account-trigger:hover { background: var(--line); }
.account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-dropdown {
  list-style: none; margin: 8px 0 0; padding: 6px;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(90, 60, 20, 0.06);
}
.account-dropdown a, .account-dropdown button {
  display: block; width: 100%; padding: 10px 14px; border: 0; border-radius: 12px;
  background: none; color: var(--ink); font-size: 0.95rem; font-weight: 600; text-align: left;
}
.account-dropdown a:hover, .account-dropdown button:hover { background: var(--bg); }

.avatar {
  flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  background: var(--bg-2);
}
.avatar-sm { width: 24px; height: 24px; }
.avatar-lg { width: 104px; height: 104px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important; align-items: center; flex: 1; gap: 16px;
    position: static; max-height: none; overflow: visible;
    padding: 0; border-radius: 0; background: none; box-shadow: none; animation: none;
  }
  .nav-list { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
  .nav-list > li + li { border: 0; }
  .nav-link, .nav-group-toggle {
    width: auto; padding: 9px 16px; border-radius: 999px;
    color: var(--ink-2); font-size: 0.95rem; transition: background-color 0.2s, color 0.2s;
  }
  .nav-link:hover, .nav-group-toggle:hover, .nav-group:hover > .nav-group-toggle,
  .nav-group-toggle[aria-expanded='true'] { background: var(--bg-2); color: var(--ink); }
  .nav-link[aria-current='page'], .nav-group.is-current > .nav-group-toggle { color: var(--ink); }
  .nav-group:hover > .nav-group-toggle::after { transform: rotate(225deg) translate(-2px, -1px); }

  /* 넓은 메뉴: 서비스가 늘어나면 칸이 자동으로 늘어남 */
  .nav-sub {
    display: block; position: absolute; left: 50%; top: calc(100% + 10px);
    width: min(760px, calc(100vw - 32px)); padding: 14px;
    border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(90, 60, 20, 0.06);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .nav-group:hover > .nav-sub, .nav-group:focus-within > .nav-sub,
  .nav-group-toggle[aria-expanded='true'] + .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .mega-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
  .mega-item { gap: 14px; padding: 10px; border-radius: 18px; }
  .mega-item img { width: 52px; height: 52px; border-radius: 14px; }
  .mega-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    margin-top: 8px; padding: 12px 14px 4px; border-top: 1px solid var(--line);
    color: var(--ink-3); font-size: 0.8rem; font-weight: 600;
  }
  .mega-foot a { color: var(--green-deep); font-weight: 800; }
  .mega-foot a:hover { text-decoration: underline; }

  .nav-lang { padding: 0; margin-right: -6px; }
  .lang-select {
    width: auto; min-height: 38px; padding: 0 30px 0 14px;
    background-position: right 12px center; color: var(--ink-2); font-size: 0.875rem;
  }
  .lang-select:hover, .lang-select:focus-visible { color: var(--ink); }
  .nav-account { padding: 0; }
  .account-login { width: auto; }
  .account-trigger { width: auto; }
  .account-dropdown { position: absolute; right: 0; top: 100%; min-width: 180px; }
}
/* ---------- 푸터 ---------- */
.site-footer { flex-shrink: 0; margin-top: 110px; padding: 60px 0 44px; background: var(--bg-2); color: var(--ink-2); font-size: 0.875rem; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-about { grid-column: 1 / -1; }
.footer-about p { margin: 14px 0 0; color: var(--ink-3); line-height: 1.7; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.footer-brand img { width: 28px; height: 28px; }
.footer-title { margin: 0 0 14px; color: var(--ink); font-size: 0.875rem; letter-spacing: -0.02em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a:hover { color: var(--ink); }
.footer-links a.strong { color: var(--ink); font-weight: 800; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-strong); color: var(--ink-3);
}
.footer-info { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.footer-info a:hover { color: var(--ink); }
.footer-copy { margin: 0; }
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-about { grid-column: auto; }
  .footer-info { gap: 4px 0; }
  .footer-info li + li::before { content: '·'; margin: 0 8px; }
}

/* ---------- 섹션 공통 ---------- */
.section { padding: 110px 0; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 44px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.2; font-weight: 900; letter-spacing: -0.045em; }
.section-head p { max-width: 640px; margin: 12px 0 0; font-size: 1.1rem; line-height: 1.7; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: color-mix(in srgb, var(--svc) 80%, #000); font-weight: 800; font-size: 0.95rem; }
.hello {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--svc-soft); color: color-mix(in srgb, var(--svc) 75%, #000); font-weight: 800; font-size: 0.875rem;
}
.hello::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--svc); }
.hello img { width: 22px; height: 22px; margin: -4px 0 -4px -8px; border-radius: 50%; object-fit: cover; }
.hello:has(img)::before { display: none; }

.page-head { padding: 56px 0 32px; }
.page-body { padding-bottom: 40px; }
.page-head h1 { margin-bottom: 10px; font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 900; letter-spacing: -0.045em; }
.page-head p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; color: var(--ink-3); font-size: 0.875rem; font-weight: 600; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li:nth-child(2) a { color: var(--svc); }

/* ---------- 히어로 ---------- */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; }
.hero h1 { margin: 22px 0; font-size: clamp(2.4rem, 5.6vw, 4.25rem); line-height: 1.16; font-weight: 900; letter-spacing: -0.05em; }
.hero-lead { max-width: 480px; margin: 0 0 34px; font-size: 1.15rem; line-height: 1.75; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: #fff; box-shadow: var(--ring); color: var(--ink-2); font-size: 0.875rem; font-weight: 700;
}
.chip svg { color: var(--svc); }

.scene { position: relative; order: -1; margin: 0 -24px; }
.scene img {
  display: block; width: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.bubble {
  position: absolute; z-index: 2; padding: 10px 16px; border-radius: 22px 22px 22px 6px;
  background: #fff; box-shadow: 0 14px 30px -12px rgba(90, 60, 20, 0.3);
  font-weight: 800; font-size: 0.875rem; animation: wob 5s ease-in-out infinite;
}
.bubble small { display: block; color: var(--ink-3); font-weight: 600; font-size: 0.75rem; }
.bubble-1 { top: 8%; left: 6%; }
.bubble-2 { right: 6%; bottom: 12%; border-radius: 22px 22px 6px 22px; animation-delay: -2.5s; }
@keyframes wob { 50% { transform: translateY(-8px); } }

@media (min-width: 960px) {
  .hero-in { grid-template-columns: 0.85fr 1.15fr; }
  .scene { order: 0; margin: 0 -40px 0 0; }
  .bubble { padding: 12px 18px; font-size: 0.95rem; }
  .bubble-1 { left: 2%; }
  .bubble-2 { right: 2%; bottom: 14%; }
}

/* 서비스 소개 히어로: 글 + 앱 화면 */
.app-hero { padding: 56px 0 0; }
.app-hero-in { display: grid; gap: 40px; align-items: center; }
.app-hero h1 { margin: 20px 0 18px; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.18; font-weight: 900; letter-spacing: -0.05em; }
.app-hero .hero-lead { max-width: 520px; }
.app-hero-art {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  min-height: 460px; padding-top: 48px; overflow: hidden;
  border-radius: var(--radius-xl); background: var(--svc-soft);
}
.app-hero-art::before {
  content: ''; position: absolute; width: 460px; height: 460px; top: 20px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--svc) 28%, transparent), transparent 65%);
}
.app-hero-art .phone { --phone-size: 12.5px; position: relative; margin-bottom: -150px; }
.app-hero .chips { margin-top: 24px; }
@media (min-width: 960px) {
  .app-hero { padding-top: 64px; }
  .app-hero-in { grid-template-columns: 1fr 1fr; gap: 56px; }
  .app-hero-art { min-height: 580px; }
  .app-hero-art .phone { --phone-size: 14px; margin-bottom: -130px; }
}

/* 떠 있는 작은 안내 상자 */
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 18px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 16px 36px -14px rgba(90, 60, 20, 0.35);
  font-size: 0.85rem; font-weight: 800; line-height: 1.35; animation: wob 5s ease-in-out infinite;
}
.float i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--svc-soft); color: var(--svc); font-size: 18px; }
.float small { display: block; color: var(--ink-3); font-weight: 600; font-size: 0.75rem; }
.float-1 { top: 28px; left: 16px; }
.float-2 { top: 170px; right: 16px; animation-delay: -2.5s; }
@media (min-width: 960px) {
  .float { padding: 12px 16px; font-size: 0.875rem; }
  .float-1 { top: 48px; left: 28px; }
  .float-2 { top: 210px; right: 24px; }
}

/* ---------- 스토어 버튼 ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px;
  border-radius: 14px; background: var(--ink); color: #fff; line-height: 1.15;
  box-shadow: 0 4px 0 #000; transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { width: 22px; height: 22px; }
.store-badge small { display: block; font-size: 0.7rem; opacity: 0.7; letter-spacing: 0; }
.store-badge strong { display: block; font-size: 0.95rem; letter-spacing: -0.01em; }
.store-badge.is-soon { opacity: 0.55; box-shadow: none; cursor: default; }
.store-badge.is-soon:hover { transform: none; }
/* ---------- 가로 게임 화면 (휴대폰 목업 대신) ---------- */
.shot { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; object-fit: cover; background: #231f20; box-shadow: var(--shadow-lg); }
.app-hero-art:has(.shot), .show-art:has(.shot) { align-items: center; padding: 28px; }
.app-hero-art .shot, .show-art .shot { position: relative; max-width: 620px; }
.app-hero-art:has(.shot) .float-2, .show-art:has(.shot) .float-2 { top: auto; bottom: 36px; }
.shot-key { aspect-ratio: 1024 / 500; }

/* 게임 소개: 그림 + 글 한 줄씩 (좌우 번갈아), 이야기, 게임 정보, 자주 묻는 질문 */
.feat-rows { display: grid; gap: 56px; }
.feat-row { display: grid; gap: 22px; align-items: center; }
.feat-row h3 { margin: 0 0 12px; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 900; letter-spacing: -0.04em; }
.feat-row p { margin: 0; color: var(--ink-2); font-size: 1.05rem; line-height: 1.8; }
@media (min-width: 960px) {
  .feat-rows { gap: 72px; }
  .feat-row { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .feat-row:nth-child(even) { grid-template-columns: 1fr 1.3fr; }
  .feat-row:nth-child(even) .shot { order: 2; }
}
.story {
  max-width: 820px; margin: 0 auto; padding: 48px 28px; border-radius: var(--radius-xl);
  background: #231f20; color: #f4ece2; text-align: center;
}
.story h2 { margin: 0 0 20px; color: var(--svc); font-size: 1rem; font-weight: 900; letter-spacing: 0.08em; }
.story p { margin: 0 auto; max-width: 620px; font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.85; }
.story p + p { margin-top: 16px; color: #c9bdaf; }
.info-grid { display: grid; gap: 64px; }
.info-grid .section-head { margin-bottom: 28px; }
@media (min-width: 960px) { .info-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.spec { margin: 0; padding: 6px 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); }
.spec div { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.spec div:first-child { border-top: 0; }
.spec dt { color: var(--ink-3); font-size: 0.9rem; font-weight: 800; }
.spec dd { margin: 0; font-weight: 700; line-height: 1.6; }
@media (min-width: 640px) { .spec div { grid-template-columns: 150px 1fr; gap: 16px; } }
.faq { display: grid; gap: 12px; }
.faq-item { padding: 22px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--ring); }
.faq-item h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.faq-item p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.7; }
.cta a:not(.btn) { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 메인: 서비스 카드 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 22px; }
.svc-card {
  display: flex; flex-direction: column; padding: 12px 12px 26px; border-radius: 34px; background: var(--svc-soft);
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.35s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-art { overflow: hidden; border-radius: 24px; background: #fff; aspect-ratio: 16 / 11; }
.svc-art img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 0.5s; }
.svc-card:hover .svc-art img { transform: scale(1.14); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 12px 0; }
.svc-meta { display: flex; align-items: center; gap: 8px; }
.svc-name { padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--svc); font-weight: 800; font-size: 0.875rem; }
.svc-os { color: var(--ink-3); font-size: 0.8rem; font-weight: 700; }
.svc-card h3 { margin: 14px 0 8px; font-size: 1.5rem; line-height: 1.3; font-weight: 900; letter-spacing: -0.04em; }
.svc-card p { flex: 1; margin: 0 0 22px; color: var(--ink-2); line-height: 1.7; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-actions .btn-outline { box-shadow: none; }
.svc-card.soon {
  grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 22px 26px;
  border: 2px dashed var(--line-strong); background: transparent;
}
.svc-card.soon:hover { transform: none; box-shadow: none; }
.soon-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--green-soft); color: var(--green); font-size: 28px; }
.soon-text { flex: 1; min-width: 220px; }
.soon-text h3 { margin: 0 0 2px; font-size: 1.2rem; }
.svc-card.soon p { margin: 0; }

/* ---------- 메인: 앱 미리 보기 (탭) ---------- */
.show { border-radius: var(--radius-xl); background: #fff; box-shadow: var(--ring); overflow: hidden; }
.show-tabs { display: flex; gap: 8px; padding: 14px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.show-tabs::-webkit-scrollbar { display: none; }
.show-tabs [role='tab'] {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 7px;
  border: 0; border-radius: 999px; background: var(--bg); font-weight: 800; font-size: 0.95rem; color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}
.show-tabs [role='tab'] img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.show-tabs [role='tab'][aria-selected='true'] { background: var(--svc); color: #fff; }
.show-panel { display: grid; gap: 8px; align-items: center; padding: 32px 24px 0; animation: swap 0.45s cubic-bezier(0.3, 1.2, 0.5, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(16px); } }
.show-text { padding-bottom: 24px; }
.show-text .tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--svc-soft); color: var(--svc); font-weight: 800; font-size: 0.875rem; }
.show-text h3 { margin: 16px 0 14px; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.22; font-weight: 900; letter-spacing: -0.045em; }
.show-text > p { margin: 0 0 26px; font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.feats { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.feats li { display: flex; gap: 12px; line-height: 1.6; color: var(--ink-2); }
.feats li > i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--svc-soft); color: var(--svc); font-size: 16px; }
.feats b { color: var(--ink); }
.show-art {
  position: relative; align-self: stretch; display: flex; justify-content: center; align-items: flex-end;
  min-height: 480px; border-radius: 36px 36px 0 0; background: var(--svc-soft); overflow: hidden;
}
.show-art::before {
  content: ''; position: absolute; width: 440px; height: 440px; top: 40px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--svc) 28%, transparent), transparent 65%);
}
.show-art .phone { --phone-size: 12.5px; position: relative; margin-bottom: -130px; }
@media (min-width: 960px) {
  .show-tabs { padding: 18px; }
  .show-panel { grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px 56px 0; }
  .show-text { padding-bottom: 56px; }
  .show-art { min-height: 560px; }
  .show-art .phone { --phone-size: 13.5px; margin-bottom: -110px; }
}

/* ---------- 원칙·가치 카드 ---------- */
.prin { display: grid; gap: 20px; }
.prin > div { padding: 34px 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); }
.prin-icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 20px;
  background: var(--svc-soft); color: var(--svc); font-size: 28px; transform: rotate(-6deg);
}
.prin h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 900; }
.prin p { margin: 0; color: var(--ink-2); line-height: 1.7; }
@media (min-width: 760px) { .prin { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 커뮤니티 바로가기 ---------- */
.comm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.comm {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px 18px 18px; border-radius: 24px;
  background: #fff; box-shadow: var(--ring); transition: transform 0.25s, box-shadow 0.25s;
}
.comm:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--svc), var(--shadow); }
.comm img { flex: none; width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: var(--svc-soft); }
.comm-text { flex: 1; min-width: 0; }
.comm-text b { display: block; font-size: 1.05rem; }
.comm-text span { color: var(--ink-3); font-size: 0.8rem; font-weight: 600; }
.comm-go { color: var(--ink-3); font-size: 22px; transition: transform 0.2s, color 0.2s; }
.comm:hover .comm-go { color: var(--svc); transform: translateX(3px); }

/* ---------- 노란 마무리 띠 ---------- */
.cta {
  position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center;
  padding: 44px 28px; border-radius: var(--radius-xl); background: var(--yellow);
}
.cta::before { content: ''; position: absolute; width: 320px; height: 320px; right: -60px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.cta > * { position: relative; }
.cta h2 { margin: 0 0 10px; font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 900; letter-spacing: -0.045em; }
.cta p { margin: 0; color: #6b5223; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-actions .btn { box-shadow: 0 5px 0 rgba(107, 82, 35, 0.35); }
.cta-actions .btn-ink { box-shadow: 0 5px 0 #000; }
@media (min-width: 960px) {
  .cta { grid-template-columns: 1fr auto; gap: 32px; padding: 56px 64px; }
  .cta-actions { justify-content: flex-end; }
}

/* ---------- 카드·격자 ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card { height: 100%; padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); }
.card h3 { font-size: 1.2rem; font-weight: 800; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; transition: transform 0.25s, box-shadow 0.25s; }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--svc), var(--shadow); }
.icon-badge {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 18px; background: var(--svc-soft); color: var(--svc); font-size: 26px; transform: rotate(-6deg);
}

/* 기능 카드: 색 바탕 */
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(var(--min, 300px), 100%), 1fr)); }
.feature { padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); }
.feature h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 900; }
.feature p { margin: 0; color: var(--ink-2); line-height: 1.7; }
.feature ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-2); line-height: 1.7; }

/* 사용 순서 */
.steps { counter-reset: step; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 28px 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 14px;
  background: var(--svc); color: #fff; font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--svc) 68%, #000);
}
.steps h3 { margin-bottom: 6px; font-size: 1.1rem; font-weight: 800; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.7; }

/* 알아 두실 점 */
.notes { display: grid; gap: 16px; }
@media (min-width: 760px) { .notes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.note { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--ring); }
.note-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--svc-soft); color: var(--svc); font-size: 22px; }
.note h3 { margin-bottom: 4px; font-size: 1.05rem; font-weight: 800; }
.note p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.7; }

/* ---------- 회사 소개 ---------- */
.about-hero { padding: 72px 0 40px; text-align: center; }
.about-hero h1 { margin: 22px auto 20px; max-width: 760px; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.18; font-weight: 900; letter-spacing: -0.05em; }
.about-hero .hero-lead { max-width: 600px; margin: 0 auto; }
.about-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 48px 0 0; padding: 0; list-style: none; }
.about-apps li { animation: float 6s ease-in-out infinite; }
.about-apps li:nth-child(2n) { animation-delay: -3s; }
.about-apps a { display: block; width: clamp(96px, 18vw, 168px); transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1); }
.about-apps li:nth-child(odd) a { transform: rotate(-5deg); }
.about-apps li:nth-child(even) a { transform: rotate(4deg) translateY(16px); }
.about-apps a:hover { transform: scale(1.06); }
.about-apps img { display: block; width: 100%; aspect-ratio: 1; border-radius: 32%; object-fit: cover; background: var(--svc-soft); box-shadow: var(--shadow); }
.about-apps span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 0.875rem; font-weight: 800; text-align: center; }
.timeline { position: relative; display: grid; gap: 14px; max-width: 720px; margin: 0 auto; padding: 0; list-style: none; }
.timeline li { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--ring); }
.timeline time {
  flex: none; min-width: 92px; padding: 6px 12px; border-radius: 999px; background: var(--svc-soft);
  color: var(--svc); font-weight: 900; font-size: 0.95rem; text-align: center;
}
.timeline span { font-weight: 700; }
.founder {
  position: relative; max-width: 820px; margin: 0 auto; padding: 56px 32px; border-radius: var(--radius-xl);
  background: #fff; box-shadow: var(--ring); text-align: center;
}
.founder::before {
  content: '“'; position: absolute; left: 50%; top: -34px; transform: translateX(-50%);
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px;
  background: var(--yellow); font-size: 3rem; font-weight: 900; line-height: 1; padding-top: 18px;
}
.founder blockquote { margin: 0 0 16px; font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 900; line-height: 1.5; letter-spacing: -0.04em; }
.founder p, .founder figcaption { margin: 0; color: var(--ink-2); font-weight: 600; }
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

/* ---------- 폼 ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label, .field-label { font-weight: 800; font-size: 0.95rem; }
.field-hint { color: var(--ink-3); font-size: 0.85rem; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 16px;
  border: 2px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--svc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--svc) 18%, transparent); }
.select {
  appearance: none; padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b5f53' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 15px center;
}
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem; font-weight: 600; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--svc); }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.counter { color: var(--ink-3); font-size: 0.8rem; font-weight: 600; text-align: right; }
.counter.over { color: var(--danger); }

/* ---------- 알림·토스트 ---------- */
.alert { padding: 14px 18px; border-radius: 16px; background: var(--bg-2); color: var(--ink-2); font-weight: 600; }
.alert-danger { background: var(--danger-soft); color: #9b2b23; }
.toast-region {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: calc(100% - 32px); max-width: 420px;
  pointer-events: none;
}
.toast {
  padding: 13px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 0.95rem; font-weight: 700; box-shadow: var(--shadow-lg); text-align: center;
  animation: toast-in 0.25s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.toast-error { background: var(--danger); }
.toast-success { background: var(--green); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } }

/* ---------- 모달 (dialog) ---------- */
.modal {
  width: calc(100% - 32px); max-width: 420px; padding: 0;
  border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.modal[open] { animation: modal-in 0.25s cubic-bezier(0.3, 1.3, 0.5, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
.modal::backdrop { background: rgba(42, 33, 24, 0.45); backdrop-filter: blur(2px); }
.modal-body { padding: 30px 26px 26px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.modal-head h2 { margin: 0; font-size: 1.35rem; font-weight: 900; }
.modal-close {
  flex: none; width: 38px; height: 38px; margin: -8px -8px 0 0; border: 0; border-radius: 50%;
  background: var(--bg); font-size: 1.4rem; line-height: 1; color: var(--ink-2);
}
.modal-close:hover { background: var(--bg-2); color: var(--ink); }
#login-dialog .modal-body::before {
  content: ''; display: block; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 20px;
  background: var(--green-soft) url('https://d1ja3qb6aonc42.cloudfront.net/web/assets/logo.svg') no-repeat center / 36px;
  transform: rotate(-6deg);
}
.login-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.login-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px;
  background: #fff; box-shadow: 0 0 0 2px var(--line); font-weight: 800; font-size: 0.95rem;
  transition: transform 0.2s;
}
.login-btn:hover { transform: translateY(-1px); }
.login-btn svg { width: 20px; height: 20px; }
.login-btn-kakao { background: #fee500; box-shadow: none; color: #191600; }
.login-btn-apple { background: #000; box-shadow: none; color: #fff; }
.google-slot { display: flex; justify-content: center; min-height: 44px; }
.login-terms { margin: 20px 0 0; color: var(--ink-3); font-size: 0.8rem; text-align: center; line-height: 1.6; }
.login-terms a { color: var(--ink-2); text-decoration: underline; }

/* ---------- 커뮤니티 ---------- */
.comm-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 48px 0 32px; }
.comm-hero-img { flex: none; width: 112px; height: 112px; border-radius: 32px; object-fit: cover; background: var(--svc-soft); transform: rotate(-4deg); box-shadow: var(--shadow); }
.comm-hero-text { flex: 1; min-width: 260px; }
.comm-hero h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 900; letter-spacing: -0.045em; }
.comm-hero p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.comm-hero .breadcrumb { margin-bottom: 10px; }

.board-tabs { display: flex; gap: 8px; margin: 0 0 20px; padding: 2px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.board-tabs::-webkit-scrollbar { display: none; }
.board-tabs a {
  display: block; padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  background: #fff; box-shadow: var(--ring); color: var(--ink-2); font-weight: 800; font-size: 0.95rem;
  transition: color 0.2s, background-color 0.2s;
}
.board-tabs a:hover { color: var(--svc); }
.board-tabs a[aria-current='page'] { background: var(--svc); color: #fff; box-shadow: none; }

.board-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.board-total { color: var(--ink-3); font-size: 0.9rem; font-weight: 600; }
.board-total a { color: var(--svc); font-weight: 800; }
.board-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search-form { display: flex; gap: 8px; width: 100%; margin-top: 24px; }
.search-form .select { width: 116px; flex: none; }
.search-form .input { flex: 1; min-width: 0; }
.search-form .btn { min-height: 48px; }
@media (min-width: 640px) { .search-form { max-width: 560px; margin-left: auto; margin-right: auto; } }

.post-list { margin: 0; padding: 6px; list-style: none; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); }
.post-item + .post-item { border-top: 1px solid var(--line); }
.post-item a { display: block; padding: 16px 18px; border-radius: 18px; transition: background-color 0.15s; }
.post-item a:hover { background: var(--bg); }
.post-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.02rem; }
.post-title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; color: var(--ink-3); font-size: 0.85rem; font-weight: 500; }
.post-meta .author { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 700; }
.comment-count { flex: none; color: var(--svc); font-size: 0.9rem; font-weight: 800; }
.lock { flex: none; width: 15px; height: 15px; color: var(--ink-3); }
.badge-new { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-size: 0.68rem; font-weight: 900; }
.post-item.is-secret .post-title-text { color: var(--ink-2); }

.board-card { display: flex; flex-direction: column; }
.board-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.board-card h3 > a:first-child { font-size: 1.2rem; font-weight: 900; }
.board-card h3 > a:first-child:hover { color: var(--svc); }
.board-card .more { padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 0.8rem; font-weight: 800; }
.board-card .more:hover { background: var(--svc-soft); color: var(--svc); }
.recent-list { margin: 10px 0 0; padding: 0; list-style: none; }
.recent-list li { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.recent-list a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.recent-list a:hover { color: var(--svc); }
.recent-list time { flex: none; color: var(--ink-3); font-size: 0.8rem; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; padding: 0; list-style: none; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 14px; color: var(--ink-2); font-weight: 800;
}
.pagination a:hover { background: #fff; box-shadow: var(--ring); }
.pagination [aria-current='page'] { background: var(--ink); color: #fff; }

.empty { padding: 56px 16px; text-align: center; color: var(--ink-2); }
.empty-icon { display: block; margin-bottom: 10px; font-size: 2.2rem; }
.card.empty .btn { margin-top: 8px; }
.loading { padding: 40px 0; text-align: center; color: var(--ink-3); font-weight: 600; }
.loading::before {
  content: ''; display: inline-block; width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px;
  border: 3px solid var(--line); border-top-color: var(--svc); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 글 보기: 흰 종이 한 장 */
[data-post] > article, [data-post] > .comments { margin-top: 24px; padding: 8px 28px 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); }
[data-post] > .comments { margin-top: 16px; padding-top: 26px; }
.post-view-head { padding: 28px 0 20px; border-bottom: 1px solid var(--line); }
.post-view-head .breadcrumb { margin-bottom: 12px; }
.post-view-head h1 { display: flex; align-items: center; gap: 8px; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; }
.post-view-head .lock { width: 22px; height: 22px; }
.post-view-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-3); font-size: 0.9rem; }
.post-view-meta .author { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; }
.post-view-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.post-view-actions > div { display: flex; flex-wrap: wrap; gap: 8px; }

/* 서버가 정화한 본문 HTML 표시 */
.prose { padding: 28px 0; font-size: 1.04rem; line-height: 1.85; letter-spacing: -0.01em; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose p:empty { min-height: 1em; }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 0.6em; font-weight: 900; }
.prose h3 { font-size: 1.28rem; margin: 1.4em 0 0.5em; font-weight: 800; }
.prose h4 { font-size: 1.1rem; margin: 1.2em 0 0.5em; font-weight: 800; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.5em; }
.prose li > p { margin: 0.2em 0; }
.prose blockquote { margin: 0 0 1em; padding: 12px 18px; border-radius: 0 16px 16px 0; border-left: 4px solid var(--svc); background: var(--bg); color: var(--ink-2); }
.prose pre { margin: 0 0 1em; padding: 16px 18px; border-radius: 16px; background: #2a2118; color: #f7eadb; overflow-x: auto; font-size: 0.9rem; line-height: 1.6; }
.prose code { padding: 2px 7px; border-radius: 7px; background: var(--bg-2); font-family: var(--font-mono); font-size: 0.88em; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose img { display: block; max-width: 100%; height: auto; margin: 1em 0; border-radius: 16px; }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.prose a { color: var(--svc); text-decoration: underline; text-underline-offset: 3px; }

/* 댓글 */
.comments { margin-top: 4px; }
.comments-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.comments-head h2 { margin: 0; font-size: 1.2rem; font-weight: 900; }
.comments-head .count { color: var(--svc); font-weight: 900; }
.comment-form { margin-bottom: 20px; padding: 16px; border-radius: var(--radius); background: var(--bg); }
.comment-form .textarea { min-height: 84px; }
.comment-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.comment-form-foot > div { display: flex; align-items: center; gap: 12px; }
.comment-login { padding: 18px; border-radius: var(--radius); background: var(--bg); color: var(--ink-2); text-align: center; }
.comment-login .link-button { color: var(--svc); font-size: inherit; font-weight: 800; text-decoration: underline; }
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment { padding: 18px 0; }
.comment + .comment { border-top: 1px solid var(--line); }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 0.9rem; }
.comment-author { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.comment-time { color: var(--ink-3); font-size: 0.8rem; }
.comment-tools { display: flex; gap: 12px; margin-left: auto; }
.comment-body { margin: 8px 0 0 32px; white-space: pre-wrap; line-height: 1.7; }
.comment-body.secret { color: var(--ink-3); font-style: italic; }
.comment-edit { margin: 10px 0 0 32px; }
.comment-edit .textarea { min-height: 76px; }
.comment-edit-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; }
.comment-edit-actions .check { margin-right: auto; }
.more-wrap { margin-top: 16px; text-align: center; }

/* 글쓰기 에디터 */
.editor { border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
.editor:focus-within { border-color: var(--svc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--svc) 18%, transparent); }
.editor-toolbar {
  position: sticky; top: calc(var(--header-h) + var(--header-top) + 8px); z-index: 5;
  display: flex; flex-wrap: wrap; gap: 2px; padding: 6px;
  border-bottom: 1px solid var(--line); border-radius: 18px 18px 0 0; background: #fffaf3;
}
.editor-toolbar button {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 0.9rem; font-weight: 800;
}
.editor-toolbar button:hover { background: var(--bg-2); color: var(--ink); }
.editor-toolbar button.is-active { background: var(--svc-soft); color: var(--svc); }
.editor-toolbar button:disabled { opacity: 0.4; cursor: not-allowed; }
.editor-toolbar svg { width: 18px; height: 18px; }
.toolbar-sep { width: 1px; margin: 6px 4px; background: var(--line-strong); }
.editor-content .ProseMirror { min-height: 340px; padding: 22px; outline: none; }
.editor-content .ProseMirror p.is-editor-empty:first-child::before {
  content: attr(data-placeholder); float: left; height: 0; color: var(--ink-3); pointer-events: none;
}
.editor-content .ProseMirror img.ProseMirror-selectednode { outline: 3px solid var(--svc); }
.editor-foot { display: flex; justify-content: space-between; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.8rem; }
.editor-uploading { color: var(--svc); font-weight: 700; }
[data-write-form] { padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); }

/* 내 정보 */
.profile-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: linear-gradient(180deg, var(--green-soft) 0 96px, #fff 96px); }
.profile-photo { position: relative; margin-top: 20px; }
.profile-photo .avatar-lg { border: 5px solid #fff; box-shadow: var(--shadow); }
.profile-meta { display: grid; margin: 0; }
.profile-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; }
.profile-meta div + div { border-top: 1px solid var(--line); }
.profile-meta dt { color: var(--ink-2); }
.profile-meta dd { margin: 0; font-weight: 800; text-align: right; }
.danger-zone { box-shadow: 0 0 0 1px #f5cdc8; }
.danger-zone h2 { color: var(--danger); }
.danger-zone ul { padding-left: 1.2em; line-height: 1.7; }
.stack { display: grid; gap: 20px; }
.stack > .card > h2 { margin-bottom: 16px; font-size: 1.2rem; font-weight: 900; }
.is-busy { opacity: 0.6; pointer-events: none; }

/* 약관·정책 문서 */
.doc { padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring); line-height: 1.8; }
.doc h2 { margin-top: 2em; font-size: 1.3rem; font-weight: 900; }
.doc h3 { margin-top: 1.5em; font-size: 1.08rem; font-weight: 800; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin-bottom: 0.35em; }
.doc a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.doc table { width: 100%; margin: 0 0 1em; border-collapse: collapse; font-size: 0.95rem; }
.doc th, .doc td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: var(--bg); font-weight: 800; }
.doc-info { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 0.9rem; }
.doc-info span { margin-right: 12px; }
.doc-toc {
  display: grid; gap: 4px 24px; margin: 0 0 32px; padding: 20px 24px !important;
  border-radius: var(--radius); background: var(--bg); list-style: none; font-size: 0.95rem;
}
@media (min-width: 640px) { .doc-toc { grid-template-columns: repeat(2, 1fr); } }
.doc-toc li { margin: 0; }
.doc-toc a { color: var(--ink-2); text-decoration: none; }
.doc-toc a:hover { color: var(--ink); text-decoration: underline; }
.doc section { scroll-margin-top: calc(var(--header-h) + var(--header-top) + 20px); }
.doc strong.danger { color: var(--danger); }
@media (min-width: 760px) { .doc { padding: 44px 48px; } }

/* 404 */
.not-found { padding: 80px 0 40px; text-align: center; }
.not-found .code {
  display: inline-block; margin: 0 0 12px; padding: 8px 28px; border-radius: 32px;
  background: var(--yellow); font-size: clamp(3.5rem, 14vw, 6rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.05em;
  transform: rotate(-4deg); box-shadow: 0 6px 0 rgba(107, 82, 35, 0.3);
}
.not-found h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900; }
.not-found .form-actions { justify-content: center; }

/* 좁은 화면 */
@media (max-width: 639px) {
  .section { padding: 72px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .card, .doc, [data-write-form] { padding: 22px 20px; }
  [data-post] > article, [data-post] > .comments { padding: 4px 20px 20px; }
  [data-post] > .comments { padding-top: 22px; }
  .comment-body, .comment-edit { margin-left: 0; }
  .site-footer { margin-top: 80px; }
}

/* ---------- 앱 화면 목업 (deco.js 가 채움). 크기는 --phone-size 로 조절 ---------- */
.phone {
  --frame: #111317;
  --frame-edge: #2a2d33;
  position: relative; display: block; flex: none;
  width: 19em; height: 40em; padding: 0.55em; border-radius: 3em;
  font-size: var(--phone-size, 15px); letter-spacing: -0.01em;
  background: var(--frame);
  box-shadow: inset 0 0 0 0.12em var(--frame-edge), 0 2.5em 5em -1.5em rgba(15, 23, 42, 0.35), 0 1em 2em -1em rgba(15, 23, 42, 0.25);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 2.5em;
  background: #f6f7f9; color: #14171c; line-height: 1.35;
}
.phone-island { position: absolute; top: 1.15em; left: 50%; width: 5.6em; height: 1.6em; border-radius: 1em; background: #000; transform: translateX(-50%); }
.phone svg { width: 1em; height: 1em; display: block; }
.phone i { font-style: normal; }
.scr { height: 100%; padding: 0 1.1em; position: relative; }
.ph-status { display: flex; justify-content: space-between; align-items: center; height: 3em; padding: 0.4em 0.9em 0; font-size: 0.78em; font-weight: 700; }
.ph-status-icons { display: flex; align-items: center; gap: 0.3em; }
.ph-status-icons i { width: 0.9em; height: 0.6em; border-radius: 0.15em; background: currentColor; opacity: 0.9; }
.ph-status-icons b { width: 1.6em; height: 0.75em; border-radius: 0.25em; border: 0.12em solid currentColor; }

.scr-tb { --tb: #2f6bff; background: #f4f7ff; }
.tb-top { display: flex; justify-content: space-between; align-items: flex-end; margin: 0.6em 0 0.9em; }
.tb-top small { display: block; font-size: 0.72em; color: #6b7280; font-weight: 600; }
.tb-top b { font-size: 1.2em; font-weight: 800; }
.tb-avatars { display: flex; }
.tb-avatars i { display: grid; place-items: center; width: 1.9em; height: 1.9em; margin-left: -0.45em; border: 0.15em solid #f4f7ff; border-radius: 50%; background: var(--c, #cbd5e1); color: #fff; font-size: 0.72em; font-weight: 800; }
.tb-avatars i.more { background: #e2e8f0; color: #475569; }
.tb-card { padding: 1em 1.1em 1.1em; border-radius: 1.3em; color: #fff; background: linear-gradient(135deg, #2f6bff 0%, #4f8bff 55%, #6aa3ff 100%); box-shadow: 0 0.8em 1.6em -0.6em rgba(47, 107, 255, 0.55); }
.tb-card small { font-size: 0.72em; opacity: 0.85; font-weight: 600; }
.tb-card strong { display: block; margin: 0.1em 0 0.5em; font-size: 1.75em; font-weight: 800; letter-spacing: -0.03em; }
.tb-card-row { display: flex; justify-content: space-between; font-size: 0.7em; opacity: 0.92; }
.tb-bars { display: flex; gap: 0.2em; margin-top: 0.8em; height: 0.45em; }
.tb-bars i { width: var(--w); border-radius: 1em; background: var(--c); }
.tb-chips { display: flex; gap: 0.35em; margin: 1em 0 0.6em; overflow: hidden; }
.tb-chips span { flex: none; padding: 0.35em 0.8em; border-radius: 1em; background: #fff; color: #64748b; font-size: 0.7em; font-weight: 700; box-shadow: 0 0 0 0.08em #e5eaf3; }
.tb-chips span.on { background: #14171c; color: #fff; box-shadow: none; }
.tb-list { list-style: none; margin: 0; padding: 0.3em 0.9em; border-radius: 1.2em; background: #fff; }
.tb-list li { display: flex; align-items: center; gap: 0.7em; padding: 0.65em 0; }
.tb-list li + li { border-top: 0.06em solid #eef1f6; }
.tb-list .ic { display: grid; place-items: center; flex: none; width: 2.1em; height: 2.1em; border-radius: 0.7em; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-size: 0.95em; }
.tb-list div { flex: 1; min-width: 0; }
.tb-list b { display: block; font-size: 0.8em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-list small { display: block; font-size: 0.66em; color: #94a3b8; margin-top: 0.1em; }
.tb-list p { margin: 0; text-align: right; }
.tb-fab { position: absolute; right: 1.1em; bottom: 1.4em; display: flex; align-items: center; gap: 0.3em; padding: 0.75em 1.1em; border-radius: 2em; background: var(--tb); color: #fff; font-size: 0.78em; font-weight: 800; box-shadow: 0 0.6em 1.4em -0.4em rgba(47, 107, 255, 0.7); }

.scr-tm { background: #fff8f2; }
.tm-top { display: flex; justify-content: space-between; align-items: center; margin: 0.6em 0 0.9em; }
.tm-top b { font-size: 1.25em; font-weight: 800; }
.tm-top i { color: #94a3b8; font-size: 1.15em; }
.tm-weather { display: flex; justify-content: space-between; align-items: center; padding: 1em 1.1em; border-radius: 1.3em; color: #fff; background: linear-gradient(135deg, #ff7a1a 0%, #ff9c45 60%, #ffbd6e 100%); box-shadow: 0 0.8em 1.6em -0.6em rgba(255, 122, 26, 0.55); }
.tm-weather small { display: block; font-size: 0.7em; opacity: 0.9; font-weight: 600; }
.tm-weather strong { display: block; font-size: 2.2em; font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; }
.tm-weather span { font-size: 0.68em; opacity: 0.92; }
.tm-weather > i { font-size: 3.2em; color: #fff3c4; filter: drop-shadow(0 0.1em 0.2em rgba(0, 0, 0, 0.1)); }
.tm-label { display: flex; justify-content: space-between; margin: 1.1em 0.2em 0.6em; font-size: 0.82em; font-weight: 800; }
.tm-label span { color: #ff7a1a; font-size: 0.85em; }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55em; }
.tm-tool { display: flex; flex-direction: column; align-items: center; gap: 0.4em; padding: 0.8em 0.2em 0.7em; border-radius: 1em; background: #fff; box-shadow: 0 0.1em 0.3em rgba(120, 70, 20, 0.06); }
.tm-tool i { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 0.75em; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); font-size: 0.95em; }
.tm-tool span { font-size: 0.64em; font-weight: 700; color: #3f3f46; white-space: nowrap; }

.scr-ad { background: #f7f5ff; }
.ad-top { display: flex; justify-content: space-between; align-items: center; margin: 0.6em 0 0.9em; }
.ad-top b { font-size: 1.25em; font-weight: 800; }
.ad-live { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.3em 0.7em; border-radius: 1em; background: #ede7ff; color: #6d4aff; font-size: 0.68em; font-weight: 800; }
.ad-live i { width: 0.5em; height: 0.5em; border-radius: 50%; background: #6d4aff; animation: ad-pulse 1.4s infinite; }
@keyframes ad-pulse { 50% { opacity: 0.3; } }
.ad-run { display: flex; align-items: center; gap: 1em; padding: 1em; border-radius: 1.3em; color: #fff; background: linear-gradient(135deg, #6d4aff 0%, #8b6dff 60%, #a78bff 100%); box-shadow: 0 0.8em 1.6em -0.6em rgba(109, 74, 255, 0.6); }
.ad-ring { display: grid; place-items: center; flex: none; width: 5.2em; height: 5.2em; border-radius: 50%; background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, 0.25) 0); }
.ad-ring > div { display: grid; place-items: center; align-content: center; width: 4.3em; height: 4.3em; border-radius: 50%; background: #7656ff; }
.ad-ring strong { font-size: 1.05em; font-weight: 800; letter-spacing: -0.02em; }
.ad-ring small { font-size: 0.55em; opacity: 0.85; }
.ad-run-info small { font-size: 0.68em; opacity: 0.85; font-weight: 600; }
.ad-run-info b { display: block; font-size: 1.3em; font-weight: 800; margin: 0.05em 0 0.45em; }
.ad-run-btns { display: flex; gap: 0.45em; }
.ad-run-btns i { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.ad-label { display: flex; justify-content: space-between; margin: 1.1em 0.2em 0.55em; font-size: 0.82em; font-weight: 800; }
.ad-label span { color: #8b8aa0; font-size: 0.85em; font-weight: 600; }
.ad-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45em; }
.ad-list li { display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.8em 0.6em 0.5em; border-radius: 1em; background: #fff; box-shadow: 0 0.1em 0.3em rgba(60, 40, 140, 0.05); }
.ad-list li.run { box-shadow: 0 0 0 0.14em #8b6dff, 0 0.4em 1em -0.4em rgba(109, 74, 255, 0.5); }
.ad-list li.done { opacity: 0.55; }
.ad-drag { color: #c4c2d4; font-size: 0.95em; }
.ad-app { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 0.65em; background: var(--c); color: #fff; font-size: 0.75em; font-weight: 800; }
.ad-list b { flex: 1; font-size: 0.8em; font-weight: 700; }
.ad-done { color: #22c55e; font-size: 1em; }
.ad-now { padding: 0.15em 0.5em; border-radius: 1em; background: #ede7ff; color: #6d4aff; font-size: 0.6em; font-weight: 800; }
.ad-time { padding: 0.25em 0.6em; border-radius: 0.6em; background: #f3f2f8; color: #52525b; font-size: 0.66em; font-weight: 700; }
.ad-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 0.7em 0.6em 1.3em; background: #fff; border-top: 0.06em solid #eceaf5; }
.ad-tabs span { display: flex; flex-direction: column; align-items: center; gap: 0.25em; color: #a1a1b5; font-size: 0.6em; font-weight: 700; }
.ad-tabs span svg { width: 1.9em; height: 1.9em; }
.ad-tabs span.on { color: #6d4aff; }

/* ---------- 스크롤 등장 효과: JS 가 켜졌을 때만 숨김 ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
