/* C38 Social Home presentation adapter. Existing Reader Social controller owns all data and actions. */
body.reader-c38{--c38-ink:#14282a;--c38-green:#0f3d3e;--c38-teal:#1e7779;--c38-canyon:#c95d47;--c38-gold:#b39254;--c38-paper:#fffefa;--c38-cream:#f7f2e9;--c38-muted:#64777a;--c38-line:#e4ddd1;background:var(--c38-cream);color:var(--c38-ink);font-family:'DM Sans',Inter,system-ui,sans-serif;font-synthesis:none}
body.reader-c38 a{color:inherit;text-decoration:none}
body.reader-c38 button,body.reader-c38 input,body.reader-c38 textarea,body.reader-c38 select{font:inherit}
body.reader-c38 button{touch-action:manipulation}
body.reader-c38 :focus-visible{outline:3px solid #c0954e;outline-offset:3px}
.c38-skip{position:fixed;z-index:2147483647;top:8px;left:8px;transform:translateY(-150%);padding:10px 14px;background:#fff;color:#102d31;border-radius:7px}
.c38-skip:focus{transform:none}
body.reader-c38 #inklydtGlobalHeader{height:76px;min-height:76px;--ix-gh-height:76px;padding:0 clamp(18px,3vw,44px);gap:26px;background:#fffefa!important;border-bottom:1px solid #e2d8c5!important;box-shadow:0 3px 12px #233b3410;color:var(--c38-green)!important}
body.reader-c38 #inklydtGlobalHeader .ix-gh-brand{gap:9px}
body.reader-c38 #inklydtGlobalHeader .ix-gh-mark{width:36px;height:42px}
body.reader-c38 #inklydtGlobalHeader .ix-gh-mark img{width:34px;height:40px;filter:none}
body.reader-c38 #inklydtGlobalHeader .ix-gh-brand-copy strong{width:118px;height:26px;background-image:url('/assets/inklydt-brand-wordmark.svg');}
body.reader-c38 #inklydtGlobalHeader .ix-gh-brand-copy small{display:none}
body.reader-c38 #inklydtGlobalHeader .ix-gh-context{display:none}
body.reader-c38 #inklydtGlobalHeader .ix-gh-reader-menu{order:3;background:#fffefa;border-color:#e3dbcf;color:var(--c38-green)}
body.reader-c38 #inklydtGlobalHeaderActions{gap:10px}
body.reader-c38 #inklydtGlobalHeaderActions .ix-book-button,body.reader-c38 #inklydtGlobalHeaderActions #ix-chat-launch,body.reader-c38 .ix-gh-account-button{border-color:#e2d9cb!important;background:#fffefa!important;color:var(--c38-green)!important;border-radius:11px!important}
.ix-c38-search{height:46px;display:flex;align-items:center;gap:11px;flex:1;max-width:530px;min-width:160px;padding:0 16px;border:1px solid #dce3dc;border-radius:28px;background:#f5f7f3;color:#43696a}
.ix-c38-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.ix-c38-search input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;padding:0!important;color:#20383a;font-size:14px}
.ix-c38-search input::placeholder{color:#7b8988}
.c38-layout{display:grid!important;grid-template-columns:242px minmax(0,1fr) 284px!important;gap:24px!important;width:min(100%,1440px);max-width:1440px!important;margin:0 auto!important;padding:20px 32px 72px!important;align-items:start}
.c38-navigation{position:sticky;top:96px;align-self:start;padding:24px 14px 24px;background:#0e393d;border-radius:18px;color:#f8f3e8;min-height:calc(100vh - 116px)}
.c38-navigation .nav-title{padding:0 14px;color:#b5d0c9;font-size:9px;letter-spacing:.19em}
.c38-navigation nav{display:grid;gap:5px;margin:24px 0 26px}
.c38-navigation nav a{display:flex;align-items:center;gap:13px;min-height:47px;padding:10px 13px;border-left:3px solid transparent;border-radius:10px;color:#f2f2e9;font-size:12px;font-weight:650;transition:background .16s,border-color .16s}
.c38-navigation nav a:hover{background:#ffffff12}
.c38-navigation nav a.active{background:#1c7779;border-left-color:#cf6149;color:#fff}
.c38-nav-icon{width:19px;height:19px;display:grid;place-items:center;flex:none;color:#d2c59f}
.c38-nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.c38-navigation nav a.active .c38-nav-icon{color:#fff}
.c38-current-workspace{margin:26px 10px 0;padding:21px 5px 19px;border-top:1px solid #b8c9c044;border-bottom:1px solid #b8c9c044;display:grid;gap:10px}
.c38-current-workspace .eyebrow{color:#b8cfbf;font-size:9px}
.c38-current-workspace strong{font-size:12px;color:#fff;font-weight:700}
.c38-current-workspace p{margin:0;color:#c6d5d0;font-size:10px;line-height:1.65}
.c38-sidebar-phrase{padding:24px 10px 0}
.c38-sidebar-phrase>span{font:29px/1.04 'Libre Caslon Display',Georgia,serif;color:#f6f0df}
.c38-sidebar-phrase p{margin:7px 0 12px;color:#f2f0e8;font-size:11px}
.c38-sidebar-phrase small{color:#b9cec8;font-size:9px;line-height:1.7;display:block}
.c38-main{min-width:0;padding:11px 0 0}
.c38-intro{padding:0 0 26px}
.c38 .eyebrow,body.reader-c38 .eyebrow{color:#147477;font-size:9px;letter-spacing:.18em;font-weight:800}
.c38-intro h1{margin:9px 0 8px;color:#15282a;font:44px/1.1 'Libre Caslon Display',Georgia,serif;letter-spacing:-.025em}
.c38-intro p{margin:0;color:#637b7e;font-size:13px;line-height:1.7}
body.reader-c38 .card{background:var(--c38-paper);border:1px solid var(--c38-line);border-radius:16px;padding:22px;margin-bottom:14px;box-shadow:0 5px 16px #192e2a08}
body.reader-c38 h2{color:#183033;font:26px/1.2 'Libre Caslon Display',Georgia,serif}
body.reader-c38 p{color:#63777a;line-height:1.65}
.c38-auth-gate{padding:22px 25px!important;border-left:3px solid var(--c38-gold)!important}
.c38-auth-gate h2{margin:0 0 7px}
.c38-auth-gate p{margin:0 0 15px;font-size:12px}
body.reader-c38 .primary{background:var(--c38-green);border:1px solid var(--c38-green);color:#fffefa;font-size:11px;font-weight:700;border-radius:22px;padding:11px 18px}
body.reader-c38 .link-button{display:inline-flex;align-items:center;justify-content:center}
.c38-composer{padding:18px 21px!important}
.c38-composer .composer-heading{gap:13px}
body.reader-c38 .avatar{background:#e4efeb;color:#236b6a;font-family:'Libre Caslon Display',Georgia,serif}
.c38-composer .composer-heading strong{font-size:13px;color:#233536}
.c38-composer .composer-heading small{color:#6b7b7a;font-size:10px}
body.reader-c38 #composer>textarea{min-height:52px;margin:14px 0 10px;padding:10px 12px;border:1px solid #e3e7df;border-radius:10px;background:#fbfcf9;font-size:13px}
body.reader-c38 .composer-bottom{border:0;padding:0;gap:12px}
body.reader-c38 .permission{font-size:9px;color:#6d7e7b}
body.reader-c38 .permission input{accent-color:#1b7779}
body.reader-c38 .composer-bottom .primary{background:#c95d47;border-color:#c95d47;padding:12px 19px;white-space:nowrap}
.c38-feed-toolbar{min-height:44px;display:flex;align-items:center;gap:18px;margin:12px 0 14px;border-bottom:1px solid #ded7ca}
body.reader-c38 .feed-toolbar .tabs{gap:21px}
body.reader-c38 .feed-toolbar .tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 2px 11px;background:transparent;color:#60777a;font-size:12px;font-weight:650}
body.reader-c38 .feed-toolbar .tabs button.active{border-color:#c95d47;color:#143d40}
body.reader-c38 #feedLabel{color:#778485;font-size:10px}
body.reader-c38 #refreshFeed{display:grid;place-items:center;width:34px;height:34px;border:1px solid transparent;border-radius:50%;background:transparent;color:#356a6d}
body.reader-c38 #refreshFeed:hover{background:#e9eee7}
body.reader-c38 #refreshFeed svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.reader-c38 #feed .post{padding:20px 22px 16px;margin-bottom:13px;border-radius:16px;background:#fffefa;border-color:#e5ddd1;box-shadow:0 5px 15px #1b2b2610}
body.reader-c38 .post-head{gap:12px}
body.reader-c38 .post-head .avatar{width:45px;height:45px;font-size:19px}
body.reader-c38 .post-author{font-size:12px;color:#21383a;font-weight:750}
body.reader-c38 .post-head small{font-size:9px;color:#708181}
body.reader-c38 .post-menu button{border:1px solid #dce8e2;border-radius:20px;color:#33777a;font-size:9px}
body.reader-c38 .post-body{margin:18px 0 16px;color:#253638;font-size:13px;line-height:1.75}
body.reader-c38 .post-actions{padding-top:12px;border-top:1px solid #eee7db;gap:7px;flex-wrap:wrap}
body.reader-c38 .post-actions button{border:1px solid #dbe6df;border-radius:22px;padding:8px 12px;color:#236c70;background:#fffefa;font-size:10px;font-weight:700}
body.reader-c38 .post-actions button[aria-pressed=true]{background:#eff4eb;color:#9c6348}
body.reader-c38 .discovery{padding-top:0}
.c38-discovery-hero{padding:23px 21px 20px;margin-bottom:14px;border:1px solid #d9e6dc;border-radius:17px;background:linear-gradient(132deg,#f5f7ed,#e4f1e9);box-shadow:0 5px 15px #1b2b2609}
.c38-discovery-hero h2{margin:7px 0 7px;font-size:23px}
.c38-discovery-hero p{margin:0 0 14px;font-size:11px;line-height:1.55}
.c38-discovery-hero>a{display:inline-flex;gap:6px;align-items:center;padding:9px 13px;background:#fffefa;border:1px solid #d5e1d9;border-radius:22px;color:#216a6b;font-size:10px;font-weight:700}
body.reader-c38 .c38-reading-card{padding:19px 20px;margin-bottom:14px;background:linear-gradient(145deg,#174e49,#0f3939);color:#fffaf0;border:1px solid #27665e}
.c38-reading-card .eyebrow{color:#d6bf83}
.c38-reading-card h2{margin:8px 0;color:#fffaf0;font-size:24px}
.c38-reading-card p{margin:0 0 13px;color:#d4e1d8;font-size:10px}
.c38-reading-card .primary{display:flex;background:#f1ead7;border-color:#f1ead7;color:#174744;margin-bottom:10px}
.c38-reading-card small{display:block;color:#bed0c5;font-size:9px;line-height:1.55}
body.reader-c38 .c38-people-card{padding:19px 20px;margin-bottom:14px}
.c38-people-card>.eyebrow{display:block;margin-bottom:3px}
body.reader-c38 .person{gap:9px;margin:0;padding:10px 0;border-bottom:1px solid #eee7db}
body.reader-c38 .person:last-child{border-bottom:0;padding-bottom:0}
body.reader-c38 .person .avatar{width:33px;height:33px;font-size:14px}
body.reader-c38 .person strong{font-size:10px;color:#25383a}
body.reader-c38 .person small{font-size:8px;color:#768484}
body.reader-c38 .person button{border:1px solid #d8e4dc;border-radius:22px;background:#fffefa;padding:7px 9px;color:#257273;font-size:9px;font-weight:700}
body.reader-c38 .c38-opportunity-card{padding:20px;margin-bottom:14px;border-top:3px solid #ca604b}
.c38-opportunity-card h2{margin:8px 0 10px;font-size:22px}
.c38-opportunity-card p{margin:0 0 12px;font-size:11px;line-height:1.65}
.c38-opportunity-card>a{color:#177073;font-size:10px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
body.reader-c38 .c38-privacy-card{padding:19px 20px}
.c38-privacy-card p{margin:5px 0 0;font-size:10px;line-height:1.65}
body.reader-c38 .older{width:100%;padding:12px;border:1px solid #dce3d9;border-radius:25px;background:#fffefa;color:#256a6b;font-size:11px;font-weight:700}
body.reader-c38 .empty{padding:28px;text-align:left}
body.reader-c38 .empty h2{font-size:24px}
body.reader-c38 .empty p{font-size:12px}
body.reader-c38 .profile,body.reader-c38 .people-workspace{overflow:hidden}
body.reader-c38 .library-heading h1{font-size:44px}
body.reader-c38 .library-book{grid-template-columns:190px minmax(0,1fr);gap:25px}
body.reader-c38 #status{color:#8c6842;font-size:10px}
body.reader-c38 #status:empty{display:none}
body.reader-c38 #moderation{margin:0 0 14px}
body.reader-c38 dialog{border:1px solid #d9cebb;border-radius:17px;background:#fffefa;color:#163b3d}
body.reader-c38 dialog::backdrop{background:#17383270}
body.reader-c38 .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1120px){.c38-layout{grid-template-columns:205px minmax(0,1fr)!important;max-width:1040px!important;padding:18px 22px 60px!important}.c38-discovery{display:none}.c38-navigation{min-height:calc(100vh - 110px)}}
@media(max-width:760px){
 body.reader-c38 #inklydtGlobalHeader{height:108px;min-height:108px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:52px 42px;gap:5px 10px;padding:4px 14px 7px;align-content:center}
 body.reader-c38 #inklydtGlobalHeader .ix-gh-brand{grid-column:1;grid-row:1}
 body.reader-c38 #inklydtGlobalHeader .ix-gh-reader-menu{grid-column:1;grid-row:1;justify-self:start;margin-left:134px}
 body.reader-c38 #inklydtGlobalHeader .ix-gh-brand-copy strong{width:108px;height:23px}
 body.reader-c38 #inklydtGlobalHeader .ix-gh-mark,body.reader-c38 #inklydtGlobalHeader .ix-gh-mark img{width:30px;height:35px}
 body.reader-c38 #inklydtGlobalHeaderActions{grid-column:2;grid-row:1;gap:6px}
 .ix-c38-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;height:39px;min-width:0;padding:0 13px}
 .ix-c38-search input{font-size:12px}
 .c38-layout{display:block!important;width:100%;padding:12px 12px 55px!important}
 .c38-navigation{position:static;min-height:0;padding:11px 10px 10px;border-radius:15px;margin:0 0 17px;overflow:hidden}
 .c38-navigation .nav-title{padding:0 9px;font-size:8px}
 .c38-navigation nav{display:flex;overflow-x:auto;overscroll-behavior-x:contain;gap:4px;margin:9px 0 0;padding:0 0 3px;scrollbar-width:thin}
 .c38-navigation nav a{flex:none;min-height:40px;gap:7px;padding:8px 10px;border-left-width:2px;border-radius:8px;font-size:10px;white-space:nowrap}
 .c38-nav-icon{width:15px;height:15px}.c38-nav-icon svg{width:15px;height:15px}
 .c38-current-workspace,.c38-sidebar-phrase{display:none}
 .c38-main{padding:2px 0 0}
 .c38-intro{padding:0 6px 17px}
 .c38-intro h1{font-size:34px;line-height:1.08;margin:8px 0}
 .c38-intro p{font-size:11px;line-height:1.6}
 body.reader-c38 .card{padding:17px;border-radius:14px;margin-bottom:11px}
 .c38-auth-gate{padding:17px!important}
 .c38-composer{padding:15px!important}
 body.reader-c38 .composer-bottom{display:block}
 body.reader-c38 .composer-bottom .primary{width:100%;margin-top:10px}
 .c38-feed-toolbar{gap:8px;margin:8px 0 11px}
 body.reader-c38 .feed-toolbar .tabs{gap:17px}
 body.reader-c38 .feed-toolbar .tabs button{font-size:11px;padding:11px 2px 9px}
 body.reader-c38 #feedLabel{display:none}
 body.reader-c38 #feed .post{padding:16px 15px 13px;border-radius:14px;margin-bottom:10px}
 body.reader-c38 .post-head .avatar{width:39px;height:39px}
 body.reader-c38 .post-body{font-size:12px;line-height:1.7;margin:14px 0}
 body.reader-c38 .post-actions{gap:6px}
 body.reader-c38 .post-actions button{padding:7px 9px;font-size:9px}
 body.reader-c38 .post-menu button{font-size:8px;padding:5px 7px}
 .c38-discovery{display:block;margin-top:20px}
 .c38-discovery-hero,body.reader-c38 .c38-people-card,body.reader-c38 .c38-opportunity-card,body.reader-c38 .c38-privacy-card{margin-bottom:10px}
 .c38-discovery-hero{padding:19px}
 .c38-discovery-hero h2{font-size:21px}
 .c38-discovery-hero p,.c38-opportunity-card p,.c38-privacy-card p{font-size:10px}
 body.reader-c38 .person{padding:9px 0}
 body.reader-c38 .person strong{font-size:10px}
 body.reader-c38 .library-book{grid-template-columns:100px minmax(0,1fr);gap:15px;padding:15px}
 body.reader-c38 .book-cover{min-height:185px;padding:14px 10px}
 body.reader-c38 .book-cover>strong{font-size:27px}
 body.reader-c38 .book-details h2{font-size:23px}
}
@media(max-width:390px){body.reader-c38 #inklydtGlobalHeader .ix-gh-reader-menu{margin-left:121px}.c38-navigation nav a{padding:8px 8px;font-size:9px}.c38-nav-icon{display:none}.c38-intro h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){body.reader-c38 *,body.reader-c38 *::before,body.reader-c38 *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(forced-colors:active){.c38-navigation nav a.active{border:2px solid Highlight}.ix-c38-search{border:1px solid CanvasText}}

/* C38 Home r3: editorial hero, integrated brand mark, and readable dark shelf. */
body.reader-c38 #inklydtGlobalHeader .ix-gh-mark{display:none}
.c38-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,32%);align-items:center;gap:10px;min-height:220px;padding:0 22px 0 25px;overflow:hidden;border:1px solid #d9e6dc;border-radius:20px;background:linear-gradient(105deg,#e5f1ec 0%,#f6f3e9 64%,#f7eee1 100%)}
.c38-home-copy{position:relative;z-index:1;padding:25px 0}
.c38-intro h1{max-width:660px;margin:10px 0 10px;font-size:clamp(34px,3.1vw,46px);line-height:1.02;letter-spacing:-.035em}
.c38-intro p{max-width:520px;margin:0 0 15px;font-size:13px;line-height:1.7}
.c38-hero-link{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #d2ded5;border-radius:24px;background:#fffefa;color:#17686a!important;font-size:11px;font-weight:750}
.c38-home-art{display:block;width:100%;max-height:196px;object-fit:cover;object-position:center 54%;border-radius:14px;mix-blend-mode:multiply}
body.reader-c38 .c38-reading-card h2{color:#fffaf0!important}
body.reader-c38 .c38-reading-card p{color:#d4e1d8!important}
body.reader-c38 .c38-reading-card .eyebrow{color:#e2c98d!important}
@media(max-width:760px){.c38-intro{grid-template-columns:minmax(0,1fr) 96px;gap:0;min-height:0;padding:0 13px 0 16px;border-radius:15px}.c38-home-copy{padding:15px 0}.c38-intro h1{font-size:29px;line-height:1.04;margin:7px 0}.c38-intro p{font-size:10px;line-height:1.5;margin-bottom:9px}.c38-hero-link{padding:8px 11px;font-size:9px}.c38-home-art{max-height:105px;object-fit:contain}.c38-intro .eyebrow{font-size:8px}}
@media(max-width:390px){.c38-intro{grid-template-columns:minmax(0,1fr) 64px;padding-left:12px;padding-right:7px}.c38-home-art{max-height:82px}.c38-intro h1{font-size:26px}}
/* The base brand sheet adds its own pseudo-icon; C38 uses the inline Facet SVGs. */
body.ixb-reader-wave.reader-c38 .c38-navigation nav a::before{display:none!important;content:none!important;background-image:none!important}
