.community-page{width:min(1180px,calc(100% - 36px));min-height:55vh;margin:32px auto 80px;color:#ecf6ef}.community-heading{padding:26px 0 20px;border-bottom:1px solid #24412e}.community-heading .eyebrow{color:#83eaa0;font-size:11px;letter-spacing:.12em}.community-heading h1{margin:8px 0;font-size:clamp(28px,4vw,44px)}.community-heading p,.community-tools p{margin:0;color:#a9beb0}.community-tabs,.community-filters{display:flex;gap:8px;flex-wrap:wrap}.community-tabs{padding:18px 0;border-bottom:1px solid #203b29}.community-tabs button,.community-filters button{border:1px solid #31573d;background:#0b1710;color:#e7f4ea;padding:10px 16px;font:inherit;cursor:pointer}.community-tabs button.active,.community-filters button.active{background:#72e996;color:#051009;border-color:#72e996}.community-tools{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin:26px 0 16px}.community-tools h2,.community-page section>h2{margin:0 0 5px;font-size:22px}.community-upload,.community-signin,.community-chat{margin:18px 0 28px;padding:20px;border:1px solid #284934;background:#09140d}.community-upload h3{margin:0 0 14px}.community-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.community-upload label,.community-chat label,.moderation-card label,.moderation-user label,.community-user-search label{display:grid;gap:7px;margin:10px 0;color:#c4d5c9}.community-upload input,.community-upload select,.community-upload textarea,.community-chat select,.community-chat textarea,.moderation-card input,.moderation-user select,.moderation-user textarea,.community-user-search input{width:100%;padding:11px;border:1px solid #33543e;background:#07100a;color:#f0fff3;font:inherit;min-height:44px}.community-upload textarea,.community-chat textarea,.moderation-user textarea{resize:vertical}.community-check{display:flex!important;align-items:center;gap:9px}.community-check input{width:18px;height:18px;min-height:0;accent-color:#72e996}.community-upload .button,.community-chat-compose .button{margin-top:7px}.community-stories{margin:24px 0}.community-story-list{display:flex;gap:12px;overflow-x:auto;padding:10px 2px}.community-story{flex:0 0 86px;display:grid;gap:7px;justify-items:center;border:0;background:transparent;color:#f2fff4;font:inherit;cursor:pointer}.community-story>span{width:70px;height:70px;border:2px solid #79eca0;border-radius:50%;padding:3px;overflow:hidden;background:#0b170f}.community-story img,.community-story video{width:100%;height:100%;object-fit:cover;border-radius:50%}.community-story b{max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.community-feed{margin:26px 0}.community-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.community-post,.moderation-card{min-width:0;border:1px solid #24432f;background:#08120b;overflow:hidden}.community-post>header{display:flex;align-items:center;gap:10px;padding:12px}.community-avatar,.market-slot-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #62d886;border-radius:50%;background:#102a19;color:#90f1ad;font-weight:800}.community-post>header div{display:grid;gap:3px}.community-post>header small,.market-card small{color:#a9beb0;font-size:11px}.community-post-media{display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;background:#030906;cursor:pointer}.community-media-object{display:block;width:100%;height:100%;object-fit:cover;background:#030906}.community-post-media video{object-fit:contain}.community-caption{min-height:34px;padding:0 13px}.community-post>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-top:1px solid #1d3324;color:#a9beb0;font-size:11px}.community-like{border:0;background:none;color:#b9c8bd;font:inherit;font-size:18px;cursor:pointer}.community-like.liked{color:#ff8290}.community-like span{font-size:13px}.community-empty{padding:18px;color:#a9beb0;border:1px dashed #294634}.media-admin-note{color:#9fb9a7;font-size:12px}.community-my-posts{margin:24px 0}.community-my-posts summary{cursor:pointer;color:#aee9bc}.community-my-post-list{display:grid;gap:8px;margin-top:12px}.community-my-post-list article,.moderation-log-list article{display:grid;gap:5px;padding:12px;border:1px solid #294634;background:#08130c}.community-my-post-list small,.moderation-log-list small{color:#9fb4a5}.community-market{margin-top:20px}.market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 28px}.market-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #274833;background:#09140d}.market-card>div{display:grid;gap:4px;flex:1;min-width:0}.market-card p{margin:3px 0 0;color:#c2d2c6;font-size:13px}.market-slot-icon{border-radius:10px;font-size:22px}.community-chat{padding:0;overflow:hidden}.community-chat>header{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px;border-bottom:1px solid #294634}.community-chat>header h2{margin:0 0 5px}.community-chat>header p{margin:0;color:#a9beb0}.community-chat-list{display:flex;flex-direction:column;gap:10px;max-height:55vh;min-height:260px;overflow:auto;padding:16px}.community-message{width:min(82%,640px);padding:10px 13px;border:1px solid #274833;background:#0b1a10}.community-message.mine{align-self:flex-start;background:#102a19;border-color:#376a48}.community-message b{font-size:12px;color:#91e8a7}.community-message p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.community-message small{font-size:10px;color:#91a697}.community-chat-compose{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px;border-top:1px solid #294634}.community-chat-compose textarea{width:100%;padding:10px;background:#07100a;border:1px solid #33543e;color:#fff;font:inherit}.community-chat-compose .button{margin:0}.community-page .error,.community-empty.error{color:#ffb0a8}.community-viewer{position:fixed;z-index:10050;inset:0;display:grid;place-items:center;padding:18px;background:#000e;backdrop-filter:blur(8px)}.community-viewer article{position:relative;display:grid;width:min(520px,94vw);height:min(88vh,900px);background:#050907;border:1px solid #70ef91}.community-viewer .community-media-object{object-fit:contain}.community-viewer-copy{position:absolute;inset:auto 0 0;padding:36px 16px 14px;background:linear-gradient(transparent,#000e)}.community-viewer-copy p{margin:5px 0}.community-viewer-copy small{color:#b6c6bb}.community-viewer-close,.community-viewer-step{position:absolute;z-index:2;top:20px;display:grid;place-items:center;width:42px;height:42px;border:1px solid #71e695;background:#06100a;color:#fff;font-size:26px;cursor:pointer}.community-viewer-close{right:20px}.community-viewer-step{left:20px;top:50%}.community-viewer-step.next{left:auto;right:20px}.moderation-post-grid,.moderation-user-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.moderation-card{display:grid;gap:8px;padding:13px}.moderation-media{height:240px;background:#030906}.moderation-media video{object-fit:contain}.moderation-card p,.moderation-user p{margin:2px 0;color:#c8d6cd;white-space:pre-wrap}.community-actions{display:flex;gap:8px;flex-wrap:wrap}.community-actions button{flex:1}.community-actions button:disabled{opacity:.5}.moderation-user{display:grid;gap:8px;padding:15px;border:1px solid #284934;background:#09140d}.moderation-user header{display:flex;justify-content:space-between;gap:10px;align-items:center}.moderation-user header div{display:grid;gap:5px;min-width:0}.moderation-user header small{max-width:100%;overflow-wrap:anywhere;color:#8ea595;font-size:10px}.moderation-user header span{padding:5px 8px;border:1px solid #31573d;font-size:11px}.moderation-user>small{color:#a9beb0}.community-user-search{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px}.moderation-chat-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px;border-bottom:1px solid #294634}.moderation-chat-row>div{min-width:0}.moderation-chat-row small{display:block;color:#9fb4a5}.moderation-chat-row p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.moderation-log-list{display:grid;gap:8px;margin-top:14px}.moderation-log-list article{grid-template-columns:1fr auto}.moderation-log-list article p{grid-column:1/-1;margin:0}.community-home{width:min(1180px,calc(100% - 36px));margin:22px auto}.community-home .community-story-list{justify-content:flex-start}.community-home .community-post-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.community-home .community-post{position:relative}.community-home .community-post>header{position:absolute;z-index:1;inset:0 0 auto;background:linear-gradient(#000b,transparent);text-shadow:0 1px 5px #000}.community-home .community-post>header small{color:#e1efe5}.community-home .community-post-media{aspect-ratio:1/1}.community-home .community-post>footer{display:none}.media-unavailable{background:#122019!important;color:#9daf9f!important}.image-highlight.media-unavailable:after,.story-item.media-unavailable:after{content:'تعذر تحميل الصورة';position:absolute;inset:auto 8px 8px;padding:6px;background:#06100acc;color:#d3dfd6;font-size:11px;text-align:center}.community-transfer-banner{padding:14px;border-inline-start:3px solid #73e995;background:#0b1b10}
@media(max-width:820px){.community-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-home .community-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.moderation-post-grid,.moderation-user-grid{grid-template-columns:1fr}}
@media(max-width:560px){.community-page,.community-home{width:calc(100% - 24px)}.community-heading{padding-top:14px}.community-form-grid,.market-grid,.community-user-search{grid-template-columns:1fr}.community-upload,.community-signin{padding:14px}.community-post-grid{grid-template-columns:1fr}.community-home .community-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.community-home .community-post>header{padding:8px}.community-home .community-avatar{width:30px;height:30px}.community-home .community-post>header small{display:none}.community-chat-compose{grid-template-columns:1fr}.moderation-chat-row{align-items:flex-start;flex-direction:column}.community-viewer{padding:8px}.community-viewer article{width:96vw;height:82vh}.community-viewer-close{right:10px;top:10px}.community-viewer-step{left:9px}.community-viewer-step.next{right:9px}}
.community-media-missing{display:grid;place-items:center;min-height:160px;background:#0b1810;color:#a9beb0;font-size:13px}.button.danger{border-color:#94483e;background:#351814;color:#ffd4cc}.button.danger:hover{background:#59241d}.community-page button:disabled{opacity:.5;cursor:not-allowed}
.community-message-report{display:block;margin-top:6px;padding:2px 0;border:0;background:transparent;color:#9fb9a7;font:inherit;font-size:11px;cursor:pointer}.community-message-report:hover{color:#f1a3a3;text-decoration:underline}.community-message-report:disabled{opacity:.7;cursor:default}.report-reason{color:#f1c5a7}

/* Titanium community: calm, compact social layout with a clear route from the home page. */
.site-header .nav-cta,.community-launcher{animation:none!important;transform:none!important}
.community-launcher{display:inline-flex;align-items:center;justify-content:center;gap:9px;margin:22px auto 0;padding:13px 22px}
.community-app{width:min(1320px,calc(100% - 32px));margin:28px auto 64px;padding:0 28px 34px;border:1px solid #1c3827;background:#070d09;color:#ecf6ef}
.community-app-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 0 22px;border-bottom:1px solid #203d2b}
.community-app-heading .eyebrow,.community-section-heading .eyebrow{color:#80e99d;font-size:10px;letter-spacing:.14em}
.community-app-heading h1{margin:5px 0;font-size:clamp(26px,3vw,38px);letter-spacing:-.03em}
.community-app-heading p{margin:0;color:#9fb5a5;font-size:14px}
.community-profile-shortcut{padding:10px 16px;border:1px solid #42634d;background:#0b1710;color:#dff5e5;font:inherit;cursor:pointer}
.community-profile-shortcut:hover{border-color:#80e99d;color:#80e99d}
.community-app .community-tabs{gap:0;flex-wrap:nowrap;overflow-x:auto;padding:0;border-bottom:1px solid #203d2b;scrollbar-width:thin}
.community-app .community-tabs button{flex:none;padding:15px 18px;border:0;border-bottom:2px solid transparent;background:transparent;color:#a8b9ad;font-size:14px;white-space:nowrap}
.community-app .community-tabs button:hover{color:#effff2}
.community-app .community-tabs button.active{border-bottom-color:#80e99d;background:transparent;color:#9bf0b1}
.community-app #community-panel{padding-top:22px}
.community-app .community-stories{margin:0 0 22px;padding-bottom:20px;border-bottom:1px solid #1b3224}
.community-section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px}
.community-section-heading h2{margin:5px 0 0;font-size:20px}
.community-section-heading>span{color:#93a99a;font-size:12px}
.community-app .community-story-list{gap:16px;padding:14px 2px 4px}
.community-app .community-story{flex-basis:78px}
.community-app .community-story>span{width:64px;height:64px;border:1px solid #77dd94;padding:3px;background:#0d1b12}
.community-app .community-story b{font-weight:500;color:#c8d7cc}
.community-social-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;align-items:start}
.community-app .community-feed{min-width:0;margin:0}
.community-app .community-tools{align-items:center;margin:0 0 16px;padding-bottom:15px;border-bottom:1px solid #1b3224}
.community-app .community-tools h2{margin:4px 0;font-size:21px}
.community-app .community-tools p{font-size:12px}
.community-app .community-filters{gap:5px}
.community-app .community-filters button{padding:8px 11px;border-color:#253e2d;background:#0b150e;color:#c5d4ca;font-size:12px}
.community-app .community-filters button.active{border-color:#79df98;background:#79df98;color:#07110a}
.community-app .community-post-grid{grid-template-columns:minmax(0,760px);gap:18px;justify-content:center}
.community-app .community-post{border-color:#213b2a;background:#0a120c}
.community-app .community-post>header{padding:13px 15px}
.community-app .community-post-media{aspect-ratio:4/5;max-height:780px}
.community-app .community-caption{padding:8px 15px 12px;color:#d8e5dc;line-height:1.7}
.community-app .community-post>footer{padding:12px 15px}
.community-social-side{position:sticky;top:100px;display:grid;gap:12px}
.community-composer,.community-my-posts,.community-guidelines,.community-profile{border:1px solid #203b29;background:#0a120c}
.community-composer>summary,.community-my-posts>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;color:#e7f4ea;cursor:pointer;list-style:none}
.community-composer>summary::-webkit-details-marker,.community-my-posts>summary::-webkit-details-marker{display:none}
.community-composer>summary b{display:grid;place-items:center;width:25px;height:25px;border:1px solid #41654b;border-radius:50%;color:#8ce8a5;font-size:18px;font-weight:400}
.community-social-side .community-upload{margin:0;padding:16px;border-width:1px 0 0;background:transparent}
.community-social-side .community-upload h3{font-size:16px}
.community-social-side .community-upload label{font-size:13px}
.community-guidelines{padding:15px}
.community-guidelines h2{margin:0 0 7px;font-size:15px}
.community-guidelines p{margin:0 0 10px;color:#9fb5a5;font-size:12px;line-height:1.7}
.community-guidelines a{color:#8be5a3;font-size:12px}
.community-profile{padding:24px}
.community-profile>header{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid #203b29}
.community-profile-avatar{width:58px;height:58px;font-size:22px}
.community-profile>header h2{margin:4px 0;font-size:22px}
.community-profile>header p{margin:0;color:#9fb5a5}
.community-profile-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:18px}
.community-chat{border-color:#203b29;background:#0a120c}
.community-chat>header{align-items:center;padding:18px 20px;border-bottom:1px solid #203b29}
.community-chat>header h2{margin:0 0 4px;font-size:20px}
.community-chat>header p{margin:0;color:#9fb5a5;font-size:13px}
.community-chat>header label{min-width:min(320px,100%);margin:0;font-size:12px}
.community-chat-list{display:flex;flex-direction:column;gap:10px;min-height:220px;max-height:58vh;overflow:auto;padding:18px;background:#080f0a}
.community-message{align-self:flex-start;width:min(78%,600px);padding:11px 13px;border:1px solid #203b29;background:#0d1a11}
.community-message.mine{align-self:flex-end;border-color:#34563c;background:#102116}
.community-message p{margin:5px 0;color:#e4eee7;line-height:1.6;overflow-wrap:anywhere}
.community-message small{color:#91a699;font-size:10px}
.community-chat-compose{padding:14px 18px}
.community-app .community-empty{border-color:#263d2e;background:#09120c;color:#a9beb0}
@media(max-width:900px){.community-social-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.community-app{padding-right:20px;padding-left:20px}}
@media(max-width:700px){.community-app{width:calc(100% - 20px);margin:12px auto 40px;padding:0 12px 22px}.community-app-heading{padding:19px 0 16px}.community-app-heading p{font-size:12px}.community-profile-shortcut{padding:9px 11px;font-size:12px}.community-app .community-tabs button{padding:13px 14px;font-size:12px}.community-app #community-panel{padding-top:16px}.community-social-layout{grid-template-columns:1fr}.community-social-side{position:static;grid-row:1}.community-app .community-post-grid{grid-template-columns:minmax(0,1fr)}.community-app .community-post-media{aspect-ratio:4/5;max-height:70vh}.community-app .community-tools{align-items:flex-start;flex-direction:column}.community-app .community-chat>header{align-items:stretch}.community-chat>header label{width:100%}.community-message{width:92%}}

/* Social app structure: desktop sidebar, stories, and one focused media timeline. */
.community-app{width:min(1440px,100% - 40px);margin:18px auto 56px;padding:0 26px 34px;border:0;background:#070b08}
.community-app-heading{padding:18px 0 15px;border-bottom:1px solid #1b2c20}
.community-app-heading h1{font-size:26px;letter-spacing:0}
.community-app-heading p{font-size:12px}
.community-online-label{display:inline-flex;align-items:center;gap:8px;color:#9eb2a3;font-size:12px}
.community-online-label i{width:7px;height:7px;border-radius:50%;background:#78df96;box-shadow:0 0 8px #78df9666}
.community-app-shell{display:grid;grid-template-columns:238px minmax(0,1fr);direction:rtl;min-height:76vh}
.community-sidebar{grid-column:1;grid-row:1;position:sticky;top:80px;align-self:start;min-height:70vh;padding:22px 0 20px 20px;border-left:1px solid #1b2c20;background:#070b08}
.community-app .community-tabs{display:flex;flex-direction:column;gap:4px;overflow:visible;padding:0;border:0}
.community-app .community-tabs button{display:flex;align-items:center;gap:13px;width:100%;padding:12px 14px;border:0;border-right:3px solid transparent;background:transparent;color:#b6c4ba;text-align:right;font-size:14px}
.community-app .community-tabs button i,.community-tournament-tabs i{width:19px;height:19px}
.community-app .community-tabs button:hover{background:#0d1710;color:#f3fff6}
.community-app .community-tabs button.active{border-right-color:#7de39a;background:#0d1710;color:#91e9a8}
.community-sidebar-note{margin-top:30px;padding:15px 14px;border-top:1px solid #1b2c20;color:#819487}
.community-sidebar-note .eyebrow{font-size:9px;letter-spacing:.12em;color:#7acb8d}
.community-sidebar-note p{font-size:11px;line-height:1.8}
.community-app #community-panel{grid-column:2;min-width:0;padding:22px 25px 35px}
.community-app .community-stories{max-width:750px;margin:0 auto 20px;padding:0 0 17px;border-bottom:1px solid #1b2c20}
.community-app .community-section-heading h2{margin-top:3px;font-size:19px}
.community-app .community-section-heading>span{font-size:11px}
.community-app .community-story-list{gap:15px;padding:13px 0 2px}
.community-app .community-story{flex-basis:72px;gap:6px}
.community-app .community-story>span{width:62px;height:62px;border:2px solid #69d989;padding:3px;background:#080d09}
.community-app .community-story b{font-size:10px;font-weight:500;color:#bdcbbf}
.community-feed{max-width:720px;margin:0 auto}
.community-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 auto 12px;padding-bottom:12px;border-bottom:1px solid #1b2c20}
.community-feed-heading h2{margin:0 0 3px;font-size:20px}
.community-feed-heading span{color:#8fa194;font-size:11px}
.community-app .community-filters{align-items:center;gap:4px}
.community-app .community-filters button{padding:7px 10px;border:0;background:transparent;color:#89998d;font-size:11px}
.community-app .community-filters button.active{border-radius:16px;background:#13241a;color:#90e8a7}
.community-app .community-filters .community-refresh{display:grid;place-items:center;width:32px;height:32px;border:1px solid #273a2c;border-radius:50%;color:#aebdb2}
.community-feed-actions{display:grid;gap:8px;margin:0 auto 14px}
.community-feed-actions .community-composer,.community-feed-actions .community-my-posts{margin:0;border:1px solid #1d3123;background:#0b120d}
.community-feed-actions .community-composer>summary{justify-content:flex-start;gap:11px;padding:9px 12px;color:#94a599;font-size:12px}
.community-feed-actions .community-composer>summary .community-avatar{width:34px;height:34px;border:1px solid #477b54;background:#102117;color:#a1eab2}
.community-feed-actions .community-composer>summary b{margin-inline-start:auto}
.community-feed-actions .community-upload{margin:0;padding:15px;border-width:1px 0 0;background:transparent}
.community-feed-actions .community-my-posts>summary{padding:9px 13px;color:#91a397;font-size:11px}
.community-feed .community-post-grid{display:grid;grid-template-columns:minmax(0,1fr);max-width:620px;margin:0 auto;gap:17px}
.community-app .community-post{border:1px solid #202e24;border-radius:4px;background:#090e0a}
.community-app .community-post>header{padding:12px 13px}
.community-app .community-post .community-avatar{border-color:#3b6846;background:#0d1b11;color:#9ce9ac}
.community-app .community-post-media{aspect-ratio:4/5;max-height:min(78vh,820px);background:#030604}
.community-app .community-post-media video{object-fit:contain;background:#020403}
.community-app .community-caption{padding:10px 14px 13px;color:#d9e3dc;line-height:1.7}
.community-app .community-post>footer{padding:10px 13px;border-top:1px solid #17241a}
.community-app .community-like{font-size:20px}
.community-app .community-my-post-list{padding:0 12px 12px}
.community-tournament-hub{max-width:1000px;margin:0 auto}
.community-tournament-heading{padding:4px 0 16px;border-bottom:1px solid #1b2c20}
.community-tournament-heading .eyebrow{font-size:10px;letter-spacing:.12em;color:#7acb8d}
.community-tournament-heading h2{margin:5px 0;font-size:24px}
.community-tournament-heading p{margin:0;color:#93a398;font-size:13px}
.community-tournament-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0 20px;padding-bottom:12px;border-bottom:1px solid #1b2c20}
.community-tournament-tabs button,.community-tournament-tabs a{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #23372a;background:#0a120d;color:#b9c9bd;font:inherit;font-size:12px;text-decoration:none;cursor:pointer}
.community-tournament-tabs button.active{border-color:#4c7957;background:#13241a;color:#9be7ad}
.community-tournament-hub .community-tools{margin:0 0 15px}
.community-tournament-hub .community-upload{margin:12px 0;padding:16px;border-color:#203527;background:#0a120d}
.community-tournament-hub> #tournament-tool-panel>section{margin-top:22px}
.community-tournament-hub .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.community-tournament-hub .community-chat{max-width:820px;margin:0 auto}
.community-app .community-profile{max-width:760px;margin:10px auto;border-color:#203527;background:#0a120d}
@media(max-width:780px){.community-app{width:100%;margin:0 auto 36px;padding:0 12px 24px}.community-app-heading{padding:13px 4px}.community-app-heading h1{font-size:21px}.community-online-label{font-size:10px}.community-app-shell{grid-template-columns:minmax(0,1fr);min-height:0}.community-sidebar{grid-column:1;grid-row:1;position:sticky;top:0;z-index:20;min-height:0;padding:0;border:0;border-bottom:1px solid #203126}.community-app .community-tabs{flex-direction:row;gap:0;overflow-x:auto;scrollbar-width:none}.community-app .community-tabs::-webkit-scrollbar{display:none}.community-app .community-tabs button{flex:0 0 auto;width:auto;gap:7px;padding:11px 12px;border:0;border-bottom:2px solid transparent;font-size:11px;white-space:nowrap}.community-app .community-tabs button.active{border:0;border-bottom:2px solid #7de39a}.community-app .community-tabs button i{width:16px;height:16px}.community-sidebar-note{display:none}.community-app #community-panel{grid-column:1;padding:15px 4px 28px}.community-app .community-stories{margin-bottom:15px}.community-app .community-feed{max-width:620px}.community-app .community-post-media{max-height:72vh}.community-tournament-hub .market-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:430px){.community-app-heading p{font-size:10px}.community-online-label{display:none}.community-app .community-feed-heading{align-items:flex-start}.community-app .community-filters button{padding:6px 8px;font-size:10px}.community-app .community-filters .community-refresh{width:29px;height:29px}.community-app .community-post-media{aspect-ratio:3/4;max-height:68vh}.community-app .community-post>header{padding:10px}.community-app .community-story-list{gap:10px}.community-app .community-story{flex-basis:64px}.community-app .community-story>span{width:54px;height:54px}}

/* Social feed polish: one shared composition across desktop and mobile */
.community-app{width:min(1440px,calc(100% - 40px));padding:0 30px 32px;border:1px solid #203c2a;border-radius:14px;background:#070d09}
.community-app-shell{grid-template-columns:220px minmax(0,1fr)}
.community-app #community-panel{min-width:0;padding:18px 0 14px}
.community-app .community-stories,.community-app .community-feed{width:min(100%,760px);margin-inline:auto}
.community-app .community-stories{padding:16px 18px;border:1px solid #203a29;border-radius:16px;background:#0a140d}
.community-app .community-story>span{padding:3px;border:2px solid transparent;background:linear-gradient(#09140d,#09140d) padding-box,linear-gradient(135deg,#71e995,#d5ffe0) border-box}
.community-app .community-story b{font-size:12px;color:#d4e4d9}
.community-app .community-feed{margin-top:18px}
.community-app .community-feed-heading{padding:8px 4px 14px}
.community-app .community-feed-heading h2{margin:3px 0;font-size:24px}
.community-app .community-feed-heading>div:first-child>span:last-child{color:#99ad9e;font-size:12px}
.community-app .community-post-grid{grid-template-columns:minmax(0,1fr);gap:18px;max-width:760px;margin-inline:auto}
.community-app .community-post{border:1px solid #203b29;border-radius:15px;background:#09120c;box-shadow:0 12px 32px #0003}
.community-app .community-post>header{padding:14px 16px}
.community-app .community-post-media{aspect-ratio:4/5;max-height:78vh}
.community-app .community-post-media.is-video{aspect-ratio:9/16;max-height:min(82vh,860px);background:#020503}
.community-app .community-post-media.is-video .community-media-object{object-fit:contain}
.community-app .community-caption{padding:10px 16px 12px;line-height:1.7}
.community-app .community-post>footer{justify-content:flex-start;padding:12px 16px}
.community-app .community-like{display:inline-flex;align-items:center;gap:8px;padding:2px 0;font-size:20px}
.community-app .community-like::after{content:'إعجاب';font-size:13px}
.community-app .community-feed-actions{display:grid;gap:8px;margin:12px 0}
.community-app .community-composer,.community-app .community-my-posts{border:1px solid #203b29;border-radius:13px;background:#0a140d}
.community-app .community-composer summary{min-height:54px;padding:8px 12px;border-radius:12px}
.community-media-admin-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;padding:10px 12px;border:1px solid #31563d;border-radius:8px;color:#92edaa;text-decoration:none}
.community-media-admin-link:hover{background:#0e2114}
.community-moderation .moderation-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.community-moderation .moderation-card{border-radius:14px}
.community-moderation .moderation-media{height:auto;aspect-ratio:4/5;max-height:68vh;overflow:hidden}
.community-moderation .moderation-media .community-media-object{object-fit:contain}
@media(max-width:900px){.community-app{width:min(100% - 20px,760px);padding-inline:18px}.community-app-shell{grid-template-columns:190px minmax(0,1fr)}.community-app .community-post-grid{max-width:700px}.community-moderation .moderation-post-grid{grid-template-columns:1fr}}
@media(max-width:780px){
  .community-app{width:100%;margin:8px auto 0;padding:0 0 calc(84px + env(safe-area-inset-bottom));border:0;border-radius:0;background:#070d09}
  .community-app-heading{padding:12px 15px}
  .community-app-heading h1{font-size:22px}
  .community-app-shell{grid-template-columns:minmax(0,1fr);min-height:0}
  .community-sidebar{position:fixed;inset:auto 0 0;z-index:1000;width:100%;min-height:0;padding:4px 8px calc(4px + env(safe-area-inset-bottom));border:0;border-top:1px solid #294331;background:rgba(6,12,8,.97);backdrop-filter:blur(14px)}
  .community-app .community-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:visible;padding:0;border:0}
  .community-app .community-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;padding:7px 2px;border:0;border-top:2px solid transparent;background:transparent;font-size:9px;line-height:1.2;white-space:normal}
  .community-app .community-tabs button.active{border:0;border-top:2px solid #7de39a;background:transparent;color:#8ff1aa}
  .community-app .community-tabs button i{width:19px;height:19px}
  .community-app .community-tabs button span{max-width:100%;text-align:center}
  .community-sidebar-note{display:none}
  .community-app #community-panel{grid-column:1;padding:8px 0 18px}
  .community-app .community-stories{width:100%;margin:0 0 10px;padding:13px 12px;border-inline:0;border-radius:0}
  .community-app .community-section-heading{padding-inline:2px}
  .community-app .community-story-list{gap:13px;padding:10px 2px}
  .community-app .community-story{flex-basis:66px}
  .community-app .community-story>span{width:62px;height:62px}
  .community-app .community-feed{width:100%;max-width:none;margin:8px 0}
  .community-app .community-feed-heading{align-items:center;padding:8px 13px 12px}
  .community-app .community-feed-heading h2{font-size:21px}
  .community-app .community-feed-actions{margin:10px 12px}
  .community-app .community-post-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .community-app .community-post{border-radius:0;border-inline:0;box-shadow:none}
  .community-app .community-post>header{padding:12px 14px}
  .community-app .community-post-media{aspect-ratio:4/5;max-height:76svh}
  .community-app .community-post-media.is-video{aspect-ratio:9/16;max-height:calc(100svh - 190px)}
  .community-app .community-caption{padding-inline:14px}
  .community-app .community-post>footer{padding:10px 14px}
  .community-moderation .moderation-post-grid{grid-template-columns:1fr}
  .community-moderation .moderation-card{border-radius:12px}
}
@media(max-width:420px){
  .community-app-heading{padding-inline:12px}
  .community-app .community-tabs button{font-size:8px}
  .community-app .community-filters{gap:5px}
  .community-app .community-filters button{padding:7px 9px;font-size:10px}
  .community-app .community-post-media.is-video{max-height:calc(100svh - 180px)}
}

/* Community profile avatars: image/GIF preview and staff review queue */
.community-avatar.has-avatar,.community-profile-avatar.has-avatar,.community-avatar-preview.has-avatar{overflow:hidden;padding:0}
.community-avatar img,.community-profile-avatar img,.community-avatar-preview img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.community-avatar-settings{margin-top:22px;padding:18px;border:1px solid #203b29;border-radius:12px;background:#09120c}
.community-avatar-settings h3{margin:0 0 5px;font-size:18px}
.community-avatar-settings>p{margin:0 0 16px;color:#a9beb0;font-size:13px}
.community-avatar-preview-row,.community-avatar-pending-row{display:flex;align-items:center;gap:12px;margin:12px 0;padding:10px;border:1px solid #1c3022;background:#07100a}
.community-avatar-preview-row>div,.community-avatar-pending-row>div{display:grid;gap:4px}
.community-avatar-preview-row small,.community-avatar-pending-row small{color:#9caf9f;font-size:12px}
.community-avatar-preview{width:58px;height:58px;font-size:22px}
.community-avatar-upload{display:grid;gap:10px;margin-top:12px}
.community-avatar-upload label{display:grid;gap:7px;color:#c4d5c9}
.community-avatar-upload input[type=file]{width:100%;padding:10px;border:1px solid #33543e;background:#07100a;color:#f0fff3;font:inherit}
.community-avatar-upload>small{color:#95aa9a;font-size:11px}
.community-avatar-review-list{display:grid;gap:12px;margin-top:16px}
.community-avatar-review-card{display:grid;grid-template-columns:128px minmax(0,1fr);gap:15px;padding:14px;border:1px solid #284934;background:#09140d}
.community-avatar-review-preview{display:grid;place-items:center;width:128px;height:128px;overflow:hidden;border:1px solid #31573d;border-radius:50%;background:#0c1b11;color:#8feaa6;font-size:28px;font-weight:800}
.community-avatar-review-preview img{width:100%;height:100%;object-fit:cover}
.community-avatar-review-details{display:grid;align-content:start;gap:8px;min-width:0}
.community-avatar-review-details small{color:#a9beb0}
.community-avatar-review-details p{margin:0;color:#ffb3a9}
.community-avatar-review-details textarea{width:100%;min-height:64px;padding:10px;border:1px solid #33543e;background:#07100a;color:#f0fff3;font:inherit;resize:vertical}
.community-message-head{display:flex;align-items:center;gap:9px}
.community-message-head .community-avatar{width:30px;height:30px;font-size:12px}
@media(max-width:560px){.community-avatar-settings{padding:13px}.community-avatar-review-card{grid-template-columns:78px minmax(0,1fr);gap:10px;padding:10px}.community-avatar-review-preview{width:78px;height:78px}.community-avatar-upload .button{width:100%}}
