html.ulf36-ttx-open{overflow:hidden}
#ulf36-teletext-overlay{position:fixed;inset:0;z-index:2147483550;display:grid;place-items:center;
 padding:max(5px,env(safe-area-inset-top)) 6px max(5px,env(safe-area-inset-bottom));background:#020816ed}
.ulf36-ttx-screen *{box-sizing:border-box}
.ulf36-ttx-screen{width:100%;padding:clamp(9px,2.4vw,20px);background:#081341;
 border:3px solid #284db0;box-shadow:0 0 0 2px #e5cc76,0 15px 55px #000c;color:#eef5ff;
 font:14px/1.45 ui-monospace,'Courier New',monospace}
.ulf36-ttx-screen .ulf36-ttx-top{display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding-bottom:10px;border-bottom:3px solid #e8ca5b;color:#ffe181;font-size:clamp(12px,3vw,18px)}
.ulf36-ttx-screen .ulf36-ttx-top button{min-width:44px;min-height:44px;border:1px solid #e6d484;
 background:#24468e;color:white;border-radius:3px;font:900 24px/1 system-ui;cursor:pointer}
.ulf36-ttx-screen .ulf36-ttx-pages{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:12px 0}
.ulf36-ttx-screen .ulf36-ttx-pages button{min-height:48px;border:1px solid #80a3d7;
 background:#213d83;color:#eff5ff;border-radius:3px;padding:8px 5px;overflow-wrap:anywhere;
 font:900 clamp(11px,2.5vw,13px)/1.2 ui-monospace,monospace;cursor:pointer}
.ulf36-ttx-screen .ulf36-ttx-pages button[aria-selected=true]{background:#f2d36b;border:2px solid #fff3bc;color:#0b204c}
.ulf36-ttx-screen .ulf36-ttx-title{background:#f0d16b;color:#061a43;padding:10px;
 font:900 clamp(15px,3.2vw,21px)/1.25 ui-monospace,monospace}
.ulf36-ttx-screen .ulf36-ttx-muted{font-size:12px;color:#b6e7e5}
.ulf36-ttx-screen [data-ttx-view] section{border-top:1px dotted #6985bd;margin:12px 0;padding-top:8px}
.ulf36-ttx-screen [data-ttx-view] h3{color:#a2f3b8;font-size:13px}
.ulf36-ttx-screen .ulf36-ttx-empty{padding:13px;background:#183067;color:#cfe2ed}
.ulf36-ttx-screen .ulf36-ttx-list{padding:0;margin:0;list-style:none}
.ulf36-ttx-screen .ulf36-ttx-list li{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);
 align-items:center;gap:6px;border-bottom:1px dotted #44639d;padding:8px 4px;font-size:12px}
.ulf36-ttx-screen .ulf36-ttx-list li.result{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)}
.ulf36-ttx-screen .ulf36-ttx-list li span:last-child{text-align:right}
.ulf36-ttx-screen .ulf36-ttx-list li b{text-align:center;color:#ffe290}
.ulf36-ttx-screen .mine{background:#194e50!important;color:#ffe29c;font-weight:900}
.ulf36-ttx-screen .ulf36-ttx-scroll{max-width:100%;overflow-x:auto}
.ulf36-ttx-screen table{border-collapse:collapse;width:100%;min-width:340px;font-size:12px}
.ulf36-ttx-screen th,.ulf36-ttx-screen td{padding:8px 6px;border-bottom:1px dotted #5574ac;text-align:left}
.ulf36-ttx-screen th{color:#ffe39d}
.ulf36-ttx-screen .ulf36-ttx-week{display:flex;align-items:center;gap:10px;color:#ffde88}
.ulf36-ttx-screen select{min-height:44px;background:#f8f8ee;color:#0e2556;font-weight:800;padding:7px}
.ulf36-ttx-screen :is([data-ttx-final-score],[data-ttx-radio]){min-height:44px;margin:0 0 8px;padding:6px 12px;
 border:1px solid #80a3d7;border-radius:3px;background:#213d83;color:#eff5ff;font:inherit;font-weight:bold;cursor:pointer}
.ulf36-ttx-screen :is([data-ttx-final-score],[data-ttx-radio])[aria-pressed=true]{background:#f2d36b;color:#0b204c}
.ulf36-ttx-screen .ulf36-ttx-final-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.ulf36-ttx-screen .ulf36-ttx-final-top label{color:#ffde88}
.ulf36-ttx-screen section[data-ttx-bulletin]{padding:8px 12px;background:#102753;color:#eef5ff;
 border:1px solid #6689be;border-left:3px solid #e8ca5b;overflow-wrap:anywhere}
.ulf36-ttx-screen [data-ttx-bulletin] p{margin:8px 0;max-width:65ch}
.ulf36-ttx-screen .ulf36-ttx-filters{display:flex;flex-wrap:wrap;gap:10px}
.ulf36-ttx-screen .ulf36-ttx-filters label{display:grid;flex:1 1 8em;min-width:0;gap:4px;color:#ffde88}
.ulf36-ttx-screen .ulf36-ttx-filters select{width:100%;min-width:0}
.ulf36-ttx-screen .ulf36-ttx-scorers{table-layout:fixed;min-width:0}
.ulf36-ttx-screen .ulf36-ttx-scorers :is(th,td){padding:7px 4px;overflow-wrap:anywhere}
.ulf36-ttx-screen .ulf36-ttx-scorers :first-child:is(th,td){width:2.5em}
.ulf36-ttx-screen .ulf36-ttx-scorers :last-child:is(th,td){width:4em;text-align:right}
.ulf36-ttx-screen .ulf36-ttx-scorers tbody th{color:inherit}
.ulf36-ttx-screen .ulf36-ttx-fanzine{padding:0 10px 6px;margin:8px 0;background:#102753;
 border:1px solid #6689be;border-left:3px solid #e8ca5b;overflow-wrap:anywhere}
.ulf36-ttx-screen .ulf36-ttx-fanzine summary{min-height:44px;padding:10px 2px;color:#ffe39d;font-weight:bold;cursor:pointer}
.ulf36-ttx-screen .ulf36-ttx-fanzine summary:focus-visible{outline:3px solid white;outline-offset:2px}
.ulf36-ttx-screen .ulf36-ttx-fanzine small{color:#b6e7e5}
.ulf36-ttx-screen .ulf36-ttx-news{padding:0;list-style:none}
.ulf36-ttx-screen .ulf36-ttx-news li{padding:10px 3px;border-bottom:1px dotted #45669c}
.ulf36-ttx-screen .ulf36-ttx-news small{display:block;color:#abe6e2}
.ulf36-ttx-screen .ulf36-ttx-news strong{display:block;color:#ffe19d;overflow-wrap:anywhere}
.ulf36-ttx-screen button:focus-visible,.ulf36-ttx-screen select:focus-visible{outline:3px solid white;outline-offset:2px}
@media(max-width:470px){#ulf36-teletext-overlay{padding:4px}
 .ulf36-ttx-screen{padding:9px;border-width:2px}
 .ulf36-ttx-screen .ulf36-ttx-pages{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ulf36-ttx-screen .ulf36-ttx-list li{gap:3px;font-size:11px}
}
#ulf36-teletext-overlay .ulf36-ttx-screen{width:min(100%,900px);max-height:calc(100dvh - 10px);overflow-y:auto;overscroll-behavior:contain}
.ulf36-ttx-screen button[data-ttx-tab] span{display:block;font-size:10px;margin-bottom:2px}
#ulf36-match-hub .ulf36-ttx-screen{border:1px solid #547496;border-radius:8px;box-shadow:none}
#ulf36-match-hub .ulf36-ttx-screen .ulf36-ttx-title{color:#102b4d}
#ulf36-match-hub .ulf36-ttx-list li{margin:0}
