/* The Aurora style of the glucose chart (views/chart-aurora.js; the pilot docs/mockups/charts/a-aurora.html): the box
   is a sky (dawn-pale in light, deep violet night in dark); its colours and glow strengths are the --aur-* tokens of
   style.css, light and dark. */
.ins-box[data-style=aurora]{background:linear-gradient(180deg,var(--aur-sky0),var(--aur-sky1) 55%,var(--aur-sky2));border:0;border-radius:22px;box-shadow:var(--aur-shadow);color:var(--aur-txt)}
.aur-wrap{position:relative;height:100%}
.ins-curve.aur{display:block;width:100%;height:100%;overflow:visible}
.ins-curve.aur text{font-family:var(--sans);font-weight:700}
.aur .aur-stars circle{fill:var(--aur-star)}
.aur .aur-sky.faint{opacity:.55}
.aur .aur-glint{stroke:var(--aur-star);stroke-width:.8;opacity:.8;fill:none}
.aur .aur-moon{fill:var(--aur-star);opacity:.85}
.aur .aur-edge{stroke:var(--aur-mid);stroke-width:.7;stroke-dasharray:1 5;stroke-linecap:round;opacity:.55}
.aur .aur-ev,.aur .aur-tick{fill:var(--aur-sub);font-size:9.5px}
.aur .aur-tick{font-size:10px;opacity:.85}
.aur .aur-ghost-b{fill:var(--aur-mid);opacity:.12}
.aur .aur-ghost-l{fill:none;stroke:var(--aur-sub);stroke-width:1.4;stroke-dasharray:2 4;opacity:.6}
.aur .aur-curtain{opacity:var(--aur-curtain)}
.aur .aur-curtain path,.aur .aur-glow,.aur .aur-line,.aur .aur-core{fill:none;stroke-linecap:round;stroke-linejoin:round}
.aur .aur-glow{opacity:var(--aur-glow)}
.aur .aur-line{stroke-width:3.2}
.aur .aur-core{stroke:var(--aur-white);stroke-width:1;opacity:var(--aur-core)}
.aur .win{fill:var(--aur-hi);opacity:0;transition:opacity .2s}
.aur .win.on{opacity:.12}
.aur .aur-halo{opacity:var(--aur-halo)}
.aur .aur-lead{stroke:var(--aur-hi);stroke-width:1;stroke-dasharray:1 3;stroke-linecap:round;opacity:.55}
.aur .aur-orb{fill:var(--aur-white);stroke:var(--aur-hi);stroke-width:1.6}
.aur .aur-nowh{opacity:.25}
.aur .aur-now{fill:var(--aur-white);stroke-width:2}
@media (prefers-reduced-motion:no-preference){
  .aur .aur-line.draw,.aur .aur-core.draw{stroke-dasharray:1;stroke-dashoffset:1;animation:ins-draw 1s cubic-bezier(.3,.6,.3,1) forwards}
  .aur .aur-glow.draw,.aur .aur-curtain.draw{animation:aur-rise 1s ease-out both}
}
@keyframes aur-rise{from{opacity:0}}
/* the meals' labels over their orbs: the rise large, the name small under it, on no backing */
.aur-mls,.aur-ents{position:absolute;inset:0;pointer-events:none}
.aur-ml{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:1px;padding:0;border:0;background:none;color:var(--aur-txt);font-family:var(--sans);cursor:pointer;pointer-events:auto;overflow:visible}
.aur-ml b{font-size:.8rem;font-weight:800;line-height:1.05;white-space:nowrap}
.aur-ml span{max-width:100%;font-size:.66rem;font-weight:700;line-height:1.1;color:var(--aur-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aur-ml:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}
/* the night's words and the workouts along the bottom, under the floor */
.aur-nl{position:absolute;padding:2px 2px;border:0;background:none;color:var(--aur-sub);font:700 .6rem/1.2 var(--sans);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;pointer-events:auto;opacity:.9}
.aur-wk{position:absolute;display:flex;flex-direction:column;align-items:center;gap:1px;height:18px;padding:0;border:0;background:none;color:var(--aur-lo);font:700 .6rem/1 var(--sans);cursor:pointer;pointer-events:auto;overflow:hidden}
.aur-wk i{display:block;width:100%;height:3px;border-radius:2px;background:var(--aur-lo);flex:none}
.aur-wk.pt i{width:6px;height:6px;border-radius:50%}
.aur-wk .i{width:11px;height:11px}
.aur-wk span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.aur-wk.more{flex-direction:row;padding:0 6px;border-radius:var(--pill);background:color-mix(in srgb,var(--aur-sky1) 80%,transparent);color:var(--aur-txt)}
/* the reading over the sky: a soft violet crosshair, a white dot and a glassy bubble */
.ins-box[data-style=aurora] .ins-scrub .cursor{stroke:var(--aur-mid);stroke-dasharray:none;opacity:.75}
.ins-box[data-style=aurora] .ins-scrub .hx{stroke:var(--aur-mid);opacity:.45}
.ins-box[data-style=aurora] .ins-scrub .now{fill:var(--aur-white);stroke:var(--aur-hi);stroke-width:2.2;filter:drop-shadow(0 0 6px var(--aur-hi))}
.ins-box[data-style=aurora] .ins-ro{background:color-mix(in srgb,var(--surface) 82%,transparent);border-color:color-mix(in srgb,var(--aur-mid) 35%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.ins-box[data-style=aurora].scrubbing .aur-mls,.ins-box[data-style=aurora].scrubbing .aur-nl{opacity:.15}
/* the values up the start edge: quiet, on a faint guide, readable over the ribbon's glow */
.aur .aur-yg{stroke:var(--aur-sub);stroke-width:1;stroke-dasharray:1 5;opacity:.35}
.aur .aur-sep{stroke:var(--aur-sub);stroke-width:1;opacity:.45}
.aur .aur-yl{fill:var(--aur-sub);font-size:10px;paint-order:stroke;stroke:var(--surface);stroke-width:3px;stroke-linejoin:round}
.aur-ml .aur-pk{font-weight:600;opacity:.7}
