/* ============================================================
   ArICO.Web — Site-wide component styles
   Extracted from docs/02_homepage-mockup.html.
   Design tokens live in /css/arico.css (loaded first).
   ============================================================ */

/* ============================================================
   ARICO Design System — inline tokens (from colors_and_type.css)
   ============================================================ */
:root {
  /* 섹션 상하 리듬 — 페이지 간 통일 (U2 가독성 토큰) */
  --section-y: clamp(64px, 8vw, 112px);
  --paper: #fafaf9;
  --shadow-lg: 0 12px 40px rgba(20, 30, 25, 0.12);
  --prose-width: 720px;
}
/* ============================================================
   Base
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: var(--font-sans); color: var(--fg); background: var(--bg); }
body {
  font-size: var(--text-base); line-height: var(--lh-base);
  letter-spacing: var(--tracking-snug);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Typography helpers */
.eyebrow {
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  letter-spacing: var(--tracking-arrow); text-transform: uppercase;
  color: var(--brand);
}
.eyebrow.on-dark { color: var(--green-300); }
.h1 { font-weight: var(--w-bold); font-size: var(--text-4xl); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); }
.h2 { font-weight: var(--w-bold); font-size: var(--text-3xl); line-height: var(--lh-snug); letter-spacing: var(--tracking-tight); }
.h3 { font-weight: var(--w-semibold); font-size: var(--text-2xl); line-height: var(--lh-snug); letter-spacing: var(--tracking-snug); }
.h4 { font-weight: var(--w-semibold); font-size: var(--text-xl); line-height: var(--lh-snug); }
.lead { font-size: var(--text-xl); line-height: var(--lh-snug); color: var(--fg); font-weight: var(--w-regular); }
.muted { color: var(--fg-secondary); }

/* 검색 페이지 (U5) */
.search-form { position: relative; display: flex; gap: var(--s-3); align-items: center; margin-top: var(--s-6); max-width: 680px; }
.search-form .lead-icon { position: absolute; left: 16px; color: var(--fg-tertiary); pointer-events: none; display: inline-flex; }
.search-form .lead-icon .lucide { width: 18px; height: 18px; }
.search-form .form-control { flex: 1; padding-left: 44px; height: 48px; }
.search-results { display: flex; flex-direction: column; gap: 2px; }
.search-row { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--r-lg); text-decoration: none; transition: border-color var(--t-fast) var(--ease-standard), background var(--t-fast) var(--ease-standard); }
.search-row:hover { border-color: var(--brand); background: var(--surface-hover); }
.search-row > .lucide { width: 20px; height: 20px; color: var(--brand); flex: none; }
.search-row > div { display: flex; flex-direction: column; min-width: 0; }
.search-row strong { font-size: var(--text-base); color: var(--fg); font-weight: var(--w-semibold); }
.search-row .muted { font-size: var(--text-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 지점 안내 (/locations) */
.location-list { display: grid; gap: var(--s-7); }
.location-card { display: grid; grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
@media (min-width: 768px) { .location-card { grid-template-columns: 300px 1fr; } }
.loc-cover { min-height: 200px; position: relative; display: flex; align-items: flex-start; padding: var(--s-4); }
.loc-body { padding: var(--s-7); }
.loc-sub { font-size: var(--text-xs); color: var(--fg-tertiary); margin-top: 2px; }
.loc-meta { display: flex; align-items: flex-start; gap: 6px; margin-top: var(--s-4); color: var(--fg-secondary); font-size: var(--text-sm); }
.loc-meta .lucide { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 2px; }
.loc-desc { margin-top: var(--s-4); color: var(--fg-secondary); line-height: var(--lh-base); white-space: pre-line; font-size: var(--text-sm); }
.loc-links { display: flex; gap: var(--s-3); margin-top: var(--s-6); flex-wrap: wrap; }
.btn--sm { padding: 6px 12px; font-size: var(--text-xs); }

/* 커뮤니티 CTA 밴드 (U3) */
.community-band { padding-block: var(--section-y); background: linear-gradient(160deg, var(--green-700), var(--green-500)); color: var(--neutral-0); position: relative; overflow: hidden; }
.community-band .ring-deco { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.10); pointer-events: none; }
.community-content { position: relative; z-index: 1; max-width: 640px; }
.community-content h2 { font-size: clamp(28px, 4vw, var(--text-4xl)); font-weight: var(--w-bold); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); margin: var(--s-3) 0 var(--s-4); }
.community-content p { color: rgba(255,255,255,0.82); font-size: var(--text-lg); line-height: var(--lh-base); }
.community-cta { display: flex; gap: var(--s-3); margin-top: var(--s-7); flex-wrap: wrap; }

/* 가독성 유틸 (U2) */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.5); }
/* 읽기 콘텐츠 — 블로그 본문·약관 등 긴 글 */
.prose { max-width: var(--prose-width); margin-inline: auto; font-size: 16px; line-height: 1.8; color: var(--fg-secondary); }
.prose > p { margin-bottom: 1.1em; }
.prose h2, .prose h3 { color: var(--fg); margin: 1.7em 0 0.6em; line-height: var(--lh-snug); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-lg); margin: 1.4em 0; }
.meta { font-size: var(--text-xs); color: var(--fg-tertiary); letter-spacing: var(--tracking-arrow); text-transform: uppercase; font-weight: var(--w-semibold); }
.mono { font-family: var(--font-mono); }

/* Section container */
.container { max-width: var(--maxw-content); margin: 0 auto; padding: 0 var(--s-7); }
@media (max-width: 480px) { .container { padding: 0 var(--s-5); } }   /* 작은 폰: 좌우 16px로 콘텐츠 공간 확보 */
@media (min-width: 1024px) { .container { padding: 0 var(--s-9); } }
section { padding: var(--s-13) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-7); margin-bottom: var(--s-10); flex-wrap: wrap; }
.section-head .left > .eyebrow { display: block; margin-bottom: var(--s-3); }
.section-head .left > h2 { margin-bottom: var(--s-3); }
/* SSOT 시그니처 — 섹션 헤딩 블록 밑 green→blue 브랜드 룰 (eyebrow=그린 → 룰=green→blue) */
.section-head .left::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: var(--s-3);
  border-radius: var(--tds-radius-pill, 999px);
  background: var(--tds-gradient, linear-gradient(90deg, var(--green-500), var(--tds-primary, #8FB6F5)));
}
.section-head .left.no-rule::after { display: none; }

/* ── ServiceLanding — 신규 메뉴 그룹/항목 랜딩 (장비·대회·이벤트·APP) ── */
.svc-hero {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(143,182,245,0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 55%, var(--tds-blue-900, #1B3A6B) 100%);
  color: var(--neutral-0);
}
.svc-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--tds-radius-lg, 12px); padding: var(--s-8);
  display: flex; flex-direction: column;
  transition: box-shadow .2s cubic-bezier(.4,0,.2,1), border-color .2s cubic-bezier(.4,0,.2,1), transform .2s cubic-bezier(.4,0,.2,1);
}
.svc-card:hover { box-shadow: 0 8px 28px rgba(20,30,40,.08); transform: translateY(-2px); }
.svc-card.is-active { border-color: var(--tds-primary, #8FB6F5); box-shadow: 0 0 0 3px rgba(143,182,245,.28); }
.svc-card-ico {
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: var(--s-5);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-50, #EAF6EE); color: var(--green-600, #128A46);
}
.svc-card-ico i { width: 22px; height: 22px; }
.svc-card-title { font-size: var(--text-xl); font-weight: var(--w-bold); letter-spacing: var(--tracking-tight); margin-bottom: var(--s-3); }
.svc-card-lead { color: var(--fg-secondary); line-height: var(--lh-loose); margin-bottom: var(--s-5); }
.svc-card-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-5); }
.svc-card-list li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--text-sm); color: var(--fg-secondary); }
.svc-card-list li i { width: 16px; height: 16px; color: var(--green-500, #1B9E54); flex: 0 0 auto; margin-top: 3px; }
.svc-card-note { font-size: var(--text-xs); color: var(--fg-tertiary); margin-bottom: var(--s-5); }
.svc-card-cta { margin-top: auto; align-self: flex-start; }
.svc-footnote { margin-top: var(--s-8); font-size: var(--text-xs); color: var(--fg-tertiary); }

/* 공통 예약/신청/참가 폼 (ServiceBooking) */
.svc-booking { max-width: 640px; }
.svc-booking-form { display: flex; flex-direction: column; gap: 6px; }
.svc-booking-submit { margin-top: 8px; align-self: flex-start; }
.svc-booking-note { display: flex; gap: 7px; align-items: center; font-size: var(--text-sm); color: var(--fg-secondary); background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; margin: 6px 0; }
.svc-booking-note .lucide { width: 16px; height: 16px; flex: none; color: var(--brand-fg); }
.svc-booking-err { color: #c0392b; font-size: var(--text-sm); margin: 4px 0; }
.svc-booking-done { text-align: center; border: 1px solid var(--border); border-radius: 14px; padding: 28px 24px; background: var(--surface); }
.svc-booking-done .svc-booking-ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-fg); margin-bottom: 12px; }
.svc-booking-done .svc-booking-ico .lucide { width: 26px; height: 26px; }
.svc-booking-done p { color: var(--fg-secondary); margin: 6px 0 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: var(--s-3); border: 1px solid transparent; border-radius: var(--tds-radius-pill); padding: 11px 22px; font-weight: var(--w-semibold); font-size: var(--text-sm); letter-spacing: var(--tracking-snug); transition: background var(--t-fast) var(--ease-standard), color var(--t-fast) var(--ease-standard), border-color var(--t-fast) var(--ease-standard), transform 80ms var(--ease-standard); white-space: nowrap; }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
/* 리뉴얼(2026-11, docs/42): 기본 액션 버튼 = 그린(사이트 전역). 블루는 워시·보조 틴트에만. */
.btn--primary { background: var(--tds-green-600); color: var(--tds-white); border-color: var(--tds-green-600); }
.btn--primary:hover { background: var(--tds-green-700); border-color: var(--tds-green-700); }
.btn--primary:active { background: var(--tds-green-800); border-color: var(--tds-green-800); transform: scale(0.985); }
.btn--gradient { background: var(--tds-gradient); background-size: 160% 100%; background-position: 0 0; color: var(--tds-white); border-color: transparent; transition: background-position var(--tds-duration) var(--tds-ease), transform 80ms var(--ease-standard); }
.btn--gradient:hover { background-position: 100% 0; }
.btn--gradient:active { transform: scale(0.985); }
.btn--secondary { background: var(--surface); color: var(--fg); border-color: var(--border); box-shadow: var(--shadow-1); }
.btn--secondary:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.btn--ghost { background: transparent; color: var(--brand); padding-left: 4px; padding-right: 4px; }
.btn--ghost:hover { color: var(--brand-hover); }
.btn--on-dark { background: var(--neutral-0); color: var(--fg); }
.btn--on-dark:hover { background: var(--neutral-100); }
.btn--ghost-on-dark { background: transparent; color: var(--neutral-0); border-color: rgba(255,255,255,0.24); }
.btn--ghost-on-dark:hover { background: rgba(255,255,255,0.08); }
.btn--lg { padding: 14px 24px; font-size: var(--text-md); border-radius: 10px; }
.btn .lucide { width: 16px; height: 16px; stroke-width: 1.75; }

/* Link arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: var(--w-semibold); font-size: var(--text-sm); }
.link-arrow:hover { color: var(--brand-hover); }
.link-arrow::after { content: "→"; transition: transform var(--t-fast) var(--ease-standard); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Badge / pill */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--r-full); font-size: var(--text-xs); font-weight: var(--w-semibold); letter-spacing: 0; }
.pill--brand { background: var(--brand-soft); color: var(--brand-fg); }
.pill--gold  { background: var(--gold-100); color: var(--gold-700); }
.pill--red   { background: var(--target-50); color: var(--target-700); }
.pill--dark  { background: var(--neutral-900); color: var(--neutral-0); }
.pill--outline { background: var(--surface); color: var(--fg-secondary); border: 1px solid var(--border); }
.pill .lucide { width: 12px; height: 12px; stroke-width: 2; }

/* External-link marker */
.ext::after { content: "↗"; margin-left: 4px; font-weight: var(--w-medium); color: var(--fg-tertiary); }

/* ============================================================
   Header (sticky)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: var(--maxw-content); margin: 0 auto;
  padding: 14px var(--s-7); display: flex; align-items: center; gap: var(--s-8);
}
@media (min-width: 1024px) { .site-header .inner { padding: 14px var(--s-9); } }
.brand-wordmark { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--text-xl); letter-spacing: -0.02em; color: var(--brand); }
/* 브랜드 락업 — 심볼 + 워드마크 가로 결합 (모바일 헤더 등 span 컨테이너용) */
.brand-lockup { display: inline-flex; align-items: center; gap: 7px; }
/* 로고 이미지 — 심볼(정사각)·워드마크(가로형) 모두 높이 기준. 인라인 height 로 위치별 크기 조정. */
.brand-symbol, .brand-logo { width: auto; height: 30px; display: block; }
/* 테마별 로고 스왑 — 다크 전용 로고가 설정된 경우에만 쌍으로 렌더됨(SiteHeader/SiteFooter).
   !important: .mk-hdr-brand .brand-logo 등 컨텍스트 규칙(display:block)보다 항상 우선해야 하는 스왑 유틸. */
.brand-logo--dark { display: none !important; }
[data-theme="dark"] .brand-logo--light { display: none !important; }
[data-theme="dark"] .brand-logo--dark { display: block !important; }
.brand-wordmark .platform-tag { font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: var(--text-2xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; color: var(--fg-tertiary); padding: 3px 6px; border: 1px solid var(--border); border-radius: var(--r-sm); }

.nav-primary { display: none; align-items: center; gap: var(--s-6); margin-left: var(--s-6); }
@media (min-width: 1024px) { .nav-primary { display: flex; } }
.nav-primary > a,
.nav-trigger {
  font-size: var(--text-sm); font-weight: var(--w-medium); color: var(--fg);
  padding: 6px 0; position: relative; background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; font-family: inherit;
}
.nav-primary > a:hover, .nav-trigger:hover,
.nav-primary > a.active, .nav-trigger.active { color: var(--brand); }
.nav-primary > a.active::after,
.nav-trigger.active::after { content: ""; position: absolute; left: 0; right: 14px; bottom: -2px; height: 2px; background: var(--brand); border-radius: 2px; }
.nav-trigger .caret { width: 14px; height: 14px; stroke-width: 2; transition: transform var(--t-fast) var(--ease-standard); }
.nav-primary > a.ext::after { content: " ↗"; font-size: 0.8em; color: var(--fg-tertiary); }

/* 드롭다운 (데스크톱 hover/focus) */
.nav-group { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 280px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg, 0 12px 40px rgba(0,0,0,0.12));
  padding: var(--s-3); display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-standard), transform var(--t-fast) var(--ease-standard);
  z-index: 60;
}
/* 열림 상태는 JS(.open)가 제어 — hover/클릭으로 열고 바깥클릭·Esc 전까지 고정. focus-within 은 키보드 접근성용. */
.nav-group.open .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(8px);
}
.nav-group.open .nav-trigger .caret,
.nav-group:focus-within .nav-trigger .caret { transform: rotate(180deg); }
.nav-dropdown a {
  display: grid; grid-template-columns: 20px 1fr; column-gap: var(--s-3); row-gap: 1px;
  align-items: center; padding: 10px var(--s-3); border-radius: var(--r-md); text-decoration: none;
}
.nav-dropdown a:hover { background: var(--surface-hover); }
.nav-dropdown a .lucide { grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--brand); align-self: start; margin-top: 2px; }
.nav-dropdown .d-title { font-size: var(--text-sm); font-weight: var(--w-semibold); color: var(--fg); }
.nav-dropdown .d-desc { font-size: var(--text-2xs); color: var(--fg-tertiary); line-height: var(--lh-snug); }
/* 강조(featured) 드롭다운 항목 — Arico.TV 등 */
.nav-dropdown a.featured { background: rgba(27,158,84,0.08); margin-top: 4px; }
.nav-dropdown a.featured:hover { background: rgba(27,158,84,0.14); }
.nav-dropdown a.featured .d-title { color: var(--brand); font-weight: var(--w-bold); }
.nav-dropdown a.featured .lucide { color: var(--brand); }
.mobile-nav .m-child.featured { color: var(--brand); font-weight: var(--w-bold); background: rgba(27,158,84,0.08); border-radius: var(--r-md); padding-inline: 10px; }

/* 검색 버튼 (헤더) */
.search-btn { color: var(--fg-secondary); }
.search-btn:hover { color: var(--brand); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
/* 언어 전환 — 토글 드롭다운 */
.lang-dd { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full);
  padding: 6px 10px; font-size: var(--text-2xs); font-weight: var(--w-semibold);
  letter-spacing: var(--tracking-wide); color: var(--fg); font-family: inherit;
}
.lang-trigger:hover { border-color: var(--brand); color: var(--brand); }
.lang-trigger .lucide { width: 15px; height: 15px; }
.lang-trigger .caret { width: 13px; height: 13px; color: var(--fg-tertiary); transition: transform var(--t-fast) var(--ease-standard); }
.lang-dd:hover .lang-trigger .caret,
.lang-dd:focus-within .lang-trigger .caret { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: 100%; right: 0; transform: translateY(6px);
  min-width: 156px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 6px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-standard), transform var(--t-fast) var(--ease-standard); z-index: 60;
}
.lang-dd:hover .lang-dropdown,
.lang-dd:focus-within .lang-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(8px); }
.lang-dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 9px 12px; border-radius: var(--r-md); text-decoration: none;
  font-size: var(--text-sm); font-weight: var(--w-medium); color: var(--fg);
}
.lang-dropdown a:hover { background: var(--surface-hover); }
.lang-dropdown a .lang-code { font-size: var(--text-2xs); color: var(--fg-tertiary); letter-spacing: var(--tracking-wide); }
.lang-dropdown a.active { color: var(--brand); font-weight: var(--w-bold); }
.lang-dropdown a.active .lang-code { color: var(--brand); }

/* 언어 전환 — 세그먼트(푸터 전용) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--surface); }
.lang-switch a { background: transparent; border: 0; font-size: var(--text-2xs); font-weight: var(--w-semibold); letter-spacing: var(--tracking-wide); color: var(--fg-tertiary); padding: 4px 10px; border-radius: var(--r-full); text-decoration: none; }
.lang-switch a:hover { color: var(--fg); }
.lang-switch a.active { background: var(--neutral-900); color: var(--neutral-0); }

.icon-btn { background: transparent; border: 1px solid transparent; padding: 8px; border-radius: var(--r-md); color: var(--fg); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--surface-hover); }
.icon-btn .lucide { width: 18px; height: 18px; stroke-width: 1.75; }

.menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
/* 데스크톱에서 auth-action 은 보이고, 모바일에선 메뉴 안으로 */
@media (max-width: 1023px) { .header-actions .auth-action { display: none; } }

/* 모바일 풀스크린 메뉴 */
.mobile-nav {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--t-base) var(--ease-standard);
  visibility: hidden;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--s-7); border-bottom: 1px solid var(--border); }
.mobile-nav-body { flex: 1; overflow-y: auto; padding: var(--s-5) var(--s-7); display: flex; flex-direction: column; gap: 2px; }
.mobile-nav .m-link,
.mobile-nav .m-group > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; font-size: var(--text-lg); font-weight: var(--w-semibold); color: var(--fg);
  border-bottom: 1px solid var(--border); cursor: pointer; list-style: none;
}
.mobile-nav .m-group > summary::-webkit-details-marker { display: none; }
.mobile-nav .m-group > summary .lucide { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease-standard); }
.mobile-nav .m-group[open] > summary .lucide { transform: rotate(180deg); }
.mobile-nav .m-children { display: flex; flex-direction: column; padding: 4px 0 10px; }
.mobile-nav .m-child { display: flex; align-items: center; gap: var(--s-3); padding: 11px 8px; font-size: var(--text-base); color: var(--fg-secondary); }
.mobile-nav .m-child .lucide { width: 17px; height: 17px; color: var(--brand); }
.mobile-nav .m-child:hover { color: var(--brand); }
.mobile-nav-foot { padding: var(--s-5) var(--s-7) calc(var(--s-7) + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--s-3); }
body.mobile-nav-open { overflow: hidden; }

/* ============================================================
   Hero
   ============================================================ */
/* ── 플랫폼 히어로(hero2) — 간결 + green→blue 포인트, 우측 이벤트 미리보기 카드 ── */
.hero2 { padding: var(--s-12) 0; background: radial-gradient(ellipse at 92% 4%, rgba(46,116,196,0.06) 0%, transparent 52%); }
.hero2-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-9); align-items: center; }
@media (min-width: 900px) { .hero2-grid { grid-template-columns: 1.05fr 0.8fr; gap: var(--s-11); } }
.hero2-copy { min-width: 0; }
.hero2-title { font-size: clamp(30px, 5vw, 46px); font-weight: var(--w-bold); line-height: 1.18; letter-spacing: var(--tracking-tight); color: var(--fg); margin: var(--s-3) 0 0; }
.grad-text { background: linear-gradient(120deg, #1B9E54, #2E74C4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero2-sub { font-size: var(--text-lg); color: var(--fg-secondary); line-height: var(--lh-loose); margin: var(--s-5) 0 var(--s-7); max-width: 460px; }
.hero2-cta { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.hero2 .btn--gradient { background: linear-gradient(120deg, #1B9E54, #2E74C4); }
.hero2 .btn--ghost { border: 1px solid var(--border); color: var(--fg-secondary); padding-left: 18px; padding-right: 18px; }
.hero2 .btn--ghost:hover { background: var(--surface-hover); }
.hero2-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 12px 40px rgba(20,30,40,0.06); align-self: start; }
.hero2-card-bar { height: 4px; background: linear-gradient(90deg, #1B9E54, #2E74C4); }
.hero2-card-in { padding: var(--s-6); }
.hero2-card-head { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-sm); font-weight: var(--w-semibold); color: var(--fg); margin-bottom: var(--s-3); }
.hero2-ev { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-3); border-radius: var(--r-lg); text-decoration: none; }
.hero2-ev:hover { background: var(--surface-hover); }
.hero2-ev-ic { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.hero2-ev-ic.tg { background: var(--green-50); color: var(--green-600); }
.hero2-ev-ic.tb { background: #EAF1F7; color: #2E74C4; }
.hero2-ev-ic .lucide { width: 19px; height: 19px; }
.hero2-ev-tx { display: flex; flex-direction: column; min-width: 0; }
.hero2-ev-tx .t { font-size: var(--text-sm); font-weight: var(--w-medium); color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero2-ev-tx .d { font-size: var(--text-xs); color: var(--fg-tertiary); }
.hero2 .link-arrow { font-size: var(--text-xs); color: var(--fg-tertiary); font-weight: 400; text-decoration: none; }
.hero2 .link-arrow:hover { color: var(--fg-secondary); }

.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(143,182,245,0.20) 0%, transparent 55%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 52%, var(--tds-blue-900) 100%);
  color: var(--neutral-0);
  overflow: hidden;
  padding: var(--s-13) 0 var(--s-14);
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: 40px;
  width: 520px; height: 520px; pointer-events: none;
  background-image: radial-gradient(circle, transparent 38%, rgba(255,255,255,0.06) 39%, rgba(255,255,255,0.06) 41%, transparent 42%, transparent 50%, rgba(255,255,255,0.05) 51%, rgba(255,255,255,0.05) 53%, transparent 54%, transparent 64%, rgba(255,255,255,0.04) 65%, rgba(255,255,255,0.04) 67%, transparent 68%);
  border-radius: 50%;
  opacity: 0.7;
}
.hero::after {
  content: ""; position: absolute; right: 110px; top: 260px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--target-500); box-shadow: 0 0 24px rgba(216,54,42,0.4);
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--green-300); display: inline-block; margin-bottom: var(--s-7); }
.hero-title {
  font-family: var(--font-sans);
  font-weight: var(--w-bold);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--s-5);
  max-width: 920px;
}
.hero-title .kr { display: block; font-size: clamp(22px, 2.8vw, 32px); font-weight: var(--w-medium); color: var(--green-200); margin-top: var(--s-4); letter-spacing: var(--tracking-snug); }
.hero-sub { font-size: var(--text-xl); line-height: 1.55; color: rgba(250,250,249,0.78); max-width: 620px; margin-bottom: var(--s-9); }
.hero-cta { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.hero-meta { display: flex; gap: var(--s-7); margin-top: var(--s-11); flex-wrap: wrap; padding-top: var(--s-7); border-top: 1px solid rgba(255,255,255,0.12); max-width: 720px; }
.hero-meta > div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .num { font-family: var(--font-mono); font-size: var(--text-2xl); font-weight: var(--w-semibold); color: var(--neutral-0); letter-spacing: -0.01em; }
.hero-meta .lbl { font-size: var(--text-xs); color: rgba(250,250,249,0.6); letter-spacing: var(--tracking-arrow); text-transform: uppercase; font-weight: var(--w-medium); }

/* ============================================================
   Services grid (What's ARICO?)
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--s-5); }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-7) var(--s-7);
  transition: border-color var(--t-base) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard), transform var(--t-base) var(--ease-standard);
  display: flex; flex-direction: column; gap: var(--s-4);
  min-height: 220px;
}
.service-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-3); transform: translateY(-3px); }
.service-card .icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--brand-soft); color: var(--brand-fg); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgba(27,158,84,0.12); transition: background var(--t-base) var(--ease-standard), color var(--t-base) var(--ease-standard), transform var(--t-base) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard); }
.service-card:hover .icon-wrap { background: var(--brand); color: #fff; transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 14px rgba(27,158,84,0.28); }
.service-card .icon-wrap .lucide { width: 22px; height: 22px; stroke-width: 1.75; }
.service-card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.service-card h3 .kr { font-size: var(--text-sm); color: var(--fg-tertiary); font-weight: var(--w-medium); letter-spacing: var(--tracking-snug); }
.service-card .desc { color: var(--fg-secondary); font-size: var(--text-sm); margin-bottom: auto; }
.service-card .card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: var(--s-5); border-top: 1px solid var(--border-subtle); }
.service-card .ext-tag { font-size: var(--text-2xs); color: var(--fg-tertiary); letter-spacing: var(--tracking-arrow); text-transform: uppercase; font-weight: var(--w-semibold); }
.service-card:hover .link-arrow { color: var(--brand-hover); }
.service-card:hover .link-arrow::after { transform: translateX(4px); }

/* ============================================================
   Event cards
   ============================================================ */
.event-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--s-5); }
@media (min-width: 720px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .event-grid { grid-template-columns: repeat(4, 1fr); } }

.event-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard);
}
.event-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-3); transform: translateY(-3px); }
.event-cover {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-500) 100%);
  position: relative; display: flex; align-items: flex-start; justify-content: space-between;
  padding: var(--s-5); color: var(--neutral-0);
}
.event-cover.cup { background: linear-gradient(135deg, var(--target-700) 0%, var(--target-500) 100%); }
.event-cover.seminar { background: linear-gradient(135deg, var(--green-700) 0%, var(--green-400) 100%); }
.event-cover.practice { background: linear-gradient(135deg, var(--neutral-800) 0%, var(--green-700) 100%); }
.event-cover .date-stack { display: flex; flex-direction: column; align-items: center; background: rgba(0,0,0,0.32); padding: 6px 10px 8px; border-radius: var(--r-md); backdrop-filter: blur(6px); }
.event-cover .date-stack .month { font-size: var(--text-2xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; font-weight: var(--w-semibold); }
.event-cover .date-stack .day { font-family: var(--font-mono); font-size: var(--text-2xl); font-weight: var(--w-bold); line-height: 1; margin-top: 2px; }
.event-cover .ring-art {
  position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,0.18);
}
.event-cover .ring-art::before, .event-cover .ring-art::after {
  content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.12);
}
.event-cover .ring-art::after { inset: 50px; border-color: rgba(255,255,255,0.08); }
.event-meta-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.event-card .body { padding: var(--s-6) var(--s-6) var(--s-7); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.event-card .title-ja { font-weight: var(--w-semibold); font-size: var(--text-md); color: var(--fg); letter-spacing: var(--tracking-snug); }
.event-card .title-kr { font-size: var(--text-xs); color: var(--fg-tertiary); margin-top: -4px; }
.event-card .loc { display: flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--fg-secondary); margin-top: 4px; }
.event-card .loc .lucide { width: 13px; height: 13px; stroke-width: 1.75; }
.event-card .foot { margin-top: auto; padding-top: var(--s-5); display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--border); }
.event-card .price { font-family: var(--font-mono); font-weight: var(--w-semibold); font-size: var(--text-md); color: var(--fg); }
.event-card .price.free { color: var(--brand); }
/* 사진 커버 (ImageUrl 있을 때) — 없으면 위 그라데이션 폴백 */
.event-cover--photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.event-cover--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.06) 44%, rgba(0,0,0,0) 72%); }
.event-cover--photo > * { position: relative; z-index: 1; }
/* 카드 설명(하단) — 2줄 클램프 */
.event-card .desc { font-size: var(--text-xs); color: var(--fg-secondary); line-height: var(--lh-base); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   RESERVE — 자체 예약 Phase 1 (docs 33, STORES 참고)
   ============================================================ */
.rsv-flow { max-width: 760px; }
.rsv-step { margin-top: var(--s-8); }
.rsv-step-h { display: flex; align-items: center; gap: 10px; font-weight: var(--w-semibold); font-size: var(--text-md); color: var(--fg); margin-bottom: var(--s-4); }
.rsv-step-h .num { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: var(--text-xs); font-weight: var(--w-bold); flex-shrink: 0; }

.rsv-menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.rsv-menu { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px 14px; background: var(--surface); cursor: pointer; text-align: left; font-family: inherit; transition: border-color var(--t-fast) var(--ease-standard); }
.rsv-menu:hover { border-color: var(--border-strong); }
.rsv-menu.is-sel { border-color: var(--brand); background: var(--brand-soft); }
.rsv-menu .nm { font-weight: var(--w-semibold); font-size: var(--text-sm); color: var(--fg); display: block; }
.rsv-menu .pr { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-secondary); }

