/* ═══════════════════════════════════════════════════════════
   SOMNA · puslapių komponentai
   Dizaino sistema gyvena styles.css; čia – konkretūs blokai.
   ═══════════════════════════════════════════════════════════ */

/* ─────────── PRADŽIA: hero ─────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--s7));
  padding-bottom: var(--s8);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--s8);
  align-items: center;
  width: 100%;
}
.hero h1 { margin-bottom: var(--s5); }
.hero .lede { margin-bottom: var(--s6); }
.hero-act { display: flex; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s7); }

.hero-facts {
  display: flex;
  gap: var(--s7);
  flex-wrap: wrap;
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}
.hero-facts dd { font-family: var(--serif); font-size: 1.9rem; color: var(--brass); line-height: 1; }

.hero-vis { display: grid; place-items: center; }
#wheel { width: 100%; max-width: 460px; aspect-ratio: 1; }
.wheel-svg { width: 100%; height: 100%; }
.wheel-rot { transform-origin: 50% 50%; animation: turn 240s linear infinite; }
.wheel-rot-2 { transform-origin: 50% 50%; animation: turn 180s linear infinite reverse; }
@keyframes turn { to { transform: rotate(360deg); } }
.wheel-glyph {
  font-family: "Segoe UI Symbol", "Apple Symbols", var(--serif);
  font-size: 14px;
  fill: var(--brass);
  text-anchor: middle;
  dominant-baseline: central;
}
.wheel-tick { stroke: var(--brass-dk); stroke-width: .5; }
.wheel-ring { fill: none; stroke: var(--brass-dk); stroke-width: .6; }
.wheel-ring-2 { fill: none; stroke: var(--line-2); stroke-width: .5; stroke-dasharray: 2 4; }
.wheel-core { fill: none; stroke: var(--brass); stroke-width: .8; }

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + var(--s6)); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .hero-vis { order: -1; }
  #wheel { max-width: 300px; }
  .hero-facts { gap: var(--s5); }
  .hero-facts dd { font-size: 1.5rem; }
}

/* ─────────── Paslaugos ─────────── */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: var(--s4); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.svc { display: block; padding: var(--s5); }
.svc-glyph { width: 52px; height: 52px; margin-bottom: var(--s5); opacity: .9; }
.svc h3 { font-size: 1.2rem; margin-bottom: var(--s2); }
.svc p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; margin-bottom: var(--s4); }
.svc-go { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.svc:hover .svc-go { color: var(--brass-lt); }

/* ─────────── Orakulas ─────────── */
.oracle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
@media (max-width: 1000px) { .oracle-grid { grid-template-columns: 1fr; } }

.compose { position: sticky; top: calc(var(--nav-h) + var(--s4)); }
@media (max-width: 1000px) { .compose { position: static; } }
.compose-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.compose-head h3 { font-size: 1.25rem; }
.compose-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s2); }
.compose-foot .hint { margin: 0; }
.warn { color: var(--brass); }

.mood-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); }
@media (max-width: 480px) { .mood-row { grid-template-columns: repeat(3, 1fr); } }
.mood {
  padding: var(--s3) var(--s1);
  border: 1px solid var(--line-2);
  border-radius: var(--r2);
  font-size: 13px;
  color: var(--text-2);
  transition: all .2s var(--ease);
}
.mood:hover { border-color: var(--text-3); color: var(--text); }
.mood.on { border-color: var(--brass); background: var(--tint-2); color: var(--brass-lt); }

.refine {
  margin-top: var(--s5);
  padding: var(--s5);
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass-dk);
  border-radius: var(--r2);
  background: var(--tint);
}
.refine .hint { color: var(--text-2); }
#signEcho { margin-top: var(--s4); color: var(--brass); font-size: 13.5px; }

/* ─────────── Rezultatas ─────────── */
.result {
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: linear-gradient(180deg, var(--surf-a), var(--surf-b));
  min-height: 520px;
  padding: var(--s6);
}

.scan { display: grid; place-items: center; gap: var(--s5); min-height: 460px; text-align: center; }
.scan-vis { width: 96px; height: 96px; position: relative; display: grid; place-items: center; }
.scan-vis::before, .scan-vis::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--brass-dk);
  border-radius: 50%;
  animation: ripple 2.6s ease-out infinite;
}
.scan-vis::after { animation-delay: 1.3s; }
@keyframes ripple {
  0% { transform: scale(.55); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.scan-core { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--brass); position: relative; }
.scan-core::after { content: ""; position: absolute; inset: 30%; background: var(--brass); border-radius: 50%; }
.scan-steps { display: grid; gap: var(--s2); font-size: 14px; min-height: 96px; }
.scan-steps li { opacity: .25; color: var(--text-3); transition: opacity .4s var(--ease), color .4s var(--ease); }
.scan-steps li.done { opacity: 1; color: var(--text-2); }
.scan-bar { width: 200px; height: 2px; background: var(--line); overflow: hidden; }
.scan-fill { height: 100%; width: 0; background: var(--brass); transition: width .5s var(--ease); }

/* ─────────── Horoskopo laikotarpio skirtukai ─────────── */
.horo-tabs {
  display: flex; gap: 4px; padding: 4px;
  background: var(--surf-c); border: 1px solid var(--line);
  border-radius: 999px; width: fit-content; margin-bottom: var(--s5);
}
.horo-tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 8px 20px; border-radius: 999px; font: inherit; font-size: 13.5px;
  color: var(--text-3); transition: background .16s, color .16s;
}
.horo-tab:hover { color: var(--text); }
.horo-tab.on { background: var(--brass-solid); color: #14161c; font-weight: 500; }

/* Mėnesio patarimas – citata kortelės viduryje, ne prispausta viršuje.
   Kortelė būna aukštesnė už turinį, todėl tekstą centruojame abiem
   kryptimis, kad tuščia erdvė nesikauptų apačioje. */
.horo-advice {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: var(--s4);
  min-height: 200px;
}
.horo-advice .block-t { margin: 0; }
/* Dekoratyvinė linija tik kairinei antraštei; centruotoje ji nereikalinga. */
.horo-advice .block-t::after { display: none; }
.horo-advice p { max-width: 34ch; margin: 0; }

/* ─────────── Mėnesio dekados ─────────── */
.dekados { display: grid; gap: var(--s4); }
.dekada {
  padding-left: var(--s4);
  border-left: 2px solid var(--brass-dk);
}
.dekada-h {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s3); margin-bottom: 4px;
}
.dekada-h b { font-size: 14px; color: var(--text); }
.dekada-h .num { font-size: 12px; color: var(--text-3); }
.dekada p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

