/* 嘉宾专属页：签到设备弹出层与手机专属页共用（尺寸以容器宽度 cqw 为单位，一体机与手机等比） */
.gc-host { position: relative; container-type: inline-size; }
.gc { --brand: var(--bg, #ffcc00); --accent: var(--primary, #632c16); --ink: #2b1a12; --muted: #7a6a5f;
  position: relative; display: grid; gap: 3.2cqw; padding: 4cqw 4.5cqw 4.5cqw; color: var(--ink);
  font-family: "Yuanti SC", "YouYuan", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
.gc-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* 1. 签到成功 */
.gc-hero { text-align: center; color: var(--accent); display: grid; justify-items: center; gap: .8cqw; }
.gc-check { width: 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #16a34a;
  font-size: 7.5cqw; font-weight: 900; box-shadow: 0 1cqw 3cqw rgb(0 0 0 / 12%); animation: gc-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.gc-hero-image { display: block; max-width: 46cqw; max-height: 30cqw; object-fit: contain; animation: gc-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.gc-hero-image.size-s { max-width: 30cqw; max-height: 20cqw; }
.gc-hero-image.size-l { max-width: 70cqw; max-height: 46cqw; }
.gc-hero h1 { margin: 0; font-size: 8cqw; font-weight: 900; letter-spacing: .08em; color: #fff; text-shadow: 0 .4cqw 1.2cqw rgb(99 44 22 / 30%); }
.gc-hero p { margin: 0; font-size: 3.3cqw; font-weight: 700; color: var(--accent); }

/* 2. 工牌 */
.gc-badge { background: #fff; border-radius: 3.6cqw; overflow: hidden; box-shadow: 0 2cqw 6cqw rgb(99 44 22 / 18%); animation: gc-rise .5s .1s cubic-bezier(.2, .9, .3, 1.15) both; }
.gc-badge-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 3.4cqw 4cqw 2.6cqw; background: var(--accent); color: #fff; }
.gc-slot { position: absolute; left: 50%; top: 1.4cqw; width: 12cqw; height: 1.6cqw; margin-left: -6cqw; border-radius: 1cqw; background: rgb(255 255 255 / 35%); }
.gc-logo { height: 10cqw; max-width: 56cqw; object-fit: contain; background: #fff; border-radius: 1.4cqw; padding: .6cqw 1.4cqw; }
.gc-badge-label { margin-left: auto; padding: .8cqw 2.6cqw; border-radius: 99px; background: var(--brand); color: var(--accent); font-size: 3cqw; font-weight: 900; letter-spacing: .1em; }
.gc-badge-body { display: grid; grid-template-columns: 38cqw minmax(0, 1fr); gap: 4cqw; align-items: center; padding: 4cqw; }
.gc-photo { aspect-ratio: 1; border-radius: 3cqw; overflow: hidden; background: color-mix(in srgb, var(--brand) 30%, #fff); border: 1.2cqw solid #fff;
  box-shadow: 0 0 0 .5cqw var(--brand), 0 1.5cqw 3cqw rgb(0 0 0 / 15%); display: grid; place-items: center; }
.gc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.gc-photo.fit-contain img, .gc-frame.fit-contain img { object-fit: contain; object-position: center; }
.gc-initial { font-size: 16cqw; font-weight: 900; color: var(--accent); }
.gc-id { min-width: 0; display: grid; gap: 1.6cqw; }
.gc-name { margin: 0; font-size: 8.5cqw; line-height: 1.15; font-weight: 900; color: var(--ink); word-break: break-all; }
.gc-name.art svg { display: block; height: 1.22em; width: auto; max-width: 100%; }
.gc-company { margin: 0; font-size: 4cqw; font-weight: 700; color: var(--ink); line-height: 1.35; }
.gc-position { margin: 0; font-size: 3.6cqw; color: var(--muted); }

/* 3. 座位 */
.gc-seat { background: #fff; border-radius: 3.6cqw; padding: 3.6cqw 4cqw 3cqw; box-shadow: 0 1.5cqw 4cqw rgb(99 44 22 / 12%); animation: gc-rise .5s .2s cubic-bezier(.2, .9, .3, 1.15) both; }
.gc-seat-row { display: flex; align-items: baseline; justify-content: space-between; gap: 3cqw; padding-bottom: 2.6cqw; border-bottom: .3cqw dashed #ead9c6; }
.gc-seat-row span { font-size: 3.4cqw; color: var(--muted); white-space: nowrap; display: grid; gap: .8cqw; }
.gc-venue { font-style: normal; font-size: 3.2cqw; font-weight: 900; color: #fff; background: var(--accent); border-radius: 99px; padding: .4cqw 2.4cqw; width: fit-content; }
.gc-seat-later { font-size: 4.4cqw !important; line-height: 1.4; }
.gc-seat-row strong { font-size: 7.4cqw; font-weight: 900; color: var(--accent); letter-spacing: .04em; text-align: right; }
.gc-map { margin: 3cqw 0 0; text-align: center; }
.gc-map-frame { position: relative; display: inline-block; max-width: 100%; border-radius: 2.4cqw; overflow: visible; vertical-align: top; }
.gc-map-frame > img { display: block; max-width: 100%; height: auto; border-radius: 2.4cqw; border: .3cqw solid #f1e6d8; }
.gc-map figcaption { margin-top: 2cqw; font-size: 3cqw; color: var(--muted); }

/* 座位标记：figure = 透明背景 IP 形象站在座位上；badge = IP 形象放进圆形定位针；pin = 默认红点 */
.gc-marker { position: absolute; width: 0; height: 0; z-index: 2; }
.gc-marker-pulse { position: absolute; left: -2.2cqw; top: -2.2cqw; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #e11d48;
  border: .7cqw solid #fff; box-shadow: 0 0 0 0 rgb(225 29 72 / 55%); animation: gc-pulse 1.4s infinite; }
.gc-marker.figure .gc-marker-pulse, .gc-marker.badge .gc-marker-pulse { left: -1.6cqw; top: -0.8cqw; width: 3.2cqw; height: 1.6cqw; border-radius: 50%; border: 0;
  background: rgb(0 0 0 / 28%); animation: gc-shadow 1.2s ease-in-out infinite; }
.gc-marker-art { position: absolute; left: 0; bottom: 0; transform: translateX(-50%); animation: gc-bounce 1.2s ease-in-out infinite; transform-origin: bottom center; }
.gc-marker.figure .gc-marker-art img { display: block; height: 20cqw; width: auto; filter: drop-shadow(0 1.2cqw 1.2cqw rgb(0 0 0 / 30%)); }
.gc-marker.badge .gc-marker-art { width: 13cqw; height: 16.5cqw; }
.gc-marker.badge .gc-marker-art img { position: absolute; left: 0; top: 0; width: 13cqw; height: 13cqw; border-radius: 50%; object-fit: cover; object-position: 50% 20%;
  border: 1cqw solid #fff; box-shadow: 0 0 0 .6cqw var(--accent), 0 1.4cqw 2.4cqw rgb(0 0 0 / 30%); background: #fff; }
.gc-marker.badge .gc-marker-art::after { content: ""; position: absolute; left: 50%; bottom: 0; margin-left: -2.4cqw; border: 2.4cqw solid transparent; border-bottom: 0;
  border-top: 4.2cqw solid var(--accent); }

/* 欢迎词与专属服务 */
.gc-extra { display: grid; gap: 1.6cqw; padding: 0 1cqw; color: var(--accent); }
.gc-welcome { margin: 0; font-size: 3.5cqw; line-height: 1.6; font-weight: 700; text-align: center; }
.gc-staff { margin: 0; font-size: 3.3cqw; text-align: center; }
.gc-staff span { opacity: .8; }
.gc-staff a { color: var(--accent); font-weight: 900; }

/* 自定义内容块 */
.gc-block { background: #fff; border-radius: 3.6cqw; padding: 3.6cqw 4cqw; box-shadow: 0 1.5cqw 4cqw rgb(99 44 22 / 12%); display: grid; gap: 2cqw;
  animation: gc-rise .5s .25s cubic-bezier(.2, .9, .3, 1.15) both; }
.gc-block h3 { margin: 0; font-size: 4.2cqw; font-weight: 900; color: var(--accent); }
.gc-block-body { margin: 0; font-size: 3.6cqw; line-height: 1.65; white-space: pre-line; color: var(--ink); }
.gc-block > img { display: block; width: 100%; height: auto; border-radius: 2.4cqw; }
.gc-frame { width: 100%; border-radius: 2.4cqw; overflow: hidden; background: color-mix(in srgb, var(--brand) 18%, #fff); }
.gc-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gc-block-caption { margin: 0; font-size: 3cqw; color: var(--muted); text-align: center; }
.gc-info { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6cqw 4cqw; font-size: 3.6cqw; }
.gc-info dt { color: var(--muted); white-space: nowrap; }
.gc-info dd { margin: 0; font-weight: 700; color: var(--ink); word-break: break-all; }
.gc-link { display: block; text-align: center; text-decoration: none; background: var(--accent); color: #fff; font-weight: 900; font-size: 4cqw;
  border-radius: 2.4cqw; padding: 2.8cqw 4cqw; }

/* 签到设备：完成 + 倒计时 */
.gc-actions { display: flex; justify-content: center; }
.gc-done { border: 0; border-radius: 2cqw; background: var(--accent); color: #fff; font: inherit; font-size: 4cqw; font-weight: 900; padding: 2.6cqw 12cqw; cursor: pointer; }
.gc-countdown { height: 1cqw; border-radius: 1cqw; background: rgb(255 255 255 / 45%); overflow: hidden; }
.gc-countdown i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; }

/* 后台预览：不播放入场动画 */
.gc-still, .gc-still * { animation: none !important; }

@keyframes gc-pop { from { transform: scale(0); } }
@keyframes gc-rise { from { opacity: 0; transform: translateY(5cqw) scale(.97); } }
@keyframes gc-pulse { 70% { box-shadow: 0 0 0 4cqw rgb(225 29 72 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(225 29 72 / 0%); } }
@keyframes gc-bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-2.4cqw); } }
@keyframes gc-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .gc-check, .gc-badge, .gc-seat, .gc-marker-art, .gc-marker-pulse { animation: none; } }

/* ---------- 海报版（设计稿 1124 × 2000：1cqw = 稿面 11.24px，以下数值均按设计稿像素换算） ---------- */
.gc-poster { --zone-off: color-mix(in srgb, var(--brand) 32%, #fff); display: block; min-height: 177.9cqw; padding: 10.32cqw 5.96cqw 11.75cqw;
  overflow: hidden; isolation: isolate; background: var(--poster-bg, none) left top / 100% auto no-repeat, var(--brand); }
/* 没有背景图时：左上角网点纹理 */
.gc-poster.no-bg::before { content: ""; position: absolute; left: 0; top: 0; width: 60cqw; height: 80cqw; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgb(255 255 255 / 30%) .3cqw, transparent .36cqw) 0 0 / 1.6cqw 1.6cqw;
  mask-image: radial-gradient(ellipse at top left, #000 0, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at top left, #000 0, transparent 70%); }
.gc-poster .art svg { display: block; height: calc(var(--art-lines, 1) * var(--art-lh, 1.22) * 1em); width: auto; max-width: 100%; overflow: visible; margin: 0; }

/* 背景水印：上下各一行，窄体大字，白色低透明度 */
.gcp-watermark { position: absolute; left: 3.33cqw; width: 96.4cqw; z-index: -1; pointer-events: none; color: rgb(255 255 255 / 10%); white-space: nowrap;
  font: 900 24cqw/1 "Arial Narrow", "Arial Black", sans-serif; text-align: center; letter-spacing: -.04em; }
.gcp-watermark.art svg { width: 100%; height: 31.8cqw; max-width: none; }
.gcp-watermark.top { top: -7.25cqw; }
.gcp-watermark.bottom { bottom: -.36cqw; }

/* 顶部：签到成功胶囊 + 右上活动名称 */
.gcp-top { position: relative; display: block; }
.gcp-pill { display: inline-flex; align-items: center; gap: 1.6cqw; height: 12.46cqw; background: #fff; border-radius: 999px; padding: 0 3.47cqw 0 1.78cqw;
  animation: gc-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.gcp-check { flex: none; width: 9.61cqw; height: 9.61cqw; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.gcp-check svg { width: 100%; height: 100%; }
.gcp-title { margin: 0; font-size: 8.05cqw; font-weight: 900; line-height: 1.22; letter-spacing: .04em; color: var(--accent); white-space: nowrap; }
.gcp-event { position: absolute; right: 1.15cqw; top: -.9cqw; margin: 0; text-align: right; font-size: 4cqw; font-weight: 800; line-height: 1.2; white-space: pre-line; color: #fff; }
.gcp-event.art svg { margin-left: auto; }

/* 欢迎语 + 姓名 + 公司；IP 形象立在信息卡上沿 */
.gcp-hello { position: relative; min-height: 39.25cqw; padding: 9.9cqw 0 3cqw 2.7cqw; }
.gcp-hello.has-art .gcp-id { padding-right: 38cqw; }
.gcp-id { position: relative; z-index: 1; animation: gc-rise .5s .1s cubic-bezier(.2, .9, .3, 1.15) both; }
.gcp-greeting { margin: .9cqw 0 0 -.27cqw; font-size: 4.7cqw; line-height: 1.22; color: var(--accent); }
.gcp-name { margin: 1.7cqw 0 0 -.75cqw; font-size: 8.1cqw; font-weight: 900; line-height: 1.22; color: var(--accent); word-break: break-all; }
.gcp-company { margin: .2cqw 0 0; font-size: 3.9cqw; line-height: 1.22; color: var(--accent); }
.gcp-position { margin: .6cqw 0 0; font-size: 3.4cqw; line-height: 1.22; color: var(--accent); }
.gcp-art { position: absolute; right: .8cqw; bottom: 0; width: 42.2cqw; max-height: 41.2cqw; object-fit: contain; object-position: right bottom;
  animation: gc-rise .5s .15s cubic-bezier(.2, .9, .3, 1.15) both; }

/* 白色信息卡 */
.gcp-sheet { position: relative; z-index: 2; background: #fff; border-radius: 3.2cqw; padding: 0 5.7cqw; animation: gc-rise .5s .2s cubic-bezier(.2, .9, .3, 1.15) both; }
.gcp-row { padding: 5.6cqw 3.65cqw 4.9cqw; }
.gcp-seat-row { padding-bottom: 2.23cqw; }
.gcp-seat-row .gcp-label { margin-bottom: .7cqw; }
.gcp-map-row.zones { padding: 3.9cqw 3.65cqw 5.78cqw; }
.gcp-staff-row .gcp-label { margin-bottom: 1.7cqw; }
.gcp-row + .gcp-row { border-top: .89cqw solid #f0f0f0; }
.gcp-label { margin: 0 0 2.4cqw; font-size: 3.9cqw; font-weight: 800; line-height: 1.22; letter-spacing: .04em; color: var(--brand); display: flex; align-items: center; gap: 1.6cqw; }
.gcp-venue { font-style: normal; font-size: 2.8cqw; background: var(--accent); color: #fff; border-radius: 99px; padding: .3cqw 2cqw; }
.gcp-value { margin: 0; font-size: 5.75cqw; font-weight: 900; line-height: 1.22; letter-spacing: .03em; color: var(--accent); }
.gcp-value.small { font-size: 4.2cqw; line-height: 1.45; }
.gcp-map-row .gc-map { margin: 1cqw 0 0; }

/* 会场区域示意：舞台 + 竖排分区 */
/* 设计稿的分区色块比文字区宽，右侧伸入留白：172–974px */
.gcp-zones { display: grid; justify-items: center; gap: 4.27cqw; margin: -.71cqw -1.96cqw 0 0; }
.gcp-stage { display: grid; place-items: center; width: 23.3cqw; height: 6.5cqw; border: .27cqw solid var(--brand); border-radius: 1cqw; color: var(--brand);
  font-size: 3.74cqw; font-weight: 800; letter-spacing: .1em; }
.gcp-zone-list { display: flex; justify-content: center; width: 100%;
  gap: clamp(1cqw, calc((71.4cqw - var(--n, 6) * 8.9cqw) / max(var(--n, 6) - 1, 1)), 3.56cqw); }
.gcp-zone { flex: 0 1 8.9cqw; min-width: 0; min-height: 23.7cqw; display: grid; place-items: center; padding: 2cqw .6cqw; border-radius: .9cqw;
  background: var(--zone-off); color: #fff; }
.gcp-zone.current { background: var(--brand); }
.gcp-zone-name { font-size: 3.3cqw; font-weight: 800; line-height: 1.08; writing-mode: vertical-rl; text-orientation: upright; letter-spacing: .1em; }
.gcp-zone-name.art { writing-mode: horizontal-tb; }

.gcp-welcome { margin: 0; font-size: 3.5cqw; line-height: 1.6; font-weight: 700; color: var(--accent); }
.gcp-staff-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 4cqw; padding: 4.7cqw 1.25cqw 3.4cqw 3.65cqw; }
.gcp-staff { min-width: 0; }
.gcp-staff-name { margin: 0; font-size: 7.9cqw; font-weight: 900; line-height: 1.22; color: var(--accent); }
.gcp-contact { display: block; margin: -.45cqw 0 0 .3cqw; font-size: 2.2cqw; font-weight: 700; line-height: 1.22; color: var(--accent); text-decoration: none; }
.gcp-qr { flex: none; display: grid; justify-items: center; gap: 1.47cqw; color: var(--accent); text-decoration: none; }
.gcp-qr-code { display: block; width: 17.3cqw; height: 17.3cqw; padding: .5cqw; background: #fff; border: .12cqw solid #646464; }
.gcp-qr-code svg { display: block; width: 100%; height: 100%; }
.gcp-qr-code.image { padding: 0; overflow: hidden; }
.gcp-qr-code.image img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* 后台预览：未上传二维码时的占位框（与设计稿一致：方框内“二维码”） */
.gcp-qr-code.placeholder { display: grid; place-items: center; font-size: 5.02cqw; font-weight: 900; color: var(--accent); }
.gcp-qr-only { justify-content: flex-end; }
.gcp-qr-caption { font-size: 2.05cqw; font-weight: 700; line-height: 1.12; text-align: center; white-space: pre-line; }
.gcp-qr-row { display: grid; justify-items: start; }
.gcp-block-row .gc-block { background: none; box-shadow: none; padding: 0; border-radius: 0; animation: none; }
.gcp-block-row .gc-block h3 { font-size: 3.7cqw; color: var(--brand); }
.gc-block .gcp-qr { justify-self: start; }

/* 签到设备：完成按钮与倒计时放在信息卡下方的留白里，不改变整体比例 */
.gc-poster .gc-actions { position: absolute; left: 0; right: 0; bottom: 2.6cqw; z-index: 3; }
.gc-poster .gc-done { padding: 1.6cqw 10cqw; font-size: 3.4cqw; border-radius: 999px; }
.gc-poster .gc-countdown { position: absolute; left: 5.96cqw; right: 5.96cqw; bottom: 1cqw; z-index: 3; height: .6cqw; }
