/* Shrimpie Catcher 3.0 — fully scoped to the WordPress shortcode. */
.tso-sc-wrap{--sc-navy:#071d33;--sc-blue:#074d91;--sc-gold:#ffd76a;--sc-gold-dark:#c69438;--sc-ink:#031324;max-width:1220px;margin:24px auto;padding:0 12px;color:#fff;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;isolation:isolate;box-sizing:border-box}
.tso-sc-wrap *,.tso-sc-wrap *:before,.tso-sc-wrap *:after{box-sizing:border-box}
.tso-sc-wrap button,.tso-sc-wrap a{font:inherit}
.tso-sc-wrap button{cursor:pointer}
.tso-sc-wrap button:focus-visible,.tso-sc-wrap a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.tso-sc-wrap [hidden]{display:none!important}
.tso-sc-shell{position:relative;overflow:hidden;border:2px solid #b58840;border-radius:24px;background:#04182e;box-shadow:0 18px 55px #00102680}
.tso-sc-clubhouse-nav{position:relative;z-index:10;display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:0 auto 10px}
.tso-sc-clubhouse-nav a{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border:1px solid #f2c46361;border-radius:999px;background:#061a2edb;color:#d6e8fb!important;text-decoration:none;font-size:12px;font-weight:750}
.tso-sc-clubhouse-nav a:hover{background:#ffd76a;color:#071d33!important}

/* Title / attract screen */
.tso-sc-title-screen{min-height:670px;display:flex;flex-direction:column;justify-content:space-between;padding:18px 24px 24px;background:radial-gradient(ellipse at 50% 40%,#09569e 0,#073867 36%,#04182e 75%,#020b19 100%);text-align:center}
.tso-sc-title-sky{position:relative;flex:1;min-height:390px;overflow:hidden;background:radial-gradient(circle at 50% 102%,#1688bc88 0,transparent 51%)}
.tso-sc-title-sky:before{content:"";position:absolute;inset:0;background:repeating-conic-gradient(from -7deg at 50% 105%,#56bbfa0c 0deg 7deg,transparent 7deg 15deg);pointer-events:none}
.tso-sc-title-sky:after{content:"";position:absolute;left:0;right:0;bottom:0;height:68px;background:linear-gradient(0deg,#021220,#02122080 25%,transparent),repeating-linear-gradient(90deg,transparent 0 26px,#ffca5938 27px 30px,transparent 31px 46px);border-top:2px solid #e8ac4b44;pointer-events:none}
.tso-sc-brand{position:relative;z-index:3;padding-top:8px;display:flex;flex-direction:column;align-items:center;line-height:.94;text-shadow:0 4px 6px #000b}
.tso-sc-brand-the{font-size:clamp(11px,2vw,15px);font-weight:800;letter-spacing:.45em}
.tso-sc-brand-main{font-size:clamp(25px,5vw,47px);font-weight:1000;font-style:italic;letter-spacing:-.025em}
.tso-sc-brand-online{font-size:clamp(20px,3vw,34px);font-weight:1000;letter-spacing:.12em;color:#36b6ff;font-style:italic}
.tso-sc-presents{position:relative;z-index:3;margin:13px auto 4px;color:var(--sc-gold);font-size:clamp(11px,1.8vw,16px);font-weight:900;letter-spacing:.26em}
.tso-sc-title-screen h2{position:relative;z-index:3;margin:3px auto 0;color:#ffd34f;font-size:clamp(42px,8.4vw,102px);font-weight:1000;line-height:.99;letter-spacing:-.048em;text-transform:uppercase;font-style:italic;text-shadow:0 3px 0 #b0690c,0 7px 0 #513309,0 15px 25px #0009}
.tso-sc-title-mascot{position:absolute;z-index:4;left:50%;bottom:-25px;transform:translateX(-50%);width:min(33%,340px);max-height:50%;object-fit:contain;filter:drop-shadow(0 12px 8px #0008);animation:tsoScMascotIntro 2.7s ease-in-out infinite}
.tso-sc-title-object{position:absolute;z-index:2;object-fit:contain;width:72px;height:72px;filter:drop-shadow(0 8px 9px #0009);animation:tsoScFloat 3.8s ease-in-out infinite}
.tso-sc-title-ball.one{left:9%;top:36%}.tso-sc-title-ball.two{right:7%;top:15%;animation-delay:-1s}
.tso-sc-title-scarf.one{left:4%;bottom:17%;width:102px;height:90px}.tso-sc-title-scarf.two{right:5%;bottom:22%;width:102px;height:90px;animation-delay:-2s}
.tso-sc-title-red.one{right:21%;top:40%;width:62px}.tso-sc-title-red.two{left:21%;top:15%;width:62px;animation-delay:-.8s}
.tso-sc-title-gull.one{left:4%;top:5%;width:106px}.tso-sc-title-gull.two{right:3%;top:52%;width:106px;animation-delay:-1.5s}
.tso-sc-title-ticket{left:23%;bottom:23%;width:86px;transform:rotate(-15deg)}
.tso-sc-title-whistle{right:23%;bottom:36%;width:70px;animation-delay:-2.6s}
.tso-sc-start-button{position:relative;z-index:6;display:block;width:min(100%,370px);min-height:62px;margin:-2px auto 18px;padding:12px 20px;border:2px solid #ffe8a8;border-radius:16px;background:linear-gradient(180deg,#ffe48f,#ffbc2e);color:#071d33;font-size:clamp(19px,3vw,26px)!important;font-weight:1000!important;box-shadow:0 7px 0 #81551e,0 14px 22px #0008;transition:transform .15s,filter .15s}
.tso-sc-start-button:hover{transform:translateY(-2px);filter:brightness(1.07)}.tso-sc-start-button:active{transform:translateY(4px);box-shadow:0 3px 0 #81551e}
.tso-sc-title-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(100%,940px);margin:0 auto}
.tso-sc-title-rules>div{padding:12px;border:1px solid #c69741b8;border-radius:14px;background:#03162bc9;min-width:0}
.tso-sc-title-rules strong,.tso-sc-title-rules span{display:block}.tso-sc-title-rules strong{font-size:13px;color:#ffd76a;letter-spacing:.07em}.tso-sc-title-rules span{margin-top:3px;font-size:12px;color:#e5eff7}
.tso-sc-tagline{margin-top:15px;color:#ffd76a;font-size:12px;font-weight:900;letter-spacing:.2em}

/* Gameplay frame */
.tso-sc-game-screen{display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#021122;min-width:0}
.tso-sc-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) repeat(3,52px);gap:6px;padding:9px;background:#06182c}
.tso-sc-stats>div,.tso-sc-stats>button{min-width:0;min-height:55px;border:1px solid #c59a4f87;border-radius:12px;background:linear-gradient(145deg,#0d3155,#071c35);color:#fff;text-align:center}
.tso-sc-stats>div{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:4px}
.tso-sc-stats span{font-size:10px;line-height:1.1;font-weight:850;letter-spacing:.075em;text-transform:uppercase;color:#b6d0e6}
.tso-sc-stats strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;color:#ffda72;font-size:clamp(15px,2vw,23px);font-weight:950;line-height:1}
.tso-sc-stats>button{font-size:23px!important;font-weight:900!important}.tso-sc-stats>button:hover{background:#154a7e}.tso-sc-stats>button:active{background:#e8b34b;color:#041c36}
.tso-sc-stage-wrap{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;min-width:0;background:#053052;touch-action:none;user-select:none}
.tso-sc-canvas{display:block;width:100%;height:100%;touch-action:none}
.tso-sc-game-footer{display:grid;grid-template-columns:70px 1fr 70px;gap:10px;padding:9px 12px;align-items:center;background:#06182c}
.tso-sc-game-footer button{height:54px;border:1px solid #d8b15c;border-radius:13px;background:#123c64;color:#ffd76a;font-size:29px!important;font-weight:900!important;touch-action:none}
.tso-sc-game-footer button.is-held,.tso-sc-game-footer button:active{background:#ffd76a;color:#071d33}
.tso-sc-game-footer div{font-size:12px;line-height:1.4;text-align:center;color:#c8ddef}
.tso-sc-game-footer strong,.tso-sc-game-footer span{display:block}.tso-sc-game-footer strong{color:#ffd76a;font-weight:900}
.tso-sc-mobile-controls{display:none}
.tso-sc-mobile-exit{display:none}

/* Overlays, dialogue and scores */
.tso-sc-overlay,.tso-sc-fullscreen-prompt,.tso-sc-rotate-prompt{position:absolute;z-index:40;inset:0;display:grid;place-items:center;padding:14px;background:#031327de;backdrop-filter:blur(7px)}
.tso-sc-fullscreen-prompt{z-index:60}.tso-sc-rotate-prompt{z-index:70}
.tso-sc-prompt-card,.tso-sc-card{width:min(100%,450px);padding:25px 22px;border:1px solid #dfae54;border-radius:20px;background:radial-gradient(circle at top,#114875,#071d36 75%);box-shadow:0 15px 45px #0009;text-align:center}
.tso-sc-prompt-icon,.tso-sc-phone-turn{font-size:45px;line-height:1}
.tso-sc-prompt-card h3,.tso-sc-card h3{margin:9px 0;color:#ffdb7c;font-size:clamp(24px,4vw,34px);font-weight:950;text-transform:uppercase}
.tso-sc-prompt-card p,.tso-sc-card p{margin:12px auto;color:#e4f1fa;font-size:15px;line-height:1.55}
.tso-sc-prompt-card small{color:#abc5d9}
.tso-sc-prompt-card button,.tso-sc-card button{width:100%;min-height:46px;margin-top:10px;padding:10px 14px;border:0;border-radius:11px;background:#ffd76a;color:#071d33;font-weight:900!important}
.tso-sc-prompt-card button.tso-sc-secondary,.tso-sc-card button.tso-sc-secondary{background:#204b71;color:#fff}
.tso-sc-new-record{color:#ffd76a!important;font-weight:900}
.tso-sc-countdown{position:absolute;z-index:20;inset:0;display:grid;place-items:center;color:#ffde7b;font-size:clamp(68px,14vw,168px);font-weight:1000;font-style:italic;text-shadow:0 7px 0 #9d6419,0 16px 28px #000c;pointer-events:none;background:#02162944}
.tso-sc-count-pop{animation:tsoScPop .65s ease-out both}
.tso-sc-high-score-celebration{position:absolute;z-index:45;inset:0;display:grid;place-items:center;background:radial-gradient(circle at center,#0b5499ed,#021022f5);pointer-events:none;overflow:hidden}
.tso-sc-high-score-inner{position:relative;z-index:2;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.tso-sc-high-score-title{color:#ffe084;font-size:clamp(26px,6vw,70px);line-height:1;font-weight:1000;font-style:italic;text-align:center;text-shadow:0 6px #87520e,0 12px 20px #0009;animation:tsoScRecord .55s both}
.tso-sc-high-score-shrimpie{display:block;max-height:48%;max-width:38%;object-fit:contain;animation:tsoScMascotIntro .5s ease-in-out infinite}
.tso-sc-high-score-number{padding:6px 24px;border:2px solid #ffdb83;border-radius:999px;color:#ffdb83;font-size:clamp(22px,4vw,48px);font-weight:1000;background:#041b35}
.tso-sc-fireworks{position:absolute;inset:0;pointer-events:none}.tso-sc-firework{position:absolute;width:9px;height:9px;border-radius:50%;background:#ffd76a;box-shadow:0 -45px #ffd76a,30px -30px #fff,45px 0 #ffd76a,30px 30px #fff,0 45px #ffd76a,-30px 30px #fff,-45px 0 #ffd76a,-30px -30px #fff;animation:tsoScFirework 1.4s ease-out infinite}
.tso-sc-firework.fw-1{left:20%;top:22%}.tso-sc-firework.fw-2{left:78%;top:25%;animation-delay:.25s}.tso-sc-firework.fw-3{left:12%;top:67%;animation-delay:.5s}.tso-sc-firework.fw-4{left:89%;top:70%;animation-delay:.7s}.tso-sc-firework.fw-5{left:39%;top:15%;animation-delay:.9s}.tso-sc-firework.fw-6{left:65%;top:14%;animation-delay:.35s}

/* Preserve existing access, user settings and Clubhouse scoring. */
.tso-sc-access-shell{min-height:460px;padding:24px;background:radial-gradient(circle at center,#0c4776,#031324 76%)}
.tso-sc-access-card{width:min(100%,690px);margin:55px auto 35px;padding:32px 24px;border:1px solid #bb9952;border-radius:20px;background:#061c36;text-align:center}
.tso-sc-access-lock{font-size:44px}.tso-sc-access-card h2{color:#ffd76a;font-size:clamp(26px,4vw,42px);margin:8px 0}.tso-sc-access-card p{color:#e7f2f9;line-height:1.6}.tso-sc-access-card small{display:block;margin-top:16px;color:#b1c6da}
.tso-sc-access-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.tso-sc-access-actions a{display:inline-flex;padding:12px 20px;border-radius:12px;text-decoration:none!important;font-size:13px;font-weight:900}
.tso-sc-access-primary{background:#ffd76a;color:#06172f!important}.tso-sc-access-secondary{border:1px solid #ffd76a;color:#fff!important}

/* Fullscreen is optional; it is never required for mobile play. */
.tso-sc-wrap:fullscreen,.tso-sc-wrap.tso-sc-is-fullscreen{width:100vw;max-width:none;height:100dvh;margin:0;padding:0;background:#020f1f}
.tso-sc-wrap.tso-sc-is-fullscreen{position:fixed!important;z-index:2147483000!important;inset:0!important}
html.tso-sc-page-lock,body.tso-sc-page-lock{overflow:hidden!important;overscroll-behavior:none!important}
.tso-sc-wrap:fullscreen .tso-sc-shell,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-shell{width:100%;height:100%;border:0;border-radius:0;display:flex;flex-direction:column}
.tso-sc-wrap:fullscreen .tso-sc-game-screen,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-game-screen{height:100%;min-height:0;flex:1}
.tso-sc-wrap:fullscreen .tso-sc-stage-wrap,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-stage-wrap{height:100%;min-height:0;aspect-ratio:auto}

@keyframes tsoScFloat{0%,100%{translate:0 0;rotate:-5deg}50%{translate:0 -12px;rotate:5deg}}
@keyframes tsoScMascotIntro{0%,100%{translate:0 0;rotate:-3deg}50%{translate:0 -9px;rotate:3deg}}
@keyframes tsoScPop{0%{scale:.4;opacity:.25}30%{scale:1.13;opacity:1}100%{scale:1;opacity:1}}
@keyframes tsoScRecord{0%{scale:.3;opacity:0}75%{scale:1.1;opacity:1}100%{scale:1}}
@keyframes tsoScFirework{0%{opacity:0;scale:.2}25%{opacity:1}100%{opacity:0;scale:1.9}}

@media(max-width:820px){
  .tso-sc-wrap{padding:0 6px;margin:10px auto}.tso-sc-shell{border-radius:16px}
  .tso-sc-title-screen{min-height:620px;padding:13px 12px 18px}.tso-sc-title-sky{min-height:380px}
  .tso-sc-title-mascot{width:min(49%,290px);max-height:48%}
  .tso-sc-title-screen h2{font-size:clamp(37px,8vw,69px)}
  .tso-sc-title-object{width:51px;height:55px}.tso-sc-title-scarf.one,.tso-sc-title-scarf.two{width:69px;height:68px}.tso-sc-title-gull.one,.tso-sc-title-gull.two{width:75px}.tso-sc-title-ticket{width:70px}.tso-sc-title-whistle{width:58px}
  .tso-sc-stats{grid-template-columns:repeat(6,minmax(0,1fr)) repeat(3,40px);gap:4px;padding:5px}
  .tso-sc-stats>div,.tso-sc-stats>button{min-height:43px;border-radius:8px}
  .tso-sc-stats span{font-size:8px;letter-spacing:0}.tso-sc-stats strong{font-size:13px}.tso-sc-stats>button{font-size:18px!important}
}
@media(max-width:600px){
  .tso-sc-title-screen{min-height:590px;padding:10px 8px 16px}.tso-sc-title-sky{min-height:340px}
  .tso-sc-title-screen h2{font-size:clamp(35px,10vw,58px)}
  .tso-sc-title-mascot{width:min(61%,245px);max-height:44%}
  .tso-sc-title-rules{gap:5px}.tso-sc-title-rules>div{padding:9px 5px}.tso-sc-title-rules strong{font-size:10px}.tso-sc-title-rules span{font-size:10px;line-height:1.25}
  .tso-sc-tagline{font-size:10px}.tso-sc-start-button{width:min(88%,310px);min-height:52px;font-size:19px!important}
  .tso-sc-title-gull.one{left:0;top:0}.tso-sc-title-gull.two{right:-2%;top:55%}
  .tso-sc-title-ticket{left:5%;bottom:27%}.tso-sc-title-whistle{right:7%;bottom:32%}
  .tso-sc-game-screen{grid-template-rows:auto minmax(0,1fr)}
  .tso-sc-stats{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding:5px}
  .tso-sc-stats>div:nth-child(-n+4){grid-column:span 2}.tso-sc-stats>div:nth-child(5),.tso-sc-stats>div:nth-child(6){display:none}
  .tso-sc-stats>button{grid-column:span 2;min-height:32px;font-size:17px!important}
  .tso-sc-stats>button:nth-last-child(2){grid-column:span 3}.tso-sc-stats>button:last-child{grid-column:span 3}
  .tso-sc-stage-wrap{aspect-ratio:3/4}
  .tso-sc-game-footer{display:none}
  .tso-sc-prompt-card,.tso-sc-card{padding:15px 14px}.tso-sc-prompt-card h3,.tso-sc-card h3{font-size:24px}
  .tso-sc-mobile-controls{position:absolute;z-index:14;inset:auto 0 7px;display:flex;justify-content:space-between;pointer-events:none;padding:0 8px}
  .tso-sc-mobile-controls button{pointer-events:auto;width:64px;height:78px;border:2px solid #ffd76ab9;border-radius:15px;background:#061b36b9;color:#ffe18c;font-size:35px!important;font-weight:900!important;touch-action:none;user-select:none}
  .tso-sc-mobile-controls button.is-held,.tso-sc-mobile-controls button:active{background:#ffdb73;color:#061e38}
  .tso-sc-high-score-shrimpie{max-width:45%}
}
@media(min-width:601px) and (max-width:1024px) and (orientation:portrait){
  .tso-sc-stage-wrap{aspect-ratio:3/4}
  .tso-sc-game-footer{display:none}
  .tso-sc-mobile-controls{position:absolute;z-index:14;inset:auto 0 14px;display:flex;justify-content:space-between;pointer-events:none;padding:0 16px}
  .tso-sc-mobile-controls button{pointer-events:auto;width:76px;height:92px;border:2px solid #ffd76ab9;border-radius:18px;background:#061b36b9;color:#ffe18c;font-size:38px!important;font-weight:900!important;touch-action:none;user-select:none}
  .tso-sc-mobile-controls button.is-held{background:#ffd76a;color:#061e38}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:600px){
  .tso-sc-wrap{margin:0 auto;padding:0 4px}
  .tso-sc-game-footer{display:none}
  .tso-sc-stats{gap:3px;padding:3px;grid-template-columns:repeat(6,minmax(0,1fr)) repeat(3,34px)}
  .tso-sc-stats>div,.tso-sc-stats>button{min-height:36px}
  .tso-sc-stats span{font-size:8px}.tso-sc-stats strong{font-size:13px}
  .tso-sc-stage-wrap{height:calc(100dvh - 48px);min-height:210px;aspect-ratio:auto}
  .tso-sc-mobile-controls{position:absolute;z-index:14;inset:auto 0 7px;display:flex;justify-content:space-between;pointer-events:none;padding:0 7px}
  .tso-sc-mobile-controls button{pointer-events:auto;width:60px;height:74px;border:2px solid #ffd76abb;border-radius:12px;background:#061b36b9;color:#ffe18c;font-size:30px!important;touch-action:none}
  .tso-sc-mobile-controls button.is-held{background:#ffd76a;color:#061e38}
}
@media(max-width:600px) and (orientation:landscape){
  .tso-sc-stage-wrap{aspect-ratio:16/9}
}
@media(orientation:landscape) and (max-height:550px){
  .tso-sc-wrap:fullscreen .tso-sc-stats,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-stats{padding:2px;gap:3px}
  .tso-sc-wrap:fullscreen .tso-sc-stats>div,.tso-sc-wrap:fullscreen .tso-sc-stats>button,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-stats>div,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-stats>button{min-height:34px}
  .tso-sc-wrap:fullscreen .tso-sc-game-footer,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-game-footer{display:none}
}
@media(prefers-reduced-motion:reduce){.tso-sc-title-mascot,.tso-sc-title-object,.tso-sc-high-score-shrimpie,.tso-sc-high-score-title,.tso-sc-firework{animation:none!important}}

/* 3.1: fit the available viewport, including short desktop and landscape screens. */
.tso-sc-game-screen{height:min(850px,calc(100svh - 110px));min-height:280px}
.tso-sc-stage-wrap{height:100%;min-height:0;aspect-ratio:auto}
.tso-sc-overlay{overflow:auto;overscroll-behavior:contain}
.tso-sc-card{max-height:100%;overflow:auto}
.tso-sc-mobile-controls{inset:35% 0 auto}
.tso-sc-title-screen{min-height:min(670px,calc(100svh - 100px))}
.tso-sc-title-sky{min-height:290px}
@media(max-width:600px){
 .tso-sc-game-screen{height:calc(100svh - 100px);min-height:340px}
 .tso-sc-title-screen{min-height:0}.tso-sc-title-sky{min-height:320px}
 .tso-sc-stats strong{font-size:clamp(11px,3.4vw,16px)}
}
@media(orientation:landscape) and (max-height:550px){
 .tso-sc-title-screen{min-height:0;padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}
 .tso-sc-title-sky{grid-row:span 3;min-height:245px}
 .tso-sc-title-screen h2{font-size:clamp(28px,5vw,50px)}
 .tso-sc-title-rules{grid-template-columns:1fr;gap:3px}.tso-sc-title-rules>div{padding:4px}
 .tso-sc-title-rules strong,.tso-sc-title-rules span{font-size:10px;display:inline}
 .tso-sc-start-button{margin:0 auto;min-height:44px;padding:7px}
 .tso-sc-tagline{margin:0;font-size:9px}
 .tso-sc-game-screen{height:calc(100svh - 65px);min-height:200px}
 .tso-sc-stage-wrap{min-height:0}
 .tso-sc-game-footer{display:none}
 .tso-sc-stats{grid-template-columns:repeat(6,minmax(0,1fr)) repeat(3,40px)}
 .tso-sc-stats>div:nth-child(n),.tso-sc-stats>button:nth-child(n){grid-column:auto;min-height:36px}
 .tso-sc-stats>div:nth-child(5),.tso-sc-stats>div:nth-child(6){display:flex}
 .tso-sc-card{padding:10px}.tso-sc-card h3{margin:0;font-size:22px}.tso-sc-card p{margin:5px}.tso-sc-card button{margin-top:5px;min-height:40px}
}
.tso-sc-wrap:fullscreen .tso-sc-game-screen,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-game-screen{height:100%;min-height:0}

/* 3.2: labelled controls that remain legible alongside the site's button styling. */
.tso-sc-wrap .tso-sc-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
.tso-sc-wrap .tso-sc-stats>button{grid-column:span 2;min-height:38px;padding:7px 4px!important;width:auto!important;height:auto!important;border:1px solid #c59a4f!important;border-radius:9px!important;background:#123c64!important;color:#ffe18c!important;font-size:13px!important;line-height:1.2!important;font-family:system-ui,sans-serif!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;text-indent:0!important;opacity:1!important}
.tso-sc-wrap .tso-sc-stats>button:hover{background:#ffd76a!important;color:#071d33!important}
.tso-sc-wrap .tso-sc-stats>.tso-sc-quit-button{background:#6c2639!important;color:#fff!important}
.tso-sc-wrap .tso-sc-game-footer{grid-template-columns:110px 1fr 110px}
.tso-sc-wrap .tso-sc-game-footer button,.tso-sc-wrap .tso-sc-mobile-controls button{padding:4px!important;background:#123c64!important;color:#ffdf83!important;border:1px solid #ffd76a!important;font:900 14px/1.15 system-ui,sans-serif!important;text-transform:none!important;letter-spacing:0!important;text-indent:0!important;box-shadow:none!important;opacity:1!important;border-radius:10px!important}
.tso-sc-wrap .tso-sc-mobile-controls button{width:74px;height:60px}
.tso-sc-wrap .tso-sc-mobile-controls button.is-held,.tso-sc-wrap .tso-sc-game-footer button.is-held{background:#ffd76a!important;color:#071d33!important}
.tso-sc-wrap .tso-sc-clubhouse-nav{flex-shrink:0;margin:0;padding:8px 7px;background:#04182e;gap:5px}
.tso-sc-credit{flex-shrink:0;padding:7px 10px;text-align:center;background:#04182e;color:#d2e2f1;font-size:11px;line-height:1.45}
.tso-sc-credit small{font-size:10px;color:#a9c3d8}
.tso-sc-start-actions{position:relative;z-index:6;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:8px auto 14px;width:100%}
.tso-sc-wrap .tso-sc-start-actions .tso-sc-start-button{width:auto;min-width:210px;margin:0;padding:10px 18px;min-height:50px;font-size:18px!important;line-height:1.2!important}
.tso-sc-wrap .tso-sc-start-actions .tso-sc-play-fullscreen{background:#123c64!important;border:2px solid #ffd76a!important;color:#ffe18c!important}
.tso-sc-test-status,.tso-sc-guest-note{margin:3px auto 8px!important;font-size:12px!important;line-height:1.4!important;color:#d9eafa!important;text-align:center}
.tso-sc-test-status{color:#ffe18c!important;font-weight:800}
.tso-sc-title-screen h2{font-size:clamp(35px,6.4vw,82px)}
.tso-sc-title-sky{min-height:290px;flex:1 1 290px}
@media(max-width:600px){
 .tso-sc-wrap .tso-sc-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
 .tso-sc-wrap .tso-sc-stats>div:nth-child(n){grid-column:span 2;display:flex;min-height:39px}
 .tso-sc-wrap .tso-sc-stats>button:nth-child(n){grid-column:span 2;font-size:12px!important;min-height:36px}
 .tso-sc-wrap .tso-sc-stats strong{font-size:13px}
 .tso-sc-wrap .tso-sc-start-actions .tso-sc-start-button{min-width:0;flex:1;font-size:14px!important;padding:10px 5px}
 .tso-sc-start-actions{gap:8px}
 .tso-sc-clubhouse-nav a{font-size:10px;padding:5px 8px;min-height:32px}
 .tso-sc-credit{font-size:10px;padding:5px}
}
@media(orientation:landscape) and (max-height:550px){
 .tso-sc-wrap .tso-sc-stats{grid-template-columns:repeat(6,minmax(0,1fr)) repeat(3,80px);gap:3px;padding:3px}
 .tso-sc-wrap .tso-sc-stats>div:nth-child(n),.tso-sc-wrap .tso-sc-stats>button:nth-child(n){grid-column:auto;min-height:34px}
 .tso-sc-wrap .tso-sc-stats>button:nth-child(n){font-size:11px!important;padding:5px 2px!important}
 .tso-sc-wrap .tso-sc-clubhouse-nav{padding:3px}
 .tso-sc-wrap .tso-sc-clubhouse-nav a{min-height:26px;padding:3px 8px;font-size:10px}
 .tso-sc-credit{font-size:9px;padding:3px;line-height:1.2}.tso-sc-credit small{font-size:8px}
 .tso-sc-title-sky{grid-row:span 6;min-height:240px}
 .tso-sc-start-actions{gap:5px;margin:4px auto}
 .tso-sc-wrap .tso-sc-start-actions .tso-sc-start-button{min-width:0;flex:1;font-size:12px!important;min-height:38px;padding:6px}
 .tso-sc-test-status,.tso-sc-guest-note{font-size:9px!important;margin:2px!important}
}

/* 3.2.1: normal page play keeps its full proportions; only fullscreen fits a viewport. */
.tso-sc-wrap .tso-sc-game-screen{height:auto;min-height:0;grid-template-rows:auto auto auto}
.tso-sc-wrap .tso-sc-stage-wrap{height:auto;min-height:0;aspect-ratio:16/9}
@media(max-width:1024px) and (orientation:portrait){
 .tso-sc-wrap .tso-sc-stage-wrap{aspect-ratio:3/4}
}
.tso-sc-wrap:fullscreen .tso-sc-game-screen,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-game-screen{
 height:auto;min-height:0;flex:1 1 0;grid-template-rows:auto minmax(0,1fr) auto;
}
.tso-sc-wrap:fullscreen .tso-sc-stage-wrap,.tso-sc-wrap.tso-sc-is-fullscreen .tso-sc-stage-wrap{
 height:100%;min-height:0;aspect-ratio:auto;
}
