.np-andes { background: #1c302e; color: #fff6e5; }
.np-andes [hidden] { display: none !important; }
.np-andes-heading { display: flex; align-items: end; justify-content: space-between; gap: .6rem 2rem; margin-bottom: clamp(1.25rem, 2.5vw, 2.35rem); }
.np-andes-heading h2 { font-size: clamp(2.6rem, 5vw, 5rem); text-wrap: balance; }
.np-andes-heading p { max-width: 42ch; color: #d8e1d5; }
.np-andes-viewer { background: #172828; border-radius: 10px; }
.np-andes-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 10px; height: clamp(22rem, 41vw, 36rem); }
.np-andes-cover, .np-andes-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.np-andes-cover { object-fit: cover; object-position: 57% 40%; }
.np-andes-canvas { background: #8fb8c9; touch-action: none; cursor: grab; }
.np-andes-canvas:active { cursor: grabbing; }
.np-andes-canvas:focus-visible { outline: 3px solid var(--np-amber); outline-offset: -4px; }
.np-andes-welcome { position: absolute; bottom: clamp(1rem, 3vw, 2.5rem); left: clamp(1rem, 3vw, 2.5rem); right: 1rem; display: flex; align-items: start; flex-direction: column; gap: .65rem; pointer-events: none; }
.np-andes button { cursor: pointer; border: none; line-height: 1.25; font-weight: 650; }
.np-andes button:focus-visible { outline: 3px solid #f9c37e; outline-offset: 3px; }
.np-andes-start { display: inline-flex; align-items: center; gap: 1rem; min-height: 3.35rem; padding: .75rem 1.25rem; border-radius: 3px; background: var(--np-cream); color: #1c302e; pointer-events: auto; }
.np-andes-start:hover { background: var(--np-amber); }
.np-andes-start:disabled { cursor: progress; }
.np-andes-message:not(:empty), .np-andes-meter, .np-andes-exit, .np-andes-expand, .np-andes-pad button { background: #172827ed; color: #fff6e5; border-radius: 5px; }
.np-andes-message:not(:empty) { padding: .42rem .72rem; }
.np-andes-hud { pointer-events: none; position: absolute; inset: .9rem .9rem auto; display: flex; align-items: start; justify-content: space-between; gap: .55rem; }
.np-andes-meter { display: flex; flex-direction: column; gap: .1rem; padding: .42rem .75rem; }
.np-andes-instruments { display: flex; align-items: start; gap: .35rem; }
.np-andes-meter > span { font-size: .72rem; }
.np-andes-meter strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.np-andes-exit, .np-andes-expand { pointer-events: auto; min-height: 2.75rem; padding: .55rem .75rem; font-size: .85rem; }
.np-andes-expand { position: absolute; right: .9rem; bottom: .9rem; }
.np-andes-pad { position: absolute; left: .9rem; bottom: .9rem; display: grid; grid-template-columns: repeat(3, 2.8rem); grid-template-areas: ". up ." "left back right"; gap: .28rem; }
.np-andes-pad button { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; padding: 0; touch-action: none; user-select: none; -webkit-touch-callout: none; }
.np-andes-pad button:active, .np-andes-exit:hover, .np-andes-expand:hover { background: #354d49; }
.np-andes-pad i { display: block; width: .65rem; height: .65rem; border: solid currentColor; border-width: 2px 2px 0 0; }
.np-andes-pad [data-move="forward"] { grid-area: up; }
.np-andes-pad [data-move="forward"] i { transform: translateY(2px) rotate(-45deg); }
.np-andes-pad [data-move="left"] { grid-area: left; }
.np-andes-pad [data-move="left"] i { transform: translateX(2px) rotate(-135deg); }
.np-andes-pad [data-move="back"] { grid-area: back; }
.np-andes-pad [data-move="back"] i { transform: translateY(-2px) rotate(135deg); }
.np-andes-pad [data-move="right"] { grid-area: right; }
.np-andes-pad [data-move="right"] i { transform: translateX(-2px) rotate(45deg); }
.np-andes-toolbar { display: grid; gap: .65rem; padding: 1rem clamp(.8rem, 2vw, 1.5rem); }
.np-andes-places { display: flex; flex-wrap: wrap; gap: .35rem .55rem; }
.np-andes-places button { min-height: 2.75rem; padding: .55rem .8rem; border-radius: 4px; color: #f8efdf; background: #2b4240; }
.np-andes-places button[aria-pressed="true"] { background: var(--np-amber); color: #28302a; }
.np-andes-toolbar p, .np-andes-credit { color: #d4dfd3; font-size: .88rem; }
.np-andes-credit { margin-top: .75rem; }
.np-andes-credit summary { width: fit-content; padding: .5rem 0; cursor: pointer; }
.np-andes-credit p { max-width: 88ch; margin-block: .4rem; }
.np-andes-viewer.np-andes-expanded { position: fixed; z-index: 999999; inset: 0; border-radius: 0; display: flex; flex-direction: column; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.np-andes-viewer.np-andes-expanded .np-andes-stage { flex: 1; min-height: 0; height: auto; border-radius: 0; }
.np-andes-viewer.np-andes-expanded .np-andes-toolbar { max-height: 32vh; overflow: auto; }
body.np-andes-lock { overflow: hidden; }
@media (max-width: 45rem) {
  .np-andes-heading { align-items: start; flex-direction: column; }
  .np-andes-stage { height: clamp(19rem, 78vw, 28rem); }
  .np-andes-cover { object-position: 74% center; }
  .np-andes-places button { font-size: .86rem; }
}
@media (max-width: 24rem) {
  .np-andes-hud { inset: .55rem .55rem auto; }
  .np-andes-meter { padding: .38rem .45rem; }
  .np-andes-meter strong { font-size: .9rem; }
}
