/* Life Code — Ücretsiz Mizaç ve Karakter Testi (site renkleri /style.css :root'tan gelir) */
.mt-page { background: var(--paper); }
.mt {
  max-width: 1120px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem; align-items: start;
}

/* ---------------- Figür paneli */
.mt-stage { position: sticky; top: 1rem; }
.mt-stage-inner {
  position: relative; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(169, 131, 74, .14), transparent 60%),
    linear-gradient(180deg, #fffdf9, var(--paper-2));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  height: min(78vh, 640px);
}
.mt-fig { width: 100%; height: 100%; display: block; color: var(--accent); }
#mtBody { transform-box: view-box; transform-origin: 120px 503px; transition: transform .7s var(--ease); }
.mt-region {
  position: absolute; left: 1rem; top: 1rem; z-index: 1;
  padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--gold-line); color: var(--gold-deep);
  backdrop-filter: blur(6px);
}

/* Vurgu: soru hangi bölgedeyse */
.mt-part { transition: opacity .35s; }
.mt-part.is-hl, .mt-figure.is-hl { filter: drop-shadow(0 0 2.5px rgba(163, 33, 74, .9)) drop-shadow(0 0 7px rgba(163, 33, 74, .45)); }
.mt-skin.is-hl { stroke: var(--accent); }
.mt-ov { fill: var(--accent); opacity: 0; transition: opacity .35s; }
.mt-ov.is-hl { opacity: .26; animation: mtPulse 1.8s ease-in-out infinite; }
.mt-heart { fill: var(--accent); opacity: 0; transition: opacity .35s; }
.mt-heart.is-hl { opacity: .85; animation: mtBeat 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mt-voice { color: var(--accent); animation: mtPulse 1.4s ease-in-out infinite; }
@keyframes mtPulse { 50% { opacity: .1; } }
@keyframes mtBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } }

