/* Same 40-column / 24-line broadcast plus the historical Fastext row. */
.rotation-progress{font:13px/1.5 Bedstead,monospace;letter-spacing:1px;flex-basis:100%;text-align:center;color:#315b36;white-space:nowrap}
.postcode-examples{font-size:11px;line-height:1.8;display:flex;flex-wrap:wrap;gap:6px 12px}.postcode-examples a{min-height:30px;display:inline-flex;align-items:center}
body[data-skin=videotext] .screen .header{color:#ffff00}
body[data-skin=videotext] .screen .header .page-number{background:#ffff00;color:#000}
body[data-skin=videotext] .screen .page-title{background:#0000ff;color:#fff;border:0}
body[data-skin=videotext] .screen .logo{background:#0000ff}
body[data-skin=videotext] .screen .logo rect{fill:#fff}
body[data-skin=videotext] .screen .tagline{background:#00ffff;color:#000}
body[data-skin=videotext] .screen .page-link .destination{color:#ffff00}
.screen .tt-line.page-link>span:first-child{max-width:calc(100% - 5ch);overflow:hidden}
.touch-links.postcode-sources:not([hidden]){display:flex;flex-wrap:wrap;gap:8px 12px}
.postcode-topics{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.postcode-topics a{min-height:44px;display:inline-flex;align-items:center;font-weight:700;border:1px solid #bbc2b2;background:#e4e8dd;color:#223c30;padding:8px 12px;border-radius:4px;text-decoration:none}
.postcode-topics a[aria-current=page]{background:#fff59d;color:#111;border-color:#8a7100}
.fullscreen-button{width:100%;min-height:44px;margin-top:8px;border:1px solid #bbc2b2;border-radius:4px;padding:8px;background:#e4e8dd;color:#223c30;font:inherit;grid-column:1/-1}
body.teletekst-fullscreen{overflow:hidden;background:#000}
body.teletekst-fullscreen .glass.fullscreen-screen{position:fixed;inset:0;z-index:2147483647;width:100vw;height:100vh;height:100dvh;display:flex;align-items:center;justify-content:center;border:0;border-radius:0;box-shadow:none;background:#000;overflow:hidden}
.glass.fullscreen-screen::backdrop{background:#000}
.glass.fullscreen-screen .screen{flex:none;width:min(100vw,133.333333vh);width:min(100vw,133.333333dvh);height:auto;max-height:100vh;max-height:100dvh;aspect-ratio:4/3;font-size:min(3.333333333vw,4.444444444vh);font-size:min(3.333333333vw,4.444444444dvh)}
.fullscreen-tools{position:absolute;top:8px;right:8px;left:8px;z-index:2;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:fit-content;max-width:calc(100% - 16px);margin:auto;padding:8px;border:1px solid #888;background:#111;color:white;font:14px/1.4 Arial,sans-serif;opacity:0;pointer-events:none;transition:opacity .15s}
.fullscreen-tools[data-visible=true],.fullscreen-tools:hover,.fullscreen-tools:focus-within{opacity:1;pointer-events:auto}
.fullscreen-tools form{display:flex;gap:6px}.fullscreen-tools input{width:9ch;min-width:80px;font:inherit;padding:8px;background:#000;color:white;border:1px solid #aaa}
.fullscreen-tools button{min-height:44px;min-width:44px;font:inherit;background:#222;color:#fff;border:1px solid #aaa;border-radius:2px;padding:8px}.fullscreen-tools button[aria-pressed=true]{background:#fff500;color:#000}
.fullscreen-help{flex-basis:100%;text-align:center;font-size:12px;margin:0}
@media(prefers-reduced-motion:reduce){.fullscreen-tools{transition:none}}
@media(max-width:640px){.postcode-examples{grid-column:1/-1;margin:0}.rotation-progress{font-size:12px}.languages{gap:4px}.languages button{min-width:30px}.sub-controls{justify-content:flex-start}.sub-controls label{white-space:normal}}

.postcode-language-mode{display:flex;align-items:flex-start;gap:.5rem;font-size:.8rem;line-height:1.4;margin:.75rem 0}.postcode-language-mode[hidden]{display:none}.postcode-language-mode input{flex:0 0 auto;margin-top:.15rem}
.postcode-language-mode input[type=checkbox]{width:1rem;height:1rem;padding:0}.postcode-language-mode span{min-width:0;overflow-wrap:anywhere}
.remote .input-help{font-size:12px;line-height:1.5}
.page-entry #page-input{font-size:24px;padding:7px 6px}
@media(max-width:640px){.remote .input-help{display:block;grid-column:1/-1;grid-row:4;margin:0}}
