:root {
  --bg:#fff7f8;
  --surface:#ffffff;
  --surface2:#fff5f5;
  --ink:#251113;
  --muted:#6e775d;
  --line:#ffe9e7;
  --accent:#ff6a83;
  --accent2:#bf4e59;
  --on:#ffffff;
  --soft:#ffeeeb;
  --r:26px;
  --maxw:1220px;
  color-scheme:light;
}

*,*::before,*::after {
  box-sizing:border-box;
}

html {
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body {
  margin:0;
  min-width:320px;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  font-size:15px;
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
}

img,video {
  display:block;
  max-width:100%;
}

button,input,select {
  font:inherit;
  color:inherit;
}

button {
  cursor:pointer;
}

h1,h2,h3,h4,p,dl,dd,figure {
  margin:0;
}

h1,h2,h3,h4 {
  line-height:1.3;
  letter-spacing:normal;
  font-weight:800;
}

:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:2px;
}

.mirror-raw {
  display:contents;
}

.app-shell {
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

.app-shell main {
  flex:1 0 auto;
  width:100%;
}

.wrap {
  width:100%;
  max-width:var(--maxw);
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
}

.is-filter-hide {
  display:none!important;
}

.main-nav {
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
}

.main-nav a {
  white-space:nowrap;
}

.hd-tools {
  display:flex;
  align-items:center;
  flex:none;
  margin-left:auto;
}

.hd-search {
  position:relative;
  flex:0 0 256px;
  width:256px;
  height:38px;
  margin:0;
}

.hd-search input {
  width:100%;
  height:38px;
  padding:0 40px 0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface2);
  color:var(--ink);
  font-size:14px;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
}

.hd-search button {
  position:absolute;
  top:4px;
  right:4px;
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font-size:16px;
}

.hd-auth {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:38px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}

.hd-search+.hd-auth {
  margin-left:20px;
}

.hd-auth+.hd-auth {
  margin-left:12px;
}

.hd-reg {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--on);
}

.hd-menu {
  display:none;
  flex:none;
  width:42px;
  height:40px;
  margin-left:auto;
  padding:0;
  border:1px solid var(--line);
  border-radius:10px;
  background:transparent;
  color:inherit;
  font-size:20px;
  line-height:1;
}

.mobile-panel {
  display:none;
}

@media (max-width:1023px) {
  .main-nav,.hd-tools {
    display:none!important;
  }
  .hd-menu {
    display:grid;
    place-items:center;
  }
  .mobile-panel.is-open {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    max-height:calc(100vh - 58px);
    overflow-y:auto;
    padding:12px 16px 16px;
    border-top:1px solid var(--line);
    background:var(--surface);
    color:var(--ink);
  }
}

.mobile-panel a {
  display:block;
  padding:10px 12px;
  border-radius:10px;
  background:var(--surface2);
  font-size:14px;
  text-align:center;
}

.mobile-panel a[aria-current=page],.mobile-panel .m-reg {
  background:var(--accent);
  color:var(--on);
}

.sec {
  margin-top:36px;
}

.movie-card {
  position:relative;
  min-width:0;
}

.card-meta {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
}

.v2-pick {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.v2-pick button {
  height:34px;
  padding:0 15px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--ink);
  font-size:14px;
  line-height:1;
  -webkit-appearance:none;
  appearance:none;
}

.v2-pick button.on {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--on);
  font-weight:700;
}

select[data-v2-chips] {
  display:none;
}

.player-stage {
  position:relative;
  width:100%;
  max-width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#000000;
}

.player-stage video {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  -o-object-fit:cover;
  object-fit:cover;
  background:#000000;
}

.player-overlay {
  position:absolute;
  top:50%;
  left:50%;
  z-index:2;
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  margin:-36px 0 0 -36px;
  padding:0;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:var(--on);
  font-size:26px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.play-error {
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  z-index:3;
  margin:0;
  padding:10px;
  background:rgba(0,0,0,.72);
  color:#ffffff;
  font-size:14px;
  text-align:center;
}

[data-v2-dots] {
  display:flex;
  gap:8px;
}

[data-v2-dots] button {
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.45);
}

[data-v2-dots] button.is-active {
  width:26px;
  background:#ffffff;
}

[data-v2-rail] {
  display:grid;
  grid-auto-flow:column;
  gap:14px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  -ms-scroll-snap-type:x mandatory;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}

[data-v2-rail]::-webkit-scrollbar {
  display:none;
}

