/* Warm paper, wooden shelves, and clear reading contrast. */
.realm-entry-granted #realm-cover{display:none!important}
.library-sanctuary-hero{background:radial-gradient(ellipse at 80% 10%,#a5783c55,transparent 60%),linear-gradient(135deg,#261b17,#483324);border:1px solid #78583b;min-height:360px;padding:clamp(24px,5vw,72px);color:#fff0d5}
.library-sanctuary-hero p:not(.eyebrow){color:#e5cdb1}.library-sanctuary-hero h1{font-size:clamp(36px,5vw,64px);line-height:1.1}
.library-window.library-bookcase{min-height:300px;border-radius:6px;padding:22px 16px 8px;background:repeating-linear-gradient(0deg,#3b271c,#3b271c 5px,#412c1f 6px,#412c1f 25px);box-shadow:inset 0 0 0 9px #60422c,0 12px 25px #0005;border:2px solid #866342;display:grid;gap:10px}
.library-window.library-bookcase:before{display:none}.library-bookcase>div{display:flex;gap:5px;align-items:end;border-bottom:9px solid #805537;box-shadow:0 4px 4px #0006;padding:0 10px;height:76px}
.library-window.library-bookcase i{position:static;display:block;flex:1;width:auto;height:88%;border:1px solid #dab68066;border-radius:3px 4px 0 0;background:linear-gradient(90deg,#242e28,#42533e,#242e28);box-shadow:inset 3px 0 #e6bf7544}
.library-window.library-bookcase i:nth-child(3n){height:95%;background:linear-gradient(90deg,#5a2f28,#77493b,#5a2f28)}.library-window.library-bookcase i:nth-child(3n+1){height:72%;background:linear-gradient(90deg,#3c3854,#554c70,#3c3854)}
.library-sanctuary-catalog{background:#30241c;padding:clamp(18px,3vw,45px);margin-top:24px;border:1px solid #805b3a}.library-sanctuary-catalog>header{color:#f5e8cf;background:transparent!important;padding:0!important;align-items:start}.library-sanctuary-catalog>header h2{color:#f5e8cf}.library-sanctuary-catalog>header p{color:#d8bfa0}.library-sanctuary-results{display:block;max-width:none}
.realm-library-catalog{padding:clamp(18px,3vw,38px);color:#322b24;background:#f4ead9;border:1px solid #c8b391;border-radius:8px;box-shadow:0 16px 30px #0003}
.catalog-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}.realm-library-catalog h2{color:#322b24!important;margin:5px 0 12px;font:500 clamp(27px,4vw,40px)/1.2 'Playfair Display',serif}.realm-library-catalog p,.realm-library-catalog small{color:#5b5146!important;line-height:1.6}.realm-library-catalog .eyebrow{color:#7c572e!important}.realm-library-catalog .link{color:#62431f!important}.catalog-tools{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin:25px 0 12px}.catalog-tools label{display:grid;gap:7px;color:#4d3c2a;font-size:13px;font-weight:600}.catalog-tools input,.catalog-tools select{width:100%;min-width:0;padding:12px;border:1px solid #baa689;background:#fffaf0;color:#362c22;border-radius:4px;box-sizing:border-box}.catalog-count{font-size:13px;margin-bottom:22px}
.catalog-shelves{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:28px 24px;border-bottom:12px solid #9c7449;padding-bottom:18px;box-shadow:0 5px 0 #513821}.catalog-book{max-width:380px;min-width:0}.catalog-cover{min-height:220px;border-radius:3px 8px 8px 3px;padding:24px 24px 24px 32px;display:flex;flex-direction:column;justify-content:space-between;gap:22px;background:#33463b;box-shadow:inset 8px 0 #0004,inset 11px 0 #d9bc7944,7px 8px 0 #d1c4aa,9px 12px 16px #0003;color:#f3e3bb}.catalog-cover.cover-1{background:#673e35}.catalog-cover.cover-2{background:#3e4962}.catalog-cover.cover-3{background:#5c4963}.catalog-cover span{font-size:10px;letter-spacing:.16em}.catalog-cover strong{font:500 27px/1.3 'Playfair Display',serif;overflow-wrap:anywhere}.catalog-cover small{color:#e7d8b6!important}.catalog-book-info{padding-top:18px}.catalog-book-info h3{font:600 22px/1.3 'Playfair Display',serif;color:#322b24}.catalog-book-info p{font-size:13px}.catalog-book-info small{display:block;margin:12px 0}.catalog-book-info button{color:#241b11;background:#dcc397}
.catalog-empty{grid-column:1/-1;max-width:620px;text-align:center;margin:15px auto 30px;padding:25px}.catalog-empty h3{font:500 29px/1.3 'Playfair Display',serif;color:#3d3024}.empty-books{display:flex;gap:8px;justify-content:center;align-items:end;height:90px;margin:0 auto 30px;max-width:240px;border-bottom:12px solid #876041;box-shadow:0 5px #463124}.empty-books i{display:block;width:27px;height:77px;border-radius:3px;background:#614034;border:1px solid #bca57b;box-shadow:inset 4px 0 #c5a76444}.empty-books i:nth-child(2){height:65px;background:#46583d}.empty-books i:nth-child(3){height:83px;background:#344657}.empty-books i:nth-child(4){height:73px;background:#736341}.empty-books i:nth-child(5){height:60px;background:#584964}
.study-verse-text{white-space:pre-line}.word-passage h2{font:500 clamp(25px,4vw,40px)/1.2 'Playfair Display',serif}.study-verse-choice{display:grid;gap:8px;max-width:380px;margin:18px 0}.study-verse-choice select{padding:12px;background:#111d25;color:#f1d7aa;border:1px solid #857050;border-radius:6px}.study-analysis{grid-column:1/-1}.study-analysis-answer{white-space:pre-wrap;line-height:1.8}.word-study #study-ai-answer{white-space:pre-wrap}.word-study .word-grid{margin-bottom:26px}.blocked-members-live article{display:flex;gap:20px;justify-content:space-between;padding:18px;border-bottom:1px solid #8b745444}
@media(max-width:760px){.catalog-heading{display:block}.catalog-tools{grid-template-columns:1fr 1fr}.catalog-tools label:first-child{grid-column:1/-1}.catalog-shelves{grid-template-columns:1fr}.catalog-book{max-width:none;display:grid;grid-template-columns:105px 1fr;gap:18px}.catalog-cover{min-height:160px;padding:14px 10px 14px 16px}.catalog-cover strong{font-size:18px}.catalog-cover span,.catalog-cover small{font-size:9px}.catalog-book-info{padding-top:0}.catalog-book-info h3{font-size:21px}.library-window.library-bookcase{min-height:260px}.library-sanctuary-hero{gap:20px}.catalog-empty{padding:5px}.study-tabs{overflow-x:auto;flex-wrap:nowrap!important}.study-tabs button{white-space:nowrap}}

.community-live-host-controls{margin-top:30px;padding:24px;border:1px solid #826c4544;border-radius:8px}.community-live-host-controls form{display:grid;gap:16px}.community-live-host-controls label{display:grid;gap:8px}.community-live-host-controls input,.community-live-host-controls textarea,.community-live-host-controls select{padding:12px;background:#101b23;color:#f2d7a1;border:1px solid #826c4555;border-radius:6px;width:100%;box-sizing:border-box}.community-live-player[data-live-mode="audio"] .community-live-video{height:70px}.community-live-player[data-live-mode="audio"] video{height:70px}.community-live-player[data-live-mode="watch"] .community-live-sanctuary{display:none}
.realm-library-catalog .catalog-tools input,.realm-library-catalog .catalog-tools select{background:#fffaf0!important;color:#362c22!important;border-color:#baa689!important}.realm-library-catalog .catalog-tools input::placeholder{color:#746b5f!important}
.realm-library-catalog h3{color:#3d3024!important}

#view[data-route="prayer-wall"] .feature-grid{display:none}#view[data-route="prayer-wall"] .page-detail-prayer-wall{padding-bottom:28px}#view[data-route="prayer-wall"] .complete-prayer-wall{margin-top:0}#view[data-route="prayer-wall"] .prayer-compose-complete{margin-top:32px}.prayer-room-directory{padding:clamp(20px,4vw,42px);background:#14222c;border:1px solid #a8895055;border-radius:10px}.prayer-room-directory-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #a8895044}.prayer-room-directory-card h3{margin:0 0 8px}.prayer-room-directory>.primary{margin-top:24px}@media(max-width:600px){.prayer-room-directory-card{align-items:start;flex-direction:column}}

/* Keep name meaning visible independently of the collapsed profile editor. */
#view[data-route="profile"] .dashboard-name-card{margin:0 0 28px;padding:24px;display:grid;gap:18px;border:1px solid #ddc29145;border-radius:24px;background:linear-gradient(135deg,#162744e8,#0b1729e8);color:#e7eaf4;min-width:0}
.dashboard-name-card h3{font-size:1.7rem;margin:4px 0 12px}.dashboard-name-card h4{font-size:1.2rem;margin:0 0 12px;overflow-wrap:anywhere}.dashboard-name-card p{margin:0;max-width:76ch}.dashboard-name-card .profile-name-reflection{margin:0;padding:18px;border-left:3px solid #dfc58e;background:#08132680;min-width:0}.dashboard-name-card .profile-name-reflection-answer{white-space:pre-wrap;overflow-wrap:anywhere;color:#e7eaf4!important;font-size:1rem!important;line-height:1.65!important}.dashboard-name-card .profile-name-reflection-status{margin-top:12px;color:#c7d4e9;font-size:.9rem}.dashboard-name-card button{width:auto!important;justify-self:start;white-space:normal;text-align:left;max-width:100%}
@media(max-width:600px){#view[data-route="profile"] .dashboard-name-card{padding:18px}.dashboard-name-card .profile-name-reflection{padding:14px}.dashboard-name-card button{width:100%!important}}
