:root{--ink:#183033;--muted:#708081;--line:#e5ece8;--paper:#fff;--wash:#f4f7f3;--green:#2f8c68;--green-dark:#226c50;--mint:#e8f5eb;--coral:#ef826d;--shadow:0 9px 30px rgba(31,59,49,.07)}*{box-sizing:border-box}body{margin:0;background:var(--wash);color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green-dark);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button{cursor:pointer}.bar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1120px)/2),22px);position:sticky;top:0;z-index:5}.brand{display:flex;gap:10px;align-items:center;color:var(--ink)}.mark{width:38px;height:38px;border-radius:13px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:900;font-size:21px}.brand strong{font-size:21px;letter-spacing:-1px}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:-3px}.barlinks{display:flex;align-items:center;gap:17px;font-weight:650;font-size:13px}.wrap{max-width:1120px;margin:34px auto;padding:0 22px}.grid{display:grid;grid-template-columns:220px minmax(0,620px) 250px;gap:22px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:17px;margin-bottom:15px}.sidebar{position:sticky;top:90px}.nav a{display:block;padding:9px 11px;border-radius:10px;font-weight:650;color:#556968}.nav a:hover,.nav .current{background:var(--mint);color:var(--green-dark);text-decoration:none}.subtle{color:var(--muted);font-size:12px}.hero{padding:28px;border-radius:21px;background:linear-gradient(130deg,#e7f5e9,#f8f5e8 65%,#ffe4d9);margin-bottom:17px}.hero .eyebrow{color:var(--green-dark);font-weight:800;text-transform:uppercase;letter-spacing:1.4px;font-size:10px}.hero h1{font-size:34px;letter-spacing:-1.7px;line-height:1.12;margin:9px 0}.hero p{max-width:440px;color:#5e7370}.btn{border:0;border-radius:10px;padding:10px 15px;background:var(--green);color:white;font-weight:750;display:inline-block}.btn:hover{background:var(--green-dark);color:white;text-decoration:none}.btn.secondary{background:#edf6ef;color:var(--green-dark)}.btn.tiny{padding:6px 10px;font-size:12px}.btn.full{width:100%;text-align:center}.form{max-width:480px;margin:35px auto}.form h1{font-size:27px;letter-spacing:-1px;margin:4px 0}.field{margin:15px 0}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;border:1px solid #dce6e0;border-radius:10px;padding:11px 12px;background:white;color:var(--ink);outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field textarea:focus{border-color:#6ba989;box-shadow:0 0 0 3px #2f8c6817}.alert{padding:11px 13px;border-radius:10px;background:#fff5e6;color:#77572b;font-size:13px;margin:12px 0}.alert.good{background:#eaf7ed;color:#315b3f}.composer textarea{width:100%;border:0;resize:vertical;min-height:78px;outline:0}.composer select{border:1px solid var(--line);border-radius:8px;padding:7px;color:#596e6a;background:#fff}.post{padding:16px}.posthead{display:flex;align-items:center;gap:10px}.avatar{width:39px;height:39px;border-radius:50%;background:linear-gradient(135deg,#91c6a7,#438767);color:#fff;display:grid;place-items:center;font-weight:800;flex:none}.postbody{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:13px 0;color:#354949}.postmeta{font-size:11px;color:#8b9996}.postcounts{display:flex;justify-content:space-between;color:#84918f;font-size:11px;padding:9px 0;border-top:1px solid #f0f3f0}.actions{display:flex;gap:6px}.actions form{flex:1}.actions button{border:0;background:#f7f9f7;color:#617370;border-radius:9px;width:100%;padding:8px 4px;font-size:12px;font-weight:650}.actions button:hover{color:var(--green-dark);background:var(--mint)}.comment{border-top:1px solid #f0f3f0;margin-top:10px;padding-top:9px}.commentitem{font-size:12px;margin:7px 0}.commentitem strong{margin-right:5px}.commentform{display:flex;gap:7px;margin-top:9px}.commentform input{min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;padding:8px 10px;font-size:12px}.person{display:flex;align-items:center;gap:9px;padding:8px 0}.person .detail{flex:1;min-width:0}.person strong{display:block;font-size:12px}.circle{display:flex;gap:10px;padding:10px 0;border-top:1px solid #f0f3f0}.circleicon{width:32px;height:32px;border-radius:10px;background:var(--mint);display:grid;place-items:center}.circle strong{font-size:12px}.message{font-size:13px;line-height:1.6}.empty{text-align:center;padding:25px;color:var(--muted)}footer{max-width:1120px;margin:20px auto 50px;padding:0 22px;color:#93a09c;font-size:11px}.mutedlinks a{color:#81918c;margin-right:10px}.badge{display:inline-block;background:#f1f6f1;color:#526f60;border-radius:20px;padding:3px 8px;font-size:10px;font-weight:700}.profilehead{display:flex;align-items:center;gap:15px}.profilehead .avatar{width:64px;height:64px;font-size:21px}.stats{display:flex;gap:18px;font-size:12px;color:var(--muted);margin:13px 0}.stats strong{color:var(--ink)}@media(max-width:950px){.grid{grid-template-columns:190px minmax(0,1fr)}.right{display:none}}@media(max-width:640px){.bar{height:62px;padding:0 14px}.barlinks{gap:10px;font-size:12px}.wrap{padding:0 12px;margin:18px auto}.grid{display:block}.sidebar{display:none}.hero{padding:22px}.hero h1{font-size:29px}.card{padding:14px}footer{padding:0 14px}.brand small{display:none}}

/* Admin console and built-in analytics */
.site-announcement{background:#eaf6ef;color:#245c47;text-align:center;padding:10px 16px;font-weight:650;font-size:13px}.admin-wrap{max-width:1200px}.admin-tabs{display:flex;gap:7px;overflow-x:auto;padding:4px 2px 14px;margin-bottom:8px}.admin-tabs a{white-space:nowrap;padding:9px 13px;border:1px solid var(--line);background:#fff;color:#526764;border-radius:10px;font-size:12px;font-weight:700}.admin-tabs a.active{background:var(--green);border-color:var(--green);color:#fff}.admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:12px 0 16px}.admin-stats .card{margin:0}.stat strong{display:block;font-size:27px;line-height:1.2;margin-top:7px}.admin-actions,.manage-buttons{display:flex;flex-wrap:wrap;gap:7px}.btn.danger{background:#fff0ed;color:#a54336}.btn.danger:hover{background:#ffe1dc;color:#8e3429}.admin-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.admin-search{display:flex;gap:6px;align-items:center}.admin-search input,.circle-admin-form input{border:1px solid var(--line);border-radius:9px;padding:8px 10px;min-width:190px}.table-scroll,.analytics-table-wrap{overflow-x:auto}.admin-table,.analytics-table{border-collapse:collapse;width:100%;font-size:12px}.admin-table th,.admin-table td,.analytics-table th,.analytics-table td{text-align:left;vertical-align:top;padding:10px 8px;border-top:1px solid var(--line)}.admin-table th,.analytics-table th{color:#7a8985;font-size:10px;text-transform:uppercase;letter-spacing:.7px}.admin-table td small{display:block;color:var(--muted);margin-top:3px}.admin-table .manage-buttons{min-width:220px}.admin-table form{display:inline-block}.moderate-row{border-top:1px solid var(--line);padding:12px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.moderate-row>div{min-width:0;flex:1}.moderate-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.moderate-row p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.circle-admin-form{display:grid;grid-template-columns:1fr 1fr 2fr auto auto;gap:10px;align-items:end;margin:10px 0;padding:12px 0;border-top:1px solid var(--line)}.circle-admin-form label{font-size:11px;font-weight:700;color:#526764}.circle-admin-form input{display:block;min-width:0;width:100%;margin-top:5px}.circle-admin-form.existing{grid-template-columns:1fr 1fr 2fr auto auto auto}.check-row{display:flex;gap:9px;align-items:center;margin:16px 0;font-size:13px}.field select{width:100%;border:1px solid #dce6e0;border-radius:10px;padding:11px 12px;background:#fff}.audit-row{display:grid;grid-template-columns:170px 1fr auto;gap:12px;align-items:start;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.audit-row span,.audit-row small{color:var(--muted)}.analytics-table td{white-space:nowrap}.metric-bar{display:inline-block;width:48px;height:7px;border-radius:10px;background:#eef2ee;margin-right:7px;vertical-align:middle;overflow:hidden}.metric-bar span{display:block;height:100%;border-radius:10px;background:var(--green)}.metric-bar .bar-signup{background:#d19458}.metric-bar .bar-post{background:#5e9bad}.metric-bar .bar-like{background:#df776b}.metric-bar .bar-comment{background:#9878b2}
@media(max-width:760px){.admin-heading{display:block}.admin-search{margin-top:12px}.circle-admin-form,.circle-admin-form.existing{grid-template-columns:1fr 1fr}.circle-admin-form label:nth-child(3){grid-column:1/-1}.audit-row{grid-template-columns:1fr}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.group-page{max-width:1040px}.entity-create{max-width:620px}.entity-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #eef2ee}.entity-row:first-of-type{margin-top:8px}.entity-row>form{flex:none}.entity-symbol{width:42px;height:42px;flex:none;border-radius:13px;background:var(--mint);display:grid;place-items:center;font-size:19px}.entity-symbol.large{width:66px;height:66px;font-size:30px}.entity-copy{flex:1;min-width:0}.entity-copy>strong{font-size:15px}.entity-copy p{font-size:13px;color:#65746f;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.entity-hero{display:flex;align-items:center;gap:18px;padding:24px}.entity-hero>div{flex:1;min-width:0}.entity-hero h1{font-size:30px;margin:3px 0}.entity-hero p{margin:6px 0}.role-form{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.role-form select,.role-form input{border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:white;color:var(--ink)}.role-form label{font-size:12px;font-weight:700}.danger-action{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:760px){.entity-hero{align-items:flex-start;flex-wrap:wrap;padding:17px}.entity-hero .entity-symbol{width:48px;height:48px;font-size:23px}.entity-hero h1{font-size:24px}.entity-row{align-items:flex-start;flex-wrap:wrap}.entity-row>.btn{margin-left:auto}.role-form{width:100%}.barlinks{overflow-x:auto;white-space:nowrap;max-width:75vw;scrollbar-width:none}.barlinks::-webkit-scrollbar{display:none}}
.live-wrap{max-width:1100px}.live-hero{background:linear-gradient(130deg,#ffece8,#fff8ed 60%,#e9f6eb)}.live-studio{max-width:820px}.live-studio h2,.live-chat-card h2{margin-top:0}.live-consent{border:1px solid #f1ddd6;background:#fff8f5;border-radius:12px;padding:12px 14px;font-size:13px}.live-consent p{margin:6px 0 0;color:#667670}.live-studio-actions{display:flex;align-items:center;gap:10px;margin-top:14px;flex-wrap:wrap}.live-studio-status{min-height:22px}.live-preview{width:min(100%,700px);max-height:60vh;object-fit:contain;background:#101616;border-radius:14px;margin:12px 0}.live-badge{display:inline-flex;align-items:center;gap:6px;color:#c13b32;background:#fff0ed;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:850;letter-spacing:.4px}.live-badge i{width:8px;height:8px;border-radius:50%;background:#d84d40;box-shadow:0 0 0 3px #d84d4020;animation:live-pulse 1.4s ease-in-out infinite}@keyframes live-pulse{50%{opacity:.4}}.live-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:17px;align-items:start}.live-watch{overflow:hidden}.live-watch-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:13px}.live-watch-head>div{flex:1}.live-watch-head h1{font-size:22px;margin:2px 0}.live-watch-head p{margin:0}.live-video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#101616;border-radius:12px}.live-chat-card{position:sticky;top:88px}.live-chat-list{height:390px;overflow-y:auto;border:1px solid var(--line);border-radius:11px;padding:10px;background:#fbfcfb}.live-chat-item{font-size:12px;padding:7px 1px;border-bottom:1px solid #edf1ed;overflow-wrap:anywhere}.live-chat-item strong{display:block;font-size:11px}.live-chat-item span{display:block;white-space:pre-wrap;margin:2px 0}.live-chat-item small{font-size:9px;color:var(--muted)}.live-chat-form{display:flex;gap:7px;margin-top:10px}.live-chat-form input{min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;padding:8px 10px}.live-list-row .live-badge{margin-right:2px}.live-list-row .entity-copy{flex:1}.live-list-row .entity-copy p{margin:0}
@media(max-width:760px){.live-grid{grid-template-columns:1fr}.live-chat-card{position:static}.live-chat-list{height:260px}.live-hero h1{font-size:30px}.live-studio-actions .btn{padding:9px 12px}}

.analytics-table tbody tr:nth-child(odd){background:#fbfcfb}.analytics-table td:nth-child(n+2){min-width:110px}.analytics-table td:first-child{font-weight:700;color:#526764}.analytics-table-wrap{max-height:560px;border:1px solid var(--line);border-radius:12px}.analytics-table thead{position:sticky;top:0;background:#f6f8f5;z-index:1}.admin-tabs a:hover{border-color:#a6cbb5;text-decoration:none}.site-announcement{overflow-wrap:anywhere}

/* V6 profile cover and owner photo controls */
.profile-wrap{max-width:980px}.profile-hero{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow);margin-bottom:20px}.profile-cover{height:270px;position:relative;background-size:cover;background-position:center;background-color:#dcefe3}.cover-default{background:linear-gradient(120deg,#cfe9d7 0%,#e5f1d8 42%,#f8d9ca 100%);overflow:hidden}.cover-default:before,.cover-default:after{content:"";position:absolute;border-radius:50%;background:#ffffff40}.cover-default:before{width:370px;height:370px;right:10%;top:-250px}.cover-default:after{width:240px;height:240px;right:26%;bottom:-190px}.cover-flower{position:absolute;right:13%;top:26px;color:#fff9;font-size:190px;line-height:1}.cover-caption{position:absolute;left:30px;bottom:24px;font-size:clamp(22px,4vw,40px);font-weight:800;letter-spacing:-1.5px;color:#fff;text-shadow:0 2px 16px #355e4e55}.cover-upload{position:absolute;right:15px;bottom:15px}.cover-upload input,.avatar-upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.profile-identity{min-height:142px;display:flex;align-items:center;gap:20px;padding:0 24px 17px}.profile-photo-wrap{width:152px;height:152px;position:relative;flex:none;margin-top:-53px;border:5px solid #fff;border-radius:50%;background:#fff;z-index:1}.profile-avatar{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%;background:linear-gradient(135deg,#91c6a7,#438767)}.profile-avatar.initials{display:grid;place-items:center}.profile-avatar.initials .avatar{width:100%;height:100%;font-size:43px;border-radius:50%}.avatar-upload{position:absolute;right:2px;bottom:4px}.avatar-camera{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:0 2px 9px #18303322;cursor:pointer}.identity-copy{min-width:0;flex:1;padding:14px 0}.identity-copy h1{font-size:27px;letter-spacing:-.8px;margin:1px 0 0}.identity-copy .stats{margin:8px 0 0}.identity-actions{align-self:flex-start;margin:22px 0 0 auto}.profile-layout{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:20px;align-items:start}.about-card p{white-space:pre-wrap;overflow-wrap:anywhere}.profile-posts>h2{font-size:19px;margin:0 0 12px}.profile-posts .card{margin-bottom:13px}.about-card .field{margin-top:17px}
@media(max-width:640px){.profile-cover{height:190px}.profile-identity{min-height:auto;align-items:flex-start;gap:13px;padding:0 14px 15px;flex-wrap:wrap}.profile-photo-wrap{width:112px;height:112px;margin-top:-40px}.identity-copy{padding-top:9px}.identity-copy h1{font-size:21px}.identity-actions{margin:8px 0 0 auto}.profile-layout{grid-template-columns:1fr;gap:8px}.cover-caption{left:17px;bottom:17px}.cover-flower{font-size:130px;right:7%}.cover-upload{right:9px;bottom:9px}.cover-upload .btn{font-size:10px;padding:6px 8px}}

/* V8: slightly wider profile and taller cover photo */
.profile-wrap{max-width:1040px}.profile-cover{height:310px}
@media(max-width:640px){.profile-cover{height:220px}}
/* V10: live cover framing and profile wall composer */
.cover-adjust{position:absolute;left:15px;bottom:15px;z-index:3}.cover-adjust>summary{list-style:none;cursor:pointer}.cover-adjust>summary::-webkit-details-marker{display:none}.cover-adjust form{position:absolute;left:0;bottom:40px;width:260px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #1830332b}.cover-adjust form label{display:block;font-size:11px;font-weight:750;margin-bottom:6px;color:var(--ink)}.cover-adjust form input[type=range]{width:100%;accent-color:var(--green)}.cover-adjust-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin:0 2px 8px}.profile-wall-composer>label:first-of-type{display:block;font-weight:750;margin-bottom:8px}.profile-wall-composer textarea{width:100%;min-height:78px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;resize:vertical}.profile-post-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:9px}.profile-post-file{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.profile-post-tools select{border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:#fff;color:var(--ink);margin-left:auto}.profile-wall-composer>.subtle{margin:7px 0 0}
@media(max-width:640px){.cover-adjust{left:9px;bottom:9px}.cover-adjust form{width:min(260px,calc(100vw - 54px))}.profile-post-tools select{margin-left:0}.profile-post-tools .btn{font-size:11px;padding:7px 9px}}

/* V7 post controls, editing, and share preview support */
.posthead{min-width:0}.post-author{flex:1;min-width:0}.post-menu{position:relative;margin-left:auto;align-self:flex-start}.post-menu summary{width:36px;height:32px;border-radius:9px;display:grid;place-items:center;list-style:none;cursor:pointer;color:#71827d;font-weight:900;letter-spacing:1px}.post-menu summary::-webkit-details-marker{display:none}.post-menu summary:hover,.post-menu[open] summary{background:#f0f6f1;color:var(--green-dark)}.post-menu-pop{position:absolute;right:0;top:37px;z-index:4;width:220px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 36px #18303326;display:grid;gap:3px}.post-menu-pop>a,.post-menu-pop form>button{width:100%;display:block;text-align:left;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:12px;font-weight:650;cursor:pointer}.post-menu-pop>a:hover,.post-menu-pop form>button:hover{background:#f3f8f4;text-decoration:none}.post-menu-pop form{padding:7px 5px;border-top:1px solid #f0f3f0}.post-menu-pop label{display:block;color:var(--muted);font-size:10px;font-weight:700;margin:0 4px 5px}.post-menu-pop select{width:100%;padding:7px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit;font-size:12px}.post-menu-pop form>.btn{margin:6px 3px 0}.post-menu-pop form>button.menu-danger{color:#a54336}.postbody a{overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:#a5cbbb;text-underline-offset:2px}.edit-post-card{max-width:720px;margin:0 auto}.edit-post-card h1{font-size:27px;letter-spacing:-1px;margin:4px 0 15px}.edit-post-card textarea{min-height:170px}.edit-post-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.edit-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:9px}.edit-media-item{border:1px solid var(--line);border-radius:11px;padding:7px;font-size:11px;color:#65746f;cursor:pointer}.edit-media-item img,.edit-media-item video{width:100%;height:105px;object-fit:cover;display:block;border-radius:7px;background:#edf2ee}.edit-media-item span{display:flex;align-items:center;gap:6px;padding:6px 1px 1px}.edit-media-item input{accent-color:var(--green)}
:root{--ink:#183033;--muted:#708081;--line:#e5ece8;--paper:#fff;--wash:#f4f7f3;--green:#2f8c68;--green-dark:#226c50;--mint:#e8f5eb;--coral:#ef826d;--shadow:0 9px 30px rgba(31,59,49,.07)}
.composer{position:relative}.file-picker{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.compose-tools{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.compose-tools .btn{cursor:pointer}.compose-details{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compose-details .field{margin:9px 0}.compose-details select,.compose-details input,.composer-submit select{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff;color:var(--ink)}.composer-submit{display:flex;gap:10px;align-items:center;justify-content:space-between}.composer-submit select{max-width:60%}.compose-status{min-height:18px;color:var(--muted);font-size:11px}.selected-media{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.media-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;padding:4px 7px;background:#f8faf8;color:#52645f;font-size:11px;max-width:100%}.media-chip img{width:42px;height:30px;object-fit:cover;border-radius:5px}.media-chip button{border:0;background:transparent;color:#7f8b88;font-size:17px;padding:0 3px}.emoji-tray{display:flex;flex-wrap:wrap;gap:4px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fbfdfb;margin:8px 0}.emoji-tray button{border:0;background:transparent;border-radius:7px;font-size:22px;padding:5px}.emoji-tray button:hover{background:var(--mint)}.gif-picker{border:1px solid var(--line);border-radius:13px;padding:11px;margin:9px 0;background:#fbfdfb}.gif-picker-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.gif-search{display:flex;gap:7px;margin-bottom:8px}.gif-search input{flex:1;min-width:0;border:1px solid var(--line);border-radius:8px;padding:8px 10px}.gif-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:330px;overflow:auto;margin:9px 0}.gif-result{border:0;background:#edf2ee;padding:0;border-radius:8px;overflow:hidden;cursor:pointer;min-height:70px}.gif-result img{display:block;width:100%;height:90px;object-fit:cover}.post-context{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0 0;color:#657a70;font-size:12px}.post-media{display:grid;gap:8px;margin:10px 0}.post-media img,.post-media video{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:12px;background:#edf2ee}.post-media.multiple{grid-template-columns:repeat(2,minmax(0,1fr))}.post-media.multiple img,.post-media.multiple video{height:240px}.giphy-credit{display:inline-block;margin-top:-5px;font-size:10px;color:var(--muted)}
@media(max-width:640px){.compose-details{grid-template-columns:1fr}.compose-tools{gap:6px}.compose-tools .btn{font-size:11px;padding:6px 8px}.gif-results{grid-template-columns:repeat(2,minmax(0,1fr))}.post-media.multiple img,.post-media.multiple video{height:155px}.composer-submit{align-items:stretch}.composer-submit select{max-width:none}}

/* V15: profile media gallery */
.profile-photos-card{padding:15px}.profile-side-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.profile-side-heading h2{font-size:16px;margin:0}.profile-side-heading a{font-size:12px;font-weight:700;white-space:nowrap}.profile-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.profile-media-tile{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:9px;background:#edf2ee}.profile-media-tile img,.profile-media-tile video{display:block;width:100%;height:100%;object-fit:cover}.profile-media-tile:hover img,.profile-media-tile:hover video{transform:scale(1.035);transition:transform .2s ease}.profile-media-play{position:absolute;right:7px;bottom:6px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#183033bd;color:#fff;font-size:10px;padding-left:2px}.profile-no-media{font-size:12px;margin:0}.profile-gallery-head h1{font-size:27px;letter-spacing:-.8px;margin:8px 0 2px}.profile-gallery-head>p{margin:2px 0 0}.profile-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-gallery-grid .profile-media-tile{border-radius:13px;box-shadow:var(--shadow)}.profile-gallery-head>a{font-size:13px;font-weight:700}.profile-gallery-head{padding:20px}
@media(max-width:760px){.profile-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}
@media(max-width:460px){.profile-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.profile-photos-card{padding:13px}.profile-media-grid{gap:4px}}

/* V16: separate profile photos and videos, including Cloudflare live replays */
.profile-gallery-switch{display:flex;gap:8px;margin:14px 0 8px}.profile-gallery-switch a{padding:7px 13px;border-radius:9px;background:#f3f7f3;color:#60716a;font-size:12px;font-weight:750}.profile-gallery-switch a.selected{background:var(--mint);color:var(--green-dark)}.replay-card h1{font-size:26px;letter-spacing:-.7px;margin:9px 0 2px}.replay-card>p{margin:3px 0 14px}.replay-player{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:13px;background:#101816}.profile-gallery-grid{margin-bottom:14px}
/* Hidden state must override display:flex on the live badge. */
.live-badge[hidden]{display:none!important}
.live-video-stage{position:relative}.live-video-chat-overlay{position:absolute;left:12px;bottom:44px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:min(62%,560px);max-height:40%;overflow:hidden;pointer-events:none}.live-video-chat-overlay:empty{display:none}.live-overlay-item{max-width:100%;padding:6px 9px;border-radius:9px;background:#111b19c9;color:#fff;font-size:12px;line-height:1.35;backdrop-filter:blur(5px);overflow-wrap:anywhere}.live-overlay-item strong{display:block;font-size:10px;color:#c6f0d5}.live-viewer-count{display:inline-flex;align-items:center;gap:5px;margin-left:auto;padding:5px 9px;border:1px solid var(--line);border-radius:20px;background:#f7faf7;color:#53665e;font-size:11px;font-weight:750;white-space:nowrap}.live-studio [data-live-share]:not([hidden]){display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px}
@media(max-width:500px){.live-video-chat-overlay{left:7px;bottom:36px;width:72%;max-height:34%}.live-overlay-item{font-size:10px;padding:5px 7px}}

/* V19: broadcast cards in the feed */
.live-feed{margin:0 0 16px}.live-feed>h2{display:flex;align-items:center;gap:8px;font-size:15px;margin:0 3px 9px;color:#9f4038}.live-feed>h2 span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:20px;background:#fff0ed;color:#b74b40;font-size:10px}.live-feed-post{border-color:#f1d9d4;background:linear-gradient(135deg,#fff 0%,#fffafa 100%)}.live-feed-post .posthead{align-items:center}.live-feed-message{margin:12px 0 13px;padding:12px 14px;border-radius:12px;background:#fff4f1}.live-feed-message strong{font-size:15px;color:#9f4038}.live-feed-message p{margin:5px 0;font-size:14px;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}.live-feed-message span{font-size:11px;color:var(--muted)}.live-feed-watch{display:inline-flex;align-items:center;gap:6px}
@media(max-width:500px){.live-feed-post .posthead{gap:8px}.live-feed-post .live-badge{margin-left:auto}.live-feed-message{padding:10px 11px}}

/* V20: show the active broadcast on its broadcaster's profile */
.profile-live-post{margin-bottom:14px}
