@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/montserrat-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/montserrat-rank-italic.woff2') format('woff2');
  unicode-range: U+0030-0039;
}
:root {
  --bg: #0a0a0a;
  --panel: #141416;
  --line: #ffffff12;
  --text: #f4f4f5;
  --muted: #929298;
  --accent: #f7a8d8;
  --page-gutter: 32px;
  --header-height: 68px;
  --sidebar: 0px;
  font-family: Montserrat, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-padding-top: calc(var(--header-height) + 20px); }
body { background: var(--bg); }
body::-webkit-scrollbar { width: 7px; }
body::-webkit-scrollbar-thumb { background: #cc7cae; border-radius: 8px; }
main { max-width: none; margin: 0; padding: 0; outline: 0; }
.skip-link { z-index: 50; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(#080808df, #0808086b);
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled, .catalog-view .site-header { background: #0a0a0af2; box-shadow: 0 1px #ffffff12; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.site-bar { height: 68px; padding: 0 24px; display: flex; gap: 24px; align-items: center; }
.site-brand { flex: none; font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: -1.8px; }
.site-brand span { color: #f4f4f5; }
.site-brand b { color: var(--accent); }
#search-form { width: clamp(230px, 23vw, 360px); height: 40px; flex: none; gap: 8px; border: 1px solid #ffffff29; border-radius: 14px; background: #ffffff14; padding: 6px 8px 6px 12px; margin: 0; }
#search-form svg { width: 18px; height: 18px; flex: none; color: #a1a1a8; }
#search { color: #eee; font-size: 12px; }
#search::placeholder { color: #94949a; }
#search-form button { padding: 3px 10px; border-radius: 9px; background: var(--accent); color: #171218; font-size: 11px; font-weight: 700; }
.site-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 24px; }
.site-nav > button, .nav-menu > summary { position: relative; padding: 8px 0; background: none; border: 0; color: #eee; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; list-style: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.site-nav > button:hover, .nav-menu > summary:hover, .site-nav .active { color: var(--accent); }
.nav-menu { position: relative; }
.nav-menu:not(.library-menu) > summary::after { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.nav-new { position: absolute; right: -10px; top: -2px; border-radius: 3px; padding: 0 3px; background: #ed2357; color: #fff; font-size: 7px; line-height: 1.5; }
.nav-popover { position: absolute; top: calc(100% + 10px); left: -14px; width: 205px; padding: 7px; border: 1px solid #ffffff26; border-radius: 12px; background: #1a191dfc; box-shadow: 0 16px 50px #0008; }
.nav-popover button { display: flex; align-items: center; width: 100%; gap: 8px; padding: 10px 11px; text-align: left; border: 0; border-radius: 6px; background: none; font-size: 12px; }
.nav-popover button:hover, .nav-popover button.active { background: #ffa5d916; color: var(--accent); }
.library-menu { margin-left: auto; }
.library-menu > summary { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--accent); color: #20141d; border-radius: 4px; }
.library-menu svg { width: 16px; height: 16px; }
.library-menu > summary:hover { color: #20141d; background: #ffb7e1; }
.library-menu .nav-popover { left: auto; right: 0; }
.library-menu .count { margin-left: auto; color: var(--accent); }
.library-mobile-label { display: none; }
.mobile-menu-toggle, .mobile-navigation { display: none; }
.filter-panel { margin: 0; padding: 0 var(--page-gutter); }
.catalog-filters { align-items: center; height: 44px; padding: 0; gap: 24px; background: none; border: 0; border-radius: 0; scrollbar-width: none; }
.catalog-filters::-webkit-scrollbar { display: none; }
.filter-field, .filter-field:nth-child(n) { position: relative; flex: 0 0 auto; }
.filter-field label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.filter-field select { height: 34px; min-height: 34px; width: 122px; padding: 6px 18px 6px 0; border: 0; border-radius: 0; background-color: transparent; color: #d5d5db; font-size: 11px; font-weight: 600; }
.filter-field:first-child select { width: 130px; }
.filter-field:nth-child(5) select { width: 190px; color: #9999a0; }
select option { background: #202024; color: #eee; }
.filter-actions { gap: 10px; }
.filter-actions button { min-height: 28px; padding: 4px 12px; font-size: 10px; border-radius: 5px; }
.filter-actions .secondary-button { background: transparent; color: #99999f; border-color: transparent; }
.filter-error { margin: 0; padding: 5px 0 10px; font-size: 11px; }
.active-filters { padding-bottom: 9px; margin: 0; }
.filter-chip { background: #ffa5d910; border-color: #ffa5d930; }
.filter-chip:hover { background: #ffa5d925; }
.primary-button { background: var(--accent); color: #1b1520; }
.primary-button:hover { background: #ffbee4; }
.home-section { margin: 0 var(--page-gutter) 48px; min-width: 0; scroll-margin-top: calc(var(--header-height) + 20px); }
.cinema-hero { border: 0; border-radius: 0; min-height: 680px; height: 92svh; max-height: 1080px; width: 100%; margin: 0; background: #101014; display: block; }
.cinema-hero::after { display: none; }
.hero-stage { position: absolute; inset: 0; isolation: isolate; }
.hero-stage::after { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(90deg, #0a0a0a96, #0a0a0a12 65%), linear-gradient(0deg, #0a0a0a 0%, #0a0a0ac9 13%, #0a0a0a08 66%, #0a0a0a30); }
.cinema-hero .hero-image { opacity: 1; object-position: center 35%; z-index: -2; }
.cinema-hero .hero-content { position: absolute; left: var(--page-gutter); bottom: 70px; width: min(680px, 54%); max-width: none; padding: 0; }
.cinema-hero .eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hero-title { font-size: clamp(36px, 3.6vw, 66px); font-weight: 900; line-height: 1.12; letter-spacing: -1.7px; margin: 0 0 18px; text-wrap: balance; text-shadow: 0 2px 30px #0008; }
.cinema-hero .hero-original { font-size: 15px; font-weight: 500; color: var(--accent); margin-bottom: 17px; }
.cinema-hero .hero-meta { margin: 0 0 10px; gap: 7px; flex-wrap: wrap; }
.cinema-hero .hero-chip { display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: 11px; font-weight: 750; line-height: 1.7; color: #151519; background: #fff; }
.hero-chip.rating { background: #fff1a4; }
.hero-chip.year { background: #c8f0ff; }
.hero-chip.season { background: #e5d6ff; }
.hero-chip.episode { background: #ffd0e0; }
.cinema-hero .hero-meta span + span::before { content: none; }
.hero-genres { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-genres span { padding: 3px 9px; border-radius: 4px; font-size: 11px; font-weight: 600; color: #dedee2; background: #ffffff16; }
.hero-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #c2c2c7; font-size: 13px; line-height: 1.8; margin: 16px 0; }
.hero-actions { display: flex; align-items: center; gap: 13px; margin-top: 19px; }
.hero-play { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #ffb7e4, #f58bcd); box-shadow: 0 5px 25px #ffa5d939; color: #08090a; }
.hero-play:hover { transform: scale(1.05); }
.hero-play-icon { width: 22px; height: 26px; background: currentColor; clip-path: polygon(5% 0,100% 50%,5% 100%); margin-left: 5px; border-radius: 3px; }
.hero-details { height: 39px; border: 1px solid #ffffff30; border-radius: 22px; padding: 0 17px; background: #1b1b1c75; color: #efeff1; font-size: 12px; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.hero-thumbs { position: absolute; bottom: 70px; right: var(--page-gutter); display: flex; gap: 12px; max-width: 44%; }
.hero-thumb { display: block; flex: 0 1 70px; width: 70px; min-width: 0; height: 48px; overflow: hidden; border-radius: 7px; padding: 0; border: 2px solid transparent; background: #24242a; opacity: .6; transition: opacity .2s, border-color .2s, transform .2s; }
.hero-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-thumb[aria-pressed=true] { border-color: var(--accent); opacity: 1; transform: scale(1.07); }
.hero-thumb:hover { opacity: 1; }
.hero-fallback { padding: 80px var(--page-gutter); }
.home-title { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.75px; color: #f4f4f5; }
.home-title[class*=tone-] { background-clip: text; -webkit-background-clip: text; color: transparent; }
.tone-pink { background-image: linear-gradient(90deg, #f7a8d8, #f9a8d4 50%, #fff); }
.tone-blue { background-image: linear-gradient(90deg, #22d3ee, #7dd3fc 50%, #c7d2fe); }
.tone-hot { background-image: linear-gradient(90deg, #ef4444, #fda4af 50%, #fff); }
.tone-gold { background-image: linear-gradient(90deg, #ffc300, #ff8eae); }
.home-section-header { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.shelf-more { display: inline-flex; align-items: center; flex: none; gap: 10px; background: none; border: 0; color: #e8e8ed; padding: 7px 0; font-size: 12px; }
.shelf-more::after { content: ''; width: 5px; height: 5px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }
.shelf-more:hover { color: var(--accent); }
.topics { position: relative; margin-top: 32px; margin-bottom: 48px; }
.topics .home-title { display: flex; align-items: center; width: fit-content; max-width: 100%; gap: 8px; margin-bottom: 16px; font-weight: 900; letter-spacing: .75px; }
.topics .home-title svg { width: 24px; height: 27px; stroke: #e48abf; flex: none; }
.topic-track { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; }
.topic-track::-webkit-scrollbar { display: none; }
.topic-card { position: relative; isolation: isolate; flex: 0 0 calc((100% - 60px) / 6); min-width: 190px; height: 144px; overflow: hidden; border: 1px solid #ffffff20; border-radius: 18px; padding: 16px; background: #161618; color: #fafafa; text-align: left; scroll-snap-align: start; }
.topic-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #151516 15%, #15151660 100%), linear-gradient(0deg, #151516, transparent 60%); }
.topic-card:hover { border-color: #ffa5d955; }
.topic-art { position: absolute; right: 0; top: 0; width: 80%; height: 100%; z-index: -2; object-fit: cover; opacity: .85; object-position: 70% 30%; }
.topic-card > span { position: absolute; bottom: 16px; left: 16px; max-width: 75%; font-size: 16px; font-weight: 900; line-height: 1.25; text-transform: uppercase; text-wrap: balance; }
.shelf-layout { --card-count: 7; --card-gap: 16px; display: flex; gap: 22px; min-width: 0; }
.shelf-layout.ranked { --card-count: 5; }
.shelf-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--card-count) - 1) * var(--card-gap)) / var(--card-count)); gap: var(--card-gap); flex: 1; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track .movie-card { scroll-snap-align: start; }
.shelf-arrows { display: flex; flex-direction: column; flex: 0 0 52px; gap: 8px; padding-block: 0; }
.shelf-arrow { display: grid; place-items: center; flex: 1; border: 0; border-radius: 7px; background: #242426; color: #e7e7ed; }
.shelf-arrow::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.shelf-arrow.prev::after { transform: rotate(225deg); }
.shelf-arrow:disabled { background: #151517; opacity: .45; }
.shelf-arrow:hover:not(:disabled) { background: #353238; color: var(--accent); }
.poster-wrap { border-radius: 6px; background: #1b1b20; border-color: #ffffff0d; }
.poster-wrap > img { object-fit: cover; }
.poster-wrap::after { inset: 75% 0 0; }
.movie-card .card-play { color: #fff; }
.movie-caption { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-width: 0; }
.movie-caption-text { min-width: 0; flex: 1; }
.card-title { display: block; font-weight: 600; font-size: 14px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ededf0; }
.card-subtitle { display: block; margin: 2px 0 0; font-weight: 400; font-size: 12px; line-height: 18px; color: #8d8d96; }
.card-subtitle span + span::before { content: none; }
.poster-badges { position: absolute; z-index: 1; bottom: 6px; left: 5px; right: 5px; display: flex; flex-wrap: wrap; gap: 3px; }
.poster-badge { display: inline-flex; align-items: center; gap: 3px; border-radius: 3px; padding: 1px 4px; font-size: 9px; font-weight: 700; line-height: 1.5; background: #eee; color: #1d1920; }
.poster-badge::before { content: ''; display: inline-block; width: 6px; height: 5px; border: 1px solid currentColor; border-radius: 1px; opacity: .8; }
.poster-badge.vietsub { background: #a3ead2; }
.poster-badge.thuyet-minh { background: #d4b0ff; }
.poster-badge.long-tieng { background: #ffd27f; }
.movie-rank { flex: none; font-size: 60px; font-weight: 900; line-height: 1; font-style: italic; color: #f772b9; letter-spacing: -4px; min-width: 30px; padding-right: 5px; }
.guide-board { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid #ffffff1a; border-radius: 18px; padding: 24px 0; background: #111112; box-shadow: 0 8px 30px #0002; }
.guide-column { padding: 0 24px; border-right: 1px solid #ffffff0a; min-width: 0; display: flex; flex-direction: column; }
.guide-column:last-child { border: 0; }
.guide-column h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 16px; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.guide-icon { color: var(--accent); font-size: 19px; font-weight: 400; line-height: 1; }
.guide-list { display: grid; gap: 12px; padding: 0 0 0 20px; margin: 0 0 24px; }
.guide-list li { color: #67676e; font-size: 11px; padding-left: 1px; }
.guide-entry { display: flex; align-items: center; gap: 9px; height: 44px; max-width: 100%; border: 0; background: none; padding: 0; text-align: left; }
.guide-poster { width: 30px; height: 44px; border-radius: 4px; object-fit: cover; flex: none; }
.guide-name { font-size: 12px; font-weight: 600; line-height: 1.5; color: #d7d7dc; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.guide-entry:hover .guide-name { color: var(--accent); }
.genre-pill { display: block; padding: 5px 16px; font-size: 12px; font-weight: 600; border-radius: 20px; color: #faf6ff; background: #650b2a; }
.genre-1 { background: #0079a5; }.genre-2 { background: #531091; }.genre-3 { background: #456b00; }.genre-4 { background: #8c4300; }
.guide-more { margin-top: auto; align-self: flex-start; color: #777780; font-size: 12px; }
.home-empty { font-size: 12px; color: var(--muted); margin-block: 14px 25px; }
.guide-column .home-empty { min-height: 150px; }
.catalog { padding: calc(var(--header-height) + 36px) var(--page-gutter) 36px; }
.section-heading h1 { font-weight: 750; font-size: 28px; }
.movie-grid { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 28px 14px; }
.catalog-description { font-size: 11px; max-width: 780px; }
.update-status { font-size: 8px; color: #8f8f98; }
.update-status.verified { color: var(--accent); }
.pagination { margin-block: 30px 10px; }
footer { margin: 0 var(--page-gutter); padding: 30px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-size: 22px; font-weight: 800; letter-spacing: -1px; }
footer p { color: #84848d; font-size: 11px; margin: 0 auto 0 0; }
.movie-dialog { background: #141416; border-color: #ffffff20; }
.player-now-playing { color: #b2a1ae; background: #17151a; }
.player-settings-panel { background: #1b1822ee; }
.detail-content .eyebrow { color: #c49bb3; }
.detail-meta span { color: #c2b8c6; }

@media (min-width: 1900px) {
  .site-bar { gap: 32px; }
  .site-nav { justify-content: flex-start; gap: 32px; }
  .cinema-hero .hero-content, .hero-thumbs { bottom: 80px; }
}
@media (max-width: 1280px) {
  .site-bar { gap: 18px; }
  .site-brand { font-size: 25px; }
  .site-nav { gap: 18px; }
  #search-form { width: 250px; }
  .site-nav > button, .nav-menu > summary { font-size: 11px; }
  .shelf-layout { --card-count: 5; }
  .shelf-layout.ranked { --card-count: 4; }
  .guide-column { padding-inline: 16px; }
  .guide-column h3 { font-size: 12px; }
}
@media (max-width: 1100px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .site-bar { display: grid; grid-template-columns: 28px max-content minmax(180px,1fr) max-content; gap: 18px; }
  .mobile-menu-toggle { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; border: 0; background: none; }
  .mobile-menu-toggle svg { width: 25px; height: 25px; }
  #search-form { width: 100%; }
  .site-nav { display: none; }
  .site-header.menu-open .site-nav { display: flex; position: absolute; top: calc(100% + 8px); left: var(--page-gutter); right: var(--page-gutter); padding: 12px; border: 1px solid #ffffff24; border-radius: 14px; flex-direction: column; align-items: stretch; gap: 2px; background: #151417fa; box-shadow: 0 16px 50px #000a; max-height: calc(100dvh - var(--header-height) - 110px); overflow-y: auto; }
  .site-nav > button, .site-nav .nav-menu > summary { display: block; padding: 12px; font-size: 13px; text-align: left; }
  .site-nav .nav-popover { position: static; width: 100%; box-shadow: none; margin: 0; border: 0; background: #ffffff06; }
  .site-nav .nav-new { right: auto; top: 12px; margin-left: 7px; }
  .library-menu { margin: 0; }
  .cinema-hero { min-height: 620px; height: 78svh; max-height: 820px; }
  .cinema-hero .hero-content { width: 76%; bottom: 110px; }
  .hero-title { font-size: 44px; max-width: 600px; }
  .hero-thumbs { bottom: 30px; gap: 10px; }
  .hero-summary { -webkit-line-clamp: 2; }
  .guide-board { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 24px; }
  .guide-column:nth-child(2) { border-right: 0; }
  .guide-column:nth-child(n+3) { border-top: 1px solid #ffffff0a; padding-top: 24px; }
  .guide-column h3 { font-size: 14px; }
  .mobile-navigation { position: fixed; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: center; bottom: 0; left: 0; right: 0; height: calc(66px + env(safe-area-inset-bottom)); padding: 4px 8px calc(4px + env(safe-area-inset-bottom)); z-index: 11; border-top: 1px solid #ffffff16; background: #0d0d0df0; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .mobile-navigation > button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; min-width: 0; height: 54px; padding: 0; background: none; border: 0; color: #9e9aa1; font-size: 10px; font-weight: 600; }
  .mobile-navigation svg { width: 23px; height: 23px; }
  .mobile-navigation > button.active, .mobile-navigation > button:hover { color: var(--accent); }
  .mobile-home { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; justify-self: center; align-self: start; margin-top: -23px; color: #160f15; background: linear-gradient(135deg,#ffb8e5,#f589cf); box-shadow: 0 4px 24px #f99bd54a; }
  .mobile-home svg { width: 28px; height: 28px; }
}
@media (max-width: 800px) {
  :root { --page-gutter: 24px; }
  .site-bar { gap: 12px; padding-inline: var(--page-gutter); }
  .site-brand { font-size: 24px; }
  .library-menu > summary { padding: 9px 12px; }
  .catalog-filters { gap: 20px; }
  .shelf-layout, .shelf-layout.ranked { --card-count: 4; }
  .shelf-arrows { display: none; }
  .topic-card { min-width: 165px; }
  .movie-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .cinema-hero .hero-content { width: calc(100% - 2 * var(--page-gutter)); }
}
@media (max-width: 560px) {
  :root { --page-gutter: 12px; --header-height: 144px; }
  .site-bar { height: 106px; grid-template-columns: 26px minmax(0,1fr) auto; grid-template-rows: 42px 36px; gap: 8px 10px; padding: 12px 12px 8px; }
  .site-brand { font-size: 24px; letter-spacing: -1.5px; }
  #search-form { grid-column: 1 / -1; grid-row: 2; height: 36px; border-radius: 11px; }
  #search-form button { padding-block: 2px; }
  .library-menu { grid-column: 3; grid-row: 1; }
  .library-menu > summary { padding: 8px 12px; gap: 6px; border-radius: 5px; font-size: 11px; }
  .library-menu .nav-popover { top: calc(100% + 10px); }
  .catalog-filters { height: 38px; gap: 18px; }
  .filter-field select, .filter-field:first-child select { font-size: 11px; width: 112px; }
  .filter-field:nth-child(4) select { width: 126px; }
  .filter-field:nth-child(5) select { width: 195px; }
  .filter-actions button { min-height: 28px; font-size: 10px; }
  .active-filters { padding-top: 3px; }
  .cinema-hero { min-height: calc(var(--header-height) + 340px); height: calc(var(--header-height) + 340px); max-height: none; }
  .cinema-hero .hero-image { object-position: 62% center; opacity: 1; }
  .hero-stage::after { background: linear-gradient(0deg, #0a0a0a, #0a0a0ae8 16%, #0a0a0a65 48%, #0a0a0a00 75%), linear-gradient(90deg, #0a0a0a45, transparent); }
  .cinema-hero .hero-content { width: calc(100% - 24px); bottom: 80px; }
  .hero-title { font-size: 30px; line-height: 1.15; letter-spacing: -.8px; max-width: 350px; margin-bottom: 12px; }
  .cinema-hero .hero-original { font-size: 12px; margin-bottom: 14px; }
  .cinema-hero .hero-chip { font-size: 10px; padding: 3px 7px; line-height: 1.6; }
  .hero-summary, .hero-genres { display: none; }
  .hero-actions { margin-top: 16px; gap: 12px; }
  .hero-play { width: 56px; height: 56px; }
  .hero-play-icon { width: 19px; height: 23px; margin-left: 3px; }
  .hero-details { height: 36px; font-size: 11px; padding-inline: 14px; }
  .hero-thumbs { left: auto; right: 12px; bottom: 32px; max-width: 60%; gap: 10px; }
  .hero-thumb { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; border-width: 1px; }
  .home-section { margin-bottom: 32px; }
  .home-title { font-size: 20px; line-height: 28px; letter-spacing: -.5px; }
  .topics { margin-top: 16px; }
  .topics .home-title { gap: 7px; margin-bottom: 12px; letter-spacing: .5px; }
  .topics .home-title svg { width: 19px; height: 23px; }
  .topic-track { gap: 12px; }
  .topic-card { min-width: 0; flex: 0 0 calc((100% - 26px) / 2); height: 112px; border-radius: 14px; }
  .topic-card > span { bottom: 10px; left: 10px; font-size: 13px; max-width: 85%; }
  .home-section-header { gap: 8px; margin-bottom: 16px; }
  .shelf-more { font-size: 10px; gap: 5px; }
  .shelf-layout { --card-count: 3; --card-gap: 8px; gap: 0; }
  .shelf-layout.ranked { --card-count: 2; --card-gap: 8px; }
  .card-title { font-size: 12px; line-height: 18px; }
  .card-subtitle { font-size: 10px; line-height: 15px; }
  .poster-badges { gap: 2px; bottom: 5px; left: 4px; right: 4px; }
  .poster-badge { font-size: 7px; padding-inline: 3px; }
  .poster-badge::before { width: 5px; height: 4px; }
  .movie-caption { gap: 8px; margin-top: 10px; }
  .movie-rank { font-size: 48px; min-width: 24px; }
  .guide-board { border-radius: 16px; padding-block: 16px; row-gap: 18px; }
  .guide-column { padding-inline: 12px; }
  .guide-column h3 { gap: 6px; font-size: 10px; margin-bottom: 14px; }
  .guide-icon { font-size: 17px; }
  .guide-list { padding-left: 14px; gap: 10px; }
  .guide-list li { font-size: 9px; }
  .guide-entry { height: 38px; gap: 6px; }
  .guide-name { font-size: 10px; }
  .guide-poster { width: 25px; height: 38px; }
  .genre-pill { font-size: 10px; padding: 4px 10px; }
  .guide-more { font-size: 10px; }
  .guide-column .home-empty { font-size: 11px; }
  .catalog { padding-top: calc(var(--header-height) + 24px); }
  .movie-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 8px; }
  .section-heading h1 { font-size: 24px; }
  .section-heading .result-count { font-size: 9px; max-width: 96px; }
  .catalog-description { font-size: 11px; }
  footer { padding-block: 22px; gap: 8px 15px; }
  .footer-brand { font-size: 21px; }
  footer p { font-size: 11px; margin: 0; }
  footer .text-button { width: 100%; text-align: left; font-size: 10px; }
}
@media (max-width: 360px) {
  .hero-title { font-size: 27px; max-width: 290px; }
  .site-brand { font-size: 22px; }
  .library-menu > summary { padding-inline: 8px; }
  .topics .home-title { font-size: 18px; letter-spacing: 0; }
  .card-title { font-size: 11px; }
  .home-section-header { flex-wrap: wrap; gap: 3px; }
  .shelf-more { padding-block: 0; }
}
