@font-face { font-family: "Prata"; src: url(/fonts/prata-cyrillic-ext.woff2) format("woff2"); font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Prata"; src: url(/fonts/prata-cyrillic.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Prata"; src: url(/fonts/prata-latin.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20AE, U+2122, U+2212; }
@font-face { font-family: "Literata"; src: url(/fonts/literata-cyrillic-ext.woff2) format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Literata"; src: url(/fonts/literata-cyrillic.woff2) format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; src: url(/fonts/literata-latin.woff2) format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20AE, U+2122, U+2212; }
@font-face { font-family: "Literata"; font-style: italic; src: url(/fonts/literata-cyrillic-ext-italic.woff2) format("woff2"); font-display: swap; unicode-range: U+0460-052F; }
@font-face { font-family: "Literata"; font-style: italic; src: url(/fonts/literata-cyrillic-italic.woff2) format("woff2"); font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1; }
@font-face { font-family: "Literata"; font-style: italic; src: url(/fonts/literata-latin-italic.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

/* «Хос» — Сарны мөнгө: гүн бэх шөнө, мөнгөлөг ягаан гэрэл, бүдэг сарны шар. Хурц өнгө, гэрэлтэлт, градиент товч байхгүй;
   өнгө нь зөөлөн, ялгаа нь гэрлийн түвшнээр. Гол дүр: 12 жилийн од эрхэс (public/wheel.js). */
:root {
  --night: #0d0f1f;        /* талбай: бэх шөнө */
  --night-2: #141730;      /* самбар */
  --night-3: #1b1f3d;      /* идэвхтэй самбар */
  --line: rgba(201, 198, 232, .16);
  --line-2: rgba(201, 198, 232, .28);
  --silver: #dcdaec;       /* үндсэн текст */
  --silver-2: #b8b5d6;     /* хоёрдогч текст (≥7:1) */
  --mist: #9592bf;         /* туслах текст, шошго (≥5:1) */
  --iris: #9d97d8;         /* од эрхэсийн шугам, онцлох */
  --iris-deep: #6f68b8;
  --moon: #cbb98c;         /* сарны шар: гол үйлдэл */
  --moon-hi: #e3d6b0;
  --moon-ink: #1a1626;     /* сарны шар дээрх текст */
  --sage: #8fc7b5;         /* эв найр (зөөлөн) */
  --rose: #d6a39b;         /* анхаарах (зөөлөн) */
  --err-bg: #2a1a26;
  --display: "Prata", Georgia, serif;
  --text: "Literata", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--iris-deep) var(--night); }
body { margin: 0; min-height: 100svh; color: var(--silver); font: 400 17px/1.66 var(--text); -webkit-font-smoothing: antialiased; background: var(--night) url(/tex/cloth.svg) 0 0 / 420px 420px; }
::selection { background: var(--iris); color: var(--night); }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; text-decoration-color: var(--iris); }
:focus-visible { outline: 2px solid var(--moon-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.012em; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(32px, 8vw, 54px); }
h3 { font-size: 24px; }
p { margin: 0; text-wrap: pretty; }
b { font-weight: 600; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--moon); color: var(--moon-ink); padding: 10px 14px; z-index: 20; border-radius: 6px; }
.skip:focus { top: 12px; }
.i { width: 24px; height: 24px; flex: none; }
.sky { display: none; }

/* ---------- Толгой ---------- */
.bar { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) 20px 8px; max-width: 1200px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 28px var(--display); text-decoration: none; color: var(--silver); }
.logo .i { width: 24px; height: 24px; color: var(--iris); }
.bar-link { font-size: 15.5px; padding: 10px 0; color: var(--silver-2); }

/* ---------- Нүүр ---------- */
.hero { width: min(100% - 32px, 1120px); margin: 0 auto; padding-top: 12px; display: grid; justify-items: start; }
.hero-title { font-size: clamp(40px, 12vw, 72px); line-height: 1.06; letter-spacing: -.02em; }
.hero-title em { font-style: normal; color: var(--moon); }
.hero-sub { margin-top: 14px; max-width: 30em; color: var(--silver-2); font-size: 16.5px; }
.hero-sub b { color: var(--silver); font-weight: 500; }

/* ---------- Тэнгэрийн зураг ---------- */
.wheel-wrap { position: relative; margin: 12px auto 0; width: min(100%, 420px, max(240px, 34svh)); aspect-ratio: 1; justify-self: center; }
.wheel { width: 100%; height: 100%; overflow: visible; }
.wheel .dust { fill: var(--silver); opacity: .38; }
.wheel .dust.twinkle { animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .12; } to { opacity: .75; } }
.wheel .orbit-line { fill: none; stroke: var(--iris); stroke-width: .8; opacity: .45; }
.wheel .orbit-line.faint { opacity: .2; stroke-dasharray: 2 5; }
.wheel .tick { stroke: var(--iris); stroke-width: .7; opacity: .35; }
.wheel .tick.major { stroke: var(--moon); opacity: .7; }
.wheel .dial { transform-origin: 0 0; animation: dial 400s linear infinite; }
@keyframes dial { to { transform: rotate(360deg); } }
.wheel .node { transition: opacity .5s; }
.wheel .c-line { fill: none; stroke: var(--iris); stroke-width: .9; opacity: .55; transition: stroke .5s, opacity .5s, stroke-width .5s; }
.wheel .c-star { fill: var(--silver); transition: fill .5s, r .5s; }
.wheel .animal .node-icon { color: var(--silver-2); opacity: .75; transition: color .5s, opacity .5s; }
.wheel .element .node-disc { fill: var(--night-2); stroke: var(--line-2); stroke-width: 1; transition: fill .5s, stroke .5s; }
.wheel .element .node-icon { color: var(--silver-2); transition: color .5s; }
.wheel .moon { fill: var(--night-2); stroke: var(--iris); stroke-width: .8; opacity: .9; }
.wheel .loshu rect { fill: transparent; stroke: var(--line-2); stroke-width: .8; transition: fill .5s; }
.wheel .loshu text { fill: var(--silver-2); font: 12px var(--display); transition: fill .5s; }
/* Тодорсон хүн: од эрхэс сарны шараар */
.wheel.lit .node:not(.on-a):not(.on-b) { opacity: .5; }
.wheel .animal.on-a .c-line, .wheel .animal.on-b .c-line { stroke: var(--moon); opacity: 1; stroke-width: 1.4; }
.wheel .animal.on-a .c-star, .wheel .animal.on-b .c-star { fill: var(--moon-hi); }
.wheel .animal.on-a .node-icon, .wheel .animal.on-b .node-icon { color: var(--moon-hi); opacity: 1; }
.wheel .element.on-a .node-disc, .wheel .element.on-b .node-disc { fill: var(--moon); stroke: var(--moon-hi); }
.wheel .element.on-a .node-icon, .wheel .element.on-b .node-icon { color: var(--moon-ink); }
.wheel .cell.on-a rect, .wheel .cell.on-b rect { fill: var(--moon); }
.wheel .cell.on-a text, .wheel .cell.on-b text { fill: var(--moon-ink); }
.wheel .chord { fill: none; stroke: var(--moon); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) .2s forwards; }
.wheel .chord.trine, .wheel .chord.secret { stroke: var(--sage); }
.wheel .chord.clash, .wheel .chord.harm { stroke: var(--rose); }
.wheel .chord.elem { stroke: var(--iris); stroke-width: 1; opacity: .7; }
.wheel .tri { fill: rgba(143, 199, 181, .035); stroke: var(--sage); stroke-width: .8; stroke-dasharray: 2 5; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wheel .rot { transform-origin: 0 0; }
.wheel.spin .rot { animation: drift 1.8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes drift { from { transform: rotate(-60deg) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Маягт ---------- */
.pair-form { width: min(100%, 580px); margin: 16px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; justify-self: center; }
.who { margin: 0; padding: 18px 18px 14px; min-width: 0; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(20, 23, 48, .82); transition: border-color .3s; }
.who:focus-within { border-color: var(--moon); }
.who legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font: 22px/1.1 var(--display); color: var(--silver); }
.who legend + * { clear: both; }
.field { display: block; }
.field + .field { margin-top: 10px; }
.field span { display: block; font: 500 12.5px var(--text); letter-spacing: .04em; color: var(--mist); }
.field input { width: 100%; height: 38px; padding: 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--silver); font: 500 18px var(--text); font-variant-numeric: lining-nums tabular-nums; caret-color: var(--moon); }
.field input::placeholder { color: #8986b3; font-weight: 400; }
.field input:focus { outline: none; border-bottom: 1.5px solid var(--moon); }
.field input[aria-invalid="true"] { border-bottom-color: var(--rose); }
.sign { min-height: 1.4em; margin-top: 10px; font: italic 14px/1.35 var(--text); color: var(--moon); }
.and { display: none; }
.cta-wrap { grid-column: 1 / -1; display: grid; justify-items: stretch; gap: 8px; margin-top: 4px; }
.cta-note { font-size: 14px; color: var(--mist); text-align: center; }
.form-error { background: var(--err-bg); color: #f0c9c2; border: 1px solid rgba(214, 163, 155, .4); font-size: 15px; padding: 10px 12px; text-align: center; border-radius: 10px; }

/* ---------- Товч ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; font: 600 17px var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s, transform .2s var(--ease); }
.btn .i { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn.gold { color: var(--moon-ink); background: var(--moon); }
.btn.gold:hover { background: var(--moon-hi); }
.btn.gold:hover .i { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.ghost { color: var(--silver); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--moon); color: var(--moon-hi); }
.btn.text { min-height: 44px; padding: 0 4px; background: none; color: var(--silver-2); font-size: 16px; font-weight: 500; border-radius: 6px; }
.btn.text:hover { color: var(--silver); }
.btn.loading span::after { content: "…"; }

/* ---------- Нүүрний хэсгүүд ---------- */
.rings, .sample, .future, .offer, .faq, .again { width: min(100% - 32px, 820px); margin: 0 auto; padding: 112px 0 0; }
.rings h2, .sample h2, .future h2, .offer h2, .faq h2 { padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.lede { margin-top: 16px; color: var(--silver-2); font-size: 18px; max-width: 34em; text-wrap: pretty; }
.ring-list { list-style: none; margin: 36px 0 0; padding: 0; }
.ring-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.ring-item:first-child { border-top: 0; padding-top: 4px; }
.ring-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--moon); box-shadow: inset 0 0 0 1px var(--line-2); }
.ring-item h3 { font-size: 27px; }
.ring-item h3 small { font: italic 15px var(--text); color: var(--mist); margin-left: 8px; }
.ring-item p { margin-top: 8px; color: var(--silver-2); text-wrap: pretty; }
.ring-item b { color: var(--moon); font-weight: 500; }
.glyphs { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.glyphs.elements { grid-template-columns: repeat(5, 1fr); }
.glyphs li { display: grid; justify-items: center; gap: 6px; padding: 14px 4px 12px; font-size: 13px; color: var(--mist); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glyphs .i { width: 28px; height: 28px; color: var(--silver); }
.calc-demo { margin-top: 16px !important; display: inline-block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-variant-numeric: lining-nums tabular-nums; color: var(--silver-2) !important; }
.calc-demo span { color: var(--iris); }
.calc-demo b { font: 22px var(--display); color: var(--moon); }
.sample-body, .future-body { margin-top: 28px; }

/* Үнэ: гурван ижил карт */
.plans { display: grid; gap: 16px; margin-top: 32px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; padding: 30px 26px 28px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(20, 23, 48, .6); }
.plan h3 { font: 25px/1.1 var(--display); }
.plan-price { margin-top: 14px; font: 46px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: lining-nums; color: var(--silver); }
.plan-sub { margin-top: 8px; font-size: 14.5px; color: var(--mist); }
.ticks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; display: grid; gap: 9px; border-top: 1px solid var(--line); }
.ticks li { padding-left: 22px; position: relative; color: var(--silver-2); text-wrap: pretty; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--iris); }
.plan-full { padding-top: 56px; border-color: var(--moon); background: var(--night-3); }
.plan-full .plan-price { color: var(--moon); }
.plan-full .ticks li::before { background: var(--moon); }
.plan-full::before { content: "Хамгийн бүрэн"; position: absolute; left: 0; right: 0; top: 0; padding: 7px 0 8px; text-align: center; border-radius: 15px 15px 0 0; background: var(--moon); color: var(--moon-ink); font: 600 12px var(--text); letter-spacing: .12em; text-transform: uppercase; }
.fine { margin-top: 18px; color: var(--mist); font-size: 15px; text-wrap: pretty; }
.tier-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--moon); color: var(--moon-ink); font: 600 11.5px var(--text); letter-spacing: .08em; text-transform: uppercase; }

.faq details { border-bottom: 1px solid var(--line); }
.faq h2 + details { margin-top: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 20px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font: 28px/1 var(--display); color: var(--iris); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-52%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--silver-2); max-width: 40em; }
.again { padding-bottom: 48px; text-align: center; display: grid; justify-items: center; gap: 26px; }
.again h2 { font-size: clamp(36px, 9vw, 60px); }

