/* v11: CHEN NETWORK showcase look (purple + gold). Loads last, overrides earlier files. */
#app{--hx-purple:#5B2BE0;--hx-purple2:#7A4DFF;--hx-gold:#FFC21A;--hx-gold2:#FFD76A}
#app .hx-top{background:linear-gradient(160deg,#1A0B4D,#3A12A8)!important;color:#fff!important;border-bottom:0!important}
#app .hx-top h1,#app .hx-top .hx-brand,#app .hx-top .hx-icon{color:#fff!important}
#app .hx-brand b{color:var(--hx-gold)!important;font-style:italic;font-family:Georgia,serif;font-weight:900}
#app .hx-top .hx-icon{background:rgba(255,255,255,.14)!important;border-radius:50%!important}
#app .hx-cta,#app .btn-primary,#app button.pri{background:var(--hx-purple)!important;color:#fff!important;border-radius:22px!important}
#app .hx-hero{background:linear-gradient(150deg,#3A12A8,#7A3BFF)!important;border-radius:18px!important}
#app .hx-row,#app .hx-post,#app .hx-ev{border-radius:16px!important}
html[data-theme="light"] #app,html[data-theme="light"] #app .hx-screen{--hx-bg:#F3F4F8}
/* bottom bar */
#app nav.hx-nav{padding-top:8px!important;border-top:1px solid var(--hx-line)!important}
html:not([data-theme="light"]) #app nav.hx-nav{background:rgba(26,11,77,.98)!important}
#app nav.hx-nav button{font-size:10px!important;min-height:50px;min-width:0}
#app nav.hx-nav button svg{width:22px;height:22px}
#app nav.hx-nav button.on{color:var(--hx-purple2)!important}
html[data-theme="light"] #app nav.hx-nav button.on{color:#5B2BE0!important}
#app nav.hx-nav button.on::before{background:var(--hx-gold)!important}
#app nav.hx-nav button.cr{overflow:visible}
#app nav.hx-nav button.cr svg{width:38px;height:38px;padding:8px;margin-top:-18px;border-radius:50%;background:linear-gradient(135deg,#7A4DFF,#5B2BE0);color:#fff!important;stroke:#fff;box-shadow:0 4px 14px rgba(91,43,224,.5);border:3px solid var(--hx-bg,#F3F4F8)}
#app nav.hx-nav button.cr.on::before{display:none}
#app nav.hx-nav button.cr.on{color:var(--hx-purple2)!important}

/* ---- splash ---- */
#app .hx-splash{background:radial-gradient(ellipse at 50% 70%,#4B1FC4,#1A0B4D 62%,#0E0630)!important}
#app .hx-splash .tag{color:#fff!important;font-weight:700;letter-spacing:.3px}
#app .hx-splash .dots span{background:var(--hx-gold)!important}

/* ---- login / sign up (these screens use inline styles, so !important is needed) ---- */
#login>div,#signup>div,#welcome1>div{background:radial-gradient(ellipse at 50% 0%,#4B1FC4,#1A0B4D 60%,#0E0630)!important;color:#fff!important;overflow-y:auto}
#login>div>div:first-child div,#signup>div>div:first-child div{color:#fff!important}
#login>div>div:first-child div:first-of-type,#signup>div>div:first-child div:first-of-type{font-family:Georgia,serif;font-style:italic;font-weight:900!important;font-size:26px!important;color:var(--hx-gold)!important;letter-spacing:.5px}
#login>div>div:nth-child(2),#signup>div>div:nth-child(2){background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:22px!important;box-shadow:none!important;backdrop-filter:blur(8px)}
#login h1,#signup h1,#login label span,#signup label span{color:#fff!important}
#login input,#signup input{background:rgba(255,255,255,.96)!important;border:0!important;border-radius:26px!important;color:#1b1340!important}
#login #li-btn,#signup #su-btn,#signup button[type="submit"]{background:var(--hx-gold)!important;color:#241500!important;border:0!important;border-radius:26px!important;font-weight:800!important}
#login button[data-go="home"],#signup button[data-go="home"]{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.55)!important;border-radius:26px!important}
#login button#forgot,#login button[data-go="signup"],#signup button[data-go="login"]{color:var(--hx-gold)!important;background:none!important}
#login #li-msg,#signup [role="alert"]{color:#ffb4c2!important}

/* ---- feed posts: showcase card ---- */
#app .hx-post{background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important;border-radius:18px!important;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) #app .hx-post{background:linear-gradient(145deg,#241660,#1A1048)!important;color:#F1EEFF!important;border-color:rgba(255,255,255,.12)!important}
#app .hx-post .av{border:2px solid var(--hx-gold)}
#app .hx-post .hd small{color:#7a77a0}

