/* ═══════════════════════════════════════════════════
   HAVEN UI — HUD в стиле Sci-Fi FUI: стекло, тонкие
   светящиеся контуры, моноширинные цифры, крупные цели
═══════════════════════════════════════════════════ */

.haven-game-wrap {
  --hv-glass: rgba(10, 10, 24, .62);
  --hv-glass-strong: rgba(10, 10, 24, .86);
  --hv-line: rgba(140, 200, 255, .22);
  --hv-line-strong: rgba(95, 245, 223, .55);
  --hv-text: #EAF6FF;
  --hv-muted: rgba(200, 214, 240, .62);
  --hv-cyan: #5FF5DF;
  --hv-violet: #A98BFF;
  --hv-gold: #FFC83A;
  --hv-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --hv-safe-top: env(safe-area-inset-top, 0px);
  --hv-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Старые элементы прототипа больше не используются */
.haven-hud, .haven-hint, .haven-clear-prompt, .haven-beta-tag, .haven-exit-btn { display: none !important; }

.hv-icon { width: 20px; height: 20px; display: block; }
.hv-icon * { vector-effect: non-scaling-stroke; }

/* ── Верхняя панель ── */
.hv-top {
  position: absolute;
  top: calc(10px + var(--hv-safe-top)); left: 12px; right: 12px;
  z-index: 6;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.hv-icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid var(--hv-line);
  background: var(--hv-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--hv-text);
  cursor: pointer;
  transition: transform .12s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.hv-icon-btn:active { transform: scale(.94); }
.hv-icon-btn:focus-visible, .hv-btn:focus-visible, .hv-tab:focus-visible, .hv-action:focus-visible, .hv-minimap:focus-visible {
  outline: 2px solid var(--hv-cyan); outline-offset: 2px;
}
.hv-icon-btn-sm { width: 40px; height: 40px; border-radius: 12px; }

.hv-res { display: flex; gap: 8px; min-width: 0; }
.hv-chip {
  position: relative;
  height: 44px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--hv-line);
  background: var(--hv-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--hv-text);
}
.hv-chip-star { padding-left: 12px; cursor: pointer; }
.hv-num { font-family: var(--hv-mono); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.hv-star { font-size: 15px; }
.hv-ring { width: 34px; height: 34px; transform: rotate(-90deg); }
.hv-ring circle { fill: none; stroke-width: 3; }
.hv-ring-bg { stroke: rgba(255,255,255,.1); }
.hv-ring-fg { stroke: var(--hv-violet); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 97.4;
  transition: stroke-dashoffset .6s ease; filter: drop-shadow(0 0 4px rgba(169,139,255,.8)); }
.hv-chip-crystal.full .hv-ring-fg { stroke: var(--hv-gold); filter: drop-shadow(0 0 5px rgba(255,200,58,.9)); }
.hv-chip-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--hv-violet); }
.hv-chip-icon .hv-icon { width: 18px; height: 18px; }

