@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--bg:#090d16;--panel:#111927;--panel2:#172233;--text:#f2f5fb;--muted:#8d9aae;--line:#ffffff12;--accent:#8de0cf;--gold:#e8c98a}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:radial-gradient(ellipse at 78% -15%,#1c3540 0,transparent 34%),var(--bg);color:var(--text);font-family:'DM Sans','Noto Sans SC',sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}
.top{height:76px;position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:50px;padding:0 max(calc((100vw - 1240px)/2),5vw);background:#090d16ef;border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:800;white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);font-weight:500}.logo{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#b8f3df,#4e9e9c);color:#0b2025}.top nav{display:flex;gap:28px;color:#b0bac9;font-size:13px;flex:1}.top nav a:hover,.cloud-link:hover{color:var(--accent)}.actions{display:flex;align-items:center;gap:20px}.ghost{border:1px solid var(--line);background:#ffffff08;color:#dbe4ee;border-radius:30px;padding:9px 15px;cursor:pointer}.ghost:hover{border-color:#8de0cf77;color:var(--accent)}.cloud-link{font-size:12px;color:var(--accent);white-space:nowrap}
.wrap{max-width:1240px;margin:auto;padding:0 28px}.hero{min-height:390px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:45px;padding:52px 0 45px;border-bottom:1px solid var(--line)}.eyebrow{font-size:9px;letter-spacing:2.4px;color:#82cbbb;font-weight:700}.hero h1{font-size:clamp(38px,5vw,64px);line-height:1.22;letter-spacing:-2px;margin:18px 0}.hero h1 em{font-style:normal;color:var(--accent)}.hero-copy>p{color:#9ba8b9;font-size:14px;line-height:1.9}.hero-actions{display:flex;align-items:center;gap:18px;margin-top:28px}.primary{background:var(--accent);color:#0a2020;padding:12px 18px;border-radius:6px;font-size:12px;font-weight:800}.primary b{margin-left:20px}.hero-actions>span{font-size:10px;color:#778599}.hero-art{height:270px;position:relative;display:grid;place-items:center;overflow:hidden}.halo{position:absolute;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,#5faaa044,transparent 68%);border:1px solid #a4e9d51c}.hero-poster{position:relative;width:235px;height:260px;border-radius:9px;padding:22px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(150deg,#355d61,#172b3a 55%,#121827);box-shadow:22px 25px 65px #0009;transform:rotate(5deg);border:1px solid #ffffff22}.hero-poster:after{content:'';position:absolute;inset:0;background:linear-gradient(35deg,transparent 30%,#a4d9c31c);pointer-events:none}.hero-poster span,.hero-poster small{font-size:8px;letter-spacing:1.7px;color:#b3d9cf}.hero-poster b{font-size:29px;line-height:1.45;letter-spacing:3px}.notice{font-size:11px;color:#7f8da1;padding:16px 0 10px;line-height:1.7}
.quick-filter{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:9px 0 4px}.quick-filter>span{font-size:11px;color:#778599;margin-right:5px}.filter-chip{border:1px solid var(--line);background:#ffffff06;color:#aab6c7;padding:7px 13px;border-radius:30px;font-size:11px;cursor:pointer;transition:.2s}.filter-chip:hover,.filter-chip.active{background:#8de0cf;color:#0a2020;border-color:#8de0cf;font-weight:700}
.section{padding:29px 0 14px}.section[hidden]{display:none!important}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px}.section-head h2{font-size:22px;margin:6px 0 0;letter-spacing:.3px}.source{font-size:10px;color:#718197}.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:19px}.movie{min-width:0}.poster{position:relative;aspect-ratio:2/3;overflow:hidden;border-radius:8px;background:var(--panel2);box-shadow:0 10px 25px #0005}.poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.movie:hover .poster img{transform:scale(1.045)}.score{position:absolute;left:8px;top:8px;padding:5px 7px;border-radius:5px;background:#080d16dd;color:#f3d58c;font-size:10px;font-weight:700;backdrop-filter:blur(8px);z-index:2}.poster:has(img) .fallback{display:none}.poster .fallback{position:absolute;inset:0;display:grid;place-items:center;padding:14px;text-align:center;color:#a8b7c7;font-size:13px;background:linear-gradient(145deg,#1b3942,#151a2a)}.poster img:not([src]),.poster img[src=""]{display:none}.movie h3{font-size:12px;line-height:1.5;margin:9px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{font-size:10px;color:#7e8da1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-links{display:flex;gap:12px;margin-top:8px;font-size:10px}.card-links a{color:#8dd9c9}.card-links a+a{color:#8291a5}.card-links a:hover{color:#f3d58c}.empty{grid-column:1/-1;padding:22px 14px;color:#8391a4;background:#ffffff06;border:1px dashed #ffffff18;border-radius:8px;font-size:12px}
footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;border-top:1px solid var(--line);padding:27px 0 35px;margin-top:35px;color:#728096;font-size:10px}.search-layer{position:fixed;inset:0;z-index:30;background:#050912ef;display:grid;place-items:start center;padding:16vh 18px}.search-layer[hidden]{display:none!important}.search-modal{position:relative;width:min(650px,100%);padding:30px;background:#121b29;border:1px solid var(--line);border-radius:14px;box-shadow:0 25px 90px #0009}.search-modal label{display:block;font-size:18px;font-weight:700;margin-bottom:17px}.close{position:absolute;right:18px;top:14px;background:none;border:0;color:#aab5c4;font-size:25px;cursor:pointer}.search-row{display:flex;gap:8px}.search-row input{flex:1;min-width:0;background:#090f1a;border:1px solid #ffffff20;border-radius:7px;padding:13px;color:white;outline:none}.search-row input:focus{border-color:var(--accent)}.search-row button{border:0;border-radius:7px;padding:0 20px;background:var(--accent);font-weight:700;cursor:pointer}.search-hint{font-size:10px;color:#718197;margin:11px 0 0}.search-results{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px;max-height:42vh;overflow:auto}.result{background:#ffffff08;padding:12px;border-radius:7px;font-size:12px}.result:hover{background:#ffffff12}.result small{display:block;color:#8795a8;margin-top:5px}
@media(max-width:1000px){.cards{grid-template-columns:repeat(5,minmax(0,1fr))}.top{gap:25px}.top nav{gap:16px}}@media(max-width:760px){.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.top{padding:0 18px}.top nav{display:none}.actions{margin-left:auto;gap:12px}.wrap{padding:0 18px}.hero{grid-template-columns:1fr;gap:5px;padding:42px 0 25px}.hero-art{height:220px}.hero-poster{height:205px;width:185px}.hero-poster b{font-size:24px}.hero h1{font-size:42px}}
@media(max-width:480px){.top{height:64px;padding:0 14px;gap:10px}.wrap{padding:0 14px}.actions{gap:9px}.ghost{padding:8px 11px}.cloud-link{font-size:11px}.hero{padding-top:34px}.hero h1{font-size:37px}.hero-copy>p{font-size:13px}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.section{padding-top:24px}.section-head h2{font-size:19px}.source{font-size:9px}.quick-filter{gap:7px}.filter-chip{padding:7px 10px}.card-links{gap:8px;font-size:9px}.search-results{grid-template-columns:1fr}.search-modal{padding:25px 18px}.search-layer{padding-top:12vh}footer{flex-direction:column}}
/* Shiguang latest-release shelves */
.latest-section{padding-top:34px;border-top:1px solid var(--line);margin-top:18px}
.latest-shelf{padding:16px 0 10px;border-top:1px solid var(--line)}
.latest-shelf-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.latest-shelf-head h3{font-size:16px;margin:0;color:var(--text)}
.latest-shelf-head span{font-size:10px;color:var(--muted)}
@media(max-width:480px){.latest-shelf-head h3{font-size:14px}}
/* Shiguang pagination: 18 cards per batch, independent controls */
.section-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.load-more{flex:0 0 auto;border:1px solid #8de0cf55;background:#8de0cf0d;color:var(--accent);border-radius:20px;padding:6px 13px;font-size:11px;line-height:1.4;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.load-more:hover{background:var(--accent);border-color:var(--accent);color:#0a2020}
.load-more[hidden]{display:none!important}
.latest-shelf-head .load-more{margin-left:auto}
@media(max-width:480px){.section-tools{gap:7px}.load-more{padding:5px 10px;font-size:10px}.section-head .source{max-width:48%;text-align:right}}

/* Shiguang sticky section controls: keep each section's title and More button visible while browsing its cards. */
.section:not(.latest-section) > .section-head,
.latest-shelf-head{
  position:sticky;
  top:76px;
  z-index:8;
  min-height:46px;
  padding:9px 12px;
  margin-left:-12px;
  margin-right:-12px;
  margin-bottom:17px;
  border:1px solid #ffffff12;
  border-radius:10px;
  background:rgba(9,13,22,.96);
  box-shadow:0 8px 22px #0005;
  backdrop-filter:blur(14px);
  align-items:center;
}
.latest-shelf-head{margin-bottom:14px}
.section:not(.latest-section) > .section-head .load-more,
.latest-shelf-head .load-more{white-space:nowrap}
@media(max-width:480px){
  .section:not(.latest-section) > .section-head,
  .latest-shelf-head{top:64px;padding:8px 9px;margin-left:-9px;margin-right:-9px;gap:8px}
  .section:not(.latest-section) > .section-head .source,
  .latest-shelf-head>span{max-width:38%;text-align:right;line-height:1.4}
}

/* Shiguang collapse controls */
.load-more[data-collapse-key]{
  border-color:#ffffff24;
  background:#ffffff08;
  color:#aab6c7;
}
.load-more[data-collapse-key]:hover{
  border-color:var(--accent);
  background:var(--accent);
  color:#0a2020;
}
.load-more[data-collapse-key][hidden]{display:none!important}


/* Shiguang button alignment: right-aligned compact pair */
/* Keep More and Collapse adjacent; align the pair to the right. */
.section-tools{
  justify-content:flex-end;
  gap:5px;
}
/* In latest shelves, only the More button pushes the pair to the right. */
.latest-shelf-head .load-more:not([data-collapse-key]){
  margin-left:auto;
}
.latest-shelf-head .load-more[data-collapse-key]{
  margin-left:0;
}
@media(max-width:480px){
  .section-tools{gap:4px}
}


/* Shiguang fixed More position with reserved Collapse slot */
/* The action group is right-aligned; More stays in the same position
   while the hidden Collapse button reserves its slot to the right. */
.section-head > .shelf-action-group,
.latest-shelf-head > .shelf-action-group,
.section-tools > .shelf-action-group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-left: auto;
}
.shelf-action-group .load-more {
  margin-left: 0 !important;
  white-space: nowrap;
}
.shelf-action-group[hidden] {
  display: none !important;
}
.shelf-action-group .load-more[data-collapse-key][hidden] {
  display: inline-flex !important;
  visibility: hidden;
  pointer-events: none;
}
@media(max-width:480px) {
  .section-head > .shelf-action-group,
  .latest-shelf-head > .shelf-action-group,
  .section-tools > .shelf-action-group {
    gap: 4px;
  }
}


/* Shiguang cross-filter controls v1 */
.quick-filter-selects{
  display:flex;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:10px;
  padding:12px 0 8px;
}
.quick-filter-title{
  align-self:center;
  margin-right:4px;
  color:#aab6c7;
  font-size:12px;
  font-weight:700;
}
.filter-field{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:132px;
}
.filter-field>span{
  color:#778599;
  font-size:10px;
}
.filter-field select{
  min-width:0;
  width:100%;
  border:1px solid #ffffff20;
  border-radius:8px;
  padding:8px 30px 8px 11px;
  background:#111927;
  color:#dce5ef;
  font:inherit;
  font-size:11px;
  outline:none;
  cursor:pointer;
}
.filter-field select:focus{border-color:var(--accent)}
.filter-field select option{background:#111927;color:#f2f5fb}
.filter-reset{
  border:1px solid #ffffff24;
  border-radius:8px;
  padding:8px 13px;
  background:#ffffff08;
  color:#aab6c7;
  font-size:11px;
  cursor:pointer;
}
.filter-reset:hover{border-color:var(--accent);color:var(--accent)}
.latest-section[hidden],.latest-shelf[hidden],.section[hidden]{display:none!important}
@media(max-width:600px){
  .quick-filter-selects{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:end;
    gap:9px;
  }
  .quick-filter-title{grid-column:1/-1}
  .filter-field{min-width:0}
  .filter-field select{padding:9px 8px;font-size:11px}
  .filter-reset{min-height:35px}
}



/* Shiguang v2: keep the full 18-item category navigation available on every viewport. */
.top{gap:clamp(10px,2vw,28px)}
.top nav{
  display:flex;
  flex:1 1 0;
  min-width:0;
  gap:clamp(10px,1.35vw,20px);
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  scrollbar-width:none;
  -ms-overflow-style:none;
  overscroll-behavior-x:contain;
}
.top nav::-webkit-scrollbar{display:none}
.top nav a{flex:0 0 auto;white-space:nowrap}
.actions{flex:0 0 auto;gap:12px}
@media(max-width:1000px){
  .top{gap:12px}
  .top nav{gap:12px;font-size:12px}
  .actions{gap:8px}
}
@media(max-width:760px){
  .top{padding:0 14px;gap:10px}
  .top nav{display:flex;gap:12px;min-width:0;flex:1 1 auto;font-size:11px}
  .actions{margin-left:0;gap:7px}
  .cloud-link{display:none}
}
@media(max-width:480px){
  .top{height:64px;padding:0 10px;gap:8px}
  .brand{gap:6px;font-size:16px}
  .brand small{font-size:7px;letter-spacing:1px}
  .logo{width:32px;height:32px}
  .top nav{gap:11px;font-size:10px}
  .actions{gap:5px}
  .ghost{padding:7px 9px}
}