.analysis { display: grid; gap: var(--s6); }
.an-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.an-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.an-head .meta { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.an-tags { display: flex; gap: var(--s2); flex-wrap: wrap; justify-content: flex-end; }

.block-t {
  display: flex; align-items: center; gap: var(--s3);
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); margin-bottom: var(--s4);
}
.block-t::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }

.syms { display: grid; gap: var(--s3); }
.sym {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--s4);
  padding: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surf-c);
  transition: border-color .25s var(--ease);
}
.sym:hover { border-color: var(--line-2); }
.sym-glyph { width: 44px; height: 44px; }
.sym h4 { font-family: var(--sans); font-size: 14.5px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.sym h4 span { color: var(--text-3); font-weight: 400; }
.sym p { font-size: 14.5px; color: var(--text-2); line-height: 1.75; }

.lens {
  padding: var(--s5);
  border: 1px solid rgba(91,127,166,.28);
  border-radius: var(--r2);
  background: rgba(91,127,166,.05);
}
.lens .block-t { color: var(--celest); }
.lens .block-t::after { background: linear-gradient(90deg, rgba(91,127,166,.4), transparent); }
.lens p { font-size: 14.5px; color: var(--text-2); line-height: 1.75; }
.lens p + p { margin-top: var(--s3); }

.advice { display: grid; gap: var(--s3); }
.advice li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s2); font-size: 14px; color: var(--text-2); line-height: 1.6; }
.advice li::before { content: "–"; color: var(--brass); }

.oracle-quote {
  border: 1px solid rgba(198,166,100,.3);
  border-radius: var(--r2);
  padding: var(--s6);
  text-align: center;
  background: var(--tint);
}
.oracle-quote .block-t { justify-content: center; }
.oracle-quote .block-t::after { display: none; }
.oracle-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--title);
  max-width: 40ch;
  margin-inline: auto;
}
.oracle-quote cite {
  display: block; margin-top: var(--s4);
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-3); font-style: normal;
}

.paywall { position: relative; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.paywall-blur { padding: var(--s5); font-size: 14px; color: var(--text-3); line-height: 1.75; filter: blur(4px); user-select: none; }
.paywall-veil {
  position: absolute; inset: 0;
  display: grid; place-items: center; gap: var(--s3);
  text-align: center; padding: var(--s5);
  background: linear-gradient(180deg, rgba(10,12,16,.5), rgba(10,12,16,.96));
}
.paywall-veil strong { font-size: 14px; color: var(--text); }
.paywall-veil p { font-size: 13.5px; color: var(--text-3); max-width: 34ch; }

.an-act { display: flex; gap: var(--s2); flex-wrap: wrap; padding-top: var(--s5); border-top: 1px solid var(--line); }

/* ─────────── Biblioteka ─────────── */
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: var(--s3); }
.lib-item {
  display: grid; grid-template-columns: 38px 1fr; gap: var(--s3); align-items: center;
  padding: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surf-c);
  text-align: left;
  transition: all .25s var(--ease);
}
.lib-item:hover { border-color: rgba(198,166,100,.4); background: var(--tint); }
.lib-glyph { width: 38px; height: 38px; }
.lib-item b { display: block; font-size: 14px; font-weight: 500; }
.lib-item span { font-size: 12px; color: var(--text-3); }

/* ─────────── Ekspertai ─────────── */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 900px) { .exp-grid { grid-template-columns: 1fr; } }
.exp { padding: var(--s5); display: grid; gap: var(--s3); align-content: start; }
.exp-top { display: flex; align-items: center; gap: var(--s4); }
.exp-av {
  width: 46px; height: 46px; flex-shrink: 0;
  border: 1px solid var(--brass-dk);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; color: var(--brass);
  background: var(--tint);
}
.exp-name { font-size: 14.5px; font-weight: 500; color: var(--text); }
.exp-role { font-size: 13px; color: var(--brass); }
.exp-cred { font-family: var(--mono); font-size: 11px; color: var(--text-3); line-height: 1.6; letter-spacing: .04em; }
.exp p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ─────────── Gijų peržiūra ─────────── */
.threads-preview { display: grid; gap: var(--s2); }
.th {
  display: grid; grid-template-columns: 40px 1fr auto; gap: var(--s4); align-items: center;
  padding: var(--s4) var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surf-c);
  transition: all .25s var(--ease);
}
.th:hover { border-color: rgba(198,166,100,.35); background: var(--tint); }
.th-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--line-2);
  color: var(--text-2);
}
.th-body { min-width: 0; }
.th-body h4 { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-meta { font-size: 13px; color: var(--text-3); display: flex; gap: var(--s3); flex-wrap: wrap; }
.th-n { text-align: center; font-size: 12px; color: var(--text-3); }
.th-n b { display: block; font-family: var(--serif); font-size: 16px; color: var(--text); font-weight: 400; }
@media (max-width: 620px) { .th { grid-template-columns: 32px 1fr; } .th-av { width: 32px; height: 32px; font-size: 12px; } .th-n { display: none; } }

/* ─────────── DUK ─────────── */
.faq { display: grid; gap: var(--s2); }
.qa { border: 1px solid var(--line); border-radius: var(--r2); background: var(--surf-c); }
.qa[open] { border-color: var(--tint-2); background: var(--tint); }
.qa summary {
  padding: var(--s5); cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  font-size: 15px; transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brass); }
.qa summary::after {
  content: ""; flex-shrink: 0;
  width: 8px; height: 8px;
  border-right: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.qa-body { padding: 0 var(--s5) var(--s5); color: var(--text-2); font-size: 15px; line-height: 1.75; max-width: 68ch; }
/* Pastraipos privalo kvėpuoti: be šito globalus reset nuima margin
   ir ilgas tekstas susilieja į vieną sieną. */
.qa-body p { margin-bottom: var(--s4); }
.qa-body p:last-child { margin-bottom: 0; }
/* Pirma pastraipa kiek ryškesnė – duoda įėjimo tašką akiai */
.qa-body p:first-child { color: var(--text); font-size: 15.5px; }

/* ─────────── CTA ─────────── */
.cta {
  border: 1px solid var(--line-2);
  border-radius: var(--r3);
  padding: clamp(var(--s7), 6vw, var(--s9));
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 120%, var(--tint), transparent 70%),
    var(--surf-c);
}
.cta h2 { margin-bottom: var(--s4); }
.cta .lede { margin-inline: auto; margin-bottom: var(--s6); }