.rsv-cal { border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); padding: var(--s-5); max-width: 420px; }
.rsv-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.rsv-cal-title { font-weight: var(--w-semibold); font-size: var(--text-sm); }
.rsv-cal-nav { background: none; border: 1px solid var(--border); border-radius: var(--r-md); width: 30px; height: 30px; cursor: pointer; color: var(--fg); font-size: var(--text-md); line-height: 1; }
.rsv-cal-nav:hover:not(:disabled) { background: var(--surface-hover); }
.rsv-cal-nav:disabled { opacity: .35; cursor: default; }
.rsv-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rsv-cal-dow { text-align: center; font-size: var(--text-2xs); color: var(--fg-tertiary); padding: 4px 0; }
.rsv-day { aspect-ratio: 1; border: 0; background: none; border-radius: var(--r-md); font-family: inherit; font-size: var(--text-sm); color: var(--fg); cursor: pointer; position: relative; }
.rsv-day:hover:not(:disabled) { background: var(--surface-hover); }
.rsv-day:disabled { color: var(--fg-tertiary); opacity: .4; cursor: default; background: none; }
.rsv-day.has-slot::after { content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.rsv-day.is-sel { background: var(--brand); color: #fff; }
.rsv-day.is-sel::after { background: #fff; }
.rsv-cal-hint { font-size: var(--text-2xs); color: var(--fg-tertiary); margin: var(--s-4) 0 0; }

.rsv-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.rsv-slot { border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-full); padding: 8px 16px; font-family: var(--font-mono); font-size: var(--text-sm); cursor: pointer; color: var(--fg); transition: border-color var(--t-fast) var(--ease-standard); }
.rsv-slot:hover { border-color: var(--border-strong); }
.rsv-slot.is-sel { border-color: var(--brand); background: var(--brand); color: #fff; }

.rsv-sum { margin-top: var(--s-6); padding: var(--s-5) var(--s-6); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); background: var(--bg-sunken); font-size: var(--text-sm); color: var(--fg); line-height: var(--lh-base); }
.rsv-err { color: var(--target-700); font-size: var(--text-sm); margin: var(--s-4) 0 0; }
.rsv-submit { margin-top: var(--s-6); }
.rsv-note { display: flex; align-items: flex-start; gap: 6px; font-size: var(--text-xs); color: var(--fg-tertiary); margin: var(--s-4) 0 0; }
.rsv-note .lucide { width: 14px; height: 14px; stroke-width: 1.75; flex-shrink: 0; margin-top: 1px; }

/* 키보드 포커스 링 — 캘린더·슬롯·메뉴 버튼 (btn 클래스를 안 쓰므로 별도 지정) */
.rsv-cal-nav:focus-visible, .rsv-day:focus-visible, .rsv-slot:focus-visible, .rsv-menu:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

.rsv-done { text-align: center; padding: var(--s-9) var(--s-6); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.rsv-done-ico .lucide { width: 40px; height: 40px; stroke-width: 1.5; color: var(--brand); }
.rsv-done .btn { margin-top: var(--s-4); }

/* 즐겨찾기 하트 (카드 공통) — 카드 링크 오버레이보다 위 레이어(클릭이 링크로 새지 않게) */
.fav-heart { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--fg-tertiary); border-radius: var(--r-full); transition: color var(--t-fast) var(--ease-standard), transform var(--t-fast) var(--ease-standard); }
/* 카드 전체 클릭 링크 오버레이 — 하트와 분리하기 위해 앵커를 콘텐츠 밖 절대배치로 */
.card-overlay { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.fav-heart svg { width: 18px; height: 18px; }
.fav-heart:hover { color: var(--target-500); transform: scale(1.12); }
.fav-heart.is-on { color: var(--target-500); }
.fav-heart.is-on svg { fill: var(--target-500); }
.fav-heart:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* 관리자 예약 접수 목록 */
.adm-rsv-list { display: flex; flex-direction: column; gap: var(--s-4); }
.adm-rsv-row { display: flex; gap: var(--s-6); align-items: flex-start; justify-content: space-between; padding: var(--s-5) var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.adm-rsv-main { min-width: 0; flex: 1; }
.adm-rsv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adm-rsv-id { font-size: var(--text-xs); color: var(--fg-tertiary); letter-spacing: 0.04em; }
.adm-rsv-sub { margin-top: 6px; font-size: var(--text-sm); color: var(--fg-secondary); }
.adm-rsv-answers { margin-top: var(--s-3); font-size: var(--text-sm); }
.adm-rsv-answers summary { cursor: pointer; color: var(--brand); font-size: var(--text-xs); }
.adm-rsv-answer { margin-top: 6px; padding: 8px 12px; background: var(--bg-sunken); border-radius: var(--r-md); }
.adm-rsv-answer span { font-size: var(--text-2xs); display: block; }
.adm-rsv-answer p { margin: 2px 0 0; white-space: pre-wrap; font-size: var(--text-sm); color: var(--fg); }
.adm-rsv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-3); flex-shrink: 0; }
.adm-rsv-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ============================================================
   Video / Arico.tv strip
   ============================================================ */
.video-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--s-5); }
@media (min-width: 720px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.video-card:hover { border-color: var(--border-strong); }
.video-thumb { aspect-ratio: 16 / 10; position: relative; }
.video-thumb.t1 { background: linear-gradient(135deg, var(--green-900) 0%, var(--green-500) 100%); }
.video-thumb.t2 { background: linear-gradient(135deg, var(--green-700) 0%, var(--green-400) 100%); }
.video-thumb.t3 { background: linear-gradient(135deg, #123023 0%, #69ad86 100%); }
.video-thumb .play-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: rgba(255,255,255,0.92); color: var(--fg); border-radius: var(--r-full); font-weight: var(--w-semibold); font-size: var(--text-sm); }
.video-thumb .play-pill .lucide { width: 14px; height: 14px; stroke-width: 2; fill: var(--fg); }
.video-thumb .duration { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; background: rgba(0,0,0,0.65); color: var(--neutral-0); border-radius: var(--r-sm); font-family: var(--font-mono); font-size: var(--text-xs); }
.video-thumb .badge-tv { position: absolute; left: 12px; top: 12px; padding: 3px 8px; background: rgba(255,255,255,0.92); color: var(--brand-fg); border-radius: var(--r-sm); font-size: var(--text-2xs); font-weight: var(--w-bold); letter-spacing: var(--tracking-arrow); text-transform: uppercase; }
.video-info { padding: var(--s-5) var(--s-6) var(--s-6); }
.video-info .title { font-weight: var(--w-semibold); font-size: var(--text-base); color: var(--fg); }
.video-info .meta { margin-top: 4px; color: var(--fg-tertiary); font-size: var(--text-xs); letter-spacing: 0; text-transform: none; font-weight: var(--w-regular); }
.video-info .meta b { color: var(--fg-secondary); font-weight: var(--w-medium); }

/* ============================================================
   Academy / Super Advisor split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; } }
.feature-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-2xl); padding: var(--s-9) var(--s-9) var(--s-9);
  min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--neutral-0);
}
.feature-card.academy { background: linear-gradient(160deg, var(--green-700) 0%, var(--green-500) 100%); }
.feature-card.advisor { background: linear-gradient(160deg, var(--neutral-900) 0%, var(--green-800) 100%); }
.feature-card .eyebrow.on-dark { color: var(--green-200); }
.feature-card h3 { font-size: var(--text-3xl); font-weight: var(--w-bold); letter-spacing: var(--tracking-tight); line-height: var(--lh-tight); margin: var(--s-3) 0 var(--s-4); }
.feature-card p { color: rgba(255,255,255,0.78); max-width: 460px; margin-bottom: var(--s-7); }
.feature-card .actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.feature-card .ring-deco {
  position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.10);
}
.feature-card .ring-deco::before, .feature-card .ring-deco::after {
  content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.08);
}
.feature-card .ring-deco::after { inset: 70px; }
.feature-card .ring-deco .dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; background: var(--target-500); }

/* ============================================================
   Gallery preview
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.album-card { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1; border: 1px solid var(--border); cursor: pointer; }
.album-card .cover { position: absolute; inset: 0; }
.album-card.a1 .cover { background: linear-gradient(160deg, var(--green-700), var(--green-500)); }
.album-card.a2 .cover { background: linear-gradient(160deg, #37383c, #707376); }
.album-card.a3 .cover { background: linear-gradient(160deg, #871912, #d8362a); }
.album-card.a4 .cover { background: linear-gradient(160deg, #0b1e16, #428d64); }
.album-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%); }
.album-card .meta-row { position: absolute; left: var(--s-5); right: var(--s-5); bottom: var(--s-5); color: var(--neutral-0); }
.album-card .meta-row .year { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; opacity: 0.85; font-weight: var(--w-medium); }
.album-card .meta-row .name { font-size: var(--text-base); font-weight: var(--w-semibold); margin-top: 4px; line-height: var(--lh-snug); }
.album-card .meta-row .count { font-size: var(--text-xs); opacity: 0.78; margin-top: 2px; font-family: var(--font-mono); }
.album-card .lock { position: absolute; right: var(--s-4); top: var(--s-4); display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: rgba(0,0,0,0.45); color: var(--neutral-0); border-radius: var(--r-full); font-size: var(--text-2xs); font-weight: var(--w-semibold); letter-spacing: var(--tracking-wide); backdrop-filter: blur(6px); }
.album-card .lock .lucide { width: 12px; height: 12px; stroke-width: 2; }

/* ============================================================
   GALLERY CATEGORY CARDS — 6 카테고리 큰 카드 (SmugMug 화면 톤)
   ============================================================ */
.category-grid {
  display: grid; grid-template-columns: repeat(1, 1fr);
  gap: var(--s-5);
}
@media (min-width: 720px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }

.category-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  aspect-ratio: 16 / 11;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none; color: var(--neutral-0);
  transition: transform var(--t-base) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard);
}
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.category-card.is-empty:hover { transform: none; box-shadow: none; }

.category-card .cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.category-card .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.category-card .cat-icon {
  position: absolute; top: var(--s-5); left: var(--s-5);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
}
.category-card .cat-icon .lucide { width: 20px; height: 20px; stroke-width: 1.75; color: var(--neutral-0); }

.category-card .cat-meta {
  position: absolute; left: var(--s-6); right: var(--s-6); bottom: var(--s-6);
}
.category-card .cat-meta .dual {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.category-card .cat-meta .dual .ko {
  font-size: var(--text-2xl); font-weight: var(--w-bold);
  letter-spacing: var(--tracking-tight); line-height: 1;
}
.category-card .cat-meta .dual .sep {
  color: rgba(255,255,255,0.55); font-weight: var(--w-medium);
}
.category-card .cat-meta .dual .en {
  font-size: var(--text-base); color: rgba(255,255,255,0.78); font-weight: var(--w-medium);
  letter-spacing: 0;
}
.category-card .cat-meta .stats {
  font-size: var(--text-xs); color: rgba(255,255,255,0.78);
}
.category-card .cat-meta .stats .mono {
  font-family: var(--font-mono); font-weight: var(--w-semibold); color: var(--neutral-0);
}
.category-card .cat-meta .stats .dot { margin: 0 6px; opacity: 0.55; }

/* ============================================================
   YEAR SECTION HEADER (카테고리 페이지에서 연도별 그룹핑)
   ============================================================ */
.year-section { margin-bottom: var(--s-11); }
.year-section:last-child { margin-bottom: 0; }
.year-section-head {
  display: flex; align-items: center; gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.year-section-head .year-label {
  font-size: var(--text-3xl); font-weight: var(--w-bold);
  color: var(--fg); letter-spacing: -0.02em; line-height: 1;
}
.year-section-head .year-divider {
  flex: 1; height: 1px; background: var(--border);
}
.year-section-head .year-count {
  font-size: var(--text-xs); letter-spacing: var(--tracking-arrow);
  text-transform: uppercase; color: var(--fg-tertiary); font-weight: var(--w-semibold);
}

/* ============================================================
   LIGHTBOX — 앨범 상세에서 사진 확대 보기
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: var(--s-9);
}
.lightbox.is-open { display: flex; }

.lightbox-stage {
  max-width: min(96vw, 1600px); max-height: 86vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-stage img {
  max-width: 100%; max-height: 86vh;
  object-fit: contain; display: block;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  border-radius: var(--r-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--neutral-0);
  width: 48px; height: 48px; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--t-fast) var(--ease-standard);
  backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-close { top: var(--s-7); right: var(--s-7); }
.lightbox-prev { left: var(--s-7); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--s-7); top: 50%; transform: translateY(-50%); }
.lightbox-close .lucide,
.lightbox-prev .lucide,
.lightbox-next .lucide { width: 22px; height: 22px; stroke-width: 1.75; }

.lightbox-caption {
  position: absolute; bottom: var(--s-7); left: 0; right: 0;
  text-align: center; color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  display: flex; flex-direction: column; gap: 4px;
  pointer-events: none;
}
.lightbox-caption .lightbox-position {
  font-size: var(--text-xs); color: rgba(255, 255, 255, 0.55);
  letter-spacing: var(--tracking-arrow);
}
.lightbox-caption .lightbox-text {
  font-weight: var(--w-medium);
  max-width: 760px; margin: 0 auto;
  padding: 0 var(--s-7);
}

@media (max-width: 720px) {
  .lightbox { padding: var(--s-5); }
  .lightbox-close { top: var(--s-3); right: var(--s-3); width: 40px; height: 40px; }
  .lightbox-prev { left: var(--s-3); width: 40px; height: 40px; }
  .lightbox-next { right: var(--s-3); width: 40px; height: 40px; }
  .lightbox-caption { bottom: var(--s-3); font-size: var(--text-xs); }
}

/* 사진 카드 호버 효과 */
.photo-tile.photo-clickable { transition: transform var(--t-fast) var(--ease-standard); }
.photo-tile.photo-clickable:hover { transform: scale(1.02); }
.photo-tile.photo-clickable:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ============================================================
   TEAMS — 팀 목록 카드 + 상세 멤버/공지
   ============================================================ */
.team-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color var(--t-base) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard);
}
.team-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.team-logo {
  height: 96px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.92);
}
.team-logo .initial { font-family: var(--font-display); font-weight: var(--w-bold); font-size: 40px; }
.team-body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.team-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.team-head h3 { font-size: var(--text-lg); font-weight: var(--w-semibold); color: var(--fg); }
.team-card .desc { font-size: var(--text-sm); color: var(--fg-secondary); margin-bottom: auto; }
.team-meta { display: flex; flex-direction: column; gap: 4px; font-size: var(--text-xs); color: var(--fg-secondary); }
.team-meta span { display: inline-flex; align-items: center; gap: 6px; }
.team-meta .lucide { width: 13px; height: 13px; stroke-width: 1.75; }
.team-foot { display: flex; align-items: center; justify-content: space-between; padding-top: var(--s-4); border-top: 1px dashed var(--border); }

.member-list { display: flex; flex-direction: column; gap: var(--s-3); }
.member-row { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.member-info { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.member-info strong { font-size: var(--text-sm); color: var(--fg); }
.member-info .muted { font-size: var(--text-xs); }

.notice-list { display: flex; flex-direction: column; gap: var(--s-4); }
.notice-card { padding: var(--s-5) var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.notice-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.notice-card .notice-date { font-size: var(--text-xs); color: var(--fg-tertiary); }
.notice-card h4 { font-size: var(--text-base); font-weight: var(--w-semibold); color: var(--fg); margin-bottom: 4px; }
.notice-card .muted { font-size: var(--text-sm); color: var(--fg-secondary); line-height: var(--lh-base); }

/* ============================================================
   MYPAGE — AI 코칭 게이지 + 내 팀 카드
   ============================================================ */
.mypage-two-col { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .mypage-two-col { grid-template-columns: 1fr 1fr; } }
.ai-coaching-card, .my-team-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: var(--s-7);
}
.usage-gauge { display: flex; flex-direction: column; gap: var(--s-3); }
.usage-bar { height: 10px; background: var(--bg-sunken); border-radius: var(--r-full); overflow: hidden; }
.usage-bar .fill { height: 100%; background: var(--brand); border-radius: var(--r-full); transition: width var(--t-base) var(--ease-standard); }
.usage-text { font-size: var(--text-sm); color: var(--fg-secondary); }
.usage-text .mono { font-family: var(--font-mono); font-weight: var(--w-semibold); color: var(--fg); }

.team-mini { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); text-decoration: none; color: inherit; transition: border-color var(--t-fast); }
.team-mini:hover { border-color: var(--border-strong); }
.team-mini-logo { width: 44px; height: 44px; border-radius: var(--r-lg); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: var(--w-bold); font-size: var(--text-lg); flex-shrink: 0; }
.team-mini-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.team-mini-info strong { font-size: var(--text-sm); color: var(--fg); }
.team-mini-info .muted { font-size: var(--text-xs); }
.team-mini .lucide { width: 18px; height: 18px; stroke-width: 1.75; }

/* ============================================================
   Bestsellers (Onlineshop curation)
   ============================================================ */
.shop-banner { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-6); background: var(--brand-soft); border: 1px solid var(--green-100); border-radius: var(--r-xl); margin-bottom: var(--s-8); font-size: var(--text-sm); color: var(--brand-fg); }
.shop-banner .lucide { width: 16px; height: 16px; stroke-width: 1.75; }
.shop-banner a { font-weight: var(--w-semibold); color: var(--brand-fg); border-bottom: 1px solid currentColor; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; transition: border-color var(--t-base) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard); }
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.product-cover { aspect-ratio: 1; position: relative; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.92); font-weight: var(--w-bold); letter-spacing: var(--tracking-arrow); font-size: var(--text-sm); }
.product-cover.riser { background: linear-gradient(135deg, var(--green-500) 0%, var(--green-800) 100%); }
.product-cover.limbs { background: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-500) 100%); color: var(--gold-700); }
.product-cover.arrow { background: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%); }
.product-cover.accessory { background: linear-gradient(135deg, var(--green-100) 0%, var(--green-300) 100%); color: var(--brand-fg); }
.product-info { padding: var(--s-5) var(--s-6) var(--s-6); }
.product-info .name { font-size: var(--text-sm); font-weight: var(--w-semibold); color: var(--fg); }
.product-info .spec { font-size: var(--text-xs); color: var(--fg-tertiary); margin-top: 2px; }
.product-info .price { margin-top: var(--s-3); font-family: var(--font-mono); font-size: var(--text-md); font-weight: var(--w-semibold); }
.product-info .price .currency { color: var(--fg-tertiary); font-weight: var(--w-medium); margin-right: 4px; }

/* ============================================================
   Coaches
   ============================================================ */
.coach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
@media (min-width: 720px) { .coach-grid { grid-template-columns: repeat(4, 1fr); } }
.coach-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); transition: border-color var(--t-base) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard), transform var(--t-base) var(--ease-standard); }
.coach-card:hover { border-color: var(--brand); box-shadow: 0 10px 30px rgba(27,158,84,0.16); transform: translateY(-4px); }
.coach-card:hover .coach-photo { transform: scale(1.03); }
.coach-photo { transition: transform var(--t-base) var(--ease-standard); }
.coach-photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--neutral-700), var(--green-800)); position: relative; overflow: hidden; }
.coach-photo.c2 { background: linear-gradient(160deg, var(--green-700), var(--green-400)); }
.coach-photo.c3 { background: linear-gradient(160deg, var(--neutral-800), var(--neutral-600)); }
.coach-photo.c4 { background: linear-gradient(160deg, var(--green-800), var(--green-600)); }
.coach-photo .initial { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: var(--w-bold); font-size: 56px; color: rgba(255,255,255,0.30); letter-spacing: -0.05em; }
.coach-info .name-ja { font-weight: var(--w-semibold); font-size: var(--text-base); }
.coach-info .name-kr { font-size: var(--text-xs); color: var(--fg-tertiary); margin-top: 2px; }
.coach-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: var(--s-3); }

/* ============================================================
   Premium banner
   ============================================================ */
.premium {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 90% 50%, rgba(27,158,84,0.25), transparent 50%),
    linear-gradient(135deg, var(--neutral-900) 0%, var(--green-900) 100%);
  color: var(--neutral-0);
  border-radius: var(--r-2xl); padding: var(--s-13) var(--s-9);
}
.premium .ring-deco { position: absolute; right: -100px; top: 50%; transform: translateY(-50%); width: 480px; height: 480px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; }
.premium .ring-deco::before, .premium .ring-deco::after { content: ""; position: absolute; inset: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); }
.premium .ring-deco::after { inset: 110px; }
.premium-head { max-width: 620px; margin-bottom: var(--s-10); position: relative; }
.premium h2 { font-size: var(--text-4xl); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); font-weight: var(--w-bold); margin: var(--s-4) 0 var(--s-5); }
.premium .lead { color: rgba(255,255,255,0.78); font-size: var(--text-lg); }
.premium-benefits { display: grid; grid-template-columns: 1fr; gap: var(--s-7); position: relative; }
@media (min-width: 720px) { .premium-benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit { display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,0.16); }
.benefit .check { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--brand); color: var(--neutral-0); border-radius: var(--r-full); margin-bottom: var(--s-2); }
.benefit .check .lucide { width: 16px; height: 16px; stroke-width: 2.2; }
.benefit h4 { font-size: var(--text-lg); font-weight: var(--w-semibold); }
.benefit p { color: rgba(255,255,255,0.72); font-size: var(--text-sm); line-height: var(--lh-base); }
.premium-cta { margin-top: var(--s-11); display: flex; gap: var(--s-4); flex-wrap: wrap; position: relative; }
.premium-cta .price-line { color: rgba(255,255,255,0.62); font-size: var(--text-xs); margin-left: var(--s-4); align-self: center; letter-spacing: var(--tracking-snug); }
.premium-cta .price-line .num { font-family: var(--font-mono); color: var(--neutral-0); font-size: var(--text-sm); font-weight: var(--w-semibold); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: var(--s-3); }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-6) var(--s-7); cursor: pointer; transition: border-color var(--t-base) var(--ease-standard); }
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--border-strong); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.faq-q .q-text { font-weight: var(--w-semibold); font-size: var(--text-base); }
.faq-q .q-text .kr { color: var(--fg-tertiary); font-weight: var(--w-medium); margin-left: var(--s-3); font-size: var(--text-xs); }
.faq-q .chev { color: var(--fg-tertiary); transition: transform var(--t-base) var(--ease-standard); flex-shrink: 0; }
.faq-q .chev .lucide { width: 18px; height: 18px; stroke-width: 1.75; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--brand); }
.faq-a { display: none; padding-top: var(--s-4); color: var(--fg-secondary); font-size: var(--text-sm); line-height: var(--lh-loose); }
.faq-item.open .faq-a { display: block; }

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer { background: var(--bg-elevated); border-top: 1px solid var(--border); padding: var(--s-13) 0 var(--s-9); }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-9); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand .brand-wordmark { font-size: var(--text-2xl); }
.footer-brand p { color: var(--fg-tertiary); font-size: var(--text-sm); margin-top: var(--s-4); max-width: 320px; line-height: var(--lh-loose); }
.footer-col h5 { font-size: var(--text-xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; font-weight: var(--w-bold); color: var(--fg); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a { font-size: var(--text-sm); color: var(--fg-secondary); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: var(--s-11); padding-top: var(--s-7); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-5); color: var(--fg-tertiary); font-size: var(--text-xs); }
.footer-bottom .legal-links { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer-bottom .legal-links a:hover { color: var(--fg); }
.footer-bottom .lang-switch { background: transparent; }

/* ============================================================
   Mobile bottom nav (optional preview)
   ============================================================ */
.mobile-tabbar { display: none; }
/* 860px = 헤더 버거 전환과 동일 기준. 시안(2026-09): 플로팅 필 → 풀블리드 고정 탭바(앱 탭바와 동일 문법) + safe-area */
@media (max-width: 860px) {
  .mobile-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around; z-index: 40;
  }
  .mobile-tabbar a, .mobile-tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; font-size: var(--text-2xs); color: var(--fg-tertiary); font-weight: var(--w-medium); background: transparent; border: 0; font-family: inherit; cursor: pointer; }
  .mobile-tabbar a .lucide, .mobile-tabbar button .lucide { width: 20px; height: 20px; stroke-width: 1.75; }
  .mobile-tabbar a.active { color: var(--brand); font-weight: var(--w-semibold); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   AUTH — Signup / Login pages
   Centered card on paper-tone background; ARICO border-first.
   ============================================================ */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: var(--s-12) var(--s-7) var(--s-13);
}
.auth-card {
  width: 100%; max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s-10) var(--s-9) var(--s-9);
}
@media (max-width: 720px) {
  .auth-card { padding: var(--s-8) var(--s-7) var(--s-7); border-radius: var(--r-xl); }
  .auth-page { padding: var(--s-9) var(--s-5) var(--s-13); }
}
.auth-head { text-align: center; margin-bottom: var(--s-9); }
.auth-head .eyebrow { display: inline-block; margin-bottom: var(--s-3); }
.auth-head h1 { font-weight: var(--w-bold); font-size: var(--text-3xl); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); margin: 0; }
.auth-head .sub { color: var(--fg-secondary); font-size: var(--text-sm); margin-top: var(--s-3); }

.form { display: flex; flex-direction: column; gap: var(--s-5); }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 480px) { .form-row.row-2 { grid-template-columns: 1fr; } }
.form-label { font-size: var(--text-xs); font-weight: var(--w-semibold); color: var(--fg); letter-spacing: var(--tracking-snug); }
.form-label .req { color: var(--target-500); margin-left: 2px; font-weight: var(--w-bold); }
.form-hint { font-size: var(--text-2xs); color: var(--fg-tertiary); margin-top: 2px; }

.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 10px 12px;
  font: var(--w-regular) var(--text-sm) var(--font-sans);
  color: var(--fg);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color var(--t-fast) var(--ease-standard), box-shadow var(--t-fast) var(--ease-standard);
}
.form-control::placeholder { color: var(--fg-quaternary); }
.form-control:hover { border-color: var(--border-strong); }
.form-control:focus { outline: none; border-color: var(--brand); box-shadow: var(--shadow-focus); }
.form-control:disabled { background: var(--surface-hover); color: var(--fg-disabled); cursor: not-allowed; }
.form-control.has-error { border-color: var(--target-500); }
.form-error { color: var(--target-500); font-size: var(--text-2xs); margin-top: 2px; }

.input-group { position: relative; }
.input-group .form-control { padding-left: 36px; }
.input-group .lead-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--fg-tertiary); pointer-events: none; }
.input-group .lead-icon .lucide { width: 16px; height: 16px; stroke-width: 1.75; }
.input-group .trail-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; padding: 6px; color: var(--fg-tertiary); border-radius: var(--r-sm); cursor: pointer; }
.input-group .trail-btn:hover { color: var(--fg); background: var(--surface-hover); }
.input-group .trail-btn .lucide { width: 16px; height: 16px; stroke-width: 1.75; }

/* 페이지 이동 시 FocusOnNavigate 가 h1 에 주는 프로그램적/마우스 포커스의 검정 외곽선 제거 — 키보드 포커스 링은 :focus-visible 로 유지(접근성). */
:focus:not(:focus-visible) { outline: none; }

.form-check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; user-select: none; }
.form-check input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; min-width: 18px; margin-top: 1px; border: 1.5px solid var(--border-strong); border-radius: 4px; background: var(--surface); cursor: pointer; transition: border-color var(--t-fast) var(--ease-standard), background var(--t-fast) var(--ease-standard); position: relative; }
.form-check input[type=checkbox]:hover { border-color: var(--brand); }
.form-check input[type=checkbox]:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.form-check input[type=checkbox]:checked { background: var(--brand); border-color: var(--brand); }
.form-check input[type=checkbox]:checked::after { content: ""; position: absolute; left: 50%; top: 45%; width: 5px; height: 9px; border: solid white; border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); }
.form-check .label { font-size: var(--text-sm); color: var(--fg); line-height: var(--lh-snug); }
.form-check .label a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.form-check .label .opt { color: var(--fg-tertiary); margin-left: 4px; font-size: var(--text-xs); }

.btn-block { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 20px; font-size: var(--text-base); font-weight: var(--w-semibold); border: 0; border-radius: var(--tds-radius-pill); background: var(--tds-green-600); color: var(--tds-white); cursor: pointer; transition: background var(--t-fast) var(--ease-standard), transform 80ms var(--ease-standard); }
.btn-block:hover { background: var(--tds-green-700); }
.btn-block:active { background: var(--tds-green-800); transform: scale(0.985); }
.btn-block:disabled { background: var(--surface-hover); color: var(--fg-disabled); cursor: not-allowed; transform: none; }
.btn-block .lucide { width: 16px; height: 16px; stroke-width: 2; }

.auth-divider { display: flex; align-items: center; gap: var(--s-4); color: var(--fg-tertiary); font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; margin: var(--s-6) 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.social-buttons { display: flex; flex-direction: column; gap: var(--s-3); }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 10px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); color: var(--fg); font-weight: var(--w-medium); font-size: var(--text-sm); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); position: relative; }
.social-btn:not(:disabled):hover { border-color: var(--border-strong); background: var(--surface-hover); }
.social-btn:disabled { color: var(--fg-tertiary); cursor: not-allowed; }
.social-btn .phase-badge { position: absolute; right: var(--s-5); top: 50%; transform: translateY(-50%); font-size: var(--text-2xs); letter-spacing: var(--tracking-wide); font-weight: var(--w-semibold); color: var(--fg-tertiary); background: var(--surface-hover); padding: 2px 8px; border-radius: var(--r-full); }
.social-btn .brand-mark { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: var(--w-bold); font-size: 13px; border-radius: 3px; }
.social-btn .brand-mark.google { background: white; border: 1px solid var(--border); color: #4285f4; }
.social-btn .brand-mark.line { background: #06c755; color: white; }
.social-btn .brand-mark.kakao { background: #fee500; color: #181600; }
.social-btn .brand-mark.apple { background: #000000; color: white; font-size: 0; position: relative; }
.social-btn .brand-mark.apple::before { content: ""; display: block; position: absolute; inset: 3px; background: white; clip-path: polygon(50% 4%, 62% 12%, 72% 12%, 86% 24%, 92% 42%, 88% 64%, 78% 84%, 64% 96%, 50% 92%, 36% 96%, 22% 84%, 12% 64%, 8% 42%, 14% 24%, 28% 12%, 38% 12%); }

.auth-foot { text-align: center; margin-top: var(--s-8); font-size: var(--text-sm); color: var(--fg-secondary); }
.auth-foot a { color: var(--brand); font-weight: var(--w-semibold); margin-left: 4px; }
.auth-foot a:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 2px; }

.login-extra { display: flex; align-items: center; justify-content: space-between; margin-top: -4px; }
.login-extra .forgot { color: var(--brand); font-size: var(--text-xs); font-weight: var(--w-semibold); }
.login-extra .forgot:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   EVENTS LIST — filter chips + search + empty state
   ============================================================ */
.events-filter {
  display: flex; gap: var(--s-5); flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  padding: var(--s-6); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-xl);
}
.filter-chips { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-full);
  font-size: var(--text-sm); font-weight: var(--w-medium);
  color: var(--fg); cursor: pointer;
  transition: background var(--t-fast) var(--ease-standard), border-color var(--t-fast) var(--ease-standard);
}
.chip:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.chip.active { background: var(--neutral-900); color: var(--neutral-0); border-color: var(--neutral-900); }
.chip.active .chip-count { color: rgba(255,255,255,0.7); }
.chip-count { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--fg-tertiary); font-weight: var(--w-regular); }
.filter-search { flex: 0 0 auto; }

.results-foot {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--border);
  text-align: center; font-size: var(--text-xs);
}

.empty-state {
  background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: var(--r-xl); padding: var(--s-12) var(--s-7);
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: var(--s-3);
  margin-top: var(--s-7);
}
.empty-state .empty-icon { width: 48px; height: 48px; stroke-width: 1.25; color: var(--fg-tertiary); margin-bottom: var(--s-3); }
.empty-state h3 { font-size: var(--text-xl); font-weight: var(--w-semibold); color: var(--fg); }
.empty-state p { color: var(--fg-secondary); margin-bottom: var(--s-3); }

/* ============================================================
   EVENT DETAIL — hero + body + booking aside
   ============================================================ */
.event-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--green-800) 0%, var(--green-500) 100%);
  color: var(--neutral-0);
  padding: var(--s-10) 0 var(--s-12);
}
.event-hero.cup { background: linear-gradient(160deg, var(--target-700) 0%, var(--target-500) 100%); }
.event-hero.seminar { background: linear-gradient(160deg, var(--green-700) 0%, var(--green-400) 100%); }
.event-hero.practice { background: linear-gradient(160deg, var(--neutral-900) 0%, var(--green-700) 100%); }
.event-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--text-xs); color: rgba(255,255,255,0.7);
  margin-bottom: var(--s-7);
  letter-spacing: var(--tracking-wide);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--neutral-0); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb .current { color: var(--neutral-0); font-weight: var(--w-semibold); }

.event-hero-title {
  font-weight: var(--w-bold);
  font-size: clamp(28px, 4vw, var(--text-5xl));
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin: var(--s-5) 0 var(--s-3);
  max-width: 820px;
}
.event-hero-sub { color: rgba(255,255,255,0.78); font-size: var(--text-lg); max-width: 620px; }

.event-meta-grid {
  margin-top: var(--s-9);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6);
  padding-top: var(--s-7); border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 820px;
}
@media (min-width: 720px) { .event-meta-grid { grid-template-columns: repeat(4, 1fr); } }
.meta-cell { display: flex; flex-direction: column; gap: 4px; }
.meta-cell .meta-label { font-size: var(--text-xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: var(--w-semibold); }
.meta-cell .meta-value { font-size: var(--text-lg); font-weight: var(--w-semibold); color: var(--neutral-0); line-height: var(--lh-snug); }
.meta-cell .meta-value.mono { font-family: var(--font-mono); }
.meta-cell .meta-sub { font-size: var(--text-xs); color: rgba(255,255,255,0.6); }

.ring-art-lg {
  position: absolute; right: -120px; top: 40px;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.10);
  pointer-events: none;
}
.ring-art-lg::before, .ring-art-lg::after {
  content: ""; position: absolute; inset: 50px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
}
.ring-art-lg::after { inset: 110px; }

/* Body layout */
.event-body { display: grid; grid-template-columns: 1fr; gap: var(--s-10); }
@media (min-width: 1024px) {
  .event-body { grid-template-columns: 1fr 360px; gap: var(--s-11); align-items: start; }
}