.foot { width: min(100% - 32px, 820px); margin: 88px auto 0; padding: 26px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); font-size: 14px; color: var(--mist); display: grid; gap: 6px; }
.foot p:first-child { display: flex; align-items: center; gap: 8px; color: var(--silver); font: 19px var(--display); }
.foot .i { width: 18px; height: 18px; color: var(--iris); }

/* ---------- Үр дүн ---------- */
.res-hero { width: min(100% - 32px, 680px); margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.res-names { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 0 14px; width: 100%; font: clamp(30px, 8.6vw, 46px)/1.05 var(--display); margin-top: 4px; }
.res-names > span:not(.amp) { display: grid; justify-items: center; min-width: 0; overflow-wrap: anywhere; }
.res-names small { display: block; margin-top: 6px; font: italic 14.5px var(--text); color: var(--moon); }
.res-names .amp { align-self: center; padding-bottom: 18px; color: var(--iris); }
.res-names.long { font-size: clamp(24px, 6.4vw, 38px); }
.res-wheel { margin-top: 8px; width: min(100%, 420px, max(270px, 46svh)); }
.score { display: grid; justify-items: center; gap: 10px; margin-top: 4px; }
.score-num { font: clamp(84px, 26vw, 132px)/.86 var(--display); letter-spacing: -.04em; font-variant-numeric: lining-nums tabular-nums; color: var(--silver); }
.score-num small { font: 18px var(--text); color: var(--mist); margin-left: 6px; letter-spacing: 0; }
.score-band { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; color: var(--moon); font: 24px/1.2 var(--display); }
.score-band::before, .score-band::after { content: ""; width: 26px; height: 1px; background: var(--moon); opacity: .6; flex: none; }

.reading-wrap { width: min(100% - 24px, 760px); margin: 30px auto 0; }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.layer { display: grid; gap: 2px; justify-items: start; text-align: left; padding: 12px 12px 14px; min-height: 100px; border: 0; cursor: pointer; background: transparent; color: var(--silver); font: inherit; transition: background-color .25s, color .25s; }
.layer + .layer { border-left: 1px solid var(--line); }
.layer:hover { background: rgba(157, 151, 216, .08); }
.layer .i { width: 22px; height: 22px; color: var(--iris); }
.layer .l-name { font: 500 12px var(--text); letter-spacing: .06em; color: var(--mist); margin-top: 4px; }
.layer .l-rel { font: 19px/1.15 var(--display); }
.layer .l-val { font-size: 13px; color: var(--mist); }
.layer[aria-pressed="true"] { background: var(--moon); color: var(--moon-ink); }
.layer[aria-pressed="true"] .i, .layer[aria-pressed="true"] .l-name, .layer[aria-pressed="true"] .l-val { color: var(--moon-ink); }
.layers-hint { margin-top: 10px; font-size: 14px; color: var(--mist); }
.note { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; color: var(--silver-2); }

/* Уншлага */
.reading { margin-top: 18px; padding: 34px 30px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(20, 23, 48, .78); }
.reading section { padding: 4px 0 6px; }
.reading section + section { position: relative; margin-top: 22px; padding-top: 30px; }
.reading section + section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent); }
.reading section + section::after { content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; border-radius: 50%; transform: translateX(-50%); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--iris); }
.reading h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 25px/1.15 var(--display); color: var(--silver); }
.reading h3 .i { width: 20px; height: 20px; color: var(--iris); }
.reading p { margin-top: 12px; max-width: 64ch; color: var(--silver); font-size: 18px; line-height: 1.72; text-wrap: pretty; }
.reading .s { transition: background-color .25s, color .25s, opacity .25s; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 1px 2px; margin: 0 -2px; }
.reading.focus .s { opacity: .35; }
.reading.focus .s.hit { opacity: 1; background: rgba(203, 185, 140, .2); color: var(--moon-hi); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--moon); color: var(--moon); font: 500 11.5px/1.6 var(--text); letter-spacing: .05em; white-space: nowrap; }
.reading .blurb { color: var(--silver-2); font-size: 16px; }
.reading .fact { font-size: 17px; }
.reading .fact b { font: 26px var(--display); font-weight: 400; }
.reading .fact .good { color: var(--sage); }
.reading .fact .care { color: var(--rose); }