[data-v2-rail]>* {
  scroll-snap-align:start;
}

.page-shell {
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:20px 24px 0;
}

.breadcrumb {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:13px;
}

.page-shell>.page-hero {
  margin:14px 0 18px;
}

.page-shell>.page-hero h1 {
  font-size:clamp(24px,3vw,34px);
}

.page-shell>.page-hero p {
  margin-top:6px;
  color:var(--muted);
}

.search-panel {
  display:flex;
  gap:10px;
  margin-bottom:22px;
}

.search-input {
  flex:1 1 auto;
  min-width:0;
  height:48px;
  padding:0 18px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--ink);
  font-size:16px;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
}

.search-input:focus {
  border-color:var(--accent);
}

.primary-btn,.ghost-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:46px;
  padding:0 24px;
  border-radius:999px;
  font-weight:800;
  white-space:nowrap;
}

.primary-btn {
  border:0;
  background:var(--accent);
  color:var(--on);
}

.section-block {
  margin-bottom:24px;
}

.section-block>p {
  color:var(--muted);
}

.section-block>p a {
  color:var(--accent);
  font-weight:700;
}

.content-card {
  padding:clamp(18px,3vw,32px);
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
}

.about-copy h2 {
  margin:26px 0 8px;
  font-size:20px;
}

.about-copy h2:first-child {
  margin-top:0;
}

.about-copy p {
  color:var(--muted);
  line-height:1.85;
}

.stack-actions-row {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:16px 0;
}

.detail-info-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:10px;
  margin-top:8px;
}

.detail-info-grid>div {
  display:flex;
  gap:10px;
  padding:12px 14px;
  border-radius:10px;
  background:var(--surface2);
}

.detail-info-grid>div>span {
  flex:none;
  color:var(--muted);
}

.filter-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}

.filter-row a {
  display:inline-flex;
  align-items:center;
  height:36px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface2);
}

.auth-page {
  display:grid;
  place-items:center;
  min-height:calc(100vh - 300px);
  padding:48px 16px;
}

.auth-form {
  display:grid;
  gap:14px;
  width:100%;
  max-width:400px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
}

.auth-form h1 {
  font-size:26px;
  text-align:center;
}

.auth-form__field input {
  height:44px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface2);
  color:var(--ink);
  font-size:16px;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
}

.auth-form button {
  height:46px;
  border:0;
  border-radius:10px;
  background:var(--accent);
  color:var(--on);
  font-size:16px;
  font-weight:800;
}

.auth-form__foot {
  color:var(--muted);
  font-size:14px;
  text-align:center;
}

.back-top {
  position:fixed;
  right:16px;
  bottom:calc(20px + env(safe-area-inset-bottom));
  z-index:40;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:var(--on);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  opacity:0;
  visibility:hidden;
  transition:opacity .2s;
}

.back-top.show {
  opacity:1;
  visibility:visible;
}

@supports not (aspect-ratio:1/1) {
  .player-stage {
    height:0;
    padding-top:56.25%;
  }
}

@media (max-width:639px) {
  .wrap,.page-shell {
    padding-left:14px;
    padding-right:14px;
  }
  .sec {
    margin-top:28px;
  }
  .movie-grid {
    gap:10px;
  }
  .search-panel .primary-btn {
    padding:0 18px;
  }
  .auth-form {
    padding:24px 18px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
    scroll-behavior:auto!important;
  }
}

:root {
  --page: #fff7f8;
  --surface: #ffffff;
  --surface-soft: #fff5f5;
  --text: #251113;
  --muted: #6e775d;
  --line: #ffe9e7;
  --sky: #ff7b85;
  --blue: #ff6a83;
  --violet: #f34f77;
  --amber: #baa2ff;
  --shadow: 0 18px 45px rgba(37,17,19,0.12);
  --soft-shadow: 0 12px 30px rgba(255,123,133,0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0px;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at left top, rgba(255,123,133,0.16), transparent 34rem), linear-gradient(rgb(255,250,250) 0%, rgb(255,255,255) 42%, rgb(255,247,248) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0px;
  z-index: 50;
  border-bottom: 1px solid rgba(255,225,222,0.72);
  background: rgba(255,255,255,0.88);
  box-shadow: rgba(255,123,133,0.08) 0px 12px 30px;
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1220px, 100% - 32px);
  min-height: 72px;
  margin: 0px auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand, .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: rgb(255,255,255);
  background: linear-gradient(135deg, var(--sky), var(--blue), var(--violet));
  box-shadow: rgba(255,106,131,0.28) 0px 12px 24px;
}