.bullet-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.bullet-list li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-4) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.bullet-list li .lucide { width: 18px; height: 18px; stroke-width: 1.75; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.bullet-list li span { font-size: var(--text-sm); color: var(--fg); line-height: var(--lh-base); }

.info-banner {
  display: flex; align-items: flex-start; gap: var(--s-5);
  padding: var(--s-6) var(--s-7);
  background: var(--brand-soft); border: 1px solid var(--green-100);
  border-radius: var(--r-xl);
}
.info-banner > .lucide { width: 22px; height: 22px; stroke-width: 1.75; color: var(--brand-fg); flex-shrink: 0; margin-top: 2px; }
.info-banner strong { font-size: var(--text-base); color: var(--brand-fg); display: block; margin-bottom: 4px; font-weight: var(--w-semibold); }
.info-banner p { font-size: var(--text-sm); color: var(--brand-fg); margin: 0; }
.info-banner p a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.event-aside { position: sticky; top: 96px; }
.booking-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: var(--s-7);
}
.booking-summary { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-7); padding-bottom: var(--s-6); border-bottom: 1px dashed var(--border); }
.booking-summary .row { display: flex; align-items: center; justify-content: space-between; font-size: var(--text-sm); color: var(--fg-secondary); }
.booking-summary .row strong { color: var(--fg); font-size: var(--text-md); font-weight: var(--w-semibold); }

/* ============================================================
   MYPAGE — sidebar + main grid
   ============================================================ */
.mypage-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-9);
}
@media (min-width: 1024px) {
  .mypage-grid { grid-template-columns: 260px 1fr; gap: var(--s-11); align-items: start; }
}

.mypage-side {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--s-7) var(--s-6);
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: var(--s-6);
}
.user-card { display: flex; gap: var(--s-4); align-items: center; padding-bottom: var(--s-6); border-bottom: 1px solid var(--border); }
.user-card .avatar { width: 48px; height: 48px; border-radius: var(--r-full); background: linear-gradient(160deg, var(--green-700), var(--green-500)); color: white; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--text-xl); }
.user-card .ident { display: flex; flex-direction: column; gap: 2px; }
.user-card .ident strong { font-size: var(--text-base); color: var(--fg); }
.user-card .ident .muted { font-size: var(--text-xs); }

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-md); font-size: var(--text-sm); font-weight: var(--w-medium); color: var(--fg); }
.side-nav a:hover { background: var(--surface-hover); color: var(--brand); }
.side-nav a.active { background: var(--brand-soft); color: var(--brand-fg); }
.side-nav a.muted { color: var(--fg-tertiary); }
.side-nav a.muted:hover { color: var(--fg); }
.side-nav a .lucide { width: 16px; height: 16px; stroke-width: 1.75; flex-shrink: 0; }
.side-nav .divider { height: 1px; background: var(--border); margin: var(--s-3) 0; }
.side-nav .side-logout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: transparent; border-radius: var(--r-md); font-size: var(--text-sm); font-weight: var(--w-medium); font-family: inherit; color: var(--fg-tertiary); cursor: pointer; }
.side-nav .side-logout:hover { background: var(--surface-hover); color: var(--fg); }
.side-nav .side-logout .lucide { width: 16px; height: 16px; stroke-width: 1.75; flex-shrink: 0; }
.side-nav .side-tv { display: flex; align-items: center; gap: 10px; width: 100%; margin: 6px 0; padding: 10px 12px; border: 0; background: var(--brand); border-radius: var(--r-md); font-size: var(--text-sm); font-weight: var(--w-bold); font-family: inherit; color: #fff; cursor: pointer; text-align: left; box-shadow: 0 1px 3px rgba(25,66,49,.25); }
.side-nav .side-tv:hover { background: var(--brand-hover); }
.side-nav .side-tv .lucide { width: 16px; height: 16px; stroke-width: 2; flex-shrink: 0; color: #fff; }
/* 관리자 콘솔 바로가기 — 관리자 계정에만 렌더(MypageSidebar), 브랜드 그린으로 구분 */
.side-nav a.side-admin { color: var(--green-700); font-weight: var(--w-semibold); }
.side-nav a.side-admin:hover { background: var(--surface-hover); color: var(--green-600); }
[data-theme="dark"] .side-nav a.side-admin { color: var(--green-300); }
[data-theme="dark"] .side-nav a.side-admin:hover { color: var(--green-200); }
/* 테스트 등급 전환 스위처 (TestTierEmails 한정 — 실서비스 전 제거) */
.tier-switch { margin: var(--s-4) 0 var(--s-2); padding: var(--s-3) var(--s-4); border: 1px dashed var(--border); border-radius: var(--r-md); background: var(--surface-hover); }
.tier-switch-label { display: block; font-size: 11px; font-weight: var(--w-semibold); color: var(--fg-tertiary); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.tier-switch-btns { display: flex; gap: 4px; }
.tier-switch-btn { flex: 1; padding: 5px 0; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-md); font-size: 12px; font-weight: var(--w-medium); font-family: inherit; color: var(--fg); cursor: pointer; }
.tier-switch-btn:hover { border-color: var(--brand); color: var(--brand); }
.tier-switch-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
/* 등급별 회원 카드 색 — Free 중립 / Premium 골드 / VIP 그린 */
.user-card--free, .user-card--premium, .user-card--vip { border-radius: var(--r-lg); padding: var(--s-5); border: 1px solid var(--border); }
.user-card--free { background: var(--surface-hover); }
.user-card--premium { background: var(--gold-100); border-color: var(--gold-300); }
.user-card--premium .pill { background: var(--gold-500); border-color: var(--gold-500); color: #fff; }
.user-card--vip { background: var(--brand-soft); border-color: var(--green-200); }
.user-card--vip .pill { background: var(--brand); border-color: var(--brand); color: #fff; }
/* 관리자 관리 페이지 */
.adm-card { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); background: var(--surface); }
.adm-policy { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.adm-policy li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--text-sm); color: var(--fg-secondary); }
.adm-policy li .lucide { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.adm-policy li strong { color: var(--fg); }

/* 모바일/태블릿(<1024px): 사이드바 메뉴를 가로 스크롤 탭으로 — 세로 적층 방지(본문이 바로 보이게) */
@media (max-width: 1023px) {
  .mypage-grid { min-width: 0; }
  .mypage-side { position: static; padding: var(--s-5); gap: var(--s-4); min-width: 0; }
  .side-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: var(--s-1); scrollbar-width: none; min-width: 0; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav a,
  .side-nav .side-logout,
  .side-nav .side-tv { white-space: nowrap; flex-shrink: 0; width: auto; margin: 0; }
  .side-nav .divider { display: none; }
}

.mypage-main { min-width: 0; }

/* ── 로그인 후 앱셸 (AppShellLayout) — 라이트 사이드바 + 얇은 상단바 ── */
.app-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; background: var(--bg); }
@media (min-width: 1024px) { .app-shell { grid-template-columns: 248px 1fr; } }
.app-shell .mypage-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; margin: 0; border: 0; border-right: 1px solid var(--border); border-radius: 0; background: var(--surface); }
.app-body { display: flex; flex-direction: column; min-width: 0; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: 56px; padding: 0 var(--s-8); border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 5; }
.app-topbar-title { font-weight: var(--w-semibold); font-size: var(--text-base); color: var(--fg); }
.app-topbar-actions { display: flex; align-items: center; gap: var(--s-6); }
.app-lang { display: inline-flex; gap: 2px; }
.app-lang a { font-size: var(--text-xs); font-weight: var(--w-semibold); color: var(--fg-tertiary); padding: 4px 7px; border-radius: var(--r-sm); }
.app-lang a:hover { background: var(--surface-hover); color: var(--fg); }
.app-lang a.active { background: var(--brand-soft); color: var(--brand-fg); }
.app-topbar-site { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--fg-secondary); }
.app-topbar-site:hover { color: var(--brand); }
.app-topbar-site .lucide { width: 15px; height: 15px; }
.app-main { padding: var(--s-9) var(--s-9) var(--s-12); min-width: 0; }
@media (max-width: 1023px) {
  .app-shell .mypage-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .app-main { padding: var(--s-7) var(--s-5) var(--s-11); }
}

.mypage-banner {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 10px var(--s-5); background: var(--brand-soft);
  border: 1px solid var(--green-100); border-radius: var(--r-lg);
  color: var(--brand-fg); font-size: var(--text-xs);
  margin-bottom: var(--s-9);
}
.mypage-banner .lucide { width: 14px; height: 14px; stroke-width: 1.75; flex-shrink: 0; }

.page-head { margin-bottom: var(--s-9); }
.page-head .eyebrow { display: inline-block; margin-bottom: var(--s-3); }
.page-head h1 { margin-bottom: var(--s-3); }

/* Stat row */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-card { padding: var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: var(--text-xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; color: var(--fg-tertiary); font-weight: var(--w-semibold); }
.stat-num { font-family: var(--font-mono); font-size: var(--text-4xl); font-weight: var(--w-semibold); color: var(--fg); line-height: 1; margin-top: 6px; }
.stat-sub { font-size: var(--text-xs); margin-top: 2px; }

/* ── 통합 마이페이지 허브 카드 ── */
.myhub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: var(--s-4); margin-top: var(--s-5); }
.myhub-card { display: flex; flex-direction: column; gap: 2px; padding: var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s, box-shadow .15s; }
a.myhub-card:hover, button.myhub-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.myhub-card.is-pending { background: var(--bg-sunken); }
.myhub-ic { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-bottom: var(--s-3); }
.myhub-ic .lucide { width: 19px; height: 19px; }
.myhub-ic.is-green { background: var(--green-600, #1B9E54); }
.myhub-ic.is-blue { background: var(--blue-500, #378ADD); }
.myhub-ic.is-grad { background: linear-gradient(135deg, #1B9E54, #378ADD); }
.myhub-title { font-size: var(--text-md); font-weight: var(--w-semibold); color: var(--fg); }
.myhub-desc { font-size: var(--text-sm); color: var(--fg-secondary); }
.myhub-go { margin-top: var(--s-3); display: inline-flex; align-items: center; gap: 3px; font-size: var(--text-xs); font-weight: var(--w-semibold); color: var(--brand-fg, var(--brand)); }
.myhub-go .lucide { width: 14px; height: 14px; }
.myhub-pill { margin-top: var(--s-3); display: inline-block; width: fit-content; font-size: var(--text-xs); color: var(--fg-tertiary); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full, 999px); padding: 2px 9px; }

/* ── 프로필 편집 ── */
.profile-form { max-width: 680px; }
.profile-photo-row { display: flex; align-items: center; gap: 16px; padding: var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); margin-bottom: var(--s-6); }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1B9E54, #378ADD); color: #fff; font-size: var(--text-2xl); font-weight: var(--w-bold); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-info { display: flex; flex-direction: column; gap: 2px; }
.profile-photo-info strong { font-size: var(--text-md); }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-5); }
@media (max-width: 560px) { .profile-grid { grid-template-columns: 1fr; } }

/* Premium mini banner */
.premium-mini {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--green-900) 100%);
  color: var(--neutral-0);
  border-radius: var(--r-2xl);
  padding: var(--s-8) var(--s-9);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-7);
  flex-wrap: wrap;
}
.premium-mini .ring-deco { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 280px; height: 280px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; pointer-events: none; }
.premium-mini .ring-deco::before, .premium-mini .ring-deco::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); }
.premium-mini .ring-deco::after { inset: 80px; }
.premium-mini .content { position: relative; max-width: 540px; }
.premium-mini .content .eyebrow.on-dark { color: var(--green-300); display: inline-block; margin-bottom: var(--s-3); }
.premium-mini h3 { font-size: var(--text-2xl); font-weight: var(--w-bold); margin-bottom: 6px; letter-spacing: var(--tracking-tight); }
.premium-mini p { color: rgba(255,255,255,0.78); font-size: var(--text-sm); margin: 0; }

/* Activity list */
.activity-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-5); }
.activity-list li { display: flex; align-items: flex-start; gap: var(--s-4); padding: var(--s-5) var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.activity-list li .lucide { width: 18px; height: 18px; stroke-width: 1.75; margin-top: 2px; flex-shrink: 0; }
.activity-list li strong { display: block; font-size: var(--text-sm); color: var(--fg); margin-bottom: 2px; }
.activity-list li .muted { font-size: var(--text-xs); }

/* Booking list */
.booking-list { display: flex; flex-direction: column; gap: var(--s-4); }
.booking-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-6);
  padding: var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  align-items: center;
}
@media (max-width: 720px) {
  .booking-row { grid-template-columns: 1fr; gap: var(--s-4); }
  /* 결제+상세+취소 3버튼 조합이 좁은 폭에서 넘치지 않게 줄바꿈 허용 */
  .booking-row .booking-actions { flex-direction: row; flex-wrap: wrap; }
}
.booking-date { display: flex; flex-direction: column; align-items: center; padding: var(--s-4) var(--s-5); background: var(--bg-sunken); border-radius: var(--r-md); min-width: 64px; }
.booking-date .month { font-size: var(--text-2xs); letter-spacing: var(--tracking-arrow); color: var(--fg-tertiary); font-weight: var(--w-semibold); }
.booking-date .day { font-family: var(--font-mono); font-size: var(--text-2xl); font-weight: var(--w-bold); color: var(--fg); line-height: 1; margin-top: 2px; }
.booking-info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.booking-info h4 { font-size: var(--text-base); font-weight: var(--w-semibold); color: var(--fg); }
.booking-info .meta { display: flex; flex-wrap: wrap; gap: var(--s-4); font-size: var(--text-xs); color: var(--fg-secondary); align-items: center; }
.booking-info .meta .lucide { width: 12px; height: 12px; stroke-width: 1.75; margin-right: 4px; }
.booking-info .meta span { display: inline-flex; align-items: center; }
.booking-actions { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-end; }
.booking-row--cancelled { opacity: 0.62; }
.booking-row--cancelled .booking-info h4 { text-decoration: line-through; text-decoration-color: var(--fg-secondary); }
.booking-demo-tag { font-size: var(--text-xs); padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px; align-self: flex-end; }

/* Plan card (subscription page) */
.plan-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-xl); padding: var(--s-7) var(--s-8); }
.plan-card .plan-head { display: flex; flex-direction: column; gap: 4px; padding-bottom: var(--s-5); border-bottom: 1px solid var(--border); }
.plan-card .plan-head h3 { font-size: var(--text-2xl); font-weight: var(--w-bold); color: var(--fg); }

/* Notification table */
.notif-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.notif-head, .notif-row { display: grid; grid-template-columns: 1fr 80px 80px 80px; gap: var(--s-4); padding: var(--s-5) var(--s-6); align-items: center; }
.notif-head { background: var(--bg-sunken); font-size: var(--text-xs); font-weight: var(--w-semibold); letter-spacing: var(--tracking-arrow); text-transform: uppercase; }
.notif-head .muted { text-align: center; }
.notif-row { border-top: 1px solid var(--border); }
.notif-row strong { font-size: var(--text-sm); color: var(--fg); font-weight: var(--w-semibold); }
.notif-row p { margin: 2px 0 0 0; }
.notif-row .form-check { justify-content: center; }
@media (max-width: 720px) {
  .notif-head { display: none; }
  .notif-row { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-5); }
  .notif-row .form-check::before { content: "이메일 / 푸시 / SMS"; font-size: var(--text-xs); color: var(--fg-tertiary); margin-right: 6px; }
}

/* ============================================================
   COACH DETAIL
   ============================================================ */
.coach-detail {
  display: grid; grid-template-columns: 1fr; gap: var(--s-9);
  align-items: flex-start;
}
@media (min-width: 720px) {
  .coach-detail { grid-template-columns: 280px 1fr; gap: var(--s-11); }
}
.coach-detail-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-2xl);
  background: linear-gradient(160deg, var(--green-800), var(--green-500));
  position: relative; overflow: hidden;
}
.coach-detail-photo .initial-lg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: 140px; color: rgba(255,255,255,0.30); letter-spacing: -0.06em;
}
.coach-detail-info { min-width: 0; }
.coach-stats {
  display: flex; gap: var(--s-9); flex-wrap: wrap;
  margin-top: var(--s-8); padding-top: var(--s-7);
  border-top: 1px solid var(--border);
}
.coach-stats > div { display: flex; flex-direction: column; gap: 2px; }
.coach-stats > div .muted { font-size: var(--text-xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; font-weight: var(--w-semibold); }
.coach-stats > div .mono { font-family: var(--font-mono); font-size: var(--text-2xl); font-weight: var(--w-semibold); color: var(--fg); }
.coach-contacts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-8); }
.coach-bio { font-size: var(--text-base); color: var(--fg-secondary); line-height: var(--lh-loose, 1.8); white-space: pre-line; max-width: 760px; }
/* 코치 소개 전문 (Notion 본문 렌더) */
.coach-profile { max-width: 820px; color: var(--fg-secondary); font-size: var(--text-base); line-height: var(--lh-loose, 1.8); }
.coach-profile > p { margin: 0 0 var(--s-4); }
.coach-profile .cp-h { font-size: var(--text-lg); font-weight: var(--w-bold); color: var(--brand); margin: var(--s-8) 0 var(--s-4); letter-spacing: var(--tracking-snug); }
.coach-profile .cp-h:first-child { margin-top: 0; }
.coach-profile .cp-ul { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); }
.coach-profile .cp-ul li { position: relative; padding-left: 18px; }
.coach-profile .cp-ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* ============================================================
   GALLERY ALBUM — photo grid placeholders
   ============================================================ */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 720px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .photo-grid { grid-template-columns: repeat(6, 1fr); } }
.photo-tile { aspect-ratio: 1; border-radius: var(--r-md); position: relative; overflow: hidden; }

/* ============================================================
   PRICING — Premium plan cards
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); max-width: 760px; margin: 0 auto; }
@media (min-width: 720px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }

.price-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-2xl); padding: var(--s-9) var(--s-8);
}
.price-card .eyebrow { display: inline-block; margin-bottom: var(--s-3); }
.price-card .price-num { display: flex; align-items: baseline; gap: 6px; margin-top: var(--s-4); }
.price-card .price-num .num { font-size: var(--text-5xl); font-weight: var(--w-bold); color: var(--fg); letter-spacing: -0.02em; line-height: 1; }
.price-card .price-num .cycle { font-size: var(--text-md); color: var(--fg-tertiary); }

.price-card--featured {
  border: 2px solid var(--brand);
  box-shadow: 0 14px 30px -12px rgba(27,158,84,0.30);
}

/* (Q1) 플랜 배지 = 등급색 글래스. 카드 안쪽 우상단에 배치(카드 밖으로 안 넘침) */
.best-pill {
  position: absolute; top: var(--s-5); right: var(--s-5);
  font-size: var(--text-2xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase;
  font-weight: var(--w-bold); padding: 5px 12px; border-radius: var(--r-full);
  background: rgba(200,155,26,0.18); -webkit-backdrop-filter: blur(8px) saturate(1.5); backdrop-filter: blur(8px) saturate(1.5);
  border: 1px solid rgba(200,155,26,0.5); color: #7a5e10;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 14px rgba(40,50,45,0.16);
}
.best-pill--current { background: rgba(27,158,84,0.16); border-color: rgba(27,158,84,0.5); color: #275c46; }
.price-card--current { border-color: var(--brand) !important; box-shadow: 0 0 0 2px var(--brand-soft); }

/* ============================================================
   MEMBERSHIP (/premium) — 월간·연간 토글 + 3 티어
   ============================================================ */
.billing-toggle-wrap { display: flex; justify-content: center; margin-bottom: var(--s-9); }
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--surface); }
.bt-opt { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 9px 20px; border-radius: var(--r-full); font-size: var(--text-sm); font-weight: var(--w-semibold); color: var(--fg-secondary); cursor: pointer; transition: background var(--t-fast) var(--ease-standard), color var(--t-fast) var(--ease-standard); }
.bt-opt:hover { color: var(--fg); }
.bt-opt.active { background: var(--brand); color: var(--fg-on-brand); }
.bt-save { font-size: 10px; font-weight: var(--w-bold); padding: 2px 7px; border-radius: var(--r-full); background: var(--gold-500); color: var(--neutral-900); letter-spacing: 0; }

/* 3 티어 그리드 */
.tier-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); max-width: 1080px; margin: 0 auto;
  padding: var(--s-8) var(--s-6); border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(27,158,84,0.10), rgba(200,155,26,0.07) 48%, rgba(122,62,160,0.10)); }
@media (min-width: 920px) { .tier-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
/* (Q1) 구독 카드 = 프로스트 글래스 패널 + 글래스 테두리 */
.tier-grid .price-card { display: flex; flex-direction: column;
  background: rgba(255,255,255,0.55); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.75); box-shadow: 0 14px 38px -18px rgba(40,50,45,0.45), inset 0 1px 0 rgba(255,255,255,0.6); }
.tier-grid .price-card--featured { border-color: rgba(27,158,84,0.55); }
.tier-grid .price-card--vip { border: 1px solid rgba(122,62,160,0.5); background: rgba(255,255,255,0.55); animation: none; }
.plan-tagline { font-size: var(--text-sm); color: var(--fg-tertiary); margin-top: 4px; }
.plan-sub { margin-top: var(--s-3); font-size: var(--text-sm); color: var(--fg-tertiary); }
.tier-grid .btn-block { margin-top: var(--s-7); text-decoration: none; }
.plan-hint { margin-top: var(--s-3); text-align: center; font-size: var(--text-xs); color: var(--fg-tertiary); }
.plan-hint.on-dark { color: rgba(255,255,255,0.6); }
.plan-features { list-style: none; padding: var(--s-6) 0 0; margin: var(--s-6) 0 0; border-top: 1px dashed var(--border); display: flex; flex-direction: column; gap: var(--s-3); }
.plan-features li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--text-sm); color: var(--fg-secondary); line-height: var(--lh-base); }
.plan-features li .lucide { width: 16px; height: 16px; stroke-width: 2.5; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
/* VIP 무지개 링 + 버튼 + 뱃지 (멤버십 카드 — /premium · 마이페이지 구독) */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@property --hue { syntax: '<number>'; initial-value: 0; inherits: false; }
@keyframes spin-angle { to { --angle: 360deg; } }
@keyframes shift-hue { to { --hue: 360; } }
@keyframes slide-bg { to { background-position: 300% 0; } }
.price-card--vip {
  border: 2.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--angle),
      hsl(var(--hue),95%,62%), hsl(calc(var(--hue) + 60),95%,60%), hsl(calc(var(--hue) + 120),90%,62%),
      hsl(calc(var(--hue) + 180),95%,60%), hsl(calc(var(--hue) + 240),95%,62%), hsl(calc(var(--hue) + 300),90%,60%),
      hsl(var(--hue),95%,62%)) border-box;
  animation: spin-angle 3s linear infinite, shift-hue 7s linear infinite;
}
.best-pill--vip { background: rgba(122,62,160,0.15); border-color: rgba(122,62,160,0.5); color: #67248f; animation: none; }
.btn-block--rainbow { background: linear-gradient(90deg,#ff5f6d,#ffc371,#5ee7df,#b490ca,#ff8a5f,#ff5f6d); background-size: 300% 100%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.38); border: 0; animation: slide-bg 4s linear infinite; }
.btn-block--rainbow:hover { filter: brightness(1.06) saturate(1.12); }
.btn-block--ghost { background: var(--surface); color: var(--fg); border: 1px solid var(--border-strong); box-shadow: none; }
.btn-block--ghost:hover { background: var(--surface-hover); }


/* 티어 비교표 */
.tier-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-xl); }
.tier-table { width: 100%; min-width: 600px; border-collapse: collapse; }
.tier-table th, .tier-table td { padding: 13px 16px; text-align: center; font-size: var(--text-sm); border-top: 1px solid var(--border); }
.tier-table thead th { border-top: 0; font-weight: var(--w-bold); color: var(--fg); background: var(--surface); }
.tier-table .row-label { text-align: left; color: var(--fg); font-weight: var(--w-medium); }
.tier-table tbody .row-label { font-weight: 400; color: var(--fg-secondary); }
.tier-table .col-premium { background: var(--brand-soft); }
.tier-table thead .col-premium { color: var(--brand-fg); }
.tier-table .ti-yes { width: 17px; height: 17px; stroke-width: 2.5; color: var(--brand); }
.tier-table .ti-no { color: var(--fg-tertiary); }
.tier-table .ti-val { font-weight: var(--w-semibold); color: var(--fg); font-size: var(--text-xs); }

/* Comparison table */
.compare-table {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
}
.compare-head, .compare-row {
  display: grid; grid-template-columns: 2fr 1fr 1.4fr;
  align-items: center; gap: var(--s-4);
  padding: var(--s-5) var(--s-7);
}
.compare-head {
  background: var(--bg-sunken);
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  letter-spacing: var(--tracking-arrow); text-transform: uppercase;
}
.compare-head .premium-label { color: var(--brand); }
.compare-row { border-top: 1px solid var(--border); font-size: var(--text-sm); }
.compare-row .muted { color: var(--fg-tertiary); }
.compare-row .premium-val { font-weight: var(--w-semibold); color: var(--brand-fg); }
@media (max-width: 720px) {
  .compare-head, .compare-row { grid-template-columns: 1.6fr 1fr; }
  .compare-head .premium-label { display: none; }
  .compare-row .premium-val::before { content: "Premium: "; color: var(--fg-tertiary); font-weight: var(--w-medium); margin-right: 4px; }
  .compare-row .muted::before { content: "Free: "; color: var(--fg-tertiary); font-weight: var(--w-medium); margin-right: 4px; display: inline; }
}

/* ============================================================
   ACADEMY — curriculum cards
   ============================================================ */
.curriculum-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .curriculum-grid { grid-template-columns: repeat(2, 1fr); } }
.curriculum-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--s-9) var(--s-8);
}
.curriculum-card .step-num {
  position: absolute; top: var(--s-7); right: var(--s-7);
  font-size: var(--text-5xl); font-weight: var(--w-bold); color: var(--neutral-200);
  line-height: 1; letter-spacing: -0.04em;
}
.curriculum-card h3 { font-size: var(--text-xl); font-weight: var(--w-semibold); margin-bottom: 6px; max-width: 70%; }
.curriculum-card .muted { color: var(--fg-secondary); font-size: var(--text-sm); }
.curriculum-card .foot {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px dashed var(--border);
  font-size: var(--text-sm); color: var(--fg-tertiary);
}

/* ============================================================
   ACADEMY (/archery/academy) — Notion Service-cms(Category=ACADEMY)
   ============================================================ */
/* HERO 통계 */
.academy-stats { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); color: rgba(255,255,255,0.9); font-size: var(--text-sm); }
.academy-stats strong { font-size: var(--text-lg); font-weight: var(--w-bold); color: #fff; }
.academy-stats .dot { color: rgba(255,255,255,0.4); }

/* ① 코스 사다리 카드 */
.academy-course-card { display: flex; flex-direction: column; }
.acc-course-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.acc-course-icon { width: 26px; height: 26px; stroke-width: 1.75; color: var(--brand); }
.curriculum-card .acc-course-ko { font-size: var(--text-base); font-weight: var(--w-medium); color: var(--fg-tertiary); }
.branch-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s-6); border-top: 1px dashed var(--border); }
.acc-chip-label { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: var(--tracking-arrow); color: var(--fg-tertiary); margin-right: 2px; }
.branch-chip { font-size: var(--text-xs); font-weight: var(--w-medium); color: var(--brand-fg); background: var(--brand-soft); border: 1px solid var(--border); border-radius: var(--r-full); padding: 3px 10px; }
.branch-chip--prep { color: var(--fg-tertiary); background: transparent; }

/* ② 지점별 개설 클래스 */
.academy-branches { padding: var(--s-11) 0; background: var(--bg-sunken); }
.branch-block { margin-bottom: var(--s-10); }
.branch-block:last-child { margin-bottom: 0; }
.branch-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-6); }
.branch-head .lucide { width: 22px; height: 22px; color: var(--brand); stroke-width: 1.75; }
.branch-head h3 { font-size: var(--text-2xl); font-weight: var(--w-bold); }
.branch-head-ja { font-size: var(--text-sm); color: var(--fg-tertiary); }
.academy-class-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .academy-class-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .academy-class-grid { grid-template-columns: repeat(3, 1fr); } }
.academy-class-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-7); }
.academy-class-card .acc-name { font-size: var(--text-lg); font-weight: var(--w-semibold); margin: var(--s-4) 0 var(--s-3); }
.acc-body { font-size: var(--text-sm); color: var(--fg-secondary); line-height: var(--lh-loose, 1.7); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 9; line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.acc-foot { margin-top: auto; padding-top: var(--s-5); }
.course-badge { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: var(--text-xs); font-weight: var(--w-semibold); border-radius: var(--r-full); padding: 4px 10px; border: 1px solid var(--border); color: var(--brand-fg); background: var(--brand-soft); }
.course-badge .lucide { width: 14px; height: 14px; stroke-width: 2; }

/* ③ 개설 예정 (준비중) */
.academy-prep { padding: var(--s-11) 0; }
.prep-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 720px) { .prep-grid { grid-template-columns: repeat(3, 1fr); } }
.prep-card { display: flex; flex-direction: column; gap: var(--s-4); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--r-lg); padding: var(--s-6); opacity: 0.8; }
.prep-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.prep-branch { font-size: var(--text-sm); font-weight: var(--w-medium); color: var(--fg-secondary); }

/* ============================================================
   ACADEMY — 지점 선택 · 클래스 상세 · 예약
   ============================================================ */
.btn--block { width: 100%; justify-content: center; }

/* 지점 선택 카드 */
.branch-select-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .branch-select-grid { grid-template-columns: repeat(3, 1fr); } }
.branch-select-card { display: flex; flex-direction: column; gap: var(--s-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-7); text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.branch-select-card:hover { transform: translateY(-3px); border-color: var(--brand-fg); box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.bsc-top { display: flex; align-items: center; justify-content: space-between; color: var(--brand-fg); }
.bsc-top .lucide { width: 20px; height: 20px; }
.bsc-ja { font-size: var(--text-xs); color: var(--fg-secondary); }
.bsc-name { font-size: var(--text-xl); font-weight: var(--w-bold); margin: 0; }
.bsc-tag { font-size: var(--text-sm); margin: 0; }
.bsc-foot { margin-top: auto; padding-top: var(--s-4); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); border-top: 1px solid var(--border); }
.bsc-count { font-size: var(--text-xs); color: var(--fg-secondary); }

/* 클래스 카드 — 링크형 */
.academy-class-card--link { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.academy-class-card--link:hover { transform: translateY(-3px); border-color: var(--brand-fg); box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.acc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s-2) 0 var(--s-3); }
.acc-chip { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-xs); color: var(--fg-secondary); background: var(--brand-soft); border: 1px solid var(--border); border-radius: var(--r-full); padding: 3px 9px; }
.acc-chip .lucide { width: 13px; height: 13px; }
.acc-price { font-size: var(--text-lg); font-weight: var(--w-bold); color: var(--brand-fg); }
.acc-price small { font-size: var(--text-xs); font-weight: 400; color: var(--fg-secondary); }
.academy-class-card--link .acc-foot { display: flex; align-items: center; justify-content: space-between; }

/* 클래스 상세 */
.acc-detail-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-8); align-items: start; }
@media (min-width: 960px) { .acc-detail-grid { grid-template-columns: minmax(0,1fr) 340px; } }
.acc-detail-body p { margin: 0 0 var(--s-4); line-height: var(--lh-loose, 1.7); }
.acc-detail-meta { margin-top: var(--s-7); display: flex; flex-direction: column; gap: var(--s-3); border-top: 1px solid var(--border); padding-top: var(--s-6); }
.acc-meta-row { display: flex; align-items: center; gap: var(--s-3); font-size: var(--text-sm); }
.acc-meta-row .lucide { width: 16px; height: 16px; color: var(--brand-fg); flex: none; }
.acc-meta-row .k { width: 56px; color: var(--fg-secondary); flex: none; }
.acc-meta-row .v { font-weight: var(--w-medium); }

/* 예약 카드 */
.acc-detail-side { position: sticky; top: var(--s-8); }
.acc-reserve-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-7); }
.acc-reserve-title { font-size: var(--text-lg); font-weight: var(--w-bold); margin: 0 0 var(--s-5); }
.acc-plan-list { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-6); }
.acc-plan-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px dashed var(--border); }
.acc-plan-label { font-size: var(--text-sm); }
.acc-plan-label small { color: var(--fg-secondary); }
.acc-plan-price { font-weight: var(--w-bold); color: var(--brand-fg); }
.acc-reserve-form { display: flex; flex-direction: column; gap: var(--s-3); }
.acc-f-label { font-size: var(--text-xs); font-weight: var(--w-semibold); color: var(--fg-secondary); margin-top: var(--s-2); }
.acc-reserve-form select, .acc-reserve-form input[type="date"], .acc-reserve-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-md, 8px); background: var(--surface); font: inherit; color: inherit; }
.acc-reserve-form textarea { resize: vertical; }
.acc-f-agree { display: flex; align-items: center; gap: var(--s-2); font-size: var(--text-sm); margin: var(--s-2) 0; }
.acc-pay-note { display: flex; align-items: center; gap: 6px; font-size: var(--text-xs); margin: var(--s-3) 0 0; }
.acc-pay-note .lucide { width: 14px; height: 14px; }
.acc-login-note { font-size: var(--text-sm); margin: 0 0 var(--s-4); }