.locked-list { margin-top: 18px; }
.reading .locked h3 .i { color: var(--mist); }
.reading .locked.teaser .t-open { margin-bottom: 0; }
.reading .locked.teaser .t-fade { margin-top: 4px; height: 3.4em; overflow: hidden; color: transparent; user-select: none; background: repeating-linear-gradient(transparent 0 .64em, rgba(184, 181, 214, .2) .64em 1.08em, transparent 1.08em 1.72em); -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.reading .locked.teaser .t-more { margin-top: 6px; font: 500 13px var(--text); letter-spacing: .03em; color: var(--moon); }
.sketch { margin-top: 16px; display: grid; gap: 6px; pointer-events: none; }
.sketch i { display: block; height: 52px; border-radius: 10px; border: 1px dashed var(--line-2); background: rgba(157, 151, 216, .05); }
.years-ghost i { height: 90px; }
.months-ghost { grid-template-columns: repeat(6, 1fr); }
.days-ghost, .focus-ghost { grid-template-columns: repeat(3, 1fr); }
.focus-ghost i { height: 40px; border-radius: 999px; }

/* 3 жил */
.years { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.year { padding: 18px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(13, 15, 31, .5); }
.year-head { display: flex; align-items: center; gap: 14px; margin: 0 !important; }
.year-head span { display: grid; font: 23px/1.1 var(--display); color: var(--silver); }
.year-head b { font: 600 13px var(--text); color: var(--moon); letter-spacing: .1em; }
.year-ic { width: 46px !important; height: 46px !important; padding: 11px; border-radius: 50%; color: var(--moon) !important; box-shadow: inset 0 0 0 1px var(--moon); flex: none; }
.year-each { margin: 14px 0 0; display: grid; border-top: 1px solid var(--line); }
.year-each .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.year-each dt { color: var(--silver-2); font-size: 15px; }
.year-each dd { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--silver); text-align: right; }
.year-each dd::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mist); flex: none; }
.year-each .good dd { color: var(--sage); }
.year-each .good dd::before { background: var(--sage); }
.year-each .care dd { color: var(--rose); }
.year-each .care dd::before { background: var(--rose); }
.year-verdict { display: inline-block; margin-top: 14px !important; padding: 3px 12px; border-radius: 999px; font: 500 13px/1.6 var(--text) !important; letter-spacing: .02em; }
.year-verdict.good { box-shadow: inset 0 0 0 1px var(--sage); color: var(--sage) !important; }
.year-verdict.fair { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--silver-2) !important; }
.year-verdict.care { box-shadow: inset 0 0 0 1px var(--rose); color: var(--rose) !important; }
.year-note { margin-top: 10px !important; font-size: 16px !important; line-height: 1.62 !important; color: var(--silver-2) !important; }
.year.sealed { border-style: dashed; background: transparent; }
.year.sealed .year-ic { color: var(--mist) !important; box-shadow: inset 0 0 0 1px var(--line-2); }
.year.sealed .year-head span { color: var(--silver-2); font-size: 20px; }
.sealed-line { display: flex; align-items: center; gap: 6px; margin-top: 10px !important; font-size: 14px !important; color: var(--mist) !important; }
.sealed-line .i { width: 16px; height: 16px; color: var(--moon); }