.brand-text {
  font-size: 1.25rem;
  background: linear-gradient(90deg, rgb(234,97,110), rgb(255,106,131), rgb(243,79,119)) text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 0%;
  min-width: 0px;
  overflow: hidden;
}

.desktop-nav a, .mobile-nav a, .footer-links a {
  color: rgb(80,88,64);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.desktop-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.94rem;
}

.desktop-nav a:hover, .desktop-nav a.is-active {
  color: rgb(191,78,89);
  background: rgb(255,238,235);
}

.primary-btn, .hero-search-card button {
  border: 0px;
  color: rgb(255,255,255);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: rgba(255,106,131,0.22) 0px 12px 24px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 1px solid rgb(255,225,222);
  border-radius: 999px;
  padding: 8px 13px;
  color: rgb(191,78,89);
  background: rgb(255,244,244);
}

.mobile-nav {
  display: none;
  width: min(1220px, 100% - 32px);
  margin: 0px auto 14px;
  padding: 12px;
  border: 1px solid rgb(255,225,222);
  border-radius: 18px;
  background: rgb(255,255,255);
  box-shadow: var(--soft-shadow);
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 8px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgb(255,247,248);
}

.hero {
  width: min(1220px, 100% - 32px);
  margin: 28px auto 0px;
}

.hero-stage {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  border-radius: 34px;
  color: rgb(255,255,255);
  background: rgb(17,3,4);
  box-shadow: rgba(17,3,4,0.32) 0px 30px 80px;
}

