Files
gods-eye-view/mobile/styles/globe-ui.css
T
Claude 8b7fcb09df feat(mobile): rooms, live and upload capture, and the altitude-band identity
The Now feed mixes sensor, eye, track, number, witness and room cards
across Orbit, Sky, Ground and Inside, ordered so neighbours differ, with
composited thumbnails and live public-camera frames.

Every situation has a room: typed, place- and time-anchored posts,
evidence badges, bridging-rated notes and a cited Known / Disputed /
Unknown local synthesis, with cross-tab presence over BroadcastChannel.
Example posts are labelled as such.

Capture adds Live (10 s segments sealed into a hash chain, shown on the
globe as a view frustum) and Upload (EXIF placement, Unverified tier),
and an attach sheet that files any capture into a nearby situation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VVYRAqiQj9Y1V9ZfG1RcDH
2026-10-19 02:49:03 +00:00

1007 lines
17 KiB
CSS

/* ------------------------------------------------------------------ */
/* Globe chrome */
/* ------------------------------------------------------------------ */
.gc-top {
position: absolute;
top: calc(var(--safe-t) + 8px);
left: calc(12px + var(--safe-l));
right: calc(12px + var(--safe-r));
display: flex;
justify-content: space-between;
align-items: flex-start;
pointer-events: none;
transition: opacity var(--dur-2) linear;
}
.gc-top > * {
pointer-events: auto;
}
.gc-readout {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
height: 44px;
padding: 0 14px;
border-radius: 22px;
line-height: 1.15;
}
.gc-alt {
font-size: var(--t-foot);
font-weight: 700;
}
.gc-ll {
font-size: 0.625rem;
color: var(--ink-3);
}
.gc-buttons {
display: flex;
flex-direction: column;
gap: 10px;
}
.gc-buttons .icon-btn,
.world-back {
position: relative;
}
.gc-compass .compass-n {
display: grid;
place-items: center;
color: #ff5b4f;
transition: transform 200ms linear;
}
.gc-attr {
position: absolute;
top: calc(var(--safe-t) + 58px);
left: calc(16px + var(--safe-l));
font-size: 0.625rem;
color: var(--ink-4);
letter-spacing: 0.01em;
min-height: 24px;
padding: 0 2px;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.world-back {
position: absolute;
top: calc(var(--safe-t) + 8px);
left: calc(12px + var(--safe-l));
font-size: 1.2rem;
display: none;
}
.app.is-world .world-back {
display: grid;
animation: view-in var(--dur-3) var(--spring) both;
}
.app.is-world .gc-readout {
visibility: hidden;
}
/* Attribution stays on screen whenever the globe is (provider terms). */
.app.is-world .gc-attr {
top: calc(var(--safe-t) + 60px);
}
.gc-attr.has-onscreen {
color: var(--ink-2);
}
.gc-labels {
position: absolute;
inset: 0;
pointer-events: none !important;
overflow: hidden;
z-index: 0;
}
.gc-labels span {
position: absolute;
left: 0;
top: 0;
display: inline-flex;
align-items: center;
gap: 4px;
margin: -9px 0 0 8px;
height: 18px;
padding: 0 6px 0 5px;
border-radius: 9px;
background: rgba(5, 7, 11, 0.58);
font-family: var(--mono);
font-size: 0.625rem;
font-weight: 600;
color: var(--ink);
white-space: nowrap;
will-change: transform;
}
.gc-labels i {
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--fam, var(--ink-3));
}
.tile.soon {
opacity: 0.5;
background: transparent;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tile.soon .tile-status {
font-style: normal;
color: var(--ink-4);
}
/* Lens popover */
.lens-pop {
position: absolute;
z-index: 5;
top: calc(var(--safe-t) + 8px);
right: calc(66px + var(--safe-r));
padding: 6px;
border-radius: 24px;
display: flex;
flex-direction: column;
min-width: 190px;
transform-origin: top right;
animation: pop-in 320ms var(--spring) both;
}
.lens-pop[hidden] {
display: none;
}
@keyframes pop-in {
from {
opacity: 0;
transform: scale(0.6);
}
}
.lens-pop button {
display: flex;
align-items: center;
gap: 12px;
height: 46px;
padding: 0 10px;
border-radius: 18px;
font-size: var(--t-sub);
font-weight: 600;
text-align: left;
}
.lens-pop button[aria-checked='true'] {
background: rgba(255, 255, 255, 0.1);
}
.lens-sw {
width: 30px;
height: 30px;
border-radius: 50%;
flex: none;
box-shadow:
inset 0 0 0 0.5px rgba(255, 255, 255, 0.35),
0 2px 6px rgba(0, 0, 0, 0.35);
}
.lens-pop button[aria-checked='true'] .lens-sw {
box-shadow:
0 0 0 2px var(--ground),
0 0 0 4px var(--tint);
}
/* Bottom stack: lens dock + time ribbon */
.gc-bottom {
position: absolute;
left: 0;
right: 0;
bottom: var(--chrome-bottom);
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: none;
transition:
transform var(--dur-3) var(--spring),
opacity var(--dur-2) linear;
}
.gc-bottom > * {
pointer-events: auto;
}
.lens-dock {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 2px calc(12px + var(--safe-r)) 2px calc(12px + var(--safe-l));
scrollbar-width: none;
scroll-padding: 0 12px;
}
.lens-dock::-webkit-scrollbar {
display: none;
}
.fam-chip {
position: relative;
flex: none;
height: 38px;
padding: 0 13px 0 10px;
color: var(--ink-2);
background: rgba(14, 18, 26, 0.55);
-webkit-backdrop-filter: var(--glass-blur);
backdrop-filter: var(--glass-blur);
box-shadow: var(--glass-edge);
font-size: var(--t-foot);
}
.fam-chip .i {
font-size: 1.05rem;
color: var(--fam);
opacity: 0.6;
}
.fam-chip.on {
color: var(--ink);
background: color-mix(in srgb, var(--fam) 24%, rgba(14, 18, 26, 0.6));
box-shadow:
var(--glass-edge),
inset 0 0 0 1px color-mix(in srgb, var(--fam) 40%, transparent);
}
.fam-chip.on .i {
opacity: 1;
}
.fam-count {
font-size: var(--t-cap2);
font-weight: 700;
color: var(--fam);
}
.fam-count:empty {
display: none;
}
.lens-dock[data-solo]:not([data-solo='']) .fam-chip:not(.on) {
opacity: 0.45;
}
/* Time ribbon */
.ribbon {
position: relative;
display: flex;
align-items: center;
gap: 4px;
height: 56px;
margin: 0 calc(12px + var(--safe-r)) 0 calc(12px + var(--safe-l));
padding: 0 6px;
border-radius: 28px;
touch-action: none;
}
.rb-live {
flex: none;
height: 40px;
padding: 0 11px;
border-radius: 20px;
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.6875rem;
font-weight: 800;
letter-spacing: 0.08em;
color: var(--ink-2);
background: rgba(255, 255, 255, 0.08);
transition:
background var(--dur-2) linear,
color var(--dur-2) linear,
transform var(--dur-1) var(--ease-out);
}
.rb-live .live-dot {
--fam: var(--ink-3);
width: 6px;
height: 6px;
}
.rb-live .live-dot::after {
animation: none;
}
.rb-live.is-live {
background: rgba(255, 69, 58, 0.18);
color: #ff6b61;
}
.rb-live.is-live .live-dot {
--fam: #ff453a;
}
.rb-live.is-live .live-dot::after {
animation: pulse-ring 1.8s var(--ease-out) infinite;
}
.rb-live:active {
transform: scale(0.93);
}
.rb-track {
position: relative;
flex: 1;
min-width: 0;
height: 100%;
cursor: ew-resize;
touch-action: none;
}
.rb-track canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.rb-head {
position: absolute;
left: 50%;
top: 9px;
bottom: 9px;
width: 2px;
margin-left: -1px;
border-radius: 1px;
background: var(--tint);
box-shadow: 0 0 10px rgba(124, 196, 255, 0.8);
}
.ribbon.is-live .rb-head {
background: #ff453a;
box-shadow: 0 0 10px rgba(255, 69, 58, 0.8);
animation: breathe 2.6s ease-in-out infinite;
}
.ribbon.scrubbing .rb-head {
width: 3px;
margin-left: -1.5px;
}
.rb-read {
flex: none;
width: 84px;
display: flex;
flex-direction: column;
align-items: flex-end;
padding-right: 8px;
line-height: 1.15;
}
.rb-read b {
font-size: var(--t-foot);
font-weight: 750;
white-space: nowrap;
}
.rb-read span {
font-size: 0.625rem;
color: var(--ink-3);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.ribbon.custom .rb-head {
background: var(--eyes);
box-shadow: 0 0 10px rgba(255, 209, 102, 0.7);
}
/* World mode (an open situation) on compact widths */
.app.is-world .lens-dock {
display: none;
}
.app.is-world .gc-bottom {
bottom: calc(var(--sheet-h, 120px) + 10px);
}
.app.is-world:not([data-sheet='peek']) .gc-bottom {
opacity: 0;
transform: translateY(20px);
pointer-events: none;
}
.app.is-world:not([data-sheet='peek']) .gc-bottom > * {
pointer-events: none;
}
.app.is-world .pick-card {
display: none;
}
/* Pick card */
.pick-card {
position: absolute;
left: calc(12px + var(--safe-l));
right: calc(12px + var(--safe-r));
bottom: calc(var(--chrome-bottom) + 118px);
padding: 12px 12px 12px 14px;
border-radius: 26px;
z-index: 4;
}
.pick-card[hidden] {
display: none;
}
.pick-top {
display: flex;
align-items: center;
gap: 12px;
}
.pick-ic {
width: 40px;
height: 40px;
border-radius: 50%;
display: grid;
place-items: center;
flex: none;
background: color-mix(in srgb, var(--fam) 22%, transparent);
color: var(--fam);
font-size: 1.25rem;
}
.pick-titles {
flex: 1;
min-width: 0;
}
.pick-title {
font-family: var(--mono);
font-weight: 700;
font-size: var(--t-headline);
letter-spacing: 0.01em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.pick-sub {
font-size: var(--t-foot);
color: var(--ink-3);
}
.pick-close {
width: 36px;
height: 36px;
font-size: 0.9rem;
color: var(--ink-3);
background: rgba(255, 255, 255, 0.08);
}
.pick-meta {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
margin: 12px 0 2px;
}
.pick-meta div {
display: flex;
flex-direction: column;
min-width: 0;
}
.pick-meta span {
font-size: 0.625rem;
font-weight: 650;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--ink-3);
}
.pick-meta b {
font-size: var(--t-callout);
font-weight: 700;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.pick-src {
margin-top: 8px;
font-size: 0.6875rem;
color: var(--ink-4);
}
.pick-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.pick-actions .pill-btn {
min-height: 40px;
padding: 0 13px;
font-size: var(--t-foot);
flex: none;
}
/* Control-Center-style layer grid */
.grid-head {
display: flex;
align-items: center;
gap: 12px;
padding: 2px 52px 12px 0;
}
.grid-head > div {
flex: 1;
min-width: 0;
}
.grid-ic {
width: 46px;
height: 46px;
border-radius: 50%;
display: grid;
place-items: center;
flex: none;
font-size: 1.4rem;
color: #05070b;
background: var(--fam);
box-shadow: 0 0 24px color-mix(in srgb, var(--fam) 45%, transparent);
}
.tiles {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.tile {
position: relative;
display: grid;
grid-template-rows: auto 1fr auto;
gap: 8px;
min-height: 104px;
padding: 12px;
border-radius: 24px;
text-align: left;
background: rgba(255, 255, 255, 0.07);
box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.12);
transition:
transform var(--dur-2) var(--spring),
background var(--dur-2) linear;
}
.tile-ic {
width: 36px;
height: 36px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 1.1rem;
color: var(--ink-2);
background: rgba(255, 255, 255, 0.12);
transition:
background var(--dur-2) linear,
color var(--dur-2) linear;
}
.tile-name {
font-size: var(--t-sub);
font-weight: 650;
line-height: 1.2;
align-self: end;
}
.tile-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: var(--t-cap);
color: var(--ink-3);
}
.tile-meta b {
color: var(--ink-2);
font-weight: 700;
}
.tile-status {
display: inline-flex;
align-items: center;
gap: 5px;
}
.tile-status i {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--ink-4);
}
.tile.on {
background: color-mix(in srgb, var(--fam) 22%, rgba(255, 255, 255, 0.06));
}
.tile.on .tile-ic {
background: var(--fam);
color: #05070b;
}
.tile.on .tile-meta b {
color: var(--fam);
}
.tile[data-status='live'].on .tile-status i {
background: var(--ok);
box-shadow: 0 0 6px var(--ok);
}
.tile[data-status='stale'] .tile-status i {
background: transparent;
outline: 1.25px dotted var(--ink-3);
}
.tile[data-status='error'] .tile-status i {
background: var(--bad);
}
.tile[data-status='error'] .tile-status {
color: var(--bad);
}
/* Credits */
.credit-list {
display: flex;
flex-direction: column;
gap: 2px;
}
.credit {
display: flex;
flex-direction: column;
gap: 3px;
padding: 12px 0;
border-bottom: 0.5px solid var(--hairline);
font-size: var(--t-foot);
}
.credit span {
color: var(--ink-2);
line-height: 1.4;
}
.credit a {
color: var(--tint);
text-decoration: none;
font-size: var(--t-cap);
}
/* Leading pane Globe view (regular widths) */
.lens-row {
display: flex;
gap: 10px;
overflow-x: auto;
padding: 0 calc(var(--gutter) + var(--safe-r)) 4px
calc(var(--gutter) + var(--safe-l));
scrollbar-width: none;
}
.lens-card {
flex: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
width: 72px;
font-size: var(--t-cap);
font-weight: 600;
color: var(--ink-2);
}
.lens-card .lens-sw {
width: 56px;
height: 56px;
}
.lens-card.on {
color: var(--ink);
}
.lens-card.on .lens-sw {
box-shadow:
0 0 0 2px var(--ground),
0 0 0 4px var(--tint);
}
.lead-fam {
display: inline-flex;
align-items: center;
gap: 8px;
}
.lead-fam .i {
color: var(--fam);
}
.lead-tiles {
margin: 0 calc(var(--gutter) + var(--safe-r)) 0
calc(var(--gutter) + var(--safe-l));
}
.lead-tiles .tile {
min-height: 92px;
}
.link-btn {
color: var(--tint);
font-weight: 600;
min-height: 44px;
}
/* Hero morph */
.hero {
position: fixed;
z-index: 80;
overflow: hidden;
pointer-events: none;
contain: strict;
}
.hero img {
position: absolute;
max-width: none;
transform-origin: center center;
will-change: transform;
}
.hero-scrim {
position: fixed;
inset: 0;
z-index: 79;
background: rgba(3, 5, 8, 0.55);
pointer-events: none;
}
.card.hero-source .card-media {
visibility: hidden;
}
.peek-metric {
flex: none;
font-family: var(--font-display);
font-size: var(--t-title2);
font-weight: 750;
letter-spacing: -0.03em;
color: var(--fam);
}
/* The headline number belongs to the peek detent; taller detents show it in
the labelled metrics row instead of twice. */
.brief-sheet:not([data-detent='peek']) .peek-metric {
display: none;
}
.peek-metric small {
font-size: 0.75rem;
font-weight: 650;
color: var(--ink-3);
margin-left: 2px;
letter-spacing: 0;
}
.brief-sheet .sheet-head {
padding-bottom: 4px;
}
/* ------------------------------------------------------------------ */
/* Round two: instrument chrome over the globe */
/* ------------------------------------------------------------------ */
.gc-readout {
height: auto;
min-height: 44px;
padding: 7px 11px 7px 10px;
border-radius: 6px;
background: rgba(5, 6, 7, 0.66);
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(16px);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
gap: 3px;
}
.gc-alt {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.6875rem;
font-weight: 600;
color: var(--band, var(--ink));
}
.gc-alt i {
width: 6px;
height: 6px;
border-radius: 1px;
background: var(--band, var(--ink));
}
.gc-ll {
font-size: 0.5625rem;
color: var(--ink-2);
}
.gc-buttons .icon-btn.glass-strong,
.world-back.glass-strong {
border-radius: 10px;
background: rgba(5, 6, 7, 0.66);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
}
.gc-buttons .liquid::after,
.world-back.liquid::after {
display: none;
}
.gc-attr {
font-family: var(--mono);
font-size: 0.5rem;
letter-spacing: 0.04em;
top: calc(var(--safe-t) + 62px);
}
/* Altimeter rail */
.alt-rail {
position: absolute;
right: calc(14px + var(--safe-r));
top: calc(var(--safe-t) + 190px);
height: min(34vh, 260px);
width: 64px;
pointer-events: auto;
}
.alt-rail::before {
content: '';
position: absolute;
right: 6px;
top: 0;
bottom: 0;
width: 1px;
background: linear-gradient(
to bottom,
var(--b-orbit) 0 40%,
var(--b-sky) 40% 72%,
var(--b-ground) 72% 100%
);
opacity: 0.55;
}
.alt-ticks i {
position: absolute;
right: 3px;
top: var(--y);
width: 7px;
height: 1px;
background: var(--ink-3);
}
.alt-rail [data-alt] {
position: absolute;
right: 14px;
top: var(--y);
transform: translateY(-50%);
min-height: 32px;
padding: 0 2px;
color: var(--ink-3);
}
.alt-rail [data-alt] span {
display: inline-block;
padding: 2px 4px;
border-radius: 2px;
background: rgba(5, 6, 7, 0.62);
font-size: 0.5rem;
}
.alt-rail[data-band='orbit'] [data-alt='orbit'],
.alt-rail[data-band='sky'] [data-alt='sky'],
.alt-rail[data-band='ground'] [data-alt='ground'] {
color: var(--band);
}
.alt-mark {
position: absolute;
right: 0;
top: var(--h, 0%);
transform: translateY(-50%);
transition: top 300ms var(--ease-out);
}
.alt-mark i {
display: block;
width: 0;
height: 0;
border: 5px solid transparent;
border-right: 7px solid var(--band, var(--ink));
filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.8));
}
.app.is-world .alt-rail {
display: none;
}
/* Family chips as instrument keys */
.fam-chip {
border-radius: 6px;
height: 36px;
background: rgba(5, 6, 7, 0.7);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
font-size: 0.8125rem;
}
.fam-chip.on {
background: rgba(5, 6, 7, 0.82);
box-shadow:
inset 0 0 0 0.5px var(--hairline-strong),
inset 0 -2px 0 var(--fam);
}
.fam-count {
font-family: var(--mono);
font-weight: 500;
font-size: 0.625rem;
}
/* Ribbon: white is time, not alarm. */
.ribbon {
border-radius: 10px;
background: rgba(5, 6, 7, 0.72);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
}
.ribbon.liquid::after {
display: none;
}
.rb-live {
border-radius: 6px;
font-family: var(--mono);
font-weight: 600;
}
.rb-live.is-live {
background: rgba(255, 255, 255, 0.12);
color: #fff;
}
.rb-live.is-live .live-dot {
--fam: #fff;
}
.ribbon.is-live .rb-head {
background: #fff;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.rb-head {
background: var(--b-inside);
box-shadow: 0 0 10px rgba(235, 199, 119, 0.7);
}
.gc-labels span {
border-radius: 3px;
}