@font-face {
  font-family: "A2 Sans SC";
  src: url("/assets/fonts/a2-noto-sans-sc-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page-bg: #100f14;
  --header-bg: #151419;
  --panel: #211e24;
  --panel-strong: #252128;
  --panel-border: #4c3c47;
  --divider: #393039;
  --text: #f9f5f7;
  --text-soft: #c4bcc2;
  --muted: #8f878e;
  --pink: #f27fab;
  --pink-bright: #ff82b2;
  --pink-soft: #f8a9c4;
  --success: #35c77a;
  --warning: #ffbd4a;
  --danger: #ec4f85;
  --content-width: 1900px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 4% 9%, rgba(113, 55, 81, 0.16) 0 24px, transparent 58px),
    radial-gradient(circle at 97% 38%, rgba(116, 62, 88, 0.14) 0 26px, transparent 68px),
    var(--page-bg);
  font-family: "A2 Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font-family: inherit;
}

button,
input {
  letter-spacing: 0;
}

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

button,
input {
  margin: 0;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 6px;
  color: #171116;
  background: var(--pink-soft);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 30;
  height: 88px;
  border-bottom: 1px solid #45343f;
  background: rgba(21, 20, 25, 0.98);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(var(--content-width), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.site-logo {
  flex: 0 0 auto;
  width: 177px;
}

.site-logo img {
  width: 177px;
  height: 40px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  height: 100%;
  margin-left: 120px;
}

.primary-nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 126px;
  padding: 0 22px;
  color: #b7b0b5;
  font-size: 19px;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: #fff;
  background: linear-gradient(180deg, transparent 35%, rgba(242, 127, 171, 0.06));
}

.primary-nav a.is-active::after {
  position: absolute;
  right: 26px;
  bottom: -1px;
  left: 26px;
  height: 2px;
  content: "";
  background: var(--pink);
  box-shadow: 0 -8px 20px rgba(242, 127, 171, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.global-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  width: 284px;
  height: 40px;
  overflow: hidden;
  border: 1px solid #4c3b47;
  border-radius: 8px;
  background: #211e24;
}

.global-search input {
  min-width: 0;
  padding: 0 16px;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.global-search input::placeholder {
  color: #918990;
}

.global-search button {
  position: relative;
  display: grid;
  width: 48px;
  height: 40px;
  padding: 0;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-left: 1px solid #4c3b47;
  color: var(--pink-soft);
  background: #2a232b;
}

.global-search button:hover,
.global-search button:focus-visible {
  background: #372733;
}

.search-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  content: "";
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.account-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 104px;
  color: #f6f2f4;
  font-size: 17px;
  font-weight: 700;
}

.account-chip:hover,
.account-chip:focus-visible {
  color: var(--pink-soft);
}

.account-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #f1b0c8;
  border-radius: 50%;
  background: #f3d7e0;
}

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

main {
  position: relative;
  isolation: isolate;
  min-height: 1180px;
  padding: 30px 0 52px;
}

.home-shell {
  position: relative;
  z-index: 3;
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1050px) 510px;
  grid-template-rows: 395px 126px;
  gap: 30px;
}

.panel-surface {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: rgba(33, 30, 36, 0.98);
}

.feature-sidebar {
  display: grid;
  grid-row: 1 / span 2;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  min-height: 0;
  padding: 20px 25px 20px 42px;
}

