/* Inspect the meter: the button on the homepage hero and the full-screen view it opens. */
.mv-spot {
    position: absolute; z-index: 20; padding: 0; background: none; border: 0; border-radius: 1.5rem; cursor: pointer;
    transition: box-shadow .2s ease;
}
.mv-spot[hidden] { display: none; }
.mv-spot:hover, .mv-spot:focus-visible { box-shadow: 0 0 0 2px #0B5F2A, 0 0 0 7px rgba(168,207,57,.45); outline: none; }
.mv-label {
    display: inline-flex; align-items: center; gap: .5rem; padding: .625rem .875rem; background: #0B5F2A; color: #fff;
    font: 800 .6875rem/1 Inter, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}
.mv-label::before { content: ''; width: .4375rem; height: .4375rem; border-radius: 50%; background: #4DFF88; box-shadow: 0 0 8px #4DFF88; }
.mv-spot .mv-label { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); }
.mv-spot:hover .mv-label { background: #084422; }
.mv-spot--inline { position: static; display: inline-flex; margin-bottom: 1.5rem; min-height: 2.75rem; border-radius: 0; }
.mv-spot--inline .mv-label { position: static; transform: none; min-height: 2.75rem; }
.mv-spot--inline:hover, .mv-spot--inline:focus-visible { box-shadow: 0 0 0 3px #A8CF39; }

.mv {
    position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
    background: radial-gradient(90% 90% at 38% 45%, #1B3A26 0%, #0A1D12 72%); color: #fff; overflow: hidden;
    font-family: Inter, Arial, sans-serif;
}
.mv[open] { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; }
.mv::backdrop { background: #0A1D12; }
.mv-stage { position: relative; overflow: hidden; touch-action: none; cursor: grab; outline: none; user-select: none; -webkit-user-select: none; }
.mv-stage.is-grabbing { cursor: grabbing; }
.mv-stage:focus-visible { box-shadow: inset 0 0 0 3px #A8CF39; }
.mv-floor { position: absolute; left: 50%; top: 50%; width: 42rem; height: 42rem; margin: -21rem; background: radial-gradient(closest-side, rgba(168,207,57,.2), transparent); pointer-events: none; }
.mv-stage .tx-pos { pointer-events: none; }
.mv-ring { position: absolute; border: 3px solid #4DFF88; border-radius: 12px; box-shadow: 0 0 18px #4DFF88; opacity: 0; transition: opacity .25s ease; }
.mv-ring.is-on { opacity: 1; }

.mv-panel { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; overflow-y: auto; background: #0A1D12; border-left: 1px solid rgba(255,255,255,.12); }
.mv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.mv-title { margin: 0; color: #fff; font-size: 1.625rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.mv-hint { margin: 0; color: rgba(255,255,255,.72); font-size: .875rem; line-height: 1.5; }
.mv-btn {
    appearance: none; min-height: 2.75rem; padding: 0 .875rem; background: transparent; border: 1.5px solid rgba(255,255,255,.34); color: #fff; cursor: pointer;
    font: 700 .8125rem/1 Inter, Arial, sans-serif; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.mv-btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.mv-btn:active { background: rgba(255,255,255,.18); }
.mv-btn:focus-visible, .mv-part:focus-visible { outline: 3px solid #A8CF39; outline-offset: 2px; }
.mv-btn[aria-pressed="true"] { background: #A8CF39; border-color: #A8CF39; color: #062E17; }
.mv-close { flex: none; width: 2.75rem; padding: 0; font-size: 1.25rem; }
.mv-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .375rem; }
.mv-kicker { margin: 0 0 .5rem; color: #A8CF39; font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mv-parts { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(255,255,255,.12); }
.mv-part {
    appearance: none; display: block; width: 100%; min-height: 2.75rem; padding: .625rem .75rem; background: #0A1D12; border: 0; color: #fff; cursor: pointer; text-align: left;
    font: 700 .9375rem/1.3 Inter, Arial, sans-serif; transition: background .15s ease, color .15s ease;
}
.mv-part:hover { background: #14301F; }
.mv-part[aria-pressed="true"] { background: #A8CF39; color: #062E17; }
.mv-note { min-height: 4.5rem; margin: 0; color: rgba(255,255,255,.88); font-size: .9375rem; line-height: 1.55; }

@media (max-width: 860px) {
    .mv[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
    .mv-panel { max-height: 46dvh; gap: .75rem; padding: 1rem; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .mv-title { font-size: 1.25rem; }
    .mv-hint { display: none; }
    .mv-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mv-note { min-height: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .mv-spot, .mv-label, .mv-btn, .mv-part, .mv-ring { transition: none; }
}
