.tv-player-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(640px, 85%); z-index: 40; padding: 22px 28px; text-align: center; color: white; background: #071b2bf2; border: 1px solid #ff9b29; border-radius: 12px; pointer-events: none; font-size: 18px; line-height: 1.65; box-shadow: 0 8px 32px #0008; }
.tv-mode .playerPage { position: relative; }
.tv-mode .playerPage.playerExpanded { position: fixed; }
html.tv-mode { font-size: 18px; }
.tv-mode .shell { display: grid; grid-template-columns: 220px minmax(0,1fr); }
.tv-mode .sidebar { display: flex; position: sticky; height: 100vh; padding: 24px 16px 50px; }
.tv-mode .content { padding: 28px 30px 56px; overflow: hidden; }
.tv-mode .mobileNav, .tv-mode .mobileBrand, .tv-mode .categoryTrigger { display: none; }
.tv-mode .liveLayout { display: grid; grid-template-columns: 200px minmax(0,1fr); height: calc(100vh - 90px); }
.tv-mode .desktopCategories { display: flex; flex-direction: column; overflow: auto; }
.tv-mode button { min-height: 48px; }
.tv-mode .categoryList button { white-space: normal; text-align: left; }
.tv-mode .gridTwo { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,390px); }
.tv-mode .tileGrid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tv-mode .movieGrid { grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); }
.tv-mode .channelGrid { grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); }
.tv-mode .movieGrid, .tv-mode .channelGrid { overflow: auto; max-height: calc(100vh - 190px); padding: 8px; }
.tv-mode :is(button,input,a,select):focus { outline: 3px solid #ff9b29 !important; outline-offset: 3px; box-shadow: 0 0 0 6px #ff8a002a !important; }
.tv-mode button:focus { background-color: #253b49; }
.tv-mode .playerPage { height: calc(100vh - 90px); }
.tv-mode .playerPage:fullscreen, .tv-mode .playerExpanded { height: 100vh; }
.tv-mode .playerChromeHidden:focus-within { opacity: 1; pointer-events: auto; }
.tv-help { position: fixed; bottom: 0; left: 0; right: 0; z-index: 15; padding: 8px 20px; background: #06121bef; color: #b8c9d5; font-size: 13px; text-align: center; pointer-events: none; }
.tv-keyboard { width: min(760px,90vw); color: white; background: #091b27; border: 1px solid #3c5668; border-radius: 16px; padding: 24px; }
.tv-keyboard::backdrop { background: #000c; }
.tv-keyboard h2 { font-size: 22px; }
.tv-key-preview { display: block; min-height: 50px; padding: 10px; margin-bottom: 16px; border: 1px solid #355267; border-radius: 8px; overflow-wrap: anywhere; }
.tv-key-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 10px; }
.tv-keyboard button { background: #163044; border-radius: 7px; padding: 8px; }
.tv-key-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.tv-key-actions button { flex: 1; }
@media(max-width:1000px) { .tv-mode .shell { grid-template-columns: 160px minmax(0,1fr); } .tv-mode .gridTwo { grid-template-columns: 1fr; } .tv-mode .content { padding: 20px 20px 50px; } .tv-mode .liveLayout { grid-template-columns: 150px minmax(0,1fr); } }
