:root {
  --accent: #f3a13c;
  --ink: #555c60;
  --light: #999;
  --border: #e6e6e6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #555;
  font:
    14px Arial,
    "Microsoft YaHei",
    sans-serif;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
img {
  object-fit: cover;
  max-width: 100%;
}
.wrap {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: auto;
}
.topbar {
  height: 41px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.topbar .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toplinks {
  display: flex;
  gap: 30px;
  align-items: center;
}
.textbutton {
  padding: 0;
}
.toplinks a:hover,
.textbutton:hover {
  color: var(--accent);
}
.masthead {
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 290px;
}
.brand img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-size: 20px;
  margin-bottom: 7px;
}
.brand em {
  font-size: 14px;
}
.searchbox {
  width: 320px;
  margin-left: 35px;
}
.searchform {
  height: 40px;
  border: 2px solid #df9147;
  border-radius: 24px;
  display: flex;
  padding: 0 10px 0 15px;
}
.searchform input {
  min-width: 0;
  width: 100%;
  outline: none;
  border: 0;
  background: none;
}
.searchform button {
  font-size: 28px;
  line-height: 30px;
  color: #df9147;
  padding: 0;
}
.hotwords {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
  padding: 5px 10px;
}
.hotwords span {
  color: #e69449;
}
.hotwords button {
  padding: 0;
  font-size: 12px;
}
.header-actions {
  display: flex;
  gap: 52px;
  margin-right: 130px;
}
.header-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.header-action img,
.wechat-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.wechat-icon {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #7fbf36;
  color: white;
  font-size: 31px;
}
.navbar {
  height: 44px;
  border-top: 1px solid #eee;
  box-shadow: 0 8px 15px #00000009;
}
.navlinks {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navlinks a {
  display: block;
  width: 162px;
  text-align: center;
  line-height: 30px;
  font-size: 16px;
  border-radius: 30px;
}
.navlinks a.active {
  background: var(--accent);
  color: white;
}
.stickybar {
  display: none;
}
.scrolled .stickybar {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #eee;
  height: 41px;
}
.stickybar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.stickybar nav {
  display: flex;
  gap: 20px;
}
.section {
  padding: 52px 0 0;
}
.section-title {
  text-align: center;
  margin: 0 0 48px;
  position: relative;
}
.section-title h1,
.section-title h2 {
  display: inline-block;
  margin: 0;
  color: #535b60;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.3;
}
.section-title h1 span,
.section-title h2 span {
  color: #e99542;
}
.section-title p {
  font-size: 20px;
  margin: 5px 0 0;
  font-weight: 500;
}
.section-title.decorated:before,
.section-title.decorated:after {
  content: "";
  position: absolute;
  top: 26px;
  width: 24%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #dfb862);
}
.section-title.decorated:before {
  left: 0;
}
.section-title.decorated:after {
  right: 0;
  transform: rotate(180deg);
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 10px;
}
.hot-card {
  min-width: 0;
  box-shadow: 0 0 10px #0005;
  transition: transform 0.2s;
}
.hot-card:hover {
  transform: translateY(-5px);
}
.hot-art {
  height: 435px;
  position: relative;
  display: block;
  overflow: hidden;
  background: #eee;
}
.hot-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 90px 10px 12px;
  background: linear-gradient(transparent, #000c);
  color: #fff;
}
.hot-caption strong {
  display: block;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.hot-caption p {
  font-size: 12px;
  margin: 7px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hot-caption small {
  display: block;
  margin-top: 12px;
  font-size: 13px;
}
.hot-caption small b {
  font-size: 26px;
  color: #ffbf52;
  margin-right: 14px;
}
.card-actions {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(100deg, #f2bb66, #f49a4e);
  color: white;
  font-size: 18px;
  font-weight: bold;
}
.card-actions a {
  width: 50%;
  text-align: center;
}
.card-actions a + a {
  border-left: 2px solid #fff8;
}
.more {
  display: block;
  border: 3px solid #de9440;
  color: #dd9240;
  border-radius: 40px;
  width: 180px;
  line-height: 52px;
  text-align: center;
  margin: 50px auto 0;
  font-size: 22px;
  font-weight: bold;
}
.more:hover {
  background: var(--accent);
  color: white;
}
.h5-section {
  padding-top: 110px;
}
.h5-section .section-title {
  margin-bottom: 50px;
}
.h5-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px 20px;
  padding: 0 15px;
}
.mini-card {
  width: 270px;
  height: 100px;
  border: 1px solid #ccc;
  border-radius: 22px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.mini-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 10px #f3a13c25;
}
.mini-card img {
  width: 74px;
  height: 74px;
  border-radius: 15px;
  flex-shrink: 0;
}
.mini-card div {
  min-width: 0;
}
.mini-card strong {
  font-size: 17px;
  font-weight: 400;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-card p {
  font-size: 13px;
  color: #9ba4af;
  margin: 6px 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-card small {
  font-size: 13px;
}
.recommend-section {
  padding-top: 110px;
}
.recommend-view {
  position: relative;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.recommend-card {
  border: 1px solid #eee;
  display: block;
}
.recommend-card > .landscape {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.recommend-info {
  display: flex;
  padding: 15px;
  gap: 12px;
  align-items: center;
}
.recommend-info img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
}
.recommend-info div {
  min-width: 0;
}
.recommend-info strong {
  display: block;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-info p {
  color: #999;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.carousel-arrow {
  position: absolute;
  top: 38%;
  background: #0007;
  color: white;
  font-size: 30px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  z-index: 1;
}
.carousel-arrow.prev {
  left: -20px;
}
.carousel-arrow.next {
  right: -20px;
}
.news-section {
  padding: 110px 0 70px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  border: 1px solid #eee;
  overflow: hidden;
}
.news-card img {
  width: 100%;
  height: 205px;
}
.news-card div {
  padding: 22px;
}
.news-card strong {
  font-size: 18px;
  display: block;
  line-height: 1.7;
}
.news-card p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #999;
}
.news-card time {
  font-size: 13px;
  color: #bbb;
}
.site-footer {
  border-top: 1px solid #eee;
  background: #f8f8f8;
  padding: 40px 0;
  color: #888;
  font-size: 12px;
  line-height: 2;
}
.footer-main {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-brand {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.footer-qr {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-left: auto;
}
.footer-copy {
  padding-top: 20px;
  text-align: center;
}
.footer-copy a:hover {
  color: var(--accent);
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-main h3 {
  font-size: 17px;
  margin: 0;
  color: #666;
}
.listing {
  padding: 26px 0 70px;
}
.listing .section-title {
  margin-bottom: 46px;
}
.filters {
  border-top: 1px solid #e9cdb2;
  border-bottom: 1px solid #e9cdb2;
  padding: 26px 24px;
  margin-bottom: 24px;
}
.filter-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}
.filter-row:last-child {
  margin: 0;
}
.filter-row > strong {
  min-width: 88px;
  color: #444;
}
.filter-choices {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-choices button {
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 14px;
}
.filter-choices button.active {
  background: var(--accent);
  color: white;
}
.game-row {
  position: relative;
  border: 1px solid #eee;
  margin: 20px 10px;
  padding: 38px 20px;
  display: flex;
  gap: 25px;
  align-items: center;
  min-height: 195px;
  box-shadow: 0 1px 7px #00000007;
}
.game-row > img {
  width: 125px;
  height: 125px;
  border-radius: 28px;
}
.row-info {
  flex: 1;
  min-width: 0;
}
.row-info h2 {
  color: #222;
  font-size: 23px;
  margin: 0 0 10px;
}
.row-info .meta {
  color: #999;
  font-size: 13px;
}
.row-info p {
  max-width: 670px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: #888;
  line-height: 1.8;
}
.tag {
  display: inline-block;
  color: #9fa4ad;
  font-size: 12px;
  border: 1px solid #ddd;
  padding: 2px 6px;
  margin: 0 5px 0 0;
}
.row-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 130px;
}
.primary,
.outline {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 22px;
  background: var(--accent);
  color: #fff;
  padding: 10px 25px;
  text-align: center;
}
.outline {
  color: var(--accent);
  background: #fff;
}
.rank {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  background: #e6934c;
  padding: 4px 12px;
  font-style: italic;
  font-size: 12px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 35px;
}
.pagination button {
  border: 1px solid #ddd;
  padding: 8px 13px;
  border-radius: 4px;
}
.pagination .active {
  border-color: var(--accent);
  color: var(--accent);
}
.empty {
  color: #aaa;
  text-align: center;
  padding: 75px 20px;
  background: #fafafa;
}
.empty-symbol {
  font-size: 60px;
  color: #ddd;
  margin-bottom: 15px;
}
.detail-bg {
  background: #f5f5f5;
  padding: 20px 0 60px;
}
.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
}
.breadcrumb span {
  color: #df9544;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 810px) minmax(0, 380px);
  gap: 10px;
}
.detail-main,
.detail-side {
  min-width: 0;
}
.panel {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 2px;
}
.game-summary {
  display: flex;
  padding: 30px 20px;
  gap: 15px;
  min-height: 223px;
}
.game-summary > img {
  width: 160px;
  height: 160px;
  border-radius: 30px;
}
.game-summary h1 {
  font-size: 23px;
  margin: 3px 0 6px;
}
.score {
  font-size: 13px;
  color: #dd9140;
  margin-left: 8px;
}
.game-summary p {
  margin: 8px 0;
  font-size: 12px;
  color: #999;
}
.detail-buttons {
  display: flex;
  gap: 55px;
  margin-top: 12px;
}
.detail-buttons .primary {
  background: #ee6b66;
  border: 0;
  min-width: 192px;
  font-weight: bold;
}
.detail-buttons .comment-button {
  background: #f8d34f;
  min-width: 155px;
}
.game-description {
  padding: 25px 20px;
  border-top: 1px solid #ddd;
}
.game-description h2 {
  font-size: 24px;
  font-weight: 400;
  color: #333;
  margin: 0 0 22px;
}
.game-description p {
  font-size: 16px;
  line-height: 1.7;
  color: #999;
  white-space: pre-wrap;
}
.screenshots {
  display: flex;
  gap: 14px;
  overflow: auto;
  margin: 25px 0 0;
  padding-bottom: 10px;
}
.screenshots img {
  width: 174px;
  height: 310px;
  flex-shrink: 0;
}
.side-promo {
  position: relative;
  background: linear-gradient(150deg, #efb253, #805728);
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 25px;
  color: white;
}
.side-promo .background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #000c);
}
.side-promo .promo-copy {
  position: relative;
  z-index: 1;
}
.promo-copy h2 {
  font-size: 28px;
}
.promo-copy p {
  font-size: 16px;
}
.side-title {
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  font-size: 17px;
  color: #dd9448;
}
.service-box {
  padding: 25px;
  text-align: center;
  font-size: 16px;
}
.service-box p {
  font-size: 13px;
  color: #999;
}
.tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 0 20px;
  gap: 35px;
}
.tabs button {
  padding: 20px 10px;
  border-bottom: 3px solid transparent;
  font-size: 16px;
}
.tabs button.active {
  border-color: var(--accent);
  color: var(--accent);
}
.tab-content {
  padding: 20px;
}
.server-table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}
.server-table th,
.server-table td {
  text-align: center;
  padding: 22px 12px;
  border-bottom: 1px solid #eee;
}
.server-table th {
  background: #f6f6f6;
  font-weight: 400;
}
.article-list {
  max-width: 100%;
  display: grid;
  gap: 20px;
}
.article-row {
  display: flex;
  gap: 24px;
  padding: 25px;
  background: #fff;
  border: 1px solid #eee;
}
.article-row img {
  width: 200px;
  height: 130px;
  border-radius: 4px;
}
.article-row h2 {
  font-size: 20px;
  margin: 8px 0 15px;
}
.article-row p {
  max-height: 45px;
  overflow: hidden;
  line-height: 1.8;
  color: #999;
}
.article-row time {
  color: #bbb;
  font-size: 13px;
}
.document {
  padding: 40px;
  background: white;
  border: 1px solid #eee;
  line-height: 1.9;
}
.document h1 {
  text-align: center;
  font-size: 26px;
  color: #444;
  margin: 0 0 15px;
}
.document .date {
  text-align: center;
  color: #aaa;
  font-size: 13px;
}
.document pre {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #777;
}
.document img {
  display: block;
  max-width: 600px;
  max-height: 400px;
  margin: 25px auto;
}
dialog {
  border: 0;
  border-radius: 8px;
  padding: 38px;
  width: 420px;
  max-width: calc(100% - 32px);
  box-shadow: 0 15px 70px #0005;
  color: #555;
}
dialog::backdrop {
  background: #0007;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 6px;
  font-size: 30px;
  color: #999;
}
dialog h2 {
  margin: 0 0 25px;
  text-align: center;
  font-size: 25px;
  color: #444;
}
.dialog-form {
  display: grid;
  gap: 18px;
}
.dialog-form input,
.dialog-form textarea {
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 4px;
  width: 100%;
  resize: vertical;
}
.dialog-form textarea {
  height: 110px;
}
.dialog-form label {
  font-size: 13px;
  line-height: 1.8;
}
.dialog-form label input[type="checkbox"] {
  width: auto;
}
.dialog-hint {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
}
.dialog-qr {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 15px auto;
}
.dialog-center {
  text-align: center;
  line-height: 2;
}
.form-error {
  color: #d24a42;
  margin: 0;
  font-size: 13px;
}
.loading {
  padding: 100px;
  text-align: center;
  color: #999;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #333e;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  display: none;
}
.banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.muted {
  color: #aaa;
}
.comment-title {
  padding: 22px;
  font-size: 21px;
  border-bottom: 1px solid #eee;
}
.comment-login {
  text-align: center;
  padding: 30px;
  color: #999;
}
.comment-login button {
  color: var(--accent);
}
.comment-item {
  padding: 20px;
  border-bottom: 1px solid #eee;
}
.comment-item p {
  white-space: pre-wrap;
}
.error-page {
  text-align: center;
  padding: 120px 20px;
}
.error-page h1 {
  font-size: 28px;
}
.logo-placeholder {
  width: 75px;
  height: 75px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 30px;
}
@media (max-width: 900px) {
  .wrap {
    max-width: calc(100% - 28px);
  }
  .masthead {
    height: 115px;
  }
  .brand {
    min-width: 0;
  }
  .brand img {
    width: 58px;
    height: 58px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand em {
    font-size: 11px;
  }
  .searchbox {
    margin: 0;
    width: 300px;
  }
  .header-actions {
    margin-right: 0;
    gap: 20px;
  }
  .header-action img,
  .wechat-icon {
    width: 42px;
    height: 42px;
  }
  .hot-grid {
    gap: 15px;
  }
  .hot-art {
    height: 320px;
  }
  .hot-caption strong {
    font-size: 15px;
  }
  .card-actions {
    font-size: 14px;
    height: 50px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .side-promo {
    height: 280px;
  }
  .game-summary > img {
    width: 110px;
    height: 110px;
  }
  .detail-buttons {
    gap: 10px;
  }
  .detail-buttons .primary {
    min-width: 0;
    font-size: 12px;
    padding: 10px 18px;
  }
  .game-summary {
    padding: 22px 15px;
  }
  .section-title h1,
  .section-title h2 {
    font-size: 38px;
  }
  .mini-card {
    width: 30%;
    gap: 8px;
    padding: 10px;
  }
  .mini-card img {
    width: 60px;
    height: 60px;
  }
  .mini-card strong {
    font-size: 15px;
  }
  .mini-card p {
    font-size: 11px;
  }
  .recommend-card > .landscape {
    height: 140px;
  }
  .news-card img {
    height: 160px;
  }
  .row-info p {
    max-width: 400px;
  }
  .row-buttons {
    width: 110px;
  }
  .row-buttons a {
    padding: 10px;
  }
  .game-row {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .topbar {
    font-size: 11px;
    height: 34px;
  }
  .toplinks {
    gap: 12px;
  }
  .topbar .wrap > span {
    max-width: 55%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .masthead {
    height: 150px;
    position: relative;
    align-items: flex-start;
    padding-top: 18px;
  }
  .brand img {
    width: 54px;
    height: 54px;
  }
  .brand strong {
    font-size: 18px;
  }
  .header-actions {
    gap: 14px;
    margin-top: 2px;
  }
  .header-action {
    font-size: 10px;
    gap: 5px;
  }
  .header-action img,
  .wechat-icon {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .searchbox {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
  }
  .searchform {
    height: 34px;
  }
  .hotwords {
    font-size: 11px;
    gap: 12px;
  }
  .navlinks a {
    font-size: 13px;
    width: 20%;
    line-height: 29px;
  }
  .navbar {
    height: 44px;
  }
  .stickybar nav {
    gap: 12px;
    font-size: 12px;
  }
  .stickybar .toplinks {
    display: none;
  }
  .section {
    padding-top: 32px;
  }
  .section-title {
    margin-bottom: 28px;
  }
  .section-title h1,
  .section-title h2 {
    font-size: 30px;
  }
  .section-title p {
    font-size: 14px;
    margin-top: 8px;
  }
  .section-title.decorated:before,
  .section-title.decorated:after {
    top: 19px;
    width: 17%;
  }
  .hot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 15px;
    padding: 0 4px;
  }
  .hot-art {
    height: 295px;
  }
  .hot-caption {
    padding: 60px 8px 8px;
  }
  .hot-caption strong {
    font-size: 13px;
  }
  .hot-caption p {
    font-size: 10px;
  }
  .hot-caption small {
    font-size: 11px;
    margin-top: 7px;
  }
  .hot-caption small b {
    font-size: 20px;
  }
  .card-actions {
    font-size: 12px;
    height: 40px;
  }
  .more {
    width: 135px;
    line-height: 38px;
    font-size: 17px;
    border-width: 2px;
    margin-top: 30px;
  }
  .h5-grid {
    padding: 0;
    gap: 15px;
  }
  .mini-card {
    width: calc(50% - 8px);
    height: 83px;
    border-radius: 15px;
    gap: 8px;
    padding: 9px;
  }
  .mini-card img {
    height: 50px;
    width: 50px;
    border-radius: 11px;
  }
  .mini-card strong {
    font-size: 12px;
  }
  .mini-card p {
    margin: 5px 0;
    font-size: 10px;
  }
  .mini-card small {
    font-size: 10px;
  }
  .h5-section,
  .recommend-section,
  .news-section {
    padding-top: 60px;
  }
  .h5-section .section-title {
    margin-bottom: 30px;
  }
  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .recommend-card:nth-child(3) {
    display: none;
  }
  .recommend-card > .landscape {
    height: 110px;
  }
  .recommend-info {
    padding: 10px;
    gap: 8px;
  }
  .recommend-info img {
    height: 38px;
    width: 38px;
  }
  .recommend-info strong {
    font-size: 12px;
  }
  .recommend-info p {
    font-size: 10px;
  }
  .carousel-arrow {
    font-size: 22px;
    width: 30px;
    height: 30px;
  }
  .carousel-arrow.prev {
    left: -10px;
  }
  .carousel-arrow.next {
    right: -10px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    display: flex;
  }
  .news-card img {
    width: 120px;
    height: 110px;
    flex-shrink: 0;
  }
  .news-card div {
    padding: 12px;
    min-width: 0;
  }
  .news-card strong {
    font-size: 14px;
    line-height: 1.5;
  }
  .news-card p {
    font-size: 11px;
    margin: 6px 0;
  }
  .news-card time {
    font-size: 10px;
  }
  .news-section {
    padding-bottom: 35px;
  }
  .footer-main {
    gap: 12px;
    align-items: start;
  }
  .footer-brand {
    width: 50px;
    height: 50px;
  }
  .footer-main h3 {
    font-size: 13px;
  }
  .footer-links {
    gap: 8px;
    font-size: 11px;
  }
  .footer-qr {
    height: 60px;
    width: 60px;
  }
  .footer-copy {
    font-size: 10px;
  }
  .site-footer {
    padding: 25px 0;
  }
  .filters {
    padding: 16px 8px;
  }
  .filter-row {
    gap: 4px;
  }
  .filter-row > strong {
    min-width: 66px;
    font-size: 11px;
  }
  .filter-choices {
    gap: 4px;
  }
  .filter-choices button {
    padding: 5px 8px;
    font-size: 11px;
  }
  .listing .section-title {
    margin-bottom: 28px;
  }
  .game-row {
    padding: 20px 10px;
    gap: 12px;
    margin: 12px 0;
    min-height: 120px;
    flex-wrap: wrap;
  }
  .game-row > img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
  .row-info h2 {
    font-size: 16px;
    margin: 3px 0 5px;
  }
  .row-info p {
    font-size: 11px;
    max-width: 245px;
    line-height: 1.5;
    margin: 7px 0;
  }
  .row-info .meta {
    font-size: 10px;
  }
  .row-buttons {
    flex-direction: row;
    width: 100%;
    justify-content: end;
    gap: 10px;
  }
  .row-buttons a {
    font-size: 11px;
    padding: 6px 18px;
  }
  .tag {
    font-size: 10px;
    padding: 1px 3px;
  }
  .rank {
    font-size: 9px;
    padding: 2px 8px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-side {
    display: none;
  }
  .game-summary {
    padding: 20px 12px;
    gap: 12px;
  }
  .game-summary > img {
    height: 85px;
    width: 85px;
    border-radius: 18px;
  }
  .game-summary h1 {
    font-size: 18px;
  }
  .score {
    font-size: 11px;
  }
  .detail-buttons {
    gap: 10px;
  }
  .detail-buttons .primary {
    padding: 8px 16px;
    font-size: 12px;
  }
  .game-description {
    padding: 20px 15px;
  }
  .game-description h2 {
    font-size: 21px;
  }
  .game-description p {
    font-size: 14px;
  }
  .screenshots img {
    width: 135px;
    height: 240px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .document {
    padding: 25px 16px;
  }
  .document h1 {
    font-size: 21px;
  }
  .document pre {
    font-size: 14px;
  }
  .article-row {
    gap: 12px;
    padding: 15px;
  }
  .article-row img {
    width: 90px;
    height: 100px;
  }
  .article-row h2 {
    font-size: 15px;
    margin: 0 0 8px;
  }
  .article-row p {
    font-size: 12px;
    margin: 5px 0;
    line-height: 1.6;
    max-height: 38px;
  }
  .article-row time {
    font-size: 10px;
  }
  .server-table td,
  .server-table th {
    padding: 18px 5px;
    font-size: 11px;
  }
  .server-table .primary {
    padding: 5px 9px;
  }
  .banner {
    height: 160px;
  }
}

.footer-main > .site-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 901px) {
  .hot-art {
    height: 430px;
  }
  .card-actions {
    height: 70px;
  }
}
@media (min-width: 901px) {
  .brand {
    margin-left: 10px;
  }
  .brand img {
    width: 65px;
    height: 65px;
  }
  .brand strong {
    text-align: center;
  }
  .section-title h1,
  .section-title h2 {
    font-size: 48px;
  }
  .hot-art > img {
    object-fit: fill;
  }
}
.recommend-card {
  min-width: 0;
}
@media (max-width: 600px) {
  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-main > .site-logo {
    width: 50px;
    height: 50px;
  }
}

.detail-buttons {
  gap: 12px;
  flex-wrap: wrap;
}
.detail-buttons .primary {
  min-width: 130px;
}
.detail-buttons a.primary {
  background: var(--accent);
}
@media (max-width: 600px) {
  .detail-buttons {
    gap: 6px;
  }
  .detail-buttons .primary {
    min-width: 0;
    padding: 8px 10px;
  }
  .navlinks a {
    width: auto;
    flex: 1;
    font-size: 12px;
  }
}
