/* Approved Global Christian Social Network visual system — source of truth for home only.
   Preserve authenticated posts, privacy, member controls and separate mint Fellowship/Prayer pages. */
:root{--gcc-red:#980800;--gcc-red-dark:#640000;--gcc-royal:#0734d3;--gcc-yellow:#ffe21a}
html body.community-unified-theme[data-page="home"]{background:#f4f6fc!important;color:#152343!important}
body[data-page="home"] .gcc-nations-strip{display:flex;align-items:center;gap:14px;overflow:hidden;white-space:nowrap;padding:6px clamp(12px,2vw,30px);background:linear-gradient(100deg,#770000,#d21700 48%,#660000);color:#fff}
body[data-page="home"] .gcc-nations-strip strong{flex:0 0 auto}
body[data-page="home"] .gcc-nations-track{display:flex;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap}
body[data-page="home"] .gcc-nations-track .gcc-nations-flags{flex:0 0 auto;padding-right:36px;will-change:transform;animation:gcc-nations-travel 32s linear infinite}
@keyframes gcc-nations-travel{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .gcc-nations-track .gcc-nations-flags{animation:none}body[data-page="home"] .gcc-nations-track .gcc-nations-flags[aria-hidden="true"]{display:none}}

.gcc-nations-strip strong{border-radius:26px;background:#ffe51a;color:#310f08;padding:5px 16px;font-weight:900;font-size:clamp(12px,1.15vw,17px)}
.gcc-nations-strip span{font-size:clamp(19px,2vw,27px);letter-spacing:4px}
body[data-page="home"] .top,body[data-page="home"].hk-reference-dashboard .top,html body.community-unified-theme[data-page="home"] .top{background:#fff!important;color:#081b45!important;border-bottom:3px solid #dd0010!important;box-shadow:0 4px 16px #10245124!important}
body[data-page="home"] .top .nav,body[data-page="home"].hk-reference-dashboard .top .nav{max-width:1920px!important;min-height:74px!important;display:flex;align-items:center;gap:clamp(10px,1.6vw,26px)!important;padding:8px clamp(10px,2vw,30px)!important}
body[data-page="home"] .top .brand{display:flex;align-items:center;gap:12px;color:#082ab0!important;text-shadow:none!important;font-weight:1000!important;font-size:clamp(17px,2vw,27px)!important;max-width:380px;white-space:normal!important;line-height:1.05!important;text-decoration:none}
body[data-page="home"] .top .brand::before{content:"";display:inline-block;width:74px;height:65px;min-width:74px;background:url("assets/community-mark.svg") center/contain no-repeat}
body[data-page="home"] .top .brand-name{color:#1031b7!important;white-space:normal!important}
body[data-page="home"] .top .community-search{flex:1 1 400px;max-width:650px;min-width:120px;margin-inline:auto}
body[data-page="home"] .top .community-search input{border-radius:24px!important;border:1px solid #9caccb!important;background:#f7f9ff!important;color:#142349!important;min-height:46px!important;padding-left:18px!important;box-shadow:0 3px 8px #10245116}
body[data-page="home"] .top .community-search button{border-radius:20px!important;background:#092cb9!important;color:#fff!important}
body[data-page="home"] .top .navlinks{display:none!important}
.gcc-header-actions{display:flex;gap:8px;align-items:center}
.gcc-header-actions a{display:grid;place-items:center;min-width:42px;min-height:42px;border-radius:14px;color:#0c2160;font-size:23px;text-decoration:none;border:1px solid transparent}
.gcc-header-actions a:hover,.gcc-header-actions a:focus-visible{background:#edf2ff;border-color:#b9c9fa}
.gcc-reference-banner{width:100%;background:linear-gradient(100deg,#a00004,#0b32c4 22%,#0637da 78%,#aa0305);border-bottom:5px solid #ffe316;overflow:hidden}
.gcc-reference-banner img{display:block;width:100%;max-height:286px;object-fit:cover;object-position:center}
.gcc-reference-banner .gcc-banner-caption{display:none}
body[data-page="home"] .shell,body[data-page="home"].hk-reference-dashboard .shell{max-width:1940px!important;padding:12px clamp(8px,1vw,16px) 26px!important}
body[data-page="home"] .social-layout,body[data-page="home"].hk-reference-dashboard .social-layout{grid-template-columns:minmax(215px,285px) minmax(0,1fr) minmax(255px,335px)!important;max-width:1900px!important;gap:14px!important}
body[data-page="home"] .social-rail,html body.community-unified-theme[data-page="home"] .social-rail,body[data-page="home"].hk-reference-dashboard .social-rail{background:linear-gradient(160deg,#c50000,#8c0000 65%,#5c0000)!important;border:0!important;border-radius:17px!important;padding:12px!important;box-shadow:0 10px 25px #8b000026!important;color:#fff!important}
body[data-page="home"] .social-rail .reference-member{display:none!important}
body[data-page="home"] .social-rail .rail-brand{display:block!important;color:#ffe217!important;font-size:16px!important;text-transform:uppercase}
body[data-page="home"] .social-rail .rail-link,html body.community-unified-theme[data-page="home"] .social-rail .rail-link{color:#fff!important;font-size:15px!important;font-weight:750!important;border-radius:12px!important;padding:10px 11px!important}
body[data-page="home"] .social-rail .rail-link[aria-current="page"],body[data-page="home"].hk-reference-dashboard .social-rail .rail-link[aria-current="page"]{background:linear-gradient(90deg,#ffd700,#fff254)!important;color:#210d0d!important;box-shadow:0 5px 12px #45000030!important}
body[data-page="home"] .social-rail .rail-premium-icon{background:transparent!important;color:inherit!important}
body[data-page="home"] .social-sidebar,html body.community-unified-theme[data-page="home"] .social-sidebar{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
body[data-page="home"] .social-sidebar>:is(.card,.hk-ref-panel,.gcc-panel){border:1px solid #dee4f0!important;border-radius:16px!important;background:#fff!important;color:#152343!important;box-shadow:0 5px 14px #142f5d1a!important;overflow:hidden;margin:0 0 14px!important}
body[data-page="home"] .social-stream .stream-heading{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:3px solid #e20c16!important;padding:5px 6px 10px!important}
body[data-page="home"] .social-stream .stream-heading h1{color:#082fbd!important;font-weight:1000!important;font-size:clamp(21px,2vw,30px)!important;margin:0!important}
body[data-page="home"] .social-stream .stream-heading h1::before{content:"👥 ";color:#da0014}
body[data-page="home"] .social-stream .stream-heading p{font-size:12px!important;color:#52617b!important}
body[data-page="home"] .social-stream>:is(.composer-card,.card,.community-shortcuts,.post,.social-feed-post){border-radius:16px!important;border:1px solid #d9dfec!important;background:#fff!important;box-shadow:0 5px 16px #25355b16!important}
body[data-page="home"] .gc-visitor-banner{display:none!important}
body[data-page="home"] .gcc-panel>h2,body[data-page="home"] .gcc-panel>h3{margin:0!important;padding:10px 16px!important;background:linear-gradient(95deg,#a30000,#dc1300)!important;color:#fff!important;font-size:16px!important}
.gcc-panel .gcc-panel-content{padding:14px 16px}
.gcc-panel .gcc-verse{text-align:center;font:italic 650 17px/1.5 Georgia,serif;color:#183368;margin:0 0 9px}
.gcc-panel .gcc-verse-ref{display:block;text-align:center;font-weight:900;color:#a00b00}
.gcc-panel nav{display:grid;padding:4px 10px 10px}
.gcc-panel nav a{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:11px 9px;border-bottom:1px solid #dbe3f3;text-decoration:none;color:#172746;font-weight:650}
.gcc-panel nav a:last-child{border:0}.gcc-panel nav a:hover{background:#f0f5ff;color:#0c32bc}
.gcc-apps{margin-top:18px;background:#fff!important;border-radius:14px;border:2px solid #f4d522;overflow:hidden}
.gcc-apps h2{margin:0;padding:10px;background:linear-gradient(105deg,#002cb0,#145df5);color:#ffe917;font-size:15px}
.gcc-apps a{display:flex;align-items:center;gap:9px;padding:9px 12px;margin:5px;border-radius:10px;background:linear-gradient(90deg,#fff,#e6edff);color:#142953;text-decoration:none;font-weight:750;font-size:14px}
.gcc-apps a:hover{background:#fff0b3;color:#961008}
.gcc-apps .gcc-app-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#0a3bcf;color:white}
.gcc-apps a:nth-of-type(3n) .gcc-app-icon{background:#ef6615}.gcc-apps a:nth-of-type(2n) .gcc-app-icon{background:#d70820}
.gcc-welcome-label{font-weight:900;color:#0734c2;display:flex;align-items:center;gap:9px;margin:9px 2px 13px}
.gcc-welcome-label::before{content:"👥";font-size:25px}
body[data-page="home"] .community-footer{background:#fff!important}
@media(max-width:1120px){body[data-page="home"] .social-layout,body[data-page="home"].hk-reference-dashboard .social-layout{grid-template-columns:minmax(190px,245px) minmax(0,1fr)!important}body[data-page="home"] .social-sidebar{grid-column:2}}
@media(max-width:760px){body[data-page="home"] .top .nav{min-height:64px!important;flex-wrap:wrap!important}body[data-page="home"] .top .brand{max-width:70%;font-size:19px!important}body[data-page="home"] .top .brand::before{min-width:46px;width:46px;height:47px}body[data-page="home"] .top .community-search{order:5;flex-basis:100%;max-width:none}body[data-page="home"] .social-layout,body[data-page="home"].hk-reference-dashboard .social-layout{grid-template-columns:minmax(0,1fr)!important}body[data-page="home"] .social-rail{grid-column:1;position:static!important}body[data-page="home"] .social-sidebar{grid-column:1}.gcc-reference-banner img{max-height:170px}body[data-page="home"] .gcc-header-actions{gap:2px}body[data-page="home"] .gcc-header-actions a{min-width:34px;font-size:20px}}

/* Final approved reference wins over pre-existing legacy premium skins. */
html body.community-unified-theme[data-page="home"]>.top :is(.brand,.brand-name){color:#082ab0!important;text-decoration:none!important;text-shadow:none!important}
html body.community-unified-theme[data-page="home"]>.top .navlinks{display:none!important}
html body.community-unified-theme[data-page="home"]>.top .community-search{order:2!important;flex:1 1 400px!important}
html body.community-unified-theme[data-page="home"]>.top .brand{order:1!important}
html body.community-unified-theme[data-page="home"]>.top .gcc-header-actions{order:3!important}
html body.community-unified-theme[data-page="home"] .social-rail{background:linear-gradient(160deg,#c50000,#8c0000 65%,#5c0000)!important;border:0!important;color:#fff!important}
html body.community-unified-theme[data-page="home"] .social-rail .rail-link[aria-current="page"]{background:linear-gradient(90deg,#ffd700,#fff254)!important;color:#210d0d!important}
html body.community-unified-theme[data-page="home"] .social-rail .rail-brand{color:#ffe217!important}
html body.community-unified-theme[data-page="home"] .social-rail .rail-link{color:#fff!important}
html body.community-unified-theme[data-page="home"] .shell{max-width:1940px!important;padding:12px clamp(8px,1vw,16px) 26px!important}
html body.community-unified-theme[data-page="home"] .social-layout{grid-template-columns:minmax(215px,285px) minmax(0,1fr) minmax(255px,335px)!important;max-width:1900px!important;gap:14px!important}
html body.community-unified-theme[data-page="home"] .gc-visitor-banner{display:none!important}
@media(max-width:1120px){html body.community-unified-theme[data-page="home"] .social-layout{grid-template-columns:minmax(190px,245px) minmax(0,1fr)!important}}
@media(max-width:760px){html body.community-unified-theme[data-page="home"] .social-layout{grid-template-columns:minmax(0,1fr)!important}html body.community-unified-theme[data-page="home"]>.top .community-search{order:5!important;flex-basis:100%!important}}