/* 예약 확인 */
.reserved-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-8); }
.reserved-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-6); }
.reserved-head .lucide { width: 22px; height: 22px; color: var(--brand-fg); }
.reserved-head h2 { margin: 0; }
.reserved-summary { margin: 0 0 var(--s-7); }
.reserved-summary > div { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.reserved-summary dt { color: var(--fg-secondary); font-size: var(--text-sm); margin: 0; }
.reserved-summary dd { margin: 0; font-weight: var(--w-medium); text-align: right; }
.reserved-amount { font-size: var(--text-lg); font-weight: var(--w-bold); color: var(--brand-fg); }
.reserved-pay .btn[disabled] { opacity: .55; cursor: not-allowed; }
.reserved-pending { display: flex; align-items: flex-start; gap: 6px; font-size: var(--text-xs); margin: var(--s-3) 0 0; }
.reserved-pending .lucide { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.reserved-actions { display: flex; gap: var(--s-3); margin-top: var(--s-7); }

/* 클래스 상세 — 소개 콘텐츠(개요·테마·목적·규정) */
.acc-overview { line-height: var(--lh-loose, 1.7); margin: 0 0 var(--s-6); }
.acc-rich-block { margin: 0 0 var(--s-6); }
.acc-rich-title { display: flex; align-items: center; gap: 8px; font-size: var(--text-base, 1rem); font-weight: var(--w-bold); margin: 0 0 var(--s-3); }
.acc-rich-title .lucide { width: 18px; height: 18px; color: var(--brand-fg); }
.acc-rich-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.acc-rich-list li { position: relative; padding-left: 22px; font-size: var(--text-sm); line-height: 1.6; color: var(--fg-secondary); }
.acc-rich-list li::before { content: "·"; position: absolute; left: 6px; color: var(--fg-secondary); }
.acc-rich-list--check li::before { content: "✓"; color: var(--green-500); font-weight: 700; left: 2px; }
.acc-rich-list--rule li::before { content: "■"; color: var(--green-400); font-size: 9px; top: 5px; left: 4px; }

/* 도쿄 아카데미 소개 — 정보 카드 · 시간표 */
.tokyo-info-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 880px) { .tokyo-info-grid { grid-template-columns: repeat(3, 1fr); } }
.tokyo-info-2 { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .tokyo-info-2 { grid-template-columns: repeat(2, 1fr); } }
.tokyo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-7); }
.tokyo-card-title { display: flex; align-items: center; gap: 8px; font-size: var(--text-lg); font-weight: var(--w-bold); margin: 0 0 var(--s-4); }
.tokyo-card-title .lucide { width: 18px; height: 18px; color: var(--brand-fg); }
.tokyo-sched, .tokyo-mini { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: flex; flex-direction: column; gap: var(--s-3); }
.tokyo-sched li { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); }
.tokyo-mini li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--text-sm); line-height: 1.55; }
.tokyo-sched .lucide, .tokyo-mini .lucide { width: 15px; height: 15px; color: var(--fg-secondary); flex: none; margin-top: 2px; }
.sched-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.sched-dot--beginner { background: #2e9e5b; }
.sched-dot--standard { background: #2f74d0; }
.sched-dot--advance { background: #d23f3f; }
.tokyo-card .btn { margin-top: var(--s-3); }

/* 수강 신청 — 3-STEP 예약(캘린더·정보·결제) */
.resv-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-8); align-items: start; }
@media (min-width: 960px) { .resv-grid { grid-template-columns: minmax(0,1fr) 320px; } }
.resv-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-7); margin-bottom: var(--s-5); }
.resv-step-head { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-5); }
.resv-step-no { font-size: var(--text-xs); font-weight: var(--w-bold); letter-spacing: .05em; color: var(--brand-fg); }
.resv-step-head h2 { font-size: var(--text-lg); font-weight: var(--w-bold); margin: 0; }
.resv-plans { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.resv-plan { display: flex; flex-direction: column; gap: 2px; padding: var(--s-4) var(--s-5); border: 1px solid var(--border); border-radius: var(--r-md, 8px); background: var(--surface); cursor: pointer; min-width: 130px; }
.resv-plan--sel { border-color: var(--brand-fg); box-shadow: 0 0 0 2px var(--brand-soft); }
.resv-plan-label { font-size: var(--text-sm); }
.resv-plan-price { font-weight: var(--w-bold); color: var(--brand-fg); }
/* 캘린더 */
.cal-head { display: flex; align-items: center; justify-content: center; gap: var(--s-6); margin-bottom: var(--s-5); }
.cal-nav { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-nav .lucide { width: 16px; height: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: var(--text-xs); color: var(--fg-secondary); padding: 4px 0; }
.cal-day { aspect-ratio: 1; border: none; background: none; border-radius: var(--r-full); font: inherit; font-size: var(--text-sm); cursor: default; color: var(--fg-tertiary, #aaa); }
.cal-day--avail { color: var(--brand-fg); border: 1px solid var(--brand-fg); cursor: pointer; font-weight: var(--w-medium); }
.cal-day--avail:hover { background: var(--brand-soft); }
.cal-day--off { color: var(--fg-disabled); }
.cal-day--sel { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.cal-slots { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-6); }
.cal-slot { display: flex; align-items: center; justify-content: space-between; padding: var(--s-4) var(--s-5); border: 1px solid var(--border); border-radius: var(--r-md, 8px); background: var(--surface); cursor: pointer; font: inherit; font-size: var(--text-base, 1rem); }
.cal-slot--sel { border-color: var(--brand-fg); box-shadow: 0 0 0 2px var(--brand-soft); }
.cal-slot-cap { font-size: var(--text-xs); color: var(--fg-secondary); }
/* 정보 폼 */
.resv-form { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.resv-field { display: flex; flex-direction: column; gap: 6px; }
.resv-field label { font-size: var(--text-xs); font-weight: var(--w-semibold); color: var(--fg-secondary); }
.resv-field input { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-md, 8px); background: var(--surface); font: inherit; }
.req { color: var(--danger, #d23f3f); }
.resv-pay-method { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border: 1px solid var(--brand-fg); border-radius: var(--r-md, 8px); background: var(--brand-soft); }
.resv-pay-method .lucide { width: 22px; height: 22px; color: var(--brand-fg); }
.resv-agree { display: flex; align-items: center; gap: var(--s-2); font-size: var(--text-sm); margin-top: var(--s-4); }
.resv-error { color: var(--danger, #d23f3f); font-size: var(--text-sm); margin-top: var(--s-3); }
/* 요약 */
.resv-side { position: sticky; top: var(--s-8); }
.resv-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-7); }
.resv-summary h3 { font-size: var(--text-base, 1rem); font-weight: var(--w-bold); margin: 0 0 var(--s-4); }
.resv-summary dl { margin: 0 0 var(--s-5); }
.resv-summary dl > div { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--border); }
.resv-summary dt { color: var(--fg-secondary); font-size: var(--text-sm); margin: 0; }
.resv-summary dd { margin: 0; font-weight: var(--w-medium); text-align: right; }
.resv-amount { color: var(--brand-fg); font-weight: var(--w-bold); }

/* ============================================================
   LEGAL pages (Terms / Privacy / Tokutei)
   ============================================================ */
.legal-page { padding: var(--s-11) 0 var(--s-13); }
.legal-page h1 { font-size: var(--text-4xl); }
.legal-page h2 { font-size: var(--text-xl); color: var(--fg); font-weight: var(--w-semibold); }
.legal-page p { line-height: var(--lh-loose); }
.legal-list { padding-left: var(--s-7); display: flex; flex-direction: column; gap: 6px; margin: var(--s-3) 0; }
.legal-list li { font-size: var(--text-sm); line-height: var(--lh-loose); color: var(--fg-secondary); }
.legal-list li strong { color: var(--fg); font-weight: var(--w-semibold); }
.legal-list ul { margin-top: 4px; padding-left: var(--s-5); list-style-type: '· '; }
.legal-list ul li { font-size: var(--text-sm); color: var(--fg-tertiary); }

/* 위탁업체 표 (개인정보처리방침 5장 등) */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--s-5) 0 var(--s-7);
    font-size: var(--text-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}
.legal-table th, .legal-table td {
    padding: var(--s-4) var(--s-5);
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}
.legal-table th {
    background: var(--surface-alt, var(--brand-soft));
    font-weight: var(--w-semibold);
    color: var(--fg);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-snug);
    text-transform: uppercase;
}
.legal-table td { color: var(--fg-secondary); }
.legal-table tr:last-child td { border-bottom: none; }
@media (max-width: 600px) {
    .legal-table { font-size: var(--text-xs); }
    .legal-table th, .legal-table td { padding: var(--s-3) var(--s-4); }
}

.kv-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; margin-top: var(--s-7); }
.kv-row { display: grid; grid-template-columns: 200px 1fr; gap: var(--s-5); padding: var(--s-5) var(--s-7); border-top: 1px solid var(--border); }
.kv-row:first-child { border-top: 0; }
.kv-row .k { font-size: var(--text-xs); color: var(--fg-tertiary); font-weight: var(--w-semibold); letter-spacing: var(--tracking-snug); }
.kv-row .v { font-size: var(--text-sm); color: var(--fg); }
@media (max-width: 720px) { .kv-row { grid-template-columns: 1fr; gap: 4px; } }

/* ============================================================
   CONTACT page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-9); margin-top: var(--s-9); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 320px; gap: var(--s-11); align-items: start; } }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-9) var(--s-8); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-channels { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.contact-channels li { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.contact-channels li .lucide { width: 18px; height: 18px; stroke-width: 1.75; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.contact-channels li strong { display: block; font-size: var(--text-sm); color: var(--fg); margin-bottom: 2px; }
.contact-channels li .muted { font-size: var(--text-xs); }
.contact-channels li a { font-size: var(--text-xs); color: var(--brand); font-weight: var(--w-semibold); }

/* ============================================================
   ADMIN MODE — shell, sidebar, tables, KPI cards
   ============================================================ */
.admin-shell {
  display: grid; grid-template-columns: 1fr;
  min-height: 100vh; background: var(--bg);
}
@media (min-width: 1024px) {
  .admin-shell { grid-template-columns: 248px 1fr; }
}

.admin-side {
  background: var(--neutral-900); color: var(--neutral-200);
  padding: var(--s-7) var(--s-5); display: flex; flex-direction: column; gap: var(--s-7);
}
@media (min-width: 1024px) {
  .admin-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
}
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 4px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--neutral-0); text-decoration: none; }
.admin-brand img { width: 32px; height: 32px; }
.admin-brand strong { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--text-lg); display: block; line-height: 1; }
.admin-brand span { font-size: var(--text-2xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; color: var(--green-300); font-weight: var(--w-semibold); }

.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-nav .nav-section { font-size: var(--text-2xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; color: rgba(255,255,255,0.4); font-weight: var(--w-semibold); padding: var(--s-3) 8px 4px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-md); font-size: var(--text-sm); color: rgba(255,255,255,0.78); text-decoration: none; transition: background var(--t-fast); }
.admin-nav a:hover { background: rgba(255,255,255,0.08); color: var(--neutral-0); }
.admin-nav a.active { background: var(--green-700); color: var(--neutral-0); }
.admin-nav a .lucide { width: 16px; height: 16px; stroke-width: 1.75; }
.admin-nav .muted-link { color: rgba(255,255,255,0.4); }

.admin-user { display: flex; gap: 10px; align-items: center; padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,0.08); }
.admin-user .avatar { width: 36px; height: 36px; border-radius: var(--r-full); background: var(--green-600); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: var(--w-bold); }
.admin-user strong { font-size: var(--text-sm); color: var(--neutral-0); display: block; }
.admin-user span { font-size: var(--text-2xs); color: rgba(255,255,255,0.5); }

.admin-main { padding: var(--s-9) var(--s-9); min-width: 0; }
.admin-page { max-width: var(--maxw-content); margin: 0 auto; }
.admin-page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-7);
  flex-wrap: wrap; margin-bottom: var(--s-9);
}
.admin-page-head .eyebrow { display: block; margin-bottom: var(--s-3); }
.admin-page-head h1 { margin-bottom: 4px; }
.admin-page-head .muted { color: var(--fg-secondary); font-size: var(--text-sm); }
.admin-page-head .quick-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* KPI grid */
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-bottom: var(--s-9); }
@media (min-width: 720px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: var(--s-6) var(--s-7); display: flex; flex-direction: column; gap: 4px;
}
.kpi-label { font-size: var(--text-xs); letter-spacing: var(--tracking-arrow); text-transform: uppercase; color: var(--fg-tertiary); font-weight: var(--w-semibold); }
.kpi-num { font-family: var(--font-mono); font-size: var(--text-3xl); font-weight: var(--w-bold); color: var(--fg); line-height: 1; margin-top: 4px; }
.kpi-trend { font-size: var(--text-xs); color: var(--fg-tertiary); margin-top: 6px; }
.kpi-trend.up { color: var(--success, #00a854); }
.kpi-trend.down { color: var(--target-700); }

/* Admin section */
.admin-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-7) var(--s-8); margin-bottom: var(--s-7); }
.admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
.admin-section-head h2 { font-size: var(--text-lg); font-weight: var(--w-semibold); color: var(--fg); }

.admin-two-col { display: grid; grid-template-columns: 1fr; gap: var(--s-7); margin-top: var(--s-9); }
@media (min-width: 1024px) { .admin-two-col { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.admin-table thead th {
  text-align: left; padding: var(--s-3) var(--s-4); font-size: var(--text-2xs);
  letter-spacing: var(--tracking-arrow); text-transform: uppercase;
  color: var(--fg-tertiary); font-weight: var(--w-semibold);
  border-bottom: 1px solid var(--border);
}
.admin-table tbody td { padding: var(--s-5) var(--s-4); border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: var(--surface-hover); }
.admin-table td strong { color: var(--fg); font-weight: var(--w-semibold); display: block; }
.admin-table td .muted { color: var(--fg-tertiary); font-size: var(--text-xs); margin-top: 2px; display: block; }
.admin-table td.mono { font-family: var(--font-mono); color: var(--fg-secondary); }

/* Toolbar */
.admin-toolbar { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; margin-bottom: var(--s-5); }

/* Progress bar */
.progress-row { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.progress { height: 6px; background: var(--bg-sunken); border-radius: var(--r-full); overflow: hidden; }
.progress .bar { height: 100%; background: var(--brand); transition: width var(--t-base) var(--ease-standard); }

/* Avatar small */
.avatar-sm { width: 36px; height: 36px; border-radius: var(--r-full); background: linear-gradient(160deg, var(--green-700), var(--green-500)); color: white; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--text-md); flex-shrink: 0; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: space-between; padding: var(--s-5); }
.pager { display: flex; gap: var(--s-3); align-items: center; }
.pager .page { font-size: var(--text-sm); color: var(--fg-secondary); }

/* Message list (1:1 inquiries) */
.message-list { display: flex; flex-direction: column; gap: var(--s-3); }
.message-row {
  display: grid; grid-template-columns: 140px 1fr 100px 100px; gap: var(--s-5);
  padding: var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  align-items: flex-start;
}
.message-row.unread { background: var(--brand-soft); border-color: var(--green-100); }
.message-pri { display: flex; flex-direction: column; gap: 4px; }
.message-body h4 { font-size: var(--text-base); font-weight: var(--w-semibold); margin: 4px 0 4px; color: var(--fg); }
.message-body .message-from { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.message-body .message-from strong { font-size: var(--text-sm); color: var(--fg); }
.message-body .message-from .muted { font-size: var(--text-xs); color: var(--fg-tertiary); }
.message-body .muted { font-size: var(--text-sm); color: var(--fg-secondary); line-height: var(--lh-base); }
.message-meta { font-size: var(--text-xs); color: var(--fg-tertiary); display: flex; flex-direction: column; align-items: flex-end; }
.message-actions { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 720px) {
  .message-row { grid-template-columns: 1fr; }
}

/* ============================================================
   다크 콘솔(admin) 가독성 보정 — accent 텍스트·pill 을 다크 배경에서 잘 보이게.
   (data-theme="dark" 는 현재 admin-shell 에만 적용)
   ============================================================ */
[data-theme="dark"] .eyebrow { color: var(--green-300); }
[data-theme="dark"] .pill--red { background: rgba(216,54,42,0.18); border: 1px solid rgba(216,54,42,0.36); }
[data-theme="dark"] .pill--gold { background: rgba(200,155,26,0.16); border: 1px solid rgba(200,155,26,0.34); }
[data-theme="dark"] .pill--outline { background: var(--surface); border-color: var(--border-strong); }
[data-theme="dark"] .message-row.unread { background: rgba(27,158,84,0.14); border-color: rgba(27,158,84,0.34); }

/* 관리자 다크모드 텍스트 — 회색 보조 텍스트를 브랜드 그린 톤으로(가독성+아이덴티티, 사용자 지시 2026-07-08).
   admin-shell 스코프 변수 오버라이드라 공개 사이트 다크 토큰에는 영향 없음. */
/* 색 재평가: 셸은 data-theme=dark 지만 color 미지정 요소(페이지 제목 등)는 body(라이트)의
   계산값을 상속받아 어두운 잉크색이 됨 — 셸에서 color 를 다시 선언해 다크 --fg(#E8ECF1)로 재평가. */
.admin-shell,
.admin-shell h1, .admin-shell h2, .admin-shell h3, .admin-shell h4 { color: var(--fg); }
.admin-shell {
  --fg-secondary:  var(--green-200);   /* muted 본문·설명 (#B3E7C7) */
  --fg-tertiary:   var(--green-300);   /* 3차 텍스트 (#80D7A0) */
  --fg-quaternary: #63B584;            /* placeholder — 입력값(흰색)과 구분되는 중간 그린 */
  --fg-disabled:   #4A7A5D;
}
.admin-shell .form-label { color: var(--green-300); }
.admin-shell .admin-nav .nav-section { color: var(--green-300); }
.admin-shell .admin-nav a { color: rgba(255,255,255,0.85); }
.admin-shell .admin-nav .muted-link { color: var(--green-300); }
.admin-shell .admin-user span { color: var(--green-200); }
.admin-shell .admin-user .admin-role-badge {
  display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  background: rgba(27,158,84,0.22); color: var(--green-200); border: 1px solid rgba(128,215,160,0.35);
  align-self: flex-start;
}

/* 관리자 사이드바 언어 스위처 (JA/KO/EN) */
.admin-lang { display: flex; gap: 6px; padding: var(--s-4) 4px; }
.admin-lang a { flex: 1; text-align: center; font-size: var(--text-2xs); font-weight: var(--w-semibold); letter-spacing: 0.08em; padding: 6px 0; border-radius: var(--r-md); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.14); text-decoration: none; transition: all var(--t-fast); }
.admin-lang a:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.admin-lang a.on { background: var(--green-700); color: #fff; border-color: transparent; }

/* ============================================================
   다크 테마 — 사이트 전역 (OS 자동 + 헤더 토글). 시맨틱 토큰은 arico.css [data-theme="dark"].
   아래는 토큰을 안 쓰는 반투명/하드코딩 표면 보정 + 토글 버튼.
   ============================================================ */
:root[data-theme="dark"] { --paper: #0E1318; --shadow-lg: 0 16px 48px rgba(0,0,0,0.55); }
/* 반투명 크롬·글래스 표면 (리터럴 rgba라 토큰화 불가 → 다크 전용 보정) */
:root[data-theme="dark"] .site-header { background: rgba(15,19,24,0.82); }
:root[data-theme="dark"] .mobile-tabbar { background: rgba(15,19,24,0.9); }
:root[data-theme="dark"] .tier-grid .price-card,
:root[data-theme="dark"] .tier-grid .price-card--vip { background: rgba(26,33,43,0.6); border-color: rgba(255,255,255,0.12); }
/* 홈 히어로 이벤트 타일(atomic green-50 / 리터럴 blue tint) + 그라데이션 글자 밝게 */
:root[data-theme="dark"] .hero2-ev-ic.tg { background: rgba(27,158,84,0.18); color: #34D27F; }
:root[data-theme="dark"] .hero2-ev-ic.tb { background: rgba(46,116,196,0.22); color: #6FA8E8; }
:root[data-theme="dark"] .hero2-card { box-shadow: 0 14px 44px rgba(0,0,0,0.45); }
:root[data-theme="dark"] .grad-text { background: linear-gradient(120deg, #34D27F, #5B9CE0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* 테마 토글 버튼 — 라이트=달 아이콘(다크로 전환), 다크=해 아이콘(라이트로 전환) */
.theme-toggle .to-light { display: none; }
:root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .to-light { display: inline-block; }

/* ── 모바일 첫 방문 온보딩 (MobileOnboarding, JS 게이트) ── */
.onb { position: fixed; inset: 0; z-index: 1200; background: var(--surface); overflow: hidden; }
.onb[hidden] { display: none; }
.onb-card { width: 100%; height: 100%; overflow: hidden; }
.onb-track { display: flex; width: 100%; height: 100%; transition: transform .32s cubic-bezier(.4,0,.2,1); }
.onb-slide { flex: 0 0 100%; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; padding: 60px 28px calc(28px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; }
.onb-splash { background: linear-gradient(150deg, #1B9E54 0%, #2E74C4 100%); justify-content: center; padding-top: 28px; }
.onb-logo { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.onb-logo img { width: 60px; height: 60px; }
.onb-logo span { color: #fff; font-size: 28px; font-weight: var(--w-bold); font-family: var(--font-display); letter-spacing: .03em; }
.onb-img { width: 100%; max-width: 300px; aspect-ratio: 1 / .8; margin: 12px 0 28px; border-radius: 24px; background: #EAF4EF; display: flex; align-items: center; justify-content: center; }
.onb-img i { width: 60px; height: 60px; color: #1B9E54; stroke-width: 1.5; }
.onb-img--blue { background: #EAF1F7; }
.onb-img--blue i { color: #2E74C4; }
.onb-t { font-size: 23px; font-weight: var(--w-bold); text-align: center; color: var(--fg); line-height: 1.3; margin: 0; }
.onb-d { font-size: 15px; color: var(--fg-secondary); text-align: center; line-height: 1.6; margin: 12px auto 0; max-width: 300px; }
.onb-dots { display: flex; justify-content: center; gap: 7px; margin: 22px 0; }
.onb-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--border-strong, #d4d4d4); transition: width .2s; }
.onb-dot.on { width: 22px; background: linear-gradient(90deg, #1B9E54, #2E74C4); }
.onb-cta { display: flex; gap: 12px; margin-top: auto; width: 100%; max-width: 360px; }
.onb-splash .onb-cta { margin-top: auto; }
.onb-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 26px; font-size: 16px; font-weight: var(--w-semibold); font-family: inherit; border: 0; cursor: pointer; text-decoration: none; }
.onb-btn--grad { background: linear-gradient(135deg, #1B9E54, #2E74C4); color: #fff; }
.onb-btn--ghost { background: var(--surface-hover); color: var(--fg-secondary); }
.onb-btn--light { background: #fff; color: #1B9E54; }
.onb-btn--ghost-light { background: rgba(255,255,255,.2); color: #fff; }
.onb-browse { margin: 16px auto 0; background: 0; border: 0; color: var(--fg-tertiary); font-size: 13px; text-decoration: underline; cursor: pointer; font-family: inherit; }
.onb-slide--end { justify-content: center; }
.onb-slide--end .onb-cta { margin-top: 24px; }

/* ============================================================
   마켓플레이스 스타일 (캡쳐 기준) — 헤더(mk-hdr) + 홈(mk-hero·mk-marquee·mk-card)
   토큰 기반이라 다크 모드 자동 적용. 더미 이미지는 picsum(추후 교체).
   ============================================================ */

/* ── 공통 검색 박스 ── */
.mk-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 6px 6px 6px 12px; }
.mk-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--fg); outline: none; }
.mk-search input::placeholder { color: var(--fg-quaternary); }
.mk-search-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--fg-secondary); white-space: nowrap; padding-right: 10px; border-right: 1px solid var(--border); }
.mk-search-cat .lucide { width: 15px; height: 15px; }
.mk-search-cat .cv { width: 12px; height: 12px; opacity: .55; }
.mk-search-go { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; cursor: pointer; flex: none; }
.mk-search-go .lucide { width: 16px; height: 16px; }

/* ── 헤더 ── */
.mk-hdr { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border); }
.mk-hdr-util { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; max-width: var(--maxw-content); margin: 0 auto; padding: 10px var(--s-7); }
.mk-hdr-side { display: flex; align-items: center; gap: 8px; }
.mk-hdr-left { justify-self: start; }
.mk-burger { display: none; }
.mk-hdr-brand { justify-self: center; display: inline-flex; align-items: center; }
.mk-hdr-brand .brand-logo { height: 32px; display: block; }
.mk-hdr-actions { justify-self: end; }
.mk-hdr-auth { display: flex; align-items: center; gap: 8px; }
.mk-hdr-actions .auth-action { padding-top: 7px; padding-bottom: 7px; }
.mk-hdr-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; padding: 6px var(--s-7); border-top: 1px solid var(--border); }
.mk-nav-item { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; font-size: 14px; font-weight: 500; color: var(--fg-secondary); border-radius: 8px; white-space: nowrap; transition: background var(--t-fast) var(--ease-standard), color var(--t-fast) var(--ease-standard); }
.mk-nav-item .lucide { width: 16px; height: 16px; color: var(--fg-tertiary); }
.mk-nav-item:hover { color: var(--fg); background: var(--surface-hover); }
.mk-nav-item.active { color: var(--brand); background: var(--brand-soft); }
.mk-nav-item.active .lucide { color: var(--brand); }
.mk-search--mobile { display: none; }
/* 언어 드롭다운 — 새 헤더에서 hover/focus 로 열기 (JS 의존 제거) */
.mk-hdr .lang-dd { position: relative; }
.mk-hdr .lang-dd:hover .lang-dropdown, .mk-hdr .lang-dd:focus-within .lang-dropdown { display: block; }

/* 기본 숨김은 미디어 블록보다 먼저 — 동일 특이도라 소스 순서가 승부처(뒤에 두면 모바일에서도 none 이 이김) */
.mk-hdr-search { display: none; }
@media (max-width: 860px) {
  /* 시안(2026-09): 햄버거 제거 — 탭바 "메뉴" 탭이 풀스크린 메뉴를 담당. 상단은 로고+검색+프로필만 */
  .mk-hdr-nav { display: none; }
  .mk-hdr-search { display: inline-flex; }
  .mk-hdr-actions .auth-label { display: none; }
  .mk-hdr-actions .auth-action { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 480px) {
  .mk-hdr-util { gap: 8px; padding: 10px var(--s-5); }
}

/* ── 헤더 검색바(좌) + 카테고리 드롭다운 + 3점 메뉴(우) + 테마 세그먼트 ── */
.mk-search--hdr { display: flex; align-items: center; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 3px; min-width: 260px; max-width: 400px; flex: 1; }
.mk-cat-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 0; background: transparent; border-radius: 9px; font: inherit; font-size: 13px; color: var(--fg-secondary); cursor: pointer; white-space: nowrap; }
.mk-cat-btn:hover { color: var(--fg); background: var(--surface-hover); }
.mk-cat-btn .lucide { width: 15px; height: 15px; }
.mk-cat-btn .cv { width: 12px; height: 12px; opacity: .55; }
.mk-search-form { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; border-left: 1px solid var(--border); padding-left: 6px; }
.mk-search-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--fg); outline: none; }
.mk-search-form input::placeholder { color: var(--fg-quaternary); }

.mk-dd { position: relative; }
.mk-dd-menu { position: absolute; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-4); padding: 8px; min-width: 260px; z-index: 70; display: none; }
.mk-dd.open .mk-dd-menu { display: block; }
.mk-cat-menu { left: 0; }
.mk-dd.open .mk-cat-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
/* All Menu 메가 드롭다운 — Platform Service · ARICO 소개 · My ARICO 3열 + 테마 토글 (구 3점 메뉴 통합) */
.mk-dd.open .mk-cat-menu--mega { display: flex; gap: 10px; padding: 14px; width: max-content; max-width: min(92vw, 680px); flex-wrap: wrap; }
.mk-cat-menu--mega .mk-dd-group { min-width: 185px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mk-cat-menu--mega .mk-dd-h { font-size: 12px; font-weight: var(--w-semibold); color: var(--fg-tertiary); letter-spacing: .03em; padding: 4px 12px 8px; }
.mk-dots-menu { right: 0; }
.mk-dd-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--fg-secondary); width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; font-family: inherit; }
.mk-dd-item .lucide { width: 17px; height: 17px; color: var(--fg-tertiary); flex: none; }
.mk-dd-item:hover { background: var(--surface-hover); color: var(--fg); }
.mk-dd-item--accent { color: var(--brand-fg); font-weight: var(--w-semibold); }
.mk-dd-item--accent .lucide { color: var(--brand-fg); }
.mk-dd-item--accent:hover { background: var(--brand-soft); color: var(--brand-fg); }
.mk-dd-sep { height: 1px; background: var(--border); margin: 7px 6px; }
.mk-dots-btn .lucide { width: 20px; height: 20px; }

.mk-theme-seg { display: flex; gap: 4px; background: var(--bg-sunken); border-radius: 11px; padding: 4px; }
.mk-theme-opt { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 500; color: var(--fg-secondary); cursor: pointer; }
.mk-theme-opt .lucide { width: 15px; height: 15px; }
[data-theme="dark"] .mk-theme-opt[data-theme-set="dark"],
[data-theme="light"] .mk-theme-opt[data-theme-set="light"] { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-1); }

/* 모바일 2단 메뉴 (Resources / Menu) — flex:1+overflow 로 짧은 화면(SE·가로모드)에서도 하단 항목 도달 */
.mk-mnav-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 4px 20px calc(32px + env(safe-area-inset-bottom)); flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 480px) { .mk-mnav-cols { grid-template-columns: 1fr; gap: 8px; } }
/* 모바일 메뉴 상단 검색 — 헤더 검색창의 모바일 대체 */
.mk-mnav-search { display: flex; align-items: center; gap: 10px; margin: 12px 20px 6px; padding: 0 16px; height: 48px; flex: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full); }
.mk-mnav-search .lucide { width: 18px; height: 18px; color: var(--brand); flex: none; }
.mk-mnav-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--fg); outline: none; }
.mk-mnav-search input::placeholder { color: var(--fg-quaternary); }
/* 메뉴 내 언어 세그먼트 — 터치 타깃 확보 */
.lang-switch--mnav { margin-top: 12px; }
.lang-switch--mnav a { padding: 10px 14px; font-size: var(--text-xs); }
.mk-mnav .mobile-nav-head { padding-left: 20px; padding-right: 20px; }
.mk-mnav-h { font-size: 13px; font-weight: var(--w-semibold); color: var(--fg-tertiary); margin-bottom: 6px; }
.mk-mnav-link { display: flex; align-items: center; gap: 12px; padding: 13px 0; font-size: 16px; color: var(--fg); }
.mk-mnav-link .lucide { width: 21px; height: 21px; color: var(--fg-secondary); flex: none; }
.mk-mnav-cta { width: 100%; margin-top: 14px; justify-content: center; }
.mk-theme-seg--block { margin-top: 14px; }

@media (max-width: 860px) {
  .mk-search--hdr { display: none; }
  .mk-dots-dd { display: none; }
  /* 모바일: 우측 auth 아이콘만 노출(라벨 숨김) */
  .mk-hdr-auth .auth-label { display: none; }
  .mk-hdr-auth .auth-action { padding-left: 8px; padding-right: 8px; }
}

/* ── 히어로 캐러셀 ── */
.mk-hero { position: relative; width: min(var(--maxw-content), 100% - 48px); margin: 20px auto 4px; height: clamp(360px, 44vw, 600px); border-radius: 18px; overflow: hidden; background: var(--bg-sunken); }
.mk-hero-track { position: absolute; inset: 0; }
.mk-hero-slide { position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: center; opacity: 0; transition: opacity 1s var(--ease-standard); }
.mk-hero-slide.on { opacity: 1; }
.mk-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.5) 100%); }
.mk-hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 24px; }
/* 슬라이드별 문구 오버레이 — 활성 슬라이드와 함께 크로스페이드 (site.js 가 .on 토글) */
.mk-hero-text { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease-standard); pointer-events: none; }
.mk-hero-text.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .mk-hero-text { transition: none; } }
.mk-hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 54px); color: #fff; letter-spacing: .04em; text-shadow: 0 2px 18px rgba(0,0,0,.4); margin: 0; }
.mk-hero-sub { font-size: clamp(13px, 2vw, 18px); color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.4); margin: 0 0 6px; }
.mk-search--hero { width: min(560px, 94%); background: rgba(255,255,255,.97); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.mk-search--hero input { color: #1a1d22; }
.mk-search--hero .mk-search-cat { color: #4a4f57; border-color: rgba(0,0,0,.1); }
.mk-hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.mk-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s, background .25s; }
.mk-dot.on { width: 22px; background: #fff; }

/* ── 섹션 제목 / More ── */
.mk-sec-title { font-size: var(--text-xl); font-weight: var(--w-bold); letter-spacing: .01em; color: var(--fg); margin: 0; }
.mk-sec-title--lg { font-size: var(--text-2xl); }
.mk-cats-sec { padding: 24px 0 28px; }
.mk-cats-sec .mk-sec-title { margin-bottom: 16px; }
/* 카테고리 섹션 바로 뒤(ACADEMY)와의 큰 빈 간격 제거 — 콘텐츠 높이에 맞춤 */
.mk-cats-sec + section.section { padding-top: var(--s-9); }
.mk-row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mk-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--fg-secondary); white-space: nowrap; }
.mk-more .lucide { width: 15px; height: 15px; }
.mk-more:hover { color: var(--brand); }
.mk-sec-alt { background: var(--bg-sunken); }

/* ── Service Categories 마퀴 (우→좌) ── */
.mk-marquee { width: min(var(--maxw-content), 100% - 48px); margin: 0 auto; overflow: hidden; padding: 6px 0 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.mk-marquee-track { display: flex; gap: 16px; width: max-content; animation: mk-scroll 55s linear infinite; }
.mk-marquee:hover .mk-marquee-track { animation-play-state: paused; }
@keyframes mk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mk-cat { flex: 0 0 auto; width: 168px; }
.mk-cat-img { width: 168px; height: 108px; border-radius: 12px; background-size: cover; background-position: center; border: 1px solid var(--border); background-color: var(--bg-sunken); }
.mk-cat-label { display: block; text-align: center; margin-top: 9px; font-size: 13px; font-weight: 500; color: var(--fg-secondary); }
.mk-cat:hover .mk-cat-label { color: var(--fg); }

/* ── 마켓 카드 그리드 ── */
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
/* 4열 변형 (ACADEMY 4지점) */
.mk-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .mk-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mk-grid--4 { grid-template-columns: 1fr; } }
.mk-card { display: block; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); transition: transform var(--t-fast) var(--ease-standard), box-shadow var(--t-fast) var(--ease-standard); }
.mk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.mk-card-img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: var(--bg-sunken); }
.mk-card-body { padding: 11px 13px 13px; }
.mk-card-title { font-size: 14px; font-weight: var(--w-semibold); color: var(--fg); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.mk-card-tag { font-size: 12px; color: var(--fg-tertiary); }
.mk-heart { color: var(--fg-quaternary); display: inline-flex; }
.mk-heart .lucide { width: 16px; height: 16px; }
.mk-card:hover .mk-heart { color: var(--brand); }

/* ── 커뮤니티 밴드 (라이트 회색) ── */
.mk-community { background: var(--bg-sunken); border-top: 1px solid var(--border); text-align: center; padding: clamp(48px, 8vw, 88px) var(--s-7); }
.mk-community h2 { font-size: var(--text-3xl); font-weight: var(--w-bold); letter-spacing: var(--tracking-tight); color: var(--fg); margin: 0 0 14px; }
.mk-community p { max-width: 560px; margin: 0 auto 22px; color: var(--fg-secondary); line-height: var(--lh-loose); }

@media (prefers-reduced-motion: reduce) {
  .mk-marquee-track { animation: none; }
  .mk-hero-slide { transition: none; }
}

/* ============================================================
   ARICO HUB — 리스트(/hub/{slug}) + 상세(/hub/{slug}/{id}) (캡쳐 스타일)
   토큰 기반(다크 자동). 이미지 picsum 더미.
   ============================================================ */
.hub-list { padding: clamp(36px, 6vw, 72px) 0 80px; }
.hub-list-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 5vw, 52px); }
.hub-list-title { font-size: clamp(34px, 6vw, 64px); font-weight: var(--w-bold); letter-spacing: var(--tracking-tight); color: var(--fg); margin: 0; }
.hub-list-desc { font-size: var(--text-lg); color: var(--fg-secondary); line-height: var(--lh-loose); margin: 16px 0 0; }
.hub-filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.hub-filter-left { display: flex; gap: 10px; flex-wrap: wrap; }
.hub-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: var(--r-full); background: var(--surface-hover); font-size: 14px; font-weight: 500; color: var(--fg); }
.hub-chip .lucide { width: 15px; height: 15px; opacity: .6; }
.hub-all { font-size: 14px; color: var(--fg-tertiary); font-weight: 500; }

