:root {
  --ink: #302a32;
  --muted: #777078;
  --bg: #e9e6ea;
  --panel: #fbfafb;
  --line: #c9c3cb;
  --plum: #584960;
  --plum-dark: #403545;
  --pink: #c4547e;
  --link: #74436f;
  --shell: min(1080px, calc(100% - 34px));
}

@font-face { font-family: Gluten; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/gluten-400.ttf') format('truetype'); }
@font-face { font-family: Gluten; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/gluten-500.ttf') format('truetype'); }
@font-face { font-family: Gluten; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/gluten-700.ttf') format('truetype'); }

* { box-sizing: border-box; }
html { background: #e4e1e5; }
body { margin: 0; color: var(--ink); font: 14px/1.45 "Trebuchet MS", Verdana, Arial, sans-serif; background: radial-gradient(circle at 20% -100px, rgba(255,255,255,.95), transparent 520px), repeating-linear-gradient(0deg, rgba(50,35,55,.028) 0, rgba(50,35,55,.028) 1px, transparent 1px, transparent 4px), var(--bg); }
a { color: var(--link); }
.shell { width: var(--shell); margin: 0 auto; }
.masthead { color: white; background: radial-gradient(circle at 80% -100px, rgba(255,255,255,.15), transparent 450px), linear-gradient(180deg, #705e75, #594961 53%, #493c51); border-bottom: 1px solid #342b38; box-shadow: inset 0 1px rgba(255,255,255,.18), 0 2px 6px rgba(35,25,38,.22); }
.masthead-inner { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.brand-copy { display: flex; flex-direction: column; gap: 5px; }
.brand-name { font-family: Gluten, "Trebuchet MS", Verdana, sans-serif; font-size: 40px; font-weight: 400; line-height: 1; letter-spacing: .2px; }
.brand-name strong { font-weight: 400; }
.brand-subtitle { color: #ddd5df; font-size: 13px; }
.brand-message { margin-left: auto; max-width: none; color: #eee8f0; font-size: 12px; text-align: right; }
.brand-message strong { color: white; }
.brand-message p { margin: 3px 0 0; white-space: nowrap; }
@media (max-width: 800px) { .masthead-inner { flex-wrap: wrap; padding: 16px 0; gap: 14px; } .brand-message { margin-left: 94px; text-align: left; } .brand-message p { white-space: normal; } }
@media (max-width: 560px) { .brand-message { margin-left: 81px; } }
.duppo-mark { width: 94px; height: 94px; margin-left: 0; position: relative; flex: 0 0 auto; }
.duppo-mark > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.main-nav { border-top: 1px solid rgba(255,255,255,.1); background: rgba(32,25,36,.2); }
.nav-inner { min-height: 40px; display: flex; align-items: flex-end; }
.nav-link { display: flex; align-self: stretch; align-items: center; padding: 10px 15px 9px; color: #eee8f0; border-radius: 5px 5px 0 0; text-decoration: none; text-shadow: 0 1px rgba(0,0,0,.3); }
.nav-link:hover, .nav-link:focus-visible { color: #eee8f0; background: rgba(255,255,255,.07); border-radius: 0; text-decoration: none; outline: none; }
.nav-link.active { color: #342d37; background: var(--panel); border: 1px solid #cfc9d1; border-bottom-color: var(--panel); border-radius: 0; box-shadow: inset 0 1px white; text-shadow: none; }
.page { min-height: calc(100vh - 145px); padding: 22px 0 38px; }
.breadcrumb { margin-bottom: 12px; color: #79727b; font-size: 12px; }
.breadcrumb span { padding: 0 7px; color: #aaa2ac; }
.panel { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 1px 3px rgba(43,34,47,.09), inset 0 1px white; }
.panel-title { min-height: 38px; padding: 8px 11px; color: white; font-size: 13px; font-weight: bold; background: linear-gradient(180deg, #706172 0%, #5d4e63 43%, #4d4152 62%, #514556 100%); border-bottom: 1px solid #3e3444; box-shadow: inset 0 1px rgba(255,255,255,.14), inset 0 -1px rgba(255,255,255,.05); text-shadow: 0 -1px rgba(0,0,0,.35); }
.panel-body { min-height: 260px; padding: 28px 24px; }
.panel-body h1 { margin: 0 0 10px; color: var(--plum-dark); font-size: 24px; font-weight: normal; }
.panel-body p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { :root { --shell: calc(100% - 18px); } .duppo-mark { width: 77px; height: 77px; } .brand-name { font-size: 34px; } .brand-subtitle { font-size: 11px; } .nav-link { padding-left: 10px; padding-right: 10px; } .panel-body { min-height: 220px; padding: 23px 16px; } }
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }

.breadcrumb a { color: var(--link); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.blog-post { padding: 18px 0; border-bottom: 1px solid var(--line); }
.blog-post:first-child { padding-top: 0; }
.blog-post:last-child { padding-bottom: 0; border-bottom: 0; }
.blog-post h2 { margin: 0 0 5px; color: var(--plum-dark); font-size: 21px; font-weight: normal; }
.blog-post time { color: var(--muted); font-size: 12px; }
.blog-post p { margin: 12px 0 0; }
.post-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.post-attachments img { width: min(180px, 100%); max-height: 180px; object-fit: cover; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

.auth-form { display: grid; gap: 16px; min-height: 0; }
.auth-form label, .blog-composer label { display: grid; gap: 6px; color: var(--plum-dark); font-size: 13px; font-weight: bold; }
.auth-form input, .blog-composer input, .blog-composer textarea { width: 100%; padding: 9px 10px; color: var(--ink); font: inherit; border: 1px solid #bcb6bf; border-radius: 4px; background: linear-gradient(#eceaed, #fff 48%); box-shadow: inset 0 1px 2px rgba(55,40,60,.12), 0 1px white; outline: none; }
.auth-form input:focus, .blog-composer input:focus, .blog-composer textarea:focus { border-color: #a65083; box-shadow: 0 0 0 2px rgba(239,67,143,.12), inset 0 1px 2px rgba(55,40,60,.1); }
.form-error { min-height: 20px; margin: 0; color: #a32463; font-size: 12px; }
.form-note { color: var(--muted); font-size: 11px; }
.blog-composer { display: grid; gap: 14px; margin-bottom: 16px; padding: 20px; background: #f7f3f7; border: 1px solid var(--line); border-radius: 5px; box-shadow: inset 0 1px white; }
.blog-composer h2 { margin: 0; color: var(--plum-dark); font-size: 20px; font-weight: normal; }
.blog-empty { margin: 0; }
.about-content { min-height: 0; padding: 0 24px 8px; }
.about-anchor-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-anchor-nav a { color: var(--link); font-size: 13px; text-decoration: none; }
.about-anchor-nav a:hover, .about-anchor-nav a:focus-visible { text-decoration: underline; }
.about-section { scroll-margin-top: 18px; padding: 24px 0; }
.about-section + .about-section { border-top: 1px solid var(--line); }
.about-section h2 { margin: 0; color: var(--plum-dark); font-size: 21px; font-weight: normal; }
.auth-switch { margin: 0; color: var(--muted); font-size: 12px; }
.auth-switch a { color: var(--link); }
.profile-panel { max-width: 760px; }
.profile-body { min-height: 0; }
.profile-heading { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.profile-avatar { width: 92px; height: 92px; flex: 0 0 92px; object-fit: cover; border-radius: 50%; border: 1px solid #bcb2bf; background: linear-gradient(#f36aa8, #bf286b); box-shadow: inset 0 1px rgba(255,255,255,.5), 0 2px 4px rgba(50,30,55,.2); }
.profile-avatar-empty { display: grid; place-items: center; color: white; font-size: 30px; text-shadow: 0 -1px rgba(0,0,0,.2); }
.profile-heading h1 { margin: 0 0 5px; color: var(--plum-dark); font-size: 25px; font-weight: normal; }
.profile-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.profile-editor { display: grid; gap: 16px; padding-top: 24px; }
.profile-form, .avatar-form { display: grid; gap: 10px; }
.profile-form label, .avatar-form label { display: grid; gap: 6px; color: var(--plum-dark); font-size: 13px; font-weight: bold; }
.profile-form textarea, .avatar-form input { width: 100%; padding: 9px 10px; color: var(--ink); font: inherit; border: 1px solid #bcb6bf; border-radius: 4px; background: linear-gradient(#eceaed, #fff 48%); box-shadow: inset 0 1px 2px rgba(55,40,60,.12), 0 1px white; outline: none; }
.profile-form textarea:focus, .avatar-form input:focus { border-color: #a65083; box-shadow: 0 0 0 2px rgba(239,67,143,.12), inset 0 1px 2px rgba(55,40,60,.1); }
.profile-preview-link { color: var(--link); font-size: 13px; }
@media (max-width: 560px) { .profile-heading { align-items: flex-start; flex-direction: column; } }

.account-controls { margin-left: auto; align-self: center; max-width: min(100%, 360px); }
.account-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.account-actions[hidden], .account-error[hidden] { display: none; }
.account-button { display: inline; max-width: 100%; padding: 0; color: #eee8f0; font: inherit; font-size: 13px; line-height: 20px; overflow-wrap: anywhere; text-align: right; text-decoration: none; border: 0; background: transparent; text-shadow: 0 1px rgba(0,0,0,.3); cursor: pointer; }
.account-button::before, .utility-settings::before, .forum-author a::before, .profile-preview-link::before, .forum-new-topic::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 4px; vertical-align: -3px; background-color: currentColor; background-position: center; background-repeat: no-repeat; background-size: contain; }
.account-actions[data-guest-actions] .account-button[href="login.html"]::before { mask: url('../assets/icon-login.svg') center / contain no-repeat; -webkit-mask: url('../assets/icon-login.svg') center / contain no-repeat; }
.account-actions[data-guest-actions] .account-button[href="register.html"]::before { mask: url('../assets/icon-register.svg') center / contain no-repeat; -webkit-mask: url('../assets/icon-register.svg') center / contain no-repeat; }
.account-actions[data-user-actions] .account-button[data-account-link]::before { mask: url('../assets/icon-user.svg') center / contain no-repeat; -webkit-mask: url('../assets/icon-user.svg') center / contain no-repeat; }
.account-actions[data-user-actions] .account-button[data-logout-button]::before { mask: url('../assets/icon-logout.svg') center / contain no-repeat; -webkit-mask: url('../assets/icon-logout.svg') center / contain no-repeat; }
.utility-settings::before { mask: url('../assets/icon-settings.svg') center / contain no-repeat; -webkit-mask: url('../assets/icon-settings.svg') center / contain no-repeat; }
.forum-author a::before, .profile-preview-link::before { mask: url('../assets/icon-user.svg') center / contain no-repeat; -webkit-mask: url('../assets/icon-user.svg') center / contain no-repeat; }
.forum-new-topic::before { mask: url('../assets/icon-plus.svg') center / contain no-repeat; -webkit-mask: url('../assets/icon-plus.svg') center / contain no-repeat; }
.account-button:hover { color: #fff; text-decoration: underline; }
.account-button:active { color: #fff; }
.account-button:focus-visible { outline: 2px solid #c9bfcd; outline-offset: 3px; }
.account-button:disabled { opacity: .65; cursor: wait; }
.account-error { margin: 8px 0; color: #fff; font-size: 12px; text-align: right; }
@media (max-width: 560px) {
  .masthead-inner { flex-wrap: wrap; gap: 12px; padding: 16px 0; }
  .account-controls { margin-left: auto; }
  .account-button { min-height: 22px; padding: 0; }
}
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.home-sidebar { display: grid; gap: 16px; }
.home-profile[hidden] { display: none; }
.home-profile .panel-body { min-height: 0; padding: 16px; }
.home-profile-identity { display: flex; align-items: flex-start; gap: 12px; }
.home-profile-avatar { width: 56px; height: 56px; flex: 0 0 56px; object-fit: cover; border: 1px solid #bcb2bf; border-radius: 50%; background: linear-gradient(#f36aa8, #bf286b); box-shadow: inset 0 1px rgba(255,255,255,.5), 0 2px 4px rgba(50,30,55,.18); }
.home-profile-avatar-empty { display: grid; place-items: center; color: #fff; font-size: 22px; text-shadow: 0 -1px rgba(0,0,0,.2); }
.home-profile-copy { min-width: 0; }
.home-profile-copy h2 { margin: 2px 0 4px; color: var(--plum-dark); font-size: 18px; font-weight: normal; overflow-wrap: anywhere; }
.home-profile-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
 .home-profile-link { display: inline-block; margin-top: 15px; color: var(--link); font-size: 12px; }
.home-conversations[hidden] { display: none; }
.home-conversations-list { padding: 5px 14px; }
.home-conversation { padding: 9px 0; border-bottom: 1px solid var(--line); }
.home-conversation:last-child { border-bottom: 0; }
.home-conversation a { display: block; color: #8d3b69; font-size: 12px; font-weight: bold; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.home-conversation a:hover { text-decoration: underline; }
.home-conversation-category { display: inline-block; margin-right: 4px; padding: 1px 5px; color: #8d3b69; border: 1px solid #efc4d8; border-radius: 9px; background: #f9dce9; font-size: 10px; line-height: 1.2; }
.home-conversation small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.home-conversations-empty { margin: 0; padding: 10px 0; color: var(--muted); font-size: 11px; }
.home-stats .panel-body { min-height: 0; padding: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.stat { padding: 8px; color: #7e7780; text-align: center; border: 1px solid #d8d2da; border-radius: 4px; background: linear-gradient(#fff, #f0edf1); box-shadow: inset 0 1px white; font-size: 10px; }
.stat strong { display: block; color: #4d454f; font-size: 16px; }
.stat span { display: block; }
.home-blog { margin-top: 16px; }
.home-blog-body { min-height: 0; padding: 16px 20px; }
.home-blog-post { padding: 14px 0; border-bottom: 1px solid var(--line); }
.home-blog-post:first-child { padding-top: 0; }
.home-blog-post h2 { margin: 0 0 4px; color: var(--plum-dark); font-size: 18px; font-weight: normal; }
.home-blog-post time { color: var(--muted); font-size: 12px; }
.home-blog-post p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.home-blog-link { display: inline-block; margin-top: 14px; color: var(--link); font-size: 12px; }
@media (max-width: 720px) { .home-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .nav-inner { overflow-x: auto; scrollbar-width: none; }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-link { flex: 0 0 auto; white-space: nowrap; }
}
.nav-dropdown { position: relative; display: flex; align-self: stretch; }
.nav-dropdown-trigger { width: 100%; border: 0; background: transparent; font: inherit; text-align: left; appearance: none; cursor: pointer; }
.nav-dropdown-trigger:hover, .nav-dropdown-trigger:focus-visible { color: #eee8f0; background: rgba(255,255,255,.07); border-radius: 0; text-decoration: none; outline: none; }
.nav-dropdown.open .nav-dropdown-trigger { background: rgba(255,255,255,.07); border-radius: 0; }
.nav-dropdown-menu { display: none; position: absolute; z-index: 10; top: calc(100% + 1px); left: 0; min-width: 205px; padding: 5px; border: 1px solid #bdb5c0; border-radius: 0 4px 4px 4px; background: #f8f6f9; box-shadow: 0 3px 7px rgba(45,33,50,.24), inset 0 1px white; }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 8px 10px; color: var(--ink); font-size: 13px; line-height: 1.35; text-decoration: none; border-radius: 2px; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { color: var(--plum-dark); background: #eee8f0; outline: none; }
@media (max-width: 700px) { .nav-inner { overflow: visible; flex-wrap: wrap; } .nav-dropdown-menu { position: fixed; top: auto; margin-top: 0; } }
.nav-dropdown-trigger.active,
.nav-dropdown-trigger.active:hover,
.nav-dropdown.open .nav-dropdown-trigger.active { color: #342d37; background: var(--panel); border: 1px solid #cfc9d1; border-bottom-color: var(--panel); box-shadow: inset 0 1px white; text-shadow: none; }
.utility-bar { min-height: 29px; color: #ddd7df; background: linear-gradient(#433b45, #302a33); border-bottom: 1px solid #1d1920; box-shadow: inset 0 1px rgba(255,255,255,.07); font-size: 12px; }
.utility-inner { min-height: 29px; display: flex; align-items: center; justify-content: flex-end; }
.utility-bar .account-controls { margin-left: auto; align-self: center; }
.utility-bar .account-actions { flex-direction: row; align-items: center; gap: 17px; }
.utility-bar .account-button { color: #eee8ef; font-size: 12px; line-height: 18px; }
.utility-bar .account-button:hover { color: #fff; }
.utility-bar .account-error { margin: 0 0 0 12px; }
@media (max-width: 560px) { .utility-bar .account-button { min-height: 20px; } }
.utility-settings { margin-right: auto; color: #dcd5df; font-size: 12px; text-decoration: none; }
.utility-settings:hover, .utility-settings.active { color: #fff; text-decoration: underline; }
.site-footer { color: #7c757f; border-top: 1px solid #ccc7ce; background: linear-gradient(#e9e6ea, #dedbe1); box-shadow: inset 0 1px white; font-size: 11px; }
.footer-inner { min-height: 128px; display: grid; grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); align-items: center; gap: 20px; }
.footer-brand { display: contents; }
.footer-logo { display: block; grid-column: 2; grid-row: 1; justify-self: center; width: 240px; height: 80px; object-fit: contain; transform: translateY(-5px); }
.footer-copy { display: grid; grid-column: 1; grid-row: 1; gap: 3px; }
.footer-copy strong { color: #5d5560; font-size: 12px; }
.footer-copy span { color: #7c757f; white-space: nowrap; }
.footer-links { display: flex; grid-column: 3; grid-row: 1; flex-wrap: wrap; justify-content: flex-end; gap: 7px 18px; max-width: 360px; }
.footer-links a { color: #69616c; text-decoration: none; }
.footer-links a:hover { color: var(--link); text-decoration: underline; }
.settings-panel { max-width: 560px; }
.settings-form { min-height: 0; display: grid; gap: 10px; }
.settings-form label { color: var(--plum-dark); font-size: 13px; font-weight: bold; }
.settings-form select { width: 100%; padding: 8px 10px; color: var(--ink); font: inherit; border: 1px solid #bcb6bf; border-radius: 4px; background: linear-gradient(#eceaed, #fff 48%); box-shadow: inset 0 1px 2px rgba(55,40,60,.12), 0 1px white; }
.settings-note, .settings-saved { min-height: 18px; margin: 0; font-size: 12px; }
.settings-saved { color: #7c3b65; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; padding: 8px 0; } .footer-logo { grid-column: 1 / -1; grid-row: 1; width: 220px; height: 64px; } .footer-copy { grid-column: 1; grid-row: 2; } .footer-copy span { white-space: normal; } .footer-links { grid-column: 2; grid-row: 2; gap: 5px 12px; } }
.forum-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.forum-toolbar .breadcrumb { margin-bottom: 0; }
.button { display: inline-block; padding: 5px 10px; color: var(--plum-dark); font: inherit; font-size: 12px; text-decoration: none; border: 1px solid #bcb6bf; border-radius: 4px; background: linear-gradient(#fff, #ece9ed); box-shadow: inset 0 1px white, 0 1px 2px rgba(43,34,47,.08); cursor: pointer; }
.button:hover, .button:focus-visible { color: var(--plum-dark); text-decoration: none; background: linear-gradient(#fff, #f5dbe8); border-color: #b889a5; outline: none; }
.button-primary { color: white; border-color: #8f3b5f; background: linear-gradient(#d9779b, #ad466d); text-shadow: 0 -1px rgba(70,24,44,.45); box-shadow: inset 0 1px rgba(255,255,255,.3), 0 1px 2px rgba(80,25,58,.2); }
.button-primary:hover, .button-primary:focus-visible { color: white; background: linear-gradient(#e08aaa, #b95278); border-color: #8f3b5f; }
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.forum-categories, .forum-category-content, .forum-topic-content, .forum-sidebar { display: grid; gap: 16px; }
.forum-category-panel .panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel-title small { color: #d9d0dc; font-size: 10px; font-weight: normal; }
.forum-row { min-height: 73px; display: grid; grid-template-columns: 43px minmax(0, 1fr) 80px 215px; gap: 0; align-items: center; border-top: 1px solid #e4e0e5; background: linear-gradient(90deg, #fbfafb, #f8f6f9); }
.forum-row:first-child { border-top: 0; }
.forum-row:hover { background: white; }
.forum-icon { width: 22px; height: 22px; justify-self: center; position: relative; border-radius: 50%; background: radial-gradient(circle at 36% 28%, #ed9ab5 0 11%, #d66c91 29%, #ad466f 74%, #7d2a53 100%); box-shadow: inset 0 1px 1px rgba(255,255,255,.4), 0 1px 2px rgba(89,31,66,.3); }
.forum-icon::after { content: ""; position: absolute; width: 6px; height: 6px; right: -5px; bottom: 0; border-radius: 50%; background: #9e3d64; }
.forum-name { min-width: 0; padding: 11px 10px 11px 0; }
.forum-name a, .latest a, .forum-topic-title a { color: #5f3d62; font-size: 14px; font-weight: bold; text-decoration: none; }
.forum-name a:hover, .latest a:hover, .forum-topic-title a:hover { text-decoration: underline; }
.forum-name p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.count { color: var(--muted); font-size: 11px; text-align: center; }
.count strong { display: block; color: #4c454e; font-size: 14px; }
.latest { min-width: 0; padding: 8px 11px 8px 7px; color: #7a747c; font-size: 11px; }
.latest a, .latest small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.latest small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.forum-stats-body { min-height: 0; padding: 16px; }
.recent-topics { padding: 5px 14px; }
.recent-topic { padding: 10px 0; border-bottom: 1px solid var(--line); }
.recent-topic:last-child { border-bottom: 0; }
.recent-topic a { display: block; color: var(--link); font-size: 12px; text-decoration: none; }
.recent-topic a:hover { text-decoration: underline; }
.recent-topic small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.forum-empty { margin: 0; padding: 22px 16px; color: var(--muted); font-size: 13px; }
.forum-composer { display: grid; gap: 12px; margin-bottom: 16px; padding: 18px; background: #f7f3f7; border: 1px solid var(--line); border-radius: 5px; box-shadow: inset 0 1px white; }
.forum-composer h2 { margin: 0; color: var(--plum-dark); font-size: 19px; font-weight: normal; }
.forum-composer label { display: grid; gap: 6px; color: var(--plum-dark); font-size: 13px; font-weight: bold; }
.forum-composer input, .forum-composer textarea { width: 100%; padding: 9px 10px; color: var(--ink); font: inherit; border: 1px solid #bcb6bf; border-radius: 4px; background: linear-gradient(#eceaed, #fff 48%); box-shadow: inset 0 1px 2px rgba(55,40,60,.12), 0 1px white; outline: none; }
.forum-composer input:focus, .forum-composer textarea:focus { border-color: #a65083; box-shadow: 0 0 0 2px rgba(239,67,143,.12), inset 0 1px 2px rgba(55,40,60,.1); }
.forum-topic-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 14px; align-items: center; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.forum-topic-row:last-child { border-bottom: 0; }
.forum-topic-title small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.forum-post { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 18px; border-bottom: 1px solid var(--line); }
.forum-post:last-child { border-bottom: 0; }
.forum-post-author { min-width: 0; }
.forum-author { display: flex; align-items: center; gap: 8px; min-width: 0; }
.forum-author a { overflow-wrap: anywhere; color: var(--link); font-size: 12px; text-decoration: none; }
.forum-author a:hover { text-decoration: underline; }
.forum-avatar { width: 36px; height: 36px; flex: 0 0 36px; object-fit: cover; border: 1px solid #bcb2bf; border-radius: 50%; background: linear-gradient(#f36aa8, #bf286b); box-shadow: inset 0 1px rgba(255,255,255,.5), 0 1px 3px rgba(50,30,55,.18); }
.forum-avatar-empty { display: grid; place-items: center; color: white; font-size: 15px; text-shadow: 0 -1px rgba(0,0,0,.2); }
.forum-post-content time { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.forum-post-content p { margin: 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.forum-reply-composer { margin-top: 16px; }
@media (max-width: 820px) { .forum-layout { grid-template-columns: 1fr; } .forum-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .forum-toolbar { align-items: flex-start; flex-direction: column; } .forum-row { grid-template-columns: 28px minmax(0, 1fr) 54px; gap: 10px; } .forum-row .latest { grid-column: 2 / -1; } .forum-sidebar { grid-template-columns: 1fr; } .forum-post { grid-template-columns: 1fr; gap: 10px; } }

/* Mobile layout: keep the desktop character while giving touch screens room to breathe. */
html { min-width: 0; }
body { min-width: 0; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; }
button, input, select, textarea { max-width: 100%; }

@media (max-width: 760px) {
  :root { --shell: min(1080px, calc(100% - 24px)); }

  .utility-bar { min-height: 38px; }
  .utility-inner { min-height: 38px; padding: 5px 0; }
  .utility-bar .account-actions { gap: 12px; }
  .utility-bar .account-button, .utility-settings { min-height: 28px; display: inline-flex; align-items: center; }

  .masthead-inner {
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    padding: 16px 0 14px;
  }
  .brand { min-width: 0; gap: 9px; }
  .duppo-mark { width: 68px; height: 68px; }
  .brand-copy { min-width: 0; gap: 4px; }
  .brand-name { font-size: clamp(30px, 9vw, 38px); }
  .brand-subtitle { max-width: 100%; font-size: 11px; line-height: 1.3; }
  .brand-message {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 9px 11px;
    color: #eee8f0;
    text-align: left;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 7px;
    background: rgba(32,25,36,.18);
  }
  .brand-message p { margin-top: 3px; white-space: normal; }

  .main-nav { position: relative; z-index: 20; }
  .nav-inner {
    min-height: 48px;
    align-items: stretch;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-link {
    min-height: 48px;
    flex: 0 0 auto;
    padding: 12px 13px 11px;
    font-size: 13px;
    white-space: nowrap;
  }
  .nav-dropdown { flex: 0 0 auto; }
  .nav-dropdown-menu {
    position: fixed;
    top: var(--dropdown-top, 8px);
    left: var(--dropdown-left, 8px);
    min-width: min(205px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .page { min-height: calc(100vh - 170px); padding: 17px 0 28px; }
  .breadcrumb { margin-bottom: 10px; font-size: 11px; line-height: 1.4; }
  .breadcrumb span { padding: 0 5px; }
  .panel { border-radius: 7px; }
  .panel-title { min-height: 42px; padding: 10px 13px; line-height: 1.35; }
  .panel-body { min-height: 0; padding: 20px 16px; }
  .panel-body h1 { font-size: clamp(21px, 6vw, 24px); }
  .panel-body p { font-size: 14px; }
  .panel-title small { max-width: 62%; line-height: 1.3; text-align: right; }

  .about-content { padding: 0 16px 6px; }
  .about-anchor-nav { gap: 8px 14px; padding: 13px 0; }
  .about-section { padding: 20px 0; }
  .about-section h2 { font-size: 19px; }
  .blog-post h2 { font-size: 19px; line-height: 1.25; }
  .blog-composer, .forum-composer { padding: 14px; border-radius: 7px; }

  .auth-page > .panel, .settings-panel { width: 100%; }
  .auth-form, .settings-form { gap: 14px; }
  .auth-form input, .settings-form select, .blog-composer input, .blog-composer textarea,
  .profile-form textarea, .avatar-form input, .forum-composer input, .forum-composer textarea {
    min-height: 44px;
    padding: 10px 11px;
    font-size: 16px;
  }
  .blog-composer textarea, .forum-composer textarea, .profile-form textarea { min-height: 120px; }
  .button { min-height: 44px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; }
  .auth-form .button, .settings-form .button { width: 100%; }

  .profile-heading { gap: 13px; padding-bottom: 20px; }
  .profile-avatar { width: 80px; height: 80px; flex-basis: 80px; }
  .profile-heading h1 { font-size: 22px; }
  .profile-editor { padding-top: 20px; }

  .home-layout, .forum-layout { grid-template-columns: 1fr; }
  .home-layout, .forum-layout, .home-sidebar, .forum-sidebar { gap: 12px; }
  .home-blog { margin-top: 12px; }
  .home-blog-body { padding: 16px; }
  .stats { gap: 6px; }
  .stat { min-height: 58px; padding: 8px 5px; display: grid; align-content: center; }
  .stat strong { font-size: 15px; }

  .forum-toolbar { gap: 10px; margin-bottom: 10px; }
  .forum-toolbar .button { width: 100%; }
  .forum-row { min-height: 0; }
  .forum-name { padding-top: 10px; padding-bottom: 10px; }
  .forum-name p { line-height: 1.35; }
  .forum-topic-row { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 13px 14px; }
  .forum-topic-row .count { justify-self: start; text-align: left; }
  .forum-post { padding: 15px; }
  .forum-post-content time { margin-bottom: 8px; }

  .site-footer { font-size: 11px; }
  .footer-inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 17px 0 20px;
    text-align: center;
  }
  .footer-logo { order: 1; width: 180px; height: 55px; transform: none; }
  .footer-copy { order: 2; display: grid; gap: 3px; }
  .footer-copy span { white-space: normal; }
  .footer-links { order: 3; justify-content: center; gap: 8px 16px; max-width: 100%; }
}

@media (max-width: 380px) {
  :root { --shell: calc(100% - 18px); }
  .duppo-mark { width: 60px; height: 60px; }
  .brand-name { font-size: 30px; }
  .brand-subtitle { font-size: 10px; }
  .nav-link { padding-left: 11px; padding-right: 11px; }
  .panel-body { padding-left: 14px; padding-right: 14px; }
  .forum-row { grid-template-columns: 25px minmax(0, 1fr) 48px; gap: 7px; }
  .forum-row .latest { padding-left: 0; padding-right: 9px; }
}

@media (max-width: 760px) {
  .brand-message { display: none; }
}