.hero-slide {
  position: absolute;
  inset: 0px;
  display: grid;
  grid-template-columns: minmax(0px, 1.12fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(34px, 6vw, 78px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.8s, transform 0.8s;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-bg {
  position: absolute;
  inset: 0px;
  z-index: 0;
  opacity: 0.34;
  filter: blur(6px) saturate(1.2);
  transform: scale(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0px;
  z-index: 1;
  background: radial-gradient(circle at 74% 28%, rgba(255,123,133,0.42), transparent 26rem), radial-gradient(circle at 20% 80%, rgba(243,79,119,0.32), transparent 22rem), linear-gradient(90deg, rgba(17,3,4,0.9), rgba(37,17,19,0.64) 52%, rgba(17,3,4,0.86));
}

.hero-content, .hero-poster {
  position: relative;
  z-index: 2;
}

.hero-kicker, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: rgb(191,78,89);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgb(255,225,222);
  padding: 8px 12px;
  border: 1px solid rgba(255,225,222,0.28);
  border-radius: 999px;
  background: rgba(255,123,133,0.12);
}

.hero h1 {
  max-width: 780px;
  margin: 20px 0px 10px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero h2 {
  margin: 0px 0px 14px;
  font-size: clamp(1.7rem, 3.2vw, 3.1rem);
  font-weight: 900;
}

.hero p {
  max-width: 760px;
  color: rgb(255,233,231);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.9;
}

.hero-tags, .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 20px;
}

.hero-tags span, .tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: rgb(191,78,89);
  background: rgb(255,238,235);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-tags span {
  color: rgb(255,238,235);
  border: 1px solid rgba(255,238,235,0.2);
  background: rgba(255,255,255,0.1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-btn, .ghost-btn, .text-btn, .section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.primary-btn:hover, .ghost-btn:hover, .text-btn:hover, .section-link:hover, .movie-card:hover {
  transform: translateY(-3px);
}

.ghost-btn {
  border: 1px solid rgba(255,123,133,0.35);
  color: rgb(255,238,235);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.ghost-btn.light {
  color: rgb(191,78,89);
  background: rgb(255,255,255);
}

.hero-poster {
  display: block;
  width: min(360px, 100%);
  aspect-ratio: 3 / 4;
  justify-self: center;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  box-shadow: rgba(0,0,0,0.45) 0px 30px 70px;
}

.hero-dots {
  position: absolute;
  left: clamp(34px, 6vw, 78px);
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0px;
  border: 0px;
  border-radius: 999px;
  background: rgba(255,255,255,0.38);
}

.hero-dot.is-active {
  width: 34px;
  background: rgb(255,168,168);
}

.hero-search-card {
  position: relative;
  z-index: 5;
  width: min(1080px, 100% - 36px);
  margin: -42px auto 0px;
  padding: 18px;
  border: 1px solid rgba(255,225,222,0.78);
  border-radius: 28px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search-card form {
  display: grid;
  grid-template-columns: auto minmax(0px, 1fr);
  gap: 14px;
  align-items: center;
}

.hero-search-card label {
  color: rgb(191,78,89);
  font-weight: 900;
}

.hero-search-card form div {
  display: flex;
  gap: 10px;
}

.hero-search-card input {
  flex: 1 1 0%;
  min-width: 0px;
  border: 1px solid rgb(255,225,222);
  border-radius: 999px;
  padding: 13px 16px;
  outline: 0px;
  background: rgb(255,247,248);
}

.hero-search-card button {
  padding: 0px 22px;
}

.hero-search-card nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-search-card nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgb(191,78,89);
  background: rgb(255,238,235);
  font-weight: 700;
  font-size: 0.88rem;
}

.content-section {
  width: min(1220px, 100% - 32px);
  margin: 58px auto;
}

.section-heading, .rank-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2, .rank-panel-head h2, .detail-article h2, .detail-side h2 {
  margin: 8px 0px;
  color: rgb(37,17,19);
  font-size: clamp(1.6rem, 2.7vw, 2.55rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.section-link, .text-btn {
  color: rgb(191,78,89);
  background: rgb(255,238,235);
}

.category-grid, .category-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0px, 1fr));
  gap: 16px;
}

.category-card, .category-overview-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgb(255,233,231);
  border-radius: 24px;
  background: linear-gradient(135deg, rgb(255,255,255), rgb(255,244,244));
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover, .category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card span, .category-overview-title {
  color: rgb(191,78,89);
  font-size: 1.15rem;
  font-weight: 900;
}

.category-card strong, .category-overview-links {
  color: rgb(37,17,19);
  line-height: 1.65;
}

.category-card em, .category-overview-card p {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
  font-size: 0.92rem;
}

.category-overview-grid {
  grid-template-columns: repeat(2, minmax(0px, 1fr));
}

.category-overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-overview-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgb(191,78,89);
  background: rgb(255,238,235);
  font-size: 0.88rem;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  gap: 22px;
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(255,225,222,0.8);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: rgba(37,17,19,0.08) 0px 15px 36px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(255,238,235), rgb(255,233,231));
}

.poster-frame img, .rank-cover img, .detail-poster img, .hero-poster img {
  transition: transform 0.45s;
}

.movie-card:hover .poster-frame img, .rank-item:hover .rank-cover img, .hero-poster:hover img {
  transform: scale(1.06);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: auto 0px 0px;
  height: 50%;
  background: linear-gradient(transparent, rgba(17,3,4,0.78));
}

.poster-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgb(255,255,255);
  background: rgba(255,123,133,0.92);
  box-shadow: rgba(234,97,110,0.32) 0px 12px 24px;
}

.card-content {
  padding: 16px;
}

.card-meta, .rank-meta, .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgb(110,119,93);
  font-size: 0.84rem;
}

.card-meta span, .rank-meta span, .detail-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgb(255,244,244);
}

.card-title {
  margin: 12px 0px 8px;
  color: rgb(37,17,19);
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 900;
}

.card-title a:hover, .rank-copy a:hover {
  color: rgb(234,97,110);
}

.card-desc {
  min-height: 3.6em;
  margin: 0px 0px 12px;
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) 390px;
  gap: 30px;
  align-items: start;
}

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid rgb(255,233,231);
  border-radius: 28px;
  background: rgb(255,255,255);
  box-shadow: var(--soft-shadow);
}

.rank-panel-head {
  align-items: center;
  margin-bottom: 16px;
}

.rank-panel-head h2 {
  margin: 4px 0px 0px;
  font-size: 1.5rem;
}

.rank-panel-head a {
  color: rgb(234,97,110);
  font-weight: 800;
}

.rank-list {
  display: grid;
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 82px minmax(0px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgb(255,238,235);
  border-radius: 20px;
  background: rgb(255,255,255);
  box-shadow: rgba(37,17,19,0.06) 0px 10px 24px;
}

.rank-number {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: rgb(255,255,255);
  font-weight: 900;
  background: linear-gradient(135deg, var(--sky), var(--blue));
}

.rank-cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: rgb(255,238,235);
}

.rank-copy h2 {
  margin: 0px 0px 6px;
  font-size: 1.02rem;
  font-weight: 900;
}