/* ===== v11b: second design (Home pills + composer, 5-slot bar, More menu) ===== */
#app .hx-top{border-radius:0 0 0 0}
#home .hx-top{padding-bottom:16px}
#home .hx-brand{gap:10px}
#home .hx-brand svg{width:46px;height:46px;border-radius:50%;border:2px solid var(--hx-gold)}
#home .hx-brand span{display:flex;flex-direction:column;line-height:1.1;font-size:19px;font-weight:900;letter-spacing:.3px}
#home .hx-brand small{font:600 11.5px Inter,sans-serif;font-style:italic;color:#fff;opacity:.95;letter-spacing:0;margin-top:2px}
#home .hx-avatar,#home .hx-hero{display:none!important}
#home .hx-top .hx-icon .dot{background:#FF3B5C!important}
.hx-pills{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px}
.hx-pills button{flex:none;border:0;border-radius:20px;padding:9px 15px;font:700 13.5px Inter,sans-serif;background:#fff;color:#1b1340;box-shadow:0 1px 5px rgba(40,20,120,.12);cursor:pointer}
.hx-pills button.on{background:linear-gradient(135deg,#5B2BE0,#3A12A8);color:#fff}
html:not([data-theme="light"]) .hx-pills button:not(.on){background:#241660;color:#F1EEFF}
.hx-cmp{background:#fff;border-radius:18px;padding:12px;margin-bottom:14px;box-shadow:0 2px 10px rgba(40,20,120,.1);color:#1b1340}
html:not([data-theme="light"]) .hx-cmp{background:linear-gradient(145deg,#241660,#1A1048);color:#F1EEFF}
.hx-cmp .r1{display:flex;align-items:center;gap:10px}
.hx-cmp .cmp-av{width:44px;height:44px;border-radius:50%;background:#5B2BE0;color:#fff;display:grid;place-items:center;font-weight:800;border:2px solid var(--hx-gold);flex:none}
.hx-cmp .cmp-in{flex:1;text-align:left;border:1px solid #e4e2f0;background:rgba(120,110,190,.08);border-radius:14px;padding:12px;font:15px Inter,sans-serif;color:#7a77a0;cursor:pointer}
.hx-cmp .r2{display:flex;gap:8px;margin-top:10px}
.hx-cmp .r2 button{flex:1;border:0;border-radius:12px;padding:10px 4px;background:rgba(120,110,190,.12);color:inherit;font:700 13.5px Inter,sans-serif;cursor:pointer}
.hx-cmp .r2 .pst{background:#5B2BE0;color:#fff;border-radius:14px}
/* 5-slot bar: big round + in the middle */
#app nav.hx-nav button.cr svg{width:56px;height:56px;padding:15px;margin-top:-26px;background:linear-gradient(135deg,#5B2BE0,#3A12A8);box-shadow:0 6px 18px rgba(58,18,168,.55)}
#app nav.hx-nav .nv-dot{left:calc(50% + 6px)}
/* More menu: list rows with a purple header card */
#menu .mn-prof{background:linear-gradient(160deg,#3A12A8,#1A0B4D)!important;color:#fff!important;border-radius:0 0 28px 28px!important;border-bottom:3px solid var(--hx-gold)!important;padding:18px!important}
#menu .mn-prof b,#menu .mn-prof small,#menu .mn-prof .ch{color:#fff!important}
#menu .mn-grid{display:flex!important;flex-direction:column!important;gap:0!important;padding:6px 6px 0}
#menu .mn-grid>*{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;width:100%!important;min-height:52px;padding:8px 10px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:left!important}
#menu .mn-grid>*[hidden]{display:none!important}
#menu .mn-grid>*::after{content:"\203A";margin-left:auto;font-size:22px;opacity:.55}
#menu .mn-grid .lb{font-size:16px!important;font-weight:600!important}
#menu .hx-logout{color:#E5173F!important}

/* ===== v11c: Home = composer + feed; Communities screen ===== */
#home .hx-quick,#home #hx-home-groups,#home .hx-sec:has(+ #hx-home-groups),#home button.hx-row[data-go="explore"]{display:none!important}
#home #hx-feed{margin-bottom:12px}
#home .hx-sec h2{font-size:17px}
/* Communities */
#groups>div>header{background:linear-gradient(160deg,#1A0B4D,#3A12A8)!important;color:#fff!important;border:0!important}
#groups>div>header h1,#groups>div>header button{color:#fff!important}
.cm-hero{margin:0 0 12px;min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;padding:18px 12px;text-align:center;color:#fff;background:radial-gradient(ellipse at 50% 100%,#ff9a3c 0,#c0398b 38%,#3A12A8 75%,#1A0B4D)}
.cm-hero b{font:900 28px Georgia,serif;font-style:italic;color:var(--hx-gold);letter-spacing:.5px}
.cm-hero span{font:700 16px Inter,sans-serif}
#group-list [data-group]{display:flex!important;align-items:center!important;gap:12px;background:#fff!important;border:1px solid #e4e2f0!important;border-radius:16px!important;margin:0 12px 10px!important;padding:12px!important;box-shadow:0 2px 10px rgba(40,20,120,.08)}
#group-list [data-group] div{color:#1b1340!important}
#group-list [data-group] div div:last-child{color:#6b6890!important}
#group-list [data-group]::after{content:"Open";flex:none;margin-left:auto;background:#5B2BE0;color:#fff;border-radius:18px;padding:8px 18px;font:700 13px Inter,sans-serif}
html:not([data-theme="light"]) #group-list [data-group]{background:linear-gradient(145deg,#241660,#1A1048)!important;border-color:rgba(255,255,255,.12)!important}
html:not([data-theme="light"]) #group-list [data-group] div{color:#F1EEFF!important}
html:not([data-theme="light"]) #group-list [data-group] div div:last-child{color:#B9B3E6!important}

/* ===== v11d: More menu = list with plain purple icons, new order, banner ===== */
#menu .mn-t i{background:none!important;box-shadow:none!important;width:30px!important;height:30px!important;border-radius:0!important;flex:none}
#menu .mn-t i svg{stroke:#5B2BE0!important;width:26px!important;height:26px!important}
html:not([data-theme="light"]) #menu .mn-t i svg{stroke:#B9A5FF!important}
#menu .mn-t .lb{flex:1;font-size:16px!important;font-weight:600!important;text-align:left}
#menu .mn-t .st{display:none}
#menu .mn-t .bdg{position:static!important;margin-left:auto;background:#E5173F;color:#fff;border-radius:12px;min-width:22px;height:22px;display:grid;place-items:center;font:800 12px Inter,sans-serif;padding:0 6px}
#menu .mn-t .bdg[hidden]{display:none}
#menu .mn-grid>*::after{margin-left:6px!important}
#menu .mn-grid>*{order:50}
#menu .mn-grid [data-go="groups"]{order:1}
#menu .mn-grid [data-go="messages"]{order:2}
#menu .mn-grid [data-go="notifications"]{order:3}
#menu .mn-grid [data-go="updates"]{order:4}
#menu .mn-grid [data-go="myposts"]{order:5}
#menu .mn-grid [data-go="explore"]{order:6}
#menu .mn-grid [data-mn="events"]{order:7}
#menu .mn-grid [data-go="announcements"]{order:8}
#menu .mn-grid [data-go="versecard"]{order:9}
#menu .mn-grid [data-go="invite"]{order:10}
#menu .mn-grid [data-mn="push"]{order:11}
#menu .mn-grid [data-mn="install"]{order:12}
#menu .mn-grid [data-go="appsettings"]{order:13}
#menu .an-foot{font-size:0!important;margin:14px 12px 10px!important;padding:16px;border-radius:18px;background:linear-gradient(135deg,#3A12A8,#1A0B4D);border-bottom:3px solid var(--hx-gold);text-align:center}
#menu .an-foot::before{content:"Grow in Faith Together";font:italic 900 24px Georgia,serif;color:var(--hx-gold)}

/* ===== v11e: Prayer Requests, chat bubbles, profile cover ===== */
#menu .mn-grid [data-go="prayers"]{order:3}
.pr-new{width:100%;border:0;border-radius:24px;padding:13px;margin:4px 0 12px;background:linear-gradient(135deg,#5B2BE0,#3A12A8);color:#fff;font:800 15px Inter,sans-serif;cursor:pointer}
.pr-card{background:#fff;color:#1b1340;border:1px solid #e4e2f0;border-radius:18px;padding:14px;margin-bottom:10px;box-shadow:0 2px 10px rgba(40,20,120,.08)}
.pr-card p{margin:10px 0 0;line-height:1.5;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}
.pr-hd{display:flex;align-items:center;gap:10px}
.pr-hd small{display:block;color:#7a77a0;font-size:12px}
.pr-av{width:42px;height:42px;border-radius:50%;background:#5B2BE0;color:#fff;display:grid;place-items:center;font-weight:800;border:2px solid var(--hx-gold);flex:none}
.pr-note{text-align:center;color:#7a77a0;padding:24px 12px}
html:not([data-theme="light"]) .pr-card{background:linear-gradient(145deg,#241660,#1A1048);color:#F1EEFF;border-color:rgba(255,255,255,.12)}
/* chat bubbles */
.dmb.mine,#msgs .mine{background:linear-gradient(135deg,#5B2BE0,#3A12A8)!important;color:#fff!important;border-color:transparent!important}
.dmb.their{background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important}
html:not([data-theme="light"]) .dmb.their{background:#2a1f66!important;color:#F1EEFF!important;border-color:rgba(255,255,255,.12)!important}
.dmh,#chat>div>header{background:linear-gradient(160deg,#1A0B4D,#3A12A8)!important;color:#fff!important;border-bottom:0!important}
.dmh .dmwho,#chat>div>header button,#chat>div>header div{color:#fff!important}
/* profile cover */
.pf-head{position:relative;padding-top:104px!important;text-align:center}
.pf-head::before{content:"";position:absolute;left:0;right:0;top:0;height:112px;background:linear-gradient(135deg,#ff9a3c,#c0398b 48%,#3A12A8)}
#me-avatar{position:relative;width:92px!important;height:92px!important;margin:-48px auto 8px!important;border:4px solid var(--hx-bg,#F3F4F8)!important;font-size:34px!important}
#me-name{font-weight:900!important;font-size:21px!important}
.pf-stats{margin:10px 14px!important;border-radius:18px!important;background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important;box-shadow:0 2px 10px rgba(40,20,120,.08)}
.pf-stats div{color:inherit!important}
html:not([data-theme="light"]) .pf-stats{background:linear-gradient(145deg,#241660,#1A1048)!important;color:#F1EEFF!important;border-color:rgba(255,255,255,.12)!important}

/* ===== v11f: Saved Posts, Help, About ===== */
#menu .mn-grid [data-go="saved"]{order:6}
#menu .mn-grid [data-go="help"]{order:14}
#menu .mn-grid [data-go="about"]{order:15}
.hx-post .pf .bm,.pr-card .bm{background:none;border:0;color:#7a77a0;min-width:40px;min-height:40px;margin-left:auto;display:grid;place-items:center;cursor:pointer}
.bm svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bm.on{color:#5B2BE0}.bm.on svg{fill:currentColor}
html:not([data-theme="light"]) .bm.on{color:#B9A5FF}
.hp details{background:#fff;color:#1b1340;border:1px solid #e4e2f0;border-radius:16px;padding:14px;margin-bottom:10px}
.hp summary{font-weight:700;cursor:pointer;min-height:24px}
.hp details p{margin:10px 0 0;line-height:1.5;font-size:14.5px}
html:not([data-theme="light"]) .hp details{background:linear-gradient(145deg,#241660,#1A1048);color:#F1EEFF;border-color:rgba(255,255,255,.12)}
.ab{text-align:center;padding:30px 16px}
.ab-logo{font:900 44px Georgia,serif;font-style:italic;color:var(--hx-gold)}
.ab b{display:block;font-size:20px;letter-spacing:6px;margin-bottom:14px}
.ab p{line-height:1.5;margin:6px 0}.ab small{display:block;margin-top:18px;opacity:.6}

/* ===== v11g: Discover, Settings, Notifications ===== */
#explore .hx-tabs{display:flex;gap:8px;padding:12px 14px 4px;overflow-x:auto;border:0!important;background:none!important}
#explore .hx-tabs button{flex:none;border:0!important;border-radius:20px!important;padding:9px 16px!important;font:700 13.5px Inter,sans-serif!important;background:#fff!important;color:#1b1340!important;box-shadow:0 1px 5px rgba(40,20,120,.12)!important}
#explore .hx-tabs button.on{background:linear-gradient(135deg,#5B2BE0,#3A12A8)!important;color:#fff!important}
html:not([data-theme="light"]) #explore .hx-tabs button:not(.on){background:#241660!important;color:#F1EEFF!important}
#explore .hx-map{border-radius:18px!important;overflow:hidden}
#explore .hx-sec h2{font-size:17px}
.hx-set{display:flex!important;align-items:center;gap:14px;width:100%;text-align:left;background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important;border-radius:16px!important;padding:14px!important;margin-bottom:10px;box-shadow:0 2px 10px rgba(40,20,120,.08);cursor:pointer}
.hx-set .ic{width:40px;height:40px;border-radius:12px;background:rgba(91,43,224,.12)!important;display:grid;place-items:center;flex:none}
.hx-set .ic svg{stroke:#5B2BE0!important;width:22px;height:22px}
.hx-set b{display:block;font-size:15.5px}.hx-set small{display:block;color:#6b6890;margin-top:2px}
.hx-set .ch{margin-left:auto;font-size:24px;opacity:.5}
html:not([data-theme="light"]) .hx-set{background:linear-gradient(145deg,#241660,#1A1048)!important;color:#F1EEFF!important;border-color:rgba(255,255,255,.12)!important}
html:not([data-theme="light"]) .hx-set small{color:#B9B3E6}
.hx-logout{display:block;width:100%;margin-top:14px;padding:14px;border-radius:26px!important;border:1.5px solid #E5173F!important;background:transparent!important;color:#E5173F!important;font:800 15px Inter,sans-serif!important;cursor:pointer}
#notifications>div>header{background:linear-gradient(160deg,#1A0B4D,#3A12A8)!important;color:#fff!important;border:0!important}
#notifications>div>header h1,#notifications>div>header button{color:#fff!important}
#notifications [data-scroll]>div{background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important;border-radius:16px!important;margin:0 12px 10px!important;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) #notifications [data-scroll]>div{background:linear-gradient(145deg,#241660,#1A1048)!important;color:#F1EEFF!important;border-color:rgba(255,255,255,.12)!important}

/* ===== v11h: fixes from first phone test ===== */
/* purple headers on every screen; selectors beat the light/dark theme rules */
html[data-theme="light"] #app section>div>header,html:not([data-theme="light"]) #app section>div>header{background:linear-gradient(160deg,#1A0B4D,#3A12A8)!important;color:#fff!important;border-bottom:0!important}
html[data-theme="light"] #app section>div>header h1,html:not([data-theme="light"]) #app section>div>header h1,html #app section>div>header .hx-brand,html #app section>div>header small,html #app section>div>header button:not(.hx-avatar){color:#fff!important}
html #app section>div>header .hx-icon,html #app section>div>header>div>button:not(.hx-avatar){background:rgba(255,255,255,.14)!important;border-radius:50%!important}
html #app section>div>header svg{stroke:currentColor}
html #app section>div>header .hx-brand b{color:var(--hx-gold)!important}
/* the Invite row from v9 stays out of Home (it is in the More menu) */
#home #hx-inv-row{display:none!important}
/* pills: no scrollbar, tighter so More fits */
.hx-pills{scrollbar-width:none;-ms-overflow-style:none;gap:6px}
.hx-pills::-webkit-scrollbar{display:none}
.hx-pills button{padding:9px 12px;font-size:13px}
/* create button: right size */
#app nav.hx-nav button.cr svg{box-sizing:border-box;width:52px;height:52px;padding:14px;margin-top:-22px}

/* ===== v11i: community rows/cards, social sign-in ===== */
html[data-theme="light"] #app .hx-row{background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) #app .hx-row{background:linear-gradient(145deg,#241660,#1A1048)!important;color:#F1EEFF!important;border:1px solid rgba(255,255,255,.12)!important}
#app .hx-row .tx small{color:#7a77a0}
html:not([data-theme="light"]) #app .hx-row .tx small{color:#B9B3E6}
#app .hx-row .go{background:#5B2BE0!important;color:#fff!important;border-radius:18px!important;padding:0 20px!important}
/* Popular Communities: two-column cards */
#hx-trend-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#hx-trend-list .hx-row{flex-direction:column;align-items:stretch;text-align:center;margin:0!important;padding:10px!important}
#hx-trend-list .hx-row .av{width:100%!important;height:84px!important;border-radius:14px!important;font-size:22px!important}
#hx-trend-list .hx-row .tx b{white-space:normal;font-size:14px;margin-top:4px}
/* social sign-in */
.so-row{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.so-or{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.7);font-size:13px}
.so-or::before,.so-or::after{content:"";flex:1;height:1px;background:rgba(255,255,255,.25)}
.so-b{border:0;border-radius:26px;padding:13px;font:700 14.5px Inter,sans-serif;cursor:pointer}
.so-google{background:#fff;color:#1b1340}
.so-facebook{background:#1877F2;color:#fff}
.so-apple{background:#000;color:#fff}
.so-b:disabled{opacity:.6}

/* ===== v11j: Bible screen ===== */
#bible #bb-search{border-radius:26px!important;border:1px solid #e4e2f0!important}
#bible [data-scroll]>div:nth-child(2){background:linear-gradient(150deg,#3A12A8,#7A3BFF)!important;color:#fff!important;border:0!important;border-radius:20px!important}
#bible [data-scroll]>div:nth-child(2) *{color:#fff!important}
#bible [data-scroll]>div:nth-child(2) p{font-family:Georgia,serif!important;font-size:18px!important;line-height:1.45!important}
#bible [data-scroll]>div:nth-child(2) button{background:var(--hx-gold)!important;color:#241500!important;border-radius:18px!important;border:0!important;font-weight:800!important}
#bible [data-scroll]>div:nth-child(3){background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important;border-radius:18px!important;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) #bible [data-scroll]>div:nth-child(3){background:linear-gradient(145deg,#241660,#1A1048)!important;color:#F1EEFF!important;border-color:rgba(255,255,255,.12)!important}
#bible [data-scroll]>div:nth-child(3) button{background:#5B2BE0!important;color:#fff!important;border:0!important;border-radius:18px!important;font-weight:800!important}
#bible [data-bt]{border:0!important;border-radius:20px!important;background:#fff!important;color:#1b1340!important;box-shadow:0 1px 5px rgba(40,20,120,.12);font-weight:700!important}
html:not([data-theme="light"]) #bible [data-bt]{background:#241660!important;color:#F1EEFF!important}
#bible [data-bt].on,#bible [data-bt][aria-selected="true"],#bible [data-bt][aria-pressed="true"]{background:linear-gradient(135deg,#5B2BE0,#3A12A8)!important;color:#fff!important}
#bible #bb-list>button{background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important;border-radius:14px!important;margin-bottom:8px!important}
html:not([data-theme="light"]) #bible #bb-list>button{background:linear-gradient(145deg,#241660,#1A1048)!important;color:#F1EEFF!important;border-color:rgba(255,255,255,.12)!important}
#bible #bb-list>div{color:#5B2BE0!important;font-weight:800!important;letter-spacing:.4px}
html:not([data-theme="light"]) #bible #bb-list>div{color:#B9A5FF!important}
#np-tpls button{border:0!important;border-radius:20px!important;background:rgba(91,43,224,.12)!important;color:inherit!important;font-weight:700!important}

/* ===== v11k: stories ===== */
.st-row{display:flex;gap:12px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}
.st-row::-webkit-scrollbar{display:none}
.st-b{flex:none;background:none;border:0;padding:0;text-align:center;cursor:pointer;color:inherit;width:62px}
.st-b small{display:block;margin-top:4px;font-size:12px;color:#6b6890;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-c{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;margin:0 auto;font:800 20px Inter,sans-serif;color:#fff;background:#5B2BE0}
.st-ring{border:3px solid var(--hx-gold);box-shadow:0 0 0 2px #5B2BE0 inset}
.st-add{background:#fff;color:#5B2BE0;border:2px dashed #5B2BE0;font-size:28px}
html:not([data-theme="light"]) .st-add{background:#241660;color:#B9A5FF;border-color:#B9A5FF}
.st-ov{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:70px 24px 40px;color:#fff;text-align:center;font-family:Inter,sans-serif}
.st-ov p{font:italic 700 26px/1.4 Georgia,serif;overflow-wrap:anywhere;max-width:420px}
.st-bars{position:absolute;top:14px;left:14px;right:14px;display:flex;gap:4px}
.st-bars i{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.35)}.st-bars i.on{background:#fff}
.st-who{position:absolute;top:30px;left:16px;font-weight:700;font-size:14px}
.st-x{position:absolute;top:22px;right:12px;background:rgba(0,0,0,.25);border:0;color:#fff;width:42px;height:42px;border-radius:50%;font-size:26px;cursor:pointer}
.st-new textarea{width:100%;max-width:420px;min-height:200px;background:rgba(255,255,255,.14);border:0;border-radius:18px;padding:16px;color:#fff;font:italic 700 22px/1.4 Georgia,serif;text-align:center;resize:none}
.st-new textarea::placeholder{color:rgba(255,255,255,.7)}
.st-sw{display:flex;gap:12px;margin:16px 0 8px}
.st-sw button{width:38px;height:38px;border-radius:50%;border:3px solid #fff;cursor:pointer}
.st-new #st-e{font:600 14px Inter,sans-serif;min-height:20px;margin:0}
.st-go{border:0;border-radius:26px;padding:13px 34px;background:var(--hx-gold);color:#241500;font:800 15px Inter,sans-serif;cursor:pointer}

/* ===== v11l: About CHEN NETWORK on the first screen + About page ===== */
.hx-welcome{overflow-y:auto}
.wl-about{margin:14px auto 16px;max-width:360px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;text-align:left}
.wl-about p{margin:0 0 10px;font-size:14.5px;line-height:1.45;text-align:center}
.wl-about ul,.ab-ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.wl-about li,.ab-ul li{position:relative;padding-left:26px;font-size:14px;line-height:1.4}
.wl-about li::before,.ab-ul li::before{content:"";position:absolute;left:4px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--hx-gold)}
.wl-about b{color:var(--hx-gold)}
.ab-ul{text-align:left;max-width:320px;margin:14px auto 0}
.ab-ul b{color:#5B2BE0}
html:not([data-theme="light"]) .ab-ul b{color:#FFC21A}
@media (max-height:720px){.hx-welcome .scene{display:none}}

/* ===== v11m: Create Post ===== */
.np-who{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.np-who .cmp-av{width:46px;height:46px;border-radius:50%;background:#5B2BE0;color:#fff;display:grid;place-items:center;font-weight:800;border:2px solid var(--hx-gold);flex:none}
.np-who b{display:block;font-size:16px}
.np-who small{display:inline-block;margin-top:2px;padding:2px 10px;border-radius:12px;background:rgba(91,43,224,.12);color:#5B2BE0;font-weight:700;font-size:12px}
html:not([data-theme="light"]) .np-who small{color:#B9A5FF}
#newpost #np-text{background:#fff!important;color:#1b1340!important;border:1px solid #e4e2f0!important;border-radius:18px!important;padding:16px!important;font-size:17px!important;min-height:160px;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) #newpost #np-text{background:linear-gradient(145deg,#241660,#1A1048)!important;color:#F1EEFF!important;border-color:rgba(255,255,255,.12)!important}
#newpost #np-add,#newpost #np-addv{display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;border:0!important;border-radius:16px!important;padding:14px!important;background:rgba(91,43,224,.12)!important;color:#5B2BE0!important;font-weight:800!important}
html:not([data-theme="light"]) #newpost #np-add,html:not([data-theme="light"]) #newpost #np-addv{color:#D4C8FF!important}
#newpost #np-add::before,#newpost #np-addv::before{content:"";width:24px;height:24px;background-size:contain;background-repeat:no-repeat}
#newpost #np-add::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B2BE0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E")}
#newpost #np-addv::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M15 10l6-3v10l-6-3z'/%3E%3C/svg%3E")}
#newpost #np-btn{position:sticky;bottom:10px;border-radius:26px!important;background:linear-gradient(135deg,#5B2BE0,#3A12A8)!important;color:#fff!important;font-weight:800!important;box-shadow:0 6px 18px rgba(58,18,168,.4)}

/* ===== v11n: Profile now lives in the Menu tab ===== */
#menu .mn-grid [data-go="profile"]{order:0}

/* ===== v11o: Home cards (Groups, Bible, Bible Study) ===== */
.hm-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.hm-card{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:104px;padding:12px 10px;border:0;border-radius:18px;color:#fff;text-align:left;cursor:pointer;box-shadow:0 4px 12px rgba(40,20,120,.18)}
.hm-card b{font:800 15px Inter,sans-serif;margin-top:auto}
.hm-card small{font:600 11.5px Inter,sans-serif;opacity:.92;line-height:1.25}
.hm-ic{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.22);margin-bottom:6px}
.hm-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hm-card.c1{background:linear-gradient(135deg,#5B2BE0,#3A12A8)}
.hm-card.c2{background:linear-gradient(135deg,#ffc21a,#ff9a3c);color:#241500}
.hm-card.c2 .hm-ic{background:rgba(36,21,0,.12)}
.hm-card.c3{background:linear-gradient(135deg,#c0398b,#7a3bff)}
.hm-card:focus-visible{outline:3px solid var(--hx-gold);outline-offset:2px}

/* ===== v11p: Channels ===== */
#menu .mn-grid [data-go="channels"]{order:4}
.ch-card{display:flex;align-items:center;gap:10px;background:#fff;color:#1b1340;border:1px solid #e4e2f0;border-radius:18px;padding:10px;margin-bottom:10px;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) .ch-card{background:linear-gradient(145deg,#241660,#1A1048);color:#F1EEFF;border-color:rgba(255,255,255,.12)}
.ch-main{flex:1;min-width:0;display:flex;align-items:center;gap:12px;background:none;border:0;padding:0;color:inherit;text-align:left;cursor:pointer;font-family:inherit}
.ch-ic{flex:none;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:#fff;font:800 20px Inter,sans-serif}
.ch-tx{min-width:0;display:flex;flex-direction:column;gap:1px}
.ch-tx b{font-size:15.5px}
.ch-tx small{color:#6b6890;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html:not([data-theme="light"]) .ch-tx small{color:#B9B3E6}
.ch-tx em{font-style:normal;font-size:12px;color:#5B2BE0;font-weight:700}
html:not([data-theme="light"]) .ch-tx em{color:#B9A5FF}
.ch-fol{flex:none;border:0;border-radius:18px;padding:9px 16px;background:#5B2BE0;color:#fff;font:700 13px Inter,sans-serif;cursor:pointer;min-height:38px}
.ch-fol.on{background:rgba(91,43,224,.14);color:#5B2BE0}
html:not([data-theme="light"]) .ch-fol.on{color:#D4C8FF}
.ch-infoc,.ch-compc{background:#fff;color:#1b1340;border:1px solid #e4e2f0;border-radius:18px;padding:14px;margin-bottom:12px;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) .ch-infoc,html:not([data-theme="light"]) .ch-compc{background:linear-gradient(145deg,#241660,#1A1048);color:#F1EEFF;border-color:rgba(255,255,255,.12)}
.ch-infoc p{margin:0 0 10px;line-height:1.5;font-size:14.5px}
.ch-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ch-row small{color:#6b6890;font-weight:600}
.ch-compc textarea{width:100%;min-height:90px;border:1px solid #e4e2f0;border-radius:14px;padding:12px;font:15px Inter,sans-serif;background:rgba(120,110,190,.08);color:inherit;resize:vertical}
.ch-compc #ch-e,#nc-e{min-height:18px;margin:6px 0;color:#E5173F;font-size:13px;font-weight:600}
.md-ov{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(14,6,48,.6)}
.md-card{width:100%;max-width:380px;background:#fff;color:#1b1340;border-radius:20px;padding:18px;font-family:Inter,sans-serif}
html:not([data-theme="light"]) .md-card{background:#1A1048;color:#F1EEFF}
.md-card h2{margin:0 0 12px;font-size:19px}
.md-card label{display:block;font-weight:700;font-size:13px;margin-bottom:10px}
.md-card input{display:block;width:100%;margin-top:4px;padding:12px;border:1px solid #e4e2f0;border-radius:12px;font:15px Inter,sans-serif;background:rgba(120,110,190,.08);color:inherit}
.md-card .st-sw{margin:6px 0}
.md-card .st-sw button[aria-pressed="true"]{outline:3px solid #5B2BE0;outline-offset:2px}
.md-row{display:flex;gap:10px;justify-content:flex-end;margin-top:8px}
.md-row button{border:0;border-radius:20px;padding:11px 20px;font:700 14px Inter,sans-serif;cursor:pointer}
.md-x{background:rgba(120,110,190,.15);color:inherit}.md-go{background:#5B2BE0;color:#fff}

/* ===== v11q: shared modal text ===== */
.md-sub{margin:0 0 12px;font-size:13.5px;line-height:1.45;opacity:.85}

/* ===== v11r: channel videos ===== */
.ch-adm{display:flex;gap:10px;margin-top:12px}
.vd-up{flex:1;min-height:46px;border:0;border-radius:23px;background:#5B2BE0;color:#fff;font:800 15px Inter,sans-serif;cursor:pointer}
.ch-h{margin:6px 2px 10px;font:800 17px Inter,sans-serif}
.vd-card{background:#fff;color:#1b1340;border:1px solid #e4e2f0;border-radius:18px;overflow:hidden;margin-bottom:12px;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) .vd-card{background:linear-gradient(145deg,#241660,#1A1048);color:#F1EEFF;border-color:rgba(255,255,255,.12)}
.vd-card video{display:block;width:100%;max-height:60vh;background:#000}
.vd-hd{display:flex;align-items:center;gap:8px;padding:10px 12px}
.vd-hd b{display:block;font-size:15px}
.vd-hd small{color:#7a77a0}

/* ===== v11t: Bible Study ===== */
#menu .mn-grid [data-go="study"]{order:6}
.sd-today{margin-bottom:14px;padding:16px;border-radius:20px;color:#fff;background:linear-gradient(150deg,#3A12A8,#7A3BFF);box-shadow:0 4px 14px rgba(58,18,168,.3)}
.sd-today small{display:block;opacity:.9;font-weight:600;font-size:12.5px}
.sd-today h2{margin:2px 0 6px;font:800 21px Inter,sans-serif}
.sd-today p{margin:0 0 12px;font:italic 700 18px/1.4 Georgia,serif}
.sd-btns{display:flex;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.sd-go,.sd-alt{min-height:46px;padding:0 20px;border:0;border-radius:23px;font:800 14.5px Inter,sans-serif;cursor:pointer}
.sd-go{background:var(--hx-gold);color:#241500}
.sd-alt{background:rgba(255,255,255,.2);color:#fff}
.sd-bar{height:8px;border-radius:4px;background:rgba(255,255,255,.25);margin:4px 0 8px;overflow:hidden}
.sd-bar i{display:block;height:100%;background:var(--hx-gold);border-radius:4px}
.sd-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:10px}
.sd-d{min-height:44px;border:1px solid #e4e2f0;border-radius:12px;background:#fff;color:#1b1340;font:700 14px Inter,sans-serif;cursor:pointer}
.sd-d.on{background:#5B2BE0;border-color:#5B2BE0;color:#fff}
html:not([data-theme="light"]) .sd-d:not(.on){background:#241660;color:#F1EEFF;border-color:rgba(255,255,255,.12)}
.sd-reset{display:block;margin:0 auto 14px;background:none;border:0;color:#6b6890;font:600 13px Inter,sans-serif;text-decoration:underline;min-height:44px;cursor:pointer}

/* ===== v11u: channel photos ===== */
.ch-cr{display:flex;gap:10px;align-items:center}
.ch-cr .pr-new{margin:0;flex:1}
.ch-ph{flex:none;min-height:48px;padding:0 18px;border:0;border-radius:24px;background:rgba(91,43,224,.12);color:#5B2BE0;font:800 14px Inter,sans-serif;cursor:pointer}
html:not([data-theme="light"]) .ch-ph{color:#D4C8FF}
.ch-pvc{position:relative;margin:10px 0}
.ch-pvc img{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:14px}
.ch-pvc button{position:absolute;top:8px;right:8px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:24px;cursor:pointer}
.pr-imga{display:block;margin-top:10px}
.pr-img{display:block;width:100%;max-height:420px;object-fit:cover;border-radius:14px;background:rgba(120,110,190,.15)}

/* ===== v11v: study plans with weeks and questions ===== */
.sd-qh{margin:10px 0 2px!important;font:800 12px Inter,sans-serif!important;letter-spacing:.6px;text-transform:uppercase;opacity:.85;font-style:normal!important}
.sd-q{margin:0 0 14px;padding-left:20px;font:600 15px/1.5 Inter,sans-serif}
.sd-q li{margin-bottom:6px}
.sd-wk{margin:14px 2px 8px;font:800 14px Inter,sans-serif}
.sd-d.sel{outline:3px solid var(--hx-gold);outline-offset:1px}

/* ===== v11w: analytics insights ===== */
#an-ins{margin-bottom:6px}
.ins-card{background:#fff;color:#1b1340;border:1px solid #e4e2f0;border-radius:18px;padding:14px;margin-bottom:12px;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) .ins-card{background:linear-gradient(145deg,#241660,#1A1048);color:#F1EEFF;border-color:rgba(255,255,255,.12)}
.ins-card h3{margin:0 0 6px;font:800 16px Inter,sans-serif}
.ins-card em{font-style:normal;font-weight:700;font-size:12px;color:#6b6890}
.ins-card em.up{color:#14804a}.ins-card em.dn{color:#d1243f}
html:not([data-theme="light"]) .ins-card em.up{color:#4fd18b}html:not([data-theme="light"]) .ins-card em.dn{color:#ff8097}
.ins-sub{margin:6px 0 0;font:500 13px/1.45 Inter,sans-serif;color:#6b6890}
html:not([data-theme="light"]) .ins-sub{color:#B9B3E6}
.ins-hero{background:linear-gradient(150deg,#3A12A8,#7A3BFF)!important;color:#fff!important;border:0!important}
.ins-hero small{opacity:.9;font-weight:600}
.ins-hero h2{margin:2px 0 6px;font:800 24px Inter,sans-serif}
.ins-hero p{margin:0 0 12px;font:500 14px/1.45 Inter,sans-serif}
.ins-hero em,.ins-hero em.up,.ins-hero em.dn{color:#fff!important}
.ins-kp{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.ins-kp div{background:rgba(255,255,255,.14);border-radius:14px;padding:10px}
.ins-kp b{display:block;font:800 22px Inter,sans-serif}
.ins-kp span{font:600 12px Inter,sans-serif;opacity:.95}
.ins-share{width:100%;min-height:46px;border:0;border-radius:23px;background:var(--hx-gold);color:#241500;font:800 14.5px Inter,sans-serif;cursor:pointer}
.ins-big{font:900 40px Inter,sans-serif;color:#5B2BE0}
html:not([data-theme="light"]) .ins-big{color:#FFC21A}
.ins-bars{display:flex;align-items:flex-end;gap:4px;height:120px;margin-top:10px}
.ins-b{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;text-align:center}
.ins-b>i{display:block;border-radius:5px 5px 0 0;background:#5B2BE0;min-height:3px}
.ins-b>span{font:600 10px Inter,sans-serif;color:#6b6890;margin-top:3px;white-space:nowrap;overflow:hidden}
.ins-stack{height:150px}
.ins-stack .ins-b{height:calc(100% - 0px)}
.ins-st{display:flex;flex-direction:column;border-radius:5px 5px 0 0;overflow:hidden;min-height:3px}
.ins-st i{display:block}
.ins-st .r,.ins-leg .r{background:#5B2BE0}
.ins-st .n,.ins-leg .n{background:#FFC21A}
.ins-st .o,.ins-leg .o{background:#b9a5ff}
.ins-leg{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;font:600 12px Inter,sans-serif}
.ins-leg span{display:flex;align-items:center;gap:5px}
.ins-leg i{display:inline-block;width:12px;height:12px;border-radius:3px}
.ins-row{margin:10px 0}
.ins-rt{display:flex;justify-content:space-between;gap:8px;font-size:14px}
.ins-rt small{color:#6b6890;font-weight:600;white-space:nowrap}
html:not([data-theme="light"]) .ins-rt small{color:#B9B3E6}
.ins-rb{height:8px;border-radius:4px;background:rgba(120,110,190,.18);margin-top:5px;overflow:hidden}
.ins-rb i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#5B2BE0,#7A3BFF)}
.ins-fr{display:flex;align-items:center;gap:8px;padding:9px 0;border-top:1px solid rgba(120,110,190,.18);font-size:14px}
.ins-fr:first-of-type{border-top:0}
.ins-fr span{flex:1}.ins-fr b{font:800 16px Inter,sans-serif}


/* ===== v11z: legal links and support ===== */
#menu .mn-grid [href="privacy.html"]{order:16}
#menu .mn-grid [href="terms.html"]{order:17}
#menu a.mn-t{text-decoration:none;color:inherit}
.lg-legal{margin:12px 0 0;font:500 12.5px/1.5 Inter,sans-serif;color:rgba(255,255,255,.85);text-align:center}
.lg-legal a{color:var(--hx-gold);text-decoration:underline}
.sp-card{background:#fff;color:#1b1340;border:1px solid #e4e2f0;border-radius:18px;padding:16px;margin:14px 0;box-shadow:0 2px 10px rgba(40,20,120,.08)}
html:not([data-theme="light"]) .sp-card{background:linear-gradient(145deg,#241660,#1A1048);color:#F1EEFF;border-color:rgba(255,255,255,.12)}
.sp-card h3{margin:0 0 6px;font:800 17px Inter,sans-serif}
.sp-card p{margin:0 0 10px;font:500 14px/1.5 Inter,sans-serif}
.sp-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.sp-b{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:23px;background:#5B2BE0;color:#fff;font:800 14.5px Inter,sans-serif;text-decoration:none}
.sp-wa{background:#128C4F}
.sp-links{margin:0!important;font-size:13px!important}
.sp-links a,.ab-links a{color:#5B2BE0;font-weight:700}
html:not([data-theme="light"]) .sp-links a,html:not([data-theme="light"]) .ab-links a{color:#D4C8FF}
.ab-links{margin-top:16px!important;font-size:14px}
