/* ============================================================
   Go Go Korea — Premium Mobile PWA
   Тех-навигацийн загвар: гүн navy → цахилгаан цэнхэр + үүл + глоб
   Дахин ашиглах: --accent-h (өнгө), .brand-mark текст (Korea → Japan)
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

:root {
  /* Брэндийн өнгөний гол өнцөг — Go Go Japan бол өөрчилж болно */
  --accent-h: 218;

  /* Гүн дэвсгэр (space navy) */
  --bg:      #050A14;
  --bg-2:    #081426;
  --bg-3:    #0C1E38;
  --ink:     #0A1526;

  /* Цахилгаан цэнхэр аксент */
  --blue:      hsl(var(--accent-h) 92% 58%);
  --blue-2:    hsl(var(--accent-h) 100% 68%);
  --cyan:      hsl(195 100% 62%);
  --blue-deep: hsl(var(--accent-h) 80% 22%);
  --glow:      hsl(var(--accent-h) 100% 60% / 0.45);

  /* Шил (glassmorphism) гадаргуу */
  --surface:   hsl(var(--accent-h) 40% 16% / 0.55);
  --surface-2: hsl(var(--accent-h) 42% 20% / 0.75);
  --surface-solid: #0E1E36;

  /* Текст */
  --text:      #EAF2FF;
  --text-soft: hsl(var(--accent-h) 30% 78% / 0.62);
  --text-dim:  hsl(var(--accent-h) 25% 70% / 0.42);

  --line:   hsl(var(--accent-h) 60% 70% / 0.13);
  --line-2: hsl(var(--accent-h) 60% 70% / 0.22);

  --shadow:    0 14px 40px hsl(var(--accent-h) 80% 4% / 0.55);
  --shadow-lg: 0 24px 60px hsl(var(--accent-h) 80% 3% / 0.7);
  --glow-shadow: 0 8px 30px var(--glow);

  --radius: 20px;
  --radius-lg: 26px;

  --wordmark: "Baloo 2", "Space Grotesk", "Sora", -apple-system, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}

#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% -8%, var(--bg-3) 0%, var(--bg-2) 42%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

/* ===== Дэвсгэрийн үүл + гэрлийн бөмбөлөг ===== */
.bg-fx { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-fx .glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.bg-fx .orb-1 { top: -120px; right: -80px; width: 280px; height: 280px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%); }
.bg-fx .orb-2 { top: 30%; left: -120px; width: 260px; height: 260px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%); opacity: 0.28; }
/* Бодит донжтой бөөн үүл — цагаан, зөөлөн хөвнө */
.bg-fx .cloud {
  position: absolute;
  background: rgba(255,255,255,0.34);
  border-radius: 100px;
  filter: blur(9px);
  animation: drift 26s ease-in-out infinite;
}
.bg-fx .cloud::before {
  content: ''; position: absolute;
  left: 18%; top: -58%; width: 46%; height: 130%;
  background: inherit; border-radius: 50%;
}
.bg-fx .cloud::after {
  content: ''; position: absolute;
  right: 14%; top: -36%; width: 38%; height: 105%;
  background: inherit; border-radius: 50%;
}
.bg-fx .cloud-1 { top: 11%; left: -6%; width: 190px; height: 52px; opacity: 0.72; }
.bg-fx .cloud-2 { top: 44%; right: -9%; width: 230px; height: 60px; opacity: 0.55; animation-delay: -9s; animation-duration: 32s; }
.bg-fx .cloud-3 { bottom: 7%; left: 16%; width: 170px; height: 46px; opacity: 0.45; animation-delay: -16s; animation-duration: 30s; }
@keyframes drift {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(34px,-14px); }
}

/* ===== Screen систем + шилжилтийн анимаци ===== */
.screen { display: none; min-height: 100vh; padding-bottom: 44px; position: relative; z-index: 1; }
.screen.active { display: block; animation: screenIn 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Цэс хооронд шилжихэд эргэдэг глоб — гэрэлт бялуу */
.warp {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, hsl(var(--accent-h) 80% 8% / 0.9), hsl(var(--accent-h) 85% 4% / 0.96));
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.warp.show { display: flex; animation: warpFade 0.62s ease forwards; }
@keyframes warpFade {
  0%   { opacity: 0; }
  22%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}
.warp .globe { transform: scale(1.4); }
.warp .warp-label {
  position: absolute;
  bottom: 40%;
  font-family: var(--wordmark);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-2);
  opacity: 0.9;
  animation: warpText 0.62s ease;
}
@keyframes warpText { from { letter-spacing: 10px; opacity: 0; } to { letter-spacing: 4px; opacity: 0.9; } }

/* ===== Эргэдэг глоб (SVG) ===== */
.globe { position: relative; width: 96px; height: 96px; }
.globe svg { width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 0 18px var(--glow)); }
.globe .globe-lines { transform-origin: 50% 50%; animation: spin 14s linear infinite; }
.globe .globe-halo {
  position: absolute; inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  opacity: 0.55;
  animation: pulse 3.4s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 0.35; } 50% { opacity: 0.7; } }

