/* Monday 4 score link only. One DOM and one set of actions in every orientation. */
body.player-link-view .player-score-screen.arena81{--lime:#b7ff00;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:100svh!important;padding:clamp(16px,3vw,44px)!important;gap:22px!important;background:radial-gradient(ellipse at 50% 10%,#172015 0,transparent 55%),#080b09!important;color:#f6f8f5!important;font-family:Arial,Helvetica,sans-serif!important;overflow:visible!important;position:relative!important;display:flex!important;align-items:stretch!important;isolation:isolate}
body.player-link-view .arena81::before{display:none!important}
.arena81 *{box-sizing:border-box}
.arena81 .arena81-header{display:grid;grid-template-columns:180px 1fr 180px;align-items:center;gap:16px;width:100%;max-width:1440px;margin:auto auto 0}
.arena81-header>img{width:160px;max-width:100%;height:48px;object-fit:contain}
.arena81-header>div{text-align:center;display:grid;gap:7px;font-weight:900;font-size:clamp(22px,2.6vw,40px);letter-spacing:-1px}
.arena81-header b{font-size:13px;letter-spacing:5px;color:#b7bdba}.arena81-header small{text-align:right;font-size:14px;letter-spacing:2px;border-right:3px solid var(--lime);padding-right:12px}
.arena81 .arena81-meta{display:flex;align-items:center;justify-content:center;gap:26px;flex-wrap:wrap;font-size:14px;color:#bfc4c1}.arena81-meta strong{color:var(--lime)}
.arena81 .arena81-duel{width:100%;max-width:1440px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}
.arena81 .arena81-card{position:relative;min-width:0;border:1px solid #39413a;border-top:3px solid var(--lime);border-radius:16px;overflow:hidden;display:grid;grid-template-columns:45% minmax(0,1fr);grid-template-rows:auto 1fr auto auto;column-gap:18px;padding:24px 24px 0 0;background:linear-gradient(125deg,#26302255,transparent 65%),#101511}
.arena81 .arena81-photo{grid-column:1;grid-row:1/4;min-width:0;min-height:290px;position:relative;background:linear-gradient(120deg,#25371b,#111812 65%);clip-path:polygon(0 0,85% 0,100% 12%,100% 100%,0 100%);display:grid;place-items:center}
.arena81 .arena81-photo img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important}
.arena81 .arena81-photo>span{font-size:60px;color:var(--lime);font-weight:900}
.arena81 .arena81-name{position:static!important;margin:0!important;padding:0!important;font:900 clamp(18px,2.1vw,30px)/1.1 Arial,sans-serif!important;color:white!important;text-align:left!important;letter-spacing:-.6px!important;overflow-wrap:anywhere;align-self:start;grid-column:2;grid-row:1;min-width:0;text-shadow:none!important}
.arena81 .arena81-score{position:static!important;grid-column:2;grid-row:2;font:900 clamp(80px,9vw,140px)/1 Arial,sans-serif!important;text-align:center!important;margin:12px 0!important;padding:0!important;color:white!important;text-shadow:none!important;min-width:0!important;width:auto!important;height:auto!important;align-self:center}
.arena81 .arena81-score.winner-score{color:var(--lime)!important}
.arena81 .arena81-step{grid-column:2;grid-row:3;display:grid;grid-template-columns:1fr 1.4fr;gap:10px;padding-bottom:22px}
.arena81 button.arena81-button{position:static!important;display:grid!important;place-items:center!important;width:100%!important;min-width:44px!important;min-height:54px!important;margin:0!important;padding:0!important;border:1px solid #515953!important;border-radius:10px!important;background:linear-gradient(#2b312d,#1a201c)!important;color:white!important;font:700 36px/1 Arial,sans-serif!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
.arena81 button.arena81-plus{background:var(--lime)!important;border-color:var(--lime)!important;color:#0b1005!important}
.arena81 button:disabled{opacity:.4;cursor:default}.arena81 button:focus-visible{outline:3px solid white;outline-offset:3px}.arena81 button:active:not(:disabled){filter:brightness(.82)}
.arena81 .arena81-runouts{grid-row:4;grid-column:1/-1;margin-right:-24px;border-top:1px solid #343e35;background:#0b100ce0;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.arena81-runouts>span{font-size:12px;letter-spacing:2px;color:#a6afa8}
.arena81 .runout-controls{position:static!important;display:grid!important;grid-template-columns:48px 44px 48px!important;gap:10px!important;align-items:center!important;margin:0!important;padding:0!important;width:auto!important}
.arena81 .runout-controls strong{color:white!important;font:700 22px/1 Arial,sans-serif!important;text-align:center}
.arena81 .runout-controls .arena81-button{min-height:44px!important;font-size:26px!important}
.arena81 .arena81-footer{width:100%;max-width:1440px;margin:0 auto auto;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:16px 20px;background:#101511;border:1px solid #343d35;border-radius:14px}
.arena81 .arena81-break{display:flex;align-items:center;gap:16px;font-size:14px}.arena81-break>div{display:flex;gap:10px}
.arena81 button.arena81-lag,.arena81 button.arena81-reset{position:static!important;min-height:46px!important;min-width:80px!important;width:auto!important;padding:10px 18px!important;margin:0!important;border-radius:8px!important;background:#1a211b!important;border:1px solid #434d45!important;color:white!important;font:700 14px/1.2 Arial,sans-serif!important;touch-action:manipulation}
.arena81 button.arena81-lag.active{background:var(--lime)!important;color:#0b1005!important;border-color:var(--lime)!important}
.arena81 .arena81-note{font-size:12px;color:#b5bdb6}.arena81 .lag-indicator-inline{display:none!important}
/* Portrait: names, photographs, scores and controls remain in the same two columns. */
@media(max-width:700px) and (orientation:portrait){
body.player-link-view .player-score-screen.arena81{padding:16px 12px max(18px,env(safe-area-inset-bottom))!important;gap:16px!important}
.arena81 .arena81-header{grid-template-columns:1fr auto;gap:14px}.arena81-header>img{width:110px;height:30px}.arena81-header>div{grid-column:1/-1;grid-row:2;font-size:23px;letter-spacing:-.8px}.arena81-header b{font-size:11px;letter-spacing:4px}.arena81-header small{font-size:11px;grid-column:2;grid-row:1}
.arena81 .arena81-meta{gap:8px 14px;font-size:11px}.arena81 .arena81-duel{gap:10px}
.arena81 .arena81-card{grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(140px,24svh,220px) auto auto auto auto;padding:0;gap:0;border-radius:12px}
.arena81 .arena81-photo{grid-column:1;grid-row:1;min-height:0;clip-path:polygon(0 0,85% 0,100% 12%,100% 100%,0 100%)}
.arena81 .arena81-name{grid-column:1;grid-row:2;text-align:center!important;font-size:18px!important;min-height:54px;padding:10px 6px 4px!important}
.arena81 .arena81-score{grid-column:1;grid-row:3;font-size:76px!important;margin:8px 0!important}
.arena81 .arena81-step{grid-column:1;grid-row:4;padding:0 8px 12px;gap:6px}.arena81 button.arena81-button{min-height:50px!important;font-size:32px!important}
.arena81 .arena81-runouts{grid-row:5;grid-column:1;margin:0;padding:10px 4px;display:grid;justify-content:center;gap:7px;text-align:center}.arena81-runouts>span{font-size:10px}.arena81 .runout-controls{grid-template-columns:44px minmax(16px,1fr) 44px!important;gap:4px!important}.arena81 .runout-controls .arena81-button{min-height:44px!important;font-size:24px!important}
.arena81 .arena81-footer{padding:12px;gap:14px}.arena81 .arena81-break{width:100%;display:grid;gap:8px;text-align:center}.arena81-break>div{display:grid;grid-template-columns:1fr 1fr}.arena81 button.arena81-lag{min-width:0!important}.arena81 button.arena81-reset{font-size:12px!important;padding:8px 12px!important}
}
/* Landscape phones: compact header, outer portraits and inner controls. No JS rotation/reload. */
@media(max-width:1100px) and (orientation:landscape) and (max-height:600px){
body.player-link-view .player-score-screen.arena81{padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left))!important;gap:8px!important}
.arena81 .arena81-header{grid-template-columns:100px 1fr 85px;gap:8px}.arena81-header>img{width:100px;height:26px}.arena81-header>div{display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;letter-spacing:-.5px}.arena81-header b{font-size:10px;letter-spacing:0}.arena81-header small{font-size:11px}.arena81 .arena81-meta{font-size:11px;gap:18px}
.arena81 .arena81-duel{gap:10px}.arena81 .arena81-card{grid-template-columns:36% minmax(0,1fr);padding:10px 10px 0 0;column-gap:10px;border-radius:10px}.arena81 .arena81-photo{min-height:150px}.arena81 .arena81-name{font-size:17px!important}.arena81 .arena81-score{font-size:56px!important;margin:4px 0!important}.arena81 .arena81-step{padding-bottom:8px;gap:8px}.arena81 button.arena81-button{min-height:44px!important;font-size:28px!important}
.arena81 .right-player{grid-template-columns:minmax(0,1fr) 36%;padding:10px 0 0 10px}.arena81 .right-player .arena81-photo{grid-column:2}.arena81 .right-player .arena81-name,.arena81 .right-player .arena81-score,.arena81 .right-player .arena81-step{grid-column:1}
.arena81 .arena81-runouts{padding:5px 10px;margin-right:-10px;gap:8px}.arena81 .right-player .arena81-runouts{margin-right:0;margin-left:-10px}.arena81-runouts>span{font-size:10px;letter-spacing:1px}.arena81 .runout-controls{grid-template-columns:44px 28px 44px!important;gap:6px!important}
.arena81 .arena81-footer{padding:4px 10px;gap:8px}.arena81 .arena81-break{gap:8px;font-size:11px}.arena81-break>div{gap:6px}.arena81 button.arena81-lag,.arena81 button.arena81-reset{min-height:44px!important;font-size:11px!important;padding:6px 10px!important;min-width:60px!important}.arena81 .arena81-note{font-size:10px}
}
@media(min-width:1101px){.arena81 .right-player{grid-template-columns:minmax(0,1fr) 45%;padding:24px 0 0 24px}.arena81 .right-player .arena81-photo{grid-column:2}.arena81 .right-player .arena81-name,.arena81 .right-player .arena81-score,.arena81 .right-player .arena81-step{grid-column:1}.arena81 .right-player .arena81-runouts{margin-right:0;margin-left:-24px}}

/* V84: remove legacy name pills and vertical centering; isolate composite photos. */
body.player-link-view .arena81 .arena81-header{margin:0 auto!important}
body.player-link-view .arena81 .arena81-footer{margin:0 auto!important}
body.player-link-view .arena81 .arena81-name{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;white-space:normal!important;text-transform:uppercase!important}
body.player-link-view .arena81 .arena81-photo{overflow:hidden!important}
body.player-link-view .arena81 .arena81-photo img{object-fit:cover!important;max-width:none!important}
body.player-link-view .arena81 .arena81-photo[data-split] img{width:200%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;right:auto!important}
body.player-link-view .arena81 .arena81-photo[data-split=left] img{left:0!important}
body.player-link-view .arena81 .arena81-photo[data-split=right] img{left:-100%!important}
@media(min-width:1101px){
 body.player-link-view .player-score-screen.arena81{padding:28px 32px!important;gap:16px!important;justify-content:flex-start!important}
 body.player-link-view .arena81 .arena81-header,body.player-link-view .arena81 .arena81-duel,body.player-link-view .arena81 .arena81-footer{max-width:1280px!important}
 body.player-link-view .arena81 .arena81-header>div{font-size:32px!important}
 body.player-link-view .arena81 .arena81-card{grid-template-columns:40% minmax(0,1fr);column-gap:22px;padding-top:18px}
 body.player-link-view .arena81 .right-player{grid-template-columns:minmax(0,1fr) 40%}
 body.player-link-view .arena81 .arena81-photo{min-height:280px;max-height:340px;clip-path:none;border-radius:8px 8px 0 0}
 body.player-link-view .arena81 .arena81-name{font-size:25px!important;line-height:1.15!important;padding-top:8px!important}
 body.player-link-view .arena81 .arena81-score{font-size:110px!important;margin:12px 0!important}
 body.player-link-view .arena81 .arena81-runouts{padding-top:10px;padding-bottom:10px}
}

/* V85: editorial player identities and local SVG nationality badges. */
@font-face{font-family:ArenaIdentity;src:url('/noves/fonts/inter-800.woff') format('woff');font-weight:800;font-display:swap}
body.player-link-view .arena81 .arena81-name{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;max-width:100%!important;width:100%!important;margin:0!important;padding:8px 0 0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;overflow-wrap:normal!important}
.arena81 .arena85-words{display:flex;flex-direction:column;gap:4px;max-width:100%}
body.player-link-view .arena81 .arena85-first{font:600 14px/1.25 Arial,sans-serif!important;letter-spacing:1.2px!important;text-transform:uppercase;color:#adb7ae!important}
body.player-link-view .arena81 .arena85-last{font:800 clamp(22px,2.2vw,32px)/1.13 ArenaIdentity,Arial,sans-serif!important;color:#f8faf7!important;letter-spacing:-.6px!important;text-transform:uppercase;overflow-wrap:break-word;word-break:normal}
.arena81 .arena85-country{display:inline-flex;align-items:center;gap:8px;min-height:24px;color:#c4cec5;font:600 10px/1.3 Arial,sans-serif;letter-spacing:1.5px;text-transform:uppercase}
.arena81 .arena85-country img{display:block!important;position:static!important;width:27px!important;height:18px!important;object-fit:cover!important;border-radius:3px;border:1px solid #ffffff26;box-shadow:0 2px 5px #0004;flex:none}
@media(max-width:700px) and (orientation:portrait){
 body.player-link-view .arena81 .arena81-name{align-items:center!important;text-align:center!important;padding:10px 8px 0!important;gap:7px!important;min-height:90px}
 body.player-link-view .arena81 .arena85-first{font-size:11px!important;letter-spacing:.8px!important}
 body.player-link-view .arena81 .arena85-last{font-size:clamp(17px,5vw,24px)!important;letter-spacing:-.4px!important}
 .arena81 .arena85-country{font-size:9px;letter-spacing:1px;gap:6px}.arena81 .arena85-country img{width:24px!important;height:16px!important}
}
@media(max-width:1100px) and (orientation:landscape) and (max-height:600px){
 body.player-link-view .arena81 .arena81-name{gap:5px!important;padding-top:0!important}
 .arena81 .arena85-words{gap:2px}body.player-link-view .arena81 .arena85-first{font-size:10px!important;letter-spacing:.5px!important}body.player-link-view .arena81 .arena85-last{font-size:19px!important}.arena81 .arena85-country{font-size:9px;min-height:16px}.arena81 .arena85-country img{width:21px!important;height:14px!important}
}
/* V86: identical filled portrait badges, independent of source image proportions. */
body.player-link-view .arena81 .arena81-photo{width:100%!important;max-width:220px!important;height:275px!important;min-height:0!important;max-height:none!important;align-self:center!important;justify-self:center!important;clip-path:none!important;border-radius:14px!important;border:1px solid #94b68066!important;background:#111a13!important;box-shadow:0 8px 24px #0004!important;overflow:hidden!important}
body.player-link-view .arena81 .arena81-photo img{height:100%!important;width:100%!important;object-fit:cover!important}
body.player-link-view .arena81 .arena81-photo[data-split] img{width:200%!important;height:100%!important;object-fit:cover!important}
@media(max-width:700px) and (orientation:portrait){
 body.player-link-view .arena81 .arena81-card{grid-template-rows:clamp(140px,24svh,220px) auto auto auto auto!important;padding-top:8px!important}
 body.player-link-view .arena81 .arena81-photo{width:calc(100% - 16px)!important;max-width:none!important;height:100%!important;border-radius:10px!important}
}
@media(max-width:1100px) and (orientation:landscape) and (max-height:600px){
 body.player-link-view .arena81 .arena81-photo{width:calc(100% - 8px)!important;height:160px!important;max-width:none!important;border-radius:9px!important}
}

/* V87: visible control panel and score-derived alternating breaker. */
body.player-link-view .arena81 .arena81-footer{display:flex!important;visibility:visible!important;position:relative!important;opacity:1!important}
body.player-link-view .arena81 .arena81-break{display:flex!important}
.arena81 .arena87-breaker{display:inline-flex;align-items:center;gap:7px;color:#b7ff00;font:700 10px/1.2 Arial,sans-serif;letter-spacing:1px;min-height:21px}
.arena81 .arena87-breaker[hidden]{display:none!important}
.arena81 .arena87-cueball{display:block;width:17px;height:17px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#fff 0,#fafafa 40%,#c1c6c1 78%,#8b918b 100%);box-shadow:0 1px 4px #0008;border:1px solid #ffffff90;flex:none}
@media(max-width:700px) and (orientation:portrait){body.player-link-view .arena81 .arena81-break{display:grid!important}.arena81 .arena87-breaker{font-size:9px}.arena81 .arena87-cueball{width:15px;height:15px}}

/* V87: remove the legacy round banner only around Monday4 Arena score links. */
body.player-link-view #knockoutBoard .round-block:has(.arena81) > .round-header{display:none!important}
@media(max-width:700px) and (orientation:portrait){
 body.player-link-view .arena81 .arena81-header>img{display:block!important;width:140px!important;height:41px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
 body.player-link-view .arena81 .arena81-header{padding:4px 0 12px;border-bottom:1px solid #ffffff18}
 body.player-link-view .arena81 button.arena81-reset{width:100%!important;min-height:46px!important}
}
@media(max-width:1100px) and (orientation:landscape) and (max-height:600px){
 body.player-link-view .arena81 .arena81-header{grid-template-columns:136px minmax(0,1fr) 85px!important;min-height:40px}
 body.player-link-view .arena81 .arena81-header>img{display:block!important;width:130px!important;height:38px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
}
