/* 媒体报道(2026-09-29 建):logo 墙 + 精选引语卡片 + 按场次分组的清单。
   两处共用这一个文件 —— 活动页 events/<id>/ 里的一块、汇总页 press-coverage/。
   底色沿用首页那两面 logo 墙的 --mist:同一个站里的 logo 墙应该长得像一家人。
   媒体 logo 的 SVG 已统一成 currentColor 单色(assets/img/media/*.svg),
   所以图和文字标记混排都跟着 .coverage__seal 的 color 走,深浅只改这一处。
   字号一律 max(18px, …):用户浏览器最小字号 18px,低于它的会被顶上去、当场把版式挤坏。 */

.coverage { background: var(--mist); padding-block: 72px 80px; }
.coverage--page { padding-block: 64px 72px; }

.coverage__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.coverage__all {
  font-size: max(18px, 19px);
  font-weight: 600;
  color: var(--map-ink);
  text-decoration: none;
  border-bottom: 2px solid rgb(var(--map-glow) / 0.45);
  padding-bottom: 2px;
}
.coverage__intro {
  margin-top: 14px;
  max-width: 62ch;
  font-size: max(18px, 19px);
  line-height: 1.55;
  color: var(--muted);
}
.coverage__intro--page { margin-top: 0; text-align: center; margin-inline: auto; }
.coverage__empty { font-size: max(18px, 19px); color: var(--muted); }

/* ---------- logo 墙 ---------- */
.coverage__wall {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 52px;
  row-gap: 28px;
}
.coverage__wall--page { margin-top: 36px; }
/* 版心给 1200 时 9 家会挤成一长行 + 零头。收窄后自然断成 5+4 两行,两行都居中。
   这个数是按当前这 9 个名字的实际宽度定的 —— 以后加媒体回来看一眼还合不合适 */
.coverage__wall { max-width: 780px; margin-inline: auto; }

/* 不许收缩:这一面墙是 flex,9 个挤在一行里会把宽的 logo 压扁
   (实测 SlashGear 被压成 44×8px、BGR 44×18,根本看不清),宁可换行 */
.coverage__seal { flex: none; }
.coverage__seal a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;          /* 手指点得到 */
  color: var(--ink);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
