:root{--bg:#F4FAF6;--card:#fff;--ink:#0B2E1D;--mute:#4F6B5C;--line:#D3E8DA;--blue:#008751;--gold:#F2B230;--pink:#D6336C;--green:#006B40;--onblue:#fff;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#07150E;--card:#0F2619;--ink:#EAF7EF;--mute:#9DBBA9;--line:#1F4030;--blue:#3FCB85;--onblue:#04140B;--green:#2FAE72}}
:root[data-theme="dark"]{--bg:#07150E;--card:#0F2619;--ink:#EAF7EF;--mute:#9DBBA9;--line:#1F4030;--blue:#3FCB85;--onblue:#04140B;--green:#2FAE72}
*{box-sizing:border-box;margin:0}
html,body{height:100%}
body{background:var(--bg);color:var(--ink);font:400 15px/1.45 Figtree,system-ui,sans-serif;display:flex;justify-content:center}
h1,h2,h3,.d{font-family:'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-.01em}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
#app{width:100%;max-width:440px;height:100%;display:flex;flex-direction:column;position:relative;background:#06150d url(eagle.jpg) center top/cover no-repeat}
#app::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,18,10,.25),rgba(3,18,10,.72));pointer-events:none}
#view{position:relative;z-index:1;flex:1;overflow-y:auto;padding:16px 16px 96px}
.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.top h1{font-size:24px;font-weight:800}
.chip{padding:6px 12px;border:1px solid var(--line);border-radius:99px;font-size:13px;background:var(--card)}
.chip.on{background:var(--blue);color:var(--onblue);border-color:var(--blue)}
.row{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px;padding-bottom:2px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:12px}
.hero{border-radius:20px;padding:20px;margin-bottom:16px;color:#fff;background:
radial-gradient(circle at 20% 30%,transparent 0 9px,rgba(242,178,48,.35) 10px 11px,transparent 12px) 0 0/34px 34px,
radial-gradient(circle at 70% 60%,transparent 0 5px,rgba(255,255,255,.2) 6px 7px,transparent 8px) 0 0/22px 22px,#008751;cursor:pointer;text-align:left;width:100%;display:block;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;right:16px;top:16px;width:42px;height:28px;border-radius:4px;background:linear-gradient(90deg,#008751 33.3%,#fff 33.3% 66.6%,#008751 66.6%);box-shadow:0 0 0 2px rgba(255,255,255,.7)}
.hero h2{font-size:26px;font-weight:800;line-height:1.1;margin:6px 0}
.hero small{opacity:.9}
.btn{background:var(--blue);color:var(--onblue);padding:10px 16px;border-radius:12px;font-weight:600}
.btn.gold{background:var(--gold);color:#0B2E1D}
.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}
.btn.sel{background:var(--green);color:#fff}
.sec{font-size:17px;font-weight:800;margin:18px 0 8px}
.mute{color:var(--mute);font-size:13px}
.av{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;flex:none;font-family:'Bricolage Grotesque',sans-serif}
.flex{display:flex;gap:10px;align-items:center}
.sp{justify-content:space-between}
.voice{display:flex;align-items:center;gap:10px;background:var(--bg);border:1px solid var(--line);border-radius:99px;padding:6px 12px 6px 6px;margin-top:8px}
.play{width:30px;height:30px;border-radius:50%;background:var(--blue);color:var(--onblue);display:grid;place-items:center;font-size:12px;flex:none}
.wave{flex:1;height:22px;display:flex;align-items:center;gap:2px}
.wave i{display:block;width:3px;background:var(--blue);border-radius:2px;opacity:.55}
.playing .wave i{animation:b .7s ease-in-out infinite alternate}
@keyframes b{to{transform:scaleY(.3)}}
.bar{height:8px;background:var(--line);border-radius:9px;overflow:hidden;margin:8px 0 4px}
.bar b{display:block;height:100%;background:var(--gold)}
nav{z-index:3;position:absolute;left:0;right:0;bottom:0;background:var(--card);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:8px 4px calc(8px + env(safe-area-inset-bottom,0px))}
nav button{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:var(--mute);min-width:56px;padding:4px}
nav button span{font-size:20px}
nav button.on{color:var(--blue);font-weight:600}
#mic{z-index:3;position:absolute;right:16px;bottom:84px;width:58px;height:58px;border-radius:50%;background:var(--pink);color:#fff;font-size:24px;box-shadow:0 6px 18px rgba(214,51,108,.45)}
#mic.rec{animation:pulse 1s infinite}
@keyframes pulse{50%{transform:scale(1.1)}}
#toast{z-index:4;position:absolute;left:16px;right:16px;bottom:150px;background:var(--ink);color:var(--bg);padding:12px 14px;border-radius:12px;font-size:14px;display:none}
.back{margin-bottom:10px;color:var(--blue);font-weight:600}
.kv{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
.kv:last-child{border:0}
.badge{display:inline-block;padding:2px 8px;border-radius:99px;font-size:12px;background:var(--gold);color:#0B2E1D;font-weight:600}
@media(prefers-reduced-motion:reduce){*{animation:none!important}}

.top h1,.sec,.back{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.btn.ghost{background:var(--card)}
.card{background:color-mix(in srgb,var(--card) 92%,transparent)}

/* Integrated Ayò game tab */
nav button{flex:1;min-width:0;padding-left:1px;padding-right:1px;font-size:10px}
nav button span{font-size:19px;line-height:1.1}
.ayo-intro{background:var(--card)}
.ayo-frame-wrap{width:100%;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#062b20;box-shadow:0 12px 28px rgba(0,0,0,.18)}
.ayo-frame{display:block;width:100%;height:clamp(700px,82vh,1050px);border:0;background:#062b20}
@media(max-width:360px){nav button{font-size:9px}nav button span{font-size:17px}}

/* Àjọyọ̀ frontend polish: responsive desktop workspace + mobile-first navigation */
:root{--bg:#f5f7f4;--card:#ffffff;--ink:#172a20;--mute:#6c7d72;--line:#e2e9e3;--blue:#087b4a;--gold:#e8b64b;--pink:#c94f70;--green:#08613b;--onblue:#fff}
body{background:#edf2ee;color:var(--ink);display:block;min-height:100%;}
#app{width:100%;max-width:1480px;min-height:100vh;height:100vh;margin:0 auto;background:var(--bg);background-image:none;box-shadow:0 0 50px rgba(18,45,29,.08);overflow:hidden}
#app::before{display:none}
.app-header{height:74px;flex:0 0 74px;display:flex;align-items:center;gap:30px;padding:0 clamp(18px,3vw,42px);background:rgba(255,255,255,.96);border-bottom:1px solid #e6ece7;position:relative;z-index:5;backdrop-filter:blur(16px)}
.app-brand{display:flex;align-items:center;gap:11px;min-width:235px;text-decoration:none;color:var(--ink)}
.brand-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#0b8a53,#075a37);color:#fff;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:25px;box-shadow:0 5px 12px #087b4a25}
.brand-copy{display:flex;flex-direction:column;line-height:1.15}.brand-copy strong{font-family:'Bricolage Grotesque',sans-serif;font-size:21px;letter-spacing:-.7px}.brand-copy small{font-size:10px;color:#78867d;margin-top:5px;letter-spacing:.15px}
.global-search{height:42px;max-width:510px;flex:1;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #e4eae5;border-radius:13px;background:#f6f8f6;color:#748177}
.global-search>span{font-size:25px;line-height:1}.global-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#1b3024;font:inherit;font-size:13px}.global-search input::placeholder{color:#87938a}.global-search kbd{font:11px Figtree, sans-serif;padding:3px 6px;border:1px solid #dce4dd;border-radius:5px;background:#fff;color:#8a958c}
.header-actions{display:flex;align-items:center;gap:16px;margin-left:auto}.header-icon{width:40px;height:40px;position:relative;border:1px solid #e5ebe6;border-radius:13px;background:#fff;font-size:22px}.header-icon i{position:absolute;right:8px;top:7px;width:7px;height:7px;border-radius:50%;background:#e3a93a;border:1px solid #fff}.header-profile{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;white-space:nowrap}.mini-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e6f2e9;color:#087b4a;font-weight:800}
#view{padding:30px clamp(18px,3vw,42px) 42px;max-width:1300px;width:100%;margin:0 auto;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth}
#nav{z-index:6;position:absolute;top:74px;bottom:0;left:0;width:218px;height:calc(100% - 74px);background:#fff;border-right:1px solid #e6ece7;display:flex;flex-direction:column;justify-content:flex-start;gap:7px;padding:28px 14px;}
#nav button{flex:0 0 auto;width:100%;min-width:0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:13px;text-align:left;padding:12px 14px;border-radius:12px;font-size:13px;color:#68786d;transition:background .18s ease,color .18s ease}
#nav button span{font-size:20px;width:25px;display:inline-grid;place-items:center;line-height:1.1}#nav button b{font-weight:600}#nav button:hover{background:#f4f8f4;color:#087b4a}#nav button.on{background:#e8f5ec;color:#087b4a;font-weight:800}#nav button.on::after{content:"";position:absolute;left:0;width:3px;height:27px;border-radius:0 4px 4px 0;background:#087b4a}
#view{margin-left:218px;width:calc(100% - 218px);max-width:none;padding:32px clamp(22px,3vw,44px) 48px}
.top{margin-bottom:22px}.top h1,.sec,.back{color:var(--ink);text-shadow:none}.top h1{font-size:30px}.sec{color:var(--ink);font-size:18px;margin:22px 0 10px}
.card{background:#fff;border:1px solid #e7ece7;border-radius:17px;padding:18px;margin-bottom:14px;box-shadow:0 3px 12px rgba(24,53,34,.025)}.card:hover{border-color:#d8e5db}.btn{border-radius:11px}.chip{border-color:#e1e8e2;background:#fff;color:#43574a}.chip.on{color:#fff}.mute{color:#7b8a7f}.av{box-shadow:0 0 0 3px #fff}
.welcome-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:800;color:#138354;margin-bottom:7px}.welcome-row h1{font-size:32px;line-height:1.1;margin:0;color:#173c29}.wave-emoji{color:#d8a43a;font-size:25px}.welcome-sub{margin-top:8px;color:#7b897f;font-size:13px}.language-chip{white-space:nowrap}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:24px;align-items:start}.feed-column{min-width:0}.right-rail{display:flex;flex-direction:column;gap:15px;position:sticky;top:12px}.composer{padding:16px 18px 11px}.composer-prompt{height:43px;flex:1;text-align:left;padding:0 15px;background:#f5f8f5;border:1px solid #e9eeea;border-radius:12px;color:#849087;font-size:13px}.composer-actions{display:flex;gap:8px;border-top:1px solid #edf1ed;margin-top:13px;padding-top:10px}.composer-actions button{font-size:12px;color:#66776b;padding:7px 10px;border-radius:8px}.composer-actions button:hover{background:#f3f8f4;color:#087b4a}.feed-label{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px}.feed-label h2{font-size:18px;color:#1d3b29}.sort-chip{font-size:12px;color:#748178;background:#fff;border:1px solid #e5ebe6;padding:8px 11px;border-radius:9px}.hero{border-radius:18px;padding:24px 25px;min-height:175px;background:radial-gradient(circle at 85% 12%,rgba(242,204,117,.25),transparent 24%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09),transparent 26%),linear-gradient(120deg,#075c39,#0c8650 62%,#137348);box-shadow:0 10px 22px rgba(6,89,52,.13);margin-bottom:18px}.hero::after{right:22px;top:24px;width:38px;height:25px;opacity:.9}.hero .badge{font-size:10px;letter-spacing:.8px;background:#f6d98b;color:#24402b}.hero h2{font-size:27px;max-width:80%;margin:15px 0 7px}.hero small{font-size:12px}.hero-bottom{display:flex;gap:15px;align-items:center;margin-top:20px;padding-top:13px;border-top:1px solid rgba(255,255,255,.22);font-size:11px;color:#e4f4e8}.hero-arrow{margin-left:auto;font-size:19px}.feed-card{padding:18px 19px}.avatar-wrap{position:relative}.online-dot{position:absolute;width:10px;height:10px;right:-1px;bottom:0;background:#39b977;border:2px solid #fff;border-radius:50%}.feed-person{flex:1}.feed-person>b{font-size:13px}.public-label{color:#94a198}.more-button{font-size:22px;letter-spacing:2px;color:#89968d;padding:0 5px}.feed-copy{font-size:14px;line-height:1.6;margin:15px 0;color:#344a3b}.voice{background:#f6f9f6;border-color:#e9efea}.feed-reactions{display:flex;gap:7px;border-top:1px solid #edf1ed;margin-top:15px;padding-top:11px}.feed-reactions button{padding:8px 10px;border-radius:9px;font-size:12px;color:#728076}.feed-reactions button:hover,.feed-reactions button.reacted{background:#e9f6ed;color:#087b4a}.feed-reactions button:first-child,.feed-reactions button:nth-child(2){background:#f5f8f5}.feed-reactions span{color:#607368}.rail-card{background:#fff;border:1px solid #e6ece7;border-radius:17px;padding:17px;box-shadow:0 3px 12px rgba(24,53,34,.025)}.rail-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.rail-heading h3{font-size:16px;color:#203b2b}.rail-heading button{font-size:11px;font-weight:700;color:#087b4a}.mini-event{width:100%;display:flex;align-items:center;gap:11px;text-align:left;padding:12px 0;border-top:1px solid #eef2ee}.mini-event:first-of-type{border-top:0}.event-date{width:42px;height:46px;flex:none;border-radius:10px;background:#f0f7f1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#087b4a}.event-date b{font-size:15px;line-height:1.1}.event-date small{font-size:9px;text-transform:uppercase}.mini-event>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.mini-event strong{font-size:11px;line-height:1.35;color:#2b4233}.mini-event small{font-size:10px;color:#839087;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-arrow{font-size:20px;color:#a2afa5}.culture-card{background:linear-gradient(145deg,#fff9eb,#fff);border-color:#f1e5c8}.culture-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f8e8bc;color:#85601b;font-size:24px;margin-bottom:13px}.culture-card h3{font-size:18px;color:#243d2b;margin:7px 0}.culture-card p{font-size:12px;line-height:1.6;color:#7b897f;margin-bottom:15px}.culture-card .btn{width:100%;display:flex;justify-content:space-between;align-items:center}.group-highlight .circle-line{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #eef2ee}.circle-symbol{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f0f6f1}.circle-line>span:last-child{display:flex;flex-direction:column;gap:4px}.circle-line strong{font-size:11px}.circle-line small{font-size:10px;color:#87948a}.mobile-only{display:none}
.ayo-intro{background:#fff}.ayo-frame-wrap{box-shadow:0 12px 28px rgba(0,0,0,.12);border-color:#dce7de}.ayo-frame{height:clamp(760px,88vh,1120px)}
#mic{right:26px;bottom:24px;width:50px;height:50px;font-size:20px;box-shadow:0 7px 18px rgba(201,79,112,.25)}#toast{left:auto;right:24px;bottom:88px;max-width:360px;box-shadow:0 10px 30px rgba(0,0,0,.16)}
@media(max-width:1050px){.home-grid{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.app-brand{min-width:205px}.app-header{gap:18px}.right-rail{top:10px}}
@media(max-width:820px){body{background:var(--bg)}#app{height:100dvh;min-height:100dvh;max-width:100%;box-shadow:none}.app-header{height:64px;flex-basis:64px;padding:0 15px;gap:12px}.app-brand{min-width:0}.brand-mark{width:37px;height:37px;border-radius:12px;font-size:22px}.brand-copy strong{font-size:18px}.brand-copy small{display:none}.global-search{height:38px;max-width:none;padding:0 9px}.global-search kbd{display:none}.header-actions{gap:7px}.header-profile{gap:0}.header-profile>span:not(.mini-avatar){display:none}.mini-avatar{width:32px;height:32px}.header-icon{width:35px;height:35px}#nav{top:auto;bottom:0;left:0;right:0;width:100%;height:auto;flex-direction:row;justify-content:space-around;gap:0;padding:7px 5px calc(7px + env(safe-area-inset-bottom,0px));border-right:0;border-top:1px solid #e6ece7;box-shadow:0 -6px 24px rgba(20,55,32,.06)}#nav button{width:auto;min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center;gap:4px;text-align:center;padding:5px 1px;border-radius:9px;font-size:10px}#nav button span{font-size:19px;width:auto}#nav button b{font-size:10px;font-weight:600}#nav button.on::after{left:auto;top:0;width:24px;height:3px;border-radius:0 0 4px 4px}#view{margin-left:0;width:100%;padding:23px 16px 105px;max-width:760px}.home-grid{grid-template-columns:minmax(0,1fr)}.right-rail{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.right-rail .rail-card:first-child{grid-column:1/-1}.welcome-row h1{font-size:28px}.welcome-row{margin-bottom:20px}.hero{min-height:160px}.ayo-frame{height:clamp(740px,82vh,1000px)}#mic{bottom:87px;right:16px}#toast{bottom:155px;right:12px;left:12px;max-width:none}}
@media(max-width:520px){.app-header{gap:9px;padding:0 12px}.brand-mark{width:35px;height:35px}.brand-copy strong{font-size:17px}.global-search{flex:1}.global-search>span{font-size:21px}.global-search input{font-size:11px}.header-icon{display:none}#view{padding:19px 12px 100px}.welcome-row h1{font-size:25px}.welcome-sub{font-size:12px;max-width:260px}.language-chip{font-size:11px;padding:6px 8px}.home-grid{gap:14px}.composer{padding:13px}.composer-actions{gap:2px}.composer-actions button{font-size:10px;padding:7px 6px}.hero{padding:20px 18px;min-height:154px}.hero h2{font-size:23px;max-width:88%}.hero-bottom{gap:8px;font-size:10px}.hero-bottom span:nth-child(2){max-width:120px}.feed-card{padding:15px}.feed-reactions{gap:3px}.feed-reactions button{font-size:11px;padding:8px 7px}.right-rail{grid-template-columns:1fr}.right-rail .rail-card:first-child{grid-column:auto}.top h1{font-size:25px}.card{padding:14px}.ayo-frame{height:850px}.ayo-frame-wrap{border-radius:12px}.ayo-intro p{line-height:1.6}}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#f5f7f4;--card:#fff;--ink:#172a20;--mute:#6c7d72;--line:#e2e9e3}}
.post-dialog{width:min(560px,calc(100vw - 28px));padding:0;border:1px solid #e2eae3;border-radius:20px;background:#fff;color:#183526;box-shadow:0 24px 90px rgba(10,37,21,.24)}.post-dialog::backdrop{background:rgba(8,28,17,.48);backdrop-filter:blur(4px)}.post-dialog form{padding:24px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.dialog-heading h2{font-size:25px}.dialog-close{width:34px;height:34px;border-radius:10px;background:#f1f5f1;color:#64776a;font-size:24px;line-height:1}.dialog-label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}.post-dialog textarea{display:block;width:100%;resize:vertical;min-height:130px;border:1px solid #dce6de;border-radius:12px;padding:13px;font:14px/1.55 Figtree,system-ui,sans-serif;color:#183526;outline:none}.post-dialog textarea:focus{border-color:#087b4a;box-shadow:0 0 0 3px #087b4a17}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.dialog-footer .mute{max-width:240px;font-size:11px}@media(max-width:520px){.post-dialog form{padding:18px}.dialog-footer{align-items:flex-start;flex-direction:column}.dialog-footer .btn{width:100%}}

/* Media sharing in the frontend prototype */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.media-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.media-pick{border:1px solid #dce8df;background:#f4f8f4;color:#17613d;border-radius:10px;padding:9px 12px;font:600 12px Figtree,system-ui,sans-serif;cursor:pointer}
.media-pick:hover{background:#e8f4eb;border-color:#b8d8c2}
.media-hint{font-size:10px}
.media-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}
.media-preview:empty{display:none}
.media-preview-item{position:relative;min-width:0;border:1px solid #e1e9e2;border-radius:11px;overflow:hidden;background:#f5f8f5}
.media-preview-item img,.media-preview-item video{display:block;width:100%;height:105px;object-fit:cover}
.media-preview-item small{display:block;padding:6px 7px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#53675a}
.media-preview-item>button{position:absolute;right:5px;top:5px;width:25px;height:25px;border-radius:50%;background:#173c29e8;color:#fff;font-size:18px;line-height:1;cursor:pointer}
.post-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:10px 0 5px;overflow:hidden;border-radius:13px}
.post-media-grid.single-media{grid-template-columns:minmax(0,1fr)}
.post-media-grid img,.post-media-grid video{
  display:block;
  width:100%;
  max-height:460px;
  min-height:140px;
  object-fit:cover;
  background:#0c1c12;
  border-radius:9px;
}

.post-media-grid video{
  height:auto;
  max-height:460px;
  min-height:0;
  object-fit:contain;
  margin-inline:auto;
}

.post-media-grid.single-media img{
  max-height:540px;
  object-fit:contain;
}

.post-media-grid.single-media video{
  width:100%;
  height:auto;
  max-height:540px;
  min-height:0;
  object-fit:contain;
  margin-inline:auto;
}
@media(max-width:520px){.media-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.media-preview-item img,.media-preview-item video{height:90px}.media-tools{gap:6px}.media-hint{flex-basis:100%}.post-media-grid img,.post-media-grid video{min-height:100px}}

/* Discover Nigeria: news links, travel inspiration and local experiences */
.trend-rail .rail-note{font-size:11px;line-height:1.5;color:#7b8a7f;margin:-3px 0 8px}
.live-dot-label{display:inline-flex;align-items:center;gap:5px;color:#087b4a;font-size:10px;font-weight:700;white-space:nowrap}
.live-dot-label i{display:block;width:6px;height:6px;border-radius:50%;background:#16a765;box-shadow:0 0 0 3px #e6f6ec}
.trend-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #edf1ed;text-decoration:none;color:inherit}
.trend-icon{width:35px;height:35px;flex:none;display:grid;place-items:center;background:#f1f7f2;border-radius:11px;font-size:18px}
.trend-item>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.trend-item strong{font-size:11px;line-height:1.35;color:#263e2e}
.trend-item small{font-size:10px;color:#087b4a}
.trend-item:hover strong,.place-mini:hover strong{color:#087b4a}
.place-mini{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 0;border-top:1px solid #edf1ed}
.place-mini-icon{width:35px;height:35px;flex:none;display:grid;place-items:center;border-radius:11px;background:#fbf2df;font-size:18px}
.place-mini>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.place-mini strong{font-size:11px;color:#263e2e}
.place-mini small{font-size:10px;color:#7b8a7f}
.place-mini>span:last-child{color:#8a988d}
.discover-hero{padding:30px clamp(22px,4vw,42px);border-radius:22px;color:#fff;background:radial-gradient(circle at 88% 12%,rgba(239,193,83,.25),transparent 23%),linear-gradient(125deg,#06492f,#087b4a 58%,#13935b);box-shadow:0 14px 35px rgba(7,86,48,.13);margin-bottom:28px;position:relative;overflow:hidden}
.discover-hero:after{content:'✥';position:absolute;right:32px;bottom:-35px;font-size:190px;line-height:1;color:rgba(255,255,255,.07);pointer-events:none}
.discover-hero .eyebrow{color:#f4d88c}
.discover-hero h1{font-size:clamp(30px,4vw,44px);line-height:1.05;margin:8px 0 12px;max-width:700px}
.discover-hero p{max-width:630px;color:#e2f4e8;font-size:14px;line-height:1.7}
.discover-hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:20px;position:relative;z-index:1}
.discover-hero .btn{background:#f3d27e;color:#173b27}
.discover-external{font-size:12px;color:#fff;text-decoration:none;font-weight:700}
.discover-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:24px 0 14px;scroll-margin-top:16px}
.discover-section-heading h2{font-size:23px;line-height:1.2;color:#203b2b;margin:0 0 5px}
.discover-section-heading .eyebrow{margin-bottom:5px}
.news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.news-topic-card{min-height:190px;display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;color:inherit;padding:17px;border:1px solid #e4ebe5;background:#fff;border-radius:17px;box-shadow:0 3px 12px rgba(24,53,34,.025);transition:transform .18s ease,border-color .18s ease}
.news-topic-card:hover,.destination-card:hover{transform:translateY(-3px);border-color:#bcd9c4}
.news-topic-icon{font-size:24px;margin-bottom:13px}
.news-tag{font-size:9px;letter-spacing:.8px;text-transform:uppercase;font-weight:800;color:#087b4a;background:#eaf6ed;border-radius:99px;padding:4px 7px;margin-bottom:9px}
.news-topic-card h3{font-size:16px;line-height:1.25;color:#203b2b;margin-bottom:7px}
.news-topic-card p{font-size:11px;line-height:1.5;color:#7b8a7f;margin-bottom:14px}
.news-topic-card>b{font-size:10px;color:#087b4a;margin-top:auto}
.destination-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.destination-filters .chip{cursor:pointer;font-size:11px;padding:7px 12px}
.destination-filters .chip.on{background:#087b4a;border-color:#087b4a;color:#fff}
.destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.destination-card{overflow:hidden;min-width:0;border:1px solid #e4ebe5;background:#fff;border-radius:18px;box-shadow:0 3px 12px rgba(24,53,34,.025);transition:transform .18s ease,border-color .18s ease}
.destination-art{height:140px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(140deg,#d5ead7,#7fb69a)}
.destination-art:before,.destination-art:after{content:'';position:absolute;border-radius:50%;background:rgba(255,255,255,.2)}
.destination-art:before{width:180px;height:180px;right:-35px;top:-65px}
.destination-art:after{width:110px;height:110px;left:-24px;bottom:-52px}
.destination-art>span{position:relative;z-index:1;font-size:48px;filter:drop-shadow(0 5px 5px rgba(0,0,0,.1))}
.destination-art>small{position:absolute;left:12px;bottom:11px;z-index:1;padding:5px 8px;border-radius:99px;background:rgba(255,255,255,.86);color:#24513a;font-size:9px;font-weight:800;letter-spacing:.7px}
.destination-art.art-1{background:linear-gradient(145deg,#e7d9a6,#a4b77a)}
.destination-art.art-2{background:linear-gradient(145deg,#b7e4e9,#4e9ca2)}
.destination-art.art-3{background:linear-gradient(145deg,#e6d5f0,#b39ac9)}
.destination-art.art-4{background:linear-gradient(145deg,#f2dfbb,#e9ae72)}
.destination-copy{padding:15px}
.destination-state{font-size:10px;margin-bottom:7px}
.destination-copy h3{font-size:17px;line-height:1.25;color:#203b2b;margin-bottom:7px}
.destination-copy p{font-size:12px;line-height:1.55;color:#6c7d72;min-height:56px;margin-bottom:13px}
.destination-copy>a{font-size:11px;font-weight:800;color:#087b4a;text-decoration:none}
.destination-copy>a:hover,.discover-external:hover{text-decoration:underline}
.discover-footer-note{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;margin:22px 0 8px;border:1px solid #e7e5d7;border-radius:14px;background:#fffaf0;color:#695c3b;font-size:11px;line-height:1.6}
.discover-footer-note b{white-space:nowrap;color:#4b3d20}
@media(max-width:1150px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discover-hero{padding:25px 22px}.discover-hero:after{font-size:135px;right:8px}.discover-section-heading h2{font-size:21px}}
@media(max-width:520px){.news-grid,.destination-grid{grid-template-columns:minmax(0,1fr)}.news-topic-card{min-height:0}.destination-art{height:155px}.destination-copy p{min-height:0}.discover-hero{padding:23px 18px;border-radius:17px}.discover-hero h1{font-size:30px;max-width:80%}.discover-hero p{font-size:12px}.discover-hero-actions{gap:12px}.discover-section-heading{align-items:flex-start;flex-direction:column;gap:4px}.discover-footer-note{flex-direction:column;gap:4px}.trend-rail .rail-note{font-size:11px}}

/* ==========================================
   ÀJỌYỌ̀ PREMIUM DASHBOARD — FOREST & GOLD
   Add this section at the very bottom of style.css
   ========================================== */

:root {
  --bg: #F7F8F2;
  --card: #FFFFFF;
  --ink: #153B29;
  --mute: #718276;
  --line: #DFE9DF;
  --blue: #087B4A;
  --gold: #E8BD59;
  --pink: #C94F70;
  --green: #075C39;
  --onblue: #FFFFFF;
}

/* Overall workspace */
body {
  background: #EAF0E9;
  color: var(--ink);
}

#app {
  background: var(--bg);
  box-shadow: 0 0 65px rgba(7, 59, 42, 0.10);
}

/* Premium deep-green top header */
.app-header {
  background: linear-gradient(110deg, #073B2A 0%, #075238 65%, #096441 100%);
  border-bottom: 1px solid #1B6548;
  box-shadow: 0 5px 22px rgba(7, 59, 42, 0.12);
}

.app-brand {
  color: #FFFFFF;
}

.brand-mark {
  background: linear-gradient(145deg, #F2D17C, #D9A83D);
  color: #073B2A;
  box-shadow: 0 4px 14px rgba(232, 189, 89, 0.22);
}

.brand-copy strong {
  color: #FFFFFF;
}

.brand-copy small {
  color: #D1E5D7;
}

/* Search field */
.global-search {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
  color: #E6F2E9;
}

.global-search input {
  color: #FFFFFF;
}

.global-search input::placeholder {
  color: #C0D7C8;
}

.global-search kbd {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.20);
  color: #E6F2E9;
}

/* Header buttons and profile */
.header-icon {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.20);
}

.header-icon:hover {
  background: rgba(255, 255, 255, 0.19);
}

.header-profile {
  color: #FFFFFF;
}

.mini-avatar {
  background: #E8BD59;
  color: #073B2A;
}

/* Left navigation */
#nav {
  background: #FFFFFF;
  border-right-color: #DDE8DE;
}

#nav button {
  color: #64786A;
  transition: background .2s ease, color .2s ease,
              transform .2s ease;
}

#nav button:hover {
  background: #F0F6EF;
  color: #075C39;
  transform: translateX(2px);
}

#nav button.on {
  background: linear-gradient(100deg, #E5F3E8, #F1F7E9);
  color: #075C39;
  font-weight: 800;
}

#nav button.on::after {
  background: #E0B34F;
  width: 4px;
  box-shadow: 2px 0 8px rgba(232, 189, 89, 0.25);
}

/* Dashboard background and welcome area */
#view {
  background:
    radial-gradient(ellipse at 4% 0%, rgba(218, 235, 216, 0.32), transparent 32%),
    var(--bg);
}

.welcome-row h1 {
  color: #073B2A;
  letter-spacing: -1.1px;
}

.eyebrow {
  color: #087B4A;
  letter-spacing: 1.8px;
}

.welcome-sub {
  color: #718276;
}

/* Main cards */
.card,
.rail-card,
.news-topic-card,
.destination-card {
  border-color: #E0E9DF;
  box-shadow: 0 5px 18px rgba(7, 59, 42, 0.035);
  transition: border-color .2s ease, box-shadow .2s ease,
              transform .2s ease;
}

.card:hover,
.rail-card:hover {
  border-color: #C7DDCA;
  box-shadow: 0 8px 25px rgba(7, 59, 42, 0.065);
}

.sec,
.feed-label h2,
.rail-heading h3,
.discover-section-heading h2 {
  color: #123D29;
}

/* Welcome and community hero banners */
.hero {
  background:
    radial-gradient(circle at 86% 15%, rgba(242, 209, 124, 0.23), transparent 25%),
    radial-gradient(circle at 15% 100%, rgba(255, 255, 255, 0.10), transparent 35%),
    linear-gradient(125deg, #063D2B 0%, #087B4A 58%, #11935B 100%);
  border: 1px solid rgba(232, 189, 89, 0.24);
  box-shadow: 0 12px 28px rgba(7, 80, 48, 0.17);
}

.hero .badge {
  background: #F0D184;
  color: #173D29;
}

.hero h2 {
  color: #FFFFFF;
  letter-spacing: -0.6px;
}

.hero-bottom {
  border-top-color: rgba(255, 255, 255, 0.24);
}

/* Buttons */
.btn {
  background: linear-gradient(135deg, #087B4A, #075C39);
  color: #FFFFFF;
  box-shadow: 0 3px 9px rgba(7, 92, 57, 0.12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(7, 92, 57, 0.18);
}

.btn.gold {
  background: linear-gradient(135deg, #F3D787, #E4B64D);
  color: #173B27;
}

.btn.ghost {
  background: #FFFFFF;
  border-color: #D9E6DB;
  color: #075C39;
}

.chip.on,
.destination-filters .chip.on {
  background: #075C39;
  border-color: #075C39;
  color: #FFFFFF;
}

/* Post composer */
.composer {
  border-color: #DCE8DE;
}

.composer-prompt {
  background: #F5F8F3;
  border-color: #E1EAE1;
  transition: border-color .2s ease, background .2s ease;
}

.composer-prompt:hover {
  background: #FFFFFF;
  border-color: #A8CBB1;
}

.composer-actions button:hover {
  background: #EAF5EC;
  color: #075C39;
}

.media-pick {
  background: #EDF6EE;
  color: #075C39;
  border-color: #D4E7D7;
}

/* Feed cards and reactions */
.feed-card {
  border-radius: 18px;
}

.feed-person > b {
  color: #183D2A;
}

.feed-copy {
  color: #405747;
}

.feed-reactions button:hover,
.feed-reactions button.reacted {
  background: #E5F4E8;
  color: #075C39;
}

/* Right sidebar */
.rail-card {
  border-radius: 18px;
}

.event-date {
  background: linear-gradient(145deg, #EAF5E9, #F5F7E9);
  color: #075C39;
  border: 1px solid #DCEBDC;
}

.culture-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 189, 89, 0.15), transparent 40%),
    linear-gradient(145deg, #FFF9E9, #FFFFFF);
  border-color: #EDE2C3;
}

.culture-icon {
  background: linear-gradient(145deg, #F6E5AE, #E8BD59);
  color: #59451B;
}

/* Discover page */
.discover-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(242, 209, 124, 0.25), transparent 24%),
    linear-gradient(125deg, #063D2B, #087B4A 60%, #11935B);
  border: 1px solid rgba(232, 189, 89, 0.24);
  box-shadow: 0 14px 34px rgba(7, 80, 48, 0.15);
}

.news-topic-card:hover,
.destination-card:hover {
  border-color: #B9D6BF;
  box-shadow: 0 10px 25px rgba(7, 59, 42, 0.08);
}

/* Ayò game frame: preserve its own deep-green identity */
.ayo-frame-wrap {
  border: 2px solid #CDA64A;
  background: #062B20;
  box-shadow: 0 12px 30px rgba(7, 59, 42, 0.17);
}

/* Floating voice button */
#mic {
  box-shadow: 0 7px 20px rgba(201, 79, 112, 0.27);
}

/* Keyboard accessibility */
button:focus-visible,
a:focus-visible {
  outline: 3px solid #E8BD59;
  outline-offset: 3px;
}

/* Smooth, subtle interactions */
@media (prefers-reduced-motion: no-preference) {
  .feed-card,
  .news-topic-card,
  .destination-card {
    transition: box-shadow .2s ease, border-color .2s ease,
                transform .2s ease;
  }
}

/* Mobile header keeps the green brand */
@media (max-width: 820px) {
  .app-header {
    background: linear-gradient(110deg, #073B2A, #075C39);
  }

  #nav {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 -6px 24px rgba(7, 59, 42, 0.08);
  }

  #nav button.on {
    background: #EAF5E9;
  }

  #view {
    background: var(--bg);
  }
}

/* Keep the interface bright even when the computer uses dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #F7F8F2;
    --card: #FFFFFF;
    --ink: #153B29;
    --mute: #718276;
    --line: #DFE9DF;
    --blue: #087B4A;
    --gold: #E8BD59;
    --green: #075C39;
    --onblue: #FFFFFF;
  }
}

/* Àjọyọ̀: richer green dashboard background */
html {
  background: #073B2A;
}

body {
  background:
    radial-gradient(ellipse at 10% 10%, rgba(8,123,74,0.12), transparent 38%),
    radial-gradient(ellipse at 90% 80%, rgba(232,189,89,0.10), transparent 35%),
    #E8F0E7;
  color: #153B29;
}

#app {
  background: #F5F8F1;
}

/* Give the main dashboard a soft green atmosphere */
#view {
  background:
    radial-gradient(ellipse at 5% 0%, rgba(8,123,74,0.10), transparent 32%),
    radial-gradient(ellipse at 95% 55%, rgba(232,189,89,0.08), transparent 30%),
    #F3F7F0;
}

/* Make white panels feel more refined */
.card,
.rail-card,
.composer,
.feed-card,
.news-topic-card,
.destination-card {
  border: 1px solid #D9E7D9;
  box-shadow: 0 8px 24px rgba(7,59,42,0.055);
}

/* Gentle gold accent when hovering over panels */
.card:hover,
.rail-card:hover,
.feed-card:hover {
  border-color: #C5DCC8;
  box-shadow: 0 12px 28px rgba(7,59,42,0.09);
}

/* Decorative gold line beneath section headings */
.sec::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, #087B4A, #E8BD59);
}


/* GRΛVITY flying eagle animation */
#ajoyo-flying-eagle {
  position: fixed;
  left: 0;
  top: 12%;
  width: clamp(220px, 32vw, 480px);
  height: auto;
  object-fit: contain;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-25vw);
  filter: drop-shadow(0 8px 18px rgba(0, 35, 20, 0.12));
  will-change: transform, opacity;
}

#ajoyo-flying-eagle.fly-across {
  animation: ajoyoEagleFlight 9s ease-in-out 1;
}

@keyframes ajoyoEagleFlight {
  0% {
    opacity: 0;
    transform: translate(-25vw, 18vh) rotate(-12deg) scale(0.65);
  }

  12% {
    opacity: 0.22;
  }

  35% {
    opacity: 0.25;
    transform: translate(15vw, 5vh) rotate(-5deg) scale(0.9);
  }

  65% {
    opacity: 0.25;
    transform: translate(48vw, -6vh) rotate(7deg) scale(1.05);
  }

  88% {
    opacity: 0.20;
  }

  100% {
    opacity: 0;
    transform: translate(105vw, -20vh) rotate(14deg) scale(0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  #ajoyo-flying-eagle.fly-across {
    animation: none;
    opacity: 0;
  }
}


/* Clearly visible Àjọyọ̀ eagle watermark */
#view {
  position: relative;
  isolation: isolate;
}

#view::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image: url("eagle.jpg");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: min(75vw, 780px) auto;

  opacity: 0.18;
  filter: grayscale(100%) sepia(25%);
}

/* More visible on desktop */
@media (min-width: 821px) {
  #view::before {
    opacity: 0.22;
    background-position: 62% 40%;
  }
}

/* Slightly softer on mobile */
@media (max-width: 820px) {
  #view::before {
    background-size: 105vw auto;
    background-position: center 35%;
    opacity: 0.14;
  }
}


/* ==========================================================
   ÀJỌYỌ̀ — LAYOUT & ATMOSPHERE POLISH (append at very bottom)
   Fixes: side gutters on wide screens, empty sidebar, hard-edged
   eagle rectangle, oversized photo letterboxing, tiny rail text.
   ========================================================== */

/* 1. Use the whole screen: no pale gutters either side of the app */
body { background: #0B3F2C; }
#app { max-width: none; box-shadow: none; }

/* Content stays comfortably centred on very wide monitors,
   while the area around it is filled by the page background */
#view {
  padding-left:  max(clamp(22px, 3vw, 44px), calc((100% - 218px - 1560px) / 2));
  padding-right: max(clamp(22px, 3vw, 44px), calc((100% - 218px - 1560px) / 2));
}

/* 2. One shared background for the whole workspace (stationary) */
#app {
  background:
    radial-gradient(ellipse at 8% 0%,   rgba(8,123,74,.13),  transparent 36%),
    radial-gradient(ellipse at 96% 60%, rgba(232,189,89,.13), transparent 34%),
    radial-gradient(ellipse at 50% 100%, rgba(8,123,74,.08), transparent 40%),
    #F2F7EE;
}
#view { background: transparent; isolation: auto; }

/* 3. Eagle watermark: soft-edged, stays put while the feed scrolls */
#view::before { display: none; }
#app::before {
  display: block;
  content: "";
  position: absolute;
  inset: 74px 0 0 218px;
  z-index: 0;
  pointer-events: none;
  background: url("eagle.jpg") no-repeat 78% 46% / min(58vw, 760px) auto;
  opacity: .16;
  mix-blend-mode: multiply;
  filter: grayscale(100%) sepia(30%);
  -webkit-mask-image: radial-gradient(ellipse 48% 46% at 78% 46%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 48% 46% at 78% 46%, #000 30%, transparent 78%);
}
#view, #nav, .app-header { position: relative; }
#nav { position: absolute; }

/* 4. Welcome row becomes a proper banner (fills the empty top area) */
.welcome-row {
  position: relative;
  overflow: hidden;
  padding: 26px 30px;
  margin-bottom: 26px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(242,209,124,.28), transparent 26%),
    radial-gradient(circle at 18px 18px, rgba(255,255,255,.10) 1.5px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(120deg, #063D2B 0%, #087B4A 62%, #11935B 100%);
  border: 1px solid rgba(232,189,89,.28);
  box-shadow: 0 14px 32px rgba(7,80,48,.16);
}
.welcome-row::after {
  content: "✥";
  position: absolute;
  right: 150px;
  bottom: -46px;
  font-size: 190px;
  line-height: 1;
  color: rgba(255,255,255,.07);
  pointer-events: none;
}
.welcome-row > div, .welcome-row > button { position: relative; z-index: 1; }
.welcome-row h1 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.welcome-row .eyebrow { color: #F2D17C; }
.welcome-row .welcome-sub { color: #D5EBDC; font-size: 14px; }
.welcome-row .wave-emoji { color: #F2D17C; }
.welcome-row .language-chip {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.30);
  color: #fff;
}
.welcome-row .language-chip:hover { background: rgba(255,255,255,.24); }

/* 5. Sidebar: tinted, no big blank white block, footer card */
#nav {
  background:
    radial-gradient(circle at 14px 14px, rgba(8,123,74,.07) 1.5px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(180deg, #FFFFFF 0%, #F0F7EC 100%);
  overflow-y: auto;
}
.nav-footer {
  margin-top: auto;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid #EDE2C3;
  background:
    radial-gradient(circle at 100% 0%, rgba(232,189,89,.22), transparent 45%),
    linear-gradient(145deg, #FFF9E9, #FFFFFF);
  box-shadow: 0 6px 16px rgba(7,59,42,.06);
}
.nav-footer-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 10px;
  border-radius: 12px;
  background: linear-gradient(145deg, #F6E5AE, #E8BD59);
  color: #59451B; font-size: 21px;
}
.nav-footer strong {
  display: block;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 15px; color: #123D29; margin-bottom: 4px;
}
.nav-footer p { font-size: 12px; line-height: 1.5; color: #6C7D72; margin-bottom: 12px; }
.nav-footer .btn { width: 100%; font-size: 12px; padding: 9px 12px; }

/* 6. Feed media: smaller letterbox for portrait photos and video */
.post-media-grid { background: #0C1C12; }
.post-media-grid.single-media img,
.post-media-grid.single-media video { max-height: 440px; }

/* 7. Right rail and composer text: readable sizes */
.mini-event strong, .trend-item strong, .place-mini strong, .circle-line strong { font-size: 12.5px; }
.mini-event small, .trend-item small, .place-mini small, .circle-line small { font-size: 11px; }
.rail-heading button { font-size: 12px; }
.trend-rail .rail-note { font-size: 12px; }
.composer-actions button { font-size: 13px; }
.feed-reactions button { font-size: 13px; }
.welcome-sub, .mute { font-size: 13px; }
.rail-card { padding: 18px; }
.right-rail { gap: 16px; }

/* 8. Slim green scrollbars */
#view, #nav { scrollbar-width: thin; scrollbar-color: #A9CDB4 transparent; }
#view::-webkit-scrollbar, #nav::-webkit-scrollbar { width: 8px; }
#view::-webkit-scrollbar-thumb, #nav::-webkit-scrollbar-thumb { background: #A9CDB4; border-radius: 8px; }

/* 9. Mobile */
@media (max-width: 820px) {
  #app::before { inset: 64px 0 70px 0; background-position: 50% 30%; background-size: 105vw auto;
    -webkit-mask-image: radial-gradient(ellipse 60% 40% at 50% 30%, #000 30%, transparent 80%);
            mask-image: radial-gradient(ellipse 60% 40% at 50% 30%, #000 30%, transparent 80%); opacity: .12; }
  #view { padding-left: 16px; padding-right: 16px; }
  .nav-footer { display: none; }
  .welcome-row { padding: 20px 18px; border-radius: 18px; }
  .welcome-row::after { right: 10px; font-size: 130px; }
}
@media (max-width: 520px) {
  #view { padding-left: 12px; padding-right: 12px; }
  .welcome-row { align-items: flex-start; }
}


/* ==========================================================
   EVENT INVITATION PAGE + SHARING
   ========================================================== */
.invite-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.invite-side { position: sticky; top: 12px; }
.hero .hero-bottom span { white-space: nowrap; }
.hero .hero-bottom { flex-wrap: wrap; }

.event-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf1ed; }
.event-card-actions .btn { font-size: 13px; padding: 9px 14px; }

.share-card .share-wa { width: 100%; background: linear-gradient(135deg, #25A862, #128C4A); color: #fff; }
.share-preview {
  margin-top: 12px; padding: 12px; border-radius: 12px;
  background: #F3F8F1; border: 1px dashed #BFD9C6;
  font: 12px/1.55 Figtree, system-ui, sans-serif; color: #405747;
  white-space: pre-wrap; word-break: break-word;
}

@media (max-width: 1050px) { .invite-grid { grid-template-columns: minmax(0, 1fr); } .invite-side { position: static; } }

/* NollyConnect movie player */

.nolly-player-container {
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: #171717;
  color: #fff;
}

.nolly-player-container:empty {
  display: none;
}

.nolly-player-container h3 {
  margin-top: 0;
  color: #f5d58a;
}

.nolly-player-container video {
  display: block;
  width: 100%;
  max-width: 900px;
  max-height: 75vh;
  margin: 12px auto;
  background: #000;
  border-radius: 10px;
}

.nolly-playback-status {
  color: #ddd;
  font-size: 0.9rem;
}

.nolly-media-item {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid rgba(128,128,128,.25);
  border-radius: 10px;
}

.nolly-media-item button {
  margin-top: 8px;
}
/* NollyConnect watch-party layout */

.nolly-watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
  width: 100%;
  margin-top: 18px;
}

.nolly-movie-section {
  min-width: 0;
}

.nolly-player-container {
  width: 100%;
  min-width: 0;
}

.nolly-player-container video {
  display: block;
  width: 100%;
  max-height: 75vh;
  background: #000;
  border-radius: 12px;
}

.nolly-participants-panel {
  background: #171717;
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  min-width: 0;
}

.nolly-participants-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.nolly-participants-heading span {
  color: #aaa;
  font-size: 12px;
}

.nolly-participant-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nolly-participant-tile {
  overflow: hidden;
  border-radius: 10px;
  background: #292929;
}

.nolly-participant-video {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #080808;
  overflow: hidden;
}

.nolly-participant-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nolly-camera-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #bbb;
  font-size: 13px;
}

.nolly-participant-name {
  padding: 8px 10px;
  font-size: 13px;
  color: #fff;
}

.nolly-video-controls {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 15px;
}

.nolly-video-controls button {
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: #a66a24;
  color: #fff;
  font-weight: 600;
}

.nolly-video-controls button:hover {
  opacity: 0.85;
}

@media (max-width: 760px) {
  .nolly-watch-layout {
    grid-template-columns: 1fr;
  }

  .nolly-participant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nolly-participants-panel {
    width: 100%;
  }
}
/* NollyConnect welcome page */
.nolly-connect-page {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 20%, rgba(211, 157, 65, 0.13), transparent 28%),
    radial-gradient(circle at 85% 75%, rgba(211, 157, 65, 0.12), transparent 30%),
    linear-gradient(135deg, #f7edda, #eee0c5, #f8f0e3);
  color: #30271f;
  position: relative;
}
.nolly-hero {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 25px;
  text-align: center;

  background:
    linear-gradient(
      110deg,
      rgba(25, 13, 8, 0.62),
      rgba(45, 24, 13, 0.38),
      rgba(25, 13, 8, 0.48)
    ),
    url("./nollyconnect-cinema-banner.jpg")
    center 48% / cover no-repeat;
}

.nolly-hero-content {
  max-width: 750px;
  margin: auto;
}

.nolly-hero-content h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 15px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

.nolly-hero-content p {
  color: #f5e6c8;
  font-size: 1.1rem;
  line-height: 1.7;
}

.nolly-content {
  margin: 20px;
  padding: 20px;
  background: #f4eee3;
  color: #30271f;
  border-radius: 16px;
}

/* Media library and other content cards */
.nolly-content .card {
  background: #fffaf2;
  color: #30271f;
  border: 1px solid #e8d8bd;
  border-radius: 14px;
}

/* Make uploaded media names readable */
.nolly-content #nolly-media-list,
.nolly-content #nolly-media-list strong,
.nolly-content #nolly-media-list p,
.nolly-content #nolly-media-list span {
  color: #30271f;
}

/* Form labels and descriptions */
.nolly-content label,
.nolly-content h3,
.nolly-content p {
  color: #30271f;
}
/* Subtle cinema atmosphere behind NollyConnect content */
.nolly-connect-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;

  background-image:
    radial-gradient(circle at 12% 30%, transparent 0 35px, #a87529 37px 40px, transparent 42px),
    radial-gradient(circle at 88% 70%, transparent 0 45px, #a87529 47px 50px, transparent 52px),
    repeating-linear-gradient(
      135deg,
      transparent 0 38px,
      rgba(168, 117, 41, 0.18) 39px 42px,
      transparent 43px 75px
    );
}

/* Keep all page content above the decorative layer */
.nolly-connect-page > * {
  position: relative;
  z-index: 1;
}
/* NollyConnect premium gold action buttons */
.nolly-content button.btn {
  background: linear-gradient(135deg, #e9b43f, #bd8110);
  color: #241707;
  border: 1px solid #d19a28;
  border-radius: 10px;
  padding: 11px 20px;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(116, 77, 18, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nolly-content button.btn:hover {
  background: linear-gradient(135deg, #f4c95e, #d69a20);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(116, 77, 18, 0.25);
}

.nolly-content button.btn:active {
  transform: translateY(0);
}
/* NollyConnect media library cards */
.nolly-content .nolly-media-item {
  background: linear-gradient(145deg, #fffdf8, #f5ead8);
  border: 1px solid #dfc391;
  border-radius: 14px;
  padding: 18px;
  margin: 12px 0;
  box-shadow: 0 4px 12px rgba(76, 52, 25, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nolly-content .nolly-media-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(76, 52, 25, 0.14);
}

.nolly-content .nolly-media-item strong {
  display: block;
  color: #49351f;
  font-size: 17px;
  margin-bottom: 7px;
}

.nolly-content .nolly-media-item p {
  color: #78664f;
  font-size: 13px;
  margin: 0 0 14px;
}

.nolly-content .nolly-media-item button.btn {
  background: linear-gradient(135deg, #d5a64e, #b77b27);
  color: #fffdf8;
  border: none;
  border-radius: 8px;
  padding: 10px 17px;
  font-weight: 600;
}

.nolly-content .nolly-media-item button.btn:hover {
  background: linear-gradient(135deg, #bd8734, #95601d);
}

/* NollyConnect media library layout */
.nolly-content #nolly-media-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: 16px;
}

.nolly-content .nolly-media-item {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nolly-content .nolly-media-item button.btn {
  align-self: flex-start;
  margin-top: 10px;
}

/* Smaller screens */
@media (max-width: 600px) {
  .nolly-content #nolly-media-list {
    grid-template-columns: 1fr;
  }
}

/* NollyConnect media upload panel */
.nolly-content #nolly-media-upload-form {
  background: linear-gradient(145deg, #fffdf8, #f4ead9);
  border: 1px dashed #c9a66b;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 22px;
}

.nolly-content #nolly-media-upload-form input,
.nolly-content #nolly-media-upload-form select {
  background: #fffefa;
  color: #30271f;
  border: 1px solid #d9c6a5;
  border-radius: 8px;
  padding: 10px;
  max-width: 100%;
}

.nolly-content #nolly-media-upload-form input:focus,
.nolly-content #nolly-media-upload-form select:focus {
  outline: none;
  border-color: #b77b27;
  box-shadow: 0 0 0 3px rgba(183, 123, 39, 0.13);
}

/* NollyConnect cinema player */
.nolly-content #nolly-player-container {
  background: linear-gradient(145deg, #211b16, #38291d);
  border: 1px solid #b58a4c;
  border-radius: 16px;
  padding: 14px;
  min-height: 180px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(35, 24, 14, 0.16);
}

.nolly-content #nolly-player-container video,
.nolly-content #nolly-player-container audio {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

.nolly-content #nolly-player-container video {
  max-height: 520px;
  background: #100d0a;
  object-fit: contain;
}

.nolly-content #nolly-player-container audio {
  margin: 12px 0;
}

/* NollyConnect hero typography */
.nolly-hero-content {
  text-align: center;
  padding: 35px 20px;
}

.nolly-hero-content h2 {
  color: #fffaf0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(35, 24, 14, 0.65);
  letter-spacing: 0.5px;
}

.nolly-hero-content p {
  color: #fff8e9;
  text-shadow: 0 2px 6px rgba(35, 24, 14, 0.7);
  line-height: 1.6;
}

.nolly-hero-content p:first-of-type {
  font-size: 18px;
  font-weight: 600;
}

/* NollyConnect Virtual Cinema */
.nolly-content .card:has(#nolly-cinema-form) {
  background: linear-gradient(145deg, #fffaf0, #f0e2ca);
  border: 1px solid #c9a66b;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(76, 52, 25, 0.10);
}

.nolly-content .card:has(#nolly-cinema-form) h3 {
  color: #80551f;
  font-size: 22px;
  margin-bottom: 10px;
}

.nolly-content .card:has(#nolly-cinema-form) p {
  color: #78664f;
  line-height: 1.6;
}

.nolly-content #nolly-cinema-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.nolly-content #nolly-cinema-form label {
  color: #49351f;
  font-weight: 600;
}

.nolly-content #nolly-cinema-title {
  width: 100%;
  box-sizing: border-box;
  background: #fffefa;
  color: #30271f;
  border: 1px solid #d9c6a5;
  border-radius: 9px;
  padding: 12px;
}

.nolly-content #nolly-cinema-title:focus {
  outline: none;
  border-color: #b77b27;
  box-shadow: 0 0 0 3px rgba(183, 123, 39, 0.13);
}

.nolly-content #nolly-cinema-form button {
  align-self: flex-start;
  margin-top: 5px;
}
/* NollyConnect Virtual Celebrations */
.nolly-content .card:has(#nolly-celebration-form) {
  background: linear-gradient(145deg, #fff9ed, #f3e2c9);
  border: 1px solid #d2ae78;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(76, 52, 25, 0.10);
}

.nolly-content .card:has(#nolly-celebration-form) h3 {
  color: #80551f;
  font-size: 22px;
  margin-bottom: 10px;
}

.nolly-content .card:has(#nolly-celebration-form) p {
  color: #78664f;
  line-height: 1.6;
}

.nolly-content #nolly-celebration-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.nolly-content #nolly-celebration-form label {
  color: #49351f;
  font-weight: 600;
}

.nolly-content #nolly-celebration-title {
  width: 100%;
  box-sizing: border-box;
  background: #fffefa;
  color: #30271f;
  border: 1px solid #d9c6a5;
  border-radius: 9px;
  padding: 12px;
}

.nolly-content #nolly-celebration-title:focus {
  outline: none;
  border-color: #b77b27;
  box-shadow: 0 0 0 3px rgba(183, 123, 39, 0.13);
}

.nolly-content #nolly-celebration-form button {
  align-self: flex-start;
  margin-top: 5px;
}

/* =========================================
   NOLLYCONNECT FILMMAKER NETWORK
========================================= */

.filmmaker-page {
  --film-green: #09251e;
  --film-deep: #061a16;
  --film-gold: #d8b76a;
  --film-cream: #f4ead5;

  background:
  linear-gradient(
    rgba(3, 20, 15, .22),
    rgba(3, 20, 15, .30)
  ),
  url("nollyconnect-cinema-banner.jpg") center center / cover fixed no-repeat;

  color: var(--film-cream);
  min-height: 100vh;
  padding-bottom: 70px;
}

.filmmaker-hero {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 65px 7%;
  background:
  linear-gradient(
    90deg,
    rgba(3, 17, 13, .72) 0%,
    rgba(3, 20, 15, .48) 48%,
    rgba(3, 20, 15, .12) 100%
  ),
  url("nollyconnect-cinema-banner.jpg") center center / cover no-repeat;
}

.filmmaker-hero::after {
  content: "✦";
  position: absolute;
  right: 9%;
  top: 15%;
  color: rgba(216, 183, 106, .12);
  font-size: clamp(180px, 30vw, 390px);
  line-height: 1;
  pointer-events: none;
}

.filmmaker-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 15, 12, .4), transparent 50%);
  pointer-events: none;
}

.filmmaker-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.filmmaker-eyebrow {
  display: inline-block;
  color: var(--film-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.filmmaker-hero h1 {
  color: #fff6e7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 22px;
  max-width: 700px;
}

.filmmaker-hero-content > p {
  max-width: 560px;
  color: #d7e0d9;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.filmmaker-hero .btn.gold,
.filmmaker-submit {
  background: linear-gradient(135deg, #f0d69a, #c49a4c);
  color: #10241b;
  border: 1px solid #f5dfac;
  border-radius: 7px;
  padding: 14px 27px;
  font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.filmmaker-hero .btn.gold:hover,
.filmmaker-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(216, 183, 106, .2);
}

.filmmaker-hero-note {
  margin-top: 20px;
  color: #c1d0c5;
  font-size: 12px;
  letter-spacing: .5px;
}

.filmmaker-intro {
  max-width: 850px;
  margin: 0 auto;
  padding: 75px 25px 35px;
  text-align: center;
}

.filmmaker-intro h2,
.filmmaker-form-heading h2 {
  color: #fff2d9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 500;
  margin: 0 0 18px;
}

.filmmaker-intro p,
.filmmaker-form-heading p {
  color: #b9c9bf;
  font-size: 15px;
  line-height: 1.8;
}

.filmmaker-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 35px auto 75px;
  padding: 0 25px;
}

.filmmaker-benefits article {
  background: linear-gradient(145deg, #12362a, #0b241d);
  border: 1px solid rgba(216, 183, 106, .23);
  border-radius: 13px;
  padding: 30px 25px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}

.filmmaker-benefits article:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 183, 106, .65);
}

.filmmaker-benefits article > span {
  display: block;
  font-size: 35px;
  margin-bottom: 17px;
}

.filmmaker-benefits h3 {
  color: var(--film-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  margin: 0 0 12px;
}

.filmmaker-benefits p {
  color: #c0cec5;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.filmmaker-application {
  max-width: 760px;
  margin: 0 auto;
  padding: 45px;
  background: linear-gradient(145deg, #123329, #091f19);
  border: 1px solid rgba(216, 183, 106, .35);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  scroll-margin-top: 30px;
}

.filmmaker-form-heading {
  text-align: center;
  margin-bottom: 32px;
}

#filmmaker-application-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#filmmaker-application-form > label:not(.filmmaker-consent) {
  color: #e9d8b4;
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}

#filmmaker-application-form input:not([type="checkbox"]),
#filmmaker-application-form select,
#filmmaker-application-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 15px;
  border: 1px solid rgba(216, 183, 106, .25);
  border-radius: 7px;
  background: #071b16;
  color: #fff4df;
  font: inherit;
  font-size: 14px;
  outline: none;
}

#filmmaker-application-form input:focus,
#filmmaker-application-form select:focus,
#filmmaker-application-form textarea:focus {
  border-color: var(--film-gold);
  box-shadow: 0 0 0 3px rgba(216, 183, 106, .1);
}

#filmmaker-application-form input::placeholder,
#filmmaker-application-form textarea::placeholder {
  color: #84978b;
}

#filmmaker-application-form select option {
  background: #071b16;
  color: #fff4df;
}

.filmmaker-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0;
  color: #c7d2ca;
  font-size: 12px;
  line-height: 1.6;
}

.filmmaker-consent input {
  margin-top: 3px;
  accent-color: var(--film-gold);
  flex-shrink: 0;
}

.filmmaker-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
}

.filmmaker-form-message {
  min-height: 18px;
  color: var(--film-gold);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 700px) {
  .filmmaker-hero {
    min-height: 420px;
    padding: 55px 25px;
  }

  .filmmaker-hero h1 {
    font-size: 43px;
  }

  .filmmaker-benefits {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .filmmaker-application {
    margin: 0 15px;
    padding: 28px 20px;
  }
}
.filmmaker-status-link {
  color: #ffffff !important;
  font-weight: 700;
}

.filmmaker-status-link:hover {
  color: #f3d58a !important;
}

/* NollyConnect featured cinema navigation */
#nav button.watch-movies-nav-button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 76px;
  margin: 14px 0;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 2px solid #d9b65d;
  border-radius: 16px;
  background: linear-gradient(135deg, #237747, #12502f);
  color: #ffffff;
  box-shadow: 0 5px 18px rgba(20, 100, 55, .3);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

#nav button.watch-movies-nav-button span {
  flex: 0 0 auto;
  font-size: 27px;
}

#nav button.watch-movies-nav-button b {
  flex: 1;
  min-width: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .2px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

#nav button.watch-movies-nav-button:hover {
  background: linear-gradient(135deg, #2d9255, #17683d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 100, 55, .4);
}
#nav button.watch-movies-nav-button span {
  font-size: 30px;
}

#nav button.watch-movies-nav-button b {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .5px;
}

#nav button.watch-movies-nav-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 169, 73, .4);
}
/* NollyConnect public movie catalogue */

.nolly-cinema-page {
  padding: 22px;
  color: #f7f2e5;
}

.nolly-cinema-hero {
  min-height: 230px;
  padding: 36px;
  border: 1px solid rgba(226, 185, 79, .5);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 25%, rgba(226,185,79,.25), transparent 35%),
    linear-gradient(125deg, #102c20, #1d4933 65%, #10251c);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.nolly-cinema-kicker {
  color: #e8c66d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
}

.nolly-cinema-hero h1 {
  margin: 12px 0;
  color: #fff5d8;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
}

.nolly-cinema-hero p {
  color: #e4e8dc;
  font-size: 16px;
}

.nolly-cinema-hero-icon {
  font-size: clamp(65px, 10vw, 110px);
}

.nolly-cinema-section {
  margin-top: 32px;
}

.nolly-cinema-section h2 {
  color: #e5bd59;
  font-size: 26px;
  font-weight: 900;
}

.nolly-cinema-subtitle {
  color: #aeb9ad;
  margin: 7px 0 22px;
}

.nolly-movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 22px;
}

.nolly-movie-card {
  overflow: hidden;
  border: 1px solid rgba(226,185,79,.25);
  border-radius: 18px;
  background: #142b20;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.nolly-movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
}

.nolly-movie-poster {
  height: 270px;
  overflow: hidden;
  background: #203d2c;
}

.nolly-movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nolly-movie-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  color: #f6df9d;
  background:
    radial-gradient(circle at center, rgba(226,185,79,.2), transparent 60%),
    linear-gradient(145deg, #244c35, #10251b);
}

.nolly-movie-placeholder span {
  font-size: 55px;
}

.nolly-movie-placeholder strong {
  font-size: 23px;
}

.nolly-movie-placeholder small {
  color: #d6b65e;
  letter-spacing: 3px;
  font-weight: 800;
}

.nolly-movie-info {
  padding: 18px;
}

.nolly-movie-info h3 {
  margin: 0 0 9px;
  color: #ffe7a3;
  font-size: 21px;
}

.nolly-movie-info p {
  min-height: 42px;
  color: #d0d9cf;
  line-height: 1.5;
}

.nolly-movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.nolly-movie-meta span {
  padding: 5px 9px;
  border-radius: 20px;
  background: rgba(226,185,79,.12);
  color: #e8cd80;
  font-size: 11px;
  font-weight: 700;
}

.nolly-watch-button {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f2d47b, #c99835);
  color: #173321;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.nolly-watch-button:hover {
  filter: brightness(1.08);
}

@media (max-width: 600px) {
  .nolly-cinema-page {
    padding: 12px;
  }

  .nolly-cinema-hero {
    min-height: 190px;
    padding: 24px 18px;
  }

  .nolly-cinema-hero-icon {
    font-size: 55px;
  }

  .nolly-movie-grid {
    grid-template-columns: 1fr;
  }
}
/* NollyConnect movie player */

.nolly-cinema-player {
  padding: 22px;
  color: #f7f2e5;
}

.nolly-player-back {
  padding: 10px 17px;
  border: 1px solid #d9b65d;
  border-radius: 9px;
  background: #183a29;
  color: #f5d77f;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 20px;
}

.nolly-cinema-player h2 {
  color: #f2d47b;
  margin-bottom: 18px;
  font-size: 26px;
}

.nolly-player-frame {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid rgba(226,185,79,.65);
  border-radius: 16px;
  background: #000;
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
}

.nolly-player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 600px) {
  .nolly-cinema-player {
    padding: 12px;
  }

  .nolly-player-frame {
    border-radius: 10px;
  }
}
/* NollyConnect notification bell */
.header-icon {
  position: relative;
}

.notification-bell {
  font-size: 22px;
  line-height: 1;
}

.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 20px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-count[hidden] {
  display: none;
}

.notification-panel {
  position: absolute;
  top: 70px;
  right: 20px;
  width: 340px;
  max-width: calc(100vw - 30px);
  max-height: 430px;
  overflow: hidden;
  background: #fff;
  color: #222;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.16);
  z-index: 9999;
}

.notification-panel[hidden] {
  display: none;
}

.notification-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.notification-panel-header h3 {
  margin: 0;
  font-size: 16px;
}

.notification-panel-header button {
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.notification-list {
  max-height: 350px;
  overflow-y: auto;
  padding: 12px;
}

.notification-item {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.notification-item.unread {
  background: #fff8e8;
}

.notification-empty {
  padding: 25px 12px;
  text-align: center;
  color: #777;
}
/* =================================
   NEPTUNE AI CHAT WINDOW
================================= */

.neptune-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 380px;
  max-width: calc(100vw - 30px);
  height: 540px;
  max-height: calc(100vh - 50px);
  background: #071B2D;
  color: #fff;
  border: 1px solid #28618A;
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(0,0,0,.35);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.neptune-chat[hidden] {
  display: none;
}

.neptune-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px;
  background: linear-gradient(135deg,#071B2D,#123C62);
  border-bottom: 1px solid #28618A;
}

.neptune-chat-header strong {
  letter-spacing: 2px;
  font-size: 17px;
}

.neptune-chat-subtitle {
  color: #B9DDF5;
  font-size: 11px;
  margin-top: 4px;
}

.neptune-chat-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.neptune-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.neptune-message {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.neptune-assistant {
  align-self: flex-start;
  background: #123C62;
  color: #fff;
}

.neptune-user {
  align-self: flex-end;
  background: #D5A83B;
  color: #071B2D;
}

.neptune-input-area {
  display: flex;
  gap: 8px;
  padding: 13px;
  border-top: 1px solid #28618A;
}

.neptune-input-area input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #28618A;
  background: #102B42;
  color: #fff;
  outline: none;
}

.neptune-input-area input::placeholder {
  color: #A8C1D5;
}

.neptune-input-area button {
  min-width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: #D5A83B;
  color: #071B2D;
  font-size: 19px;
  cursor: pointer;
  font-weight: bold;
  flex-shrink: 0;
}

#neptune-mic,
#neptune-voice-toggle {
  background: #123C62;
  color: #fff;
  border: 1px solid #28618A;
}

#neptune-mic.listening {
  background: #C0392B;
  border-color: #FF7777;
  animation: neptune-pulse 1.2s infinite;
}

@keyframes neptune-pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(255, 80, 80, .2);
  }
}

@media (max-width: 500px) {
  .neptune-chat {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    height: min(600px, calc(100vh - 20px));
    max-height: calc(100vh - 20px);
  }
}
/* FLOATING NEPTUNE BUTTON */
.neptune-floating-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid #D5A83B;
  border-radius: 30px;
  background: linear-gradient(135deg, #071B2D, #123C62);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.neptune-floating-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(213, 168, 59, .35);
}

.neptune-floating-button span {
  color: #F2D37B;
}

@media (max-width: 600px) {
  .neptune-floating-button {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
  }
}

/* Àjọyọ̀ Cinema — Movie Details */
.nolly-movie-details {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 24px;
  background: rgba(5, 16, 11, .97);
  color: #f8edcf;
}

.nolly-details-container {
  width: 100%;
  max-width: 950px;
  margin: 30px auto;
  overflow: hidden;
  border: 1px solid rgba(226,185,79,.3);
  border-radius: 20px;
  background: #142b20;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.nolly-details-poster {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
  background: #203d2c;
}

.nolly-details-content {
  padding: 28px;
}

.nolly-details-content h2 {
  margin: 0 0 15px;
  color: #ffe7a3;
  font-size: clamp(27px, 5vw, 42px);
}

.nolly-details-synopsis {
  color: #d0d9cf;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.nolly-details-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}

.nolly-details-trailer {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  margin-top: 20px;
}

.nolly-details-back {
  padding: 11px 17px;
  border: 1px solid #c99835;
  border-radius: 10px;
  background: transparent;
  color: #ffe7a3;
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 600px) {
  .nolly-movie-details {
    padding: 10px;
  }

  .nolly-details-container {
    margin: 10px auto;
  }

  .nolly-details-content {
    padding: 18px;
  }

  .nolly-details-actions {
    grid-template-columns: 1fr;
  }
}
/* NollyConnect Persistent Media Dock */
#nolly-persistent-media {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 40px));
  max-height: 42vh;
  overflow-y: auto;
  z-index: 9000;
  pointer-events: none;
}

#nolly-persistent-media .nolly-player-container {
  pointer-events: auto;
  margin: 0;
  padding: 12px;
  width: 100%;
  background: #10251d;
  border: 1px solid #c9a34a;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

#nolly-persistent-media video {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
}

#nolly-persistent-media audio {
  display: block;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 600px) {
  #nolly-persistent-media {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-height: 35vh;
  }
}
/* NollyConnect player hide and reopen controls */
#nolly-close-player {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #c9a34a;
  color: #10251d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

#nolly-reopen-player {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9001;
  padding: 12px 18px;
  border: 1px solid #c9a34a;
  border-radius: 24px;
  background: #10251d;
  color: #f5d58a;
  cursor: pointer;
}
/* Àjọyọ̀ Cinema Persistent Player */
#ajoyo-cinema-persistent-player {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 40px));
  max-height: 38vh;
  overflow-y: auto;
  z-index: 8999;
}

#ajoyo-cinema-persistent-player:empty {
  display: none;
}

#ajoyo-cinema-persistent-player .nolly-cinema-player {
  padding: 12px;
  background: #10251d;
  border: 1px solid #c9a34a;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

#ajoyo-cinema-persistent-player .nolly-cinema-player h2 {
  font-size: 16px;
  margin: 0 0 8px;
}

#ajoyo-cinema-persistent-player .nolly-player-frame {
  width: 100%;
  max-width: none;
  border-radius: 8px;
}

#ajoyo-cinema-persistent-player .nolly-player-back {
  padding: 6px 10px;
  margin-bottom: 8px;
  font-size: 12px;
}

@media (max-width: 600px) {
  #ajoyo-cinema-persistent-player {
    left: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}
#ajoyo-cinema-persistent-player [data-cinema-drag-handle] {
  cursor: grab;
  user-select: none;
  touch-action: none;
}

#ajoyo-cinema-persistent-player [data-cinema-drag-handle]:active {
  cursor: grabbing;
}
/* Draggable NollyConnect player title */
#nolly-player-container [data-nolly-drag-handle] {
  cursor: grab;
  user-select: none;
  touch-action: none;
}

#nolly-player-container [data-nolly-drag-handle]:active {
  cursor: grabbing;
}
/* Cinema hide button */
#ajoyo-cinema-persistent-player .nolly-cinema-player {
  position: relative;
}

#ajoyo-cinema-close-player {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #c9a34a;
  color: #10251d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* Cinema reopen button */
#ajoyo-cinema-reopen-player {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9001;
  padding: 12px 18px;
  border: 1px solid #c9a34a;
  border-radius: 24px;
  background: #10251d;
  color: #f5d58a;
  cursor: pointer;
}

/* ÀJỌYỌ̀ FLOATING CALLS */
.ajoyo-calls-floating-button {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 19px;
  border: 1px solid #c69b45;
  border-radius: 30px;
  background: #172b20;
  color: #f5dfaa;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,.3);
}

.ajoyo-calls-floating-button:hover {
  background: #24432f;
  transform: translateY(-2px);
}

.ajoyo-calls-window {
  position: fixed;
  right: 24px;
  bottom: 165px;
  z-index: 99999;
  width: 340px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  border: 1px solid #bd9141;
  border-radius: 17px;
  background: #14251c;
  color: #f7f1e4;
  box-shadow: 0 10px 35px rgba(0,0,0,.45);
}

.ajoyo-calls-window[hidden] {
  display: none !important;
}

.ajoyo-calls-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px;
  background: #203a2a;
  border-bottom: 1px solid #8d713c;
}

.ajoyo-calls-subtitle {
  margin-top: 5px;
  color: #c9b98f;
  font-size: 12px;
}

#close-ajoyo-calls {
  border: 0;
  background: transparent;
  color: #f5dfaa;
  font-size: 27px;
  cursor: pointer;
}

.ajoyo-calls-content {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
}

.ajoyo-calls-content p {
  margin: 0 0 4px;
  color: #e6d4ad;
}

.ajoyo-calls-content label {
  color: #d6c49b;
  font-size: 13px;
}

.ajoyo-calls-content select {
  width: 100%;
  padding: 11px;
  border: 1px solid #806b43;
  border-radius: 9px;
  background: #20372a;
  color: white;
  font-size: 14px;
}

#ajoyo-start-floating-call {
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: #b68b3c;
  color: #17231d;
  font-weight: 700;
  cursor: pointer;
}

#ajoyo-start-floating-call:hover {
  background: #d1aa60;
}

#ajoyo-start-floating-call:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#ajoyo-calls-status {
  min-height: 18px;
  color: #c9b98f;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 480px) {
  .ajoyo-calls-floating-button {
    right: 14px;
    bottom: 90px;
  }

  .ajoyo-calls-window {
    right: 12px;
    bottom: 150px;
  }
}
/* ÀJỌYỌ̀ COMMUNITY CALL DIRECTORY */
#ajoyo-call-search {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #806b43;
  border-radius: 9px;
  background: #20372a;
  color: #fff;
  font-size: 14px;
}

#ajoyo-call-search::placeholder {
  color: #c9b98f;
}

#ajoyo-call-member-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.ajoyo-call-directory-member {
  width: 100%;
  padding: 13px;
  border: 1px solid #806b43;
  border-radius: 10px;
  background: #20372a;
  color: #f5dfaa;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.ajoyo-call-directory-member:hover {
  background: #31513a;
  border-color: #c69b45;
}
.song-package-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.song-package-list button {
  width: 100%;
  min-height: 85px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 18px 22px;
  text-align: left;
  border-radius: 14px;
  cursor: pointer;
}

/* ==========================================================
   ÀJỌYỌ̀ — PREMIUM DESKTOP SIDEBAR
   Soft green navigation cards
   Active item: green gradient with gold border
   Watch Movies keeps its existing dedicated styling
   ========================================================== */

@media (min-width: 821px) {

  #nav {
    gap: 10px;
    padding: 24px 14px;
  }

  #nav > button[data-t]:not(.watch-movies-nav-button) {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    border: 1.5px solid #dcebdf;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f1f8f2);
    color: #1b5b3a;
    box-shadow: 0 2px 8px rgba(7, 59, 42, 0.05);
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                background 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease;
  }

  /* Navigation icons */
  #nav > button[data-t]:not(.watch-movies-nav-button) span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-grid;
    place-items: center;
    font-size: 18px;
    border-radius: 10px;
    background: #e3f2e7;
    transition: background 0.2s ease;
  }

  /* Navigation labels */
  #nav > button[data-t]:not(.watch-movies-nav-button) b {
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.2px;
  }

  /* Hover effect */
  #nav > button[data-t]:not(.watch-movies-nav-button):hover {
    transform: translateY(-2px);
    border-color: #d9b65d;
    background: linear-gradient(145deg, #ffffff, #e9f5ec);
    color: #0d6b41;
    box-shadow: 0 8px 20px rgba(20, 100, 55, 0.16);
  }

  #nav > button[data-t]:not(.watch-movies-nav-button):hover span {
    background: #f6e6b5;
  }

  /* Active navigation item */
  #nav > button[data-t]:not(.watch-movies-nav-button).on {
    border: 2px solid #d9b65d;
    background: linear-gradient(135deg, #237747, #12502f);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 5px 18px rgba(20, 100, 55, 0.32);
  }

  #nav > button[data-t]:not(.watch-movies-nav-button).on span {
    background: rgba(255, 255, 255, 0.16);
  }

  #nav > button[data-t]:not(.watch-movies-nav-button).on b {
    color: #ffffff;
  }

  /* Remove old active-page side marker */
  #nav > button[data-t].on::after {
    display: none;
  }
}

/* ==========================================================
   MOBILE — ACTIVE NAVIGATION ITEM
   ========================================================== */

@media (max-width: 820px) {

  #nav > button[data-t]:not(.watch-movies-nav-button).on {
    background: linear-gradient(135deg, #237747, #12502f);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(20, 100, 55, 0.3);
  }

  #nav > button[data-t]:not(.watch-movies-nav-button).on b {
    color: #ffffff;
  }
}
/* Watch Movies: normal when idle, green only when active */
#nav button.watch-movies-nav-button:not(.on) {
  min-height: 54px;
  margin: 0;
  padding: 12px 14px;
  gap: 13px;
  border: 1.5px solid #dcebdf;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f1f8f2);
  color: #1b5b3a;
  box-shadow: 0 2px 8px rgba(7, 59, 42, .05);
}

#nav button.watch-movies-nav-button:not(.on) b {
  color: #1b5b3a;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow-wrap: normal;
}

#nav button.watch-movies-nav-button:not(.on) span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  border-radius: 10px;
  background: #e3f2e7;
}

#nav button.watch-movies-nav-button:not(.on):hover {
  transform: translateY(-2px);
  border-color: #d9b65d;
  background: linear-gradient(145deg, #ffffff, #e9f5ec);
  box-shadow: 0 8px 20px rgba(20, 100, 55, .16);
}

/* Active: same green + gold as the other active items */
#nav button.watch-movies-nav-button.on {
  min-height: 54px;
  margin: 0;
  border: 2px solid #d9b65d;
  background: linear-gradient(135deg, #237747, #12502f);
  color: #fff;
}

#nav button.watch-movies-nav-button.on b {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

#nav button.watch-movies-nav-button.on span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 18px;
  background: rgba(255, 255, 255, .16);
}

/* ==============================
   ÀJỌYỌ̀ MARKETPLACE
============================== */

.market-hero {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 20px;
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(120deg, #064e38, #087b53 60%, #b18b48);
  display: flex;
  align-items: center;
}

.market-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.market-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #d5b66d;
  margin-bottom: 8px;
}

.market-hero h1 {
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: white;
}

.market-hero p {
  max-width: 480px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}

.market-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  font-size: 12px;
}

.market-hero-decoration {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  font-size: clamp(65px, 11vw, 130px);
  font-weight: 900;
  color: rgba(255,255,255,.13);
  pointer-events: none;
}

.market-disclosure {
  padding: 13px 17px;
  margin-bottom: 23px;
  background: var(--surface, #fff);
  border: 1px solid rgba(0,100,65,.12);
  border-radius: 13px;
  font-size: 12px;
}

.market-disclosure p {
  margin-top: 5px;
  color: var(--muted, #777);
  line-height: 1.5;
}

.market-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 22px 0 12px;
}

.market-section-heading h2 {
  margin: 0;
  font-size: 21px;
}

.market-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.market-product-count {
  font-size: 12px;
  color: var(--muted, #777);
}

.market-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  align-items: stretch;
}

.market-product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface, #fff);
  border: 1px solid rgba(0,90,60,.10);
  border-radius: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.market-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,50,30,.10);
}

.market-product-image {
  height: 185px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f1f5ed, #fffaf0);
}

.market-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.market-no-image {
  font-size: 45px;
}

.market-product-info {
  padding: 14px;
}

.market-product-category {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  background: #e7f3e9;
  color: #08613f;
  font-size: 10px;
  font-weight: 700;
}

.market-product-info h3 {
  font-size: 15px;
  line-height: 1.4;
  margin: 10px 0 5px;
}

.market-merchant {
  color: var(--muted, #777);
  font-size: 11px;
}

.market-description {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted, #777);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-product-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 15px;
}

.market-view-product {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 8px;
  background: #08734e;
  color: white !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
}

.market-view-product:hover {
  background: #064e38;
}

@media (max-width: 1050px) {
  .market-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .market-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .market-product-image {
    height: 145px;
  }

  .market-product-info {
    padding: 10px;
  }

  .market-product-info h3 {
    font-size: 13px;
  }

  .market-product-bottom {
    gap: 9px;
  }

  .market-view-product {
    font-size: 11px;
    padding: 8px 10px;
  }

  .market-hero {
    min-height: 190px;
    padding: 22px;
  }
}

/* =================================
   ÀJỌYỌ̀ — BEAUTIFUL COMMUNITY POSTS
================================= */

.feed-card {
    padding: 22px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.feed-person > b {
    font-size: 14px;
    font-weight: 800;
    color: #075C39;
}

.feed-copy {
    font-family: 'Nunito', 'Figtree', sans-serif;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.1px;
    color: #344B3C;
    margin: 18px 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.feed-reactions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    margin-top: 18px;
    border-top: 1px solid #E7EEE7;
}

.feed-reactions button {
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    background: #F3F7F3;
    color: #42604B;
    transition: background .2s ease, transform .2s ease;
}

.feed-reactions button:hover {
    background: #E4F2E6;
    transform: translateY(-2px);
}

@media (max-width: 520px) {
    .feed-card {
        padding: 17px;
    }

    .feed-copy {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* ÀJỌYỌ̀ — PREMIUM COMMENT DESIGN */

.post-comments {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-comment {
    background: #F5F8F5;
    border: 1px solid #E5EDE5;
    border-radius: 14px;
    padding: 13px 16px;
    margin-top: 10px;
}

.post-comment strong {
    display: block;
    color: #075C39;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.post-comment p {
    color: #405747;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.post-comment-form,
.post-comments form {
    margin-top: 14px;
}

.post-comments textarea {
    width: 100%;
    min-height: 65px;
    padding: 12px 14px;
    border: 1px solid #DCE8DC;
    border-radius: 13px;
    font: inherit;
    resize: vertical;
    outline: none;
}

.post-comments textarea:focus {
    border-color: #16834D;
    box-shadow: 0 0 0 3px rgba(22, 131, 77, 0.10);
}

.post-comments form button {
    margin-top: 9px;
    border-radius: 11px;
    padding: 10px 18px;
    font-weight: 700;
}
.feed-copy strong,
.post-comment p strong {
    color: #075C39;
    font-weight: 800;
}

.feed-copy br,
.post-comment p br {
    display: block;
    content: "";
    margin-bottom: 5px;
}
/* Àjọyọ̀ Community Emoji Picker */
.ajoyo-emoji-picker {
    position: fixed;
    z-index: 99999;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: min(440px, calc(100% - 24px));
    max-height: 65vh;
    overflow-y: auto;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #dce8e1;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}

.ajoyo-emoji-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    color: #075c39;
    margin-bottom: 12px;
}

.ajoyo-emoji-heading button {
    border: 0;
    background: #edf5ef;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
    padding: 2px 10px;
}

.ajoyo-emoji-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.ajoyo-emoji-tabs button {
    border: 1px solid #dce8e1;
    background: #f4f8f5;
    color: #24543d;
    border-radius: 20px;
    padding: 7px 10px;
    font-size: 12px;
    cursor: pointer;
}

.ajoyo-emoji-tabs button.active {
    background: #075c39;
    color: #ffffff;
}

.ajoyo-emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 7px;
}

.ajoyo-emoji-option {
    border: 0;
    background: #f5f8f6;
    border-radius: 9px;
    padding: 8px 2px;
    font-size: 25px;
    cursor: pointer;
}

.ajoyo-emoji-option:hover {
    background: #e0f1e6;
    transform: scale(1.08);
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.comment-actions button {
    cursor: pointer;
}
#ajoyo-cinema-persistent-player {
  max-height: 70vh;
  overflow-y: auto;
  padding-bottom: 20px;
  box-sizing: border-box;
}

#ajoyo-cinema-persistent-player #ajoyo-play-purchased-movie {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 14px 18px;
  margin-top: 15px;
  box-sizing: border-box;
  white-space: normal;
  overflow: visible;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
/* Keep Cinema confirmation visible beside the left sidebar */
#ajoyo-cinema-persistent-player {
  position: fixed;
  left: 238px;
  bottom: 24px;
  width: min(420px, calc(100vw - 258px));
  max-height: 70vh;
  overflow-y: auto;
  padding: 16px;
  box-sizing: border-box;
  z-index: 99999;
}

/* Keep the confirmation text readable */
#ajoyo-cinema-persistent-player .nolly-cinema-player {
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  #ajoyo-cinema-persistent-player {
    left: 10px;
    bottom: 12px;
    width: calc(100vw - 20px);
  }
}
/* ÀJỌYỌ̀ CINEMA — Purchased Movies */
#nollyPurchasedMovieGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

#nollyPurchasedMovieGrid .nolly-movie-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(160deg, #183c30, #10271f 75%);
  border: 1px solid rgba(201, 163, 74, 0.35);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#nollyPurchasedMovieGrid .nolly-movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

#nollyPurchasedMovieGrid .nolly-movie-poster {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  background: #183c30;
}

#nollyPurchasedMovieGrid .nolly-movie-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

#nollyPurchasedMovieGrid .nolly-movie-card-content h3 {
  margin: 0 0 10px;
  color: #f5e8c5;
  font-size: 21px;
  font-weight: 800;
}

#nollyPurchasedMovieGrid .nolly-movie-card-content p {
  margin: 5px 0;
  color: #d5d8cf;
  font-size: 14px;
  line-height: 1.6;
}

#nollyPurchasedMovieGrid .nolly-watch-purchased-movie {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 25px;
  background: linear-gradient(135deg, #e2bd69, #bd9140);
  color: #17291f;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

#nollyPurchasedMovieGrid .nolly-watch-purchased-movie:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

@media (max-width: 600px) {
  #nollyPurchasedMovieGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #nollyPurchasedMovieGrid .nolly-movie-poster {
    height: 190px;
  }

  #nollyPurchasedMovieGrid .nolly-movie-card-content {
    padding: 14px;
  }
}
/* ÀJỌYỌ̀ CINEMA — Fallback Movie Poster */
.nolly-movie-fallback-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 290px;
  padding: 24px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 163, 74, 0.2), transparent 55%),
    linear-gradient(145deg, #204b39, #091c16);
  border-bottom: 1px solid rgba(201, 163, 74, 0.35);
}

