:root { --ink:#1f1f1f; --muted:#6b6b6b; --line:#e6e6e6; --accent:#c2185b; --bg:#fff; }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:17px/1.6 -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
.top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border-bottom:1px solid var(--line); position:sticky; top:0; background:#fff; z-index:1; }
.logo { font-weight:800; font-size:20px; text-decoration:none; }
.logo span { color:var(--accent); }
.top nav a { margin-left:14px; font-size:14px; color:var(--muted); text-decoration:none; }
main { max-width:680px; padding:16px; min-width:0; }

h1.question { font-size:26px; line-height:1.3; margin:8px 0 20px; }
.prose { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-size:19px; line-height:1.7; }
.prose p { margin:0 0 1em; }
.card { display:block; padding:16px 0; border-bottom:1px solid var(--line); text-decoration:none; }
.card h2 { font-size:19px; margin:0 0 6px; line-height:1.35; }
.card p { margin:0; color:var(--muted); font-family: Georgia, serif; }
.tag { display:inline-block; font-size:12px; color:var(--accent); margin-bottom:4px; }
.answer { border-top:1px solid var(--line); padding-top:16px; margin-top:24px; }
.answer h2 { font-size:15px; color:var(--muted); font-weight:600; margin:0 0 10px; }
.cta { display:inline-block; margin:8px 0 24px; padding:10px 18px; background:var(--accent); color:#fff; border-radius:999px; text-decoration:none; font-weight:600; }
.pager { display:flex; justify-content:space-between; align-items:center; margin:28px 0; }
.filters { display:flex; gap:8px; flex-wrap:wrap; margin:8px 0; }
.filters button { border:1px solid var(--line); background:#fff; border-radius:999px; padding:6px 12px; font-size:14px; cursor:pointer; }
.filters button[aria-pressed="true"] { background:var(--ink); color:#fff; border-color:var(--ink); }
.related { margin-top:32px; }
.related h3 { font-size:16px; }
.prose p.break { text-align:center; color:var(--muted); letter-spacing:.3em; }
.muted { color: var(--muted); }
.paywall { margin: 28px 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff7fa; }
.paywall h3 { margin: 0 0 6px; font-size: 20px; }
.pw-sub { margin: 0 0 14px; }
.paywall form { display: grid; gap: 10px; margin: 0 0 8px; }
.paywall label { display: grid; gap: 6px; font-size: 15px; }
.paywall input { font-size: 18px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 10px; }
.paywall button[type="submit"] { font-size: 16px; padding: 11px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.linklike { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; }
.pw-msg { min-height: 1.2em; font-size: 14px; color: var(--accent); margin: 6px 0 0; }
.pw-fine { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.pw-who { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.paywall:has(.pw-owned:not([hidden])) { background: none; border: 0; padding: 0; }
.askbox { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 4px 0 16px; }
.askbox textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; resize: vertical; }
.ask-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.ask-row button, .adm-actions button { border: 0; border-radius: 999px; padding: 8px 18px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.ask-hint { font-size: 13px; }
.ask-sugg a { display: block; padding: 6px 0; font-weight: 600; }
.ask-sugg p { margin: 8px 0 0; font-size: 13px; }
.ask-login { margin-top: 10px; }
.ask-login form { display: grid; gap: 8px; }
.admin-ask select, .admin-ask input { width: 100%; margin: 6px 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-actions button + button { background: #555; }
.top nav { white-space: nowrap; }
@media (max-width: 640px) { .top nav .nav-topic { display: none; } }

.layout { display: grid; grid-template-columns: minmax(0, 680px); justify-content: center; }
.side { padding: 16px; border-top: 1px solid var(--line); margin-top: 24px; }
.side-ask { display: block; padding: 10px 12px; border-radius: 10px; background: #f5f5f5; text-decoration: none; font-weight: 600; margin-bottom: 12px; }
.side-topics a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 16px; }
.side-topics a:hover, .side-topics a[aria-current="page"] { background: #f5f5f5; }
.side-topics .ti { width: 28px; height: 28px; display: grid; place-items: center; background: #fff0f5; border-radius: 6px; font-size: 16px; }
.side-topics .tc { margin-left: auto; color: var(--muted); font-size: 13px; }
.side-links { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.side-links a { color: var(--muted); text-decoration: none; }
.side-links a:hover { text-decoration: underline; }
@media (min-width: 960px) {
  .layout { grid-template-columns: 250px minmax(0, 680px); gap: 24px; }
  .side { order: -1; border-top: 0; margin-top: 0; position: sticky; top: 56px; align-self: start; max-height: calc(100vh - 56px); overflow: auto; }
}
.feed-head { font-size: 15px; color: var(--muted); margin: 20px 0 0; text-transform: uppercase; letter-spacing: .04em; }
.top nav a { margin-left: 14px; }
.sh-modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: grid; place-items: center; z-index: 50; padding: 16px; }
.sh-modal-box { width: min(440px, 100%); position: relative; max-height: 90vh; overflow: auto; }
.sh-modal-box form { display: grid; gap: 10px; }
.sh-close { position: absolute; top: 8px; right: 10px; font-size: 18px; text-decoration: none; }
.check { display: flex !important; gap: 8px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; }
.reader-answers { margin-top: 36px; }
.ra-head { font-size: 18px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.pinned { background: #fff7fa; border-radius: 10px; padding: 12px; border: 1px solid #f3c6d8; margin: 10px 0; }
.write-answer, .write-post { display: grid; gap: 10px; margin-top: 24px; }
.write-answer textarea, .write-post textarea, .write-post input[name=title] { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; }
.write-post textarea { font-family: Georgia, serif; font-size: 18px; line-height: 1.6; }
.ugc-actions { display: flex; gap: 14px; align-items: center; margin: 4px 0 18px; }
.ugc-actions .vote { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; cursor: pointer; font-size: 14px; }
.ugc-actions .vote[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-btn { border: 0; border-radius: 999px; padding: 8px 18px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.admin-body { max-height: 320px; overflow: auto; font-size: 16px; }
.small { font-size: 13px; }
.pin { display: grid; gap: 8px; }
.pin input, .pin select { padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.pin button { border: 0; border-radius: 999px; padding: 8px 18px; background: var(--accent); color: #fff; font-weight: 600; }
.sh-modal-box input:not([type=checkbox]):not([type=radio]) { width: 100%; }
.paywall input:not([type=checkbox]):not([type=radio]) { width: 100%; }
.pin input, .pin select { width: 100%; }
.story-like { margin: -8px 0 14px; }
.like-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 14px; cursor: pointer; font-size: 15px; }
.like-btn[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.prose > p { position: relative; }
.pc-bubble { float: right; margin: 2px 0 0 8px; border: 0; background: none; font-size: 13px; color: #bbb; cursor: pointer; padding: 0 2px; opacity: .55; }
.pc-bubble.has { color: var(--accent); opacity: 1; font-weight: 600; }
.prose > p:hover .pc-bubble { opacity: 1; }
.prose > p.pc-active { background: #fff3f8; }
.pc-drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(400px, 100%); background: #fff; border-left: 1px solid var(--line); box-shadow: -8px 0 24px rgba(0,0,0,.08); z-index: 40; padding: 14px 16px; overflow: auto; }
.pc-head { display: flex; justify-content: space-between; align-items: center; }
.pc-drawer blockquote { margin: 10px 0; padding: 8px 12px; border-left: 3px solid var(--accent); color: var(--muted); font-family: Georgia, serif; font-size: 15px; }
.cmt { border-bottom: 1px solid var(--line); padding: 6px 0; }
.cmt p { margin: 2px 0; }
.cmt-form { display: grid; gap: 6px; margin-top: 10px; }
.cmt-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; }
.cmt-form button { border: 0; border-radius: 999px; padding: 6px 16px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.take-cta { margin: 20px 0; }
.story-takes { margin-top: 28px; }
@media (max-width: 640px) { .pc-drawer { top: auto; height: 70vh; width: 100%; border-left: 0; border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; } }
