:root {
  --ink: #292426;
  --muted: #756d70;
  --paper: #fffdfb;
  --canvas: #f7f3f1;
  --line: #e7ddda;
  --brand: #8c2440;
  --brand-dark: #6f1831;
  --rose: #f6e6e8;
  --peach: #f3b7a5;
  --green: #486c52;
  --green-soft: #e8f1ea;
  --blue: #486887;
  --blue-soft: #e7eef5;
  --gold: #8a6722;
  --gold-soft: #f5eddb;
  --shadow: 0 18px 42px rgba(58, 38, 43, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 8%, rgba(140, 36, 64, 0.04), transparent 26rem),
    var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(231, 221, 218, 0.9); background: rgba(255, 253, 251, 0.92); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--brand); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 700; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--brand); color: #fff9f6; }
.brand-mark svg { width: 24px; fill: currentColor; }
.brand-mark svg path:last-child { fill: var(--peach); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 10px; color: #62595c; font-size: 0.93rem; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); background: var(--rose); }
.mobile-nav-button { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.mobile-nav-button span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; padding-block: 52px 70px; }
.welcome-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 5px; color: var(--brand); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-family: Georgia, "Times New Roman", serif; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 13px; font-weight: 750; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--brand); color: white; box-shadow: 0 10px 20px rgba(140, 36, 64, 0.18); }
.button.primary:hover { background: var(--brand-dark); }
.button.ghost { border-color: var(--line); background: transparent; }

