/* MASYSHBET world layer. One scene, shared controls, brand colours. */
:root{--font-control:"Exo 2","Rubik",sans-serif;--world-amber:255,162,104;--world-blue:76,130,180;--world-cream:255,244,232}
body{background:#0c192c;isolation:isolate}
#app{position:relative;z-index:1}
.game-atmosphere{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:strict;background:radial-gradient(ellipse at 10% 9%,rgba(var(--world-amber),.09),transparent 40%),radial-gradient(ellipse at 88% 38%,rgba(var(--world-blue),.16),transparent 47%),linear-gradient(145deg,#0c192c 8%,#13263b 51%,#0c1b2e);--world-x:0px;--world-y:0px}
.world-aura{position:absolute;inset:-10%;background:radial-gradient(ellipse at 22% 19%,rgba(var(--world-amber),.12),transparent 34%),radial-gradient(ellipse at 82% 72%,rgba(var(--world-blue),.2),transparent 39%);transform:translate3d(var(--world-x),var(--world-y),0);animation:world-breathe 22s ease-in-out infinite alternate;will-change:transform}
.world-grid{position:absolute;left:-40%;right:-40%;bottom:-5%;height:74%;background-image:linear-gradient(rgba(var(--world-amber),.095) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--world-blue),.16) 1px,transparent 1px);background-size:100px 100px;transform:perspective(620px) rotateX(61deg);transform-origin:50% 100%;mask-image:linear-gradient(transparent 0%,#0009 35%,#000 100%);opacity:.55;animation:world-grid-flow 36s linear infinite}
.world-beam{position:absolute;top:-30%;height:160%;width:180px;transform:rotate(25deg);filter:blur(5px);background:linear-gradient(90deg,transparent,rgba(var(--world-amber),.07),transparent);animation:world-beam-drift 32s ease-in-out infinite alternate}
.world-beam-a{left:11%}.world-beam-b{left:75%;width:300px;background:linear-gradient(90deg,transparent,rgba(var(--world-blue),.11),transparent);animation-duration:41s;animation-direction:alternate-reverse}
.world-halo{position:absolute;width:740px;height:740px;right:-350px;top:18%;border:1px solid rgba(var(--world-amber),.11);border-radius:50%;box-shadow:0 0 0 45px rgba(var(--world-blue),.022),0 0 0 150px rgba(var(--world-blue),.012);transform:rotateX(55deg) rotateZ(-28deg);animation:world-halo-drift 38s ease-in-out infinite alternate}
.world-halo::before{content:"";position:absolute;inset:48px;border:1px dashed rgba(var(--world-cream),.075);border-radius:50%}
.world-sparks{position:absolute;inset:0;transform:translate3d(calc(var(--world-x)*-.6),calc(var(--world-y)*-.6),0)}
.world-sparks i{position:absolute;left:calc(7% + var(--spark)*7.5%);top:calc(14% + var(--spark-y)*1%);width:3px;height:3px;border-radius:50%;background:rgba(var(--world-amber),.6);box-shadow:0 0 13px rgba(var(--world-amber),.3);animation:world-spark 13s calc(var(--spark)*-1.3s) ease-in-out infinite alternate}
body.wallet-world{--world-amber:108,236,183;--world-blue:52,145,115}
body.wallet-world .game-atmosphere{background:radial-gradient(ellipse at 16% 22%,#2fc18a1f,transparent 46%),radial-gradient(ellipse at 90% 70%,#45bca01a,transparent 46%),linear-gradient(140deg,#071f23,#10332f 60%,#0b202c)}
.game-hud{backdrop-filter:blur(18px);background:linear-gradient(100deg,#152a3de6,#182e43bd 65%,#15283ce3);box-shadow:0 12px 35px #030d1c15}
.game-dock{background:linear-gradient(165deg,#192e40eb,#0c1b30ed 65%,#112939ec);backdrop-filter:blur(20px);box-shadow:8px 0 40px #030d2340}
.scene-heading h1{letter-spacing:-.3px;text-shadow:0 3px 0 #040e242e,0 10px 35px #ffd4b111}
.scene-heading>.eyebrow,.hud-round strong,.hud-league strong,.dock-season,.round-tab,.arena-side,.arena-kickoff,.battle-kickoff,.capital-strip small{font-family:var(--font-control);font-weight:600}
button,.button{font-family:var(--font-control);font-weight:650;letter-spacing:.1px;-webkit-tap-highlight-color:transparent}
.button,.odd-button,.arena-center-button,.scene-tabs button,.round-tab,.hud-register,.gs-trigger{transition:transform .22s cubic-bezier(.18,.8,.2,1),background .22s,border-color .22s,box-shadow .22s,color .22s}
.button{font-size:16px;min-height:46px;border-radius:12px 5px 12px 5px;box-shadow:inset 0 1px #ffffff12,0 3px 0 #06162c50}
.button.primary{background:linear-gradient(125deg,#ffc18b 0%,#ffa268 58%,#f38c54);border:1px solid #ffd8ad8c;box-shadow:inset 0 1px #fff1d880,0 4px 0 #703c2e70,0 8px 22px #ff9d5020;color:#192d3b;font-weight:750}
.button.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:inset 0 1px #fff5e2,0 6px 0 #703c2e60,0 12px 32px #ff9d5030}
.button.secondary,.button.quiet{background:linear-gradient(125deg,#2c4963b8,#192e48cc);border-color:#6a8ea16b;box-shadow:inset 0 1px #cfdfed12,0 3px 0 #07192b66}
.odd-button{position:relative;overflow:hidden;border-radius:12px 5px 12px 5px;background:linear-gradient(135deg,#33516aa3,#172f49dd);border-color:#6e91a16b;box-shadow:inset 0 1px #e1edf91a,0 3px 0 #06162766;min-height:52px}
.odd-button::before{content:"";position:absolute;top:-45%;bottom:-45%;left:-65%;width:36%;transform:skewX(-24deg);background:linear-gradient(90deg,transparent,#ffe1bd14,transparent);pointer-events:none;transition:left .55s}
.odd-button:hover:not(:disabled){transform:translateY(-3px);border-color:#ffbd8799;background:linear-gradient(135deg,#455d70bd,#293d50);box-shadow:inset 0 1px #ffe4c82b,0 5px 0 #0c1b2d80,0 8px 25px #ffa26816}
.odd-button:hover:not(:disabled)::before{left:130%}
.odd-button.selected{border-color:#ffc18b;background:linear-gradient(130deg,#ba815134,#55473a9c);box-shadow:inset 0 1px #ffe7c749,0 0 0 1px #ffc18b38,0 7px 22px #ffa26814}
.odd-button strong,.capital-strip strong,.standings-winnings,.stat-value,.coupon .mono{font-family:var(--font-control);font-variant-numeric:tabular-nums;font-weight:800;letter-spacing:-.35px}
.odd-button strong{font-size:23px}.odd-button .odd-label{font-family:var(--font-control);font-weight:600;font-size:15px;color:#adc3d1}
.odd-button.selected .odd-label{color:#ffdab7}
.arena-center-button{position:relative;overflow:hidden;border:1px solid #a9b9ba57;border-radius:12px 5px 12px 5px;background:linear-gradient(135deg,#36546a7a,#20384e9c);box-shadow:inset 0 1px #f0e4d110,0 3px 0 #06162766;font-size:15px}
.arena-center-button:hover{background:linear-gradient(135deg,#75604a88,#374658);border-color:#ffd1a099;transform:translateY(-2px)}
.scene-tabs{background:#0b1d31a6;border-color:#647e8e50;box-shadow:inset 0 1px #becfda0b,0 4px 15px #07182c2b;padding:5px;border-radius:13px}
.scene-tabs button{font-size:15px;border-radius:9px 4px 9px 4px;min-height:39px}
.scene-tabs button.active{background:linear-gradient(125deg,#d498633f,#344e62c9);color:#ffe8ce;box-shadow:inset 0 1px #ffd2a842,0 3px 8px #06152850}
.scene-tabs button:hover:not(.active){color:#ffdab5;background:#9bb5c50b}
.round-tab{border-radius:14px 5px 14px 5px;background:linear-gradient(135deg,#243f57c9,#172e45dd);border-color:#637c8e4a;box-shadow:inset 0 1px #b3cbdb12,0 3px 0 #06142544}
.round-tab.active{background:linear-gradient(125deg,#ffb78026,#354859cc);border-color:#d8aa797d;box-shadow:inset 0 1px #f0c49233,0 3px 0 #06142555,0 5px 23px #f6ac5c0b}
.round-tab:hover{transform:translateY(-2px);border-color:#e7b88a88}
.nav-item:hover{transform:translateY(-2px) scale(1.06);color:#ffd6ac;background:linear-gradient(135deg,#ffb57818,#e8b17e08);border-color:#fac3953d}
.nav-item.active{color:#ffc18b;background:linear-gradient(130deg,#e5a26b30,#27445977);border-color:#f9bd8759;box-shadow:inset 0 1px #ffd4b522,0 5px 15px #04132633}
.dock-active-mark{box-shadow:0 0 12px #ffb17166}
.arena-stage{background:radial-gradient(ellipse at 3% 26%,#ffa26826,transparent 46%),radial-gradient(ellipse at 95% 72%,#6595b72e,transparent 49%),linear-gradient(140deg,#1a334bdb,#10253eeb 47%,#20394edb);border-color:#a1b6bc6b;box-shadow:inset 0 1px #fff0d133,inset 0 -1px #5a769b44,0 5px 0 #08152666,0 25px 60px #020b1a45}
.arena-stage::after{content:"";position:absolute;left:12%;right:12%;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#ffce9e99,transparent);box-shadow:0 -8px 40px #ffb7782b;pointer-events:none}
.arena-teams{perspective:900px}
.arena-crest{filter:drop-shadow(0 10px 10px #020d256b) drop-shadow(0 1px 0 #ffecc933);transition:transform .35s,filter .35s;transform:translateZ(12px)}
.arena-club:hover .arena-crest{transform:translateY(-6px) rotateY(-8deg) scale(1.04);filter:drop-shadow(0 15px 14px #020d2599) drop-shadow(0 0 15px #f9be871e)}
.arena-club-orbit{border-color:#c9b28f29;box-shadow:inset 0 0 20px #ffb16b06,0 0 35px #ffb16b08}
.arena-pitch{opacity:.9}.arena-beam{opacity:.8}
.battle-card{background:radial-gradient(ellipse at 100% 0,#ffc18b0a,transparent 65%),linear-gradient(140deg,#203b53e8,#152c45ed);box-shadow:inset 0 1px #d7e9ec18,0 4px 0 #06152633,0 18px 30px #04102420}
.capital-strip{background:linear-gradient(120deg,#20364ac9,#172b43c9);box-shadow:inset 0 1px #e7d0ae19,0 4px 0 #07172b44;border-color:#a8adae36;backdrop-filter:blur(15px)}
.capital-strip strong{font-size:29px}.capital-symbol{background:linear-gradient(135deg,#f3b17214,#54789011);border:1px solid #b4c1bc13;border-radius:10px}
.button:active:not(:disabled),.odd-button:active:not(:disabled),.arena-center-button:active,.round-tab:active{transform:translateY(2px);box-shadow:inset 0 2px 5px #04112650,0 0 0 #0000}
.game-tap{position:absolute;pointer-events:none;border-radius:50%;width:18px;height:18px;left:var(--tap-x);top:var(--tap-y);background:#ffe4bd38;transform:translate(-50%,-50%) scale(0);animation:game-tap .6s ease-out forwards}
@keyframes game-tap{to{transform:translate(-50%,-50%) scale(15);opacity:0}}
@keyframes world-grid-flow{to{transform:perspective(620px) rotateX(61deg) translateY(40px)}}
@keyframes world-breathe{to{translate:2% -2%;opacity:.65}}
@keyframes world-halo-drift{to{translate:-55px 45px;rotate:9deg}}
@keyframes world-beam-drift{to{translate:120px 30px;opacity:.5}}
@keyframes world-spark{0%,15%{opacity:0;translate:0 25px}50%{opacity:.65}100%{opacity:0;translate:15px -45px}}
@media(max-width:860px){.world-grid{height:63%;background-size:75px 75px;opacity:.35}.world-halo{right:-540px}.world-beam{width:120px}.game-hud{backdrop-filter:blur(12px)}}
@media(max-width:620px){.world-aura{background:radial-gradient(ellipse at 0% 30%,rgba(var(--world-amber),.11),transparent 50%),radial-gradient(ellipse at 100% 70%,rgba(var(--world-blue),.14),transparent 50%)}.world-beam-b{left:65%;width:180px}.world-grid{left:-80%;right:-80%;height:55%;opacity:.27}.scene-tabs button{font-size:14px;padding:8px 6px}.scene-tabs{gap:2px}.odd-button strong{font-size:21px}.arena-odds .odd-button strong{font-size:23px}.arena-odds .odd-button .odd-label{font-size:13px}.capital-strip strong{font-size:25px}.capital-strip small{font-size:12px}.button{font-size:15px}.arena-stage{border-radius:21px}.game-atmosphere .world-sparks i:nth-child(n+7){display:none}}
@media(prefers-reduced-motion:reduce){.game-atmosphere *,.game-tap{animation:none!important;transition:none!important;will-change:auto}.world-aura,.world-sparks{transform:none!important}.game-tap{display:none}.button,.odd-button,.arena-center-button,.scene-tabs button,.round-tab,.nav-item,.arena-crest{transition:none!important;transform:none!important}}

.table-wrap table>thead>tr>th,.table-wrap .sort-heading,.table-wrap .numeric,.form-score,.comparison-row>strong{font-family:var(--font-control);font-variant-numeric:tabular-nums}.table-wrap table>thead>tr>th,.table-wrap .sort-heading{font-size:13px;font-weight:650}

.table-wrap.table-wrap table>thead>tr>th{font-size:13px;font-weight:650}
.game-atmosphere.is-paused *{animation-play-state:paused!important}
/* An explicit in-app background preference can override reduced motion. */
masysh-motion{display:inline-flex;flex-shrink:0}
.world-motion-toggle{display:grid;place-items:center;width:33px;height:36px;padding:6px;border:1px solid #718c9d45;border-radius:10px;background:linear-gradient(140deg,#2b455b80,#18334880);color:#97b6c8}
.world-motion-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.3}
body.motion-enabled .world-motion-toggle{color:#ffca9b;border-color:#ffc18b66;background:linear-gradient(135deg,#c58d5d24,#3f48522b);box-shadow:inset 0 1px #ffc18b17,0 0 18px #ffa26809}
body.motion-paused .game-atmosphere *{animation:none!important}
body.motion-paused .world-aura,body.motion-paused .world-sparks{transform:none!important}
body.motion-enabled .world-aura{animation:world-breathe 22s ease-in-out infinite alternate!important;transform:translate3d(var(--world-x),var(--world-y),0)!important}
body.motion-enabled .world-grid{animation:world-grid-flow 36s linear infinite!important}
body.motion-enabled .world-beam-a{animation:world-beam-drift 32s ease-in-out infinite alternate!important}
body.motion-enabled .world-beam-b{animation:world-beam-drift 41s ease-in-out infinite alternate-reverse!important}
body.motion-enabled .world-halo{animation:world-halo-drift 38s ease-in-out infinite alternate!important}
body.motion-enabled .world-sparks{transform:translate3d(calc(var(--world-x)*-.6),calc(var(--world-y)*-.6),0)!important}
body.motion-enabled .world-sparks i{animation:world-spark 13s calc(var(--spark)*-1.3s) ease-in-out infinite alternate!important}
body.motion-enabled .game-atmosphere.is-paused *{animation-play-state:paused!important}
@media(max-width:380px){.hud-brand{font-size:16px}.hud-player-tools{gap:6px}.world-motion-toggle{width:29px;height:34px;padding:5px}}
/* Orange energy: stronger brand light, flowing arcs and visible embers. */
:root{--world-fire:255,119,43}
body.wallet-world{--world-fire:83,224,161}
body:not(.wallet-world) .game-atmosphere{background:radial-gradient(ellipse at -6% 16%,rgba(var(--world-fire),.2),transparent 48%),radial-gradient(ellipse at 105% 74%,rgba(var(--world-fire),.16),transparent 45%),radial-gradient(ellipse at 75% 10%,rgba(var(--world-blue),.1),transparent 42%),linear-gradient(145deg,#0c192c 8%,#14243a 54%,#101d30)}
.world-aura{background:radial-gradient(ellipse at 5% 18%,rgba(var(--world-fire),.24),transparent 36%),radial-gradient(ellipse at 95% 75%,rgba(var(--world-fire),.2),transparent 37%),radial-gradient(ellipse at 72% 8%,rgba(var(--world-amber),.09),transparent 31%)}
.world-beam-a{left:0;width:290px;background:linear-gradient(90deg,transparent,rgba(var(--world-fire),.18),rgba(var(--world-amber),.07),transparent)}
.world-beam-b{left:78%;width:360px;background:linear-gradient(90deg,transparent,rgba(var(--world-fire),.14),transparent)}
.world-halo{border-color:rgba(var(--world-fire),.26);box-shadow:0 0 0 45px rgba(var(--world-amber),.04),0 0 0 150px rgba(var(--world-fire),.022),0 0 75px rgba(var(--world-fire),.045)}
.world-halo::before{border-color:rgba(var(--world-amber),.17)}
.game-atmosphere::before,.game-atmosphere::after{content:"";position:absolute;pointer-events:none;mix-blend-mode:screen;will-change:transform}
.game-atmosphere::before{left:-34%;top:6%;width:85%;height:110%;border-radius:50%;background:radial-gradient(ellipse at 50% 50%,transparent 48%,rgba(var(--world-fire),.18) 53%,rgba(var(--world-amber),.06) 58%,transparent 65%);filter:blur(7px);transform:rotate(-24deg)}
.game-atmosphere::after{right:-32%;bottom:-47%;width:105%;height:110%;border-radius:50%;background:radial-gradient(ellipse at 50% 50%,transparent 43%,rgba(var(--world-fire),.23) 49%,rgba(var(--world-amber),.065) 55%,transparent 63%);filter:blur(9px);transform:perspective(750px) rotateX(49deg) rotateZ(-18deg)}
.world-sparks i{width:4px;height:4px;background:rgba(var(--world-amber),.83);box-shadow:0 0 7px rgba(var(--world-fire),.8),0 0 21px rgba(var(--world-fire),.4)}
.world-sparks i::after{content:"";position:absolute;left:41px;top:35px;width:2px;height:2px;background:rgba(var(--world-amber),.67);border-radius:50%;box-shadow:0 0 12px rgba(var(--world-fire),.55)}
body.motion-enabled .game-atmosphere::before{animation:orange-wave-a 21s ease-in-out infinite alternate!important}
body.motion-enabled .game-atmosphere::after{animation:orange-wave-b 27s ease-in-out infinite alternate!important}
body.motion-paused .game-atmosphere::before,body.motion-paused .game-atmosphere::after{animation:none!important;will-change:auto}
body.motion-enabled .game-atmosphere.is-paused::before,body.motion-enabled .game-atmosphere.is-paused::after{animation-play-state:paused!important}
@keyframes orange-wave-a{from{transform:translate3d(-2%,3%,0) rotate(-24deg);opacity:.62}to{transform:translate3d(8%,-5%,0) rotate(-12deg);opacity:1}}
@keyframes orange-wave-b{from{transform:perspective(750px) rotateX(49deg) rotateZ(-18deg) translate3d(-2%,0,0);opacity:.65}to{transform:perspective(750px) rotateX(49deg) rotateZ(-7deg) translate3d(7%,-7%,0);opacity:1}}
@media(max-width:620px){.world-aura{background:radial-gradient(ellipse at 0% 22%,rgba(var(--world-fire),.2),transparent 48%),radial-gradient(ellipse at 100% 76%,rgba(var(--world-fire),.17),transparent 46%)}.game-atmosphere::before{left:-74%;width:125%;opacity:.65}.game-atmosphere::after{right:-65%;width:160%;bottom:-28%;opacity:.7}.world-beam-a{left:-22%;width:210px}.world-beam-b{left:84%;width:200px}.world-sparks i{width:3px;height:3px}}
@media(prefers-reduced-motion:reduce){body:not(.motion-enabled) .game-atmosphere::before,body:not(.motion-enabled) .game-atmosphere::after{animation:none!important;will-change:auto}}
