
/* Shared Screen Magic Pro player — styled to match the index.html player */
.smpro-player{
  background:#078725;
  border-radius:18px;
  padding:10px 10px 11px;
  box-shadow:0 8px 22px rgba(0,0,0,.14);
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
}
.smpro-player-title{
  color:#fff;
  text-align:center;
  font-size:21px;
  line-height:1.05;
  font-weight:900;
  text-transform:uppercase;
  margin:1px 0 9px;
  letter-spacing:.35px;
}
.smpro-player-stage{
  position:relative;
  aspect-ratio:16/9;
  background:#001d08 url("assets/sm-pro-video-poster.jpg") center/cover no-repeat;
  border:3px solid #f1ce00;
  border-radius:14px;
  overflow:hidden;
}
.smpro-player-stage iframe,
.smpro-player-stage video{
  position:absolute;
  left:-1%;
  top:-1%;
  width:102%;
  height:102%;
  display:block;
  border:0;
  object-fit:cover;
  background:#001d08;
  pointer-events:none;
}
.smpro-player-click{
  position:absolute;
  inset:0;
  z-index:4;
  cursor:pointer;
  background:transparent;
}
.smpro-player-progress{
  height:6px;
  margin:10px 3px 8px;
  background:rgba(255,255,255,.27);
  border-radius:999px;
  overflow:hidden;
  cursor:pointer;
}
.smpro-player-progress-fill{
  height:100%;
  width:0;
  background:rgba(255,255,255,.9);
  border-radius:999px;
}
.smpro-player-controls{
  display:grid;
  grid-template-columns:auto auto auto 1fr auto;
  gap:8px;
  align-items:center;
}
.smpro-player-btn{
  border:0;
  border-radius:999px;
  min-height:34px;
  padding:6px 14px;
  background:#0f8f2b;
  color:#fff;
  font:900 11px Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  cursor:pointer;
  white-space:nowrap;
}
.smpro-player-btn:hover{filter:brightness(1.06)}
.smpro-player-sound{background:#ffdb00;color:#111}
.smpro-player-status{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  color:#fff;
  font:900 11px Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  white-space:nowrap;
}
.smpro-player-time{text-transform:none}
.smpro-player-status span{text-shadow:0 1px 0 rgba(0,0,0,.25)}

/* Training hero overlay uses the same controls, simply scaled to its available space. */
.training-reel-panel .smpro-player{
  width:100%;
  height:100%;
  box-shadow:none;
  border-radius:0 22px 0 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:11px 13px 10px;
}
.training-reel-panel .smpro-player-title{font-size:20px;margin-bottom:7px}
.training-reel-panel .smpro-player-stage{flex:1;min-height:0;aspect-ratio:auto}
.training-reel-panel .smpro-player-progress{margin:7px 3px 6px;height:5px}
.training-reel-panel .smpro-player-controls{gap:5px}
.training-reel-panel .smpro-player-btn{min-height:28px;padding:4px 8px;font-size:9px}
.training-reel-panel .smpro-player-status{font-size:9px;gap:5px}

@media(max-width:900px){
  .smpro-player-controls{grid-template-columns:auto auto auto 1fr auto;gap:5px}
  .smpro-player-btn{padding:5px 9px;font-size:9px}
  .smpro-player-status{font-size:9px}
}
@media(max-width:620px){
  .smpro-player-controls{grid-template-columns:repeat(3,auto);justify-content:space-between}
  .smpro-player-status{grid-column:1 / span 2;justify-content:flex-start}
  .smpro-player-full{grid-column:3}
}
