@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Roboto+Condensed:wght@400;700&display=swap');
:root{--red:#e21b1b;--red2:#8b0c0c;--green:#159c2d;--line:rgba(255,255,255,.25);--white:#fff;--card:linear-gradient(145deg,rgba(36,38,42,.95),rgba(8,9,11,.96));}
.gc-app,.gc-obs-page{font-family:'Roboto Condensed',Arial,sans-serif;background:#030303;color:#fff!important;box-sizing:border-box}.gc-app *,.gc-obs-page *{box-sizing:border-box;color:#fff!important}.gc-control-page{min-height:100vh;padding:10px 14px;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.09),transparent 32%),#030303}.gc-title{font-family:'Oswald',Impact,sans-serif;text-align:center;font-style:italic;font-weight:700;font-size:33px;letter-spacing:1.4px;text-transform:uppercase;margin:0 0 16px;text-shadow:0 2px 10px #000}.gc-admin-shell{max-width:1720px;max-height:calc(100vh - 20px);margin:0 auto;display:flex;background:rgba(13,15,17,.88);border:1px solid rgba(255,255,255,.18);border-radius:8px;overflow:hidden;box-shadow:0 24px 55px rgba(0,0,0,.7)}
.gc-sidebar{width:230px;flex:0 0 230px;padding:18px 14px;background:linear-gradient(180deg,#15181b,#050607);border-right:1px solid rgba(255,255,255,.08)}.gc-brand{font:700 34px 'Oswald';font-style:italic;color:#e32929!important;letter-spacing:-1px;text-shadow:0 1px 0 #000}.gc-sub{font-weight:700;font-size:16px;margin:8px 0 25px}.gc-sidebar button{width:100%;height:48px;background:linear-gradient(180deg,#202327,#111315);border:0;border-bottom:1px solid rgba(255,255,255,.06);text-align:left;padding:0 18px;font-weight:700;font-size:15px}.gc-sidebar button.active{background:linear-gradient(90deg,#741818,#3a0c0c);border-left:5px solid #ff2a2a}.gc-main{flex:1;display:grid;grid-template-columns:1.05fr 1.35fr 1.18fr;gap:10px;padding:10px;overflow:auto}.gc-card{background:var(--card);border:1px solid rgba(255,255,255,.18);border-radius:7px;padding:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 24px rgba(0,0,0,.25)}.gc-preview-card{grid-column:1/-1;padding:14px 18px 18px}.gc-preview-card h3{margin-bottom:10px}.gc-card h3{font:700 18px 'Roboto Condensed';margin:0 0 14px;text-transform:uppercase}.gc-card label{display:block;color:rgba(255,255,255,.9)!important;margin:9px 0 6px;font-size:15px}.gc-card input,.gc-card select{width:100%;height:42px;background:#0b0c0e!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:4px;padding:0 12px;font-size:16px;color:#fff!important}.gc-card input[type=number]{text-align:center;font:700 38px 'Oswald';height:58px}.gc-card button{height:44px;border-radius:4px;border:1px solid rgba(255,255,255,.28);background:linear-gradient(180deg,#2d3034,#151719);font-weight:700;text-transform:uppercase;display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0 14px;cursor:pointer}.gc-card button:hover{filter:brightness(1.12)}.gc-red-btn,#loadPreset,#savePreset{background:linear-gradient(180deg,#e33838,#970e0e)!important;border-color:#ff3434!important}.gc-save-btn{background:linear-gradient(180deg,#33b548,#127025)!important;border-color:#27db44!important}.gc-wide{width:100%;margin-top:12px}.gc-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.gc-size-row{margin-top:12px}.gc-score-card{text-align:center}.gc-score-label{margin-top:18px!important}.gc-score-inputs{display:grid;grid-template-columns:54px 1fr 30px 1fr 54px;gap:10px;align-items:center;max-width:395px;margin:0 auto}.gc-score-inputs span{font:700 48px 'Oswald'}.gc-score-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:395px;margin:12px auto 0}.gc-photo-row{display:grid;grid-template-columns:108px 1fr 1fr;gap:12px;align-items:center}.gc-photo-row img{width:108px;height:108px;object-fit:cover;border:1px solid rgba(255,255,255,.55);background:#060606}.gc-card-head{display:flex;align-items:center;justify-content:space-between}.gc-icon-btn{width:42px;padding:0!important;font-size:22px!important}.gc-preset-list{height:186px;overflow:auto;border:1px solid rgba(255,255,255,.22);background:#070808;border-radius:3px}.gc-preset-item{display:grid;grid-template-columns:1fr 70px 42px;gap:8px;align-items:center;padding:9px 10px;border-bottom:1px solid rgba(255,255,255,.08)}.gc-preset-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gc-preset-item button{height:34px;font-size:13px;padding:0 8px}.gc-delete-preset{background:linear-gradient(180deg,#3a3d41,#151719)!important;color:#ff5757!important}.gc-foul-control{display:grid;grid-template-columns:1fr 92px 92px 92px 92px 1fr;gap:10px;align-items:end;text-align:center}.gc-side-foul [id$=Circles]{display:flex;gap:10px;justify-content:center;height:42px;align-items:center}.gc-load-row{display:grid;grid-template-columns:1fr 170px;gap:12px;margin-top:18px}.gc-settings-title{margin-top:22px!important}.gc-check{display:flex!important;gap:8px;align-items:center}.gc-check input{width:auto!important;height:auto!important}.gc-login{position:fixed;inset:0;background:rgba(0,0,0,.93);z-index:99999;display:flex;align-items:center;justify-content:center}.gc-login-card{width:360px;background:linear-gradient(145deg,#202327,#090a0b);border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:28px;text-align:center;box-shadow:0 30px 80px #000}.gc-login-card h2{font-family:'Oswald';text-transform:uppercase}.gc-login-card input{width:100%;height:48px;background:#050505;border:1px solid rgba(255,255,255,.3);padding:0 14px;margin:16px 0}.gc-login-card button{height:48px;width:100%;background:linear-gradient(180deg,#e33838,#970e0e);border:0;border-radius:4px;font-weight:700}.gc-login-card p{color:rgba(255,255,255,.6)!important}
/* ONE TRUE OVERLAY - used by control preview and OBS shortcode */
.gc-board-host{width:100%;max-width:1640px;height:235px;margin:0 auto;position:relative;filter:drop-shadow(0 14px 20px rgba(0,0,0,.85));overflow:visible}.gc-obs-page{background:transparent!important;padding:0;overflow:hidden;width:100vw;height:100vh}.gc-obs-page .gc-board-host{max-width:1920px;width:100vw;height:286px;margin:0 auto}.gc-board{position:absolute;left:2%;right:2%;top:7px;height:236px;--faceW:220px;--faceH:220px;--metalL:145px;--topFS:43px;--nameFS:35px;--scoreFS:72px;--trayW:625px;--trayTop:191px;--nameOffset:370px}.gc-board.small{left:50%;right:auto;width:1030px;margin-left:-515px;--faceW:150px;--faceH:150px;--metalL:98px;--topFS:29px;--nameFS:24px;--scoreFS:48px;--trayW:430px;--trayTop:131px;--nameOffset:250px;height:166px;top:24px}.gc-obs-page .gc-board.small{top:16px}.gc-face{position:absolute;top:0;width:var(--faceW);height:var(--faceH);border:2px solid rgba(255,255,255,.58);background:#050505;box-shadow:inset 0 0 0 7px rgba(255,255,255,.07),0 0 0 1px #000,0 0 22px #000;z-index:4;overflow:hidden}.gc-face:before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.5);pointer-events:none}.gc-face.left{left:0}.gc-face.right{right:0}.gc-face img{width:100%;height:100%;object-fit:cover;display:block}.gc-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font:700 70px 'Oswald';background:radial-gradient(circle at center,#333,#050505)}.gc-metal{position:absolute;left:var(--metalL);right:var(--metalL);top:18px;height:92px;background:linear-gradient(180deg,#32353a,#151619 48%,#292c30);border:1px solid rgba(255,255,255,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -18px 42px rgba(0,0,0,.58),0 0 34px rgba(255,255,255,.08)}.gc-black{position:absolute;left:var(--metalL);right:var(--metalL);top:109px;height:83px;background:linear-gradient(180deg,#050505,#000 58%,#090909);border-top:1px solid rgba(255,255,255,.28);border-bottom:2px solid rgba(255,255,255,.48);box-shadow:0 12px 24px rgba(0,0,0,.8),inset 0 0 45px rgba(255,255,255,.04)}.gc-board.small .gc-metal{top:11px;height:62px}.gc-board.small .gc-black{top:72px;height:58px}.gc-top-left,.gc-top-right{position:absolute;top:40px;font:700 var(--topFS) 'Oswald';letter-spacing:3px;text-shadow:0 4px 0 rgba(0,0,0,.65),0 0 12px rgba(255,255,255,.22);z-index:3;text-align:center;width:260px}.gc-top-left{left:calc(var(--faceW) + 65px)}.gc-top-right{right:calc(var(--faceW) + 65px)}.gc-board.small .gc-top-left,.gc-board.small .gc-top-right{top:29px;width:180px;letter-spacing:2px}.gc-name-left,.gc-name-right{position:absolute;top:126px;font:700 var(--nameFS) 'Oswald';letter-spacing:1.4px;text-shadow:0 2px 9px #000;z-index:3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:350px}.gc-name-left{left:var(--nameOffset);text-align:left}.gc-name-right{right:var(--nameOffset);text-align:right}.gc-board.small .gc-name-left,.gc-board.small .gc-name-right{top:88px;max-width:220px}.gc-score-big{position:absolute;top:100px;left:50%;transform:translateX(-50%);font:700 var(--scoreFS) 'Oswald';letter-spacing:12px;z-index:4;line-height:1;text-shadow:0 5px 0 #000,0 0 18px rgba(255,255,255,.35);white-space:nowrap}.gc-board.small .gc-score-big{top:78px;letter-spacing:8px}.gc-score-big.pop{animation:gcPop .35s ease-out}.gc-stripe{position:absolute;left:0;right:0;top:191px;height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);z-index:2}.gc-board.small .gc-stripe{top:129px}.gc-foul-tray{position:absolute;left:50%;top:var(--trayTop);transform:translateX(-50%);width:var(--trayW);height:72px;background:linear-gradient(180deg,#45484c,#171819);clip-path:polygon(0 0,100% 0,93% 100%,7% 100%);border:1px solid rgba(255,255,255,.48);box-shadow:inset 0 1px rgba(255,255,255,.28),inset 0 -20px 35px rgba(0,0,0,.55);z-index:5;display:flex;align-items:center;justify-content:center;gap:54px}.gc-board.small .gc-foul-tray{height:50px;gap:30px}.gc-foul-set{display:flex;gap:14px;align-items:center}.gc-fouls-label{font:700 40px 'Oswald';letter-spacing:2px;text-shadow:0 2px 8px #000}.gc-board.small .gc-fouls-label{font-size:25px}.gc-foul-dot{width:48px;height:48px;border-radius:50%;border:5px solid rgba(255,255,255,.92);background:rgba(0,0,0,.2);box-shadow:inset 0 0 12px #000,0 0 10px rgba(255,255,255,.18)}.gc-board.small .gc-foul-dot{width:32px;height:32px;border-width:4px}.gc-foul-dot.on{background:radial-gradient(circle at 34% 28%,#ff5757,#c40000 66%,#760000);box-shadow:inset 0 0 10px rgba(255,255,255,.25),0 0 10px rgba(226,27,27,.9)}.gc-foul-dot.pulse{animation:gcPulse .43s ease-out}.gc-foul-control .gc-foul-dot{width:38px;height:38px;border-width:3px;cursor:pointer}.gc-foul-control .gc-foul-dot:hover{filter:brightness(1.25)}@keyframes gcPop{0%{transform:translateX(-50%) scale(1)}50%{transform:translateX(-50%) scale(1.16);filter:brightness(1.55)}100%{transform:translateX(-50%) scale(1)}}@keyframes gcPulse{0%{transform:scale(1)}45%{transform:scale(1.22);filter:brightness(1.5)}100%{transform:scale(1)}}
@media(max-width:1000px){.gc-control-page{padding:6px}.gc-title{font-size:24px}.gc-admin-shell{display:block;max-height:none}.gc-sidebar{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px}.gc-sidebar .gc-brand,.gc-sidebar .gc-sub{grid-column:1/-1}.gc-main{grid-template-columns:1fr}.gc-board-host{height:185px;overflow:hidden}.gc-board{transform:scale(.68);transform-origin:top left;width:147%;left:0;right:auto}.gc-board.small{transform:scale(.78);left:0;margin-left:0;width:1030px}.gc-foul-control{grid-template-columns:1fr 1fr}.gc-load-row,.gc-photo-row{grid-template-columns:1fr}.gc-photo-row img{width:96px;height:96px}.gc-score-inputs{grid-template-columns:48px 1fr 22px 1fr 48px}.gc-preset-item{grid-template-columns:1fr 60px 38px}}
/* V6 MOBILE CONTROL FIX */
@media(max-width:1000px){.gc-sidebar{display:none!important}.gc-admin-shell{display:block!important;max-height:none!important;width:100%!important;max-width:100%!important;overflow:visible!important}.gc-main{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;padding:8px!important;gap:10px!important;overflow:visible!important}.gc-card{width:100%!important;max-width:100%!important;padding:10px!important}.gc-preview-card{grid-column:1!important}.gc-score-inputs{grid-template-columns:48px minmax(0,1fr) 22px minmax(0,1fr) 48px!important;max-width:100%!important;gap:8px!important}.gc-score-buttons{max-width:100%!important;grid-template-columns:1fr 1fr!important}.gc-card button{min-height:44px}.gc-card input,.gc-card select{max-width:100%!important}}

/* V10: hard-disable old PIN/login overlay */
.gc-login,.gc-login-card,#gcLogin{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;overflow:hidden!important;}

/* V10: mobile overlay visibility fix */
@media(max-width:1000px){.gc-obs-page{background:#030303!important;min-height:100vh!important;height:100vh!important;width:100vw!important;overflow:auto!important;display:block!important}.gc-obs-page .gc-board-host{display:block!important;visibility:visible!important;opacity:1!important;width:100vw!important;height:190px!important;max-width:none!important;overflow:visible!important}.gc-obs-page .gc-board.small{display:block!important;visibility:visible!important;opacity:1!important;transform:scale(.36)!important;transform-origin:top center!important;left:50%!important;margin-left:-515px!important;top:18px!important;width:1030px!important}}

/* V10: mobile control hard fit */
@media(max-width:1000px){.gc-control-page{width:100%!important;max-width:100%!important;overflow-x:hidden!important}.gc-admin-shell{border-radius:0!important;border-left:0!important;border-right:0!important}.gc-sidebar{display:none!important}.gc-main{grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important}.gc-two{grid-template-columns:1fr 1fr!important;gap:10px!important}.gc-foul-control{grid-template-columns:1fr 1fr!important}.gc-photo-row{grid-template-columns:96px 1fr 1fr!important;gap:8px!important}.gc-score-inputs{grid-template-columns:46px minmax(0,1fr) 18px minmax(0,1fr) 46px!important;gap:6px!important}.gc-score-inputs span{font-size:34px!important}.gc-card input[type=number]{font-size:30px!important}.gc-preset-list{height:auto!important;max-height:220px!important}}
@media(max-width:430px){.gc-photo-row{grid-template-columns:1fr!important}.gc-score-buttons{grid-template-columns:1fr 1fr!important}.gc-foul-control{grid-template-columns:1fr!important}.gc-card button{width:100%}.gc-score-inputs button{width:46px!important}.gc-score-inputs{grid-template-columns:46px 1fr 16px 1fr 46px!important}}

/* V11: mobile control preview + foul control placement fix */
@media(max-width:1000px){
  .gc-preview-card{padding:10px!important;overflow:hidden!important;}
  .gc-live-preview.gc-board-host{height:105px!important;max-width:100%!important;width:100%!important;overflow:visible!important;filter:drop-shadow(0 8px 12px rgba(0,0,0,.75))!important;}
  .gc-live-preview .gc-board.small{left:50%!important;margin-left:-515px!important;right:auto!important;width:1030px!important;top:8px!important;transform:scale(.48)!important;transform-origin:top center!important;}
  .gc-foul-control{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-areas:"leftDots rightDots" "leftPlus rightPlus" "leftMinus rightMinus"!important;gap:8px!important;align-items:stretch!important;}
  .gc-foul-control > .gc-side-foul:first-child{grid-area:leftDots!important;}
  .gc-foul-control > #leftFoulPlus{grid-area:leftPlus!important;}
  .gc-foul-control > #leftFoulMinus{grid-area:leftMinus!important;}
  .gc-foul-control > #rightFoulPlus{grid-area:rightPlus!important;}
  .gc-foul-control > #rightFoulMinus{grid-area:rightMinus!important;}
  .gc-foul-control > .gc-side-foul:last-child{grid-area:rightDots!important;}
  .gc-foul-control .gc-side-foul{background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:6px!important;padding:8px!important;}
  .gc-foul-control button{width:100%!important;min-height:44px!important;}
  .gc-side-foul [id$=Circles]{height:auto!important;min-height:42px!important;}
}
@media(max-width:600px){
  .gc-live-preview.gc-board-host{height:88px!important;}
  .gc-live-preview .gc-board.small{transform:scale(.39)!important;top:8px!important;}
}
@media(max-width:430px){
  .gc-live-preview.gc-board-host{height:76px!important;}
  .gc-live-preview .gc-board.small{transform:scale(.34)!important;top:6px!important;}
  .gc-foul-control{grid-template-columns:1fr 1fr!important;grid-template-areas:"leftDots rightDots" "leftPlus rightPlus" "leftMinus rightMinus"!important;}
}

/* V14 FORCE NO-CACHE CLEAN OVERLAY: remove outside/inside face boxes and center face crops */
.gc-board .gc-face,
.gc-obs-page .gc-board .gc-face,
.gc-live-preview .gc-board .gc-face{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.gc-board .gc-face:before,
.gc-obs-page .gc-board .gc-face:before,
.gc-live-preview .gc-board .gc-face:before{
  content:none!important;
  display:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.gc-board .gc-face img,
.gc-obs-page .gc-board .gc-face img,
.gc-live-preview .gc-board .gc-face img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
/* make uploaded face previews centered too */
.gc-photo-row img{
  object-fit:cover!important;
  object-position:center center!important;
}

/* V16 RESTORE CENTER LOGO + NAME ALIGNMENT + CLEAN BAR-HEIGHT FACES */
.gc-logo-controls{margin:14px 0 10px;padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:6px;background:rgba(255,255,255,.035)}
.gc-logo-controls h3{margin:0 0 10px!important;text-align:center}.gc-logo-row{display:grid;grid-template-columns:86px 1fr 1fr;gap:10px;align-items:center}.gc-logo-row img{width:86px;height:52px;object-fit:contain;object-position:center;background:#050505;border:1px solid rgba(255,255,255,.18);border-radius:4px}.gc-logo-controls input[type=range]{height:30px!important;padding:0!important;background:transparent!important;border:0!important}
.gc-board .gc-center-logo{position:absolute;left:50%;top:36px;transform:translate(-50%,var(--gcLogoY,0px));width:var(--gcLogoSize,74px);height:var(--gcLogoSize,74px);z-index:7;display:flex;align-items:center;justify-content:center;pointer-events:none}.gc-board .gc-center-logo img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 3px 6px rgba(0,0,0,.9))}.gc-board.small .gc-center-logo{top:23px}
/* Make the uploaded opponent photo area the same height as the main bar, not taller than it */
.gc-board{--faceH:174px!important;--nameOffset:0px!important}.gc-board.small{--faceH:119px!important;--nameOffset:0px!important}.gc-board .gc-face{top:18px!important;height:var(--faceH)!important}.gc-board.small .gc-face{top:11px!important}.gc-board .gc-face.left{left:0!important}.gc-board .gc-face.right{right:0!important}.gc-board .gc-face img{object-fit:cover!important;object-position:center 38%!important}.gc-board .gc-placeholder{background:transparent!important}
/* Center names under ROUND and BEST OF instead of pushing them toward the edges */
.gc-name-left,.gc-name-right{top:128px!important;width:330px!important;max-width:330px!important;text-align:center!important;left:auto!important;right:auto!important;transform:none!important}.gc-name-left{left:calc(var(--faceW) + 32px)!important}.gc-name-right{right:calc(var(--faceW) + 32px)!important}.gc-board.small .gc-name-left,.gc-board.small .gc-name-right{top:88px!important;width:220px!important;max-width:220px!important}.gc-board.small .gc-name-left{left:calc(var(--faceW) + 16px)!important}.gc-board.small .gc-name-right{right:calc(var(--faceW) + 16px)!important}
@media(max-width:1000px){.gc-logo-row{grid-template-columns:76px 1fr 1fr!important}.gc-logo-row img{width:76px;height:48px}.gc-logo-controls{padding:8px!important}.gc-live-preview .gc-board.small .gc-center-logo{top:23px!important}}

/* V16 FIX: restore oversized square face photos, keep clean no-box look, and bias crop toward faces */
.gc-board{--faceW:220px!important;--faceH:220px!important;--nameOffset:370px!important;}
.gc-board.small{--faceW:150px!important;--faceH:150px!important;--nameOffset:250px!important;}
.gc-board .gc-face,
.gc-obs-page .gc-board .gc-face,
.gc-live-preview .gc-board .gc-face{
  top:0!important;
  width:var(--faceW)!important;
  height:var(--faceH)!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:hidden!important;
}
.gc-board.small .gc-face{top:0!important;}
.gc-board .gc-face:before,
.gc-obs-page .gc-board .gc-face:before,
.gc-live-preview .gc-board .gc-face:before{content:none!important;display:none!important;border:0!important;outline:0!important;box-shadow:none!important;}
.gc-board .gc-face img,
.gc-obs-page .gc-board .gc-face img,
.gc-live-preview .gc-board .gc-face img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:50% 24%!important;
  display:block!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.gc-board .gc-placeholder{background:transparent!important;border:0!important;box-shadow:none!important;}
.gc-name-left,.gc-name-right{top:126px!important;width:auto!important;max-width:350px!important;transform:none!important;}
.gc-name-left{left:var(--nameOffset)!important;text-align:left!important;right:auto!important;}
.gc-name-right{right:var(--nameOffset)!important;text-align:right!important;left:auto!important;}
.gc-board.small .gc-name-left,.gc-board.small .gc-name-right{top:88px!important;max-width:220px!important;width:auto!important;}
.gc-board.small .gc-name-left{left:var(--nameOffset)!important;}
.gc-board.small .gc-name-right{right:var(--nameOffset)!important;}
.gc-photo-row img{object-fit:cover!important;object-position:50% 24%!important;}


/* V17: pixel-perfect name alignment under ROUND / BEST OF + logo lock button */
.gc-logo-slider-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-top:10px!important}
.gc-logo-slider-head label{margin:0!important;flex:1!important;text-align:left!important}
.gc-logo-lock{width:auto!important;min-width:112px!important;height:34px!important;padding:0 10px!important;font-size:12px!important;letter-spacing:.3px!important;background:linear-gradient(180deg,#2d3034,#151719)!important;border:1px solid rgba(255,255,255,.3)!important;border-radius:4px!important;white-space:nowrap!important}
.gc-logo-controls input[type=range]:disabled{opacity:.45!important;cursor:not-allowed!important}
.gc-board .gc-name-left{left:calc(var(--faceW) + 65px + 130px)!important;right:auto!important;width:260px!important;max-width:260px!important;text-align:center!important;transform:translateX(-50%)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gc-board .gc-name-right{right:calc(var(--faceW) + 65px + 130px)!important;left:auto!important;width:260px!important;max-width:260px!important;text-align:center!important;transform:translateX(50%)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gc-board.small .gc-name-left{left:calc(var(--faceW) + 65px + 90px)!important;right:auto!important;width:180px!important;max-width:180px!important;text-align:center!important;transform:translateX(-50%)!important}
.gc-board.small .gc-name-right{right:calc(var(--faceW) + 65px + 90px)!important;left:auto!important;width:180px!important;max-width:180px!important;text-align:center!important;transform:translateX(50%)!important}
/* V19: final name alignment - names centered under ROUND / BEST OF */
.gc-board .gc-name-left{left:calc(var(--faceW) + 65px + 130px)!important;right:auto!important;width:260px!important;max-width:260px!important;text-align:center!important;transform:translateX(-50%)!important;}
.gc-board .gc-name-right{right:calc(var(--faceW) + 65px + 130px)!important;left:auto!important;width:260px!important;max-width:260px!important;text-align:center!important;transform:translateX(50%)!important;}
.gc-board.small .gc-name-left{left:calc(var(--faceW) + 65px + 90px)!important;right:auto!important;width:180px!important;max-width:180px!important;text-align:center!important;transform:translateX(-50%)!important;}
.gc-board.small .gc-name-right{right:calc(var(--faceW) + 65px + 90px)!important;left:auto!important;width:180px!important;max-width:180px!important;text-align:center!important;transform:translateX(50%)!important;}

/* V20: move full names outward and stop blue/white flash */
html,body,body.gc-scoreboard-direct{background:#030303!important;color:#fff!important}
body.gc-scoreboard-direct:before{content:"";position:fixed;inset:0;background:#030303;z-index:-1}
.gc-board .gc-name-left{left:calc(var(--faceW) + 65px + 60px)!important;right:auto!important;width:340px!important;max-width:340px!important;text-align:center!important;transform:translateX(-50%)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gc-board .gc-name-right{right:calc(var(--faceW) + 65px + 60px)!important;left:auto!important;width:340px!important;max-width:340px!important;text-align:center!important;transform:translateX(50%)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gc-board.small .gc-name-left{left:calc(var(--faceW) + 65px + 48px)!important;right:auto!important;width:230px!important;max-width:230px!important;text-align:center!important;transform:translateX(-50%)!important}
.gc-board.small .gc-name-right{right:calc(var(--faceW) + 65px + 48px)!important;left:auto!important;width:230px!important;max-width:230px!important;text-align:center!important;transform:translateX(50%)!important}

/* V22 FINAL: perfect math align + no old template flash */
html,body,body.gc-scoreboard-direct{margin:0!important;background:#030303!important;color:#fff!important;min-height:100vh!important}
body.gc-scoreboard-direct:not(.gc-ready) .gc-app,body.gc-scoreboard-direct:not(.gc-ready) .gc-obs-page{opacity:0!important;visibility:hidden!important}
body.gc-scoreboard-direct.gc-ready .gc-app,body.gc-scoreboard-direct.gc-ready .gc-obs-page{opacity:1!important;visibility:visible!important}
.gc-board{--faceW:220px!important;--faceH:220px!important;--nameCenterX:calc(var(--faceW) + 97.5px)!important}
.gc-board.small{--faceW:150px!important;--faceH:150px!important;--nameCenterX:calc(var(--faceW) + 77.5px)!important}
.gc-board .gc-face,.gc-obs-page .gc-board .gc-face,.gc-live-preview .gc-board .gc-face{top:0!important;width:var(--faceW)!important;height:var(--faceH)!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;overflow:hidden!important}
.gc-board .gc-face:before,.gc-obs-page .gc-board .gc-face:before,.gc-live-preview .gc-board .gc-face:before{content:none!important;display:none!important;border:0!important;outline:0!important;box-shadow:none!important}
.gc-board .gc-face img,.gc-obs-page .gc-board .gc-face img,.gc-live-preview .gc-board .gc-face img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 24%!important;display:block!important;border:0!important;outline:0!important;box-shadow:none!important}
.gc-board .gc-name-left,.gc-board .gc-name-right{top:126px!important;width:420px!important;max-width:420px!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gc-board .gc-name-left{left:var(--nameCenterX)!important;right:auto!important;transform:translateX(-50%)!important}
.gc-board .gc-name-right{right:var(--nameCenterX)!important;left:auto!important;transform:translateX(50%)!important}
.gc-board.small .gc-name-left,.gc-board.small .gc-name-right{top:88px!important;width:300px!important;max-width:300px!important}

/* V25 FINAL STABLE: no old template flash, clean faces, exact anchored name behavior */
html,body,body.gc-scoreboard-direct{margin:0!important;background:#030303!important;color:#fff!important;min-height:100vh!important;}
body.gc-scoreboard-direct:not(.gc-ready) .gc-app,
body.gc-scoreboard-direct:not(.gc-ready) .gc-obs-page{opacity:0!important;visibility:hidden!important;}
body.gc-scoreboard-direct.gc-ready .gc-app,
body.gc-scoreboard-direct.gc-ready .gc-obs-page{opacity:1!important;visibility:visible!important;}
.gc-scoreboard-direct,.gc-control-page,.gc-obs-page{background:#030303!important;color:#fff!important;}
.gc-board .gc-face,.gc-obs-page .gc-board .gc-face,.gc-live-preview .gc-board .gc-face{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;overflow:hidden!important;}
.gc-board .gc-face:before,.gc-obs-page .gc-board .gc-face:before,.gc-live-preview .gc-board .gc-face:before{content:none!important;display:none!important;border:0!important;outline:0!important;box-shadow:none!important;}
.gc-board .gc-face img,.gc-obs-page .gc-board .gc-face img,.gc-live-preview .gc-board .gc-face img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 24%!important;display:block!important;border:0!important;outline:0!important;box-shadow:none!important;}

/* Name anchor: one letter starts under ROUND U/N center and BEST OF gap; full name expands evenly and finishes centered */
.gc-board .gc-name-left,
.gc-board .gc-name-right{
  position:absolute!important;
  top:126px!important;
  width:420px!important;
  max-width:420px!important;
  font:700 var(--nameFS) 'Oswald'!important;
  letter-spacing:1.4px!important;
  text-shadow:0 2px 9px #000!important;
  z-index:3!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
}
.gc-board .gc-name-left{
  left:calc(var(--faceW) + 65px + 130px)!important;
  right:auto!important;
  transform:translateX(-50%)!important;
}
.gc-board .gc-name-right{
  right:calc(var(--faceW) + 65px + 130px)!important;
  left:auto!important;
  transform:translateX(50%)!important;
}
.gc-board.small .gc-name-left,
.gc-board.small .gc-name-right{
  top:88px!important;
  width:300px!important;
  max-width:300px!important;
}
.gc-board.small .gc-name-left{
  left:calc(var(--faceW) + 65px + 90px)!important;
  right:auto!important;
  transform:translateX(-50%)!important;
}
.gc-board.small .gc-name-right{
  right:calc(var(--faceW) + 65px + 90px)!important;
  left:auto!important;
  transform:translateX(50%)!important;
}

/* V26 FINAL: remove outer page scrollbar; keep only the control panel inner scroll */
html:has(body.gc-scoreboard-direct-control),
body.gc-scoreboard-direct-control{height:100%!important;overflow:hidden!important;}
body.gc-scoreboard-direct-control .gc-control-page{height:100vh!important;min-height:0!important;overflow:hidden!important;padding:6px 10px!important;}
body.gc-scoreboard-direct-control .gc-title{margin-bottom:8px!important;}
body.gc-scoreboard-direct-control .gc-admin-shell{height:calc(100vh - 56px)!important;max-height:calc(100vh - 56px)!important;overflow:hidden!important;}
body.gc-scoreboard-direct-control .gc-main{overflow-y:auto!important;overflow-x:hidden!important;}
body.gc-scoreboard-direct-control .gc-sidebar{overflow:hidden!important;}
@media(max-width:1000px){html:has(body.gc-scoreboard-direct-control),body.gc-scoreboard-direct-control{overflow:auto!important;}body.gc-scoreboard-direct-control .gc-control-page{height:auto!important;min-height:100vh!important;overflow-x:hidden!important;overflow-y:visible!important;}body.gc-scoreboard-direct-control .gc-admin-shell{height:auto!important;max-height:none!important;overflow:visible!important;}body.gc-scoreboard-direct-control .gc-main{overflow:visible!important;}}

/* V26-FIX: Overlay transparency + no-flash image fix */
/* Override all previous background:#030303 rules for the overlay page only */
body.gc-scoreboard-direct-overlay,
html:has(body.gc-scoreboard-direct-overlay){
  background:transparent!important;
  background-color:transparent!important;
}
body.gc-scoreboard-direct-overlay:before{
  display:none!important;
  content:none!important;
}
body.gc-scoreboard-direct-overlay .gc-obs-page{
  background:transparent!important;
  background-color:transparent!important;
}

/* MOBILE REORDER: Score → Fouls → Presets → Left Opponent → Right Opponent → Actions */
@media(max-width:1000px){
  .gc-main{display:grid!important;}
  .gc-preview-card{order:1!important;}
  .gc-score-card{order:2!important;}
  .gc-foul-card{order:3!important;}
  .gc-preset-card{order:4!important;}
  /* Left opponent = 2nd child of .gc-main, Right opponent = 4th child */
  .gc-main > .gc-opponent-card:nth-child(2){order:5!important;}
  .gc-main > .gc-opponent-card:nth-child(4){order:6!important;}
  .gc-action-card{order:7!important;}
}