/* ═══════════ VIDINIŲ PUSLAPIŲ ANTRAŠTĖ ═══════════ */
.page-head {
  padding-top: calc(var(--nav-h) + var(--s8));
  padding-bottom: var(--s7);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: var(--s4); }

/* ═══════════ HOROSKOPAI ═══════════ */
.sign-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s2);
  margin-bottom: var(--s7);
}
@media (max-width: 1000px) { .sign-strip { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 560px) { .sign-strip { grid-template-columns: repeat(4, 1fr); } }

.sign-btn {
  display: grid;
  place-items: center;
  gap: 5px;
  padding: var(--s3) var(--s1);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surf-c);
  transition: all .22s var(--ease);
}
.sign-btn i {
  font-family: "Segoe UI Symbol", "Apple Symbols", var(--serif);
  font-style: normal;
  font-size: 19px;
  color: var(--text-2);
  line-height: 1;
  transition: color .22s var(--ease);
}
.sign-btn b { font-size: 11.5px; font-weight: 400; color: var(--text-3); letter-spacing: .02em; }
.sign-btn:hover { border-color: var(--line-2); }
.sign-btn:hover i { color: var(--text); }
.sign-btn.on { border-color: var(--brass); background: var(--tint); }
.sign-btn.on i { color: var(--brass); }
.sign-btn.on b { color: var(--brass-lt); }

.horo-grid { display: grid; grid-template-columns: 320px 1fr; gap: var(--s5); align-items: start; }
@media (max-width: 940px) { .horo-grid { grid-template-columns: 1fr; } }

.horo-side { display: grid; gap: var(--s4); }
.horo-id { text-align: center; padding: var(--s6) var(--s5); }
.horo-id .big {
  font-family: "Segoe UI Symbol", "Apple Symbols", var(--serif);
  font-size: 56px;
  color: var(--brass);
  line-height: 1;
  margin-bottom: var(--s4);
}
.horo-id h2 { font-size: 2rem; margin-bottom: var(--s2); }
.horo-id .dates { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--text-3); }
.horo-attr { display: grid; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); text-align: left; }
.horo-attr div { display: flex; justify-content: space-between; font-size: 13.5px; }
.horo-attr dt { color: var(--text-3); }
.horo-attr dd { color: var(--text-2); }

.horo-main { display: grid; gap: var(--s4); }
.horo-date {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); flex-wrap: wrap;
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s2);
}
.horo-date h3 { font-size: 1.3rem; }
.stars-row { color: var(--brass); font-size: 14px; letter-spacing: 3px; }
.stars-row span { color: var(--line-2); }

.horo-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 640px) { .horo-blocks { grid-template-columns: 1fr; } }
.horo-block { padding: var(--s5); }
.horo-block p { font-size: 14.5px; color: var(--text-2); line-height: 1.75; }

.lucky { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 520px) { .lucky { grid-template-columns: 1fr; } }
.lucky-item { text-align: center; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surf-c); }
.lucky-item dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s2); }
.lucky-item dd { font-family: var(--serif); font-size: 1.3rem; color: var(--brass); }

/* ─────────── Suderinamumas ─────────── */
.compat-pick { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s4); align-items: end; }
@media (max-width: 700px) { .compat-pick { grid-template-columns: 1fr; } }
.compat-x { font-family: var(--serif); font-size: 1.4rem; color: var(--text-3); padding-bottom: 12px; text-align: center; }

.compat-res { margin-top: var(--s6); }
.compat-score { text-align: center; padding: var(--s7) var(--s5); }
.score-ring { width: 168px; height: 168px; margin: 0 auto var(--s5); position: relative; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-bg { fill: none; stroke: var(--line); stroke-width: 4; }
.score-fg { fill: none; stroke: var(--brass); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 1.3s var(--ease-o); }
.score-txt {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 2.6rem; color: var(--title);
}
.score-txt small { font-size: 1rem; color: var(--text-3); }
.compat-pair { font-family: var(--serif); font-size: 1.5rem; margin-bottom: var(--s2); }
.compat-asp { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }

/* ═══════════ NUMEROLOGIJA ═══════════ */
.num-grid { display: grid; grid-template-columns: 360px 1fr; gap: var(--s5); align-items: start; }
@media (max-width: 940px) { .num-grid { grid-template-columns: 1fr; } }

/* Pirmas žingsnis: viena centruota kortelė. Anksčiau forma stovėjo
   siaurame kairiajame stulpelyje, o šalia iš karto driekėsi rezultatai –
   žmogus dar nieko neįvedęs jau matė pusę puslapio. */
.num-start { display: flex; justify-content: center; padding-block: var(--s4); }
.num-start > form { width: 100%; max-width: 520px; padding: var(--s7) var(--s6); }
@media (max-width: 560px) { .num-start > form { padding: var(--s6) var(--s5); } }

/* ── Rezultatų sritis ──
   Vientisas vertikalus ritmas: visi blokai skiriami tuo pačiu tarpu,
   kad puslapis skaitytųsi kaip viena juosta, o ne kaip krūva kortelių. */
.num-rez { display: grid; gap: var(--s6); }
.num-rez > section { margin: 0; }

/* Herojus: gyvenimo kelio skaičius. Vienintelis toks didelis skaitmuo
   puslapyje – jis nustato hierarchijos viršūnę. */
.num-hero-v2 {
  text-align: center;
  padding: var(--s7) var(--s5) var(--s6);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(198, 166, 100, .07), transparent 70%),
    var(--bg-2);
}
.num-hero-zvaigzdes { width: 72px; margin: 0 auto var(--s5); opacity: .9; }
.num-hero-lbl {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s3);
}
.num-hero-sk {
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 8.5rem);
  line-height: .95;
  font-weight: 300;
  color: var(--brass);
  letter-spacing: -.02em;
}
.num-hero-vardas { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: var(--s3) 0 var(--s2); font-weight: 400; }
.num-hero-raktas { font-size: 14px; color: var(--text-2); }