/* 12 сар */
.months { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.month { display: grid; justify-items: center; gap: 2px; padding: 12px 4px 10px; text-align: center; border: 1px solid var(--line); border-radius: 12px; }
.month .i { width: 26px; height: 26px; color: var(--silver-2); }
.m-num { font: 15px var(--display); color: var(--silver); }
.m-from { font-size: 12px; color: var(--mist); }
.m-tone { font: 500 12px var(--text); }
.month.good { border-color: rgba(143, 199, 181, .45); background: rgba(143, 199, 181, .07); }
.month.good .m-tone { color: var(--sage); }
.month.fair .m-tone { color: var(--mist); }
.month.care { border-color: rgba(214, 163, 155, .45); background: rgba(214, 163, 155, .06); }
.month.care .m-tone { color: var(--rose); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px !important; color: var(--mist) !important; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mist); }
.legend .good::before { background: var(--sage); }
.legend .care::before { background: var(--rose); }

/* Сайн өдрүүд */
.days { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.day { min-width: 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "date ic" "wd wd" "lunar lunar"; align-items: center; gap: 0 8px; padding: 14px 12px; border: 1px solid rgba(143, 199, 181, .35); border-radius: 12px; }
.d-date { grid-area: date; font: 30px/1 var(--display); color: var(--silver); font-variant-numeric: lining-nums; }
.d-wd { grid-area: wd; margin-top: 4px; font: 500 13px var(--text); color: var(--sage); }
.day .i { grid-area: ic; width: 24px; height: 24px; color: var(--silver-2); }
.d-lunar { grid-area: lunar; font-size: 12.5px; color: var(--mist); }
.fine-print { font-size: 13px !important; color: var(--mist) !important; }

/* Чиглэлийн табууд */
.focus-tabs { display: inline-flex; margin-top: 16px; padding: 3px; gap: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.focus-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--silver-2); font: 500 15px var(--text); cursor: pointer; }
.focus-tabs button[aria-selected="true"] { background: var(--moon); color: var(--moon-ink); }
.focus-text { margin-top: 14px !important; }

