/* Copyright © 2026 Michael Shaun French, United Kingdom. */
.fire-tv-remote :is(button, input, select, textarea, summary, a[href], [tabindex="0"]):focus {
    outline: 3px solid #ffb300 !important;
    outline-offset: 1px;
}

.fire-tv-remote #composer {
    --action-height: max(46px, calc(56px + var(--bottom-bar-height-offset)));
}
.fire-tv-remote #composer :is(#composerActions, .composer-extra-actions) .composer-button-icon {
    font-size: min(23px, var(--bottom-bar-icon-size));
}
.fire-tv-remote main {
    scroll-padding-top: 58px;
}
/* Optional TV layout. Turning the preview off restores the regular layout. */
body.fire-tv-layout-preview {
    padding: 1.65vh 1.65vw;
    box-sizing: border-box;
}
.fire-tv-layout-preview #boardDialog {
    padding-inline: 1.65vw;
    padding-block: 1.65vh;
}
.fire-tv-layout-preview .board-heading h2 {
    font-size: clamp(22px, 2.8vw, 30px);
}
.fire-tv-layout-preview :is(button, input, select, textarea, summary, a[href], [tabindex="0"]):focus {
    outline: 4px solid #ffcc49 !important;
    outline-offset: 2px;
}
.fire-tv-layout-preview:not(.large)[data-layout="6x6"] #grid .tile {
    min-height: min(var(--tile-height, 112px), 98px);
    padding-block: 5px;
    gap: 4px;
}
.fire-tv-layout-preview:not(.large)[data-layout="6x6"] #grid .tile .symbol {
    max-height: 42px;
    min-height: 0;
}
.fire-tv-layout-preview:not(.large)[data-layout="6x6"] #grid .tile .symbol img {
    max-height: 42px;
    object-fit: contain;
}
.fire-tv-layout-preview #composer {
    --action-height: max(44px, calc(50px + var(--bottom-bar-height-offset)));
}