/* PolyScore v1.8.5 — compact badges, stable live header, target filters and single-layer scoreboard camera */

/* The camera name is already shown in the source deck. Keep the live panel title stable. */
.v184-video-header h2{font-size:0!important;min-width:120px!important;white-space:nowrap!important}
.v184-video-header h2::before{content:'Canlı Görüntü';font-size:13px;color:#edf5fa}
.v184-video-header h2 small{display:none!important}

/* Main live raw camera + precise full-frame SVG overlay. */
.video-stage-v181{position:relative!important;isolation:isolate!important}
.video-stage-v181>img:not(.v185-raw-feed){visibility:hidden!important}
.v185-raw-feed{position:absolute;z-index:1;inset:0;width:100%;height:100%;object-fit:contain;display:block;background:#02070b}
.v185-frame-overlay{position:absolute;z-index:4;inset:0;pointer-events:none}
.v185-frame-overlay.interactive{pointer-events:auto;cursor:crosshair}
.v185-frame-overlay svg{display:block;width:100%;height:100%;overflow:visible}
.v185-target-controls{position:absolute;z-index:12;top:10px;right:10px;display:flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid rgba(111,164,190,.25);border-radius:9px;background:rgba(3,13,20,.84);backdrop-filter:blur(9px);box-shadow:0 8px 24px rgba(0,0,0,.28);pointer-events:auto}
.v185-target-controls label{display:flex;align-items:center;gap:3px;color:#b1c6d1;font-size:7px;font-weight:850;white-space:nowrap;cursor:pointer}
.v185-target-controls input{width:12px;height:12px;margin:0;accent-color:#37d4ff}
.video-stage-v181 .live-chip,.video-stage-v181 .video-timer,.video-stage-v181 .video-hint,.video-stage-v181 .video-offline-compact,.video-stage-v181 .video-fullscreen-hud,.video-stage-v181 .video-corner{z-index:15!important}

/* Badges always fit their hosts; no cropped giant artwork. */
.premium-badge-host{min-width:0!important;width:auto!important;height:auto!important}
.result-v13-hero{grid-template-columns:124px minmax(0,1fr) 220px!important;gap:16px!important}
.result-v13-medal.premium-badge-host{width:112px!important;min-width:112px!important;height:112px!important;margin:auto!important}
.result-v13-medal .achievement-badge-image,.result-v13-medal .v184-achievement-art{display:block!important;width:112px!important;height:112px!important;max-width:112px!important;max-height:112px!important;object-fit:contain!important;border-radius:0!important}
.public-award-hero{grid-template-columns:148px minmax(0,1fr) 230px!important;gap:20px!important}
.public-award-medal.premium-badge-host{width:136px!important;min-width:136px!important;height:136px!important;margin:auto!important}
.public-award-medal .achievement-badge-image,.public-award-medal .v184-achievement-art{display:block!important;width:136px!important;height:136px!important;max-width:136px!important;max-height:136px!important;object-fit:contain!important;border-radius:0!important}
.member-medal-v182 .achievement-badge-image{width:132px!important;height:132px!important;max-width:132px!important;max-height:132px!important;margin:0 auto 5px!important;border-radius:0!important}
.badge-collection-grid img{width:82px!important;height:82px!important;object-fit:contain!important}
.badge-collection-grid article{min-height:142px!important}

/* Leadership podium: full small badges and visible data. */
.podium{align-items:stretch!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.podium .podium-card{order:initial!important;min-height:250px!important;padding:16px 14px 14px!important;display:grid!important;grid-template-columns:94px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;align-items:center!important;gap:8px 13px!important;text-align:left!important;overflow:hidden!important}
.podium .podium-card.place-1{min-height:264px!important}
.podium .place-medal,.podium .premium-place-medal{position:static!important;grid-column:1!important;grid-row:1/4!important;width:88px!important;height:88px!important;min-width:88px!important;display:grid!important;place-items:center!important;align-self:start!important;margin-top:3px!important;background:transparent!important;border:0!important;overflow:visible!important}
.podium .place-1 .place-medal,.podium .place-1 .premium-place-medal{width:96px!important;height:96px!important;min-width:96px!important}
.podium .place-medal img,.podium .premium-place-medal img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 10px 16px rgba(0,0,0,.35))}
.podium .place-medal span,.podium .premium-place-medal span{display:none!important}
.podium .podium-avatar{position:absolute!important;top:13px!important;right:13px!important;width:38px!important;height:38px!important;margin:0!important}
.podium .podium-card h3,.podium .podium-card p,.podium .podium-card>strong,.podium .podium-card>div:last-child{grid-column:2!important}
.podium .podium-card h3{margin:0!important;padding-right:32px;font-size:17px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.podium .podium-card p{margin:4px 0!important;font-size:9px!important}
.podium .podium-card>strong{font-size:30px!important;line-height:1!important}
.podium .podium-card>div:last-child{justify-content:flex-start!important;margin-top:0!important;font-size:9px!important}

/* Scoreboard header with centered shooter, one raw camera and one digital target. */
.scoreboard-header{height:78px!important;display:grid!important;grid-template-columns:minmax(270px,1fr) minmax(360px,1.35fr) minmax(310px,1fr)!important;gap:18px!important;align-items:center!important;position:relative!important}
.scoreboard-brand-status{display:flex;align-items:center;gap:12px;min-width:0}
.scoreboard-header-shooter{display:block;text-align:center;min-width:0;line-height:1.05}
.scoreboard-header-shooter>span{display:block;color:#37d4ff;font-size:8px;font-weight:950;letter-spacing:.16em}
.scoreboard-header-shooter>strong{display:block;margin-top:4px;color:#f0f7fb;font-size:clamp(22px,2.1vw,36px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scoreboard-header-shooter>small{display:block;margin-top:4px;color:#83a0b2;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scoreboard-header .scoreboard-header-actions{justify-content:flex-end!important;min-width:0!important}
.scoreboard-person{display:none!important}
.scoreboard-main{padding-top:8px!important}
.scoreboard-arena-v182{margin-top:0!important;min-height:650px!important}
.scoreboard-target-card.target-camera-stack{aspect-ratio:1/1!important;width:min(760px,52vw)!important;height:auto!important;min-height:0!important;border-radius:50%!important;overflow:hidden!important;isolation:isolate!important}
.scoreboard-center-camera{display:none!important}
.scoreboard-target-overlay{display:none!important}
.v185-scoreboard-camera{position:absolute;z-index:1;inset:3%;width:94%;height:94%;object-fit:cover;border-radius:50%;opacity:.66;filter:contrast(1.04) brightness(.82) saturate(.82);animation:none!important}
.scoreboard-target-card:not(.camera-visible) .v185-scoreboard-camera{display:none!important}
.v185-scoreboard-layer{position:absolute;z-index:3;inset:3%;width:94%;height:94%;border-radius:50%;overflow:hidden;pointer-events:none}
.v185-scoreboard-layer.interactive{pointer-events:auto;cursor:crosshair}
.v185-scoreboard-layer svg{display:block;width:100%;height:100%}
.scoreboard-target-card .v185-target-controls{top:13px;right:50%;transform:translateX(50%)}
.scoreboard-score-card{min-height:190px!important}
.scoreboard-score-card strong{font-size:clamp(62px,6.2vw,108px)!important;letter-spacing:-.04em!important;max-width:100%!important;text-align:center!important;white-space:nowrap!important}
.scoreboard-score-card.average strong{font-size:clamp(58px,5.6vw,92px)!important;letter-spacing:-.06em!important}
.scoreboard-progress{margin-top:0!important}
.scoreboard-camera-label{z-index:9!important}

/* Compact live page: source deck and target analysis use the available width efficiently. */
.v184-command-deck{grid-template-columns:minmax(190px,.72fr) minmax(360px,1.25fr) minmax(410px,1.35fr)!important}
.v184-command-deck .compact-source{min-width:0!important}
.v184-command-deck .compact-source strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}

@media(max-width:1100px){
  .scoreboard-header{grid-template-columns:1fr auto!important;height:auto!important;padding:9px 0!important}.scoreboard-header-shooter{grid-column:1/3;grid-row:2;padding:6px 0}.scoreboard-target-card.target-camera-stack{width:min(700px,70vw)!important}
  .result-v13-hero{grid-template-columns:100px minmax(0,1fr) 180px!important}.result-v13-medal.premium-badge-host,.result-v13-medal .achievement-badge-image,.result-v13-medal .v184-achievement-art{width:92px!important;height:92px!important;min-width:92px!important}
}
@media(max-width:720px){
  .v185-target-controls{left:8px;right:8px;top:8px;justify-content:center;flex-wrap:wrap;transform:none!important}.v185-target-controls label{font-size:6px}
  .podium{display:flex!important;overflow-x:auto}.podium .podium-card{min-width:285px!important}
  .scoreboard-header{display:flex!important;flex-wrap:wrap!important}.scoreboard-header-shooter{order:3;flex:1 0 100%}.scoreboard-header-actions{margin-left:auto}
  .result-v13-hero,.public-award-hero{grid-template-columns:1fr!important;text-align:center}.result-v13-score,.public-score-block{border-left:0!important;border-top:1px solid var(--line)}
}