/* „Kas įskaičiuota“ – suvestinė prieš skaičius. */
.num-suvestine { padding: var(--s6); }
.suv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--s4); margin: 0; }
.suv-row { display: grid; gap: 4px; min-width: 0; }
.suv-row dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.suv-row dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  overflow-wrap: anywhere;
}

/* Skaičių tinklelis: didelis serif skaitmuo + pavadinimas + paaiškinimas. */
/* ── Tavo skaičiai ──
   Anksčiau čia buvo `auto-fit, minmax(300px, 1fr)`: plačiame ekrane
   tilpdavo trys stulpeliai, o ketvirta kortelė (dažniausiai „Karminė
   skola“) likdavo viena eilutėje su dviem tuščiais langais dešinėje.
   Dabar stulpeliai du, o nelyginis PASKUTINIS elementas išsitempia per
   abu – tad tuščios vietos nelieka nei prie 3, nei prie 4, nei prie 5
   kortelių. */
.sk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}
.sk-grid > .sk:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 780px) {
  .sk-grid { grid-template-columns: 1fr; }
  .sk-grid > .sk:last-child:nth-child(odd) { grid-column: auto; }
}
.sk {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-2);
}
.sk-num {
  flex: 0 0 auto;
  min-width: 1.6em;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 3.4rem);
  line-height: 1;
  font-weight: 300;
  color: var(--brass);
}
.sk-body { min-width: 0; }
.sk-t { font-size: 1rem; margin: 0 0 var(--s2); font-weight: 500; }
.sk-p { font-size: 14px; line-height: 1.75; color: var(--text-2); margin: 0; }

/* Skaičiavimo eiga. Monospace, kad skaitmenys ir ženklai stotų į stulpelį,
   ir prislopinta, kad neužgožtų paties skaičiaus – jis lieka pagrindinis.
   Ilgesnė eiga siauriame telefone laužoma, o ne išplečia kortelės. */
.sk-eiga {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-3);
  margin: 0 0 var(--s2);
  overflow-wrap: anywhere;
}
.num-hero-eiga {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-3);
  margin: var(--s4) auto 0;
  max-width: 46ch;
  overflow-wrap: anywhere;
}
.sk-karmine .sk-num { color: var(--terra, #c98b76); }
.sk-tuscia { border-style: dashed; }
.sk-tuscia .sk-num { color: var(--text-3); opacity: .5; }

/* Prozos blokas: siauresnė eilutė, nes ilgas tekstas skaitomas blogiau
   per visą plotį. */
/* Matą ir centravimą dabar duoda bendra .prose-analize klasė
   (styles.css), tad čia lieka tik kortelės vidinis tarpas. */
.num-proza { padding: var(--s6); }
@media (max-width: 620px) { .num-proza { padding: var(--s5) var(--s4); } }

.pamokos { margin: 0; padding-left: var(--s5); color: var(--text-2); font-size: 14px; line-height: 1.85; }

.chal-pagr b { color: var(--brass); }

/* ── Apdorojimo būsena ── */
.apdor { text-align: center; padding: var(--s7) var(--s5); }
.apdor-ratas { display: flex; justify-content: center; gap: 7px; margin-bottom: var(--s5); }
.apdor-ratas span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass);
  animation: apdorSokis 1.25s ease-in-out infinite;
}
.apdor-ratas span:nth-child(2) { animation-delay: .16s; }
.apdor-ratas span:nth-child(3) { animation-delay: .32s; }
@keyframes apdorSokis {
  0%, 70%, 100% { opacity: .25; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-6px); }
}
.apdor-tekstas { font-family: var(--serif); font-size: 1.2rem; color: var(--text); margin-bottom: var(--s4); }
.apdor-juosta { height: 2px; background: var(--line); border-radius: 2px; max-width: 320px; margin: 0 auto; overflow: hidden; }
.apdor-juosta i { display: block; height: 100%; background: var(--brass); transition: width .5s ease; }

@media (prefers-reduced-motion: reduce) {
  .apdor-ratas span { animation: none; opacity: .7; }
  .apdor-juosta i { transition: none; }
}

/* ── Pakopų kortelės po nemokama analize ── */
.pak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s4);
  margin-top: var(--s5);
}
.pak {
  display: flex;
  flex-direction: column;
  padding: var(--s6);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-2);
}
.pak.pak-turim { border-color: rgba(122, 153, 122, .45); }
.pak-kaina {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s2);
}
.pak h3 { font-size: 1.25rem; margin-bottom: var(--s3); }
.pak ul { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: var(--s2); }
.pak li { font-size: 14px; color: var(--text-2); padding-left: 1.1em; position: relative; }
.pak li::before { content: "·"; position: absolute; left: 0; color: var(--brass); }
.pak .btn { margin-top: auto; }
.pak-zyme {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--verd, #9ac09a);
}

/* Patvirtinimo ir duomenų prašymo langelis kortelės viduje. */
.pak-patvirt { padding: var(--s5); margin-top: var(--s4); border-color: rgba(198, 166, 100, .45); }
.pak-patvirt > p { font-size: 14px; line-height: 1.75; margin-bottom: var(--s4); }
.pak-patvirt-mygtukai { display: flex; gap: var(--s3); flex-wrap: wrap; }
.pak-patvirt .hint:empty { display: none; }

/* Atrakinta pakopa išsiskleidžia per visą tinklelio plotį: rezultatas
   yra ilgas tekstas, o siaurame stulpelyje jis būtų neskaitomas. */
.pak:has(.num-rez) { grid-column: 1 / -1; }

.num-hero { text-align: center; padding: var(--s7) var(--s5); }
.num-big {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 11vw, 7rem);
  line-height: 1;
  color: var(--brass);
  margin-bottom: var(--s3);
}
.num-name { font-family: var(--serif); font-size: 1.5rem; margin-bottom: var(--s2); }
.num-key { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }

.num-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 620px) { .num-cards { grid-template-columns: 1fr; } }
.num-card { padding: var(--s5); }
.num-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.num-card-val { font-family: var(--serif); font-size: 2.2rem; color: var(--brass); line-height: 1; }
.num-card h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); font-weight: 400; }
.num-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.num-card .lead-line { color: var(--brass-lt); font-size: 14px; font-style: italic; margin-bottom: var(--s3); font-family: var(--serif); }

