/* Soria Show — the glance screen (grasp-show.js). Big, dark, readable across a room. */
.grasp-show {
    position: fixed; inset: 0; z-index: 1200;           /* under the voice bar (10000), over the chat AND its Leaflet controls (1000): a chat route card's attribution bled through at 850 (2026-09-29) */
    display: flex; flex-direction: column; gap: 10px;
    padding: calc(12px + env(safe-area-inset-top)) 18px calc(12px + env(safe-area-inset-bottom));
    background: #000; color: #e6edf3; overflow: hidden;
}
.grasp-show.hidden { display: none; }
/* Dim = the CONTENT fades, the black stays solid. King 2026-09-29: dimming the whole
   overlay's opacity let the chat thread bleed through after two minutes idle. */
.grasp-show > * { transition: opacity 1.2s ease; }
.grasp-show.dim > * { opacity: 0.42; }
.grasp-show.dim > .show-bottom { opacity: 0.7; }          /* the ✕ and status stay findable */
.show-top { text-align: center; padding-top: 44px; }        /* room for the voice bar */
.show-clock { font-size: 76px; font-weight: 700; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.show-clock .ampm { font-size: 22px; font-weight: 500; letter-spacing: 0; color: #8b949e; margin-left: 8px; vertical-align: 18px; }
.show-date { font-size: 18px; color: #8b949e; margin-top: 4px; }
.show-weather { font-size: 22px; margin-top: 10px; }
.show-weather .hilo { color: #8b949e; font-size: 17px; }
.show-place { font-size: 14px; color: #8b949e; margin-top: 4px; }
.show-mid { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }
.show-block { background: #0d1117; border: 1px solid #1f2733; border-radius: 16px; padding: 12px 14px; min-height: 0; }
#show-last { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.show-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #8b949e; margin-bottom: 6px; }
.show-body { font-size: 20px; line-height: 1.35; }
#show-last-body { font-size: 22px; overflow: hidden; }
.show-you { font-size: 15px; color: #8b949e; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show-next-item { display: flex; gap: 10px; align-items: baseline; padding: 3px 0; }
.show-next-item .in { color: #34c759; font-size: 15px; white-space: nowrap; }
.show-next-item.due .in { color: #ff9f0a; }
#show-card { margin-top: 8px; }
#show-card .grasp-route-card { max-height: 240px; overflow: hidden; }
.show-bottom { display: flex; align-items: center; gap: 12px; }
.show-eyes { width: 96px; height: 72px; border-radius: 12px; overflow: hidden; background: #0d1117; border: 1px solid #1f2733; flex: none; display: none; }
.show-eyes.on { display: block; border-color: #34c759; }
.show-eyes video { width: 100%; height: 100%; object-fit: cover; }
.show-status { flex: 1; min-width: 0; }
#show-doing { font-size: 17px; }
.show-voice { font-size: 14px; color: #8b949e; margin-top: 3px; }
.show-voice.live { color: #34c759; }
.show-close { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #30363d; background: #161b22; color: #e6edf3; font-size: 20px; }
@media (min-width: 700px) { .show-clock { font-size: 120px; } .show-body { font-size: 26px; } #show-last-body { font-size: 30px; } }

/* Route focus (King 2026-09-29): the route takes the whole Show until he backs out. */
.show-route-teaser { width: 100%; text-align: left; background: #0f2419; border: 1px solid #2ea043; color: #e6edf3; border-radius: 12px; padding: 10px 12px; font-size: 17px; }
.show-route-teaser span { float: right; color: #7ee787; }
.show-focus { display: none; position: absolute; inset: 0 0 calc(92px + env(safe-area-inset-bottom)) 0; z-index: 2; background: #000; flex-direction: column; gap: 8px;
    padding: calc(56px + env(safe-area-inset-top)) 14px 6px; }              /* stops above the status bar: Start never sits under it */
.grasp-show.focus .show-focus { display: flex; }
.grasp-show.focus > .show-top, .grasp-show.focus > .show-mid { visibility: hidden; }
.grasp-show.dim > .show-focus { opacity: 1; }                        /* a route being driven never fades */
.show-focus-head { display: flex; align-items: center; gap: 10px; }
.show-focus-back { flex: none; background: #161b22; border: 1px solid #30363d; color: #e6edf3; border-radius: 10px; padding: 8px 12px; font-size: 16px; }
.show-focus-title .dest { font-size: 20px; font-weight: 700; }
.show-focus-title .sum { font-size: 15px; color: #8b949e; }
.show-focus-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.show-focus-body .grasp-route-map { height: 42vh !important; }
.show-focus-body .grasp-route-steps li { font-size: 16px !important; }
.show-focus-foot { flex: none; }
.show-focus-start { width: 100%; background: #2ea043; color: #fff; border: 0; border-radius: 12px; padding: 12px; font-weight: 700; font-size: 17px; }

/* 2026-10-01 mini screen from the Show (King: the 📺 was not reachable with the Show up) */
.show-pip { border-color: rgba(251,191,36,0.45); background: rgba(251,191,36,0.12); margin-right: 2px; }
