.witton-live-wrap{max-width:1300px}.wl-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:16px;margin:18px 0}.wl-lower{grid-template-columns:repeat(2,minmax(0,1fr))}.wl-panel{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:18px;min-width:0}.wl-panel h2{margin-top:0}.wl-panel label{display:block;font-weight:600;margin:12px 0 5px}.wl-panel input,.wl-panel select,.wl-panel textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;margin:5px 0 10px}.wl-panel textarea{min-height:70px}.wl-panel button{margin:4px 4px 4px 0}.wl-message{padding:7px 0;color:#22713b}.wl-message.is-error{color:#b32d2e}.wl-match-head h3{font-size:23px;margin-bottom:5px}.wl-admin-clock{font-size:38px;font-weight:700;line-height:1.2;margin:14px 0}.wl-clock-controls{display:flex;flex-wrap:wrap;gap:4px}.wl-score-correction{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:16px;padding-top:12px;border-top:1px solid #ddd}.wl-score-correction label{flex:1;min-width:75px;margin:0}.wl-event-card{padding:12px 0;border-bottom:1px solid #e5e5e5}.wl-event-card p{margin:6px 0}.wl-events-panel{margin-top:16px}.witton-live-public{max-width:900px;margin:0 auto;color:#202124}.wl-public-score{background:#f5f5f5;border:1px solid #ddd;border-radius:8px;padding:20px;text-align:center}.wl-public-comp{font-size:.9em;color:#666}.wl-public-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:center;font-size:clamp(16px,3vw,23px);font-weight:700}.wl-public-teams>div{display:flex;flex-direction:column;gap:8px}.wl-public-teams strong{font-size:clamp(30px,5vw,46px)}.wl-public-lineups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.wl-public-lineups section{border:1px solid #ddd;border-radius:8px;padding:14px;min-width:0}.wl-public-lineups h3{margin-top:0}.wl-public-feed h2{border-bottom:2px solid #b5121b;padding-bottom:8px}.wl-public-event{padding:15px 0;border-bottom:1px solid #ddd}.wl-public-event h3{margin:0 0 7px;font-size:1.05em}.wl-public-event p{margin:0;line-height:1.55}.wl-public-event:first-child{border-left:4px solid #b5121b;padding-left:13px}@media(max-width:780px){.wl-layout,.wl-lower{grid-template-columns:minmax(0,1fr)}.wl-public-lineups{grid-template-columns:minmax(0,1fr)}.wl-public-teams{gap:7px}}

.wl-player-sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.wl-team-sheet{border:1px solid #dcdcde;border-radius:6px;padding:12px;min-width:0}
.wl-team-sheet h3{margin-top:0}
.wl-player-tools{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.wl-player-slots{display:grid;grid-template-columns:1fr;gap:5px}
.wl-player-slot{display:grid!important;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:8px;margin:0!important}
.wl-player-slot span{font-weight:400;font-size:12px}
.wl-player-slot select{margin:0!important}
.wl-team-player-status{font-size:12px;color:#555}
@media(max-width:900px){.wl-player-sheet-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep the event composer visible beside the team sheets after a match is opened. */
.witton-live-wrap .wl-layout.wl-lower {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start;
  width: 100%;
}
.witton-live-wrap .wl-layout.wl-lower > .wl-panel {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 0;
  height: auto;
}
.witton-live-wrap .wl-layout.wl-lower > .wl-panel:nth-child(2) {
  grid-column: 2;
}
@media (max-width: 780px) {
  .witton-live-wrap .wl-layout.wl-lower {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .witton-live-wrap .wl-layout.wl-lower > .wl-panel:nth-child(2) {
    grid-column: 1;
  }
}

/* Matchday team-sheet preview */
.wl-team-preview[hidden]{display:none!important}
.wl-team-preview{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.68);display:flex;align-items:flex-start;justify-content:center;padding:4vh 18px;overflow:auto}
.wl-team-preview-card{background:#fff;border-radius:10px;padding:22px;width:min(100%,1000px);box-sizing:border-box;box-shadow:0 10px 40px rgba(0,0,0,.25)}
.wl-preview-close{float:right}
.wl-preview-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;clear:both}
.wl-preview-team{border:1px solid #ddd;border-radius:8px;padding:16px;min-width:0}
.wl-preview-team h3{margin-top:0;border-bottom:2px solid #b5121b;padding-bottom:8px}
.wl-preview-team h4{margin:16px 0 6px}
.wl-preview-list{margin:0;padding-left:30px}
.wl-preview-list li{padding:4px 6px;border-bottom:1px solid #eee}
.wl-preview-list li.is-empty{color:#999;font-style:italic}
.wl-event-player,.wl-event-related-player{font-weight:600}
.wl-event-commentary{margin-top:8px!important}
@media(max-width:700px){.wl-preview-content{grid-template-columns:minmax(0,1fr)}.wl-team-preview{padding:12px}}

/* Public match centre: score header, team incidents and tabs */
.witton-live-public [hidden]{display:none!important}.wl-public-no-match{padding:28px;text-align:center;border:1px solid #ddd;border-radius:8px;background:#f7f7f7}.wl-public-teams{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start}.wl-public-team{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-width:0}.wl-public-team img{width:42px;height:42px;object-fit:contain}.wl-public-team>span{overflow-wrap:anywhere}.wl-public-team strong{font-size:clamp(30px,5vw,46px)}.wl-public-team-events{grid-column:1/-1;font-size:.8em;font-weight:600;text-align:left;min-height:0}.wl-public-team-events p{margin:3px 0}.wl-public-team:nth-child(3) .wl-public-team-events{text-align:right}.wl-public-tabs{display:flex;gap:8px;margin:16px 0 0;border-bottom:1px solid #ddd}.wl-public-tabs button{border:1px solid #ddd;background:#f5f5f5;padding:12px 18px;cursor:pointer;border-radius:7px 7px 0 0}.wl-public-tabs button.is-active{background:#fff;border-bottom-color:#fff;font-weight:700;color:#a10d18}.wl-public-tab-panel{padding-top:12px}.wl-public-lineups ol{padding-left:0;list-style:none}.wl-public-lineups li{display:flex;gap:10px;padding:5px 0;border-bottom:1px solid #eee}.wl-public-slot-number{display:inline-block;min-width:22px;font-weight:700}.wl-public-lineups li.is-empty{color:#aaa}.witton-live-archive li{margin:8px 0}

.wl-event-media-preview{margin:8px 0}.wl-event-media-preview img{display:block;max-width:100%;max-height:220px;width:auto;height:auto;border:1px solid #ddd;border-radius:5px}.wl-event-image{display:block;max-width:100%;height:auto;max-height:480px;object-fit:contain;margin:10px 0;border-radius:6px}.wl-public-event .wl-event-image{max-height:520px}

/* Keep team names and scores level when goal or red-card details are displayed. */
.wl-public-teams{align-items:start!important}
.wl-public-team{align-content:start;align-self:start}

/* Manual social sharing controls on each admin commentary update. */
.wl-share-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.wl-share-buttons .button{margin:0}

.wl-instagram-download{display:inline-flex;align-items:center;margin-top:6px;text-decoration:none}

/* Dedicated front-end Match Operator console */
.wl-operator-shell{--wl-red:#a5121a;--wl-ink:#18212b;--wl-muted:#647181;max-width:1480px;margin:28px auto;padding:0 18px;color:var(--wl-ink);font-family:inherit}
.wl-operator-shell>div:first-child{background:linear-gradient(120deg,#17212d,#293746);color:#fff;border-radius:14px;padding:22px 26px;margin-bottom:22px}
.wl-operator-shell>div:first-child h1{color:#fff;font-size:clamp(24px,3vw,34px);line-height:1.15;margin:0 0 6px;font-weight:750}
.wl-operator-shell>div:first-child p{color:#dce3ea;margin:0}
.wl-operator-shell>div:first-child a{background:#fff;color:#17212d;border:0;border-radius:7px;padding:9px 15px;text-decoration:none;font-weight:650}
.wl-operator-shell .wl-layout{gap:18px;margin:18px 0}
.wl-operator-shell .wl-panel{background:#fff;border:1px solid #dce2e8;border-radius:12px;padding:22px;box-shadow:0 3px 12px rgba(20,35,50,.055)}
.wl-operator-shell .wl-panel h2{font-size:20px;line-height:1.25;color:#17212d;padding-bottom:12px;border-bottom:1px solid #edf0f3;margin:0 0 16px}
.wl-operator-shell .wl-panel h3{color:#273443}
.wl-operator-shell .wl-panel label{font-size:14px;color:#344252;margin:14px 0 6px}
.wl-operator-shell .wl-panel input:not([type=checkbox]),.wl-operator-shell .wl-panel select,.wl-operator-shell .wl-panel textarea{border:1px solid #cbd3dc;border-radius:7px;background:#fff;color:#17212d;min-height:42px;padding:9px 11px;font-size:15px;box-shadow:none}
.wl-operator-shell .wl-panel textarea{min-height:100px;line-height:1.45}
.wl-operator-shell .wl-panel input:focus,.wl-operator-shell .wl-panel select:focus,.wl-operator-shell .wl-panel textarea:focus{border-color:var(--wl-red);outline:2px solid rgba(165,18,26,.12)}
.wl-operator-shell .wl-panel button,.wl-operator-shell .wl-panel .button{border-radius:7px;min-height:39px;padding:7px 13px;font-weight:650;line-height:1.25}
.wl-operator-shell .wl-panel .button-primary{background:var(--wl-red);border-color:var(--wl-red);color:#fff}
.wl-operator-shell .wl-panel .button-primary:hover{background:#831018;border-color:#831018;color:#fff}
.wl-operator-shell .wl-message{padding:9px 11px;border-radius:7px;background:#f0f7f2;color:#176638;margin:10px 0 0;min-height:18px}
.wl-operator-shell .wl-message:empty{display:none}
.wl-operator-shell .wl-message.is-error{background:#fff0f0;color:#a5121a}
.wl-operator-shell .wl-match-head{background:#f5f7f9;border:1px solid #dce2e8;border-radius:10px;padding:18px;margin-bottom:14px}
.wl-operator-shell .wl-match-head h3{font-size:clamp(20px,2.5vw,28px);margin:0 0 5px}
.wl-operator-shell .wl-admin-clock{font-size:42px;color:var(--wl-red);margin:12px 0}
.wl-operator-shell .wl-clock-controls{gap:7px}
.wl-operator-shell .wl-clock-controls button{background:#fff;border:1px solid #cbd3dc;color:#273443}
.wl-operator-shell .wl-clock-controls button:last-child{background:var(--wl-red);border-color:var(--wl-red);color:#fff}
.wl-operator-shell .wl-player-sheet-grid{gap:12px}
.wl-operator-shell .wl-team-sheet{border:1px solid #e0e5ea;border-radius:9px;padding:13px;background:#fbfcfd}
.wl-operator-shell .wl-player-slot{grid-template-columns:34px minmax(0,1fr);gap:8px}
.wl-operator-shell .wl-player-slot span{font-size:13px;font-weight:700;color:#566474}
.wl-operator-shell .wl-event-card{padding:14px 0}
.wl-operator-shell .wl-events-panel{background:#fff;border:1px solid #dce2e8;border-radius:12px;padding:20px}
.wl-operator-shell .wl-events-panel h2{margin-top:0}
.wl-operator-shell .wl-event-commentary{line-height:1.5}
.wl-operator-shell .wl-buffer-actions{margin-top:8px}
.wl-operator-login{max-width:440px!important;margin:50px auto!important;padding:32px!important;border:1px solid #dce2e8!important;border-radius:14px!important;box-shadow:0 8px 28px rgba(20,35,50,.09);color:#18212b!important}
.wl-operator-login h2{font-size:25px;color:#18212b}
.wl-operator-login input:not([type=checkbox]){min-height:44px;border:1px solid #cbd3dc;border-radius:7px;padding:9px 11px;font-size:16px}
.wl-operator-login button{background:#a5121a;color:#fff;border:0;border-radius:7px;padding:12px 20px;font-weight:700}
@media(max-width:900px){.wl-operator-shell .wl-layout,.wl-operator-shell .wl-layout.wl-lower{grid-template-columns:minmax(0,1fr)!important}.wl-operator-shell .wl-layout.wl-lower>.wl-panel:nth-child(2){grid-column:1}}
@media(max-width:600px){.wl-operator-shell{padding:0 10px;margin:14px auto}.wl-operator-shell>div:first-child{padding:17px;border-radius:10px}.wl-operator-shell .wl-panel{padding:15px}.wl-operator-shell .wl-clock-controls button{flex:1 1 calc(50% - 8px)}}


/* Full-width match operator console: break out of boxed Elementor/theme content. */
.wl-operator-shell.witton-live-wrap {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 22px clamp(18px, 2.2vw, 42px) 40px !important;
  box-sizing: border-box !important;
}
.wl-operator-shell .wl-layout {
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.6fr) !important;
  gap: clamp(16px, 1.5vw, 26px) !important;
}
.wl-operator-shell .wl-layout.wl-lower {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
}
.wl-operator-shell .wl-panel { padding: clamp(18px, 1.6vw, 28px); }
.wl-operator-shell .wl-player-sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wl-operator-shell .wl-player-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
.wl-operator-shell .wl-player-slot {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 6px !important;
  min-width: 0;
}
.wl-operator-shell .wl-player-slot select {
  width: 100% !important;
  min-width: 0 !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  cursor: pointer;
}
.wl-operator-shell #wl-player-sheet,
.wl-operator-shell .wl-team-sheet,
.wl-operator-shell .wl-player-slots { min-width: 0; }
.wl-operator-shell .wl-team-sheet { padding: 16px; }
@media (max-width: 1100px) {
  .wl-operator-shell .wl-layout,
  .wl-operator-shell .wl-layout.wl-lower { grid-template-columns: minmax(0, 1fr) !important; }
  .wl-operator-shell .wl-layout.wl-lower > .wl-panel:nth-child(2) { grid-column: 1 !important; }
}
@media (max-width: 760px) {
  .wl-operator-shell.witton-live-wrap { padding: 12px !important; }
  .wl-operator-shell .wl-player-sheet-grid,
  .wl-operator-shell .wl-player-slots { grid-template-columns: minmax(0, 1fr) !important; }
}
