:root {
  color-scheme: dark;
  --background: #1b1119;
  --deep: #160d14;
  --panel: #251722;
  --panel-high: #2f1c29;
  --line: #4c3542;
  --line-soft: #3b2936;
  --ink: #fbefe6;
  --muted: #c7adb9;
  --accent: #f0b598;
  --accent-hover: #ffd1ba;
  --serif: "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 25px; }
body { margin: 0; color: var(--ink); background: var(--background); font: 16px/1.6 var(--sans); }
body.site-body { background: radial-gradient(ellipse 950px 540px at 14% 5%, #2b1725, transparent 92%), var(--background); }
main { display: block; min-height: 55vh; }
img { display: block; max-width: 100%; height: auto; }
svg { vertical-align: middle; }
a { color: inherit; text-decoration: none; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 em, h2 em { color: var(--accent); }
p { overflow-wrap: anywhere; }
hr { width: 100%; border: 0; border-top: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #d59483; color: #27161e; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; inset: 8px auto auto 8px; z-index: 5; padding: 10px 14px; background: var(--accent); color: #24141f; }
.muted { color: var(--muted); }

.site-header { border-bottom: 1px solid var(--line-soft); background: #1c111b; }
.header-inner { min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; }
.brand { display: inline-flex; width: min(235px, 100%); align-items: center; }
.brand img { width: 100%; }
.main-nav, .header-actions { display: flex; align-items: center; gap: 24px; }
.main-nav { font-size: .88rem; font-weight: 540; color: var(--muted); }
.main-nav a { padding-block: 16px; white-space: nowrap; }
.main-nav a:hover, .main-nav [aria-current] { color: var(--ink); }
.main-nav [aria-current] { position: relative; }
.main-nav [aria-current]::after { content: ""; position: absolute; inset: auto 20% 5px; height: 1px; background: var(--accent); }
.header-actions { justify-self: end; gap: 12px; }
.header-admin, .header-label { font-size: .77rem; color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
.header-label { grid-column: 3; justify-self: end; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; color: var(--muted); }
.icon-button:hover, .header-admin:hover { color: var(--accent); }

.button { min-height: 46px; padding: 11px 19px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 5px; font-size: .88rem; font-weight: 680; line-height: 1.3; text-align: center; width: fit-content; max-width: 100%; white-space: normal; }
.button.primary { color: #2b1820; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button.outline:hover { border-color: var(--accent); color: var(--accent); }
.button.compact { min-height: 39px; padding: 8px 13px; font-size: .82rem; }
.button svg { flex: 0 0 auto; width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: .87rem; font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 19px; }

.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font: 700 .68rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.kicker-line { width: 22px; height: 1px; background: currentColor; flex: 0 0 auto; }
.adult-label { display: inline-block; padding: 2px 6px; border: 1px solid #855b62; border-radius: 4px; font: 730 .66rem/1.4 var(--sans); letter-spacing: .045em; color: var(--accent); }
.hero { padding-top: 59px; padding-bottom: 49px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.hero-copy { padding-block: 16px; }
.hero h1 { margin: 19px 0 24px; font-size: clamp(3.55rem, 7.2vw, 7.25rem); line-height: .94; letter-spacing: -.065em; }
.hero h1 em { letter-spacing: -.065em; font-weight: 400; }
.hero-description { color: var(--muted); max-width: 29rem; font-size: clamp(.99rem, 1.4vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 30px; }
.hero-figure { position: relative; isolation: isolate; overflow: hidden; border-radius: 7px; border: 1px solid #76504d; background: #3a2026; aspect-ratio: 1.43; }
.hero-figure > img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.hero-figure::after { content: ""; position: absolute; inset: 28% 0 0; background: linear-gradient(transparent 12%, #190e15 100%); pointer-events: none; }
.frame-corner { position: absolute; top: 17px; right: 17px; width: 30px; height: 30px; border-top: 1px solid #f3b99d; border-right: 1px solid #f3b99d; z-index: 1; }
.figure-label { position: absolute; inset: auto 23px 21px; z-index: 2; }
.figure-label .eyebrow { color: #f4c3a9; margin-bottom: 5px; }
.figure-label a, .figure-label > span { font-family: var(--serif); font-size: clamp(1.22rem, 2.7vw, 2.02rem); line-height: 1.12; }
.figure-label a:hover { color: var(--accent); }
.figure-label a span { font: .85em var(--sans); margin-left: 5px; }

.topics-section { padding-bottom: 34px; }
.section-topline { display: flex; align-items: center; gap: 17px; margin-bottom: 13px; }
.section-topline > span { flex: 1; height: 1px; background: var(--line); }
.section-topline > a { color: var(--muted); font-size: .74rem; font-weight: 650; }
.section-topline > a:hover { color: var(--accent); }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.topic-tile { display: flex; gap: 12px; align-items: center; min-height: 63px; padding: 10px 14px; background: #281823; border: 1px solid var(--line-soft); border-radius: 5px; font-family: var(--serif); font-size: clamp(1.04rem, 1.5vw, 1.34rem); line-height: 1.15; overflow-wrap: anywhere; }
.topic-tile:hover { background: var(--panel-high); border-color: #966d70; }
.topic-number, .topic-tile > span:last-child { color: var(--accent); font: .65rem var(--sans); }
.topic-tile > span:last-child { margin-left: auto; font-size: .83rem; }
.content-section { padding-top: 33px; padding-bottom: 63px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 23px; }
.section-heading h2, .member-card h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -.05em; margin-top: 8px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { min-width: 0; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.post-card:hover { border-color: #825a66; }
.post-cover { display: block; aspect-ratio: 1.73; background: #472632; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card-inner { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 19px 19px 13px; }
.topic-label { display: inline-flex; border: 1px solid #805563; color: var(--accent); border-radius: 4px; padding: 3px 7px; font-size: .66rem; font-weight: 740; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
.topic-label:hover { border-color: var(--accent); }
.post-card h3 { font-size: clamp(1.44rem, 2.35vw, 2.1rem); letter-spacing: -.04em; }
.post-card h3 a:hover { color: var(--accent); }
.post-card-inner > p { color: var(--muted); font-size: .87rem; }
.post-meta { display: flex; align-items: center; gap: 8px 13px; flex-wrap: wrap; width: 100%; color: var(--muted); margin-top: auto; padding-top: 8px; font-size: .73rem; }
.post-meta span, .article-meta span { display: inline-flex; align-items: center; gap: 4px; }
.post-meta svg, .article-meta svg { width: 15px; height: 15px; }
.card-arrow { margin-left: auto; display: grid; place-items: center; width: 33px; height: 33px; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; }
.card-arrow:hover { border-color: var(--accent); }
.member-section { padding-bottom: 67px; }
.member-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: linear-gradient(125deg, #382030, #251622 78%); border: 1px solid #62424e; border-radius: var(--radius); padding: 26px; }
.member-icon { display: grid; width: 57px; height: 57px; place-items: center; border: 1px solid #8c616a; border-radius: 50%; color: var(--accent); }
.member-icon svg { width: 27px; height: 27px; }
.member-card h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 5px; }
.member-card p:not(.eyebrow) { color: var(--muted); font-size: .91rem; }

.site-footer { background: var(--deep); border-top: 1px solid var(--line-soft); }
.footer-main { padding-block: 34px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 23px 30px; }
.footer-main .brand { width: 204px; }
.footer-main p { max-width: 24rem; color: var(--muted); font-size: .83rem; margin-top: 12px; }
.footer-main nav { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 23px; font-size: .82rem; color: var(--muted); }
.footer-main nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); padding-block: 18px; color: var(--muted); font-size: .74rem; }
.footer-bottom .adult-label { margin-right: 5px; }

.crumbs { margin-bottom: 23px; color: var(--muted); font-size: .77rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 5px 8px; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: " / "; margin-left: 7px; color: #987687; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
.list-section, .information-page, .account-wrap { padding-block: 32px 64px; }
.listing-title { margin-bottom: 28px; padding-block: 11px 18px; }
.listing-title h1, .information-page h1, .account-title h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); letter-spacing: -.055em; margin: 9px 0 12px; }
.listing-title > p:not(.eyebrow), .account-title p:not(.eyebrow) { color: var(--muted); }
.search-form { display: flex; align-items: end; gap: 9px; max-width: 560px; margin-top: 20px; }
.search-form input { min-width: 0; }
.search-form label { flex: 1; }
.search-form .button { min-height: 43px; flex: 0 0 auto; }
.result-label { margin: 0 0 17px; color: var(--muted); font-size: .88rem; }
.pager { margin-top: 26px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px; color: var(--muted); font-size: .85rem; }

.article-shell { padding-block: 30px 30px; }
.article-heading { max-width: 900px; text-align: center; margin: 45px auto 28px; }
.article-heading h1 { font-size: clamp(2.65rem, 6.5vw, 6rem); letter-spacing: -.055em; margin: 16px 0; }
.article-heading > p { max-width: 730px; margin-inline: auto; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.25rem); }
.article-meta { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px 16px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
.article-cover { max-width: 1050px; margin: 0 auto 32px; aspect-ratio: 2.17; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-columns { display: grid; grid-template-columns: minmax(130px, 190px) minmax(0, 700px); gap: 28px; justify-content: center; align-items: start; }
.article-prose { color: #eedce4; font-family: var(--serif); font-size: clamp(1.08rem, 2.05vw, 1.31rem); line-height: 1.75; overflow-wrap: anywhere; }
.article-prose p, .article-prose ul, .article-prose blockquote { margin-bottom: 1.14em; }
.article-prose h2, .article-prose h3 { margin: 1.15em 0 .46em; color: var(--ink); }
.article-prose h2 { font-size: 1.5em; }
.article-prose h3 { font-size: 1.25em; }
.article-prose blockquote { margin-left: 0; border-left: 2px solid var(--accent); padding-left: 16px; color: var(--accent); font-style: italic; }
.article-prose a, .form-foot a, .check a, .notice a, .field-hint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.information-page { max-width: 850px; }
.information-page .article-prose { margin-top: 30px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tags a { border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: .8rem; padding: 4px 9px; }
.tags a:hover { border-color: var(--accent); color: var(--accent); }

.empty-state { min-height: 185px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--panel); text-align: center; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 22px; }
.empty-state > svg { color: var(--accent); }
.empty-state h2 { font-size: 1.65rem; }
.empty-state p { color: var(--muted); font-size: .9rem; }
.empty-state .button { margin-top: 7px; }
.auth-wrap { padding: 50px 18px 70px; display: grid; place-items: center; }
.auth-panel, .account-panel { width: min(100%, 510px); padding: clamp(20px, 4vw, 33px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.auth-panel h1 { font-size: clamp(2.25rem, 5vw, 3.65rem); letter-spacing: -.05em; margin: 8px 0 10px; }
.auth-panel h2, .account-panel h2 { font-size: 1.95rem; margin-bottom: 12px; }
.auth-panel p:not(.eyebrow, .notice) { color: var(--muted); font-size: .91rem; }
.auth-panel > form { margin-top: 20px; }
.auth-panel .form-foot { margin-top: 15px; }
.form-stack { display: grid; gap: 15px; min-width: 0; }
.form-stack > .button { margin-top: 3px; }
label { display: block; font-size: .88rem; font-weight: 630; color: var(--ink); min-width: 0; }
input:not([type=checkbox]), select, textarea {
  display: block; width: 100%; min-height: 43px; padding: 9px 11px; color: var(--ink); background: var(--deep);
  border: 1px solid var(--line); border-radius: 5px; font-size: .91rem; font-weight: 430;
}
label > :is(input, select, textarea, .slug-input) { margin-top: 5px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .82; }
textarea { min-height: 75px; resize: vertical; }
input[type=file] { height: auto; font-size: .83rem; }
input::file-selector-button { font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 4px; margin-right: 7px; }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent); margin: 2px 5px 0 0; vertical-align: text-top; }
.check { font-size: .84rem; font-weight: 500; }
.field-hint { display: block; color: var(--muted); font-size: .75rem; font-weight: 440; margin-top: 3px; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 5px; padding: 13px; }
legend { color: var(--muted); font-size: .82rem; padding-inline: 4px; }
.two-cols { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.inline-form.spread { justify-content: space-between; }
.notice { background: #3c2937; color: #fff0e8; padding: 11px 13px; margin-block: 10px 15px; border: 1px solid #7e596e; border-radius: 5px; font-size: .88rem; }
.notice.error { background: #4e2634; border-color: #b2687c; }
.notice.success { background: #2c3731; border-color: #577b64; }
.notice .button { margin-top: 8px; }
.notice input { margin-top: 6px; }
.check-list { padding-left: 19px; }
.setup-wrap { padding-block: 53px 70px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; align-items: start; }
.setup-aside { position: sticky; top: 30px; }
.setup-aside h1 { margin: 15px 0; font-size: clamp(3.2rem, 6vw, 6.5rem); letter-spacing: -.06em; }
.setup-aside > p:not(.eyebrow), .setup-steps { color: var(--muted); }
.setup-steps { margin: 23px 0 0; padding-left: 21px; }
.setup-steps li { margin-bottom: 6px; }
.setup-panel { width: 100%; }
.index-mark { border: 1px solid #94676d; border-radius: 4px; padding: 3px 5px; }

.account-title { display: flex; justify-content: space-between; gap: 13px; align-items: end; margin-bottom: 19px; }
.account-title h1 { font-size: clamp(2.55rem, 6vw, 5rem); }
.account-title form { flex: 0 0 auto; }
.account-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 23px; padding-block: 12px; border-block: 1px solid var(--line-soft); }
.account-nav a { color: var(--muted); font-size: .83rem; padding: 7px 10px; border: 1px solid var(--line-soft); border-radius: 4px; }
.account-nav a:hover { color: var(--accent); border-color: var(--accent); }
.account-panel { width: min(100%, 680px); }
.blocked-panel { margin-top: 15px; }
.profile-search { margin: 0 0 18px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.profile-card, .chat-panel, .inbox-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.profile-card { display: flex; align-items: flex-start; flex-direction: column; gap: 7px; padding: 18px; }
.profile-card h2 { font-size: 1.6rem; }
.profile-card p { color: var(--muted); font-size: .87rem; white-space: pre-wrap; }
.profile-card p.profile-meta { color: var(--accent); font-size: .78rem; }
.profile-card .button { margin-top: 7px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #8c616a; background: #3a2433; color: var(--accent); flex: 0 0 auto; }
.inbox-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.inbox-row:last-child { border-bottom: 0; }
.inbox-row:hover { background: var(--panel-high); }
.inbox-row strong, .inbox-row small { display: block; overflow-wrap: anywhere; }
.inbox-row time, .inbox-row small { color: var(--muted); font-size: .77rem; }
.chat-panel { padding: clamp(14px, 3vw, 23px); max-width: 900px; }
.chat-invitation { background: var(--panel-high); border: 1px solid var(--line); border-radius: 6px; padding: 13px; }
.chat-invitation p { margin-bottom: 8px; }
.message-list { min-height: 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 12px; }
.message { max-width: min(85%, 570px); background: #3b2a39; border-radius: 9px 9px 9px 2px; padding: 9px 12px; }
.message-own { align-self: flex-end; background: #55313c; border-radius: 9px 9px 2px 9px; }
.message p { white-space: pre-wrap; }
.message time { color: var(--muted); font-size: .68rem; }
.message-form { border-top: 1px solid var(--line); padding-top: 12px; gap: 7px; }
.chat-safety { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; }
.chat-safety details { font-size: .86rem; color: var(--muted); }
.chat-safety details[open] { flex-basis: 100%; }
.chat-safety details > form { margin-top: 9px; }

@media (max-width: 1030px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 29px; }
  .main-nav { gap: 14px; }
  .header-inner { gap: 15px; }
}
@media (max-width: 820px) {
  .hero { padding-top: 33px; gap: 24px; grid-template-columns: 1fr; }
  .hero-copy { padding-block: 0 4px; }
  .hero h1 { font-size: clamp(3.9rem, 11vw, 6.3rem); }
  .hero-figure { aspect-ratio: 1.73; }
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: auto auto; min-height: 0; gap: 0 10px; padding-top: 9px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; gap: 0 18px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
  .main-nav a { padding-block: 10px; }
  .main-nav [aria-current]::after { bottom: 3px; }
  .header-label { grid-column: 2; }
  .site-header:has(.header-label) .header-inner { grid-template-rows: auto; padding-bottom: 9px; }
  .topic-grid, .post-grid, .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setup-wrap { grid-template-columns: 1fr; gap: 23px; padding-top: 28px; }
  .setup-aside { position: static; }
  .article-columns { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .article-cover { margin-bottom: 19px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 28px); }
  .brand { width: min(181px, 100%); }
  .header-actions { gap: 4px; }
  .header-actions .button { padding-inline: 8px; gap: 5px; font-size: .75rem; }
  .header-admin { display: none; }
  .icon-button { width: 33px; }
  .main-nav { gap: 0 15px; font-size: .81rem; }
  .hero { padding-block: 29px 28px; }
  .hero h1 { font-size: clamp(3.28rem, 13vw, 4.5rem); margin-block: 12px 17px; }
  .hero-actions { margin-top: 19px; gap: 13px; }
  .hero-figure { aspect-ratio: 1.45; }
  .frame-corner { top: 12px; right: 12px; width: 22px; height: 22px; }
  .figure-label { inset: auto 14px 14px; }
  .topic-tile { min-height: 53px; padding: 8px; gap: 6px; }
  .post-grid, .profile-grid { grid-template-columns: 1fr; gap: 12px; }
  .post-card-inner { padding: 14px; }
  .member-card { grid-template-columns: 1fr; gap: 11px; padding: 17px; }
  .member-icon { width: 43px; height: 43px; }
  .content-section { padding-block: 23px 41px; }
  .member-section { padding-bottom: 45px; }
  .two-cols { grid-template-columns: 1fr; }
  .article-heading { margin-top: 26px; }
  .article-cover { aspect-ratio: 1.6; }
  .account-title { align-items: start; flex-direction: column; }
  .search-form { flex-wrap: wrap; align-items: start; }
  .profile-search label { flex-basis: 100%; }
  .inbox-row { gap: 7px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .post-card, .topic-tile, .icon-button { transition: color .16s, background-color .16s, border-color .16s; }
  .post-cover img { transition: transform .3s; }
  .post-card:hover .post-cover img { transform: scale(1.035); }
}

.reader-section { max-width: 900px; padding: 32px 0; display: grid; gap: 14px; }
.reader-section > h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
.reader-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.reader-actions > input { flex: 1 1 14rem; min-width: 0; }
.reader-actions > form { margin: 0; }
.reader-panel { padding: 16px; border: 1px solid var(--line); border-radius: 10px; margin-block: 12px; }
.reader-panel h2, .reader-panel p { margin-top: 0; }
.reader-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.magazine-ad { display: grid; gap: 8px; padding-block: 20px; }
.magazine-ad iframe { width: 100%; height: 140px; border: 0; border-radius: 8px; background: transparent; }
@media (max-width: 640px) { .magazine-ad iframe { height: 170px; } }

.story-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mode-choices { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.mode-choices legend { margin-bottom: 10px; }
.form-stack .mode-choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 10px; cursor: pointer; }
.form-stack .mode-choice input { width: auto; margin: 4px 0 0; accent-color: var(--accent); }
.mode-choice span, .mode-choice small { display: block; }
.mode-choice small { color: var(--muted); margin-top: 3px; }

.spam-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hero-feature { min-width: 0; }
.hero-figure { aspect-ratio: 1.43; }
.hero-figure::after { display: none; }
.hero-slide { position: absolute; inset: 0; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, #190e15 92%); pointer-events: none; }
.hero-slide .figure-label { right: 116px; }
.hero-controls { position: absolute; bottom: 22px; right: 16px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.hero-controls button { display: grid; place-items: center; border: 1px solid #77525e; border-radius: 50%; background: #22131dd9; color: var(--ink); width: 34px; height: 34px; font-size: 18px; }
.hero-controls button:hover { background: #69414a; }
.hero-controls [data-hero-position] { position: absolute; bottom: 44px; right: 6px; font-size: .65rem; letter-spacing: .1em; white-space: nowrap; }
.hero-caption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.topic-tile { min-height: 110px; padding: 16px; position: relative; overflow: hidden; background: linear-gradient(135deg, #38212b, #251722); transition: border-color .18s ease, background .18s ease; }
.topic-tile::before { content: ""; position: absolute; width: 85px; height: 85px; border: 1px solid #c2877530; border-radius: 50%; left: -35px; bottom: -45px; pointer-events: none; }
.topic-tile:nth-child(3n + 2) { background: linear-gradient(135deg, #302032, #251722); }
.topic-tile:nth-child(3n) { background: linear-gradient(135deg, #38262b, #251722); }
.topic-symbol { display: grid; place-items: center; width: 42px; height: 48px; flex-shrink: 0; color: var(--accent); }
.topic-symbol svg { width: 32px; height: 32px; stroke-width: 1.25; }
.topic-copy { min-width: 0; }
.topic-copy strong { display: block; font-weight: 400; font-size: 1.13rem; line-height: 1.16; }
.topic-copy small { display: block; font: .65rem/1.45 var(--sans); color: var(--muted); margin-top: 7px; }
.story-invitation { padding-block: 16px 48px; }
.story-invitation-card { display: grid; grid-template-columns: .8fr 1.2fr; background: linear-gradient(120deg, #38202c, #241620); border: 1px solid #68434e; border-radius: var(--radius); overflow: hidden; }
.story-invitation-card > img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.story-invitation-card > div { padding: 38px; align-self: center; }
.story-invitation h2 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
.story-invitation p:not(.eyebrow) { margin-block: 18px 24px; color: var(--muted); max-width: 32rem; font-size: .93rem; }
@media (max-width: 1100px) {
  .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-inner { gap: 15px; }
  .main-nav { gap: 14px; }
}
@media (max-width: 700px) {
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-tile { padding: 12px 10px; gap: 7px; }
  .topic-symbol { width: 28px; }
  .topic-symbol svg { width: 25px; height: 25px; }
  .topic-copy strong { font-size: 1rem; }
  .topic-tile > span:last-child { font-size: .7rem; }
  .story-invitation-card { grid-template-columns: 1fr; }
  .story-invitation-card > img { min-height: 0; max-height: 230px; aspect-ratio: 1.8; }
  .story-invitation-card > div { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .topic-tile { transition: none; }
}

.footer-cookie { appearance: none; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.visitor-locked { overflow: hidden; }
.visitor-dialog { width: min(560px, calc(100% - 28px)); max-width: none; max-height: 90dvh; overflow: auto; padding: 32px; margin: auto; border: 1px solid #8e5e63; border-radius: 16px; background: linear-gradient(140deg, #38202f, #20131d); color: var(--ink); box-shadow: 0 24px 100px #000a; }
.visitor-dialog::backdrop { background: #110a12dc; backdrop-filter: blur(7px); }
.visitor-dialog h2 { font-size: clamp(1.9rem, 5vw, 2.65rem); letter-spacing: -.035em; margin-block: 16px; }
.visitor-dialog p:not(.eyebrow) { color: var(--muted); }
.visitor-seal { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 22px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 2rem var(--serif); }
.visitor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.visitor-dialog .visitor-small { margin-top: 20px; font-size: .75rem; }
.visitor-dialog a:not(.button), .cookie-banner a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.cookie-banner { position: fixed; z-index: 100; bottom: 18px; left: 18px; right: 18px; max-width: 1200px; margin-inline: auto; padding: 20px 24px; display: flex; align-items: center; gap: 22px; justify-content: space-between; border: 1px solid #805764; border-radius: 12px; background: #271721fa; color: var(--ink); box-shadow: 0 10px 60px #0009; }
.cookie-banner p { color: var(--muted); font-size: .81rem; max-width: 560px; margin-top: 5px; }
.cookie-banner .visitor-actions { margin: 0; flex-shrink: 0; }
.cookie-banner .button { min-height: 42px; }
.cookie-category { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-block: 17px; border-bottom: 1px solid var(--line); }
.cookie-category small { display: block; color: var(--muted); margin-top: 5px; font-size: .8rem; }
.cookie-category input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; accent-color: var(--accent); }
@media (max-width: 960px) { .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; } }
@media (max-width: 520px) {
  .visitor-dialog { padding: 24px 20px; }
  .cookie-banner { padding: 17px; inset: auto 8px 8px; max-height: 70dvh; overflow: auto; }
  .cookie-banner .visitor-actions { gap: 8px; }
  .cookie-banner .button { flex: 1 1 140px; }
  .visitor-dialog .visitor-actions .button { flex: 1 1 auto; }
}

.mood-selector { padding-block: 8px 30px; }
.mood-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.mood-options a { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid #6d4856; border-radius: 28px; background: linear-gradient(130deg, #3a2330, #251720); font-size: .83rem; }
.mood-options svg { flex-shrink: 0; color: var(--accent); }
.mood-options a > span:last-child { margin-left: auto; color: var(--accent); }
.mood-options a:hover, .mood-options [aria-current] { border-color: var(--accent); background: #4b2c3a; }
.reading-progress { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 3px; border: 0; appearance: none; background: transparent; color: var(--accent); pointer-events: none; }
.reading-progress::-webkit-progress-bar { background: transparent; }
.reading-progress::-webkit-progress-value { background: var(--accent); }
.reading-progress::-moz-progress-bar { background: var(--accent); }
@media (max-width: 760px) { .mood-options { grid-template-columns: 1fr; gap: 8px; } .mood-options a { min-height: 48px; } }

.true-stories-section { padding-top: 14px; }
.true-stories-intro { color: var(--muted); margin: -6px 0 22px; max-width: 50rem; }
@media (min-width: 821px) and (max-width: 1180px) { .main-nav { gap: 10px; font-size: .78rem; } .header-inner { grid-template-columns: auto 1fr auto; gap: 14px; } .brand { width: 190px; } }
