/* RPG Studio — «Хроники Варлордов». Классы с префиксом vl-, чтобы не
   задеть общие стили сайта; цвета — токены из style.css (:root). */

.vl-head { padding: clamp(28px, 5vw, 56px) 0 clamp(18px, 3vw, 28px); }
.vl-dev-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #1a1206; background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #d99a3d);
  padding: 6px 14px; border-radius: 999px;
}
.vl-dev-badge svg { width: 15px; height: 15px; }
.vl-head-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.vl-head-tags .eyebrow { margin-bottom: 16px; }
.vl-lead { margin-top: 12px; }

/* ---------- Три ветви ---------- */
.vl-branches { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .vl-branches { grid-template-columns: 1fr; } }
.vl-branch { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.vl-branch-ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 14px; border: 1px solid var(--border);
}
.vl-branch-ic svg { width: 24px; height: 24px; }
.vl-branch-blade .vl-branch-ic { color: #fff; background: linear-gradient(135deg, var(--rose), #b8425f); }
.vl-branch-word .vl-branch-ic { color: #fff; background: linear-gradient(135deg, var(--violet), #5b4fd6); }
.vl-branch-shadow .vl-branch-ic { color: #fff; background: linear-gradient(135deg, var(--teal), #2f8f82); }
.vl-branch h3 { margin-bottom: 6px; }
.vl-branch p { color: var(--text-2); font-size: .94rem; }

/* ---------- Круг ветвей ---------- */
.vl-circle-wrap { display: flex; justify-content: center; margin: 28px 0 8px; }
.vl-circle-wrap svg { width: 100%; max-width: 360px; height: auto; }
.vl-circle-note { text-align: center; color: var(--text-2); font-size: .92rem; max-width: 52ch; margin: 0 auto; }

/* ---------- Карта персонажа ---------- */
.vl-card-anatomy {
  display: grid; gap: 24px; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start;
}
@media (max-width: 760px) { .vl-card-anatomy { grid-template-columns: 1fr; } }
.vl-sample-card {
  position: relative; aspect-ratio: 3/4.2; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border-strong); background: linear-gradient(160deg, var(--surface-2), var(--surface));
  padding: 14px; display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
}
.vl-sample-card .vl-sc-top { display: flex; justify-content: space-between; align-items: flex-start; font-family: var(--font-display); }
.vl-sample-card .vl-sc-power {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1206; flex: none;
}
.vl-sample-card .vl-sc-branches { display: flex; gap: 6px; }
.vl-sample-card .vl-sc-branches span {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--border);
  background: var(--surface);
}
.vl-sample-card .vl-sc-branches svg { width: 14px; height: 14px; }
.vl-sample-card .vl-sc-art {
  flex: 1; border-radius: 12px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, rgba(255,255,255,.01) 10px 20px);
  display: grid; place-items: center; color: var(--text-3); font-size: .8rem; text-align: center; padding: 10px;
  border: 1px dashed var(--border);
}
.vl-sample-card .vl-sc-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.vl-sample-card .vl-sc-faction { color: var(--text-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.vl-sample-card .vl-sc-prop { font-size: .84rem; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }

.vl-prop-list { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .vl-prop-list { grid-template-columns: 1fr; } }
.vl-prop {
  padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
  font-size: .9rem;
}
.vl-prop b { color: var(--gold-2); }

/* ---------- Форма отклика ---------- */
.vl-feedback { max-width: 640px; margin: 0 auto; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.vl-fb-choices { display: flex; gap: 12px; margin: 16px 0 20px; flex-wrap: wrap; }
.vl-fb-choice {
  flex: 1; min-width: 140px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface-2); font-weight: 600; text-align: center; transition: border-color .2s, background .2s;
}
.vl-fb-choice svg { width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; }
.vl-fb-choice:hover { border-color: var(--border-strong); }
.vl-fb-choice.is-picked-like { border-color: var(--teal); background: rgba(95,212,196,.14); color: var(--teal); }
.vl-fb-choice.is-picked-nope { border-color: var(--rose); background: rgba(240,143,176,.14); color: var(--rose); }
.vl-field { display: block; margin-bottom: 14px; }
.vl-field span { display: block; font-size: .86rem; color: var(--text-2); margin-bottom: 6px; }
.vl-field textarea, .vl-field input[type="email"] {
  width: 100%; padding: 11px 13px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font: inherit; resize: vertical;
}
.vl-field textarea:focus, .vl-field input[type="email"]:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.vl-fb-count { font-size: .76rem; color: var(--text-3); text-align: right; margin-top: 4px; }
.vl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vl-fb-msg { margin-top: 14px; font-size: .9rem; padding: 10px 12px; border-radius: 10px; display: none; }
.vl-fb-msg.is-ok { display: block; background: rgba(95,212,196,.14); color: var(--teal); border: 1px solid rgba(95,212,196,.35); }
.vl-fb-msg.is-err { display: block; background: rgba(240,143,176,.14); color: var(--rose); border: 1px solid rgba(240,143,176,.35); }
.vl-fb-submit { margin-top: 6px; }
.vl-fb-submit:disabled { opacity: .6; cursor: not-allowed; }
