.mobile-home-columns, .home-mobile-tabbar { display: none; }
.home-columns-section { padding: 48px 0 32px; background: linear-gradient(180deg, #07152a 0%, #030a16 100%); }
.home-columns-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.home-columns-heading h1 { margin: 0; color: #f6f0df; font-size: 28px; line-height: 1.2; }
.home-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-column-card { min-height: 120px; padding: 20px; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-content: center; border: 1px solid rgba(229, 193, 110, .16); border-radius: 12px; color: #eef3fb; text-decoration: none; background: rgba(12, 29, 55, .8); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.home-column-card:hover, .home-column-card:focus-visible { transform: translateY(-2px); border-color: rgba(229, 193, 110, .52); background: rgba(22, 44, 76, .94); outline: none; }
.home-column-icon { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(229, 193, 110, .32); border-radius: 10px; color: #ffe19a; font-size: 13px; font-weight: 800; background: rgba(229, 193, 110, .08); }
.home-column-card strong { align-self: end; font-size: 18px; line-height: 1.3; }
.home-column-card small { margin-top: 4px; color: #9eacc0; font-size: 14px; }
.home-column-primary { border-color: rgba(229, 193, 110, .48); background: rgba(154, 109, 34, .16); }
@media (max-width: 640px) {
  body[data-page="home"] { background: #030a16; }
  /* 保留全站页头的标题与站标；首页内容区不再重复展示站标。 */
  .home-mobile-logo { display: none; }
  body[data-page="home"] main { padding-bottom: 72px; }
  .mobile-home-columns { display: block; }
  .home-desktop-content, body[data-page="home"] main > .section, body[data-page="home"] .site-footer { display: none; }
  .home-columns-section { min-height: auto; padding: 16px 0 28px; background: #030a16; }
  .home-columns-section .container { min-height: auto; display: flex; flex-direction: column; }
  .home-mobile-logo { height: 52px; margin-bottom: 16px; padding: 8px 16px; display: flex; align-items: center; border: 1px solid rgba(229, 193, 110, .18); border-radius: 12px; background: #061225; }
  .home-mobile-logo img { width: 206px; height: 36px; object-fit: contain; object-position: left center; }
  .home-mobile-hero { margin-bottom: 10px; padding: 16px; border: 1px solid rgba(229, 193, 110, .24); border-radius: 12px; background: #061225; }
  .home-mobile-hero h1 { margin: 8px 0; color: #f7f4ec; font-size: 22px; line-height: 1.2; }
  .home-mobile-hero p { margin: 0; color: #aebbd0; font-size: 13px; line-height: 1.35; }
  .home-columns { flex: 0 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 94px); gap: 8px; }
  .home-column-card { min-height: 94px; padding: 10px; grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; border-color: rgba(229, 193, 110, .16); border-radius: 12px; background: #0b203d; }
  .home-column-primary { border-color: #c99338; background: #12325b; }
  .home-column-icon { width: 32px; height: 32px; border-radius: 8px; font-size: 12px; }
  .home-column-card strong { min-width: 0; font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .home-column-card small { min-width: 0; font-size: 11px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .home-mobile-slogan { display: grid; gap: 2px; margin: 0; padding: 18px 4px 4px; text-align: center; }
  .home-mobile-slogan span { font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: .5px; background: linear-gradient(135deg, #fff3bf 0%, #e5c16e 42%, #aa7225 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .home-mobile-tabbar { position: fixed; inset: auto 0 0; z-index: 90; height: 64px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(229, 193, 110, .16); background: #061225; }
  .home-mobile-tabbar a { display: grid; place-items: center; color: #aebbd0; font-size: 14px; text-decoration: none; }
  .home-mobile-tabbar a.active { color: #e5c16e; }
}