.karmic { border-color: rgba(169,107,91,.35); background: rgba(169,107,91,.05); }
.karmic .num-card-val { color: var(--clay); }

/* ── Keturi iššūkiai ──
   Kortelėse anksčiau stovėjo tik skaičius ir žodis „ANKSTYVASIS“, tad
   nebuvo aišku nei ką tai reiškia, nei kada galioja. Dabar kiekviena
   kortelė turi vietą eilėje, skaičių, pavadinimą, laikotarpį ir
   paaiškinimą – todėl reikia daugiau vietos nei keturiems stulpeliams. */
.chal-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}
@media (min-width: 1100px) { .chal-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .chal-row { grid-template-columns: 1fr; } }

.chal {
  display: flex;
  flex-direction: column;
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-2);
}
.chal-eile {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.chal-sk {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--brass);
  margin: var(--s2) 0 var(--s1);
}
.chal-vardas {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}
.chal-metas {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--brass-dk);
  margin-bottom: var(--s3);
}
.chal-ka {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0;
}

/* Pagrindinis – vienintelis, kuris nesibaigia, tad išskirtas rėmu. */
.chal-pagr { border-color: var(--brass-dk); background: var(--tint); }
.chal-pagr .chal-eile { color: var(--brass); }

.chal-pagr-card { padding: var(--s6); margin-top: var(--s5); }

/* ═══════════ SIELOS DRAUGAS ═══════════ */
.match-grid { display: grid; grid-template-columns: 340px 1fr; gap: var(--s5); align-items: start; }
@media (max-width: 980px) { .match-grid { grid-template-columns: 1fr; } }
.match-form { position: sticky; top: calc(var(--nav-h) + var(--s4)); }
@media (max-width: 980px) { .match-form { position: static; } }

.chip-set { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  padding: 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: var(--r2);
  font-size: 13px;
  color: var(--text-2);
  background: var(--surf-c);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip.on { border-color: var(--brass); background: var(--tint-2); color: var(--brass-lt); }

.match-list { display: grid; gap: var(--s4); }
.match {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--s5);
  padding: var(--s5);
}
@media (max-width: 620px) { .match { grid-template-columns: 1fr; } }
.match-score-col { text-align: center; }
.match-pct { font-family: var(--serif); font-size: 2.4rem; color: var(--brass); line-height: 1; }
.match-pct-l { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.match-rank {
  margin-top: var(--s3); padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.1rem; color: var(--text-3);
}
.match-head { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.match-head h3 { font-size: 1.25rem; }
.match-head .sub { font-size: 13.5px; color: var(--text-3); }
.match-bio { font-size: 14.5px; color: var(--text-2); line-height: 1.7; margin-bottom: var(--s4); font-style: italic; }
.match-why { display: grid; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.match-why-row { display: grid; grid-template-columns: 120px 1fr 42px; gap: var(--s3); align-items: center; font-size: 13px; }
.match-why-row span:first-child { color: var(--text-3); }
.match-why-row b { font-family: var(--mono); font-size: 12px; color: var(--brass); font-weight: 400; text-align: right; }
.match-note { font-size: 13.5px; color: var(--text-3); line-height: 1.6; margin-top: var(--s3); }

/* ═══════════ FORUMAS ═══════════ */
.forum-layout { display: grid; grid-template-columns: 250px 1fr; gap: var(--s5); align-items: start; }
@media (max-width: 940px) { .forum-layout { grid-template-columns: 1fr; } .forum-side { order: 2; } }
.forum-side { position: sticky; top: calc(var(--nav-h) + var(--s4)); display: grid; gap: var(--s4); }
@media (max-width: 940px) { .forum-side { position: static; } }

.side-block { border: 1px solid var(--line); border-radius: var(--r3); padding: var(--s5); background: var(--surf-c); }
.side-t { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s4); }

.cat-list { display: grid; gap: 1px; }
.cat {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3);
  border-radius: var(--r2);
  font-size: 14.5px;
  color: var(--text-2);
  text-align: left;
  transition: all .2s var(--ease);
}
.cat b { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); font-weight: 400; }
.cat:hover { background: var(--hover); color: var(--text); }
.cat.on { background: var(--tint-2); color: var(--brass-lt); box-shadow: inset 2px 0 0 var(--brass); }
.cat.on b { color: var(--brass); }

.rules { display: grid; gap: var(--s2); }
.rules li { font-size: 13.5px; color: var(--text-2); display: grid; grid-template-columns: 12px 1fr; gap: var(--s2); line-height: 1.55; }
.rules li::before { content: "·"; color: var(--brass); }

.forum-bar { display: flex; gap: var(--s3); margin-bottom: var(--s5); flex-wrap: wrap; }
.search-f {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: var(--s3);
  padding: 0 var(--s4); height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--r2);
  background: rgba(7,8,11,.5);
  transition: border-color .25s var(--ease);
}
.search-f:focus-within { border-color: var(--brass-dk); }
.search-f svg { width: 14px; height: 14px; opacity: .5; flex-shrink: 0; }
.search-f input { flex: 1; background: none; border: 0; outline: 0; font-size: 14px; }
.search-f input::placeholder { color: var(--text-3); }

.sorts { display: flex; gap: 1px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--r2); }
.sort { padding: 0 var(--s4); height: 36px; border-radius: var(--r1); font-size: 13.5px; color: var(--text-3); transition: all .2s var(--ease); white-space: nowrap; }
.sort:hover { color: var(--text); }
.sort.on { background: var(--tint-2); color: var(--brass); }

