wip(mobile): checkpoint engine and experience round three in progress

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VVYRAqiQj9Y1V9ZfG1RcDH
This commit is contained in:
Claude committed 2026-10-23 07:29:27 +00:00
1 parent a6f98ce3c1
commit a720b10913
83 files changed
+50005 -416

No files matched your search

+794
View File
@@ -0,0 +1,794 @@
/* ------------------------------------------------------------------ */
/* Dossiers, link graph and universal search (DESIGN.md §12.1) */
/* ------------------------------------------------------------------ */
.dossier-sheet {
--band-c: var(--ink-2);
}
.dossier-sheet[data-band='orbit'] {
--band-c: var(--b-orbit);
}
.dossier-sheet[data-band='sky'] {
--band-c: var(--b-sky);
}
.dossier-sheet[data-band='ground'] {
--band-c: var(--b-ground);
}
.dossier-sheet[data-band='inside'] {
--band-c: var(--b-inside);
}
.dossier-sheet::before {
content: '';
position: absolute;
inset: 0 0 auto;
height: 120px;
background: radial-gradient(
80% 100% at 20% 0,
color-mix(in srgb, var(--band-c) 16%, transparent),
transparent 70%
);
pointer-events: none;
}
.ds-head {
position: relative;
padding-bottom: 10px;
}
.ds-back {
position: absolute;
left: -10px;
top: -6px;
width: 34px;
height: 34px;
color: var(--tint);
font-size: 1.05rem;
}
.ds-back + .ds-kicker {
padding-left: 26px;
}
.ds-kicker {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
color: var(--ink-3);
font-size: 0.5625rem;
min-height: 18px;
padding-right: 40px;
}
.ds-kicker .bd {
width: 7px;
height: 7px;
border-radius: 2px;
background: var(--band-c);
box-shadow: 0 0 8px var(--band-c);
}
.ds-kicker .live-tag {
display: inline-flex;
align-items: center;
gap: 4px;
color: #ff6b61;
}
.ds-title-row {
display: flex;
align-items: center;
gap: 12px;
margin: 6px 0 10px;
}
.ds-ic {
flex: none;
width: 44px;
height: 44px;
border-radius: 13px;
display: grid;
place-items: center;
font-size: 1.35rem;
color: var(--band-c);
background: color-mix(in srgb, var(--band-c) 15%, rgba(255, 255, 255, 0.03));
box-shadow: inset 0 0 0 0.5px
color-mix(in srgb, var(--band-c) 40%, transparent);
}
.ds-title-row .sheet-title {
font-family: var(--font-display);
margin: 0;
overflow-wrap: anywhere;
}
.ds-skel {
width: 60%;
border-radius: 8px;
background: rgba(255, 255, 255, 0.08);
}
.ds-seg {
display: flex;
}
.ds-seg button {
flex: 1;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.ds-seg .i {
font-size: 0.95rem;
}
.ds-live {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
gap: 8px;
padding-top: 4px;
}
.ds-live div {
display: flex;
flex-direction: column;
gap: 3px;
padding: 10px 12px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.05);
}
.ds-live .tele {
color: var(--ink-3);
font-size: 0.5625rem;
}
.ds-live b {
font-family: var(--font-display);
font-size: 1.3125rem;
font-weight: 700;
letter-spacing: -0.02em;
white-space: nowrap;
}
.ds-live small {
margin-left: 3px;
color: var(--ink-3);
font-size: 0.6875rem;
font-weight: 600;
}
.ds-updated {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 2px 0;
color: var(--ink-3);
font-size: 0.5625rem;
}
.ds-actions {
display: flex;
gap: 8px;
padding: 14px 0 4px;
overflow-x: auto;
scrollbar-width: none;
}
.ds-act {
flex: 1 0 auto;
min-width: 70px;
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
padding: 10px 8px;
border-radius: 14px;
color: var(--tint);
background: rgba(163, 216, 255, 0.1);
font-size: var(--t-cap2);
font-weight: 600;
transition:
background var(--dur-1) linear,
transform var(--dur-1) var(--ease-out);
}
.ds-act .i {
font-size: 1.25rem;
}
.ds-act:hover {
background: rgba(163, 216, 255, 0.16);
}
.ds-act:active {
transform: scale(0.96);
}
.ds-act[aria-pressed='true'] {
color: #2a1a00;
background: var(--b-inside);
}
.ds-act.primary {
color: #050607;
background: #fff;
}
.ds-privacy {
display: flex;
gap: 10px;
margin-top: 12px;
padding: 10px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
color: var(--ink-2);
font-size: var(--t-cap);
}
.ds-block {
margin-top: 18px;
}
.ds-h {
display: flex;
align-items: baseline;
gap: 8px;
margin: 0 0 8px;
font-size: var(--t-sub);
font-weight: 700;
letter-spacing: -0.01em;
}
.ds-h .i {
align-self: center;
color: var(--ink-3);
}
.ds-h small {
margin-left: auto;
color: var(--ink-3);
font-weight: 500;
font-size: var(--t-cap2);
text-align: right;
}
.ds-track {
display: grid;
grid-template-columns: 1fr 96px;
gap: 8px;
}
.ds-fig {
margin: 0;
padding: 10px 10px 6px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.04);
}
.ds-fig svg {
display: block;
width: 100%;
height: 70px;
}
.ds-ground svg {
height: 70px;
}
.ds-fig figcaption {
display: flex;
justify-content: space-between;
margin-top: 4px;
color: var(--ink-3);
font-size: 0.5rem;
}
.ds-area {
fill: color-mix(in srgb, var(--band-c) 22%, transparent);
}
.ds-line,
.ds-gline {
fill: none;
stroke: var(--band-c);
stroke-width: 1.6;
vector-effect: non-scaling-stroke;
stroke-linejoin: round;
}
.ds-end {
fill: #fff;
}
.ds-alt {
width: 100%;
height: 64px;
display: block;
}
.ds-id {
display: grid;
grid-template-columns: auto 1fr;
gap: 7px 16px;
margin: 0;
padding: 12px 14px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.04);
font-size: var(--t-foot);
}
.ds-id dt {
color: var(--ink-3);
}
.ds-id dd {
margin: 0;
text-align: right;
overflow-wrap: anywhere;
}
.ds-events {
list-style: none;
margin: 0;
padding: 0 0 0 4px;
border-left: 1px solid var(--hairline-strong);
}
.ds-events button {
position: relative;
display: grid;
grid-template-columns: 52px 1fr auto;
align-items: baseline;
gap: 8px;
width: 100%;
padding: 8px 6px 8px 14px;
text-align: left;
color: var(--ink);
font-size: var(--t-foot);
border-radius: 10px;
}
.ds-events button:hover {
background: rgba(255, 255, 255, 0.04);
}
.ds-events button::before {
content: '';
position: absolute;
left: -8.5px;
top: 13px;
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--band-c);
box-shadow: 0 0 0 3px var(--ground-1);
}
.ds-events .tele {
color: var(--ink-3);
font-size: 0.625rem;
}
.ds-events small {
color: var(--ink-4);
font-size: var(--t-cap2);
}
.ds-links {
display: grid;
border-radius: 14px;
overflow: hidden;
background: rgba(255, 255, 255, 0.04);
}
.ds-link {
position: relative;
display: flex;
align-items: center;
gap: 11px;
padding: 9px 12px;
text-align: left;
color: var(--ink);
--lc: var(--ink-2);
}
.ds-link + .ds-link::before {
content: '';
position: absolute;
top: 0;
left: 52px;
right: 0;
height: 0.5px;
background: var(--hairline);
}
.ds-link:hover {
background: rgba(255, 255, 255, 0.04);
}
.ds-link[data-band='orbit'] {
--lc: var(--b-orbit);
}
.ds-link[data-band='sky'] {
--lc: var(--b-sky);
}
.ds-link[data-band='ground'] {
--lc: var(--b-ground);
}
.ds-link[data-band='inside'] {
--lc: var(--b-inside);
}
.ds-link-ic {
flex: none;
width: 30px;
height: 30px;
border-radius: 9px;
display: grid;
place-items: center;
color: var(--lc);
background: color-mix(in srgb, var(--lc) 14%, transparent);
}
.ds-link-main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 1px;
}
.ds-link-main b {
font-size: var(--t-foot);
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ds-link-main small {
color: var(--ink-3);
font-size: var(--t-cap2);
}
.ds-link .chev {
color: var(--ink-4);
}
.ds-receipts {
display: grid;
gap: 6px;
}
.ds-rc {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 10px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
}
.ds-rc div {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.ds-rc b {
font-size: var(--t-foot);
font-weight: 600;
}
.ds-rc small {
color: var(--ink-3);
font-size: var(--t-cap2);
}
.ds-rc a {
color: var(--tint);
}
.ds-hash {
flex: none;
padding: 6px 8px;
border-radius: 8px;
color: var(--b-inside);
background: rgba(235, 199, 119, 0.1);
font-size: 0.625rem;
}
.ds-hash:hover {
background: rgba(235, 199, 119, 0.18);
}
.ds-foot {
display: flex;
gap: 8px;
align-items: flex-start;
margin: 18px 0 0;
color: var(--ink-3);
font-size: var(--t-cap);
line-height: 1.4;
}
.ds-foot .i {
flex: none;
margin-top: 1px;
}
/* Link graph */
.dossier-sheet[data-seg='graph'] .sheet-body {
display: flex;
flex-direction: column;
padding-bottom: calc(var(--safe-b) + 12px);
}
.ds-graph {
flex: 1;
min-height: 320px;
position: relative;
border-radius: 18px;
background:
radial-gradient(
70% 60% at 50% 50%,
rgba(163, 216, 255, 0.06),
transparent 70%
),
rgba(255, 255, 255, 0.025);
box-shadow: inset 0 0 0 0.5px var(--hairline);
overflow: hidden;
}
.lg {
position: absolute;
inset: 0;
}
.lg-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
touch-action: none;
}
.lg-tip {
position: absolute;
left: 0;
top: 0;
padding: 4px 8px;
border-radius: 6px;
background: rgba(8, 10, 14, 0.92);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
color: var(--ink);
font-size: 0.5625rem;
white-space: nowrap;
pointer-events: none;
}
.lg-legend {
position: absolute;
left: 12px;
bottom: 10px;
display: flex;
gap: 10px;
color: var(--ink-3);
font-size: 0.5rem;
pointer-events: none;
}
.lg-legend span {
display: inline-flex;
align-items: center;
gap: 4px;
}
.lg-legend i {
width: 7px;
height: 7px;
border-radius: 50%;
}
.lg-legend [data-band='orbit'] i {
background: var(--b-orbit);
}
.lg-legend [data-band='sky'] i {
background: var(--b-sky);
}
.lg-legend [data-band='ground'] i {
background: var(--b-ground);
}
.lg-legend [data-band='inside'] i {
background: var(--b-inside);
}
.ds-graph-note {
flex: none;
margin: 8px 0 0;
color: var(--ink-3);
font-size: 0.5625rem;
text-align: center;
}
/* ---------- Universal search ---------- */
.search-sheet .sheet-head {
padding-top: 4px;
}
.results-h {
display: flex;
align-items: baseline;
gap: 8px;
margin: 16px 2px 6px;
color: var(--ink-3);
font-size: var(--t-cap);
font-weight: 650;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.results-h small {
font-family: var(--mono);
font-weight: 500;
}
.results-h .link-btn {
margin-left: auto;
color: var(--tint);
text-transform: none;
letter-spacing: 0;
}
.sr-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.sr-chips .chip {
height: 34px;
padding: 0 13px;
font-size: var(--t-foot);
color: var(--ink);
background: rgba(255, 255, 255, 0.07);
}
.sr-chips .chip:hover {
background: rgba(255, 255, 255, 0.12);
}
.sr-chips .chip .i {
color: var(--ink-3);
}
.sr-list {
display: grid;
border-radius: 16px;
overflow: hidden;
background: rgba(255, 255, 255, 0.04);
}
.sr {
position: relative;
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
text-align: left;
color: var(--ink);
--sc: var(--ink-2);
}
.sr + .sr::before {
content: '';
position: absolute;
top: 0;
left: 56px;
right: 0;
height: 0.5px;
background: var(--hairline);
}
.sr:hover,
.sr[aria-selected='true'] {
background: rgba(255, 255, 255, 0.06);
}
.sr[data-band='orbit'] {
--sc: var(--b-orbit);
}
.sr[data-band='sky'] {
--sc: var(--b-sky);
}
.sr[data-band='ground'] {
--sc: var(--b-ground);
}
.sr[data-band='inside'] {
--sc: var(--b-inside);
}
.sr-ic {
flex: none;
width: 34px;
height: 34px;
border-radius: 10px;
display: grid;
place-items: center;
font-size: 1.05rem;
color: var(--sc);
background: color-mix(in srgb, var(--sc) 14%, transparent);
}
.sr-main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 1px;
}
.sr-main b {
font-size: var(--t-sub);
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sr-main small {
color: var(--ink-3);
font-size: var(--t-cap);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sr-tag {
flex: none;
color: var(--ink-4);
font-size: 0.5rem;
text-transform: uppercase;
}
.sr-empty {
display: flex;
flex-direction: column;
gap: 4px;
padding: 40px 10px;
text-align: center;
color: var(--ink-3);
}
.sr-empty b {
color: var(--ink);
}
.sr-note {
display: flex;
gap: 8px;
align-items: flex-start;
margin: 18px 4px 0;
color: var(--ink-3);
font-size: var(--t-cap);
line-height: 1.4;
}
.sr-note .i {
flex: none;
margin-top: 1px;
}
/* Grid rows never grow wider than their list. */
.sr-list,
.ds-links,
.ds-receipts {
grid-template-columns: minmax(0, 1fr);
}
+6 -6
View File
@@ -2,7 +2,7 @@
/* Now feed: header, altitude filter, masonry + wide rows */
/* ------------------------------------------------------------------ */
#view-now {
#view-today {
background: var(--ground);
}
@@ -39,13 +39,13 @@
letter-spacing: 0.04em;
}
#view-now .title-sub {
#view-today .title-sub {
gap: 7px;
color: var(--ink-3);
font-size: 0.625rem;
}
#view-now .title-sub .live-dot {
#view-today .title-sub .live-dot {
--fam: var(--ink);
width: 5px;
height: 5px;
@@ -83,11 +83,11 @@
transition: opacity var(--dur-1) linear;
}
#view-now.is-scrolled .bandbar::before {
#view-today.is-scrolled .bandbar::before {
opacity: 1;
}
#view-now.is-scrolled .navbar::before {
#view-today.is-scrolled .navbar::before {
border-bottom-color: transparent;
}
@@ -328,6 +328,6 @@
}
/* The Near lens: the feed becomes a distance-ordered list around you. */
#view-now.is-near .feed-count::after {
#view-today.is-near .feed-count::after {
content: ' · nearest first';
}
+77 -1
View File
@@ -51,7 +51,7 @@
left: var(--stage-left);
}
#view-globe {
#view-live {
display: block;
}
@@ -115,6 +115,82 @@
.hero {
border-radius: 0;
}
/* Dossier, watch and your-sky sheets live in the leading pane, so the
globe and the time machine stay live and in sync beside them. */
.pane-sheets {
right: auto;
width: var(--lead-w);
z-index: 45;
}
.pane-sheets .sheet {
left: 8px;
right: 8px;
width: auto;
margin: 0;
}
.pane-sheets .sheet-scrim {
opacity: 0 !important;
}
/* Moments: chat, record and captures take the leading pane. */
.app.is-moment .lead {
visibility: hidden !important;
}
.mp-stage {
left: var(--stage-left);
}
.mp-side {
left: 0;
right: auto;
top: 0;
bottom: 0;
width: var(--lead-w);
height: auto;
border-radius: 0;
padding-top: calc(var(--safe-t) + 8px);
background: rgba(7, 9, 12, 0.94);
box-shadow: inset -0.5px 0 0 var(--hairline-strong);
}
.mp-side-head {
padding: 10px 14px 8px;
}
.mp-pane {
padding: 0 16px 14px;
}
.mp-react {
bottom: calc(var(--safe-b) + 84px);
}
.mp-pops {
width: 230px;
}
.app.is-moment .gc-attr {
bottom: calc(var(--safe-b) + 80px);
}
.mp-legend {
width: 250px;
}
.mp-title {
font-size: 1.625rem;
}
.banners {
left: auto;
right: 0;
width: min(440px, 100%);
justify-items: end;
}
}
/* Vertical hinge (book posture): split exactly at the fold. */
+796
View File
@@ -0,0 +1,796 @@
/* ------------------------------------------------------------------ */
/* Moments player (DESIGN.md §12.4) */
/* ------------------------------------------------------------------ */
/* The globe is the screen; everything else steps aside. */
.app.is-moment .lead {
visibility: hidden;
}
.app.is-moment .lead .view {
pointer-events: none;
}
.app.is-moment .globe-chrome {
visibility: visible;
}
.app.is-moment .gc-top,
.app.is-moment .gc-bottom,
.app.is-moment .alt-rail,
.app.is-moment .world-back,
.app.is-moment .pick-card,
.app.is-moment .lens-pop {
visibility: hidden;
pointer-events: none;
}
.app.is-moment .tabbar {
transform: translateY(140%);
opacity: 0;
pointer-events: none;
}
.app.is-moment .globe-veil {
background:
linear-gradient(
to bottom,
rgba(5, 7, 11, 0.75) 0,
rgba(5, 7, 11, 0) calc(var(--safe-t) + 200px)
),
linear-gradient(to top, rgba(5, 7, 11, 0.85) 0, rgba(5, 7, 11, 0) 46%);
}
.mp {
position: absolute;
inset: 0;
z-index: 40;
pointer-events: none;
opacity: 0;
transition: opacity 320ms var(--ease-out);
}
.mp[hidden] {
display: none;
}
.mp.in {
opacity: 1;
}
.mp-stage {
position: absolute;
inset: 0;
}
.mp-stage > *,
.mp-side {
pointer-events: auto;
}
.mp-top {
position: absolute;
top: calc(var(--safe-t) + 10px);
left: calc(12px + var(--safe-l));
right: calc(12px + var(--safe-r));
display: flex;
align-items: flex-start;
gap: 10px;
}
.mp-top .icon-btn {
flex: none;
width: 42px;
height: 42px;
font-size: 1.15rem;
}
.mp-titles {
flex: 1;
min-width: 0;
padding-top: 1px;
}
.mp-kicker {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
color: var(--b-inside);
font-size: 0.5625rem;
font-weight: 600;
letter-spacing: 0.1em;
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.mp-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--b-inside);
box-shadow: 0 0 8px var(--b-inside);
}
.mp-title {
margin: 3px 0 0;
font-family: var(--font-display);
font-size: 1.3125rem;
font-weight: 750;
letter-spacing: -0.03em;
line-height: 1.12;
text-wrap: balance;
text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}
.mp-clock {
position: absolute;
top: calc(var(--safe-t) + 92px);
left: calc(14px + var(--safe-l));
display: flex;
align-items: baseline;
gap: 8px;
text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
pointer-events: none;
}
.mp-utc {
font-size: 1.375rem;
font-weight: 700;
color: #fff;
letter-spacing: 0.02em;
}
.mp-rel {
font-size: 0.6875rem;
color: var(--ink-2);
}
/* Tracks legend */
.mp-legend {
position: absolute;
top: calc(var(--safe-t) + 128px);
left: calc(10px + var(--safe-l));
width: min(230px, 54vw);
padding: 5px;
border-radius: 16px;
display: grid;
gap: 1px;
}
.mp-legend[hidden] {
display: none;
}
.mp-tr {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
padding: 6px 8px;
border-radius: 11px;
text-align: left;
color: var(--ink);
transition:
background var(--dur-1) linear,
opacity var(--dur-2) linear;
}
.mp-tr:hover {
background: rgba(255, 255, 255, 0.07);
}
.mp-tr.absent {
opacity: 0.4;
}
.mp-tr .sw {
flex: none;
width: 4px;
height: 26px;
border-radius: 2px;
background: var(--c);
box-shadow: 0 0 10px var(--c);
}
.mp-tr-main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.mp-tr-main b {
font-family: var(--mono);
font-size: 0.6875rem;
font-weight: 700;
color: var(--c);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mp-tr-main small {
font-size: 0.625rem;
color: var(--ink-3);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mp-tr-v {
flex: none;
display: flex;
flex-direction: column;
align-items: flex-end;
font-size: 0.5625rem;
color: var(--ink-3);
}
.mp-tr-v b {
color: var(--ink);
font-size: 0.6875rem;
}
/* Capture pops */
.mp-pops {
position: absolute;
top: calc(var(--safe-t) + 128px);
right: calc(10px + var(--safe-r));
width: min(196px, 42vw);
display: grid;
gap: 8px;
pointer-events: none;
}
.mp-pops .mp-cap {
pointer-events: auto;
}
.mp-cap {
display: flex;
flex-direction: column;
width: 100%;
overflow: hidden;
border-radius: 16px;
text-align: left;
color: var(--ink);
background: rgba(10, 12, 16, 0.86);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
box-shadow:
inset 0 0 0 0.5px rgba(235, 199, 119, 0.45),
0 10px 30px rgba(0, 0, 0, 0.5);
}
.mp-cap.first {
box-shadow:
inset 0 0 0 1px rgba(235, 199, 119, 0.85),
0 0 24px rgba(235, 199, 119, 0.25),
0 10px 30px rgba(0, 0, 0, 0.5);
}
.mp-cap.pop {
animation: cap-pop 620ms var(--spring) both;
}
.mp-cap.pop.settle {
transition: opacity 600ms linear;
opacity: 0.85;
}
@keyframes cap-pop {
from {
opacity: 0;
transform: translateX(30px) scale(0.92);
}
}
.cone-thumb {
position: relative;
display: block;
width: 100%;
overflow: hidden;
background: #0b0e14;
}
.cone-thumb img,
.cone-thumb svg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.cone-thumb img {
object-fit: cover;
filter: saturate(0.5) brightness(0.7) contrast(1.1);
}
.mp-cap-body {
display: flex;
flex-direction: column;
gap: 3px;
padding: 8px 10px 10px;
}
.mp-cap-body .fe {
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--b-inside);
font-size: 0.5625rem;
font-weight: 700;
letter-spacing: 0.1em;
--seal-ink: #2a1a00;
}
.mp-cap-body .fe .i {
font-size: 0.85rem;
}
.mp-cap-body b {
font-size: var(--t-cap);
font-weight: 650;
line-height: 1.25;
}
.mp-cap-body small {
font-family: var(--mono);
font-size: 0.5625rem;
color: var(--ink-3);
}
/* Reactions */
.mp-react {
position: absolute;
right: calc(10px + var(--safe-r));
bottom: calc(var(--safe-b) + 84px + 31vh);
display: flex;
flex-direction: column;
gap: 6px;
}
.mp-react button {
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 1.15rem;
background: rgba(10, 12, 16, 0.6);
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(16px);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
}
.mp-react button:hover {
background: rgba(30, 34, 44, 0.8);
}
/* Bottom: the Moment scrubber */
.mp-bar {
position: absolute;
left: calc(8px + var(--safe-l));
right: calc(8px + var(--safe-r));
bottom: calc(var(--safe-b) + 10px);
height: 60px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 8px;
border-radius: 20px;
}
.mp-play {
flex: none;
width: 44px;
height: 44px;
border-radius: 50%;
display: grid;
place-items: center;
color: #050607;
background: #fff;
font-size: 1.1rem;
}
.mp-play:active {
transform: scale(0.92);
}
.mp-scrub {
position: relative;
flex: 1;
min-width: 0;
height: 46px;
cursor: pointer;
touch-action: none;
}
.mp-scrub canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.mp-head {
position: absolute;
top: 6px;
bottom: 4px;
left: 0;
width: 2px;
margin-left: -1px;
border-radius: 1px;
background: #fff;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
pointer-events: none;
}
.mp.scrubbing .mp-head {
width: 3px;
margin-left: -1.5px;
}
.mp-speeds {
flex: none;
display: flex;
padding: 2px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.06);
}
.mp-speeds button {
min-width: 32px;
height: 30px;
border-radius: 8px;
font-family: var(--mono);
font-size: 0.625rem;
font-weight: 600;
color: var(--ink-3);
}
.mp-speeds button[aria-checked='true'] {
color: #050607;
background: var(--ink);
}
/* Side: chat · record · captures (bottom panel on a phone) */
.mp-side {
position: absolute;
left: calc(8px + var(--safe-l));
right: calc(8px + var(--safe-r));
bottom: calc(var(--safe-b) + 78px);
height: 31vh;
min-height: 210px;
display: flex;
flex-direction: column;
border-radius: 22px;
overflow: hidden;
background: rgba(7, 9, 12, 0.7);
}
.mp-side-head {
flex: none;
padding: 8px 8px 6px;
}
.mp-seg {
display: flex;
width: 100%;
}
.mp-seg button {
flex: 1;
}
.mp-n {
color: var(--ink-3);
font-family: var(--mono);
font-size: 0.625rem;
}
.mp-pane {
flex: 1;
min-height: 0;
overflow-y: auto;
overscroll-behavior: contain;
padding: 0 12px 10px;
scrollbar-width: thin;
-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
}
.mp-pane[hidden] {
display: none;
}
.mp-pane.has-ext .mp-chat {
display: none;
}
.mp-chat {
display: flex;
flex-direction: column;
justify-content: flex-end;
min-height: 100%;
gap: 4px;
padding-top: 16px;
}
.mp-msg {
font-size: var(--t-foot);
line-height: 1.35;
color: var(--ink-2);
overflow-wrap: anywhere;
}
.mp-msg.in {
animation: msg-in 280ms var(--ease-out) both;
}
@keyframes msg-in {
from {
opacity: 0;
transform: translateY(8px);
}
}
.mp-who {
font-weight: 700;
color: var(--b-sky);
}
.mp-msg.b-first-eyes .mp-who,
.mp-msg.b-witness .mp-who {
color: var(--b-inside);
text-shadow: 0 0 10px rgba(235, 199, 119, 0.55);
}
.mp-msg.b-pilot .mp-who {
color: #9be15d;
}
.mp-msg.b-mod .mp-who {
color: #ff9db0;
}
.mp-badge {
display: inline-grid;
place-items: center;
width: 15px;
height: 15px;
margin-right: 4px;
border-radius: 4px;
vertical-align: -2px;
font-size: 0.65rem;
color: #2a1a00;
background: var(--b-inside);
}
.mp-msg.b-pilot .mp-badge {
background: #9be15d;
}
.mp-msg.b-local .mp-badge {
background: var(--b-sky);
color: #0a1a2a;
}
.mp-msg.b-mod .mp-badge {
background: #ff9db0;
}
.mp-txt {
color: var(--ink);
}
.mp-record,
.mp-caps {
display: grid;
gap: 8px;
padding-top: 12px;
}
.mp-caps {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.mp-post {
padding: 10px 12px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.05);
box-shadow: inset 0 0 0 0.5px var(--hairline);
}
.mp-post.in {
animation: msg-in 380ms var(--spring) both;
}
.mp-post header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 4px;
}
.mp-pk {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: var(--t-cap2);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--ink-2);
}
.mp-post.k-witness .mp-pk {
color: var(--b-inside);
}
.mp-post.k-correction .mp-pk {
color: #ffb547;
}
.mp-post.k-question .mp-pk {
color: var(--b-sky);
}
.mp-post.k-synthesis {
background: linear-gradient(
135deg,
rgba(179, 157, 255, 0.14),
rgba(179, 157, 255, 0.04)
);
box-shadow: inset 0 0 0 0.5px rgba(179, 157, 255, 0.35);
}
.mp-post.k-synthesis .mp-pk {
color: var(--b-orbit);
}
.mp-post header .tele {
font-size: 0.5625rem;
color: var(--ink-3);
}
.mp-post p {
margin: 0;
font-size: var(--t-foot);
line-height: 1.4;
}
.mp-post footer {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 6px;
color: var(--ink-3);
font-size: 0.5625rem;
}
.mp-post footer span,
.mp-post footer button {
display: inline-flex;
align-items: center;
gap: 4px;
}
.mp-post footer button {
color: var(--b-inside);
}
.mp-empty {
padding: 20px 6px;
color: var(--ink-3);
font-size: 0.625rem;
text-align: center;
}
.mp-src {
flex: none;
margin: 0;
padding: 6px 14px 10px;
color: var(--ink-4);
font-size: 0.5rem;
line-height: 1.5;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mp[data-illustrative='true'] .mp-src {
color: rgba(199, 180, 255, 0.6);
}
/* Short phones: the side panel shrinks first */
@media (max-height: 760px) {
.mp-side {
height: 26vh;
min-height: 170px;
}
.mp-react {
bottom: calc(var(--safe-b) + 84px + 26vh);
}
}
/* The social chat overlay brings its own reactions. */
.mp.has-ext .mp-react {
display: none;
}
/* Attribution stays visible, out of the title's way. */
.app.is-moment .gc-attr {
top: auto;
left: calc(14px + var(--safe-l));
bottom: calc(var(--safe-b) + 86px + 31vh);
}
@media (max-height: 760px) {
.app.is-moment .gc-attr {
bottom: calc(var(--safe-b) + 86px + 26vh);
}
}
.mp-legend .mp-tr:nth-child(n + 5) {
display: none;
}
.mp-more {
padding: 4px 10px 6px 20px;
color: var(--ink-3);
font-size: 0.5625rem;
}
.mp-cap.settled {
opacity: 0.88;
}
.mp-side-title {
display: none;
}
.mp-pane.has-ext {
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.mp-pane.has-ext[hidden] {
display: none;
}
@media (min-width: 600px) {
.mp-side-title {
display: block;
flex: none;
padding: 6px 18px 4px;
}
.mp-st-k {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
color: var(--b-inside);
font-size: 0.5625rem;
letter-spacing: 0.08em;
}
.mp-side-title h3 {
margin: 6px 0 4px;
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 750;
letter-spacing: -0.03em;
line-height: 1.1;
}
.mp-st-s {
margin: 0;
color: var(--ink-3);
font-size: var(--t-foot);
}
.mp-stage .mp-titles {
visibility: hidden;
}
}
+4
View File
@@ -543,3 +543,7 @@
display: block;
margin-bottom: 4px;
}
.sheet:focus {
outline: none;
}
+4 -4
View File
@@ -91,22 +91,22 @@
}
/* The Globe tab's leading view only exists on regular widths. */
#view-globe {
#view-live {
display: none;
}
/* Phone: the Globe tab and an open situation reveal the stage. */
.app[data-tab='globe'] .lead,
.app[data-tab='live'] .lead,
.app.is-world .lead {
visibility: hidden;
}
.app[data-tab='globe'] .lead .view,
.app[data-tab='live'] .lead .view,
.app.is-world .lead .view {
pointer-events: none;
}
.app:not([data-tab='globe']):not(.is-world) .globe-chrome {
.app:not([data-tab='live']):not(.is-world) .globe-chrome {
visibility: hidden;
}
+285
View File
@@ -0,0 +1,285 @@
/* ------------------------------------------------------------------ */
/* Time machine (DESIGN.md §12.5) */
/* ------------------------------------------------------------------ */
.ribbon.tm {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0;
height: auto;
padding: 6px 6px 4px;
border-radius: 20px;
background: rgba(7, 9, 12, 0.78);
-webkit-backdrop-filter: blur(24px) saturate(1.5);
backdrop-filter: blur(24px) saturate(1.5);
box-shadow:
inset 0 0.5px 0 rgba(255, 255, 255, 0.2),
inset 0 0 0 0.5px var(--hairline-strong),
0 12px 40px rgba(0, 0, 0, 0.45);
}
.tm-row {
display: flex;
align-items: center;
gap: 6px;
min-height: 40px;
}
.tm-play {
flex: none;
width: 40px;
height: 40px;
border-radius: 50%;
display: grid;
place-items: center;
color: #050607;
background: #f4f7fb;
font-size: 1.05rem;
transition:
transform var(--dur-1) var(--ease-out),
background var(--dur-2) linear;
}
.tm-play:hover {
background: #fff;
}
.tm-play:active {
transform: scale(0.92);
}
.ribbon.tm.is-playing .tm-play {
background: var(--b-sky);
}
.tm-read {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
line-height: 1.1;
padding-left: 4px;
}
.tm-delta {
font-family: var(--mono);
font-size: 1.0625rem;
font-weight: 700;
letter-spacing: 0.02em;
white-space: nowrap;
color: var(--ink);
}
.ribbon.tm.is-live .tm-delta {
color: #ff6b61;
}
.ribbon.tm[data-future='true'] .tm-delta {
color: var(--b-orbit);
}
.tm-abs {
font-family: var(--mono);
font-size: 0.6875rem;
font-weight: 500;
color: var(--ink-3);
letter-spacing: 0.05em;
white-space: nowrap;
}
.tm-speeds {
flex: none;
display: flex;
padding: 2px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.06);
}
.tm-speeds button {
min-width: 34px;
height: 30px;
padding: 0 4px;
border-radius: 8px;
font-family: var(--mono);
font-size: 0.6875rem;
font-weight: 600;
color: var(--ink-3);
transition:
background var(--dur-1) linear,
color var(--dur-1) linear;
}
.tm-speeds button:hover {
color: var(--ink);
}
.tm-speeds button[aria-checked='true'] {
color: #050607;
background: var(--ink);
}
.tm-clip.icon-btn {
flex: none;
width: 34px;
height: 34px;
font-size: 1.05rem;
color: var(--ink-2);
background: rgba(255, 255, 255, 0.06);
}
.tm-clip[aria-pressed='true'] {
color: #2a1a00;
background: var(--b-inside);
}
.ribbon.tm .tm-now {
height: 34px;
padding: 0 10px;
border-radius: 10px;
}
.tm-track.rb-track {
flex: none;
height: 52px;
margin: 2px 0 0;
border-radius: 12px;
cursor: grab;
}
.ribbon.tm.scrubbing .tm-track {
cursor: grabbing;
}
.ribbon.tm.is-clipping .tm-track {
cursor: crosshair;
}
.tm-head.rb-head {
top: 4px;
bottom: 4px;
width: 2px;
margin-left: -1px;
background: #fff;
box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}
.tm-head i {
position: absolute;
top: -2px;
left: 50%;
width: 9px;
height: 6px;
margin-left: -4.5px;
background: inherit;
clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.ribbon.tm.is-live .tm-head {
background: #ff453a;
box-shadow: 0 0 12px rgba(255, 69, 58, 0.7);
}
.ribbon.tm.is-playing .tm-head {
background: var(--b-sky);
box-shadow: 0 0 14px rgba(163, 216, 255, 0.8);
animation: none;
}
.tm-callout {
position: absolute;
left: 50%;
bottom: calc(100% + 6px);
transform: translateX(-50%);
max-width: 82%;
padding: 5px 9px;
border-radius: 8px;
background: rgba(8, 10, 14, 0.92);
box-shadow: inset 0 0 0 0.5px var(--hairline-strong);
color: var(--ink);
font-size: 0.6875rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border-left: 3px solid var(--c, #fff);
pointer-events: none;
animation: tm-pop 260ms var(--spring) both;
}
@keyframes tm-pop {
from {
opacity: 0;
transform: translate(-50%, 6px) scale(0.96);
}
}
.tm-cliprow {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 2px 2px;
}
.tm-cliprow[hidden] {
display: none;
}
.tm-cliplen {
flex: 1;
min-width: 0;
color: var(--ink-2);
font-size: 0.6875rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tm-cliplen b {
color: var(--b-inside);
}
.tm-cliprow .pill-btn {
height: 34px;
padding: 0 12px;
font-size: var(--t-foot);
}
.tm-clipgo.pill-btn.primary {
background: var(--b-inside);
color: #2a1a00;
}
.tm-clipgo:disabled {
opacity: 0.4;
}
.ribbon.tm.custom .tm-speeds,
.ribbon.tm.custom .tm-clip,
.ribbon.tm.custom .tm-play {
display: none;
}
@media (max-width: 380px) {
.tm-speeds button {
min-width: 28px;
}
.tm-delta {
font-size: 0.9375rem;
}
}
@media (hover: hover) {
.tm-track:hover {
background: rgba(255, 255, 255, 0.02);
}
}
/* The tab-bar accessory takes a row above the tab bar: chrome sits above it. */
:root.has-accessory {
--chrome-bottom: calc(var(--tabbar-h) + var(--tabbar-gap) + 66px);
}
.tm-cliplen {
white-space: normal;
line-height: 1.35;
}
+806
View File
@@ -0,0 +1,806 @@
/* ------------------------------------------------------------------ */
/* Today: the daily brief (DESIGN.md §12.3) */
/* ------------------------------------------------------------------ */
/* Shared honesty labels */
.tag-ill,
.tag-real {
display: inline-flex;
align-items: center;
height: 17px;
padding: 0 6px;
border-radius: 5px;
font-family: var(--mono);
font-size: 0.5625rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
vertical-align: middle;
}
.tag-ill {
color: #e9d8ff;
background: rgba(179, 157, 255, 0.18);
box-shadow: inset 0 0 0 0.5px rgba(179, 157, 255, 0.45);
}
.tag-real {
color: #c9f7d6;
background: rgba(48, 209, 88, 0.16);
box-shadow: inset 0 0 0 0.5px rgba(48, 209, 88, 0.4);
}
.glass-card {
border-radius: 20px;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.055),
rgba(255, 255, 255, 0.025)
);
box-shadow:
inset 0 0.5px 0 rgba(255, 255, 255, 0.14),
inset 0 0 0 0.5px var(--hairline);
}
/* Header: date kicker, greeting, UTC */
.today-hero {
align-items: flex-end;
flex-wrap: wrap;
row-gap: 0;
}
.today-date {
flex-basis: 100%;
padding: 0 calc(var(--gutter) + var(--safe-r)) 2px
calc(var(--gutter) + var(--safe-l));
margin-top: -4px;
color: var(--b-sky);
font-size: 0.6875rem;
font-weight: 600;
letter-spacing: 0.1em;
}
.today-title {
display: flex;
flex-wrap: wrap;
align-items: baseline;
column-gap: 10px;
margin: 0;
cursor: default;
user-select: none;
-webkit-user-select: none;
}
.today-time {
color: var(--ink-3);
font-weight: 600;
}
.today-hero .feed-clock b {
font-size: 0.6875rem;
color: var(--ink-3);
font-weight: 500;
}
.fresh-chip {
height: 28px;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 0 10px;
border-radius: 14px;
color: #c9f7d6;
background: rgba(48, 209, 88, 0.14);
box-shadow: inset 0 0 0 0.5px rgba(48, 209, 88, 0.35);
font-size: 0.625rem;
white-space: nowrap;
}
.fresh-chip[hidden] {
display: none;
}
.fresh-chip.in {
animation: fresh-in 4.2s var(--ease-out) both;
}
@keyframes fresh-in {
0% {
opacity: 0;
transform: translateY(-6px) scale(0.96);
}
8%,
86% {
opacity: 1;
transform: none;
}
100% {
opacity: 0;
}
}
/* The brief */
.brief {
display: grid;
gap: 12px;
padding: 16px calc(12px + var(--safe-r)) 6px calc(12px + var(--safe-l));
}
.bf-h {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 8px;
padding: 13px 16px 6px;
}
.bf-h h3 {
margin: 0;
font-family: var(--font-display);
font-size: var(--t-headline);
font-weight: 700;
letter-spacing: -0.02em;
}
.bf-h .tele {
color: var(--ink-3);
font-size: 0.625rem;
}
.bf-h .chev {
color: var(--ink-3);
font-size: 0.9rem;
}
.bf-rows,
[data-tonight],
[data-watch] {
display: grid;
padding: 0 4px 6px;
}
.bf-row {
position: relative;
display: flex;
align-items: center;
gap: 11px;
width: 100%;
min-height: 52px;
padding: 8px 12px;
border-radius: 14px;
text-align: left;
color: var(--ink);
transition: background var(--dur-1) linear;
}
button.bf-row:hover {
background: rgba(255, 255, 255, 0.05);
}
button.bf-row:active {
background: rgba(255, 255, 255, 0.08);
}
.bf-row + .bf-row::before {
content: '';
position: absolute;
top: 0;
left: 34px;
right: 12px;
height: 0.5px;
background: var(--hairline);
}
.bf-row .bd {
flex: none;
width: 9px;
height: 9px;
border-radius: 3px;
background: var(--band, var(--ink-3));
box-shadow: 0 0 10px var(--band, transparent);
}
.bf-row[data-band='orbit'] {
--band: var(--b-orbit);
}
.bf-row[data-band='sky'] {
--band: var(--b-sky);
}
.bf-row[data-band='ground'] {
--band: var(--b-ground);
}
.bf-row[data-band='inside'] {
--band: var(--b-inside);
}
.bf-main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.bf-main b {
font-size: var(--t-sub);
font-weight: 600;
letter-spacing: -0.01em;
line-height: 1.25;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.bf-main small {
color: var(--ink-3);
font-size: var(--t-cap);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.bf-when {
flex: none;
color: var(--ink-3);
font-size: 0.5625rem;
}
.bf-ic {
flex: none;
width: 30px;
height: 30px;
border-radius: 9px;
display: grid;
place-items: center;
font-size: 1rem;
color: var(--band, var(--ink-2));
background: color-mix(in srgb, var(--band, #fff) 14%, transparent);
}
.bf-ok {
color: var(--ok);
}
.bf-row .chev {
color: var(--ink-4);
}
.bf-add {
color: var(--tint);
font-size: var(--t-foot);
}
.bf-add .i {
font-size: 1.05rem;
}
.bf-calm {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 14px 12px;
color: var(--ink-2);
font-size: var(--t-foot);
}
.bf-calm .i {
color: var(--ok);
}
.bf-ph i {
width: 9px;
height: 9px;
border-radius: 3px;
background: rgba(255, 255, 255, 0.1);
}
.bf-ph span {
flex: 1;
height: 12px;
border-radius: 6px;
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0.05),
rgba(255, 255, 255, 0.1),
rgba(255, 255, 255, 0.05)
);
background-size: 200% 100%;
animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
to {
background-position: -200% 0;
}
}
/* Today's Moment: plays inline */
.bf-moment {
position: relative;
display: block;
width: 100%;
aspect-ratio: 16 / 11;
border-radius: 22px;
overflow: hidden;
text-align: left;
color: #fff;
background: radial-gradient(120% 90% at 50% 30%, #18243a, #07090d);
box-shadow:
inset 0 0 0 0.5px rgba(255, 255, 255, 0.16),
0 18px 40px rgba(0, 0, 0, 0.45);
isolation: isolate;
transition: transform var(--dur-2) var(--spring);
}
.bf-moment:active {
transform: scale(0.985);
}
.bf-mimg,
.bf-mcanvas,
.bf-mshade {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.bf-mimg {
object-fit: cover;
opacity: 0;
filter: saturate(0.6) brightness(0.62) contrast(1.1);
transition: opacity 600ms linear;
}
.bf-mimg.loaded {
opacity: 1;
}
.bf-mshade {
background:
linear-gradient(180deg, rgba(5, 7, 11, 0.7) 0, rgba(5, 7, 11, 0) 34%),
linear-gradient(0deg, rgba(5, 7, 11, 0.92) 0, rgba(5, 7, 11, 0) 52%);
pointer-events: none;
}
.bf-mtop {
position: absolute;
top: 14px;
left: 16px;
right: 16px;
display: flex;
align-items: center;
gap: 8px;
font-size: 0.625rem;
}
.bf-mk {
color: var(--b-inside);
font-weight: 700;
letter-spacing: 0.12em;
}
.bf-mbody {
position: absolute;
left: 16px;
right: 72px;
bottom: 16px;
display: flex;
flex-direction: column;
gap: 4px;
}
.bf-mtitle {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 750;
line-height: 1.08;
letter-spacing: -0.03em;
text-wrap: balance;
}
.bf-msub {
color: rgba(255, 255, 255, 0.7);
font-size: var(--t-cap);
line-height: 1.3;
}
.bf-mplay {
position: absolute;
right: 16px;
bottom: 18px;
width: 48px;
height: 48px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 1.2rem;
color: #050607;
background: #fff;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
transition: transform var(--dur-2) var(--spring);
}
.bf-moment:hover .bf-mplay {
transform: scale(1.06);
}
.bf-mclock {
position: absolute;
top: 36px;
left: 16px;
color: rgba(255, 255, 255, 0.6);
font-size: 0.5625rem;
}
.bf-moment:not(.ready) .bf-mplay {
opacity: 0.4;
}
/* Your sky now (a button) + Overhead tonight */
.bf-sky {
display: flex;
align-items: center;
gap: 14px;
width: 100%;
padding: 12px 14px 12px 12px;
text-align: left;
color: var(--ink);
transition:
background var(--dur-1) linear,
transform var(--dur-2) var(--spring);
}
.bf-sky:hover {
background: rgba(255, 255, 255, 0.06);
}
.bf-sky:active {
transform: scale(0.99);
}
.bf-dome {
flex: none;
width: 92px;
height: 92px;
display: grid;
place-items: center;
}
.bf-dome .dome {
width: 92px;
height: 92px;
}
.bf-skytxt {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.bf-skyk {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--b-sky);
font-size: 0.5625rem;
font-weight: 600;
letter-spacing: 0.1em;
}
.bf-skyk .live-dot {
--fam: var(--b-sky);
width: 5px;
height: 5px;
}
.bf-skyh {
font-family: var(--font-display);
font-size: 1.0625rem;
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.2;
text-wrap: balance;
}
.bf-skytxt small {
color: var(--ink-3);
font-size: var(--t-cap);
line-height: 1.3;
}
.bf-sky > .chev {
flex: none;
color: var(--ink-4);
}
.bf-tonight .bf-when {
color: var(--b-orbit);
font-size: 0.625rem;
font-weight: 600;
}
/* Sections below the brief */
.feed-section-h {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 8px;
padding: 22px calc(var(--gutter) + var(--safe-r)) 0
calc(var(--gutter) + var(--safe-l));
}
.feed-section-h h2 {
margin: 0;
font-family: var(--font-display);
font-size: var(--t-title3);
font-weight: 750;
letter-spacing: -0.025em;
}
.feed-section-h .tele {
color: var(--ink-3);
font-size: 0.5625rem;
}
#view-today .bandbar {
margin-top: 6px;
}
/* Sky dome (shared by the widget and the sheet) */
.dome .dm-ring {
fill: none;
stroke: rgba(255, 255, 255, 0.1);
stroke-width: 0.8;
}
.dome .dm-horizon {
fill: none;
stroke: rgba(163, 216, 255, 0.35);
stroke-width: 1;
}
.dome .dm-card {
fill: var(--ink-3);
font: 600 10px var(--mono);
text-anchor: middle;
}
.dome .dm-card.n {
fill: #ff6b61;
}
.dome .dm-el {
fill: var(--ink-4);
font: 500 8px var(--mono);
}
.dome .dm-ac path {
fill: var(--b-sky);
stroke: #050607;
stroke-width: 0.8;
}
.dome .dm-sat rect {
fill: var(--b-orbit);
}
.dome .dm-iss circle {
fill: #fff;
}
.dome .dm-iss .ring {
fill: none;
stroke: #fff;
stroke-opacity: 0.5;
}
.dome .dm-iss text {
fill: #fff;
font: 700 9px var(--mono);
}
.dome .dm-you {
fill: var(--b-inside);
}
/* Your sky now sheet */
.sky-kicker {
display: flex;
align-items: center;
gap: 6px;
color: var(--ink-3);
font-size: 0.625rem;
padding-top: 2px;
}
.sky-top {
display: grid;
grid-template-columns: minmax(0, 1fr);
justify-items: center;
gap: 10px;
padding: 8px 0 4px;
}
.sky-dome .dome {
width: min(300px, 78vw);
height: auto;
filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}
.sky-count {
display: grid;
grid-template-columns: repeat(3, 1fr);
width: 100%;
max-width: 420px;
gap: 8px;
}
.sky-count div {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
padding: 10px 4px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.05);
}
.sky-count b {
font-family: var(--font-display);
font-size: 1.375rem;
font-weight: 750;
letter-spacing: -0.02em;
}
.sky-count span {
color: var(--ink-3);
font-size: var(--t-cap2);
}
.sky-iss {
display: flex;
gap: 12px;
align-items: center;
margin: 12px 0 4px;
padding: 12px 14px;
border-radius: 16px;
background: linear-gradient(
135deg,
rgba(179, 157, 255, 0.18),
rgba(179, 157, 255, 0.05)
);
box-shadow: inset 0 0 0 0.5px rgba(179, 157, 255, 0.35);
}
.sky-iss > .i {
flex: none;
font-size: 1.4rem;
color: var(--b-orbit);
}
.sky-iss div {
display: flex;
flex-direction: column;
gap: 2px;
}
.sky-iss b {
font-size: var(--t-sub);
}
.sky-iss span {
color: var(--ink-2);
font-size: var(--t-cap);
}
.sky-row {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
min-height: 54px;
padding: 8px 14px;
text-align: left;
color: var(--ink);
position: relative;
}
.sky-row + .sky-row::before {
content: '';
position: absolute;
top: 0;
left: 54px;
right: 0;
height: 0.5px;
background: var(--hairline);
}
.sky-row:hover {
background: rgba(255, 255, 255, 0.04);
}
.sky-ic {
flex: none;
width: 30px;
height: 30px;
border-radius: 9px;
display: grid;
place-items: center;
font-size: 1rem;
}
.sky-row[data-band='sky'] .sky-ic {
color: var(--b-sky);
background: rgba(163, 216, 255, 0.12);
}
.sky-row[data-band='orbit'] .sky-ic {
color: var(--b-orbit);
background: rgba(179, 157, 255, 0.12);
}
.sky-main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.sky-main b {
font-family: var(--mono);
font-size: var(--t-foot);
font-weight: 600;
}
.sky-main small {
color: var(--ink-3);
font-size: var(--t-cap);
}
.sky-el {
flex: none;
display: flex;
flex-direction: column;
align-items: flex-end;
color: var(--ink-3);
font-size: 0.5rem;
}
.sky-el b {
color: var(--ink);
font-size: 0.875rem;
}
.section-h small {
font-family: var(--mono);
}
@media (min-width: 600px) {
.bf-mtitle {
font-size: 1.375rem;
}
}
.bf-rows,
[data-tonight],
[data-watch],
.brief {
grid-template-columns: minmax(0, 1fr);
}
/* UTC rides on the date row, right-aligned; never wraps under the title. */
.today-hero {
position: relative;
}
.today-hero .feed-clock {
position: absolute;
top: -4px;
right: calc(var(--gutter) + var(--safe-r));
padding: 0;
}
+327
View File
@@ -0,0 +1,327 @@
/* ------------------------------------------------------------------ */
/* Watch & alerts, banners, director, pane sheets */
/* ------------------------------------------------------------------ */
/* Pane sheets: the whole screen on a phone (above the tab bar). */
.pane-sheets {
z-index: 58;
}
/* Rules as sentences with chips */
.rules {
display: grid;
gap: 8px;
}
.rule {
position: relative;
display: grid;
grid-template-columns: auto 1fr auto;
grid-template-rows: auto auto;
align-items: center;
column-gap: 12px;
padding: 12px 14px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.045);
box-shadow: inset 0 0 0 0.5px var(--hairline);
--rc: var(--ink-2);
}
.rule[data-band='orbit'] {
--rc: var(--b-orbit);
}
.rule[data-band='sky'] {
--rc: var(--b-sky);
}
.rule[data-band='ground'] {
--rc: var(--b-ground);
}
.rule .bd {
grid-row: 1 / span 2;
width: 4px;
height: 100%;
min-height: 34px;
border-radius: 2px;
background: var(--rc);
}
.rule p {
margin: 0;
font-size: var(--t-sub);
line-height: 1.9;
color: var(--ink-2);
}
.rule .switch {
grid-row: 1 / span 2;
grid-column: 3;
}
.rule-state {
grid-column: 2;
color: var(--ink-3);
font-size: 0.5625rem;
}
.rule-chip {
display: inline-flex;
align-items: center;
gap: 3px;
height: 28px;
padding: 0 6px 0 10px;
border-radius: 8px;
color: var(--ink);
font-weight: 600;
background: color-mix(in srgb, var(--rc) 18%, rgba(255, 255, 255, 0.04));
box-shadow: inset 0 0 0 0.5px color-mix(in srgb, var(--rc) 45%, transparent);
vertical-align: baseline;
transition: background var(--dur-1) linear;
}
.rule-chip:hover {
background: color-mix(in srgb, var(--rc) 28%, rgba(255, 255, 255, 0.04));
}
.rule-chip .i {
font-size: 0.7rem;
color: var(--ink-3);
}
.new-rule {
margin-top: 10px;
}
.row-add {
color: var(--tint);
gap: 10px;
}
.row-icon[data-band='orbit'] {
color: var(--b-orbit);
}
.row-icon[data-band='sky'] {
color: var(--b-sky);
}
.row-icon[data-band='ground'] {
color: var(--b-ground);
}
/* iOS-style notification banners */
.banners {
position: absolute;
top: calc(var(--safe-t) + 8px);
left: 0;
right: 0;
z-index: 80;
display: grid;
justify-items: center;
gap: 8px;
padding: 0 10px;
pointer-events: none;
}
.banner {
pointer-events: auto;
width: min(420px, 100%);
display: flex;
align-items: flex-start;
gap: 11px;
padding: 12px 14px;
border-radius: 22px;
text-align: left;
color: var(--ink);
background: rgba(28, 32, 40, 0.78);
-webkit-backdrop-filter: blur(30px) saturate(1.8);
backdrop-filter: blur(30px) saturate(1.8);
box-shadow:
inset 0 0.5px 0 rgba(255, 255, 255, 0.25),
inset 0 0 0 0.5px rgba(255, 255, 255, 0.08),
0 16px 40px rgba(0, 0, 0, 0.5);
touch-action: none;
animation: banner-in 560ms var(--spring) both;
transition:
transform 260ms var(--ease-out),
opacity 260ms linear;
--bc: var(--b-sky);
}
.banner[data-band='orbit'] {
--bc: var(--b-orbit);
}
.banner[data-band='ground'] {
--bc: var(--b-ground);
}
.banner[data-band='inside'] {
--bc: var(--b-inside);
}
.banner.out {
opacity: 0;
transform: translateY(-40px) scale(0.96);
}
@keyframes banner-in {
from {
opacity: 0;
transform: translateY(-60px) scale(0.94);
}
}
.bn-app {
flex: none;
width: 38px;
height: 38px;
border-radius: 10px;
display: grid;
place-items: center;
font-size: 1.3rem;
color: #050607;
background: linear-gradient(145deg, #ffe3a3, var(--b-inside));
box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.4);
}
.bn-main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 1px;
}
.bn-top {
display: flex;
justify-content: space-between;
color: var(--ink-3);
font-size: var(--t-cap2);
letter-spacing: 0.02em;
}
.bn-top b {
font-weight: 600;
}
.bn-title {
display: flex;
align-items: center;
gap: 5px;
font-size: var(--t-sub);
font-weight: 650;
}
.bn-title .i {
flex: none;
color: var(--bc);
font-size: 0.95rem;
}
.bn-body {
color: var(--ink-2);
font-size: var(--t-foot);
line-height: 1.3;
}
/* Director */
.dir-kicker {
display: flex;
align-items: center;
gap: 6px;
color: #ff9db0;
font-size: 0.625rem;
padding-top: 2px;
}
.dir-beats {
list-style: none;
margin: 6px 0 0;
padding: 0;
display: grid;
gap: 6px;
}
.dir-beat {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 10px 12px;
border-radius: 14px;
text-align: left;
color: var(--ink);
background: rgba(255, 255, 255, 0.04);
transition: background var(--dur-1) linear;
}
.dir-beat:hover {
background: rgba(255, 255, 255, 0.08);
}
.dir-beat.done {
box-shadow: inset 0 0 0 1px rgba(255, 157, 176, 0.5);
}
.dir-n {
flex: none;
width: 28px;
height: 28px;
border-radius: 8px;
display: grid;
place-items: center;
font-family: var(--mono);
font-size: 0.75rem;
font-weight: 700;
color: #050607;
background: var(--ink);
}
.dir-main {
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
.dir-main b {
font-size: var(--t-sub);
font-weight: 650;
}
.dir-main small {
color: var(--ink-3);
font-size: var(--t-cap);
}
.dir-beat > .i {
color: var(--ink-3);
}
.dir-foot {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
justify-content: space-between;
margin-top: 16px;
}
.dir-foot .tele {
color: var(--ink-4);
font-size: 0.5rem;
}
/* Brief "as of" chip on an open situation */
.brief-asof {
display: inline-flex;
align-items: center;
gap: 5px;
margin-top: 8px;
padding: 4px 8px;
border-radius: 7px;
color: var(--b-sky);
background: rgba(163, 216, 255, 0.1);
font-size: 0.5625rem;
}
.brief-asof[hidden] {
display: none;
}