/* Earth бичлэгэн глоб — сансрын дэвсгэр theme-д уусна, ирмэг зөөлөн */
.globe .globe-media {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 50%;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 80%, rgba(0,0,0,0.45) 90%, transparent 100%);
  mask: radial-gradient(circle at 50% 50%, #000 80%, rgba(0,0,0,0.45) 90%, transparent 100%);
  filter: drop-shadow(0 0 20px var(--glow));
}

/* ===== Брэнд wordmark — Go Go korea guide (дугуйрсан Baloo фонт) ===== */
.brand-mark {
  font-family: var(--wordmark);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  position: relative;
}
.brand-mark .go {
  color: #fff;
  text-shadow: 0 2px 18px rgba(120,180,255,0.55);
}
.brand-mark .place {
  background: linear-gradient(120deg, var(--blue-2) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-plane {
  width: 0.62em; height: 0.62em;
  color: #fff;
  margin-top: -0.18em;
  filter: drop-shadow(0 2px 8px rgba(120,180,255,0.6));
}
.brand-sub {
  font-family: var(--wordmark);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  margin-top: 6px;
  color: #fff;
}
.brand-sub .k { color: #9CCBFF; }
.brand-sub .g { color: #fff; }
.brand-tag {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: #E6F0FF;
  margin-top: 14px;
  text-shadow: 0 1px 10px rgba(46,124,255,0.5);
}

/* ===== Онгоцны цонх (porthole) — гэрэлтсэн цэнхэр хүрээ ===== */
.porthole {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  border-radius: 108px;
  padding: 13px;
  background: linear-gradient(180deg, #0E2A66 0%, #071734 100%);
  box-shadow:
    0 0 0 2px rgba(90,160,255,0.35),
    0 0 46px rgba(46,124,255,0.5),
    0 24px 60px rgba(3,8,26,0.7),
    inset 0 0 28px rgba(46,124,255,0.3);
}
.porthole-in {
  border-radius: 96px;
  background:
    radial-gradient(130% 90% at 50% 118%, rgba(120,190,255,0.5) 0%, transparent 55%),
    linear-gradient(180deg, #123C8F 0%, #1B52B8 58%, #2E7CFF 130%);
  border: 2px solid rgba(140,190,255,0.55);
  box-shadow:
    inset 0 -22px 60px rgba(140,200,255,0.28),
    inset 0 16px 44px rgba(2,10,38,0.45),
    0 0 30px rgba(64,140,255,0.45);
  padding: 34px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.porthole-in .globe { width: 88px; height: 88px; margin-bottom: 18px; }
.feat-icons {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  color: #CFE4FF;
}
.feat-icons svg {
  width: 22px; height: 22px;
  filter: drop-shadow(0 1px 6px rgba(46,124,255,0.55));
}

/* ===== Login Screen ===== */
.login-wrap {
  min-height: 100vh;
  padding: calc(54px + env(safe-area-inset-top)) 28px 40px;
  display: flex; flex-direction: column;
  position: relative; z-index: 1;
}
.login-brand { text-align: center; margin-top: 8px; display: flex; flex-direction: column; align-items: stretch; }
.login-brand .brand-mark { font-size: 46px; }
.login-brand p { color: var(--text-soft); font-size: 14.5px; margin-top: 18px; text-align: center; }
.login-brand p strong { color: var(--blue-2); }

/* хуучин лого зураг — дугуй, глоб доор нэмэлт болгож үлдээв */
.logo-photo {
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 20px;
  border: 2px solid var(--line-2);
  box-shadow: var(--glow-shadow);
}
.login-brand .logo {
  width: 84px; height: 84px; margin: 0 auto 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; font-weight: 800; color: #fff;
  box-shadow: var(--glow-shadow);
}

.login-form { margin-top: 46px; }
.login-form label { display: block; color: var(--text-soft); font-size: 12.5px; margin-bottom: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.login-form input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--line-2);
  color: var(--text);
  padding: 18px 20px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  outline: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: all 0.2s;
}
.login-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--glow); background: var(--surface-2); }
.login-form input::placeholder { color: var(--text-dim); letter-spacing: 2px; }

.btn-primary {
  width: 100%;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 60%, var(--cyan) 130%);
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-top: 18px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--glow-shadow);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.get-code-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0 12px; color: var(--text-dim);
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
}
.get-code-divider::before, .get-code-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line-2);
}
.btn-fb {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; box-sizing: border-box;
  background: linear-gradient(120deg, #1877F2 0%, #0E5FCB 100%);
  color: #fff; text-decoration: none;
  border: none; padding: 17px; border-radius: 15px;
  font-size: 16px; font-weight: 800; letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35);
  transition: transform 0.15s;
}
.btn-fb:active { transform: scale(0.98); }

