:root {
  color-scheme: light;
  --page: #fbf9fa;
  --white: #fff;
  --ink: #29283b;
  --muted: #6c6475;
  --line: #eae3e8;
  --rose: #b84464;
  --rose-hover: #9e3655;
  --rose-light: #fbeaf0;
  --blue: #436789;
  --blue-light: #edf5fb;
  --shadow: 0 2px 8px rgb(62 43 58 / 4%);
  --select-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5.5 4 4 4-4' fill='none' stroke='%23756478' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Sans GB", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-width { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-200%);
  background: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
}

.skip-link:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr minmax(160px, 248px) auto;
  grid-template-areas: "brand nav search account";
  gap: 28px;
  align-items: center;
}

.brand { grid-area: brand; display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.brand-logo { object-fit: cover; border-radius: 50%; border: 1px solid #f2d9e4; width: 46px; height: 46px; }
.brand-text { display: grid; line-height: 1.15; gap: 3px; }
.brand-text strong { font-size: 1.31rem; letter-spacing: .1em; font-weight: 750; }
.brand-text > span {
  font-family: system-ui, sans-serif;
  color: #947083;
  font-size: .67rem;
  letter-spacing: .135em;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav { grid-area: nav; display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: .9rem;
  line-height: 1.4;
  font-weight: 650;
  white-space: nowrap;
  color: #655d6e;
}

.nav-link[aria-current="page"], .nav-link:hover { background: var(--rose-light); color: var(--rose); }
.search {
  grid-area: search;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 39px;
  padding: 0 11px;
  background: #f9f6f8;
  border: 1px solid #f0e9ee;
  border-radius: 9px;
}
.search:focus-within { background: var(--white); border-color: #cf8ca1; }
.search-button {
  display: grid;
  place-items: center;
  padding: 0;
  width: 22px;
  height: 26px;
  background: transparent;
  border: 0;
  color: #807385;
}

.search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  font-size: .875rem;
  color: var(--ink);
  background: none;
  border: 0;
  outline: none;
}
.search input::placeholder { color: #786d7e; }
.account-controls { grid-area: account; display: flex; align-items: center; justify-content: flex-end; gap: 8px; white-space: nowrap; }
.account-controls .btn { min-height: 36px; padding: 6px 13px; }
.account-name { display: flex; align-items: center; gap: 7px; overflow: hidden; max-width: 145px; font-size: .875rem; font-weight: 700; }
.account-name > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.account-controls .avatar { width: 32px; height: 32px; font-size: .85rem; flex: 0 0 auto; }

.btn {
  min-height: 40px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn .icon { width: 1.16rem; height: 1.16rem; }
.btn-primary { background: var(--rose); color: var(--white); border-color: var(--rose); }
.btn-primary:hover { background: var(--rose-hover); border-color: var(--rose-hover); }
.btn-secondary { background: var(--white); border-color: #e6d7e1; color: #665268; }
.btn-secondary:hover { background: #fff7fa; border-color: #d9aebf; color: var(--rose); }
.btn-quiet { color: var(--muted); background: transparent; }
.btn-quiet:hover { color: var(--rose); background: var(--rose-light); }

.page-main { padding-top: 26px; }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 302px;
  overflow: hidden;
  border: 1px solid #efdce4;
  border-radius: 20px;
  background: #fcebf0;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgb(252 235 240 / 68%), rgb(252 235 240 / 30%) 32%, transparent 62%), url("/assets/harbor.webp");
  background-position: center, right 50%;
  background-size: 100% 100%, cover;
}

.hero-copy { padding: 30px 46px 33px; }
.hero h1 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(2.4rem, 4vw, 3.65rem);
  letter-spacing: .045em;
  font-weight: 800;
  line-height: 1.13;
  color: #2d263a;
}

.hero h1 span { color: #ab4967; }
.hero p { margin: 16px 0 22px; color: #655268; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn { padding-inline: 15px; min-height: 42px; }
.hero .btn-primary { box-shadow: 0 4px 10px rgb(155 53 88 / 15%); }
.hero .btn-secondary { background: rgb(255 255 255 / 83%); }

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
  align-items: start;
  padding-top: 29px;
}
.feed { min-width: 0; scroll-margin-top: 16px; }
.feed-heading-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 9px;
}
.feed-heading-row h2 { font-size: 1.45rem; line-height: 1.4; font-weight: 750; letter-spacing: .035em; }
.feed-filters { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; color: var(--muted); font-size: .875rem; }
#active-filter { min-width: 0; }
.sort-select {
  appearance: none;
  padding: 6px 29px 6px 10px;
  background: var(--white) var(--select-icon) right 9px center no-repeat;
  color: #65596d;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  color: var(--rose);
  background: #fff2f6;
  border: 1px solid #efd9e4;
  border-radius: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.filter-chip:hover { background: var(--rose-light); }
.filter-chip .icon { width: .89rem; height: .89rem; }
.feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 15px;
  padding-inline: 2px;
  border-bottom: 1px solid #e9e1e7;
  margin-bottom: 14px;
}
.tab {
  position: relative;
  padding: 9px 9px 10px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.45;
}
.tab[aria-selected="true"], .tab[aria-pressed="true"], .tab:hover { color: var(--rose); }
.tab[aria-selected="true"]::after {
  position: absolute;
  content: "";
  inset: auto 6px -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--rose);
}
#quick-compose:empty { display: none; }
.composer-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
  box-shadow: var(--shadow);
  margin-bottom: 13px;
}
.composer-button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
  min-height: 38px;
  padding: 5px 10px;
  color: #756b7b;
  background: #faf7f9;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .91rem;
}
.composer-button .avatar { width: 32px; height: 32px; font-size: .825rem; }
.composer-button:hover { border-color: #e3bdcd; color: var(--rose); }
.composer-bar .btn { min-height: 36px; padding: 5px 10px; }
.feed-status { color: var(--muted); margin: 0 0 10px; font-size: .9rem; }
.feed-status:empty { display: none; }
.feed-list { display: grid; gap: 12px; }

.post-card {
  background: var(--white);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 19px 13px;
  box-shadow: var(--shadow);
}
.post-author { display: flex; align-items: center; gap: 9px; min-width: 0; margin-bottom: 10px; }
.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1;
  color: #985269;
  background: #fbe8ef;
}
.avatar[data-tone="sky"], .category-icon[data-tone="sky"] { background: var(--blue-light); color: #466c95; }
.avatar[data-tone="mint"], .category-icon[data-tone="mint"] { background: #e9f3ee; color: #377361; }
.avatar[data-tone="lilac"], .category-icon[data-tone="lilac"] { background: #f0ebfa; color: #765d9b; }
.avatar[data-tone="peach"], .category-icon[data-tone="peach"] { background: #f9efe5; color: #875d3f; }
.post-author-info { display: grid; gap: 1px; min-width: 0; }
.post-author-info strong { color: #40364a; font-size: .9rem; font-weight: 740; line-height: 1.3; overflow-wrap: anywhere; }
.post-meta { font-size: .78rem; line-height: 1.55; color: #706677; }
.post-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-inline-start: auto;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fbeef3;
  color: #98516d;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.post-type[data-type="update"] { color: var(--blue); background: var(--blue-light); }
.post-title {
  display: block;
  max-width: 100%;
  padding: 0;
  margin: 0 0 3px;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
a.post-title:hover, a.post-body:hover { color: var(--rose); }
.post-body {
  color: #554c60;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  text-decoration: none;
  white-space: pre-wrap;
}
.post-card .post-body {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.post-image {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  padding: 0;
  margin-top: 10px;
  background: #f5eef3;
}
.post-image img { object-fit: contain; max-width: 100%; max-height: 300px; }
.post-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  justify-content: space-between;
  margin-top: 9px;
}
.post-actions { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; color: var(--muted); }
.post-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-size: .82rem;
  line-height: 1.4;
  color: #6e6175;
  text-decoration: none;
  white-space: nowrap;
}
.post-action .icon { width: 17px; height: 17px; }
.post-action:hover, .post-action[aria-pressed="true"] { background: #fff1f5; color: var(--rose); }
.post-action[aria-pressed="true"] .icon { fill: #f9d7e3; stroke-width: 1.8; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  border: 1px solid #eee6ed;
  border-radius: 6px;
  color: #746078;
  background: #faf7fa;
  padding: 3px 8px;
  font-size: .75rem;
  line-height: 1.3;
  white-space: nowrap;
}
.custom-tag { color: var(--blue); background: var(--blue-light); border-color: #dae9f3; }
.post-tag:hover { color: var(--rose); border-color: #e3bacb; }
.empty-state {
  padding: 34px 18px;
  border: 1px dashed #dfd2dc;
  border-radius: 12px;
  color: var(--muted);
  background: var(--white);
  text-align: center;
}
.empty-state h3, .empty-state strong { color: var(--ink); font-size: 1.1rem; }
.empty-state > .icon { width: 31px; height: 31px; margin-bottom: 6px; color: var(--rose); }
.empty-state .btn { margin-top: 10px; }

.sidebar { display: grid; gap: 15px; }
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.side-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 750;
}
.side-heading-icon { color: #a15d76; }
.side-heading-icon .icon { width: 1.18rem; height: 1.18rem; }
.categories { display: grid; gap: 4px; margin-top: 11px; }
.category-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 7px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #524759;
  text-align: left;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.3;
}
.category-button:hover, .category-button[aria-pressed="true"] {
  border-color: #f2dce6;
  color: #973d5e;
  background: #fcf0f5;
}
.category-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #9b536e;
  background: #fae9f0;
}
.category-icon .icon { width: 16px; height: 16px; }
.category-button-text { min-width: 0; overflow-wrap: anywhere; }
.category-count { margin-inline-start: auto; color: #746777; font-size: .77rem; font-weight: 500; }
.community-card {
  background: linear-gradient(147deg, #fff5f8, #fdf4f8 53%, #f5f1fa);
  border-color: #eedce7;
}
.community-intro { display: flex; align-items: center; gap: 11px; }
.community-intro img {
  border: 1px solid #efd9e3;
  border-radius: 10px;
  width: 54px;
  height: 54px;
  background: #fff;
  object-fit: cover;
}
.community-copy { margin-top: 3px; color: #6d5b71; font-size: .875rem; }
.community-action:not(:empty) { margin-top: 11px; }
.community-action .btn { width: 100%; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: 38px;
  padding-block: 15px 24px;
  border-top: 1px solid var(--line);
  color: #756a7a;
  font-size: .83rem;
}
.app-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #ebdfe7;
  border-radius: 17px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 20px 80px rgb(51 33 55 / 25%);
  overscroll-behavior: contain;
}
.app-dialog::backdrop { background: rgb(42 33 52 / 48%); backdrop-filter: blur(3px); }
body:has(.app-dialog[open]) { overflow: hidden; }
.dialog-inner { padding: 23px 25px 24px; }
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.dialog-title { color: var(--ink); font-weight: 750; line-height: 1.4; font-size: 1.3rem; }
.dialog-description { font-size: .94rem; color: var(--muted); margin: 3px 0 13px; }
.dialog-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  background: #faf6f8;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #65556a;
  padding: 0;
}
.dialog-close:hover { background: var(--rose-light); color: var(--rose); }
.dialog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.dialog-tabs .tab { border-radius: 7px; padding: 7px 10px; }
.dialog-tabs .tab[aria-selected="true"], .dialog-tabs .tab[aria-pressed="true"] { background: var(--rose-light); }
.dialog-tabs .tab::after { display: none; }
.field { display: grid; gap: 5px; margin-bottom: 12px; font-size: .9rem; color: #51455a; font-weight: 700; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fdfbfc;
  border: 1px solid #e3d7e1;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
}
.field :is(input, select, textarea):focus { border-color: #ce8da3; }
.field select {
  appearance: none;
  padding-right: 27px;
  background: #fdfbfc var(--select-icon) right 8px center no-repeat;
}
.field textarea { min-height: 94px; resize: vertical; }
.field small, .field-hint { color: var(--muted); font-size: .82rem; font-weight: 400; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.form-error { color: #a42950; background: #fff1f5; border-radius: 7px; padding: 7px 10px; margin-top: 8px; font-size: .875rem; }
.form-error:empty { display: none; }
.detail-post .post-title { font-size: 1.32rem; }
.detail-post .post-body { display: block; overflow: visible; }
.detail-post .post-image img { max-height: 330px; }
.comment-section { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 12px; }
.comment-title { margin-bottom: 7px; color: var(--ink); font-size: 1rem; }
.comment-title span { margin-inline-start: 4px; color: var(--muted); font-size: .82rem; }
.comment-list { display: grid; gap: 10px; margin-top: 10px; }
.comment { padding: 10px 0; border-bottom: 1px solid #f2edf1; overflow-wrap: anywhere; }
.comment-body { white-space: pre-wrap; }
.comment .post-author { margin-bottom: 5px; }
.comment .avatar { width: 32px; height: 32px; font-size: .8rem; }
.comment-empty { color: var(--muted); font-size: .9rem; }
.reply-form { margin-top: 12px; }
.reply-form textarea { min-height: 70px; }
.toast {
  position: fixed;
  z-index: 30;
  inset: auto 16px 18px auto;
  width: max-content;
  max-width: min(410px, calc(100% - 32px));
  background: #302938;
  color: white;
  padding: 9px 15px;
  border-radius: 9px;
  box-shadow: 0 8px 25px rgb(48 34 51 / 23%);
  font-size: .9rem;
}
.toast:empty { display: none; }
.noscript { max-width: min(520px, calc(100% - 32px)); margin: 10px auto; text-align: center; }

@media (max-width: 1000px) {
  .page-width { width: calc(100% - 48px); }
  .header-inner { gap: 14px; }
  .community-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 17px; }
  .hero-copy { padding-inline: 30px; }
}
@media (max-width: 760px) {
  .community-layout { grid-template-columns: minmax(0, 1fr) 215px; gap: 12px; }
  .page-width { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: auto auto minmax(0,1fr) auto; gap: 8px; }
  .site-nav { gap: 2px; }
  .nav-link { padding-inline: 8px; }
  .nav-link .icon { display: none; }
  .side-card { padding: 13px; }
  .community-intro { align-items: flex-start; }
  .community-intro img { width: 41px; height: 41px; }
  .post-card { padding-inline: 13px; }
}
@media (max-width: 620px) {
  .header-inner {
    grid-template-areas: "brand account" "nav search";
    grid-template-columns: auto minmax(0,1fr);
    gap: 9px 12px;
    padding-block: 11px 8px;
  }
  .brand-logo { width: 39px; height: 39px; }
  .brand-text strong { font-size: 1.17rem; }
  .brand-text > span { font-size: .58rem; }
  .nav-link .icon { display: inline-block; width: .95rem; height: .95rem; }
  .search { height: 36px; padding-inline: 7px; gap: 3px; }
  .search input { font-size: 1rem; }
  .search input::placeholder { font-size: .875rem; }
  .page-main { padding-top: 14px; }
  .hero { min-height: 248px; border-radius: 14px; }
  .hero-copy { padding: 22px 16px; }
  .hero-art {
    background-image: linear-gradient(90deg, #fcebf0 0%, rgb(252 235 240 / 86%) 35%, rgb(252 235 240 / 55%) 62%, rgb(252 235 240 / 15%) 100%), url("/assets/harbor.webp");
    background-position: center, right center;
  }
  .hero h1 { font-size: clamp(2.05rem, 8vw, 3.35rem); }
  .hero p { margin: 11px 0 14px; }
  .hero .btn { min-height: 39px; padding-inline: 10px; }
  .hero-actions { gap: 7px; }
  .community-layout { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .sidebar { display: contents; }
  .category-card { grid-row: 1; padding: 8px 10px; }
  .category-card h2 { font-size: .89rem; }
  .category-card h2 .icon { width: .95rem; height: .95rem; }
  .categories {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 3px;
    margin-top: 5px;
  }
  .category-button {
    width: auto;
    min-height: 34px;
    flex: 0 0 auto;
    background: #faf7f9;
    white-space: nowrap;
    gap: 4px;
    font-size: .85rem;
  }
  .category-icon { width: auto; height: auto; background: none !important; }
  .category-icon .icon { width: .9rem; height: .9rem; }
  .category-count { display: none; }
  .community-card { padding: 13px 14px; }
  .community-intro { align-items: center; }
  .feed-heading-row h2 { font-size: 1.22rem; }
  .feed-tabs { margin-bottom: 10px; }
  .site-footer { margin-top: 22px; }
  .dialog-inner { padding: 15px; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 20px); }
  .header-inner { gap: 8px; }
  .nav-link { gap: 4px; padding-inline: 6px; }
  .account-controls { gap: 3px; }
  .account-controls .btn { padding-inline: 8px; }
  .account-name { max-width: 84px; }
  .composer-bar { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
