/* 移动端新闻内容展示页 — 仅手机版 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f7f7f7;
  --card: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #555555;
  --accent: #2d5bff;
  --border: #ececec;
  --radius: 14px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  /* 仅手机版：限定内容宽度并居中 */
  max-width: 480px;
  margin: 0 auto;
}

/* 头部 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  height: 22px;
  width: auto;
  aspect-ratio: 155 / 24;
  flex-shrink: 0;
  display: block;
}

.header-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.header-action span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

/* 新闻列表 */
.news-feed {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 新闻列表前的 Press Releases 介绍 */
.press-intro {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.press-intro-title {
  font-size: 24px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 10px;
}

.press-intro-desc {
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
  margin: 0;
}

.news-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.news-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(45, 91, 255, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* 新闻标题 — 黑色加粗 */
.news-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: #000000;
  margin-bottom: 12px;
}

.news-meta {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.news-author{font-weight: 600;}

.news-content p {
  font-size: 15px;
  color: #333333;
  margin-bottom: 12px;
}

.news-content p:last-child {
  margin-bottom: 0;
}

/* 底部 */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 16px 40px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-logo .logo-mark {
  height: 18px;
}

/* 关注我们 / 社交链接 */
.footer-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-follow-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* 版权信息 */
.copyright {
  font-size: 12px;
  color: #999999;
  text-align: center;
}

/* 复制网址浮动按钮 */
.float-copy {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--ink);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.float-copy:active {
  transform: scale(0.96);
}

/* 非 Safari 提示弹窗 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 24px 20px;
  background: #ffffff;
  border-radius: 16px;
  text-align: center;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  margin-bottom: 10px;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  margin-bottom: 10px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

/* 轻提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  z-index: 60;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 13px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.toast.show {
  opacity: 1;
}
