/* Island Car Log — Vehicle Market Analysis transition */
#marketValueTransition{
  position:fixed;inset:0;z-index:1500;display:grid;place-items:center;
  padding:18px;background:
    radial-gradient(circle at 50% 35%,rgba(18,74,108,.34),transparent 48%),
    rgba(3,10,16,.94);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  opacity:0;visibility:hidden;pointer-events:none;
}
#marketValueTransition.mvt-active{visibility:visible;pointer-events:auto}
#marketValueTransition .mvt-terminal{
  width:min(860px,94vw);max-height:92vh;overflow:hidden;
  padding:22px;border-radius:24px;color:#f5fbff;
  background:
    linear-gradient(145deg,rgba(17,34,48,.98),rgba(6,15,23,.985)),
    radial-gradient(circle at 70% 0,rgba(69,184,245,.13),transparent 42%);
  border:1px solid rgba(166,221,251,.20);
  box-shadow:0 28px 82px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.07);
}
.mvt-terminal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}
.mvt-kicker{margin:0 0 4px;color:#77cfff;font-size:10px;font-weight:900;letter-spacing:.18em}
.mvt-title{margin:0;color:#fff;font-size:21px;line-height:1.15}
.mvt-live{display:flex;align-items:center;gap:7px;color:#a9dfff;font-size:10px;font-weight:900;letter-spacing:.13em;white-space:nowrap}
.mvt-live span{width:7px;height:7px;border-radius:50%;background:#6ed2ff;box-shadow:0 0 12px rgba(110,210,255,.9)}
.mvt-chart-shell{position:relative;border:1px solid rgba(142,207,241,.14);border-radius:17px;overflow:hidden;background:rgba(1,9,15,.54)}
.mvt-chart{display:block;width:100%;height:auto;aspect-ratio:760/300}
.mvt-grid path{fill:none;stroke:rgba(153,204,231,.09);stroke-width:1}
.mvt-axis-labels text{fill:rgba(167,205,226,.42);font-size:9px;font-weight:700;letter-spacing:.08em}
.mvt-car-watermark{fill:none;stroke:rgba(99,190,238,.11);stroke-width:2}
.mvt-candles path{stroke-width:1.5}
.mvt-candles rect{stroke-width:1}
.mvt-candles .up path,.mvt-candles .up rect{stroke:rgba(82,220,180,.48);fill:rgba(82,220,180,.11)}
.mvt-candles .down path,.mvt-candles .down rect{stroke:rgba(255,122,137,.44);fill:rgba(255,122,137,.08)}
.mvt-area{fill:url(#mvtArea)}
.mvt-line{fill:none;stroke:#66cfff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px rgba(81,194,252,.36))}
.mvt-point{fill:#dbf6ff;stroke:#56c6ff;stroke-width:3;filter:url(#mvtPointGlow)}
.mvt-cursor{stroke:rgba(216,247,255,.85);stroke-width:1.5;filter:drop-shadow(0 0 6px rgba(113,211,255,.8))}
.mvt-market-badge{
  position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:9px;
  padding:7px 10px;border-radius:10px;background:rgba(3,16,25,.68);
  border:1px solid rgba(118,203,246,.17);backdrop-filter:blur(8px);
}
.mvt-market-badge span{font-size:9px;font-weight:900;letter-spacing:.10em;color:#bce8ff}
.mvt-market-badge strong{font-size:18px;line-height:1;color:#78d2ff}
.mvt-data{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:9px}
.mvt-chip{
  min-width:0;padding:7px 8px;border-radius:10px;background:rgba(87,158,195,.07);
  border:1px solid rgba(141,205,237,.10);text-align:left
}
.mvt-chip span{display:block;color:#75bfe6;font-size:8px;font-weight:900;letter-spacing:.10em;margin-bottom:2px}
.mvt-chip strong{display:block;color:#edf9ff;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mvt-factor-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:8px}
.mvt-factor-strip span{
  padding:6px 4px;border-radius:8px;text-align:center;color:#b8e4fa;font-size:7.5px;font-weight:900;letter-spacing:.07em;
  border:1px solid rgba(103,195,239,.12);background:rgba(49,116,150,.08)
}
.mvt-status-row{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:11px;min-height:20px}
.mvt-status{margin:0;color:#ddf4ff;font-size:12px;font-weight:800}
.mvt-status-dot{width:7px;height:7px;border-radius:50%;background:#68ccff;box-shadow:0 0 10px rgba(104,204,255,.75)}
.mvt-check{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:rgba(95,217,173,.16);border:1px solid rgba(95,217,173,.42);color:#8ff0c8;font-size:11px;font-weight:900}

@media(max-width:680px){
  #marketValueTransition{padding:10px}
  #marketValueTransition .mvt-terminal{width:96vw;padding:15px;border-radius:19px}
  .mvt-terminal-head{gap:10px;margin-bottom:8px}
  .mvt-title{font-size:17px}
  .mvt-live{font-size:8px}
  .mvt-chart-shell{border-radius:13px}
  .mvt-market-badge{top:7px;right:7px;padding:5px 7px}
  .mvt-market-badge span{font-size:7px}
  .mvt-market-badge strong{font-size:15px}
  .mvt-data{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:6px}
  .mvt-chip{padding:5px 6px}
  .mvt-chip span{font-size:7px}
  .mvt-chip strong{font-size:9px}
  .mvt-factor-strip{grid-template-columns:repeat(3,1fr);gap:4px;margin-top:6px}
  .mvt-factor-strip span{padding:5px 2px;font-size:6.5px}
  .mvt-status-row{margin-top:7px}
  .mvt-status{font-size:10px}
}
@media(max-height:650px){
  #marketValueTransition .mvt-terminal{padding:12px}
  .mvt-data{display:none}
  .mvt-factor-strip{margin-top:5px}
  .mvt-status-row{margin-top:5px}
}
@media(prefers-reduced-motion:reduce){
  #marketValueTransition *{animation:none!important;transition:none!important}
}
