.cs-result-section{max-width:1320px;margin:28px auto}
.cs-result-studio{background:#0d1421;border:1px solid #334154;border-radius:22px;padding:clamp(16px,3vw,32px);color:#edf2fa}
.cs-result-studio *{box-sizing:border-box}
.cs-result-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #334154;padding-bottom:24px}
.cs-result-kicker{display:block;color:#ff6678;font-size:12px;font-weight:800;letter-spacing:.12em}
.cs-result-heading h2{color:white;font-size:clamp(25px,3vw,38px);margin:8px 0}
.cs-result-heading p{color:#acb9cc;margin:0}
.cs-result-heading img{object-fit:contain}
.cs-result-grid{display:grid;grid-template-columns:minmax(300px,430px) minmax(0,1fr);gap:22px;margin-top:26px;align-items:start}
.cs-result-form{background:#161f2d;border:1px solid #344357;border-radius:17px;padding:22px;min-width:0}
.cs-result-form h3{font-size:17px;color:white;margin:20px 0 13px}
.cs-result-form h3:first-child{margin-top:0}
.cs-result-form label{display:block;margin:12px 0;color:#dce4ef;font-weight:650;font-size:13px}
.cs-result-form input,.cs-result-form select{display:block;width:100%;min-width:0;min-height:46px;margin-top:7px;background:#0d1726;border:1px solid #53647a;border-radius:10px;color:white;padding:10px 12px;font:inherit}
.cs-result-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cs-result-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cs-result-team{border:1px solid #344357;border-radius:13px;padding:12px;margin-bottom:12px}
.cs-result-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.cs-result-actions button{border:1px solid #596b80;background:#263549;color:white;padding:12px 15px;border-radius:10px;font:inherit;font-weight:750;cursor:pointer}
.cs-result-actions button:first-child{background:#e72743;border-color:#e72743}
.cs-result-form :focus-visible{outline:3px solid #ffd27b;outline-offset:3px}
#cs-result-status{font-size:13px;color:#aebcd0;margin-top:13px}
.cs-result-output{min-width:0}
.cs-poster{background:radial-gradient(ellipse at top,#293751 0%,#0c1322 60%,#080c16 100%);border:1px solid #56647b;border-radius:18px;padding:clamp(18px,3vw,38px);color:#fff;aspect-ratio:4/5;min-height:520px;display:flex;flex-direction:column;box-shadow:0 22px 60px #0005;overflow:hidden}
.cs-poster-top{display:flex;align-items:center;gap:13px;border-bottom:2px solid #e82c48;padding-bottom:20px}
.cs-poster-top img{object-fit:contain}
.cs-poster-top span{display:block;font-size:16px;font-weight:900;letter-spacing:.13em}
.cs-poster-top small{color:#aab7cd;font-size:10px;letter-spacing:.08em}
.cs-poster-event{text-align:center;font-size:clamp(22px,3vw,35px);font-weight:900;line-height:1.2;margin:36px 0 12px;overflow-wrap:anywhere}
.cs-poster-meta{text-align:center;color:#acb9cc;font-size:13px;overflow-wrap:anywhere}
.cs-poster-scores{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:12px;align-items:center;margin:auto 0}
.cs-poster-team{text-align:center;min-width:0;padding:20px 10px;background:#1a263a;border:1px solid #4c5d78;border-radius:15px}
.cs-poster-team span{display:block;overflow-wrap:anywhere;font-size:clamp(12px,1.7vw,18px);font-weight:800;min-height:48px}
.cs-poster-team strong{display:block;font-size:clamp(23px,4vw,47px);margin:12px 0;line-height:1.2}
.cs-poster-team small{color:#adbcd0}
.cs-poster-vs{text-align:center;color:#f2bf78;font-weight:900}
.cs-poster-result{border-top:2px solid #e82c48;border-bottom:1px solid #47546b;text-align:center;padding:21px 4px;color:#f4cb89;font-weight:900;font-size:clamp(17px,2.5vw,26px);overflow-wrap:anywhere}
.cs-poster-player{text-align:center;color:#d4dfec;margin:15px 0;min-height:24px}
.cs-poster-footer{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:24px;font-size:10px;font-weight:800;letter-spacing:.08em;color:#9eacc4}
.cs-result-disclaimer{font-size:12px;line-height:1.6;color:#aebcd0;margin-top:13px}
@media(max-width:950px){.cs-result-grid{grid-template-columns:1fr}.cs-poster{max-width:680px;margin:auto;width:100%}}
@media(max-width:480px){.cs-result-form{padding:15px}.cs-result-fields.three{gap:6px}.cs-result-fields.three input{padding:8px 6px}.cs-poster{min-height:440px}.cs-poster-scores{gap:5px;grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr)}.cs-poster-team{padding:12px 5px}.cs-poster-footer{font-size:8px}}
@media print{
body *{visibility:hidden!important}
#cs-poster,#cs-poster *{visibility:visible!important}
#cs-poster{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:190mm!important;min-height:240mm!important;box-shadow:none!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
@page{size:A4 portrait;margin:10mm}
}

/* V3 compact landscape poster */
.cs-result-grid{grid-template-columns:minmax(320px,420px) minmax(0,1fr)}
.cs-poster{aspect-ratio:16/10;min-height:0!important;
 padding:clamp(15px,2vw,25px)}
.cs-poster-event{margin:16px 0 6px;font-size:clamp(20px,2.5vw,29px)}
.cs-poster-top{padding-bottom:12px}
.cs-poster-scores{margin:18px 0;gap:8px}
.cs-poster-team{padding:12px 7px}
.cs-poster-team span{min-height:0;font-size:clamp(12px,1.3vw,16px)}
.cs-poster-team strong{font-size:clamp(24px,3vw,38px);margin:6px 0}
.cs-poster-result{padding:13px 3px;font-size:clamp(14px,1.8vw,22px)}
.cs-poster-footer{padding-top:10px}
.cs-poster-player{margin:8px 0;min-height:0}
.cs-result-actions button{flex-grow:1}
@media(max-width:950px){
 .cs-result-grid{grid-template-columns:1fr}
 .cs-poster{max-width:840px}
}
@media(max-width:480px){
 .cs-poster{aspect-ratio:auto;min-height:330px!important}
 .cs-poster-scores{margin:13px 0}
 .cs-poster-event{margin:12px 0 5px}
 .cs-poster-team strong{font-size:25px}
}
@media print{
 #cs-poster{width:100%!important;max-width:265mm!important;
 min-height:0!important;aspect-ratio:16/10!important}
 @page{size:A4 landscape;margin:10mm}
}

/* CRICSTARS — match poster header overflow fix */
.cs-poster,
.cs-poster * {
  box-sizing: border-box;
}

.cs-poster-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  width: 100%;
  padding-bottom: 12px;
}

.cs-poster-top img {
  width: 48px;
  height: 48px;
  max-width: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.cs-poster-top > div {
  flex: 1 1 150px;
  min-width: 0;
  max-width: 100%;
}

.cs-poster-top span {
  display: block;
  font-size: clamp(14px, 1.8vw, 19px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .06em;
  overflow-wrap: anywhere;
}

.cs-poster-top small {
  display: block;
  margin-top: 5px;
  font-size: clamp(8px, .95vw, 11px);
  line-height: 1.4;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

@media(max-width:480px) {
  .cs-poster-top img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .cs-poster-top {
    gap: 9px;
  }
}

/* Official Cricstars full-logo branding */
.cs-poster-top{
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:16px!important;
 flex-wrap:wrap!important;
}
.cs-poster-top .cs-poster-official-logo{
 display:block!important;
 width:clamp(145px,20vw,220px)!important;
 height:auto!important;
 max-width:65%!important;
 max-height:72px!important;
 object-fit:contain!important;
 object-position:left center!important;
 flex:0 1 auto!important;
}
.cs-poster-label{
 font-size:11px!important;
 font-weight:800!important;
 letter-spacing:.12em!important;
 color:#f4c887!important;
 white-space:nowrap;
}
@media(max-width:480px){
 .cs-poster-top .cs-poster-official-logo{
  width:160px!important;
  max-width:100%!important;
 }
 .cs-poster-label{font-size:9px!important}
}
