:root {
  --bg: #000;
  --surface: #080b0f;
  --surface-2: #101419;
  --line: #2f3336;
  --line-soft: #202327;
  --text: #e7e9ea;
  --muted: #71767b;
  --blue: #1d9bf0;
  --blue-soft: rgba(29, 155, 240, .12);
  --green: #00ba7c;
  --pink: #f91880;
  --gold: #d5a85b;
  --rail-left: 260px;
  --timeline: 640px;
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.svg-sprite { position: fixed; width: 0; height: 0; overflow: hidden; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { width: min(1265px, 100%); min-height: 100vh; margin: 0 auto; display: grid; grid-template-columns: var(--rail-left) minmax(0, var(--timeline)) minmax(290px, 365px); }
.left-rail { position: relative; }
.left-rail__inner { position: sticky; top: 0; height: 100vh; padding: 4px 20px 12px 8px; display: flex; flex-direction: column; }
.x-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; font-size: 30px; font-weight: 700; transition: background .2s; }
.x-mark:hover { background: #181818; }
.main-nav { display: grid; gap: 4px; margin-top: 4px; }
.nav-item { width: max-content; max-width: 100%; min-height: 50px; padding: 10px 16px 10px 12px; border: 0; border-radius: 999px; background: transparent; display: flex; align-items: center; gap: 20px; color: var(--text); font-size: 20px; text-align: left; cursor: pointer; transition: background .18s; }
.nav-item svg { width: 26px; height: 26px; }
.nav-item:hover { background: #181818; }
.nav-item.is-active { font-weight: 700; }
.nav-item.is-active svg { fill: currentColor; }
.compose-button { width: 218px; min-height: 52px; margin-top: 14px; border: 0; border-radius: 999px; background: var(--text); color: #0f1419; font-weight: 800; cursor: pointer; transition: transform .15s, background .15s; }
.compose-button:hover { background: #d7dbdc; }
.compose-button:active { transform: scale(.97); }
.compose-button svg { display: none; }
.account-switcher { width: 232px; min-height: 64px; margin-top: auto; padding: 8px 10px; border: 0; border-radius: 999px; background: transparent; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.account-switcher:hover { background: #181818; }
.account-switcher img { width: 42px; height: 42px; object-fit: cover; object-position: 52% 20%; border-radius: 50%; }
.account-switcher__text { min-width: 0; display: grid; }
.account-switcher__text strong, .account-switcher__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-switcher__text small { margin-top: 2px; color: var(--muted); }
.account-switcher > svg { margin-left: auto; }

.timeline { min-width: 0; border-inline: 1px solid var(--line); }
.profile-topbar { position: sticky; top: 0; z-index: 20; height: 54px; padding: 0 16px; background: rgba(0, 0, 0, .82); backdrop-filter: blur(13px); display: flex; align-items: center; gap: 24px; }
.icon-button, .circle-action { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; }
.icon-button:hover { background: #181818; }
.topbar-name { display: flex; align-items: center; gap: 4px; font-size: 20px; line-height: 1.1; font-weight: 800; }
.topbar-count { margin-top: 2px; color: var(--muted); font-size: 13px; }
.verified { width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; vertical-align: -3px; }
.verified svg { width: 13px; height: 13px; stroke-width: 3; }
.verified.small { width: 17px; height: 17px; flex: 0 0 auto; }
.verified.small svg { width: 11px; height: 11px; }

.profile-banner { position: relative; height: 220px; overflow: hidden; isolation: isolate; background-color: #132432; background-image: linear-gradient(90deg, rgba(3, 8, 13, .82) 0%, rgba(4, 11, 18, .2) 54%, rgba(4, 8, 11, .08)), radial-gradient(circle at 10% 19%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 31% 31%, #9dd5ff 0 1px, transparent 1.8px), radial-gradient(circle at 45% 73%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 69% 25%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 82% 68%, #9dd5ff 0 1px, transparent 1.8px), url("assets/sidereus-moon.jpg"); background-repeat: no-repeat, repeat, repeat, repeat, repeat, repeat, no-repeat; background-size: auto, 130px 130px, 170px 170px, 220px 220px, 250px 250px, 290px 290px, 52% auto; background-position: 0 0, 0 0, 30px 20px, 80px 0, 0 40px, 120px 20px, 108% 49%; filter: saturate(.8); }
.profile-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.62)), linear-gradient(90deg, rgba(0,0,0,.25), transparent 50%); }
.profile-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255,255,255,.08) 5px); }
.banner-copy { position: absolute; left: 28px; top: 34px; display: grid; max-width: 280px; text-shadow: 0 2px 18px #000; }
.banner-copy span { color: #84cbff; font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.banner-copy strong { margin-top: 6px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 4vw, 34px); font-weight: 500; line-height: 1.05; }
.orbit-sketch { position: absolute; right: -12px; top: 5px; width: 62%; height: 95%; color: rgba(196, 226, 245, .3); stroke-width: 1; }
.orbit-sketch circle:nth-of-type(1) { fill: rgba(213, 168, 91, .22); stroke: rgba(237, 204, 142, .7); }
.orbit-sketch circle:not(:first-of-type) { fill: #c7e9ff; stroke: none; }
.profile-content { padding: 0 16px 16px; }
.profile-action-row { min-height: 80px; display: flex; justify-content: space-between; align-items: flex-start; }
.profile-avatar { position: relative; z-index: 3; width: 146px; height: 146px; margin-top: -73px; border: 4px solid #000; border-radius: 50%; object-fit: cover; object-position: 52% 19%; background: #151515; }
.profile-actions { padding-top: 12px; display: flex; align-items: center; gap: 8px; }
.circle-action { width: 36px; height: 36px; border: 1px solid #536471; }
.circle-action:hover { background: rgba(239, 243, 244, .1); }
.follow-button { min-width: 92px; height: 36px; padding: 0 18px; border: 1px solid var(--text); border-radius: 999px; background: var(--text); color: #0f1419; font-weight: 800; cursor: pointer; }
.follow-button:hover { background: #d7dbdc; }
.follow-button[aria-pressed="true"] { min-width: 112px; background: transparent; color: var(--text); border-color: #536471; }
.follow-button[aria-pressed="true"]:hover { border-color: #67070f; background: rgba(244, 33, 46, .1); color: #f4212e; }
.identity h1 { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 22px; line-height: 1.18; }
.handle { margin-top: 2px; color: var(--muted); }
.education-label { width: max-content; max-width: 100%; margin: 14px 0 10px; padding: 6px 10px; border: 1px solid rgba(29, 155, 240, .35); border-radius: 999px; background: var(--blue-soft); color: #8ecdf7; font-size: 12px; font-weight: 700; letter-spacing: .015em; }
.education-label span { width: 7px; height: 7px; margin-right: 5px; display: inline-block; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(29,155,240,.13); }
.bio { max-width: 590px; margin: 0 0 12px; font-size: 15px; line-height: 1.38; }
.profile-metadata { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); }
.profile-metadata span, .profile-metadata a { display: flex; align-items: center; gap: 5px; }
.profile-metadata svg { width: 18px; height: 18px; }
.profile-metadata a { color: var(--blue); }
.profile-metadata a:hover { text-decoration: underline; }
.social-counts { margin-top: 13px; display: flex; gap: 20px; }
.social-counts button { padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.social-counts button:hover { text-decoration: underline; }
.social-counts strong { color: var(--text); }
.profile-tabs { height: 53px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.tab { position: relative; border: 0; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; }
.tab:hover { background: rgba(231, 233, 234, .08); }
.tab.is-active { color: var(--text); font-weight: 700; }
.tab.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 66px; height: 4px; transform: translateX(-50%); border-radius: 999px; background: var(--blue); }

.feed-status { display: none; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; }
.feed-status.is-visible { display: block; }
.post { position: relative; padding: 12px 16px 4px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; transition: background .18s; }
.post:hover { background: rgba(255,255,255,.018); }
.post[hidden] { display: none; }
.post-avatar-wrap { position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%; }
.post-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 52% 19%; }
.post-body { min-width: 0; }
.post-context { margin: -2px 0 4px -29px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.post-context svg { width: 16px; height: 16px; fill: currentColor; }
.post-heading { min-height: 23px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.post-author { min-width: 0; display: flex; align-items: center; gap: 4px; line-height: 1.3; }
.post-author strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-author > span:last-child { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.post-more { width: 30px; height: 30px; margin: -7px -7px 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.post-more:hover { background: var(--blue-soft); color: var(--blue); }
.post-body > p { margin: 0 0 3px; font-size: 15px; line-height: 1.36; }
.post-body > .hashtags { margin-top: 5px; color: var(--blue); }
.post em { font-family: Georgia, "Times New Roman", serif; }
.post-actions { max-width: 520px; height: 42px; margin: 5px 0 0 -8px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.post-actions button { min-width: 44px; height: 34px; padding: 0 6px; border: 0; border-radius: 999px; background: transparent; color: inherit; display: flex; align-items: center; gap: 4px; font-size: 12px; cursor: pointer; }
.post-actions svg { width: 18px; height: 18px; }
.post-actions button:hover { background: var(--blue-soft); color: var(--blue); }
.post-actions button[data-action="repost"]:hover, .post-actions button[data-action="repost"][aria-pressed="true"] { background: rgba(0,186,124,.1); color: var(--green); }
.post-actions button[data-action="like"]:hover, .post-actions button[data-action="like"][aria-pressed="true"] { background: rgba(249,24,128,.1); color: var(--pink); }
.post-actions button[data-action="like"][aria-pressed="true"] svg, .post-actions button[data-action="bookmark"][aria-pressed="true"] svg { fill: currentColor; }
.post-actions button[data-action="bookmark"][aria-pressed="true"] { color: var(--blue); }
.post-actions.compact { max-width: 410px; }

.jupiter-card { position: relative; height: 270px; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 54% 43%, #17264a 0, #080d1d 23%, #02040a 75%); }
.space-noise { position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(circle at 12% 18%, white 0 1px, transparent 1.5px), radial-gradient(circle at 81% 24%, white 0 1px, transparent 1.5px), radial-gradient(circle at 34% 67%, #8ebee9 0 1px, transparent 1.5px), radial-gradient(circle at 72% 77%, white 0 1px, transparent 1.5px), radial-gradient(circle at 93% 54%, white 0 1px, transparent 1.5px); background-size: 120px 100px, 160px 130px, 190px 160px, 210px 180px, 240px 210px; }
.jupiter { position: absolute; z-index: 5; left: 50%; top: 45%; width: 78px; height: 78px; transform: translate(-50%, -50%); overflow: hidden; border-radius: 50%; background: repeating-linear-gradient(0deg, #c8955c 0 8px, #ead0a9 9px 16px, #a96543 17px 21px, #e4bd84 22px 29px); box-shadow: inset -18px -5px 20px rgba(28,12,16,.72), -5px 0 25px rgba(241,194,126,.22); }
.jupiter::after { content: ""; position: absolute; right: 13px; bottom: 20px; width: 20px; height: 8px; border-radius: 50%; background: #9e412e; filter: blur(.4px); }
.jupiter span { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.23), transparent 40%, rgba(0,0,0,.25)); }
.orbit { position: absolute; z-index: 3; left: 50%; top: 45%; height: 1px; transform: translate(-50%, -50%); border-top: 1px solid rgba(142, 190, 233, .25); }
.orbit-1 { width: 132px; }.orbit-2 { width: 200px; }.orbit-3 { width: 290px; }.orbit-4 { width: 410px; }
.moon { position: absolute; top: 0; border-radius: 50%; transform: translate(-50%, -50%); background: #d9e2e7; box-shadow: 0 0 8px rgba(255,255,255,.65); }
.io { left: 8%; width: 8px; height: 8px; background: #e7c45f; }
.europa { left: 92%; width: 7px; height: 7px; background: #e8cda5; }
.ganymede { left: 10%; width: 11px; height: 11px; background: #9d8771; }
.callisto { left: 96%; width: 9px; height: 9px; background: #716253; }
.moon-labels { position: absolute; z-index: 6; left: 20px; top: 17px; display: flex; gap: 13px; color: #9bcff3; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.media-caption { position: absolute; z-index: 7; inset: auto 0 0; padding: 20px 18px 13px; background: linear-gradient(transparent, rgba(0,0,0,.9)); display: grid; }
.media-caption strong { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.media-caption span { margin-top: 2px; color: #9da9b2; font-size: 12px; }
.photo-card { position: relative; margin: 12px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.photo-card img { width: 100%; height: 294px; display: block; object-fit: cover; }
.photo-card figcaption { position: absolute; inset: auto 0 0; padding: 36px 15px 13px; background: linear-gradient(transparent, rgba(0,0,0,.92)); display: grid; }
.photo-card figcaption strong { font-size: 15px; }
.photo-card figcaption span { margin-top: 2px; color: #b3bcc2; font-size: 12px; }
.moon-card { background: #d8ccb5; }
.moon-card img { height: 310px; object-fit: contain; mix-blend-mode: multiply; }
.venus-card { position: relative; min-height: 180px; margin-top: 12px; padding: 38px 20px 64px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 50% 35%, #1d2740, #070a10 70%); display: flex; align-items: center; justify-content: space-between; gap: 12px; overflow: hidden; }
.phase { position: relative; z-index: 2; width: clamp(22px, 5vw, 40px); aspect-ratio: 1; border-radius: 50%; background: #f4db9a; box-shadow: 0 0 16px rgba(244, 219, 154, .2); }
.phase::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #080c17; }
.phase-1::after { transform: translateX(-2px); }.phase-2::after { transform: translateX(6px); }.phase-3::after { transform: translateX(14px); }.phase-4::after { transform: translateX(80%); }.phase-5::after { transform: translateX(15px); left: auto; width: 12px; }.phase-6::after { transform: translateX(5px); left: auto; width: 7px; }.phase-7::after { display: none; }
.venus-title { position: absolute; inset: auto 15px 12px; z-index: 3; display: grid; }
.venus-title strong { font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.venus-title span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.book-card { min-height: 210px; margin-top: 12px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 25px; }
.dialogue-book { background: linear-gradient(135deg, #3b251d, #110d0c 72%); }
.book-cover { position: relative; width: 128px; height: 162px; padding: 22px 10px; transform: rotate(-5deg); border: 5px double #a77e43; background: #d7bd86; color: #342313; display: grid; align-content: space-between; text-align: center; font-family: Georgia, serif; box-shadow: 11px 12px 25px rgba(0,0,0,.5); }
.book-cover::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(52,35,19,.55); }
.book-cover span { position: relative; font-size: 18px; font-weight: 800; letter-spacing: .12em; }
.book-cover i { position: relative; font-size: 11px; font-style: normal; }
.book-card > div:last-child { display: grid; }
.book-card .eyebrow { color: #d8a85f; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.book-card > div:last-child strong { margin-top: 10px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.12; }
.book-card > div:last-child small { margin-top: 13px; color: #bbb0a2; }
.sciences-book { background: linear-gradient(135deg, #102b38, #071116 75%); }
.formula-art { position: relative; width: 145px; height: 145px; border: 1px solid rgba(123,197,225,.35); border-radius: 50%; display: grid; place-items: center; }
.formula-art::before, .formula-art::after { content: ""; position: absolute; left: 50%; top: 50%; width: 105px; height: 105px; transform: translate(-50%,-50%) rotate(35deg); border: 1px solid rgba(123,197,225,.28); border-radius: 50%; }
.formula-art::after { transform: translate(-50%,-50%) rotate(-35deg); }
.formula-art span { z-index: 2; font: italic 25px Georgia, serif; color: #a7e1f7; }
.formula-art i, .formula-art b { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #d5a85b; box-shadow: 0 0 14px #d5a85b; }
.formula-art i { left: 11px; top: 66px; }.formula-art b { right: 9px; bottom: 45px; }
.context-card { margin-top: 12px; padding: 13px 15px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(213,168,91,.08); }
.context-card span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.context-card p { margin: 6px 0 0; color: #c9c1b4; font-size: 13px; line-height: 1.4; }

.reply-post { background: rgba(29,155,240,.025); }
.reply-line { position: absolute; left: 39px; top: -24px; width: 2px; height: 33px; background: #3b4248; }
.initials, .mini-avatar { display: grid; place-items: center; color: #fff; font-family: Georgia, serif; font-weight: 800; }
.kepler { background: linear-gradient(135deg, #6d3431, #c17b4b); }.castelli { background: linear-gradient(135deg, #244d48, #62a695); }.celeste { background: linear-gradient(135deg, #343761, #7d75bb); }
.replying-to { margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.replying-to span { color: var(--blue); }
.recreation-badge { flex: 0 0 auto; padding: 3px 7px; border: 1px solid rgba(29,155,240,.35); border-radius: 999px; color: #72c1f5 !important; font-size: 10px; font-weight: 700; }
.not-a-quote { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.sources-panel { border-bottom: 1px solid var(--line); }
.sources-panel summary { padding: 17px 20px; color: var(--blue); font-weight: 700; cursor: pointer; }
.sources-content { padding: 0 22px 22px; color: #b2bbc2; font-size: 13px; line-height: 1.5; }
.sources-content h2 { margin: 18px 0 5px; color: var(--text); font-size: 15px; }
.sources-content ul { margin: 6px 0; padding-left: 21px; }
.sources-content li { margin: 5px 0; }
.sources-content a { color: var(--blue); }
.sources-content a:hover { text-decoration: underline; }

.right-rail { position: relative; }
.right-rail__inner { position: sticky; top: 0; max-height: 100vh; padding: 5px 0 40px 26px; overflow-y: auto; scrollbar-width: none; }
.right-rail__inner::-webkit-scrollbar { display: none; }
.search-box { position: sticky; top: 5px; z-index: 10; height: 45px; margin-right: 10px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; background: #202327; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.search-box:focus-within { border-color: var(--blue); background: #000; color: var(--blue); }
.search-box svg { flex: 0 0 auto; width: 19px; height: 19px; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-box input::placeholder { color: var(--muted); }
.clear-search { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #00111d; display: none; cursor: pointer; line-height: 1; }
.search-box.has-value .clear-search { display: grid; place-items: center; }
.side-card { margin: 16px 10px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.side-card > h2 { margin: 0; padding: 13px 16px 10px; font-size: 20px; }
.epoch-card { position: relative; min-height: 234px; padding: 21px 18px; isolation: isolate; background: linear-gradient(145deg, #152a38 0%, #0b1821 55%, #090b0e); }
.epoch-card::after { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .7; background-image: radial-gradient(circle at 14% 22%, white 0 1px, transparent 1px), radial-gradient(circle at 75% 19%, #8bcfff 0 1px, transparent 1.5px), radial-gradient(circle at 55% 77%, white 0 1px, transparent 1px); background-size: 110px 90px, 160px 140px, 190px 170px; }
.side-kicker { color: #79c6f7; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.epoch-card h2 { position: relative; z-index: 2; margin: 14px 0 9px; padding: 0; font: 500 29px/1.02 Georgia, serif; }
.epoch-card p { position: relative; z-index: 2; max-width: 235px; margin: 0; color: #9fafba; font-size: 13px; line-height: 1.4; }
.epoch-card a { position: absolute; left: 18px; bottom: 18px; z-index: 2; color: var(--blue); font-size: 13px; font-weight: 700; }
.epoch-card a:hover { text-decoration: underline; }
.epoch-orbit { position: absolute; right: -25px; top: 31px; width: 155px; height: 155px; border: 1px solid rgba(116,191,237,.25); border-radius: 50%; transform: rotate(-20deg); }
.epoch-orbit::before, .epoch-orbit::after { content: ""; position: absolute; inset: 19px -13px; border: 1px solid rgba(116,191,237,.18); border-radius: 50%; }
.epoch-orbit::after { inset: 42px -28px; }
.epoch-orbit span { position: absolute; left: 50%; top: 50%; width: 43px; height: 43px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f2c77c, #9c5f35); box-shadow: 0 0 28px rgba(213,168,91,.25); }
.epoch-orbit i, .epoch-orbit b { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #d3e9f5; box-shadow: 0 0 8px white; }
.epoch-orbit i { left: -4px; top: 72px; }.epoch-orbit b { right: 8px; bottom: 28px; }
.follow-suggestion { min-height: 64px; padding: 10px 14px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.follow-suggestion:hover { background: rgba(255,255,255,.035); }
.mini-avatar { width: 42px; height: 42px; border-radius: 50%; font-size: 13px; }
.follow-suggestion > div:nth-child(2) { min-width: 0; display: grid; }
.follow-suggestion strong, .follow-suggestion small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follow-suggestion strong { font-size: 14px; }
.follow-suggestion small { color: var(--muted); }
.follow-suggestion button { height: 32px; min-width: 70px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--text); color: #111; font-size: 13px; font-weight: 800; cursor: pointer; }
.follow-suggestion button.is-following { border: 1px solid #536471; background: transparent; color: var(--text); }
.show-more { width: 100%; padding: 14px 16px; border: 0; background: transparent; color: var(--blue); text-align: left; cursor: pointer; }
.show-more:hover { background: rgba(255,255,255,.035); }
.trends-card button { width: 100%; padding: 10px 16px; border: 0; background: transparent; display: grid; text-align: left; cursor: pointer; }
.trends-card button:hover { background: rgba(255,255,255,.035); }
.trends-card small, .trends-card span { color: var(--muted); font-size: 12px; }
.trends-card strong { margin: 2px 0; }
.side-fact { margin: 16px 12px 0 2px; padding: 13px 14px; border-left: 2px solid var(--gold); color: var(--muted); font-size: 12px; }
.side-fact span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.side-fact p { margin: 6px 0 0; line-height: 1.45; }
.page-footer { margin: 12px 18px 0 5px; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 12px; }
.page-footer a:hover { text-decoration: underline; }

.mobile-nav { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; max-width: min(430px, calc(100% - 32px)); padding: 12px 18px; transform: translate(-50%, 22px); border: 1px solid #38444d; border-radius: 999px; background: #1d9bf0; color: #fff; font-weight: 700; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 8px 35px rgba(0,0,0,.5); }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1100px) {
  :root { --rail-left: 88px; }
  .app-shell { grid-template-columns: var(--rail-left) minmax(0, 640px) minmax(285px, 350px); justify-content: center; }
  .left-rail__inner { align-items: center; padding-inline: 8px; }
  .nav-item { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .nav-item span, .account-switcher__text, .account-switcher > svg { display: none; }
  .compose-button { width: 50px; height: 50px; padding: 0; display: grid; place-items: center; }
  .compose-button span { display: none; }.compose-button svg { display: block; width: 22px; height: 22px; }
  .account-switcher { width: 56px; padding: 7px; }
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 88px minmax(0, 640px); }
  .right-rail { display: none; }
}

@media (max-width: 680px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body { padding-bottom: 58px; }
  .app-shell { display: block; width: 100%; }
  .left-rail { display: none; }
  .timeline, .profile-card, .profile-content, .profile-action-row, .feed { width: 100%; max-width: 100%; }
  .timeline { border: 0; overflow-x: hidden; }
  .profile-topbar { height: 50px; border-bottom: 1px solid rgba(47,51,54,.7); }
  .profile-banner { height: 180px; }
  .banner-copy { left: 18px; top: 28px; }
  .banner-copy strong { font-size: 25px; }
  .profile-avatar { flex: 0 0 auto; width: 120px; height: 120px; margin-top: -60px; }
  .profile-action-row { min-height: 70px; }
  .profile-actions { flex: 0 0 auto; padding-top: 9px; }
  .circle-action:nth-child(2) { display: none; }
  .education-label { white-space: normal; border-radius: 12px; }
  .post { padding-inline: 12px; grid-template-columns: 44px minmax(0,1fr); gap: 9px; }
  .post-avatar-wrap, .post-avatar { width: 44px; height: 44px; }
  .post-author { flex-wrap: wrap; gap: 2px 4px; }
  .post-author strong { max-width: 75%; }
  .post-author > span:last-child { width: 100%; }
  .post-context { margin-left: -25px; }
  .photo-card img { height: 230px; }
  .moon-card img { height: 250px; }
  .jupiter-card { height: 240px; }
  .orbit-4 { width: 330px; }
  .book-card { grid-template-columns: 110px 1fr; gap: 16px; padding: 17px; }
  .book-cover { width: 100px; height: 137px; padding: 18px 7px; }
  .book-cover span { font-size: 14px; }
  .book-card > div:last-child strong { font-size: 19px; }
  .formula-art { width: 105px; height: 105px; }
  .formula-art::before, .formula-art::after { width: 78px; height: 78px; }
  .post-actions button { min-width: 34px; padding-inline: 4px; }
  .post-actions button[data-action="views"] { display: none; }
  .recreation-badge { margin-left: auto; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 50; height: 56px; border-top: 1px solid var(--line); background: rgba(0,0,0,.92); backdrop-filter: blur(13px); display: grid; grid-template-columns: repeat(4, 1fr); }
  .mobile-nav a, .mobile-nav button { border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
  .mobile-nav svg { width: 24px; height: 24px; }
  .toast { bottom: 72px; border-radius: 14px; }
}

@media (max-width: 430px) {
  .profile-banner { height: 155px; }
  .banner-copy span { font-size: 9px; }
  .banner-copy strong { max-width: 230px; font-size: 21px; }
  .profile-avatar { width: 104px; height: 104px; margin-top: -52px; }
  .profile-action-row { min-height: 61px; }
  .profile-actions { gap: 5px; }
  .circle-action { width: 34px; height: 34px; }
  .follow-button { min-width: 80px; height: 34px; padding-inline: 14px; }
  .profile-metadata { display: grid; }
  .venus-card { padding-inline: 12px; gap: 7px; }
  .phase { width: 25px; }
  .book-card { grid-template-columns: 88px 1fr; }
  .book-cover { width: 82px; height: 116px; }
  .formula-art { width: 86px; height: 86px; }
  .formula-art::before, .formula-art::after { width: 62px; height: 62px; }
  .formula-art span { font-size: 18px; }
  .post-actions button[data-action="bookmark"] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
