:root {
  --bg: #0c1019;
  --panel: #131a27;
  --line: #283143;
  --text: #f6f7f9;
  --muted: #98a2b4;
  --cyan: #6be7d8;
  --violet: #a98aff;
  --acid: #d8ff69;
  --paper: #eef0ed;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 99;
}
.skip:focus {
  top: 12px;
}
.top {
  max-width: var(--max);
  height: 70px;
  margin: auto;
  display: grid;
  grid-template-columns: 210px 1fr 70px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.brand b {
  font-size: 21px;
}
.brand span {
  font-size: 12px;
  color: var(--cyan);
}
nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  color: #cbd0d9;
}
nav a:hover {
  color: var(--cyan);
}
#search-open {
  background: transparent;
  border: 1px solid #515b70;
  color: #fff;
  border-radius: 99px;
  padding: 7px 12px;
  cursor: pointer;
}
.search {
  max-width: var(--max);
  margin: auto;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #101725;
}
.search form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.search label {
  font-size: 13px;
  color: var(--cyan);
}
.search input {
  width: min(460px, 55vw);
  background: #090d15;
  border: 1px solid #465065;
  color: #fff;
  border-radius: 4px;
  padding: 9px 12px;
}
.search button {
  background: var(--cyan);
  border: 0;
  border-radius: 4px;
  padding: 9px 16px;
  font-weight: 700;
}
.search p {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}
.mast {
  max-width: var(--max);
  margin: auto;
  padding: 42px 18px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
}
.mast > div > p,
.block small,
.zones > header small,
.ranking small,
.updates small {
  font:
    700 10px ui-monospace,
    monospace;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.mast h1 {
  font-size: 48px;
  line-height: 1;
  margin: 8px 0 12px;
}
.mast > div > span {
  font-size: 14px;
  color: #c4c9d2;
}
.mast > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.portal {
  max-width: var(--max);
  margin: auto;
  padding: 0 18px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 30px;
}
.content {
  min-width: 0;
}
.lead-three {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.lead-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
}
.lead-card > a {
  display: block;
  height: 100%;
}
.lead-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.lead-card:hover img {
  transform: scale(1.025);
}
.lead-main {
  grid-row: 1/3;
  min-height: 490px;
}
.lead-main:after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(4, 7, 12, 0.96));
}
.lead-main > div {
  position: absolute;
  z-index: 2;
  left: 25px;
  right: 25px;
  bottom: 22px;
}
.lead-main span,
.lead-mini span {
  font-size: 11px;
  color: var(--cyan);
}
.lead-main h2 {
  font-size: 28px;
  margin: 4px 0 7px;
}
.lead-main p {
  font-size: 13px;
  color: #d3d7df;
  margin: 0 0 13px;
  max-width: 520px;
}
.watch {
  display: inline-block;
  background: var(--cyan);
  color: #07110f;
  padding: 7px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}
