.reader-account-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #d2ded4;border-radius:50%;background:#f4f7f1;color:#355340;overflow:hidden;text-decoration:none}.reader-account-avatar img{width:100%;height:100%;object-fit:cover}.reader-account-avatar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.reader-page{max-width:1100px;margin:30px auto 60px;padding:0 16px;color:#293b30}.reader-welcome,.reader-profile{border:1px solid #e4dac5;border-radius:22px;padding:clamp(24px,5vw,54px);background:radial-gradient(ellipse at right bottom,#f1dfb9,transparent 65%),#fffcf4}.reader-welcome{max-width:720px;margin:auto;text-align:center}.reader-welcome h1{font-size:clamp(30px,4vw,48px);line-height:1.2;letter-spacing:-.035em;margin:16px 0}.reader-welcome p{max-width:520px;margin:18px auto;line-height:1.75}.reader-eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em;color:#9b773c}.reader-google{display:inline-flex;gap:12px;align-items:center;justify-content:center;padding:12px 20px;border:1px solid #b4b4b4;border-radius:5px;background:white;color:#1f1f1f!important;text-decoration:none;font:500 14px/1.5 system-ui;min-height:44px;box-sizing:border-box}.reader-google img{display:block;object-fit:contain}.reader-small{font-size:12px;color:#718075}.reader-benefits{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;max-width:820px;margin:24px auto}.reader-benefits article,.reader-poem-card,.reader-empty{background:#fffdf8;border:1px solid #e6dece;border-radius:16px;padding:24px}.reader-benefits article>span{font-size:30px;color:#a57e42}.reader-benefits h2{font-size:18px}.reader-profile{display:flex;gap:24px;align-items:center;padding:30px}.reader-profile-avatar{width:82px;height:82px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#d9e4d0;display:grid;place-items:center;font-size:30px;color:#36573c}.reader-profile-avatar img{width:100%;height:100%;object-fit:cover}.reader-profile h1{font-size:26px;line-height:1.3;margin:8px 0}.reader-profile p{margin:5px 0}.reader-profile form{margin-left:auto}.reader-quiet{border:1px solid #cbd4c8;border-radius:9px;padding:8px 16px;background:transparent;color:inherit;cursor:pointer}.reader-tabs{display:flex;gap:10px;margin:26px 0;flex-wrap:wrap}.reader-tabs a{padding:12px 16px;border-radius:10px;color:#51614e;text-decoration:none}.reader-tabs a.is-active{background:#e9e0c9;color:#604b2c}.reader-tabs span{margin-left:8px;font-size:12px}.reader-poems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.reader-poem-card{display:flex;flex-direction:column;min-width:0}.reader-poem-card h2{font-size:21px;line-height:1.4}.reader-poem-card a{color:#865524;text-decoration:none}.reader-poem-card p{font-size:14px;line-height:1.7}.reader-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto}.reader-heart{display:inline-flex;gap:10px;align-items:center;border:1px solid #dfd6ca;background:transparent;color:#897667;padding:9px 13px;border-radius:30px;cursor:pointer;text-decoration:none!important;font:600 13px system-ui}.reader-heart svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .2s}.reader-heart.is-liked{color:#c82844;background:linear-gradient(135deg,#fff0f0,#fce1e3);border-color:#efb6bf}.reader-heart.is-liked svg{fill:#ed3a54;stroke:#c52340;filter:drop-shadow(0 2px 0 #a51b35) drop-shadow(0 3px 3px #c42b4b44)}.reader-heart:hover svg{transform:scale(1.1)}.reader-poem-actions{display:flex;justify-content:flex-end;margin:12px 0}.reader-empty{text-align:center;padding:48px 24px}.reader-empty a{color:#8d5d2a}.reader-notice{background:#f7e5ce;padding:18px;border-radius:12px}.reader-pagination{display:flex;justify-content:center;gap:24px;margin:24px}.reader-comment-list{display:grid;gap:16px}
html[data-kamusi-theme="dark"] .reader-account-avatar{background:#23362b;color:#d8e8da;border-color:#49604e}html[data-kamusi-theme="dark"] body :is(.reader-welcome,.reader-profile){background:radial-gradient(ellipse at right bottom,#3b3826,transparent 65%),#1c2a21;border-color:#4a513c;color:#e4ece7}html[data-kamusi-theme="dark"] body :is(.reader-poem-card,.reader-benefits article,.reader-empty){background:#1b2921;border-color:#384b3c;color:#e4ece7}html[data-kamusi-theme="dark"] body .reader-heart{color:#b6c8b9;border-color:#49614e}html[data-kamusi-theme="dark"] body .reader-heart.is-liked{background:#452630;color:#ff9aaa;border-color:#8e4154}html[data-kamusi-theme="dark"] body .reader-tabs a.is-active{background:#3b3d29;color:#e4d4ab}html[data-kamusi-theme="dark"] body .reader-notice{background:#493c29;color:#efddbb}html[data-kamusi-theme="dark"] body .reader-google{background:#f8f8f8!important;color:#1f1f1f!important}html[data-kamusi-theme="dark"] body .reader-eyebrow{color:#c9b17a}
@media(max-width:850px){.reader-poems{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.reader-poems,.reader-benefits{grid-template-columns:1fr}.reader-profile{flex-wrap:wrap;gap:16px}.reader-profile form{margin-left:0}.reader-profile h1{font-size:22px}.site-header__actions{gap:8px!important}.reader-account-avatar{width:32px;height:32px;flex-basis:32px}}

/* Place the heart beside the first poem line without a reserved top row. */
.page-article-body blockquote[data-reader-poem-quote]{position:relative;padding-top:20px!important;min-height:0}
.page-article-body blockquote[data-reader-poem-quote]>.reader-poem-actions{position:static;float:right;margin:0 0 6px 12px;display:flex;justify-content:flex-end;z-index:1}
.page-article-body blockquote[data-reader-poem-quote] .reader-heart{min-height:40px;gap:9px;padding:8px 12px;font-style:normal;line-height:1.2}
.reader-like-count{font-size:13px!important;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-kamusi-theme="dark"] body .page-article-body blockquote[data-reader-poem-quote] .reader-heart{color:#b6c8b9!important}
html[data-kamusi-theme="dark"] body .page-article-body blockquote[data-reader-poem-quote] .reader-heart.is-liked{color:#ff9aaa!important}
html[data-kamusi-theme="dark"] body .page-article-body blockquote[data-reader-poem-quote] .reader-heart.is-liked .reader-like-count{color:#ff9aaa!important}


.page-article-body blockquote[data-reader-poem-quote]>.reader-poem-actions+p{margin-top:0!important}
.comment-avatar{overflow:hidden;flex-shrink:0}
.comment-google-avatar{display:block;width:100%!important;height:100%!important;object-fit:cover;border-radius:50%;margin:0!important}

/* Reader library: left navigation and compact horizontal saved poems. */
.reader-page{max-width:1250px}
.reader-account-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:26px;align-items:start}
.reader-left-sidebar{position:sticky;top:24px;background:#fffdf6;border:1px solid #e1d9c7;border-radius:16px;padding:22px 16px;color:#344b39}
.reader-sidebar-identity{display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center;padding:4px 6px 22px}
.reader-sidebar-identity .reader-profile-avatar{width:64px;height:64px}
.reader-sidebar-identity small,.reader-sidebar-explore>small{font-size:9px;letter-spacing:.12em;color:#998149}
.reader-left-sidebar nav{display:grid;gap:6px}.reader-left-sidebar nav a{display:flex;align-items:center;gap:8px;padding:12px 10px;border-radius:9px;text-decoration:none;color:#52654e;font-size:13px}
.reader-left-sidebar nav a span{margin-left:auto;font-size:11px}
.reader-left-sidebar nav a[aria-current]{background:#eee4cd;color:#70592e}
.reader-sidebar-explore{display:grid;gap:12px;padding:22px 10px}.reader-sidebar-explore a{font-size:13px;text-decoration:none;color:#697357}
.reader-left-sidebar>.reader-quiet,.reader-left-sidebar>form{margin:8px 10px}
.reader-account-main{min-width:0}.reader-list-heading{margin-bottom:22px}.reader-list-heading h1{font-size:28px;line-height:1.25;margin:8px 0}.reader-list-heading p{font-size:14px;color:#788273;margin:8px 0}
.reader-account-main .reader-poems{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.reader-poem-card.reader-poem-row{display:grid;grid-template-columns:156px minmax(0,1fr);padding:0;gap:0;overflow:hidden;border-radius:12px}
.reader-poem-thumbnail{display:block;min-height:112px;height:100%}.reader-poem-thumbnail img{display:block;width:100%;height:100%;max-height:156px;object-fit:cover}
.reader-poem-row-body{min-width:0;padding:14px 18px}.reader-poem-row-body h2{margin:0 0 5px;font-size:19px}.reader-poem-row-body>p{margin:4px 0 9px;font-size:12px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.reader-poem-row-body .reader-card-footer{font-size:12px}.reader-poem-row-body .reader-heart{padding:5px 8px}.reader-poem-row-body .reader-heart svg{width:19px;height:19px}
.reader-poem-card.reader-comment-row{padding:15px 20px;border-radius:12px}.reader-comment-row h2{font-size:17px;margin:0 0 7px}.reader-comment-row small{font-size:11px;color:#8a8d7c;margin-top:8px}.reader-comment-content summary{font-size:13px;line-height:1.6;cursor:pointer;overflow-wrap:anywhere}.reader-comment-content p{margin:9px 0;font-size:13px}.reader-comment-content[open] summary{color:#8b6a38}
html[data-kamusi-theme="dark"] body .reader-left-sidebar{background:#1b2921;border-color:#3d503e;color:#e4ece7}html[data-kamusi-theme="dark"] body .reader-left-sidebar nav a[aria-current]{background:#3b3d29;color:#e5d4ad}
@media(max-width:800px){.reader-account-layout{grid-template-columns:minmax(0,1fr);gap:20px}.reader-left-sidebar{position:static;padding:16px}.reader-sidebar-identity{flex-direction:row;text-align:left;padding:0 0 14px;flex-wrap:wrap}.reader-sidebar-identity .reader-profile-avatar{width:42px;height:42px}.reader-sidebar-identity small{display:none}.reader-left-sidebar nav{display:flex;flex-wrap:wrap}.reader-left-sidebar nav a{padding:9px}.reader-sidebar-explore{display:flex;flex-wrap:wrap;padding:14px 8px}.reader-sidebar-explore>small{display:none}.reader-left-sidebar>form{margin:0 8px}}
@media(max-width:480px){.reader-poem-card.reader-poem-row{grid-template-columns:100px minmax(0,1fr)}.reader-poem-row-body{padding:12px}.reader-poem-row-body h2{font-size:17px}.reader-poem-thumbnail{min-height:120px}.reader-poem-row-body .reader-card-footer{gap:8px}}

.chat-nav-count{display:inline-flex;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;align-items:center;justify-content:center;border-radius:20px;background:#b43145;color:#fff!important;font:700 10px/1 system-ui;margin-left:5px}.chat-nav-count[hidden]{display:none!important}

.reader-liked-search{margin:0 0 20px}.reader-liked-search label{display:block;font-size:12px;margin-bottom:7px;color:#7e896e}.reader-liked-search>div{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.reader-liked-search input{min-width:0;flex:1;border:1px solid #ccd5c1;border-radius:9px;padding:12px;font:14px system-ui;background:#fffdf8;color:#2b4131}.reader-liked-search button{padding:12px 18px;border:0;border-radius:9px;background:#365a3d;color:#fff;font-weight:700;cursor:pointer}.reader-liked-search a{font-size:12px}

.reader-sidebar-links{font-size:13px;color:#697357}.reader-sidebar-links summary{cursor:pointer;line-height:1.6}.reader-sidebar-links>div{display:grid;gap:10px;margin:12px 0 4px;padding-left:12px}.reader-sidebar-links a{font-size:12px!important}.reader-sidebar-links[open] summary{color:#967137}
html[data-kamusi-theme="dark"] body .reader-sidebar-links{color:#c2d1b9}html[data-kamusi-theme="dark"] body .reader-sidebar-links[open] summary{color:#d6bc85}
@media(max-width:800px){.reader-sidebar-links>div{min-width:130px}}
