Files
gods-eye-view/mobile/styles/room.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

1196 lines
19 KiB
CSS

/* ------------------------------------------------------------------ */
/* Situation sheet: tabs, strip; Room: synthesis, posts, notes */
/* ------------------------------------------------------------------ */
.brief-tabs {
display: flex;
align-items: center;
gap: 18px;
margin: 10px 0 0;
border-bottom: 0.5px solid var(--hairline);
}
.brief-tabs [role='tab'] {
position: relative;
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 40px;
font-size: 0.9375rem;
font-weight: 650;
color: var(--ink-3);
}
.brief-tabs [role='tab'][aria-selected='true'] {
color: var(--ink);
}
.brief-tabs [role='tab'][aria-selected='true']::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: -0.5px;
height: 2px;
background: var(--band, var(--ink));
}
.bt-n {
min-width: 18px;
height: 16px;
padding: 0 4px;
border-radius: 3px;
background: rgba(255, 255, 255, 0.08);
font-size: 0.5625rem;
line-height: 16px;
text-align: center;
color: var(--ink-2);
}
.bt-n:empty {
display: none;
}
.bt-here {
margin-left: auto;
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 0.5625rem;
color: var(--ink-3);
}
.bt-here .i {
font-size: 0.75rem;
}
.brief-sheet .sheet-body {
padding-top: 12px;
}
.brief-strip {
position: relative;
display: flex;
gap: 10px;
align-items: center;
min-height: 36px;
padding: 0 14px;
margin-top: 2px;
color: var(--ink-2);
font-size: 0.5625rem;
white-space: nowrap;
overflow: hidden;
}
.brief-strip span:last-child {
overflow: hidden;
text-overflow: ellipsis;
}
.brief-strip span:first-of-type {
color: var(--band);
}
.brief-strip .fr {
inset: 2px 0;
}
/* Dock pinned to the bottom of the visible sheet. */
.sheet-dock {
position: absolute;
z-index: 3;
left: 0;
right: 0;
bottom: var(--off, 0px);
pointer-events: none;
transition: bottom 520ms var(--spring);
}
.sheet-layer.dragging .sheet-dock {
transition: none;
}
.sheet-dock > * {
pointer-events: auto;
}
.brief-sheet[data-tab='room'] .sheet-body {
padding-bottom: calc(var(--safe-b) + 110px);
}
.brief-sheet[data-detent='peek'] .sheet-dock {
opacity: 0;
pointer-events: none;
}
.reply-bar {
display: flex;
gap: 8px;
padding: 10px 14px calc(10px + var(--safe-b));
background: linear-gradient(
to top,
rgba(8, 9, 11, 0.98) 60%,
rgba(8, 9, 11, 0)
);
}
.rb-cap {
flex: 1;
display: flex;
align-items: center;
gap: 10px;
min-height: 52px;
padding: 0 14px;
border-radius: 10px;
background: var(--b-inside);
color: #1d1406;
text-align: left;
}
.rb-cap .i {
font-size: 1.4rem;
}
.rb-cap span {
display: flex;
flex-direction: column;
line-height: 1.15;
}
.rb-cap b {
font-size: 0.9375rem;
}
.rb-cap small {
font-size: 0.6875rem;
opacity: 0.75;
}
.rb-write {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 52px;
padding: 0 16px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.07);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
font-weight: 650;
font-size: 0.875rem;
}
.rb-react {
display: grid;
place-items: center;
width: 52px;
min-height: 52px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.07);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
font-size: 1.2rem;
color: var(--ink-2);
}
.react-open .rb-react {
color: var(--b-inside);
}
.react-rail {
position: absolute;
right: 20px;
bottom: calc(100% - 4px);
display: flex;
flex-direction: column;
gap: 6px;
opacity: 0;
transform: translateY(12px);
pointer-events: none;
transition:
opacity var(--dur-2) var(--ease-out),
transform var(--dur-2) var(--spring);
}
.react-open .react-rail {
opacity: 1;
transform: none;
pointer-events: auto;
}
.react-rail button {
display: grid;
place-items: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(14, 16, 19, 0.88);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
color: var(--ink-2);
font-size: 1.05rem;
}
.react-rail button:active {
transform: scale(0.9);
color: var(--b-inside);
}
.react-float {
position: absolute;
z-index: 2;
right: 34px;
bottom: 84px;
color: var(--b-inside);
font-size: 1.35rem;
pointer-events: none;
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
/* ---------- room ---------- */
.room-loading {
padding: 30px 0;
color: var(--ink-4);
}
.presence {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
}
.presence .pr-t {
flex: 1;
font-size: 0.5625rem;
color: var(--ink-3);
}
.presence .pr-t b {
color: var(--b-inside);
font-weight: 600;
}
.presence .avs.ex .av {
opacity: 0.55;
}
.presence .av {
box-shadow: 0 0 0 1.5px var(--ground-1);
}
.presence .av.live {
box-shadow:
0 0 0 1.5px var(--ground-1),
0 0 0 3px color-mix(in srgb, var(--b-inside) 80%, transparent);
}
/* Synthesis: pinned, cited, honest about being local. */
.synth {
position: relative;
margin: 0 0 14px;
padding: 12px 14px 10px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.03);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
}
.sy-top {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 4px 8px;
margin-bottom: 8px;
font-size: 0.5625rem;
}
.sy-top > .tele:first-child {
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--ink);
}
.sy-meta {
color: var(--ink-4);
}
.sy-sec + .sy-sec {
margin-top: 8px;
}
.sy-h {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.5625rem;
color: var(--ink-2);
}
.sy-h i {
width: 8px;
height: 8px;
border-radius: 1px;
}
.sy-h span {
color: var(--ink-4);
}
[data-sy='known'] .sy-h i {
background: var(--ink);
}
[data-sy='disputed'] .sy-h i {
background: repeating-linear-gradient(
135deg,
var(--ink) 0 2px,
transparent 2px 4px
);
box-shadow: inset 0 0 0 1px var(--ink-2);
}
[data-sy='unknown'] .sy-h i {
box-shadow: inset 0 0 0 1px var(--ink-3);
}
.synth ul {
margin: 4px 0 0;
padding: 0;
list-style: none;
}
.synth li {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 8px;
padding: 5px 0 5px 14px;
border-left: 1px solid var(--hairline-strong);
font-size: 0.8125rem;
line-height: 1.38;
color: var(--ink-2);
}
[data-sy='known'] li {
color: var(--ink);
}
.sy-cites {
display: inline-flex;
flex-wrap: wrap;
gap: 4px;
}
.room .cite,
.synth .cite {
min-height: 20px;
padding: 0 5px;
border-radius: 3px;
font-size: 0.5625rem;
font-weight: 600;
background: rgba(255, 255, 255, 0.08);
}
.synth .cite::before {
content: '';
}
.sy-foot {
margin: 8px 0 0;
font-size: 0.6875rem;
line-height: 1.4;
color: var(--ink-4);
}
.room .example-note {
border-radius: 8px;
background: rgba(255, 209, 102, 0.06);
}
.room-h {
display: flex;
align-items: center;
gap: 6px;
margin: 16px 0 6px;
font-size: 0.5625rem;
color: var(--ink-2);
--seal-ink: var(--ground);
}
.room-h span {
color: var(--ink-4);
}
.room-h .i {
font-size: 0.8rem;
}
/* Posts */
.post {
position: relative;
padding: 12px 0 10px;
border-top: 0.5px solid var(--hairline);
}
.post .post {
margin-left: 14px;
padding-left: 12px;
border-top: 0;
border-left: 1px solid var(--hairline-strong);
}
.post.flash {
animation: post-flash 1.6s var(--ease-out);
}
@keyframes post-flash {
0% {
background: rgba(235, 199, 119, 0.14);
}
100% {
background: transparent;
}
}
.p-head {
display: flex;
align-items: center;
gap: 9px;
}
.p-kind {
flex: none;
display: grid;
place-items: center;
width: 28px;
height: 28px;
border-radius: 6px;
background: rgba(255, 255, 255, 0.06);
font-size: 0.95rem;
color: var(--ink);
}
.k-witness .p-kind {
background: color-mix(in srgb, var(--b-inside) 18%, transparent);
color: var(--b-inside);
}
.k-question .p-kind {
box-shadow: inset 0 0 0 1px var(--ink-3);
background: transparent;
}
.k-correction .p-kind {
background: repeating-linear-gradient(
135deg,
rgba(255, 255, 255, 0.1) 0 3px,
transparent 3px 6px
);
}
.k-prediction .p-kind {
background: transparent;
box-shadow: inset 0 0 0 1px var(--hairline-strong);
color: var(--ink-2);
}
.p-meta {
flex: 1;
min-width: 0;
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 2px 7px;
}
.p-meta b {
font-size: 0.5625rem;
color: var(--ink-2);
}
.p-who {
font-size: 0.8125rem;
font-weight: 650;
}
.is-mine .p-who {
color: var(--b-inside);
}
.p-when {
font-size: 0.5625rem;
color: var(--ink-4);
}
.p-text {
margin: 7px 0 0;
font-size: 0.9375rem;
line-height: 1.42;
}
.p-media {
position: relative;
margin-top: 8px;
max-width: 260px;
aspect-ratio: 4 / 3;
border-radius: 6px;
overflow: hidden;
background: var(--ground-3);
}
.p-media img,
.p-media video {
width: 100%;
height: 100%;
object-fit: cover;
}
.p-seal {
position: absolute;
left: 8px;
top: 8px;
color: var(--b-inside);
font-size: 1.1rem;
--seal-ink: #1d1406;
}
.p-unv {
position: absolute;
left: 8px;
top: 8px;
padding: 2px 6px;
border-radius: 3px;
background: rgba(0, 0, 0, 0.7);
font-size: 0.5rem;
}
.badges {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-top: 8px;
}
.bdg {
display: inline-flex;
align-items: center;
gap: 4px;
height: 20px;
padding: 0 7px;
border-radius: 3px;
font-family: var(--mono);
font-size: 0.5625rem;
font-weight: 500;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--ink-2);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
--seal-ink: #1d1406;
}
.bdg .i {
font-size: 0.7rem;
}
.bdg em {
font-style: normal;
color: var(--ink-4);
}
.bdg[data-b='there'],
.bdg[data-b='sealed'] {
color: var(--b-inside);
box-shadow: inset 0 0 0 1px
color-mix(in srgb, var(--b-inside) 45%, transparent);
}
.bdg[data-b='unverified'] {
color: var(--ink-2);
box-shadow: inset 0 0 0 1px var(--ink-3);
background: repeating-linear-gradient(
135deg,
rgba(255, 255, 255, 0.05) 0 4px,
transparent 4px 8px
);
}
.bdg.ex {
box-shadow: inset 0 0 0 1px var(--hairline-strong);
border: 0.5px dashed var(--ink-4);
}
.p-actions {
display: flex;
align-items: center;
gap: 4px;
margin-top: 8px;
}
.p-sp {
flex: 1;
}
.anchor {
display: inline-flex;
align-items: center;
gap: 4px;
min-height: 32px;
padding: 0 8px 0 6px;
border-radius: 4px;
font-size: 0.5625rem;
color: var(--ink-2);
background: rgba(255, 255, 255, 0.05);
}
.anchor .i {
font-size: 0.8rem;
}
.room .vote {
min-height: 32px;
min-width: 40px;
border-radius: 4px;
background: transparent;
color: var(--ink-3);
font-family: var(--mono);
font-size: 0.6875rem;
font-weight: 500;
}
.room .vote.on {
color: var(--ink);
background: rgba(255, 255, 255, 0.1);
}
.room .vote.dis.on {
color: var(--ink);
background: repeating-linear-gradient(
135deg,
rgba(255, 255, 255, 0.12) 0 3px,
transparent 3px 6px
);
}
/* Community notes + bridging */
.note {
margin-top: 8px;
padding: 9px 11px;
border-radius: 6px;
background: rgba(255, 255, 255, 0.04);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
}
.note.shown {
box-shadow: inset 2px 0 0 var(--ink);
}
.note.pending {
background: transparent;
box-shadow: inset 0 0 0 0.5px var(--hairline);
border: 0.5px dashed var(--ink-4);
}
.note-h {
display: flex;
align-items: center;
gap: 5px;
font-size: 0.5625rem;
color: var(--ink-2);
}
.note p {
margin: 5px 0 0;
font-size: 0.8125rem;
line-height: 1.4;
color: var(--ink-2);
}
.note details summary {
margin-top: 4px;
font-size: 0.75rem;
color: var(--ink-3);
cursor: pointer;
}
.bridge {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 10px;
margin-top: 8px;
}
.bridge > .tele {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 0.5rem;
color: var(--ink-3);
}
.br {
display: inline-flex;
align-items: center;
gap: 4px;
font-family: var(--mono);
font-size: 0.5625rem;
color: var(--ink-3);
}
.br b {
color: var(--ink);
}
.br i {
position: relative;
width: 34px;
height: 4px;
border-radius: 1px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.br i::after {
content: '';
position: absolute;
inset: 0;
width: var(--p);
background: var(--ink-2);
}
.br em {
font-style: normal;
}
.bridge .why {
flex-basis: 100%;
font-size: 0.6875rem;
color: var(--ink-4);
}
.note-rate {
display: flex;
gap: 6px;
margin-top: 8px;
}
.note-rate .tele {
font-size: 0.5rem;
color: var(--ink-3);
}
.pill-btn.sm {
min-height: 30px;
padding: 0 11px;
font-size: 0.75rem;
}
.room-end {
padding: 18px 0 6px;
text-align: center;
font-size: 0.5rem;
color: var(--ink-4);
}
/* ---------- composer ---------- */
.composer-sheet .sheet-head {
padding-top: 2px;
}
.cmp-quote {
margin: 8px 0 2px;
padding: 8px 10px;
border-left: 2px solid var(--hairline-strong);
font-size: 0.8125rem;
color: var(--ink-3);
}
.cmp-quote b {
display: block;
margin-bottom: 3px;
font-size: 0.5625rem;
color: var(--ink-2);
}
.composer-sheet .sheet-body {
overflow-y: auto;
padding-top: 14px;
}
.cmp-capture {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 14px;
border-radius: 10px;
text-align: left;
background:
repeating-linear-gradient(
135deg,
rgba(235, 199, 119, 0.05) 0 6px,
transparent 6px 12px
),
rgba(235, 199, 119, 0.06);
box-shadow: inset 0 0 0 1px
color-mix(in srgb, var(--b-inside) 55%, transparent);
}
.cc-ic {
display: grid;
place-items: center;
flex: none;
width: 42px;
height: 42px;
border-radius: 8px;
background: var(--b-inside);
color: #1d1406;
font-size: 1.35rem;
}
.cc-t {
flex: 1;
display: flex;
flex-direction: column;
gap: 3px;
}
.cc-t b {
font-size: 0.9375rem;
}
.cc-t span {
font-size: 0.75rem;
line-height: 1.38;
color: var(--ink-3);
}
.cmp-capture .chev {
color: var(--b-inside);
}
.cmp-or {
display: flex;
align-items: center;
gap: 10px;
margin: 16px 0 10px;
font-size: 0.5625rem;
color: var(--ink-4);
}
.cmp-or::before,
.cmp-or::after {
content: '';
flex: 1;
height: 0.5px;
background: var(--hairline-strong);
}
.kind-row {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 6px;
}
.kind-chip {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
padding: 10px 0 8px;
border-radius: 8px;
font-size: 0.65625rem;
font-weight: 600;
color: var(--ink-3);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
}
.kind-chip .i {
font-size: 1.2rem;
}
.kind-chip[aria-checked='true'] {
color: var(--ground);
background: var(--ink);
box-shadow: none;
}
.kind-hint {
margin: 8px 0 8px;
font-size: 0.5625rem;
color: var(--ink-3);
}
.cmp-text {
width: 100%;
min-height: 108px;
padding: 12px;
border: 0;
border-radius: 8px;
background: rgba(255, 255, 255, 0.05);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
font-size: 1rem;
line-height: 1.4;
resize: vertical;
}
.cmp-text:focus {
outline: none;
box-shadow: inset 0 0 0 1px var(--ink-3);
}
.cmp-anchor {
margin-top: 12px;
}
.ca-h {
display: flex;
align-items: center;
gap: 5px;
margin: 10px 0 6px;
font-size: 0.5625rem;
color: var(--ink-3);
}
.seg-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.seg-chips button {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
min-height: 40px;
padding: 4px 11px;
border-radius: 6px;
font-size: 0.8125rem;
font-weight: 600;
color: var(--ink-2);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
}
.seg-chips button small {
font-family: var(--mono);
font-size: 0.5625rem;
font-weight: 500;
color: var(--ink-4);
}
.seg-chips button[aria-pressed='true'] {
background: rgba(255, 255, 255, 0.1);
box-shadow: inset 0 0 0 1px var(--ink-2);
color: var(--ink);
}
.cmp-foot {
display: flex;
align-items: center;
gap: 12px;
margin-top: 16px;
}
.cmp-foot .tele {
flex: 1;
font-size: 0.5rem;
color: var(--ink-4);
}
.cmp-foot .pill-btn {
min-width: 110px;
}
/* ---------- eye viewer ---------- */
.eye-sheet .sheet-head .c-band {
margin-bottom: 4px;
}
.ev-frame {
position: relative;
aspect-ratio: 16 / 9;
margin-top: 12px;
border-radius: 6px;
overflow: hidden;
background: #07080a;
}
.ev-frame img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 600ms var(--ease-out);
}
.ev-frame img.front {
opacity: 1;
}
.ev-frame.offline::after {
content: 'Camera unreachable from here';
position: absolute;
inset: 0;
display: grid;
place-items: center;
font-family: var(--mono);
font-size: 0.625rem;
color: var(--ink-3);
}
.ev-facts {
display: flex;
justify-content: space-between;
margin-top: 8px;
font-size: 0.5625rem;
color: var(--ink-3);
}
.ev-facts b {
color: var(--ink);
font-weight: 500;
}
.ev-actions {
display: flex;
gap: 8px;
margin-top: 14px;
}
/* ---------- hero lock-on ---------- */
.hero-lock {
position: fixed;
z-index: 92;
pointer-events: none;
}
.hero-lock .fr {
inset: 0;
}
.hero-lock .fr i {
width: 18px;
height: 18px;
border-color: var(--band);
}
.hl-tele {
position: absolute;
left: 2px;
bottom: -18px;
font-size: 0.5625rem;
color: var(--band);
white-space: nowrap;
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
/* Pin labels on the globe */
.gc-labels .lb-pin {
font-family: var(--mono);
font-size: 0.5625rem;
letter-spacing: 0.04em;
color: var(--band);
}
@media (prefers-reduced-motion: reduce) {
.sheet-dock {
transition: none;
}
}
/* ---------- Threads hub: rooms ---------- */
.th-rooms .section-h small {
font-family: var(--mono);
font-size: 0.5625rem;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.rm-list {
margin: 0 calc(var(--gutter) + var(--safe-r)) 0
calc(var(--gutter) + var(--safe-l));
border-top: 0.5px solid var(--hairline);
}
.rm-row {
display: block;
width: 100%;
padding: 12px 0 12px;
border-bottom: 0.5px solid var(--hairline);
text-align: left;
}
.rm-row:active {
background: rgba(255, 255, 255, 0.03);
}
.rm-top {
display: flex;
justify-content: space-between;
align-items: center;
}
.rm-row h3 {
margin: 4px 0 0;
font-size: 1rem;
font-weight: 700;
letter-spacing: -0.015em;
}
.rm-claim {
display: flex;
gap: 8px;
margin: 6px 0 0;
font-size: 0.875rem;
line-height: 1.38;
color: var(--ink-2);
}
.rm-claim .i {
flex: none;
margin-top: 2px;
color: var(--ink-3);
}
.rm-claim span {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.rm-foot {
display: flex;
align-items: center;
gap: 10px;
margin-top: 9px;
}
.rm-n {
margin-left: auto;
font-size: 0.5625rem;
color: var(--ink-3);
}
/* You: live bundles and uploads */
.ct-live {
position: absolute;
left: 6px;
top: 6px;
padding: 2px 5px;
border-radius: 3px;
background: rgba(0, 0, 0, 0.65);
font-size: 0.5rem;
color: var(--b-inside);
}
.capture-tile.is-unverified {
box-shadow: inset 0 0 0 1px var(--ink-3);
}
.capture-tile.is-unverified .ct-live {
color: var(--ink);
}