:root {
  --bg: #0b0b0d;
  --card: #121216;
  --gold: #d6b56d;
  --gold-2: #f1d08a;
  --muted: #a7a7a7;
}
* { box-sizing: border-box; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(241,208,138,0.12), transparent 60%),
    radial-gradient(1000px 600px at -10% 110%, rgba(214,181,109,0.10), transparent 60%),
    var(--bg);
  color: #f5f5f5;
  display: grid;
  place-items: center;
  padding: 24px;
}
.wrap { width: min(980px, 100%); position: relative; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0)), var(--card);
  border: 1px solid rgba(214,181,109,0.22);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(214,181,109,0.08) inset, 0 20px 60px rgba(0,0,0,0.55);
  position: relative;
  overflow: hidden;
}
header {
  padding: 32px 28px 8px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(214,181,109,0.14);
  background: linear-gradient(180deg, rgba(241,208,138,0.06), rgba(241,208,138,0));
}
.logo {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: radial-gradient(120% 120% at 30% 20%, var(--gold-2), var(--gold));
  color: #111; font-weight: 900;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,0,0,0.25) inset;
}
h1 { margin: 0; font-size: clamp(20px, 3.4vw, 28px); font-weight: 800; color: #fff; }
.sub { margin: 2px 0 0 0; color: var(--muted); font-size: 14px; }
main { padding: 28px; }
.link-container { width: 100%; }
.link-btn {
      appearance: none;
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; width: 100%; padding: 16px 18px;
      background: linear-gradient(180deg, rgba(241,208,138,0.12), rgba(241,208,138,0.06));
      border: 1px solid rgba(241,208,138,0.35);
      border-radius: 14px; color: #fff; text-decoration: none;
      font-weight: 700; letter-spacing: 0.2px;
      transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
      box-shadow: 0 8px 18px rgba(0,0,0,0.35), 0 0 0 1px rgba(214,181,109,0.12) inset;
      position: relative; overflow: hidden;
      cursor: pointer;
    }
.link-btn span { font-size: 15px; }
.link-btn .meta { color: var(--gold-2); opacity: 0.9; font-size: 14px; font-weight: 600; margin-left: auto; }
.link-btn .gray-text { color: var(--muted); }
.link-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(241,208,138,0.18), rgba(241,208,138,0.08));
  border-color: rgba(241,208,138,0.6);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(214,181,109,0.18) inset;
}
.link-btn:active { transform: translateY(0); }
.link-btn svg { width: 18px; height: 18px; flex: none; opacity: 0.9; }
footer { padding: 6px 18px 22px 18px; color: var(--muted); font-size: 12px; text-align: center; }

/* 考核下载按钮（右下角） */
.corner-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  background: linear-gradient(180deg, rgba(241,208,138,0.16), rgba(241,208,138,0.08));
  border: 1px solid rgba(241,208,138,0.4);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--gold-2);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.45);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  z-index: 50;
}
.corner-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(241,208,138,0.7);
  box-shadow: 0 10px 22px rgba(0,0,0,0.55);
}

/* 手机版(竖屏)适配 */
@media screen and (max-width: 600px) {
  body {
    padding: 16px;
  }
  
  .card {
    border-radius: 16px;
  }
  
  header {
    padding: 24px 20px 8px 20px;
    gap: 12px;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  h1 {
    font-size: 20px;
  }
  
  .sub {
    font-size: 12px;
  }
  
  main {
    padding: 20px;
  }
  
  .link-btn {
    padding: 14px 16px;
    border-radius: 12px;
  }
  
  .link-btn span {
    font-size: 14px;
  }
  
  .link-btn .meta {
    font-size: 13px;
  }
  
  footer {
    padding: 6px 14px 20px 14px;
    font-size: 11px;
  }
  
  .corner-btn {
    right: 20px;
    bottom: 20px;
    padding: 8px 12px;
    font-size: 13px;
  }
  
  /* 手机上图片垂直排列 */
  .wrap .card main div:last-child {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .wrap .card main div:last-child img {
    max-height: 100px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  /* 标题文本贴左边，点击文本和图标在同一行并右对齐 */
    .link-btn {
      flex-direction: column !important;
      align-items: flex-start !important;
      text-align: left !important;
    }
    
    /* 确保标题文本单独一行 */
    .link-btn > span:first-of-type {
      display: block !important;
      margin-bottom: 4px !important;
    }
    
    /* 新的操作容器 - 右对齐并包含文本和图标 */
    .action-container {
      align-self: flex-end !important;
      display: flex !important;
      align-items: center !important;
      gap: 4px !important; /* 文本和图标之间的间距 */
    }
    
    /* 点击文本样式 */
    .link-btn .meta {
      font-size: 12px !important;
      margin: 0 !important;
    }
    
    /* SVG图标样式 - 确保在文本右侧 */
    .action-container svg {
      display: none;
      margin: 0 !important;
    }
}