body.home-page{--paper:#faf8f3;--ink:#142b50;--muted:#697487;--line:#e5e4df;background:var(--paper)}.home-page header{background:#fffdf9}.home-page #main{padding-top:22px}.featured-journal{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);background:#f0ede4;border-radius:12px;overflow:hidden;margin-bottom:18px}.featured-copy{padding:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}.featured-copy .eyebrow{font-size:10px;letter-spacing:2px}.featured-copy h1{font-family:Georgia,serif;font-size:clamp(25px,3vw,42px);line-height:1.25;letter-spacing:-.6px;margin:16px 0 12px;overflow-wrap:anywhere}.featured-excerpt{font-size:14px;line-height:1.65;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.featured-writer{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:600;margin-bottom:20px}.featured-writer .user-avatar{width:32px;height:32px}.featured-read{font-size:13px;padding:9px 14px;border:1px solid #1977ed;color:#1268d9;background:#fff;border-radius:7px}.featured-image{min-width:0;display:block}.featured-image>.cover{height:340px;border-radius:0;display:block;margin:0}.featured-image>.type-cover{background:#becbb6;color:#233d32}.home-page .contest-banner{background:#f8d77e;border-color:#edd089;color:#28324a;padding:18px 24px;align-items:center;margin:0 0 26px;gap:22px;position:relative;overflow:hidden}.home-page .contest-trophy{font-size:44px}.home-page .contest-banner-copy{flex:1;display:grid;grid-template-columns:1fr auto;column-gap:24px}.home-page .contest-banner-copy>.contest-badge,.home-page .contest-banner-copy>h2,.home-page .contest-banner-copy>p{grid-column:1}.home-page .contest-banner-copy>h2{font-size:25px;margin:4px 0}.home-page .contest-banner-copy>p:not(.hint){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;margin:0}.home-page .contest-banner-copy>.actions{grid-column:2;grid-row:1/6;align-self:center;flex-direction:column;gap:7px;font-size:12px}.home-page .contest-banner-copy>.contest-award{display:none}.home-page .contest-banner-copy>.hint{font-size:11px;margin:5px 0 0}.home-page .contest-button{padding:8px 13px}.home-page .top-journals{background:transparent;border:0;padding:0;margin:0 0 25px}.home-page .top-heading{margin-bottom:12px}.home-page .top-heading h2{font-size:23px}.home-page .top-heading p{font-size:12px}.home-page .top-cards{gap:14px}.home-page .top-card{padding:10px;background:#fffdf9;border-color:var(--line);min-width:0}.home-page .top-link{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto 1fr;gap:8px 14px}.home-page .top-cover{grid-row:1/3;height:110px}.home-page .top-cover .cover{height:110px;border-radius:6px}.home-page .top-cover .type-cover{padding:10px;background:#becbb6;color:#233d32}.home-page .top-card:nth-child(3n) .type-cover{background:#d6aaa4;color:#522d31}.home-page .top-cover .type-cover strong{font-size:22px}.home-page .top-cover .type-cover small{display:none}.home-page .top-rank{background:#173455;border-radius:50%;font-size:11px;width:26px;height:26px;display:grid;place-items:center;padding:0;left:5px;top:5px}.home-page .top-writer{grid-column:2;grid-row:2;align-self:start;font-size:10px;margin:0;overflow:hidden}.home-page .top-writer .user-avatar{width:22px;height:22px}.home-page .top-link h3{grid-column:2;grid-row:1;font-size:19px;line-height:1.35;margin:0;overflow-wrap:anywhere}.home-page .top-counts{font-size:10px;gap:8px;margin-top:8px;flex-wrap:wrap}.home-page .home-layout{grid-template-columns:minmax(0,1fr) 270px;gap:24px}.home-page .feed-card{padding:20px;background:#fffdf9;border-color:var(--line)}.home-page .post-content{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:16px 0}.home-page .post-content.has-thumbnail{grid-template-columns:minmax(0,1fr) 165px;grid-template-rows:auto 1fr;column-gap:20px}.home-page .post-content h3{font-size:27px;line-height:1.35;margin:0;overflow-wrap:anywhere}.home-page .post-content p{font-size:15px;margin:0;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.home-page .post-content .cover{grid-column:2;grid-row:1/3;height:145px;width:165px;margin:0}.home-page .journal-category{align-self:start;justify-self:start;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#647261;border-radius:5px;background:#e9efe3;padding:4px 8px}.home-page .feed-card:nth-child(3n+2){background:#f2f5ef}.home-page .feed-card:nth-child(3n+3){background:#fbf1ee}.home-page .sidebar-card{background:#fffdf9;border-color:var(--line);padding:20px}.home-page .sidebar-card h2{font-size:20px}.home-page .sidebar-card p{font-size:13px}.home-page .sidebar-compose{background:#eaf1fd}.home-page .sidebar-compose a{display:block;background:#1677ff;color:white;text-align:center;border-radius:6px;padding:10px}.home-page .feed-tabs{border-top:1px solid var(--line);padding-top:6px}.home-page .topic-chips{margin:12px 0}.home-page .topic-chips button{font-size:11px}.home-page .report-trigger{font-size:10px}html[data-theme=night] body.home-page{--paper:#101928;--ink:#e8eef9;--muted:#a6b5cd;--line:#334256;background:var(--paper)}html[data-theme=night] .home-page header,html[data-theme=night] .home-page .top-card,html[data-theme=night] .home-page .feed-card,html[data-theme=night] .home-page .sidebar-card{background:#1b283c}html[data-theme=night] .featured-journal{background:#243447}html[data-theme=night] .featured-read{background:#1b283c;color:#9bc6ff}html[data-theme=night] .home-page .feed-card:nth-child(3n+2){background:#24352f}html[data-theme=night] .home-page .feed-card:nth-child(3n+3){background:#352c35}@media(max-width:760px){.home-page #main{padding-top:14px}.featured-journal{display:flex;flex-direction:column}.featured-image{order:-1}.featured-image>.cover{height:195px}.featured-copy{padding:18px;display:grid;grid-template-columns:1fr auto;gap:10px}.featured-copy>.eyebrow,.featured-copy>h1,.featured-copy>.featured-excerpt{grid-column:1/3}.featured-copy h1{font-size:25px;margin:0}.featured-excerpt{font-size:13px;margin:0;-webkit-line-clamp:2}.featured-writer{margin:0;font-size:11px}.featured-read{font-size:11px;padding:7px 10px}.home-page .contest-banner{padding:14px;gap:12px}.home-page .contest-trophy{font-size:30px}.home-page .contest-banner-copy{display:block}.home-page .contest-banner-copy h2{font-size:20px}.home-page .contest-banner-copy .actions{flex-direction:row;margin-top:10px}.home-page .contest-badge{font-size:9px}.home-page .top-cards{grid-auto-columns:44%;gap:10px}.home-page .top-link{display:flex;flex-direction:column;gap:7px}.home-page .top-cover{height:104px;width:100%}.home-page .top-cover .cover{height:104px}.home-page .top-link h3{font-size:17px;order:1}.home-page .top-writer{font-size:10px;order:2}.home-page .top-heading h2{font-size:21px}.home-page .top-heading p{font-size:11px}.home-page .top-counts{font-size:9px}.home-page .home-layout{grid-template-columns:1fr}.home-page .feed-card{padding:15px}.home-page .post-content.has-thumbnail{grid-template-columns:minmax(0,1fr) 100px;gap:9px 12px}.home-page .post-content h3{font-size:23px}.home-page .post-content p{font-size:13px}.home-page .post-content .cover{width:100px;height:112px}.home-page .writer-header{font-size:12px}.home-page .writer-header .user-avatar{width:32px;height:32px}.home-page .sidebar-compose{margin-bottom:20px}}

@media(max-width:760px){.home-page .top-card{flex-basis:44%}.home-page .top-writer{margin:0}.home-page .top-counts{margin:8px 0 0}}
.home-page .top-counts{margin:8px 0 0}.home-page .featured-writer .user-avatar{flex-shrink:0}.home-page .featured-journal{max-width:1050px;margin-left:auto;margin-right:auto}html[data-theme=night] .home-page .journal-category{background:#344b3d;color:#e0ebda}.home-page .sidebar-compose>a{color:white}html[data-theme=night] .home-page .sidebar-compose>a{color:white}

/* Two-row mobile navigation, matching the approved homepage concept. */
@media(max-width:800px){
 .home-page header{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,36px);gap:8px 5px;padding:10px 4%;align-items:center}
 .home-page header>.brand{grid-column:1;grid-row:1;white-space:nowrap;font-size:clamp(16px,4.7vw,22px);letter-spacing:-.8px;min-width:0}
 .home-page header>nav{display:contents}
 .home-page header nav>:nth-child(3){grid-row:1;grid-column:2}
 .home-page header nav>:nth-child(4){grid-row:1;grid-column:3}
 .home-page header .theme-toggle{grid-row:1;grid-column:4}
 .home-page header .icon-button{width:36px;height:36px;border:0;background:transparent;padding:7px}
 .home-page header .icon-button svg{width:21px;height:21px}
 .home-page header .profile-menu-toggle .user-avatar{width:32px;height:32px;font-size:17px}
 .home-page header .header-search{grid-row:2;grid-column:1;order:initial;max-width:none;min-width:0;width:100%}
 .home-page .header-search input{width:100%;height:38px;padding:8px 10px;font-size:16px;border-radius:22px;line-height:1.2}
 .home-page header .header-write{grid-row:2;grid-column:2/4;padding:8px 10px;font-size:12px;line-height:1.5;text-align:center;border-radius:7px}
 .home-page header .header-saved{grid-row:2;grid-column:4;justify-content:center;width:36px;height:38px}
 .home-page header .header-saved span{display:none}
 .home-page #main{padding:12px 4% 0}
 .home-page .home-layout{grid-template-columns:1fr;margin-top:16px}
 .home-page .featured-journal{display:flex;flex-direction:column;margin-bottom:14px;border-radius:9px}
 .home-page .featured-image{order:-1}
 .home-page .featured-image>.cover{height:160px}
 .home-page .featured-copy{padding:13px 14px;gap:7px}
 .home-page .featured-copy .eyebrow{font-size:9px;letter-spacing:1.6px}
 .home-page .featured-copy h1{font-size:22px;line-height:1.3;margin:0}
 .home-page .featured-excerpt{font-size:12px;line-height:1.6;-webkit-line-clamp:2;margin:0}
 .home-page .featured-writer{font-size:10px;gap:7px;margin:3px 0 0}
 .home-page .featured-writer .user-avatar{width:27px;height:27px;font-size:15px}
 .home-page .featured-read{font-size:11px;padding:7px 10px;min-height:34px;display:flex;align-items:center}
 .home-page .top-journals{margin-bottom:18px}
 .home-page .top-heading{gap:10px;margin-bottom:10px}
 .home-page .top-heading h2{font-size:20px}
 .home-page .top-heading p{font-size:10px;line-height:1.5;max-width:210px;margin:3px 0 0}
 .home-page .top-heading select{font-size:11px;padding:6px 8px;min-height:34px}
 .home-page .top-card{padding:8px;flex-basis:43%;border-radius:8px}
 .home-page .top-link{display:flex;flex-direction:column;gap:6px}
 .home-page .top-cover,.home-page .top-cover .cover{height:94px;width:100%}
 .home-page .top-link h3{font-size:16px;line-height:1.35;order:1}
 .home-page .top-writer{font-size:9px;order:2;gap:5px}
 .home-page .top-counts{font-size:9px;gap:5px;line-height:1.4}
 .home-page .top-counts>span:nth-child(2){display:none}
 .home-page .feed-tabs button{font-size:12px;padding:10px 14px}
 .home-page .topic-chips{gap:6px;padding:9px 0;margin:0 0 7px}
 .home-page .topic-chips button{font-size:10px;padding:5px 12px}
 .home-page .journal .grid{gap:14px}
 .home-page .feed-card{padding:13px}
 .home-page .writer-header{margin-bottom:10px}
 .home-page .writer-link strong{font-size:12px}
 .home-page .writer-link small{font-size:10px}
 .home-page .writer-tools .follow-button{font-size:11px;padding:5px 8px}
 .home-page .post-content{margin:10px 0}
 .home-page .post-content h3{font-size:22px}
 .home-page .post-content p{font-size:12px;line-height:1.65}
 .home-page .post-content.has-thumbnail{grid-template-columns:minmax(0,1fr) 94px;gap:8px 10px}
 .home-page .post-content .cover{width:94px;height:105px}
 .home-page .contest-banner{padding:12px;gap:10px;margin-bottom:18px}
 .home-page .contest-banner-copy h2{font-size:18px}
 .home-page .contest-banner-copy>p:not(.hint){font-size:11px;-webkit-line-clamp:1}
 .home-page .contest-banner-copy>.hint{font-size:10px}
 .home-page .contest-banner-copy>.actions{margin-top:7px;gap:8px}
 .home-page .contest-button{font-size:10px;padding:6px 9px}
 .home-page .notification-panel{top:94px}
}

@media(max-width:800px){.home-page .featured-copy{display:grid;grid-template-columns:minmax(0,1fr) auto}.home-page .featured-copy>.eyebrow,.home-page .featured-copy>h1,.home-page .featured-copy>.featured-excerpt{grid-column:1/3}}

/* Keep text covers in a vertical layout; photo covers remain block images. */
.home-page .featured-image>.type-cover{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:16px;padding:28px;min-width:0}
.home-page .featured-image>.type-cover small{display:block;width:100%;font-size:10px;line-height:1.6;letter-spacing:1.4px;overflow-wrap:anywhere}
.home-page .featured-image>.type-cover small:first-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-page .featured-image>.type-cover strong{display:block;width:100%;font-size:clamp(30px,4vw,48px);line-height:1.35;letter-spacing:normal;overflow-wrap:anywhere}
.home-page .top-cover>.type-cover{display:flex;flex-direction:column;justify-content:center;padding:34px 10px 10px;gap:0}
.home-page .top-cover>.type-cover strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:20px;line-height:1.4;letter-spacing:normal}
@media(max-width:800px){
 .home-page .featured-image>.type-cover{padding:16px 18px;gap:8px}
 .home-page .featured-image>.type-cover small{font-size:8px;letter-spacing:1px;line-height:1.5}
 .home-page .featured-image>.type-cover strong{font-size:30px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .home-page .top-cover>.type-cover{padding:31px 9px 8px}
 .home-page .top-cover>.type-cover strong{font-size:18px;line-height:1.4}
}

/* A journal without a photograph has one title and no duplicate cover. */
.home-page .featured-text-only{display:block;position:relative;background:linear-gradient(120deg,#f4eee0,#e7ede3);border:1px solid #e0e4d7}
.home-page .featured-text-only:after{content:'';position:absolute;width:240px;height:240px;border:1px solid #61785526;border-radius:50%;right:-90px;top:-110px;box-shadow:0 0 0 28px #6178550a,0 0 0 56px #61785508;pointer-events:none}
.home-page .featured-text-only .featured-copy{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:30px 34px}
.home-page .featured-text-only .featured-copy>.eyebrow,.home-page .featured-text-only h1,.home-page .featured-text-only .featured-excerpt{grid-column:1/3}
.home-page .featured-text-only h1{margin:0;font-size:clamp(29px,4vw,44px)}
.home-page .featured-text-only .featured-excerpt{margin:0;max-width:780px}
.home-page .featured-text-only .featured-writer{margin:0}
.home-page .featured-text-only .featured-read{align-self:center}
html[data-theme=night] .home-page .featured-text-only{background:linear-gradient(120deg,#233344,#283d36);border-color:#40554a}
html[data-theme=night] .home-page .featured-text-only:after{border-color:#bbd5ab35;box-shadow:0 0 0 28px #bbd5ab0a,0 0 0 56px #bbd5ab08}
html[data-theme=night] .home-page .contest-banner{background:linear-gradient(110deg,#302a1d,#3d3320);color:#fff2cf;border-color:#b99a54}
html[data-theme=night] .home-page .contest-banner h2{color:#fff2cf}
html[data-theme=night] .home-page .contest-banner p,html[data-theme=night] .home-page .contest-banner .hint{color:#e9dcb8}
html[data-theme=night] .home-page .contest-banner .contest-button:not(.primary){color:#ffe1a0;border-color:#c8a461}
@media(max-width:800px){.home-page .featured-text-only .featured-copy{padding:20px 18px;gap:12px}.home-page .featured-text-only h1{font-size:27px}.home-page .featured-text-only .featured-excerpt{font-size:13px;-webkit-line-clamp:3}.home-page .featured-text-only .featured-writer{font-size:11px}.home-page .featured-text-only .featured-read{font-size:11px}.home-page .featured-text-only:after{width:180px;height:180px;right:-95px;top:-110px}}

.home-page.search-mode #featured-journal,.home-page.search-mode #top-journals,.home-page.search-mode #contest-banner,.home-page.search-mode .reading-sidebar{display:none!important}.home-page.search-mode .home-layout{grid-template-columns:minmax(0,1fr);max-width:850px;margin-top:4px}.search-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:12px 0;border-bottom:1px solid var(--line)}.search-summary p{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}.search-summary button{font-size:12px;white-space:nowrap;padding:7px 10px}#feed-controls{scroll-margin-top:14px}@media(max-width:800px){.search-summary p{font-size:13px}.search-summary button{font-size:11px}.home-page.search-mode #main{padding-top:4px}}
/* Full-card link preserves native links and the separate writer profile. */
.home-page .featured-journal{position:relative}.home-page .featured-card-link{position:absolute;inset:0;z-index:2;border-radius:inherit;cursor:pointer}.home-page .featured-journal .featured-copy{z-index:auto}.home-page .featured-writer,.home-page .featured-read{position:relative;z-index:3}.home-page .featured-journal:focus-within{outline:2px solid #1877f2;outline-offset:3px}.home-page .featured-card-link:hover{box-shadow:inset 0 0 0 1px #1877f240}