/* Cricstars dedicated batting-order output */
.cs-batting-document {
  background:#f8fafc;
  color:#172032;
  padding:clamp(18px,4vw,40px);
  border-radius:16px;
  font-family:Inter,Arial,sans-serif;
  white-space:normal;
}
.cs-batting-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  padding-bottom:22px;
  border-bottom:3px solid #e12339;
}
.cs-output-logo {
  width:190px;
  max-width:100%;
  height:65px;
  object-fit:contain;
  object-position:left center;
}
.cs-document-kicker {
  display:block;
  color:#aa2435;
  font-size:10px;
  font-weight:800;
  letter-spacing:.17em;
}
.cs-batting-header h2 {
  margin:7px 0 0;
  color:#172032!important;
  font-size:27px!important;
}
.cs-batting-team {
  color:#172032!important;
  font-size:clamp(25px,4vw,38px)!important;
  margin:24px 0 4px!important;
}
.cs-batting-intro {
  color:#687588;
  margin:0 0 23px;
}
.cs-batting-list {
  padding:0;
  margin:0;
  list-style:none;
  display:grid;
  gap:7px;
}
.cs-batting-player {
  display:flex;
  align-items:center;
  gap:16px;
  padding:12px 16px;
  min-height:57px;
  border:1px solid #e1e6ed;
  border-radius:9px;
  background:white;
  break-inside:avoid;
}
.cs-batting-number {
  font-size:21px;
  font-weight:900;
  color:#dd2339;
  font-variant-numeric:tabular-nums;
  min-width:37px;
}
.cs-batting-name {
  font-size:16px;
  font-weight:750;
  color:#172032;
  overflow-wrap:anywhere;
}
.cs-batting-position {
  margin-left:auto;
  color:#a22737;
  background:#fee9ec;
  border-radius:5px;
  padding:4px 7px;
  font-size:10px;
  font-weight:850;
}
.cs-batting-footer {
  border-top:1px solid #dbe2eb;
  margin-top:25px;
  padding-top:15px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:#6b7280;
  font-size:11px;
}
.cs-batting-footer strong {color:#b82136}
@media(max-width:550px) {
  .cs-batting-player {gap:8px;padding:10px}
  .cs-batting-name {font-size:14px}
}
@media print {
  @page {size:A4 portrait;margin:12mm}
  .cs-batting-document {
    border:0;
    border-radius:0;
    padding:0;
    box-shadow:none;
  }
  .cs-batting-player {min-height:45px}
  .cs-batting-position {
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
}
