:root {
  --paper:#f8f6f0;
  --surface:#fffefb;
  --ink:#354034;
  --muted:#8c9182;
  --green:#637759;
  --green-dark:#43583d;
  --green-light:#edf0e5;
  --line:#e7e8dd;
  --terra:#b17e64;
  --serif:"Songti SC","Noto Serif CJK SC",STSong,Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:14px;
  line-height:1.6;
}
button,input,textarea,select {
  font:inherit;
}
button,a,input,textarea,select {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:wait;
  opacity:.55;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  color:inherit;
}
button:focus-visible,a:focus-visible {
  outline:2px solid var(--green);
  outline-offset:4px;
}
input:focus,textarea:focus,select:focus {
  outline:2px solid #a8b89a;
  outline-offset:1px;
}
svg.icon {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
  vertical-align:middle;
}
button {
  border:0;
  background:none;
}
h1,h2,h3,p {
  margin:0;
}
button.primary,.primary {
  background:var(--green);
  color:white;
  padding:12px 20px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-weight:500;
}
button.primary:hover {
  background:var(--green-dark);
}
button.secondary {
  padding:10px 16px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:10px;
}
button.subtle {
  color:var(--muted);
  padding:8px 10px;
  border-radius:8px;
}
button.subtle:hover {
  background:var(--green-light);
  color:var(--green-dark);
}
button.danger {
  color:#a25e50;
}
.eyebrow {
  font-size:10px;
  letter-spacing:3px;
  color:var(--terra);
  font-weight:600;
}
.serif {
  font-family:var(--serif);
}
.muted {
  color:var(--muted);
}
.small {
  font-size:12px;
}
.loading {
  min-height:100svh;
  display:grid;
  place-items:center;
  color:var(--green);
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
}
.brand-mark {
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  border:1px solid #d4dcc6;
  border-radius:12px;
  background:var(--green-light);
  color:var(--green);
}
.brand-mark .icon {
  width:23px;
  height:23px;
}
.brand-name {
  font-family:var(--serif);
  font-size:22px;
  font-weight:600;
  letter-spacing:2px;
}
.brand-sub {
  font-size:9px;
  letter-spacing:1.8px;
  color:var(--muted);
  display:block;
  margin-top:-3px;
}
.app-header {
  height:87px;
  border-bottom:1px solid var(--line);
  background:#fffefbba;
}
.header-inner {
  max-width:1190px;
  height:100%;
  margin:auto;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.header-center {
  display:flex;
  align-items:center;
  gap:32px;
  font-size:13px;
  color:var(--muted);
}
.header-center button {
  height:87px;
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:2px solid transparent;
  border-radius:0;
  padding:0 2px;
}
.header-center button.active {
  color:var(--green-dark);
  border-bottom-color:var(--green);
}
.header-right {
  display:flex;
  align-items:center;
  gap:12px;
}
.header-right .primary {
  padding:10px 16px;
  font-size:12px;
}
.avatar {
  width:36px;
  height:36px;
  border-radius:50%;
  background:#e6eadb;
  color:#5c7152;
  display:inline-grid;
  place-items:center;
  font-family:Georgia,serif;
  font-size:15px;
  flex-shrink:0;
}
.avatar.jailyn {
  background:#f2e5d8;
  color:#a6785c;
}
.account-button {
  padding:3px;
  display:flex;
  align-items:center;
  gap:6px;
}
.account-button>.icon {
  width:12px;
}
.demo-banner {
  font-size:11px;
  text-align:center;
  padding:6px 12px;
  background:#ecebdc;
  color:#777c67;
  letter-spacing:.3px;
}
.demo-banner button {
  text-decoration:underline;
  font-size:11px;
  margin-left:12px;
}
.layout {
  max-width:1190px;
  margin:0 auto;
  padding:32px 28px 50px;
  display:grid;
  grid-template-columns:244px minmax(0,1fr);
  gap:36px;
}
.sidebar {
  padding-top:8px;
}
.side-home {
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface);
  padding:26px 20px 22px;
  text-align:center;
}
.paired-avatars {
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:14px;
}
.paired-avatars .avatar {
  width:46px;
  height:46px;
  font-size:20px;
  border:3px solid var(--surface);
}
.paired-avatars .avatar+.avatar {
  margin-left:-8px;
}
.paired-avatars span.connector {
  font-size:12px;
  color:var(--muted);
  padding:0 9px;
}
.side-home h2 {
  font-family:Georgia,serif;
  letter-spacing:1px;
  font-size:15px;
  font-weight:400;
}
.side-home>p {
  font-size:11px;
  color:var(--muted);
  margin-top:7px;
}
.side-stats {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:23px;
  padding-top:20px;
  border-top:1px dashed var(--line);
}
.side-stats strong {
  display:block;
  font-family:Georgia,serif;
  font-size:26px;
  font-weight:400;
}
.side-stats span {
  font-size:11px;
  color:var(--muted);
}
.side-nav {
  padding:24px 0;
  display:grid;
  gap:7px;
}
.side-nav button {
  display:flex;
  align-items:center;
  gap:13px;
  padding:13px 17px;
  border-radius:10px;
  text-align:left;
  color:#89917f;
  font-size:13px;
}
.side-nav button.active {
  background:#e8eddf;
  color:#4b6244;
}
.side-nav button:hover {
  background:var(--green-light);
}
.side-nav .count {
  margin-left:auto;
  font-size:11px;
  color:#85917b;
}
.last-seen {
  border-top:1px solid var(--line);
  padding:24px 12px;
  display:flex;
  gap:11px;
  font-size:11px;
}
.status-dot {
  width:6px;
  height:6px;
  background:#9aa98a;
  border-radius:50%;
  display:inline-block;
  margin-right:6px;
}
.last-seen strong {
  font-size:12px;
  font-weight:500;
}
.last-seen p {
  color:var(--muted);
  margin-top:3px;
}
.side-note {
  margin:23px 10px;
  padding:20px 0;
  border-top:1px dashed var(--line);
  color:#a0a48f;
  font-family:var(--serif);
  font-size:13px;
  line-height:2;
}
.sidebar-footer {
  font-size:10px;
  letter-spacing:1px;
  color:#a2a793;
  padding:10px;
}
.main-content {
  min-width:0;
}
.hero {
  position:relative;
  border:1px solid #e1e5d7;
  background:#eef0e4;
  min-height:226px;
  border-radius:18px;
  overflow:hidden;
  padding:31px 34px;
  display:flex;
  align-items:center;
}
.hero-copy {
  position:relative;
  z-index:1;
}
.hero .eyebrow {
  font-size:9px;
  letter-spacing:2.5px;
  color:#7e8c6a;
  margin-bottom:16px;
}
.hero h1 {
  font-family:var(--serif);
  font-weight:500;
  font-size:29px;
  line-height:1.65;
  letter-spacing:1px;
}
.hero p {
  font-size:12px;
  color:#8b947e;
  margin-top:13px;
  line-height:1.9;
}
.hero img {
  position:absolute;
  width:330px;
  right:-13px;
  bottom:-9px;
  opacity:.92;
}
.hero-line {
  width:30px;
  height:1px;
  background:#b6c1a4;
  margin-top:19px;
}
.feed-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:29px 0 18px;
}
.section-title {
  font-family:var(--serif);
  font-weight:500;
  font-size:21px;
  display:flex;
  align-items:center;
  gap:10px;
}
.section-title .icon {
  color:var(--green);
  width:20px;
  height:20px;
}
.search {
  position:relative;
  max-width:230px;
  flex:1;
}
.search input {
  width:100%;
  height:36px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fffefb;
  padding:0 12px 0 33px;
  font-size:11px;
  color:var(--ink);
}
.search .icon {
  position:absolute;
  top:9px;
  left:10px;
  width:16px;
  color:#a0a793;
}
.feed-tabs {
  display:flex;
  gap:6px;
  align-items:center;
  margin-bottom:20px;
}
.feed-tabs button {
  font-size:11px;
  color:var(--muted);
  border:1px solid transparent;
  padding:6px 14px;
  border-radius:20px;
}
.feed-tabs button.active {
  background:var(--surface);
  color:var(--green);
  border-color:#dbe1d1;
}
.feed-tabs .sort-label {
  margin-left:auto;
  color:#a0a693;
  font-size:10px;
  display:flex;
  gap:5px;
  align-items:center;
}
.sort-label .icon {
  width:12px;
}
.timeline {
  position:relative;
  padding-left:25px;
}
.timeline:before {
  content:"";
  position:absolute;
  left:5px;
  top:16px;
  bottom:20px;
  width:1px;
  background:#dde2d3;
}
.date-label {
  position:relative;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  color:#8b9580;
  margin:21px 0 13px;
}
.date-label:first-child {
  margin-top:0;
}
.date-label:before {
  content:"";
  position:absolute;
  left:-24px;
  top:6px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#bac5a9;
  border:2px solid var(--paper);
}
.date-label span {
  font-size:10px;
  color:#a9ae9e;
}
.post-card {
  padding:22px 25px 0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:13px;
  margin-bottom:17px;
  transition:border-color .2s,box-shadow .2s;
  cursor:pointer;
}
.post-card:hover {
  border-color:#c6d0b7;
  box-shadow:0 5px 18px #64735407;
}
.post-card:focus-visible {
  outline:2px solid var(--green);
  outline-offset:4px;
}
.post-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}
.author-block {
  display:flex;
  align-items:center;
  gap:10px;
}
.author-block .avatar {
  width:30px;
  height:30px;
  font-size:13px;
}
.author-name {
  font-size:11px;
  font-weight:600;
  letter-spacing:1px;
}
.post-time {
  font-size:10px;
  color:var(--muted);
  margin-left:9px;
}
.mood-tag {
  font-size:18px;
  background:#f7f5ee;
  width:31px;
  height:31px;
  border-radius:50%;
  display:grid;
  place-items:center;
}
.post-card h3 {
  font-family:var(--serif);
  font-size:20px;
  font-weight:500;
  line-height:1.6;
  margin-bottom:8px;
  letter-spacing:.3px;
}
.post-card .excerpt {
  white-space:pre-line;
  color:#828977;
  font-size:12px;
  line-height:2;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:18px;
}
.post-meta {
  display:flex;
  gap:15px;
  color:#a0a592;
  font-size:10px;
  margin:12px 0 19px;
}
.post-meta span {
  display:flex;
  align-items:center;
  gap:5px;
}
.post-meta .icon {
  width:13px;
  height:13px;
}
.post-bottom {
  display:flex;
  align-items:center;
  gap:12px;
  border-top:1px solid #efefe6;
  padding:12px 0;
  color:#959e87;
  font-size:10px;
}
.post-bottom .comment-count {
  display:flex;
  align-items:center;
  gap:5px;
}
.post-bottom .icon {
  width:14px;
  height:14px;
}
.read-status {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:5px;
}
.read-status.read {
  color:#7c9168;
}
.read-status.unread {
  color:#b0b5a5;
}
.media-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin:12px 0 17px;
}
.media-grid.single {
  grid-template-columns:1fr;
  max-width:460px;
}
.media-grid img {
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:7px;
  background:#f0f0e8;
}
.media-grid.single img {
  height:auto;
  max-height:380px;
  object-fit:cover;
}
.video-teaser {
  width:100%;
  padding:20px;
  background:#ecefe4;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:15px;
  font-size:12px;
  color:var(--green);
}
.feed-end {
  text-align:center;
  color:#a5ac99;
  font-size:10px;
  letter-spacing:1px;
  margin-top:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.feed-end:before,.feed-end:after {
  content:"";
  height:1px;
  width:35px;
  background:var(--line);
}
.load-more {
  display:block;
  margin:20px auto;
}
.empty-state {
  background:var(--surface);
  border:1px dashed #d7ddcb;
  border-radius:14px;
  text-align:center;
  padding:50px 20px;
}
.empty-state>.icon {
  width:37px;
  height:37px;
  color:#9da98b;
  margin-bottom:18px;
}
.empty-state h3 {
  font-family:var(--serif);
  font-weight:500;
  font-size:23px;
}
.empty-state p {
  color:var(--muted);
  font-size:12px;
  margin:10px 0 22px;
}
.reset-notice {
  padding:16px;
  background:#f3e8d9;
  border:1px solid #e5d2bc;
  border-radius:12px;
  margin-bottom:20px;
  font-size:12px;
}
.reset-notice p {
  margin-bottom:10px;
}
.reset-notice button {
  font-size:12px;
}
.mobile-compose {
  display:none;
}
dialog {
  border:1px solid var(--line);
  border-radius:20px;
  width:min(640px,calc(100% - 28px));
  max-height:calc(100svh - 46px);
  padding:0;
  background:var(--surface);
  color:var(--ink);
  box-shadow:0 24px 100px #25302425;
}
dialog::backdrop {
  background:#34402d55;
  backdrop-filter:blur(4px);
}
.dialog-header {
  padding:23px 27px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  background:var(--surface);
  z-index:2;
}
.dialog-header h2 {
  font-family:var(--serif);
  font-size:23px;
  font-weight:500;
  letter-spacing:1px;
}
.close-button {
  border-radius:50%;
  padding:7px;
  display:grid;
  place-items:center;
  color:var(--muted);
}
.close-button:hover {
  background:var(--green-light);
}
.dialog-body {
  padding:25px 28px;
}
.field {
  display:block;
  margin-bottom:18px;
}
.field>span {
  font-size:11px;
  color:#7f8974;
  display:block;
  margin-bottom:8px;
  letter-spacing:.5px;
}
.field input,.field textarea,.field select {
  width:100%;
  background:#fcfcf7;
  border:1px solid #e1e5d8;
  border-radius:9px;
  color:var(--ink);
  padding:11px 12px;
  font-size:13px;
  min-width:0;
}
.field textarea {
  resize:vertical;
  min-height:155px;
  line-height:1.9;
}
.field input::placeholder,.field textarea::placeholder {
  color:#a9af9e;
}
.field-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.char-count {
  text-align:right;
  font-size:10px;
  color:var(--muted);
  margin-top:4px;
}
.emoji-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:7px;
}
.emoji-row button {
  height:34px;
  width:37px;
  border:1px solid transparent;
  background:#f6f5ee;
  border-radius:8px;
  font-size:19px;
}
.emoji-row button.selected {
  background:#e7eddf;
  border-color:#a9b89a;
}
.composer-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:20px;
  border-top:1px solid var(--line);
  margin-top:21px;
}
.composer-footer>span {
  font-size:11px;
  color:var(--muted);
}
.upload-button {
  border:1px dashed #bac7ac;
  border-radius:9px;
  color:var(--green);
  padding:11px 15px;
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:12px;
  cursor:pointer;
  background:#f6f8f1;
}
.upload-button input {
  display:none;
}
.upload-help {
  font-size:10px;
  color:var(--muted);
  margin-top:9px;
}
.upload-list {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:12px;
}
.upload-item {
  position:relative;
  border-radius:9px;
  background:#eff1e9;
  border:1px solid var(--line);
  width:84px;
  height:84px;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.upload-item img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.upload-item .icon {
  color:var(--green);
}
.upload-item button {
  position:absolute;
  top:3px;
  right:3px;
  border-radius:50%;
  background:#fffefbe6;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  font-size:15px;
}
.inline-error {
  color:#a36352;
  font-size:12px;
  white-space:pre-line;
  margin:12px 0;
}
.full-width {
  width:100%;
}
.detail-title {
  font-size:28px;
  font-family:var(--serif);
  font-weight:500;
  line-height:1.6;
  margin:20px 0 12px;
}
.detail-body {
  white-space:pre-wrap;
  font-size:14px;
  line-height:2.05;
  margin:18px 0 26px;
  overflow-wrap:anywhere;
}
.detail-media img {
  max-width:100%;
  border-radius:10px;
  display:block;
  margin:14px auto;
}
.detail-media video {
  width:100%;
  max-height:420px;
  border-radius:10px;
  background:#30372c;
}
.media-download {
  display:block;
  text-align:right;
  font-size:10px;
  color:var(--muted);
  margin-top:-6px;
  margin-bottom:20px;
}
.detail-controls {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0 20px;
  border-bottom:1px solid var(--line);
  font-size:11px;
  color:var(--muted);
}
.detail-controls .read-status {
  margin-left:0;
}
.detail-controls button {
  font-size:11px;
}
.comments-title {
  font-family:var(--serif);
  font-size:20px;
  font-weight:500;
  margin:23px 0 20px;
}
.comment {
  display:flex;
  gap:10px;
  margin:19px 0;
}
.comment .avatar {
  width:28px;
  height:28px;
  font-size:12px;
}
.comment-body {
  flex:1;
  min-width:0;
}
.comment-body p {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:#f5f6ed;
  border-radius:0 9px 9px 9px;
  padding:11px 14px;
  margin-top:7px;
  font-size:12px;
  line-height:1.8;
}
.comment-body header {
  font-size:10px;
  color:var(--muted);
  display:flex;
  gap:10px;
  align-items:center;
}
.comment-body header strong {
  color:#758365;
  letter-spacing:.5px;
}
.comment-form {
  margin-top:25px;
}
.comment-form textarea {
  min-height:75px;
}
.comment-form footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.comment-form footer span {
  font-size:10px;
  color:var(--muted);
}
.comment-form .primary {
  font-size:12px;
  padding:9px 16px;
}
.settings-row {
  border-bottom:1px solid var(--line);
  padding:18px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.settings-row strong {
  font-size:13px;
  font-weight:500;
}
.settings-row p {
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
}
.settings-row button,.settings-row a {
  font-size:12px;
}
.settings-info {
  font-size:11px;
  color:var(--muted);
  padding:22px 0 0;
  line-height:2;
}
.trash-item {
  padding:17px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.trash-item p {
  font-size:11px;
  color:var(--muted);
}
.trash-item strong {
  font-size:14px;
  font-weight:500;
}
.trash-item button {
  font-size:12px;
}
.reset-code {
  display:block;
  background:#f0f2e8;
  border-radius:8px;
  padding:17px;
  font-family:monospace;
  word-break:break-all;
  margin:15px 0;
  user-select:all;
}
.login-layout {
  min-height:100svh;
  display:grid;
  grid-template-columns:1.1fr 1fr;
}
.login-art {
  position:relative;
  background:#e9edde;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:60px;
  text-align:center;
  overflow:hidden;
}
.login-art .eyebrow {
  margin-bottom:25px;
  color:#899675;
}
.login-art h1 {
  font-family:var(--serif);
  font-size:37px;
  line-height:1.8;
  font-weight:500;
  letter-spacing:3px;
}
.login-art img {
  width:min(480px,100%);
  margin:18px 0 5px;
}
.login-art p {
  font-family:var(--serif);
  font-size:14px;
  color:#8c967d;
  line-height:2;
  letter-spacing:1px;
}
.login-art .art-footer {
  position:absolute;
  bottom:35px;
  font-size:10px;
  color:#a2ad93;
  letter-spacing:2px;
}
.login-panel {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:42px 35px;
  background:var(--paper);
}
.login-box {
  width:100%;
  max-width:360px;
}
.login-box .brand {
  margin-bottom:46px;
}
.login-box h2 {
  font-family:var(--serif);
  font-size:29px;
  font-weight:500;
  letter-spacing:1px;
  margin-bottom:8px;
}
.login-intro {
  color:var(--muted);
  font-size:12px;
  margin-bottom:28px;
}
.account-select {
  display:flex;
  gap:12px;
  margin:24px 0;
}
.account-select button {
  flex:1;
  padding:13px 8px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:11px;
  letter-spacing:1px;
}
.account-select button.selected {
  background:#eef2e5;
  border-color:#aebda1;
  color:var(--green-dark);
}
.account-select .avatar {
  width:28px;
  height:28px;
  font-size:13px;
}
.login-links {
  display:flex;
  justify-content:space-between;
  margin:16px 0;
  font-size:11px;
  color:var(--muted);
}
.login-links button {
  padding:0;
  font-size:11px;
}
.login-hint {
  padding-top:24px;
  margin-top:26px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:#a5ab98;
  line-height:2;
}
.demo-login {
  margin-top:18px;
  border-top:1px dashed var(--line);
  padding-top:19px;
}
.demo-login p {
  font-size:10px;
  color:var(--muted);
  margin-bottom:9px;
}
.demo-login .secondary {
  font-size:11px;
  width:100%;
  color:var(--green);
  border-color:#ced7c1;
  background:#f1f4ea;
}
#toast {
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translate(-50%,12px);
  background:#43573e;
  color:#fffefb;
  border-radius:10px;
  padding:11px 20px;
  font-size:12px;
  max-width:calc(100% - 32px);
  width:max-content;
  opacity:0;
  pointer-events:none;
  transition:.2s;
  z-index:20;
  box-shadow:0 6px 22px #2530241a;
}
#toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}
.hidden {
  display:none!important;
}
.busy {
  opacity:.65;
  pointer-events:none;
}
.error-panel {
  text-align:center;
  padding:50px 20px;
}
.error-panel p {
  margin-bottom:20px;
  color:var(--muted);
}
@media(min-width:1450px) {
  .layout {
    padding-top:44px;
  }
  .hero {
    min-height:248px;
  }
  .hero img {
    width:360px;
  }
  .post-card {
    padding-top:25px;
    padding-bottom:0;
  }
  .hero h1 {
    font-size:33px;
  }
}
@media(max-width:1000px) {
  .layout {
    grid-template-columns:205px minmax(0,1fr);
    gap:24px;
    padding:26px 22px;
  }
  .hero {
    padding:28px;
    min-height:214px;
  }
  .hero h1 {
    font-size:25px;
  }
  .hero img {
    width:250px;
    right:-32px;
    opacity:.7;
  }
  .hero p {
    max-width:240px;
  }
  .side-home {
    padding:23px 14px;
  }
  .header-center {
    gap:20px;
  }
  .header-inner {
    padding:0 22px;
  }
}
@media(max-width:720px) {
  .app-header,.header-center button {
    height:72px;
  }
  .header-inner {
    padding:0 18px;
  }
  .brand-name {
    font-size:21px;
  }
  .brand-mark {
    width:32px;
    height:32px;
  }
  .header-center {
    display:none;
  }
  .header-right {
    gap:10px;
  }
  .header-right .primary {
    padding:8px 11px;
    font-size:11px;
  }
  .header-right .primary .icon {
    width:16px;
  }
  .header-right .account-button .icon {
    display:none;
  }
  .layout {
    display:block;
    padding:19px 16px 92px;
  }
  .sidebar {
    display:none;
  }
  .hero {
    border-radius:13px;
    min-height:202px;
    padding:25px 23px;
  }
  .hero h1 {
    font-size:25px;
  }
  .hero .eyebrow {
    font-size:8px;
    margin-bottom:12px;
  }
  .hero img {
    width:215px;
    right:-39px;
    bottom:-3px;
    opacity:.68;
  }
  .hero p {
    font-size:10px;
    max-width:195px;
    margin-top:10px;
  }
  .hero-line {
    margin-top:16px;
  }
  .feed-toolbar {
    margin:23px 0 15px;
    gap:15px;
  }
  .section-title {
    font-size:20px;
    white-space:nowrap;
  }
  .section-title .icon {
    width:17px;
  }
  .search {
    max-width:170px;
  }
  .search input {
    font-size:10px;
  }
  .feed-tabs {
    gap:2px;
    margin-bottom:18px;
  }
  .feed-tabs button {
    padding:5px 11px;
    font-size:10px;
  }
  .feed-tabs .sort-label {
    font-size:9px;
  }
  .timeline {
    padding-left:16px;
  }
  .timeline:before {
    left:2px;
  }
  .date-label:before {
    left:-17px;
  }
  .post-card {
    padding:18px 18px 0;
    border-radius:11px;
  }
  .post-card h3 {
    font-size:19px;
  }
  .post-card .excerpt {
    font-size:12px;
  }
  .post-top {
    margin-bottom:14px;
  }
  .post-time {
    font-size:9px;
  }
  .author-name {
    font-size:10px;
  }
  .post-meta {
    font-size:9px;
    gap:12px;
    margin-bottom:16px;
  }
  .post-bottom {
    font-size:9px;
    padding:12px 0;
  }
  .media-grid img {
    height:100px;
  }
  .mobile-compose {
    display:flex;
    align-items:center;
    justify-content:space-around;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:#fffefbf5;
    border-top:1px solid var(--line);
    padding:9px 12px calc(9px + env(safe-area-inset-bottom));
    z-index:4;
    backdrop-filter:blur(8px);
  }
  .mobile-compose button {
    font-size:9px;
    color:#99a28c;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
    min-width:50px;
  }
  .mobile-compose button.active {
    color:var(--green-dark);
  }
  .mobile-compose .compose-plus {
    width:42px;
    height:36px;
    min-width:42px;
    border-radius:12px;
    color:white;
    background:var(--green);
    justify-content:center;
    margin-top:-8px;
  }
  .mobile-compose .compose-plus .icon {
    width:22px;
    height:22px;
  }
  dialog {
    max-height:calc(100svh - 24px);
    border-radius:16px;
  }
  .dialog-header {
    padding:18px 20px 14px;
  }
  .dialog-header h2 {
    font-size:21px;
  }
  .dialog-body {
    padding:20px;
  }
  .field-grid {
    gap:10px;
  }
  .field input,.field select {
    padding:10px 9px;
    font-size:12px;
  }
  .detail-title {
    font-size:25px;
  }
  .detail-body {
    font-size:13px;
  }
  .composer-footer>span {
    font-size:10px;
  }
  .composer-footer .primary {
    padding:11px 16px;
    font-size:12px;
  }
  .login-layout {
    display:block;
  }
  .login-art {
    display:none;
  }
  .login-panel {
    min-height:100svh;
    padding:35px 28px;
    background:radial-gradient(ellipse at 0 0,#e9edde,transparent 70%),var(--paper);
  }
  .login-box {
    max-width:380px;
  }
  .login-box .brand {
    margin-bottom:45px;
  }
  .demo-banner {
    font-size:10px;
  }
  .demo-banner button {
    font-size:10px;
  }
  #toast {
    bottom:88px;
  }
  .empty-state {
    padding:42px 20px;
  }
  .last-seen-mobile {
    font-size:10px;
    color:var(--muted);
    margin:14px 0 0;
    display:flex;
    align-items:center;
    gap:7px;
  }
  .last-seen-mobile .avatar {
    width:20px;
    height:20px;
    font-size:10px;
  }
}
@media(min-width:721px) {
  .last-seen-mobile {
    display:none;
  }
}
#confirm-modal {
  width:min(420px,calc(100% - 28px));
}
.confirm-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:25px;
}
.post-card .excerpt {
  color:#6c7664;
}
.post-meta,.post-time,.post-bottom,.read-status.unread {
  color:#7c876f;
}
.field>span {
  color:#647258;
}
.login-intro,.small.muted,.upload-help,.settings-info {
  color:#78836c;
}
.confirm-actions button {
  min-width:80px;
}
@media(max-width:360px) {
  .header-inner { padding:0 12px; }
  .header-inner .brand { gap:8px; }
  .brand-name { font-size:18px; white-space:nowrap; }
  .header-right { gap:8px; }
  .header-right .primary { white-space:nowrap; }
  .field-grid { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

/* Clearly separate repeatable tests from personal memories. */
.test-banner{max-width:1160px;margin:16px auto;padding:18px 22px;background:#fff3da;border:1px solid #dec282;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#71521e}
.test-banner strong,.test-banner span{display:block}.test-banner span{font-size:13px;line-height:1.7;margin-top:4px}.test-actions{display:flex;flex-wrap:wrap;gap:8px}.test-tag{display:inline-block;font-size:12px;background:#fff3da;color:#71521e;border-radius:6px;padding:4px 8px;margin:8px 0}
.clear-counts{background:#fff3da;border-radius:12px;padding:12px 18px;color:#71521e}.clear-counts p{margin:6px 0;font-size:14px}.danger-button{background:#a8453e}.danger-button:hover{background:#8e3731}
@media(max-width:680px){.test-banner{margin:12px 16px;flex-direction:column;align-items:stretch;padding:16px}.test-actions button{flex:1}.settings-row{gap:12px}.settings-row p{overflow-wrap:anywhere}}