.nolly-fallback-brand {
  color: #d9b765;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.nolly-fallback-icon {
  font-size: 66px;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4));
}

.nolly-movie-fallback-poster strong {
  color: #fff1cc;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
}

.nolly-fallback-caption {
  color: #d9b765;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

@media (max-width: 600px) {
  .nolly-movie-fallback-poster {
    height: 190px;
    padding: 12px;
    gap: 10px;
  }

  .nolly-fallback-icon {
    font-size: 44px;
  }

  .nolly-movie-fallback-poster strong {
    font-size: 19px;
  }
}
.nolly-purchased-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 14px 16px 0;
  padding: 7px 13px;
  border: 1px solid rgba(217, 183, 101, 0.5);
  border-radius: 20px;
  background: rgba(217, 183, 101, 0.13);
  color: #e6c675;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

#nollyPurchasedMovieGrid .nolly-purchase-date {
  margin: 8px 0 16px;
  color: #d9b765;
  font-size: 12px;
}
/* GRΛVITY Homepage Banner */
.gravity-hero {
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 18px;
  background: #100b25;
  box-shadow: 0 5px 24px rgba(50, 20, 100, 0.18);
}

.gravity-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .gravity-hero {
    border-radius: 12px;
    margin-bottom: 16px;
  }
}


