/* =========================================================
   ONLINECRICKETS.IN — FINAL SQUAD MASTER BROADCAST POSTER
   1920 × 1080 (16:9) REFINED PRODUCTION STYLESHEET
   Follows AGENTS.md Size Constraints (< 300 lines)
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;0,800;0,900;1,700;1,800;1,900&family=Oswald:wght@600;700;800;900&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

/* 1. MASTER POSTER CANVAS (EXACTLY 1920 × 1080) */
.poster {
  width: 1920px; height: 1080px; position: relative; overflow: hidden; margin: 0 auto;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 35%, #ffffff 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45); flex-shrink: 0;
}

/* Background Accents & Modern Gradient Athletic Dots */
.bg-accents { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* Cinematic Blurred Cricket Ground / Stadium / Ball Header Backdrop (Hidden to preserve pure transparent floating header) */
.header-cinematic-bg {
  display: none !important;
}

/* Localized Athletic Dot Clusters (Matching Reference Image) */
.dots-cluster-topleft {
  position: absolute;
  top: 15px;
  left: 200px;
  width: 220px;
  height: 110px;
  background-image: radial-gradient(circle, rgba(2, 132, 199, 0.22) 2px, transparent 2px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 1;
}
.dots-cluster-leftmargin {
  position: absolute;
  top: 220px;
  left: 4px;
  width: 26px;
  height: 480px;
  background-image: radial-gradient(circle, rgba(2, 132, 199, 0.20) 2px, transparent 2px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 1;
}
.dots-cluster-topright {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 140px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(2, 132, 199, 0.18) 2px, transparent 2px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 1;
}

/* Dynamic Top-Left Corner Geometric Accents */
.bg-accent-corner-left {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.22) 0%, rgba(56, 189, 248, 0.08) 60%, transparent 100%);
  transform: rotate(45deg);
  border-radius: 40px;
  z-index: 1;
}
.bg-accent-strip-tl-1 {
  position: absolute;
  top: 0;
  left: 20px;
  width: 18px;
  height: 140px;
  background: linear-gradient(180deg, #0284c7 0%, #38bdf8 100%);
  transform: skew(-24deg);
  border-radius: 4px;
  opacity: 0.85;
  z-index: 1;
}
.bg-accent-strip-tl-2 {
  position: absolute;
  top: 0;
  left: 48px;
  width: 10px;
  height: 100px;
  background: #38bdf8;
  transform: skew(-24deg);
  border-radius: 3px;
  opacity: 0.65;
  z-index: 1;
}

/* Dynamic Bottom-Right Corner Geometric Accents */
.bg-accent-corner-right {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.16) 0%, rgba(168, 85, 247, 0.10) 50%, transparent 100%);
  transform: rotate(45deg);
  border-radius: 36px;
  z-index: 1;
}
.bg-accent-strip-1 {
  position: absolute;
  right: 28px;
  bottom: 0;
  width: 20px;
  height: 130px;
  background: linear-gradient(180deg, #e11d48 0%, #0284c7 100%);
  transform: skew(-24deg);
  border-radius: 4px;
  opacity: 0.9;
  z-index: 1;
}
.bg-accent-strip-2 {
  position: absolute;
  right: 56px;
  bottom: 0;
  width: 12px;
  height: 95px;
  background: linear-gradient(180deg, #ec4899 0%, #38bdf8 100%);
  transform: skew(-24deg);
  border-radius: 3px;
  opacity: 0.75;
  z-index: 1;
}

/* 2. HEADER SECTION (Clean Floating Header, No Enclosing Box or Background) */
.header { width: 1860px; height: 136px; margin: 14px auto 0 auto; position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; background: transparent; border: none; box-shadow: none; }
.tournament { width: 440px; height: 136px; display: flex; align-items: center; gap: 16px; flex-shrink: 0; background: transparent; }
.tournament-logo-wrap { width: 128px; height: 128px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tournament-logo-circle { width: 122px; height: 122px; border-radius: 50%; background: linear-gradient(135deg, #059669 0%, #10b981 100%); border: 4.5px solid #ffffff; box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tournament-logo-circle svg { width: 76px; height: 76px; fill: #ffffff; }
.tournament-logo-tile { border-radius: 28px; position: relative; overflow: visible; }
.tournament-logo-tile .tournament-logo-ball { position: absolute; top: -3px; right: -3px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff5252, #d32f2f 65%, #8a0000); border: 2.5px solid #ffffff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.tournament-logo-circle.custom-logo { background: #ffffff; padding: 0; border-radius: 50%; }
.tournament-logo-circle.custom-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.tournament-ball { position: absolute; top: 1px; right: 1px; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff5252, #d32f2f 65%, #8a0000); border: 3px solid #ffffff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); }
.tournament-text-meta { display: flex; flex-direction: column; justify-content: center; min-width: 0; flex: 1; padding-left: 2px; }
.tournament-kicker { display: none; }
.tournament-name-full { font-family: 'Montserrat', 'Oswald', sans-serif; font-size: 25px; line-height: 29px; font-weight: 900; color: #06264d; letter-spacing: 0.6px; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 4px rgba(6, 38, 77, 0.08); word-break: break-word; }
.tourney-sub-season { display: block; font-size: 0.85em; color: #0284c7; letter-spacing: 0.8px; line-height: 1.15; margin-top: 2px; }

/* Center: Team Title Banner (Floating Transparent, No Enclosing Box or Background) */
.team-header { width: 980px; height: 136px; position: relative; display: flex; align-items: center; justify-content: center; background: transparent !important; background-color: transparent !important; border: none !important; box-shadow: none !important; }
.team-banner { width: 100%; height: 136px; position: relative; overflow: visible; display: flex; align-items: center; justify-content: center; background: transparent !important; background-color: transparent !important; border: none !important; box-shadow: none !important; }
.team-crest-box { width: 108px; height: 108px; margin-left: 0; border-radius: 0; background: transparent !important; background-color: transparent !important; border: none !important; box-shadow: none !important; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 3; overflow: visible; }
.team-crest-box svg, .team-crest-box img { width: 100%; height: 100%; object-fit: contain; border: none !important; outline: none !important; filter: drop-shadow(0 6px 14px rgba(6, 38, 77, 0.18)); }
.team-content { margin-left: 22px; z-index: 3; display: flex; flex-direction: column; justify-content: center; max-width: 850px; min-width: 0; background: transparent !important; background-color: transparent !important; border: none !important; box-shadow: none !important; }
.team-name { font-family: 'Montserrat', 'Oswald', -apple-system, sans-serif; font-weight: 900; font-style: italic; color: #06264d; letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 4px 12px rgba(6, 38, 77, 0.14); white-space: nowrap; overflow: visible; background: transparent !important; background-color: transparent !important; }
.team-name span { color: #e11d48; text-shadow: 0 4px 12px rgba(225, 29, 72, 0.22); }
.team-name.team-name-two-line { white-space: normal; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.team-name-row { white-space: nowrap; overflow: visible; }
.team-name-row-1 { color: #06264d; }
.team-name-row-2 { color: #e11d48; }
.team-name-row-2 span { color: #e11d48; text-shadow: 0 4px 12px rgba(225, 29, 72, 0.22); }
.team-sub-badge { display: flex; align-items: center; gap: 10px; margin-top: 4px; background: transparent !important; background-color: transparent !important; }
.team-sub-icon { font-size: 15px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.3)); }
.team-sub-text { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 900; letter-spacing: 4px; color: #0284c7; text-transform: uppercase; line-height: 1; }
.team-sub-line { flex: 1; height: 3.5px; max-width: 140px; background: linear-gradient(90deg, #0284c7 0%, #e11d48 50%, #059669 100%); border-radius: 2px; box-shadow: 0 1px 4px rgba(2, 132, 199, 0.25); }

/* Right: Final Area & Enlarged 3D Stadium Broadcast Badge */
.final-area { width: 440px; height: 136px; position: relative; display: flex; align-items: center; justify-content: flex-end; background: transparent; }
.final-badge { height: 134px; display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; position: relative; }
.final-badge-3d-img {
  height: 132px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(5, 150, 105, 0.38)) drop-shadow(0 4px 12px rgba(251, 191, 36, 0.28));
}

/* 3. MAIN SQUAD SECTION */
.main { width: 1860px; height: 726px; margin: 16px auto 0 auto; position: relative; z-index: 8; display: flex; gap: 18px; }

/* Captain Card */
/* Colourful gradient frame (renders reliably in html2canvas exports) */
.captain-frame {
  width: 356px; height: 726px; border-radius: 24px; padding: 5px; box-sizing: border-box; flex-shrink: 0;
  background: linear-gradient(135deg, #f7ce24 0%, #ff5c3c 20%, #e11d8f 40%, #7c3aed 60%, #0ea5e9 80%, #16a34a 100%);
  box-shadow: 0 16px 36px rgba(4, 25, 59, 0.35);
}
.captain-card {
  width: 100%; height: 100%; position: relative; overflow: hidden; border-radius: 19px;
  background: radial-gradient(circle at 50% 25%, #185a8c 0%, #07254e 65%, #03142e 100%);
  flex-shrink: 0;
}
.captain-crown-badge { position: absolute; right: 14px; top: 14px; z-index: 6; background: #f7ce24; color: #06234b; padding: 6px 11px; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3); }
/* icon-player number badge — same corner-badge style as the other player cards */
.captain-rank-badge { position: absolute; left: 0; top: 0; z-index: 6; width: 60px; height: 46px; border-bottom-right-radius: 18px; background: linear-gradient(145deg, #ef4444 0%, #dc2626 55%, #b91c1c 100%); color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 900; line-height: 1; box-shadow: 0 4px 12px rgba(185, 28, 28, 0.5); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.crown-svg { width: 22px; height: 18px; fill: #06234b; }
.badge-text-icon { font-size: 10px; font-weight: 900; line-height: 11px; }
.badge-text-player { font-size: 9px; font-weight: 900; line-height: 10px; }
.captain-photo { width: 100%; height: 566px; display: block; object-fit: cover; object-position: center top; position: relative; z-index: 3; filter: contrast(1.04) saturate(1.20) brightness(1.05); }
/* icon-player info block — same treatment as the regular player cards */
.captain-info {
  width: 100%; height: 150px; position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
  background: #ffffff; border-top: 3px solid #f7ce24;
  padding: 12px 16px 14px 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; box-sizing: border-box;
}
.captain-name-wrap { width: 300px; min-height: 50px; background: linear-gradient(135deg, #071f3d 0%, #0d325e 100%); border-radius: 12px; border: 1.5px solid rgba(246, 207, 36, 0.5); display: flex; align-items: center; justify-content: center; padding: 4px 10px; box-sizing: border-box; box-shadow: 0 4px 10px rgba(7, 31, 61, 0.25); text-align: center; }
.captain-name { width: 100%; color: #ffffff; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 22px; line-height: 1.1; letter-spacing: 0.3px; text-transform: uppercase; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); word-break: break-word; }
.captain-role-badge { height: 28px; padding: 0 22px; border-radius: 20px; font-size: 14px; font-weight: 900; color: #ffffff; letter-spacing: 0.5px; text-transform: uppercase; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); display: inline-flex; align-items: center; justify-content: center; line-height: 1; white-space: nowrap; box-sizing: border-box; }
.captain-price-box {
  width: 250px;
  height: 38px;
  background: linear-gradient(135deg, #020914 0%, #061833 50%, #020b18 100%);
  border: 2px solid #0284c7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(3, 11, 24, 0.6), 0 0 16px rgba(2, 132, 199, 0.4), inset 0 0 10px rgba(56, 189, 248, 0.2);
}
.captain-price-box .price-tag-sold {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3.5px 8px;
  border-radius: 5px;
  background: rgba(2, 132, 199, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.55);
  background-image: linear-gradient(180deg, #ffffff 0%, #a5f3fc 35%, #38bdf8 70%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #38bdf8;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8));
}
.captain-price-box .price-tag-amt {
  font-size: 19px;
  font-weight: 900;
  font-family: 'Montserrat', 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 25%, #ffd21c 65%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(255, 210, 28, 0.7));
  color: #ffd21c;
}

/* 4. 14 PLAYERS GRID */
.players-grid-container { width: 1486px; height: 726px; display: flex; flex-direction: column; justify-content: space-between; flex-shrink: 0; }
.player-row { width: 1486px; height: 354px; display: flex; justify-content: space-between; }
.player-card { width: 198px; height: 354px; position: relative; border-radius: 16px; background: #ffffff; border: 2px solid #d4e4f0; box-shadow: 0 6px 18px rgba(10, 40, 75, 0.08); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.player-rank-badge { position: absolute; left: 0; top: 0; z-index: 5; width: 38px; height: 28px; border-bottom-right-radius: 12px; display: flex; align-items: center; justify-content: center; color: #ffffff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); line-height: 1; box-sizing: border-box; padding: 0; }
.player-rank-number { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 900; line-height: 1; display: inline-block; text-align: center; }
.player-menu-dots { position: absolute; right: 8px; top: 6px; z-index: 5; color: #94a3b8; font-size: 16px; font-weight: 900; line-height: 1; letter-spacing: 0; }
.player-photo-area { width: 194px; height: 230px; display: flex; align-items: stretch; justify-content: center; padding: 7px 7px 4px 7px; background: linear-gradient(180deg, #dcf0fb 0%, #edf6fc 100%); position: relative; box-sizing: border-box; }
.player-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 12px; border: 3px solid #ffffff; background: #b5d3e8; box-shadow: 0 5px 14px rgba(10, 40, 75, 0.2); filter: contrast(1.04) saturate(1.20) brightness(1.05); }
.player-info { width: 194px; height: 124px; padding: 7px 6px 9px 6px; background: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; box-sizing: border-box; overflow: hidden; }
.player-name-wrap { width: 184px; height: 42px; min-height: 42px; max-height: 42px; background: linear-gradient(135deg, #071f3d 0%, #0d325e 100%); border-radius: 10px; border: 1.5px solid rgba(246, 207, 36, 0.5); display: flex; align-items: center; justify-content: center; padding: 2px 6px; box-sizing: border-box; box-shadow: 0 4px 10px rgba(7, 31, 61, 0.25); text-align: center; overflow: hidden; }
.player-name { width: 100%; color: #ffffff; font-family: 'Montserrat', sans-serif; font-weight: 900; letter-spacing: 0.3px; text-transform: uppercase; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); word-break: break-word; white-space: normal; display: block; overflow: hidden; margin: 0; }
.role-badge { height: 22px; padding: 0 14px; border-radius: 20px; font-size: 11px; font-weight: 900; color: #ffffff; letter-spacing: 0.5px; text-transform: uppercase; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12); display: inline-flex; align-items: center; justify-content: center; line-height: 1; white-space: nowrap; box-sizing: border-box; margin: 0; }
.role-batsman .player-rank-badge, .role-batsman .role-badge { background: #087fd5; }
.role-batsman { border-color: #bee0f7; }
.role-bowler .player-rank-badge, .role-bowler .role-badge { background: #dc2626; }
.role-bowler { border-color: #fecaca; }
.role-allrounder .player-rank-badge, .role-allrounder .role-badge { background: #079855; }
.role-allrounder { border-color: #bbf7d0; }
.role-wicketkeeper .player-rank-badge, .role-wicketkeeper .role-badge { background: #7c3aed; }
.price {
  width: 184px;
  height: 29px;
  background: linear-gradient(135deg, #020914 0%, #061833 50%, #020b18 100%);
  border: 1.8px solid #0284c7;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(3, 11, 24, 0.5), 0 0 10px rgba(2, 132, 199, 0.35), inset 0 0 8px rgba(56, 189, 248, 0.18);
  padding: 0 6px;
  margin: 0;
}
.price-tag-sold {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  padding: 2.5px 6px;
  border-radius: 4px;
  background: rgba(2, 132, 199, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.55);
  background-image: linear-gradient(180deg, #ffffff 0%, #a5f3fc 35%, #38bdf8 70%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #38bdf8;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.8));
}
.price-tag-amt {
  font-size: 15px;
  font-weight: 900;
  font-family: 'Montserrat', 'Rajdhani', sans-serif;
  letter-spacing: 0.8px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 25%, #ffd21c 65%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(255, 210, 28, 0.6));
  color: #ffd21c;
}
.price:empty { visibility: hidden; }

/* Vacant Slot Card Styling */
.player-card.slot-empty { background: #f8fafc; border: 2px dashed #cbd5e1; opacity: 0.9; }
.player-card.slot-empty .player-photo-area { background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%); display: flex; align-items: center; justify-content: center; padding: 10px; }
.slot-empty-silhouette { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #e2e8f0; border: 2px dashed #cbd5e1; }
.slot-empty-icon { width: 68px; height: 68px; fill: #94a3b8; opacity: 0.65; }
.player-card.slot-empty .slot-empty-wrap { background: linear-gradient(135deg, #334155 0%, #475569 100%); border: 1.5px solid #64748b; }

/* 5. FOOTER */
.footer {
  width: 1860px;
  height: 84px;
  margin: 12px auto 0 auto;
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, #f8fafc 0%, #eef5fb 50%, #f1f7fc 100%);
  border-radius: 20px;
  border: 2px solid #cfe0ee;
  box-shadow: 0 6px 20px rgba(10, 40, 75, 0.07);
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; width: 250px; flex-shrink: 0; }
.footer-logo-box { width: 50px; height: 50px; border-radius: 12px; overflow: hidden; background: #ffffff; border: 1.5px solid #d2e2ef; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer-brand-text { display: flex; flex-direction: column; }
.footer-brand-name { color: #06264d; font-size: 20px; font-weight: 900; line-height: 22px; }
.footer-brand-name span { color: #0284c7; }
.footer-tagline { color: #64748b; font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px; }
.footer-divider { width: 1.5px; height: 46px; background: #dbe7f1; margin: 0 16px; flex-shrink: 0; }
.footer-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7fe 100%);
  padding: 6px 16px;
  border-radius: 16px;
  border: 2px solid #bce1fa;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}
.fstat { display: flex; align-items: center; gap: 10px; }
.fstat-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); }
.fstat-icon svg { width: 30px; height: 30px; }
.fstat-icon-bat { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); border: 2px solid #38bdf8; box-shadow: 0 4px 10px rgba(2, 132, 199, 0.22); }
.fstat-icon-ball { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); border: 2px solid #f87171; box-shadow: 0 4px 10px rgba(220, 38, 38, 0.22); }
.fstat-icon-all { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); border: 2px solid #4ade80; box-shadow: 0 4px 10px rgba(5, 150, 105, 0.22); }
.fstat-text { display: flex; flex-direction: column; line-height: 1; }
.fstat-text b { font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 900; color: #06264d; letter-spacing: 0.5px; }
.fstat-text span { font-size: 11px; font-weight: 900; letter-spacing: 0.7px; text-transform: uppercase; margin-top: 3px; }
.fstat-lbl-bat { color: #0284c7; }
.fstat-lbl-ball { color: #dc2626; }
.fstat-lbl-all { color: #059669; }
.footer-info-col { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.footer-icon-wrap { width: 32px; height: 32px; border-radius: 8px; background: #f1f7fc; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-icon-wrap svg { width: 18px; height: 18px; }
.footer-col-text { display: flex; flex-direction: column; }
.footer-col-title { color: #06264d; font-size: 11px; font-weight: 900; letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap; }
.footer-col-subtitle { color: #64748b; font-size: 9px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; margin-top: 2px; white-space: nowrap; }
.footer-url-pill { margin-left: auto; width: 268px; height: 50px; border-radius: 25px; background: linear-gradient(180deg, #17b862 0%, #0f9d52 46%, #0a7d41 100%); border: 1.5px solid rgba(255, 255, 255, 0.45); color: #ffffff; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 16px; font-size: 15px; font-weight: 900; letter-spacing: 0.4px; text-decoration: none; flex-shrink: 0; box-shadow: 0 5px 14px rgba(8, 110, 60, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.35), inset 0 -6px 12px rgba(0, 55, 28, 0.3); }
.url-globe { display: flex; align-items: center; }
.url-globe svg { width: 20px; height: 20px; fill: #ffffff; }
.url-text { flex: 1; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.url-arrow { width: 38px; height: 38px; border-radius: 50%; background: #ffffff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
.url-arrow svg { width: 18px; height: 18px; fill: #0a7d41; }


/* =========================================================
   6. 1:1 SQUARE SQUAD POSTER (1080 × 1080) FOR INSTAGRAM & WHATSAPP
   ========================================================= */
.poster-square {
  width: 1080px; height: 1080px; position: relative; overflow: hidden; margin: 0 auto;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(186, 225, 248, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(198, 232, 252, 0.40) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(206, 235, 250, 0.35) 0%, transparent 50%),
    linear-gradient(140deg, #edf4f9 0%, #f7fbfe 45%, #ebf3f8 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45); flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px 18px;
}
.sq-header { width: 1044px; height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sq-tournament { display: flex; align-items: center; gap: 10px; width: 220px; }
.sq-tourney-logo { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #059669 0%, #10b981 100%); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3); display: flex; align-items: center; justify-content: center; }
.sq-tourney-logo svg { width: 32px; height: 32px; fill: #fff; }
.sq-tourney-meta { display: flex; flex-direction: column; }
.sq-tourney-title { font-family: 'Montserrat', sans-serif; font-size: 22px; line-height: 22px; font-weight: 900; color: #06264d; }
.sq-tourney-sub { font-size: 9.5px; font-weight: 900; color: #059669; letter-spacing: 1px; }

.sq-team-banner {
  flex: 1; height: 86px; border-radius: 16px; border: none !important;
  background: transparent !important;
  display: flex; align-items: center; padding: 0 12px; gap: 14px; box-shadow: none !important; overflow: visible;
}
.sq-team-crest { width: 64px; height: 64px; border-radius: 0; border: none !important; overflow: visible; background: transparent !important; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sq-team-crest img { width: 100%; height: 100%; object-fit: contain; border: none !important; }
.sq-team-info { display: flex; flex-direction: column; justify-content: center; overflow: visible; min-width: 0; }
.sq-team-name { font-family: 'Montserrat', 'Oswald', sans-serif; font-size: 24px; line-height: 26px; font-weight: 900; font-style: italic; color: #082142; text-transform: uppercase; white-space: nowrap; overflow: visible; }
.sq-team-name span { color: #e11d48; }
.sq-team-motto { font-size: 9.5px; font-weight: 900; color: #0284c7; letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; white-space: nowrap; overflow: visible; }

.sq-final-badge { width: 160px; height: 86px; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.sq-final-pill { background: linear-gradient(135deg, #059669 0%, #10b981 100%); border: 2px solid #fff; border-radius: 10px; padding: 6px 10px; text-align: center; color: #fff; font-family: 'Montserrat', sans-serif; }
.sq-final-pill .t1 { font-size: 10px; font-weight: 900; letter-spacing: 2px; line-height: 11px; display: block; }
.sq-final-pill .t2 { font-size: 16px; font-weight: 900; color: #f7ce24; line-height: 17px; display: block; }
.sq-count-box { width: 50px; height: 50px; background: #fff; border: 2px solid #f6cf24; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sq-count-box .c-lbl { font-size: 7.5px; font-weight: 900; color: #475569; line-height: 8px; }
.sq-count-box .c-num { font-size: 20px; font-weight: 900; color: #059669; line-height: 20px; font-family: 'Montserrat', sans-serif; }

/* Captain Spotlight Bar */
.sq-captain-bar {
  width: 1044px; height: 165px; border-radius: 16px; border: 3px solid #f7ce24;
  background: radial-gradient(circle at 60% 40%, #185a8c 0%, #07254e 65%, #03142e 100%);
  display: flex; align-items: center; position: relative; overflow: hidden; padding: 0 20px; gap: 18px;
  box-shadow: 0 10px 24px rgba(4, 25, 59, 0.35);
}
.sq-captain-badge { position: absolute; left: 16px; top: 10px; z-index: 5; background: #f7ce24; color: #06234b; padding: 3px 8px; border-radius: 6px; font-size: 9.5px; font-weight: 900; display: flex; align-items: center; gap: 4px; }
.sq-captain-badge svg { width: 12px; height: 12px; fill: #06234b; }
.sq-captain-photo-wrap { width: 150px; height: 165px; position: relative; overflow: hidden; flex-shrink: 0; margin-left: -8px; }
.sq-captain-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sq-captain-num { width: 62px; height: 62px; border-radius: 12px; background: #f7ce24; color: #06234b; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-size: 32px; font-weight: 900; line-height: 1; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.sq-captain-details { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.sq-captain-role-tag { font-size: 10px; font-weight: 900; color: #f7ce24; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2px; }
.sq-captain-name { font-family: 'Montserrat', sans-serif; font-size: 28px; line-height: 32px; font-weight: 900; color: #ffffff; text-transform: uppercase; word-break: break-word; }
.sq-captain-pills { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.sq-captain-role-pill { padding: 4px 12px; border-radius: 14px; background: #087fd5; color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }
.sq-captain-price-pill { font-size: 16px; font-weight: 900; color: #f7ce24; font-family: 'Montserrat', sans-serif; }

/* 14 Players Grid */
.sq-grid { width: 1044px; height: 728px; display: flex; flex-direction: column; justify-content: space-between; }
.sq-row { width: 1044px; height: 356px; display: flex; justify-content: space-between; gap: 8px; }
.sq-card { width: 142px; height: 356px; border-radius: 14px; background: #ffffff; border: 2px solid #d4e4f0; box-shadow: 0 4px 12px rgba(10, 40, 75, 0.08); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.sq-rank-badge { position: absolute; left: 0; top: 0; z-index: 5; width: 30px; height: 22px; border-bottom-right-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 900; line-height: 1; }
.sq-photo-area { width: 138px; height: 218px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #dcf0fb 0%, #edf6fc 100%); position: relative; }
.sq-photo { width: 118px; height: 118px; object-fit: cover; object-position: center top; border-radius: 12px; border: 3px solid #fff; background: #b5d3e8; box-shadow: 0 4px 12px rgba(10,40,75,0.18); }
.sq-info { width: 138px; height: 136px; padding: 6px 4px 8px 4px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; align-items: center; box-sizing: border-box; overflow: visible; }
.sq-name-wrap { width: 130px; min-height: 38px; max-height: 42px; background: linear-gradient(135deg, #071f3d 0%, #0d325e 100%); border-radius: 8px; border: 1.2px solid rgba(246, 207, 36, 0.5); display: flex; align-items: center; justify-content: center; padding: 2px 4px; box-sizing: border-box; box-shadow: 0 3px 8px rgba(7, 31, 61, 0.2); text-align: center; overflow: hidden; }
.sq-name { width: 100%; color: #ffffff; font-family: 'Montserrat', sans-serif; font-weight: 900; letter-spacing: 0.3px; text-transform: uppercase; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); word-break: break-word; white-space: normal; display: block; overflow: visible; }
.sq-role-pill { padding: 3.5px 9px; border-radius: 14px; font-size: 9px; font-weight: 900; color: #fff; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.sq-price { width: 130px; height: 24px; background: #f1f5f9; border: 1.2px solid #cbd5e1; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; box-sizing: border-box; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); }
.sq-price .price-tag-sold { font-size: 8px; font-weight: 800; color: #64748b; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.sq-price .price-tag-amt { font-size: 11px; font-weight: 900; color: #047857; font-family: 'Montserrat', sans-serif; letter-spacing: 0.5px; line-height: 1; }

.sq-card.role-batsman .sq-rank-badge, .sq-card.role-batsman .sq-role-pill { background: #087fd5; }
.sq-card.role-batsman { border-color: #bee0f7; }
.sq-card.role-bowler .sq-rank-badge, .sq-card.role-bowler .sq-role-pill { background: #dc2626; }
.sq-card.role-bowler { border-color: #fecaca; }
.sq-card.role-allrounder .sq-rank-badge, .sq-card.role-allrounder .sq-role-pill { background: #079855; }
.sq-card.role-allrounder { border-color: #bbf7d0; }
.sq-card.role-wicketkeeper .sq-rank-badge, .sq-card.role-wicketkeeper .sq-role-pill { background: #7c3aed; }

/* Compact Square Footer */
.sq-footer { width: 1044px; height: 46px; background: #fff; border-radius: 12px; border: 2px solid #d2e2ef; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.sq-footer-brand { display: flex; align-items: center; gap: 10px; }
.sq-footer-logo { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; border: 1px solid #d2e2ef; }
.sq-footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.sq-footer-title { font-size: 14px; font-weight: 900; color: #06264d; line-height: 15px; }
.sq-footer-title span { color: #0284c7; }
.sq-footer-tagline { font-size: 8.5px; font-weight: 700; color: #64748b; }
.sq-footer-pill { padding: 5px 14px; border-radius: 14px; background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #fff; font-size: 11px; font-weight: 900; text-decoration: none; }
