:root { color-scheme: light; font-family: Inter, "Segoe UI", system-ui, sans-serif; color: #24231f; background: #f3f2ec; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, textarea, input { font: inherit; }
button { border: 0; border-radius: 999px; padding: 11px 18px; color: #fff; background: #6f54c5; font-weight: 760; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
#app { width: min(1060px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 19px; font-weight: 800; }
.brand-logo { display: block; width: 38px; height: 38px; object-fit: contain; }
.secondary { background: #e8e5dd; color: #37352e; }
.owner-badge, .state { border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 750; background: #e8e3f9; color: #59429d; }
.landing, .loading { max-width: 720px; margin: 10vh auto 0; background: #fff; border: 1px solid #dfddd4; border-radius: 24px; padding: clamp(26px, 6vw, 56px); box-shadow: 0 18px 48px rgba(37, 35, 28, .07); }
.landing .brand { margin-bottom: 62px; }
.sign-in-shell { min-height: calc(100vh - 56px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); overflow: hidden; border: 1px solid #dde2e8; border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(35, 44, 59, .1); }
.feed-showcase { display: grid; place-items: center; min-width: 0; margin: 0; padding: clamp(24px, 4vw, 58px); background: linear-gradient(145deg, #eef7ff, #f7fbff 56%, #edf6f1); }
.showcase-art { position: relative; container-type: inline-size; width: min(100%, 620px); }
.showcase-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 28px rgba(51, 75, 105, .12)); }
.showcase-product { position: absolute; left: 17.5%; top: 5%; display: flex; align-items: center; width: 28%; height: 11%; padding-left: 1.5%; color: #4f5c6c; background: #fff; font-size: clamp(10px, 3.4cqw, 20px); font-weight: 700; white-space: nowrap; }
.sign-in-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding: clamp(34px, 6vw, 74px); }
.sign-in-copy > p:not(.error) { max-width: 460px; color: #66645c; line-height: 1.6; }
.feed-wordmark { position: relative; width: 282px; height: 90px; margin-bottom: 48px; overflow: hidden; }
.feed-wordmark img { position: absolute; inset: 0; width: 282px; height: 90px; object-fit: cover; object-position: left; clip-path: inset(0 192px 0 0); }
.feed-wordmark > span { position: absolute; left: 98px; top: 16px; color: #202833; font-size: 43px; font-weight: 760; letter-spacing: -.035em; white-space: nowrap; }
.redirect-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; color: #4b5870; font-size: 14px; font-weight: 700; }
.redirect-status > span { width: 18px; height: 18px; border: 2px solid #b8c9df; border-top-color: #2f8df4; border-radius: 50%; animation: redirect-spin .8s linear infinite; }
.sign-in-copy .fine-print { max-width: 440px; margin-top: 30px; }
@keyframes redirect-spin { to { transform: rotate(360deg); } }
.eyebrow { color: #6f54c5; font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 10px 0; }
h2 { margin: 5px 0 0; font-size: 21px; }
.lede { max-width: 580px; color: #66645c; line-height: 1.6; font-size: 18px; margin-bottom: 26px; }
.fine-print { color: #807d73; font-size: 13px; margin-top: 28px; }
.profile-card, .composer, .post, .aside-card { background: #fff; border: 1px solid #dfddd4; border-radius: 20px; overflow: hidden; }
.cover { display: block; width: 100%; height: 190px; object-fit: cover; }
.cover.fallback { background: linear-gradient(130deg, #d8cdf7, #ece7ff 48%, #dfe9dc); }
.profile-body { display: flex; align-items: end; gap: 18px; padding: 0 28px 28px; }
.avatar { width: 96px; height: 96px; margin-top: -44px; border: 5px solid #fff; border-radius: 30px; object-fit: cover; background: #ede8fb; }
.avatar.fallback { display: grid; place-items: center; color: #59429d; font-size: 28px; font-weight: 850; }
.profile-body h1 { font-size: 28px; margin: 0; }
.handle { margin: 3px 0; color: #6e6b63; }
.did { display: flex; align-items: center; gap: 7px; margin: 7px 0 0; color: #79766d; font: 12px ui-monospace, monospace; }
.did-dot { width: 9px; height: 9px; border-radius: 3px; background: #6f54c5; }
.composer { margin: 20px 0; padding: 24px; }
.composer label { display: block; font-weight: 780; margin-bottom: 10px; }
textarea { width: 100%; min-height: 120px; resize: vertical; border: 1px solid #d6d3c9; border-radius: 14px; padding: 14px; color: inherit; background: #fcfbf8; }
textarea:focus { outline: 3px solid rgba(111, 84, 197, .18); border-color: #6f54c5; }
.composer-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.publish-choice { display: flex !important; align-items: center; gap: 8px; margin: 0 auto 0 0 !important; font-size: 14px; }
#counter { color: #79766d; font-size: 12px; }
.feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; margin-top: 26px; align-items: start; }
.feed-layout > div { min-width: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 0 4px 14px; }
.section-heading > span { color: #77746c; font-size: 13px; }
.post-list, aside { display: grid; gap: 14px; }
.post { padding: 22px; }
.post > p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; margin: 0; font-size: 17px; }
.post footer { display: flex; gap: 14px; margin-top: 16px; color: #7c796f; font-size: 12px; }
.post footer a { color: #6048aa; }
.aside-card { padding: 20px; }
.draft-list { display: grid; gap: 10px; margin-top: 16px; }
.draft { border-top: 1px solid #ebe8df; padding-top: 13px; }
.draft > p { margin: 0 0 10px; overflow-wrap: anywhere; color: #4d4b45; font-size: 14px; }
.draft > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.state { padding: 4px 8px; }
.state.private { color: #5f5b52; background: #ebe9e2; }
.text-button { padding: 4px; color: #6048aa; background: transparent; font-size: 12px; }
.distribution { background: #f2eefc; border-color: #ded5f5; }
.distribution p { color: #615a71; font-size: 13px; line-height: 1.5; margin-bottom: 0; }
.empty { padding: 36px; border: 1px dashed #cbc8bd; border-radius: 16px; color: #77746b; text-align: center; }
.error { color: #a23e35; }
@media (max-width: 800px) { .feed-layout { grid-template-columns: 1fr; } .cover { height: 145px; } .sign-in-shell { grid-template-columns: 1fr; } .feed-showcase { min-height: 340px; padding-bottom: 0; } .sign-in-copy { padding-top: 42px; } }
@media (max-width: 560px) { #app { width: min(100% - 20px, 1060px); padding-top: 14px; } .profile-body { align-items: start; padding: 0 18px 20px; } .avatar { width: 78px; height: 78px; border-radius: 24px; } .composer-actions { flex-wrap: wrap; } .publish-choice { width: 100%; } .sign-in-shell { min-height: calc(100vh - 28px); border-radius: 22px; } .feed-showcase { min-height: 270px; padding: 20px 20px 0; } .sign-in-copy { padding: 34px 24px 40px; } .feed-wordmark { margin-bottom: 34px; transform: scale(.83); transform-origin: left center; } }
