/* Tablet scoring presentation: uses the shared commands and permissions. */
#sa-root.sa-touch-score{container-type:inline-size}
.sa-encounter-end{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 0}
.sa-encounter-end .btn{min-height:48px;border-color:var(--line-hover,#59949b)}
.sa-encounter-end small{color:var(--muted,#b0c7ca);line-height:1.4}
.sa-end-confirm{scroll-margin-top:80px;min-width:0}
.sa-end-confirm .actions{display:flex;flex-wrap:wrap;gap:10px}
.sa-end-confirm .btn{min-height:48px;white-space:normal}
body.st-tablet-page{margin:0;background:#061e23;color:#f6f4ec;min-height:100vh;min-height:100dvh;--tablet-space:clamp(12px,2vw,28px)}
.st-tablet-page #stream-root{padding:0;min-width:0}
.st-tablet-page #tablet-host #sa-root{scroll-margin-top:90px}
.st-tablet-page .st-tablet-bar{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;padding:14px var(--tablet-space);padding-top:max(14px,env(safe-area-inset-top));border-bottom:1px solid #30525a;background:#061e23;margin:0;border-radius:0;box-sizing:border-box}
.st-tablet-page .st-tablet-bar img{width:180px;max-width:100%;height:auto}
.st-tablet-page .st-tablet-bar>strong{font-size:18px;text-align:center;overflow-wrap:anywhere}
.st-tablet-page #tablet-fullscreen{justify-self:end;min-height:44px;padding:10px 15px;background:#14383f;color:#f6f4ec;border:1px solid #427e85;border-radius:8px;white-space:normal}
.st-tablet-page :is(button,a,summary):focus-visible{outline:3px solid #d4bb83;outline-offset:3px}
.st-tablet-page button{touch-action:manipulation}
.st-tablet-page button:disabled{opacity:.4}
.st-tablet-page .st-tablet-host{max-width:1600px;margin:auto;padding:var(--tablet-space);padding-bottom:calc(var(--tablet-space) + env(safe-area-inset-bottom));box-sizing:border-box}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player{width:100%;max-width:none;margin:0;gap:12px;min-width:0}
.st-tablet-page #tablet-host #sa-root .sa-topbar,.st-tablet-page #tablet-host #sa-root .sa-mode-tools{display:none}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-heading{margin:0 0 16px;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 14px;background:none;text-align:center}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-heading .eyebrow,:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-heading p{font-size:13px;color:#b0c7ca;margin:0;letter-spacing:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-heading h1{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,.52fr) minmax(0,1fr);gap:20px;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;min-width:0;align-items:stretch}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context{grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:center;align-self:center;align-items:center;gap:14px;border-block:1px solid #30525a;padding:24px 4px;color:#b0c7ca;text-align:center;background:none;border-radius:0;min-width:0;overflow-wrap:anywhere}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context strong{font-size:clamp(20px,2.4vw,34px);line-height:1.25;color:#f6f4ec}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:16px;padding:18px;border:1px solid #30525a;border-radius:16px;background:#061e23;min-width:0;align-items:stretch}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2){grid-column:3}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:before{content:'';height:3px;display:block;background:#59949b;border-radius:2px}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:first-of-type:before{background:#00bdc8}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity{display:grid;grid-template-columns:42% minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:'portrait name' 'score score';gap:18px 16px;width:100%;height:auto;min-height:0;text-align:left;align-items:center;justify-items:stretch;box-sizing:border-box}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-player-identity{grid-template-columns:minmax(0,1fr) 42%;grid-template-areas:'name portrait' 'score score';text-align:right}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity .sa-portrait{grid-area:portrait;position:relative;width:100%;height:clamp(130px,14vw,210px);border:1px solid #30525a;border-radius:8px;background:#14383f;overflow:hidden;font-size:40px;min-width:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-portrait>img:not(.sa-country){width:100%;height:100%;object-fit:cover;object-position:center 23%;border-radius:7px}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-portrait .sa-country{right:8px;bottom:8px;width:26px;height:20px;border-radius:2px}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity h2{grid-area:name;font-size:clamp(20px,2.4vw,34px);line-height:1.12;margin:0;overflow-wrap:anywhere;min-width:0;max-width:100%}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number{grid-area:score;font-size:clamp(110px,16vw,220px);font-weight:750;letter-spacing:-.045em;line-height:1;text-align:center;margin:0;padding:0;color:#f6f4ec;font-variant-numeric:tabular-nums;min-width:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number-wide{font-size:clamp(80px,12vw,160px)}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%;margin:0;min-width:0;box-sizing:border-box}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-actions>.sa-controls,:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-actions>.ru-inline{grid-column:1/-1;grid-row:auto;width:100%;min-width:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls{position:relative;display:grid;grid-template-columns:70px minmax(0,1fr) 70px;gap:8px;align-items:center;min-width:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.btn{min-width:0;width:100%;min-height:70px;max-width:none;padding:8px;border-radius:8px;box-sizing:border-box;font-size:27px;line-height:1;border:1px solid #30525a}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.sa-plus{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:center;background:#00bdc8;color:#04282d;border-color:#00bdc8;box-shadow:none}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-plus{background:#f6f4ec;border-color:#f6f4ec}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.sa-minus{grid-column:1;grid-row:1;background:#0b2a30;color:#f6f4ec}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-plus small{position:absolute;left:78px;right:78px;top:0;bottom:0;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;color:#b0c7ca;pointer-events:none}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.btn:active{transform:translateY(1px)}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;align-items:center;padding:34px 10px 10px;border:1px solid #30525a;border-radius:9px;background:#0b2a30;min-width:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-player-add{grid-area:1/3;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:48px;padding:4px;border:0;border-radius:6px;background:#14383f;color:#f6f4ec}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-minus{grid-area:1/1;width:44px;min-width:44px;min-height:48px;padding:4px;border:1px solid #30525a;border-radius:6px;background:#061e23;color:#f6f4ec;font-size:18px}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-player-add .ru-player-plus{font-size:19px}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-player-add .ru-player-label{position:absolute;left:10px;right:6px;top:10px;font-size:12px;font-weight:500;line-height:1.2;text-align:left;color:#b0c7ca;pointer-events:none}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-inline-count{grid-area:1/2;font-size:16px;font-weight:650;line-height:1.2;text-align:center;color:#f6f4ec;min-width:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-help{grid-column:1/-1;font-size:12px;line-height:1.5;color:#b0c7ca;text-align:center;border:0;margin:0;padding:0 10px}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-status{font-size:13px;color:#b0c7ca;margin:0;padding:8px 0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-footer{font-size:12px;padding:8px 0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-snooker .sa-heading{display:none}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sn-console{width:100%;max-width:none;box-sizing:border-box}
@media(min-width:851px) and (max-width:1150px){
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);gap:14px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player{padding:14px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:850px){
 .st-tablet-page .st-tablet-bar{grid-template-columns:minmax(0,1fr) auto auto;gap:12px}
 .st-tablet-page .st-tablet-bar img{width:155px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context{grid-column:1/-1;grid-row:1;flex-direction:row;gap:16px;padding:12px;align-self:stretch;border:1px solid #30525a;border-radius:8px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context strong{font-size:22px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player{grid-column:1;grid-row:2;padding:14px;gap:14px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2){grid-column:2}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity,:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-player-identity{grid-template-columns:minmax(0,1fr);grid-template-areas:'portrait' 'name' 'score';grid-template-rows:auto auto auto;text-align:center;gap:12px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity .sa-portrait{height:clamp(160px,29vw,240px)}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity h2{font-size:clamp(18px,3.3vw,27px);min-height:2.25em;display:flex;justify-content:center;align-items:center}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number{font-size:clamp(95px,17vw,145px)}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls{grid-template-columns:52px minmax(0,1fr) 52px;gap:4px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.btn{min-height:56px;font-size:23px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-plus small{left:56px;right:56px;font-size:12px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:480px){
 .st-tablet-page{--tablet-space:10px}
 .st-tablet-page .st-tablet-bar{padding:12px 10px;gap:8px}
 .st-tablet-page .st-tablet-bar img{width:125px}
 .st-tablet-page .st-tablet-bar>strong{font-size:14px}
 .st-tablet-page #tablet-fullscreen{font-size:11px;padding:8px;max-width:80px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{gap:8px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player{padding:8px;border-radius:10px;gap:12px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity h2{font-size:18px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls{grid-template-columns:44px minmax(0,1fr) 44px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.btn{min-height:48px;font-size:20px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-plus small{left:47px;right:47px;font-size:11px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type{padding:34px 5px 8px;gap:2px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-player-add .ru-player-label{left:6px;font-size:11px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-inline-count{font-size:13px}
}
/* Phone portrait: one player card, match target, then the other player. */
@media(max-width:600px) and (orientation:portrait){
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{grid-template-columns:minmax(0,1fr);gap:12px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player,:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2){grid-column:1;padding:14px;gap:14px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player{grid-row:1}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2){grid-row:3}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context{grid-column:1;grid-row:2;padding:14px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity,:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-player-identity{grid-template-columns:66px minmax(0,1fr) 76px;grid-template-areas:'portrait name score';grid-template-rows:auto;gap:12px;text-align:left}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity .sa-portrait{height:66px;width:66px;border-radius:50%}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-portrait>img:not(.sa-country){border-radius:50%;object-position:center 20%}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-portrait .sa-country{width:19px;height:14px;right:1px;bottom:2px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity h2{font-size:20px;justify-content:flex-start;min-height:0;text-align:left}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number{font-size:90px;text-align:right}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:first-of-type .sa-number{color:#00bdc8}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.sa-plus{grid-column:2;gap:7px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.btn{min-height:56px;font-size:22px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-plus small{position:static;display:inline;font-size:16px;font-weight:650;color:#04282d}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type{padding:34px 7px 8px}
}
/* Short landscape phones retain both players side by side. */
@media(min-width:601px) and (max-height:520px) and (orientation:landscape){
 .st-tablet-page{--tablet-space:10px}
 .st-tablet-page .st-lab-banner{padding:3px;font-size:10px}
 .st-tablet-page .st-tablet-bar{padding:7px 12px;grid-template-columns:1fr auto 1fr}
 .st-tablet-page .st-tablet-bar img{width:135px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-heading{margin-bottom:8px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{grid-template-columns:minmax(0,1fr) 115px minmax(0,1fr);gap:10px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context{grid-column:2;grid-row:1;flex-direction:column;gap:8px;padding:16px 5px;border-inline:0;border-radius:0}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context strong{font-size:22px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player{grid-column:1;grid-row:1;padding:10px;gap:8px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2){grid-column:3}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity{grid-template-columns:50px minmax(0,1fr);grid-template-areas:'portrait name' 'score score';grid-template-rows:50px auto;gap:6px 10px;text-align:left}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-player-identity{grid-template-columns:minmax(0,1fr) 50px;grid-template-areas:'name portrait' 'score score';text-align:right}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity .sa-portrait{height:50px;border-radius:50%}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity h2{font-size:18px;min-height:0}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number{font-size:88px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.sa-plus{grid-column:2;gap:6px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.btn{min-height:44px;font-size:20px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-plus small{position:static;font-size:13px;color:#04282d}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type{padding:28px 3px 5px;gap:1px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-player-add .ru-player-label{left:4px;top:7px;font-size:10px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-inline-count{font-size:12px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-player-add,:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-minus{min-height:44px}
}

.st-tablet-page .st-lab-banner{padding:6px 12px;font-size:11px}
.st-tablet-page .st-tablet-bar{padding-block:10px;min-height:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-portrait{display:flex;align-items:center;justify-content:center}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-portrait>span{font-size:clamp(20px,2.8vw,34px);line-height:1;max-width:100%;overflow:hidden}
@container(max-width:920px){
 #sa-root.sa-touch-score .ru-inline-types{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:601px) and (max-width:1100px){
 body:not(.sa-focus-mode):not(.st-tablet-page) :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 body:not(.sa-focus-mode):not(.st-tablet-page) :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context{grid-column:1/-1;grid-row:1;flex-direction:row;padding:10px;gap:12px}
 body:not(.sa-focus-mode):not(.st-tablet-page) :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player{grid-column:1;grid-row:2}
 body:not(.sa-focus-mode):not(.st-tablet-page) :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2){grid-column:2}
 body:not(.sa-focus-mode):not(.st-tablet-page) :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{grid-template-columns:minmax(0,1fr)}
}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity{margin:0}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-at-table{display:block;align-self:flex-start;width:fit-content;font-size:11px;font-weight:750;line-height:1.2;letter-spacing:0;margin-top:8px;padding:5px 9px;border-radius:4px;background:#00bdc8;color:#04282d}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player.is-at-table{border-color:#00bdc8}
:is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player.is-at-table:before{background:#00bdc8}
@media(min-width:851px){
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{grid-template-columns:minmax(0,1fr) minmax(110px,.32fr) minmax(0,1fr);gap:14px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player{padding:16px;gap:12px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number{font-size:clamp(110px,13vw,180px)}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity .sa-portrait{height:clamp(130px,13vw,180px)}
}
@media(max-width:600px) and (orientation:portrait){
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity,
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-player-identity{grid-template-columns:80px minmax(0,1fr) 76px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity .sa-portrait{width:80px;height:80px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity h2{display:flex;flex-direction:column;align-items:flex-start}
}
@media(min-width:601px) and (max-height:520px) and (orientation:landscape){
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-heading{display:none}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity,
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-player-identity{grid-template-rows:44px 76px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity .sa-portrait{height:44px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number{font-size:76px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-portrait .sa-country{width:14px;height:10px;right:1px;bottom:1px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-actions{gap:8px}
}

@container(max-width:920px){
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{grid-template-columns:minmax(0,1fr)}
}

.sa-mobile-logo{display:none}
@media(min-width:601px) and (max-height:520px) and (orientation:landscape){
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity,
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-player-identity{grid-template-columns:44px minmax(0,1fr) 60px;grid-template-areas:'portrait name score';grid-template-rows:auto;gap:8px;text-align:left}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity h2{font-size:16px;text-align:left}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number{font-size:64px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
/* Portrait phones: keep both players and the score controls in one compact view.
   This follows the available width, rather than scaling down touch targets. */
@media(max-width:600px) and (orientation:portrait){
 body.st-tablet-page{--tablet-space:8px}
 .st-tablet-page .st-tablet-bar{padding:6px 8px;gap:6px;padding-top:max(6px,env(safe-area-inset-top))}
 .st-tablet-page .st-tablet-bar img{width:114px}
 .st-tablet-page #tablet-fullscreen{min-height:44px;max-width:110px;padding:6px;font-size:11px}
 .st-tablet-page #tablet-host #sa-root{scroll-margin-top:76px}
 body.sa-focus-mode main{padding:8px;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom))}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player{gap:6px;padding-bottom:0}
 #sa-root.sa-touch-score .sa-topbar .sa-mobile-logo{display:block;width:116px;height:auto;flex:none}
 #sa-root.sa-touch-score .sa-topbar .sa-access-label{display:none}
 #sa-root.sa-touch-score .sa-topbar{gap:8px;min-height:44px;padding:0}
 #sa-root.sa-touch-score .sa-access-label{font-size:11px}
 #sa-root.sa-touch-score .sa-mode-tools .btn{font-size:12px;padding:6px 10px;min-height:44px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-heading{margin:0;gap:3px;font-size:11px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-heading p{font-size:11px;line-height:1.3}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-scoreboard{gap:6px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player,
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2){padding:10px;gap:8px;border-radius:12px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:before{height:2px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity,
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-player:nth-of-type(2) .sa-player-identity{grid-template-columns:56px minmax(0,1fr) 60px;gap:8px;grid-template-rows:auto}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity .sa-portrait{width:56px;height:56px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-identity h2{font-size:17px;line-height:1.15;min-height:0}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number{font-size:64px;line-height:1}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-number-wide{font-size:40px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-at-table{margin-top:4px;padding:3px 6px;font-size:10px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-player-actions{gap:7px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls{gap:8px;min-height:44px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-controls>.btn{min-height:44px;padding:6px;font-size:20px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-plus small{font-size:14px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-types{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type{grid-template-columns:44px minmax(0,1fr) 44px;gap:0;padding:23px 4px 4px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-player-add .ru-player-label{top:6px;left:6px;font-size:11px;line-height:1.2}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-player-add,
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-minus{width:44px;min-width:44px;min-height:44px;font-size:18px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .ru-inline-type>.ru-inline-count{font-size:12px;white-space:normal;overflow-wrap:anywhere}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context{padding:6px 10px;min-height:36px;gap:8px;box-sizing:border-box}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-context strong{font-size:20px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-score-help{font-size:10px;line-height:1.3;padding:0 4px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-status{font-size:11px;line-height:1.3;padding:3px 0}
 #sa-root.sa-touch-score .sa-encounter-end{padding:2px 0;gap:4px}
 #sa-root.sa-touch-score .sa-encounter-end .btn{min-height:44px;width:100%;padding:6px 10px;font-size:14px}
 #sa-root.sa-touch-score .sa-encounter-end small{font-size:10px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-timers-unavailable{padding:0;margin:0;border:1px solid #30525a;border-radius:8px}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-timers-unavailable summary{min-height:44px;padding:10px;font-size:12px;box-sizing:border-box;cursor:pointer}
 :is(.st-tablet-page #tablet-host #sa-root,#sa-root.sa-touch-score) .sa-timers-unavailable p{margin:0;padding:8px 10px;font-size:12px}
}

.sa-quick-leave{position:sticky;top:0;top:env(safe-area-inset-top,0px);z-index:12;justify-content:flex-end;background:var(--bg);padding:6px 0}.sa-quick-leave .btn{min-height:44px}.sa-exit-table-confirm{position:relative;z-index:13}

/* Keep the quick-game exit in the existing pool toolbar, outside the player grid. */
.sa-topbar.has-quick-leave{position:sticky;top:0;top:env(safe-area-inset-top,0px);z-index:12;min-width:0;max-width:100%;flex-wrap:wrap;background:var(--bg)}
.sa-topbar.has-quick-leave .sa-quick-leave{position:static;flex:none;padding:0;background:transparent;margin:0}
.sa-topbar.has-quick-leave .sa-back{min-width:0;flex:1 1 100px;white-space:normal}
.sa-topbar.has-quick-leave .btn{white-space:normal}

/* These themes dress the existing score controls without changing their layout on narrow screens. */
.st-tablet-page #stream-root{--tablet-accent:#43ddc9;--tablet-ink:#04282d;--tablet-card:#0b2d35;--tablet-rule:#427e85;--tablet-text:#f6f4ec}
.st-tablet-page #stream-root[data-tablet-palette=emeraude]{--tablet-accent:#72e0ad}
.st-tablet-page #stream-root[data-tablet-palette=bleu]{--tablet-accent:#90bdff}
.st-tablet-page #stream-root[data-tablet-palette=ambre]{--tablet-accent:#edc382}
.st-tablet-page #stream-root[data-tablet-palette=violet]{--tablet-accent:#c4b4ff}
.st-tablet-page #stream-root[data-tablet-palette=corail]{--tablet-accent:#ffb1a0}
.st-tablet-page #stream-root[data-tablet-palette=argent]{--tablet-accent:#d5e1ea}
.st-tablet-page #stream-root[data-tablet-palette=turquoise]{--tablet-accent:#43ddc9}
.st-tablet-page #stream-root[data-tablet-theme=duel-pro]{--tablet-radius:18px;--tablet-photo-radius:8px;--tablet-card:#102d37}
.st-tablet-page #stream-root[data-tablet-theme=duel-touch]{--tablet-radius:24px;--tablet-photo-radius:12px;--tablet-card:#11323a;--tablet-button-radius:16px}
.st-tablet-page #stream-root[data-tablet-theme=arbitre-clair]{--tablet-radius:12px;--tablet-photo-radius:50%;--tablet-card:#edf4f4;--tablet-text:#123238;--tablet-rule:#789a9e;--tablet-card-score:#123238}
.st-tablet-page #stream-root[data-tablet-theme=duel-minimal]{--tablet-radius:0;--tablet-photo-radius:0;--tablet-card:transparent;--tablet-rule:#38515b}
.st-tablet-page #stream-root[data-tablet-theme=portrait-signature]{--tablet-radius:14px;--tablet-photo-radius:5px;--tablet-card:#102936;--tablet-photo-position:50% 14%}
.st-tablet-page #stream-root[data-tablet-theme=arena-split]{--tablet-radius:6px;--tablet-photo-radius:2px;--tablet-card:#193440;--tablet-rule:#63818b}
.st-tablet-page #stream-root[data-tablet-theme=focus-visage]{--tablet-radius:24px;--tablet-photo-radius:35%;--tablet-card:#14303a;--tablet-photo-position:50% 12%}
.st-tablet-page #stream-root[data-tablet-theme=tribune-pure]{--tablet-radius:3px;--tablet-photo-radius:3px;--tablet-card:#182e36;--tablet-rule:#7d9b9d}
.st-tablet-page #stream-root[data-tablet-theme=cadre-club]{--tablet-radius:10px;--tablet-photo-radius:4px;--tablet-card:#142b2d;--tablet-rule:#749d94}
.st-tablet-page #stream-root[data-tablet-theme=minimal-xl]{--tablet-radius:0;--tablet-photo-radius:2px;--tablet-card:#091e25;--tablet-card-score:var(--tablet-accent)}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-score-player{
 background:var(--tablet-card);color:var(--tablet-text);border-color:var(--tablet-rule);border-radius:var(--tablet-radius,12px)
}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-player-identity :is(h2,.sa-number){color:var(--tablet-card-score,var(--tablet-text))}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-portrait{border-radius:var(--tablet-photo-radius,8px);border-color:var(--tablet-rule)}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-portrait>img:not(.sa-country){border-radius:inherit;object-position:var(--tablet-photo-position,50% 23%)}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-controls>.btn{border-radius:var(--tablet-button-radius,8px)}
.st-tablet-page #stream-root[data-tablet-theme=arbitre-clair] #tablet-host #sa-root .sa-controls>.sa-minus{background:#fff;color:#123238}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-score-player.is-at-table,
.st-tablet-page [data-tablet-palette]:not([data-tablet-palette=turquoise]) #tablet-host #sa-root .sa-score-player.is-at-table{border-color:var(--tablet-accent)}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-score-player.is-at-table::before,
.st-tablet-page [data-tablet-palette]:not([data-tablet-palette=turquoise]) #tablet-host #sa-root .sa-score-player.is-at-table::before{background:var(--tablet-accent)}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-controls>.sa-plus,
.st-tablet-page [data-tablet-palette]:not([data-tablet-palette=turquoise]) #tablet-host #sa-root .sa-controls>.sa-plus{background:var(--tablet-accent);border-color:var(--tablet-accent);color:var(--tablet-ink)}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-plus small{position:static;color:var(--tablet-ink)}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-plus{gap:3px;flex-direction:column;padding-inline:3px}
.st-tablet-page [data-tablet-theme]:not([data-tablet-theme=actuel]) #tablet-host #sa-root .sa-plus small{font-size:11px}
html.st-tablet-immersive .st-tablet-page #stream-root,
:fullscreen .st-tablet-page #stream-root{min-height:100dvh;max-width:none}
html.st-tablet-immersive .st-tablet-page .st-tablet-host,
:fullscreen .st-tablet-page .st-tablet-host{max-width:none}
.st-tablet-page .st-tablet-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px 14px}
.st-tablet-page .st-tablet-identity,.st-tablet-page .st-tablet-tools{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
.st-tablet-page .st-tablet-identity>strong{overflow-wrap:anywhere;text-align:center}
.st-tablet-page .st-tablet-bar #tablet-club-logo{width:auto;max-width:min(90px,30%);height:42px;object-fit:contain;flex:none}
.st-tablet-page #tablet-club-logo[hidden]{display:none}
.st-tablet-page .st-tablet-tools label{display:flex;flex-direction:column;gap:2px;min-width:0;margin:0;color:#c0d4d7;font-size:11px}
.st-tablet-page .st-tablet-tools select{width:100%;min-height:44px;padding:4px 5px}
.st-tablet-page .st-tablet-tools #tablet-fullscreen{align-self:end}
@media(min-width:850px) and (min-height:560px){
 .st-tablet-page #stream-root[data-tablet-theme=duel-pro] #tablet-host #sa-root .sa-portrait{aspect-ratio:1;height:auto}
 .st-tablet-page #stream-root[data-tablet-theme=duel-touch] #tablet-host #sa-root .sa-portrait,
 .st-tablet-page #stream-root[data-tablet-theme=portrait-signature] #tablet-host #sa-root .sa-portrait{height:clamp(145px,19vh,240px)}
 .st-tablet-page #stream-root[data-tablet-theme=arena-split] #tablet-host #sa-root .sa-portrait,
 .st-tablet-page #stream-root[data-tablet-theme=focus-visage] #tablet-host #sa-root .sa-portrait{height:clamp(138px,21vh,225px)}
 .st-tablet-page #stream-root[data-tablet-theme=tribune-pure] #tablet-host #sa-root .sa-player-actions{padding:8px;border-top:1px solid var(--tablet-rule)}
 .st-tablet-page #stream-root[data-tablet-theme=cadre-club] #tablet-host #sa-root .sa-score-player{box-shadow:inset 0 0 0 4px #0a1d22}
 .st-tablet-page #stream-root[data-tablet-theme=minimal-xl] #tablet-host #sa-root .sa-number{font-size:clamp(120px,15vw,215px)}
}
@media(max-width:700px){
 .st-tablet-page .st-tablet-bar{grid-template-columns:auto minmax(0,1fr)}
 .st-tablet-page .st-tablet-tools{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto}
 .st-tablet-page .st-tablet-bar #tablet-club-logo{height:28px}
}

:is(html.st-tablet-immersive .st-tablet-page,.st-tablet-page.st-tablet-screen-active) :is(#rnd-app-open-offer,.st-tablet-bar a,.sa-topbar .sa-back,.sa-referee>.actions:first-child,.sa-snooker>.actions:first-child a){display:none}

.st-tablet-page #tablet-exit-fullscreen,.st-tablet-page [data-tablet-clock-toggle] span+span{display:none}
.st-tablet-page.st-tablet-screen-active .st-tablet-bar,.st-tablet-page [data-tablet-clock-hidden=true] [data-tablet-clock-toggle] span:first-child,.st-tablet-page [data-tablet-clock-hidden=true] .pc-clocks [data-pc-clock]{display:none}
.st-tablet-page [data-tablet-clock-hidden=true] [data-tablet-clock-toggle] span+span{display:inline}
.st-tablet-page.st-tablet-screen-active #stream-root{max-width:none;padding-bottom:calc(58px + env(safe-area-inset-bottom,0px))}
.st-tablet-page.st-tablet-screen-active #tablet-exit-fullscreen{display:block;position:fixed;z-index:20;min-height:44px;right:calc(8px + env(safe-area-inset-right,0px));bottom:calc(8px + env(safe-area-inset-bottom,0px))}
.st-tablet-page [data-tablet-clock-toggle]{min-height:44px;border-color:var(--tablet-accent);margin-bottom:8px}
.st-tablet-club-name,.sa-tablet-progress,.sa-tablet-frame,.st-tablet-page #tablet-host #sa-root .sa-tablet-switch{display:none}
.st-tablet-page #stream-root[data-tablet-theme=royal-gold]{
 --tablet-accent:#ffdc73;
 --tablet-ink:#231705;
 --gold-surface:#110f0d;
 --gold-trim:#af8034;
 background:linear-gradient(151deg,transparent 29%,#69441955 32%,#c6913344 33%,transparent 35%,transparent 73%,#6d4c2266 77%,transparent 79%),radial-gradient(ellipse at 20% 35%,#392610,#0b0a09 58%);
 min-height:100vh;
}
.st-tablet-page #stream-root[data-tablet-theme=royal-gold] .st-tablet-bar{background:#12100e;border-color:#52371d}
#stream-root[data-tablet-theme=royal-gold] .st-tablet-identity{flex-wrap:wrap;color:#ffe3a0}
#stream-root[data-tablet-theme=royal-gold] .st-tablet-identity strong{font-size:clamp(19px,2.5vw,34px)}
#stream-root[data-tablet-theme=royal-gold] .st-tablet-club-name{display:block;flex-basis:100%;text-align:center;letter-spacing:.13em;font-size:11px;font-weight:750;text-transform:uppercase}
#stream-root[data-tablet-theme=royal-gold] #sa-root .sa-heading{justify-content:flex-end;margin:0}
#stream-root[data-tablet-theme=royal-gold] #sa-root .sa-pool .sa-heading>div{display:none}
.st-tablet-page #stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-tablet-switch{display:inline-flex;align-items:center;min-height:44px;border-color:var(--gold-trim);background:#22190f;color:#ffe7a4}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-score-player{
 --player-metal:#e7dfd3;
 background:linear-gradient(145deg,#272421,var(--gold-surface) 43%,#141211);
 border:2px solid #8b8276;border-radius:clamp(14px,2.1vw,30px);
 padding:clamp(12px,2vw,30px);gap:clamp(12px,2.2vh,24px);
}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-score-player.is-at-table{
 --player-metal:var(--tablet-accent);
 background:radial-gradient(ellipse at top left,#423018,var(--gold-surface) 50%);
 border-color:var(--tablet-accent);box-shadow:0 0 18px #ffb93570,inset 0 0 17px #ffb93535;
}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-score-player::before{display:none}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-player-identity{
 --badge-size:clamp(42px,8vw,110px);
 grid-template-columns:var(--badge-size) minmax(0,1fr);
 grid-template-rows:auto auto auto auto;
 grid-template-areas:'portrait name' 'progress progress' 'score score' 'frame frame';
 gap:clamp(6px,1.6vh,16px) clamp(8px,1.5vw,20px);text-align:left;
}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-portrait{
 width:var(--badge-size);height:var(--badge-size);border-radius:24%;border-color:var(--player-metal);
 background:linear-gradient(140deg,#786e5f,#2a2724);color:white;
}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .is-at-table .sa-portrait{background:linear-gradient(140deg,#fff0a0,#ba7a20);color:#211403}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-player-identity h2{display:block;min-height:0;text-align:left;color:#fff9ed}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-at-table{display:table;margin:6px 0 0;background:var(--tablet-accent);color:#211403;border:0}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-tablet-progress{grid-area:progress;display:flex;gap:clamp(3px,.7vw,10px)}
.sa-tablet-progress i{flex:1;min-width:0;height:clamp(4px,.85vh,10px);border-radius:10px;background:#3a3228}
.sa-tablet-progress .is-won{background:var(--player-metal);box-shadow:0 0 8px var(--player-metal)}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-number{color:var(--player-metal);font-size:clamp(65px,min(15vw,21vh),200px);text-shadow:0 0 .22em #b9853c66}
#stream-root[data-tablet-theme=royal-gold] .sa-tablet-frame{grid-area:frame;display:block;color:#e6b75c;text-align:center;letter-spacing:.19em;text-transform:uppercase;font-weight:800}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-score-context{border-color:var(--gold-trim);color:#efd38f}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-score-context strong{color:var(--tablet-accent)}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-controls{grid-template-columns:minmax(48px,1fr) minmax(0,3fr)}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-controls>.btn{min-height:clamp(48px,9vh,96px);border-radius:clamp(9px,1.3vw,20px)}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-controls>.sa-plus{grid-column:2;background:linear-gradient(135deg,var(--tablet-accent),#c68d30);color:#211403}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-controls>.sa-plus small{display:none}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root :is(.sa-minus,.ru-inline-type,.ru-minus,.ru-player-add){background:#221b13;border-color:var(--gold-trim);color:#ffe9ae}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root :is(.ru-player-label,.ru-inline-count){color:#ffe9ae}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .ru-player-add{border:1px solid var(--gold-trim)}
@media(min-width:1100px){
 #stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-scoreboard{grid-template-columns:minmax(0,1fr) minmax(126px,.31fr) minmax(0,1fr)}
 #stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .ru-inline-types{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.st-tablet-page #stream-root[data-tablet-theme=royal-gold] :is(.st-tablet-tools select,#tablet-fullscreen,#tablet-exit-fullscreen,#tablet-host .btn:not(.sa-plus),#tablet-host .sa-timing,#tablet-host .player-clock-panel){
 background-color:#231b13;border-color:var(--gold-trim);color:#fff1ce;
}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-plus span{font-size:clamp(24px,4.2vw,54px);font-weight:850}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-race-number{display:block;font-size:clamp(40px,7vw,105px);line-height:1.03}
@media(max-width:850px){
 #stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-race-number{display:inline;font-size:1.3em}
}
#stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-score-context .sa-race-number{color:inherit}
@media(min-width:851px) and (max-height:800px){
 #stream-root[data-tablet-theme=royal-gold] #tablet-host{padding-top:12px}
 #stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-player-identity{--badge-size:clamp(52px,11vh,92px);gap:8px 14px}
 #stream-root[data-tablet-theme=royal-gold] #tablet-host #sa-root .sa-score-player{padding:16px;gap:14px}
}

.sa-challenge-extension{display:block;margin-block:.75rem;padding:.75rem}
.sa-challenge-extension summary{cursor:pointer;min-height:44px;padding-block:.5rem;font-weight:700}
.sa-extension-body{display:grid;gap:.5rem}
.sa-challenge-extension .btn{justify-self:start;min-height:44px}
.st-tablet-page #stream-root #tablet-host .sa-challenge-extension{
 background:var(--tablet-card);
 border:1px solid var(--tablet-rule);
 border-radius:var(--tablet-radius,12px);
 color:var(--tablet-text);
}
.st-tablet-page #stream-root #tablet-host .sa-challenge-extension select,
.st-tablet-page #stream-root #tablet-host .sa-challenge-extension .btn{
 background:var(--tablet-card);
 border:1px solid var(--tablet-rule);
 border-radius:var(--tablet-button-radius,8px);
 color:inherit;
}
.st-tablet-page #stream-root #tablet-host .sa-challenge-extension select{
 display:block;
 width:100%;
 max-width:22rem;
 min-height:44px;
 margin-top:.25rem;
}
.st-tablet-page #stream-root #tablet-host .sa-challenge-extension :focus-visible{
 outline:2px solid var(--tablet-accent);
 outline-offset:2px;
}
.st-tablet-page #stream-root #tablet-host .sa-challenge-extension :is([data-sa=extend-propose],[data-sa=extend-accept]){
 background:var(--tablet-accent);
 border-color:var(--tablet-accent);
 color:var(--tablet-ink);
}
.st-tablet-page #stream-root[data-tablet-theme=royal-gold] .sa-challenge-extension{
 --tablet-card:var(--gold-surface);
 --tablet-rule:var(--gold-trim);
 --tablet-text:#fff1ce;
 --tablet-ink:#211403;
}
.st-tablet-screen-active .sa-challenge-extension{display:none}