/* 宽窄差得很远的 logo(SlashGear 5.5:1、BGR 2.5:1)靠高和宽两头卡住,视觉重量就差不多齐了 */
.coverage__mark {
  width: auto;
  height: auto;
  max-width: 132px;
  max-height: 30px;
  object-fit: contain;
}
.coverage__mark--text {
  max-width: none;          /* 132px 是给图片定的,文字被它卡住就会溢出(nowrap 撑不开盒子) */
  font-family: var(--font-display);
  font-size: max(18px, 20px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.coverage__seal a:focus-visible { opacity: 1; }
@media (hover: hover) {
  .coverage__seal a:hover { opacity: 1; }
}

/* ---------- 精选卡片:引语当主体 ---------- */
.coverage__cards {
  list-style: none;
  padding: 0;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.coverage__card-link {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: 28px 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.coverage__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 30px;
  color: var(--ink);
}
.coverage__card-mark {
  width: auto;
  height: auto;
  max-width: 118px;
  max-height: 26px;
  object-fit: contain;
}
.coverage__card-mark--text {
  max-width: none;
  font-family: var(--font-display);
  font-size: max(18px, 19px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}
.coverage__kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: max(18px, 18px);
  color: var(--muted);
}
.coverage__kind-icon { width: 17px; height: 17px; }

.coverage__quote {
  flex: 1;
  font-size: max(19px, calc(1.32 * var(--vw)));
  line-height: 1.5;
}
.coverage__quote::before { content: '\201C'; }
.coverage__quote::after { content: '\201D'; }

.coverage__card-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.coverage__card-title { font-size: max(18px, 18px); font-weight: 600; line-height: 1.4; }
.coverage__card-meta { font-size: max(18px, 18px); color: var(--muted); }

@media (hover: hover) {
  .coverage__card-link:hover { border-color: var(--map-ink); transform: translateY(-2px); }
}
.coverage__card-link:focus-visible { border-color: var(--map-ink); }

/* ---------- 汇总页:一整条报道清单(10-08 起不再按场次分组) ---------- */
.coverage-group { padding-block: 56px; }

.coverage-group__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 10px;
}
.coverage-group__title {
  font-family: var(--font-display);
  font-size: clamp(26px, calc(2.22 * var(--vw)), 32px);
  line-height: 1.1;
  font-weight: 700;
}

.coverage-list { list-style: none; padding: 0; margin: 0; }
.coverage-row + .coverage-row { border-top: 1px solid var(--line-soft); }
.coverage-row__link {
  display: grid;
  grid-template-columns: 160px 182px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 28px;
  padding: 20px 0;
  color: var(--ink);
  text-decoration: none;
}
.coverage-row__outlet {
  font-family: var(--font-display);
  font-size: max(18px, 19px);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.coverage-row__title { font-size: max(18px, 19px); line-height: 1.45; overflow-wrap: anywhere; } /* 社媒标题里有「#GCS#GCS2026#…」这种连写,不断行会把手机页面撑宽 */
/* 每行左边一张小图:文章自己的分享图;没有图的出斜纹占位 */
.coverage-row__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, var(--mist) 0 10px, var(--paper) 10px 20px);
}
.coverage-row__icon {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-left: 4px;
  color: var(--muted);
}
.coverage-row__meta { font-size: max(18px, 18px); color: var(--muted); white-space: nowrap; }
@media (hover: hover) {
  .coverage-row__link:hover .coverage-row__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
}

/* ---------- 手机:单列 ---------- */
@media (max-width: 767px) {
  .coverage { padding-block: 48px 56px; }
  .coverage__wall { column-gap: 32px; row-gap: 22px; }
  .coverage__cards { grid-template-columns: 1fr; margin-top: 32px; }
  .coverage__all { margin-left: 0; }
  .coverage-group { padding-block: 40px; }
  .coverage-row__link {
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
    padding: 18px 0;
  }
  .coverage-row__thumb { grid-row: 1 / span 3; }
  .coverage-row__meta { white-space: normal; }
}

/* ---------- On Social(2026-10-05):大图下面的深色区 ----------
   左边标题 + 数字 + 平台标签;右边一条竖屏胶片从手机后面往左走,手机里放大当前这条。
   没脚本:胶片就是一排能横着滑的卡片(文字压在卡片上)。js/site.js 接管后给 .social 加 .is-live。
   深色底沿用页头那种近黑偏青(和首页地图夜景一个调子);字号一律 ≥18px(他 Chrome 的最小字号)。 */
.social {
  --social-bg: #0c1418;
  --card-w: 230px;
  --phone-w: 282px;
  --phone-h: 556px;
  position: relative;
  overflow: hidden;
  background: var(--social-bg);
  color: var(--paper);
}
.social__inner {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  column-gap: 60px;
  align-items: center;
  padding-block: 80px 64px;
}
.social__kicker { margin: 0 0 12px; font-size: max(18px, 15px); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.social__title { margin: 0; font-size: clamp(30px, calc(2.78 * var(--vw)), 40px); line-height: 1.15; font-weight: 700; }
.social__lead { margin: 16px 0 0; font-size: max(18px, 19px); line-height: 1.55; color: #b9c4c8; }

/* 卡片(胶片里一格 / 手机里那一条,同一份标记) */
.social__strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.social__item { flex: none; width: var(--card-w); }
.social__card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #1a262c;
  color: var(--paper);
  text-decoration: none;
}
.social__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 纯文字帖(没图):整张卡就是文字,像一条推文 */
.social__item[data-shape="text"] .social__card { background: #15232a; }
.social__item[data-shape="text"] .social__body { top: 0; justify-content: center; padding: 60px 18px 18px; background: none; }
.social__item[data-shape="text"] .social__text { -webkit-line-clamp: 8; font-size: max(18px, 17px); }
.social.is-live .social__strip [data-shape="text"] .social__body { opacity: 1; }
.social__badge {
  position: absolute;
  left: 12px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 24px);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.55);
  font-size: max(18px, 14px);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.social__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.social__dot--youtube { background: #ff3b30; }
.social__dot--linkedin { background: #3d9be9; }
.social__dot--x { background: #e7e9ea; }
.social__body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 70px 16px 18px;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.88) 45%);
}
.social__acct { font-family: var(--font-display); font-size: max(18px, 20px); font-weight: 700; line-height: 1.2; }
.social__text {
  font-size: max(18px, 15px);
  line-height: 1.4;
  color: #dfe6e8;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.social__cta { font-size: max(18px, 15px); font-weight: 600; color: var(--accent); }
.social__card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* 没脚本:一排能横着滑的卡片 */
.social__stage { position: relative; min-width: 0; }
.social:not(.is-live) .social__strip { overflow-x: auto; padding-bottom: 8px; }

/* ---- 接管后:胶片 + 手机 ---- */
.social.is-live .social__stage {
  height: calc(var(--phone-h) + 84px);
  /* 左边在舞台起点截断(不压标题),右边一直通到窗口边 */
  clip-path: inset(-60px -100vw -60px 0);
}
.social.is-live .social__strip {
  position: absolute;
  left: 0;
  top: 30px;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
/* 胶片左端渐隐进标题那一侧,不压字 */
.social.is-live .social__stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  background: linear-gradient(90deg, var(--social-bg) 30%, transparent);
  pointer-events: none;
}
.social.is-live .social__strip .social__card { filter: brightness(0.38) saturate(0.6); transform: scale(0.9); transition: filter 0.6s, transform 0.6s; cursor: pointer; }
.social.is-live .social__strip .is-near .social__card { filter: brightness(0.62) saturate(0.85); transform: scale(0.95); }
.social.is-live .social__strip .social__badge,
.social.is-live .social__strip .social__body { opacity: 0; }
@media (hover: hover) {
  .social.is-live .social__strip .social__card:hover { filter: brightness(0.8); }
}

.social__phone {
  position: absolute;
  z-index: 2;
  left: 200px;
  top: 0;
  width: var(--phone-w);
  height: var(--phone-h);
  padding: 11px;
  border-radius: 46px;
  background: #111;
  box-shadow: 0 0 0 2px #2a3338, 0 40px 80px rgb(0 0 0 / 0.6);
}
.social__phone[hidden] { display: none; }
.social__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.social__screen .social__card { aspect-ratio: auto; height: 100%; border-radius: 0; }
.social__screen .social__badge { top: 26px; left: 14px; }
.social__screen .social__body { padding: 90px 18px 24px; }
.social__screen .social__acct { font-size: max(18px, 22px); }
.social__screen .social__text { -webkit-line-clamp: 4; }
/* 横图帖子(LinkedIn):上图下文,像信息流里的一条 */
.social__screen[data-shape="wide"] .social__card { display: flex; flex-direction: column; background: #101a1f; }
.social__screen[data-shape="wide"] .social__img { position: static; flex: none; height: auto; aspect-ratio: 16 / 9; margin-top: 70px; }
.social__screen[data-shape="wide"] .social__body { position: static; flex: 1; padding: 18px; background: none; }
.social__screen[data-shape="wide"] .social__text { -webkit-line-clamp: 6; }
.social__screen[data-shape="text"] .social__card { background: #101a1f; }
.social__screen[data-shape="text"] .social__body { top: 0; justify-content: center; gap: 12px; padding: 80px 24px 32px; background: none; }
.social__screen[data-shape="text"] .social__text { -webkit-line-clamp: 10; font-size: max(18px, 21px); line-height: 1.45; color: var(--paper); }

/* 顶上一排进度条:每条一格,当前这格 4 秒走满就换下一条(js 听 animationend) */
.social__progress { position: absolute; z-index: 1; left: 30px; right: 30px; top: 20px; display: flex; gap: 4px; }
.social__progress i { flex: 1; height: 3px; border-radius: 2px; background: rgb(255 255 255 / 0.35); overflow: hidden; }
.social__progress b { display: block; width: 0; height: 100%; background: var(--paper); }
.social__progress .is-done b { width: 100%; }
.social__progress .is-cur b { animation: social-fill 4s linear forwards; }
.social.is-paused .social__progress .is-cur b { animation-play-state: paused; }
@keyframes social-fill { to { width: 100%; } }

.social__nav { position: absolute; z-index: 2; left: 200px; width: var(--phone-w); top: calc(var(--phone-h) + 20px); display: flex; justify-content: center; gap: 14px; }
.social__nav[hidden] { display: none; }
.social__btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.social__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) {
  .social__btn:hover { background: var(--paper); color: var(--social-bg); }
}

@media (prefers-reduced-motion: reduce) {
  .social.is-live .social__strip { transition: none; }
}

@media (max-width: 767px) {
  .social { --card-w: 180px; --phone-w: 250px; --phone-h: 494px; }
  .social__inner { grid-template-columns: 1fr; row-gap: 36px; padding-block: 56px 40px; }
  .social__phone, .social__nav { left: calc(50% - var(--phone-w) / 2); }
  .social.is-live .social__stage::before { display: none; }
  .social.is-live .social__stage { clip-path: none; }
}

/* ---------- 底部声明 ----------
   写清楚:这些是独立报道、名称是各自的商标、不代表对方给我们背书、文章版权归原出版方。
   2026-09-29 查条款后加的,和「默认只出文字名称」是同一件事的两半。 */
.coverage-notice { padding-block: 32px 56px; background: var(--paper); }
.coverage-notice p {
  max-width: 78ch;
  margin-inline: auto;
  font-size: max(18px, 18px);
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 767px) {
  .coverage-notice { padding-block: 24px 40px; }
  .coverage-notice p { text-align: left; }
}

/* 这条报道讲的是哪一场。活动页会把别的场次的报道也列出来(那是整体背书),
   不标出来读者会以为是在说当前这一场。 */
.coverage__card-edition {
  align-self: flex-start;
  margin-top: 2px;
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: max(18px, 18px);
  line-height: 1.35;
  color: var(--muted);
}

/* 活动页那一块底部的短声明(汇总页底部是完整的那段) */
.coverage__note {
  margin-top: 28px;
  font-size: max(18px, 18px);
  line-height: 1.55;
  color: var(--muted);
}
