Skip to content
Source
Sign inSign up
samwillis/neon-glow-demo
Open History to see the last commit

Social.module.css

396 lines39.2 KB

1/* ---------- Shell ---------- */
2.shell { min-height: 100dvh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
3.rail { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; border-right: 1px solid var(--border); background: rgba(7, 7, 12, 0.6); backdrop-filter: blur(20px); z-index: 30; }
4.railLogo { padding: 4px 0 22px 15px; }
5.railLogo > a { gap: 17px; }
6.railFooter { margin-top: auto; display: grid; order: 99; }
7.railFooter > button { padding-left: 4px; }
8.railLogo { order: -1; }
9/* Desktop order is source order; the mobile bar re-orders with inline `order`. */
10@media (min-width: 1024px) { .rail > .navItem { order: 0 !important; } }
11.navItem { position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 14px; color: var(--muted); font-weight: 650; font-size: 15px; background: none; border: 0; text-align: left; transition: background 0.15s, color 0.15s; }
12.navItem:hover { background: var(--raised); color: var(--text); }
13.navItem[data-active] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
14.navItem[data-active]::before { content: ''; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--glow-gradient); box-shadow: 0 0 12px rgba(183, 255, 90, 0.6); }
15.navItem[data-active] .navIcon { color: var(--accent); filter: drop-shadow(0 0 8px rgba(183, 255, 90, 0.5)); }
16.navIcon { position: relative; display: grid; place-items: center; width: 34px; height: 28px; flex: none; }
17.navMake .navIcon { width: 34px; height: 28px; border-radius: 9px; background: var(--glow-gradient); color: #07070c !important; box-shadow: 0 6px 20px -6px rgba(255, 79, 216, 0.7); filter: none !important; }
18.badge { position: absolute; top: -4px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--canvas); }
19.shellMain { min-width: 0; position: relative; }
20​
21/* ---------- Shared bits ---------- */
22.glowButton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 14px; background: var(--glow-gradient); color: #07070c; font-weight: 800; font-size: 15px; border: 0; box-shadow: var(--glow-shadow); transition: transform 0.15s, filter 0.15s; }
23.glowButton:hover { transform: translateY(-1px); filter: brightness(1.08); }
24.rotating { display: inline-grid; vertical-align: bottom; text-align: center; }
25.rotatingWord { grid-area: 1 / 1; opacity: 0; transform: translateY(0.45em); filter: blur(6px); transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease; }
26.rotatingWord[data-state='in'] { opacity: 1; transform: none; filter: drop-shadow(0 0 28px rgba(183, 255, 90, 0.3)); }
27.rotatingWord[data-state='out'] { opacity: 0; transform: translateY(-0.45em); }
28/* background-clip: text only paints inside the line box; pad it (and pull the layout back) so
29 descenders and overhangs in tight headings are not clipped. */
30.glowText { background: var(--glow-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(183, 255, 90, 0.3)); padding: 0.06em 0.06em 0.22em; margin: -0.06em -0.06em -0.22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
31.remixCta, .postButton { background: var(--glow-gradient) !important; color: #07070c !important; border: 0 !important; box-shadow: var(--glow-shadow); font-weight: 800 !important; }
32.remixCta:hover, .postButton:hover { filter: brightness(1.08); }
33.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: var(--accent); animation: spin 0.8s linear infinite; display: inline-block; }
34.emptyNote { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
35.errorText { color: var(--error); font-size: 13px; line-height: 1.6; }
36.linkButton { background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
37.linkButton:hover { color: var(--accent); }
38.visuallyHidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
39.emptyOrb { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; font-size: 44px; margin: 0 auto 22px; border: 5px solid transparent; background: linear-gradient(#0d0d15, #0d0d15) padding-box, var(--glow-gradient) border-box; box-shadow: 0 0 40px -8px rgba(183, 255, 90, 0.5); animation: bob 4s ease-in-out infinite; }
40.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 40; background: #1f1f2e; border: 1px solid var(--border-strong); color: var(--text); padding: 10px 16px; border-radius: 12px; font-size: 13px; cursor: pointer; }
41.avatar { display: inline-grid; place-items: center; border-radius: 50%; color: #07070c; font-weight: 850; flex: none; overflow: hidden; }
42.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
43.confetti { position: fixed; inset: 0; width: 100vw; height: 100dvh; pointer-events: none; z-index: 60; }
44​
45/* ---------- Covers and cards ---------- */
46.cover { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 80% at 30% 15%, color-mix(in srgb, var(--tint) 75%, white 8%), color-mix(in srgb, var(--tint) 30%, #07070c) 75%); }
47.cover img, .cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
48.cover video { opacity: 0; transition: opacity 0.35s; }
49.cover video.clipVisible { opacity: 1; }
50.coverFallback { position: absolute; inset: 0; display: grid; place-items: center; container-type: size; }
51.coverFallback span { font-size: min(34cqw, 120px); filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45)); animation: bob 3.2s ease-in-out infinite; }
52.ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: radial-gradient(55% 45% at 50% 42%, color-mix(in srgb, var(--tint) 45%, transparent), transparent 75%); }
53.ambient img { position: absolute; inset: -15%; width: 130%; height: 130%; object-fit: cover; filter: blur(70px) saturate(1.7) brightness(0.6); opacity: 0.85; }
54.ambient::after { content: ''; position: absolute; inset: 0; background: radial-gradient(transparent 30%, rgba(7, 7, 12, 0.75)); }
55.cardGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 16px; }
56.appCard { position: relative; aspect-ratio: 9 / 15; border-radius: 20px; overflow: hidden; background: var(--surface); isolation: isolate; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07); transition: transform 0.2s ease, box-shadow 0.2s ease; }
57.appCard:hover, .appCard:focus-visible { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 50px -18px rgba(255, 79, 216, 0.45); }
58.cardShade { position: absolute; inset: auto 0 0 0; height: 58%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.82)); z-index: 1; pointer-events: none; }
59.cardInfo { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: grid; gap: 5px; }
60.cardInfo strong { font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: -0.2px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); overflow-wrap: anywhere; }
61.cardMeta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.78); }
62.cardMeta > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
63.cardStats { display: inline-flex; align-items: center; gap: 3px; flex: none; }
64.cardStats svg:not(:first-child) { margin-left: 6px; }
65.cardBadge, .cardRemix { position: absolute; top: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 750; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); display: inline-flex; gap: 4px; align-items: center; }
66.cardBadge { left: 10px; }
67.cardBadge[data-kind='public'] { color: var(--accent); }
68.cardBadge[data-kind='unlisted'] { color: var(--cyan); }
69.cardRemix { right: 10px; color: var(--pink); }
70.draftCard { position: relative; }
71.draftCard > .appCard { display: block; }
72.cardMenu { position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(0, 0, 0, 0.55); color: #fff; backdrop-filter: blur(8px); }
73.cardMenu:hover, .cardMenu[data-popup-open] { background: rgba(0, 0, 0, 0.8); }
74.deleteBody { display: grid; gap: 12px; margin-top: 12px; }
75.deleteBody p { margin: 0; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
76.deleteNote { color: var(--muted) !important; font-size: 14px; }
77.deleteActions { display: flex; gap: 10px; margin-top: 8px; }
78.dangerButton { background: #ff5d5d !important; color: #fff !important; box-shadow: 0 8px 28px -10px rgba(255, 93, 93, 0.7) !important; }
79​
80/* ---------- Feed ---------- */
81.feed { position: relative; height: 100dvh; overflow: hidden; }
82.feedScroller { height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
83.feedScroller::-webkit-scrollbar { display: none; }
84.feedCard { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; overflow: hidden; }
85.feedStage { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 18px; height: 100%; padding: 68px 0 22px; }
86.feedPhone { position: relative; height: 100%; aspect-ratio: 390 / 844; max-width: calc(100vw - 340px); border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1); }
87.feedPhone iframe { position: absolute; inset: 0; z-index: 2; }
88.playOverlay { position: absolute; inset: 0; z-index: 2; background: transparent; border: 0; padding: 0; display: flex; align-items: flex-start; justify-content: center; color: #fff; }
89/* The play prompt fades so it never hides the app's own first frame; hover brings it back. */
90.playButton { margin-top: 30%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(10, 10, 18, 0.55); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.3); font-weight: 800; font-size: 14px; animation: hint 3.2s ease-in forwards; transition: opacity 0.2s, transform 0.2s; }
91.playOverlay:hover .playButton, .playOverlay:focus-visible .playButton { animation: none; opacity: 1; transform: scale(1.05); }
92.exitPlay { position: absolute; top: 12px; left: 12px; z-index: 6; display: inline-flex; gap: 6px; align-items: center; padding: 8px 13px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); font-weight: 750; font-size: 13px; }
93.feedCaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 90px 18px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8) 60%); pointer-events: none; }
94.feedCaption > * { pointer-events: auto; }
95.feedCaption h2 { display: flex; align-items: center; gap: 8px; font-size: 24px; line-height: 1.15; margin: 6px 0 6px; font-weight: 850; letter-spacing: -0.5px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
96.feedCaption p { margin: 0 0 10px; color: rgba(255, 255, 255, 0.86); font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
97.captionCreator { font-weight: 800; font-size: 15px; }
98.captionCreator:hover { text-decoration: underline; }
99.captionEmoji { font-size: 26px; }
100.remixChip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 79, 216, 0.18); color: #ffc2f2; font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
101.feedCaption .remixCta { width: 100%; min-height: 46px; font-size: 15px; }
102.heartBurst { position: absolute; left: 50%; top: 42%; z-index: 7; color: var(--pink); filter: drop-shadow(0 0 30px rgba(255, 79, 216, 0.8)); pointer-events: none; animation: burst 0.9s ease-out forwards; }
103.feedActions { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 8px; width: 64px; }
104.actionAvatar { position: relative; margin-bottom: 10px; }
105.actionAvatar > a > .avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92), 0 6px 18px rgba(0, 0, 0, 0.45) !important; }
106.followDot { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 21px; height: 21px; padding: 0; border-radius: 50%; display: grid; place-items: center; border: 0; background: var(--pink); color: #fff; box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(255, 79, 216, 0.55); transition: transform 0.15s, background 0.15s; }
107.followDot:hover { transform: translateX(-50%) scale(1.12); }
108.followDot[data-on] { background: var(--accent); color: #07070c; }
109.actionButton { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: 0; color: var(--text); font-size: 12px; font-weight: 750; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
110.actionButton > span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.09); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.12); transition: transform 0.15s, background 0.15s, box-shadow 0.2s; }
111.actionButton:hover > span { background: rgba(255, 255, 255, 0.17); transform: scale(1.07); }
112.actionButton[data-on] { color: var(--pink); }
113.actionButton[data-on] > span { background: rgba(255, 79, 216, 0.18); box-shadow: var(--pink-shadow); }
114.actionButton[data-on] svg { animation: pop 0.35s ease-out; }
115.playsCount { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
116.feedTabs { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 8; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(10, 10, 18, 0.55); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.09); transition: opacity 0.2s; }
117.feed:has([data-playing]) .feedTabs { opacity: 0; pointer-events: none; }
118.feedTab { border: 0; background: none; color: rgba(255, 255, 255, 0.68); font-weight: 750; font-size: 14px; padding: 8px 15px; border-radius: 999px; white-space: nowrap; }
119.feedTab[data-on] { background: rgba(255, 255, 255, 0.15); color: #fff; }
120.feedNav { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 5; }
121.feedNavButton { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(17, 17, 26, 0.7); color: var(--text); display: grid; place-items: center; backdrop-filter: blur(10px); }
122.feedNavButton:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
123.feedNavButton:disabled { opacity: 0.3; }
124.feedEmpty { min-height: 70dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; gap: 4px; }
125.feedEmpty h2 { font-size: 26px; font-weight: 850; letter-spacing: -0.6px; margin: 0 0 6px; }
126.feedEmpty p { color: var(--muted); max-width: 380px; line-height: 1.6; margin: 0 0 20px; }
127.liveMessage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; padding: 24px; text-align: center; background: #07070c; z-index: 2; }
128​
129/* ---------- Pages ---------- */
130.page { max-width: 1180px; margin: 0 auto; padding: 44px 36px 72px; }
131.narrowPage { max-width: 720px; margin: 0 auto; padding: 44px 24px 72px; }
132.pageTitle { font-size: 36px; font-weight: 850; letter-spacing: -1.2px; margin: 0 0 24px; }
133.section { margin-top: 52px; }
134.sectionHeader { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
135.sectionHeader h2 { display: flex; gap: 9px; align-items: center; font-size: 23px; font-weight: 850; letter-spacing: -0.6px; margin: 0; }
136.sectionHeader h2 svg { color: var(--pink); }
137.sectionHeader > a { color: var(--muted); font-weight: 650; font-size: 14px; }
138.sectionHeader > a:hover { color: var(--accent); }
139.countPill { font-size: 12px; font-weight: 750; color: var(--muted); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); }
140.discoverHero, .makeHero { text-align: center; max-width: 780px; margin: 20px auto 0; }
141.discoverHero h1, .makeHero h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1; letter-spacing: -2.8px; font-weight: 900; margin: 0 0 18px; }
142.discoverHero > p, .makeHero > p { color: var(--muted); font-size: 18px; line-height: 1.55; margin: 0 auto 30px; max-width: 600px; }
143.heroEmoji { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 24px; margin-bottom: 22px; border: 5px solid transparent; background: linear-gradient(#0d0d15, #0d0d15) padding-box, var(--glow-gradient) border-box; box-shadow: 0 0 44px -6px rgba(183, 255, 90, 0.5); animation: bob 4s ease-in-out infinite; }
144.starterChips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
145.starterChip { display: inline-flex; gap: 7px; align-items: center; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: 14px; font-weight: 650; transition: border-color 0.15s, transform 0.15s, background 0.15s; }
146.starterChip:hover { border-color: var(--pink); background: rgba(255, 79, 216, 0.08); transform: translateY(-1px); }
147.ideaGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
148.ideaCard { text-align: left; display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); color: var(--text); transition: border-color 0.15s, transform 0.15s; }
149.ideaCard:hover { border-color: var(--cyan); transform: translateY(-2px); }
150.ideaCard strong { font-size: 16px; font-weight: 800; }
151.ideaCard > span:last-child { color: var(--muted); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
152.ideaEmoji { font-size: 32px; }
153.challenge { margin-top: 44px; position: relative; display: grid; grid-template-columns: 1fr 190px; gap: 28px; padding: 30px; border-radius: 30px; background: linear-gradient(135deg, rgba(139, 92, 255, 0.4), rgba(255, 79, 216, 0.28) 50%, rgba(69, 230, 255, 0.22)); border: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden; }
154.challengeText h2 { font-size: 32px; font-weight: 900; letter-spacing: -1px; margin: 10px 0 8px; }
155.challengeText p { color: rgba(255, 255, 255, 0.85); line-height: 1.55; margin: 0 0 20px; max-width: 520px; }
156.challengeLabel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--accent); }
157.challengeCover { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; transform: rotate(4deg); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.2); }
158.challengeEntries { grid-column: 1 / -1; }
159.challengeEntries h3 { margin: 0 0 12px; font-size: 16px; }
160​
161/* ---------- Profile ---------- */
162.profileHeader { display: flex; align-items: center; gap: 28px; padding: 20px 0 8px; }
163.profileInfo { display: grid; gap: 14px; justify-items: start; }
164.profileInfo h1 { font-size: 38px; font-weight: 900; letter-spacing: -1.4px; margin: 0; }
165.profileStats { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: 15px; }
166.profileStats strong { color: var(--text); font-weight: 800; }
167.profileSelf { display: flex; align-items: center; gap: 12px; }
168.followButton { background: var(--pink) !important; color: #fff !important; border: 0 !important; box-shadow: var(--pink-shadow); }
169​
170/* ---------- Inbox ---------- */
171.inboxList { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
172.inboxList li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; transition: background 0.15s; }
173.inboxList li:hover { background: rgba(255, 255, 255, 0.04); }
174.inboxList li[data-unread] { background: rgba(255, 79, 216, 0.07); }
175.inboxAvatar { position: relative; flex: none; }
176.inboxIcon { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--canvas); color: #07070c; }
177.inboxIcon[data-kind='remix'] { background: var(--accent); }
178.inboxIcon[data-kind='comment'] { background: var(--cyan); }
179.inboxIcon[data-kind='like'] { background: var(--pink); color: #fff; }
180.inboxIcon[data-kind='follow'] { background: var(--violet); color: #fff; }
181.inboxText { flex: 1; min-width: 0; }
182.inboxText p { margin: 0; line-height: 1.45; font-size: 15px; }
183.inboxText time { color: var(--faint); font-size: 13px; }
184.inboxText q { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
185.inboxThumb { position: relative; width: 46px; height: 78px; border-radius: 10px; overflow: hidden; flex: none; }
186​
187/* ---------- Shared app ---------- */
188.sharedPage { position: relative; isolation: isolate; }
189.sharedPage > .ambient { inset: 0 0 auto 0; height: min(1100px, 120vh); mask-image: linear-gradient(black 55%, transparent); -webkit-mask-image: linear-gradient(black 55%, transparent); }
190.sharedLayout { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 56px; max-width: 1080px; margin: 0 auto; padding: 44px 28px 40px; }
191.sharedPhone { position: relative; width: min(390px, 100%); height: min(844px, calc(100dvh - 88px)); flex: none; border-radius: 34px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 80px -20px rgba(139, 92, 255, 0.45); }
192.sharedDetails { max-width: 420px; display: grid; gap: 14px; justify-items: start; }
193.sharedEmoji { font-size: 56px; line-height: 1; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4)); }
194.sharedDetails h1 { font-size: clamp(34px, 4vw, 50px); line-height: 1.02; font-weight: 900; letter-spacing: -1.8px; margin: 0; overflow-wrap: anywhere; }
195.sharedTagline { color: rgba(255, 255, 255, 0.85); font-size: 18px; line-height: 1.5; margin: 0; }
196.creatorRow { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
197.creatorLink { display: flex; align-items: center; gap: 10px; }
198.creatorLink span { display: grid; line-height: 1.25; }
199.creatorLink small { color: var(--muted); font-size: 12px; }
200.followPill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 999px; border: 0; background: var(--pink); color: #fff; font-weight: 800; font-size: 13px; }
201.followPill[data-on] { background: rgba(255, 255, 255, 0.1); color: var(--text); }
202.caption { margin: 0; padding: 12px 16px; border-left: 3px solid var(--pink); background: rgba(255, 255, 255, 0.04); border-radius: 0 12px 12px 0; color: rgba(255, 255, 255, 0.9); line-height: 1.55; font-size: 15px; }
203.statRow { display: flex; flex-wrap: wrap; gap: 8px; }
204.statRow span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.86); font-size: 13px; font-weight: 700; }
205.sharedActions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
206.sharedActions .remixCta { min-height: 48px; padding: 12px 22px; font-size: 16px; }
207.likedButton { color: var(--pink) !important; border-color: rgba(255, 79, 216, 0.5) !important; }
208.sharedNote { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }
209.reportLink { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--faint); font-size: 12px; padding: 0; margin-top: 6px; }
210.reportLink:hover { color: var(--muted); }
211.reportInput { width: 100%; min-height: 120px; margin: 16px 0; background: var(--canvas); border: 1px solid var(--border); border-radius: 12px; padding: 12px; color: var(--text); font-size: 15px; }
212.lineage { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 16px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
213.lineageItem { display: inline-flex; align-items: center; gap: 8px; }
214.lineageItem > span:last-child { display: grid; line-height: 1.2; font-weight: 700; }
215.lineageItem small { color: var(--muted); font-weight: 500; font-size: 11px; }
216.lineageItem + .lineageItem::before { content: '→'; color: var(--faint); margin-right: 2px; }
217.lineageThumb { position: relative; width: 26px; height: 44px; border-radius: 7px; overflow: hidden; background: var(--raised); flex: none; }
218.lineageArrow { color: var(--faint); }
219.lineageHere { color: var(--pink); font-weight: 800; }
220​
221/* ---------- Community ---------- */
222.community { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 8px 28px 72px; display: grid; gap: 44px; }
223.communityCompact { display: grid; gap: 28px; margin-top: 18px; }
224.communitySection h2 { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 850; letter-spacing: -0.5px; margin: 0 0 16px; }
225.communitySection h2 svg { color: var(--pink); }
226.remixRow { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 12px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; scrollbar-width: thin; }
227.remixTile { display: grid; gap: 8px; }
228.remixTile > .cover { position: relative; inset: auto; aspect-ratio: 9 / 15; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); transition: transform 0.2s; }
229.remixTile:hover > .cover { transform: translateY(-3px); }
230.remixTileInfo { display: grid; gap: 2px; font-size: 13px; }
231.remixTileInfo strong { font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
232.remixTileInfo span { color: var(--muted); font-size: 12px; }
233.commentForm { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
234.commentForm textarea { flex: 1; min-height: 44px; max-height: 140px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font-size: 15px; resize: vertical; }
235.commentForm textarea:focus { outline: none; border-color: var(--pink); }
236.commentList { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 4px; }
237.commentList li { display: flex; gap: 12px; padding: 12px 0; }
238.commentList article { flex: 1; min-width: 0; }
239.commentHeader { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
240.commentHeader strong { font-size: 14px; font-weight: 800; }
241.commentHeader time { font-size: 12px; color: var(--faint); }
242.commentHeader button { margin-left: auto; }
243.commentList p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
244​
245/* ---------- Post dialog ---------- */
246.postForm { display: grid; gap: 18px; margin-top: 18px; }
247.fieldLabel { font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
248.field { display: grid; gap: 8px; }
249.field input, .field textarea { width: 100%; background: var(--canvas); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; color: var(--text); font-size: 16px; }
250.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
251.field > button { justify-self: start; }
252.coverPicker { display: grid; gap: 10px; }
253.coverFrames { display: flex; gap: 10px; }
254.coverFrame { position: relative; width: 84px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; padding: 0; border: 2px solid transparent; background: var(--raised); opacity: 0.65; transition: opacity 0.15s, border-color 0.15s, transform 0.15s; }
255.coverFrame img { width: 100%; height: 100%; object-fit: cover; display: block; }
256.coverFrame[data-on] { opacity: 1; border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--glow-shadow); }
257.postDone { display: grid; gap: 14px; justify-items: center; text-align: center; margin-top: 12px; }
258.postDone p { color: var(--muted); margin: 0; line-height: 1.5; }
259.postDonePreview { position: relative; width: 150px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; box-shadow: var(--glow-shadow); animation: pop 0.5s ease-out; }
260.postDone > div:last-child { justify-content: center; }
261​
262​
263/* ---------- Profile timeline ---------- */
264.profilePage { max-width: 760px; margin: 0 auto; padding: 40px 28px 72px; }
265.profileBio { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 15.5px; line-height: 1.55; max-width: 520px; white-space: pre-wrap; overflow-wrap: anywhere; }
266.profileTabs { display: flex; gap: 6px; margin: 28px 0 8px; border-bottom: 1px solid var(--border); }
267.profileTabs button { position: relative; background: none; border: 0; color: var(--muted); font-weight: 750; font-size: 15px; padding: 12px 16px; }
268.profileTabs button:hover { color: var(--text); }
269.profileTabs button[data-on] { color: var(--text); }
270.profileTabs button[data-on]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 4px; border-radius: 4px 4px 0 0; background: var(--glow-gradient); box-shadow: 0 0 12px rgba(183, 255, 90, 0.5); }
271.timeline { display: grid; }
272.tabEmpty { color: var(--muted); text-align: center; padding: 56px 16px; margin: 0; line-height: 1.6; }
273.tabLoading { display: grid; place-items: center; padding: 56px 0; }
274.post { position: relative; padding: 22px 4px; border-bottom: 1px solid var(--border); display: grid; gap: 12px; }
275.post[data-pinned] { padding-top: 14px; }
276.pinnedLabel { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; }
277.postHeader { display: flex; align-items: center; gap: 12px; }
278.postHeader > div { flex: 1; display: grid; line-height: 1.3; }
279.postHeader > div strong { font-size: 15px; font-weight: 800; }
280.postHeader > div span { color: var(--faint); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
281.postBody h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 21px; font-weight: 850; letter-spacing: -0.5px; }
282.postBody p { margin: 0 0 8px; color: rgba(255, 255, 255, 0.86); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
283.postBody .remixChip { margin: 2px 0 0; }
284.postMedia { position: relative; display: block; width: min(300px, 70%); aspect-ratio: 9 / 15; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px -28px rgba(0, 0, 0, 0.9); transition: transform 0.2s, box-shadow 0.2s; }
285.postMedia:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 60px -20px rgba(255, 79, 216, 0.45); }
286.postPlay { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(10, 10, 18, 0.6); backdrop-filter: blur(10px); font-weight: 800; font-size: 13px; }
287.postActions { display: flex; gap: 22px; align-items: center; }
288.postActions > * { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: 14px; font-weight: 700; }
289.postActions > button:hover, .postActions > a:hover { color: var(--text); }
290.postActions > [data-on] { color: var(--pink); }
291.replyList { list-style: none; margin: 0; padding: 0; }
292.replyList li { display: flex; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--border); }
293.replyList li > div { min-width: 0; flex: 1; }
294.replyThumb { position: relative; width: 52px; height: 88px; border-radius: 12px; overflow: hidden; flex: none; }
295.replyContext { color: var(--faint); font-size: 13px; }
296.replyContext a:hover { color: var(--text); }
297.replyList p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
298.draftsHeader { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
299.draftsHeader p { margin: 0; color: var(--muted); font-size: 14px; }
300.editProfile { display: grid; gap: 20px; margin-top: 18px; }
301.editAvatar { display: flex; align-items: center; gap: 18px; }
302.editAvatar > div { display: grid; gap: 8px; justify-items: start; }
303.fieldCount { justify-self: end; color: var(--faint); font-size: 12px; }
304.fieldHint { color: var(--faint); font-size: 12px; overflow-wrap: anywhere; }
305.fieldError { color: var(--error); font-size: 12px; }
306.handleInput { display: flex; align-items: center; background: var(--canvas); border: 1px solid var(--border); border-radius: 12px; padding-left: 14px; }
307.handleInput:focus-within { border-color: var(--pink); }
308.handleInput > span { color: var(--muted); font-weight: 700; }
309.handleInput input { border: 0 !important; background: transparent !important; padding-left: 4px !important; outline: none; }
310.profileName { display: grid; gap: 2px; }
311.profileName span { color: var(--muted); font-size: 16px; font-weight: 600; }
312.discoverHeader { margin-bottom: 8px; }
313.discoverHeader .pageTitle { margin-bottom: 6px; }
314.discoverHeader p { margin: 0; color: var(--muted); font-size: 16px; }
315​
316/* ---------- About ---------- */
317.aboutPage { max-width: 960px; margin: 0 auto; padding: 56px 28px 80px; }
318.aboutHero { text-align: center; max-width: 700px; margin: 0 auto; display: grid; justify-items: center; gap: 18px; }
319.aboutHero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -2.4px; font-weight: 900; margin: 8px 0 0; }
320.aboutHero p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
321.aboutActions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin-top: 6px; }
322.aboutSecondary { color: var(--text); font-weight: 750; }
323.aboutSecondary:hover { color: var(--accent); }
324.aboutSection { margin-top: 64px; }
325.aboutSection h2 { font-size: 26px; font-weight: 850; letter-spacing: -0.7px; margin: 0 0 20px; }
326.aboutSteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
327.aboutSteps li, .aboutCards article { display: grid; align-content: start; gap: 8px; padding: 20px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); }
328.aboutSteps strong, .aboutCards strong { font-size: 17px; font-weight: 800; }
329.aboutSteps p, .aboutCards p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
330.aboutIcon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 6px; border: 3px solid transparent; background: linear-gradient(#0d0d15, #0d0d15) padding-box, var(--glow-gradient) border-box; color: var(--accent); }
331.aboutCards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
332.aboutCards article > svg { color: var(--cyan); }
333.aboutList { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
334.aboutList li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
335.aboutList li > svg { flex: none; margin-top: 4px; color: var(--pink); }
336.aboutNote { margin: 22px 0 0; color: var(--faint); font-size: 14px; }
337.aboutCta { margin-top: 64px; text-align: center; display: grid; justify-items: center; gap: 16px; padding: 36px; border-radius: 28px; border: 3px solid transparent; background: linear-gradient(#0d0d15, #0d0d15) padding-box, var(--glow-gradient) border-box; }
338.aboutCta h2 { margin: 0; font-size: 26px; font-weight: 850; }
339​
340/* ---------- Motion ---------- */
341@keyframes spin { to { transform: rotate(360deg); } }
342@keyframes hint { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
343@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
344@keyframes pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
345@keyframes burst { 0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0; } 25% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -90%) scale(1); opacity: 0; } }
346​
347/* ---------- Small screens ---------- */
348@media (max-width: 1023px) {
349 .shell { grid-template-columns: minmax(0, 1fr); }
350 .rail { position: fixed; inset: auto 0 0 0; height: auto; flex-direction: row; justify-content: space-around; align-items: center; gap: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(7, 7, 12, 0.88); }
351 .railLogo, .railFooter { display: none; }
352 .navItem { flex: 1; flex-direction: column; justify-content: center; gap: 2px; padding: 5px 2px; font-size: 10.5px; background: none !important; }
353 .navMake .navIcon { width: 50px; height: 34px; border-radius: 12px; }
354 .navMake .navLabel { display: none; }
355 .navItem[data-active]::before { display: none; }
356 .aboutSteps, .aboutCards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
357 .desktopOnly { display: none !important; }
358 .navLabel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
359 .shellMain { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
360 .immersive .shellMain { padding-bottom: 0; }
361 .feedStage { padding: 0; width: 100%; }
362 .feedPhone { height: 100dvh; width: 100%; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
363 .feedCaption { padding: 100px 86px calc(76px + env(safe-area-inset-bottom)) 16px; }
364 .feedActions { position: absolute; right: 8px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 4; }
365 .feedCard[data-playing] .feedActions { display: none; }
366 .feedNav { display: none; }
367 .exitPlay { top: max(12px, env(safe-area-inset-top)); }
368 .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
369 .sharedLayout { flex-direction: column; gap: 28px; padding: 16px 16px 32px; }
370 .sharedPhone { width: 100%; max-width: 430px; height: 72dvh; border-radius: 24px; }
371 .sharedDetails { max-width: 430px; width: 100%; }
372 .community { padding: 8px 16px 56px; }
374@media (max-width: 639px) {
375 .page { padding: 28px 16px 48px; }
376 .narrowPage { padding: 28px 14px 48px; }
377 .cardGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
378 .appCard { border-radius: 16px; }
379 .discoverHero > p, .makeHero > p { font-size: 15px; }
380 .starterChips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
381 .starterChip { flex: none; }
382 .challenge { grid-template-columns: 1fr; padding: 22px; }
383 .challengeCover { display: none; }
384 .profileHeader { flex-direction: column; text-align: center; gap: 16px; }
385 .profileInfo { justify-items: center; }
386 .profileInfo h1 { font-size: 30px; }
387 .feedCaption h2 { font-size: 21px; }
388 .feedTab { padding: 7px 12px; font-size: 13.5px; }
389 .profilePage { padding: 24px 16px 48px; }
390 .aboutPage { padding: 32px 16px 56px; }
391 .aboutSteps, .aboutCards { grid-template-columns: 1fr; }
392 .postMedia { width: 78%; }
393 .postActions { gap: 16px; }
394 .profileSelf { flex-wrap: wrap; justify-content: center; }
395 .draftsHeader { flex-direction: column; align-items: flex-start; }