.rank-copy p {
  margin: 0px 0px 8px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-list.mini .rank-item {
  grid-template-columns: 38px minmax(0px, 1fr);
}

.rank-list.mini .rank-cover, .rank-list.mini .rank-copy p, .rank-list.mini .rank-meta span:nth-child(2) {
  display: none;
}

.rank-list.full .rank-item {
  grid-template-columns: 58px 112px minmax(0px, 1fr);
  padding: 16px;
}

.page-hero, .detail-hero {
  width: min(1220px, 100% - 32px);
  margin: 28px auto 0px;
  border-radius: 30px;
  color: rgb(255,255,255);
  background: radial-gradient(circle at 86% 18%, rgba(255,123,133,0.48), transparent 26rem), linear-gradient(135deg, rgb(37,17,19), rgb(106,43,52) 58%, rgb(219,79,105));
  box-shadow: rgba(37,17,19,0.22) 0px 24px 70px;
}

.page-hero {
  padding: clamp(34px, 6vw, 68px);
}

.page-hero .kicker {
  color: rgb(255,225,222);
}

.page-hero h1 {
  max-width: 860px;
  margin: 12px 0px 16px;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 780px;
  color: rgb(255,233,231);
  line-height: 1.9;
}

.category-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) auto;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgb(255,225,222);
  border-radius: 24px;
  background: rgb(255,255,255);
  box-shadow: var(--soft-shadow);
}

.filter-panel input, .filter-panel select {
  min-height: 44px;
  border: 1px solid rgb(255,233,231);
  border-radius: 14px;
  outline: 0px;
  padding: 0px 14px;
  color: rgb(37,17,19);
  background: rgb(255,247,248);
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb {
  width: min(1220px, 100% - 32px);
  margin: 24px auto 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgb(110,119,93);
  font-size: 0.95rem;
}

.breadcrumb a {
  color: rgb(234,97,110);
  font-weight: 700;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(230px, 340px) minmax(0px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
}

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255,255,255,0.16);
  border-radius: 30px;
  aspect-ratio: 3 / 4;
  box-shadow: rgba(0,0,0,0.35) 0px 30px 70px;
}

