@font-face{font-family:Teletext50;src:url('/fonts/Teletext50.otf') format('opentype');font-display:swap}@font-face{font-family:TeletextDouble;src:url('/fonts/Teletext50-ultracondensed.otf') format('opentype');font-display:swap}
#teletext-view>h1{font-size:clamp(32px,4vw,64px);margin:12px 0 24px}#teletext-view>.page-description{display:none}
#teletext.teletext{container-type:inline-size;max-width:1200px;padding:16px;background:#000;color:#fff;border:0;border-radius:0;box-shadow:0 0 0 1px #333;margin:12px auto 48px;min-height:0;font-family:Teletext50,monospace;font-size:24px;line-height:1;letter-spacing:0;font-synthesis:none}
#teletext .teletext-header{height:3.6cqw;display:flex;align-items:center;justify-content:space-between;border:0;padding:0;font:4cqw/3.6cqw Teletext50,monospace;letter-spacing:.1cqw;white-space:nowrap;overflow:hidden}
#teletext #tt-page{color:#fff}#teletext #tt-brand{color:#0f0}#teletext #tt-clock{color:#fff;font-size:3.2cqw;letter-spacing:.04cqw}
#tt-content{font:4cqw/3.6cqw Teletext50,monospace;letter-spacing:.1cqw;white-space:normal;color:#fff}
#tt-content .tt-banner{display:flex;align-items:center;gap:2cqw;height:9cqw;margin:0 0 0.6cqw;background:#00f;overflow:hidden;padding:0 1cqw}
#tt-content .tt-box-mark{font:6cqw/6cqw Teletext50,monospace;letter-spacing:.2cqw;white-space:nowrap;border:.5cqw solid white;padding:0 .5cqw;background:#000;color:#fff}
#tt-content .tt-banner strong{font:12cqw/9cqw TeletextDouble,Teletext50,monospace;font-weight:normal;color:#ff0;letter-spacing:.1cqw;white-space:nowrap;text-transform:uppercase}
#tt-content .tt-strap{height:3.6cqw;line-height:3.6cqw;color:#0ff;white-space:pre;overflow:hidden}
#tt-content .tt-section{display:flex;justify-content:space-between;align-items:center;white-space:nowrap;color:#ff0;border-top:.45cqw solid #f00;height:4.2cqw;margin-bottom:.6cqw}
#tt-content .tt-section strong{font:inherit}#tt-content .tt-section>span{color:#fff}
#tt-content .tt-page-body{height:64.8cqw;overflow:hidden}
#tt-content .tt-row{height:3.6cqw;line-height:3.6cqw;white-space:pre;overflow:hidden;margin:0;padding:0}
#tt-content button{font:inherit;letter-spacing:inherit;border:0;border-radius:0;box-shadow:none;background:#000;padding:0;margin:0;text-transform:none;min-width:0}
#tt-content button:hover{background:#000;color:#fff;text-decoration:underline}#tt-content button:focus-visible{outline:2px solid white;outline-offset:-2px;background:#00f}
#tt-content .tt-index-link{display:flex;justify-content:space-between;width:100%;height:3.6cqw;line-height:3.6cqw;text-align:left;white-space:pre}
#tt-content .tt-index-link span:last-child{color:#fff;margin-left:1ch}#tt-content .tt-index-columns{display:grid;grid-template-columns:1fr 1fr;gap:2ch}#tt-content .tt-index-columns>div{min-width:0}
#tt-content .tt-programme-link{display:block;width:100%;text-align:left;color:#fff;height:7.2cqw}
#tt-content .tt-feature{display:grid;grid-template-columns:1fr 32cqw;align-items:center;height:10.8cqw}#tt-content .tt-mosaic{width:14cqw;height:10.5cqw;align-self:center;image-rendering:pixelated}
#tt-content .tt-slogan{height:3.6cqw;line-height:3.6cqw;background:#00f;color:#ff0;white-space:pre;overflow:hidden;text-align:center}
#teletext .tt-white{color:#fff}#teletext .tt-red{color:#f00}#teletext .tt-green{color:#0f0}#teletext .tt-yellow{color:#ff0}#teletext .tt-cyan{color:#0ff}
#teletext .teletext-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:16px 0 12px}#teletext .teletext-nav button{border:0;border-radius:0;box-shadow:none;background:#000;font:18px/1.2 Teletext50,monospace;padding:6px 2px;min-height:44px;border-bottom:8px solid #f00;color:#fff;white-space:nowrap}#teletext .teletext-nav button:nth-child(2){border-color:#0f0}#teletext .teletext-nav button:nth-child(3){border-color:#ff0}#teletext .teletext-nav button:nth-child(4){border-color:#00f}#teletext .teletext-nav button span{display:none}#teletext .teletext-nav button:hover{background:#222}
#teletext .tt-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font:14px/1.5 var(--mono)}#teletext .tt-controls label{display:flex;align-items:center;gap:10px;font:inherit}#teletext .tt-controls input{width:75px;min-height:44px;background:#000;border:1px solid #fff;color:#fff;font:22px Teletext50,monospace;padding:5px 8px;border-radius:0}#teletext .tt-subpages{display:flex;align-items:center;gap:8px}#teletext .tt-subpages button{min-width:44px;min-height:44px;border:1px solid #777;border-radius:0;background:#000;color:#fff;padding:4px 8px;font:18px Teletext50,monospace}#teletext .tt-subpages button:disabled{opacity:.3;cursor:default}#teletext .tt-help{font:12px/1.5 var(--mono);color:#aaa;margin:12px 0 0}
@media(max-width:600px){#teletext.teletext{padding:8px;margin:8px auto 24px}#teletext .teletext-nav{gap:4px}#teletext .teletext-nav button{font-size:16px}#teletext .tt-controls{gap:8px;font-size:12px}}

#teletext .tt-surface{container-type:inline-size}
#teletext #tt-fullscreen{min-height:44px;border:1px solid #777;background:#000;color:#fff;border-radius:0;padding:6px 12px;font:16px Teletext50,monospace}
#teletext:fullscreen,#teletext.tt-fullscreen-fallback{width:100vw;height:100dvh;max-width:none;margin:0;padding:0;border:0;box-shadow:none;overflow:hidden;background:#000;position:fixed;inset:0}
#teletext.tt-fullscreen-fallback{z-index:100000}body.tt-fullscreen-open{overflow:hidden}
#teletext:fullscreen .tt-surface,#teletext.tt-fullscreen-fallback .tt-surface{position:absolute;left:50%;top:50%;width:1200px;max-width:none;padding:16px;box-sizing:border-box;transform:translate(-50%,-50%) scale(var(--tt-scale,1));transform-origin:center}
#tt-content .quiz-title{font:6cqw/6cqw Teletext50,monospace;height:6cqw;color:#ff0;border-bottom:.4cqw solid #f00;margin-bottom:1cqw;white-space:nowrap}
#tt-content .quiz-welcome,#tt-content .quiz-question{display:grid;grid-template-columns:minmax(0,1fr) 24cqw;gap:2cqw;align-items:center;font:3.2cqw/3.8cqw Teletext50,monospace}
#tt-content .quiz-welcome{height:24cqw}#tt-content .quiz-question{height:18cqw}
#tt-content .quiz-question>div{background:#fff;color:#00f;padding:1cqw}#tt-content .quiz-question .tt-cyan{color:#00f}
#tt-content .quiz-host{width:24cqw;height:24cqw;image-rendering:pixelated}
#tt-content .quiz-question .quiz-host{width:19cqw;height:18cqw;justify-self:center}
#tt-content .quiz-welcome p,#tt-content .quiz-question p,#tt-content .quiz-rules p{margin:0;white-space:normal}
#tt-content .quiz-rules{font:3.2cqw/4.8cqw Teletext50,monospace;margin:2cqw 0}
#tt-content .quiz-status,#tt-content .quiz-hint{font:3cqw/3.6cqw Teletext50,monospace;height:3.6cqw;white-space:nowrap}
#tt-content .quiz-answer{display:flex;align-items:center;gap:2cqw;min-height:7.2cqw;width:100%;text-align:left;font:3.2cqw/3.8cqw Teletext50,monospace;color:#fff;white-space:normal}
#tt-content .quiz-answer>span:last-child{flex:1}#tt-content .quiz-colour{width:3cqw;height:3cqw;flex-shrink:0}#tt-content .quiz-red{background:#f00}#tt-content .quiz-green{background:#0f0}#tt-content .quiz-yellow{background:#ff0}#tt-content .quiz-blue{background:#00f}
#tt-content .quiz-start{font:3.2cqw/4.8cqw Teletext50,monospace;display:block;width:100%;text-align:left}

#tt-content .quiz-host{object-fit:contain}
#tt-content .tt-feed-story{display:block;text-decoration:none;color:inherit}#tt-content .tt-feed-story:hover{text-decoration:underline}#tt-content .tt-feed-story:focus-visible{outline:2px solid #fff;outline-offset:0}
#tt-content .tt-feed-source{display:block;font:3cqw/3.6cqw Teletext50,monospace;white-space:nowrap;text-decoration:underline}

#tt-content button.tt-feed-story{width:100%;text-align:left}
#tt-content .quiz-welcome{height:32cqw}
#tt-content .tt-banner strong{transform:translateY(.65cqw)}
#teletext .tt-subpages,#teletext .tt-controls label{display:none}
#teletext:not(.tt-standalone) .tt-controls label{display:flex}
#tt-content .tt-slogan{line-height:4.2cqw}

#tt-content .tt-mosaic-row{display:block;width:100%;height:3.6cqw;shape-rendering:crispEdges}
