:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --surface: rgba(255, 253, 248, 0.88);
  --surface-solid: #fffdf8;
  --surface-2: #ebe7df;
  --ink: #171813;
  --muted: #73746c;
  --line: rgba(23, 24, 19, 0.12);
  --line-strong: rgba(23, 24, 19, 0.2);
  --lime: #c6f36b;
  --violet: #7657ff;
  --coral: #ff7657;
  --aqua: #72dfcf;
  --yellow: #ffd75e;
  --shadow: 0 18px 55px rgba(49, 47, 39, 0.09);
  --radius: 22px;
  --font: "Avenir Next", "Segoe UI Variable", "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11120f;
  --surface: rgba(27, 29, 24, 0.91);
  --surface-solid: #1b1d18;
  --surface-2: #242720;
  --ink: #f3f1e9;
  --muted: #a5a79e;
  --line: rgba(243, 241, 233, 0.1);
  --line-strong: rgba(243, 241, 233, 0.2);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--lime) 18%, transparent), transparent 24rem),
    radial-gradient(circle at 92% 20%, color-mix(in srgb, var(--violet) 10%, transparent), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  transition: background-color 180ms ease, color 180ms ease;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 45%, transparent); outline-offset: 3px; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: var(--bg); border-radius: 12px; }
.skip-link:focus { top: 1rem; }
.ambient { position: fixed; z-index: -1; filter: blur(1px); pointer-events: none; opacity: .5; }
.ambient-one { width: 110px; height: 110px; right: 7%; top: 42%; border: 1px solid var(--line-strong); border-radius: 35% 65% 70% 30%; transform: rotate(25deg); }
.ambient-two { width: 18px; height: 18px; left: 4%; bottom: 9%; background: var(--coral); border-radius: 4px; transform: rotate(18deg); }

.topbar {
  position: sticky; top: 0; z-index: 30;
  height: 76px; display: grid; grid-template-columns: 250px minmax(260px, 570px) 1fr; align-items: center; gap: 24px;
  padding: 0 3vw; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; border: 0; background: none; font-weight: 900; letter-spacing: .18em; font-size: 17px; padding: 0; }
.brand b { align-self: flex-start; margin-top: 1px; padding: 1px 5px; border-radius: 4px; background: var(--lime); color: #171813; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 10px); gap: 2px; transform: rotate(-7deg); }
.brand-mark i { width: 10px; height: 10px; display: block; border-radius: 3px; background: var(--ink); }
.brand-mark i:nth-child(2) { border-radius: 50%; background: var(--violet); }
.brand-mark i:nth-child(3) { background: var(--coral); }
.brand-mark i:nth-child(4) { border-radius: 50% 3px 50% 3px; background: var(--lime); }
.search-box { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; box-shadow: 0 5px 20px rgba(20,20,16,.03); }
.search-box:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 12%, transparent); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: var(--muted); }
kbd { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--surface-2); font-size: 11px; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; font-size: 18px; }
.icon-button:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.notification-button { position: relative; }
.notification-button span { position: absolute; width: 7px; height: 7px; right: 8px; top: 7px; border: 2px solid var(--surface-solid); background: var(--coral); border-radius: 50%; }
.mini-profile { display: flex; align-items: center; gap: 9px; margin-left: 4px; padding: 4px 8px 4px 4px; border: 0; background: transparent; border-radius: 14px; text-align: left; }
.mini-profile:hover { background: var(--surface-2); }
.mini-profile-copy { display: grid; line-height: 1.1; }
.mini-profile-copy small { color: var(--muted); margin-top: 4px; }

