/* 永联实业 · AI入企黑客松 活动主页（阳光热血版，2026-11-28 重构）
   底子：大块纯色（橙 / 黄 / 奶白 / 蓝 / 黑）+ 放射光 + 像素字 + 黑色硬边框和硬阴影。
   颜色只用这几个，色块之间一刀切，不用柔和渐变。 */
:root {
  --ink: #0B0B0F; --or: #FF5A1F; --or2: #FF7230; --ye: #FFD400; --cream: #FFF3DC; --bl: #2B4BFF; --pk: #FF3B6B;
  --b: 3px; --pad: clamp(18px, 4vw, 40px);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; background: var(--ink); }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; text-align: inherit; }
:focus-visible { outline: 3px solid var(--bl); outline-offset: 3px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { list-style: none; }
/* 像素字：脚本把文字换成小画布；没换之前先按粗黑体显示 */
.px { display: block; font-weight: 900; line-height: 1.1; }
.px.px-on { line-height: 0; }
.px canvas { image-rendering: pixelated; max-width: none; }

/* ---------- 按钮：硬边框 + 硬阴影，按下去会「陷」进去 ---------- */
.pbtn { --bg: var(--ye); --fg: var(--ink); --sh: var(--ink); --d: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font-weight: 900; font-size: 17px; color: var(--fg); background: var(--bg); border: var(--b) solid var(--ink); box-shadow: var(--d) var(--d) 0 var(--sh);
  white-space: nowrap; transition: transform .08s steps(2), box-shadow .08s steps(2); }
.pbtn i { font-style: normal; font-size: .8em; }
.pbtn:hover { transform: translate(2px, 2px); box-shadow: calc(var(--d) - 2px) calc(var(--d) - 2px) 0 var(--sh); }
.pbtn:active { transform: translate(var(--d), var(--d)); box-shadow: 0 0 0 var(--sh); }
.pbtn-w { --bg: #fff; }
.pbtn-k { --bg: var(--ink); --fg: var(--ye); }
.pbtn-xl { min-height: 62px; padding: 0 34px; font-size: 20px; --d: 7px; }
.pbtn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; --d: 3px; }

/* ---------- 顶栏 ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 60px; display: flex; align-items: center; gap: 18px; padding: 0 var(--pad); background: var(--ink); color: #fff; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 26px; }
.brand i { width: 1px; height: 18px; background: rgba(255, 255, 255, .35); }
.nav { display: none; margin-left: auto; gap: 26px; font-weight: 700; font-size: 14.5px; }
.nav a:hover { color: var(--ye); }
.bar .pbtn { --sh: var(--or); }
.bar .pbtn:first-of-type { margin-left: auto; }
.bar-share { display: none; }
@media (min-width: 560px) { .bar-share { display: inline-flex; } }
@media (max-width: 559px) { .bar .pbtn[data-signup] { margin-left: auto; } }
@media (min-width: 1040px) { .nav { display: flex; } .bar .pbtn:first-of-type { margin-left: 6px; } }
@media (max-width: 480px) { .bar { gap: 10px; } .brand { gap: 9px; } .brand img { height: 22px; } .brand i { height: 15px; } }

/* ---------- 首屏 ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: var(--vh, 100svh); display: flex; flex-direction: column; justify-content: center; padding: calc(60px + clamp(34px, 6vh, 60px)) var(--pad) clamp(40px, 7vh, 72px); background: var(--or); border-bottom: var(--b) solid var(--ink); }
/* 放射光：两个相近的橙色一条隔一条，整片慢慢转 */
.rays { position: absolute; z-index: -3; left: 50%; top: 44%; width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax; background: repeating-conic-gradient(var(--or) 0 7.5deg, var(--or2) 7.5deg 15deg); animation: spin 180s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* 网点：只在两个角上 */
.dots { position: absolute; inset: 0; z-index: -2; opacity: .3; background: radial-gradient(circle, var(--ink) 0 1.7px, transparent 2.2px) 0 0 / 11px 11px;
  -webkit-mask-image: radial-gradient(60% 46% at 0 0, #000 0, transparent 72%), radial-gradient(56% 42% at 100% 100%, #000 0, transparent 72%);
  mask-image: radial-gradient(60% 46% at 0 0, #000 0, transparent 72%), radial-gradient(56% 42% at 100% 100%, #000 0, transparent 72%); }
/* 游戏机抬头显示 */
.hud { position: absolute; left: var(--pad); right: var(--pad); top: 76px; display: flex; justify-content: space-between; gap: 12px; font: 700 12px/1 var(--mono); letter-spacing: .12em; color: var(--ink); }
.hud span:nth-child(2) { display: none; }
@media (min-width: 760px) { .hud { font-size: 13px; } .hud span:nth-child(2) { display: block; } }

.hero-in { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tag { display: inline-flex; border: var(--b) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-2deg); font-weight: 900; font-size: 13.5px; line-height: 1; }
.tag b { padding: 9px 11px; background: var(--ink); color: var(--ye); font: 700 12.5px/1 var(--mono); letter-spacing: .14em; }
.tag span { padding: 9px 11px; background: #fff; letter-spacing: .08em; }

.title { position: relative; width: 100%; margin: clamp(22px, 4vh, 38px) 0 clamp(20px, 3.4vh, 32px); display: flex; flex-direction: column; align-items: center; gap: calc(var(--u, 6px) * 1.5); }
.title .t1 { transform: translateX(-7%); }
.title .t2 { transform: translateX(7%); }
/* 爆炸贴纸 */
.burst { position: absolute; right: max(0px, calc(50% - var(--u, 6px) * 52)); top: calc(var(--u, 6px) * -5); width: calc(var(--u, 6px) * 20); min-width: 82px; aspect-ratio: 1; display: grid; place-items: center; transform: rotate(12deg); animation: wob 1.2s steps(2) infinite; font-style: normal; }
.burst::before, .burst::after { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 61% 14%, 79% 8%, 80% 27%, 97% 32%, 87% 48%, 100% 62%, 82% 68%, 82% 87%, 64% 83%, 52% 100%, 40% 84%, 21% 91%, 20% 71%, 2% 65%, 12% 49%, 0 34%, 18% 28%, 19% 9%, 37% 15%); }
.burst::before { background: var(--ink); transform: scale(1.1) translate(3%, 3%); }
.burst::after { background: var(--pk); }
.burst b { position: relative; z-index: 1; font-size: max(13px, calc(var(--u, 6px) * 3.1)); line-height: 1.15; font-weight: 900; color: #fff; text-align: center; }
@keyframes wob { 50% { transform: rotate(7deg) scale(1.05); } }

.slogan { font-size: clamp(19px, 2.5vw, 32px); font-weight: 900; line-height: 1.7; }
.slogan mark { padding: .12em .4em; background: var(--ink); color: var(--ye); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(16px, 2.6vh, 24px) 0 clamp(22px, 3.6vh, 34px); }
.meta li { padding: 7px 12px; font-weight: 900; font-size: 14.5px; line-height: 1.4; background: #fff; border: var(--b) solid var(--ink); }
.meta li.hot { background: var(--ink); color: #fff; }
/* 手机上：奖杯和爱心排在日期两边（电脑上是散在四周的那几个） */
.meta li.deco { width: 46px; padding: 0; background: none; border: 0; align-self: center; animation: bob 1.4s steps(2) infinite; }
.meta li.deco + li + li.deco { width: 40px; animation-delay: -.6s; }
@media (min-width: 760px) { .meta li.deco { display: none; } }
.meta li.hot b { margin: 0 2px; color: var(--ye); font: 700 1.15em/1 var(--mono); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 18px; }

/* 像素小图标 */
.sp { display: block; width: var(--s, 56px); }
.sprites .sp { position: absolute; z-index: -1; animation: bob 1.4s steps(2) infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.s1 { --s: clamp(54px, 8vw, 116px); left: 5%; top: 21%; }
.s2 { --s: clamp(48px, 7vw, 104px); right: 6%; top: 60%; animation-delay: -.5s !important; }
.s3 { --s: clamp(40px, 5.4vw, 80px); left: 9%; top: 66%; animation-delay: -.9s !important; }
.s4 { --s: clamp(36px, 4.6vw, 68px); right: 9%; top: 19%; animation-delay: -.3s !important; }
.s5 { --s: clamp(26px, 3vw, 44px); left: 24%; top: 86%; animation-delay: -.7s !important; }
.s6 { --s: clamp(30px, 3.6vw, 54px); right: 23%; top: 87%; animation-delay: -1.1s !important; }
@media (max-width: 759px) {
  .sprites { display: none; }
  .hero .cta { width: 100%; flex-direction: column; align-items: stretch; padding: 0 6px; }
}

/* ---------- 两条交叉的滚动胶带 ---------- */
.tapes { position: relative; z-index: 2; height: 96px; margin: -34px 0 -62px; overflow-x: clip; pointer-events: none; }
.tape { position: absolute; left: -4%; right: -4%; overflow: hidden; border-block: var(--b) solid var(--ink); font-weight: 900; }
.tape-a { top: 12px; background: var(--ye); color: var(--ink); transform: rotate(-1.6deg); }
.tape-b { top: 40px; background: var(--ink); color: var(--ye); transform: rotate(1.2deg); font-family: var(--mono); letter-spacing: .1em; }
.tape-t { display: flex; width: max-content; animation: run 40s linear infinite; }
.tape-b .tape-t { animation-direction: reverse; animation-duration: 54s; }
.tape-t span { display: flex; align-items: center; padding: 7px 0; font-size: 15px; white-space: nowrap; }
.tape-t span::after { content: "✦"; margin: 0 18px; font-size: .8em; }
@keyframes run { to { transform: translateX(-25%); } }

/* ---------- 版块 ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; border-bottom: var(--b) solid var(--ink);
  background: var(--cream) radial-gradient(circle, rgba(11, 11, 15, .1) 0 1px, transparent 1.4px) 0 0 / 18px 18px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--pad); }
.wrap-s { padding-block: clamp(36px, 5vw, 56px); }
.b-ye { background: var(--ye); }
.b-ink { background: var(--ink); color: #fff; }
.b-bl { background: var(--bl); color: #fff; }
.b-or { background: var(--or); }

.sec-hd { margin-bottom: clamp(26px, 4vw, 46px); }
.lv { display: inline-block; padding: 6px 10px; font: 700 12.5px/1 var(--mono); letter-spacing: .16em; color: var(--ye); background: var(--ink); }
.b-ink .lv, .b-bl .lv { color: var(--ink); background: var(--ye); }
.sec-hd h2 { margin-top: 16px; font-size: clamp(32px, 6.2vw, 66px); line-height: 1.16; font-weight: 900; letter-spacing: -.01em; -webkit-text-stroke: .028em currentColor; }
.sec-hd h2 em { font-style: normal; background: linear-gradient(transparent 0 56%, var(--ye) 56% 94%, transparent 94%); }
.b-ink .sec-hd h2 em, .b-bl .sec-hd h2 em { background: none; color: var(--ye); }
.b-or .sec-hd h2 em { display: inline-block; margin-top: .14em; background: var(--ink); color: var(--ye); padding: .04em .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec-hd p { margin-top: 14px; max-width: 660px; font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; line-height: 1.75; opacity: .78; }

/* 数据方块 */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(60px, 9vw, 104px); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.tile { padding: 20px 18px 18px; background: #fff; border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.tile:nth-child(odd) { transform: rotate(-1.2deg); } .tile:nth-child(even) { transform: rotate(1deg); }
.t-ye { background: var(--ye); } .t-or { background: var(--or); color: #fff; } .t-bl { background: var(--bl); color: #fff; }
.tile small { display: block; margin-top: 12px; font-size: 17px; font-weight: 900; }
.tile span { display: block; font-size: 13px; font-weight: 600; opacity: .8; }

/* 你能得到什么 */
.gets { display: grid; gap: 18px; }
@media (min-width: 640px) { .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .gets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.get { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; align-content: start; padding: 20px 18px 22px; background: #fff; border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transition: transform .1s steps(2), box-shadow .1s steps(2); }
.get:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.ico { grid-row: span 2; display: grid; place-items: center; width: 60px; height: 60px; border: var(--b) solid var(--ink); }
@media (min-width: 1040px) { .get { display: block; padding: 22px 20px 24px; } .ico { margin-bottom: 18px; } }
.ico svg { width: 36px; }
.i-ye { background: var(--ink); } .i-or { background: var(--or); } .i-bl { background: var(--bl); } .i-pk { background: #fff; }
.get h3 { font-size: 20px; font-weight: 900; line-height: 1.3; }
.get p { margin-top: 8px; font-size: 14.5px; font-weight: 500; opacity: .75; }

/* 福利条 */
.perk { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .perk { grid-template-columns: minmax(0, 1.25fr) auto; gap: 48px; } }
.perk h2 { margin-top: 12px; font-size: clamp(30px, 5vw, 52px); line-height: 1.15; font-weight: 900; -webkit-text-stroke: .028em currentColor; }
.perk p { margin-top: 10px; max-width: 620px; font-size: 15.5px; font-weight: 600; }
.perk-l { display: flex; flex-wrap: wrap; gap: 12px; }
.perk-l li { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 900; font-size: 16px; background: #fff; border: var(--b) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.perk-l b { display: grid; place-items: center; width: 24px; height: 24px; font: 700 18px/1 var(--mono); color: var(--ye); background: var(--ink); }

/* 永联实拍：照片原样放，只有画框和标签是黑客松的 */
.cap { margin-bottom: 18px; font: 700 13px/1 var(--mono); letter-spacing: .1em; color: var(--ye); }
.stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 24px; } }
.stage { --c: var(--or); position: relative; display: flex; flex-direction: column; background: #fff; border: var(--b) solid #fff; box-shadow: 6px 6px 0 var(--c); transition: transform .1s steps(2); }
.stage:nth-child(4n+2) { --c: var(--ye); } .stage:nth-child(4n+3) { --c: var(--bl); } .stage:nth-child(4n+4) { --c: var(--pk); }
.stage:nth-child(odd) { transform: rotate(-1.1deg); } .stage:nth-child(even) { transform: rotate(.9deg); }
.stage:hover { transform: translate(-3px, -3px); }
.stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stage figcaption { flex: 1; align-content: start; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 9px 10px; font-weight: 900; font-size: 14.5px; line-height: 1.3; color: var(--ink); background: #fff; border-top: var(--b) solid #fff; }
.stage figcaption i { flex: none; padding: 2px 6px; font: 700 11px/1.2 var(--mono); font-style: normal; color: var(--ink); background: var(--c); }
.stage:nth-child(4n+3) figcaption i, .stage:nth-child(4n+4) figcaption i { color: #fff; }
.stage figcaption small { flex-basis: 100%; font-size: 12px; font-weight: 600; opacity: .65; }

/* 赛道 */
.cards { display: grid; gap: 20px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.card { --c: var(--or); background: #fff; border: var(--b) solid var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.c2 { --c: var(--ye); } .c3 { --c: var(--bl); }
.card header { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 900; background: var(--c); border-bottom: var(--b) solid var(--ink); }
.c1 header, .c3 header { color: #fff; }
.card header span { font: 700 22px/1 var(--mono); }
.card h3 { padding: 18px 18px 0; font-size: 26px; font-weight: 900; line-height: 1.25; }
.card h3 small { font-size: 14px; font-weight: 700; opacity: .6; }
.card ul { padding: 12px 18px 20px; }
.card li { position: relative; padding: 5px 0 5px 20px; font-size: 15.5px; font-weight: 600; }
.card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; background: var(--c); border: 2px solid var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips li { padding: 6px 12px; font-size: 14px; font-weight: 800; background: #fff; border: 2px solid var(--ink); }

/* 日程：闯关地图 */
.map { position: relative; display: grid; gap: 22px; }
.map li { position: relative; padding: 20px 20px 22px 86px; color: var(--ink); background: #fff; border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.map b { position: absolute; left: 18px; top: 20px; display: grid; place-items: center; width: 50px; height: 50px; font: 700 26px/1 var(--mono); background: var(--ye); border: var(--b) solid var(--ink); }
.map time { font: 700 13px/1 var(--mono); letter-spacing: .08em; color: var(--bl); }
.map h3 { margin-top: 4px; font-size: 22px; font-weight: 900; line-height: 1.3; }
.map p { margin-top: 6px; font-size: 14.5px; font-weight: 500; opacity: .75; }
.map .boss { background: var(--ye); } .map .boss b { background: var(--or); color: #fff; }
@media (min-width: 900px) {
  .map { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
  .map::before { content: ""; position: absolute; left: 4%; right: 4%; top: 45px; z-index: 0; border-top: 4px dashed #fff; }
  .map li { padding: 76px 18px 22px; }
  .map li:nth-child(even) { margin-top: 30px; }
  .map b { left: 18px; top: -18px; width: 56px; height: 56px; }
}

/* 奖金 */
.prizes { display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .prizes { grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; } }
.pz { position: relative; padding: 22px 22px 24px; background: #fff; border: var(--b) solid var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.pz span { display: block; margin-bottom: 14px; font-size: 17px; font-weight: 900; }
.pz.p1 { padding-block: 34px 36px; background: var(--ye); }
.pz .sp { position: absolute; right: 18px; top: -26px; --s: 74px; animation: bob 1.4s steps(2) infinite; }
/* 评审维度：血条 */
.hp { margin-top: 34px; padding: 22px 22px 14px; background: var(--ink); color: #fff; border: var(--b) solid var(--ink); box-shadow: 7px 7px 0 var(--or); }
.hp h3 { margin-bottom: 12px; font: 700 13px/1 var(--mono); letter-spacing: .14em; color: var(--ye); }
.hp-r { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr) 46px; align-items: center; gap: 12px; padding: 8px 0; font-weight: 800; font-size: 15px; }
.hp-r i { height: 18px; border: 2px solid #fff; background: repeating-linear-gradient(90deg, var(--ye) 0 9px, transparent 9px 12px) 3px 50% / calc(var(--v) * 3.2% ) 8px no-repeat; }
.hp-r b { font: 700 15px/1 var(--mono); color: var(--ye); text-align: right; }
@media (max-width: 639px) { .hp-r { grid-template-columns: minmax(0, 1fr) 46px; gap: 6px 12px; } .hp-r span { grid-column: 1 / -1; } }

/* 邀请卡 */
.rays-s { top: 50%; left: 78%; animation: none; z-index: -1; }
.invite { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .invite { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; } }
.invite .cta { justify-content: flex-start; }
.pcard { display: block; position: relative; justify-self: center; width: min(100%, 330px); text-align: left; cursor: pointer; transition: transform .1s steps(2); padding: 18px 18px 20px; color: #fff; background: var(--ink); border: var(--b) solid var(--ink); box-shadow: 10px 10px 0 var(--ye); transform: rotate(3deg); }
.pc-top { display: flex; align-items: center; gap: 10px; }
.pc-top img { height: 20px; } .pc-top i { width: 1px; height: 14px; background: rgba(255, 255, 255, .4); }
.pc-who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.pc-av { flex: none; width: 78px; height: 78px; padding: 6px 6px 0; background: var(--ye); border: var(--b) solid #fff; }
.pc-who small { font: 700 11px/1 var(--mono); letter-spacing: .14em; color: var(--ye); }
.pc-who b { margin-top: 6px; font-size: 21px; font-weight: 900; line-height: 1.2; }
.pc-who span span { font-size: 13px; font-weight: 600; opacity: .7; }
.pc-title { margin: 22px -18px 0; padding: 20px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--or) repeating-conic-gradient(from 0deg at 50% 50%, var(--or) 0 10deg, var(--or2) 10deg 20deg); border-block: var(--b) solid #fff; }
.pc-bot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; }
.pc-bot b { font: 700 15px/1.3 var(--mono); color: var(--ye); }
.pc-bot span span { font-size: 12.5px; font-weight: 600; opacity: .8; }
.pcard:hover { transform: rotate(1deg) translate(-2px, -3px); }
.pcard > span, .pc-who > span:last-child > *, .pc-bot > span > * { display: block; }
.pcard .pc-top, .pcard .pc-who, .pcard .pc-bot, .pcard .pc-title { display: flex; }
/* 示意用的二维码图案（真的二维码在生成的海报上） */
.pc-qr { flex: none; width: 84px; height: 84px; border: 6px solid #fff; background: #fff;
  background-image: linear-gradient(var(--ink) 0 0), linear-gradient(var(--ink) 0 0), linear-gradient(var(--ink) 0 0), repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%);
  background-size: 24px 24px, 24px 24px, 24px 24px, 12px 12px; background-position: 0 0, 100% 0, 0 100%, 0 0; background-repeat: no-repeat, no-repeat, no-repeat, repeat; }

/* 结尾 */
.final { text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-block: clamp(80px, 12vw, 150px); }
.rays-d { z-index: -1; top: 50%; background: repeating-conic-gradient(var(--ink) 0 7.5deg, #17161d 7.5deg 15deg); }
.final h2 { width: 100%; display: flex; justify-content: center; }
.final p { font-size: clamp(18px, 2.2vw, 26px); font-weight: 900; }
.blink { font: 700 13px/1 var(--mono); letter-spacing: .2em; color: var(--ye); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.foot { padding: 30px var(--pad) calc(96px + env(safe-area-inset-bottom)); font-size: 12.5px; line-height: 1.8; text-align: center; color: rgba(255, 255, 255, .6); background: var(--ink); }
.foot img { height: 30px; margin: 0 auto 12px; }
.foot .src { max-width: 720px; margin: 8px auto 0; font-size: 11.5px; opacity: .7; }

/* 手机底部固定条 */
.dock { position: fixed; inset: auto 0 0 0; z-index: 40; transform: translateY(110%); transition: transform .18s steps(4); display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: var(--b) solid var(--ink); font-size: 13px; font-weight: 700; }
.dock span { margin-right: auto; } .dock b { color: var(--or); }
.dock.show { transform: none; }
@media (min-width: 760px) { .dock { display: none; } .foot { padding-bottom: 30px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- 出现时「啪」地弹出来 ---------- */
.js .rv { opacity: 0; transform: translateY(14px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .2s steps(3) var(--d, 0s), transform .2s steps(3) var(--d, 0s); }
.js .tile.rv.in:nth-child(odd) { transform: rotate(-1.2deg); } .js .tile.rv.in:nth-child(even) { transform: rotate(1deg); }
.js .stage.rv.in:nth-child(odd) { transform: rotate(-1.1deg); } .js .stage.rv.in:nth-child(even) { transform: rotate(.9deg); }
.js .pcard.rv.in { transform: rotate(3deg); }

/* ---------- 小标题 ---------- */
.sub-k { margin: clamp(34px, 5vw, 52px) 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; font-weight: 600; opacity: .9; }
.sub-k b { padding: 5px 10px; font-size: 15px; font-weight: 900; color: var(--ye); background: var(--ink); }
.sec-hd + .sub-k { margin-top: 0; }
.sub-k.on-dark b { color: var(--ink); background: var(--ye); }
.tip { margin-top: 14px; font-size: 13px; font-weight: 600; opacity: .8; }

/* ---------- 永联实业：公司简介、时间线、滚动照片 ---------- */
.co { display: grid; gap: 22px; padding: 22px; margin-bottom: clamp(34px, 5vw, 52px); background: #17161D; border: var(--b) solid #fff; box-shadow: 7px 7px 0 var(--or); }
.co-t { display: grid; gap: 14px; align-content: start; }
.co-logo { height: 40px; width: auto; }
.co-t p { font-size: 15.5px; font-weight: 500; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.co-t p b { color: #fff; }
.co-n { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.co-n li { padding: 12px 14px; border: 2px solid rgba(255, 255, 255, .28); }
.co-n b { display: block; font: 700 clamp(30px, 5vw, 40px)/1.1 var(--mono); color: var(--ye); }
.co-n small { margin-left: 3px; font: 900 15px var(--sans); }
.co-n span { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, .7); }
@media (min-width: 900px) { .co { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 30px; padding: 28px; align-items: center; } .co-n { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cap-2 { margin-top: clamp(40px, 6vw, 64px); }
.tl { position: relative; display: grid; gap: 0; }
.tl li { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 9px 0 9px 26px; border-left: 4px solid rgba(255, 255, 255, .25); margin-left: 6px; }
.tl li::before { content: ""; position: absolute; left: -10px; top: 15px; width: 16px; height: 16px; background: var(--ink); border: 3px solid #fff; }
.tl b { flex: none; font: 700 20px/1.2 var(--mono); color: #fff; }
.tl span { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.tl .now::before { background: var(--ye); border-color: var(--ye); }
.tl .now b, .tl .now span { color: var(--ye); }
@media (min-width: 900px) {
  .tl { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tl li { display: block; margin: 0; padding: 26px 16px 0 0; border-left: 0; border-top: 4px solid rgba(255, 255, 255, .25); }
  .tl li::before { left: 0; top: -10px; }
  .tl span { display: block; margin-top: 6px; }
}
.marquee { overflow: hidden; padding: 0 0 clamp(56px, 8vw, 96px); margin-top: calc(-1 * clamp(20px, 4vw, 44px)); }
.track { display: flex; gap: 16px; width: max-content; animation: run2 70s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes run2 { to { transform: translateX(calc(-50% - 8px)); } }
.track figure { position: relative; flex: none; width: clamp(220px, 30vw, 340px); border: var(--b) solid #fff; background: #000; }
.track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.track figcaption { position: absolute; left: 0; bottom: 0; padding: 4px 9px; font-size: 12.5px; font-weight: 800; color: var(--ink); background: var(--ye); }

/* ---------- 全部业务板块 ---------- */
.trk { display: grid; gap: 12px; }
@media (min-width: 640px) { .trk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .trk { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; } }
.trk li { padding: 12px 14px; background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.trk b { display: block; font-size: 16px; font-weight: 900; }
.trk span { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; opacity: .72; }

/* ---------- 组队与作品要求 ---------- */
.rules { display: grid; gap: 14px; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.rules li { padding: 16px 18px; color: #fff; border: var(--b) solid #fff; background: rgba(11, 11, 15, .22); }
.rules b { font-size: 18px; font-weight: 900; color: var(--ye); }
.rules p { margin-top: 4px; font-size: 14.5px; font-weight: 500; line-height: 1.7; opacity: .92; }

/* ---------- 奖金合计与规则 ---------- */
.pz em { display: block; margin-top: 12px; font-style: normal; font-size: 13.5px; font-weight: 700; opacity: .7; }
.pz-sum { margin-top: 28px; display: grid; gap: 16px; padding: 20px 22px; background: #fff; border: var(--b) solid var(--ink); box-shadow: 7px 7px 0 var(--ink); }
@media (min-width: 900px) { .pz-sum { grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: center; } }
.pz-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 14px; font-weight: 800; }
.pz-total b { font: 700 54px/1 var(--mono); color: var(--or); }
.pz-total small { margin-left: 4px; font: 900 18px var(--sans); color: var(--ink); }
.pz-rules li { position: relative; padding: 4px 0 4px 18px; font-size: 14px; font-weight: 500; line-height: 1.7; }
.pz-rules li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; background: var(--ink); }

/* ---------- 我们在找这样的你、报名要求、参赛须知 ---------- */
@media (min-width: 1040px) { .gets.who { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.note { margin-top: 24px; padding: 14px 18px; font-size: 15px; font-weight: 600; line-height: 1.75; color: #fff; background: var(--ink); border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--or); }
.note b { margin-right: 10px; padding: 2px 8px; font-weight: 900; color: var(--ink); background: var(--ye); }
.terms { display: grid; gap: 0; background: #fff; border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.terms li { padding: 14px 18px; font-size: 14.5px; font-weight: 500; line-height: 1.75; }
.terms li + li { border-top: 2px solid var(--ink); }
.terms b { display: block; font-size: 16px; font-weight: 900; }
@media (min-width: 900px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .terms li:nth-child(2) { border-top: 0; } .terms li:nth-child(even) { border-left: 2px solid var(--ink); } }

/* ---------- 报名方式 ---------- */
/* 上面一张报名卡，下面一整块「加入群聊」：四个码并排（和报名页一致），手机上两两一排 */
.join { display: grid; gap: 26px; }
.join-go, .join-qr { padding: 24px 22px 26px; background: #fff; border: var(--b) solid var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.join-go { background: var(--ye); }
.join-go > b { font-size: 24px; font-weight: 900; }
.join-steps { margin: 16px 0 24px; display: grid; gap: 12px; }
.join-steps li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; line-height: 1.5; }
.join-steps span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; font: 700 19px/1 var(--mono); color: var(--ye); background: var(--ink); }
.join-go .pbtn { --bg: var(--or); --fg: #fff; width: 100%; }
.join-note { margin-top: 18px; font-size: 13px; font-weight: 600; opacity: .8; }
@media (min-width: 960px) {
  .join-go { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 48px; align-items: center; padding: 30px 36px 32px; }
  .join-go > b { grid-column: 1 / -1; }
  .join-steps { grid-column: 1; grid-row: 2 / span 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 18px 0 0; }
  .join-go .pbtn { grid-column: 2; grid-row: 2; align-self: end; }
  .join-note { grid-column: 2; grid-row: 3; align-self: start; margin-top: 12px; }
}
.join-qr h3 { font-size: 24px; font-weight: 900; }
.join-k { margin: 10px 0 20px; font-size: 15px; font-weight: 600; line-height: 1.7; opacity: .72; }
.join-c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.join-c figure { margin: 0; padding: 14px 10px 16px; text-align: center; background: #fff; border: 2px solid #D9D7D0; }
.join-c img { display: block; box-sizing: border-box; width: 100%; max-width: 200px; height: auto; aspect-ratio: 1; margin: 0 auto; padding: 6px; background: #fff; border: var(--b) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.join-c figcaption { margin-top: 14px; display: grid; gap: 6px; }
.join-c b { font-size: 15px; font-weight: 900; line-height: 1.4; }
.join-c b i { display: inline-block; font-style: normal; }   /* 窄屏换行时整段换，不把「联」单独挤到下一行 */
.join-steps li { text-wrap: balance; }
.join-c span { font-size: 12.5px; font-weight: 600; line-height: 1.6; opacity: .62; }
@media (min-width: 960px) {
  .join-qr { padding: 34px 36px 38px; }
  .join-c { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .join-c figure { padding: 26px 22px 24px; }
  .join-c img { padding: 10px; box-shadow: 6px 6px 0 var(--ink); }
  .join-c figcaption { margin-top: 20px; }
  .join-c b { font-size: 18px; }
  .join-c span { font-size: 14px; }
}


/* =====================================================================
   2026-11-28 夜 样稿：配色改版 + 首屏 3D + 文字不用像素字（未上线）
   配色取自永联小镇：粉墙白、黛瓦墨、灯笼朱红、水与柳的青绿。logo 保持原色。
   ===================================================================== */
@font-face { font-family: "PH"; src: url("../assets/font/ph-heavy.woff2") format("woff2"); font-weight: 900; font-display: swap; }
:root { --ink: #14171A; --or: #D2351B; --or2: #DE4A2F; --ye: #CFE7DD; --cream: #F8F7F3; --bl: #0F6F68; --pk: #D2351B; --red: #D2351B; --teal: #0F6F68; }
html { background: var(--cream); }

/* 文字：清晰的粗黑字（阿里巴巴普惠体特粗，只带了用到的几个字），不再用像素字 */
.hx { display: block; font-family: "PH", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-weight: 900; line-height: 1.05; letter-spacing: .01em; }
.hx small { font-size: .52em; margin-right: .08em; }

/* 按钮：主按钮朱红底白字 */
.pbtn { --bg: var(--red); --fg: #fff; }
.pbtn-w { --bg: #fff; --fg: var(--ink); }
.pbtn-k { --bg: var(--ink); --fg: #fff; }
.bar .pbtn { --sh: var(--ye); }
.nav a:hover { color: var(--ye); }

/* 首屏：左边文字，右边是 3D 的永联小镇（不加框，往左边渐渐淡出）；文字和下面的版块左边对齐 */
.hero { --gut: max(var(--pad), min(7.5vw, calc((100vw - 1180px) / 2))); padding-left: var(--gut); padding-right: var(--gut);
  background: radial-gradient(circle 21vh at 77% 33%, var(--ye) 0, var(--ye) 99%, rgba(207, 231, 221, 0) 100%) var(--cream); }   /* 天上一轮淡青色的圆：纯色、硬边 */
.hud { left: var(--gut); right: var(--gut); }
.hud span { padding: 4px 7px; margin: -4px -7px; background: rgba(248, 247, 243, .86); }
.rays, .dots, .sprites, .burst, .meta li.deco { display: none !important; }
.title { gap: .04em; }
.title .hx { font-size: clamp(54px, 8.2vw, 156px); line-height: 1.05; }
.title .t1 { color: var(--ink); transform: none; }
.title .t2 { color: var(--red); transform: none; }
.tag b { color: #fff; }
.slogan mark { color: #fff; }
.meta li.hot b { color: var(--ye); }
.hero-3d { position: absolute; right: 0; top: 60px; width: 64%; height: calc(100% - 60px); max-width: none; z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
/* 3D 视角切换 */
.views { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; z-index: 2; }
.views-k { font: 700 11.5px/1 var(--mono); letter-spacing: .12em; color: var(--ink); padding: 6px 8px; background: rgba(248, 247, 243, .9); }
.views button { min-height: 38px; padding: 0 14px; font-weight: 900; font-size: 14px; background: #fff; border: var(--b) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.views button:hover { background: var(--ye); }
.views button.on { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--red); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; align-content: center; column-gap: clamp(30px, 4.4vw, 70px); }
  .hero-in { margin: 0; max-width: none; align-items: flex-start; text-align: left; }
  .title { align-items: flex-start; }
  .meta, .cta { justify-content: flex-start; }
  .slogan { font-size: clamp(17px, 1.95vw, 26px); }
  .slogan mark { white-space: nowrap; }
  .views { position: absolute; right: var(--gut); bottom: 46px; justify-content: flex-end; max-width: 430px; }
  .views-k { margin-left: 40%; }
}
@media (max-width: 899px) {
  .hero { justify-content: flex-start; padding-top: calc(60px + 37vh); padding-bottom: 26px;
    background: radial-gradient(circle 9vh at 76% calc(60px + 11vh), var(--ye) 0, var(--ye) 99%, rgba(207, 231, 221, 0) 100%) var(--cream); }
  .hero-3d { left: 0; right: auto; width: 100%; height: 40vh;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .views { order: -1; justify-content: center; gap: 6px; margin-bottom: 12px; }
  .views-k { display: none; }
  .views button { min-height: 34px; padding: 0 10px; font-size: 13px; }
  .hero .tag { display: none; }
  .title { margin: 4px 0 10px; }
  .title .hx { font-size: 18.5vw; }
  .slogan { font-size: 17px; }
  .meta { margin: 12px 0 16px; gap: 8px; }
  .meta li { font-size: 13px; padding: 6px 9px; }
  .hero .cta { gap: 12px; width: 100%; }
  .hero .cta .pbtn { flex: 1 1 0; min-height: 54px; padding: 0 10px; font-size: 16.5px; }
}

/* 飘带 */
.tape-a { background: var(--red); color: #fff; }
.tape-b { color: #fff; }

/* 数字卡、奖金 */
.tile .hx { font-size: clamp(46px, 5.6vw, 76px); }
.pz .hx { font-size: clamp(38px, 4.4vw, 60px); }
.pz.p1 .hx { font-size: clamp(46px, 5.4vw, 76px); }
.pcard .hx { font-size: 46px; line-height: 1.08; }
.pcard .hx + .hx { color: var(--ye); }
h2[data-fitbox] .hx { font-size: clamp(64px, 13vw, 170px); color: var(--ye); text-shadow: .05em .05em 0 var(--red); }
/* 大色块不用整片朱红：邀请卡一节换成朱红的浅色调 */
.b-or { background: #F6DDD1; }