/* ---------- Төлбөр ---------- */
.paywall, .upgrade, .keep { margin-top: 18px; padding: 30px 26px 28px; display: grid; gap: 14px; justify-items: stretch; border: 1px solid var(--moon); border-radius: 18px; background: var(--night-3); }
.keep { border-color: var(--line-2); background: rgba(20, 23, 48, .78); }
.paywall h2, .upgrade h2, .keep h2 { font-size: clamp(27px, 7.4vw, 36px); }
.paywall p, .upgrade p, .keep p { color: var(--silver-2); }
.hook { font: italic 18px/1.55 var(--text); color: var(--moon-hi) !important; }
.tiers { margin: 2px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.tier { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 18px 16px 18px 46px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.tier:hover { border-color: var(--iris); }
.tier input { position: absolute; left: 16px; top: 22px; width: 20px; height: 20px; margin: 0; accent-color: var(--moon); }
.tier:has(input:checked) { border-color: var(--moon); background: rgba(203, 185, 140, .08); }
.tier:has(input:focus-visible) { outline: 2px solid var(--moon-hi); outline-offset: 2px; }
.tier .tier-badge { grid-column: 1 / -1; justify-self: start; margin-bottom: 6px; }
.tier-name { font: 23px/1.15 var(--display); color: var(--silver); }
.tier-price { grid-row: span 2; text-align: right; font: 14px var(--text); color: var(--mist); }
.tier-price b { display: block; font: 30px/1 var(--display); color: var(--moon); font-weight: 400; }
.tier-price small { display: block; margin-top: 4px; font-size: 12px; color: var(--mist); white-space: nowrap; }
.tier-count { font: 500 12.5px var(--text); color: var(--sage); }
.tier-list { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 15px; color: var(--silver-2); }
.tier-list li { padding-left: 18px; position: relative; text-wrap: pretty; }
.tier-list li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--moon); }
.tier-list b { color: var(--silver); font-weight: 600; }
.tier-basic .tier-list { display: none; }
.tier-basic:has(input:checked) .tier-list { display: grid; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--mist); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { width: 16px; height: 16px; color: var(--iris); }
.keep-row { display: flex; flex-wrap: wrap; gap: 10px; }
.copy-field { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--night); color: var(--silver); font: 15px var(--text); }
#new-btn { margin: 22px 0 0; }

.paybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; justify-content: center; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: rgba(13, 15, 31, .96); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .4s var(--ease); }
.paybar.on { transform: none; }
.paybar .btn { width: min(100%, 540px); }

/* ---------- Төлөх дэлгэц ---------- */
#view-pay { padding: 40px 12px 0; }
.pay-card { width: min(100%, 540px); margin: 0 auto; padding: 26px; display: grid; gap: 14px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--night-2); }
.pay-card h2 { font-size: 30px; }
.pay-card .btn.text { justify-self: start; }
.demo-flag { padding: 10px 12px; border: 1px dashed var(--moon); border-radius: 10px; color: var(--moon-hi); font-size: 14.5px; }
.banks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bank { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--silver); }
.bank:hover { border-color: var(--moon); }
.bank img { width: 32px; height: 32px; border-radius: 8px; }
.bank .i { color: var(--iris); }
.more-banks summary, .qr-wrap summary { cursor: pointer; padding: 10px 0; color: var(--moon); font-weight: 500; }
.qr { width: min(100%, 260px); margin: 6px auto 0; background: #fff; padding: 10px; border-radius: 12px; }
.qr svg, .qr img { display: block; width: 100%; height: auto; }
.qr-lead, .qr-note { text-align: center; font-size: 15px; color: var(--silver-2); }
.pay-tip, .pay-hint { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; display: grid; gap: 8px; }
.wait { display: flex; gap: 12px; align-items: center; color: var(--silver-2); font-size: 15px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--moon); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-card .form-error, .paywall .form-error, .upgrade .form-error { text-align: left; }

/* ---------- Хөдөлгөөн ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.hero-title, .hero-sub, .pair-form { animation: rise .9s var(--ease) both; }
.hero-sub { animation-delay: .08s; }
.pair-form { animation-delay: .2s; }
.wheel-hero .rot { animation: drift 1.3s cubic-bezier(.2, .8, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wheel .chord { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- Өргөн дэлгэц ---------- */
@media (min-width: 561px) { .res-names > span:not(.amp) { white-space: nowrap; } }
@media (max-width: 560px) {
  .res-names { grid-template-columns: 1fr; gap: 8px; }
  .res-names .amp { padding: 0; font-size: .7em; line-height: .8; }
}
@media (min-width: 720px) {
  .years { grid-template-columns: repeat(3, 1fr); }
  .years.with-sealed { grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; }
  .years.with-sealed > .year:first-child { grid-row: span 2; }
  .years.with-sealed .sealed { display: grid; align-content: center; }
  .months { grid-template-columns: repeat(6, 1fr); }
  .days { grid-template-columns: repeat(4, 1fr); }
  .glyphs.animals { grid-template-columns: repeat(6, 1fr); }
  .tier-basic .tier-list { display: grid; }
}
@media (min-width: 900px) {
  .bar { padding-left: 32px; padding-right: 32px; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "title wheel" "sub wheel" "form wheel"; column-gap: 64px; align-items: center; min-height: calc(100svh - 84px); align-content: center; }
  .hero-title { grid-area: title; align-self: end; font-size: clamp(60px, 6.4vw, 90px); }
  .hero-sub { grid-area: sub; }
  .hero .wheel-wrap { grid-area: wheel; width: min(100%, 580px); margin: 0; justify-self: center; }
  .pair-form { grid-area: form; margin: 26px 0 0; justify-self: start; }
  .offer { width: min(100% - 64px, 1060px); }
  .plans { grid-template-columns: 1fr 1fr 1.08fr; gap: 20px; }
  .plan-full { transform: translateY(-14px); }
  .res-wheel { width: min(100%, 460px, 54svh); }
}
@media (max-width: 899px) { .plan-full { order: 1; } .plan-basic { order: 2; } }
@media (max-width: 340px) {
  .pair-form { grid-template-columns: 1fr; }
  .layer { padding: 10px 8px; }
  .layer .l-rel { font-size: 16px; }
}
@media print {
  .bar, .paybar, .layers, .layers-hint, .keep, #new-btn, .foot, .paywall, .upgrade, .res-wheel { display: none !important; }
}

/* ================= v6 (2026-11-07): амьд тэнгэр, утсанд голлосон hero ================= */
/* Одод тус бүр өөрийн хэмнэлээр анивчина */
.wheel .c-star { animation: star-tw var(--tw, 4s) ease-in-out var(--td, 0s) infinite alternate; }
@keyframes star-tw { from { opacity: .45; } to { opacity: 1; } }
/* Од эрхэсийн шугам ачаалахад зурагдана */
.wheel-hero .c-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
/* Хоосон үед ээлжилж гэрэлтэх од эрхэс */
.wheel .animal.glint .c-line { stroke: var(--moon); opacity: .95; stroke-width: 1.3; }
.wheel .animal.glint .c-star { fill: var(--moon-hi); }
.wheel .animal.glint .node-icon { color: var(--moon-hi); opacity: 1; }
.wheel .animal .c-line, .wheel .animal .c-star, .wheel .animal .node-icon { transition: stroke 1.1s ease, fill 1.1s ease, color 1.1s ease, opacity 1.1s ease, stroke-width 1.1s ease; }
/* Харвасан од: ховор, богино */
.wheel .meteor { stroke: var(--silver); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: .18 1; stroke-dashoffset: 1.18; opacity: 0; }
.wheel-hero .meteor.m0 { animation: meteor 9s linear 3s infinite; }
.wheel-hero .meteor.m1 { animation: meteor 13s linear 8s infinite; }
@keyframes meteor { 0% { stroke-dashoffset: 1.18; opacity: 0; } 2% { opacity: .9; } 9% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* Арын одод хулганы дагуу бага зэрэг шилжинэ (parallax) */
.wheel .field { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
/* Сарны тойрог аажуу амьсгална */
.wheel .moon { animation: moon-breathe 7s ease-in-out infinite alternate; }
@keyframes moon-breathe { from { stroke-opacity: .5; } to { stroke-opacity: 1; } }

/* Утсанд hero голлосон */
@media (max-width: 899px) {
  .hero { justify-items: center; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .who { text-align: left; }
}

/* ================= v7 (2026-11-07): бүтцийн том өөрчлөлт ================= */
/* --- Hero: бүтэн өргөнтэй тэнгэр, гарчиг дээр, маягт нэг самбар болж тэнгэрийн доод хэсэгт давхарлана --- */
.hero { width: 100%; max-width: none; padding: 8px 16px 0; overflow: hidden; display: grid; justify-items: center; text-align: center; grid-template-areas: "copy" "sky" "form"; }
.hero-copy { grid-area: copy; position: relative; z-index: 2; max-width: 640px; }
.hero-title { font-size: clamp(42px, 12.5vw, 78px); line-height: 1.04; }
.hero-sub { margin: 14px auto 0; max-width: 28em; }
.hero .wheel-wrap { grid-area: sky; position: relative; z-index: 0; width: 128vw; max-width: 760px; margin: -2vw 0 0; }
.pair-form { grid-area: form; position: relative; z-index: 2; width: min(100%, 600px); margin: -22vw auto 0; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); gap: 0; padding: 18px 16px 18px; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(16, 18, 38, .94); text-align: left; }
@media (min-width: 600px) { .pair-form { margin-top: -120px; } }
.who, .who:focus-within { border: 0; border-radius: 0; background: none; padding: 4px 2px 0; }
.who:focus-within legend { color: var(--moon); }
.and { display: flex; flex-direction: column; align-items: center; gap: 8px; align-self: stretch; padding-top: 6px; color: var(--moon); }
.and::before, .and::after { content: ""; flex: 1; width: 1px; background: var(--line-2); }
.and svg { width: 18px; height: 18px; flex: none; }
.cta-wrap { margin-top: 14px; }
.btn.gold { min-height: 56px; font-size: 17.5px; }

/* --- Desktop: зүүн талд текст ба маягт, баруун талд хагас нь дэлгэцээс гарсан аварга тэнгэр --- */
@media (min-width: 900px) {
  .hero { position: relative; min-height: calc(100svh - 70px); grid-template-columns: minmax(0, 560px) 1fr; grid-template-areas: "copy ." "form ."; align-content: center; justify-items: start; text-align: left; padding: 0 0 0 max(32px, calc((100vw - 1180px) / 2)); column-gap: 0; }
  .hero-copy { align-self: end; }
  .hero-sub { margin-left: 0; }
  .hero .wheel-wrap { position: absolute; grid-area: auto; z-index: 0; width: min(118svh, 1040px); max-width: none; right: -16%; top: 50%; transform: translateY(-50%); margin: 0; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--night) 28%, rgba(13, 15, 31, .55) 48%, rgba(13, 15, 31, 0) 66%); }
  .pair-form { margin: 30px 0 0; justify-self: start; }
  .hero-title { font-size: clamp(60px, 6.4vw, 94px); }
}

/* --- Үр дүн: оноо сарны дотор --- */
.res-stage { position: relative; width: min(100%, 440px, max(280px, 50svh)); margin-top: 6px; container-type: inline-size; }
.res-stage .res-wheel { width: 100%; margin: 0; }
.res-wheel .loshu { display: none; }
.res-wheel .moon { fill: var(--night); stroke: var(--moon); stroke-opacity: .8; }
.res-stage .score-num { position: absolute; inset: 0; display: grid; place-content: center; font-size: 12.5cqi; line-height: 1; pointer-events: none; }
.res-stage .score-num small { display: block; margin: 2px 0 0; font-size: 11px; text-align: center; letter-spacing: .1em; }
.score { margin-top: 2px; }

/* --- Тэнгэрийн гурван давхарга: гурван багана, icon-ууд нэг мөрөнд --- */
.glyphs.strip { display: flex; flex-wrap: wrap; gap: 12px 14px; border: 0; margin-top: 16px; }
.glyphs.strip li { padding: 0; border: 0; }
.glyphs.strip .i { width: 26px; height: 26px; color: var(--silver-2); }
@media (min-width: 900px) {
  .rings { width: min(100% - 64px, 1060px); }
  .ring-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .ring-item, .ring-item:first-child { grid-template-columns: 1fr; gap: 14px; padding: 6px 28px 0; border-top: 0; border-left: 1px solid var(--line); }
  .ring-item:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .wheel-wrap { justify-self: start; width: 128vw; max-width: none; margin-left: calc(50% - 64vw); }
}
@media (min-width: 600px) and (max-width: 899px) { .hero .wheel-wrap { width: 96vw; margin-left: calc(50% - 48vw); } }
@media (max-width: 599px) {
  .hero-title { font-size: clamp(36px, 10.8vw, 52px); }
  .hero-sub { font-size: 15.5px; margin-top: 10px; }
  .hero .wheel-wrap { width: 116vw; margin-left: calc(50% - 58vw); margin-top: -4vw; }
  .pair-form { margin-top: -36vw; }
}
@media (min-width: 900px) { .hero .wheel-wrap { width: min(96svh, 900px); right: -7%; } }