/* ── Задание ── */
.hv-quest {
  position: absolute;
  top: calc(64px + var(--hv-safe-top)); left: 12px; right: 92px;
  z-index: 5;
  display: flex; align-items: center; gap: 10px;
  min-height: 56px;
  padding: 8px 10px 8px 8px;
  border-radius: 16px;
  border: 1px solid var(--hv-line);
  background: var(--hv-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--hv-text);
  animation: hv-in .35s ease both;
}
.hv-quest[hidden] { display: none; }
.hv-quest.done { border-color: rgba(255,200,58,.55); box-shadow: 0 0 22px rgba(255,200,58,.18); }
.hv-quest-step {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--hv-line-strong);
  font-family: var(--hv-mono); font-size: 12px; font-weight: 700; color: var(--hv-cyan);
}
.hv-quest-body { flex: 1; min-width: 0; }
.hv-quest-label { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--hv-muted); }
.hv-quest-text { font-size: 13px; font-weight: 700; line-height: 1.3; hyphens: auto; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hv-quest .hv-btn { padding-inline: 12px; }
.hv-quest-reward { flex-shrink: 0; font-family: var(--hv-mono); font-size: 12px; font-weight: 700; color: var(--hv-violet); }
.hv-quest-btn[hidden], .hv-btn[hidden] { display: none; }

/* ── Кнопки ── */
.hv-btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 16px;
  border: none; border-radius: 12px;
  font-family: var(--ld-font-ui, Manrope, sans-serif);
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .12s ease, filter .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.hv-btn:active { transform: scale(.96); }
.hv-btn-gold { background: linear-gradient(135deg, #FFD75A, #FFB200); color: #2a1c00; box-shadow: 0 6px 18px rgba(255,180,0,.3); }
.hv-btn-ghost { background: rgba(95,245,223,.1); color: var(--hv-cyan); border: 1px solid var(--hv-line-strong); }
.hv-btn:disabled { background: rgba(255,255,255,.07); color: var(--hv-muted); box-shadow: none; cursor: default; }

/* ── Миникарта ── */
.hv-minimap {
  position: absolute;
  top: calc(64px + var(--hv-safe-top)); right: 12px;
  z-index: 5;
  width: 72px; height: 58px;
  padding: 3px;
  border-radius: 14px;
  border: 1px solid var(--hv-line);
  background: var(--hv-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  cursor: pointer;
}
.hv-minimap canvas { width: 100%; height: 100%; display: block; border-radius: 10px; }
.hv-beta {
  position: absolute;
  top: calc(128px + var(--hv-safe-top)); right: 12px;
  z-index: 5;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,200,58,.5);
  background: rgba(255,200,58,.12);
  color: var(--hv-gold);
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  pointer-events: none;
}

/* ── Плашка комнаты ── */
.hv-room-banner {
  position: absolute;
  top: calc(134px + var(--hv-safe-top)); left: 50%;
  z-index: 4;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 120px);
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  border: 1px solid var(--hv-room, var(--hv-line-strong));
  background: var(--hv-glass-strong);
  color: var(--hv-text);
  box-shadow: 0 0 26px color-mix(in srgb, var(--hv-room, #5FF5DF) 30%, transparent);
  transform: translate(-50%, -10px); opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.hv-room-banner.show { opacity: 1; transform: translate(-50%, 0); }
.hv-room-icon { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--hv-room, var(--hv-cyan)); color: var(--hv-room, var(--hv-cyan)); }
.hv-room-code { font-family: var(--hv-mono); font-size: 10px; letter-spacing: .14em; color: var(--hv-room, var(--hv-cyan)); }
.hv-room-name { font-family: var(--ld-font-display, Unbounded, sans-serif); font-size: 14px; font-weight: 800; }
.hv-room-desc { font-size: 11px; line-height: 1.35; color: var(--hv-muted); }

/* ── Контекстная карточка ── */
.hv-ctx {
  position: absolute;
  left: 12px; right: 12px;
  bottom: calc(132px + var(--hv-safe-bottom));
  z-index: 6;
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--hv-room, var(--hv-line-strong));
  background: var(--hv-glass-strong);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: var(--hv-text);
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 22px color-mix(in srgb, var(--hv-room, #5FF5DF) 22%, transparent);
  animation: hv-up .28s ease both;
}
.hv-ctx[hidden] { display: none; }
.hv-ctx-icon { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  border: 1px solid var(--hv-room, var(--hv-cyan)); color: var(--hv-room, var(--hv-cyan));
  background: color-mix(in srgb, var(--hv-room, #5FF5DF) 10%, transparent); }
.hv-ctx-icon .hv-icon { width: 22px; height: 22px; }
.hv-ctx-body { flex: 1; min-width: 0; }
.hv-ctx-title { font-family: var(--ld-font-display, Unbounded, sans-serif); font-size: 13px; font-weight: 800; line-height: 1.25; }
.hv-ctx-desc { margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--hv-muted); }

/* ── Управление ── */
.haven-joystick {
  left: 24px !important; right: auto !important; transform: none !important;
  bottom: calc(24px + var(--hv-safe-bottom)) !important;
  width: 104px !important; height: 104px !important;
  border: 1px solid var(--hv-line) !important;
  background: radial-gradient(circle, rgba(95,245,223,.08), rgba(10,10,24,.55) 70%) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.haven-joystick-knob {
  width: 44px !important; height: 44px !important;
  background: radial-gradient(circle at 35% 35%, #7BF7E4, #5BB8FF 60%, #A98BFF) !important;
  box-shadow: 0 0 18px rgba(95,245,223,.55) !important;
}
.hv-action {
  position: absolute;
  right: 24px; bottom: calc(36px + var(--hv-safe-bottom));
  z-index: 6;
  width: 80px; height: 80px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hv-line);
  background: var(--hv-glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--hv-muted);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.hv-action .hv-icon { width: 28px; height: 28px; }
.hv-action.ready {
  color: #06121a;
  border-color: transparent;
  background: linear-gradient(135deg, #7BF7E4, #5BB8FF 55%, #A98BFF);
  box-shadow: 0 0 0 6px rgba(95,245,223,.12), 0 0 28px rgba(95,245,223,.5);
  animation: hv-pulse 1.8s ease-in-out infinite;
}
.hv-action:active { transform: scale(.94); }

/* ── Диалог ── */
.haven-dialogue-box {
  border-radius: 18px !important;
  border: 1px solid var(--hv-line-strong) !important;
  background: var(--hv-glass-strong) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

/* ── Терминал: нижняя шторка ── */
.hv-sheet-overlay {
  position: absolute; inset: 0;
  z-index: 20;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(3,2,8,.55);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.hv-sheet-overlay.open { opacity: 1; pointer-events: auto; }
.hv-sheet {
  width: 100%; max-width: 520px;
  max-height: 82%;
  display: flex; flex-direction: column;
  padding: 8px 16px calc(16px + var(--hv-safe-bottom));
  border-radius: 24px 24px 0 0;
  border: 1px solid var(--hv-line); border-bottom: none;
  background: linear-gradient(180deg, rgba(20,18,40,.97), rgba(10,9,22,.98));
  color: var(--hv-text);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.32,.72,0,1);
}
.hv-sheet-overlay.open .hv-sheet { transform: translateY(0); }
.hv-sheet-handle { width: 40px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.18); margin: 4px auto 10px; }
.hv-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hv-sheet-title { font-family: var(--ld-font-display, Unbounded, sans-serif); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.hv-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--hv-line); margin-bottom: 12px; }
.hv-tab { min-height: 40px; border: none; border-radius: 10px; background: transparent; color: var(--hv-muted);
  font-family: var(--ld-font-ui, Manrope, sans-serif); font-size: 13px; font-weight: 800; cursor: pointer; }
.hv-tab.active { background: rgba(95,245,223,.14); color: var(--hv-cyan); box-shadow: inset 0 0 0 1px rgba(95,245,223,.4); }
.hv-sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 10px; }

.hv-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--hv-line);
  background: rgba(255,255,255,.035);
}
.hv-card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hv-card-label { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--hv-muted); text-transform: uppercase; }
.hv-card-value { font-family: var(--hv-mono); font-variant-numeric: tabular-nums; font-size: 18px; font-weight: 700; margin-top: 2px; }
.hv-card-sub { font-size: 12px; color: var(--hv-muted); line-height: 1.4; margin-top: 4px; }
.hv-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 10px; }
.hv-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5FF5DF, #A98BFF); }
.hv-beta-note { padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(255,200,58,.5);
  color: var(--hv-gold); font-size: 12px; line-height: 1.4; }

.hv-income { display: flex; align-items: center; gap: 14px; }
.hv-income-ring { width: 74px; height: 74px; flex-shrink: 0; position: relative; }
.hv-income-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hv-income-ring circle { fill: none; stroke-width: 6; }
.hv-income-ring .bg { stroke: rgba(255,255,255,.08); }
.hv-income-ring .fg { stroke: url(#hvGrad); stroke-linecap: round; }
.hv-income-pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--hv-mono);
  font-size: 16px; font-weight: 800; color: var(--hv-cyan); }

.hv-room-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px;
  border: 1px solid var(--hv-line); background: rgba(255,255,255,.03); }
.hv-room-row .hv-room-icon { width: 40px; height: 40px; }
.hv-room-row-body { flex: 1; min-width: 0; }
.hv-room-row-name { font-size: 13px; font-weight: 800; }
.hv-room-row-sub { font-size: 11px; color: var(--hv-muted); }
.hv-status { font-family: var(--hv-mono); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.hv-status.ok { color: #6FE08A; background: rgba(111,224,138,.12); }
.hv-status.lock { color: var(--hv-muted); background: rgba(255,255,255,.06); }
.hv-section-title { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--hv-muted); margin: 6px 2px 0; }

.hv-quest-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--hv-line); background: rgba(255,255,255,.03); }
.hv-check { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid var(--hv-line); color: transparent; }
.hv-quest-row.claimed .hv-check { border-color: #6FE08A; color: #6FE08A; background: rgba(111,224,138,.1); }
.hv-quest-row.ready .hv-check { border-color: var(--hv-gold); color: var(--hv-gold); }
.hv-quest-row .hv-quest-text { flex: 1; font-weight: 600; }

/* ── Полная карта ── */
.hv-mapview {
  position: absolute; inset: 0;
  z-index: 22;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: calc(20px + var(--hv-safe-top)) 16px calc(20px + var(--hv-safe-bottom));
  background: rgba(4,3,10,.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.hv-mapview.open { opacity: 1; pointer-events: auto; }
.hv-mapview-title { font-family: var(--ld-font-display, Unbounded, sans-serif); font-size: 16px; font-weight: 800; color: var(--hv-text); }
.hv-mapview canvas { width: 100%; max-width: 480px; aspect-ratio: 4848 / 3888; border-radius: 16px; border: 1px solid var(--hv-line); }
.hv-mapview-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 12px; color: var(--hv-muted); }
.hv-mapview-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-open { background: #5FF5DF; } .lg-rubble { background: #FF8C3C; } .lg-lock { background: #F58BF0; }
.lg-you { background: #fff; border-radius: 50% !important; box-shadow: 0 0 8px #5FF5DF; }
.hv-mapview-hint { font-size: 12px; color: var(--hv-muted); }

.hv-warning-badge { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255,200,58,.55); color: #FFC83A; font-size: 11px; font-weight: 800; letter-spacing: .16em; }

@keyframes hv-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes hv-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hv-pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(95,245,223,.12), 0 0 24px rgba(95,245,223,.45); }
                      50% { box-shadow: 0 0 0 10px rgba(95,245,223,.06), 0 0 34px rgba(95,245,223,.7); } }

@media (max-width: 360px) {
  .hv-chip { padding-right: 10px; }
  .hv-quest { right: 88px; }
  .hv-ctx-title { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-quest, .hv-ctx, .hv-action.ready { animation: none !important; }
  .hv-sheet, .hv-room-banner, .hv-mapview, .hv-sheet-overlay { transition: none !important; }
}
.hv-card-sub .hv-icon { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: var(--hv-cyan); }
.hv-card-sub + .hv-card-sub { margin-top: 6px; }

/* ── О режиме ── */
button.hv-beta { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; min-height: 28px; }
button.hv-beta .hv-icon { width: 12px; height: 12px; }
.hv-about { max-width: 360px; text-align: left; }
.hv-about .hv-warning-badge, .hv-about .haven-warning-title { text-align: center; }
.hv-about-list { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 10px; }
.hv-about-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ld-text-2, #b9c3dc); }
.hv-about-list li > span:first-child { flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid rgba(95,245,223,.35); color: #5FF5DF; background: rgba(95,245,223,.08); }
.hv-about-list .hv-icon { width: 16px; height: 16px; }
.hv-about-support { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px;
  margin-top: 10px; border-radius: 10px; border: 1px solid rgba(255,200,58,.55); background: rgba(255,200,58,.12);
  color: #FFC83A; font: 700 13px var(--ld-font-ui, Manrope, sans-serif); cursor: pointer; }
.hv-about-support:active { transform: scale(.98); }
.hv-about-support .hv-icon { width: 16px; height: 16px; }
.hv-about-beta { font-size: 12px; line-height: 1.4; color: #FFC83A; border: 1px dashed rgba(255,200,58,.45);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; background: rgba(255,200,58,.06); }

/* ── Плитка Haven в меню игр ── */
.ld-tile-haven-strip.hv-tile {
  position: relative; overflow: hidden;
  min-height: 96px; padding: 14px 14px 14px 12px; gap: 12px;
  justify-content: flex-start;
  border-radius: 20px;
  border: 1px solid rgba(95,245,223,.35);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(95,245,223,.28), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(169,139,255,.34), transparent 55%),
    linear-gradient(120deg, #10284a 0%, #16205a 50%, #2a1a5e 100%);
  box-shadow: 0 10px 30px rgba(60,90,220,.25), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .15s ease, box-shadow .2s ease;
}
.ld-tile-haven-strip.hv-tile::before {           /* сетка-чертёж */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(140,190,255,.14) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(140,190,255,.14) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent);
}
.ld-tile-haven-strip.hv-tile::after {            /* блик */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.10), transparent);
  animation: hv-tile-shine 5s ease-in-out infinite;
}
@keyframes hv-tile-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ld-tile-haven-strip.hv-tile:active { transform: scale(.985); }
.hv-tile-art {
  position: relative; flex-shrink: 0; width: 66px; height: 66px; border-radius: 18px;
  display: grid; place-items: center; color: #5FF5DF;
  background: radial-gradient(circle at 50% 45%, rgba(95,245,223,.22), rgba(10,14,32,.65) 70%);
  border: 1px solid rgba(95,245,223,.4);
  box-shadow: 0 0 22px rgba(95,245,223,.25), inset 0 0 14px rgba(95,245,223,.15);
}
.hv-tile-art svg { width: 54px; height: 54px; filter: drop-shadow(0 0 6px rgba(95,245,223,.6)); animation: hv-tile-spin 24s linear infinite; }
.hv-tile-bolts { color: #FF6B7A; }
@keyframes hv-tile-spin { to { transform: rotate(360deg); } }
.hv-tile-body { position: relative; flex: 1; min-width: 0; display: grid; gap: 6px; }
.hv-tile-top { display: flex; align-items: center; gap: 8px; }
.hv-tile .ld-tile-haven-strip-title {
  font-size: 22px; letter-spacing: .02em; color: #fff;
  background: linear-gradient(90deg, #EAF6FF, #9FE9FF 60%, #C9B6FF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hv-tile-beta {
  font: 800 10px var(--ld-font-ui, Manrope, sans-serif); letter-spacing: .12em; text-transform: uppercase;
  color: #1a1300; padding: 4px 9px; border-radius: 999px;
  background: linear-gradient(90deg, #FFE08A, #FFC83A);
  box-shadow: 0 0 12px rgba(255,200,58,.45);
}
.hv-tile-sub { font: 600 12px/1.35 var(--ld-font-ui, Manrope, sans-serif); color: rgba(220,232,255,.78); }
.hv-tile-go {
  position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #0b1430;
  background: linear-gradient(135deg, #5FF5DF, #5BB8FF 55%, #A98BFF);
  box-shadow: 0 6px 18px rgba(91,184,255,.45);
}
.hv-tile-go svg { width: 18px; height: 18px; margin-left: 2px; }
@media (prefers-reduced-motion: reduce) {
  .ld-tile-haven-strip.hv-tile::after, .hv-tile-art svg { animation: none; }
}

/* ── Эффекты комнат ── */
.hv-room-row-eff { margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--hv-room, #5FF5DF); }
.hv-bonus { color: #6FE08A; font-weight: 700; }
