@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: #242321;
  background: #f5f4f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #242321;
  --muted: #89877f;
  --line: #e8e5de;
  --paper: #fffefa;
  --accent: #784bdb;
  --accent-light: #eee8ff;
  --green: #b7d99a;
  --coral: #ff917a;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 360px; }

button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #9c7cf0;
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.topbar {
  height: 74px;
  padding: 0 4.6vw;
  display: grid;
  grid-template-columns: 220px minmax(240px, 520px) 1fr;
  align-items: center;
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 8;
  background: #fffefaed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font: 800 24px/1 Manrope, sans-serif; letter-spacing: -.08em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px 12px 12px 4px; background: var(--accent); color: white; font: 800 23px/1 Georgia, serif; letter-spacing: -.06em; transform: rotate(-5deg); }
.brand-period { color: var(--coral); }
.global-search { height: 41px; padding: 0 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #ece9e2; border-radius: 12px; background: #f8f7f3; color: var(--muted); }
.global-search svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.global-search input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.global-search kbd { min-width: 22px; padding: 2px 6px; border: 1px solid #e4e1da; border-radius: 5px; background: #fff; color: #88857e; text-align: center; font: 11px "DM Sans", sans-serif; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.create-button { min-height: 39px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.create-button:hover { background: #6337c0; transform: translateY(-1px); }
.create-button > span { font-size: 17px; line-height: 1; }
.profile-chip { padding: 0; display: flex; align-items: center; gap: 9px; border: 0; background: none; font-size: 12px; font-weight: 700; cursor: pointer; }
.avatar { width: 33px; height: 33px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 50%; background: #eee7fc; color: #6740bb; font: 700 12px Manrope, sans-serif; }
.avatar-image { width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: cover; }
.avatar-me { background: #ffe0d5; color: #8d4a39; }
.avatar-sage { background: #dae8ce; color: #47733e; }
.avatar-coral { background: #ffe1d7; color: #a4503e; }
.avatar-blue { background: #dce5f6; color: #526993; }
.avatar-lilac { background: #ece1ff; color: #784bdb; }
.avatar-gold { background: #f3e5b7; color: #88702a; }

.app-shell { width: min(1510px, 100%); margin: 0 auto; padding: 0 4.6vw; display: grid; grid-template-columns: 205px minmax(0, 670px) 280px; justify-content: space-between; gap: 32px; }
.sidebar { min-height: calc(100vh - 74px); padding: 27px 0 20px; display: flex; flex-direction: column; position: sticky; top: 74px; align-self: start; }
.primary-nav { display: grid; gap: 5px; }
.nav-link { min-height: 43px; padding: 0 13px; display: flex; align-items: center; gap: 13px; border: 0; border-radius: 10px; background: transparent; color: #706e68; text-align: left; font-size: 13px; cursor: pointer; }
.nav-link:hover { background: #eeece7; color: var(--ink); }
.nav-link.is-active { background: var(--accent-light); color: #6038ba; font-weight: 700; }
.nav-icon { width: 20px; text-align: center; font-size: 21px; line-height: 1; }
.nav-icon-svg { height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-section { margin-top: 40px; }
.sidebar-heading { margin: 0 8px 13px; display: flex; justify-content: space-between; align-items: center; color: #98958d; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.sidebar-heading button { width: 25px; height: 25px; border: 0; border-radius: 7px; background: #ebe8e2; color: #6a6760; cursor: pointer; }
.circle-link { width: 100%; padding: 9px 8px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: transparent; color: #58564f; text-align: left; font-size: 11px; cursor: pointer; }
.circle-link:hover { background: #eeece7; }
.circle-link > span { margin-left: auto; color: #a6a39c; font-size: 10px; }
.circle-dot { width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); }
.dot-lilac { background: #a988ec; }.dot-orange { background: #f49b74; }.dot-green { background: #91c277; }
.new-circle { margin: 7px 8px; padding: 7px 0; border: 0; background: none; color: #817e76; text-align: left; font-size: 10px; cursor: pointer; }
.new-circle:hover { color: var(--accent); }
.sidebar-bottom { margin-top: auto; }
.invite-card { padding: 16px; border: 1px solid #e8e1d5; border-radius: 13px; background: #efebe3; }
.invite-spark { width: 27px; height: 27px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 8px; background: #fbdc98; color: #795822; font-size: 18px; }
.invite-card strong { display: block; font: 700 13px/1.35 Manrope, sans-serif; }
.invite-card p { margin: 6px 0 12px; color: #77736a; font-size: 10px; line-height: 1.45; }
.invite-card button { padding: 0; border: 0; background: none; color: #6740bb; font-size: 10px; font-weight: 700; cursor: pointer; }
.invite-card button span { padding-left: 5px; }
.sidebar-footnote { margin: 14px 8px 0; display: block; color: #aaa69d; font-size: 9px; }

.main-content { min-width: 0; padding: 26px 0 60px; }
.welcome-banner { min-height: 220px; padding: 29px 32px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; border-radius: 17px; background: #2c2342; color: #fff; }
.welcome-banner::before { width: 370px; height: 370px; position: absolute; top: -190px; right: 12%; border: 1px solid #ffffff20; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff08, 0 0 0 66px #ffffff06; content: ""; }
.welcome-copy { position: relative; z-index: 1; max-width: 350px; }
.section-kicker { color: #969189; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.welcome-copy .section-kicker { color: #d4c3ff; }
.section-kicker i { width: 6px; height: 6px; margin-left: 5px; display: inline-block; border-radius: 50%; background: #b5d89b; vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
.welcome-copy h1, .page-heading h1 { margin: 12px 0 8px; font: 700 clamp(32px, 4vw, 42px)/1.08 Manrope, sans-serif; letter-spacing: -.055em; }
.welcome-copy h1 em, .page-heading h1 em { color: #c9b2ff; font-family: var(--serif); font-weight: 400; }
.welcome-copy p { margin: 0; color: #d0cbd9; font-size: 12px; line-height: 1.55; }
.welcome-art { width: 195px; height: 185px; flex: 0 0 auto; position: relative; }
.sun-shape { width: 104px; height: 104px; position: absolute; top: 34px; right: 34px; border-radius: 44% 56% 59% 41% / 43% 44% 56% 57%; background: #ffc48f; transform: rotate(-15deg); }
.orbit { position: absolute; top: 30px; right: 0; width: 172px; height: 112px; border: 1px solid #e4d7ff70; border-radius: 50%; transform: rotate(-35deg); }
.orbit-two { top: 13px; right: 12px; width: 145px; height: 150px; border-color: #e4d7ff35; transform: rotate(33deg); }
.welcome-label { position: absolute; top: 65px; right: 61px; color: #594334; font: 800 11px/1.1 Manrope, sans-serif; letter-spacing: .14em; }
.welcome-spark { position: absolute; color: #d3baff; }
.spark-one { top: 20px; left: 25px; font-size: 22px; }.spark-two { right: 14px; bottom: 17px; color: #b8d89b; font-size: 26px; }

.stories-section { margin-top: 31px; }
.section-title-row, .feed-heading, .rail-title-row { display: flex; align-items: end; justify-content: space-between; }
.section-title-row h2, .feed-heading h2, .rail-title-row h2 { margin: 5px 0 0; font: 700 19px/1.2 Manrope, sans-serif; letter-spacing: -.04em; }
.text-button { padding: 6px 0; border: 0; background: none; color: #7d59c6; font-size: 10px; font-weight: 700; cursor: pointer; }
.text-button span { margin-left: 4px; }
.story-list { margin-top: 16px; padding: 1px 0 4px; display: flex; gap: 16px; overflow-x: auto; }
.story-item { width: 64px; flex: 0 0 auto; padding: 0; border: 0; background: none; text-align: center; cursor: pointer; }
.story-avatar { width: 55px; height: 55px; margin: 0 auto 7px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #c5acee; font: 700 16px Manrope, sans-serif; }
.story-item:first-child .story-avatar { border: 1.5px dashed #aa9d85; box-shadow: none; background: #f0eee7; color: #858074; font-size: 24px; }
.story-name { display: block; overflow: hidden; color: #737169; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.story-item:hover .story-avatar { transform: translateY(-2px); }

.feed-section { margin-top: 34px; }
.feed-heading { align-items: end; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.feed-tabs { display: flex; gap: 4px; }
.feed-tab { padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: #89867f; font-size: 10px; cursor: pointer; }
.feed-tab.is-active { background: #eae4f7; color: #6740bb; font-weight: 700; }
.post-list { display: grid; gap: 16px; margin-top: 16px; }
.post-card { padding: 17px; border: 1px solid #eae7e0; border-radius: 14px; background: var(--paper); }
.post-header { display: flex; align-items: center; gap: 9px; }
.post-author { min-width: 0; display: grid; gap: 2px; }
.post-author strong { font-size: 11px; }
.post-author span { color: #99968e; font-size: 9px; }
.post-menu { margin-left: auto; border: 0; background: none; color: #88847d; font-size: 19px; cursor: pointer; }
.post-copy { margin: 13px 0 12px; color: #58564f; font-size: 11px; line-height: 1.55; }
.post-copy .topic-tag { color: #7553bc; font-weight: 600; }
.post-art { min-height: 250px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 10px; isolation: isolate; }
.art-text { position: relative; z-index: 1; color: #fff; text-align: center; text-shadow: 0 2px 12px #29202b55; }
.art-text strong { display: block; font: 700 22px/1.1 var(--serif); }
.art-text span { margin-top: 8px; display: block; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.art-studio { background: radial-gradient(ellipse at 63% 73%, #f9d2a4 0 13%, transparent 13.5%), radial-gradient(ellipse at 35% 20%, #facb84 0 9%, transparent 9.5%), linear-gradient(140deg, #b27c83, #4b3b56 58%, #252942); }
.art-studio::before { width: 140px; height: 190px; position: absolute; right: 18%; bottom: -34px; border-radius: 70px 70px 15px 15px; background: linear-gradient(90deg, #e1b285, #f8d7ac); box-shadow: -128px 42px 0 -49px #efcc9a; content: ""; transform: rotate(-8deg); }
.art-garden { background: radial-gradient(circle at 54% 37%, #f9dba4 0 5%, transparent 5.5%), linear-gradient(180deg, #b4d2a2, #6d9470 55%, #446b55); }
.art-garden::before { width: 8px; height: 190px; position: absolute; bottom: -55px; left: 52%; border-radius: 50%; background: #d5bb78; box-shadow: -38px 28px 0 -2px #99b573, 36px 39px 0 -2px #9fbf7f, 68px 55px 0 -1px #b3c58a, -78px 62px 0 -1px #a4ba77; content: ""; transform: rotate(10deg); }
.art-coffee { background: radial-gradient(ellipse at 50% 67%, #c89362 0 19%, transparent 19.5%), radial-gradient(ellipse at 50% 65%, #f0d7b4 0 26%, transparent 26.5%), linear-gradient(135deg, #e9b08e, #9e6d5f 55%, #564853); }
.art-coffee::before { width: 75px; height: 60px; position: absolute; top: 77px; left: calc(50% - 37px); border: 10px solid #f1e2cd; border-top: 0; border-radius: 0 0 22px 22px; content: ""; }
.art-video { background: radial-gradient(ellipse at 60% 61%, #f7c278 0 14%, transparent 14.5%), linear-gradient(142deg, #7288aa, #3c526f 48%, #253547); }
.art-video::before { width: 90px; height: 90px; position: absolute; bottom: -34px; left: 18%; border-radius: 50%; background: #a5b784; box-shadow: 130px -12px 0 10px #d39773; content: ""; }
.art-upload { background: linear-gradient(135deg, #b9a2ef, #efd8c4); }
.art-upload::before { content: "✦"; color: #fff; font-size: 90px; opacity: .8; }
.post-badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 8px; border: 1px solid #ffffff3d; border-radius: 6px; background: #231d2790; color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.post-play { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 38px; height: 38px; border: 1px solid #ffffff80; border-radius: 50%; background: #fff3; color: #fff; font-size: 14px; cursor: pointer; }
.post-actions { padding-top: 11px; display: flex; align-items: center; gap: 14px; }
.post-action { padding: 3px 0; display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: #716e67; font-size: 10px; cursor: pointer; }
.post-action:hover { color: var(--accent); }
.post-action.is-liked { color: #dd655d; }
.post-action.is-liked .action-icon { color: #dd655d; }
.action-icon { font-size: 16px; line-height: 1; }
.post-save { margin-left: auto; border: 0; background: none; color: #77736b; font-size: 16px; cursor: pointer; }
.post-save.is-saved { color: var(--accent); }
.comments { margin-top: 12px; padding-top: 10px; border-top: 1px solid #f0eee9; }
.comment-list { display: grid; gap: 8px; margin-bottom: 9px; }
.comment { color: #69665f; font-size: 10px; line-height: 1.45; }
.comment strong { color: var(--ink); }
.comment-form { display: flex; gap: 7px; }
.comment-form input { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #eeece6; border-radius: 8px; background: #faf9f6; font-size: 10px; }
.comment-form button { padding: 0 10px; border: 0; border-radius: 8px; background: var(--accent-light); color: #623bb5; font-size: 10px; font-weight: 700; cursor: pointer; }
.empty-state { padding: 35px 20px; border: 1px dashed #ded9ce; border-radius: 12px; color: #827e75; text-align: center; font-size: 12px; }

.right-rail { min-height: calc(100vh - 74px); padding: 30px 0 20px; position: sticky; top: 74px; align-self: start; }
.rail-title-row { align-items: start; }
.rail-title-row h2 { font-size: 16px; }
.rail-more { border: 0; background: none; color: #88847d; font-size: 20px; cursor: pointer; }
.suggestion-list { margin-top: 17px; display: grid; gap: 15px; }
.suggestion { display: flex; align-items: center; gap: 8px; }
.suggestion-info { min-width: 0; display: grid; gap: 3px; }
.suggestion-info strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-info span { overflow: hidden; color: #97938b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.follow-button { margin-left: auto; padding: 6px 9px; border: 1px solid #e5dfef; border-radius: 7px; background: #fff; color: #6d48bf; font-size: 9px; font-weight: 700; cursor: pointer; }
.follow-button.is-following { background: var(--accent-light); }
.rail-link { margin-top: 14px; padding: 0; border: 0; background: none; color: #7450bc; font-size: 10px; font-weight: 700; cursor: pointer; }
.rail-link span { padding-left: 5px; }
.rail-event { margin-top: 29px; padding: 16px; position: relative; overflow: hidden; border: 1px solid #eadfd1; border-radius: 13px; background: #f1eae0; }
.rail-event::after { width: 80px; height: 80px; position: absolute; top: -40px; right: -24px; border: 1px solid #d5b9a3; border-radius: 50%; box-shadow: 0 0 0 13px #d5b9a322; content: ""; }
.event-date { width: 45px; height: 47px; margin-bottom: 15px; display: grid; align-content: center; justify-items: center; border-radius: 8px; background: #fffaf1; color: #888076; font-size: 8px; font-weight: 700; }
.event-date strong { color: #473b37; font: 700 18px Manrope, sans-serif; }
.rail-event .section-kicker { color: #9b816d; font-size: 8px; }
.rail-event h3 { margin: 6px 0; font: 700 15px Manrope, sans-serif; }
.rail-event p { margin-bottom: 13px; color: #7d746a; font-size: 10px; line-height: 1.5; }
.rail-event > button { padding: 8px 10px; border: 0; border-radius: 7px; background: #443346; color: white; font-size: 9px; font-weight: 700; cursor: pointer; }
.rail-event > button span { margin-left: 6px; }
.event-attendees { margin-top: 13px; display: flex; align-items: center; }
.avatar-mini { width: 21px; height: 21px; margin-right: -5px; border: 2px solid #f1eae0; font-size: 7px; }
.event-attendees small { margin-left: 10px; color: #837b70; font-size: 8px; }
.rail-footer { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 9px 13px; color: #a29e96; font-size: 8px; }
.rail-footer span { width: 100%; margin-top: 3px; }

.page-heading { padding: 28px 0 19px; }
.page-heading .section-kicker { color: #8c62ce; }
.page-heading h1 { margin: 10px 0 8px; font-size: 36px; }
.page-heading p { margin: 0; color: #77736b; font-size: 12px; }
.category-pills { margin: 12px 0 18px; display: flex; gap: 8px; overflow-x: auto; }
.category-pill { padding: 8px 12px; flex: 0 0 auto; border: 1px solid #e5e1d9; border-radius: 20px; background: #fffefa; color: #726f68; font-size: 10px; cursor: pointer; }
.category-pill.is-active { border-color: #d7c7f5; background: #eee8ff; color: #6240ae; font-weight: 700; }
.community-discovery { margin: 0 0 20px; }
.community-discovery .section-title-row { margin-bottom: 10px; }
.community-discovery h2 { margin: 5px 0 0; font: 700 19px/1.2 Manrope, sans-serif; letter-spacing: -.04em; }
.community-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.community-card { min-width: 0; padding: 10px; display: flex; align-items: center; gap: 9px; border: 1px solid #e8e5de; border-radius: 10px; background: #fffefa; }
.community-card > .avatar { width: 35px; height: 35px; }
.community-account { min-width: 0; padding: 0; flex: 1; display: grid; gap: 4px; border: 0; background: none; text-align: left; cursor: pointer; }
.community-account strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.community-account small { overflow: hidden; color: #97938b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.community-card .follow-button { margin-left: 0; }
.explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.explore-card { min-width: 0; padding: 10px; border: 1px solid #e8e5de; border-radius: 12px; background: #fffefa; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.explore-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px #2720200d; }
.explore-card .post-art { min-height: 170px; }
.explore-card-title { margin: 10px 0 4px; font: 700 12px Manrope, sans-serif; }
.explore-card-meta { display: flex; align-items: center; gap: 6px; color: #89867e; font-size: 9px; }
.explore-card-meta .avatar { width: 22px; height: 22px; font-size: 8px; }

.featured-video { margin: 14px 0 30px; overflow: hidden; border: 1px solid #e9e5dd; border-radius: 15px; background: #fffefa; }
.featured-video-art { min-height: 275px; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 56% 50%, #f8d395 0 13%, transparent 13.5%), radial-gradient(ellipse at 50% 99%, #59765b 0 28%, transparent 28.5%), linear-gradient(135deg, #748d9d, #d6aa8a 48%, #48685c); }
.featured-video-art::before, .featured-video-art::after { position: absolute; bottom: -10px; width: 80px; height: 160px; border-radius: 70% 30% 0 0; background: #526c50; content: ""; transform: rotate(-15deg); }
.featured-video-art::before { left: 13%; }.featured-video-art::after { right: 10%; background: #6b805c; transform: rotate(15deg); }
.video-art-label { position: absolute; z-index: 1; top: 15px; left: 15px; padding: 7px 9px; border: 1px solid #ffffff50; border-radius: 6px; background: #1b2b2990; color: white; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.video-flower { z-index: 1; color: #fff5e3; font-size: 68px; text-shadow: 0 5px 16px #2b3c3350; }
.watch-button { position: absolute; z-index: 2; bottom: 16px; left: 16px; padding: 10px 13px; border: 1px solid #ffffff70; border-radius: 8px; background: #211d25c9; color: white; font-size: 10px; font-weight: 700; cursor: pointer; }
.watch-button span { margin-right: 6px; }
.featured-video-copy { padding: 18px; }
.featured-video-copy .section-kicker { color: #8c62ce; }
.featured-video-copy h2 { margin: 7px 0 5px; font: 700 20px Manrope, sans-serif; letter-spacing: -.04em; }
.featured-video-copy > p { margin-bottom: 15px; color: #817d75; font-size: 11px; }
.creator-line { display: flex; align-items: center; gap: 9px; }
.creator-line > span:nth-child(2) { display: grid; gap: 3px; }
.creator-line strong { font-size: 10px; }
.creator-line small { color: #99958c; font-size: 9px; }
.creator-line .follow-button { margin-left: auto; }
.creator-heading { margin-bottom: 13px; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.channel-card { padding: 14px; border: 1px solid #e8e5de; border-radius: 11px; background: #fffefa; }
.channel-top { display: flex; align-items: center; gap: 8px; }
.channel-top .avatar { width: 37px; height: 37px; }
.channel-top strong { display: block; font-size: 10px; }
.channel-top small { display: block; margin-top: 3px; color: #98948b; font-size: 8px; }
.channel-card p { min-height: 28px; margin: 10px 0; color: #77736b; font-size: 9px; line-height: 1.45; }
.channel-card .follow-button { width: 100%; margin: 0; }

.profile-cover { height: 145px; position: relative; overflow: hidden; border-radius: 14px; background: linear-gradient(115deg, #493c5b, #b18fbd 56%, #f3c7a6); }
.profile-cover::before { width: 230px; height: 230px; position: absolute; top: -140px; left: 25%; border: 1px solid #fff7; border-radius: 50%; box-shadow: 0 0 0 24px #ffffff12, 0 0 0 55px #ffffff0d; content: ""; }
.cover-orb { position: absolute; display: block; border-radius: 50%; }
.cover-orb-one { width: 90px; height: 90px; top: 19px; right: 20%; background: #f5c295; }
.cover-orb-two { width: 60px; height: 60px; right: 12%; bottom: -22px; background: #b5d49a; }
.cover-word { position: absolute; right: 9%; bottom: 18px; color: #fff9; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.profile-details { padding: 0 14px; display: flex; align-items: end; gap: 14px; }
.avatar-large { width: 72px; height: 72px; margin-top: -28px; border: 4px solid #f5f4f1; font-size: 22px; }
.profile-text { padding: 9px 0 2px; }
.profile-text .section-kicker { color: #9369d0; font-size: 8px; }
.profile-text h1 { margin: 4px 0; font: 700 20px Manrope, sans-serif; }
.profile-text p { margin: 0; color: #89857d; font-size: 10px; }
.profile-details .outline-button { margin: 0 0 4px auto; }
.outline-button { min-height: 34px; padding: 0 12px; border: 1px solid #ddd8ce; border-radius: 8px; background: #fffefa; color: #514e48; font-size: 10px; font-weight: 700; cursor: pointer; }
.profile-stats { margin: 20px 14px; padding: 12px 0; display: flex; gap: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #827e76; font-size: 9px; }
.profile-stats strong { color: var(--ink); font: 700 13px Manrope, sans-serif; }
.profile-stat-button { padding: 0; display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.profile-stat-button:hover { color: var(--accent); }
.profile-stat-button:focus-visible { outline: 2px solid #9c7cf0; outline-offset: 3px; border-radius: 3px; }
.profile-social-note { margin: -13px 14px 18px; color: #969188; font-size: 9px; line-height: 1.45; }
.profile-post-heading { margin: 0 0 14px; align-items: end; }
.profile-grid .explore-card { cursor: default; }
.profile-grid .post-art { min-height: 140px; }

.modal { width: min(480px, calc(100% - 28px)); max-height: min(90vh, 760px); padding: 0; overflow: auto; border: 0; border-radius: 16px; background: transparent; color: var(--ink); }
.modal::backdrop { background: #19151eb8; backdrop-filter: blur(4px); }
.modal-card { padding: 23px; border: 1px solid #e7e2d9; border-radius: 16px; background: #fffefa; box-shadow: 0 18px 55px #17131f30; }
.modal-heading { margin-bottom: 18px; display: flex; align-items: start; justify-content: space-between; }
.modal-heading .section-kicker { color: #8c62ce; }
.modal-heading h2 { margin: 5px 0 0; font: 700 19px Manrope, sans-serif; letter-spacing: -.04em; }
.modal-close { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #f0eee9; color: #67635b; font-size: 19px; cursor: pointer; }
.upload-drop { min-height: 145px; padding: 17px; display: grid; align-content: center; justify-items: center; gap: 7px; border: 1px dashed #c9b7e9; border-radius: 11px; background: #f7f3ff; color: #77716f; text-align: center; cursor: pointer; }
.upload-drop.is-dragging { border-color: #7049c3; background: #eee8ff; }
.upload-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.upload-drop:focus-within { outline: 3px solid #9c7cf0; outline-offset: 3px; }
.upload-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: #e7dcfa; color: #7049c3; font-size: 22px; }
.upload-drop strong { color: #3e3a40; font-size: 11px; }
.upload-drop > span:not(.upload-icon) { font-size: 9px; }
.upload-drop .upload-file-name { max-width: 100%; overflow: hidden; color: #6945b5; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.profile-photo-picker { margin-bottom: 4px; display: flex; align-items: center; gap: 11px; cursor: pointer; }
.profile-photo-picker > span:nth-child(2) { flex: 1; display: grid; gap: 4px; }
.profile-photo-picker strong { color: #3e3a40; font-size: 11px; }
.profile-photo-picker small { color: #89857d; font-size: 9px; }
.profile-photo-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.profile-photo-picker:focus-within { outline: 3px solid #9c7cf0; outline-offset: 3px; border-radius: 8px; }
.profile-photo-picker .avatar { width: 42px; height: 42px; }
.profile-photo-picker .outline-button { min-height: 30px; padding: 0 9px; display: inline-flex; align-items: center; }
.remove-photo-option { margin-top: 10px; display: flex; align-items: center; gap: 7px; color: #77736b; font-size: 9px; }
.remove-photo-option input { accent-color: var(--accent); }
.form-label { margin-top: 15px; display: grid; gap: 7px; color: #625e57; font-size: 10px; font-weight: 700; }
.form-label textarea, .form-label input, .form-label select { width: 100%; padding: 10px; border: 1px solid #e8e4dc; border-radius: 8px; background: #fcfbf8; color: var(--ink); font-size: 11px; resize: vertical; }
.prototype-note { margin: 13px 0 0; color: #918c83; font-size: 9px; line-height: 1.5; }
.modal-actions { margin-top: 18px; display: flex; justify-content: end; gap: 8px; }
.auth-mode-toggle { margin-top: 12px; }
.connection-search { height: 39px; margin-bottom: 10px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid #ece9e2; border-radius: 9px; background: #f8f7f3; color: #89857d; }
.connection-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.connection-list { max-height: min(52vh, 430px); overflow-y: auto; }
.connection-row { min-height: 58px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f0ede7; }
.connection-profile { min-width: 0; padding: 7px 0; flex: 1; display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; cursor: pointer; }
.connection-profile > span:last-child { min-width: 0; display: grid; gap: 4px; }
.connection-profile strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.connection-profile small { color: #89857d; font-size: 9px; }
.connection-row .follow-button { flex: 0 0 auto; }
.suggestion-account { min-width: 0; padding: 0; flex: 1; display: grid; gap: 3px; border: 0; background: none; text-align: left; cursor: pointer; }
.suggestion-account strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-account span { color: #97938b; font-size: 9px; }
.video-modal { width: min(880px, calc(100% - 28px)); }
.video-modal-card { position: relative; padding: 10px; border: 1px solid #4f4852; border-radius: 14px; background: #17141b; }
.video-modal-card video { width: 100%; max-height: 70vh; display: block; border-radius: 8px; background: #080808; }
.video-close { position: absolute; z-index: 1; top: 18px; right: 18px; background: #1b1721ce; color: white; }
.video-modal-caption { padding: 10px 3px 3px; display: flex; justify-content: space-between; color: #fff; font-size: 10px; }
.video-modal-caption span { color: #bcb4c2; }
.toast { max-width: calc(100vw - 28px); padding: 11px 15px; position: fixed; z-index: 20; right: 22px; bottom: 22px; border: 1px solid #ffffff24; border-radius: 9px; background: #292333; color: #fff; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.mobile-nav { display: none; }

@media (min-width: 1500px) { .topbar { padding-right: max(4.6vw, calc((100vw - 1510px) / 2)); padding-left: max(4.6vw, calc((100vw - 1510px) / 2)); } }
@media (max-width: 1180px) {
  .topbar { grid-template-columns: 170px minmax(220px, 1fr) 220px; gap: 18px; }
  .app-shell { grid-template-columns: 180px minmax(0, 650px); justify-content: center; gap: 28px; }
  .right-rail { display: none; }
}
@media (max-width: 760px) {
  body { min-width: 360px; }
  .topbar { height: 62px; padding: 0 17px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; }
  .brand { gap: 7px; font-size: 21px; }
  .brand-mark { width: 30px; height: 30px; font-size: 20px; }
  .global-search { height: 36px; padding: 0 9px; gap: 6px; }
  .global-search input { font-size: 10px; }
  .global-search kbd { display: none; }
  .topbar-actions { gap: 10px; }
  .topbar-actions > .create-button { width: 35px; min-height: 35px; padding: 0; overflow: hidden; font-size: 0; }
  .topbar-actions > .create-button span { font-size: 20px; }
  .profile-chip-name { display: none; }
  .profile-chip .avatar { width: 30px; height: 30px; }
  .app-shell { padding: 0 17px; display: block; }
  .sidebar { display: none; }
  .main-content { padding: 17px 0 92px; }
  .welcome-banner { min-height: 190px; padding: 24px 20px; }
  .welcome-copy { max-width: 68%; }
  .welcome-copy h1 { font-size: 33px; }
  .welcome-copy p { max-width: 250px; font-size: 10px; }
  .welcome-art { width: 110px; height: 140px; margin-right: -5px; transform: scale(.78); transform-origin: center right; }
  .sun-shape { right: 12px; }
  .orbit { right: -23px; }
  .orbit-two { right: -12px; }
  .welcome-label { right: 39px; }
  .stories-section { margin-top: 25px; }
  .story-list { gap: 10px; }
  .story-item { width: 58px; }
  .story-avatar { width: 49px; height: 49px; }
  .feed-section { margin-top: 27px; }
  .post-card { padding: 13px; }
  .post-art { min-height: 225px; }
  .page-heading { padding-top: 20px; }
  .page-heading h1 { font-size: 32px; }
  .featured-video-art { min-height: 220px; }
  .profile-cover { height: 120px; }
  .profile-details { padding: 0 6px; gap: 9px; }
  .avatar-large { width: 60px; height: 60px; }
  .profile-text h1 { font-size: 17px; }
  .profile-text p { max-width: 185px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .profile-details .outline-button { padding: 0 9px; font-size: 9px; }
  .mobile-nav { height: 63px; padding: 5px 7px max(5px, env(safe-area-inset-bottom)); display: flex; justify-content: space-around; position: fixed; z-index: 8; right: 0; bottom: 0; left: 0; border-top: 1px solid var(--line); background: #fffefaed; backdrop-filter: blur(12px); }
  .mobile-nav button { min-width: 52px; display: grid; justify-items: center; align-content: center; gap: 2px; border: 0; background: none; color: #89857e; font-size: 8px; cursor: pointer; }
  .mobile-nav button > span { font-size: 20px; line-height: 1; }
  .mobile-nav-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-nav-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-nav button.is-active { color: #6740bb; font-weight: 700; }
  .mobile-nav .mobile-create { width: 30px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #fff; font-size: 20px; }
  .toast { right: 14px; bottom: 75px; left: 14px; margin: 0 auto; text-align: center; }
}
@media (max-width: 430px) {
  .global-search input::placeholder { color: transparent; }
  .welcome-art { width: 80px; margin-right: -12px; transform: scale(.68); }
  .welcome-copy { max-width: 74%; }
  .welcome-copy h1 { font-size: 29px; }
  .category-pills { margin-right: -17px; }
  .explore-grid { gap: 9px; }
  .explore-card { padding: 7px; }
  .explore-card .post-art { min-height: 138px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.nav-count {
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5dcf5;
  color: #6844b4;
  font-size: 9px;
  font-weight: 700;
}

.messages-view { min-height: calc(100vh - 125px); }
.messages-heading { margin: 4px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.messages-heading .section-kicker { color: #8c62ce; }
.messages-heading h1 { margin: 5px 0 4px; font: 700 27px Manrope, sans-serif; letter-spacing: -.05em; }
.messages-heading p { margin: 0; color: #858178; font-size: 11px; }
.messages-heading .create-button { flex: 0 0 auto; }
.messages-layout { min-height: 570px; display: grid; grid-template-columns: minmax(195px, 235px) minmax(0, 1fr); overflow: hidden; border: 1px solid #e8e5de; border-radius: 14px; background: #fffefa; }
.conversation-sidebar { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid #eeeae3; background: #fffefa; }
.conversation-search { height: 48px; margin: 0 12px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #eeeae3; color: #8a867e; }
.conversation-search > span { font-size: 19px; }
.conversation-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }
.conversation-list { flex: 1; overflow-y: auto; }
.conversation-item { width: 100%; min-height: 67px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; border: 0; border-bottom: 1px solid #f1eee8; background: transparent; text-align: left; cursor: pointer; }
.conversation-item:hover { background: #faf8f4; }
.conversation-item.is-selected { background: #f1ecfa; }
.conversation-item > .avatar { width: 37px; height: 37px; }
.conversation-summary { min-width: 0; flex: 1; display: grid; gap: 5px; }
.conversation-summary strong { overflow: hidden; color: #34312f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.conversation-summary > span { overflow: hidden; color: #8d8981; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.conversation-meta { align-self: stretch; display: flex; flex-direction: column; align-items: end; justify-content: space-between; color: #a09b92; font-size: 8px; }
.unread-dot, .thread-presence i { width: 7px; height: 7px; border-radius: 50%; background: #8056d6; }
.conversation-no-results { padding: 18px 12px; color: #8d8981; font-size: 10px; }
.message-prototype-note { padding: 10px; border-top: 1px solid #eeeae3; color: #9c978e; font-size: 8px; line-height: 1.4; }
.conversation-panel { min-width: 0; min-height: 570px; display: flex; flex-direction: column; background: #fffefa; }
.conversation-empty { flex: 1; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-message-icon { width: 53px; height: 53px; display: grid; place-items: center; border: 1px solid #e6def3; border-radius: 18px; color: #8056d6; font-size: 24px; }
.conversation-empty h2 { margin: 16px 0 6px; font: 700 15px Manrope, sans-serif; }
.conversation-empty p { max-width: 245px; margin: 0; color: #89857d; font-size: 10px; line-height: 1.5; }
.thread-heading { min-height: 59px; padding: 10px 14px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #eeeae3; }
.thread-heading > .avatar { width: 35px; height: 35px; }
.thread-heading > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.thread-heading strong { font-size: 10px; }
.thread-heading small { color: #969188; font-size: 9px; }
.thread-presence { margin-left: auto; display: flex; align-items: center; gap: 6px; color: #89857d; font-size: 8px; }
.thread-presence i { width: 6px; height: 6px; background: #83b774; }
.message-history { flex: 1; min-height: 0; max-height: 445px; padding: 15px; overflow-y: auto; }
.thread-intro { margin: 3px 0 17px; display: grid; justify-items: center; gap: 5px; color: #8f8a82; font-size: 8px; }
.thread-intro .avatar { width: 43px; height: 43px; margin-bottom: 3px; font-size: 15px; }
.thread-intro strong { color: #44413b; font-size: 10px; }
.message-day { margin: 0 0 15px; display: flex; align-items: center; gap: 8px; color: #aaa59c; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.message-day::before, .message-day::after { height: 1px; flex: 1; background: #f0ede7; content: ""; }
.message-row { margin: 10px 0; display: flex; align-items: end; gap: 6px; }
.message-row > .avatar { width: 24px; height: 24px; font-size: 8px; }
.message-bubble-wrap { max-width: min(82%, 350px); display: grid; gap: 4px; }
.message-sender { padding-left: 9px; color: #918c84; font-size: 8px; }
.message-bubble { margin: 0; padding: 9px 11px; border-radius: 12px 12px 12px 3px; background: #f0eee9; color: #49463f; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.message-bubble-wrap time { padding-left: 9px; color: #aaa59c; font-size: 8px; }
.message-own { justify-content: end; }
.message-own .message-bubble { border-radius: 12px 12px 3px 12px; background: #7650c4; color: #fff; }
.message-own .message-sender, .message-own .message-bubble-wrap time { padding-right: 9px; text-align: right; }
.message-compose { margin: 0 12px 12px; padding: 6px 6px 6px 11px; display: flex; align-items: end; gap: 8px; border: 1px solid #e8e4dc; border-radius: 11px; background: #fcfbf8; }
.message-compose textarea { width: 100%; max-height: 110px; min-height: 33px; padding: 8px 0; border: 0; outline: 0; background: transparent; color: #393630; font-size: 10px; line-height: 1.4; resize: vertical; }
.message-compose textarea::placeholder { color: #a29d94; }
.message-compose button { min-height: 31px; padding: 0 10px; border: 0; border-radius: 7px; background: #7650c4; color: #fff; font-size: 9px; font-weight: 700; cursor: pointer; }
.message-compose button:hover { background: #6337b5; }
.message-compose button span { margin-left: 4px; }
.recipient-picker { padding: 14px; }
.recipient-picker .thread-heading { padding: 3px 0 13px; }
.recipient-picker .thread-heading h2 { margin: 4px 0 0; font: 700 17px Manrope, sans-serif; }
.recipient-picker > p { margin: 11px 0; color: #89857d; font-size: 10px; }
.recipient-list { display: grid; }
.recipient-option { min-height: 57px; padding: 8px 4px; display: flex; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid #f0ede7; background: transparent; text-align: left; cursor: pointer; }
.recipient-option:hover { background: #f8f5fb; }
.recipient-option > span:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 4px; }
.recipient-option strong { color: #393630; font-size: 10px; }
.recipient-option small { overflow: hidden; color: #918c83; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.recipient-option > span:last-child { color: #7650c4; }
.sr-only { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.uploaded-preview { width: 100%; max-height: 440px; display: block; border-radius: 9px; background: #e9e6df; object-fit: contain; }
.explore-media-preview { height: 170px; object-fit: cover; }
.profile-grid .explore-media-preview { height: 140px; }

.reels-view { padding-bottom: 20px; }
.reels-heading { margin: 3px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reels-heading .section-kicker { color: #8c62ce; }
.reels-heading h1 { margin: 5px 0 4px; font: 800 24px Manrope, sans-serif; letter-spacing: -.05em; }
.reels-heading h1 em { color: #8056d6; font-family: var(--serif); font-weight: 400; }
.reels-heading p { max-width: 410px; margin: 0; color: #858178; font-size: 10px; line-height: 1.5; }
.reels-heading .create-button { flex: 0 0 auto; }
.reels-stage { min-height: min(670px, calc(100vh - 185px)); padding: 16px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #39343f; border-radius: 16px; background: radial-gradient(ellipse at 50% 20%, #484052, #241f2b 68%, #1d1922); }
.reel-viewer { width: min(100%, 350px); min-width: 0; flex: 0 1 350px; }
.reel-card { width: 100%; height: min(630px, calc(100vh - 220px)); min-height: 420px; position: relative; overflow: hidden; border: 1px solid #ffffff20; border-radius: 15px; background: #17141b; color: #fff; isolation: isolate; }
.reel-video { width: 100%; height: 100%; position: absolute; inset: 0; background: radial-gradient(circle at 54% 40%, #f8d395 0 12%, transparent 12.5%), radial-gradient(ellipse at 50% 100%, #59765b 0 28%, transparent 28.5%), linear-gradient(135deg, #748d9d, #d6aa8a 48%, #48685c); object-fit: cover; }
.reel-shade { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, #16121b80, transparent 22%, transparent 47%, #14101812 58%, #141018d9 100%); }
.reel-topline { position: absolute; z-index: 2; top: 14px; right: 14px; left: 14px; display: flex; align-items: center; gap: 7px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-shadow: 0 1px 5px #0008; }
.reel-topline > span:last-child { margin-left: auto; font-size: 8px; }
.reel-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #c5f09b; box-shadow: 0 0 0 3px #c5f09b40; }
.reel-playback { position: absolute; z-index: 3; top: 47px; right: 12px; display: flex; align-items: center; gap: 6px; }
.reel-playback button { min-width: 34px; min-height: 31px; border: 1px solid #ffffff70; border-radius: 9px; background: #17141b80; color: #fff; font-size: 10px; cursor: pointer; backdrop-filter: blur(6px); }
.reel-playback .reel-play-toggle { width: 34px; padding: 0; font-size: 14px; }
.reel-details { position: absolute; z-index: 2; right: 59px; bottom: 17px; left: 15px; text-shadow: 0 1px 5px #0008; }
.reel-author { display: flex; align-items: center; gap: 7px; }
.reel-author .avatar { width: 31px; height: 31px; border: 1px solid #fff9; }
.reel-author > strong { max-width: 145px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.reel-author .follow-button { margin-left: 2px; padding: 5px 8px; border-color: #ffffff9c; background: #17141b5c; color: #fff; font-size: 8px; }
.reel-author .follow-button.is-following { background: #ffffff22; }
.reel-details > p { margin: 10px 0 9px; color: #fff; font-size: 10px; line-height: 1.45; }
.reel-details .topic-tag { color: #e2d5ff; font-weight: 700; }
.reel-audio { display: block; overflow: hidden; color: #f0edf3; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.reel-actions { position: absolute; z-index: 3; right: 11px; bottom: 18px; display: grid; justify-items: center; gap: 12px; }
.reel-action { min-width: 38px; padding: 2px; display: grid; justify-items: center; gap: 3px; border: 0; background: transparent; color: white; text-shadow: 0 1px 5px #000b; cursor: pointer; }
.reel-action > span { font-size: 23px; line-height: 1; }
.reel-action > small { font-size: 8px; font-weight: 700; }
.reel-action.is-liked { color: #ff8e9b; }
.reel-navigation { display: grid; gap: 8px; }
.reel-navigation button { width: 34px; height: 34px; border: 1px solid #ffffff36; border-radius: 50%; background: #ffffff14; color: #fff; font-size: 15px; cursor: pointer; }
.reel-navigation button:disabled { opacity: .35; cursor: default; }
.reels-note { margin: 9px 0 0; color: #8a867e; text-align: center; font-size: 9px; }
.reel-comments { position: absolute; z-index: 4; right: 8px; bottom: 8px; left: 8px; max-height: 43%; padding: 12px; overflow: auto; border: 1px solid #ffffff36; border-radius: 12px; background: #201b28ed; backdrop-filter: blur(12px); }
.reel-comment-list { max-height: 110px; overflow: auto; }
.reel-comment-list p { margin: 0 0 8px; color: #eee9f2; font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }
.reel-comment-list strong { margin-right: 4px; color: #d3baff; }
.reel-comments form { display: flex; gap: 6px; }
.reel-comments input { min-width: 0; flex: 1; padding: 8px; border: 1px solid #ffffff30; border-radius: 7px; background: #ffffff10; color: white; font-size: 9px; }
.reel-comments input::placeholder { color: #c3bacb; }
.reel-comments form button { width: 32px; border: 0; border-radius: 7px; background: #7650c4; color: white; cursor: pointer; }

@media (max-width: 760px) {
  .reels-heading { align-items: start; }
  .reels-heading h1 { font-size: 22px; }
  .reels-heading p { max-width: 240px; font-size: 9px; }
  .reels-heading .create-button { min-height: 34px; padding: 0 9px; font-size: 9px; }
  .reels-stage { min-height: calc(100svh - 208px); padding: 8px 4px; gap: 2px; border-radius: 13px; }
  .reel-card { width: min(100%, 390px); height: calc(100svh - 235px); min-height: 390px; max-height: 700px; }
  .reel-navigation { gap: 5px; }
  .reel-navigation button { width: 29px; height: 29px; }
}

@media (max-width: 430px) {
  .reels-heading p { max-width: 190px; }
  .reels-heading .create-button { padding: 0 7px; font-size: 0; }
  .reels-heading .create-button span { font-size: 18px; }
  .reel-card { width: calc(100% - 34px); }
  .reel-navigation { position: absolute; right: 8px; z-index: 2; }
  .reels-stage { position: relative; }
}

@media (max-width: 760px) {
  .messages-view { min-height: 0; }
  .messages-heading { align-items: center; }
  .messages-heading h1 { font-size: 24px; }
  .messages-heading .create-button { min-height: 35px; padding: 0 9px; font-size: 10px; }
  .messages-layout { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .conversation-sidebar { max-height: 245px; border-right: 0; border-bottom: 1px solid #eeeae3; }
  .conversation-list { max-height: 185px; }
  .conversation-item { min-height: 58px; }
  .message-prototype-note { display: none; }
  .conversation-panel { min-height: 440px; }
  .message-history { max-height: 335px; }
  .thread-presence { font-size: 0; }
  .thread-presence i { width: 8px; height: 8px; }
  .mobile-nav [data-page="messages"].has-unread::after { width: 6px; height: 6px; position: absolute; margin: -22px 0 0 12px; border-radius: 50%; background: #e66c64; content: ""; }
  .mobile-nav button { position: relative; }
}

:root {
  color-scheme: dark;
  color: #eeeae2;
  background: #11100e;
  --ink: #eeeae2;
  --muted: #aaa398;
  --line: #332f29;
  --paper: #1b1916;
  --accent: #c89542;
  --accent-light: #352a1b;
  --green: #afc58f;
  --coral: #e28b68;
}

body { background: #11100e; color: var(--ink); }
.topbar { background: #151310ed; border-color: var(--line); }
.brand-mark { width: 42px; height: 42px; display: block; border-radius: 50%; object-fit: cover; background: transparent; transform: none; }
.global-search { border-color: var(--line); background: #201d19; }
.global-search input { color: var(--ink); }
.global-search kbd, .outline-button, .category-pill { border-color: #413a31; background: #211e19; color: #ddd6ca; }
.nav-link { color: #b6b0a5; }
.nav-link:hover, .circle-link:hover { background: #25221d; color: var(--ink); }
.nav-link.is-active, .category-pill.is-active { background: #382c1b; color: #e2b665; }
.sidebar-heading, .section-kicker { color: #b1a99d; }
.invite-card, .community-card, .explore-card, .post-card, .featured-video, .channel-card { border-color: var(--line); background: var(--paper); }
.invite-card { background: #211e19; }
.invite-card p, .circle-link, .page-heading p, .profile-text p, .profile-social-note, .explore-card-meta, .reels-note { color: #aea79b; }
.invite-card button, .profile-stat-button:hover, .new-circle:hover { color: #e0b15f; }
.profile-stats { color: #b1a99d; }
.profile-stats strong { color: var(--ink); }
.profile-cover { background: linear-gradient(115deg, #332719, #5b4328 56%, #6f3c25); }
.avatar-large { border-color: #11100e; }
.page-heading .section-kicker, .profile-text .section-kicker, .messages-heading .section-kicker { color: #d3a454; }
.post-card, .messages-layout, .conversation-sidebar, .conversation-panel { background: #1b1916; }
.conversation-item { border-bottom-color: var(--line); }
.conversation-item:hover { background: #24211c; }
.conversation-item.is-selected { background: #31291e; }
.conversation-summary strong, .thread-intro strong { color: var(--ink); }
.conversation-search, .thread-heading, .message-prototype-note { border-color: var(--line); }
.conversation-empty p, .messages-heading p, .conversation-no-results { color: #b0a89c; }
.message-bubble { background: #302c25; color: #e5dfd4; }
.message-compose { border-color: var(--line); background: #171512; }
.comments { background: #1a1815; }
.comment { color: #ded8ce; }
.comment-form { border-color: var(--line); }
.modal-heading .section-kicker, .featured-video-copy .section-kicker { color: #d3a454; }
.upload-drop { border-color: #494033; background: #211e19; color: var(--ink); }
.profile-stat-button:focus-visible { outline-color: #d3a454; }
.sidebar-footnote { color: #857e72; }
.post-actions { border-color: var(--line); }
.community-discovery h2, .section-title-row h2, .feed-heading h2 { color: var(--ink); }
.modal-card { border-color: #39342c; background: #1b1916; color: var(--ink); }
.modal-close { background: #2a2721; color: #e4ded2; }
.form-label input, .form-label textarea, .form-label select, .connection-search, .conversation-search, .message-compose textarea, .reel-comments input {
  border-color: #403a31;
  background: #151310;
  color: var(--ink);
}
.form-label input::placeholder, .form-label textarea::placeholder, .message-compose textarea::placeholder { color: #8e877b; }
.category-pill { color: #c5bdb0; }
.community-card, .explore-card { box-shadow: none; }
.community-account small, .suggestion-account span, .conversation-summary > span { color: #aaa398; }
.connection-row, .conversation-item { border-color: var(--line); }
.conversation-item:hover, .conversation-item.is-selected { background: #29251f; }
.conversation-empty, .empty-state, .conversation-no-results { color: #b8b0a4; }
.profile-photo-picker, .remove-photo-option { border-color: var(--line); background: #211e19; }
.mobile-nav { border-color: var(--line); background: #171512ed; }
.mobile-nav button { color: #b6b0a5; }
.mobile-nav button.is-active { color: #e2b665; }
.story-avatar { border-color: #1b1916; background: #322819; color: #e3b45e; }
.story-name { color: #b6b0a5; }
.feed-tab { color: #aaa398; }
.feed-tab.is-active { border-color: #c89542; color: #e5b968; }
.auth-mode-toggle, .text-button { color: #d7ad64; }
.prototype-note { color: #aca497; }
.reel-empty { padding: 28px; }
.post-menu { color: #c1b8ab; }
.post-copy { color: #ddd6ca; }
.post-action, .post-save { color: #c7bfb3; }
.comments { border-color: var(--line); }
.comment-form input { border-color: #403a31; background: #151310; color: var(--ink); }
.comment-form button { color: #dfb360; }
.rail-footer, .rail-footer a { color: #aaa398; }
.rail-footer { border-color: var(--line); }

body:not(.is-authenticated) .app-shell,
body:not(.is-authenticated) .mobile-nav,
body:not(.is-authenticated) .global-search,
body:not(.is-authenticated) .topbar-actions .create-button,
body:not(.is-authenticated) .topbar-actions .profile-chip { display: none !important; }
body:not(.is-authenticated) .topbar {
  height: 70px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  background: #11100e;
}