.tcard { padding: var(--s5); display: grid; gap: var(--s4); cursor: pointer; }
.tcard.pinned { border-color: rgba(198,166,100,.3); background: rgba(198,166,100,.035); }
.tc-top { display: flex; align-items: center; gap: var(--s3); }
.tc-top b { font-size: 14px; font-weight: 500; display: block; }
.tc-meta { font-size: 12.5px; color: var(--text-3); }
.tc-title { font-size: 1.2rem; line-height: 1.3; transition: color .2s var(--ease); }
.tcard:hover .tc-title { color: var(--brass); }
.tc-ex { font-size: 14.5px; color: var(--text-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-top: var(--s4); border-top: 1px solid var(--line); }
.tc-tags { display: flex; gap: var(--s2); flex-wrap: wrap; }
.tc-stats { display: flex; gap: var(--s4); font-size: 13px; color: var(--text-3); }

#threadList { display: grid; gap: var(--s3); }
.load-more { text-align: center; margin-top: var(--s6); }

/* Gijos rodinys */
.thread-view { display: grid; gap: var(--s4); }
.post {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--s4);
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: var(--surf-c);
}
.post.op { border-color: var(--tint-2); background: var(--tint); }
.post-av { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 14px; color: var(--text-2); }
.post-head { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.post-head b { font-size: 14.5px; font-weight: 500; }
.post-head .t { font-size: 12.5px; color: var(--text-3); }
.post-body { font-size: 14px; color: var(--text-2); line-height: 1.8; white-space: pre-wrap; }
.post-act { display: flex; gap: var(--s3); margin-top: var(--s4); }
.post-act button { font-size: 13px; color: var(--text-3); transition: color .2s; }
.post-act button:hover { color: var(--brass); }
.post-act button.liked { color: var(--brass); }

/* ═══════════ APIE / EKSPERTAI ═══════════ */
.bio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
@media (max-width: 800px) { .bio-grid { grid-template-columns: 1fr; } }
.bio { padding: var(--s6); display: grid; gap: var(--s4); align-content: start; }
.bio-top { display: flex; gap: var(--s4); align-items: center; }
.bio-av {
  width: 64px; height: 64px; flex-shrink: 0;
  border: 1px solid var(--brass-dk); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; color: var(--brass);
  background: var(--tint);
}
.bio h3 { font-size: 1.2rem; margin-bottom: 4px; }
.bio-role { font-size: 13.5px; color: var(--brass); }
.bio-cred { font-family: var(--mono); font-size: 11px; color: var(--text-3); line-height: 1.7; padding: var(--s3) 0; border-block: 1px solid var(--line); }
.bio p { font-size: 14.5px; color: var(--text-2); line-height: 1.75; }
.bio-since { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 860px) { .method { grid-template-columns: 1fr; } }
.method-item { padding: var(--s5); }
.method-item .rn { font-family: var(--serif); font-size: 1.6rem; color: var(--brass-dk); margin-bottom: var(--s3); }
.method-item h3 { font-size: 1.1rem; margin-bottom: var(--s2); }
.method-item p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 80px 1fr; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--serif); font-size: 1.3rem; color: var(--brass); }
.tl-item h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: var(--s2); }
.tl-item p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ═══════════ ADMIN ═══════════ */
.login-wrap { min-height: 100svh; display: grid; place-items: center; padding: var(--s5); padding-top: calc(var(--nav-h) + var(--s6)); }
.login { width: 100%; max-width: 400px; padding: var(--s7); }
.login-head { text-align: center; margin-bottom: var(--s6); }
.login-head h1 { font-size: 1.8rem; margin-bottom: var(--s2); }
.login-head p { font-size: 14px; color: var(--text-3); }
.login-note {
  margin-top: var(--s5); padding: var(--s4);
  border: 1px dashed var(--line-2); border-radius: var(--r2);
  font-size: 13px; color: var(--text-3); line-height: 1.65;
}
.login-note b { color: var(--brass); font-family: var(--mono); font-size: 12px; }

.admin-shell { padding-top: calc(var(--nav-h) + var(--s6)); padding-bottom: var(--s9); }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-bottom: var(--s6); }
@media (max-width: 860px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.kpi { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surf-c); }
.kpi dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s3); }
.kpi dd { font-family: var(--serif); font-size: 2.2rem; color: var(--brass); line-height: 1; }
.kpi .delta { font-size: 12px; color: var(--verd); margin-top: var(--s2); }

.tabs { display: flex; gap: 1px; border-bottom: 1px solid var(--line); margin-bottom: var(--s5); overflow-x: auto; }
.tab {
  padding: var(--s3) var(--s5);
  font-size: 14px; color: var(--text-3);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all .2s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.on { color: var(--brass); border-bottom-color: var(--brass); }

.panel { display: none; }
.panel.on { display: block; }

.tbl { font-size: 14px; }
.tbl th {
  text-align: left;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); font-weight: 400;
  padding: var(--s3); border-bottom: 1px solid var(--line-2);
}
.tbl td { padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.tbl tr:hover td { background: var(--surf-c); }
.tbl .t-title { color: var(--text); font-weight: 500; }
.tbl .t-ex { font-size: 13px; color: var(--text-3); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 44ch; }
.tbl-act { display: flex; gap: var(--s2); justify-content: flex-end; }
.tbl-wrap { overflow-x: auto; }

/* ═══════════════════════════════════════════════════════════
   ORAKULAS v2: gyva tuščia būsena, ilgas skenavimas, paywall
   ═══════════════════════════════════════════════════════════ */

/* ─────────── Emocijos: kelios ─────────── */
.mood-multi { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 520px) { .mood-multi { grid-template-columns: repeat(2, 1fr); } }

/* ─────────── Gyva tuščia būsena ─────────── */
.empty-live {
  display: grid;
  place-items: center;
  text-align: center;
  gap: var(--s4);
  min-height: 480px;
  padding: var(--s7) var(--s5);
}
.empty-live h3 { font-size: 1.4rem; }
.empty-live p { max-width: 40ch; font-size: 14px; color: var(--text-2); line-height: 1.7; }

.orb-scene {
  position: relative;
  width: 180px; height: 180px;
  display: grid;
  place-items: center;
  margin-bottom: var(--s3);
}
.orb-core {
  width: 90px; height: 90px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--brass-dk);
  background: radial-gradient(circle at 50% 40%, var(--tint-2), transparent 70%);
  animation: orb-breathe 5s var(--ease) infinite;
}
.orb-ring {
  position: absolute;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  opacity: .5;
}
.orb-ring:nth-child(1) { width: 130px; height: 130px; animation: orb-spin 18s linear infinite; border-style: dashed; }
.orb-ring:nth-child(2) { width: 160px; height: 160px; animation: orb-spin 26s linear infinite reverse; }
.orb-ring:nth-child(3) { width: 180px; height: 180px; border-color: var(--line); }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.orb-star {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
  animation: orb-twinkle 3s ease-in-out infinite;
}
.orb-star.s1 { top: 12%; left: 24%; animation-delay: 0s; }
.orb-star.s2 { top: 30%; right: 14%; animation-delay: .8s; }
.orb-star.s3 { bottom: 20%; left: 16%; animation-delay: 1.6s; }
.orb-star.s4 { bottom: 30%; right: 24%; animation-delay: 2.4s; }
@keyframes orb-twinkle { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }

