/* V260 — نادي مدينة الصفر. Photogenic self-contained stadium/HQ SVG scenes + functional RTL panels. */
/* The official player server state remains in city_world.js. This file only changes presentation. */
@media (min-width:900px){
  #app.club-mode.screen{max-width:1140px}
  #app.club-mode.screen:not(.auth-mode) .bottom{width:min(1140px,100%)!important}
}
#app.club-mode .hero{padding-bottom:12px;background:
  radial-gradient(ellipse at 60% 0%,#26615585,transparent 65%),
  linear-gradient(160deg,#0a3140,#081b2a);border-bottom-color:#7b9e92}
#app.club-mode .hero-headline{display:none}
#app.club-mode .hero .club-world-label{display:none}
#app.club-mode .hero .brand b{font-size:clamp(18px,3vw,24px);color:#f8d898;font-weight:900}
#app.club-mode .content{padding-top:12px}
#app.club-mode .club-module{font-family:system-ui,"Segoe UI",Tahoma,Arial,sans-serif}
#app.club-mode .football-club-art-banner{
 position:relative;isolation:isolate;min-height:clamp(202px,30vw,310px);
 overflow:hidden;border:1px solid #dfc18a;border-radius:21px;
 background:#103244;box-shadow:0 13px 30px #0009,0 0 0 1px #fce5ae22;
 display:flex;align-items:center;justify-content:flex-start;margin-bottom:14px;
}
#app.club-mode .football-club-art-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:52% center}
#app.club-mode .football-club-art-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(to left,#071f31f7 0%,#072533d8 33%,#092b3b40 67%,transparent 100%);pointer-events:none}
#app.club-mode .football-club-banner-copy{z-index:1;position:relative;max-width:min(52%,570px);padding:clamp(15px,3vw,28px);text-align:start;text-shadow:0 2px 12px #030d17e0}
#app.club-mode .football-club-banner-kicker{display:block;color:#b8e7d0;font-size:clamp(10px,1.7vw,13px);font-weight:800;margin-bottom:7px}
#app.club-mode .football-club-banner-copy h2{font-size:clamp(29px,4vw,48px);color:#ffe9bd;line-height:1.2;margin:0 0 12px}
#app.club-mode .football-club-banner-copy p{font-size:clamp(13px,1.8vw,18px);color:#f0ebd9;line-height:1.6;margin:0;max-width:25ch}
#app.club-mode #football-work.football-world-ui{border:none;box-shadow:none;background:transparent;padding:0;margin:0}
#app.club-mode .football-world-ui .football-loading{
 background:#103745;border:1px solid #598a87;border-radius:15px;min-height:110px;
 display:grid;align-content:center;color:#d8e9df
}
#app.club-mode .football-world-ui .football-intro-showcase{
 display:flex;flex-direction:row;align-items:center;gap:14px;min-width:0;
 padding:17px 20px;border:1px solid #e9ca83;border-radius:17px;
 background:linear-gradient(120deg,#176052,#104045 50%,#0f3446);
 box-shadow:0 6px 18px #0017215f,inset 0 0 22px #91f0bc10;
 margin:0 0 16px;text-align:center
}
#app.club-mode .football-world-ui .football-intro-showcase>div{flex:1;min-width:0}
#app.club-mode .football-world-ui .football-intro-showcase h3{
 margin:0 0 6px;font-size:clamp(16px,2.4vw,23px);color:#ffe1a2
}
#app.club-mode .football-world-ui .football-intro-showcase p{
 margin:0 auto;max-width:92ch;color:#ecf1df;font-size:clamp(11px,1.5vw,13px);line-height:1.85
}
#app.club-mode .football-info-emblem{
 flex:none;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;
 color:#0c2a32;background:linear-gradient(140deg,#ffe4aa,#d9a954);
 font-size:25px;font-weight:900;box-shadow:0 0 16px #e9c8894d
}
#app.club-mode .football-world-ui .football-world-showcase-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
}
#app.club-mode .football-world-ui .football-world-showcase-grid>section{
 padding:0;display:flex;flex-direction:column;min-width:0;overflow:hidden;
 border:1px solid #6d9794;border-radius:20px;
 background:linear-gradient(150deg,#184d50,#102f43 72%,#0a2434);
 box-shadow:0 14px 25px #00151f71,inset 0 1px 0 #fff3
}
#app.club-mode .football-world-ui .football-world-showcase-grid>.football-world-panel-join{
 border-color:#a3e9b0;box-shadow:0 0 0 2px #75c58d7a,0 0 19px #6be89a5b,inset 0 1px 0 #fff4
}
#app.club-mode .football-panel-picture{position:relative;overflow:hidden;border-bottom:1px solid #86a7994f;
 aspect-ratio:2.65/1;min-height:110px;background:linear-gradient(145deg,#274b59,#0e2d3d)
}
#app.club-mode .football-panel-picture img{
 display:block;width:100%;height:100%;object-fit:cover;object-position:center;
 transition:transform .28s ease
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 #app.club-mode .football-world-panel:hover .football-panel-picture img{transform:scale(1.025)}
}
#app.club-mode .football-panel-picture:after{content:"";position:absolute;inset:auto 0 0;height:30%;
 background:linear-gradient(0deg,#0b303cf2,transparent);pointer-events:none}
#app.club-mode .football-panel-copy{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0;padding:clamp(13px,2.5vw,23px)}
#app.club-mode .football-world-ui .football-panel-copy h4{
 color:#ffebc3;font-size:clamp(17px,2.4vw,23px);text-align:center;
 line-height:1.4;margin:0;font-weight:900
}
#app.club-mode .football-world-ui .football-panel-copy>p{
 color:#d9ebe0;font-size:clamp(11px,1.6vw,13px);line-height:1.8;
 text-align:center;margin:0 0 4px
}
#app.club-mode .football-world-ui .football-join-form{display:flex;flex-direction:column;gap:9px;margin:0}
#app.club-mode .football-world-ui .football-join-form label{
 color:#e4efdf;font-weight:750;font-size:13px;display:grid;
 grid-template-columns:minmax(92px,28%) minmax(0,1fr);align-items:center;gap:8px
}
#app.club-mode .football-world-ui .football-join-form select{
 width:100%;min-width:0;min-height:46px;max-width:none;text-align:right;
 border:1px solid #94c4bc;background:#0b2b3f;color:#fff3d4;
 font-size:14px;border-radius:12px;padding:9px 12px
}
#app.club-mode .football-world-ui .football-join-form .football-world-btn{
 width:100%;margin-top:5px;min-height:52px;font-size:15px;
 background:linear-gradient(145deg,#268669,#0a594f);
 border:1px solid #b7ecc0;color:#fff4d2;
 box-shadow:0 0 13px #7bd6a34b,inset 0 1px 0 #fff4
}
#app.club-mode .football-world-ui .football-world-panel-found .football-world-fold{
 margin-top:auto;background:linear-gradient(145deg,#17454a,#0e3440);
 border:1px solid #d9b679;border-radius:13px;overflow:hidden;padding:0 13px
}
#app.club-mode .football-world-ui .football-world-panel-found .football-world-fold[open]{padding-bottom:14px}
#app.club-mode .football-world-ui .football-world-panel-found .football-world-fold summary{
 min-height:55px;color:#ffdf9b;font-size:14px;font-weight:900;padding:8px 0
}
#app.club-mode .football-world-ui .football-world-panel-found .football-world-fold summary small{
 display:inline-flex;align-items:center;min-height:29px;border:1px solid #718c8e;
 color:#e9e9d6;background:#183c48;border-radius:999px;padding:3px 11px
}
#app.club-mode .football-world-ui #football-create-club{margin:4px 0 0}
#app.club-mode .football-world-ui #football-create-club .football-world-btn{
 width:100%;min-height:47px;font-size:13px
}
#app.club-mode .football-world-ui .football-world-owner-head{
 border:1px solid #82b69d;border-radius:17px;overflow:hidden;background:linear-gradient(140deg,#174f48,#102f42);
 padding:0;margin:0 0 15px;display:flex;flex-direction:column;align-items:stretch;gap:0
}
#app.club-mode .football-world-owner-head img{display:block;width:100%;height:160px;object-fit:cover}
#app.club-mode .football-world-owner-head>div{padding:15px 18px}
#app.club-mode .football-world-ui .football-world-member-head{
 padding:0;display:block;overflow:hidden;background:linear-gradient(145deg,#194f4a,#0f2e42);
 border:1px solid #92c4a7;border-radius:18px;margin:0 0 15px
}
#app.club-mode .football-world-member-head img{display:block;width:100%;height:170px;object-fit:cover}
#app.club-mode .football-world-member-head>div{padding:17px}
#app.club-mode .football-world-ui .football-world-member-head p{font-size:12px;line-height:1.8}
#app.club-mode .football-world-ui .football-world-member-head .football-world-btn{margin-top:7px}
#app.club-mode .bottom button[data-tab="club"].active:not(.center){
 background:linear-gradient(165deg,#f4dda9,#d5aa63);color:#142b33;
 border:1px solid #fee7b1;box-shadow:0 2px 12px #07121a66,inset 0 1px 0 #fff6;
 border-radius:16px
}
#app.club-mode .bottom button[data-tab="home"].center:not(.active){
 background:linear-gradient(160deg,#30534d,#18313a);color:#f4dfae;
 border:1px solid #bda575a3;box-shadow:inset 0 1px 0 #ffffff20
}
@media(max-width:700px){
 #app.club-mode .football-world-ui .football-world-showcase-grid{grid-template-columns:1fr}
 #app.club-mode .football-club-banner-copy{max-width:62%}
 #app.club-mode .football-panel-picture{aspect-ratio:3.6/1}
 #app.club-mode .football-world-ui .football-panel-copy{padding:15px}
 #app.club-mode .football-world-ui .football-intro-showcase{padding:13px;gap:10px}
 #app.club-mode .football-world-owner-head img,#app.club-mode .football-world-member-head img{height:142px}
}
@media(max-width:430px){
 #app.club-mode .football-club-art-banner{min-height:210px;border-radius:16px}
 #app.club-mode .football-club-banner-copy{max-width:75%;padding:13px}
 #app.club-mode .football-club-banner-copy h2{font-size:29px;margin:0 0 7px}
 #app.club-mode .football-club-banner-copy p{font-size:12px;max-width:20ch}
 #app.club-mode .football-world-ui .football-intro-showcase{align-items:flex-start;text-align:start}
 #app.club-mode .football-info-emblem{width:30px;height:30px;font-size:21px}
 #app.club-mode .football-world-ui .football-intro-showcase h3{font-size:16px}
 #app.club-mode .football-world-ui .football-intro-showcase p{font-size:11px;margin:0}
 #app.club-mode .football-panel-picture{aspect-ratio:2.85/1}
 #app.club-mode .football-world-ui .football-join-form label{grid-template-columns:minmax(85px,31%) minmax(0,1fr);font-size:12px}
 #app.club-mode .football-world-ui .football-join-form select{font-size:12px}
}
@media(max-width:350px){
 #app.club-mode .football-club-banner-copy{max-width:85%}
 #app.club-mode .football-club-banner-copy h2{font-size:26px}
 #app.club-mode .football-world-ui .football-join-form label{grid-template-columns:1fr;gap:4px}
 #app.club-mode .football-world-ui .football-intro-showcase{padding:11px}
 #app.club-mode .football-panel-picture{aspect-ratio:2.4/1}
}
@media(prefers-reduced-motion:reduce){
 #app.club-mode .football-world-ui *,#app.club-mode .football-club-art-banner *,
 #app.club-mode .football-panel-picture img{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