/* Үндсэн CTA — kod.html руу */
.btn-getcode {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; box-sizing: border-box;
  background: linear-gradient(120deg, #2FCB8B 0%, #17A06A 100%);
  color: #fff; text-decoration: none;
  border: none; padding: 17px; border-radius: 15px;
  font-size: 16px; font-weight: 800; letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(47, 203, 139, 0.32);
  transition: transform 0.15s;
}
.btn-getcode:active { transform: scale(0.98); }

/* Хоёрдогч — Messenger */
.btn-fb-sm {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; box-sizing: border-box; margin-top: 10px;
  background: transparent; color: #8FB6EE; text-decoration: none;
  border: 1px solid rgba(24, 119, 242, 0.35);
  padding: 12px; border-radius: 13px;
  font-size: 13.5px; font-weight: 700;
}
.btn-fb-sm:active { transform: scale(0.98); }

.get-code-hint {
  margin: 10px 0 0; text-align: center;
  font-size: 12.5px; color: var(--text-dim);
}

.btn-ghost {
  width: 100%; background: transparent; color: var(--text);
  border: 1.5px solid var(--line-2);
  padding: 16px; border-radius: 15px;
  font-size: 15px; font-weight: 600; margin-top: 12px;
  cursor: pointer; text-decoration: none; display: block; text-align: center;
}

.login-footer {
  margin-top: auto; padding-top: 30px; text-align: center;
  color: var(--text-dim); font-size: 13px;
}

.error-msg {
  background: hsl(0 70% 55% / 0.14);
  color: #FF9E9E;
  padding: 12px 16px; border-radius: 12px;
  font-size: 14px; margin-top: 14px; display: none;
  border: 1px solid hsl(0 70% 60% / 0.3);
}
.error-msg.show { display: block; }
.success-msg {
  background: hsl(145 60% 50% / 0.14); color: #8FE9AE;
  padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-top: 14px;
}

/* ===== Home Screen ===== */
.home-header {
  color: var(--text);
  padding: calc(46px + env(safe-area-inset-top)) 24px 74px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.home-header .home-globe { display: flex; justify-content: center; margin-bottom: 18px; }
.home-header .home-globe .globe { width: 92px; height: 92px; }
.home-header .brand-mark { font-size: 30px; }
.home-header .greet { color: var(--text-soft); font-size: 14px; margin-top: 12px; }
.home-header .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--blue-2);
  padding: 6px 14px; border-radius: 100px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 18px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.sections {
  padding: 0 18px;
  margin-top: -46px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; z-index: 2;
}

.section-card {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.25s, border-color 0.25s;
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  position: relative;
}
.section-card:active { transform: scale(0.98); }
.section-card:hover { border-color: var(--line-2); box-shadow: var(--glow-shadow); }
.section-card.locked { opacity: 0.55; }

.section-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(140deg, var(--blue-deep), hsl(var(--accent-h) 60% 30%));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1px solid var(--line-2); color: #fff;
}
.section-icon svg { width: 26px; height: 26px; }

