:root {
  color-scheme:dark;
  --bg:#0b0c19;
  --panel:#151729;
  --panel2:#1b1a31;
  --ink:#f9f7ff;
  --muted:#a9a9c1;
  --line:#302c46;
  --red:#ff506f;
  --purple:#a985ff;
  --max:1220px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  line-height:1.65
}

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

button,input {
  font:inherit
}

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

.container {
  width:min(calc(100% - 44px),var(--max));
  margin:auto
}

.skip {
  position:absolute;
  top:-80px;
  left:10px;
  background:#fff;
  color:#111;
  z-index:99;
  padding:8px
}

.skip:focus {
  top:10px
}

.header {
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(12,12,26,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08)
}

.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:74px
}

.brand {
  display:flex;
  align-items:center;
  gap:11px;
  white-space:nowrap
}

.mark {
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#ff6c77,#c72d67);
  border-radius:13px;
  font-size:21px;
  box-shadow:0 5px 20px #e73f6344
}

.brandname {
  font-size:23px;
  font-weight:900;
  letter-spacing:1px
}

.brandsub {
  display:block;
  font-size:9px;
  letter-spacing:2px;
  color:#aaa5c0;
  font-weight:500
}

.links {
  display:flex;
  align-items:center;
  gap:23px;
  font-size:14px;
  color:#c8c4d8
}

.links a:hover,.links a.active {
  color:#ff738e
}

.navsearch {
  display:flex;
  align-items:center;
  background:#1b1b30;
  border:1px solid #37304a;
  border-radius:24px;
  padding:4px 5px 4px 15px;
  min-width:200px
}

.navsearch input {
  background:transparent;
  outline:0;
  border:0;
  color:#fff;
  min-width:0;
  width:155px;
  font-size:12px
}

.navsearch button {
  background:var(--red);
  color:#fff;
  border:0;
  border-radius:22px;
  padding:6px 12px;
  cursor:pointer
}

.hero {
  position:relative;
  min-height:515px;
  overflow:hidden;
  isolation:isolate;
  background:#16132b
}

.hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#111124 0%,rgba(15,14,36,.91) 25%,rgba(15,14,36,.52) 54%,rgba(15,14,36,.1) 100%),url('hero.webp') center 40%/cover no-repeat;
  z-index:-1
}

.hero-inner {
  padding:86px 0 89px
}

.eyebrow,.kicker {
  text-transform:uppercase;
  letter-spacing:3px;
  color:#ff8da0;
  font-size:12px;
  font-weight:700
}

.hero h1 {
  font-size:clamp(36px,5.2vw,67px);
  max-width:735px;
  line-height:1.21;
  letter-spacing:-1px;
  margin:16px 0 18px
}