.lead-mini {
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 239px;
  min-width: 0;
}
.lead-mini > a {
  display: block;
  overflow: hidden;
  min-width: 0;
}
.lead-mini img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 239px;
}
.lead-mini > div {
  padding: 20px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lead-mini h2 {
  font-size: 18px;
  line-height: 1.3;
  margin: 7px 0;
}
.lead-mini p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.block,
.zones,
.ranking {
  margin-top: 60px;
}
.block > header,
.ranking > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.block h2,
.zones h2,
.ranking h2,
.updates h2 {
  font-size: 25px;
  margin: 3px 0 0;
}
.block > header > a {
  font-size: 12px;
  color: var(--cyan);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 15px;
  min-width: 0;
}
.card {
  min-width: 0;
}
.card > a:first-child {
  display: block;
  position: relative;
  overflow: hidden;
}
.card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition:
    transform 0.3s,
    filter 0.3s;
}
.card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}
.card > a > span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  background: rgba(5, 8, 13, 0.82);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 2px;
}
.card h3 {
  font-size: 15px;
  margin: 8px 0 1px;
}
.card h3 a:hover {
  color: var(--cyan);
}
.card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.zones > header {
  margin-bottom: 20px;
}
.zones > header h2 {
  margin: 4px 0;
}
.zones > header p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.zone {
  display: grid;
  grid-template-columns: 1fr 44%;
  min-height: 280px;
  margin-top: 14px;
  overflow: hidden;
}
.zone > div {
  padding: 28px 32px;
  background: #1a1630;
}
.zone div > b {
  font:
    700 28px ui-monospace,
    monospace;
  color: var(--violet);
}
.zone small {
  display: block;
  margin-top: 12px;
}
.zone h3 {
  font-size: 23px;
  margin: 3px 0 7px;
}
.zone p {
  font-size: 13px;
  color: #c4bfd7;
  margin: 0;
}
.zone ul {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.zone li a {
  font-size: 11px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.zone > a {
  overflow: hidden;
}
.zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.zone:hover img {
  transform: scale(1.025);
}
.zone-mystery {
  grid-template-columns: 44% 1fr;
}
.zone-mystery > div {
  grid-column: 2;
  grid-row: 1;
  background: #111d27;
}
.zone-mystery > a {
  grid-column: 1;
  grid-row: 1;
}
.zone-mystery div > b {
  color: var(--cyan);
}
.zone-adventure > div {
  background: #27191c;
}
.zone-adventure div > b {
  color: #ff9a72;
}
.ranking {
  background: var(--paper);
  color: #151820;
  padding: 25px 28px;
}
.ranking > header {
  border-color: #c5c9c6;
}
.ranking small {
  color: #6650ac;
}
.rank-list a {
  display: grid;
  grid-template-columns: 42px 1.5fr 1fr 48px;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #c8cbc8;
}
.rank-list a:hover {
  background: #e1e7df;
}
.rank-list i {
  font:
    700 17px ui-monospace,
    monospace;
  color: #6650ac;
}
.rank-list b {
  font-size: 14px;
}
.rank-list span {
  font-size: 12px;
  color: #666c72;
}
.rank-list strong {
  text-align: right;
  font:
    700 18px ui-monospace,
    monospace;
}
.score-note {
  font-size: 10px;
  color: #747a80;
  margin: 12px 0 0;
}
.updates {
  align-self: start;
  position: sticky;
  top: 16px;
  background: #101623;
  border-top: 3px solid var(--acid);
}
.updates-head {
  padding: 18px 19px 14px;
  border-bottom: 1px solid var(--line);
}
.updates-head small {
  color: var(--acid);
}
.updates ol {
  list-style: none;
  padding: 0 19px;
  margin: 0;
}
.updates li {
  border-bottom: 1px solid var(--line);
}
.updates li a {
  display: grid;
  grid-template-columns: 58px 1fr;
  padding: 16px 0;
  gap: 2px 8px;
}
.updates time {
  grid-row: 1/3;
  color: var(--cyan);
  font:
    700 10px ui-monospace,
    monospace;
  padding-top: 3px;
}
.updates li b {
  font-size: 13px;
}
.updates li span {
  font-size: 10px;
  color: var(--muted);
}
.updates li:hover b {
  color: var(--acid);
}
.quick {
  padding: 18px 19px 22px;
}
.quick h3 {
  font-size: 13px;
  margin: 0 0 11px;
}
.quick a {
  display: inline-block;
  font-size: 10px;
  border: 1px solid #3c465a;
  border-radius: 99px;
  padding: 4px 8px;
  margin: 0 4px 6px 0;
}
.quick a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
footer {
  max-width: var(--max);
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 45px 18px 26px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 55px;
  color: #c8cdd6;
}
footer > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
}
footer .foot-brand {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
footer div:first-child p {
  max-width: 470px;
  color: var(--muted);
}
footer h2 {
  font-size: 12px;
  color: var(--cyan);
  margin: 4px 0;
}
footer > p {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 10px;
  color: #727b8d;
}
.skip:focus,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
.lead-card {
  min-width: 0;
}
.lead-card img {
  max-width: 100%;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
@media (max-width: 900px) {
  .portal {
    grid-template-columns: 1fr;
  }
  .updates {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .updates-head {
    grid-column: 1/-1;
  }
  .quick {
    border-left: 1px solid var(--line);
  }
  .lead-three {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .lead-main {
    grid-column: 1/-1;
    grid-row: auto;
    min-height: 430px;
  }
  .lead-mini {
    display: block;
  }
  .lead-mini img {
    min-height: 0;
    aspect-ratio: 3/2;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .top {
    height: auto;
    grid-template-columns: 1fr auto;
    padding-top: 14px;
    padding-bottom: 12px;
  }
  .top nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 18px;
    padding-top: 12px;
  }
  .top nav a {
    white-space: nowrap;
    font-size: 12px;
  }
  .mast {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 34px;
  }
  .mast h1 {
    font-size: 38px;
  }
  .portal {
    padding-left: 14px;
    padding-right: 14px;
  }
  .lead-three {
    display: block;
  }
  .lead-main {
    min-height: 410px;
  }
  .lead-mini {
    display: grid;
    grid-template-columns: 42% 1fr;
    margin-top: 10px;
    min-height: 170px;
  }
  .lead-mini img {
    height: 100%;
    min-height: 170px;
  }
  .cards {
    gap: 20px 10px;
  }
  .card h3 {
    font-size: 13px;
  }
  .zone,
  .zone-mystery {
    grid-template-columns: 1fr;
  }
  .zone > div,
  .zone-mystery > div {
    grid-column: 1;
    grid-row: 2;
    padding: 23px;
  }
  .zone > a,
  .zone-mystery > a {
    grid-column: 1;
    grid-row: 1;
  }
  .zone img {
    aspect-ratio: 3/2;
  }
  .rank-list a {
    grid-template-columns: 28px 1fr 38px;
  }
  .rank-list a span {
    grid-column: 2/4;
    grid-row: 2;
  }
  .rank-list a strong {
    grid-column: 3;
    grid-row: 1;
  }
  .updates {
    display: block;
  }
  .quick {
    border-left: 0;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
  footer > div:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 390px) {
  .mast,
  .top,
  footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  .lead-main {
    min-height: 380px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .card p {
    display: none;
  }
  .ranking {
    padding: 20px 18px;
  }
}
