/* 第二版：品牌、易读字号、游戏图片取景。课程专属布局见 courses.css。 */
:root {
  --muted: #626c5e;
}
body {
  font-size: 17px;
}
.brand-seal {
  width: 46px;
  height: 46px;
  border: none;
  outline: none;
  border-radius: 9px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 28px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  transform: none;
  flex-shrink: 0;
}
.brand b {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 1px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2.6px;
  margin-top: 4px;
}
.nav-shell {
  gap: 24px;
  width: min(1440px, calc(100% - 72px));
}
.nav-shell nav {
  gap: 25px;
}
.nav-shell nav a {
  font-size: 16px;
  color: #586253;
}
.nav-contact {
  margin-left: 0;
}
.button,
.button-small,
.text-link,
.text-button {
  font-size: 15px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.95;
  max-width: 540px;
}
.hero-copy .eyebrow {
  font-size: 12px;
}
.hero-footnote {
  font-size: 13px;
  letter-spacing: 0.4px;
}
.floating-note {
  max-width: 300px;
}
.floating-note small {
  font-size: 10px;
}
.photo-title {
  left: 30px;
  right: 30px;
}
.photo-title p {
  padding-right: 45px;
}
.hero-photo img {
  object-position: var(--featured-position, 72% 40%);
}
.photo-top {
  font-size: 10px;
}
.art-caption,
.art-bottom {
  font-size: 10px;
  white-space: nowrap;
}
.pillar {
  gap: 18px;
}
.pillar-number {
  flex-shrink: 0;
}
.pillar h3 {
  font-size: 15px;
}
.pillar p {
  font-size: 13px;
}
.section-heading > p,
.section-description {
  font-size: 16px;
}
.world-image {
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
}
.world-image > img {
  object-position: var(--card-position, 50% center);
  filter: none;
}
.world-image::after {
  background: linear-gradient(0deg, #08120bd9, transparent 45%, #07110a15);
}
.world-number {
  font-size: 11px;
  padding: 5px 10px;
  background: #07120a80;
  border-radius: 3px;
}
.image-game-label {
  position: absolute;
  left: 23px;
  bottom: 22px;
  color: white;
  z-index: 2;
}
.image-game-label b {
  display: block;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 1px;
}
.image-game-label small {
  font-size: 10px;
  letter-spacing: 1.5px;
  opacity: 0.8;
}
.world-circle {
  bottom: 26px;
  right: 21px;
  width: 39px;
  height: 39px;
}
.world-copy h3 {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 600;
}
.world-copy p {
  font-size: 16px;
}
.world-copy small {
  font-size: 11px;
}
.world-tags {
  font-size: 13px;
  gap: 12px;
}
.world-tags span + span::before {
  padding-right: 12px;
}
.method-intro,
.method-steps p {
  font-size: 16px;
  line-height: 1.95;
}
.method-steps h3 {
  font-size: 20px;
}
.faq-list summary {
  font-size: 17px;
}
.faq-list details p {
  font-size: 16px;
  line-height: 1.9;
}
.faq-section > div > p:last-child,
.cta p:not(.eyebrow) {
  font-size: 16px;
}
.game-hero-content > p:not(.eyebrow) {
  font-size: 17px;
  max-width: 530px;
}
.game-hero-image {
  object-position: var(--hero-position, center);
}
.game-hero-tags {
  font-size: 13px;
}
.breadcrumb {
  font-size: 14px;
}
.software-intro {
  padding-bottom: 24px;
}
.software-intro h1 {
  font-size: 48px;
}
.software-page .game-tabs {
  margin-bottom: 52px;
}
.software-layout h1 {
  font-size: 40px;
}
.software-layout h2 {
  font-size: 38px;
}
.software-page.has-software-media {
  width: min(1600px, calc(100% - 80px));
}
.has-software-media .software-layout {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 40px;
}
.software-media {
  min-width: 0;
  margin: 0;
}
.software-title-part {
  display: inline-block;
}
.software-display.has-media {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 9;
  background: #171d1b;
}
.software-display.has-media::before,
.software-display.has-media::after {
  content: none;
}
.software-display.has-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.software-media-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.software-media-heading::before {
  content: "";
  width: 5px;
  height: 24px;
  border-radius: 2px;
  background: var(--gold);
}
@media (max-width: 1200px) {
  .has-software-media .software-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .software-page.has-software-media {
    width: calc(100% - 40px);
  }
  .software-display.has-media {
    outline-offset: 5px;
  }
}
.large-description,
.software-detail p,
.software-features {
  font-size: 17px;
}
.software-banner p:not(.eyebrow) {
  font-size: 16px;
}
.status-pill {
  font-size: 14px;
}
.dialog-description {
  font-size: 16px;
}
.selected-course,
.contact-note {
  font-size: 14px;
}
.qr-box strong,
.wechat-id,
.syllabus-list {
  font-size: 16px;
}
.qr-box small {
  font-size: 13px;
}
.syllabus-support h3 {
  font-size: 17px;
}
.syllabus-support p {
  font-size: 15px;
}
dialog {
  width: min(570px, calc(100vw - 32px));
}
.footer-bottom {
  font-size: 12px;
  flex-wrap: wrap;
}
.footer-main > a:last-child {
  font-size: 15px;
}
@media (max-width: 1220px) {
  .nav-contact {
    display: none;
  }
  .nav-shell nav {
    gap: 23px;
  }
  .home-hero {
    gap: 40px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-actions .text-link {
    font-size: 14px;
  }
  .hero-copy h1 {
    font-size: 64px;
  }
  .hero-art {
    height: 545px;
  }
  .pillars {
    gap: 15px;
  }
  .pillar {
    align-items: flex-start;
  }
  .pillar-number {
    font-size: 33px;
  }
  .world-image {
    aspect-ratio: 4 / 3;
  }
}
@media (min-width: 701px) and (max-width: 980px) {
  .nav-shell {
    height: 82px;
    width: calc(100% - 48px);
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--line);
    background: none;
    padding: 11px;
    margin-left: auto;
    width: 42px;
    height: 40px;
    justify-content: center;
  }
  .menu-toggle span {
    display: block;
    height: 1px;
    width: 18px;
    background: var(--ink);
  }
  .nav-shell nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 14px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-shell nav.open {
    display: grid;
    gap: 0;
  }
  .nav-shell nav a {
    padding: 14px;
  }
  .nav-shell nav a[aria-current] {
    background: #ecefe3;
  }
  .nav-shell nav a[aria-current]::after {
    left: auto;
    right: 15px;
    bottom: 25px;
  }
  .hero-copy h1 {
    font-size: 56px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-footnote {
    font-size: 12px;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 0;
  }
  .pillar,
  .pillar:first-child,
  .pillar:last-child {
    justify-content: flex-start;
    align-items: center;
    border: none;
    padding: 20px 0;
  }
  .pillar + .pillar {
    border-top: 1px solid var(--line);
  }
  .pillar-number {
    min-width: 110px;
  }
  .world-grid {
    gap: 18px;
  }
  .world-copy h3 {
    font-size: 23px;
  }
  .image-game-label {
    left: 16px;
    bottom: 21px;
  }
  .image-game-label b {
    font-size: 20px;
  }
  .image-game-label small {
    display: none;
  }
  .world-tags {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .world-tags span + span::before {
    content: none;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  .nav-shell {
    width: calc(100% - 40px);
  }
  .brand-seal {
    width: 40px;
    height: 40px;
    font-size: 25px;
    border-radius: 7px;
  }
  .brand b {
    font-size: 19px;
  }
  .brand small {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .nav-shell nav a {
    font-size: 16px;
  }
  .hero-copy h1 {
    font-size: clamp(48px, 14vw, 62px);
  }
  .hero-copy .eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding-inline: 16px;
    min-height: 48px;
  }
  .hero-actions .text-link {
    font-size: 14px;
  }
  .hero-footnote {
    font-size: 12px;
  }
  .hero-art {
    height: 455px;
  }
  .floating-note {
    font-size: 13px;
    max-width: 285px;
  }
  .floating-note small {
    font-size: 9px;
  }
  .photo-title h2 {
    font-size: 30px;
  }
  .photo-title p {
    font-size: 13px;
  }
  .photo-title small {
    font-size: 10px;
  }
  .art-bottom {
    font-size: 8px;
  }
  .art-caption {
    font-size: 9px;
  }
  .pillar {
    gap: 15px;
    align-items: center;
  }
  .pillar-number {
    width: 104px;
    flex: 0 0 104px;
    font-size: 30px;
  }
  .pillar h3 {
    font-size: 15px;
  }
  .pillar p {
    font-size: 12px;
  }
  .section-heading > p,
  .section-description {
    font-size: 16px;
  }
  .world-image {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .world-copy p {
    font-size: 16px;
  }
  .world-copy h3 {
    font-size: 27px;
  }
  .world-tags {
    font-size: 13px;
  }
  .method-grid h2 {
    font-size: 30px;
  }
  .method-intro,
  .method-steps p {
    font-size: 16px;
  }
  .method-steps h3 {
    font-size: 18px;
  }
  .method-steps article {
    gap: 14px;
  }
  .faq-list summary {
    font-size: 16px;
  }
  .faq-list details p {
    font-size: 15px;
  }
  .cta p:not(.eyebrow),
  .faq-section > div > p:last-child {
    font-size: 15px;
  }
  .game-hero h1 {
    font-size: 49px;
  }
  .game-hero-content > p:not(.eyebrow) {
    font-size: 16px;
    max-width: 100%;
  }
  .game-hero-tags {
    font-size: 12px;
  }
  .game-hero .hero-actions .button {
    font-size: 14px;
  }
  .game-tabs a {
    font-size: 14px;
    padding: 11px 9px;
  }
  .software-intro h1 {
    font-size: 35px;
  }
  .software-layout h2,
  .software-layout h1 {
    font-size: 30px;
  }
  .large-description,
  .software-features,
  .software-detail p {
    font-size: 16px;
  }
  .software-banner p:not(.eyebrow) {
    font-size: 15px;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .footer-main > a:last-child {
    font-size: 14px;
  }
  .dialog-description {
    font-size: 15px;
  }
  .syllabus-list {
    font-size: 15px;
  }
}
