/* Этап Е: исследование локаций (js/explore.js). Экран #campaign.cv-explore.
   18.11.2026 (волна 2): единая рамка (.fr). Поле — на всю ширину центра; справа постоянной панели нет.
   «Места», проверка навыка, находка, граница боя — карточкой .fr-card над затемнённым полем. Цвета — переменные --ui-*. */
.x-fr .fr-body { padding: 0; }
.x-wrap { position: relative; flex: 1 1 auto; display: flex; min-width: 0; min-height: 0; }
.x-chip { position: absolute; top: 10px; left: 10px; z-index: 2; pointer-events: none; padding: 7px 13px; font-size: 14px; font-weight: 700; color: var(--ui-ink, #f1eadb);
  background: rgba(20, 22, 18, .85); border: 1px solid var(--ui-line2, #4a503b); border-radius: 4px; }
.x-field { position: relative; flex: 1 1 auto; min-width: 0; overflow: auto; height: calc(100vh - 252px); height: calc(100dvh - 252px); min-height: 280px; background: #12130f;
  touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.x-inner { position: relative; width: max-content; margin: 0 auto; }
.x-inner canvas { display: block; cursor: pointer; }
.x-act[hidden] { display: none !important; }
.x-act { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.x-fr .x-act { display: none !important; }   /* кнопка действия теперь внизу справа; элемент остаётся для Enter */

/* строка статуса: последняя запись прогулки под целью */
.x-fr .fr-status small { max-width: 78ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.x-fr .fr-status small.x-bad { color: var(--ui-enemy, #ef9a81); }

/* карточки */
.x-note { margin: 10px 0 0; padding: 9px 13px; font-size: 14px; line-height: 1.4; background: var(--ui-panel2, #272b23); border: 1px solid var(--ui-line2, #4a503b); border-radius: 4px; }
.x-note.x-dim { color: var(--ui-muted, #bab7a7); }
.x-note.x-trace { border-left: 4px solid var(--ui-ok, #b2c98c); font-size: 13px; }
.x-cardwarn { border-color: var(--ui-enemy-line, #ad745e); background: var(--ui-enemy-bg, #221c17); }
.x-sec { margin: 14px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--ui-gold, #e8bc70); }
.x-places .fr-list { margin-top: 0; }
.x-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.x-acts .fr-btn { min-height: 36px; padding: 6px 14px; }
.x-party { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.x-pm { display: flex; align-items: center; gap: 8px; }
.x-pm span { display: flex; flex-direction: column; line-height: 1.2; }
.x-pm small { color: var(--ui-muted, #bab7a7); }
.x-pm.hurt small { color: var(--ui-warn, #ffcc80); }
.x-log div { font-size: 13px; margin: 3px 0; }
.x-log .bad { color: var(--ui-enemy, #ef9a81); }
.x-help p { font-size: 13px; margin: 6px 0; }

/* этап Ж: «Навык на…» */
.x-skrow { display: flex; align-items: center; gap: 10px; margin: 6px 0; padding: 8px 10px; background: var(--ui-panel2, #272b23); border: 1px solid var(--ui-line, #3b4033); border-radius: 4px; }
.x-skrow .x-mk { flex: none; width: 24px; text-align: center; font-size: 18px; color: var(--ui-gold, #e8bc70); }
.x-skt { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.x-skt small { color: var(--ui-muted, #bab7a7); font-size: 12.5px; }
.x-skb { display: flex; flex: none; gap: 6px; }
.fr .fr-btn.x-sm { min-height: 34px; padding: 5px 12px; font-size: 13px; }

@media (max-width: 820px) {
  .x-field { height: calc(100vh - 300px); height: calc(100dvh - 300px); min-height: 260px; }
}
@media (max-width: 640px) {
  .x-field { height: calc(100dvh - 300px); min-height: 240px; }
  .x-chip { top: 6px; left: 6px; padding: 5px 10px; font-size: 13px; }
  .x-skrow { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; }
  .x-skb { grid-column: 2; flex-wrap: wrap; }
  .x-fr .fr-status small { -webkit-line-clamp: 1; }
  .x-acts .fr-btn { flex: 1 1 140px; min-height: 44px; }
}