.search-wrap { display: flex; align-items: center; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 8px 26px rgba(59, 43, 47, 0.035); }
.search-wrap:focus-within { border-color: rgba(140, 36, 64, 0.55); box-shadow: 0 0 0 4px rgba(140, 36, 64, 0.08); }
.search-wrap svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.search-wrap input { width: 100%; height: 100%; border: 0; outline: 0; padding: 0 12px; background: transparent; color: var(--ink); }
.search-wrap kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #faf7f5; font-size: 0.72rem; }
.filter-row { display: flex; gap: 8px; padding: 18px 0 28px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 0.88rem; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { border-color: var(--brand); background: var(--brand); color: white; }
.feed-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.feed-heading h2 { margin: 0; font-size: 1.3rem; }
.sort-button { border: 0; background: transparent; color: var(--muted); font-size: 0.85rem; cursor: pointer; }
.thread-list { display: grid; gap: 13px; }
.thread-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 6px 18px rgba(61, 43, 47, 0.025); overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.thread-card:hover { transform: translateY(-2px); border-color: #dbcac6; box-shadow: var(--shadow); }
.thread-main { width: 100%; padding: 22px 24px 12px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.thread-main { display: block; color: inherit; text-decoration: none; }
.thread-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 9px; border-radius: 8px; font-size: 0.76rem; font-weight: 800; }
.tag-recipe { color: var(--brand); background: var(--rose); }
.tag-home { color: var(--blue); background: var(--blue-soft); }
.tag-family { color: var(--gold); background: var(--gold-soft); }
.tag-garden { color: var(--green); background: var(--green-soft); }
.thread-time { color: #93898c; font-size: 0.78rem; }
.thread-card h3 { margin-bottom: 7px; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; line-height: 1.3; }
.thread-card p { margin-bottom: 16px; color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
.author-row { display: flex; align-items: center; gap: 9px; }
.author-row > span:last-child { display: grid; }
.author-row strong { font-size: 0.82rem; }
.author-row small { color: var(--muted); font-size: 0.73rem; }
.avatar { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: white; font-family: Georgia, serif; font-weight: 700; }
.avatar-maarja { background: #934a5c; }.avatar-kristi { background: #59718a; }.avatar-liis { background: #9b7330; }.avatar-ene { background: #58745f; }.avatar-user { background: linear-gradient(135deg, #8c2440, #c87378); }
.thread-actions { min-height: 46px; display: flex; align-items: center; gap: 5px; padding: 6px 17px; border-top: 1px solid #f0e9e7; }
.reaction, .bookmark { min-height: 34px; padding: 5px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 0.8rem; cursor: pointer; }
.reaction { text-decoration: none; }
.reaction:hover, .bookmark:hover, .reaction.liked, .bookmark.saved { background: var(--rose); color: var(--brand); }
.bookmark { margin-left: auto; font-size: 1.12rem; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state > span { display: block; font-size: 2rem; }
.empty-state h3 { margin: 8px 0 4px; color: var(--ink); }

.sidebar { display: grid; align-content: start; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 8px 24px rgba(61, 43, 47, 0.035); overflow: hidden; }
.profile-panel { padding: 20px; }
.profile-head { display: flex; align-items: center; gap: 12px; }
.profile-head > div { display: grid; }
.profile-head strong { font-family: Georgia, serif; font-size: 1.02rem; }
.profile-head span { color: var(--muted); font-size: 0.8rem; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.profile-stats div { display: grid; text-align: center; }
.profile-stats strong { color: var(--brand); font-size: 1rem; }
.profile-stats span { color: var(--muted); font-size: 0.68rem; }
.panel-title-row { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px 13px; }
.panel-title-row h2, .popular-panel h2 { margin: 0; font-size: 1.05rem; }
.panel-title-row span { color: var(--gold); font-size: 0.8rem; font-weight: 800; }
.recipe-panel img { display: block; width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.recipe-body { padding: 17px 18px 20px; }
.recipe-body h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.18rem; }
.recipe-meta { display: flex; gap: 16px; margin-bottom: 14px; color: var(--muted); font-size: 0.78rem; }
.text-link { padding: 0; border: 0; background: transparent; color: var(--brand); font-size: 0.84rem; font-weight: 800; cursor: pointer; }
.popular-panel { padding: 18px; }
.popular-panel ol { margin: 9px 0 0; padding: 0; list-style: none; }
.popular-panel li + li { border-top: 1px solid var(--line); }
.popular-panel button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.popular-panel button > span { color: #cbbabe; font-family: Georgia, serif; font-size: 1.3rem; }
.popular-panel button div { display: grid; }
.popular-panel strong { font-size: 0.86rem; }
.popular-panel small { color: var(--muted); font-size: 0.72rem; }
.sidebar-note { padding: 8px 18px; color: #8d8184; font-family: Georgia, serif; font-size: 0.86rem; font-style: italic; text-align: center; }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: grid; }
.footer-brand strong { color: var(--brand); font-family: Georgia, serif; font-size: 1.1rem; }
.footer-brand span, .site-footer small { color: var(--muted); font-size: 0.76rem; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); font-size: 0.8rem; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }

.dialog { width: min(650px, calc(100% - 28px)); max-height: 88vh; padding: 28px; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 28px 80px rgba(42, 26, 31, 0.24); overflow: auto; }
.dialog::backdrop { background: rgba(33, 24, 27, 0.52); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--muted); font-size: 1.35rem; cursor: pointer; }
.dialog h2 { margin-bottom: 5px; font-size: 1.75rem; }
.dialog-lead { color: var(--muted); }
.comment-list { display: grid; gap: 12px; margin: 22px 0; }
.comment { padding: 15px; border-radius: 14px; background: #faf7f5; }
.comment-head { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 0.8rem; }
.comment-head time { color: var(--muted); }
.comment p { margin: 0; color: #5e5558; font-size: 0.9rem; }
.reply-form { display: flex; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.reply-form input { min-width: 0; flex: 1; }
.composer-dialog form { display: grid; gap: 7px; }
.composer-dialog label { margin-top: 8px; font-size: 0.82rem; font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); outline: 0; }
input, select { height: 46px; padding: 0 12px; }
textarea { padding: 12px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(140, 36, 64, 0.65); box-shadow: 0 0 0 3px rgba(140, 36, 64, 0.08); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; max-width: 320px; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: white; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: 180ms ease; }
.toast.show { opacity: 1; transform: translateY(0); }

.category-bar { border-top: 1px solid #f1e9e7; background: rgba(255,253,251,.88); }
.category-bar .shell { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.category-bar a { flex: 0 0 auto; padding: 9px 12px 10px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .78rem; font-weight: 700; text-decoration: none; }
.category-bar a:hover, .category-bar a.active { color: var(--brand); border-bottom-color: var(--brand); }
.compact { margin-left: auto; min-height: 40px; padding: 7px 13px; font-size: .84rem; }
.intro { max-width: 660px; color: var(--muted); font-size: 1.03rem; }
.section-block { margin-top: 34px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: 1.28rem; }
.section-heading a, .section-heading span { color: var(--muted); font-size: .82rem; }
.category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.category-card { display: flex; align-items: center; gap: 13px; min-height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: inherit; text-decoration: none; transition: transform 160ms ease,box-shadow 160ms ease; }
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.category-icon { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb,currentColor 13%,white); font-family: Georgia,serif; font-size: 1.45rem; }
.category-card strong { display: block; font-family: Georgia,serif; }
.category-card p { margin: 2px 0; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.category-card small { color: currentColor; font-size: .69rem; font-weight: 800; }
.cat-1 { color: #8c2440!important; background-color: #f6e6e8!important; }.cat-2 { color: #486887!important; background-color: #e7eef5!important; }.cat-3 { color: #8a6722!important; background-color: #f5eddb!important; }.cat-4 { color: #486c52!important; background-color: #e8f1ea!important; }.cat-5 { color: #6e4f83!important; background-color: #eee8f3!important; }.cat-6 { color: #7a5838!important; background-color: #f2ebe3!important; }.cat-7 { color: #356d70!important; background-color: #e4f0ef!important; }
.wide { width: 100%; margin-top: 14px; text-decoration: none; }
.views { margin-left: auto; color: #958b8e; font-size: .72rem; }
.thread-actions .bookmark { margin-left: 0; }
.photo-panel img { display: block; width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.photo-copy { padding: 18px; }
.photo-copy h2 { margin-bottom: 6px; font-size: 1.2rem; }
.photo-copy p:not(.eyebrow) { color: var(--muted); font-size: .82rem; }
.photo-copy > a { color: var(--brand); font-size: .82rem; font-weight: 800; text-decoration: none; }
.photo-copy .photo-credit { display: block; margin-top: 10px; color: #9b9093; font-size: .64rem; font-weight: 500; }
.popular-panel a { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 0; color: inherit; text-align: left; text-decoration: none; }

.category-page, .wide-page { padding-block: 44px 70px; }
.category-hero { position: relative; min-height: 250px; display: grid; grid-template-columns: 1fr 42%; align-items: center; gap: 30px; margin-bottom: 34px; padding: 34px; border-radius: 24px; overflow: hidden; }
.category-hero h1, .page-title h1 { margin-bottom: 8px; font-size: clamp(2.2rem,5vw,3.6rem); }
.category-hero > div > p { max-width: 520px; }
.category-hero figure { height: 210px; margin: 0; border-radius: 16px; overflow: hidden; position: relative; }
.category-hero img { width: 100%; height: 100%; object-fit: cover; }
.category-hero figcaption { position: absolute; right: 8px; bottom: 7px; padding: 3px 7px; border-radius: 6px; background: rgba(25,20,22,.65); }
.category-hero figcaption a { color: white; font-size: .6rem; text-decoration: none; }
.hero-meta { display: flex; gap: 18px; margin-top: 20px; font-size: .8rem; font-weight: 800; }
.hero-symbol { justify-self: center; font-family: Georgia,serif; font-size: 7rem; opacity: .24; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 30px; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.toolbar .search-wrap { flex: 1; }
.toolbar select { width: auto; min-width: 185px; }
.aside-copy { padding: 20px; }
.aside-copy h2 { font-size: 1.05rem; }
.aside-copy p { color: var(--muted); font-size: .84rem; }
.aside-copy > a { color: var(--brand); font-size: .8rem; font-weight: 800; }
.page-title { padding: 8px 0 24px; }
.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
.two-columns .thread-card { min-width: 0; }

.topic-grid { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 30px; padding-block: 42px 70px; }
.topic-post, .replies { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; padding: 17px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.breadcrumbs a { text-decoration: none; }
.topic-header { padding: 26px 28px 18px; }
.topic-header h1 { margin: 12px 0 18px; font-size: clamp(1.8rem,4vw,2.8rem); }
.topic-author { display: flex; align-items: center; gap: 10px; }
.topic-author div { display: grid; }
.topic-author span { color: var(--muted); font-size: .78rem; }
.topic-body { padding: 4px 28px 24px; font-family: Georgia,serif; font-size: 1.04rem; line-height: 1.72; }
.topic-stats { display: flex; align-items: center; gap: 18px; min-height: 56px; padding: 8px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.topic-stats .bookmark { margin-left: auto; }
.replies { margin-top: 18px; padding: 24px; }
.comment { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); background: transparent; }
.comment:first-child { border-top: 0; }
.comment-head { display: flex; justify-content: space-between; gap: 12px; }
.comment-head time { color: var(--muted); font-size: .76rem; }
.comment p { margin: 5px 0 8px; color: #554d4f; }
.comment-actions { display: flex; gap: 12px; }
.comment-actions button { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: .75rem; cursor: pointer; }
.reply-box { display: grid; gap: 8px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.reply-box label { font-weight: 800; }
.reply-box > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reply-box > div span { color: var(--muted); font-size: .76rem; }
.topic-side { display: grid; align-content: start; gap: 16px; }
.related { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); color: inherit!important; text-decoration: none; }
.related span { color: var(--muted); font-size: .72rem; }

.member-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.member-card { display: grid; justify-items: center; padding: 24px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); text-align: center; }
.member-card .avatar { width: 56px; height: 56px; font-size: 1.2rem; }
.member-card h2 { margin: 12px 0 0; font-size: 1.05rem; }
.member-card p { margin: 0 0 12px; color: var(--muted); font-size: .78rem; }
.member-card > strong { margin-top: 13px; font-size: .78rem; }
.member-card small { color: var(--muted); }
.text-page { max-width: 820px; padding-block: 56px 80px; }
.text-page section { margin-top: 38px; }
.text-page h2 { margin-bottom: 12px; }
.text-page p, .text-page li span { color: var(--muted); }
.rule-list { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: rules; }
.rule-list li { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); counter-increment: rules; }
.rule-list li::before { grid-row: 1/3; content: counter(rules); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: var(--brand); font-weight: 800; }
.rule-list strong, .rule-list span { grid-column: 2; }

:focus-visible { outline: 3px solid rgba(140, 36, 64, 0.3); outline-offset: 3px; }

@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-panel, .sidebar-note { display: none; }
  .main-nav { display: none; position: absolute; top: 68px; left: 20px; right: 20px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .nav-link { text-align: left; }
  .mobile-nav-button { display: block; }
  .compact { margin-left: auto; }
  .content-grid, .topic-grid { grid-template-columns: 1fr; }
  .two-columns { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 66px; }
  .page-grid { padding-block: 34px 50px; }
  .welcome-row { align-items: stretch; flex-direction: column; }
  .welcome-row .button { align-self: start; }
  h1 { font-size: 2.15rem; }
  .search-wrap kbd { display: none; }
  .thread-main { padding: 19px 18px 11px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 28px; }
  .site-footer nav { flex-wrap: wrap; gap: 14px 20px; }
  .reply-form { flex-direction: column; }
  .dialog { padding: 24px 18px; }
  .dialog-close { top: 10px; right: 10px; }
  .compact { display: none; }
  .category-bar .shell { width: 100%; padding-inline: 14px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-hero { grid-template-columns: 1fr; padding: 24px; }
  .category-hero figure { height: 180px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar select { width: 100%; }
  .topic-side, .member-grid { grid-template-columns: 1fr; }
  .topic-header, .topic-body { padding-inline: 19px; }
  .replies { padding: 18px; }
  .topic-stats { gap: 8px; flex-wrap: wrap; }
  .views { display: none; }
}

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