/* ─────────── Skenavimas ─────────── */
.scan { display: grid; place-items: center; gap: var(--s5); min-height: 480px; text-align: center; padding: var(--s6) var(--s5); }
.scan-orbit { position: relative; width: 110px; height: 110px; display: grid; place-items: center; }
.scan-core {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--brass-lt), var(--brass-solid));
  animation: orb-breathe 2.4s ease-in-out infinite;
}
.scan-ring {
  position: absolute; inset: 0;
  border: 1px solid var(--brass-dk);
  border-radius: 50%;
  animation: scan-pulse 2.8s ease-out infinite;
}
.scan-ring:nth-child(3) { animation-delay: .9s; }
.scan-ring:nth-child(4) { animation-delay: 1.8s; }
@keyframes scan-pulse { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* Žingsniai atsiranda po vieną, todėl sąrašui reikia stabilaus aukščio:
   be jo puslapis šoktelėtų kaskart pridėjus eilutę. */
.scan-steps {
  display: grid; gap: var(--s3); font-size: 13.5px; max-width: 40ch;
  min-height: 118px; align-content: end; width: 100%;
}
.scan-steps li {
  color: var(--text-3); opacity: .3; position: relative;
  padding-left: var(--s5); text-align: left;
  animation: scanIn .45s var(--ease-o) both;
  transition: opacity .5s var(--ease), color .5s var(--ease), transform .4s var(--ease);
}
@keyframes scanIn {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: .3; transform: none; }
}
/* Seniausia eilutė pasitraukia tyliai, o ne dingsta staiga. */
.scan-steps li.iseina { opacity: 0 !important; transform: translateY(-7px); }
.scan-steps li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--text-3); transition: all .4s var(--ease);
}
.scan-steps li.done { opacity: 1; color: var(--text-2); }
.scan-steps li.done::before { background: var(--brass); border-color: var(--brass); }
.scan-steps li.active { color: var(--brass-lt); }
.scan-steps li.active::before { box-shadow: 0 0 0 3px var(--tint-2); }

.scan-bar { width: 240px; height: 2px; background: var(--line); overflow: hidden; border-radius: var(--r-pill); }
.scan-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brass-dk), var(--brass)); transition: width .6s var(--ease-o); }
/* Tikras likęs laikas. Būtent jo trūko: laukimas be jokio skaičiaus
   atrodo kaip suvaidintas, o su skaičiumi – kaip darbas, kuris baigsis. */
.scan-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3); margin-top: var(--s2);
}
.scan-note { font-size: 12.5px; color: var(--text-3); max-width: 46ch; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  .scan-steps li { animation: none; }
}

/* ─────────── Atmetimas: nesąmonė ─────────── */
.reject {
  display: grid; place-items: center; text-align: center; gap: var(--s4);
  min-height: 460px; padding: var(--s7) var(--s5);
}
.reject-vis { width: 64px; opacity: .5; margin-bottom: var(--s2); }
.reject h3 { font-size: 1.4rem; color: var(--clay); }
.reject p { max-width: 42ch; font-size: 14.5px; color: var(--text-2); line-height: 1.75; }

/* ─────────── Paywall: matoma įžanga, uždengta esmė ───────────
   Už sienos gulinti „peržiūra" yra ATRAPA, ne tikras turinys: neryškumas
   yra tik piešinys, todėl tikrą tekstą po juo galima perskaityti
   naršyklės įrankiais. Šios eilutės rodo turinio FORMĄ, ne turinį. */
