@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --blue: #00a9e8;
  --blue-dark: #0093cf;
  --ink: #181b20;
  --muted: #717780;
  --line: #e7e9ec;
  --wash: #f6f7f8;
  --white: #fff;
  --shadow: 0 14px 45px rgba(24, 27, 32, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.app-shell {
  display: grid;
  grid-template-columns: 270px minmax(520px, 650px) 330px;
  justify-content: center;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 26px 22px 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  padding: 1px 10px 28px;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.7px;
}
.brand-only { color: var(--ink); }
.brand-pants { color: var(--blue); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-left: 3px;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-size: 13px;
  font-style: italic;
  letter-spacing: -1px;
  transform: rotate(-8deg);
}

.main-nav { display: grid; gap: 7px; }
.main-nav a, .main-nav button {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 49px;
  padding: 0 13px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
}
.main-nav a:hover, .main-nav button:hover, .main-nav a.active {
  color: var(--blue-dark);
  background: #eefaff;
}
.main-nav svg { width: 24px; height: 24px; }
.nav-icon-wrap { position: relative; display: grid; }
.nav-icon-wrap b {
  position: absolute;
  top: -8px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-size: 9px;
}

.new-post-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  margin-top: 25px;
  border-radius: 25px;
  color: white;
  background: var(--blue);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 169, 232, .21);
  transition: .2s ease;
}
.new-post-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.new-post-button svg { width: 20px; height: 20px; stroke-width: 2.4; }

.account-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding: 10px;
  border-radius: 28px;
}
.account-chip:hover { background: var(--wash); }
.account-chip img, .creator-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 23%;
}
.account-chip span { display: grid; min-width: 0; }
.account-chip strong { font-size: 13px; }
.account-chip small { color: var(--muted); font-size: 12px; }
.account-chip > svg { width: 18px; margin-left: auto; }

.page {
  min-width: 0;
  min-height: 100vh;
  border-right: 1px solid var(--line);
}
.page-topbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(231, 233, 236, .9);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}
.page-topbar h1 { margin: 0; font: 700 18px "Manrope", sans-serif; }
.page-topbar .sub { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.back-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: 9px;
  border-radius: 50%;
  transform: rotate(180deg);
}
.back-link:hover { background: var(--wash); }

.profile-cover {
  position: relative;
  height: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.22), transparent 18%),
    linear-gradient(120deg, rgba(10, 12, 31, .96), rgba(255, 28, 151, .82) 55%, rgba(0, 190, 255, .8)),
    #11152b;
}
.profile-cover:before, .profile-cover:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 48% 52% 61% 39%;
  transform: rotate(28deg);
}
.profile-cover:before { top: -230px; left: -80px; }
.profile-cover:after { right: -150px; bottom: -300px; }
.cover-type {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.95);
  font: 800 clamp(30px, 5.3vw, 55px) "Manrope";
  letter-spacing: -3px;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(0,0,0,.25);
  transform: rotate(-4deg);
}
.profile-info { position: relative; padding: 0 22px 18px; }
.profile-avatar {
  width: 116px;
  height: 116px;
  margin-top: -58px;
  border: 4px solid white;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 19%;
  background: #ddd;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.profile-actions {
  position: absolute;
  top: 14px;
  right: 22px;
  display: flex;
  gap: 9px;
}
.round-action {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}
.round-action:hover { border-color: var(--blue); color: var(--blue); }
.round-action svg { width: 19px; height: 19px; }
.profile-info h2 {
  margin: 14px 0 0;
  font: 800 23px "Manrope", sans-serif;
  letter-spacing: -.5px;
}
.verified {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-left: 4px;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font: 800 11px sans-serif;
  vertical-align: 2px;
}
.handle { margin: 1px 0 14px; color: var(--muted); font-size: 13px; }
.bio { max-width: 520px; margin: 0; font-size: 14px; line-height: 1.55; }
.profile-meta { display: flex; gap: 22px; margin-top: 16px; font-size: 13px; }
.profile-meta strong { font-size: 14px; }

.subscribe-card {
  margin: 4px 18px 22px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 5px 20px rgba(24, 27, 32, .04);
}
.subscribe-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.subscribe-label small { color: var(--muted); font-weight: 500; }
.subscribe-card button {
  width: 100%;
  height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 22px;
  color: white;
  background: var(--blue);
  font-weight: 700;
  cursor: pointer;
}
.subscribe-card button:hover { background: var(--blue-dark); }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tabs button {
  position: relative;
  height: 52px;
  border: 0;
  color: var(--muted);
  background: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
}
.tabs button.active { color: var(--blue); }
.tabs button.active:after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
}

