.screen-catalog { max-width:1160px; margin:32px auto 48px; padding:0 16px; color:#123968; }
.screen-category-back { display:inline-block; margin-bottom:16px; color:#0d6efd; font:600 .9rem/1.5 Roboto,Arial,sans-serif; text-decoration:none; }
.screen-category-back:hover { text-decoration:underline; }
.screen-catalog h1 { margin:0 0 28px; text-align:center; font:700 2rem/1.25 Roboto,Arial,sans-serif; }
.screen-cover-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; align-items:start; }
.screen-cover-card { min-width:0; overflow:hidden; border:1px solid #d9e7fa; border-radius:12px; background:#fff; box-shadow:0 5px 16px #0d6efd16; }
.screen-cover-card img { display:block; width:100%; height:auto; aspect-ratio:2/3; object-fit:contain; background:#fff; }
.screen-cover-caption { padding:12px; }
.screen-cover-caption h2 { margin:0; overflow-wrap:anywhere; font:600 .95rem/1.45 Roboto,Arial,sans-serif; }
.screen-cover-caption p { margin:6px 0 0; color:#647b99; font:400 .8rem/1.4 Roboto,Arial,sans-serif; }
.screen-covers-empty { padding:32px 16px; border:1px solid #d9e7fa; border-radius:12px; text-align:center; color:#647b99; }
@media(max-width:991px) { .screen-cover-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:767px) { .screen-cover-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; } }
@media(max-width:479px) { .screen-catalog { margin-top:24px; }.screen-cover-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.screen-cover-caption { padding:10px; }.screen-catalog h1 { font-size:1.65rem; } }

.screen-poster-credit { margin:24px 0 0; color:#647b99; font:400 .8rem/1.5 Roboto,Arial,sans-serif; }
.screen-poster-credit a { color:#0d6efd; }


/* Category browsing uses the site's existing white and blue card palette. */
.screen-category-header { display:flex; justify-content:space-between; align-items:center; gap:24px; margin:4px 0 28px; }
.screen-category-kicker { margin:0 0 8px; color:#0d6efd; font:700 .75rem/1.5 Roboto,Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.screen-catalog .screen-category-header h1 { margin:0 0 10px; text-align:left; font-size:2.4rem; }
.screen-category-summary { margin:0; color:#647b99; font:400 .9rem/1.5 Roboto,Arial,sans-serif; }
.screen-category-play { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:13px 20px; border:1px solid #0d6efd; border-radius:17.5px; color:white; background:#0d6efd; box-shadow:0 6px 18px #0d6efd32; font:600 .9rem/1.4 Roboto,Arial,sans-serif; text-decoration:none; white-space:nowrap; }
.screen-category-play:hover { color:#fff; background:#0b5ed7; }
.screen-catalog-toolbar { display:flex; justify-content:space-between; gap:16px; margin-bottom:12px; }
.screen-title-search { display:flex; align-items:center; gap:10px; flex:1; max-width:380px; min-height:46px; padding:0 14px; border:1px solid #c7ddfb; border-radius:14px; background:#f5f9ff; color:#0d6efd; }
.screen-title-search input { width:100%; min-width:0; border:0; outline:0; background:none; color:#123968; font:400 .9rem/1.4 Roboto,Arial,sans-serif; }
.screen-title-search:focus-within { outline:3px solid #0d6efd30; border-color:#0d6efd; }
.screen-type-filters { display:flex; gap:4px; padding:4px; border:1px solid #d9e7fa; border-radius:14px; background:#f5f9ff; }
.screen-type-filters button { padding:7px 14px; min-height:36px; border:0; border-radius:10px; background:transparent; color:#647b99; font:600 .85rem/1.4 Roboto,Arial,sans-serif; cursor:pointer; }
.screen-type-filters button[aria-pressed=true] { background:#0d6efd; color:#fff; box-shadow:0 3px 9px #0d6efd28; }
.screen-filter-status { min-height:20px; margin:0 0 16px; color:#647b99; font:400 .8rem/1.5 Roboto,Arial,sans-serif; }
.screen-cover-grid { align-items:stretch; }
.screen-cover-card { display:flex; flex-direction:column; color:#123968; text-decoration:none; transition:transform .18s,border-color .18s,box-shadow .18s; }
.screen-cover-caption { display:flex; flex-direction:column; flex:1; }
a.screen-cover-card:hover { transform:translateY(-4px); border-color:#0d6efd; color:#123968; box-shadow:0 10px 24px #0d6efd25; }
.screen-cover-caption p { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px; margin-bottom:12px; }
.screen-play-cta { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:10px; border-top:1px solid #e6effb; color:#0d6efd; font:600 .85rem/1.4 Roboto,Arial,sans-serif; }
.screen-cover-card.is-unavailable .screen-play-cta { color:#647b99; }
.screen-catalog [hidden],.screen-play-shell [hidden] { display:none!important; }
.screen-filter-empty { padding:36px 12px; text-align:center; color:#647b99; border:1px dashed #c7ddfb; border-radius:14px; }
.screen-catalog a:focus-visible,.screen-catalog button:focus-visible { outline:3px solid #0d6efd; outline-offset:4px; }
.screen-play-shell { max-width:900px; margin:24px auto 40px; padding:0 16px; color:#123968; }
.screen-play-back { display:inline-flex; align-items:center; gap:8px; margin:0 0 20px; color:#0d6efd; font:600 .9rem/1.4 Roboto,Arial,sans-serif; text-decoration:none; }
.screen-play-context { display:flex; align-items:center; justify-content:center; gap:22px; max-width:520px; margin:0 auto 8px; }
.screen-play-poster { width:96px; height:144px; flex-shrink:0; object-fit:contain; background:#fff; border-radius:10px; box-shadow:0 5px 18px #0d6efd20; }
.screen-play-title { margin:0; overflow-wrap:anywhere; font:800 1.6rem/1.25 Roboto,Arial,sans-serif; }
.screen-play-subtitle { margin:10px 0 0; color:#647b99; font:400 .9rem/1.5 Roboto,Arial,sans-serif; }
.screen-play-context.is-category { text-align:center; margin-bottom:16px; }
.screen-play-status { max-width:520px; margin:24px auto; padding:24px; border:1px solid #d9e7fa; border-radius:16px; background:#f5f9ff; text-align:center; }
.screen-play-shell:has(.quizorta:not([hidden])) .screen-play-context,.screen-play-shell:has(.has-result) .screen-play-context { display:none; }
.screen-play-shell .container-quiz { padding-inline:0; }
@media(max-width:600px) { .screen-category-header { align-items:stretch; flex-direction:column; gap:18px; }.screen-category-play { align-self:start; }.screen-catalog-toolbar { flex-direction:column; gap:10px; }.screen-title-search { max-width:none; }.screen-type-filters { align-self:start; }.screen-catalog .screen-category-header h1 { font-size:2rem; }.screen-play-shell { margin-top:18px; }.screen-play-title { font-size:1.35rem; }.screen-play-context { gap:16px; } }
@media(prefers-reduced-motion:reduce) { .screen-cover-card { transition:none; }a.screen-cover-card:hover { transform:none; } }
