/* ══════════════════════════════════════════════════════════
   VYNDRA — BURNOUT METER + HEATMAP PREMIUM  v1.0
   ══════════════════════════════════════════════════════════ */

/* ══ BURNOUT GAUGE ARC ══════════════════════════════════════ */
#gaugeArc {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.3,1),
              stroke .4s ease;
}

/* ══ BURNOUT LOCKED STATE ═══════════════════════════════════ */
.bc-locked-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 0 2px;
}
.bc-locked-gauge {
  position: relative;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bc-locked-icon {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  filter: grayscale(1);
}
.bc-locked-badge {
  font-family: var(--ff-m);
  font-size: 7px;
  letter-spacing: .2em;
  color: #f59e0b;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.22);
  padding: 3px 10px;
  border-radius: 4px;
}
.bc-locked-desc {
  font-family: var(--ff-r);
  font-size: 12px;
  color: var(--txt3);
  text-align: center;
  line-height: 1.5;
  padding: 0 4px;
}
.bc-locked-desc strong { color: var(--txt2); }
.bc-locked-hint {
  font-family: var(--ff-m);
  font-size: 8px;
  color: var(--txt3);
  letter-spacing: .06em;
  text-align: center;
  margin-top: 2px;
}

/* ══ CTA BUTTON ═════════════════════════════════════════════ */
.bc-locked-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg,rgba(var(--acc-rgb),.18),rgba(var(--acc-rgb),.08));
  border: 1px solid rgba(var(--acc-rgb),.38);
  border-radius: var(--rad-s);
  color: var(--acc);
  font-family: var(--ff-m);
  font-size: 9px;
  letter-spacing: .14em;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.bc-locked-cta:hover {
  background: rgba(var(--acc-rgb),.25);
  border-color: var(--acc);
  box-shadow: var(--acc-glow);
  transform: translateY(-1px);
}

/* ══ BURNOUT BREAKDOWN (PREMIUM) ════════════════════════════ */
.bc-breakdown {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}
.bc-breakdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bc-bi-label {
  font-family: var(--ff-m);
  font-size: 7px;
  letter-spacing: .1em;
  color: var(--txt3);
  min-width: 44px;
}
.bc-bi-bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.bc-bi-bar {
  height: 100%;
  border-radius: 2px;
  width: 0%;
  transition: width 1.1s cubic-bezier(.2,.8,.3,1);
}
.bc-bi-val {
  font-family: var(--ff-d);
  font-size: 13px;
  color: var(--txt2);
  min-width: 28px;
  text-align: right;
}

/* ══ HEATMAP LAYOUT ══════════════════════════════════════════ */
.hm-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hm-sec-label {
  font-family: var(--ff-m);
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--txt3);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ══ CALENDAR GRID ══════════════════════════════════════════ */
.hm-cal {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 3px;
}
.hm-cell {
  aspect-ratio: 1;
  border-radius: 2px;
  cursor: default;
  transition: transform .15s;
  position: relative;
}
.hm-cell:hover { transform: scale(1.4); z-index: 2; }
.hm-lv0 { background: rgba(255,255,255,.04); }
.hm-lv1 { background: rgba(var(--acc-rgb),.14); }
.hm-lv2 { background: rgba(var(--acc-rgb),.30); }
.hm-lv3 { background: rgba(var(--acc-rgb),.54); }
.hm-lv4 { background: var(--acc); box-shadow: 0 0 6px rgba(var(--acc-rgb),.5); }

.hm-cal-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  justify-content: flex-end;
}
.hm-cal-legend span {
  font-family: var(--ff-m);
  font-size: 7px;
  color: var(--txt3);
}
.hm-leg-cell { width: 9px; height: 9px; border-radius: 2px; }

/* ══ SKILL ANALYSIS ══════════════════════════════════════════ */
.hm-analysis-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hm-skill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hm-skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.hm-skill-name {
  font-family: var(--ff-r);
  font-size: 12px;
  font-weight: 600;
  color: var(--txt2);
}
.hm-skill-val {
  font-family: var(--ff-d);
  font-size: 14px;
}
.hm-skill-bar-track {
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.hm-skill-bar {
  height: 100%;
  border-radius: 2px;
  width: 0%;
  transition: width 1.1s cubic-bezier(.2,.8,.3,1);
}

/* ══ COMMUNITY COMPARISON ═══════════════════════════════════ */
.hm-community-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-comm-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-comm-label {
  font-family: var(--ff-m);
  font-size: 8px;
  color: var(--txt3);
  letter-spacing: .06em;
  min-width: 108px;
}
.hm-comm-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.hm-comm-bar {
  height: 100%;
  border-radius: 2px;
  width: 0%;
  transition: width 1.2s cubic-bezier(.2,.8,.3,1);
}
.hm-comm-val {
  font-family: var(--ff-d);
  font-size: 15px;
  color: var(--txt2);
  min-width: 36px;
  text-align: right;
}

/* ══ HEATMAP PREMIUM GATE ════════════════════════════════════ */
.hm-gate {
  position: relative;
  border-radius: var(--rad-s);
  overflow: hidden;
  min-height: 100px;
}
.hm-gate-preview {
  filter: blur(3px);
  pointer-events: none;
  opacity: .35;
}
.hm-cal-preview {
  grid-template-columns: repeat(7, 1fr);
}
.hm-gate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center,
    rgba(7,9,15,.88) 0%, rgba(7,9,15,.5) 100%);
}
.hm-gate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 18px 20px;
}
.hm-gate-icon { font-size: 26px; }
.hm-gate-title {
  font-family: var(--ff-d);
  font-size: 17px;
  letter-spacing: .1em;
  color: var(--txt);
}
.hm-gate-desc {
  font-family: var(--ff-r);
  font-size: 12px;
  color: var(--txt3);
  line-height: 1.5;
  max-width: 210px;
}