.side-feature {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  border-radius: 8px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.side-feature:hover,
.side-feature:focus-visible {
  background: rgba(242, 127, 171, 0.08);
  transform: translateX(3px);
}

.side-feature img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.side-feature span {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.side-feature strong {
  overflow: hidden;
  color: var(--pink-soft);
  font-size: 20px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-feature small {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 2px;
  background: #211e24;
}

.hero-frame {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 48%;
  padding: 59px 0 0 65px;
}

.hero-kicker {
  margin: 0 0 15px;
  color: #fff;
  font-size: 41px;
  font-weight: 800;
  line-height: 1.18;
}

.hero-kicker span {
  display: inline-block;
  margin-left: 9px;
  color: #ff6da4;
  font-size: 38px;
  transform: rotate(-9deg);
  text-shadow: 0 0 16px rgba(255, 109, 164, 0.6);
}

.hero-copy h1 {
  width: 405px;
  max-width: 100%;
  margin: 0;
}

.hero-copy h1 img {
  width: 100%;
  height: auto;
}

.hero-lead {
  margin: 15px 0 28px;
  color: #eee8ec;
  font-size: 18px;
  line-height: 1.35;
  white-space: nowrap;
}

.hero-search {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 113px;
  align-items: center;
  width: 432px;
  max-width: 100%;
  height: 47px;
  overflow: visible;
  border-radius: 4px;
  background: #493d43;
}

.hero-search > img {
  align-self: end;
  width: 57px;
  height: 48px;
  margin-left: 8px;
  object-fit: contain;
}

.hero-search input {
  min-width: 0;
  height: 100%;
  padding: 0 10px;
  color: #f7f0f3;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.hero-search input::placeholder {
  color: #a69ba2;
}

.hero-search button {
  align-self: stretch;
  cursor: pointer;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(180deg, #ff87b4, #ef6f9e);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(242, 127, 171, 0.25);
}

.hero-search button:hover,
.hero-search button:focus-visible {
  background: linear-gradient(180deg, #ff9ac0, #f47daa);
}

.hero-character {
  position: absolute;
  z-index: 2;
  right: 29px;
  bottom: 0;
  width: 568px;
  height: auto;
  pointer-events: none;
}

.right-stack {
  display: grid;
  grid-template-rows: 255px 110px;
  gap: 30px;
  min-width: 0;
}

.notice-card {
  min-width: 0;
  padding: 20px 29px 15px;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
  border-bottom: 1px solid var(--divider);
}

.card-heading h2 {
  margin: 0;
  color: var(--pink-soft);
  font-size: 20px;
  font-weight: 700;
}

.card-heading a {
  color: var(--pink-soft);
  font-size: 13px;
}

.card-heading a:hover,
.card-heading a:focus-visible {
  color: #fff;
}

.notice-list {
  display: grid;
  gap: 0;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  min-width: 0;
}

.notice-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  height: 33px;
  color: #c8c1c6;
  font-size: 14px;
}

.notice-list a:hover,
.notice-list a:focus-visible {
  color: var(--pink-soft);
}

.notice-list .notice-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-list time {
  color: #aaa2a8;
  text-align: right;
}

.loading-line {
  padding: 20px 0;
  color: var(--muted);
  font-size: 14px;
}

.boss-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 12px 26px 12px 18px;
}

.boss-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.boss-copy {
  display: grid;
  align-self: center;
  min-width: 0;
}

.boss-copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boss-copy time {
  color: var(--pink-bright);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.boss-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boss-tag {
  position: absolute;
  left: 23px;
  bottom: 10px;
  padding: 2px 9px;
  border: 1px solid #b45a7b;
  border-radius: 9px;
  color: var(--pink-soft);
  font-size: 9px;
  line-height: 1;
}

.boss-cat {
  position: absolute;
  right: 16px;
  bottom: 1px;
  width: 95px;
  height: 72px;
  opacity: 0.32;
}

.quick-tools {
  display: grid;
  grid-column: 2 / span 2;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
  min-width: 0;
}

.tool-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 126px;
  padding: 15px 14px 13px 16px;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: #b85c80;
  background: #29232a;
  transform: translateY(-2px);
}

.tool-card > img {
  width: 59px;
  height: 59px;
  object-fit: contain;
}

.tool-card > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.tool-card strong {
  overflow: hidden;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-card em {
  display: grid;
  width: 94px;
  height: 28px;
  margin-top: 2px;
  place-items: center;
  border: 1px solid var(--pink-soft);
  border-radius: 15px;
  color: #f8d0df;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.lower-shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1040px) 470px;
  gap: 30px;
  width: min(1540px, calc(100% - 48px));
  height: 520px;
  margin: 28px auto 0;
}

.news-board,
.ranking-board {
  min-width: 0;
  overflow: hidden;
}

.board-tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 59px;
  margin: 0 29px;
  border-bottom: 1px solid var(--divider);
}

.tab-list {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.tab-list button {
  position: relative;
  min-width: 120px;
  padding: 0 14px;
  cursor: pointer;
  border: 0;
  color: #afa7ad;
  background: transparent;
  font-size: 16px;
  white-space: nowrap;
}

.tab-list button:hover,
.tab-list button:focus-visible,
.tab-list button.is-active {
  color: var(--pink-bright);
}

.tab-list button.is-active::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  content: "";
  background: var(--pink-bright);
  box-shadow: 0 -7px 14px rgba(242, 127, 171, 0.28);
}

.board-tabs > a {
  align-self: center;
  flex: 0 0 auto;
  color: var(--pink-soft);
  font-size: 13px;
}

.board-tabs > a:hover,
.board-tabs > a:focus-visible {
  color: #fff;
}

.news-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  height: calc(100% - 59px);
  padding: 0 29px;
}

.news-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 84px 58px;
  align-items: center;
  gap: 20px;
  min-width: 0;
  border-bottom: 1px solid var(--divider);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-thumb {
  width: 200px;
  height: 75px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3a3be, #f58ab1);
}

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

.news-copy {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.news-copy strong {
  overflow: hidden;
  color: var(--pink-soft);
  font-size: 18px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-copy p {
  overflow: hidden;
  margin: 0;
  color: #90888f;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-badge {
  display: grid;
  min-width: 64px;
  min-height: 25px;
  padding: 3px 9px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: #f18ab0;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}

.news-item:nth-child(2) .news-badge {
  background: #ff8763;
}

.news-item:nth-child(3) .news-badge {
  background: #e7a42e;
}

.news-item:nth-child(4) .news-badge {
  background: #f05c6c;
}

.news-item time {
  color: #9a9298;
  font-size: 12px;
  text-align: right;
}

.board-empty {
  display: grid;
  min-height: 100%;
  margin: 0;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.board-tabs--ranking {
  margin: 0 29px;
}

.board-tabs--ranking .tab-list {
  width: 100%;
}

.board-tabs--ranking .tab-list button {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 4px;
}

.ranking-list {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  height: 397px;
  margin: 0 29px;
  padding: 0;
  list-style: none;
}

.ranking-item {
  display: grid;
  grid-template-columns: 31px 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-bottom: 1px solid var(--divider);
}

.ranking-position {
  color: #f3f0f2;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.ranking-item:nth-child(1) .ranking-position {
  color: #ff5d75;
}

.ranking-item:nth-child(2) .ranking-position {
  color: #ff7c63;
}

.ranking-item:nth-child(3) .ranking-position {
  color: #ffbd4a;
}

.ranking-avatar {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 11px;
  background: #4a4047;
}

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

.ranking-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.ranking-copy strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-trend {
  color: var(--success);
  font-size: 19px;
  text-align: center;
}

.rank-trend.is-down {
  color: var(--danger);
}

.rank-trend.is-flat {
  color: #d0c9cd;
}

.ranking-more {
  display: grid;
  height: 63px;
  place-items: center;
  color: var(--pink-soft);
  font-size: 13px;
}

.ranking-more:hover,
.ranking-more:focus-visible {
  color: #fff;
}

.page-character {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.page-character--archer {
  top: 538px;
  left: max(0px, calc(50% - 1280px));
  width: 540px;
}

.page-character--seated {
  top: 575px;
  right: max(0px, calc(50% - 1280px));
  width: 510px;
}

.ambient-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-heart {
  position: absolute;
  width: 47px;
  height: 47px;
  opacity: 0.52;
}

.heart-one {
  top: 235px;
  left: 2.2%;
  transform: rotate(24deg) scale(0.65);
}

.heart-two {
  top: 650px;
  right: 12.2%;
  transform: rotate(-16deg) scale(0.75);
}

.heart-three {
  top: 865px;
  left: 15.2%;
  transform: rotate(8deg) scale(0.66);
}

.ambient-star {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--pink-bright);
  opacity: 0.75;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(255, 130, 178, 0.68));
}

.ambient-star::before,
.ambient-star::after {
  position: absolute;
  inset: 4px -8px;
  content: "";
  border-radius: 50%;
  background: var(--page-bg);
}

.ambient-star::after {
  inset: -8px 4px;
}

.star-one {
  top: 170px;
  left: 2.6%;
}

.star-two {
  top: 758px;
  left: 2.5%;
}

.star-three {
  top: 188px;
  right: 2.7%;
}

.site-footer {
  position: relative;
  z-index: 10;
  display: grid;
  min-height: 48px;
  place-items: center;
  border-top: 1px solid rgba(76, 60, 71, 0.45);
  color: #716a70;
  background: #100f14;
  font-size: 12px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--pink-soft);
}

@media (max-width: 2160px) {
  .primary-nav {
    margin-left: 70px;
  }

  .primary-nav a {
    min-width: 112px;
    padding: 0 16px;
  }
}

@media (max-width: 1900px) {
  .site-header__inner,
  .home-shell {
    width: calc(100% - 40px);
  }

  .primary-nav {
    margin-left: 42px;
  }

  .primary-nav a {
    min-width: 96px;
    padding: 0 12px;
    font-size: 17px;
  }

  .hero-grid {
    grid-template-columns: 260px minmax(0, 1fr) 440px;
    gap: 24px;
  }

  .right-stack,
  .quick-tools {
    gap: 24px;
  }

  .quick-tools {
    grid-column: 2 / span 2;
  }

  .tool-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 5px;
    padding-right: 9px;
    padding-left: 10px;
  }

  .tool-card strong {
    font-size: 20px;
  }

  .tool-card em {
    width: min(94px, 100%);
  }
}

@media (max-width: 1640px) {
  .primary-nav {
    margin-left: 24px;
  }

  .primary-nav a {
    min-width: 86px;
    padding: 0 9px;
    font-size: 16px;
  }

  .global-search {
    width: 235px;
  }

  .hero-grid {
    grid-template-columns: 242px minmax(0, 1fr) 370px;
    gap: 18px;
  }

  .right-stack,
  .quick-tools {
    gap: 18px;
  }

  .feature-sidebar {
    padding: 20px 19px;
  }

  .side-feature {
    gap: 9px;
  }

  .side-feature strong {
    font-size: 17px;
  }

  .hero-copy {
    padding-left: 45px;
  }

  .hero-kicker {
    font-size: 34px;
  }

  .hero-copy h1 {
    width: 338px;
  }

  .hero-character {
    right: -12px;
    width: 530px;
  }

  .tool-card {
    grid-template-columns: 53px minmax(0, 1fr);
    padding-left: 8px;
  }

  .tool-card > img {
    width: 51px;
    height: 51px;
  }

  .tool-card strong {
    font-size: 17px;
  }

  .tool-card small {
    font-size: 10px;
  }

  .tool-card em {
    height: 25px;
    font-size: 10px;
  }

  .lower-shell {
    width: calc(100% - 80px);
    grid-template-columns: minmax(0, 2.15fr) minmax(390px, 0.95fr);
    gap: 24px;
  }
}

@media (max-width: 1380px) {
  .site-header {
    height: auto;
    min-height: 78px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: 0 18px;
    padding: 14px 0 0;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    height: 45px;
    margin: 8px 0 0;
    overflow-x: auto;
  }

  .primary-nav a {
    flex: 1 0 auto;
    min-width: 110px;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 230px minmax(0, 1fr) 340px;
  }

  .hero-copy {
    width: 54%;
    padding-left: 35px;
  }

  .hero-character {
    right: -70px;
  }

  .notice-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .quick-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 126px;
  }

  .hero-grid {
    grid-template-rows: 395px 270px;
  }

  .feature-sidebar {
    grid-row: 1 / span 2;
  }

  .tool-card {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .tool-card strong {
    font-size: 20px;
  }

  .lower-shell {
    margin-top: 24px;
  }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-rows: 395px 395px auto;
  }

  .feature-sidebar {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .hero-card {
    grid-column: 2;
    grid-row: 1;
  }

  .right-stack {
    grid-column: 2;
    grid-row: 2;
  }

  .quick-tools {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .hero-copy {
    width: 61%;
    padding-left: 38px;
  }

  .hero-character {
    right: -110px;
  }

  .lower-shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .news-board,
  .ranking-board {
    height: 520px;
  }

  .page-character {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .site-header__inner,
  .home-shell,
  .lower-shell {
    width: calc(100% - 24px);
  }

  .site-header__inner {
    padding-top: 12px;
  }

  .site-logo,
  .site-logo img {
    width: 150px;
    height: auto;
  }

  .header-actions {
    gap: 8px;
  }

  .global-search {
    display: none;
  }

  .account-chip {
    min-width: auto;
    gap: 7px;
    font-size: 14px;
  }

  .account-avatar {
    width: 40px;
    height: 40px;
  }

  .primary-nav {
    margin-top: 10px;
    scrollbar-width: none;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  main {
    padding-top: 16px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .hero-card {
    order: 1;
    height: 255px;
    flex: 0 0 255px;
  }

  .feature-sidebar {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 82px);
    gap: 0 10px;
    padding: 10px 12px;
  }

  .side-feature {
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 6px;
  }

  .side-feature img {
    width: 35px;
    height: 35px;
  }

  .side-feature strong {
    font-size: 14px;
  }

  .side-feature small {
    font-size: 10px;
  }

  .right-stack {
    order: 3;
    display: grid;
    grid-template-rows: 238px 110px;
    gap: 14px;
  }

  .quick-tools {
    order: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 110px;
    gap: 12px;
  }

  .tool-card {
    height: 110px;
  }

  .hero-copy {
    width: 65%;
    padding: 35px 0 0 25px;
  }

  .hero-kicker {
    margin-bottom: 6px;
    font-size: 24px;
  }

  .hero-kicker span {
    font-size: 22px;
  }

  .hero-copy h1 {
    width: 230px;
  }

  .hero-lead {
    margin: 10px 0 13px;
    font-size: 12px;
  }

  .hero-search {
    grid-template-columns: 42px minmax(0, 1fr) 78px;
    width: 300px;
    height: 38px;
  }

  .hero-search > img {
    width: 42px;
    height: 36px;
    margin-left: 4px;
  }

  .hero-search button {
    font-size: 12px;
  }

  .hero-character {
    right: -83px;
    width: 350px;
  }

  .lower-shell {
    gap: 14px;
    margin-top: 14px;
  }

  .news-board,
  .ranking-board {
    height: auto;
    min-height: 500px;
  }

  .board-tabs {
    height: auto;
    min-height: 55px;
    margin: 0 14px;
    overflow-x: auto;
  }

  .board-tabs > a {
    display: none;
  }

  .tab-list button {
    min-width: 92px;
    padding: 0 8px;
    font-size: 13px;
  }

  .news-list {
    display: block;
    height: auto;
    padding: 0 14px;
  }

  .news-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 105px;
  }

  .news-thumb {
    width: 92px;
    height: 66px;
    border-radius: 8px;
  }

  .news-copy strong {
    font-size: 14px;
  }

  .news-badge,
  .news-item > time {
    display: none;
  }

  .ranking-list {
    height: 397px;
    margin: 0 15px;
  }

  .ranking-more {
    height: 48px;
  }

  .ambient-layer {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-copy {
    width: 78%;
    padding-left: 18px;
  }

  .hero-character {
    right: -112px;
  }

  .hero-lead {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-search {
    width: 270px;
  }

  .feature-sidebar {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 66px);
  }

  .quick-tools {
    grid-template-columns: 1fr;
  }

  .tool-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .tool-card em {
    width: 94px;
  }

  .board-tabs--ranking .tab-list button {
    min-width: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
