:root {
  --orange: #c2410c;
  --orange-bright: #ff5a00;
  --orange-dark: #9a3412;
  --orange-soft: #fff1e8;
  --warm: #fff9f4;
  --card: #fff;
  --ink: #24211f;
  --muted: #6f655e;
  --line: #eadfd6;
  --shadow: 0 12px 34px rgba(66, 41, 23, 0.055);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--warm); scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 24% -8%, rgba(255, 113, 28, .08), transparent 30rem), var(--warm);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, .user-menu > summary:focus-visible { outline: 3px solid rgba(194, 65, 12, .3); outline-offset: 3px; }

.topbar {
  position: sticky; top: 14px; z-index: 40;
  display: grid; grid-template-columns: 220px minmax(420px, 1fr) max-content; align-items: center; column-gap: 12px;
  width: min(1480px, calc(100% - 32px)); height: 72px; margin: 14px auto 0; padding: 0 20px;
  border: 1px solid rgba(224, 211, 200, .9); border-radius: 17px;
  background: rgba(255,255,255,.93); box-shadow: 0 12px 30px rgba(67,43,24,.08); backdrop-filter: blur(18px);
}
.brand-button, .topnav button, .topnav a, .avatar-button, .bell, .post-title, .media, .more, .post-actions button, .post-actions a, .vote-box button, .trend, .mini-community button, .related button, .profile-tabs button, .profile-post, .bottom-nav button, .bottom-nav a { border: 0; background: transparent; cursor: pointer; }
.brand-button { width: max-content; padding: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 27px; letter-spacing: -.8px; }
.brand strong { font-weight: 820; }
.brand-mark { position: relative; display: inline-flex; justify-content: space-around; width: 33px; height: 31px; border: 2px solid var(--orange); border-top: 0; border-radius: 3px 3px 8px 8px; padding: 6px 6px 3px; color: var(--orange); }
.brand-mark::before { position: absolute; top: -6px; left: -4px; width: 37px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
.brand-mark::after { position: absolute; top: -11px; left: 9px; width: 12px; height: 6px; border: 2px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; content: ""; }
.brand-mark i { width: 2px; border-radius: 2px; background: currentColor; }
.topnav { display: flex; min-width: 0; height: 100%; justify-content: center; gap: 2px; }
.topnav button, .topnav a { position: relative; display: inline-flex; min-width: 0; align-items: center; justify-content: center; padding: 0 11px; color: #5e554f; font-size: 14px; white-space: nowrap; }
.topnav button:hover, .topnav a:hover { color: var(--ink); }
.topnav button.active, .topnav a.active { color: var(--orange); font-weight: 700; }
.topnav button.active::after, .topnav a.active::after { position: absolute; right: 12px; bottom: -1px; left: 12px; height: 3px; border-radius: 3px 3px 0 0; background: var(--orange); content: ""; }
.header-tools { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 10px; }
.search { position: relative; display: flex; align-items: center; width: clamp(190px, 15vw, 240px); height: 42px; padding: 0 34px 0 13px; border: 1px solid var(--line); border-radius: 11px; background: #fffdfa; color: var(--muted); }
.search:focus-within { border-color: rgba(255,90,0,.65); box-shadow: 0 0 0 4px rgba(255,90,0,.08); }
.search > span { font-size: 24px; line-height: 0; transform: rotate(-20deg); }
.search input { width: 100%; border: 0; outline: 0; padding-left: 9px; background: transparent; color: var(--ink); }
.search > button { position: absolute; right: 7px; display: grid; place-items: center; width: 27px; height: 27px; border: 0; border-radius: 50%; background: var(--orange-soft); color: var(--orange); cursor: pointer; }
.primary, .outline, .wide-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
  border-radius: 10px; padding: 0 19px; font-size: 14px; font-weight: 700; cursor: pointer; transition: .16s ease;
}
.primary { border: 1px solid var(--orange); background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(255,90,0,.17); }
.primary:hover { transform: translateY(-1px); background: var(--orange-dark); box-shadow: 0 10px 24px rgba(255,90,0,.23); }
.primary:disabled { opacity: .45; transform: none; cursor: not-allowed; box-shadow: none; }
.outline { border: 1px solid var(--orange); background: #fff; color: var(--orange); }
.outline:hover { background: #fff8f3; }
.primary.followed, .outline.followed { border-color: var(--line); background: #f7f3ef; color: #675d56; box-shadow: none; }
.compose { min-width: 126px; min-height: 42px; white-space: nowrap; }
.bell, .avatar-button { position: relative; display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #6b615a; font-size: 23px; }
.bell:hover, .avatar-button:hover { background: #fff7f1; color: var(--orange); }
.bell-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bell i { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--orange); }
.avatar { display: inline-grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(145deg, #f2a274, #fff0e6); box-shadow: 0 0 0 1px var(--line); color: #5a3420; font-size: 11px; font-weight: 850; }
.avatar.big { width: 78px; height: 78px; font-size: 20px; }
.guest-tools, .user-tools { display: flex; align-items: center; gap: 8px; }
.user-tools { position: relative; flex: 0 0 auto; }
.header-login { display: inline-flex; min-height: 40px; align-items: center; border-radius: 9px; padding: 0 12px; color: #5f554f; font-size: 13px; font-weight: 750; }
.header-login:hover { background: #fff7f1; color: var(--orange); }
.header-register { min-height: 40px; padding: 0 14px; box-shadow: none; }
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu[open] > summary { background: var(--orange-soft); color: var(--orange); }
.user-menu-panel { position: absolute; z-index: 90; top: calc(100% + 10px); right: 0; width: min(236px,calc(100vw - 24px)); border: 1px solid var(--line); border-radius: 14px; padding: 9px; background: rgba(255,255,255,.99); box-shadow: 0 18px 45px rgba(55,35,22,.16); }
.user-menu-identity { display: flex; min-width: 0; flex-direction: column; gap: 3px; border-bottom: 1px solid var(--line); padding: 8px 9px 11px; }
.user-menu-identity strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-identity small { color: var(--muted); font-size: 10px; }
.user-menu-panel nav { display: flex; flex-direction: column; gap: 2px; padding: 7px 0; }
.user-menu-panel nav a, .user-menu-panel .logout-form button { display: flex; width: 100%; min-height: 38px; align-items: center; border: 0; border-radius: 8px; padding: 0 10px; background: transparent; color: #5f554f; font-size: 12px; font-weight: 650; text-align: left; cursor: pointer; }
.user-menu-panel nav a:hover, .user-menu-panel .logout-form button:hover { background: #fff7f1; color: var(--orange); }
.user-menu-panel .logout-form { margin: 0; border-top: 1px solid var(--line); padding-top: 7px; }
.user-menu-panel .logout-form button { color: var(--muted); }

.shell { display: grid; grid-template-columns: 235px minmax(0, 1fr) 315px; gap: 21px; width: min(1480px, calc(100% - 32px)); margin: 18px auto 70px; align-items: start; }
.left-rail {
  position: sticky; top: 104px; display: flex; min-height: calc(100vh - 122px); flex-direction: column; justify-content: space-between;
  padding: 17px 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.87); box-shadow: var(--shadow);
}
.left-rail nav { display: flex; flex-direction: column; gap: 5px; }
.left-rail nav button, .left-rail nav a { display: flex; align-items: center; gap: 12px; min-height: 47px; border: 0; border-radius: 11px; padding: 0 12px; background: transparent; color: #514943; text-align: left; cursor: pointer; }
.left-rail nav button:hover, .left-rail nav a:hover { background: #fff8f3; }
.left-rail nav button.active, .left-rail nav a.active { background: var(--orange-soft); color: var(--orange); font-weight: 750; }
.left-rail nav button span, .left-rail nav a span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #fff0e6; color: var(--orange); font-size: 19px; }
.nav-icon { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.left-rail nav button:nth-child(2), .left-rail nav a:nth-child(2) { margin-bottom: 9px; border-bottom: 1px solid var(--line); border-radius: 11px 11px 0 0; padding-bottom: 7px; }
.left-rail footer { display: flex; flex-wrap: wrap; gap: 9px 14px; padding: 15px 10px 2px; color: var(--muted); font-size: 12px; }
.left-rail footer small { width: 100%; color: #aaa09a; }

.main-column, .article-column, .communities-column, .profile-column { min-width: 0; }
.page-heading { display: flex; align-items: end; justify-content: space-between; min-height: 62px; margin-bottom: 14px; padding: 0 4px; }
.page-heading small, .community-hero small, .profile-copy > small, .modal-head small { display: block; margin-bottom: 3px; color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.page-heading h1, .community-hero h1, .profile-copy h1 { margin: 0; font-size: clamp(28px, 2vw, 35px); line-height: 1.08; letter-spacing: -.9px; }
.segmented { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.8); }
.segmented button, .segmented a { display: inline-flex; min-height: 34px; align-items: center; border: 0; border-radius: 7px; padding: 0 13px; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.segmented button.active, .segmented a.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(59,37,20,.08); font-weight: 700; }
.result { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 13px 16px; border: 1px solid #ffd9c0; border-radius: 12px; background: #fff5ed; color: #71432a; font-size: 14px; }
.result span { color: var(--muted); }
.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-wrap { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 10px; }
.vote-box { display: flex; height: 150px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.93); box-shadow: var(--shadow); }
.vote-box button, .vote-box a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; color: #766c66; font-size: 24px; }
.vote-box button:hover, .vote-box button.active, .vote-box a:hover { background: var(--orange-soft); color: var(--orange); }
.vote-box strong { color: var(--orange); font-size: 18px; }
.post-card, .article-card, .comments-card, .side-card, .profile-hero, .profile-posts, .empty { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.post-card { min-width: 0; overflow: hidden; padding: 17px 18px 11px; }
.author { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.author strong { color: var(--ink); font-size: 14px; }
.more { margin-left: auto; padding: 8px; color: var(--muted); letter-spacing: 1px; }
.post-title { display: block; width: 100%; margin: 10px 0 8px; padding: 0; color: var(--ink); font-size: clamp(20px, 1.65vw, 25px); font-weight: 780; line-height: 1.18; letter-spacing: -.45px; text-align: left; }
.post-title:hover { color: #c84300; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.tags span, .tags a { border: 1px solid #ffdfca; border-radius: 7px; padding: 4px 9px; background: #fff8f3; color: #705243; font-size: 12px; }
.tags a:hover { border-color: var(--orange); color: var(--orange); }
.excerpt { margin: 8px 0 13px; color: #5f5650; font-size: 15px; line-height: 1.55; }
.media { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 12px; padding: 0; background: #eee7e1; }
.media img { display: block; width: 100%; height: auto; aspect-ratio: 16/8.7; object-fit: cover; transition: transform .35s ease; }
.media:hover img { transform: scale(1.012); }
.play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 65px; height: 65px; border: 2px solid rgba(255,255,255,.95); border-radius: 50%; background: rgba(25,22,20,.6); color: #fff; font-size: 23px; transform: translate(-50%,-50%); backdrop-filter: blur(5px); }
.duration { position: absolute; right: 10px; bottom: 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 7px; padding: 4px 7px; background: rgba(20,18,16,.73); color: #fff; font-size: 12px; }
.post-actions { display: flex; align-items: center; gap: 7px; min-height: 45px; margin-top: 8px; border-top: 1px solid rgba(234,223,214,.75); }
.post-actions button, .post-actions a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; border-radius: 8px; padding: 0 10px; color: var(--muted); font-size: 13px; }
.post-actions button:hover, .post-actions button.active, .post-actions a:hover { background: #fff8f3; color: var(--orange); }
.post-actions .js-share { margin-left: auto; }
.action-icon { display: block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-icon.filled { fill: currentColor; }
.mobile-score { display: none; }

.right-rail { position: sticky; top: 104px; display: flex; max-height: calc(100vh - 119px); flex-direction: column; gap: 14px; overflow: auto; scrollbar-width: none; }
.right-rail::-webkit-scrollbar { display: none; }
.side-card { padding: 18px; }
.side-card h2, .side-title h2 { margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -.25px; }
.side-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.side-title > small { border-radius: 99px; padding: 4px 7px; background: var(--orange-soft); color: var(--orange); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.trend { display: grid; grid-template-columns: 60px 1fr; gap: 10px; width: 100%; border-radius: 10px; padding: 6px; text-align: left; }
.trend:hover, .related button:hover { background: #fff8f3; }
.trend > span { display: grid; place-items: center; width: 60px; height: 48px; border-radius: 8px; background: linear-gradient(145deg,#fff0e6,#eadfd6) center/cover no-repeat; font-size: 24px; }
.trend > span img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.trend > div, .related button > div { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 4px; }
.trend strong, .related strong { display: -webkit-box; overflow: hidden; font-size: 12px; font-weight: 680; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.trend small, .related small, .mini-community small, .author-card small { color: #aaa09a; font-size: 11px; }
.rail-empty { margin: 8px 0 2px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.mini-list { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.mini-community { display: grid; grid-template-columns: 40px 1fr 31px; align-items: center; gap: 9px; min-height: 51px; border-radius: 9px; padding: 5px; }
.mini-community:hover { background: #fff8f3; }
.mini-community > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; font-size: 19px; }
.mini-community > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.mini-community strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.mini-community button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffc69e; border-radius: 8px; color: var(--orange); font-weight: 850; }
.mini-community button:hover, .mini-community button.followed { background: var(--orange); color: #fff; }
.wide-secondary { width: 100%; min-height: 39px; margin-top: 12px; border: 1px solid var(--line); background: #fff; color: #675d56; }
.wide-secondary:hover { border-color: #ffc49b; background: #fff8f3; }
.empty { display: grid; min-height: 330px; place-items: center; align-content: center; padding: 40px; text-align: center; }
.empty b { font-size: 42px; }.empty-notification-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--orange-soft); color: var(--orange); }.empty-notification-icon .bell-icon { width: 30px; height: 30px; }.empty h2 { margin: 12px 0 6px; }.empty p { margin: 0; color: var(--muted); }

.article-column { display: flex; flex-direction: column; gap: 14px; }
.article-card { overflow: hidden; padding: 20px; }
.article-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.article-card > h1 { max-width: 760px; margin: 18px 0 11px; font-size: clamp(28px,2.5vw,39px); line-height: 1.09; letter-spacing: -1.1px; }
.article-image { display: block; width: 100%; height: auto; margin: 15px 0; border-radius: 13px; aspect-ratio: 16/8.7; object-fit: cover; }
.article-copy { color: #49413c; font-size: 16px; line-height: 1.7; }
.article-copy p { margin: 0 0 14px; }
.article-copy h2 { margin: 25px 0 9px; color: var(--ink); font-size: 22px; }
.article-copy h3 { margin: 21px 0 8px; color: var(--ink); font-size: 18px; }
.article-copy ul, .article-copy ol { margin: 0 0 16px; padding-left: 25px; }
.article-copy li + li { margin-top: 5px; }
.article-copy blockquote { margin: 17px 0; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; padding: 12px 16px; background: var(--orange-soft); color: #5d4639; }
.article-copy a { color: var(--orange-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-actions { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 13px; border-top: 1px solid var(--line); }
.article-actions form { margin: 0; }
.article-actions button, .article-actions a { display: inline-flex; min-height: 37px; align-items: center; gap: 6px; border: 0; border-radius: 8px; padding: 0 10px; background: transparent; color: var(--muted); cursor: pointer; }
.article-actions button:hover, .article-actions button.active, .article-actions a:hover { background: #fff8f3; color: var(--orange); }
.article-actions button:disabled { opacity: .55; cursor: not-allowed; }
.article-actions .vote-action { font-size: 15px; }
.article-actions .vote-action b { color: inherit; }
.comments-card { padding: 18px; }
.comments-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.comments-title h2 { margin: 0; font-size: 21px; }.comments-title h2 span { color: #aaa09a; font-weight: 500; }
.comments-sort { display: flex; align-items: center; gap: 7px; }
.comments-title select { min-height: 34px; border: 1px solid var(--line); border-radius: 8px; outline: 0; padding: 0 8px; background: #fffdfa; color: var(--muted); font-size: 12px; }
.comment-form { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; margin: 15px 0 8px; }
.comment-form > div { min-width: 0; }
.comment-form textarea, .comment-reply-form textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; outline: 0; background: #fffdfa; color: var(--ink); line-height: 1.5; resize: vertical; }
.comment-form textarea:focus, .comment-reply-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,0,.08); }
.comments-list { display: flex; flex-direction: column; }
.comment { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 16px 2px; border-top: 1px solid rgba(234,223,214,.8); }
.comment-content { min-width: 0; }
.comment-meta { display: flex; align-items: center; gap: 5px; font-size: 13px; }.comment-meta span { color: var(--muted); font-size: 12px; }
.comment p { margin: 6px 0 8px; overflow-wrap: anywhere; color: #49413c; font-size: 14px; line-height: 1.55; }
.comment-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.comment-tools form { margin: 0; }
.comment-tools button, .comment-tools a { display: inline-flex; min-height: 29px; align-items: center; border: 0; border-radius: 7px; padding: 0 7px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.comment-tools button:hover, .comment-tools button.active, .comment-tools a:hover { background: #fff8f3; color: var(--orange); }
.comment-tools button:disabled { opacity: .55; cursor: not-allowed; }
.comment-tools .comment-delete { color: #a44b2b; }
.comment-reply { position: relative; margin: 12px 0 0 10px; border: 0; border-left: 2px solid #f1d8c7; padding: 12px 0 6px 17px; }
.comment-reply-form { margin-top: 10px; border: 1px solid #efdfd3; border-radius: 11px; padding: 10px; background: #fffaf6; }
.comment-reply-form > div { display: flex; justify-content: flex-end; gap: 7px; margin-top: 7px; }
.comment-removed { opacity: .72; }
.comment-removed p { color: var(--muted); }
.comments-empty, .comment-login { margin-top: 14px; border: 1px dashed #e5d6ca; border-radius: 11px; padding: 20px; color: var(--muted); font-size: 13px; text-align: center; }
.comment-login a { color: var(--orange); font-weight: 750; }
.comments-limit { margin: 15px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.nested { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 10px; margin-top: 15px; padding: 12px 0 0 25px; }
.nested::before { position: absolute; top: 0; left: 4px; width: 17px; height: 27px; border-bottom: 1px solid #e2d6cc; border-left: 1px solid #e2d6cc; border-radius: 0 0 0 10px; content: ""; }
.author-card > div { display: flex; align-items: center; gap: 12px; margin: 15px 0; }.author-card > div > span { display: flex; flex-direction: column; gap: 4px; }.author-card p, .create-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }.full { width: 100%; }
.related { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }.related button { display: grid; grid-template-columns: 72px 1fr; gap: 10px; width: 100%; border: 0; border-radius: 10px; padding: 6px; background: transparent; text-align: left; cursor: pointer; }.related button > span { width: 72px; height: 54px; border-radius: 8px; background-position: center; background-size: cover; }

.community-hero { padding: 10px 4px 17px; }.community-hero p { margin: 9px 0 0; color: var(--muted); line-height: 1.55; }
.community-search { display: flex; align-items: center; width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 15px; background: rgba(255,255,255,.92); color: var(--muted); box-shadow: var(--shadow); font-size: 22px; }
.community-search input { width: 100%; border: 0; outline: 0; padding-left: 10px; background: transparent; font-size: 14px; }
.filters { display: flex; gap: 8px; margin: 14px 0; overflow-x: auto; padding: 1px 0 4px; scrollbar-width: none; }.filters::-webkit-scrollbar { display: none; }
.filters button { flex: 0 0 auto; min-height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 15px; background: #fff; color: var(--muted); font-size: 13px; cursor: pointer; }.filters button.active, .filters button:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.community-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.community-card { display: grid; grid-template-columns: 118px 1fr; min-height: 210px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.community-art { display: grid; place-items: center; font-size: 53px; transition: .2s ease; }.community-card:hover .community-art { font-size: 57px; }
.community-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 16px; }.community-copy h2 { margin: 0; font-size: 18px; }.community-copy p { min-height: 38px; margin: 7px 0 9px; color: var(--muted); font-size: 12px; line-height: 1.45; }.community-copy > small { margin-bottom: 4px; color: #aaa09a; font-size: 10px; }.community-copy > button { width: 100%; min-height: 36px; margin-top: auto; padding: 0 10px; font-size: 12px; }
.community-copy h2 a:hover { color: var(--orange); }
.community-detail-hero { display: grid; grid-template-columns: 124px 1fr auto; align-items: center; gap: 22px; margin-bottom: 15px; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.community-detail-art { display: grid; width: 124px; height: 124px; place-items: center; border-radius: 20px; font-size: 56px; }
.community-detail-hero small, .eyebrow { color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.community-detail-hero h1 { margin: 3px 0 7px; font-size: clamp(28px,2.3vw,38px); }
.community-detail-hero p { margin: 0 0 8px; color: #5b524c; line-height: 1.5; }
.community-detail-hero span { color: var(--muted); font-size: 12px; }
.community-body { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 17px 19px; background: rgba(255,255,255,.92); color: #5b524c; line-height: 1.6; }
.popular-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }.popular-tags button { border: 1px solid #ffdfca; border-radius: 8px; padding: 7px 9px; background: #fff8f3; color: #705243; font-size: 11px; cursor: pointer; }.popular-tags button:hover { border-color: var(--orange); color: var(--orange); }
.create-card { background: radial-gradient(circle at 100% 0%,rgba(255,90,0,.12),transparent 11rem), #fff; }.create-card > b { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 15px; border-radius: 18px; background: var(--orange-soft); color: var(--orange); font-size: 33px; }

.profile-column { display: flex; flex-direction: column; gap: 14px; }
.profile-hero { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 20px; padding: 24px; }.profile-hero > .avatar { width: 98px; height: 98px; font-size: 25px; }
.profile-copy > span { color: var(--muted); }.profile-copy > p { max-width: 500px; margin: 9px 0 7px; color: #5b524c; font-size: 14px; line-height: 1.5; }.profile-copy > em { color: #aaa09a; font-size: 11px; font-style: normal; }
.counts { display: flex; gap: 27px; margin-top: 12px; }.counts b { display: flex; flex-direction: column; gap: 1px; font-size: 18px; }.counts b small { color: var(--muted); font-size: 10px; font-weight: 500; }
.profile-actions { display: flex; min-width: 160px; flex-direction: column; gap: 9px; }.profile-actions button { width: 100%; }
.profile-tabs { display: flex; min-height: 50px; gap: 6px; border-bottom: 1px solid var(--line); }.profile-tabs button { position: relative; padding: 0 17px; color: var(--muted); }.profile-tabs button.active { color: var(--orange); font-weight: 750; }.profile-tabs button.active::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 3px; border-radius: 3px 3px 0 0; background: var(--orange); content: ""; }
.profile-posts { overflow: hidden; padding: 8px 18px; }.section-title { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }.section-title h2 { margin: 0; font-size: 20px; }.section-title button { border: 0; background: transparent; color: var(--orange); font-size: 12px; cursor: pointer; }
.profile-post { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 15px; width: 100%; min-height: 138px; border-top: 1px solid var(--line); padding: 14px 0; text-align: left; }.profile-post > span { width: 140px; height: 103px; overflow: hidden; border-radius: 10px; background: var(--orange-soft); }.profile-post > span img { display: block; width: 100%; height: 100%; object-fit: cover; }.profile-post > div { display: flex; min-width: 0; flex-direction: column; }.profile-post > div strong { font-size: 17px; }.profile-post:hover strong { color: var(--orange); }.profile-post p { display: -webkit-box; overflow: hidden; margin: 7px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.profile-post > div small { color: #aaa09a; font-size: 10px; }.profile-post > em { color: var(--muted); font-size: 11px; font-style: normal; white-space: nowrap; }
.badges { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 17px; }.badges div { display: flex; align-items: center; flex-direction: column; gap: 7px; text-align: center; }.badges span { display: grid; place-items: center; width: 57px; height: 57px; border: 1px solid #e4cdbd; border-radius: 18px; background: linear-gradient(145deg,#fff8f1,#f4e8df); color: var(--orange); font-size: 24px; }.badges small { color: #574f49; font-size: 9px; }
.activity { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }.activity span { display: flex; min-height: 37px; align-items: center; justify-content: space-between; color: #625952; font-size: 12px; }.activity span::first-letter { color: var(--orange); font-size: 18px; }.activity b { color: var(--ink); }
.profile-settings { border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px 24px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.profile-settings .section-title { align-items: flex-start; }
.profile-settings .section-title small { color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.profile-settings .section-title h2 { margin-top: 3px; }
.profile-save { align-self: flex-start; min-width: 190px; }
.profile-security-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.profile-security-grid .profile-settings { min-width: 0; }
.security-note { margin: 4px 0 17px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.danger-zone { border-color: #efc8b8; background: #fffaf7; }
.danger-button { min-height: 44px; border: 1px solid #df8b69; border-radius: 10px; padding: 0 16px; background: #fff; color: #a23f1c; font-weight: 750; cursor: pointer; }
.danger-button:hover { border-color: #b84b22; background: #fff1ea; }
.profile-content-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.blocked-users-panel { width: 100%; }
.blocked-users-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.blocked-user-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 11px; padding: 9px 10px; background: #fffdfa; }
.blocked-user-row > a { display: flex; min-width: 0; align-items: center; gap: 9px; }
.blocked-user-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.blocked-user-row .avatar { width: 32px; height: 32px; }

.content-workspace { min-width: 0; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.workspace-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.workspace-head small { color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.workspace-head h1 { margin: 3px 0 6px; font-size: clamp(27px,2.3vw,36px); line-height: 1.1; letter-spacing: -.8px; }
.workspace-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.workspace-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.content-counter { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.content-counter b { color: var(--ink); }
.status-badge { display: inline-flex; min-height: 28px; align-items: center; border: 1px solid #d8d0ca; border-radius: 99px; padding: 0 10px; background: #f7f4f2; color: #655d58; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-badge.draft { border-color: #d8d0ca; background: #f7f4f2; color: #655d58; }
.status-badge.pending { border-color: #f0c38d; background: #fff7e8; color: #9b5910; }
.status-badge.published { border-color: #abd2b2; background: #eff9f1; color: #347040; }
.status-badge.rejected { border-color: #e6ae9a; background: #fff1eb; color: #99482b; }

.post-editor-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.post-editor-form > label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #514943; font-size: 12px; font-weight: 750; }
.post-editor-form > .editor-field-wide { grid-column: 1/-1; }
.post-editor-form label > small { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.45; }
.post-editor-form input[type="text"], .post-editor-form input[type="file"], .post-editor-form select, .post-editor-form textarea, .moderation-reject-form input { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; padding: 12px 13px; background: #fffdfa; color: var(--ink); font-weight: 400; }
.post-editor-form input[type="text"], .post-editor-form select { min-height: 46px; }
.post-editor-form input[type="file"] { min-height: 48px; padding: 9px 11px; color: var(--muted); }
.post-editor-form input[type="file"]::file-selector-button { min-height: 30px; margin-right: 10px; border: 1px solid #ffc69e; border-radius: 8px; padding: 0 11px; background: #fff8f3; color: var(--orange); cursor: pointer; }
.post-editor-form textarea { min-height: 330px; line-height: 1.6; resize: vertical; }
.post-editor-form input:focus, .post-editor-form select:focus, .post-editor-form textarea:focus, .moderation-reject-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,0,.08); }
.editor-text-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.editor-field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #514943; font-size: 12px; font-weight: 750; }
.editor-field-head span { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 550; }
.editor-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; border: 1px solid var(--line); border-radius: 11px; padding: 6px; background: #fffaf6; }
.editor-toolbar button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 0 10px; background: #fff; color: #5e554f; font-size: 12px; cursor: pointer; }
.editor-toolbar button:hover, .editor-toolbar button.active { border-color: #ffc9a4; background: var(--orange-soft); color: var(--orange-dark); }
.editor-toolbar .editor-preview-toggle { margin-left: auto; border-color: var(--line); font-weight: 700; }
.editor-text-field > small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.editor-preview { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.editor-preview > small { display: block; margin-bottom: 12px; color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.editor-preview .article-copy > :last-child { margin-bottom: 0; }
.editor-preview-empty { color: var(--muted); }
.editor-upload-preview { grid-column: 1/-1; display: grid; grid-template-columns: repeat(auto-fill,minmax(135px,1fr)); gap: 10px; }
.editor-upload-preview figure { min-width: 0; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 11px; padding: 7px; background: #fffaf6; }
.editor-upload-preview img { display: block; width: 100%; aspect-ratio: 4/3; border-radius: 8px; object-fit: cover; }
.editor-upload-preview figcaption { overflow: hidden; margin-top: 6px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.editor-upload-preview .editor-upload-error { grid-column: 1/-1; margin: 0; border: 1px solid #f0b9a3; border-radius: 10px; padding: 10px 12px; background: #fff3ed; color: #864126; font-size: 12px; }
.editor-cover { grid-column: 1/-1; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 11px; background: #fffaf6; }
.editor-cover img { width: 128px; height: 82px; border-radius: 9px; object-fit: cover; }
.editor-cover label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; cursor: pointer; }
.editor-cover input { accent-color: var(--orange); }
.editor-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; padding-top: 4px; }

.author-post-list, .moderation-list { display: flex; flex-direction: column; gap: 11px; }
.author-post-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 13px; padding: 16px; background: #fffdfa; }
.author-post-main { min-width: 0; }
.author-post-meta, .moderation-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; color: var(--muted); font-size: 10px; }
.author-post-main h2, .moderation-card h2 { margin: 10px 0 5px; font-size: 19px; line-height: 1.25; }
.author-post-main > p { display: -webkit-box; overflow: hidden; margin: 0; color: #655d58; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.author-post-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.author-post-actions form { margin: 0; }
.small-button { min-height: 34px; padding: 0 11px; font-size: 11px; }
.danger-button.small-button { min-height: 34px; padding: 0 11px; font-size: 11px; }
.rejection-note { margin-top: 10px; border-left: 3px solid #d46b44; padding: 7px 10px; background: #fff3ed; color: #864126; font-size: 11px; line-height: 1.45; }

.queue-count { display: inline-flex; min-height: 38px; align-items: center; border-radius: 99px; padding: 0 14px; background: var(--orange-soft); color: #8d461f; font-size: 12px; white-space: nowrap; }
.queue-count b { margin-left: 5px; color: var(--orange); }
.moderation-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fffdfa; }
.moderation-tags { margin: 7px 0 12px; color: var(--orange); font-size: 11px; }
.moderation-cover { display: block; width: min(100%,760px); max-height: 420px; margin: 13px 0; border-radius: 11px; object-fit: cover; }
.moderation-body { max-height: 340px; overflow: auto; border: 1px solid #eee3da; border-radius: 11px; padding: 14px; background: #fff; color: #4f4741; font-size: 13px; line-height: 1.65; white-space: normal; }
.moderation-actions { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px; margin-top: 14px; }
.moderation-actions form { margin: 0; }
.moderation-reject-form { display: grid; grid-template-columns: minmax(160px,1fr) auto; gap: 8px; }
.moderation-reject-form input { min-height: 44px; }
.owner-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; border: 1px solid #ffd1b3; border-radius: 10px; padding: 10px 12px; background: #fff8f3; color: #70442d; font-size: 12px; }

.auth-page { display: grid; min-height: min(690px, calc(100vh - 130px)); place-items: center; padding: 24px 0 44px; }
.auth-card { width: min(510px,100%); border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: rgba(255,255,255,.97); box-shadow: 0 22px 55px rgba(66,41,23,.09); }
.auth-card-wide { width: min(680px,100%); }
.auth-heading { margin-bottom: 21px; text-align: center; }
.auth-heading small, .auth-required > small { display: block; margin-top: 11px; color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.auth-heading h1, .auth-required h1 { margin: 4px 0 8px; font-size: clamp(28px,3vw,36px); letter-spacing: -.8px; }
.auth-heading p, .auth-required p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.auth-mark { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto; border-radius: 15px; background: var(--orange-soft); color: var(--orange); font-size: 25px; font-weight: 850; }
.auth-form { display: flex; flex-direction: column; gap: 15px; }
.auth-form label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #514943; font-size: 12px; font-weight: 750; }
.auth-form label > small { color: var(--muted); font-size: 10px; font-weight: 500; }
.auth-form input:not([type="checkbox"]), .auth-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; padding: 12px 13px; background: #fffdfa; color: var(--ink); font-weight: 400; resize: vertical; }
.auth-form input:not([type="checkbox"]) { min-height: 46px; }
.auth-form input:focus, .auth-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,0,.08); }
.auth-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.check-field { display: flex !important; align-items: center; flex-direction: row !important; gap: 9px !important; color: var(--muted) !important; font-weight: 500 !important; cursor: pointer; }
.check-field input { width: 17px; height: 17px; margin: 0; accent-color: var(--orange); }
.auth-submit { width: 100%; min-height: 48px; margin-top: 2px; }
.auth-switch { margin: 18px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.auth-switch a { color: var(--orange); font-weight: 750; }
.auth-switch a:hover { text-decoration: underline; }
.auth-secondary { margin: 14px 0 -7px; text-align: center; }
.auth-secondary a { color: var(--muted); font-size: 12px; }
.auth-secondary a:hover { color: var(--orange); text-decoration: underline; }
.turnstile-wrap { display: flex; min-height: 65px; align-items: center; justify-content: center; overflow: hidden; }
.form-message { margin: 0 0 17px; border: 1px solid #f0b9a3; border-radius: 11px; padding: 11px 14px; background: #fff3ed; color: #864126; font-size: 12px; line-height: 1.45; }
.form-message.success { border-color: #badabf; background: #f1faf2; color: #35673d; }
.form-message ul { margin: 0; padding-left: 18px; }
.form-message li + li { margin-top: 4px; }
.trap-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.auth-required { text-align: center; }
.auth-required-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }

.backdrop { position: fixed; z-index: 100; display: grid; inset: 0; place-items: center; padding: 18px; background: rgba(32,25,21,.52); backdrop-filter: blur(8px); animation: fade .16s ease; }
.modal { width: min(620px,100%); border: 1px solid var(--line); border-radius: 20px; padding: 23px; background: #fff; box-shadow: 0 30px 80px rgba(36,23,15,.28); animation: rise .2s ease; }.modal-head { display: flex; align-items: center; justify-content: space-between; }.modal-head h2 { margin: 0; font-size: 26px; }.modal-head > button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #fff8f3; color: var(--muted); font-size: 24px; cursor: pointer; }
.modal form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }.modal label { display: flex; flex-direction: column; gap: 7px; color: #514943; font-size: 12px; font-weight: 750; }.modal input, .modal textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; padding: 12px 13px; background: #fffdfa; color: var(--ink); font-weight: 400; resize: vertical; }.modal input:focus, .modal textarea:focus { border-color: var(--orange); }
.modal-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 12px; }.modal-tags button { border: 1px solid #ffdfca; border-radius: 8px; padding: 6px 9px; background: #fff8f3; color: #705243; cursor: pointer; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
.toast { position: fixed; z-index: 110; right: 24px; bottom: 24px; border: 1px solid #ffc9a4; border-radius: 12px; padding: 13px 17px; background: #fff; box-shadow: 0 18px 45px rgba(62,37,20,.18); color: #6d3c20; font-size: 13px; font-weight: 700; animation: rise .2s ease; }

/* Trashcan 2.0: social layer, galleries, pagination and moderation. */
.social-action-form { display: inline-flex; margin: 0; }
.social-action-form button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.social-count { color: var(--muted); font-size: 12px; }
.post-community { max-width: 190px; overflow: hidden; border-radius: 99px; padding: 3px 8px; background: var(--orange-soft); color: #9b4a20; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.post-actions .social-action-form { display: inline-flex; }
.post-actions .social-action-form button { min-height: 36px; border: 0; border-radius: 8px; padding: 0 10px; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.post-actions .social-action-form button:hover, .post-actions .social-action-form button.active { background: #fff8f3; color: var(--orange); }
.bell.has-notifications i { top: -5px; right: -5px; display: grid; width: auto; min-width: 20px; height: 20px; place-items: center; border: 2px solid #fff; border-radius: 99px; padding: 0 5px; color: #fff; font-size: 9px; font-style: normal; font-weight: 850; line-height: 1; }
.mini-community-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 9px; background: var(--orange-soft); font-size: 19px; }
.mini-follow { display: grid; width: 30px; height: 30px; place-items: center; overflow: hidden; border: 1px solid #ffc69e; border-radius: 8px; padding: 0; background: #fff; color: var(--orange); font-size: 0; font-weight: 850; cursor: pointer; }
.mini-follow::before { content: "+"; font-size: 18px; }
.mini-follow.followed { border-color: var(--orange); background: var(--orange); color: #fff; }
.mini-follow.followed::before { content: "✓"; font-size: 13px; }
.community-copy .social-action-form { width: 100%; margin-top: auto; }
.community-copy .social-action-form button { width: 100%; }

.post-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 15px 0; }
.gallery-item { min-width: 0; overflow: hidden; margin: 0; border-radius: 12px; background: #eee7e1; }
.gallery-item img { display: block; width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.012); }
.gallery-primary { grid-column: 1/-1; }
.gallery-primary img { max-height: 620px; aspect-ratio: 16/9; }
.post-gallery.count-1 { grid-template-columns: 1fr; }
.editor-gallery { grid-column: 1/-1; display: grid; grid-template-columns: repeat(auto-fill,minmax(145px,1fr)); gap: 11px; }
.editor-gallery figure { position: relative; min-width: 0; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 11px; padding: 8px; background: #fffaf6; }
.editor-gallery img { display: block; width: 100%; aspect-ratio: 4/3; border-radius: 8px; object-fit: cover; }
.editor-gallery label { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #8b4630; font-size: 11px; cursor: pointer; }
.editor-gallery input { accent-color: var(--orange); }
.editor-gallery small { display: block; margin-top: 5px; color: var(--orange); font-size: 9px; }

.feed-summary { margin: 0 0 10px 70px; color: var(--muted); font-size: 12px; }
.feed-summary b { color: var(--ink); }
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 20px 0 4px; }
.pager a, .pager span { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; padding: 0 11px; background: #fff; color: var(--muted); font-size: 12px; }
.pager a:hover, .pager a.active { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }
.pager a.active { font-weight: 850; }
.pager span { min-width: 24px; border-color: transparent; padding: 0; background: transparent; }
.pager-edge { min-width: 88px !important; }

.notification-list { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.notification-row { position: relative; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; min-height: 84px; padding: 13px 15px; background: #fff; }
.notification-row + .notification-row { border-top: 1px solid var(--line); }
.notification-row:hover { background: #fff9f5; }
.notification-row.is-unread { background: #fff5ed; }
.notification-row.is-unread::before { position: absolute; top: 18px; left: 4px; width: 4px; height: 24px; border-radius: 4px; background: var(--orange); content: ""; }
.notification-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.notification-copy strong { font-size: 13px; }
.notification-copy > span { color: #5c534d; font-size: 13px; line-height: 1.45; }
.notification-copy small { color: #aaa09a; font-size: 10px; }
.public-profile .profile-hero { grid-template-columns: 100px minmax(0,1fr); }
.public-profile .profile-content-actions { align-items: center; }
.compact-post-list { display: flex; flex-direction: column; }

.report-menu { position: relative; display: inline-block; }
.report-menu > summary { display: inline-flex; min-height: 34px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 0 11px; background: #fff; color: var(--muted); font-size: 11px; cursor: pointer; list-style: none; }
.report-menu > summary::-webkit-details-marker { display: none; }
.report-menu[open] > summary { border-color: #df8b69; color: #a23f1c; }
.report-menu form { position: absolute; z-index: 12; right: 0; display: grid; width: min(320px,calc(100vw - 40px)); gap: 10px; margin-top: 7px; border: 1px solid var(--line); border-radius: 12px; padding: 13px; background: #fff; box-shadow: 0 18px 45px rgba(62,37,20,.16); }
.report-menu label, .report-resolution-form label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #514943; font-size: 11px; font-weight: 750; }
.report-menu select, .report-menu textarea, .report-resolution-form input, .report-resolution-form select { width: 100%; border: 1px solid var(--line); border-radius: 9px; outline: 0; padding: 9px 10px; background: #fffdfa; color: var(--ink); font-size: 12px; font-weight: 400; }
.report-menu textarea { resize: vertical; }
.report-menu select:focus, .report-menu textarea:focus, .report-resolution-form input:focus, .report-resolution-form select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,0,.08); }

.moderation-tabs { width: max-content; max-width: 100%; margin-bottom: 13px; overflow-x: auto; }
.report-details { margin: 8px 0 13px; border-left: 3px solid #f0a173; padding: 9px 11px; background: #fff7f1; color: #655148; font-size: 12px; line-height: 1.55; }
.report-resolution-form { display: grid; grid-template-columns: minmax(0,1fr) 130px; gap: 10px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.report-actions { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 7px; }
.sanctions-list { display: flex; flex-direction: column; gap: 10px; }
.sanction-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fffdfa; }
.sanction-row p { margin: 5px 0; color: #655d58; font-size: 12px; line-height: 1.5; }
.sanction-row small { color: var(--muted); font-size: 10px; }
.sanction-row form { margin: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.moderation-log { width: 100%; border-collapse: collapse; background: #fff; font-size: 11px; }
.moderation-log th, .moderation-log td { min-width: 110px; border-bottom: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: top; }
.moderation-log th { background: #fff7f1; color: #6d5142; font-size: 10px; text-transform: uppercase; }
.moderation-log tr:last-child td { border-bottom: 0; }
.error-page h1 { margin: 10px 0 6px; font-size: clamp(28px,3vw,40px); }
.error-page .primary { margin-top: 20px; }
.bottom-nav { display: none; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } } @keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }

@media (max-width: 1280px) {
  .topbar { grid-template-columns: 190px minmax(360px,1fr) max-content; column-gap: 8px; }.topnav button, .topnav a { min-width: auto; padding: 0 8px; font-size: 13px; }
  .shell { grid-template-columns: 200px minmax(0,1fr) 284px; gap: 15px; }.search { width: 185px; }.community-card { grid-template-columns: 103px 1fr; }.header-register { display: none; }
}
@media (max-width: 1080px) {
  .topbar { grid-template-columns: 190px 1fr auto; }.topnav { justify-content: center; }.search { display: none; }
  .shell { grid-template-columns: 190px minmax(0,1fr); }.right-rail { display: none; }
}
@media (max-width: 920px) and (min-width: 821px) {
  .topnav a:nth-child(4), .topnav a:nth-child(5) { display: none; }
}
@media (max-width: 820px) {
  body { padding-bottom: 79px; }.topbar { top: 0; grid-template-columns: 1fr auto; width: 100%; height: 62px; margin: 0; padding: 0 14px; border-width: 0 0 1px; border-radius: 0; box-shadow: 0 5px 20px rgba(67,43,24,.08); }
  .brand { gap: 8px; font-size: 22px; }.brand-mark { transform: scale(.82); transform-origin: left center; }.topnav, .bell { display: none; }.header-tools { gap: 6px; }.compose { min-width: 43px; width: 43px; padding: 0; font-size: 0; }.compose span { font-size: 20px; }.avatar-button { width: 39px; height: 39px; }
  .shell { display: block; width: 100%; margin: 0; }.left-rail { display: none; }.main-column, .article-column, .communities-column, .profile-column { width: min(100%,680px); margin: 0 auto; padding: 14px 12px 20px; }
  .page-heading { min-height: 52px; margin-bottom: 10px; }.page-heading small { display: none; }.page-heading h1 { font-size: 27px; }.segmented button, .segmented a { min-height: 32px; padding: 0 10px; }
  .post-wrap { display: block; }.vote-box { display: none; }.post-card { padding: 14px 14px 9px; border-radius: 14px; }.post-title { font-size: 21px; }.media img { aspect-ratio: 4/3; }.mobile-score { display: inline-flex; align-items: center; min-height: 29px; border-radius: 7px; padding: 0 8px; background: var(--orange-soft); color: var(--orange); font-size: 12px; font-weight: 800; }.post-actions { gap: 2px; }.post-actions button { padding: 0 7px; }.post-actions .js-share span { display: none; }
  .bottom-nav { position: fixed; z-index: 80; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5,1fr); height: 70px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 25px rgba(63,39,22,.08); backdrop-filter: blur(15px); }
  .bottom-nav button, .bottom-nav a { display: flex; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 3px; color: #6e645d; font-size: 9px; }.bottom-nav b { font-size: 22px; font-weight: 500; }.bottom-nav button.active, .bottom-nav a.active { color: var(--orange); }.bottom-nav .bottom-compose { width: 62px; height: 55px; justify-self: center; margin-top: 7px; border-radius: 14px; background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255,90,0,.25); }.bottom-compose b { font-size: 19px; }
  .article-card, .comments-card { padding: 15px; }.article-card > h1 { font-size: 28px; }.article-head .outline { min-width: 43px; padding: 0 10px; font-size: 0; }.article-head .outline::after { content: "+"; font-size: 22px; }.article-image { aspect-ratio: 4/3; }.article-copy { font-size: 15px; }.article-actions { flex-wrap: wrap; }.article-actions button { padding: 0 6px; font-size: 12px; }
  .comment-form { grid-template-columns: 32px 1fr auto; align-items: start; gap: 7px; }.comment-form .avatar { width: 32px; height: 32px; }.comment-form .primary { width: 42px; overflow: hidden; padding: 0; font-size: 0; }.comment-form .primary::after { content: "↑"; font-size: 18px; }.comments-title { align-items: flex-start; flex-direction: column; }.comments-sort { width: 100%; }.comments-sort label { flex: 1; }.comments-sort select { width: 100%; }.comment-reply { margin-left: 2px; padding-left: 10px; }
  .community-grid { grid-template-columns: 1fr; }.community-card { grid-template-columns: 103px 1fr; min-height: 190px; }.community-hero { padding-top: 3px; }.community-detail-hero { grid-template-columns: 82px 1fr; gap: 15px; padding: 16px; }.community-detail-art { width: 82px; height: 82px; border-radius: 15px; font-size: 39px; }.community-detail-hero .primary { grid-column: 1/-1; width: 100%; }
  .profile-hero { grid-template-columns: 82px 1fr; gap: 15px; padding: 18px; }.profile-hero > .avatar { width: 80px; height: 80px; font-size: 20px; }.profile-copy h1 { font-size: 25px; }.profile-actions { grid-column: 1/-1; display: grid; min-width: 0; grid-template-columns: 1fr 1fr; }
  .profile-post { grid-template-columns: 96px 1fr; gap: 11px; }.profile-post > span { width: 96px; height: 82px; }.profile-post > em { display: none; }.toast { right: 12px; bottom: 82px; left: 12px; text-align: center; }
  .profile-settings { padding: 17px; }.profile-security-grid, .blocked-users-list { grid-template-columns: 1fr; }.auth-page { min-height: 0; padding: 8px 0 25px; }.auth-card { padding: 22px 18px; border-radius: 16px; }
  .content-workspace { padding: 17px 14px; }.workspace-head { flex-direction: column; gap: 13px; }.workspace-actions { width: 100%; }.workspace-actions > a { flex: 1; }.post-editor-form { grid-template-columns: 1fr; }.post-editor-form > label, .post-editor-form > .editor-field-wide, .editor-cover, .editor-actions, .editor-upload-preview { grid-column: 1; }.editor-toolbar { flex-wrap: nowrap; overflow-x: auto; }.editor-toolbar button { flex: 0 0 auto; }.editor-toolbar .editor-preview-toggle { margin-left: 0; }.author-post-row { grid-template-columns: 1fr; }.author-post-actions { justify-content: flex-start; }.moderation-actions { grid-template-columns: 1fr; }.moderation-actions > form:first-child .primary { width: 100%; }.moderation-reject-form { grid-template-columns: 1fr; }.moderation-reject-form .danger-button { width: 100%; }
  .feed-summary { margin-left: 0; }.post-community { display: none; }.post-gallery { gap: 6px; }.gallery-primary img { aspect-ratio: 4/3; }.editor-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }.notifications-workspace .queue-count { white-space: normal; }.public-profile .profile-hero { grid-template-columns: 82px minmax(0,1fr); }.report-resolution-form { grid-template-columns: 1fr; }.report-actions { grid-column: 1; }.sanction-row { grid-template-columns: 1fr; }.sanction-row form button { width: 100%; }
}
@media (max-width: 480px) {
  .brand { font-size: 20px; }.author { gap: 5px; font-size: 11px; }.author strong { font-size: 12px; }.post-actions .action-icon { width: 17px; height: 17px; }
  .community-card { grid-template-columns: 85px 1fr; }.community-art { font-size: 42px; }.profile-tabs { gap: 0; overflow-x: auto; }.profile-tabs button { flex: 1 0 auto; min-height: 48px; padding: 0 11px; font-size: 12px; }.modal { padding: 18px; }.modal-head h2 { font-size: 23px; }.auth-grid { grid-template-columns: 1fr; }.auth-required-actions { grid-template-columns: 1fr; }.header-login { padding: 0 7px; font-size: 12px; }.profile-save { width: 100%; }.profile-content-actions { display: grid; grid-template-columns: 1fr 1fr; }.profile-content-actions > :last-child:nth-child(3) { grid-column: 1/-1; }.workspace-actions { display: grid; grid-template-columns: 1fr; }.editor-actions > * { width: 100%; }.author-post-actions { display: grid; grid-template-columns: 1fr; }.author-post-actions > *, .author-post-actions form button { width: 100%; }.editor-cover { align-items: flex-start; flex-direction: column; }.editor-cover img { width: 100%; height: auto; aspect-ratio: 16/9; }.comment-form { grid-template-columns: 1fr auto; }.comment-form > .avatar { display: none; }.comment-tools { gap: 2px; }
  .post-gallery { grid-template-columns: 1fr; }.gallery-primary { grid-column: 1; }.gallery-item img { aspect-ratio: 4/3; }.pager-edge { min-width: 74px !important; }.pager a, .pager span { min-width: 34px; min-height: 34px; padding: 0 8px; }.report-menu form { position: fixed; z-index: 120; right: 12px; bottom: 82px; left: 12px; width: auto; }.notification-row { grid-template-columns: 36px 1fr; padding: 12px 10px; }.notification-row .avatar { width: 34px; height: 34px; }.counts { gap: 15px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Trashcan 2.2 accessibility, icon and layout corrections. */
.skip-link {
  position: fixed; z-index: 200; top: 10px; left: 10px; transform: translateY(-160%);
  border-radius: 9px; padding: 10px 14px; background: var(--ink); color: #fff; font-weight: 750;
}
.skip-link:focus { transform: translateY(0); }
.post-title { cursor: default; }
.post-title > a { display: block; }
.post-title > a:hover { color: var(--orange); }
.profile-post > time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.community-icon { display: block; width: 48px; height: 48px; color: #9a3412; }
.mini-community-icon .community-icon { width: 23px; height: 23px; }
.community-detail-art .community-icon { width: 62px; height: 62px; }
.community-copy > small,
.trend small, .related small, .mini-community small, .author-card small,
.profile-copy > em, .profile-post > div small, .notification-copy small,
.left-rail footer small { color: var(--muted); font-size: 12px; }
.counts b small, .profile-settings .section-title small, .workspace-head small,
.auth-heading small, .auth-required > small, .auth-form label > small,
.post-editor-form label > small { font-size: 11px; }
.media img, .gallery-item img { background: #f4ece6; }
.bell { color: #5f554f; }
.bell-icon { display: block; overflow: visible; }
.bottom-nav-icon { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 820px) {
  .profile-post > time { display: none; }
  .community-detail-art .community-icon { width: 43px; height: 43px; }
  .bottom-nav button, .bottom-nav a { font-size: 10px; }
}