.peek-body { display: grid; gap: 9px; margin-top: var(--s3); }
.peek-line {
  display: block; height: 9px; border-radius: 4px;
  background: linear-gradient(90deg, var(--line-2) 0%, var(--line) 55%, var(--line-2) 100%);
  opacity: .75;
}
.paywall-lock { position: relative; }
.paywall-peek {
  display: grid; gap: var(--s6);
  max-height: 360px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 18%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, #000 18%, transparent 88%);
  filter: blur(2px);
  opacity: .5;
  pointer-events: none;
  user-select: none;
}
.paywall-gate {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid; justify-items: center; gap: var(--s3);
  text-align: center;
  padding: var(--s7) var(--s5) var(--s5);
  background: linear-gradient(180deg, transparent, var(--surface) 42%);
}
.paywall-gate .tag { margin-bottom: var(--s2); }
.paywall-gate h3 { font-size: 1.6rem; }
.paywall-gate p { max-width: 42ch; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.gate-actions { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; margin-top: var(--s3); }

/* ─────────── PDF mygtukas ir kt. ─────────── */
.an-act .btn { flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .orb-ring, .orb-core, .orb-star, .scan-ring, .scan-core { animation: none; }
}

/* ─────────── Numerologija: raidės→skaičiai, šiandiena, paywall ─────────── */
.lv-row { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-cell {
  display: grid; place-items: center;
  min-width: 34px; padding: 6px 4px;
  border: 1px solid var(--line-2); border-radius: var(--r1);
  background: var(--surf-c);
}
.lv-cell.lv-vow { border-color: rgba(198,166,100,.45); background: var(--tint); }
.lv-l { font-family: var(--serif); font-size: 1.15rem; color: var(--text); line-height: 1; }
.lv-vow .lv-l { color: var(--brass); }
.lv-n { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-top: 2px; }

.today-nums { display: flex; gap: var(--s6); margin-top: var(--s4); }
.today-nums div { display: flex; flex-direction: column; }
.today-nums b { font-family: var(--serif); font-size: 2.2rem; color: var(--brass); line-height: 1; }
.today-nums span { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* Paywall: rodomas neryškus pilnas turinys su perdanga */
.paywall { position: relative; margin-top: var(--s5); border-radius: var(--r2); overflow: hidden; }
.paywall-blur {
  filter: blur(7px); opacity: .5; pointer-events: none; user-select: none;
  max-height: 460px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.paywall-over {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: var(--s3); padding: var(--s5);
}
.paywall-over p { font-size: 15px; color: var(--text); }
.paywall-over b { color: var(--brass); }
/* Numerologijos spynos ŽENKLIUKAS. Anksčiau vadinosi .paywall-lock ir
   perrašydavo to paties vardo orakulo KONTEINERĮ (žr. 790 eil.):
   konteineris tapdavo 56×56 px apskritimu, o absoliučiai pozicionuoti
   vartai nukrisdavo ant teksto. Du skirtingi dalykai negali dalintis
   klasės vardu. */
.paywall-ikona {
  font-size: 2rem; color: var(--brass);
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1px solid var(--brass-dk); border-radius: 50%; background: var(--surface);
}

@media print {
  .nav, .footer, .mmenu, .an-act, .num-form, #numForm, .cookie-bar, canvas, .aura, .grain { display: none !important; }
  body { background: #fff; color: #111; }
}

/* ─────────── Suderinamumas ─────────── */
.cx-ctx-tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--r2); }
.cx-tab { flex: 1; padding: var(--s3); border-radius: var(--r1); font-size: 14px; color: var(--text-3); transition: all .2s var(--ease); }
.cx-tab:hover { color: var(--text); }
.cx-tab.on { background: var(--tint-2); color: var(--brass); font-weight: 500; }

.cx-hero { padding: var(--s7) var(--s6); text-align: center; }
.cx-pair { font-family: var(--serif); font-size: 1.5rem; color: var(--text); }
.cx-pair span { color: var(--brass); margin: 0 var(--s2); }
.cx-score { font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--brass); margin: var(--s3) 0; }
.cx-score span { font-size: 2rem; }
.cx-band { font-size: 1.1rem; color: var(--text); }
.cx-couple { font-size: 14px; color: var(--text-3); margin-top: var(--s4); }
.cx-couple b { color: var(--brass); }

.cx-people { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s4); }
@media (max-width: 640px) { .cx-people { grid-template-columns: 1fr; } }
.cx-person { padding: var(--s5); }
.cx-person-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s4); }
.cx-person-h b { font-size: 1.05rem; color: var(--text); }
.cx-person-h span { font-size: 13px; color: var(--brass); }
.cx-person-nums { display: flex; gap: var(--s4); margin-bottom: var(--s4); }
.cx-person-nums div { display: flex; flex-direction: column; }
.cx-person-nums b { font-family: var(--serif); font-size: 1.6rem; color: var(--brass); line-height: 1; }
.cx-person-nums span { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.cx-person p { font-size: 13px; color: var(--text-2); line-height: 1.7; }

.cx-sec { margin-top: var(--s6); }
.cx-sec p { font-size: 14.5px; line-height: 1.8; color: var(--text-2); margin-bottom: var(--s3); }
.cx-sec p strong { color: var(--text); }

.cx-ctx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 700px) { .cx-ctx-grid { grid-template-columns: 1fr; } }
.cx-ctx { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surf-c); }
.cx-ctx-h { display: flex; align-items: center; gap: var(--s2); font-size: 14px; color: var(--text); font-weight: 500; }
.cx-ctx-h span { color: var(--brass); }
.cx-ctx-score { font-family: var(--serif); font-size: 2rem; color: var(--brass); margin: var(--s2) 0; }
.cx-ctx p { font-size: 13px; line-height: 1.65; color: var(--text-2); margin: 0; }

.cx-love { text-align: center; border-color: rgba(198,166,100,.3); }
.cx-love-h { font-size: 13px; color: var(--text-3); letter-spacing: .05em; }
.cx-love-pct { font-family: var(--serif); font-size: 3.2rem; color: var(--brass); line-height: 1.1; }
.cx-love-lbl { font-size: 15px; color: var(--text-2); }

/* Pakrovimo patirtis */
.cx-loading { text-align: center; padding: var(--s8) var(--s5); }
.cx-orb { width: 120px; margin: 0 auto var(--s6); animation: cx-pulse 2.4s ease-in-out infinite; }
@keyframes cx-pulse { 0%,100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.cx-stage { font-family: var(--serif); font-size: 1.3rem; color: var(--text); min-height: 1.6em; transition: opacity .3s var(--ease); }
.cx-bar { width: min(320px, 80%); height: 3px; margin: var(--s5) auto 0; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.cx-bar-fill { height: 100%; width: 0; background: var(--brass-solid); transition: width .8s var(--ease); }

/* ─────────── Įrankių išdėstymo centravimas ───────────
   Kol rezultato dar nėra, forma rodoma viena ir centruota
   (nėra didelės tuščios dėžės dešinėje). Atsiradus rezultatui
   grįžtama prie dviejų stulpelių. */
.num-grid, .match-grid {
  max-width: 1140px;
  margin-inline: auto;
  justify-content: center;
}
.num-grid:has(.empty), .match-grid:has(.empty) {
  grid-template-columns: min(600px, 100%);
  max-width: 600px;
}
.num-grid:has(.empty) .empty, .match-grid:has(.empty) .empty {
  border: 0; background: none; padding: var(--s5) 0 0;
}
/* Orakulas: kol rezultato nėra, #result tuščias (be .empty klasės),
   tad tikrinam :empty ir centruojam taip pat. */
.oracle-grid:has(#result:empty) {
  grid-template-columns: min(680px, 100%);
  max-width: 680px;
  margin-inline: auto;
  justify-content: center;
}

/* Vienos kolonos režime forma NEGALI likti prilipusi: slenkant ji
   užliptų ant po ja esančio teksto. Sticky prasmingas tik tada,
   kai šalia yra atskiras rezultatų stulpelis. */
.num-grid:has(.empty) .match-form, .match-grid:has(.empty) .match-form,
.num-grid:has(.empty) .compose, .match-grid:has(.empty) .compose,
.oracle-grid:has(#result:empty) .compose {
  position: static;
}

/* Anonimiškumo varnelė forumo formose */
.anon-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 44px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-2);
}
.anon-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brass);
  cursor: pointer;
  flex: none;
}

/* ═══════════ APIE MUS ═══════════ */
.apie-du {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: var(--s5);
}
@media (max-width: 680px) { .apie-du { grid-template-columns: 1fr; } }

.apie-zmogus { padding: var(--s6) var(--s5); }
.apie-inicialas {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  margin-bottom: var(--s4);
  border: 1px solid var(--brass-dk);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--brass);
}
.apie-zmogus h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--title);
  margin-bottom: 2px;
}
.apie-role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-dk);
  margin-bottom: var(--s4);
}
.apie-zmogus p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-2);
  margin: 0;
}
