.topic-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 0 0 24px; }
.topic-eyebrow { color: #49b1f5; font-size: 12px; letter-spacing: 2px; }
#page .topic-heading h2 { margin: 8px 0; font-size: 27px; }
.topic-heading p { margin: 0; color: var(--font-color); opacity: .7; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 30px; }
.topic-card { display: block; min-width: 0; padding: 15px 2px; border-bottom: 1px solid rgba(128,128,128,.15); color: var(--font-color) !important; transition: color .2s; }
.topic-card:hover { color: #49b1f5 !important; }
.topic-card-top, .topic-card-bottom, .topic-unlocked-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topic-icon { width: 26px; flex-shrink: 0; text-align: center; font-size: 19px; color: #8b969f; }
.topic-badge { padding: 2px 9px; border-radius: 20px; background: rgba(73,177,245,.1); color: #49b1f5; font-size: 11px; }
.topic-badge.is-private { color: #b88948; background: rgba(184,137,72,.1); }
#page .topic-card h3 { margin: 0 0 2px; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
#page .topic-card p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; opacity: .7; }
.topic-card-bottom { margin-top: auto; font-size: 12px; opacity: .65; }
.topic-home-header { height: 300px !important; }
.topic-home-header #site-info { position: absolute; width: 100%; padding: 0 20px; top: 43% !important; transform: translateY(-20%); }
.topic-home-header #site-subtitle { color: white; }
.topic-home-header #scroll-down { display: none; }
#page.topic-portal { background: var(--card-bg); color: var(--font-color); }
.topic-portal ~ #aside-content .card-categories, .topic-portal ~ #aside-content .card-archives { display: none; }
[data-theme='dark'] #aside-content .card-widget { background: var(--card-bg); color: var(--font-color); }
.local-writer-entry { display: inline-flex; align-items: center; gap: 6px; margin-left: 16px; color: inherit; font-size: 14px; }
.topic-gate { max-width: 470px; margin: 25px auto; padding: 28px 8px; text-align: center; }
.topic-lock-icon { display: grid; place-items: center; width: 65px; height: 65px; border-radius: 50%; margin: 0 auto 20px; font-size: 25px; color: #49b1f5; background: rgba(73,177,245,.1); }
.topic-gate > p { opacity: .7; }
.topic-unlock-form { margin: 24px 0 0; text-align: left; }
.topic-unlock-form label { display: block; font-size: 13px; }
.topic-unlock-form input { display: block; width: 100%; padding: 12px 15px; margin: 8px 0 14px; border: 1px solid rgba(128,128,128,.35); border-radius: 8px; color: var(--font-color); background: var(--card-bg); font: inherit; }
.topic-unlock-form input:focus { outline: 2px solid #49b1f5; outline-offset: 2px; }
.topic-unlock-form button, .topic-relock { padding: 10px 18px; border: 0; border-radius: 8px; background: #49b1f5; color: white; cursor: pointer; font: inherit; }
.topic-unlock-form button { width: 100%; }
.topic-unlock-form button:disabled { opacity: .6; cursor: wait; }
.topic-error { min-height: 24px; color: #e56b6f; font-size: 13px; }
.topic-post-list { padding: 0 !important; list-style: none !important; }
.topic-post-list li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(128,128,128,.15); }
.topic-post-list time { flex: 0 0 85px; opacity: .6; font-size: 13px; }
.topic-post-list a { color: var(--font-color); }
.topic-post-list a:hover { color: #49b1f5; }
#private-topic.private-topic-shell { background: transparent; box-shadow: none; padding: 0; min-width: 0; }
#private-topic > .topic-gate { max-width: none; margin: 0; padding: 45px 30px; background: var(--card-bg); border-radius: 8px; box-shadow: var(--card-box-shadow); }
#private-topic > .topic-gate form { max-width: 450px; margin-left: auto; margin-right: auto; }
#private-topic .topic-unlocked-heading { padding: 0 4px 16px; }
#private-topic .topic-unlocked-heading h2 { margin: 0; }
#private-topic #recent-posts { width: 100%; }
.topic-access-portal { padding: 45px 25px; text-align: center; background: var(--card-bg); border-radius: 8px; }
.topic-access-portal > i { color: #909ba3; font-size: 30px; }
.topic-access-link { display: inline-block; padding: 9px 25px; margin: 12px 0; border-radius: 5px; background: #49b1f5; color: white !important; }
.topic-access-note { font-size: 12px; opacity: .6; }
.topic-overview { display: flex; gap: 24px; flex-shrink: 0; padding-left: 22px; border-left: 1px solid rgba(128,128,128,.18); }
.topic-overview div { display: flex; flex-direction: column; gap: 2px; }
.topic-overview strong { color: #49b1f5; font-size: 25px; line-height: 1.3; }
.topic-overview span { font-size: 11px; opacity: .6; }
.topic-section + .topic-section { margin-top: 28px; }
.topic-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 13px; }
#page .topic-section-heading h3 { margin: 0; font-size: 17px; }
.topic-section-heading > span, .topic-section-heading > a { font-size: 12px; color: var(--font-color); opacity: .65; }
.topic-private-section .topic-icon { color: #8b969f; }
.topic-private-section .topic-section-heading h3 > i { margin-right: 5px; font-size: 12px; color: #b88948; }
.topic-reading { padding-top: 26px; border-top: 1px solid rgba(128,128,128,.15); }
.topic-reading-grid { display: flex; flex-direction: column; }
.topic-reading-card { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; min-width: 0; padding: 13px 0; border-bottom: 1px solid rgba(128,128,128,.12); color: var(--font-color) !important; }
.topic-reading-card:hover { color: #49b1f5 !important; }
.topic-reading-top { display: flex; justify-content: space-between; align-items: center; color: #49b1f5; font-size: 11px; }
.topic-reading-number { opacity: .25; font-size: 25px; font-weight: 700; }
#page .topic-reading-card h4 { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; }
.topic-reading-link { flex-shrink: 0; font-size: 12px; opacity: .6; }
.topic-reading-link i { margin-left: 6px; }
.topic-year-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.topic-year { display: flex; flex-direction: column; padding: 5px 0; color: var(--font-color) !important; }
.topic-year:hover { color: #49b1f5 !important; }
.topic-year strong { font-size: 18px; font-weight: 400; }
.topic-year span { font-size: 11px; opacity: .6; }
.topic-about-note { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 22px; border-radius: 10px; background: rgba(73,177,245,.065); }
.topic-about-icon { color: #49b1f5; font-size: 24px; }
.topic-about-note strong { font-size: 15px; }
#page .topic-about-note p { margin: 4px 0 0; font-size: 12px; opacity: .65; }
.topic-about-note > a { flex-shrink: 0; margin-left: auto; font-size: 12px; color: #49b1f5; }
.topic-card:focus-visible, .topic-reading-card:focus-visible, .topic-year:focus-visible { outline: 2px solid #49b1f5; outline-offset: 3px; }
.topic-heading > a { flex-shrink: 0; color: var(--font-color); opacity: .65; font-size: 13px; }
.topic-card-text { flex: 1; min-width: 0; }
.topic-card-count { font-size: 12px; opacity: .6; }
.topic-card-arrow { color: #929ba3; font-size: 12px; }
.topic-section-heading h3 { font-weight: 500; }
.topic-reading { border-top: 0; padding-top: 4px; }
@media (prefers-reduced-motion: reduce) { .topic-card { transition: none; } .topic-card:hover { transform: none; } }
@media (max-width: 768px) { #waifu, #waifu-toggle { display: none !important; } }
@media (max-width: 600px) { .topic-heading { align-items: center; gap: 12px; } #page .topic-heading h2 { font-size: 23px; } .topic-grid { gap: 0; } .topic-card { padding: 15px 0; } .topic-home-header { height: 240px !important; } .topic-reading-card { align-items: flex-start; flex-direction: column; gap: 2px; } }
