html:has(> body.feed-page) { overflow: hidden; }
.feed-page {
--fg: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
--top: calc(env(safe-area-inset-top) + 66px);
height: 100dvh;
overflow: hidden;
overscroll-behavior: none;
}
html:not([data-signed]) .feed-page .in,
html[data-signed] .feed-page .out { display: none !important; }
.feed-top {
position: fixed; z-index: 20; top: 0; left: 0; right: 0;
display: flex; align-items: center; justify-content: space-between; gap: 12px;
padding: calc(env(safe-area-inset-top) + 12px) var(--fg) 12px;
pointer-events: none;
}
.feed-top > * { pointer-events: auto; }
.feed-top .brand { font-size: 17px; gap: 9px; }
.feed-top .brand img { width: 34px; height: 34px; }
.feed-tools { display: flex; align-items: center; gap: 10px; }
.feed-pos {
display: inline-flex; align-items: baseline; gap: 4px; margin: 0; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
border: 1px solid var(--line); background: var(--glass); color: var(--muted);
font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums;
transition: opacity 240ms ease, transform 300ms var(--ease);
}
.feed-pos b { color: var(--ink); font-weight: 750; }
.feed-pos.off { opacity: 0; transform: translateY(-6px); pointer-events: none; }
@media (max-width: 560px) {
.feed-pos { display: none; }
.feed-top .brand { font-size: 17px; }
}
.feed {
position: fixed; inset: 0; display: block;
overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
scroll-snap-type: y mandatory; scrollbar-width: none; outline: none;
}
.feed::-webkit-scrollbar { display: none; }
.fc { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; contain: layout paint style; }
.amb {
position: absolute; inset: 0; overflow: hidden; pointer-events: none;
background: radial-gradient(130% 70% at 50% 0%, color-mix(in srgb, var(--a) 50%, var(--bg)) 0%, var(--bg) 82%);
}
.amb-img { position: absolute; left: -15%; top: -10%; width: 130%; height: 80%; object-fit: cover; filter: blur(44px) saturate(1.35); opacity: 0.85; }
.amb::after {
content: ""; position: absolute; inset: 0;
background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 22%, transparent) 0%, color-mix(in srgb, var(--bg) 40%, transparent) 38%, color-mix(in srgb, var(--bg) 88%, transparent) 64%, var(--bg) 86%);
}
.fc-in {
position: absolute; inset: 0; width: 100%; max-width: 640px; margin: 0 auto;
display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
padding: var(--top) var(--fg) calc(env(safe-area-inset-bottom) + 22px);
}
.fc-in > .screen { order: -1; margin: auto 0; }
.screen { grid-area: screen; position: relative; flex: none; aspect-ratio: 1200 / 630; }
.screen::before {
content: ""; position: absolute; inset: -12% -6% -18%; z-index: -1; pointer-events: none;
background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 45%, transparent), transparent);
opacity: 0.7;
}
.stage {
position: absolute; inset: 0; border-radius: 22px; overflow: hidden; isolation: isolate;
background: radial-gradient(130% 95% at 18% 0%, color-mix(in oklab, var(--a) 70%, #fff) 0%, var(--a) 38%, var(--b) 100%);
box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--b) 90%, transparent), 0 2px 10px -3px rgba(0, 0, 0, 0.22);
}
.stage::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.poster { position: absolute; left: 50%; top: 50%; width: 30%; height: auto; aspect-ratio: 1; translate: -50% -50%; border-radius: 22%; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.55); }
.shot { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transform-origin: 30% 40%; }
.fc-n {
position: absolute; z-index: 3; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px;
background: rgba(8, 12, 18, 0.5); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.fc-n:empty { display: none; }
@media (min-width: 561px) { .fc-n { display: none; } }
.fc.on .shot { animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.06) translate(-1%, -0.6%); } }
@media (max-width: 560px) {
.fc-in > .screen.p { flex: 1 1 0; min-height: 0; margin: 0; aspect-ratio: auto; container-type: size; }
.screen.p::before { inset: 4% -4% -6%; }
.screen.p .stage { inset: auto; left: 50%; top: 50%; translate: -50% -50%; height: min(100cqh, 125cqw); aspect-ratio: 4 / 5; }
.info .name { flex: 1 1 auto; }
.meta .fc-n { position: static; margin-left: auto; padding: 3px 9px; background: var(--glass); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
}
.stage .clip { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity 420ms ease; }
.fc.clip-on .clip { opacity: 1; }
.fc.clip-off .clip { opacity: 0; filter: blur(8px) saturate(1.1); transform: scale(0.96); transition: opacity 900ms ease 120ms, filter 900ms ease, transform 1000ms var(--ease); }
@media (max-width: 560px) {
.fc.clip-off .shot { z-index: 2; animation: clip-reveal 1000ms var(--ease) both; }
}
@keyframes clip-reveal {
from { clip-path: circle(0% at 50% 52%); transform: scale(1.08); filter: brightness(1.12); }
to { clip-path: circle(75% at 50% 52%); transform: scale(1); filter: none; }
}
@media (min-width: 561px) {
.stage .clip { inset: 0 auto auto 50%; width: auto; height: 100%; aspect-ratio: 4 / 5; translate: -50% 0; border-radius: 18px;
box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.16); }
.fc .shot { transition: filter 700ms ease, scale 900ms var(--ease); }
.fc.clip-on .shot { filter: blur(22px) saturate(1.25) brightness(0.68); scale: 1.08; }
.fc.clip-on.clip-off .shot { filter: none; scale: 1; transition: filter 1000ms ease 150ms, scale 1100ms var(--ease); }
}
.info { grid-area: info; display: grid; gap: 12px; min-width: 0; flex: none; }
.info .id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fi { flex: none; width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 12px 22px -12px color-mix(in srgb, var(--b) 85%, transparent); }
.name { min-width: 0; }
.name h2 { margin: 0; font-size: 23px; line-height: 1.15; font-weight: 750; letter-spacing: -0.022em; text-wrap: balance; }
.meta { display: flex; align-items: center; gap: 9px; margin: 5px 0 0; font-size: 13px; font-weight: 600; color: var(--faint); }
.blurb { display: -webkit-box; margin: 0; overflow: hidden; font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.go .btn.primary { flex: 1 1 auto; }
.go .link-btn { flex: 1 0 100%; margin: 4px 0 0; text-align: center; }
.go .btn.primary.out { flex: 1 0 100%; }
.go .link-btn.out { flex: 1 1 auto; order: 2; margin: 0; text-align: left; }
.go .rb { order: 3; }
html[data-signed] .go .rb { order: 0; }
.go .btn .i { transition: transform 220ms var(--ease); }
@media (hover: hover) { .go .btn:hover .i { transform: translateX(3px); } }
.rb {
position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none;
min-width: 52px; height: 52px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
background: var(--glass); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer;
transition: transform 220ms var(--ease), background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.rb .i { width: 22px; height: 22px; }
.rb .n:empty { display: none; }
.rb-fav[aria-pressed="true"] { color: color-mix(in oklab, var(--star) 75%, var(--ink)); border-color: color-mix(in srgb, var(--star) 55%, transparent); background: color-mix(in srgb, var(--star) 14%, var(--surface)); }
.rb-fav[aria-pressed="true"] .i { color: var(--star); fill: var(--star); }
.rb:active { transform: scale(0.94); }
@media (hover: hover) { .rb:hover { background: var(--surface); } }
html:not([data-signed]) .rb-hide { display: none; }
.spark { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--star); pointer-events: none; }
.fc .info, .fc .screen { transition: opacity 420ms ease, transform 560ms var(--ease); }
.fc:not(.on) .info { opacity: 0.45; transform: translateY(10px); }
.fc:not(.on) .screen { opacity: 0.8; transform: scale(0.98); }
.fc.going .fc-in { opacity: 0; transform: scale(0.94); transition: opacity 320ms ease, transform 340ms var(--ease); }
.fc-intro, .fc-end { display: grid; place-items: center; padding: var(--top) var(--fg) calc(env(safe-area-inset-bottom) + 24px); text-align: center; }
.intro, .end { display: grid; justify-items: center; max-width: 560px; }
.fan { position: relative; width: 320px; height: 132px; margin-bottom: 14px; }
.fan img {
position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; border-radius: 17px; box-shadow: var(--icon-shadow);
translate: -50% -50%; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
animation: fan-in 900ms var(--spring) var(--d) both, fan-bob 6s ease-in-out calc(var(--d) + 900ms) infinite;
}
.fan img:nth-child(1) { --x: -128px; --y: 22px; --r: -18deg; --s: 0.74; --d: 240ms; z-index: 1; }
.fan img:nth-child(2) { --x: -96px; --y: -6px; --r: -12deg; --s: 0.84; --d: 180ms; z-index: 2; }
.fan img:nth-child(3) { --x: -62px; --y: -24px; --r: -7deg; --s: 0.92; --d: 120ms; z-index: 3; }
.fan img:nth-child(4) { --x: -30px; --y: -34px; --r: -3deg; --s: 1; --d: 60ms; z-index: 4; }
.fan img:nth-child(5) { --x: 0px; --y: -38px; --r: 0deg; --s: 1.12; --d: 0ms; z-index: 6; }
.fan img:nth-child(6) { --x: 30px; --y: -34px; --r: 3deg; --s: 1; --d: 60ms; z-index: 4; }
.fan img:nth-child(7) { --x: 62px; --y: -24px; --r: 7deg; --s: 0.92; --d: 120ms; z-index: 3; }
.fan img:nth-child(8) { --x: 96px; --y: -6px; --r: 12deg; --s: 0.84; --d: 180ms; z-index: 2; }
.fan img:nth-child(9) { --x: 128px; --y: 22px; --r: 18deg; --s: 0.74; --d: 240ms; z-index: 1; }
@keyframes fan-in { from { opacity: 0; transform: translate(0, 46px) rotate(0) scale(0.4); } }
@keyframes fan-bob { 50% { translate: -50% calc(-50% - 7px); } }
.badge { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font-size: 13.5px; font-weight: 650; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.intro h1, .end h2 { margin: 16px 0 14px; font-size: clamp(40px, 11vw, 66px); line-height: 1.02; font-weight: 800; letter-spacing: -0.042em; text-wrap: balance; }
.end h2 { font-size: clamp(34px, 9vw, 52px); }
.intro h1 span, .end h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feed-page .lead { max-width: 44ch; margin: 0 auto 26px; font-size: 17.5px; }
.feed-page .cta { margin-bottom: 4px; }
.end > img { width: 64px; height: 64px; }
.fnote { max-width: 42ch; margin: -8px auto 22px; color: var(--faint); font-size: 14px; }
.swipe { display: grid; justify-items: center; gap: 2px; margin: 34px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.swipe .i { width: 28px; height: 28px; animation: swipe-hint 1.8s ease-in-out infinite; }
@keyframes swipe-hint { 50% { transform: translateY(6px); } }
.swipe .mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .swipe .touch { display: none; } .swipe .mouse { display: inline; } }
.feed-step { position: fixed; z-index: 15; right: max(22px, env(safe-area-inset-right)); top: 50%; translate: 0 -50%; display: none; flex-direction: column; gap: 10px; }
@media (hover: hover) and (pointer: fine) and (min-width: 1100px) { .feed-step { display: flex; } }
.step-btn {
display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); cursor: pointer;
transition: transform 220ms var(--ease), background 160ms ease;
}
#feed-prev .i { rotate: 180deg; }
.step-btn:hover { transform: scale(1.07); }
.step-btn:active { transform: scale(0.94); }
.toast.with-undo { display: flex; align-items: center; gap: 14px; width: min(460px, calc(100% - 32px)); padding: 8px 8px 8px 18px; text-align: left; text-wrap: pretty; }
.toast.with-undo span { flex: 1; }
.toast-undo { flex: none; padding: 8px 14px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--bg) 20%, transparent); color: var(--bg); font: inherit; font-weight: 750; cursor: pointer; }
.nudge {
position: fixed; z-index: 60; left: 0; right: 0; bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
width: min(420px, calc(100% - 24px)); margin: 0 auto; padding: 26px 22px 22px; border-radius: 26px;
background: var(--sheet); color: var(--ink); box-shadow: var(--shadow-2), 0 0 0 1px var(--line); text-align: center;
animation: nudge-in 460ms var(--spring) both;
}
.nudge.away { animation: nudge-out 220ms ease both; }
@keyframes nudge-in { from { opacity: 0; transform: translateY(26px) scale(0.96); } }
@keyframes nudge-out { to { opacity: 0; transform: translateY(16px) scale(0.98); } }
.nudge-star .i { width: 36px; height: 36px; color: var(--star); fill: var(--star); }
.nudge h2 { margin: 6px 0; font-size: 20px; letter-spacing: -0.02em; }
.nudge p { margin: 0 0 18px; color: var(--muted); font-size: 15px; text-wrap: pretty; }
.nudge-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nudge-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.nudge-x:hover { color: var(--ink); background: var(--surface-2); }
.share-body { display: grid; gap: 14px; padding: 4px 22px 24px; }
.share-card { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--surface-2); }
.share-shot { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; background: var(--a); }
.share-id { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; }
.share-id > div { min-width: 0; }
.share-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--b) 85%, transparent); }
.share-id b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.share-id small { display: block; overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.share-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.share-acts .btn { flex: 1 1 150px; }
.share-url { width: 100%; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--muted); font: inherit; font-size: 13.5px; text-overflow: ellipsis; }
.share-url:focus { outline: 2px solid var(--ring); outline-offset: 1px; color: var(--ink); }
.share-home { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); }
.share-home .grow { min-width: 0; }
.share-home-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 13%, transparent); color: var(--brand); }
.share-home-ic .i { width: 22px; height: 22px; }
.share-home b { display: block; font-size: 15px; font-weight: 700; }
.share-home p { margin: 3px 0 11px; color: var(--muted); font-size: 14px; line-height: 1.45; text-wrap: pretty; }
.share-home .btn .i { width: 16px; height: 16px; }
@media (min-width: 900px) and (min-aspect-ratio: 1/1), (orientation: landscape) and (min-width: 640px) {
.fc-in {
display: grid; max-width: 1440px; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); grid-template-areas: "screen info";
column-gap: clamp(28px, 4.5vw, 72px); align-items: center; align-content: stretch;
padding: calc(env(safe-area-inset-top) + 78px) clamp(24px, 5vw, 80px) calc(env(safe-area-inset-bottom) + 40px);
}
.fc-in > .screen { margin: 0; }
.amb-img { top: -15%; height: 130%; }
.amb::after { background: color-mix(in srgb, var(--bg) 68%, transparent); }
.screen { width: min(100%, calc((100dvh - 150px) * 1200 / 630)); justify-self: end; }
.stage { border-radius: 26px; }
.info { gap: 16px; }
.fi { width: 64px; height: 64px; border-radius: 17px; }
.name h2 { font-size: clamp(26px, 3vw, 38px); }
.blurb { font-size: 17px; -webkit-line-clamp: 6; }
.go .btn.primary { flex: 0 1 auto; }
.go .link-btn { text-align: left; }
}
@media (max-height: 520px) {
.blurb { -webkit-line-clamp: 2; }
.fi { width: 46px; height: 46px; border-radius: 13px; }
.go .btn.lg, .rb { min-height: 46px; height: 46px; }
.fan { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.fc .info, .fc .screen, .feed-pos { transition: none; }
.fc:not(.on) .info, .fc:not(.on) .screen { opacity: 1; transform: none; }
.fc.on .shot, .fan img, .swipe .i { animation: none; }
.stage .clip { display: none; }
.nudge, .nudge.away { animation: none; }
}