/* Mobile app-style catalogue only. Desktop and playback layouts stay intact. */
.catalog-mobile-nav { display: none; }
@media (max-width: 680px) {
    .catalog-cinema { --mobile-accent: #c43d69; background: #f6f7f9; }
    .catalog-cinema .site-nav-catalog { height: 64px; min-height: 64px; display: flex; gap: 12px; padding: 10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left)); border-bottom: 0; background: #fff; box-shadow: none; }
    .catalog-cinema .site-nav .site-brand { width: 36px; height: 36px; flex: 0 0 36px; justify-content: center; border-radius: 50%; background: #fff0f5; }
    .catalog-cinema .site-brand img { width: 27px; height: 27px; border-radius: 8px; }
    .catalog-cinema .site-brand strong, .catalog-cinema .site-nav nav, .catalog-cinema .site-nav .nav-room-link { display: none; }
    .catalog-cinema .site-nav .catalog-search { height: 38px; min-width: 0; width: auto; max-width: none; margin: 0; flex: 1; padding: 2px 5px 2px 15px; border: 1px solid #f0f1f3; border-radius: 22px; background: #f3f4f6; }
    .catalog-cinema .catalog-search:focus-within { border-color: #ee9fb8; box-shadow: 0 0 0 2px #fb729913; background: #fff; }
    .catalog-search input { font-size: 14px; }
    .catalog-search .catalog-search-submit { min-width: 38px; min-height: 34px; padding: 4px 8px; border-radius: 50%; color: #626977; }
    .catalog-search-submit span { display: none; }
    .catalog-cinema .home-layout, .catalog-cinema .discovery-page { padding: 0 max(12px,env(safe-area-inset-right)) calc(86px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); }
    .catalog-cinema .catalog-browser { scroll-margin-top: 72px; }
    .catalog-channel-bar { position: sticky; top: 64px; z-index: 10; margin: 0 -12px; padding: 0 12px; height: 48px; background: #fff; border-bottom: 1px solid #edf0f3; }
    .catalog-channels { height: 100%; gap: 12px; justify-content: space-around; }
    .catalog-channels button { position: relative; min-height: 44px; padding: 0 8px; border: 0; border-radius: 0; background: transparent; font-size: 15px; color: #606771; }
    .catalog-channels button[aria-pressed="true"], .catalog-channels button:hover { color: var(--mobile-accent); background: transparent; }
    .catalog-channels button[aria-pressed="true"]::after { content: ''; position: absolute; bottom: 3px; left: calc(50% - 10px); width: 20px; height: 3px; border-radius: 4px; background: #fb7299; }
    .catalog-spotlight { margin-top: 12px; }
    .catalog-spotlight .catalog-hero { min-height: 0; height: 168px; border-radius: 10px; }
    .catalog-hero-copy { height: 100%; padding: 18px; justify-content: end; }
    .catalog-hero .catalog-eyebrow { position: absolute; top: 13px; left: 14px; padding: 3px 7px; font-size: 10px; }
    .catalog-hero h1 { margin: 0 0 4px; font-size: 23px; line-height: 1.3; -webkit-line-clamp: 1; padding-right: 92px; }
    .catalog-hero .hero-tagline { display: none; }
    .catalog-hero .hero-facts { font-size: 11px; margin: 0; max-width: calc(100% - 95px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .catalog-hero .catalog-primary { position: absolute; right: 14px; bottom: 20px; margin: 0; padding: 8px 10px; border-radius: 16px; color: #fff; background: var(--mobile-accent); font-size: 11px !important; }
    .catalog-primary span { margin-left: 5px; }
    .hero-caption { font-size: 9px; right: 12px; top: 14px; }
    .catalog-spotlight .catalog-hero:has(.catalog-hero-image:is([data-poster-shape="portrait"],[data-poster-shape="square"])) { grid-template-columns: minmax(0,1fr) 92px; gap: 14px; padding: 16px; height: auto; min-height: 168px; }
    .catalog-hero:has(.catalog-hero-image:is([data-poster-shape="portrait"],[data-poster-shape="square"])) .catalog-hero-copy { align-self: stretch; justify-content: center; }
    .catalog-hero:has(.catalog-hero-image:is([data-poster-shape="portrait"],[data-poster-shape="square"])) .catalog-eyebrow { position: static; font-size: 9px; padding: 2px 5px; margin-bottom: 7px; }
    .catalog-hero:has(.catalog-hero-image:is([data-poster-shape="portrait"],[data-poster-shape="square"])) h1 { padding: 0; font-size: 20px; -webkit-line-clamp: 2; }
    .catalog-hero:has(.catalog-hero-image:is([data-poster-shape="portrait"],[data-poster-shape="square"])) .hero-facts { max-width: 100%; font-size: 10px; }
    .catalog-hero:has(.catalog-hero-image:is([data-poster-shape="portrait"],[data-poster-shape="square"])) .catalog-primary { position: static; margin-top: 9px; padding: 6px 10px; }
    .catalog-hero:has(.catalog-hero-image:is([data-poster-shape="portrait"],[data-poster-shape="square"])) .hero-caption { display: none; }
    .catalog-section-title { margin: 19px 0 8px; gap: 8px; }
    .catalog-section-title h2 { font-size: 18px; }
    .catalog-refresh { padding: 4px 0 4px 8px; min-height: 36px; border: 0; background: transparent; color: #657080; }
    .catalog-feed-status { margin-bottom: 12px; font-size: 11px; color: #626c7a; }
    .catalog-grid { gap: 16px 10px; }
    .catalog-film { background: #fff; border-radius: 9px; overflow: hidden; }
    .catalog-browser .catalog-film-poster { aspect-ratio: 16/10; border-radius: 9px 9px 0 0; margin-bottom: 7px; }
    .catalog-browser .catalog-title { padding: 0 9px; font-size: 13px; min-height: 38px; line-height: 1.45; }
    .catalog-film > p { padding: 0 9px 10px; margin: 3px 0 0; font-size: 10px; color: #6b7584; }
    .catalog-film > p::before { content: '▹'; margin-right: 4px; color: #c43d69; }
    .catalog-results { padding-top: 3px; }
    .catalog-results .catalog-section-title { margin-top: 12px; }
    .catalog-back { min-height: 32px; }
    .catalog-results .catalog-section-title h2 { font-size: 19px; }
    .catalog-browser #discoveryLiveStatus { font-size: 11px; margin-bottom: 13px; }
    .catalog-mobile-nav { position: fixed; inset: auto 0 0; z-index: 25; display: flex; justify-content: space-around; align-items: stretch; height: calc(60px + env(safe-area-inset-bottom)); padding: 4px env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: #fffffff9; border-top: 1px solid #edeef1; box-shadow: 0 -3px 16px #202f4004; }
    .catalog-mobile-nav button, .catalog-mobile-nav a { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border: 0; padding: 3px; background: transparent; color: #687180; font: inherit; font-size: 11px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
    .catalog-mobile-nav svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .catalog-mobile-nav [aria-current="page"] { color: var(--mobile-accent); font-weight: 600; }
    .catalog-mobile-nav [aria-current="page"] svg { fill: #ffedf3; stroke-width: 1.9; }
    .catalog-keyboard-open .catalog-mobile-nav { display: none; }
    .catalog-cinema button:focus-visible, .catalog-cinema a:focus-visible { outline-color: var(--mobile-accent); }
    .catalog-browser .catalog-detail { margin: auto 0 0; width: 100%; max-width: none; max-height: calc(100dvh - 36px); padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; border: 0; }
    .catalog-detail::before { content: ''; display: block; width: 32px; height: 4px; border-radius: 4px; background: #e0e3e8; margin: -9px auto 16px; }
    .catalog-detail-heading { margin: 18px 0; }
    .catalog-detail #discoveryDetailClose { min-height: 40px; }
    .catalog-source-choices button { min-height: 40px; }
    .catalog-source-choices button[aria-pressed="true"] { color: #ad345b; background: #fff0f5; border-color: #f3b6ca; }
    .catalog-detail .discovery-episode { min-height: 44px; }
    .catalog-cinema .room-entry-dialog { margin: auto 0 0; width: 100%; max-width: none; max-height: calc(100dvh - 24px); padding: 28px 24px calc(25px + env(safe-area-inset-bottom)); border: 0; border-radius: 20px 20px 0 0; }
    .room-entry-dialog .dialog-close { min-width: 44px; min-height: 44px; }
}
@media (max-width: 360px) {
    .catalog-channels { gap: 4px; }.catalog-channels button { font-size: 14px; padding-inline: 6px; }
    .catalog-spotlight .catalog-hero { height: 152px; }.catalog-hero h1 { font-size: 20px; }.catalog-hero-copy { padding: 16px; }
}