.hero h1 em {
  font-style:normal;
  background:linear-gradient(100deg,#ff7083,#e7b5ff);
  background-clip:text;
  color:transparent
}

.hero p {
  max-width:550px;
  color:#d7d1e2;
  font-size:15px;
  line-height:2
}

.hero-tags {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin:23px 0 28px
}

.hero-tags span,.chip {
  border:1px solid #62516f;
  background:#241f3a99;
  border-radius:30px;
  padding:6px 13px;
  font-size:12px;
  color:#e7dcee
}

.btn {
  display:inline-flex;
  align-items:center;
  gap:12px;
  justify-content:center;
  background:linear-gradient(100deg,#ff5369,#d83b86);
  padding:12px 24px;
  border-radius:10px;
  font-weight:700;
  font-size:14px;
  box-shadow:0 12px 27px #ee416333
}

.btn.alt {
  background:#24213d;
  box-shadow:none;
  border:1px solid #52486b
}

.hero-cta {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.notice {
  background:#141528;
  border:1px solid #2a2940;
  padding:24px 27px;
  border-radius:18px;
  margin-top:-37px;
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  box-shadow:0 18px 38px #0003
}

.notice a {
  padding:0 17px;
  display:flex;
  align-items:center;
  gap:14px;
  border-right:1px solid #36304a
}

.notice a:last-child {
  border:0
}

.notice .ico {
  font-size:27px;
  color:var(--red)
}

.notice strong {
  display:block;
  font-size:15px
}

.notice small {
  color:var(--muted);
  font-size:11px
}

.section {
  padding:70px 0 0
}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:25px
}

.section-head h2 {
  font-size:29px;
  margin:5px 0;
  line-height:1.3
}

.section-head p {
  font-size:13px;
  color:var(--muted);
  margin:0
}

.more {
  font-size:13px;
  color:#ff8096
}

.filters {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:24px
}

.filter {
  border:1px solid #353047;
  color:#c7c2d5;
  background:#181729;
  border-radius:25px;
  padding:8px 16px;
  cursor:pointer;
  font-size:13px
}

.filter.on,.filter:hover {
  border-color:#f05a79;
  background:#38213e;
  color:white
}

.feature {
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  gap:16px
}

.feature a {
  border-radius:18px;
  position:relative;
  overflow:hidden;
  min-height:275px;
  background:#18172a
}

.feature img {
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
  transition:transform .4s
}

.feature a:hover img,.poster:hover img {
  transform:scale(1.045)
}

.feature a:after {
  content:"";
  position:absolute;
  inset:25% 0 0;
  background:linear-gradient(transparent,#0a0a16e8)
}

.feature .info {
  position:absolute;
  bottom:20px;
  left:23px;
  z-index:2
}

.info b {
  font-size:23px;
  display:block
}

.info span {
  font-size:12px;
  color:#d1cbdd
}

.feature .large {
  grid-row:span 1
}

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

.poster {
  display:block;
  overflow:hidden;
  border-radius:15px;
  background:#181829;
  border:1px solid #2e2a43;
  transition:border-color .2s
}

.poster:hover {
  border-color:#ff567e
}

.thumb {
  aspect-ratio:4/3;
  overflow:hidden;
  position:relative
}

.thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s
}

.tag {
  position:absolute;
  left:12px;
  top:12px;
  background:rgba(17,15,34,.78);
  backdrop-filter:blur(6px);
  border:1px solid #ffffff44;
  font-size:11px;
  color:white;
  padding:4px 11px;
  border-radius:20px
}

.poster .details {
  padding:15px 16px 17px
}

.poster h3 {
  font-size:17px;
  margin:0 0 6px
}

.poster p {
  font-size:12px;
  color:var(--muted);
  line-height:1.75;
  margin:0
}

.split {
  display:grid;
  grid-template-columns:1.5fr .85fr;
  gap:23px
}

.article-list,.sidepanel,.story,.aboutbox {
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:18px;
  padding:25px
}

.article-list a {
  display:flex;
  justify-content:space-between;
  gap:15px;
  border-bottom:1px solid var(--line);
  padding:15px 0;
  font-size:15px
}

.article-list a:last-child {
  border:0
}

.article-list a span {
  color:var(--muted);
  font-size:12px
}

.sidepanel {
  background:radial-gradient(circle at 100% 0%,#44234f,#19162e 65%)
}

.sidepanel h3 {
  margin-top:0;
  font-size:23px
}

.sidepanel p,.story p,.aboutbox p {
  color:#c2bfd2;
  font-size:14px;
  line-height:2
}

.ranking {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px
}

.ranking a {
  background:#1c1a30;
  border:1px solid #2d2946;
  border-radius:13px;
  padding:17px;
  display:flex;
  align-items:center;
  gap:13px;
  font-size:14px
}

.ranking b {
  font-size:25px;
  color:#ff657c
}

.footer {
  margin-top:80px;
  padding:45px 0 24px;
  background:#111121;
  border-top:1px solid #332943
}

.footgrid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:45px
}

.footgrid h3 {
  margin-top:0
}

.footgrid p,.footgrid a {
  color:#aca9be;
  font-size:12px
}

.footgrid a {
  display:block;
  margin:9px 0
}

.copyright {
  border-top:1px solid #302b42;
  margin-top:35px;
  padding-top:18px;
  color:#7e7a90;
  font-size:11px;
  display:flex;
  justify-content:space-between;
  gap:18px
}

.pagehero {
  padding:61px 0 35px;
  background:linear-gradient(120deg,#241b38,#111123)
}

.pagehero h1 {
  font-size:38px;
  margin:7px 0
}

.pagehero p {
  color:#c9c3d3;
  max-width:770px
}

.breadcrumbs {
  font-size:12px;
  color:#a9a6ba;
  margin-bottom:15px
}

.reader {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:30px;
  align-items:start
}

.reader img {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:18px
}

.reader h2 {
  font-size:29px;
  margin:8px 0
}

.reader p {
  color:#cac4d9;
  line-height:2
}

.story h2,.aboutbox h2 {
  font-size:22px;
  margin:20px 0 8px
}

.story h2:first-child {
  margin-top:0
}

.story {
  margin-top:25px
}

.smallcards {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px
}

.smallcards a {
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:13px;
  padding:18px
}

.smallcards h3 {
  margin:0
}

.smallcards p {
  color:var(--muted);
  font-size:13px
}

#empty {
  display:none;
  color:var(--muted);
  padding:12px 0
}

@media(max-width:1050px) {
  .links {
    gap:12px
  }
  .navsearch {
    display:none
  }
  .notice {
    grid-template-columns:repeat(2,1fr);
    row-gap:20px
  }
  .notice a:nth-child(2) {
    border:0
  }
  .grid {
    grid-template-columns:repeat(3,1fr)
  }
}

@media(max-width:720px) {
  .container {
    width:min(calc(100% - 30px),var(--max))
  }
  .nav {
    min-height:66px;
    display:block;
    padding:11px 0
  }
  .brandname {
    font-size:19px
  }
  .brandsub {
    font-size:8px
  }
  .mark {
    height:33px;
    width:33px
  }
  .links {
    margin-top:9px;
    overflow-x:auto;
    white-space:nowrap;
    padding-bottom:2px;
    font-size:12px
  }
  .links::-webkit-scrollbar {
    display:none
  }
  .hero {
    min-height:480px
  }
  .hero::before {
    background:linear-gradient(90deg,#111124eb 0%,#111124ad 70%,#1111245c),url('hero.webp') 65% center/cover no-repeat
  }
  .hero-inner {
    padding:64px 0 90px
  }
  .hero h1 {
    font-size:37px
  }
  .hero p {
    font-size:13px
  }
  .notice {
    margin-top:-40px;
    padding:18px 10px;
    gap:15px
  }
  .notice a {
    padding:0 10px;
    gap:6px
  }
  .notice strong {
    font-size:12px
  }
  .notice small {
    font-size:10px
  }
  .notice .ico {
    font-size:20px
  }
  .section {
    padding-top:55px
  }
  .section-head h2 {
    font-size:23px
  }
  .feature {
    grid-template-columns:1fr 1fr
  }
  .feature .large {
    grid-column:span 2;
    min-height:220px
  }
  .feature a {
    min-height:190px
  }
  .feature .info {
    bottom:15px;
    left:15px
  }
  .info b {
    font-size:17px
  }
  .grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }
  .poster .details {
    padding:11px
  }
  .poster h3 {
    font-size:15px
  }
  .split,.reader,.footgrid {
    grid-template-columns:1fr
  }
  .ranking {
    grid-template-columns:repeat(2,1fr)
  }
  .copyright {
    flex-direction:column
  }
  .pagehero h1 {
    font-size:28px
  }
  .smallcards {
    grid-template-columns:1fr
  }
}

@media(max-width:380px) {
  .grid {
    grid-template-columns:1fr 1fr
  }
  .poster p {
    font-size:11px
  }
  .notice small {
    display:none
  }
  .feature a {
    min-height:160px
  }
}

[hidden] {
  display: none !important;
}