/* ---------------- Soru paneli */
.mt-panel { min-height: 60vh; padding-top: .5rem; }
.mt-screen[hidden] { display: none; }
.mt-screen { animation: mtIn .45s var(--ease); }
@keyframes mtIn { from { opacity: 0; transform: translateY(8px); } }
.mt-kicker { margin: 0 0 .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.mt-title { margin: 0 0 .8rem; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; color: var(--ink); }
.mt-title em { font-style: italic; color: var(--accent); }
.mt-lead { margin: 0 0 1.6rem; font-size: 1.02rem; line-height: 1.7; color: var(--ink-2); max-width: 36rem; }
.mt-field { margin-bottom: 1.2rem; }
.mt-label { display: block; margin-bottom: .5rem; font-weight: 600; font-size: .9rem; }
.mt-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mt-chips button {
  padding: .65rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font: inherit; font-size: .92rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, transform .15s;
}
.mt-chips button:hover { border-color: var(--accent-2); }
.mt-chips button.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mt-start { margin-top: .6rem; }
.mt-start:disabled { cursor: not-allowed; }
.mt-note { margin: 1rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.mt-error { color: var(--accent); font-weight: 600; }

.mt-progress { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-bottom: 1rem; }
.mt-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--accent)); transition: width .5s var(--ease); }
.mt-count { margin: 0 0 .5rem; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mt-q { margin: 0 0 .4rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; outline: none; }
.mt-hint { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.mt-opts { display: grid; grid-template-columns: 1fr; gap: .6rem; margin: 1.2rem 0 1.4rem; }
.mt-opts.is-many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-opts button {
  position: relative; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding: .95rem 1.1rem; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface);
  font: inherit; font-size: 1rem; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s, background .2s;
}
.mt-opts button:hover { border-color: var(--accent-2); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.mt-opts button:focus-visible { outline: 3px solid rgba(163, 33, 74, .35); outline-offset: 2px; }
.mt-opts button.is-on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.mt-opts kbd {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none;
  border: 1px solid var(--line); background: var(--paper); font: 600 .75rem var(--sans); color: var(--muted);
}
.mt-opts button.is-on kbd { background: var(--accent); border-color: var(--accent); color: #fff; }
.mt-opt-label { flex: 1; font-weight: 500; }
.mt-opts small { flex-basis: 100%; margin: -.35rem 0 0 2.4rem; font-size: .8rem; color: var(--gold-deep); }
.mt-sw { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.mt-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mt-link { padding: .4rem 0; border: 0; background: none; font: inherit; font-size: .9rem; color: var(--muted); cursor: pointer; }
.mt-link:hover { color: var(--accent); }

/* ---------------- Sonuç */
.mt-res-head { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 1.2rem; align-items: start; }
.mt-nature { margin: -.3rem 0 .8rem; font-weight: 600; color: var(--accent); }
.mt-compass { width: 100%; height: auto; }
.mt-c-bg { fill: var(--surface); stroke: var(--line); }
.mt-c-axis { stroke: var(--line); stroke-dasharray: 3 4; }
.mt-c-ax { font: 600 8px var(--sans); fill: var(--muted); letter-spacing: .08em; }
.mt-c-q { font: 600 11px var(--sans); fill: var(--muted); }
.mt-c-q.is-on { fill: var(--accent); font-size: 12.5px; }
.mt-c-mid { fill: none; stroke: var(--line); }
.mt-c-mid.is-on { stroke: var(--accent); fill: var(--accent-soft); }
.mt-c-dot { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.mt-c-dot-halo { fill: var(--accent); opacity: .18; }
.mt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; margin: 1rem 0 1.4rem; }
.mt-card { padding: 1rem 1.1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.mt-card h3 { margin: 0 0 .35rem; font-size: .92rem; }
.mt-card p { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--ink-2); }
.mt-sub { margin: 1.4rem 0 .7rem; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.mt-traits { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.mt-traits li { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .85rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.mt-tr-tag { flex: none; min-width: 86px; padding: .2rem .55rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); font-size: .72rem; font-weight: 600; text-align: center; }
.mt-tr-text { font-size: .92rem; line-height: 1.55; }
.mt-six { padding: .9rem 1rem; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 12px 12px 0; font-size: .86rem; line-height: 1.6; color: var(--ink-2); }
.mt-cta { margin: 1.4rem 0; padding: 1.3rem 1.4rem; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #2a1830, #6e1d3d 60%, var(--accent)); }
.mt-cta h3 { margin: 0 0 .4rem; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.mt-cta p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.6; opacity: .9; }
.mt-cta-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.mt-cta .btn { background: #fff; border-color: #fff; color: var(--accent); }
.mt-cta .btn.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }

/* ---------------- Mobil: figür üstte, küçük */
@media (max-width: 860px) {
  .mt { grid-template-columns: 1fr; gap: 1rem; padding-top: .75rem; }
  .mt-stage { position: relative; top: 0; z-index: 2; margin: 0 -1.25rem; }
  .mt-in-quiz .mt-stage { position: sticky; }
  .mt-stage-inner { height: 34vh; min-height: 210px; border-radius: 0 0 24px 24px; border-width: 0 0 1px; }
  .mt-page:not(.mt-in-quiz) .mt-stage-inner { height: 30vh; }
  .mt-opts.is-many { grid-template-columns: 1fr; }
  .mt-res-head { grid-template-columns: 1fr; }
  .mt-compass { max-width: 220px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  #mtBody, .mt-screen, .mt-progress span { transition: none; animation: none; }
  .mt-ov.is-hl, .mt-heart.is-hl, .mt-voice { animation: none; }
}

/* ---------------- Kişi bilgileri (giriş) ve talep formu (sonuç) */
.mt-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; margin-bottom: 1.2rem; }
.mt-input { display: grid; gap: .35rem; }
.mt-input label { font-weight: 600; font-size: .86rem; }
.mt-input input, .mt-input textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface);
  font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.mt-input input:focus, .mt-input textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(163, 33, 74, .15); }
.mt-req { color: var(--accent); }
.mt-opt { font-weight: 400; color: var(--muted); font-size: .78rem; }
.mt-title em { font-style: italic; color: var(--accent); }

.mt-cta .mt-leadform { display: grid; gap: .9rem; margin-top: .4rem; }
.mt-lead-label { margin: 0; font-weight: 600; font-size: .9rem; opacity: 1; }
.mt-lead-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.mt-lead-chips button {
  padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08);
  color: #fff; font: inherit; font-size: .85rem; cursor: pointer; transition: background .2s, border-color .2s;
}
.mt-lead-chips button:hover { background: rgba(255, 255, 255, .16); }
.mt-lead-chips button.is-on { background: #fff; color: var(--accent); border-color: #fff; font-weight: 600; }
.mt-cta .mt-grid2 { margin: 0; }
.mt-cta .mt-input label { color: #fff; }
.mt-cta .mt-input input, .mt-cta .mt-input textarea { border-color: rgba(255, 255, 255, .3); }
.mt-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .8rem; line-height: 1.5; opacity: .92; cursor: pointer; }
.mt-consent input { margin-top: .2rem; width: 17px; height: 17px; accent-color: #fff; flex: none; }
.mt-consent a { color: #fff; text-decoration: underline; }
.mt-lead-msg { margin: 0; min-height: 1.2em; font-size: .86rem; }
.mt-lead-msg.is-error { color: #ffd4dc; font-weight: 600; }
.mt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mt-cta p { opacity: .92; }
@media (max-width: 560px) { .mt-grid2 { grid-template-columns: 1fr; } }