.post-card { border-bottom: 1px solid var(--line); background: white; }
.post-head { display: flex; align-items: center; gap: 11px; padding: 16px 18px 13px; }
.post-head span { display: grid; }
.post-head strong { font-size: 14px; }
.post-head small { color: var(--muted); font-size: 12px; }
.post-head button { border: 0; background: transparent; cursor: pointer; }
.post-menu-wrap { position: relative; margin-left: auto; }
.post-menu, .comment-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 4px);
  right: 0;
  min-width: 158px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  box-shadow: 0 14px 35px rgba(24, 27, 32, .14);
}
.post-menu[hidden], .comment-menu[hidden] { display: none; }
.post-menu button, .comment-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 37px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: white;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.post-menu button:hover, .comment-menu button:hover { background: var(--wash); }
.post-menu button.danger, .comment-menu button.danger { color: #d53852; }
.post-menu svg, .comment-menu svg { width: 16px; height: 16px; }
.post-copy { margin: 0; padding: 0 18px 14px; font-size: 14px; line-height: 1.55; }
.post-copy a { color: var(--blue-dark); }
.post-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}
.post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.post-media:hover img { transform: scale(1.015); }
.text-only-post {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 40px;
  color: white;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(135deg, #12152b, #d51c87 55%, #00a9e8);
  text-align: center;
}
.text-only-post span {
  font: 800 clamp(30px, 6vw, 54px)/.95 "Manrope", sans-serif;
  letter-spacing: -2.5px;
  text-shadow: 3px 3px 0 rgba(0,0,0,.2);
  transform: rotate(-3deg);
}
.media-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  border-radius: 14px;
  color: white;
  background: rgba(0,0,0,.55);
  font-size: 11px;
  backdrop-filter: blur(6px);
}
.post-actions { display: flex; align-items: center; gap: 5px; padding: 11px 13px 2px; }
.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { color: var(--blue); background: #eefaff; }
.icon-button.active { color: #ed4b70; }
.icon-button.active svg { fill: currentColor; }
.icon-button.bookmark { margin-left: auto; }
.action-meta { padding: 0 18px 15px; }
.action-meta strong { display: block; font-size: 13px; }
.action-meta small { color: var(--muted); font-size: 12px; }
.like-count { display: inline-block; min-width: 4ch; transform-origin: left center; }
.like-count.count-tick { animation: count-pop .28s ease; }
@keyframes count-pop {
  0% { color: var(--ink); transform: scale(1); }
  45% { color: var(--blue-dark); transform: scale(1.07); }
  100% { color: var(--ink); transform: scale(1); }
}
.comments { padding: 0 18px 16px; }
.comments-title { display: flex; justify-content: space-between; padding: 11px 0 4px; border-top: 1px solid var(--line); font-size: 12px; }
.comments-title span { color: var(--muted); }
.comment { display: flex; gap: 10px; margin: 12px 0; font-size: 13px; line-height: 1.45; }
.comment-avatar {
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  background: #23272d;
  font-size: 9px;
  font-weight: 700;
}
.comment-body { position: relative; display: flex; flex: 1; min-width: 0; }
.comment p { flex: 1; margin: 0; padding-right: 31px; overflow-wrap: anywhere; }
.comment p span { display: block; color: var(--muted); font-size: 11px; }
.comment-menu-wrap { position: absolute; top: -6px; right: -6px; }
.comment-menu-toggle { display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; }
.comment-menu-toggle:hover { color: var(--ink); background: var(--wash); }
.comment-menu-toggle svg { width: 16px; height: 16px; }
.comment-menu { top: 29px; }
.edit-comment-form { display: grid; flex: 1; gap: 7px; }
.edit-comment-form input {
  width: 100%;
  height: 35px;
  padding: 0 10px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  outline: 0;
}
.edit-comment-form > span { display: flex; justify-content: flex-end; gap: 8px; }
.edit-comment-form button { border: 0; color: var(--blue-dark); background: none; font-size: 11px; font-weight: 700; cursor: pointer; }
.edit-comment-form .cancel-comment-edit { color: var(--muted); }
.add-comment { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 12px 0 0; }
.add-comment input { flex: 1; border: 0; outline: 0; font-size: 13px; }
.add-comment button { border: 0; color: var(--blue); background: none; font-weight: 700; cursor: pointer; }
.empty-state {
  display: grid;
  justify-items: center;
  padding: 75px 25px;
  color: var(--muted);
  text-align: center;
}
.empty-state > svg { width: 42px; height: 42px; color: #b6bbc0; }
.empty-state h2 { margin: 15px 0 5px; color: var(--ink); font: 700 20px "Manrope", sans-serif; }
.empty-state p { margin: 0 0 20px; font-size: 13px; }
.empty-state a { padding: 11px 18px; border-radius: 21px; color: white; background: var(--blue); font-size: 11px; font-weight: 700; }

.right-rail { padding: 18px 18px 30px 24px; }
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 15px;
  border-radius: 23px;
  background: var(--wash);
}
.search svg { width: 19px; color: var(--muted); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; }
.rail-card, .trend-card { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; }
.rail-card h2 { margin: 0 0 12px; font: 700 17px "Manrope"; }
.suggestion { display: flex; align-items: center; gap: 9px; padding: 9px 0; }
.avatar { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; color: white; font-size: 11px; font-weight: 800; }
.avatar-navy { background: linear-gradient(135deg, #111d45, #465ea8); }
.avatar-coral { background: linear-gradient(135deg, #ff6f61, #f6c089); }
.avatar-lime { color: #1a2220; background: linear-gradient(135deg, #c7f56f, #4cc6a8); }
.suggestion span { display: grid; min-width: 0; }
.suggestion strong { white-space: nowrap; font-size: 11px; }
.suggestion strong i { color: var(--blue); font-style: normal; }
.suggestion small { color: var(--muted); font-size: 11px; }
.suggestion button { margin-left: auto; border: 0; color: var(--blue-dark); background: none; font-size: 11px; font-weight: 700; cursor: pointer; }
.show-more { margin-top: 8px; padding: 0; border: 0; color: var(--blue-dark); background: none; font-size: 12px; font-weight: 600; cursor: pointer; }
.trend-card { position: relative; overflow: hidden; display: grid; padding-bottom: 61px; }
.trend-card span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.trend-card strong { margin-top: 5px; font: 800 19px "Manrope"; }
.trend-card small { color: var(--muted); font-size: 11px; }
.mini-bars { position: absolute; right: 15px; bottom: 0; left: 15px; display: flex; align-items: end; gap: 6px; height: 48px; }
.mini-bars i { flex: 1; height: 20%; border-radius: 3px 3px 0 0; background: rgba(0,169,232,.28); }
.mini-bars i:nth-child(2) { height: 36%; }.mini-bars i:nth-child(3) { height: 28%; }.mini-bars i:nth-child(4) { height: 62%; }.mini-bars i:nth-child(5) { height: 45%; }.mini-bars i:nth-child(6) { height: 78%; }.mini-bars i:nth-child(7) { height: 60%; }.mini-bars i:nth-child(8) { height: 100%; }.mini-bars i:nth-child(9) { height: 86%; }
.right-rail footer { margin: 20px 4px; color: #a2a6ab; font-size: 10px; line-height: 1.8; }

.upload-page { min-height: 100vh; background: #fbfbfc; }
.upload-wrap { padding: 28px 30px 70px; }
.composer {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
.composer-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.composer-head span { display: grid; }
.composer-head strong { font-size: 14px; }
.composer-head small { color: var(--muted); font-size: 11px; }
.audience {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 700;
}
.audience svg { width: 12px; height: 12px; }
.caption {
  display: block;
  width: 100%;
  min-height: 115px;
  padding: 19px 20px;
  resize: none;
  border: 0;
  outline: none;
  font-size: 15px;
  line-height: 1.55;
}
.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 294px;
  margin: 0 20px 20px;
  overflow: hidden;
  border: 1.5px dashed #cfd4d8;
  border-radius: 13px;
  color: var(--muted);
  background: #fafbfc;
  text-align: center;
  cursor: pointer;
  transition: .2s ease;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--blue); background: #f3fbfe; }
.upload-zone svg { width: 42px; height: 42px; margin-bottom: 12px; color: var(--blue); stroke-width: 1.35; }
.upload-zone strong { display: block; color: var(--ink); font-size: 14px; }
.upload-zone small { display: block; margin-top: 5px; font-size: 11px; }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone.has-preview { border-style: solid; }
.upload-zone.has-preview .upload-prompt { display: none; }
.upload-zone .preview { display: none; width: 100%; height: 294px; object-fit: cover; }
.upload-zone.has-preview .preview { display: block; }
.remove-preview { position: absolute; top: 12px; right: 12px; display: none; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; color: white; background: rgba(0,0,0,.65); cursor: pointer; }
.has-preview .remove-preview { display: grid; }
.remove-preview svg { width: 17px; height: 17px; margin: 0; }
.composer-tools { display: flex; align-items: center; gap: 4px; padding: 11px 14px; border-top: 1px solid var(--line); }
.composer-tools .icon-button { color: var(--blue); }
.char-count { margin-left: auto; color: var(--muted); font-size: 10px; }
.publish-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 20px 20px; }
.publish {
  height: 44px;
  border: 0;
  border-radius: 22px;
  color: white;
  background: var(--blue);
  font-weight: 700;
  cursor: pointer;
}
.publish:hover { background: var(--blue-dark); }
.schedule { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.upload-hint { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 17px 18px; border-radius: 13px; color: var(--muted); background: white; font-size: 12px; line-height: 1.5; }
.upload-hint svg { flex: 0 0 19px; width: 19px; color: var(--blue); }
.upload-hint span { flex: 1; }
.upload-hint button {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: white;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.upload-hint button:hover { color: #d53852; border-color: #efbac3; }

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .18s ease;
}
.modal[hidden] { display: none; }
.modal.open { opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 13, 18, .58); backdrop-filter: blur(3px); }
.modal-card {
  position: relative;
  width: min(390px, 100%);
  padding: 25px;
  border-radius: 17px;
  background: white;
  box-shadow: 0 25px 70px rgba(0,0,0,.24);
  text-align: center;
  transform: translateY(8px) scale(.98);
  transition: transform .18s ease;
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-icon { display: grid; place-items: center; width: 43px; height: 43px; margin: 0 auto 13px; border-radius: 50%; color: #d53852; background: #fff0f3; }
.modal-icon svg { width: 20px; height: 20px; }
.modal-card h2 { margin: 0; font: 750 20px "Manrope", sans-serif; }
.modal-card p { margin: 8px 0 21px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.modal-actions button { height: 42px; border: 0; border-radius: 21px; font-weight: 700; cursor: pointer; }
.modal-cancel { color: var(--ink); background: var(--wash); }
.modal-confirm { color: white; background: #d53852; }

.toast {
  position: fixed;
  z-index: 99;
  right: 25px;
  bottom: 25px;
  padding: 12px 17px;
  border-radius: 10px;
  color: white;
  background: #1e252b;
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: .22s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.mobile-nav { display: none; }

@media (max-width: 1160px) {
  .app-shell { grid-template-columns: 90px minmax(510px, 650px) 310px; }
  .sidebar { align-items: center; padding: 25px 14px; }
  .brand-only, .brand-pants, .main-nav span, .new-post-button span, .account-chip span, .account-chip > svg { display: none; }
  .brand { padding: 2px 0 25px; }
  .brand-mark { width: 38px; height: 38px; margin: 0; font-size: 19px; }
  .main-nav a, .main-nav button { justify-content: center; width: 50px; padding: 0; }
  .new-post-button { width: 50px; height: 50px; }
  .account-chip { padding: 4px; }
}

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

@media (max-width: 640px) {
  body { background: white; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  .page { border-right: 0; padding-bottom: 67px; }
  .page-topbar { height: 56px; padding: 0 16px; }
  .profile-cover { height: 155px; }
  .profile-avatar { width: 96px; height: 96px; margin-top: -48px; }
  .profile-actions { right: 16px; }
  .profile-info { padding-inline: 16px; }
  .subscribe-card { margin-inline: 12px; }
  .post-head, .post-copy { padding-inline: 14px; }
  .post-media { aspect-ratio: 1 / 1; }
  .upload-wrap { padding: 14px 10px 40px; }
  .composer { border-radius: 13px; box-shadow: none; }
  .upload-zone { min-height: 250px; margin-inline: 13px; }
  .upload-hint { align-items: flex-start; flex-wrap: wrap; }
  .upload-hint button { margin-left: 31px; }
  .mobile-nav {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 63px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
  }
  .mobile-nav a, .mobile-nav button { display: grid; place-items: center; border: 0; color: var(--ink); background: none; }
  .mobile-nav a.active { color: var(--blue); }
  .mobile-nav .mobile-create { align-self: center; justify-self: center; width: 43px; height: 43px; border-radius: 50%; color: white; background: var(--blue); }
  .toast { right: 12px; bottom: 75px; left: 12px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; }
}