.detail-copy h1 {
  margin: 14px 0px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.detail-copy .kicker {
  color: rgb(255,225,222);
}

.detail-lead {
  max-width: 820px;
  color: rgb(255,233,231);
  font-size: 1.08rem;
  line-height: 1.9;
}

.detail-meta {
  margin: 18px 0px;
}

.detail-meta span {
  color: rgb(255,238,235);
  background: rgba(255,255,255,0.12);
}

.detail-tags {
  margin-bottom: 26px;
}

.watch-section {
  width: min(1220px, 100% - 32px);
  margin: 30px auto 0px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 16 / 9;
  background: rgb(17,3,4);
  box-shadow: rgba(17,3,4,0.26) 0px 24px 70px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-article, .detail-side {
  border: 1px solid rgb(255,233,231);
  border-radius: 28px;
  background: rgb(255,255,255);
  box-shadow: var(--soft-shadow);
}

.detail-article {
  padding: clamp(24px, 4vw, 42px);
}

.detail-article p {
  margin: 0px 0px 16px;
  color: rgb(60,68,44);
  font-size: 1.02rem;
  line-height: 2;
}

.detail-side {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.detail-side h2 {
  font-size: 1.5rem;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 72px minmax(0px, 1fr);
  gap: 12px 14px;
}

.detail-side dt {
  color: rgb(110,119,93);
  font-weight: 700;
}

.detail-side dd {
  margin: 0px;
  color: rgb(37,17,19);
  line-height: 1.65;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid rgb(255,233,231);
  background: rgb(255,247,248);
}

.footer-inner {
  width: min(1220px, 100% - 32px);
  margin: 0px auto;
  padding: 34px 0px;
  display: grid;
  grid-template-columns: minmax(0px, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
}

.footer-logo {
  margin-bottom: 12px;
  color: rgb(191,78,89);
  font-size: 1.2rem;
}

.site-footer p {
  max-width: 650px;
  color: rgb(110,119,93);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(255,238,235);
  color: rgb(191,78,89);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-slide {
    grid-template-columns: 1fr;
  }
  .hero-poster {
    display: none;
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
  }
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
  }
  .split-section, .detail-layout {
    grid-template-columns: 1fr;
  }
  .rank-panel, .detail-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 24px, 1220px);
    gap: 10px;
  }
  .brand-text {
    font-size: 1.05rem;
  }
  .hero, .content-section, .page-hero, .detail-hero, .watch-section, .breadcrumb, .footer-inner {
    width: min(100% - 24px, 1220px);
  }
  .hero-stage {
    min-height: 620px;
    border-radius: 24px;
  }
  .hero-slide {
    padding: 28px;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 13vw, 3.8rem);
  }
  .hero-search-card {
    width: calc(100% - 18px);
    border-radius: 22px;
  }
  .hero-search-card form {
    grid-template-columns: 1fr;
  }
  .hero-search-card form div {
    flex-direction: column;
  }
  .hero-search-card button {
    min-height: 44px;
  }
  .section-heading, .category-hero {
    display: block;
  }
  .category-grid, .category-overview-grid, .movie-grid {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    grid-template-columns: 1fr;
  }
  .filter-selects {
    display: grid;
    grid-template-columns: 1fr;
  }
  .rank-item, .rank-list.full .rank-item {
    grid-template-columns: 42px 82px minmax(0px, 1fr);
    gap: 10px;
    padding: 10px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .detail-poster {
    max-width: 280px;
  }
  .video-shell {
    border-radius: 22px;
  }
  .detail-side dl {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

:root {
  --vr: 3px;
}

.movie-card {
  border-radius: 3px !important;
}

.category-card {
  border-radius: 3px !important;
}

.hero-stage {
  min-height: 580px;
  border-radius: 4px !important;
}

.brand-mark {
  border-radius: 3px !important;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0px, 1fr)) !important;
}

.movie-grid {
  grid-template-columns: repeat(5, minmax(0px, 1fr)) !important;
}

html body {
  background:radial-gradient(circle at left top,rgba(255,123,133,.16),transparent 34rem),linear-gradient(#fffafa 0%,#ffffff 42%,#fff7f8 100%);
  color:var(--text);
}

.site-header {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  background:rgba(255,255,255,.98);
}

.brand {
  flex:none;
}

.brand-text {
  background:linear-gradient(90deg,#ea616e,#ff6a83,#f34f77);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  letter-spacing:normal;
  white-space:nowrap;
}

.desktop-nav a[aria-current=page] {
  color:#bf4e59;
  background:#ffeeeb;
}

.hd-tools {
  margin-left:0;
}

.hd-search {
  padding:0;
}

.hd-search input {
  height:40px;
  padding:0 70px 0 16px;
  border:1px solid #ffe1de;
  background:#ffffff;
  color:var(--text);
}

.hd-search input:focus {
  border-color:#ff7b85;
  box-shadow:0 0 0 4px rgba(255,123,133,.14);
}

.hd-search button {
  width:auto;
  height:32px;
  padding:0 14px;
  border-radius:999px;
  color:#ffffff;
  font-size:14px;
  font-weight:800;
  background:linear-gradient(135deg,var(--sky),var(--blue));
}

.hd-auth {
  height:40px;
  border:1px solid #ffe1de;
  background:#fff4f4;
  color:#bf4e59;
  font-weight:800;
}

.hd-reg {
  border:0;
  color:#ffffff;
  background:linear-gradient(135deg,var(--sky),var(--blue));
  box-shadow:0 12px 24px rgba(255,106,131,.22);
}

.menu-toggle.hd-menu {
  width:auto;
  height:auto;
  margin-left:auto;
  font-size:15px;
}

.mobile-nav.is-open {
  max-height:calc(100vh - 80px);
  overflow-y:auto;
}

.mobile-nav .m-reg {
  color:#ffffff;
  background:linear-gradient(135deg,var(--sky),var(--blue));
}

.m-find {
  grid-column:1/-1;
  display:flex;
  gap:8px;
}

.m-find input {
  flex:1;
  min-width:0;
  border:1px solid #ffe1de;
  border-radius:999px;
  padding:10px 14px;
  font-size:16px;
  outline:0;
  background:#fff7f8;
}

.m-find button {
  border:0;
  border-radius:999px;
  padding:0 16px;
  color:#ffffff;
  font-weight:800;
  background:linear-gradient(135deg,var(--sky),var(--blue));
}

html body main.home-main,html body main.inner-main {
  width:auto;
  max-width:none;
  margin:0;
  padding:0;
}

.hero-rot {
  position:absolute;
  inset:0;
}

.hero-bg {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.hero-content {
  min-width:0;
}

.hero-kicker,.kicker {
  letter-spacing:normal;
  text-transform:none;
}

.hero-big {
  display:block;
  max-width:780px;
  margin:20px 0 10px;
  font-size:clamp(2.5rem,6vw,5.2rem);
  line-height:.95;
  font-weight:900;
  letter-spacing:normal;
}

.hero h2 {
  letter-spacing:normal;
}

.hero-slide {
  padding-top:clamp(28px,4vw,52px);
  padding-bottom:clamp(110px,12vw,150px);
}

.hero-dots {
  bottom:54px;
}

.hero p {
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.hero-dots button {
  width:10px;
  height:10px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.38);
  cursor:pointer;
  transition:width .25s;
}

.hero-dots button.is-active {
  width:34px;
  background:#ffa8a8;
}

.hero-search-card h1 {
  margin:0 0 12px;
  color:#251113;
  font-size:clamp(1.15rem,2vw,1.45rem);
  font-weight:900;
  letter-spacing:normal;
}

.section-heading h2,.rank-panel-head h2,.detail-article h2,.detail-side h2,.page-hero h1,.detail-copy h1 {
  letter-spacing:normal;
}

.movie-card:hover .poster-frame img,.rank-item:hover .rank-cover img,.hero-poster:hover img {
  transform:none;
}

.card-title {
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.category-card strong {
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.category-card em {
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.split-section>div {
  min-width:0;
}

.split-section .movie-grid.year-grid {
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px;
}

.year-grid .card-desc,.year-grid .tag-row {
  display:none;
}

.rank-copy {
  min-width:0;
}

.rank-copy h2 {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.page-hero .breadcrumb {
  width:auto;
  margin:0 0 14px;
}

.cat-stats {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:6px;
}

.cs-stat {
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  padding:7px 14px;
  border-radius:999px;
  color:#ffeeeb;
  background:rgba(255,255,255,.12);
  font-size:13px;
}

.cs-stat b {
  font-size:19px;
  color:#ffa8a8;
}

.category-hero .ghost-btn {
  flex:none;
}

.filter-panel input {
  min-width:0;
}

.cat-pick {
  margin:0 0 14px;
}

.cs-chip {
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:32px;
  padding:5px 12px;
  border:0;
  border-radius:999px;
  color:#bf4e59;
  background:#ffeeeb;
  font-size:.86rem;
  font-weight:700;
  cursor:pointer;
  transition:background .2s,color .2s;
}

.cs-chip em {
  font-style:normal;
  opacity:.7;
}

.cs-chip.on {
  color:#ffffff;
  background:linear-gradient(135deg,var(--sky),var(--blue));
}

.cat-count {
  margin:0 0 18px;
  color:var(--muted);
  font-weight:700;
}

.cat-count b {
  color:#ea616e;
  font-size:1.2rem;
}

.detail-hero,.detail-copy,.watch-section,.video-shell {
  min-width:0;
  max-width:100%;
}

.detail-copy h1 {
  word-break:break-word;
}

.video-shell .player-stage {
  position:absolute;
  inset:0;
}

.video-shell video {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#000000;
}

.video-shell .player-overlay {
  position:absolute;
  top:50%;
  left:50%;
  right:auto;
  bottom:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:82px;
  height:82px;
  margin:-41px 0 0 -41px;
  padding:0;
  border:0;
  border-radius:999px;
  color:#ffffff;
  font-size:2rem;
  background:linear-gradient(135deg,var(--sky),var(--blue));
  box-shadow:0 18px 34px rgba(255,123,133,.34);
  cursor:pointer;
}

.detail-layout {
  min-width:0;
}

.detail-article {
  min-width:0;
}

.category-overview-card {
  min-height:0;
}

.auth-wrap {
  display:grid;
  place-items:center;
}

.auth-form {
  display:grid;
  gap:16px;
  width:min(460px,100%);
  padding:28px;
  border:1px solid #ffe9e7;
  border-radius:28px;
  background:#ffffff;
  box-shadow:var(--soft-shadow);
}

.auth-form h2 {
  margin:0;
  font-size:1.4rem;
  letter-spacing:normal;
}

.auth-form__field {
  display:grid;
  gap:8px;
  color:#3c442c;
  font-weight:700;
  font-size:.92rem;
}

.auth-form__field input {
  width:100%;
  min-height:46px;
  padding:0 14px;
  border:1px solid #ffe9e7;
  border-radius:14px;
  background:#fff7f8;
  outline:0;
}

.auth-form__field input:focus {
  border-color:#ff7b85;
  box-shadow:0 0 0 4px rgba(255,123,133,.14);
}

.auth-form .primary-btn {
  width:100%;
  font-size:1rem;
}

.auth-form__foot {
  margin:0;
  color:var(--muted);
  text-align:center;
}

.auth-form__foot a {
  color:#ea616e;
  font-weight:800;
}

@media (min-width:1024px) {
  .desktop-nav {
    display:flex;
  }
  .menu-toggle.hd-menu {
    display:none;
  }
}

@media (min-width:1024px) and (max-width:1279px) {
  .desktop-nav .nav-cat {
    display:none;
  }
}

@media (max-width:1023px) {
  .desktop-nav {
    display:none;
  }
  .menu-toggle.hd-menu {
    display:inline-flex;
  }
  .movie-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .split-section .movie-grid.year-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media (min-width:1024px) and (max-width:1180px) {
  .movie-grid {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media (max-width:760px) {
  .movie-grid,.split-section .movie-grid.year-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px;
  }
  .category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px;
  }
  .category-card {
    min-height:0;
    padding:14px;
    gap:6px;
  }
  .category-card em {
    display:none;
  }
  .category-card strong {
    font-size:.86rem;
  }
  .card-content {
    padding:12px;
  }
  .card-desc,.movie-card .tag-row {
    display:none;
  }
  .card-title {
    font-size:.95rem;
  }
  .card-meta span:nth-child(3) {
    display:none;
  }
  .hero-big {
    font-size:clamp(2.1rem,13vw,3.8rem);
  }
  .category-hero .ghost-btn {
    margin-top:16px;
  }
  .video-shell .player-overlay {
    width:64px;
    height:64px;
    margin:-32px 0 0 -32px;
    font-size:1.5rem;
  }
}

a,button,input,select,textarea,summary {
  -webkit-tap-highlight-color:transparent;
}

input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration {
  -webkit-appearance:none;
}

select.f-select {
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
  padding-right:32px;
}

img {
  -webkit-user-drag:none;
}

.site-header {
  position:-webkit-sticky;
  position:sticky;
}

[data-v2-rail],[data-chips],.v2-pick {
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
}

a,button {
  touch-action:manipulation;
}

@media print {
  .site-header,.site-footer,.mobile-panel,video {
    display:none!important;
  }
  body {
    background:#ffffff!important;
  }
}

::-webkit-scrollbar {
  width:10px;
  height:10px;
}

::-webkit-scrollbar-thumb {
  border:2px solid #fff7f8;
  border-radius:10px;
  background:#ff7b85;
}

::-webkit-scrollbar-track {
  background:#fff7f8;
}

html {
  scrollbar-color:#ff7b85 #fff7f8;
}

html,body {
  max-width:100%;
  overflow-x:hidden;
}

body {
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -moz-osx-font-smoothing:grayscale;
}

img,video {
  max-width:100%;
}

input,textarea {
  -webkit-appearance:none;
  appearance:none;
  border-radius:0;
}

input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance:none;
}

a,button {
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

.player-stage,.player-card,.player-shell,.video-shell {
  max-width:100%;
}

.search-panel input,.search-panel select {
  min-height:44px;
}

@supports not (aspect-ratio:16/9) {
  .player-stage {
    height:0;
    padding-top:56.25%;
  }
  .player-stage video {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
  }
}

footer,.site-footer {
  padding-bottom:env(safe-area-inset-bottom);
}

@media (max-width:820px) {
  .search-panel {
    -webkit-box-orient:vertical;
    flex-direction:column;
    align-items:stretch;
  }
  .search-panel>* {
    -ms-flex:0 0 auto;
    flex:0 0 auto;
    width:100%;
    min-width:0;
  }
}

@media (max-width:374px) {
  h1 {
    font-size:24px!important;
    line-height:1.3;
  }
  .movie-grid,.video-grid {
    gap:8px!important;
  }
}

@media (max-width:640px) {
  .detail-hero {
    grid-template-columns:110px minmax(0,1fr)!important;
    gap:14px!important;
    align-items:start!important;
  }
  .detail-hero .hero-poster,.detail-poster {
    display:block!important;
    width:110px!important;
    max-width:110px;
    border-width:3px!important;
    border-radius:14px!important;
  }
  .detail-hero img {
    width:100%;
    height:auto;
  }
}