.section-meta { flex: 1; min-width: 0; }
.section-num { font-size: 11px; color: var(--blue-2); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.section-title { font-size: 16.5px; font-weight: 700; color: var(--text); margin-top: 3px; line-height: 1.3; }
.section-sub { font-size: 12.5px; color: var(--text-soft); margin-top: 4px; }
.section-arrow { color: var(--blue-2); font-size: 22px; font-weight: 300; flex-shrink: 0; }

/* ===== Үндсэн цэс — зураггүй, өнгөт градиент картууд (анхны preview-тэй яг адил) ===== */
.section-card.has-img {
  padding: 0; overflow: hidden; min-height: 120px;
  border: 1px solid var(--line);
}
.section-card.has-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    hsl(var(--accent-h) 85% 6% / 0.94) 0%,
    hsl(var(--accent-h) 82% 8% / 0.66) 52%,
    hsl(var(--accent-h) 80% 12% / 0.24) 100%);
}
.section-card.has-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 55%, var(--glow) 140%);
  opacity: 0.5;
}
.section-card.has-img .card-in {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px;
}
.section-card.has-img .section-title { color: #fff; }
.section-card.has-img .section-sub { color: #C6D3E4; }
.sc-1 { background: linear-gradient(120deg, #0A2A5E 0%, #123A7E 100%); }
.sc-2 { background: linear-gradient(120deg, #0A3A54 0%, #106A8E 100%); }
.sc-3 { background: linear-gradient(120deg, #3A1A5E 0%, #5A2A8E 100%); }
.sc-4 { background: linear-gradient(120deg, #0A4A44 0%, #108A6E 100%); }
.sc-5 { background: linear-gradient(120deg, #2A1A5E 0%, #4A3A9E 100%); }
/* Жижиг зэрэгцээ картууд — 6/7 өөрийн өнгө, тод хүрээтэй */
.section-card.mini { border: 1px solid rgba(140,180,240,0.28); overflow: hidden; }
.section-card.mini[data-section="6"] { background: linear-gradient(120deg, #0A3450 0%, #0F5E80 100%); }
.section-card.mini[data-section="7"] { background: linear-gradient(120deg, #34175A 0%, #54288A 100%); }
.section-card.mini::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, hsl(var(--accent-h) 85% 6% / 0.5) 0%, transparent 70%);
}
.section-card.mini::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, transparent 55%, var(--glow) 140%); opacity: 0.5;
}
.section-card.mini .section-title { color: #fff; position: relative; z-index: 1; }
.section-card.mini .section-sub { color: #C6D3E4; position: relative; z-index: 1; }

/* ===== Хэсэг 5 — постын зураг ===== */
.acc-thumb { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); }
.post-hero {
  width: 100%; max-height: 220px; object-fit: cover;
  border-radius: 16px; margin-bottom: 14px; display: block;
  border: 1px solid var(--line);
}
.prose p { font-size: 14.5px; line-height: 1.68; color: var(--text-soft); margin-bottom: 12px; }
.prose p:last-child { margin-bottom: 0; }

.coming-soon {
  position: absolute; top: 10px; right: 10px;
  background: var(--blue); color: #fff;
  font-size: 9px; padding: 3px 9px; border-radius: 100px; font-weight: 800; letter-spacing: 0.5px;
}

/* ===== Section detail ===== */
.detail-header {
  padding: calc(12px + env(safe-area-inset-top)) 18px 12px;
  display: flex; align-items: center; gap: 12px;
  background: hsl(var(--accent-h) 60% 8% / 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--line);
}
.back-btn {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  width: 42px; height: 42px; border-radius: 13px;
  font-size: 20px; color: var(--blue-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s;
}
.back-btn:active { transform: scale(0.92); }
.detail-header h2 {
  font-family: var(--wordmark);
  font-size: 18px; font-weight: 700; color: var(--text);
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.detail-body { padding: 20px 18px 60px; display: flex; flex-direction: column; gap: 16px; }

.section-intro {
  font-size: 15px; color: var(--text-soft); line-height: 1.62; padding: 4px 4px 8px;
}

.block {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.block-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 14px; }

/* ----- Checklist ----- */
.checklist { display: flex; flex-direction: column; gap: 14px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.check-item:last-child { border-bottom: none; padding-bottom: 0; }
.check-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.check-title { font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.check-desc { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

/* ----- Callouts ----- */
.callout { border-radius: var(--radius); padding: 16px 18px; border-left: 4px solid; }
.callout-warn   { background: hsl(38 90% 55% / 0.12);  border-color: #F0A93C; }
.callout-warn .callout-title { color: #FFCB7A; }
.callout-info   { background: hsl(var(--accent-h) 90% 55% / 0.13); border-color: var(--blue); }
.callout-info .callout-title { color: var(--blue-2); }
.callout-danger { background: hsl(0 80% 55% / 0.12); border-color: #E5595C; }
.callout-danger .callout-title { color: #FF9A9C; }
.callout-title { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.callout-body { font-size: 14px; color: var(--text); line-height: 1.58; }

/* ----- Tip card ----- */
.tip-card {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--ink) 100%);
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 18px; display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow);
}
.tip-icon { font-size: 24px; line-height: 1; flex-shrink: 0; }
.tip-title { font-size: 12.5px; color: var(--cyan); font-weight: 800; letter-spacing: 0.4px; margin-bottom: 6px; text-transform: uppercase; }
.tip-body { font-size: 14px; color: var(--text-soft); line-height: 1.58; }

/* ----- Info card with steps + link ----- */
.info-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.info-body { font-size: 14px; color: var(--text-soft); line-height: 1.62; margin-bottom: 14px; }
.action-link {
  display: inline-block;
  background: linear-gradient(120deg, var(--blue), var(--blue-2));
  color: #fff; padding: 11px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 700; text-decoration: none; margin-bottom: 16px;
  box-shadow: var(--glow-shadow);
}
.action-link:active { opacity: 0.85; }
.step-list { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.step-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.55; }
.step-num {
  width: 25px; height: 25px;
  background: var(--blue-deep); color: var(--blue-2);
  border-radius: 50%; font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid var(--line-2);
}

/* ----- Q&A accordion ----- */
.qa-list { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-item:last-child { border-bottom: none; }
.qa-item summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; gap: 12px; align-items: center; user-select: none; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-num {
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff;
  font-weight: 800; font-size: 12px; width: 28px; height: 28px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.qa-q { flex: 1; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; }
.qa-arrow { font-size: 16px; color: var(--blue-2); transition: transform 0.2s; }
.qa-item[open] .qa-arrow { transform: rotate(180deg); }
.qa-a { padding: 0 18px 18px 58px; font-size: 14px; color: var(--text-soft); line-height: 1.62; }

/* ----- Section Accordion ----- */
.acc-list { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  background: var(--surface-2); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.acc-summary { list-style: none; cursor: pointer; padding: 18px; display: flex; gap: 14px; align-items: center; user-select: none; }
.acc-summary::-webkit-details-marker { display: none; }
.acc-icon { font-size: 22px; width: 36px; text-align: center; flex-shrink: 0; }
.acc-title { flex: 1; font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.4; }
.acc-arrow { font-size: 16px; color: var(--blue-2); transition: transform 0.25s; flex-shrink: 0; }
.acc-item[open] .acc-arrow { transform: rotate(180deg); }
.acc-item[open] .acc-summary { border-bottom: 1px solid var(--line); background: hsl(var(--accent-h) 50% 22% / 0.4); }
.acc-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

/* ----- List block ----- */
.list-block ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.list-block li {
  position: relative; padding: 10px 12px 10px 34px;
  background: hsl(var(--accent-h) 45% 18% / 0.5);
  border: 1px solid var(--line);
  border-radius: 12px; font-size: 14px; line-height: 1.55; color: var(--text);
}
.list-block li::before { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 800; }
.list-danger li { background: hsl(0 70% 50% / 0.14); color: #FFC9C9; border-color: hsl(0 70% 55% / 0.28); }
.list-danger li::before { content: "✕"; color: #FF8A8A; }
.list-ok li { background: hsl(145 55% 45% / 0.14); color: #B8F0CB; border-color: hsl(145 55% 50% / 0.28); }
.list-ok li::before { content: "✓"; color: #6FE39A; }
.list-info li { background: hsl(var(--accent-h) 60% 40% / 0.16); color: #CFE0FA; border-color: var(--line-2); }
.list-info li::before { content: "▸"; color: var(--blue-2); }

/* ----- Contact rows (phone / map) ----- */
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  border-radius: 15px; text-decoration: none; color: inherit;
  border: 1px solid var(--line-2); transition: transform 0.15s;
}
.contact-row:active { transform: scale(0.98); }
.contact-phone { background: linear-gradient(135deg, hsl(145 55% 40% / 0.22), hsl(145 55% 30% / 0.12)); border-color: hsl(145 55% 50% / 0.3); }
.contact-map   { background: linear-gradient(135deg, hsl(var(--accent-h) 70% 45% / 0.22), hsl(var(--accent-h) 70% 30% / 0.12)); border-color: var(--line-2); }
.contact-ic { width: 40px; height: 40px; background: hsl(var(--accent-h) 40% 14% / 0.7); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-meta { flex: 1; min-width: 0; }
.contact-label { font-size: 12px; color: var(--text-soft); font-weight: 700; margin-bottom: 2px; }
.contact-value { font-size: 15px; font-weight: 800; color: var(--text); word-break: break-word; }
.contact-arrow { color: var(--blue-2); font-size: 20px; flex-shrink: 0; }

/* ===== Bottom info bar ===== */
.info-bar {
  margin: 30px 18px 0; padding: 18px;
  background: var(--surface);
  border-radius: 15px; border: 1px dashed var(--line-2);
  display: flex; gap: 12px; align-items: flex-start;
}
.info-bar .ic { font-size: 22px; }
.info-bar .tx { font-size: 13px; color: var(--text-soft); line-height: 1.55; }
.info-bar strong { color: var(--text); }

/* ===== Offline indicator ===== */
.offline-pill {
  position: fixed; top: calc(12px + env(safe-area-inset-top)); left: 50%;
  transform: translateX(-50%);
  background: var(--surface-solid); color: var(--cyan);
  padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700;
  z-index: 100; display: none; box-shadow: var(--shadow); border: 1px solid var(--line-2);
}
.offline-pill.show { display: block; }

/* ===== Loading spinner ===== */
.spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.8s linear infinite; display: inline-block; vertical-align: middle;
}

/* ===== Logout area ===== */
.user-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 30px 18px 0; padding: 14px 18px;
  background: var(--surface); border-radius: 15px; border: 1px solid var(--line);
}
.user-bar small { color: var(--text-soft); font-size: 12px; }
.user-bar button { background: none; border: none; color: var(--blue-2); font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.user-bar button:active { background: var(--surface-2); }

/* ===== Motion / entrance ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes softReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.screen.active .section-card { opacity: 0; animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.screen.active .section-card:nth-child(1) { animation-delay: 0.05s; }
.screen.active .section-card:nth-child(2) { animation-delay: 0.11s; }
.screen.active .section-card:nth-child(3) { animation-delay: 0.17s; }
.screen.active .section-card:nth-child(4) { animation-delay: 0.23s; }
.screen.active .section-card:nth-child(5) { animation-delay: 0.29s; }
.screen.active .sections-duo { opacity: 0; animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.34s forwards; }

#detailBody > * { opacity: 0; animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
#detailBody > *:nth-child(1) { animation-delay: 0.03s; }
#detailBody > *:nth-child(2) { animation-delay: 0.08s; }
#detailBody > *:nth-child(3) { animation-delay: 0.13s; }
#detailBody > *:nth-child(4) { animation-delay: 0.18s; }
#detailBody > *:nth-child(5) { animation-delay: 0.23s; }
#detailBody > *:nth-child(n+6) { animation-delay: 0.28s; }

.acc-item[open] .acc-body, .qa-item[open] .qa-a { animation: softReveal 0.28s ease both; }

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

/* ===== Имигрэйшн Q&A 2.0 ===== */
.qa2-cat {
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-2); margin: 26px 2px 12px; padding-bottom: 6px;
  border-bottom: 1.5px solid var(--line-2);
}
.qa2 { margin-bottom: 16px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.qa2-q { background: linear-gradient(150deg, var(--blue-deep) 0%, var(--ink) 100%); padding: 14px 16px 12px; }
.qa2-a { background: var(--surface-2); border: 1.5px solid var(--line-2); border-top: none; border-radius: 0 0 18px 18px; padding: 13px 16px 12px; }
.qa2-tag { font-size: 9.5px; font-weight: 800; letter-spacing: 1.8px; margin-bottom: 5px; }
.qa2-q .qa2-tag { color: var(--cyan); }
.qa2-a .qa2-tag { color: var(--blue-2); }
.qa2-en { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.qa2-q .qa2-en { color: #FFFFFF; }
.qa2-a .qa2-en { color: var(--text); }
.qa2-mn { font-size: 13.5px; margin-top: 5px; line-height: 1.4; }
.qa2-q .qa2-mn { color: rgba(230,240,255,0.8); }
.qa2-a .qa2-mn { color: var(--text-soft); }
.qa2-say { font-size: 13px; margin-top: 6px; font-style: italic; }
.qa2-q .qa2-say { color: var(--cyan); }
.qa2-a .qa2-say { color: var(--blue-2); }

/* ===== Хэрэглэгдэх өгүүлбэрүүд (phrases) ===== */
.ph-wrap { margin-bottom: 22px; }
.ph-cat {
  font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--blue-2); margin: 24px 2px 8px; padding-bottom: 6px;
  border-bottom: 1.5px solid var(--line-2);
}
.ph-lead { font-size: 13.5px; color: var(--text-soft); margin: 0 2px 12px; line-height: 1.5; }
.ph-list { display: flex; flex-direction: column; gap: 10px; }
.ph {
  background: var(--surface-2); border: 1.5px solid var(--line-2);
  border-radius: 16px; padding: 13px 15px 12px; box-shadow: var(--shadow);
}
.ph-mn { font-size: 13.5px; color: var(--text-soft); line-height: 1.4; }
.ph-ko {
  font-size: 21px; font-weight: 700; color: #FFFFFF; line-height: 1.32;
  margin: 7px 0 5px; letter-spacing: -0.2px;
  word-break: keep-all;
}
.ph-say { font-size: 13.5px; color: var(--cyan); font-style: italic; }
.ph-tip {
  font-size: 12.5px; color: var(--text-dim); line-height: 1.45;
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line);
}

/* ===== Хэсэг 1 — онцгой дизайн ===== */
.detail-body[data-sec="1"] { font-size: 15.5px; }
.detail-body[data-sec="1"] .acc-summary { padding: 16px 14px; }
.detail-body[data-sec="1"] .acc-title { font-size: 16px; font-weight: 700; }
.detail-body[data-sec="1"] .section-intro {
  background: linear-gradient(150deg, var(--blue-deep) 0%, var(--ink) 100%);
  color: var(--text); padding: 14px 18px; border-radius: 15px; border-left: 4px solid var(--blue);
}
.detail-body[data-sec="1"] .stage-num {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1px;
  color: var(--cyan); background: hsl(var(--accent-h) 60% 30% / 0.3);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 1px 7px; margin-right: 6px;
}
.acc-title .stage-num { vertical-align: 1px; }

/* ===== Форм ===== */
.kg-form .kg-form-email, .kg-form .kg-form-msg {
  width: 100%; box-sizing: border-box; border: 1.5px solid var(--line-2);
  border-radius: 13px; padding: 13px 14px; font-size: 15px; font-family: inherit;
  color: var(--text); background: var(--surface); margin-top: 10px; outline: none; resize: vertical;
}
.kg-form .kg-form-email::placeholder, .kg-form .kg-form-msg::placeholder { color: var(--text-dim); }
.kg-form .kg-form-email:focus, .kg-form .kg-form-msg:focus { border-color: var(--blue); background: var(--surface-2); }
.kg-form .btn-primary { padding: 14px; font-size: 15px; margin-top: 12px; }
.kg-form-note { margin-top: 10px; font-size: 14px; font-weight: 600; line-height: 1.5; }

/* ===== Жижиг зэрэгцээ картууд ===== */
.sections-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.section-card.mini { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 14px; }
.section-card.mini .mini-icon { font-size: 26px; line-height: 1; margin-bottom: 2px; }
.section-card.mini .section-title { font-size: 14.5px; margin-top: 0; }
.section-card.mini .section-sub { font-size: 11.5px; margin-top: 0; }

/* ===== Хэсэг бүрийн брэнд өнгө (үндсэн картын градиенттай ижил) ===== */
.detail-body[data-sec="1"], .sub-body[data-sec="1"] { --sg1: #0A2A5E; --sg2: #123A7E; }
.detail-body[data-sec="2"], .sub-body[data-sec="2"] { --sg1: #0A3A54; --sg2: #106A8E; }
.detail-body[data-sec="3"], .sub-body[data-sec="3"] { --sg1: #3A1A5E; --sg2: #5A2A8E; }
.detail-body[data-sec="4"], .sub-body[data-sec="4"] { --sg1: #0A4A44; --sg2: #108A6E; }
.detail-body[data-sec="5"], .sub-body[data-sec="5"] { --sg1: #2A1A5E; --sg2: #4A3A9E; }
.detail-body[data-sec="6"], .sub-body[data-sec="6"] { --sg1: #0A3450; --sg2: #0F5E80; }
.detail-body[data-sec="7"], .sub-body[data-sec="7"] { --sg1: #34175A; --sg2: #54288A; }

/* ===== Дэд хэсгийн NAV карт — дарж ордог (задардаггүй) ===== */
.nav-list { display: flex; flex-direction: column; gap: 11px; }
.nav-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(150,185,240,0.22);
  background:
    linear-gradient(90deg, hsl(var(--accent-h) 85% 6% / 0.5) 0%, transparent 65%),
    linear-gradient(120deg, var(--sg1, #0A2A5E) 0%, var(--sg2, #123A7E) 100%);
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.15s;
}
.nav-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 55%, var(--glow) 145%); opacity: 0.45;
  pointer-events: none;
}
.nav-item:active { transform: scale(0.98); }
.nav-item .acc-thumb { border-color: rgba(255,255,255,0.2); }
.nav-item .nav-icon { font-size: 22px; width: 36px; text-align: center; flex-shrink: 0; }
.nav-item .nav-title { flex: 1; font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.4; position: relative; z-index: 1; }
.nav-item .nav-arrow { color: rgba(255,255,255,0.8); font-size: 21px; flex-shrink: 0; position: relative; z-index: 1; }

/* Дэд хуудасны accordion-ууд ч хэсгийн өнгөтэй */
.detail-body .acc-summary, .sub-body .acc-summary {
  background:
    linear-gradient(90deg, hsl(var(--accent-h) 85% 6% / 0.45) 0%, transparent 70%),
    linear-gradient(120deg, var(--sg1, #0A2A5E) 0%, var(--sg2, #123A7E) 100%);
}
.detail-body .acc-item, .sub-body .acc-item { border-color: rgba(150,185,240,0.2); }
.detail-body .acc-title, .sub-body .acc-title { color: #fff; }
.detail-body .acc-arrow, .sub-body .acc-arrow { color: rgba(255,255,255,0.8); }
.detail-body .acc-item[open] .acc-summary, .sub-body .acc-item[open] .acc-summary { border-bottom: 1px solid var(--line); }

/* ===== Hello Korea сургалтын banner (дарагддаггүй) ===== */
.promo-bar {
  margin: 30px 18px 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(150,185,240,0.26);
  background:
    linear-gradient(90deg, hsl(var(--accent-h) 85% 6% / 0.5) 0%, transparent 70%),
    linear-gradient(120deg, #1A2A6E 0%, #3A4ABE 100%);
  position: relative; overflow: hidden;
}
.promo-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 55%, var(--glow) 140%); opacity: 0.5; pointer-events: none;
}
.promo-badge {
  display: inline-block;
  font-family: var(--wordmark);
  font-size: 9.5px; font-weight: 700; letter-spacing: 2px;
  color: #FFD98A; background: rgba(255,200,90,0.14);
  border: 1px solid rgba(255,200,90,0.35);
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 9px; text-transform: uppercase;
}
.promo-title { font-size: 15.5px; font-weight: 800; color: #fff; line-height: 1.35; position: relative; z-index: 1; }
.promo-sub { font-size: 12.5px; color: #C6D3E4; margin-top: 5px; line-height: 1.5; position: relative; z-index: 1; }

/* ===== Copyright ===== */
.copyright {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-dim);
  padding: 26px 20px 10px;
  line-height: 1.6;
}
.copyright strong { color: var(--text-soft); font-weight: 700; }

/* ===== Home header — шинэ брэнд эгнээ ===== */
.home-header .brand-sub { font-size: 14.5px; margin: 3px 0 14px; }
.home-header .badge { margin-bottom: 0; margin-top: 2px; }
.home-header .greet { margin-top: 14px; }

/* ===== Байгууллагын карт (виз материал хүлээн авах газрууд г.м.) ===== */
.org-list { display: flex; flex-direction: column; gap: 12px; }
.org-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 15px 16px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.org-name { font-weight: 800; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.org-addr { font-size: 13.5px; color: var(--text-soft); line-height: 1.5; margin-bottom: 4px; }
.org-hours { font-size: 12.5px; color: var(--text-dim); margin-bottom: 8px; }
.org-links { display: flex; flex-wrap: wrap; gap: 8px; }
.org-tel, .org-web {
  display: inline-flex; align-items: center; gap: 5px;
  background: hsl(var(--accent-h) 80% 45% / 0.18);
  border: 1px solid hsl(var(--accent-h) 80% 60% / 0.35);
  color: var(--blue-2);
  text-decoration: none;
  font-size: 13px; font-weight: 700;
  padding: 7px 12px; border-radius: 100px;
}
.org-tel:active, .org-web:active { transform: scale(0.97); }

/* ===== Эх сурвалжийн мөр ===== */
.src-line {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 14px 0 4px;
  padding: 11px 13px;
  background: hsl(var(--accent-h) 40% 16% / 0.4);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px; line-height: 1.5;
  color: var(--text-dim);
}
.src-line .src-ic { font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.src-line .src-lbl { color: var(--text-soft); font-weight: 700; }
.src-line a { color: var(--blue-2); text-decoration: none; word-break: break-word; }

/* ===== Word татах товч ===== */
.dl-list { display: flex; flex-direction: column; gap: 10px; }
.dl-btn {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px;
  background: linear-gradient(120deg, hsl(var(--accent-h) 80% 45% / 0.16), hsl(195 90% 50% / 0.1));
  border: 1px solid hsl(var(--accent-h) 80% 60% / 0.35);
  border-radius: 14px;
  text-decoration: none; color: var(--text);
}
.dl-btn:active { transform: scale(0.98); }
.dl-btn .dl-ic { font-size: 24px; flex-shrink: 0; }
.dl-btn .dl-meta { flex: 1; display: flex; flex-direction: column; }
.dl-btn .dl-title { font-weight: 700; font-size: 14.5px; }
.dl-btn .dl-sub { font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.dl-btn .dl-arrow { font-size: 22px; color: var(--blue-2); flex-shrink: 0; }

/* ===== Interactive checklist ===== */
.clv { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 16px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.clv-progress { height: 8px; border-radius: 100px; background: hsl(var(--accent-h) 40% 20% / 0.6); overflow: hidden; }
.clv-bar { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%); transition: width 0.35s cubic-bezier(0.22,1,0.36,1); }
.clv-pct { text-align: right; font-size: 12px; font-weight: 700; color: var(--blue-2); margin: 7px 0 4px; letter-spacing: 0.3px; }
.clv-group { margin-top: 18px; }
.clv-gtitle { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px; }
.clv-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 12px; cursor: pointer; position: relative; margin-bottom: 7px; background: hsl(var(--accent-h) 40% 18% / 0.34); border: 1px solid transparent; transition: background 0.15s; }
.clv-row:active { background: hsl(var(--accent-h) 40% 22% / 0.5); }
.clv-row .clv-cb { position: absolute; opacity: 0; pointer-events: none; }
.clv-box { flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: all 0.18s; }
.clv-box::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 900; opacity: 0; transform: scale(0.5); transition: all 0.18s; }
.clv-cb:checked ~ .clv-box { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; }
.clv-cb:checked ~ .clv-box::after { opacity: 1; transform: scale(1); }
.clv-text { flex: 1; font-size: 14px; line-height: 1.45; color: var(--text); padding-right: 4px; }
.clv-cb:checked ~ .clv-text { color: var(--text-dim); text-decoration: line-through; }
.clv-del { flex-shrink: 0; background: none; border: none; color: var(--text-dim); font-size: 15px; cursor: pointer; padding: 2px 4px; line-height: 1; }
.clv-del:active { color: #FF9E9E; }
.clv-add { display: flex; gap: 8px; margin-top: 10px; }
.clv-add-input { flex: 1; background: hsl(var(--accent-h) 40% 16% / 0.55); border: 1.5px solid var(--line-2); color: var(--text); padding: 11px 14px; border-radius: 12px; font-size: 14px; outline: none; }
.clv-add-input:focus { border-color: var(--blue); }
.clv-add-input::placeholder { color: var(--text-dim); }
.clv-add-btn { flex-shrink: 0; background: linear-gradient(120deg, var(--blue), var(--cyan)); color: #fff; border: none; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 800; cursor: pointer; }
.clv-add-btn:active { transform: scale(0.96); }
.clv-reset { width: 100%; margin-top: 16px; background: transparent; border: 1px solid var(--line-2); color: var(--text-soft); padding: 11px; border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.clv-reset:active { background: hsl(0 60% 50% / 0.14); color: #FF9E9E; }
