[hidden] { display: none !important; }
.inline-form { display: inline; margin: 0; }
.button-reset { border: 0; padding: 0; background: transparent; cursor: pointer; }
.button-reset:hover { background: transparent; box-shadow: none; transform: none; }
.profile-hero { width: min(980px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 64px; }
.profile-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: 12px; }
.profile-heading h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(46px, 7vw, 82px); font-weight: 400; letter-spacing: -0.07em; line-height: .94; }
.profile-handle { margin: 12px 0 0; color: var(--coral); font-weight: 800; }
.profile-description { max-width: 680px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; white-space: pre-line; }
.article-tools { display: flex; margin-top: 22px; }
.engagement, .comments { padding-top: 30px; margin-top: 38px; border-top: 1px solid var(--line); }
.engagement h2, .comments h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.reaction-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.reaction-actions form { margin: 0; }
.reaction-button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-strong); color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 800; }
.reaction-button:hover, .reaction-active { border-color: var(--coral); background: rgb(239 114 93 / 12%); }
.reaction-button span { color: var(--muted); }
.comments { padding-bottom: 45px; }
.comment { padding: 17px 0; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 800; }
.comment-meta a { color: var(--moss); }
.comment p { margin: 9px 0 0; color: #334137; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.comment-form { display: grid; gap: 12px; margin-top: 22px; }
.muted-note { color: var(--muted); line-height: 1.6; }
.muted-note a { color: var(--moss); text-decoration: underline; }
.post-card .card-footer span { overflow-wrap: anywhere; }
.account-box { width: min(540px, calc(100% - 32px)); margin: 65px auto 100px; }
.account-box h1 { font-family: Georgia, serif; font-size: 44px; line-height: 1.1; letter-spacing: -0.05em; font-weight: 400; margin: 15px 0; }
.account-box p { color: var(--muted); line-height: 1.6; }
.account-box .back-link { margin-top: 26px; }
.post-card h3 { overflow-wrap: anywhere; }
.card-footer { margin-top: 24px; }
.ad-slot { max-width: 780px; margin: 34px auto; padding: 26px 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, rgba(255,246,231,.9), rgba(255,255,255,.7)); }
.ad-slot h2 { margin: 8px 0 6px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.ad-slot p { max-width: 640px; color: var(--muted); line-height: 1.6; }
.feed-ad-row { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 18px; align-items: stretch; }
.feed-ad-main, .feed-ad-side { min-width: 0; }
.feed-ad-row .ad-slot { display: flex; height: 100%; max-width: none; margin: 0; box-sizing: border-box; flex-direction: column; justify-content: center; }
.feed-ad-row .ad-slot h2 { max-width: 620px; }
.feed-ad-row .ad-slot p { max-width: 620px; }
.feed-ad-side .ad-slot { padding: 22px; }
.feed-ad-side .ad-slot h2 { font-size: 23px; }
.feed-ad-side .ad-slot p { font-size: 14px; }
.ad-settings-grid { display: grid; gap: 18px; }
.ad-connection { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.55); }
.ad-connection .section-heading { align-items: center; }
.ad-connection-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.check-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.check-label input { width: 17px; height: 17px; }
.status-success { color: #236b45; }
.rich-toolbar { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #fbfaf7; }
.toolbar-select, .toolbar-button { min-height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; padding: 6px 9px; }
.toolbar-button { cursor: pointer; font-weight: 700; }
.toolbar-button:hover, .toolbar-select:focus { border-color: var(--coral); }
.toolbar-photo { font-weight: 600; }
.topic-picker { display: grid; gap: 10px; margin: 0 0 18px; }
.topic-picker-heading { display: grid; gap: 4px; color: var(--ink); font-weight: 700; }
.topic-picker-heading small { color: var(--muted); font-weight: 400; }
.topic-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.add-topic-row { display: flex; }
.topic-custom[hidden] { display: none; }
.article-image { display: block; max-width: 100%; height: auto; margin: 24px 0; border-radius: 14px; }
.font-serif { font-family: Georgia, serif; }
.font-sans { font-family: Arial, sans-serif; }
.font-mono { font-family: Consolas, monospace; }
.text-small { font-size: .86em; }
.text-large { font-size: 1.2em; }
.text-huge { font-size: 1.55em; }
@media (max-width: 800px) { .feed-ad-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .ad-connection-row { grid-template-columns: 1fr; gap: 0; } .ad-slot { margin-inline: 16px; } }
@media (max-width: 600px) { .topic-row { grid-template-columns: 1fr; } .rich-toolbar { gap: 5px; } .toolbar-select, .toolbar-button { font-size: 13px; } .feed-ad-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .profile-hero { width: min(100% - 30px, 980px); padding-top: 46px; } .profile-heading { align-items: start; flex-direction: column; } .profile-heading h1 { font-size: 54px; } .reaction-actions { gap: 7px; } }