.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { display: block; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform var(--t-fast) var(--ease-standard), box-shadow var(--t-fast) var(--ease-standard); }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.hub-card-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: var(--bg-sunken); }
.hub-card-body { padding: 14px 16px 16px; }
.hub-card-row1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hub-card-title { font-size: 15px; font-weight: var(--w-semibold); color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-card-badge { font-size: 12px; font-weight: 600; color: var(--fg-secondary); background: var(--surface-hover); border-radius: var(--r-full); padding: 3px 10px; flex: none; }
.hub-card-row2 { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.hub-card-cat { font-size: 13px; color: var(--fg-tertiary); }

/* 상세 */
.hub-detail { padding: clamp(20px, 3vw, 36px) 0 80px; }
.hub-crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg-tertiary); margin-bottom: 24px; flex-wrap: wrap; }
.hub-crumb a { color: var(--fg-secondary); }
.hub-crumb a:hover { color: var(--brand); }
.hub-crumb .cur { color: var(--fg); font-weight: 500; }
.hub-detail-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .hub-detail-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.hub-gallery-main { aspect-ratio: 4 / 3.2; border-radius: 18px; background-size: cover; background-position: center; background-color: var(--bg-sunken); border: 1px solid var(--border); }
.hub-gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.hub-thumb { width: 84px; height: 64px; border-radius: 10px; background-size: cover; background-position: center; border: 1px solid var(--border); cursor: pointer; }
.hub-thumb.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.hub-info-title { font-size: clamp(26px, 4vw, 40px); font-weight: var(--w-bold); letter-spacing: var(--tracking-tight); color: var(--fg); margin: 0; }
.hub-info-sub { font-size: var(--text-lg); color: var(--fg-tertiary); margin: 8px 0 0; }
.hub-info-price { font-size: var(--text-xl); font-weight: var(--w-semibold); color: var(--fg); margin: 18px 0 0; }
.hub-meta { margin: 22px 0 0; border-top: 1px solid var(--border); }
.hub-meta-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--border); }
.hub-meta-row dt { display: flex; align-items: center; gap: 4px; font-size: 15px; color: var(--fg-secondary); margin: 0; }
.hub-meta-row dt .lucide { width: 16px; height: 16px; color: var(--fg-tertiary); }
.hub-meta-row dd { font-size: 15px; color: var(--fg); font-weight: 500; margin: 0; }
.hub-download { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 14px; background: var(--fg); color: var(--bg); font-size: 16px; font-weight: var(--w-semibold); margin-top: 26px; transition: opacity var(--t-fast); }
.hub-download:hover { opacity: 0.9; }
.hub-access { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; }
.hub-access span { font-size: 14px; color: var(--fg-secondary); line-height: 1.5; }
.hub-access .btn { flex: none; white-space: nowrap; }
.hub-about { margin-top: clamp(40px, 6vw, 72px); max-width: var(--maxw-prose); }
.hub-about-h { font-size: var(--text-2xl); font-weight: var(--w-bold); color: var(--fg); margin: 0 0 14px; }
.hub-about p { font-size: var(--text-md); color: var(--fg-secondary); line-height: var(--lh-loose); }

/* ============================================================
   모바일 퀵윈 (2026-09 런칭 대비) — 터치 타깃·iOS 줌·마퀴·캐러셀·사이드nav
   파일 끝 배치 = 같은 특이도의 앞선 규칙을 확실히 덮음
   ============================================================ */
/* 터치 타깃 44px — 햄버거·닫기·로그인 아이콘 (18px 아이콘 + 8px 패딩 = 34px 이던 것) */
@media (max-width: 860px) {
  .icon-btn { min-width: 44px; min-height: 44px; }
  .lang-switch a { padding: 10px 12px; }
  .booking-actions .btn--sm { min-height: 40px; }
  /* 탭바 자리 body 패딩 — 탭바가 없는 관리자 셸에선 제거 (마이페이지는 시안 재설계로 탭바 노출) */
  body:has(.admin-shell) { padding-bottom: 0; }
}
/* iOS Safari: 16px 미만 입력 포커스 시 강제 줌 → 모바일에서만 입력 폰트 16px */
@media (max-width: 860px) {
  .form-control, .resv-field input, .resv-field select { font-size: 16px; }
}
/* 마켓 카드 제목 — 초소형 폭에서 한 줄 말줄임 대신 두 줄 표시(잘림 완화) */
@media (max-width: 480px) {
  .mk-card-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
/* Service Categories 마퀴 — 터치에선 정지·스크롤 불가하므로 스와이프 레일로 전환 */
@media (max-width: 860px) {
  .mk-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; -webkit-mask-image: none; mask-image: none; padding-bottom: 10px; }
  .mk-marquee-track { animation: none; }
  .mk-cat { scroll-snap-align: start; }
  /* 무한루프용 복제 세트(rep==1, aria-hidden)는 레일 모드에선 목록이 두 번 보이므로 숨김 */
  .mk-marquee .mk-cat[aria-hidden="true"] { display: none; }
}
/* 히어로 캐러셀 도트 — 8px 시각 크기 유지 + 보이지 않는 히트 영역 확장 */
.mk-hero-dots { gap: 12px; }
.mk-dot { position: relative; }
.mk-dot::after { content: ""; position: absolute; inset: -12px -6px; }
/* 홈(허브) 모바일 — 시안(2026-09): 히어로 세로형 이미지 스왑 + 섹션 세로 그리드를 가로 스냅 레일(2.2장+peek)로 */
@media (max-width: 720px) {
  .mk-hero { height: clamp(340px, 92vw, 480px); width: calc(100% - 32px); }
  .mk-hero-slide { background-image: var(--hero-img-m, var(--hero-img)); }
  .mk-grid { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; gap: 12px; padding-bottom: 10px; scrollbar-width: none; }
  .mk-grid::-webkit-scrollbar { display: none; }
  .mk-grid > * { flex: 0 0 46%; min-width: 46%; scroll-snap-align: start; }
}

/* 마이페이지 가로 사이드nav — 우측 페이드로 스크롤 가능성 힌트 + 터치 높이 보강 */
@media (max-width: 1023px) {
  .side-nav { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  /* 끝까지 스크롤하면(또는 스크롤 불필요하면) 페이드 해제 — 마지막 항목(로그아웃)이 계속 흐려 보이지 않게. site.js 가 .at-end 토글 */
  .side-nav.at-end { -webkit-mask-image: none; mask-image: none; }
  .side-nav a, .side-nav .side-logout, .side-nav .side-tv { padding-top: 12px; padding-bottom: 12px; }
  /* 시안(2026-09): 사이드바 적층 최소화 — 콤팩트 유저 헤더(작은 아바타+이름, 이메일 숨김) */
  .app-shell .mypage-side { padding: 10px 16px 6px; gap: 8px; }
  .app-shell .user-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .app-shell .user-card .avatar { width: 40px; height: 40px; font-size: 16px; }
  .app-shell .user-card .ident .muted { display: none; }
  .app-shell .mcv-btn { padding: 10px 14px; }
}

/* 예약 플로우 진행 단계 표시(시안 2026-09) — 재렌더 영역이라 아이콘 대신 텍스트·유니코드 */
.rsv-progress { display: flex; align-items: center; gap: 8px; margin-bottom: var(--s-6); }
.rsv-p { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: var(--w-medium); color: var(--fg-tertiary); white-space: nowrap; }
.rsv-p .n { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-sunken); font-size: 11px; font-weight: var(--w-bold); color: var(--fg-tertiary); }
.rsv-p.on { color: var(--fg); font-weight: var(--w-semibold); }
.rsv-p.on .n { background: var(--neutral-900); color: var(--neutral-0); }
.rsv-p.done { color: var(--brand-fg); }
.rsv-p.done .n { background: var(--brand-soft); color: var(--brand-fg); }
.rsv-p-bar { flex: 1; height: 2px; background: var(--border); border-radius: 2px; min-width: 12px; }
.rsv-p-bar.done { background: var(--green-300); }
/* 자동 스크롤 목적지 — sticky 사이트 헤더(모바일 ~53px) 아래로 단계 헤더가 숨지 않게 여유 포함 */
#rsv-step-time, #rsv-step-info { scroll-margin-top: 64px; }
/* 예약 모바일 터치 타깃 — 시간 슬롯·달력 */
@media (max-width: 860px) {
  .rsv-slot { min-height: 44px; }
  .rsv-cal-nav { min-width: 44px; min-height: 44px; }
  .rsv-day { min-height: 44px; }
}


/* 이벤트 상세 모바일 고정 CTA 바 — 탭바 위에 얹힘 */
.event-ctabar { display: none; }
@media (max-width: 860px) {
  .event-ctabar {
    display: flex; position: fixed; left: 0; right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 39;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 10px 16px; gap: 14px; align-items: center;
  }
  .event-ctabar .ec-price { display: flex; flex-direction: column; line-height: 1.25; }
  .event-ctabar .ec-lbl { font-size: var(--text-2xs); color: var(--fg-tertiary); }
  .event-ctabar .ec-price strong { font-size: var(--text-lg); }
  .event-ctabar .ec-seats { font-size: var(--text-2xs); color: var(--brand-fg); font-weight: var(--w-semibold); }
  .event-ctabar .ec-btn { flex: 1; justify-content: center; min-height: 48px; }
  body:has(.event-ctabar) { padding-bottom: calc(148px + env(safe-area-inset-bottom)); }
}
:root[data-theme="dark"] .event-ctabar { background: rgba(15,19,24,0.95); }

/* ============================================================
   리뉴얼 2026-11 (docs/42, 대한항공 벤치마크) — 공용 셸·컴포넌트 레이어 (rn-*)
   파일 끝 배치 = 같은 특이도의 앞선 규칙을 덮음. 색·라운드 토큰은 arico-tokens.css --rn-*.
   흰 바탕 · 네이비 잉크 · 24/16/12 라운드 · 그린 = 유일한 액션 컬러.
   ============================================================ */
.rn-wrap { max-width: 1320px; margin: 0 auto; padding-inline: 28px; }
.rn-sec { padding-block: 44px; }
.rn-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.rn-sec-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--rn-ink); margin: 0; }
.rn-sec-head a { font-size: 13px; color: var(--rn-ink-2); border-bottom: 1px solid var(--rn-line); }
.rn-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--rn-ink-3); text-transform: uppercase; margin: 0 0 12px; }
.rn-crumb { font-size: 12px; color: var(--rn-ink-3); margin-bottom: 8px; }
.rn-pagehero { background: var(--rn-wash); padding-block: 34px 40px; }
.rn-pagehero h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--rn-ink); margin: 0; }
.rn-pagehero p { color: var(--rn-ink-2); margin: 6px 0 0; }
.rn-muted { color: var(--rn-ink-2); }
@media (max-width: 860px) {
  .rn-wrap { padding-inline: 18px; }
  .rn-sec { padding-block: 26px; }
  .rn-sec-head h2 { font-size: 18px; }
  .rn-pagehero { padding-block: 14px 26px; }
  .rn-pagehero h1 { font-size: 24px; }
}

/* 버튼 · 알약 · 태그 · 카드 · 행 리스트 */
.rn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; text-decoration: none; font-family: inherit; white-space: nowrap; }
.rn-btn .lucide { width: 18px; height: 18px; }
.rn-btn-primary { background: var(--rn-green); color: #fff; }
.rn-btn-primary:hover { background: var(--rn-green-dark); color: #fff; }
.rn-btn-ghost { background: var(--surface); color: var(--rn-ink); border: 1px solid var(--rn-line); }
.rn-btn-ghost:hover { border-color: var(--rn-ink-3); }
.rn-btn-soft { background: var(--rn-green-soft); color: var(--rn-green-dark); }
.rn-btn-block { width: 100%; padding: 16px; font-size: 16px; }
.rn-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; background: var(--surface); border: 1px solid var(--rn-line); color: var(--rn-ink-2); cursor: pointer; font-family: inherit; white-space: nowrap; }
.rn-pill.on, .rn-pill[aria-pressed="true"] { background: var(--rn-ink); color: var(--bg); border-color: var(--rn-ink); }
.rn-tag { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
.rn-tag-green { background: var(--rn-green-soft); color: var(--rn-green-dark); }
.rn-tag-blue { background: var(--rn-surface-blue); color: #3B6FBF; }
.rn-tag-gray { background: var(--rn-surface-2); color: var(--rn-ink-2); }
.rn-tag-sample { background: #FFF3DB; color: #8A5A00; }
.rn-card { background: var(--surface); border-radius: var(--rn-r-lg); border: 1px solid var(--rn-line); }
.rn-rows { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.rn-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rn-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--rn-r-md); background: var(--rn-surface-blue); color: var(--rn-ink); font-weight: 600; }
.rn-row .lucide { width: 24px; height: 24px; color: var(--rn-ink); flex: none; }
.rn-row .chev { margin-left: auto; color: var(--rn-ink-3); width: 18px; height: 18px; }
.rn-row--green { background: var(--rn-green-soft); }
@media (min-width: 861px) { .rn-rows--2 { grid-template-columns: 1fr 1fr; } }

/* ── 글로벌 헤더 리뉴얼 2차(2026-11-08, 대한항공 문법): 유틸 행 + 메인 행(큰 로고 · 로고 옆 GNB · 알약 버튼) + 전체 폭 메가 드롭다운 + 지역·언어 모달 ── */
.rn-hdr { --rn-top-h: 41px; position: sticky; top: calc(-1 * var(--rn-top-h)); z-index: 50; background: var(--surface); }
.rn-top { background: var(--surface); border-bottom: 1px solid var(--rn-line); }
.rn-top-in { display: flex; justify-content: flex-end; align-items: center; gap: 24px; height: 40px; }
.rn-top-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--rn-ink-2); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; white-space: nowrap; line-height: 1; }
.rn-top-link:hover { color: var(--rn-ink); }
.rn-top-link .lucide { width: 16px; height: 16px; stroke-width: 1.8; }
.rn-top-form { display: inline-flex; margin: 0; }
.rn-main { position: relative; background: var(--surface); border-bottom: 1px solid var(--rn-line); }
.rn-main-in { display: flex; align-items: stretch; gap: 48px; height: 88px; }
.rn-brand { display: inline-flex; align-items: center; flex: none; }
.rn-brand .brand-logo { height: 46px; display: block; }
/* 다크 전용 로고가 CMS 에 없을 때(단일 .brand-logo) 어두운 헤더에서 색 워드마크가 묻히지 않게 흰색으로 반전 — 쌍(.brand-logo--light/--dark)이 있으면 CSS 스왑이 처리 */
[data-theme="dark"] .rn-brand .brand-logo:not(.brand-logo--light):not(.brand-logo--dark) { filter: brightness(0) invert(1); }
.rn-gnb { display: flex; gap: 44px; align-self: stretch; }
.rn-gnb-item { display: flex; align-items: stretch; position: static; }
.rn-gnb-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: none; border: 0; padding: 0 2px; font-family: inherit; font-weight: 500; font-size: 24px; letter-spacing: -.01em; color: var(--rn-ink); cursor: pointer; white-space: nowrap; text-decoration: none; }
.rn-gnb-btn::before { content: attr(data-label); font-weight: 700; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
.rn-gnb-item.active > .rn-gnb-btn, .rn-gnb-item.open > .rn-gnb-btn { font-weight: 700; }
.rn-gnb-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--rn-ink); border-radius: 3px 3px 0 0; opacity: 0; transition: opacity .15s; }
.rn-gnb-item.active > .rn-gnb-btn::after, .rn-gnb-item.open > .rn-gnb-btn::after { opacity: 1; }
.rn-util { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.rn-ibtn { background: transparent; border: 0; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--rn-ink); cursor: pointer; padding: 0; font-family: inherit; }
.rn-ibtn:hover { background: var(--surface-hover); }
.rn-ibtn .lucide { width: 22px; height: 22px; stroke-width: 1.8; }
.rn-pillbtn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--rn-ink); color: var(--rn-ink); font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; }
.rn-pillbtn:hover { background: var(--rn-ink); color: var(--bg); }
.rn-pillbtn .lucide { width: 18px; height: 18px; }
.rn-util-region, .rn-burger { display: none; }
/* 메가 드롭다운 — 메인 행 바로 아래 전체 폭(.rn-main 기준 absolute). 호버(CSS) 또는 클릭(.open, site.js) */
.rn-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--rn-line); box-shadow: 0 24px 48px rgba(15,35,66,.12); z-index: 60; padding: 36px 0 44px; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); overflow-y: auto; overscroll-behavior: contain; }
.rn-gnb-item.open > .rn-mega { display: block; }
@media (hover: hover) and (pointer: fine) {
  .rn-gnb-item:hover > .rn-gnb-btn { font-weight: 700; }
  .rn-gnb-item:hover > .rn-gnb-btn::after { opacity: 1; }
  .rn-gnb-item:hover > .rn-mega { display: block; }
}
.rn-mega-in { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.rn-mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.rn-mega-group h4 { margin: 0 0 10px; }
.rn-mega-group h4 a { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 700; color: var(--rn-ink); }
.rn-mega-group h4 a .lucide { width: 16px; height: 16px; }
.rn-mega-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rn-mega-group li a { display: block; padding: 8px 0; font-size: 16px; color: var(--rn-ink-2); }
.rn-mega-group li a:hover { color: var(--rn-ink); text-decoration: underline; text-underline-offset: 4px; }
.rn-mega-promos { display: grid; gap: 16px; }
.rn-mega-promo { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 16px; background: var(--rn-surface-blue); color: var(--rn-ink); min-height: 96px; text-decoration: none; }
.rn-mega-promo:hover { filter: brightness(.98); }
.rn-mega-promo.is-green { background: var(--rn-green-soft); }
.rn-mega-promo-ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.75); display: grid; place-items: center; flex: none; color: var(--rn-ink); }
[data-theme="dark"] .rn-mega-promo-ic { background: rgba(255,255,255,.08); }
.rn-mega-promo-ic .lucide { width: 24px; height: 24px; }
.rn-mega-promo-t { display: grid; gap: 4px; min-width: 0; }
.rn-mega-promo-t b { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; }
.rn-mega-promo-t b .lucide { width: 16px; height: 16px; }
.rn-mega-promo-t small { font-size: 13px; color: var(--rn-ink-2); }
/* 지역 및 언어 선택 모달 */
.rn-modal { display: none; position: fixed; inset: 0; z-index: 200; }
.rn-modal.open { display: block; }
.rn-modal-bg { position: absolute; inset: 0; background: rgba(15,35,66,.45); }
.rn-modal-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 560px); max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 24px; padding: 40px 40px 36px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.rn-modal-x { position: absolute; right: 14px; top: 14px; }
.rn-modal-card h2 { font-size: 26px; font-weight: 700; margin: 0 0 12px; color: var(--rn-ink); padding-right: 44px; }
.rn-modal-card p { margin: 0 0 24px; color: var(--rn-ink-2); font-size: 15px; line-height: 1.6; }
.rn-modal-form { display: grid; gap: 20px; }
.rn-modal-form label { display: grid; gap: 8px; font-size: 15px; font-weight: 600; color: var(--rn-ink); }
.rn-modal-form select { appearance: none; -webkit-appearance: none; width: 100%; border: 1px solid var(--rn-line); border-radius: 12px; padding: 14px 44px 14px 16px; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--rn-ink); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230F2342' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.rn-modal-form select:focus { outline: 2px solid var(--rn-green); outline-offset: 2px; }
[data-theme="dark"] .rn-modal-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E8ECF1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.rn-modal-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
body.rn-modal-lock { overflow: hidden; }
@media (max-width: 1100px) {
  .rn-main-in { gap: 28px; }
  .rn-gnb { gap: 28px; }
  .rn-gnb-btn { font-size: 20px; }
  .rn-mega-in { grid-template-columns: 1fr; gap: 28px; }
  .rn-mega-promos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .rn-top, .rn-gnb { display: none; }
  .rn-hdr { top: 0; }
  .rn-main-in { height: 60px; gap: 10px; align-items: center; }
  .rn-brand .brand-logo { height: 32px; }
  .rn-ibtn { width: 40px; height: 40px; border-radius: 10px; }
  .rn-ibtn .lucide { width: 20px; height: 20px; }
  .rn-pillbtn { height: 40px; width: 40px; padding: 0; justify-content: center; border: 0; }
  .rn-pillbtn span { display: none; }
  .rn-pillbtn:hover { background: var(--surface-hover); color: var(--rn-ink); }
  .rn-util-region, .rn-burger { display: inline-flex; }
  .rn-modal-card { padding: 28px 20px 24px; border-radius: 20px; }
  .rn-modal-card h2 { font-size: 22px; }
}

/* ── 모바일 하단 탭바 — 활성 탭 연그린 알약 (KAL 모바일 웹) ── */
@media (max-width: 860px) {
  .mobile-tabbar { padding: 6px 6px calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; }
  .mobile-tabbar a { gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--rn-ink-3); padding: 2px 0; }
  .mobile-tabbar .rn-tab-ic { width: 48px; height: 30px; display: grid; place-items: center; border-radius: 999px; }
  .mobile-tabbar a.active { color: var(--rn-ink); font-weight: 700; }
  .mobile-tabbar a.active .rn-tab-ic { background: var(--rn-green-soft); color: var(--rn-green-dark); }
  .mobile-tabbar a .lucide { width: 22px; height: 22px; }
}

/* ── 모바일 풀스크린 메뉴 (rn-mnav) ── */
.rn-mnav .mobile-nav-head { gap: 10px; }
.rn-mnav-lang { display: flex; gap: 2px; border: 1px solid var(--rn-line); border-radius: 999px; padding: 2px; margin-left: auto; }
.rn-mnav-lang a { padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--rn-ink-3); }
.rn-mnav-lang a.active { background: var(--rn-ink); color: var(--bg); }
.rn-mnav-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 20px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 18px; }
.rn-mnav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rn-mnav-tile { display: flex; align-items: center; gap: 10px; padding: 14px 14px; border-radius: var(--rn-r-md); background: var(--rn-green-soft); color: var(--rn-ink); font-weight: 700; font-size: 15px; }
.rn-mnav-tile .lucide { width: 22px; height: 22px; color: var(--rn-green-dark); flex: none; }
.rn-mnav .mk-mnav-link { padding: 11px 0; }

/* ── 푸터 (rn-ftr) ── */
footer.site-footer.rn-ftr { background: var(--surface); border-top: 1px solid var(--rn-line); padding: 34px 0 40px; color: var(--rn-ink-2); font-size: 13px; }
.rn-ftr-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 24px; }
.rn-ftr-col h4 { font-size: 13px; margin: 0 0 10px; color: var(--rn-ink); font-weight: 700; }
.rn-ftr-col ul { list-style: none; padding: 0; margin: 0; }
.rn-ftr-col li { padding: 3px 0; }
.rn-ftr-col a { color: var(--rn-ink-2); }
.rn-ftr-col a:hover { color: var(--rn-ink); }
.rn-ftr-brand p { color: var(--rn-ink-2); margin: 10px 0 0; max-width: 320px; line-height: 1.6; }
.rn-ftr-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rn-line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--rn-ink-3); align-items: center; }
@media (max-width: 860px) {
  .rn-ftr-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .rn-ftr-brand { grid-column: span 2; }
}

/* ── 서비스 · DX 허브 카드 ── */
.rn-svc-group { margin-bottom: 34px; }
.rn-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rn-svc { border-radius: var(--rn-r-lg); border: 1px solid var(--rn-line); background: var(--surface); padding: 20px 18px 18px; display: grid; gap: 10px; align-content: start; min-height: 150px; color: var(--rn-ink); transition: border-color var(--t-fast) var(--ease-standard), transform var(--t-fast) var(--ease-standard); }
.rn-svc:hover { border-color: var(--rn-green); transform: translateY(-2px); }
.rn-svc > .lucide { width: 26px; height: 26px; color: var(--rn-green-dark); }
.rn-svc h3 { font-size: 15px; font-weight: 700; margin: 0; }
.rn-svc p { font-size: 13px; color: var(--rn-ink-2); line-height: 1.5; margin: 0; }
.rn-svc--hero { background: var(--rn-wash); border-color: transparent; grid-column: span 2; }
.rn-svc--green { background: var(--rn-green-soft); border-color: transparent; grid-column: span 2; }
@media (max-width: 860px) {
  .rn-svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rn-svc { min-height: 120px; padding: 16px 14px 14px; }
}

