:root{--tt131-accent:#c5f53c;--tt131-ink:#eef6f0;--tt131-muted:#aac0b5;--tt131-line:#476055;--tt131-surface:#11241d;--tt131-bg:#07110d}
body.tt131-client{background:var(--tt131-bg);color:var(--tt131-ink)}
#tt131Entry[hidden],#tt131Pause[hidden],#tt131ExitConfirm[hidden],#tt131ContextHint[hidden],#tt131MatchMenu[hidden],#tt131MatchRecords[hidden]{display:none!important}
#tt131Entry [hidden]{display:none!important}
#tt131Entry{position:fixed;inset:0;z-index:210000;overflow:auto;background:radial-gradient(ellipse at 75% 10%,#36524075,transparent 50%),linear-gradient(120deg,#050c09,#14271d 70%,#07110d);color:var(--tt131-ink);font:500 16px/1.4 system-ui,sans-serif;overscroll-behavior:contain}
.tt131-shell{width:min(1240px,calc(100% - 56px));min-height:100%;margin:auto;padding:25px 0 22px;display:flex;flex-direction:column}
.tt131-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.tt131-wordmark{color:var(--tt131-ink);text-decoration:none;font:950 italic 36px/.84 system-ui,sans-serif;letter-spacing:-1.8px;display:block;padding:6px 0 13px;position:relative}.tt131-wordmark span{padding-left:38px}.tt131-wordmark:after{content:'';height:5px;position:absolute;bottom:0;left:0;right:5px;transform:skew(-25deg) rotate(-4deg);background:var(--tt131-accent)}
.tt131-top-actions{display:flex;gap:10px;align-items:center}.tt131-button{min-height:46px;min-width:46px;border:1px solid var(--tt131-line);border-radius:11px;background:#183127c9;color:var(--tt131-ink);padding:12px 18px;font:750 15px/1.2 system-ui,sans-serif;cursor:pointer;touch-action:manipulation;text-decoration:none;transition:background .15s,transform .15s,border-color .15s}.tt131-button:hover{background:#254536;border-color:#7c9d87}.tt131-button:focus-visible,#tt131Entry select:focus-visible,#settingsOverlay input:focus-visible,#settingsOverlay select:focus-visible{outline:3px solid var(--tt131-accent);outline-offset:3px}.tt131-button:active{transform:translateY(1px)}.tt131-button:disabled{opacity:.55;cursor:wait}.tt131-primary{background:var(--tt131-accent);border-color:var(--tt131-accent);color:#102000;font-weight:900;box-shadow:0 0 28px #b3ed1620}.tt131-primary:hover{background:#d4ff66;border-color:#d4ff66}
.tt131-home-grid{display:grid;grid-template-columns:minmax(310px,.9fr) minmax(360px,1.1fr);gap:48px;align-items:stretch;flex:1;min-height:0}.tt131-home-copy{padding:16px 0 0;display:flex;flex-direction:column;justify-content:center}.tt131-eyebrow{font-size:12px;font-weight:800;letter-spacing:.2em;color:var(--tt131-accent);margin-bottom:10px}.tt131-home-copy h1{font:900 40px/1.08 system-ui,sans-serif;letter-spacing:-1.4px;white-space:pre-line;margin:0 0 24px}.tt131-main-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;max-width:460px}.tt131-play{grid-column:1/-1;min-height:86px;text-align:left;font-size:28px;padding:20px 26px;letter-spacing:-.6px;margin-bottom:5px}.tt131-mode{text-align:left;min-height:62px;font-size:15px}.tt131-main-actions #tt131Challenge{grid-column:1/-1}.tt131-menu-footer{font-size:12px;color:var(--tt131-muted);margin-top:24px;line-height:1.7}
.tt131-stadium{min-height:440px;border:1px solid #52736080;border-radius:24px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 52% 19%,#b6d9bb35,transparent 40%),linear-gradient(#183023aa,#06130b 54%,#1b4020);box-shadow:inset 0 0 80px #0008;isolation:isolate}.tt131-stadium:before{content:'';position:absolute;inset:32% -15% 22%;background:repeating-linear-gradient(0deg,#65816a22 0 2px,#06180e 3px 10px);transform:perspective(300px) rotateX(-9deg);opacity:.7}.tt131-lights{position:absolute;inset:25px 20px auto;height:30px;transform:rotate(-9deg);background:radial-gradient(ellipse,#edf7dfc9 0 2px,#a7d49980 4px,#a7d49900 12px) 0 0/26px 28px;filter:drop-shadow(0 8px 18px #d1ffd29c);opacity:.8}.tt131-pitch{position:absolute;left:10%;right:8%;height:49%;bottom:-2%;border:2px solid #a0d59a3d;transform:perspective(400px) rotateX(42deg);background:repeating-linear-gradient(90deg,#1949238c 0 18%,#24582c8c 18% 36%)}.tt131-pitch:before{content:'';position:absolute;top:0;bottom:0;left:50%;border-left:2px solid #c7e5bd4d}.tt131-pitch:after{content:'';position:absolute;width:28%;height:40%;border:2px solid #c7e5bd4d;border-radius:50%;top:30%;left:36%}.tt131-pitch i:before,.tt131-pitch i:after{content:'';position:absolute;top:25%;height:50%;width:18%;border:2px solid #c7e5bd4d}.tt131-pitch i:before{left:0;border-left:0}.tt131-pitch i:after{right:0;border-right:0}.tt131-stadium-copy{position:absolute;left:30px;right:25px;top:30%;display:flex;flex-direction:column;gap:10px;z-index:1}.tt131-stadium-copy span{font-size:12px;color:var(--tt131-accent);letter-spacing:.13em;font-weight:800}.tt131-stadium-copy strong{font-size:24px;max-width:370px;line-height:1.25;text-shadow:0 2px 12px #000}.tt131-favourite{position:absolute;left:22px;right:22px;bottom:22px;display:flex;align-items:center;gap:15px;background:#0b1d16e8;border:1px solid #71935488;border-radius:16px;padding:18px}.tt131-favourite div{display:flex;flex-direction:column;gap:4px;min-width:0}.tt131-favourite small{font-size:11px;letter-spacing:.1em;color:var(--tt131-muted)}.tt131-favourite b{font-size:18px;overflow-wrap:anywhere}.tt131-crest{--team-color:#b8e63e;display:flex;flex:none;align-items:center;justify-content:center;width:72px;height:72px;border:4px double #eff5dc;border-radius:50%;background:var(--team-color);color:white;text-shadow:0 1px 4px #000;font-size:24px;font-weight:900;box-shadow:0 0 0 5px #ffffff10}
#tt131Quick{max-width:960px;width:100%;margin:0 auto;flex:1;padding-top:8px}.tt131-quick-heading{display:flex;align-items:center;gap:24px;margin-bottom:25px}.tt131-quick-heading h1{font-size:30px;font-style:italic;letter-spacing:-1px;margin:0}.tt131-team-grid{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;gap:15px}.tt131-team-card{min-height:240px;border:1px solid #67857494;background:linear-gradient(130deg,#203b2ec9,#0d1f17e6);border-radius:18px;display:flex;flex-direction:column;align-items:center;padding:22px 24px;gap:16px;min-width:0}.tt131-team-card:first-child{border-color:var(--tt131-accent)}.tt131-team-card>label{font-size:17px;font-weight:800}.tt131-team-card strong{font-size:19px;text-align:center}.tt131-team-card select,#tt131LeagueHost select{width:100%;min-height:46px;background:#0d2019;border:1px solid #5a7a66;color:var(--tt131-ink);border-radius:9px;padding:10px;font:650 14px system-ui;max-width:100%}.tt131-team-card select{margin-top:auto}.tt131-versus{text-align:center;font:900 36px system-ui;color:#b1c3b4}.tt131-match-facts{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;margin:24px 0;color:var(--tt131-muted);font-size:15px}.tt131-match-facts>span{padding:10px 16px;border-right:1px solid var(--tt131-line)}.tt131-league-label{display:flex;align-items:center;gap:10px}.tt131-quick-actions{text-align:center}.tt131-quick-actions button{width:min(460px,100%);min-height:62px;font-size:22px}#tt131EntryStatus{min-height:24px;margin-top:16px;text-align:center;color:#e4ecb9;font-size:13px}#tt131Retry{align-self:center}
body.tt131-client:not(.tt131-legacy) #playerPortal{visibility:hidden!important;pointer-events:none!important}body.tt131-legacy #playerPortal{z-index:210001}body.tt131-legacy #playerPortal .portalCard{max-height:94dvh;padding:24px;background:#0d2118;border:1px solid #63816d;border-radius:22px}body.tt131-legacy #tt120QuickStart,body.tt131-legacy #tt120PortalAdvanced,body.tt131-legacy #portalServerTab{display:none!important}#tt131LegacyBack{margin-bottom:14px}body.tt131-client #tt120QuickStart{display:none!important}
body.tt131-client #settingsOverlay{z-index:220000;background:#030a07d9}body.tt131-client #settingsOverlay .panel{width:min(1000px,94vw);max-height:92dvh;padding:24px;background:#0e2118;border:1px solid #526f5d;border-radius:20px;color:var(--tt131-ink);font-family:system-ui}body.tt131-client #settingsOverlay .panel>h2{font-size:25px;margin:0 0 18px}#tt131SettingsNav{display:flex;gap:7px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #3d5c49}#tt131SettingsNav .tt131-button{font-size:14px;min-height:44px;padding:10px 16px}#tt131SettingsNav [aria-selected=true]{color:#112000;background:var(--tt131-accent);border-color:var(--tt131-accent)}.tt131-basic-panel{min-height:230px}.tt131-basic-panel>p{color:var(--tt131-muted);line-height:1.6}.tt131-basic-panel .settingBox{background:#152f22;border-color:#41634d}.tt131-field{display:flex;flex-direction:column;gap:12px;max-width:650px;padding:14px 0;font-size:15px}.tt131-field>span{display:flex;justify-content:space-between;font-weight:700}.tt131-field output{color:var(--tt131-accent)}.tt131-field input[type=range]{width:100%;min-height:44px;accent-color:var(--tt131-accent)}.tt131-field select{min-height:46px;padding:10px;color:var(--tt131-ink);background:#162d22;border:1px solid #56745f;border-radius:8px;font:600 15px system-ui}.tt131-check{display:flex;align-items:center;gap:12px;min-height:48px;margin:10px 0;font-size:14px}.tt131-check input{width:22px;height:22px;accent-color:var(--tt131-accent)}body.tt131-client #settingsOverlay .actions{margin-top:20px;display:flex;gap:12px;justify-content:flex-end;border-top:1px solid #3d5c49;padding-top:18px}body.tt131-client #settingsOverlay .actions button{min-height:46px;padding:12px 22px;border-radius:9px}body.tt131-client #settingsOverlay:not([data-tt131-tab=developer]) #resetButton,body.tt131-client #settingsOverlay #startGameButton{display:none!important}body.tt131-client #tt131Developer>h2{display:none}#tt131Developer .sectionHeading{margin-top:20px}body.tt131-client #tt131BasicControls .keyGrid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}body.tt131-client #tt131BasicControls .bind{min-height:44px}body.tt131-client #tt131BasicControls #controlCombinationHelp{margin-top:18px}#tt131Developer[hidden],.tt131-basic-panel[hidden]{display:none!important}
body.tt131-client:not(.tt131-diagnostics) #networkBadge:not(.degraded),body.tt131-client:not(.tt131-diagnostics) #tt120Fps,body.tt131-client:not(.tt131-diagnostics) #tt120TimingHud,body.tt131-client:not(.tt131-diagnostics) #vpsOpsPanel,body.tt131-client:not(.tt131-diagnostics) #matchControls531{display:none!important}body.tt131-match #topButtons>.hudButton:not(#halfStartButton){display:none!important}body.tt131-match #topButtons{right:130px;max-width:calc(100vw - 155px)}#tt131MatchMenu{position:fixed;right:max(16px,env(safe-area-inset-right));top:max(15px,env(safe-area-inset-top));z-index:12020;min-height:44px;background:#10291de6}#tt131Pause,#tt131ExitConfirm{position:fixed;inset:0;z-index:220000;display:grid;place-items:center;padding:20px;background:#020906b8;color:var(--tt131-ink);font-family:system-ui}.tt131-pause-card{width:min(380px,96vw);padding:26px;border:1px solid #63816d;border-radius:20px;background:#10271ef5;display:flex;flex-direction:column;gap:11px;box-shadow:0 22px 80px #0008}.tt131-pause-card h2{font-size:23px;margin:0 0 9px}.tt131-pause-card p{font-size:14px;color:var(--tt131-muted);line-height:1.5;margin:0 0 12px}.tt131-pause-card .tt131-button{text-align:left}#tt131ContextHint{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:12015;display:flex;align-items:center;gap:16px;width:max-content;max-width:min(620px,calc(100vw - 32px));padding:11px 13px 11px 18px;border:1px solid #769654;border-radius:14px;background:#0e251ce8;color:var(--tt131-ink);box-shadow:0 5px 25px #0005;font:600 14px/1.5 system-ui}#tt131ContextHint .tt131-button{font-size:13px;white-space:nowrap;min-height:44px;padding:10px 13px}
@media(min-width:1000px) and (max-height:800px){.tt131-shell{padding-top:20px}.tt131-header{margin-bottom:14px}.tt131-home-copy{padding-top:0}.tt131-home-copy h1{font-size:34px;margin-bottom:19px}.tt131-home-grid{gap:36px}.tt131-stadium{min-height:420px}.tt131-play{min-height:76px;font-size:26px}.tt131-mode{min-height:54px}.tt131-menu-footer{margin-top:16px}.tt131-team-card{min-height:225px;padding:18px}.tt131-quick-heading{margin-bottom:18px}}
@media(max-width:850px){.tt131-shell{width:calc(100% - 32px);padding-top:18px}.tt131-header{margin-bottom:22px}.tt131-wordmark{font-size:29px}.tt131-top-actions .tt131-button{padding:10px 12px;font-size:13px}#tt131Profile{max-width:165px;overflow:hidden;text-overflow:ellipsis}.tt131-home-grid{grid-template-columns:1fr;gap:25px;flex:initial}.tt131-home-copy{align-items:stretch}.tt131-home-copy h1{font-size:33px;white-space:normal;max-width:410px}.tt131-main-actions{max-width:none}.tt131-stadium{min-height:250px}.tt131-stadium-copy{top:20%;left:22px}.tt131-stadium-copy strong{font-size:20px}.tt131-favourite{padding:12px;left:auto;max-width:300px;bottom:15px;right:15px}.tt131-favourite .tt131-crest{width:48px;height:48px;font-size:17px}.tt131-favourite b{font-size:14px}.tt131-team-grid{gap:10px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}.tt131-team-card{padding:16px 10px;min-height:230px}.tt131-team-card strong{font-size:16px}.tt131-crest{width:60px;height:60px;font-size:21px}.tt131-versus{font-size:26px}.tt131-match-facts{gap:10px;font-size:13px}.tt131-match-facts>span{padding:8px}.tt131-quick-heading h1{font-size:25px}.tt131-quick-heading{gap:15px}}
@media(max-width:480px){.tt131-shell{width:calc(100% - 28px);padding-top:15px}.tt131-header{align-items:flex-start}.tt131-top-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}.tt131-top-actions #tt131Profile{max-width:135px;font-size:12px}.tt131-top-actions #tt131Settings{font-size:12px}.tt131-wordmark{font-size:24px;letter-spacing:-1px}.tt131-wordmark span{padding-left:25px}.tt131-home-copy h1{font-size:30px;margin-bottom:20px}.tt131-eyebrow{font-size:10px}.tt131-play{font-size:24px;min-height:78px;padding:18px 22px}.tt131-main-actions{gap:10px}.tt131-mode{font-size:13px;min-height:55px;padding:12px}.tt131-menu-footer{font-size:11px;margin-top:16px}.tt131-stadium{min-height:210px}.tt131-stadium-copy{top:20px}.tt131-stadium-copy strong{font-size:17px;max-width:230px}.tt131-favourite{max-width:230px}.tt131-team-grid{grid-template-columns:1fr}.tt131-versus{display:none}.tt131-team-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px 14px;min-height:145px;padding:15px;text-align:left}.tt131-team-card>label{grid-column:1/-1;font-size:14px}.tt131-team-card .tt131-crest{width:46px;height:46px;font-size:17px;grid-row:2/4}.tt131-team-card strong{text-align:left}.tt131-team-card select,.tt131-team-card #tt131OpponentHost{grid-column:2;min-width:0}.tt131-team-card select{font-size:13px}.tt131-quick-heading{gap:13px;margin-bottom:18px}.tt131-quick-heading h1{font-size:23px}.tt131-quick-heading .tt131-button{font-size:12px;padding:10px}.tt131-match-facts{gap:9px;margin:15px 0}.tt131-match-facts>span{border:0;padding:5px}.tt131-league-label{width:100%;justify-content:center}.tt131-league-label #tt131LeagueHost{max-width:200px}.tt131-quick-actions button{font-size:20px;min-height:56px}#tt131ContextHint{bottom:12px;font-size:12px;padding:9px 10px;gap:9px;align-items:flex-start}body.tt131-client #settingsOverlay .panel{padding:18px;max-height:95dvh}#tt131SettingsNav{gap:6px}#tt131SettingsNav .tt131-button{font-size:12px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.tt131-button{transition:none}}
body.tt131-client #settingsOverlay .actions #closeButton{display:none!important}
body.tt131-client #settingsOverlay .actions{flex-wrap:wrap}
#tt165FullscreenStatus{flex-basis:100%;margin:0;color:var(--tt131-muted)}
body.tt131-client #settingsOverlay .tt131-basic-panel .settingBox{display:block!important}
body.tt131-client #settingsOverlay .tt131-basic-panel #keyGrid,body.tt131-client #settingsOverlay .tt131-basic-panel #gamepadGrid{display:grid!important}
body.tt131-client #settingsOverlay .tt131-legacy-heading{display:none!important}
body.tt131-client #settingsOverlay [data-tt131-settings-panel][hidden]{display:none!important}
body.tt131-legacy #playerPortal :is(button,select,input){min-height:44px}body.tt131-legacy #playerPortal .teamInfoButton{min-width:44px}

/* Telemetry export is an ordinary player action, independent of debug HUD visibility. */
body.tt131-match #tt131MatchRecords{position:fixed;right:max(16px,env(safe-area-inset-right));top:calc(max(15px,env(safe-area-inset-top)) + 52px);z-index:12020;min-height:44px;max-width:190px;white-space:normal}
#tt120TelemetryChoice[hidden]{display:none!important}
#tt120TelemetryChoice{inset:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 28px);box-sizing:border-box;padding:20px!important;overflow:auto!important;font-family:system-ui,sans-serif}
#tt120TelemetryChoice label{display:block;margin:16px 0}
#tt120TelemetryChoice select{display:block;width:100%;min-width:0;min-height:46px;margin-top:8px;font:14px system-ui;box-sizing:border-box}
#tt120TelemetryChoice button{min-height:46px;padding:10px 14px;margin:8px 10px 0 0;font:700 14px system-ui;touch-action:manipulation;max-width:100%}
#tt120TelemetryChoice :focus-visible{outline:3px solid #c5f53c;outline-offset:3px}
@media(max-width:480px){#tt120TelemetryChoice{padding:16px!important}#tt120TelemetryChoice h2{font-size:21px}#tt120TelemetryChoice p{font-size:13px;line-height:1.45}#tt120TelemetryChoice button{display:block;width:100%;margin-right:0}body.tt131-match #tt131MatchRecords{max-width:145px;font-size:11px}}

/* Native replay-to-Challenge must appear above the V131 home/pause shell. */
body.tt131-client #tt11ChPanel{z-index:260000}

/* Natural starting XIs: public kickoff slots, with the two sides facing each other. */
.tt131-stadium{min-height:590px;padding:18px 20px 12px;display:flex;flex-direction:column;gap:12px;background:linear-gradient(145deg,#183c2b,#0a1b13);box-sizing:border-box}
.tt131-stadium:before,.tt131-lights{display:none}
.tt131-stadium-copy{position:static;gap:4px;flex:none}
.tt131-stadium-copy strong{font-size:18px;line-height:1.3;max-width:none}
.tt131-pitch{position:relative;inset:auto;transform:none;height:480px;min-height:480px;flex:1;margin:0 5px;border:1px solid #b7dab477;border-radius:8px;background:repeating-linear-gradient(0deg,#215e35 0 12.5%,#205530 12.5% 25%);box-shadow:inset 0 0 32px #031a1170;isolation:isolate}
.tt131-pitch:before{inset:50% 0 auto;border:0;border-top:1px solid #e0f1d970}
.tt131-pitch:after{width:22%;height:16%;left:39%;top:42%;border-width:1px;pointer-events:none;z-index:-1}
.tt131-pitch i:before,.tt131-pitch i:after{left:30%;right:auto;width:40%;height:11%;border:1px solid #e0f1d970;pointer-events:none}
.tt131-pitch i:before{top:0;border-top:0}.tt131-pitch i:after{top:auto;bottom:0;border-bottom:0}
.tt131-lineup-side{position:absolute;inset:0;pointer-events:none}
.tt131-lineup-team{position:absolute;left:6px;right:6px;font-size:11px;line-height:16px;text-align:center;font-weight:800;color:#d6f768;text-shadow:0 1px 3px #001108}
.tt131-lineup-team-1{top:3px;color:#a6dbff}.tt131-lineup-team-0{bottom:3px}
.tt131-lineup-player{position:absolute;transform:translate(-50%,-50%);width:23%;max-width:118px;display:flex;align-items:center;flex-direction:column;gap:1px;line-height:12px;pointer-events:auto}
.tt131-lineup-player b{display:grid;place-items:center;border:1px solid #f4ffe4bb;background:var(--lineup-color);color:#102514;border-radius:50%;width:17px;height:17px;font-size:10px;line-height:16px;box-shadow:0 1px 3px #001108;font-weight:900}
.tt131-lineup-player span{max-width:100%;padding:1px 4px;border-radius:3px;background:#07170ee8;font-size:11px;line-height:13px;font-weight:650;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tt131PreviewStatus{position:absolute;inset:36% 15% auto;margin:0;padding:14px;border:1px solid #658b72;border-radius:9px;background:#0a2118f2;text-align:center;font-size:13px;line-height:1.5}
.tt131-stadium .tt131-favourite{position:static;flex:none;padding:8px 10px;gap:10px;max-width:none;border-radius:10px}
.tt131-stadium .tt131-favourite .tt131-crest{width:34px;height:34px;font-size:14px;border-width:2px;box-shadow:none}
.tt131-stadium .tt131-favourite b{font-size:13px}.tt131-stadium .tt131-favourite small{font-size:9px}
@media(min-width:1000px) and (max-height:800px){.tt131-stadium{min-height:580px;padding-top:14px;gap:9px}.tt131-pitch{height:460px;min-height:460px}}
@media(max-width:850px){.tt131-stadium{min-height:620px;padding:18px 14px 12px}.tt131-stadium-copy{position:static}.tt131-stadium-copy strong{font-size:18px}.tt131-pitch{height:490px;min-height:490px}.tt131-stadium .tt131-favourite{position:static;max-width:none}}
@media(max-width:480px){.tt131-stadium{min-height:610px;padding:15px 10px 10px;border-radius:16px;gap:10px}.tt131-stadium-copy strong{font-size:16px;max-width:none}.tt131-stadium-copy span{font-size:10px}.tt131-pitch{margin:0 3px;height:490px;min-height:490px}.tt131-lineup-player{width:24%}.tt131-lineup-player span{padding-inline:2px}.tt131-lineup-team{font-size:10px}.tt131-stadium .tt131-favourite .tt131-crest{width:30px;height:30px}.tt131-stadium .tt131-favourite b{font-size:13px}}

/* V137: match telemetry is opened from the match menu. */
body.tt131-match #telemetryButton{display:none!important}

/* V137: all match-menu actions remain reachable on short mobile viewports. */
.tt131-pause-card{box-sizing:border-box;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}.tt131-pause-card .tt131-button{flex-shrink:0}

/* Home actions share one column; preserve scrolling on compact displays. */
#tt131Entry .tt131-main-actions{grid-template-columns:minmax(0,1fr);width:100%;min-width:0;gap:8px}
#tt141HomeModes{min-width:0;width:100%;grid-column:1/-1}
#tt131Entry .tt131-main-actions .tt131-button{width:100%;min-width:0;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;grid-column:auto}
#tt131Entry .tt131-home-copy{padding-top:0}
#tt131Entry .tt131-home-copy h1{margin-bottom:12px}

body.tt141-simple-setup #portalModeStep > :not(#tt141SimpleSetup){display:none!important}
body.tt141-simple-setup #portalTitle,body.tt141-simple-setup #portalDomain,body.tt141-simple-setup #tt131LegacyBack{display:none!important}
#tt141SimpleSetup{display:grid;gap:16px;min-width:0}
#tt141SimpleSetup h2{margin:0;font-size:24px}
.tt141-setup-teams{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px}
#tt141SimpleSetup fieldset{border:1px solid #476055;border-radius:14px;padding:16px;min-width:0}
#tt141SimpleSetup label{display:grid;gap:8px;margin:10px 0}
#tt141SimpleSetup select{width:100%;min-width:0;box-sizing:border-box;padding:12px}
#tt141SimpleSetup [data-tt141-simple-start] b{font-size:0}
#tt141SimpleSetup [data-tt141-simple-start]:not([data-tt141-simple-start="multiplayer"]) b:after{content:"MAÇA BAŞLA";font-size:16px}
#tt141SimpleSetup [data-tt141-simple-start="multiplayer"] b:after{content:"SERVER ARENA'YA BAĞLAN";font-size:16px}
#tt141SimpleSetup [data-tt141-simple-start] span{display:none}

#tt178MatchActions{position:fixed;right:max(16px,env(safe-area-inset-right));top:max(15px,env(safe-area-inset-top));z-index:12020;display:flex;align-items:center;gap:8px}
#tt178MatchActions:has(#tt131MatchMenu[hidden]){display:none}
#tt178MatchActions #tt131MatchMenu{position:static}
#tt178QuickCamera{min-height:44px;background:#10291de6}
#tt178QuickCamera[aria-expanded=true]{background:#204b3b;border-color:#9dd58e}
body.tt131-client #ttcamLivePanel{box-sizing:border-box;left:auto;right:max(16px,env(safe-area-inset-right));top:calc(max(15px,env(safe-area-inset-top)) + 52px);width:min(342px,calc(100vw - 32px));max-height:calc(100dvh - 84px);z-index:12021;background:#10251eed;color:#f6f8f2;border-color:#64877a;overscroll-behavior:contain}
body.tt131-client #ttcamLivePanel input[type=range]{accent-color:#a9d58c}
body.tt131-client #ttcamLivePanel input[type=checkbox]{width:auto;margin-right:8px}
body.tt131-client #ttcamLivePanel #tt120CamTitle{display:none}
#ttcamLivePanel .tt178-range{display:flex;justify-content:space-between;color:#b7c9be;font-size:11px;font-variant-numeric:tabular-nums}
body.tt131-client #ttcamLivePanel input:focus-visible,body.tt131-client #ttcamLivePanel button:focus-visible,body.tt131-client #ttcamLivePanel select:focus-visible{outline:2px solid #b4e898;outline-offset:2px}

#tt131Pause [data-tt-fullscreen][hidden]{display:none!important}