.avatar { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--surface-solid); border-radius: 14px; color: #171813; font-size: 11px; font-weight: 800; letter-spacing: -.02em; box-shadow: 0 3px 10px rgba(20,20,16,.09); }
.avatar-me { background: linear-gradient(135deg, var(--lime), #8fe6a5); }
.avatar-a { background: #ffc6d8; }.avatar-b { background: #a7d8ff; }.avatar-c { background: #ffdb8d; }.avatar-d { background: #cbbcff; }.avatar-e { background: #8ee4d2; }

.app-shell { width: min(1440px, 96vw); margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 720px) 300px; gap: 32px; align-items: start; }
.sidebar, .context-panel { position: sticky; top: 96px; padding-top: 26px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: none; }
.sidebar::-webkit-scrollbar, .context-panel::-webkit-scrollbar { display: none; }
#desktop-nav { display: grid; gap: 6px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 13px; padding: 11px 12px; border: 0; background: transparent; border-radius: 13px; color: var(--muted); font-weight: 650; text-align: left; }
.nav-item span { width: 24px; font-size: 20px; text-align: center; }
.nav-item:hover { color: var(--ink); background: var(--surface); }
.nav-item.active { color: var(--ink); background: var(--surface-solid); box-shadow: 0 7px 25px rgba(35,34,29,.05); }
.nav-item em { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: color-mix(in srgb, var(--violet) 12%, transparent); color: var(--violet); font-size: 9px; font-style: normal; text-transform: uppercase; }
.primary-cta { width: 100%; margin: 20px 0 24px; padding: 13px 15px; border: 0; border-radius: 14px; background: var(--ink); color: var(--bg); font-weight: 750; box-shadow: 0 10px 26px rgba(20,20,16,.15); }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20,20,16,.2); }
.primary-cta span { margin-right: 6px; }
.sidebar-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, color-mix(in srgb, var(--lime) 15%, var(--surface-solid)), var(--surface-solid)); }
.sidebar-card::after { content: ""; position: absolute; width: 80px; height: 80px; right: -30px; top: -30px; border: 18px solid color-mix(in srgb, var(--lime) 35%, transparent); border-radius: 50%; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; background: #55c782; border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, #55c782 15%, transparent); }
.sidebar-card h3 { margin: 10px 0 5px; font-size: 15px; }
.sidebar-card p { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.tiny-avatars { display: flex; align-items: center; margin-bottom: 11px; }
.tiny-avatars .avatar { width: 26px; height: 26px; margin-left: -5px; border-radius: 9px; font-size: 8px; }.tiny-avatars .avatar:first-child { margin-left: 0; }.tiny-avatars b { margin-left: 6px; font-size: 10px; }
.text-link { padding: 0; border: 0; background: transparent; font-size: 11px; font-weight: 750; }
.sidebar-footer { margin: 22px 10px; color: var(--muted); font-size: 10px; line-height: 1.8; }

#main-content { min-height: calc(100vh - 76px); padding: 34px 0 110px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-head h1 { margin: 3px 0 0; font-size: clamp(28px, 4vw, 43px); line-height: 1.05; letter-spacing: -.05em; }
.page-head p { max-width: 470px; margin: 8px 0 0; color: var(--muted); }
.date-chip { padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.feed-tabs { display: flex; gap: 3px; margin-bottom: 17px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.feed-tabs button { flex: 1; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 650; }
.feed-tabs button.active { color: var(--ink); background: var(--surface-solid); box-shadow: 0 3px 10px rgba(30,30,25,.06); }
.quick-composer { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.quick-composer > button { flex: 1; padding: 10px 14px; border: 0; background: transparent; color: var(--muted); text-align: left; }
.quick-composer .quick-action { flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border-radius: 10px; background: var(--surface-2); text-align: center; }

.feed-list { display: grid; gap: 14px; }
.post-card { position: relative; overflow: hidden; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 9px 30px rgba(35,34,29,.035); animation: rise .42s both; }
.post-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.post-card.is-featured { background: linear-gradient(145deg, color-mix(in srgb, var(--violet) 7%, var(--surface-solid)), var(--surface)); }
.post-card.is-featured::before { content: ""; position: absolute; width: 120px; height: 120px; right: -70px; bottom: -70px; border: 18px solid color-mix(in srgb, var(--violet) 12%, transparent); border-radius: 45% 55% 65% 35%; }
.post-header { display: flex; align-items: center; gap: 10px; }
.post-author { display: grid; line-height: 1.2; }
.post-author strong { font-size: 13px; }.post-author span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.post-menu { margin-left: auto; width: 30px; height: 30px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; }
.post-menu:hover { background: var(--surface-2); }
.post-badge { margin-left: auto; padding: 4px 8px; border-radius: 7px; background: var(--lime); color: #171813; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.post-body { margin: 14px 0 15px 50px; }
.post-body p { margin: 0; font-size: 15px; line-height: 1.65; }
.post-body h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.topic { color: var(--violet); font-weight: 700; }
.post-actions { display: flex; align-items: center; gap: 5px; margin-left: 46px; }
.post-actions button { min-width: 56px; padding: 7px 9px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 12px; }
.post-actions button:hover { color: var(--ink); background: var(--surface-2); }
.post-actions button.liked { color: var(--coral); background: color-mix(in srgb, var(--coral) 10%, transparent); }
.post-actions .share-action { margin-left: auto; min-width: 38px; }
.poll { display: grid; gap: 8px; margin-top: 14px; }
.poll button { position: relative; overflow: hidden; display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); background: transparent; border-radius: 12px; text-align: left; }
.poll button:hover { border-color: var(--violet); }
.poll button::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--poll-width, 0%); background: color-mix(in srgb, var(--violet) 14%, transparent); transition: width .35s ease; }
.poll button span, .poll button b { position: relative; }.poll button b { font-size: 11px; }
.poll-meta { color: var(--muted); font-size: 10px; }
.comment-panel { display: none; margin: 13px 0 0 50px; padding-top: 13px; border-top: 1px solid var(--line); }
.comment-panel.open { display: block; }
.comment { display: flex; gap: 9px; margin-bottom: 10px; }
.comment .avatar { width: 30px; height: 30px; border-radius: 10px; font-size: 8px; }
.comment-bubble { padding: 8px 10px; border-radius: 12px; background: var(--surface-2); font-size: 12px; }
.comment-bubble strong { display: block; margin-bottom: 2px; font-size: 10px; }
.comment-form { display: flex; gap: 7px; }
.comment-form input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-solid); color: var(--ink); font-size: 12px; }
.comment-form button { padding: 8px 11px; border: 0; border-radius: 10px; background: var(--ink); color: var(--bg); }

.context-panel { display: grid; gap: 14px; }
.context-card { padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.context-card h3 { margin: 5px 0 14px; font-size: 16px; }
.trend-list { display: grid; gap: 13px; }
.trend { display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 9px; }
.trend > span:first-child { color: var(--muted); font: 700 11px/1 Georgia, serif; }
.trend strong { display: block; font-size: 12px; }.trend small { color: var(--muted); font-size: 9px; }.trend button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
.people-list { display: grid; gap: 13px; }
.person { display: flex; align-items: center; gap: 9px; }
.person .avatar { width: 35px; height: 35px; border-radius: 12px; }
.person-copy { display: grid; flex: 1; min-width: 0; line-height: 1.2; }.person-copy strong { font-size: 11px; }.person-copy small { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.follow-button { padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; font-size: 9px; font-weight: 700; }
.follow-button.following { border-color: transparent; background: var(--lime); color: #171813; }
.pulse-card { overflow: hidden; padding: 0; }
.pulse-visual { height: 102px; position: relative; display: grid; place-items: center; background: linear-gradient(135deg, #23243b, #5949b9); }
.pulse-orbit { width: 65px; height: 65px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; animation: spin 10s linear infinite; }
.pulse-orbit::before, .pulse-orbit::after { content: ""; position: absolute; border-radius: 50%; }.pulse-orbit::before { width: 18px; height: 18px; margin: 3px; background: var(--lime); }.pulse-orbit::after { width: 10px; height: 10px; margin: 48px 0 0 35px; background: var(--coral); }
.pulse-copy { padding: 15px 18px 18px; }.pulse-copy h3 { margin-bottom: 4px; }.pulse-copy p { margin: 0; color: var(--muted); font-size: 11px; }.pulse-copy button { width: 100%; margin-top: 12px; padding: 8px; border: 0; border-radius: 10px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; }

.hero-card { position: relative; overflow: hidden; min-height: 230px; padding: 28px; border-radius: 28px; background: #1d1e1a; color: #f8f5ed; box-shadow: var(--shadow); }
.hero-card h2 { max-width: 480px; margin: 25px 0 10px; font-size: clamp(30px, 5vw, 52px); line-height: .98; letter-spacing: -.06em; }
.hero-card p { max-width: 450px; color: #bbbdb4; }.hero-card .eyebrow { color: var(--lime); }
.hero-shape { position: absolute; right: -35px; top: -20px; width: 250px; height: 250px; border: 42px solid var(--violet); border-radius: 43% 57% 62% 38%; transform: rotate(20deg); opacity: .85; }
.hero-shape::after { content: ""; position: absolute; width: 62px; height: 62px; left: 52px; bottom: 30px; background: var(--coral); border-radius: 50% 8px 50% 8px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 14px; }.section-title h2 { margin: 0; font-size: 19px; }.section-title button { border: 0; background: transparent; color: var(--violet); font-size: 11px; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.discovery-card { padding: 19px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.discovery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }.discovery-card .symbol { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: var(--accent, var(--lime)); color: #171813; font-size: 20px; }.discovery-card h3 { margin: 0 0 5px; }.discovery-card p { margin: 0 0 15px; color: var(--muted); font-size: 12px; }.meta-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.join-button { margin-top: 14px; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: transparent; font-size: 10px; font-weight: 750; }.join-button.joined { background: var(--ink); color: var(--bg); }

.world-feature { display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.world-copy { padding: 28px; }.world-copy h2 { margin: 8px 0; font-size: 32px; line-height: 1.05; letter-spacing: -.04em; }.world-copy p { color: var(--muted); }.world-copy button { margin-top: 12px; padding: 10px 14px; border: 0; border-radius: 11px; background: var(--ink); color: var(--bg); font-weight: 700; }
.world-canvas { min-height: 330px; padding: 20px; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); gap: 3px; background: #24251f; }
.pixel { min-width: 20px; aspect-ratio: 1; border: 0; border-radius: 5px; background: #34362f; transition: transform .12s ease, background .2s ease; }.pixel:hover { transform: scale(1.1); outline: 1px solid rgba(255,255,255,.3); }.pixel.c1 { background: var(--lime); }.pixel.c2 { background: var(--violet); }.pixel.c3 { background: var(--coral); }.pixel.c4 { background: var(--aqua); }.pixel.c5 { background: var(--yellow); }
.world-tools { display: flex; gap: 8px; margin-top: 14px; }.swatch { width: 28px; height: 28px; border: 3px solid var(--surface-solid); border-radius: 9px; background: var(--swatch); box-shadow: 0 0 0 1px var(--line); }.swatch.active { box-shadow: 0 0 0 2px var(--ink); }

.profile-hero { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.profile-cover { height: 180px; position: relative; overflow: hidden; background: linear-gradient(130deg, #5c49e4, #f16765 62%, #f3ca5c); }.profile-cover::before { content: "MAKE\A THINGS\A BLOOM"; white-space: pre; position: absolute; left: 28px; top: 23px; color: rgba(255,255,255,.9); font: 900 28px/.82 var(--font); letter-spacing: -.06em; transform: rotate(-4deg); }.profile-cover::after { content: "✦"; position: absolute; right: 48px; top: 33px; font-size: 80px; color: var(--lime); transform: rotate(15deg); }
.profile-info { display: flex; gap: 17px; padding: 0 25px 24px; }.profile-avatar { width: 96px; height: 96px; margin-top: -38px; border-width: 5px; border-radius: 30px; font-size: 22px; z-index: 2; }.profile-details { flex: 1; padding-top: 15px; }.profile-details h1 { margin: 0; font-size: 26px; }.profile-details .handle { color: var(--muted); }.profile-details p { max-width: 490px; margin: 10px 0; }.profile-stats { display: flex; gap: 20px; font-size: 11px; }.profile-stats b { font-size: 15px; }.edit-profile { align-self: flex-start; margin-top: 18px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; font-size: 11px; font-weight: 700; }
.mood-board { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 140px 110px; gap: 8px; }.mood-tile { display: grid; place-items: center; overflow: hidden; border-radius: 17px; background: var(--tile); color: #171813; font-weight: 800; text-align: center; }.mood-tile:first-child { grid-row: span 2; font: italic 700 28px/1.1 Georgia, serif; }.mood-tile:nth-child(2) { background: #1e211c; color: #fff; }.mood-tile:nth-child(5) { background: linear-gradient(145deg, var(--violet), #b85ad9); color: white; }

.empty-state { padding: 50px 20px; border: 1px dashed var(--line-strong); border-radius: 22px; text-align: center; color: var(--muted); }.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 18px; }

.composer-dialog { width: min(620px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 26px; background: var(--surface-solid); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.composer-dialog::backdrop { background: rgba(15,16,13,.55); backdrop-filter: blur(5px); }
.dialog-shell { padding: 23px; }.dialog-shell > header { display: flex; justify-content: space-between; align-items: flex-start; }.dialog-shell h2 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.03em; }.close-dialog { border: 0; background: var(--surface-2); }
.post-type-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 20px 0; }.post-type-picker button { padding: 8px 5px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); font-size: 10px; }.post-type-picker button.active { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 9%, transparent); color: var(--violet); }
.composer-body { display: flex; gap: 12px; }.composer-body label { flex: 1; }.composer-body textarea { width: 100%; min-height: 150px; resize: vertical; padding: 7px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; line-height: 1.5; }.composer-body textarea::placeholder { color: var(--muted); }
.poll-fields { display: grid; gap: 7px; margin: 3px 0 12px 52px; }.poll-fields input { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--ink); }
.dialog-shell > footer { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }.composer-tools { display: flex; gap: 4px; }.composer-tools button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--violet); }.composer-tools button:hover { background: var(--surface-2); }.publish-zone { display: flex; align-items: center; gap: 12px; }.publish-zone small { color: var(--muted); }.publish-button { padding: 9px 17px; border: 0; border-radius: 11px; background: var(--ink); color: var(--bg); font-weight: 750; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 8px; }.toast { min-width: 230px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); animation: toast-in .25s ease both; font-size: 12px; }
.mobile-nav { display: none; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 210px 1fr auto; }
  .app-shell { grid-template-columns: 210px minmax(0, 720px); justify-content: center; }
  .context-panel { display: none; }
}
@media (max-width: 800px) {
  body { padding-bottom: 70px; }
  .topbar { height: 64px; grid-template-columns: auto 1fr auto; padding: 0 15px; gap: 10px; }.brand b, .search-box, .mini-profile-copy { display: none; }.top-actions .notification-button { display: none; }
  .app-shell { width: min(100% - 24px, 720px); display: block; }.sidebar { display: none; } #main-content { padding-top: 22px; }
  .mobile-nav { position: fixed; left: 10px; right: 10px; bottom: 9px; z-index: 40; height: 62px; display: grid; grid-template-columns: 1fr 1fr 70px 1fr 1fr; align-items: center; padding: 5px 8px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--surface-solid) 92%, transparent); backdrop-filter: blur(18px); box-shadow: 0 15px 45px rgba(0,0,0,.18); }.mobile-nav button { display: grid; gap: 1px; place-items: center; border: 0; background: transparent; color: var(--muted); font-size: 9px; }.mobile-nav button span { font-size: 18px; }.mobile-nav button.active { color: var(--ink); }.mobile-nav .mobile-create { width: 48px; height: 48px; justify-self: center; margin-top: -24px; border-radius: 16px; background: var(--ink); color: var(--bg); font-size: 26px; box-shadow: 0 8px 22px rgba(0,0,0,.23); }
  .page-head { align-items: flex-start; }.date-chip { display: none; }.post-body, .post-actions, .comment-panel { margin-left: 0; }.world-feature { grid-template-columns: 1fr; }.world-canvas { min-height: 300px; }.profile-info { flex-wrap: wrap; padding: 0 18px 20px; }.profile-avatar { width: 82px; height: 82px; }.profile-details { min-width: calc(100% - 100px); }.edit-profile { margin: 0; }.mood-board { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 110px 110px; }.mood-tile:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 520px) {
  .page-head h1 { font-size: 31px; }.card-grid { grid-template-columns: 1fr; }.quick-composer { padding: 10px; }.quick-composer .quick-action:nth-last-child(2) { display: none; }.post-card { padding: 15px; border-radius: 18px; }.post-body h3 { font-size: 18px; }.hero-card { padding: 22px; }.hero-shape { opacity: .35; }.post-type-picker { grid-template-columns: 1fr 1fr; }.dialog-shell { padding: 18px; }.world-copy { padding: 22px; }.world-canvas { padding: 10px; }.profile-cover { height: 145px; }.profile-stats { gap: 12px; }
}