/* ── ARICO DX 허브 — 다크 네이비 히어로(테마 무관 고정) + 폰 목업 + 멤버십 카드 비주얼 ── */
.rn-dx-hero { background: #0F2342; color: #fff; padding-block: 50px 56px; overflow: hidden; }
.rn-dx-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.rn-dx-kicker { font-size: 12px; letter-spacing: .3em; color: #8FB6F5; font-weight: 700; }
.rn-dx-hero h1 { font-size: 34px; font-weight: 800; margin: 10px 0 12px; letter-spacing: -.02em; color: #fff; }
.rn-dx-hero p { color: #B9C8E3; margin: 0; }
.rn-stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.rn-store { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; padding: 9px 14px; font-size: 13px; font-weight: 600; color: #fff; }
.rn-store .lucide { width: 18px; height: 18px; }
.rn-store small { color: #9FB3D1; font-weight: 400; font-size: 12px; }
.rn-stores--ink { margin-top: 16px; }
.rn-stores--ink .rn-store { border-color: var(--rn-line); color: var(--rn-ink); background: var(--surface); }
.rn-dx-phones { display: flex; gap: 14px; justify-content: center; }
.rn-phone { position: relative; width: 150px; height: 300px; border-radius: 28px; background: #0B1A33; border: 6px solid #223B66; overflow: hidden; }
.rn-phone--2 { transform: translateY(26px); }
.rn-phone-card { position: absolute; left: 14px; right: 14px; top: 48px; height: 100px; border-radius: 14px; background: var(--rn-grad); }
.rn-phone-line { position: absolute; left: 14px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.12); display: block; }
.rn-phone-block { height: 120px; border-radius: 14px; }
.rn-dx-cardrow { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.rn-mcard { border-radius: 20px; background: var(--rn-grad); color: #fff; padding: 22px; aspect-ratio: 1.6; max-width: 380px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--rn-shadow); }
.rn-mcard-top { display: flex; justify-content: space-between; align-items: center; }
.rn-mcard-wm { font-family: var(--tds-font-logo); letter-spacing: .14em; font-size: 20px; font-weight: 600; }
.rn-mcard-tier { font-size: 11px; letter-spacing: .24em; opacity: .9; }
.rn-mcard-name { font-weight: 700; font-size: 18px; }
.rn-mcard-no { font-family: var(--tds-font-logo); letter-spacing: .18em; font-size: 14px; opacity: .9; }
.rn-dx-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rn-dxf { border-radius: var(--rn-r-lg); padding: 22px; background: var(--rn-surface-2); display: grid; gap: 10px; align-content: start; color: var(--rn-ink); transition: transform var(--t-fast) var(--ease-standard); }
.rn-dxf:hover { transform: translateY(-2px); }
.rn-dxf > .lucide { width: 28px; height: 28px; color: var(--rn-green-dark); }
.rn-dxf h3 { font-size: 16px; font-weight: 700; margin: 0; }
.rn-dxf p { font-size: 13px; color: var(--rn-ink-2); margin: 0; line-height: 1.5; }
@media (max-width: 860px) {
  .rn-dx-hero { padding-block: 26px 32px; }
  .rn-dx-hero-in { grid-template-columns: 1fr; }
  .rn-dx-hero h1 { font-size: 26px; }
  .rn-dx-phones .rn-phone { width: 120px; height: 240px; }
  .rn-dx-cardrow { grid-template-columns: 1fr; gap: 18px; }
  .rn-dx-feats { grid-template-columns: 1fr; }
}

/* ── 홈 — 워시 히어로 + 예약 위젯 (KAL 예매 위젯 대응, SSR 폼 · 종류 전환은 :has 로 JS 없이) ── */
.rn-home-hero { background: var(--rn-wash); padding-block: 26px 46px; }
.rn-home-copy { padding: 6px 0 14px; }
.rn-home-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--rn-green-dark); margin-bottom: 6px; }
.rn-home-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; color: var(--rn-ink); margin: 0; }
.rn-home-accent { color: var(--rn-green-dark); }
.rn-wtabs { display: grid; grid-template-columns: repeat(4, 1fr); }
.rn-wtabs label { text-align: center; border-bottom: 2px solid rgba(15,35,66,.12); padding: 16px 10px; font-weight: 700; font-size: 16px; color: var(--rn-ink-2); cursor: pointer; white-space: nowrap; }
.rn-wtabs input:focus-visible + label { outline: 2px solid var(--rn-green); outline-offset: -2px; }
.rn-home-hero .rn-wrap:has(#ht-reserve:checked) label[for="ht-reserve"], .rn-home-hero .rn-wrap:has(#ht-mine:checked) label[for="ht-mine"],
.rn-home-hero .rn-wrap:has(#ht-qr:checked) label[for="ht-qr"], .rn-home-hero .rn-wrap:has(#ht-sched:checked) label[for="ht-sched"] { color: var(--rn-ink); border-bottom-color: var(--rn-ink); }
.rn-wpanel { display: none; }
.rn-home-hero .rn-wrap:has(#ht-reserve:checked) [data-tab="reserve"], .rn-home-hero .rn-wrap:has(#ht-mine:checked) [data-tab="mine"],
.rn-home-hero .rn-wrap:has(#ht-qr:checked) [data-tab="qr"], .rn-home-hero .rn-wrap:has(#ht-sched:checked) [data-tab="sched"] { display: block; }
.rn-wpanel-in { padding: 24px 28px 26px; }
.rn-wprio { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--rn-green-dark); white-space: nowrap; align-self: center; }
.rn-wprio .lucide { width: 15px; height: 15px; }
.rn-wempty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 18px 0 8px; color: var(--rn-ink-2); }
.rn-wempty .lucide { width: 34px; height: 34px; color: var(--rn-ink-3); }
.rn-wempty p { margin: 0; max-width: 520px; line-height: 1.6; }
.rn-wlist { display: grid; gap: 10px; }
.rn-wrow { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: var(--rn-r-md); border: 1px solid var(--rn-line); color: var(--rn-ink); text-decoration: none; }
.rn-wrow:hover { border-color: var(--rn-ink-3); color: var(--rn-ink); }
.rn-wdate { display: grid; place-items: center; min-width: 52px; padding-right: 14px; border-right: 1px solid var(--rn-line); }
.rn-wdate b { font-size: 22px; line-height: 1; }
.rn-wdate small { font-size: 11px; color: var(--rn-ink-2); margin-top: 2px; }
.rn-wtxt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.rn-wtxt b { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn-wtxt small { font-size: 12px; color: var(--rn-ink-2); }
.rn-wfoot { display: flex; justify-content: flex-end; gap: 18px; margin-top: 14px; font-size: 13px; font-weight: 600; }
.rn-wfoot a { color: var(--rn-ink-2); display: inline-flex; align-items: center; gap: 2px; }
.rn-wfoot a:hover { color: var(--rn-ink); }
.rn-wfoot .lucide { width: 14px; height: 14px; }
.rn-wqr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.rn-wqr-side p { margin: 0 0 14px; font-size: 14px; color: var(--rn-ink-2); line-height: 1.6; }
.rn-wqr-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.rn-wkind { display: flex; gap: 8px; margin: 18px 0 14px; flex-wrap: wrap; }
.rn-wkind input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.rn-wkind input:checked + .rn-pill { background: var(--rn-ink); color: var(--bg); border-color: var(--rn-ink); }
.rn-wkind input:focus-visible + .rn-pill { outline: 2px solid var(--rn-green); outline-offset: 2px; }
.rn-widget { position: relative; background: var(--surface); border-radius: var(--rn-r-xl); box-shadow: var(--rn-shadow); padding: 6px 28px 24px; }
.rn-wroute { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; padding: 16px 0 18px; border-bottom: 1px solid var(--rn-line); }
.rn-wbig { display: grid; gap: 4px; min-width: 0; }
.rn-wlabel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--rn-ink-2); }
.rn-wlabel .lucide { width: 16px; height: 16px; }
.rn-wselect { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A97AD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center; padding: 2px 28px 2px 0; font: 800 clamp(22px, 3vw, 30px)/1.15 var(--font-sans); letter-spacing: .01em; color: var(--rn-ink); width: 100%; min-width: 0; text-overflow: ellipsis; cursor: pointer; }
.rn-wswap { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rn-line); background: var(--surface); display: grid; place-items: center; color: var(--rn-ink-3); margin-bottom: 4px; }
.rn-wswap .lucide { width: 18px; height: 18px; }
/* 종류별 두 번째 필드 — 선택된 라디오에 맞는 것만 표시 */
.rn-widget [data-kind] { display: none; }
.rn-widget:has(#rk-academy:checked) [data-kind="academy"],
.rn-widget:has(#rk-event:checked) [data-kind="event"],
.rn-widget:has(#rk-competition:checked) [data-kind="competition"],
.rn-widget:has(#rk-equipment:checked) [data-kind="equipment"] { display: grid; }
.rn-wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.rn-wfield { display: grid; gap: 6px; padding: 16px 0 14px; border-bottom: 1px solid var(--rn-line); min-width: 0; }
.rn-winput { border: 0; background: transparent; font: 600 15px/1.4 var(--font-sans); color: var(--rn-ink); padding: 2px 0; width: 100%; min-width: 0; }
.rn-winput::placeholder { color: var(--rn-ink-3); }
.rn-wcheck { display: flex; align-items: end; gap: 8px; font-size: 13px; color: var(--rn-ink-2); padding-bottom: 18px; }
.rn-wcheck input { width: 18px; height: 18px; accent-color: var(--rn-green); margin: 0 0 2px; }
.rn-wsubmit { margin-top: 18px; }
@media (min-width: 861px) { .rn-wsubmit { width: min(100%, 420px); display: flex; margin-inline: auto; } }
@media (max-width: 860px) {
  .rn-home-hero { padding-block: 10px 28px; }
  .rn-home-copy { padding: 4px 0 8px; }
  .rn-wtabs label { font-size: 14px; padding: 13px 4px; }
  .rn-wpanel-in { padding: 18px 16px 20px; }
  .rn-wprio { width: 100%; margin: 4px 0 0; justify-content: center; }
  .rn-wqr { grid-template-columns: 1fr; }
  .rn-wkind { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
  .rn-wkind::-webkit-scrollbar { display: none; }
  .rn-widget { padding: 4px 18px 18px; }
  .rn-wroute { gap: 8px; }
  .rn-wswap { width: 32px; height: 32px; }
  .rn-wgrid { grid-template-columns: 1fr; gap: 0; }
  .rn-wcheck { padding: 14px 0; }
}

/* 홈 — 프로모션 카드 */
.rn-promo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rn-pcard { border-radius: var(--rn-r-lg); overflow: hidden; border: 1px solid var(--rn-line); background: var(--surface); color: var(--rn-ink); display: block; transition: transform var(--t-fast) var(--ease-standard), box-shadow var(--t-fast) var(--ease-standard); }
.rn-pcard:hover { transform: translateY(-3px); box-shadow: var(--rn-shadow); }
.rn-pimg { height: 170px; background-size: cover; background-position: center; position: relative; }
.rn-pnum { position: absolute; right: 12px; bottom: 10px; background: rgba(15,35,66,.6); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.rn-pbody { padding: 16px 18px 18px; }
.rn-pbody h3 { font-size: 16px; font-weight: 700; line-height: 1.45; margin: 0; }
.rn-pbody p { font-size: 13px; color: var(--rn-ink-2); margin: 4px 0 0; }
@media (max-width: 860px) {
  .rn-promo { display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; margin-inline: -18px; padding-inline: 18px; }
  .rn-promo::-webkit-scrollbar { display: none; }
  .rn-pcard { flex: 0 0 82%; }
}

/* 홈 — 알려드립니다 */
.rn-notice { list-style: none; margin: 0; padding: 0; }
.rn-notice li { border-bottom: 1px solid var(--rn-line); }
.rn-notice a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--rn-ink); }
.rn-notice b { font-weight: 600; }
.rn-notice span { color: var(--rn-ink-3); font-size: 13px; white-space: nowrap; }
@media (max-width: 860px) { .rn-notice a { flex-direction: column; gap: 4px; } }

/* 다크 배경 위 태그(팀 상세 히어로 등) */
.rn-tag--ondark { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 860px) {
}

/* 홈 — 경험 행 리스트 섹션 배경 */
.rn-home-exp { background: var(--rn-surface-2); }
.rn-home-exp .rn-rows li { list-style: none; }
.rn-home-exp .rn-rows { padding: 0; margin: 0; }

/* 홈 — 멤버십 플랜 카드 */
.rn-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rn-tier { position: relative; border-radius: var(--rn-r-xl); border: 1px solid var(--rn-line); padding: 26px 24px; background: var(--surface); display: flex; flex-direction: column; }
.rn-tier--featured { border: 2px solid var(--rn-green); }
.rn-tier-pill { position: absolute; top: -12px; left: 24px; }
.rn-tier-name { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--rn-ink-3); text-transform: uppercase; }
.rn-tier-price { font-size: 30px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -.02em; color: var(--rn-ink); }
.rn-tier-price small { font-size: 14px; color: var(--rn-ink-2); font-weight: 500; }
.rn-tier-sub { font-size: 13px; color: var(--rn-ink-2); min-height: 20px; }
.rn-tier-feats { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; flex: 1; }
.rn-tier-feats li { display: flex; gap: 9px; font-size: 14px; color: var(--rn-ink-2); }
.rn-tier-feats .lucide { width: 18px; height: 18px; color: var(--rn-green); flex: none; }
@media (max-width: 860px) { .rn-tiers { grid-template-columns: 1fr; } }

/* ── 예약 허브(/reserve) — 압축 위젯 + 좌 필터 레일 + 결과 행 (KAL 검색 결과 문법) ── */
.rn-rsv-hero { padding-block: 22px 30px; }
.rn-rsv-hero h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--rn-ink); margin: 0; }
.rn-rsv-hero > .rn-wrap > p { margin: 6px 0 0; font-size: 14px; }
.rn-widget--compact { padding: 14px 24px 16px; margin-top: 16px; }
.rn-widget--compact .rn-wroute { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 24px; border-bottom: 0; padding: 4px 0 2px; }
.rn-widget--compact .rn-wbig, .rn-widget--compact .rn-wfield { flex: 1 1 150px; padding: 6px 0 8px; border-bottom: 1px solid var(--rn-line); }
.rn-widget--compact .rn-wselect { font-size: 20px; }
.rn-widget--compact .rn-wcheck { flex: 0 1 auto; border-bottom: 0; padding: 0 0 12px; }
.rn-widget--compact .rn-wsubmit { flex: 0 0 auto; margin: 0 0 4px; width: auto; padding: 13px 24px; }
.rn-rsv-note { font-size: 13px; margin: 14px 0 0; }
.rn-rsv-note a { text-decoration: underline; }
.rn-mybk-sub { margin: 4px 0 0; font-size: 13px; }
.rn-rsv { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.rn-filter h3 { font-size: 14px; font-weight: 700; margin: 0 0 10px; color: var(--rn-ink); }
.rn-filter-group { padding: 12px 0; border-bottom: 1px solid var(--rn-line); }
.rn-filter-group h4 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rn-ink-3); margin: 0 0 8px; }
.rn-filter a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--rn-ink-2); }
.rn-filter a:hover { background: var(--surface-hover); color: var(--rn-ink); }
.rn-filter a.on { background: var(--rn-green-soft); color: var(--rn-green-dark); font-weight: 700; }
.rn-filter a .cnt { font-size: 12px; color: var(--rn-ink-3); }
.rn-kinds { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.rn-kinds a.rn-pill { text-decoration: none; }
.rn-rhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.rn-rhead h2 { font-size: 16px; font-weight: 700; margin: 0; color: var(--rn-ink); }
.rn-rhead .rn-muted { font-size: 13px; font-weight: 500; }
.rn-rlist { display: grid; gap: 14px; }
.rn-rrow { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px; border-radius: var(--rn-r-lg); border: 1px solid var(--rn-line); background: var(--surface); align-items: center; }
.rn-rrow:hover { border-color: var(--rn-ink-3); }
.rn-rdate { text-align: center; border-right: 1px solid var(--rn-line); padding-right: 14px; color: var(--rn-ink); display: grid; place-items: center; gap: 2px; min-height: 56px; }
.rn-rdate b { font-size: 26px; font-weight: 800; line-height: 1; }
.rn-rdate span { font-size: 12px; color: var(--rn-ink-2); }
.rn-rdate-text { font-size: 13px; font-weight: 700; color: var(--rn-ink-2); line-height: 1.3; }
.rn-rdate .lucide { width: 28px; height: 28px; color: var(--rn-green-dark); }
.rn-rmain { min-width: 0; }
.rn-rmain h3 { font-size: 16px; font-weight: 700; margin: 0; color: var(--rn-ink); }
.rn-rmain p { margin: 6px 0 0; font-size: 13px; color: var(--rn-ink-2); line-height: 1.5; }
.rn-rmeta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; color: var(--rn-ink-2); align-items: center; }
.rn-rmeta > span:not(.rn-tag) + span:not(.rn-tag)::before { content: "·"; margin-right: 8px; color: var(--rn-ink-3); }
.rn-rcta { text-align: right; display: grid; gap: 8px; justify-items: end; }
.rn-rprice { font-size: 18px; font-weight: 800; color: var(--rn-ink); }
.rn-rprice small { display: block; font-size: 12px; color: var(--rn-ink-3); font-weight: 500; }
.rn-rempty { padding: 40px 20px; text-align: center; border: 1px dashed var(--rn-line); border-radius: var(--rn-r-lg); color: var(--rn-ink-2); }
.rn-mybk { margin-top: 22px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rn-mybk b { color: var(--rn-ink); }
.rn-mybk-list { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--rn-ink-2); }
@media (max-width: 860px) {
  .rn-rsv-hero { padding-block: 12px 22px; }
  .rn-rsv-hero h1 { font-size: 22px; }
  .rn-widget--compact { padding: 10px 16px 14px; }
  .rn-widget--compact .rn-wroute { gap: 4px 14px; }
  .rn-widget--compact .rn-wbig, .rn-widget--compact .rn-wfield { flex: 1 1 calc(50% - 14px); }
  .rn-widget--compact .rn-wselect { font-size: 17px; }
  .rn-widget--compact .rn-wcheck { flex: 1 1 100%; padding: 8px 0 4px; }
  .rn-widget--compact .rn-wsubmit { flex: 1 1 100%; width: 100%; margin-top: 8px; }
  .rn-rsv { grid-template-columns: 1fr; gap: 16px; }
  .rn-filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
  .rn-filter::-webkit-scrollbar { display: none; }
  .rn-filter h3, .rn-filter-group h4 { display: none; }
  .rn-filter-group { display: contents; }
  .rn-filter a { flex: none; border: 1px solid var(--rn-line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
  .rn-filter a .cnt { display: none; }
  .rn-rrow { grid-template-columns: 1fr; gap: 12px; }
  .rn-rdate { border-right: 0; border-bottom: 1px solid var(--rn-line); padding: 0 0 10px; display: flex; gap: 10px; align-items: baseline; justify-content: flex-start; min-height: 0; }
  .rn-rdate b { font-size: 22px; }
  .rn-rcta { justify-items: stretch; text-align: left; }
  .rn-rcta .rn-btn { width: 100%; }
}

/* ── 예약 플로우(ReserveFlow) 리스킨 — 24px 카드 · 그린 선택 상태 · 요약 패널 (로직·클래스 변경 없음) ── */
.rsv-flow { max-width: none; }
.rsv-step { margin-top: 26px; background: var(--surface); border: 1px solid var(--rn-line); border-radius: var(--rn-r-xl); padding: 22px; }
.rsv-step-h { font-size: 16px; color: var(--rn-ink); }
.rsv-step-h .num { background: var(--rn-ink); width: 26px; height: 26px; }
.rsv-menu { border-radius: var(--rn-r-md); }
.rsv-menu.is-sel { border-color: var(--rn-green); background: var(--rn-green-soft); }
.rsv-cal { border-radius: var(--rn-r-lg); border-color: var(--rn-line); }
.rsv-cal-nav { border-radius: 8px; }
.rsv-day { border-radius: 10px; }
.rsv-day.has-slot { background: var(--rn-surface-2); font-weight: 600; color: var(--rn-ink); }
.rsv-day.has-slot::after { background: var(--rn-green); }
.rsv-day.is-sel { background: var(--rn-green); color: #fff; font-weight: 700; }
.rsv-slot { border-radius: 10px; padding: 10px 16px; font-family: inherit; font-weight: 600; }
.rsv-slot.is-sel { border-color: var(--rn-green); background: var(--rn-green-soft); color: var(--rn-green-dark); }
.rsv-sum { border: 0; background: var(--rn-surface-2); border-radius: var(--rn-r-lg); padding: 18px 20px; }
.rsv-submit { margin-top: 20px; }
.rsv-p.on .n { background: var(--rn-ink); }
.rsv-p.done { color: var(--rn-green-dark); }
.rsv-p.done .n { background: var(--rn-green-soft); color: var(--rn-green-dark); }
.rsv-p-bar.done { background: var(--rn-green); }
.rsv-done { border-radius: var(--rn-r-xl); border-color: var(--rn-line); }
.rsv-done-ico .lucide { color: var(--rn-green); }

/* ── 멤버십(/premium) — 리뉴얼: 월간/연간 CSS 토글(라디오+:has) · 티어 전체 기능 · 혜택 3종 · 비교표 · FAQ ── */
.rn-vh { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.rn-billing { display: inline-flex; gap: 8px; margin-top: 16px; }
.rn-billing .rn-pill { cursor: pointer; }
.rn-premium:has(#bill-m:checked) label[for="bill-m"], .rn-premium:has(#bill-y:checked) label[for="bill-y"] { background: var(--rn-ink); color: var(--bg); border-color: var(--rn-ink); }
.rn-premium:has(#bill-y:checked) label[for="bill-y"] .rn-tag { background: rgba(255,255,255,.18); color: #fff; }
.rn-premium .rn-bill-y { display: none; }
.rn-premium:has(#bill-y:checked) .rn-bill-y { display: inline; }
.rn-premium:has(#bill-y:checked) .rn-bill-m { display: none; }
.rn-tiers--full .rn-tier { padding-top: 30px; }
.rn-tier--current { box-shadow: 0 0 0 3px var(--rn-green-soft); border-color: var(--rn-green); }
.rn-tier-tag { font-size: 13px; color: var(--rn-ink-2); margin: 10px 0 0; }
.rn-tier-hint { font-size: 12px; color: var(--rn-ink-3); text-align: center; margin: 10px 0 0; }
.rn-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rn-benefit { border: 1px solid var(--rn-line); border-radius: var(--rn-r-lg); padding: 22px; background: var(--surface); }
.rn-benefit-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--rn-green-soft); color: var(--rn-green-dark); margin-bottom: 14px; }
.rn-benefit-ic .lucide { width: 22px; height: 22px; }
.rn-benefit h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--rn-ink); }
.rn-benefit p { font-size: 13px; color: var(--rn-ink-2); margin: 0; line-height: 1.6; }
.rn-cmp-wrap { overflow-x: auto; border: 1px solid var(--rn-line); border-radius: var(--rn-r-lg); }
.rn-cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.rn-cmp th, .rn-cmp td { padding: 13px 16px; text-align: center; border-top: 1px solid var(--rn-line); color: var(--rn-ink-2); }
.rn-cmp th { border-top: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--rn-ink-3); background: var(--rn-surface-2); }
.rn-cmp td:first-child, .rn-cmp th:first-child { text-align: left; color: var(--rn-ink); }
.rn-cmp .is-premium { background: var(--rn-green-soft); }
.rn-cmp thead .is-premium { color: var(--rn-green-dark); }
.rn-cmp-yes { width: 18px; height: 18px; color: var(--rn-green); stroke-width: 2.5; vertical-align: middle; }
.rn-cmp-no { color: var(--rn-ink-3); }
.rn-cmp-val { font-weight: 700; color: var(--rn-ink); font-size: 13px; }
.rn-faq { display: grid; gap: 10px; }
.rn-faq details { border: 1px solid var(--rn-line); border-radius: var(--rn-r-md); background: var(--surface); padding: 0 18px; }
.rn-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--rn-ink); display: flex; justify-content: space-between; gap: 12px; }
.rn-faq summary::-webkit-details-marker { display: none; }
.rn-faq summary::after { content: "+"; color: var(--rn-ink-3); font-weight: 600; }
.rn-faq details[open] summary::after { content: "\2212"; }
.rn-faq p { margin: 0; padding: 0 0 16px; font-size: 14px; color: var(--rn-ink-2); line-height: 1.65; }
@media (max-width: 860px) { .rn-benefits { grid-template-columns: 1fr; } }

/* ── 마이페이지 셸(AppShellLayout) — 프로필 밴드 + 탭 행 + 대시보드(요약·카드 티저·아이콘 행) ── */
.rn-my-head { padding-block: 26px 0; }
.rn-my-id { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rn-my-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--rn-ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; flex: none; }
.rn-my-who h1 { font-size: 24px; margin: 0; }
.rn-my-who p { margin: 6px 0 0; display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.rn-my-email { color: var(--rn-ink-2); }
.rn-my-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rn-my-actions form { margin: 0; }
.rn-btn-sm { padding: 9px 14px; font-size: 13px; }
.rn-btn-sm .lucide { width: 15px; height: 15px; }
.rn-tier-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--rn-line); border-radius: 999px; background: var(--surface); }
.rn-tier-switch form { margin: 0; }
.rn-tier-switch button { border: 0; background: transparent; border-radius: 999px; padding: 6px 11px; font: 700 11px/1 var(--font-sans); letter-spacing: .04em; color: var(--rn-ink-2); cursor: pointer; }
.rn-tier-switch button.on { background: var(--rn-ink); color: var(--bg); }
/* 테스트 등급 전환 결과 한 줄(AppShellLayout TierNote) — 프로필 밴드 아래 한 줄 전체 폭. is-warn = 서버 저장 실패(웹에만 적용) */
.rn-tier-note { flex-basis: 100%; margin: 0; text-align: right; font-size: 12px; line-height: 1.5; color: var(--rn-ink-2); }
.rn-tier-note.is-warn { color: var(--danger, #d23f3f); }
.rn-my-tabs { display: flex; gap: 4px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; }
.rn-my-tabs::-webkit-scrollbar { display: none; }
.rn-my-tabs a { flex: none; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--rn-ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.rn-my-tabs a:hover { color: var(--rn-ink); }
.rn-my-tabs a.on { color: var(--rn-ink); border-bottom-color: var(--rn-ink); }
.rn-my-main { padding-block: 30px 56px; min-height: 50vh; }
.rn-my-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rn-stat { border: 1px solid var(--rn-line); border-radius: var(--rn-r-lg); padding: 18px 20px; background: var(--surface); display: grid; gap: 4px; }
.rn-stat b { font-size: 24px; font-weight: 800; color: var(--rn-ink); letter-spacing: -.01em; }
.rn-stat b small { font-size: 14px; color: var(--rn-ink-3); font-weight: 600; }
.rn-stat b.is-green { color: var(--rn-green-dark); }
.rn-stat span { font-size: 12px; color: var(--rn-ink-2); }
.rn-my-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; margin-top: 22px; align-items: stretch; }
.rn-my-next { padding: 20px; }
.rn-my-next h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--rn-ink); }
.rn-rows--2 { grid-template-columns: 1fr 1fr; }
.rn-row-txt { display: grid; gap: 2px; min-width: 0; }
.rn-row-txt small { font-size: 12px; font-weight: 500; color: var(--rn-ink-2); line-height: 1.4; }
.rn-row--muted { background: var(--rn-surface-2); color: var(--rn-ink-2); }
.rn-row--muted .lucide { color: var(--rn-ink-3); }
button.rn-row { width: 100%; border: 0; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
.rn-my-sec { margin-top: 30px; }
.rn-my-upsell { margin-top: 26px; background: var(--rn-surface-blue); border: 0; }
@media (max-width: 860px) {
  .rn-my-head { padding-block: 16px 0; }
  .rn-my-who h1 { font-size: 20px; }
  .rn-my-actions { margin-left: 0; width: 100%; }
  .rn-tier-note { text-align: left; }
  .rn-my-tabs { margin-top: 14px; margin-inline: -18px; padding-inline: 18px; }
  .rn-my-main { padding-block: 20px 40px; }
  .rn-my-stats { grid-template-columns: 1fr 1fr; }
  .rn-my-grid { grid-template-columns: 1fr; }
  .rn-rows--2 { grid-template-columns: 1fr; }
}

/* ── 로그인·가입 카드 — 리뉴얼 톤(24px 카드 · 네이비 제목 · 둥근 입력, 마크업은 그대로) ── */
.auth-card { max-width: 440px; border-radius: var(--rn-r-xl); border-color: var(--rn-line); padding: 34px 32px 30px; }
.auth-head { text-align: left; margin-bottom: 26px; }
.auth-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--rn-ink); }
.auth-head .sub { font-size: 14px; color: var(--rn-ink-2); }
.auth-card .form-control { border-radius: 12px; padding: 13px 14px; }
.auth-card .input-group .form-control { padding-left: 40px; }
.auth-card .input-group .lead-icon { left: 14px; }
.social-btn { border-radius: 12px; padding: 12px 16px; border-color: var(--rn-line); }
.auth-foot a { color: var(--rn-green-dark); }
@media (max-width: 720px) { .auth-card { padding: 26px 20px 24px; } }

/* ── 디지털 멤버십 카드 v3(2026-11-08, KAL SKYPASS 카드 문법): 밝은 워시 세로 카드 1면 — 로고·등급 / 프로그램명 / 이름 / 회원번호(+복사) / 웨이브 / QR, 아래 Wallet 버튼.
   카드는 실물 카드처럼 테마와 무관하게 항상 밝은 톤(색은 토큰 대신 고정값). ── */
.mc2-page { display: flex; justify-content: center; padding: 6px 0 20px; }
.mc2 { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.mc2-card { position: relative; width: 360px; max-width: 100%; min-height: 540px; border-radius: 26px; padding: 26px 26px 24px; color: #0F2342; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(168deg, #FFFFFF 0%, #EEF4FD 42%, #DFF3E7 100%); box-shadow: 0 22px 54px rgba(15,35,66,.18); }
.mc2-card--premium { background: linear-gradient(168deg, #FFFFFF 0%, #E6F5EC 40%, #EAF2FD 100%); }
.mc2-card--vip { background: linear-gradient(168deg, #FFFFFF 0%, #E8EAFD 40%, #F4ECFA 100%); }
.mc2-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.mc2-logo { height: 28px; width: auto; display: block; }
.mc2-tier { font-size: 11px; letter-spacing: .22em; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(15,35,66,.28); color: #0F2342; }
.mc2-card--vip .mc2-tier { background: #0F2342; color: #fff; border-color: #0F2342; }
.mc2-card--premium .mc2-tier { background: #1B9E54; color: #fff; border-color: #1B9E54; }
.mc2-title { margin-top: 38px; font-size: 28px; letter-spacing: .08em; font-weight: 600; line-height: 1.1; position: relative; z-index: 1; }
.mc2-name { margin-top: 28px; font-size: 19px; font-weight: 600; letter-spacing: .04em; position: relative; z-index: 1; }
.mc2-no { margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 20px; letter-spacing: .14em; font-weight: 600; position: relative; z-index: 1; }
.mc2-no-val { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: rgba(15,35,66,.45); }
.mc2-no-pending { font-size: 14px; letter-spacing: 0; font-weight: 500; color: rgba(15,35,66,.6); }
.mc2-copy { width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #0F2342; cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.mc2-copy:hover { background: rgba(15,35,66,.08); }
.mc2-copy .lucide { width: 18px; height: 18px; }
.mc2-copy.is-copied { color: #157F43; }
.mc2-wave { position: absolute; left: -30%; right: -30%; top: 44%; height: 30%; pointer-events: none; border-radius: 50%; transform: rotate(-9deg);
  background: linear-gradient(100deg, transparent 22%, rgba(143,182,245,.55) 42%, rgba(255,255,255,.9) 52%, rgba(27,158,84,.28) 62%, transparent 82%); filter: blur(6px); }
.mc2-card--vip .mc2-wave { background: linear-gradient(100deg, transparent 22%, rgba(143,182,245,.6) 42%, rgba(255,255,255,.95) 52%, rgba(190,160,230,.45) 62%, transparent 82%); }
.mc2-qr { margin-top: auto; align-self: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 8px 24px rgba(15,35,66,.12); position: relative; z-index: 1; }
.mc2-qr img { display: block; width: 176px; height: 176px; }
.mc2-qr-pending { width: 176px; height: 176px; display: grid; place-content: center; text-align: center; font-size: 14px; font-weight: 600; color: #4B5B76; }
.mc2-qr-pending small { font-size: 12px; font-weight: 400; margin-top: 4px; }
.mc2-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: 10.5px; letter-spacing: .14em; color: rgba(15,35,66,.62); position: relative; z-index: 1; }
.mc2-wallet { display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: 100%; margin-top: 6px; }
.mc2-wallet-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 16px; background: #000; color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; }
.mc2-wallet-btn:hover { background: #1a1a1a; color: #fff; }
.mc2-wallet-btn .lucide { width: 22px; height: 22px; }
.mc2-wallet-btn--google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.mc2-wallet-btn--google:hover { background: #f6f6f6; color: #1f1f1f; }
.mc2-note { margin: 0; font-size: 13px; color: var(--rn-ink-2); text-align: center; }
@media (max-width: 420px) { .mc2-card { min-height: 500px; padding: 22px 20px 20px; } .mc2-title { font-size: 24px; } .mc2-qr img, .mc2-qr-pending { width: 150px; height: 150px; } }

/* ── 마이페이지 대시보드 멤버십 카드 티저 — KAL 앱 홈 "OOO 님 / SKYPASS + QR" 행 ── */
.rn-mycard { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 120px; padding: 22px 24px; border-radius: 20px; background: var(--rn-wash); color: var(--rn-ink); text-decoration: none; border: 1px solid var(--rn-line); }
.rn-mycard:hover { border-color: var(--rn-ink-3); color: var(--rn-ink); }
.rn-mycard-txt { display: grid; gap: 6px; min-width: 0; }
.rn-mycard-txt b { font-size: 20px; font-weight: 700; }
.rn-mycard-txt span { font-size: 12px; letter-spacing: .12em; font-weight: 600; color: var(--rn-ink-2); }
.rn-mycard-qr { width: 56px; height: 56px; border-radius: 14px; background: var(--rn-green); color: #fff; display: grid; place-items: center; flex: none; }
.rn-mycard-qr .lucide { width: 28px; height: 28px; }

/* ── 검색 모달 (KAL "검색" 레이어): 상단 정렬, 큰 입력, 인기/추천 검색어 칩 ── */
.rn-modal--search .rn-modal-card { top: 9vh; transform: translateX(-50%); width: min(92vw, 760px); padding: 36px 40px 28px; }
.rn-search-form { display: flex; align-items: center; gap: 8px; border: 2px solid var(--rn-ink); border-radius: 14px; padding: 6px 8px 6px 18px; }
.rn-search-input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: inherit; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--rn-ink); padding: 10px 0; }
.rn-search-input:focus { outline: none; }
.rn-search-input::placeholder { color: var(--rn-ink-3); }
.rn-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.rn-search-go { flex: none; }
.rn-search-tags { margin-top: 26px; }
.rn-search-tags h3 { font-size: 16px; font-weight: 700; margin: 0 0 14px; color: var(--rn-ink); }
.rn-search-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rn-search-chips .rn-pill { background: var(--rn-surface-blue); border-color: transparent; color: var(--rn-ink); font-weight: 600; padding: 10px 16px; font-size: 14px; }
.rn-search-chips .rn-pill:hover { background: var(--rn-ink); color: var(--bg); }
.rn-search-actions { margin-top: 24px; }
.rn-search-close { background: none; border: 0; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--rn-ink-2); cursor: pointer; padding: 6px 2px; }
.rn-search-close:hover { color: var(--rn-ink); }
@media (max-width: 860px) {
  .rn-modal--search .rn-modal-card { top: 5vh; padding: 26px 18px 22px; }
  .rn-search-input { font-size: 16px; }
  .rn-mycard-txt b { font-size: 18px; }
}

/* ── 헤더 마이페이지 팝오버 (KAL): 이름 · 카드 썸네일 · 등급/회원번호/예정 예약 · 포인트/즐겨찾기/카드 · 링크 · 푸터(전체 보기·로그아웃) ── */
.rn-popdd { position: relative; }
.rn-pillbtn--mobile { display: none; }
.rn-pop { display: none; position: absolute; right: 0; top: calc(100% + 12px); width: min(92vw, 820px); background: var(--surface); border: 1px solid var(--rn-line); border-radius: 22px; box-shadow: 0 26px 60px rgba(15,35,66,.16); padding: 26px 30px 20px; z-index: 70; color: var(--rn-ink); }
.rn-popdd.open .rn-pop { display: block; }
.rn-pop-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.rn-pop-name { display: inline-flex; align-items: center; gap: 6px; font-size: 26px; font-weight: 600; color: var(--rn-ink); }
.rn-pop-name .lucide { width: 22px; height: 22px; }
.rn-pop-card { width: 180px; height: 92px; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; color: #0F2342; background: linear-gradient(168deg, #FFFFFF 0%, #EEF4FD 42%, #DFF3E7 100%); box-shadow: 0 10px 24px rgba(15,35,66,.14); text-decoration: none; position: relative; overflow: hidden; }
.rn-pop-card--premium { background: linear-gradient(168deg, #FFFFFF 0%, #E6F5EC 40%, #EAF2FD 100%); }
.rn-pop-card--vip { background: linear-gradient(168deg, #FFFFFF 0%, #E8EAFD 40%, #F4ECFA 100%); }
.rn-pop-card-wm { font-weight: 800; letter-spacing: .14em; font-size: 13px; }
.rn-pop-card-t { font-size: 15px; letter-spacing: .1em; font-weight: 600; }
.rn-pop-card-tier { position: absolute; right: 12px; top: 11px; font-size: 10px; letter-spacing: .18em; font-weight: 700; color: rgba(15,35,66,.7); }
.rn-pop-grid { display: grid; grid-template-columns: 1.1fr 1.1fr .9fr; gap: 0 26px; }
.rn-pop-col { display: grid; align-content: start; }
.rn-pop-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rn-line); color: var(--rn-ink); text-decoration: none; font-size: 14px; }
.rn-pop-row span:first-child { color: var(--rn-ink-2); }
.rn-pop-row b { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.rn-pop-row b .lucide { width: 16px; height: 16px; color: var(--rn-ink-3); }
.rn-pop-row [data-sum].is-empty { color: var(--rn-ink-3); font-weight: 500; }
a.rn-pop-row:hover span:first-child { color: var(--rn-ink); }
.rn-pop-copy { width: 26px; height: 26px; border: 0; background: transparent; border-radius: 6px; color: var(--rn-ink); cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.rn-pop-copy:hover { background: var(--surface-hover); }
.rn-pop-copy .lucide { width: 15px; height: 15px; color: var(--rn-ink); }
.rn-pop-copy.is-copied .lucide { color: var(--rn-green-dark); }
.rn-pop-col--links { border-left: 1px solid var(--rn-line); padding-left: 26px; gap: 4px; }
.rn-pop-link { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 14px; color: var(--rn-ink); text-decoration: none; }
.rn-pop-link .lucide { width: 16px; height: 16px; color: var(--rn-ink-3); }
.rn-pop-link:hover { color: var(--rn-green-dark); }
.rn-pop-foot { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-top: 16px; font-size: 13px; }
.rn-pop-foot a, .rn-pop-foot button { color: var(--rn-ink-2); background: none; border: 0; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.rn-pop-foot a:hover, .rn-pop-foot button:hover { color: var(--rn-ink); }
.rn-pop-foot form { margin: 0; display: inline-flex; }
@media (max-width: 1100px) { .rn-pop-grid { grid-template-columns: 1fr 1fr; } .rn-pop-col--links { grid-column: span 2; border-left: 0; padding-left: 0; border-top: 1px solid var(--rn-line); padding-top: 6px; } }
@media (max-width: 860px) { .rn-popdd { display: none; } .rn-pillbtn--mobile { display: inline-flex; } }

/* ── 헤더 인라인 검색창(로그인 데스크탑, KAL) ── */
.rn-hsearch { display: flex; align-items: center; gap: 4px; height: 44px; width: 250px; border: 1px solid var(--rn-line); border-radius: 999px; padding: 0 4px 0 16px; background: var(--surface); }
.rn-hsearch:focus-within { border-color: var(--rn-ink); }
.rn-hsearch-in { flex: 1; min-width: 0; border: 0; background: transparent; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--rn-ink); padding: 8px 0; }
.rn-hsearch-in:focus { outline: none; }
.rn-hsearch-in::placeholder { color: var(--rn-ink-3); }
.rn-hsearch-in::-webkit-search-cancel-button { -webkit-appearance: none; }
.rn-hsearch-go { width: 36px; height: 36px; }
.rn-search-ico--mobile { display: none; }
@media (max-width: 1100px) { .rn-hsearch { width: 200px; } }
@media (max-width: 860px) { .rn-hsearch { display: none; } .rn-search-ico--mobile { display: inline-flex; } }

/* ── 공지 바(헤더 아래 1줄) ── */
.rn-notice-bar { background: var(--rn-surface-blue); border-bottom: 1px solid var(--rn-line); color: var(--rn-ink); }
.rn-notice-in { display: flex; align-items: center; gap: 10px; min-height: 42px; padding-block: 8px; font-size: 14px; }
.rn-notice-in .lucide { width: 18px; height: 18px; flex: none; color: var(--rn-ink-2); }
.rn-notice-text { flex: 1; min-width: 0; }
.rn-notice-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; white-space: nowrap; color: var(--rn-ink); }
.rn-notice-link .lucide { width: 15px; height: 15px; color: var(--rn-ink); }
@media (max-width: 860px) { .rn-notice-in { font-size: 13px; align-items: flex-start; } .rn-notice-in .lucide { margin-top: 2px; } }


/* ── 팀(벤치마크 후속 ⑥, 2026-11-09): 디렉토리·상세·만들기·마이페이지 팀 — 백엔드 실데이터, rn-* 토큰만 사용 ── */
.rn-crumb a { color: inherit; }
.rn-input, .rn-textarea { width: 100%; border: 1px solid var(--rn-line); border-radius: 12px; background: var(--surface); color: var(--rn-ink); font-family: inherit; font-size: 15px; padding: 12px 14px; line-height: 1.4; }
.rn-input:focus, .rn-textarea:focus { outline: 2px solid var(--rn-ink); outline-offset: 0; border-color: var(--rn-ink); }
.rn-input::placeholder, .rn-textarea::placeholder { color: var(--rn-ink-3); }
.rn-textarea { resize: vertical; min-height: 64px; }
.rn-select { appearance: auto; }
.rn-input--code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.rn-field { display: grid; gap: 6px; }
.rn-field > label, .rn-fieldset > legend { font-size: 13px; font-weight: 700; color: var(--rn-ink); }
.rn-field em { color: var(--rn-green-dark); font-style: normal; }
.rn-fieldset { border: 0; padding: 0; margin: 0; }
.rn-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rn-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.rn-check input { margin-top: 4px; accent-color: var(--rn-green); }
.rn-check span { display: grid; gap: 2px; }
.rn-check b { font-size: 14px; color: var(--rn-ink); }
.rn-check small { font-size: 12px; color: var(--rn-ink-2); }

.rn-teams .rn-sec-head { margin-top: 26px; }
.rn-team-gate { display: flex; gap: 18px; padding: 26px; align-items: flex-start; }
.rn-team-gate h2 { font-size: 20px; margin: 0 0 8px; color: var(--rn-ink); }
.rn-team-gate p { margin: 0; font-size: 14px; line-height: 1.6; }
.rn-team-gate-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--rn-surface-blue); color: var(--rn-ink); display: grid; place-items: center; flex: none; }
.rn-team-gate-ic .lucide { width: 26px; height: 26px; }
.rn-team-gate-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.rn-team-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rn-team-points li { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--rn-line); border-radius: var(--rn-r-lg); background: var(--surface); }
.rn-team-points .lucide { width: 22px; height: 22px; color: var(--rn-green-dark); flex: none; margin-top: 2px; }
.rn-team-points b { display: block; font-size: 15px; color: var(--rn-ink); margin-bottom: 4px; }
.rn-team-points span { font-size: 13px; color: var(--rn-ink-2); line-height: 1.5; }
.rn-team-mine { margin-bottom: 8px; }
.rn-team-invite-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--rn-green-soft); color: var(--rn-green-dark); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.rn-team-invite-bar span { flex: 1; }
.rn-team-invite-bar .lucide { width: 18px; height: 18px; flex: none; }
.rn-team-empty { margin: 6px 0 0; font-size: 14px; }
.rn-team-find-head { align-items: center; }
.rn-team-new-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--rn-ink-2); }
.rn-team-new-hint .lucide { width: 15px; height: 15px; color: var(--rn-green-dark); }
.rn-team-search { display: flex; gap: 10px; margin-top: 14px; }
.rn-team-search .rn-input { flex: 1; }
.rn-team-search .rn-btn { flex: none; }
.rn-team-types { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.rn-team-count { margin: 18px 0 10px; font-size: 13px; }
.rn-team-none { text-align: center; padding: 42px 24px; margin-top: 18px; display: grid; justify-items: center; gap: 8px; }
.rn-team-none .lucide { width: 36px; height: 36px; color: var(--rn-ink-3); }
.rn-team-none h3 { margin: 4px 0 0; font-size: 18px; color: var(--rn-ink); }
.rn-team-none p { margin: 0 0 6px; font-size: 14px; }
.rn-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.rn-team-card { display: flex; gap: 14px; padding: 18px; color: var(--rn-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.rn-team-card:hover { border-color: var(--rn-ink-3); box-shadow: 0 10px 26px rgba(15,35,66,.08); color: var(--rn-ink); }
.rn-team-logo { width: 56px; height: 56px; border-radius: 16px; background: var(--rn-ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; overflow: hidden; flex: none; }
.rn-team-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rn-team-body { display: grid; gap: 8px; min-width: 0; flex: 1; align-content: start; }
.rn-team-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rn-team-head h3 { margin: 0; font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn-team-desc { margin: 0; font-size: 13px; color: var(--rn-ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rn-team-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--rn-ink-2); }
.rn-team-meta span { display: inline-flex; align-items: center; gap: 5px; }
.rn-team-meta .lucide { width: 14px; height: 14px; }
.rn-team-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.rn-team-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--rn-green-dark); }
.rn-team-more .lucide { width: 15px; height: 15px; }
.rn-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 22px; font-size: 14px; color: var(--rn-ink-2); }
.rn-pager a { font-weight: 700; color: var(--rn-ink); }

.rn-team-hero { position: relative; background: linear-gradient(135deg, #0F2342 0%, #1F4C7A 55%, #1B9E54 140%); color: #fff; }
.rn-team-hero--cover { background-size: cover; background-position: center; }
.rn-team-hero--cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,35,66,.55), rgba(15,35,66,.85)); }
.rn-team-hero-in { position: relative; padding: 24px 0 26px; }
.rn-team-hero .rn-crumb { color: rgba(255,255,255,.75); }
.rn-team-id { display: flex; gap: 18px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.rn-team-hero-logo { width: 76px; height: 76px; border-radius: 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 800; font-size: 30px; overflow: hidden; flex: none; }
.rn-team-hero-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rn-team-id-txt h1 { margin: 6px 0 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
.rn-team-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rn-team-tags .lucide { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; }
.rn-team-region { margin: 8px 0 0; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.82); }
.rn-team-region .lucide { width: 15px; height: 15px; }
.rn-team-stats { display: flex; gap: 28px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); flex-wrap: wrap; }
.rn-team-stats div { display: grid; gap: 2px; }
.rn-team-stats span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); font-weight: 700; }
.rn-team-stats b { font-size: 24px; font-weight: 800; }
.rn-team-stats b small { font-size: 14px; opacity: .65; font-weight: 600; }

.rn-team-detail .mypage-banner { margin-bottom: 16px; }
.mypage-banner.is-ok { background: var(--rn-green-soft); color: var(--rn-green-dark); }
.rn-team-actions { padding: 20px 22px; display: grid; gap: 14px; }
.rn-team-state { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.rn-team-state--gate { color: var(--rn-ink); }
.rn-team-state--gate .rn-btn { margin-left: auto; }
.rn-team-applink { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--rn-green-dark); margin-left: auto; white-space: nowrap; }
.rn-team-applink .lucide { width: 15px; height: 15px; }
.rn-team-state .rn-tag .lucide { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; }
.rn-team-form { display: grid; gap: 8px; }
.rn-team-form > label { font-size: 13px; font-weight: 700; color: var(--rn-ink); }
.rn-team-form-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rn-team-form-row .rn-input { flex: 1; min-width: 200px; }
.rn-team-form small { font-size: 12px; }
.rn-team-form--inline { justify-self: start; }
.rn-team-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.5; }
.rn-team-note .lucide { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.rn-team-about { margin: 22px 0 0; font-size: 15px; line-height: 1.7; color: var(--rn-ink-2); max-width: 760px; white-space: pre-line; }
.rn-team-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 10px; }
.rn-team-cols .rn-sec-head h2 small { font-size: 14px; color: var(--rn-ink-3); font-weight: 600; margin-left: 6px; }
.rn-team-members { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rn-team-member { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rn-line); border-radius: 14px; background: var(--surface); }
.rn-team-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--rn-surface-blue); color: var(--rn-ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; overflow: hidden; flex: none; }
.rn-team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rn-team-member-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.rn-team-member-txt b { font-size: 14px; color: var(--rn-ink); }
.rn-team-member-txt small { font-size: 12px; color: var(--rn-ink-2); }
.rn-team-notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rn-team-notice { padding: 16px 18px; display: grid; gap: 6px; }
.rn-team-notice-head { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.rn-team-notice-head .lucide { width: 14px; height: 14px; color: var(--rn-green-dark); }
.rn-team-notice h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--rn-ink); }
.rn-team-notice p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--rn-ink-2); white-space: pre-line; }
.rn-team-notice-ev { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 600; color: var(--rn-ink) !important; }
.rn-team-notice-ev .lucide { width: 14px; height: 14px; }

.rn-team-newform { padding: 26px; display: grid; gap: 18px; max-width: 720px; }

.rn-mycode { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; flex-wrap: wrap; }
.rn-mycode-txt { display: grid; gap: 6px; }
.rn-mycode-txt p { margin: 0; font-size: 13px; }
.rn-mycode-val { display: flex; align-items: center; gap: 8px; }
.rn-mycode-val b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 26px; letter-spacing: .14em; color: var(--rn-ink); }
.rn-mycode-val b.rn-muted { font-family: inherit; font-size: 17px; letter-spacing: 0; font-weight: 600; color: var(--rn-ink-2); }
.rn-invite-row { align-items: center; }
.rn-invite-row .rn-row-txt a { color: inherit; text-decoration: none; }
.rn-invite-row .rn-row-txt a:hover { text-decoration: underline; }
.rn-invite-row .rn-row-txt .rn-tag { margin-left: 6px; vertical-align: 2px; }
.rn-invite-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.rn-invite-actions form { margin: 0; }
.rn-sec-head--tight { margin-bottom: 10px; align-items: baseline; }
.rn-sec-head--tight h2 { margin: 0; }

/* ── 구독·결제(⑦): 현재 플랜 카드·플랜 그리드·결제 내역·쿠폰 ── */
.rn-sub-current { padding: 22px 24px; display: grid; gap: 16px; }
.rn-sub-current--premium { border-color: var(--rn-green); }
.rn-sub-current--vip { border-color: #8FB6F5; }
.rn-sub-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.rn-sub-head h2 { margin: 4px 0 6px; font-size: 26px; display: flex; align-items: center; gap: 10px; color: var(--rn-ink); }
.rn-sub-head p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.rn-sub-head form { margin: 0; }
.rn-sub-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; margin: 0; }
.rn-sub-kv div { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; background: var(--rn-surface-2); }
.rn-sub-kv dt { font-size: 11.5px; letter-spacing: .06em; color: var(--rn-ink-3); font-weight: 700; text-transform: uppercase; }
.rn-sub-kv dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--rn-ink); overflow-wrap: anywhere; }
.rn-sub-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 12.5px; line-height: 1.55; }
.rn-sub-note .lucide { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.rn-sub-plans { margin-top: 4px; }
.rn-sub-plans .rn-tier { padding-top: 28px; }
.rn-sub-ctas { display: grid; gap: 8px; }
.rn-sub-ctas form { margin: 0; }
.rn-tier .rn-btn-block[aria-disabled="true"] { opacity: .7; cursor: default; }
.rn-sub-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rn-sub-table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--rn-ink-3); padding: 8px 10px; border-bottom: 1px solid var(--rn-line); }
.rn-sub-table td { padding: 12px 10px; border-bottom: 1px solid var(--rn-line); color: var(--rn-ink); vertical-align: middle; }
.rn-sub-table td a { font-weight: 700; color: var(--rn-ink); }
.rn-coupons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rn-coupon { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px dashed var(--rn-ink-3); border-radius: 12px; background: var(--surface); flex-wrap: wrap; }
.rn-coupon b { font-size: 16px; letter-spacing: .1em; color: var(--rn-ink); }
.rn-coupon span { flex: 1; font-size: 14px; color: var(--rn-ink-2); }
.rn-coupon small { font-size: 12px; color: var(--rn-ink-3); }
/* /premium 티어 카드의 월간/연간 체크아웃 전환(라디오 :has) — 가격 줄의 .rn-bill-* 와 달리 블록 */
.rn-premium .rn-tier-cta { display: block; }
.rn-premium .rn-tier-cta form { margin: 0; }
.rn-premium .rn-tier-cta.rn-bill-y { display: none; }
.rn-premium:has(#bill-y:checked) .rn-tier-cta.rn-bill-y { display: block; }
.rn-premium:has(#bill-y:checked) .rn-tier-cta.rn-bill-m { display: none; }

@media (max-width: 1024px) {
  .rn-app-step-in { grid-template-columns: 1fr 240px 1fr; gap: 28px; }
  .rn-app-tell-stage .rn-app-phone { width: 240px; height: 490px; }
  .rn-team-grid { grid-template-columns: repeat(2, 1fr); }
  .rn-team-points { grid-template-columns: 1fr; }
  .rn-team-cols { grid-template-columns: 1fr; }
  .rn-sub-kv { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rn-team-grid { grid-template-columns: 1fr; }
  .rn-team-gate { flex-direction: column; padding: 20px; }
  .rn-team-search { flex-direction: column; }
  .rn-form-grid { grid-template-columns: 1fr; }
  .rn-team-stats { gap: 18px; }
  .rn-team-stats b { font-size: 20px; }
  .rn-team-newform { padding: 18px; }
  .rn-mycode-val b { font-size: 22px; }
  .rn-invite-actions { margin-left: 0; width: 100%; }
  .rn-sub-kv { grid-template-columns: 1fr; }
  .rn-sub-head h2 { font-size: 22px; }
  .rn-sub-table th:nth-child(4), .rn-sub-table td:nth-child(4) { display: none; }
}

/* ── 헤더 유틸 SHOP 외부 표시 ── */
.rn-top-ext { font-size: 11px; margin-left: -2px; opacity: .8; }

/* ── 홈 하단 2열(KAL): [알려드립니다 | ARICO 앱 카드] ── */
.rn-hb-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; align-items: stretch; }
.rn-hb-notices .rn-sec-head { margin-bottom: 4px; }
.rn-hb-empty { margin: 16px 0 0; font-size: 14px; }
.rn-appcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: var(--rn-r-xl); background: var(--rn-surface-blue); color: var(--rn-ink); padding: 28px 30px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.rn-appcard:hover { color: var(--rn-ink); box-shadow: 0 18px 44px rgba(15,35,66,.14); transform: translateY(-2px); }
.rn-appcard-txt { position: relative; z-index: 1; max-width: 58%; display: grid; gap: 6px; }
.rn-appcard-txt h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.rn-appcard-txt p { margin: 0; font-size: 16px; font-weight: 600; color: var(--rn-ink-2); }
.rn-appcard-txt small { font-size: 12.5px; color: var(--rn-ink-3); }
.rn-appcard-phone { position: absolute; right: -34px; top: 26px; width: 200px; height: 400px; border-radius: 34px; background: linear-gradient(160deg, #1A2C4F, #0F2342); border: 8px solid #0A1730; box-shadow: 0 24px 50px rgba(15,35,66,.28); transform: rotate(-16deg); }
.rn-appcard-phone::before { content: ""; position: absolute; left: 50%; top: 10px; width: 70px; height: 8px; border-radius: 4px; background: #0A1730; transform: translateX(-50%); }
.rn-appcard-icon { position: absolute; left: 34px; top: 76px; width: 78px; height: 78px; border-radius: 22px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.rn-appcard-icon img { width: 52px; height: 52px; object-fit: contain; }
.rn-appcard-iconlabel { position: absolute; left: 34px; top: 162px; width: 78px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #fff; }

/* ── 앱 소개 페이지(/app) — KAL "대한항공 My 앱" 문법 ── */
.rn-app { --rn-app-hdr: 88px; }
.rn-app-hero { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #0F2342; overflow: hidden; }
.rn-app-hero video, .rn-app-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rn-app-hero-img { background-size: cover; background-position: center; }
/* 모션 최소화 설정 사용자: 배경 영상을 숨기고 네이비 배경만(KAL 도 poster 대체 — 연구 메모) */
@media (prefers-reduced-motion: reduce) { .rn-app-hero video { display: none; } }
.rn-app-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,35,66,.45) 0%, rgba(15,35,66,.35) 45%, rgba(15,35,66,.8) 100%); }
.rn-app-hero-in { position: relative; z-index: 1; padding: 150px 20px 120px; max-width: 960px; }
.rn-app-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.rn-app-eyebrow--ink { color: var(--rn-green-dark); margin-bottom: 10px; }
.rn-app-hero h1 { margin: 0; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; }
.rn-app-hero h1 span { display: block; }
.rn-app-hero p { margin: 24px auto 0; max-width: 720px; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.55; color: rgba(255,255,255,.92); }
.rn-app-stores { position: absolute; top: 22px; right: 24px; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.rn-app-stores--inline { position: static; justify-content: center; margin-top: 26px; }
.rn-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.28); line-height: 1.1; }
.rn-badge:hover { color: #fff; background: #151515; }
.rn-badge-txt { display: flex; flex-direction: column; text-align: left; }
.rn-badge-txt small { font-size: 10px; opacity: .85; letter-spacing: .02em; }
.rn-badge-txt b { font-size: 15px; font-weight: 600; }
.rn-badge--soon { opacity: .82; cursor: default; }
.rn-badge-soon { font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.18); margin-left: 4px; }
.rn-app-tabs { position: sticky; top: calc(var(--rn-app-hdr) + 10px); z-index: 20; display: flex; gap: 4px; width: max-content; max-width: calc(100% - 32px); margin: -34px auto 0; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: 0 12px 34px rgba(15,35,66,.16); border: 1px solid var(--rn-line); }
.rn-app-tab { display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--rn-ink-2); white-space: nowrap; text-decoration: none; }
.rn-app-tab:hover { color: var(--rn-ink); }
/* 앵커 이동 시 해당 탭 강조(:target, JS 없음) — 기본은 앱 소개 */
.rn-app:not(:has(#download:target)):not(:has(#faq:target)) .rn-app-tab--intro,
.rn-app:has(#download:target) .rn-app-tab--download,
.rn-app:has(#faq:target) .rn-app-tab--faq { background: var(--rn-ink); color: var(--bg); }
#intro, #download, #faq { scroll-margin-top: calc(var(--rn-app-hdr) + 90px); }
/* ── 앱 소개 스크롤텔링(KAL): 고정 폰 스테이지 + 구간별 sticky 텍스트, 단어 하이라이트, 화면 레이어 전환 ── */
.rn-app-tell { position: relative; padding-top: 10px; }
.rn-app-tell-stage { position: sticky; top: calc(var(--rn-app-hdr) + 84px); height: calc(100vh - var(--rn-app-hdr) - 84px); display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 1; }
.rn-app-tell-steps { position: relative; z-index: 2; margin-top: calc(-100vh + var(--rn-app-hdr) + 84px); }
.rn-app-step { min-height: 190vh; }
.rn-app-step:last-child { min-height: 150vh; }
.rn-app-step-in { position: sticky; top: calc(var(--rn-app-hdr) + 84px); height: calc(100vh - var(--rn-app-hdr) - 84px); display: grid; grid-template-columns: 1fr 300px 1fr; gap: 48px; align-items: center; }
.rn-app-tell.is-ready .rn-app-step-in { opacity: calc(1 - var(--exit, 0)); }
.rn-app-step h2 { margin: 0; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; color: var(--rn-ink); }
.rn-app-step h2 small { display: block; margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--rn-ink-3); letter-spacing: .02em; }
.rn-w { transition: color .45s ease; }
.rn-app-tell.is-ready .rn-w { color: #BDBDBD; }
.rn-app-tell.is-ready .rn-w.on { color: var(--rn-ink); }
[data-theme="dark"] .rn-app-tell.is-ready .rn-w { color: rgba(255,255,255,.28); }
[data-theme="dark"] .rn-app-tell.is-ready .rn-w.on { color: #fff; }
.rn-app-step p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--rn-ink-2); transition: opacity .5s ease, transform .5s ease; }
.rn-app-tell.is-ready .rn-app-step p { opacity: 0; transform: translateY(14px); }
.rn-app-tell.is-ready .rn-app-step.is-active p, .rn-app-tell.is-ready .rn-app-step.is-done p { opacity: 1; transform: none; }
.rn-app-tell-stage .rn-app-screen { position: absolute; inset: 11px; height: auto; opacity: 0; transition: opacity .5s ease; }
.rn-app-tell-stage .rn-app-screen.is-on { opacity: 1; }
/* 화면 내부 단계 연출 — JS(.is-ready) 있을 때만: 막대는 진행률(--p)로 자라고, 말풍선·행·QR·알림은 p1~p3 단계에서 순차 등장 */
.is-ready .rn-app-screen .rn-app-bars i { transform-origin: bottom; transform: scaleY(calc(0.15 + 0.85 * var(--p, 1))); transition: transform .25s ease-out; }
.is-ready .rn-app-screen .rn-app-chat, .is-ready .rn-app-screen .rn-app-qr, .is-ready .rn-app-screen .rn-app-list, .is-ready .rn-app-screen .rn-app-notif, .is-ready .rn-app-screen > .rn-app-sk { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.is-ready .rn-app-screen.is-on .rn-app-chat:nth-child(2), .is-ready .rn-app-screen.is-on .rn-app-list:nth-child(2) { opacity: 1; transform: none; }
.is-ready .rn-app-screen.is-on.p1 .rn-app-chat:nth-child(3), .is-ready .rn-app-screen.is-on.p1 .rn-app-list:nth-child(3), .is-ready .rn-app-screen.is-on.p1 .rn-app-qr { opacity: 1; transform: none; }
.is-ready .rn-app-screen.is-on.p2 .rn-app-chat:nth-child(4), .is-ready .rn-app-screen.is-on.p2 .rn-app-list:nth-child(4), .is-ready .rn-app-screen.is-on.p2 > .rn-app-sk { opacity: 1; transform: none; }
.is-ready .rn-app-screen.is-on.p3 .rn-app-chat:nth-child(5), .is-ready .rn-app-screen.is-on.p3 .rn-app-notif { opacity: 1; transform: none; }
.rn-app-phone { width: 280px; height: 572px; border-radius: 46px; background: linear-gradient(160deg, #1B2538, #0B1220 55%, #141D30); padding: 11px; box-shadow: 0 34px 70px rgba(15,35,66,.28), inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 4px #0B1220; margin: 0 auto; position: relative; }
/* 다이내믹 아일랜드 */ .rn-app-phone::before { content: ""; position: absolute; left: 50%; top: 24px; width: 90px; height: 26px; border-radius: 13px; background: #0B1220; transform: translateX(-50%); z-index: 2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.rn-app-screen { position: relative; height: 100%; border-radius: 36px; background: linear-gradient(180deg, #FFFFFF 0%, #EEF4FD 100%); padding: 62px 18px 34px; display: grid; gap: 14px; align-content: start; overflow: hidden; }
/* 상태 표시줄 글리프(우상단: 신호·와이파이·배터리 추상) + 홈 인디케이터(하단) */
.rn-app-screen::before { content: ""; position: absolute; top: 20px; right: 22px; width: 50px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, #0F2342 0 12px, transparent 12px 16px, #0F2342 16px 26px, transparent 26px 30px, #0F2342 30px 50px); opacity: .85; }
.rn-app-screen::after { content: ""; position: absolute; left: 50%; bottom: 10px; width: 108px; height: 5px; border-radius: 3px; background: rgba(15,35,66,.35); transform: translateX(-50%); }
.rn-app-sbar { display: flex; justify-content: space-between; margin-bottom: 6px; }
.rn-app-sbar i { display: block; height: 10px; border-radius: 5px; background: #0F2342; width: 70px; }
.rn-app-sbar i:last-child { width: 24px; background: #1B9E54; }
.rn-app-sk { display: block; height: 10px; border-radius: 5px; background: rgba(15,35,66,.14); }
.rn-app-sk--w40 { width: 40%; } .rn-app-sk--w50 { width: 50%; } .rn-app-sk--w60 { width: 60%; } .rn-app-sk--w70 { width: 70%; } .rn-app-sk--w80 { width: 80%; } .rn-app-sk--w90 { width: 90%; }
.rn-app-sk--center { margin: 0 auto; }
.rn-app-tile { border-radius: 16px; padding: 16px; display: grid; gap: 10px; background: #fff; box-shadow: 0 6px 18px rgba(15,35,66,.08); }
.rn-app-tile--ink { background: #0F2342; }
.rn-app-tile--ink .rn-app-sk { background: rgba(255,255,255,.35); }
.rn-app-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 12px 10px 0; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(15,35,66,.08); }
.rn-app-bars i { flex: 1; display: block; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #1B9E54, #8FB6F5); }
.rn-app-chat { max-width: 86%; border-radius: 16px 16px 16px 4px; padding: 12px 14px; background: #fff; display: grid; gap: 7px; box-shadow: 0 4px 14px rgba(15,35,66,.08); }
.rn-app-chat--me { justify-self: end; border-radius: 16px 16px 4px 16px; background: #1B9E54; }
.rn-app-chat--me .rn-app-sk { background: rgba(255,255,255,.55); }
.rn-app-card { position: relative; height: 150px; border-radius: 18px; padding: 16px; background: linear-gradient(168deg, #FFFFFF 0%, #EEF4FD 42%, #DFF3E7 100%); box-shadow: 0 8px 22px rgba(15,35,66,.12); overflow: hidden; }
.rn-app-card b { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; color: #0F2342; }
.rn-app-card small { display: block; font-size: 10px; letter-spacing: .18em; color: rgba(15,35,66,.6); margin-top: 2px; }
.rn-app-card em { position: absolute; left: -20%; right: -20%; top: 55%; height: 40%; border-radius: 50%; transform: rotate(-9deg); background: linear-gradient(100deg, transparent 20%, rgba(143,182,245,.6) 45%, rgba(255,255,255,.9) 55%, rgba(27,158,84,.3) 65%, transparent 85%); filter: blur(5px); }
.rn-app-qr { display: grid; place-items: center; }
.rn-app-qr span { width: 120px; height: 120px; border-radius: 14px; background: repeating-linear-gradient(90deg, #0F2342 0 9px, transparent 9px 18px), repeating-linear-gradient(0deg, #0F2342 0 9px, transparent 9px 18px); background-blend-mode: multiply; opacity: .85; border: 10px solid #fff; box-shadow: 0 6px 18px rgba(15,35,66,.1); }
.rn-app-list { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(15,35,66,.08); }
.rn-app-list i { display: block; width: 32px; height: 32px; border-radius: 50%; background: #8FB6F5; flex: none; }
.rn-app-list .rn-app-sk { flex: none; }
.rn-app-notif { margin-top: 8px; border-radius: 14px; padding: 14px; background: #0F2342; display: grid; gap: 8px; }
.rn-app-notif .rn-app-sk { background: rgba(255,255,255,.4); }
.rn-app-download { text-align: center; padding: 72px 24px; border-radius: var(--rn-r-xl); background: var(--rn-surface-blue); display: grid; justify-items: center; gap: 8px; }
.rn-app-download h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--rn-ink); letter-spacing: -.01em; }
.rn-app-download p { margin: 10px 0 0; max-width: 620px; font-size: 17px; line-height: 1.6; color: var(--rn-ink-2); }
.rn-app-download .rn-badge { background: #0F2342; border-color: #0F2342; }
.rn-app-download .rn-badge:hover { background: #1C3A6B; }
[data-theme="dark"] .rn-app-download .rn-badge { background: #000; border-color: rgba(255,255,255,.28); }
[data-theme="dark"] .rn-app-download .rn-badge:hover { background: #151515; }
.rn-app-qrs { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.rn-app-qrs figure { margin: 0; display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--rn-ink-2); }
.rn-app-qrs img { width: 120px; height: 120px; border-radius: 12px; background: #fff; padding: 6px; box-shadow: 0 6px 18px rgba(15,35,66,.12); }
/* 히어로 영상 일시정지/재생(WCAG 2.2.2 — 자동 재생 영상은 멈출 수 있어야; KAL 도 "일시정지" 버튼) */
.rn-app-vbtn { position: absolute; right: 24px; bottom: 24px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(15,35,66,.5); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; backdrop-filter: blur(6px); }
.rn-app-vbtn:hover { background: rgba(15,35,66,.75); }
.rn-app-vbtn .lucide { width: 22px; height: 22px; }
.rn-app-vbtn .rn-vplay, .rn-app-vbtn.is-paused .rn-vpause { display: none; }
.rn-app-vbtn.is-paused .rn-vplay { display: block; }
@media (prefers-reduced-motion: reduce) { .rn-app-vbtn { display: none; } }
.rn-app-cta { margin-top: 14px; padding: 14px 28px; font-size: 16px; }
.rn-app-download small { display: block; margin-top: 10px; font-size: 13px; }
.rn-app-faq details { border-bottom: 1px solid var(--rn-line); }
.rn-app-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-size: 16px; font-weight: 700; color: var(--rn-ink); cursor: pointer; }
.rn-app-faq summary::-webkit-details-marker { display: none; }
.rn-app-faq summary .lucide { width: 18px; height: 18px; color: var(--rn-ink-3); transition: transform .2s; flex: none; }
.rn-app-faq details[open] summary .lucide { transform: rotate(180deg); }
.rn-app-faq details p { margin: 0 0 20px; padding: 0 4px; font-size: 15px; line-height: 1.7; color: var(--rn-ink-2); max-width: 820px; }
@media (max-width: 1024px) {
  .rn-app-phone { width: 240px; height: 480px; }
}
@media (max-width: 1100px) {
  .rn-appcard-phone { right: -60px; top: 36px; width: 160px; height: 320px; }
  .rn-appcard-icon { left: 24px; top: 60px; width: 62px; height: 62px; border-radius: 18px; }
  .rn-appcard-icon img { width: 40px; height: 40px; }
  .rn-appcard-iconlabel { left: 24px; top: 128px; width: 62px; }
}
@media (max-width: 860px) {
  .rn-app { --rn-app-hdr: 60px; }
  .rn-hb-grid { grid-template-columns: 1fr; }
  .rn-appcard { min-height: 240px; }
  .rn-appcard-phone { right: -60px; top: 36px; width: 160px; height: 320px; }
  .rn-appcard-icon { left: 24px; top: 60px; width: 62px; height: 62px; border-radius: 18px; }
  .rn-appcard-icon img { width: 40px; height: 40px; }
  .rn-appcard-iconlabel { left: 24px; top: 128px; width: 62px; }
}
@media (max-width: 640px) {
  .rn-app-hero { min-height: 520px; }
  .rn-app-hero-in { padding: 110px 16px 100px; }
  /* 모바일: 히어로 우상단 배지는 폭이 넘쳐 숨김 — 다운로드 섹션 배지만 노출 */
  .rn-app-hero .rn-app-stores { display: none; }
  .rn-app-stores--inline { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .rn-app-tabs { margin-top: -28px; }
  .rn-app-tab { padding: 10px 16px; font-size: 14px; }
  /* 모바일 스크롤텔링: 폰은 상단 46vh 에 고정(작게), 텍스트는 그 아래 1열 */
  .rn-app-tell-stage { top: calc(var(--rn-app-hdr) + 64px); height: 372px; align-items: flex-start; padding-top: 8px; }
  .rn-app-tell-steps { margin-top: -372px; }
  /* 텍스트 sticky 박스(≈688px)가 구간을 거의 다 차지하면 고정 구간이 짧아져 폰 아래로 밀려 올라오므로 구간을 넉넉히 */
  .rn-app-step, .rn-app-step:last-child { min-height: 200vh; }
  .rn-app-step-in { top: calc(var(--rn-app-hdr) + 64px); height: auto; min-height: calc(100vh - var(--rn-app-hdr) - 64px); grid-template-columns: 1fr; gap: 10px; align-items: start; align-content: start; padding-top: 384px; text-align: center; }
  .rn-app-step-gap { display: none; }
  .rn-app-step h2 { font-size: 26px; }
  .rn-app-step h2 small { font-size: 14px; margin-top: 8px; }
  .rn-app-step p { font-size: 15px; }
  .rn-app-tell-stage .rn-app-phone { width: 170px; height: 348px; border-radius: 30px; padding: 7px; box-shadow: 0 20px 40px rgba(15,35,66,.25), inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 3px #0B1220; }
  .rn-app-tell-stage .rn-app-phone::before { width: 58px; height: 16px; top: 14px; }
  .rn-app-tell-stage .rn-app-screen { inset: 7px; border-radius: 24px; padding: 40px 10px 20px; gap: 8px; }
  .rn-app-tell-stage .rn-app-screen::before { top: 12px; right: 12px; width: 34px; height: 6px; }
  .rn-app-tell-stage .rn-app-screen::after { width: 64px; height: 4px; bottom: 6px; }
  .rn-app-tell-stage .rn-app-bars { height: 96px; }
  .rn-app-tell-stage .rn-app-card { height: 100px; padding: 12px; }
  .rn-app-tell-stage .rn-app-qr span { width: 76px; height: 76px; border-width: 6px; }
  .rn-app-tell-stage .rn-app-chat { padding: 8px 10px; }
  .rn-app-tell-stage .rn-app-list { padding: 8px 10px; }
  .rn-app-tell-stage .rn-app-list i { width: 22px; height: 22px; }
  .rn-app-download { padding: 48px 18px; }
}
/* ── 홈 "내 연습 기록"(앱 TRAINING 연동, 2026-11) ── */
.rn-prac { padding-bottom: 0; }
#practice { scroll-margin-top: 96px; }   /* 달력 월 이동(#practice) 시 고정 헤더에 제목이 가리지 않게 */
.rn-prac-stats { margin-bottom: 16px; }
.rn-prac-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rn-prac-cal { padding: 18px; }
.rn-prac-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rn-prac-cal-head b { font-size: 17px; font-weight: 800; color: var(--rn-ink); }
.rn-prac-nav { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--rn-line); border-radius: var(--rn-r-md); color: var(--rn-ink); text-decoration: none; font-size: 20px; line-height: 1; }
.rn-prac-nav:hover { border-color: var(--rn-ink-3); color: var(--rn-ink); }
.rn-prac-nav.is-off { opacity: .3; }
.rn-prac-dow, .rn-prac-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rn-prac-dow { background: var(--rn-green-soft); border-radius: var(--rn-r-md) var(--rn-r-md) 0 0; }
.rn-prac-dow span { text-align: center; padding: 8px 0; font-size: 12px; font-weight: 600; color: var(--rn-ink-2); }
.rn-prac-dow .is-sun, .rn-prac-day.is-sun b { color: #E5484D; }
.rn-prac-dow .is-sat, .rn-prac-day.is-sat b { color: #3E7BFA; }
.rn-prac-days { border: 1px solid var(--rn-line); border-top: 0; border-radius: 0 0 var(--rn-r-md) var(--rn-r-md); overflow: hidden; }
.rn-prac-day { min-height: 56px; padding: 6px 4px; display: grid; justify-items: center; align-content: start; gap: 3px; border-right: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); margin: 0 -1px -1px 0; }
.rn-prac-day b { font-size: 13px; font-weight: 700; color: var(--rn-ink); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.rn-prac-day small { font-size: 11px; font-weight: 700; color: var(--rn-green-dark); line-height: 1; }
.rn-prac-day.has-rec b { background: var(--rn-green); color: #fff; }
.rn-prac-day.has-prog b { box-shadow: inset 0 0 0 2px var(--rn-ink-3); }   /* 진행 중(미완료) 세션만 있는 날 — 옅은 테두리 */
.rn-prac-day.is-today:not(.has-rec) b { box-shadow: inset 0 0 0 2px var(--rn-green); }
.rn-prac-day.is-blank { background: var(--rn-surface-2); }
.rn-prac-cal-foot { margin: 12px 0 0; font-size: 13px; color: var(--rn-ink-2); }
.rn-prac-recent .rn-eyebrow { margin: 0 0 10px; }
.rn-prac-recent .rn-wrow { background: var(--surface); }
.rn-prac-score { display: grid; justify-items: end; gap: 4px; }
.rn-prac-score b { font-size: 20px; font-weight: 800; color: var(--rn-ink); letter-spacing: -.01em; }
.rn-prac-note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--rn-ink-2); }
.rn-prac-empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 28px 20px; color: var(--rn-ink-2); }
.rn-prac-empty .lucide { width: 34px; height: 34px; color: var(--rn-ink-3); }
.rn-prac-empty p { margin: 0; max-width: 640px; line-height: 1.7; }
.rn-prac-empty-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (max-width: 860px) {
  .rn-prac-grid { grid-template-columns: 1fr; }
  .rn-prac-stats { grid-template-columns: repeat(2, 1fr); }
  .rn-prac-day { min-height: 48px; }
  #practice { scroll-margin-top: 68px; }
}

/* ── 생체인식 로그인(패스키 · WebAuthn, 2026-11) ── */
[data-passkey-login][hidden], [data-passkey-register][hidden], [data-passkey-offer][hidden], [data-passkey-msg][hidden], [data-passkey-unsupported][hidden], [data-passkey-dismiss][hidden], [data-passkey-actions][hidden] { display: none !important; }
.rn-pk-login { margin-top: 12px; }
.btn-block.rn-pk-btn { background: var(--surface); color: var(--rn-ink); border: 1px solid var(--rn-line); }
.btn-block.rn-pk-btn:hover { background: var(--rn-surface-2); border-color: var(--rn-ink-3); }
.btn-block.rn-pk-btn:disabled, .is-busy { opacity: .6; cursor: progress; }
.btn-block.rn-pk-btn .lucide { width: 18px; height: 18px; color: var(--rn-green-dark); }
.rn-pk-msg { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--rn-ink-2); }
.rn-pk-msg[data-kind="error"] { color: #C0362C; }
.rn-pk-msg[data-kind="ok"] { color: var(--rn-green-dark); }
.rn-pk-offer { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid var(--rn-line); border-radius: var(--rn-r-lg); background: var(--rn-green-soft); }
.rn-pk-offer > .lucide { width: 26px; height: 26px; color: var(--rn-green-dark); flex-shrink: 0; }
.rn-pk-offer-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.rn-pk-offer-txt b { font-size: 15px; color: var(--rn-ink); }
.rn-pk-offer-txt span { font-size: 13px; color: var(--rn-ink-2); }
.rn-pk-offer-act { display: flex; gap: 8px; flex-shrink: 0; }
.rn-pk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.rn-pk-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rn-line); border-radius: var(--rn-r-md); }
.rn-pk-list li > .lucide { width: 20px; height: 20px; color: var(--rn-green-dark); flex-shrink: 0; }
.rn-pk-list-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.rn-pk-list-txt b { font-size: 14px; }
.rn-pk-list-txt small { font-size: 12px; color: var(--rn-ink-2); }
.rn-pk-list form { margin: 0; }
@media (max-width: 860px) {
  .rn-pk-offer { flex-wrap: wrap; }
  .rn-pk-offer-act { width: 100%; }
  .rn-pk-offer-act .rn-btn { flex: 1; }
}

/* ── 내 연습 기록: 기간 탭(최근 1주·30일·3개월·6개월·1년·전체) — 라디오 + :has, JS 없이 통계 칸 전환 ── */
.rn-pp { display: flex; gap: 6px; padding: 4px; margin: -4px -4px 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rn-pp::-webkit-scrollbar { display: none; }
.rn-pp label { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rn-line); background: var(--surface); color: var(--rn-ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.rn-pp input:checked + label { background: var(--rn-ink); border-color: var(--rn-ink); color: var(--bg); }
.rn-pp input:focus-visible + label { outline: 2px solid var(--rn-green); outline-offset: 2px; }
.rn-pp-panel { display: none; }
.rn-prac:has(#pp-7d:checked) [data-pp="7d"], .rn-prac:has(#pp-30d:checked) [data-pp="30d"], .rn-prac:has(#pp-3m:checked) [data-pp="3m"], .rn-prac:has(#pp-6m:checked) [data-pp="6m"], .rn-prac:has(#pp-1y:checked) [data-pp="1y"], .rn-prac:has(#pp-all:checked) [data-pp="all"] { display: grid; }

/* ── 앱 열기 안내([data-app-open] 클릭 뒤에도 페이지가 그대로일 때 하단에 잠깐 표시) ── */
.rn-apphint { position: fixed; left: 16px; right: 16px; margin-inline: auto; width: fit-content; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 1200; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--rn-r-lg); background: var(--rn-ink); color: var(--bg); font-size: 13px; line-height: 1.5; box-shadow: 0 8px 28px rgba(15,35,66,.28); }
.rn-apphint a { flex: 0 0 auto; color: var(--bg); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.rn-apphint button { flex: 0 0 auto; appearance: none; border: 0; background: none; color: var(--bg); opacity: .7; font-size: 18px; line-height: 1; padding: 0; min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; margin: -12px -12px -12px 0; cursor: pointer; }
@media (max-width: 860px) {
  /* rn-pp-mobile: 기간 탭 6개가 한 줄에 다 보이게(375px 기준) · 안내는 하단 고정 탭바 위로 */
  .rn-pp { gap: 5px; }
  .rn-pp label { flex: 1 0 auto; justify-content: center; padding: 0 9px; }
  .rn-apphint { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   모바일 앱형 개편 2026-11-10 (사용자 지시 — 대한항공 앱 화면 문법으로 모바일을 최대한 단순하게, ≤860px)
   하단 탭 = 홈·예약·마이페이지·일정·더 보기. 탭 화면은 공통 헤더 대신 큰 제목 바(.rn-mtitle).
   홈 = 멤버십 카드 → 지금 ARICO에서(가로 넘김 + 점) → 다가오는 일정 → 내 연습 기록 → 알려드립니다.
   메뉴는 /more 의 2단 메뉴(.rn-more-*), 일정은 /schedule(.rn-sched). 데스크톱(≥861px) 화면은 그대로.
   ============================================================ */
/* 오류 안내 띠는 기본 숨김 — 레이아웃별 scoped CSS(Main·Admin)에만 있어 마이페이지 셸(AppShellLayout)에서는 화면 맨 아래에 늘 보였다. Blazor 는 오류 때 인라인 display 로 드러낸다 */
#blazor-error-ui { display: none; }
@media (min-width: 861px) { .rn-m-only { display: none !important; } }
@media (max-width: 860px) { .rn-d-only { display: none !important; } }
.rn-mtitle { display: none; }

/* 카드형 링크 행(일정 · 더 보기 · 홈) */
.rn-mlink { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--rn-r-lg); background: var(--rn-surface-blue); color: var(--rn-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.rn-mlink:hover { color: var(--rn-ink); filter: brightness(.98); }
.rn-mlink .lucide { width: 22px; height: 22px; flex: none; }
.rn-mlink .chev { margin-left: auto; width: 18px; height: 18px; color: var(--rn-ink-3); }
/* 빈 상태(아이콘 + 한 줄) */
.rn-mempty { display: grid; justify-items: center; gap: 14px; padding: 72px 0 56px; color: var(--rn-ink-2); text-align: center; }
.rn-mempty .lucide { width: 46px; height: 46px; color: var(--rn-ink-3); stroke-width: 1.4; }
.rn-mempty p { margin: 0; font-size: 16px; }

/* ── 일정(/schedule) ── */
.rn-sched { max-width: 860px; }
.rn-sched .rn-kinds { margin-top: 0; }
.rn-sched-month { font-size: 14px; font-weight: 700; color: var(--rn-ink-2); margin: 24px 0 10px; }
.rn-sched-links { display: grid; gap: 10px; margin-top: 28px; }

/* ── 더 보기(/more) — 2단 메뉴: 왼쪽 분류(라디오 라벨) / 오른쪽 항목. 선택 규칙은 More.razor 의 <style>(메뉴 데이터로 생성) ── */
.rn-more-notice { padding: 18px 0 6px; }
.rn-more-notice-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rn-line); }
.rn-more-notice h2 { font-size: 15px; font-weight: 700; margin: 0; color: inherit; }
.rn-more-notice-head a { font-size: 13px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rn-more-notice ul { list-style: none; margin: 0; padding: 0; }
.rn-more-notice li a { display: block; padding: 11px 0; font-size: 14px; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-more-body { max-width: 860px; margin: 22px auto 56px; border: 1px solid var(--rn-line); border-radius: var(--rn-r-lg); overflow: hidden; background: var(--surface); }
.rn-more-menu { display: grid; grid-template-columns: minmax(140px, 42%) minmax(0, 1fr); align-items: stretch; }
.rn-more-cats { background: var(--rn-surface-2); display: flex; flex-direction: column; }
.rn-more-cats label { display: block; padding: 19px 18px; font-size: 16px; line-height: 1.3; color: var(--rn-ink-2); cursor: pointer; }
.rn-more-cats input:focus-visible + label { outline: 2px solid var(--rn-green); outline-offset: -2px; }
.rn-more-panes { min-width: 0; padding: 18px 18px 28px 20px; }
.rn-more-pane { display: none; }
.rn-more-pane-h { font-size: 16px; font-weight: 700; color: var(--rn-ink); margin: 0 0 4px; padding-bottom: 14px; border-bottom: 2px solid var(--rn-ink); }
.rn-more-pane h3 { font-size: 15px; font-weight: 700; color: var(--rn-ink); margin: 22px 0 2px; }
.rn-more-pane ul { list-style: none; margin: 0; padding: 0; }
.rn-more-pane li a { display: block; padding: 12px 0 12px 14px; font-size: 15px; line-height: 1.35; color: var(--rn-ink-2); }
.rn-more-pane li a:hover { color: var(--rn-ink); }
.rn-more-pane h2 + ul { margin-top: 8px; }
.rn-more-foot { max-width: 860px; margin-bottom: 40px; }

/* 가로 넘김 위치 점 */
.rn-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; }
.rn-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--rn-ink-3); opacity: .55; transition: width .2s ease, opacity .2s ease; }
.rn-dots span.on { width: 22px; background: var(--rn-ink); opacity: 1; }

@media (max-width: 860px) {
  /* ── 헤더: 로고 + 지역/언어 · 검색 만(마이페이지·로그인 알약은 하단 탭이 대신) ── */
  .rn-util .rn-pillbtn { display: none; }

  /* ── 탭 화면 제목 바 — 이 바가 있으면 공통 헤더를 숨긴다 ── */
  body:has(.rn-mtitle) .rn-hdr { display: none; }
  .rn-mtitle { display: block; background: var(--surface); padding-top: env(safe-area-inset-top, 0px); }
  .rn-mtitle-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding-block: 12px 8px; }
  .rn-mtitle h1, .rn-mtitle-t { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--rn-ink); margin: 0; }
  .rn-mtitle-act { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
  .rn-mtitle--dark { background: #0F2342; }
  .rn-mtitle--dark h1, .rn-mtitle--dark .rn-mtitle-t, .rn-mtitle--dark .rn-ibtn { color: #fff; }
  .rn-mtitle--dark .rn-ibtn:hover { background: rgba(255,255,255,.12); }

  /* ── 하단 탭바: 5탭 글자(마이페이지 · 더 보기)가 한 줄에 들어가게 ── */
  .mobile-tabbar a { min-width: 0; white-space: nowrap; }

  /* ── 푸터: 링크 열 숨김(메뉴는 더 보기) — 법적 고지 한 줄 + 저작권 · 언어 ── */
  footer.site-footer.rn-ftr { padding: 20px 0 24px; }
  .rn-ftr-cols { display: none; }
  .rn-ftr-mini { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
  .rn-ftr-mini a { color: var(--rn-ink-2); }
  .rn-ftr-legal { margin-top: 14px; padding-top: 14px; }

  /* ── 홈 ── */
  .rn-home { display: flex; flex-direction: column; }
  .rn-home > * { width: 100%; }
  .rn-home-widget, .rn-home-exp, .rn-home-plans { display: none; }
  .rn-home > .rn-mhome-card { order: 1; padding-block: 16px 0; }
  .rn-home > .rn-home-promo { order: 2; }
  .rn-home > .rn-mhome-sched { order: 3; padding-top: 0; }
  .rn-home > .rn-prac { order: 4; padding-top: 0; padding-bottom: 26px; }
  .rn-home > .rn-home-notices { order: 5; }
  .rn-mhome-card .rn-mycard { min-height: 92px; padding: 18px 20px; }
  .rn-promo { scroll-snap-type: x mandatory; scroll-padding-inline: 18px; }
  .rn-pcard { scroll-snap-align: start; flex: 0 0 86%; }
  .rn-pimg { height: 150px; }
  .rn-pimg--none { display: none; }   /* 이미지 없는 카드는 글자만(빈 색 면을 두지 않는다) */
  .rn-pimg--none + .rn-pbody { min-height: 112px; padding: 22px 20px; background: var(--rn-wash); }
  .rn-pnum { display: none; }
  /* 내 연습 기록: 달력 생략 · 최근 3건 */
  .rn-home .rn-prac-cal { display: none; }
  .rn-home .rn-prac-recent .rn-wrow:nth-child(n+4) { display: none; }
  /* 앱 카드 → 한 줄 */
  .rn-home .rn-appcard { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; padding: 16px 18px; border-radius: var(--rn-r-lg); }
  .rn-home .rn-appcard-phone, .rn-home .rn-appcard-txt small { display: none; }
  .rn-home .rn-appcard-txt { max-width: none; gap: 2px; }
  .rn-home .rn-appcard-txt h3 { font-size: 16px; font-weight: 700; }
  .rn-home .rn-appcard-txt p { font-size: 13px; font-weight: 500; }
  .rn-home .rn-appcard::after { content: "\203A"; margin-left: auto; font-size: 24px; line-height: 1; color: var(--rn-ink-3); }
  .rn-home .rn-hb-grid { gap: 18px; }

  /* ── 예약(/reserve): 제목 바가 대신하므로 히어로의 경로·제목·설명 숨김 ── */
  .rn-rsv-hero { padding-top: 6px; }
  .rn-rsv-hero .rn-crumb, .rn-rsv-hero h1, .rn-rsv-hero > .rn-wrap > p { display: none; }
  .rn-rsv-hero .rn-kinds { margin-top: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
  .rn-rsv-hero .rn-kinds::-webkit-scrollbar { display: none; }

  /* ── 일정 ── */
  .rn-sched { padding-top: 10px; min-height: calc(100vh - 300px); min-height: calc(100dvh - 300px); }

  /* ── 더 보기: 진한 머리(알려드립니다까지) + 전체 폭 2단 메뉴 ── */
  .rn-more-notice { background: #0F2342; color: #fff; margin-top: -1px; padding: 8px 0 10px; }
  .rn-more-notice-head { border-bottom-color: rgba(255,255,255,.28); }
  .rn-more-notice li a { color: #E6ECF7; }
  .rn-more-body { margin: 0; border: 0; border-radius: 0; overflow: visible; }
  .rn-more-menu { min-height: calc(100vh - 220px); min-height: calc(100dvh - 220px); }
  .rn-more-panes { position: sticky; top: 0; align-self: start; }
  .rn-more-foot { margin: 18px auto 28px; }

  /* ── 마이페이지 셸: 제목 바 → 탭 3개(균등 폭) → (대시보드만) 환영 문구 ── */
  .rn-my-head { padding-block: 0; background: var(--surface); }
  .rn-my-head > .rn-wrap { display: flex; flex-direction: column; }
  .rn-my-tabs { order: 1; margin-top: 0; margin-inline: -18px; padding-inline: 0; gap: 0; overflow: visible; border-bottom: 2px solid var(--rn-line); }
  .rn-my-tabs a { flex: 1 1 0; text-align: center; padding: 13px 4px; font-size: 16px; margin-bottom: -2px; }
  .rn-my-tabs a.on { font-weight: 700; }
  .rn-my-id { order: 2; display: none; }
  .rn-my-head--home .rn-my-id { display: flex; padding: 20px 0 16px; gap: 10px; }
  .rn-my-avatar, .rn-my-who p { display: none; }
  .rn-my-who h1 { font-size: 20px; font-weight: 600; }
  .rn-my-main { padding-block: 18px 32px; }
  .rn-my-foot { display: flex; align-items: center; margin-top: 28px; }
  .rn-my-foot > * { flex: 1; display: flex; justify-content: center; margin: 0; }
  .rn-my-foot > form { border-left: 1px solid var(--rn-line); }
  .rn-my-foot a, .rn-my-foot button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 10px 12px; font: 500 15px/1.2 var(--font-sans); color: var(--rn-ink); cursor: pointer; }
  .rn-my-foot .lucide { width: 20px; height: 20px; }

  /* ── 마이페이지 대시보드: 카드 → 요약(한 카드, 행) → 내 정보(한 카드, 글자 + 화살표만) ── */
  #mypage-live { display: flex; flex-direction: column; gap: 16px; }
  #mypage-live > * { margin-top: 0; }
  #mypage-live > .rn-my-sec { padding: 0; }
  #mypage-live > .rn-my-grid { order: 1; }
  #mypage-live > .rn-my-stats { order: 2; }
  #mypage-live > .rn-my-sec { order: 3; }
  #mypage-live > .rn-my-upsell { order: 4; }
  #mypage-live .rn-my-next { display: none; }
  #mypage-live > .rn-my-stats { grid-template-columns: 1fr; gap: 0; background: var(--rn-surface-blue); border-radius: var(--rn-r-lg); padding: 2px 18px; }
  #mypage-live > .rn-my-stats .rn-stat { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid var(--rn-line); border-radius: 0; background: none; padding: 16px 0; }
  #mypage-live > .rn-my-stats .rn-stat:last-child { border-bottom: 0; }
  #mypage-live > .rn-my-stats .rn-stat b { font-size: 17px; font-weight: 700; }
  #mypage-live > .rn-my-stats .rn-stat span { font-size: 15px; color: var(--rn-ink); }
  #mypage-live .rn-my-sec .rn-eyebrow { display: none; }
  #mypage-live .rn-my-sec .rn-rows { gap: 0; border: 1px solid var(--rn-line); border-radius: var(--rn-r-lg); background: var(--surface); padding: 0 18px; }
  #mypage-live .rn-my-sec .rn-row { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--rn-line); border-radius: 0; padding: 18px 0; font: 500 15px/1.3 var(--font-sans); color: var(--rn-ink); text-align: left; }
  #mypage-live .rn-my-sec li:last-child .rn-row { border-bottom: 0; }
  #mypage-live .rn-my-sec .rn-row > .lucide:not(.chev) { display: none; }
  #mypage-live .rn-my-sec .rn-row-txt small { display: none; }
  #mypage-live .rn-my-sec .rn-row--data .rn-row-txt small { display: block; }
}

/* ── 정보공유 › 일본대회(/info/japan-competitions, 2026-11-11) — 상태 구역(진행중·예정·완료) + 대회 행 + 부문별 5위 순위(details) ── */
.jc { max-width: 1080px; }
.jc .rn-kinds { margin-top: 0; }
.jc-sec { margin-top: 30px; padding: 0; }   /* 전역 section 여백 제거 */
.jc-sec-h { display: flex; align-items: baseline; gap: 8px; font-size: 18px; font-weight: 700; color: var(--rn-ink); margin: 0 0 12px; }
.jc-sec-h span { font-size: 13px; font-weight: 600; color: var(--rn-ink-3); }
.jc-none { margin: 0; padding: 22px 18px; border: 1px dashed var(--rn-line); border-radius: var(--rn-r-lg); color: var(--rn-ink-2); font-size: 14px; }
.jc-list { display: grid; gap: 12px; }
.jc-item { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 18px 20px; border: 1px solid var(--rn-line); border-radius: var(--rn-r-lg); background: var(--surface); }
.jc-date { display: grid; gap: 2px; padding-right: 14px; border-right: 1px solid var(--rn-line); min-height: 48px; align-content: center; }
.jc-date b { font-size: 20px; font-weight: 800; line-height: 1.15; color: var(--rn-ink); letter-spacing: -.01em; white-space: nowrap; }
.jc-date span { font-size: 12px; color: var(--rn-ink-2); white-space: nowrap; }
.jc-main { min-width: 0; }
.jc-tags { margin-bottom: 6px; }
.jc-main h3 { font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--rn-ink); margin: 0; }
.jc-orig { margin: 2px 0 0; font-size: 12.5px; color: var(--rn-ink-3); line-height: 1.5; }
.jc-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: 13px; color: var(--rn-ink-2); }
.jc-meta span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.jc-meta .lucide { width: 14px; height: 14px; flex: none; color: var(--rn-ink-3); }
.jc-note { margin: 10px 0 0; font-size: 13px; color: var(--rn-ink-3); }
.jc-link { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border: 1px solid var(--rn-line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--rn-ink); white-space: nowrap; text-decoration: none; }
.jc-link:hover { border-color: var(--rn-ink-3); color: var(--rn-ink); }
.jc-results { margin-top: 12px; }
.jc-results > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 9px 14px; border-radius: 999px; background: var(--rn-green-soft); color: var(--rn-green-dark); font-size: 13px; font-weight: 700; list-style: none; }
.jc-results > summary::-webkit-details-marker { display: none; }
.jc-results > summary::after { content: "\25BE"; font-size: 11px; }
.jc-results[open] > summary::after { content: "\25B4"; }
.jc-results > summary:focus-visible { outline: 2px solid var(--rn-green); outline-offset: 2px; }
.jc-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; margin-top: 12px; }
.jc-event { border: 1px solid var(--rn-line); border-radius: var(--rn-r-md); padding: 12px 14px; background: var(--rn-surface-2); min-width: 0; }
.jc-event-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.jc-event-h b { font-size: 13.5px; font-weight: 700; color: var(--rn-ink); min-width: 0; }
.jc-event-h .rn-tag { flex: none; }
.jc-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.jc-rank li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--rn-ink); }
.jc-rk { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--rn-line); color: var(--rn-ink-2); }
.jc-rk--1 { background: #F5C542; border-color: #F5C542; color: #3A2A00; }
.jc-rk--2 { background: #C9D1DB; border-color: #C9D1DB; color: #1F2A37; }
.jc-rk--3 { background: #D9A06B; border-color: #D9A06B; color: #3A1F00; }
.jc-who { display: grid; gap: 1px; min-width: 0; flex: 1; }
.jc-who b { font-weight: 600; }
.jc-who small { font-size: 12px; color: var(--rn-ink-2); line-height: 1.45; }
.jc-score { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--rn-ink-2); }
.jc-foot { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rn-line); display: grid; gap: 6px; font-size: 12.5px; line-height: 1.6; color: var(--rn-ink-3); }
.jc-foot p { margin: 0; }
@media (max-width: 860px) {
  .jc-item { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .jc-date { display: flex; align-items: baseline; gap: 8px; border-right: 0; border-bottom: 1px solid var(--rn-line); padding: 0 0 10px; min-height: 0; }
  .jc-link { justify-self: start; }
  .jc-events { grid-template-columns: 1fr; }
}