/* =========================================
   GRΛVITY — Professional Group Ledger
========================================= */

.ledger-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.ledger-summary-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #dce9df;
  box-shadow: 0 4px 14px rgba(20, 70, 45, 0.06);
}

.ledger-summary-card.income {
  background: #e8f7ee;
  color: #087443;
}

.ledger-summary-card.expenses {
  background: #fff0ef;
  color: #b42332;
}

.ledger-summary-card.balance {
  background: #eaf1ff;
  color: #2456a6;
}

.ledger-summary-card h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}

.ledger-summary-card strong {
  display: block;
  font-size: clamp(20px, 3vw, 28px);
  overflow-wrap: anywhere;
}

.ledger-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e0e9e2;
}

.ledger-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
}

.ledger-table th {
  padding: 15px 13px;
  background: #075c3c;
  color: #fff;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}

.ledger-table td {
  padding: 14px 13px;
  border-bottom: 1px solid #e9eee9;
  color: #294638;
  font-size: 13px;
}

.ledger-table tbody tr:nth-child(even) {
  background: #f2f8f3;
}

.ledger-table tbody tr:hover {
  background: #e5f3e9;
}

.ledger-type {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: capitalize;
}

.ledger-type.income {
  background: #d9f5e4;
  color: #087443;
}

.ledger-type.expense {
  background: #ffe1df;
  color: #b42332;
}

.ledger-update-btn {
  border-color: #b7d9c3;
}

@media (max-width: 650px) {
  .ledger-summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ledger-summary-card {
    padding: 16px;
  }
}



