/* =====================================================================
   厝客松 第七屆｜樣式
   色彩、字體、間距都集中在最上面的 :root，改這裡會整站一起變。
   ===================================================================== */

@font-face {
  font-family: "GenSekiTW";
  src: url("assets/fonts/GenSekiGothicTW-B.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  /* 主視覺三色 */
  --lime: #d9e367;
  --aqua: #66c4d0;
  --ink: #383939;

  /* 延伸色 */
  --ink-2: #4b4d4d;          /* 次要文字（淺底上 7:1 以上） */
  --ink-3: #2a2b2b;          /* 更深的墨色，深色區塊底 */
  --paper: #f6f8ec;          /* 帶一點萊姆的紙白 */
  --paper-aqua: #e6f4f3;     /* 帶一點湖水的紙白 */
  --lime-soft: #edf3b3;
  --aqua-soft: #b9e3e8;
  --line: rgba(56, 57, 57, .16);
  --on-ink: #eef3d2;         /* 深色底上的文字 */
  --on-ink-2: #c3c9b0;

  --g-down: linear-gradient(180deg, var(--lime), var(--aqua));
  --g-up: linear-gradient(0deg, var(--lime), var(--aqua));
  --g-side: linear-gradient(90deg, var(--aqua), var(--lime));

  /* 字體 */
  --f-head: "GenSekiTW", "Noto Sans TC", "PingFang TC", "Heiti TC", sans-serif;
  --f-body: "Noto Sans TC", "PingFang TC", "Heiti TC", "Microsoft JhengHei", sans-serif;
  --f-pixel: "Silkscreen", "Noto Sans TC", monospace;

  /* 尺寸 */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --nav-h: 68px;

  /* 動態曲線 */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sec--time :focus-visible, .foot :focus-visible, .count :focus-visible { outline-color: var(--lime); }
html { scrollbar-color: var(--ink) var(--paper); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 2px solid var(--paper); border-radius: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--lime); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.noscript { padding: 24px; text-align: center; }

/* 待填標籤 */
.tbd {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-body); font-weight: 500; font-size: .82em; line-height: 1.4;
  padding: 2px 10px; border: 1.5px dashed currentColor; border-radius: 6px; opacity: .72;
  white-space: nowrap;
}

/* 像素 icon（顏色跟著文字色） */
.px, .px-row svg, .px-col svg, .ico { fill: currentColor; }
.ico { width: 1em; height: 1em; flex: none; }

/* ---------- 按鈕 ---------- */
.btn {
  --bg: var(--ink); --fg: var(--lime); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: .04em;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 6px 16px -8px rgba(42, 43, 43, .5);
}
.btn:active { transform: scale(.97); }
.btn--ink { --bg: var(--ink); --fg: var(--lime); --bd: var(--ink); }
.btn--paper { --bg: #fbfcf4; --fg: var(--ink); --bd: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); box-shadow: none; }
.btn--lime { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 18px; }
.btn__arrow { width: 14px; height: 14px; fill: currentColor; transition: transform 200ms steps(2, end); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { --bg: var(--ink-3); }
  .btn--paper:hover, .btn--line:hover { --bg: var(--lime); }
  .btn--lime:hover { --bg: #e6ee8c; }
  .btn:hover .btn__arrow { transform: translateX(5px); }
}

/* ---------- 選取框（主視覺 logo 外框的延伸） ---------- */
.sel { position: relative; display: inline-block; padding: 6px 18px 8px; border: 2px solid var(--ink); }
.sel > .h { position: absolute; width: 9px; height: 9px; background: var(--ink); }
.sel > .h1 { left: -5.5px; top: -5.5px; }
.sel > .h2 { right: -5.5px; top: -5.5px; }
.sel > .h3 { left: -5.5px; bottom: -5.5px; }
.sel > .h4 { right: -5.5px; bottom: -5.5px; }

/* ---------- 區塊標題 ---------- */
.sec { position: relative; padding: clamp(72px, 10vw, 136px) 0; }
.sec-head { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 {
  font-family: var(--f-head); font-weight: 700; letter-spacing: .06em;
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1.2;
}
.sec-head .sel { padding: 4px 20px 6px; }
.sec-head__en { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: flex-end; font-family: var(--f-pixel); font-size: clamp(14px, 1.5vw, 20px); letter-spacing: .08em; white-space: nowrap; }
.sec-head__en::before { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 16px); opacity: .5; min-width: 24px; }
.sec-head__en svg { width: clamp(22px, 2.4vw, 30px); height: clamp(22px, 2.4vw, 30px); fill: currentColor; flex: none; }
.sec-lead { margin: -16px 0 40px; }
.sec-head .sel { flex: none; }
.sec-head h2 { white-space: nowrap; }
.sec-head__en { min-width: 0; }
@media (max-width: 560px) { .sec-head__en > span { display: none; } }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.85; max-width: 46em; color: var(--ink-2); }

/* 標題外框進場（只在可動態時） */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.shot) .sec-head .sel { transition: clip-path 700ms var(--ease-out); clip-path: inset(0 0 0 0); }
  html.js:not(.shot) .sec-head:not(.in) .sel { clip-path: inset(0 100% 0 0); }
  html.js:not(.shot) .sec-head .sec-head__en { transition: opacity 400ms ease 150ms, transform 500ms var(--ease-out) 150ms; }
  html.js:not(.shot) .sec-head:not(.in) .sec-head__en { opacity: 0; transform: translateX(12px); }
}

/* =====================================================================
   導覽列
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.nav.is-solid { background: rgba(246, 248, 236, .96); box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(42,43,43,.4); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 20px; max-width: calc(1440px); margin: 0 auto; padding: 0 var(--gutter); }
.nav__logo { display: block; width: 132px; flex: none; color: var(--ink); }
.nav__logo svg { width: 100%; height: auto; fill: currentColor; }
.nav__links { display: none; }
.nav__cta { margin-left: auto; }
.nav__burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border-radius: 12px; border: 2px solid var(--ink); background: #fbfcf4; }
.nav__burger span { display: block; width: 18px; height: 2.5px; background: var(--ink); transition: transform 240ms var(--ease-out); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.75px) rotate(-45deg); }

@media (min-width: 1240px) {
  .nav__links { display: flex; gap: clamp(14px, 1.5vw, 26px); margin-left: auto; }
  .nav__links a {
    position: relative; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .04em; padding: 6px 0; white-space: nowrap;
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink);
    transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out);
  }
  .nav__links a:hover::after, .nav__links a.is-on::after { transform: scaleX(1); }
  .nav__cta { margin-left: 8px; }
  .nav__burger { display: none; }
}
@media (max-width: 520px) { .nav__cta { display: none; } .nav__burger { margin-left: auto; } }

/* 手機選單 */
.sheet {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: var(--paper);
  display: flex; flex-direction: column; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 220ms ease, transform 320ms var(--ease-drawer);
}
.sheet[hidden] { display: none; }
.sheet:not(.is-open) { pointer-events: none; }
.sheet.is-open { opacity: 1; transform: none; }
.sheet__links { display: flex; flex-direction: column; }
.sheet__links a {
  display: flex; align-items: center; justify-content: space-between; text-decoration: none;
  font-family: var(--f-head); font-weight: 700; font-size: 24px; letter-spacing: .06em;
  padding: 14px 4px; border-bottom: 1.5px solid var(--line);
}
.sheet__links a svg { width: 14px; height: 14px; fill: currentColor; }
.sheet__cta { display: grid; gap: 12px; margin-top: 24px; }
.sheet__cta .btn { width: 100%; }

/* =====================================================================
   首頁主視覺
   ===================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(640px, 100svh);
  padding: calc(var(--nav-h) + 24px) 0 clamp(36px, 6vw, 64px);
  background: var(--g-down);
  display: flex; align-items: flex-end;
}

/* 主視覺的漸層色塊拼貼 */
.hero__tiles { position: absolute; inset: 0; z-index: -2; }
.hero__tiles .t {
  position: absolute; display: block;
  background: linear-gradient(var(--dir, 180deg), var(--lime) 0%, var(--aqua) 50%, var(--lime) 100%);
  background-size: 100% 200%;
  will-change: background-position;
}
.hero__tiles .t1 { --dir: 180deg; left: 0; top: 0; width: 36%; height: 26%; }
.hero__tiles .t2 { --dir: 0deg; left: 18%; top: 14%; width: 44%; height: 22%; }
.hero__tiles .t3 { --dir: 180deg; right: 0; top: 0; width: 42%; height: 34%; }
.hero__tiles .t4 { --dir: 0deg; left: 0; top: 36%; width: 28%; height: 34%; }
.hero__tiles .t5 { --dir: 180deg; left: 28%; top: 34%; width: 40%; height: 40%; }
.hero__tiles .t6 { --dir: 0deg; right: 0; top: 46%; width: 36%; height: 24%; }
.hero__tiles .t7 { --dir: 180deg; left: 0; bottom: 0; width: 64%; height: 30%; }

.hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--ink); }
.hero__deco > * { position: absolute; }
.px--glasses { width: clamp(60px, 7vw, 110px); height: auto; aspect-ratio: 1; left: 4%; top: calc(var(--nav-h) + 2%); }
.px--chat { width: clamp(44px, 5vw, 80px); height: auto; aspect-ratio: 1; left: 23%; top: calc(var(--nav-h) + 1%); }
.px--people { width: clamp(90px, 11vw, 170px); height: auto; aspect-ratio: 1; left: 39%; top: calc(var(--nav-h) - 2%); }
.px-row { display: flex; gap: clamp(14px, 2vw, 30px); right: 12%; top: calc(var(--nav-h) + 3%); }
.px-row svg { width: clamp(18px, 2vw, 30px); height: clamp(18px, 2vw, 30px); }
.px-col { display: none; flex-direction: column; gap: clamp(28px, 4vh, 48px); right: 2.4%; top: calc(var(--nav-h) + 9%); }
.px-col svg { width: 22px; height: 22px; }
.chrome { filter: drop-shadow(0 18px 24px rgba(42, 43, 43, .18)); }
.chrome--stars { width: clamp(150px, 15vw, 240px); left: 27%; top: calc(var(--nav-h) + 9%); }
.chrome--cursor { width: clamp(64px, 6.4vw, 104px); right: 45%; top: 31%; }
.chrome--wave { width: max(760px, 58vw); max-width: none; right: -10vw; bottom: -6vw; filter: drop-shadow(0 24px 30px rgba(42,43,43,.2)); }

.hero__in {
  position: relative; width: 100%; max-width: calc(1440px); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: 32px; align-items: end;
}
.hero__pixel { width: clamp(240px, 36vw, 560px); height: auto; aspect-ratio: 529 / 256.9; fill: var(--ink); }   /* 上方留空間給「×」，不會被裁掉 */
.hero__title { margin-top: 14px; font-family: var(--f-head); font-weight: 700; letter-spacing: .06em; line-height: 1.35; }
.hero__title span { display: block; }
.hero__title span:first-child { font-size: clamp(14px, 1.2vw, 17px); letter-spacing: .3em; color: var(--ink-2); }
.hero__title span:last-child { font-size: clamp(20px, 2.1vw, 30px); }
.hero__lead { margin-top: 14px; max-width: 30em; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.8; font-weight: 500; }
.hero__perks { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.hero__perks li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px;
  background: var(--ink); color: var(--lime); border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .03em;
}
.hero__perks li svg { width: 12px; height: 12px; fill: currentColor; }

.hero__card { position: relative; justify-self: stretch; }
.sel--hero { padding: 4px 16px 6px; transform: rotate(-2deg); transform-origin: left center; }
.hero__en {
  font-family: var(--f-pixel); font-size: clamp(22px, 3vw, 46px); line-height: 1.1; letter-spacing: .06em; display: flex; gap: .3em;
}
.hero__theme { margin-top: 18px; white-space: nowrap; font-family: var(--f-head); font-weight: 700; font-size: clamp(32px, 4.1vw, 66px); line-height: 1.12; letter-spacing: .04em; }
.hero__slogan { margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: clamp(15px, 1.45vw, 21px); letter-spacing: .06em; line-height: 1.5; }

.kd { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; }
.kd__item { padding: 12px 16px 14px; border-radius: var(--r-md); background: rgba(251, 252, 244, .92); border: 2px solid var(--ink); }
.kd__item dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.kd__item dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.kd__item b { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; }
.kd__item span { font-size: 14px; font-weight: 700; }
.kd__item:first-child { background: var(--ink); color: var(--lime); }
.kd__item:first-child dt, .kd__item:first-child span { color: var(--on-ink); }
.count { margin-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.count__label { font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.count__digits { display: flex; gap: 4px; }
.count__cell { display: flex; align-items: baseline; gap: 3px; padding: 4px 8px; background: rgba(56, 57, 57, .1); border-radius: 8px; }
.count__cell b { font-family: var(--f-pixel); font-weight: 400; font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.count__cell small { font-size: 12px; font-weight: 700; }
.count__done { font-family: var(--f-head); font-size: 22px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__early { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 10px; background: rgba(251, 252, 244, .92); font-size: 14px; font-weight: 500; }

@media (max-width: 699px) {
  .hero { min-height: auto; padding-bottom: 220px; }
  .hero__tiles .t1 { width: 60%; height: 20%; }
  .hero__tiles .t2 { left: 30%; top: 12%; width: 70%; height: 16%; }
  .hero__tiles .t3 { width: 50%; height: 20%; top: 26%; }
  .hero__tiles .t4 { top: 30%; width: 50%; height: 22%; }
  .hero__tiles .t5 { left: 20%; top: 50%; width: 80%; height: 22%; }
  .hero__tiles .t6 { top: 66%; width: 60%; height: 16%; }
  .hero__tiles .t7 { width: 100%; height: 22%; }
  .px--people, .px-row { display: none; }
  .px--glasses { left: auto; right: 6%; top: calc(var(--nav-h) + 10px); width: 54px; }
  .px--chat { display: none; }
  .chrome--stars { width: 120px; left: auto; right: 4%; top: calc(var(--nav-h) + 120px); }
  .chrome--cursor { width: 64px; right: 8%; top: auto; bottom: 230px; }
  .chrome--wave { width: 640px; right: -180px; bottom: -40px; }
  .hero__pixel { width: min(72vw, 300px); }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { padding: 12px 14px; font-size: 16px; min-height: 54px; }
}
@media (min-width: 700px) {
  .hero__in { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: clamp(48px, 7vw, 96px); }
  .chrome--wave { bottom: -8vw; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 180px); padding-bottom: 260px; }
  .hero__card { max-width: 620px; }
  .chrome--cursor { right: 10%; top: auto; bottom: 300px; }
  .chrome--stars { left: auto; right: 8%; top: calc(var(--nav-h) + 60px); }
  .px--people { left: 48%; }
}
@media (min-width: 1100px) {
  .hero__in { grid-template-columns: 1.08fr .92fr; align-items: end; }
  .hero__card { padding-bottom: 8px; }
  .px-col { display: flex; }
  .hero__card { padding-right: 40px; }
}
@media (min-width: 1100px) and (max-height: 800px) {
  .hero__theme { font-size: clamp(34px, 4vw, 58px); }
}

/* 主視覺進場 */
@media (prefers-reduced-motion: no-preference) {
  html:not(.shot) .hero__tiles .t { animation: tileIn 1000ms var(--ease-out) both, drift 18s ease-in-out 1s infinite alternate; }
  html:not(.shot) .hero__tiles .t2 { animation-delay: 60ms, 1.2s; }
  html:not(.shot) .hero__tiles .t3 { animation-delay: 120ms, 1.4s; animation-duration: 1000ms, 22s; }
  html:not(.shot) .hero__tiles .t4 { animation-delay: 180ms, 1.1s; animation-duration: 1000ms, 16s; }
  html:not(.shot) .hero__tiles .t5 { animation-delay: 240ms, 1.6s; animation-duration: 1000ms, 20s; }
  html:not(.shot) .hero__tiles .t6 { animation-delay: 300ms, 1.3s; }
  html:not(.shot) .hero__tiles .t7 { animation-delay: 360ms, 1.5s; animation-duration: 1000ms, 24s; }
  html:not(.shot) .hero__in > * { animation: riseIn 900ms var(--ease-out) both; }
  html:not(.shot) .hero__in > *:nth-child(2) { animation-delay: 140ms; }
  html:not(.shot) .chrome { animation: chromeIn 1100ms var(--ease-out) 200ms both, bob 7s ease-in-out 1.3s infinite alternate; }
  html:not(.shot) .chrome--cursor { animation-duration: 1100ms, 5.5s; }
  html:not(.shot) .chrome--wave { animation: chromeIn 1400ms var(--ease-out) 100ms both, bob 11s ease-in-out 1.5s infinite alternate; }
  html:not(.shot) .hero__deco .px, html:not(.shot) .px-row, html:not(.shot) .px-col { animation: pxIn 600ms steps(4, end) 400ms both; }
}
@keyframes tileIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift { from { background-position: 0 0%; } to { background-position: 0 100%; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes chromeIn { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
@keyframes pxIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }

/* =====================================================================
   關於競賽
   ===================================================================== */
.sec--about { background: var(--paper); }
.facts { margin: 28px 0 clamp(40px, 6vw, 72px); display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 2px solid var(--ink); }
.fact { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1.5px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 16px; letter-spacing: .08em; }
.fact dt svg { width: 26px; height: 26px; flex: none; fill: var(--ink); padding: 4px; box-sizing: content-box; border-radius: 8px; background: var(--g-down); }
.fact dd { margin: 0; font-weight: 500; font-size: 16px; line-height: 1.6; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .fact { grid-template-columns: 1fr; align-content: start; gap: 10px; padding: 22px 24px; border-bottom: 1.5px solid var(--line); border-right: 1.5px solid var(--line); }
  .fact:nth-child(3n) { border-right: 0; }
  .fact:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 520px) { .fact { grid-template-columns: 1fr; gap: 6px; } }
.about { display: grid; gap: clamp(32px, 5vw, 72px); }
.about__statement { font-family: var(--f-head); font-weight: 700; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.3; letter-spacing: .04em; }
.about__body p + p { margin-top: 1em; }
.about__body p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.9; max-width: 40em; }
.seek h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .08em; display: flex; align-items: center; gap: 10px; }
.seek h3 svg { width: 18px; height: 18px; fill: currentColor; }
.seek ol { margin-top: 16px; display: grid; gap: 12px; }
.seek li {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center;
  padding: 14px 18px 14px 14px; border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--line);
  font-weight: 500; font-size: 16px; line-height: 1.6;
}
.seek li .tile { width: 64px; height: 64px; border-radius: 14px; background: var(--g-down); display: grid; place-items: center; }
.seek li .tile svg { width: 32px; height: 32px; fill: var(--ink); }
.seek li:nth-child(2) .tile { background: var(--g-up); }
@media (hover: hover) and (pointer: fine) {
  .seek li:hover .tile svg, .id-card:hover .id-card__ico svg { animation: pxJump 360ms steps(3, end); }
}
@keyframes pxJump { 0% { transform: translateY(0); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0); } }

.who {
  margin-top: clamp(40px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg);
  background: var(--ink); color: var(--on-ink); display: grid; gap: 28px; position: relative; overflow: hidden;
}
.who h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .06em; color: var(--lime); }
.who p { margin-top: 12px; max-width: 42em; color: var(--on-ink); line-height: 1.9; }
.who__lists { display: grid; gap: 20px; align-content: start; }
.who__lists dt { font-size: 13px; letter-spacing: .2em; color: var(--on-ink-2); }
.who__lists dd { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 6px 14px; border-radius: 999px; font-weight: 500; font-size: 14px; line-height: 1.4; border: 1.5px solid currentColor; }
.who .chip--fill { background: var(--lime); color: var(--ink); border-color: var(--lime); font-weight: 700; }
.who__splat { position: absolute; width: 180px; right: -30px; bottom: -40px; opacity: .9; pointer-events: none; }
@media (min-width: 900px) {
  .about { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .who { grid-template-columns: 1.2fr .8fr; padding-right: 200px; }
  .who__splat { width: 240px; right: -20px; bottom: -50px; }
}

/* =====================================================================
   競賽報名
   ===================================================================== */
.sec--signup { background: var(--paper-aqua); }
.ids { display: grid; gap: 16px; }
.id-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--g-side);
}
.id-card:nth-child(2) { background: linear-gradient(90deg, var(--lime), var(--aqua)); }
.id-card__ico { width: 76px; height: 76px; border-radius: 18px; background: #fbfcf4; display: grid; place-items: center; }
.id-card__ico svg { width: 40px; height: 40px; fill: var(--ink); }
.id-card h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .06em; line-height: 1.3; }
.id-card p { margin-top: 4px; font-weight: 500; font-size: 16px; }
.ids__solo {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r-md); background: var(--ink); color: var(--on-ink);
  font-weight: 500;
}
.ids__solo strong { color: var(--lime); font-family: var(--f-head); }
.ids__solo svg { width: 28px; height: 28px; fill: var(--lime); flex: none; }

.steps { margin-top: clamp(36px, 5vw, 56px); }
.steps h3, .subs h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: .06em; }
.steps ol { margin-top: 16px; display: grid; gap: 10px; counter-reset: s; }
.steps li {
  counter-increment: s; position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: #fff; border-radius: var(--r-md); border: 1.5px solid var(--line); font-weight: 700;
}
.steps li::before {
  content: counter(s); font-family: var(--f-pixel); font-size: 18px; width: 36px; height: 36px; flex: none;
  display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: 8px;
}
.steps__note { margin-top: 14px; color: var(--ink-2); max-width: 52em; }
@media (min-width: 900px) {
  .ids { grid-template-columns: 1fr 1fr; }
  .ids__solo { grid-column: 1 / -1; }
  .steps ol { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .steps li { border-radius: 0; flex-direction: column; align-items: flex-start; padding: 18px 28px 20px 20px; min-height: 120px; }
  .steps li:first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
  .steps li:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
  .steps li + li { border-left: 0; }
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; translate: 0 -50%; z-index: 1;
    background: var(--ink); clip-path: polygon(0 0, 50% 0, 50% 25%, 75% 25%, 75% 50%, 100% 50%, 100% 50%, 75% 50%, 75% 75%, 50% 75%, 50% 100%, 0 100%);
  }
}

.rules-list { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 12px; }
.rule { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); }
.rule h3 { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .06em; }
.rule h3 svg { width: 22px; height: 22px; padding: 7px; box-sizing: content-box; flex: none; border-radius: 10px; fill: var(--lime); background: var(--ink); }
.rule ul { margin-top: 12px; display: grid; gap: 8px; }
.rule li { position: relative; padding-left: 18px; line-height: 1.8; }
.rule li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--ink); }
@media (min-width: 760px) { .rules-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .rules-list { grid-template-columns: repeat(3, 1fr); }
  .rule:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (min-width: 760px) and (max-width: 1099px) { .rule:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.subs { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 16px; }
.sub { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); }
.sub__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.sub h4 { font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: .06em; }
.sub__date { font-family: var(--f-pixel); font-size: 14px; letter-spacing: .04em; padding: 2px 10px; background: var(--lime); border-radius: 6px; }
.sub ul { margin-top: 14px; display: grid; gap: 8px; }
.sub li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; }
.sub li svg { width: 12px; height: 12px; fill: var(--ink); translate: 0 1px; }
.confirm {
  margin-top: 16px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--r-md);
  background: var(--lime-soft); font-weight: 500;
}
.confirm svg { width: 26px; height: 26px; flex: none; fill: var(--ink); }
.cta-row { margin-top: clamp(32px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .subs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cta-row .btn { flex: 1 1 100%; } }

/* =====================================================================
   競賽主題
   ===================================================================== */
.sec--theme { background: var(--g-down); overflow: hidden; }
.theme-hero { position: relative; }
.theme-en {
  font-family: var(--f-pixel); font-size: clamp(36px, 8.4vw, 132px); line-height: 1; letter-spacing: .02em;
  display: flex; flex-wrap: wrap; gap: 0 .25em; align-items: center;
}
.theme-en .paren { font-family: var(--f-body); font-weight: 400; transform: scaleY(1.2); }
.theme-title { margin-top: 18px; font-family: var(--f-head); font-weight: 700; font-size: clamp(32px, 5vw, 76px); line-height: 1.15; letter-spacing: .04em; }
.theme-slogan { margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: clamp(16px, 1.8vw, 24px); letter-spacing: .06em; }
.theme-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: clamp(28px, 4vw, 56px); }
.poem p { font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.75; letter-spacing: .06em; }
.poem p:empty { height: .9em; }
.poem__invite { margin-top: 20px; padding: 18px 22px; background: var(--ink); color: var(--lime); border-radius: var(--r-md); font-family: var(--f-head); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; letter-spacing: .04em; }
.brief { background: #fbfcf4; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); }
.brief h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .06em; }
.brief p { margin-top: 12px; line-height: 1.9; }
.brief__q { margin-top: 20px !important; font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.5; letter-spacing: .04em; }
@media (min-width: 900px) { .theme-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } .theme-cursor { display: block; } }
.theme-cursor { display: none; position: absolute; right: 2%; bottom: -6px; width: clamp(70px, 9vw, 140px); filter: drop-shadow(0 16px 20px rgba(42,43,43,.2)); }

/* 任務 */
.mission { margin-top: clamp(56px, 8vw, 104px); }
.mission__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.mission__head h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 3vw, 38px); letter-spacing: .04em; line-height: 1.3; }
.mission__head p { font-family: var(--f-head); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); padding: 4px 14px; background: var(--ink); color: var(--lime); border-radius: 8px; }
.mission__row { margin-top: 28px; display: grid; gap: 12px; }
.mis { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 18px 22px 18px 18px; border-radius: var(--r-lg); background: rgba(251, 252, 244, .9); }
.mis img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(42,43,43,.2)); }
.mis h4 { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: .08em; line-height: 1.2; }
.mis p { margin-top: 6px; font-weight: 500; }
.mis__plus { display: none; }
@media (min-width: 900px) {
  .mission__row { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
  .mis { grid-template-columns: 1fr; text-align: left; padding: 28px; align-content: start; }
  .mis img { width: 132px; height: 132px; margin-bottom: 8px; }
  .mis__plus { display: grid; place-items: center; width: 48px; }
  .mis__plus svg { width: 22px; height: 22px; fill: var(--ink); }
}

/* 基地 */
.site { margin-top: clamp(56px, 8vw, 104px); display: grid; gap: 16px; }
.site__plan { background: #fbfcf4; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); }
.site__plan h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: .06em; }
.site__plan .addr { margin-top: 6px; color: var(--ink-2); font-weight: 500; }
.plan { margin-top: 18px; width: 100%; height: auto; }
.plan .shape { fill: var(--lime-soft); stroke: var(--ink); stroke-width: 2.5; }
.plan .dim { font-family: var(--f-pixel); font-size: 13px; fill: var(--ink); }
.plan .dimline { stroke: var(--ink); stroke-width: 1.2; }
.plan .area { font-family: var(--f-head); font-weight: 700; font-size: 26px; fill: var(--ink); }
.plan .street { fill: var(--aqua-soft); }
.plan .street-name { font-family: var(--f-head); font-weight: 700; font-size: 17px; fill: var(--ink); letter-spacing: .3em; }
.site__note { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.site__info { display: grid; gap: 16px; }
.rules { background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.rules h4, .crit h4 { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .08em; }
.rules h4 { color: var(--lime); }
.rules ol, .crit ol { margin-top: 12px; display: grid; gap: 10px; counter-reset: r; }
.rules li, .crit li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; font-weight: 500; }
.rules li::before, .crit li::before { content: counter(r); font-family: var(--f-pixel); font-size: 15px; }
.rules li::before { color: var(--lime); }
.crit { background: #fbfcf4; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
@media (min-width: 900px) { .site { grid-template-columns: 1.15fr .85fr; } }

/* 評分 */
.score { margin-top: clamp(56px, 8vw, 104px); background: #fbfcf4; border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 44px); }
.score__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.score__top h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: .06em; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--paper-aqua); border: 1.5px solid var(--line); }
.seg button { position: relative; z-index: 1; padding: 8px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: color 200ms ease; }
.seg button[aria-pressed="true"] { color: var(--lime); }
.seg__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform 280ms var(--ease-out); }
.seg[data-i="1"] .seg__pill { transform: translateX(100%); }
.bar { margin-top: 24px; display: flex; height: 18px; border-radius: 999px; overflow: hidden; gap: 3px; }
.bar i { display: block; height: 100%; }
.bar i:nth-child(1) { background: var(--ink); }
.bar i:nth-child(2) { background: var(--aqua); }
.bar i:nth-child(3) { background: var(--lime); }
.bar i:nth-child(4) { background: #a9d6c6; }
.crit-list { margin-top: 20px; display: grid; gap: 0; }
.crit-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-top: 1.5px solid var(--line); }
.crit-item__pct { white-space: nowrap; font-family: var(--f-pixel); font-size: clamp(26px, 2.6vw, 34px); line-height: 1; display: flex; align-items: flex-start; gap: 8px; }
.crit-item__pct::before { content: ""; width: 10px; height: 10px; flex: none; margin-top: 8px; background: var(--c, var(--ink)); }
.crit-item:nth-child(2) { --c: var(--aqua); }
.crit-item:nth-child(3) { --c: #b8c33a; }
.crit-item:nth-child(4) { --c: #7fbfa9; }
.crit-item h4 { font-family: var(--f-head); font-weight: 700; font-size: 19px; letter-spacing: .04em; }
.crit-item p { margin-top: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.crit-item.is-new h4::after { content: "決賽調整"; margin-left: 10px; font-family: var(--f-body); font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--lime); vertical-align: 3px; }
@media (min-width: 900px) { .crit-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* =====================================================================
   競賽時程（深色）
   ===================================================================== */
.sec--time { background: var(--ink-3); color: var(--on-ink); overflow: hidden; }
.sec--time .sec-head .sel { border-color: var(--lime); }
.sec--time .sec-head .sel > .h { background: var(--lime); }
.sec--time .sec-head h2 { color: var(--lime); }
.sec--time .sec-head__en { color: var(--lime); }
.sec--time .lead { color: var(--on-ink-2); }
.tl { margin-top: 8px; position: relative; display: grid; gap: 0; max-width: 980px; }
.tl__item { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 4px 16px; padding-bottom: 30px; }
.tl__item::before { content: ""; position: absolute; left: 16px; top: 24px; bottom: -2px; width: 2px; background: rgba(238, 243, 210, .22); }
.tl__item:last-child::before { display: none; }
.tl__item.is-done::before { background: var(--aqua); }
.tl__dot { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; grid-row: span 2; align-self: start; }
.tl__dot i { width: 18px; height: 18px; background: var(--ink-3); border: 2.5px solid var(--on-ink-2); }
.tl__item.is-small .tl__dot i { width: 12px; height: 12px; }
.tl__item.is-done .tl__dot i { background: var(--aqua); border-color: var(--aqua); }
.tl__item.is-now .tl__dot i, .tl__item.is-next .tl__dot i { background: var(--lime); border-color: var(--lime); }
.tl__date { font-family: var(--f-pixel); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; color: var(--lime); }
.tl__item.is-small .tl__date { font-size: clamp(20px, 2vw, 26px); color: var(--aqua-soft); }
.tl__year { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--on-ink-2); letter-spacing: .06em; }
.tl__what { grid-column: 2; }
.tl__title { margin-top: 2px; font-family: var(--f-head); font-weight: 700; font-size: clamp(19px, 1.8vw, 23px); letter-spacing: .06em; color: #fbfcf4; }
.tl__desc { margin-top: 4px; font-size: 15px; line-height: 1.7; color: var(--on-ink-2); }
.tl__badge { display: inline-flex; margin-top: 8px; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; background: var(--lime); color: var(--ink); }
.tl__stage { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ink); background: var(--aqua-soft); padding: 1px 8px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.shot) .tl__item.is-now .tl__dot i, html:not(.shot) .tl__item.is-next .tl__dot i { animation: blink 1.4s steps(2, jump-none) infinite; }
}
@keyframes blink { 0% { opacity: 1; } 100% { opacity: .35; } }
@media (min-width: 700px) {
  .tl__item { grid-template-columns: 34px 240px 1fr; gap: 0 24px; padding-bottom: 36px; }
  .tl__dot { grid-row: auto; }
  .tl__what { grid-column: 3; padding-top: 4px; }
}

.days { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 14px; }
.day { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); background: var(--g-side); color: var(--ink); }
.day:nth-child(2) { background: linear-gradient(90deg, var(--lime), var(--aqua)); }
.day__top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.day__d { font-family: var(--f-pixel); font-size: clamp(34px, 3.4vw, 48px); line-height: 1; }
.day__date { font-family: var(--f-pixel); font-size: 15px; }
.day h3 { margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .06em; }
.day ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.day li { padding: 4px 12px; border-radius: 999px; background: rgba(251,252,244,.85); font-weight: 500; font-size: 14px; }
.tl-note { margin-top: 20px; font-size: 14px; color: var(--on-ink-2); }
@media (min-width: 900px) { .days { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   競賽獎金
   ===================================================================== */
.sec--prize { background: var(--paper); }
.prize-banner { position: relative; overflow: hidden; display: grid; gap: 10px 32px; align-items: center; padding: clamp(24px, 4vw, 44px); padding-right: clamp(24px, 22vw, 300px); border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); }
.prize-banner__k { font-family: var(--f-head); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .1em; }
.prize-banner__v { font-family: var(--f-head); font-weight: 700; font-size: clamp(54px, 8vw, 112px); line-height: 1; color: var(--lime); letter-spacing: .02em; }
.prize-banner__d { font-weight: 500; line-height: 1.8; max-width: 26em; }
.prize-banner img { position: absolute; right: -10px; top: 50%; translate: 0 -50%; width: clamp(120px, 20vw, 280px); }
@media (min-width: 900px) { .prize-banner { grid-template-columns: auto 1fr; } }
@media (max-width: 699px) { .prize-banner { padding-right: 24px; padding-bottom: 120px; } .prize-banner img { top: auto; bottom: -20px; translate: none; width: 140px; } }
.ranks { margin-top: 14px; display: grid; gap: 12px; }
.rank { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--g-side); }
.rank--1 { background: linear-gradient(90deg, var(--lime), var(--aqua)); }
.rank__no { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--lime); font-family: var(--f-pixel); font-size: 26px; }
.rank__name { font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: .1em; }
.rank__amt { font-family: var(--f-head); font-weight: 700; line-height: 1; white-space: nowrap; }
.rank__amt b { font-size: clamp(44px, 5vw, 72px); }
.rank__amt small { font-size: clamp(15px, 1.4vw, 19px); margin-left: 4px; }
@media (min-width: 900px) {
  .ranks { grid-template-columns: 1.2fr 1fr 1fr; }
  .rank { grid-template-columns: auto 1fr; grid-template-rows: auto auto; padding: 24px 26px 26px; }
  .rank__amt { grid-column: 1 / -1; margin-top: 18px; }
  .rank--1 .rank__amt b { font-size: clamp(60px, 6.4vw, 96px); }
}
.perk-row { margin-top: 14px; display: grid; gap: 12px; }
.perk h3 { display: flex; align-items: center; gap: 10px; }
.perk h3 svg { width: 20px; height: 20px; fill: var(--ink); flex: none; }
.perk__big { margin-top: 6px; font-family: var(--f-head); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); }
@media (min-width: 900px) { .perk-row { grid-template-columns: repeat(3, 1fr); } }
.prize { display: grid; gap: clamp(28px, 4vw, 48px); }
.podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: clamp(8px, 1.4vw, 16px); }
.pod { display: grid; grid-template-rows: auto auto 1fr; justify-items: center; text-align: center; }
.pod__rank { font-family: var(--f-head); font-weight: 700; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .1em; }
.pod__amt { margin-top: 4px; font-family: var(--f-head); font-weight: 700; line-height: 1; letter-spacing: .02em; }
.pod__amt b { font-size: clamp(46px, 7vw, 104px); font-weight: 700; }
.pod__amt small { font-size: clamp(14px, 1.4vw, 20px); margin-left: 4px; }
.pod__block { width: 100%; margin-top: 12px; border-radius: 14px 14px 4px 4px; background: var(--g-down); position: relative; display: grid; place-items: start center; padding-top: 14px; }
.pod--1 .pod__block { height: clamp(160px, 20vw, 260px); background: var(--ink); }
.pod--2 .pod__block { height: clamp(110px, 13vw, 170px); }
.pod--3 .pod__block { height: clamp(80px, 9vw, 120px); background: var(--g-up); }
.pod__block span { font-family: var(--f-pixel); font-size: clamp(28px, 3.4vw, 48px); color: var(--ink); }
.pod--1 .pod__block span { color: var(--lime); }
.pod--1 .pod__block img { position: absolute; width: 70%; top: -18%; left: 50%; translate: -50% 0; display: none; }
.prize__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 20px; }
.prize__total b { font-family: var(--f-head); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .06em; }
.prize__total span { font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); padding: 0 12px; background: var(--lime); border-radius: 8px; line-height: 1.3; }
.perk-list { display: grid; gap: 14px; align-content: start; }
.perk { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); }
.perk h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .08em; }
.perk__pop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.perk__pop p { font-weight: 700; }
.perk__pop strong { font-family: var(--f-head); font-size: clamp(24px, 2.4vw, 32px); padding: 2px 14px; background: var(--aqua-soft); border-radius: 8px; }
.perk ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.perk li { padding: 4px 12px; border-radius: 999px; background: var(--paper-aqua); font-weight: 500; font-size: 14px; }
.perk p.small { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.early {
  margin-top: 14px;
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 10px; align-items: center;
  padding: clamp(22px, 3vw, 32px); padding-right: 130px; border-radius: var(--r-lg); background: var(--ink); color: var(--lime);
  font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.5; letter-spacing: .04em;
}
.early img { position: absolute; right: -16px; bottom: -22px; width: 140px; }
@media (min-width: 1000px) { .prize { grid-template-columns: 1.05fr .95fr; align-items: end; } }

.travel { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 20px; }
.travel h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .06em; }
.travel ol { margin-top: 12px; display: grid; gap: 8px; counter-reset: t; color: var(--ink-2); }
.travel ol li { counter-increment: t; display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.travel ol li::before { content: counter(t) "."; font-family: var(--f-pixel); font-size: 14px; color: var(--ink); }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; border: 1.5px solid var(--line); }
.tbl th, .tbl td { text-align: left; padding: 14px 18px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--ink); color: var(--lime); font-weight: 700; font-size: 14px; letter-spacing: .1em; border-bottom: 0; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:last-child { font-family: var(--f-head); font-weight: 700; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.tbl th:last-child { text-align: right; }
@media (min-width: 900px) { .travel { grid-template-columns: 1fr 1fr; align-items: start; } }

/* =====================================================================
   網路人氣獎
   ===================================================================== */
.sec--vote { background: var(--g-up); }
.vote-status {
  display: grid; gap: 14px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink);
}
.vote-status__state { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vote-status__state b { font-family: var(--f-head); font-size: clamp(22px, 2.4vw, 30px); color: var(--lime); letter-spacing: .06em; }
.vote-status__pill { padding: 3px 12px; border-radius: 6px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.vote-status ul { display: grid; gap: 6px; }
.vote-status li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; color: var(--on-ink); font-size: 15px; }
.vote-status li svg { width: 10px; height: 10px; fill: var(--lime); }
.vote-status__upd { font-size: 13px; color: var(--on-ink-2); }
.teams { margin-top: clamp(28px, 4vw, 40px); display: grid; gap: 16px; }
.team { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); background: #fbfcf4; overflow: hidden; }
.team__cover { position: relative; aspect-ratio: 16 / 10; background: var(--g-side); display: grid; place-items: center; overflow: hidden; }
.team:nth-child(2) .team__cover { background: linear-gradient(90deg, var(--lime), var(--aqua)); }
.team__cover img { width: 100%; height: 100%; object-fit: cover; }
.team__ph { display: grid; justify-items: center; gap: 10px; color: var(--ink); }
.team__ph svg { width: 56px; height: 56px; fill: var(--ink); }
.team__rank { position: absolute; left: 14px; top: 14px; font-family: var(--f-pixel); font-size: 16px; padding: 4px 10px; background: var(--ink); color: var(--lime); border-radius: 8px; }
.team__body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.team__name { font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: .04em; line-height: 1.3; }
.team__work { font-weight: 700; color: var(--ink-2); }
.team__sum { font-size: 15px; color: var(--ink-2); }
.team__votes { font-family: var(--f-pixel); font-size: 20px; }
.team__votes small { font-family: var(--f-body); font-size: 13px; margin-left: 4px; }
.team__btns { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.team__btns .btn { flex: 1; min-width: 120px; }
@media (min-width: 760px) { .teams { grid-template-columns: repeat(3, 1fr); } }

/* Coming soon */
.soon { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 64px); border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); }
.soon__big { font-family: var(--f-pixel); font-size: clamp(40px, 8vw, 120px); line-height: 1; color: var(--lime); letter-spacing: .02em; }
.soon__txt { margin-top: 20px; font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 2vw, 26px); line-height: 1.6; letter-spacing: .04em; max-width: 22em; position: relative; z-index: 1; }
.soon__rules { margin-top: 18px; display: grid; gap: 6px; position: relative; z-index: 1; max-width: 34em; }
.soon__rules li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; font-size: 15px; }
.soon__rules li svg { width: 10px; height: 10px; fill: var(--lime); }
.soon__chrome { position: absolute; right: -20px; bottom: -30px; width: clamp(140px, 22vw, 300px); opacity: .95; }
@media (max-width: 699px) { .soon { padding-bottom: 150px; } .soon__chrome { width: 150px; } }
.preview-note { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 16px; border-radius: var(--r-md); background: #fbfcf4; border: 1.5px dashed var(--ink); font-weight: 700; font-size: 14px; }
.preview-note svg { width: 22px; height: 22px; fill: var(--ink); flex: none; }

/* 作品大圖視窗 */
.dlg { width: min(960px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); }
.dlg::backdrop { background: rgba(42, 43, 43, .6); }
.dlg[open] { animation: dlgIn 260ms var(--ease-out); }
@keyframes dlgIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.dlg__in { position: relative; padding: clamp(20px, 3vw, 32px); }
.dlg__close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); border-radius: 12px; z-index: 2; }
.dlg__close svg { width: 18px; height: 18px; fill: var(--lime); }
.dlg__close:active { transform: scale(.95); }
.dlg h3 { font-family: var(--f-head); font-weight: 700; font-size: 26px; padding-right: 56px; }
.dlg__gal { margin-top: 16px; display: grid; gap: 12px; }
.dlg__gal img { border-radius: var(--r-md); width: 100%; }
.dlg__ph { aspect-ratio: 16 / 9; border-radius: var(--r-md); background: var(--g-side); display: grid; place-items: center; }

/* =====================================================================
   歷屆回顧
   ===================================================================== */
.sec--history { background: var(--paper); }
.yrs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px 12px; scrollbar-width: thin; }
.yrs [role="tab"] { flex: 1 0 auto; min-width: 104px; display: grid; justify-items: center; gap: 2px; padding: 10px 14px; border-radius: var(--r-md); border: 2px solid var(--ink); background: #fff; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.yrs [role="tab"] b { font-family: var(--f-pixel); font-weight: 400; font-size: 22px; line-height: 1.1; }
.yrs [role="tab"] small { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.yrs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--lime); }
.yrs [role="tab"]:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .yrs [role="tab"][aria-selected="false"]:hover { background: var(--lime-soft); } }
.hist { display: grid; }
.ed { border-radius: var(--r-lg); background: #fff; border: 2px solid var(--ink); padding: clamp(18px, 3vw, 32px); }
.ed[hidden] { display: none; }
.ed + .ed { margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) { html:not(.shot) .ed:not([hidden]) { animation: edIn 320ms var(--ease-out); } }
@keyframes edIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ed__head { margin-bottom: 18px; }
.ed__no { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ink-2); }
.ed__title { margin-top: 2px; font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; letter-spacing: .04em; }
.ed__content { display: grid; gap: 22px; }
.ed__side { display: grid; gap: 16px; align-content: start; }
.ed__desc { font-size: 16px; line-height: 1.85; }
.ed__teambox { padding: 16px 18px; border-radius: var(--r-md); background: var(--paper-aqua); }
.ed__teambox small { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ink-2); }
.ed__teambox b { display: block; margin-top: 2px; font-family: var(--f-head); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .04em; line-height: 1.3; }
.ed__teambox p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
@media (min-width: 900px) { .ed__content { grid-template-columns: 1.15fr .85fr; align-items: start; } }

/* 輪播（每一張疊在一起，用透明度切換） */
.car { position: relative; }
.car__stage { position: relative; aspect-ratio: 16 / 9.2; border-radius: var(--r-md); overflow: hidden; background: var(--paper-aqua); }
.car .slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; display: grid; place-items: center;
  transition: opacity 360ms ease, filter 360ms ease, visibility 0s linear 360ms; filter: blur(4px);
}
.car .slide.is-on { opacity: 1; visibility: visible; filter: none; transition: opacity 360ms ease, filter 360ms ease, visibility 0s; }
.car .slide img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.car__ph { width: 100%; height: 100%; background: var(--g-side); display: grid; place-items: center; text-align: center; gap: 8px; align-content: center; }
.car__ph svg { width: 40px; height: 40px; fill: var(--ink); margin: 0 auto; }
.car__ctl { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.car__dots { display: flex; gap: 6px; }
.car__dots button { width: 28px; height: 28px; display: grid; place-items: center; }
.car__dots button i { width: 10px; height: 10px; background: var(--line); transition: background-color 200ms ease, transform 200ms var(--ease-out); }
.car__dots button[aria-current="true"] i { background: var(--ink); transform: scale(1.2); }
.car__arrows { display: flex; gap: 8px; }
.car__arrows button { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--ink); display: grid; place-items: center; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.car__arrows button:active { transform: scale(.95); }
.car__arrows svg { width: 14px; height: 14px; fill: var(--ink); }
.car__arrows .prev svg { transform: scaleX(-1); }
.car__cap { font-size: 13px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .car__arrows button:hover { background: var(--lime); } }

/* YouTube */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--ink); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__btn { position: absolute; inset: 0; display: grid; place-items: center; }
.yt__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: relative; width: 72px; height: 72px; border-radius: 20px; background: var(--lime); display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.yt__play svg { width: 26px; height: 26px; fill: var(--ink); }
.yt__btn:active .yt__play { transform: scale(.95); }
.yt__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--on-ink); text-align: center; }
.yt__ph svg { width: 40px; height: 40px; fill: var(--lime); margin: 0 auto; }
.hist-more { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hist-more p { color: var(--ink-2); }

/* =====================================================================
   Q&A
   ===================================================================== */
.sec--faq { background: var(--paper-aqua); }
.faq-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px 8px; }
.faq-tabs [role="tab"] { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font-weight: 700; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.faq-tabs [role="tab"] svg { width: 18px; height: 18px; fill: currentColor; }
.faq-tabs [role="tab"] small { font-family: var(--f-pixel); font-size: 12px; padding: 0 6px; border-radius: 4px; background: var(--paper-aqua); color: var(--ink); }
.faq-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--lime); }
.faq-tabs [role="tab"]:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .faq-tabs [role="tab"][aria-selected="false"]:hover { background: var(--lime-soft); } }
.faq__list { display: grid; gap: 8px; max-width: 920px; }
.faq__list[hidden] { display: none; }
.qa { border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--line); transition: border-color 200ms ease; }
.qa.is-open { border-color: var(--ink); }
.qa__q { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; text-align: left; padding: 16px 18px; font-weight: 700; font-size: 16px; line-height: 1.6; }
.qa__q .q { font-family: var(--f-pixel); font-size: 16px; line-height: 1.6; }
.qa__q .pm { width: 26px; height: 26px; border-radius: 8px; background: var(--paper-aqua); display: grid; place-items: center; transition: background-color 200ms ease; }
.qa__q .pm svg { width: 11px; height: 11px; fill: var(--ink); transform: rotate(45deg); transition: transform 260ms var(--ease-out); }
.qa.is-open .pm { background: var(--ink); }
.qa.is-open .pm svg { fill: var(--lime); transform: rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease-out); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 18px 18px 46px; color: var(--ink-2); line-height: 1.85; }

/* =====================================================================
   聯絡我們
   ===================================================================== */
.sec--contact { background: var(--lime); overflow: hidden; }
.contact { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.contact__lead { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.5; letter-spacing: .04em; max-width: 18em; }
.contact__btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact__list { margin-top: 28px; display: grid; gap: 10px; }
.contact__list a {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r-md);
  background: rgba(251,252,244,.8); text-decoration: none; font-weight: 700; transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.contact__list a small { font-size: 13px; letter-spacing: .14em; color: var(--ink-2); font-weight: 700; }
.contact__list a span { overflow-wrap: anywhere; }
.contact__list a svg { width: 12px; height: 12px; fill: currentColor; }
.contact__list a:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .contact__list a:hover { background: #fff; } }
.qr { justify-self: center; display: grid; gap: 12px; justify-items: center; padding: 22px; border-radius: var(--r-lg); background: #fff; width: min(100%, 340px); position: relative; }
.qr img { width: 100%; max-width: 280px; }
.qr p { font-weight: 700; text-align: center; }
.qr__x { position: absolute; width: 18px; height: 18px; fill: var(--ink); }
.qr__x--a { left: -9px; top: -9px; } .qr__x--b { right: -9px; top: -9px; } .qr__x--c { left: -9px; bottom: -9px; } .qr__x--d { right: -9px; bottom: -9px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr .8fr; } }

/* =====================================================================
   頁尾 & 手機底部按鈕
   ===================================================================== */
.foot { background: var(--ink-3); color: var(--on-ink-2); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot__in { display: grid; gap: 20px; }
.foot__logos { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.foot__org { display: flex; align-items: center; gap: 14px; }
.foot__org span { font-size: 12px; letter-spacing: .2em; }
.foot__org img { height: 40px; width: auto; }
.foot__note { max-width: 60em; line-height: 1.8; }
.foot__copy { font-size: 13px; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 248, 236, .96);
  box-shadow: 0 -1px 0 var(--line), 0 -10px 24px -16px rgba(42,43,43,.35);
  transform: translateY(110%); transition: transform 320ms var(--ease-drawer);
}
.dock .btn { min-height: 48px; padding: 10px 12px; box-shadow: none; }
.dock.is-on { transform: none; }
@media (min-width: 700px) { .dock { display: none; } }
@media (max-width: 699px) { body.has-dock .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* =====================================================================
   深灰底色系（首頁主視覺以下全部）
   底色一律用標準深灰 #383939；萊姆黃、藍綠色只用在文字、框線、單色色塊；
   漸層只用在大面積區塊（主題介紹、總獎金、決賽 D1/D2、Coming soon、身分卡）。
   ===================================================================== */
:root {
  --card: #424444;          /* 浮起的卡片 */
  --card-2: #303131;        /* 凹下去的區塊 */
  --line-d: rgba(238, 243, 210, .16);
  --text: #f2f4ea;          /* 深灰底上的主要文字 */
  --text-2: #c9cdb8;        /* 次要文字（對深灰 7:1 以上） */
}
body { background: var(--ink); color: var(--text); }
html { scrollbar-color: var(--lime) var(--ink); }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--lime); border-color: var(--ink); }
main .sec :focus-visible, .foot :focus-visible, .sheet :focus-visible, .dock :focus-visible, .dlg :focus-visible { outline-color: var(--lime); }

/* 區塊：同一個深灰，區塊之間用細線分隔 */
.sec, .sec--about, .sec--signup, .sec--theme, .sec--time, .sec--prize, .sec--vote, .sec--history, .sec--faq, .sec--contact { background: var(--ink); color: var(--text); }
.sec + .sec { border-top: 1px solid var(--line-d); }
.hero { color: var(--ink); }
.nav:not(.is-solid) { color: var(--ink); }
/* 主題介紹面板裡的 CITY RE:QUEST */
.theme-hero .theme-en { font-size: clamp(22px, 6.4vw, 100px); flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 699px) { .theme-hero .theme-en { flex-wrap: wrap; white-space: normal; font-size: clamp(26px, 9vw, 40px); } .theme-hero .theme-en .paren { display: none; } }
.sec .lead { color: var(--text-2); }

/* 區塊標題 */
.sec .sec-head .sel { border-color: var(--lime); }
.sec .sec-head .sel > .h { background: var(--lime); }
.sec .sec-head h2 { color: var(--lime); }
.sec .sec-head__en { color: var(--aqua); }

/* 按鈕（深灰底上） */
.sec .btn, .sheet .btn, .dock .btn, .dlg .btn { box-shadow: none; }
.sec .btn--ink, .sheet .btn--ink, .dock .btn--ink { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); }
.sec .btn--paper, .sheet .btn--paper, .dock .btn--paper { --bg: transparent; --fg: var(--text); --bd: var(--text); }
.sec .btn--line, .sheet .btn--line { --bg: transparent; --fg: var(--aqua); --bd: var(--aqua); }
@media (hover: hover) and (pointer: fine) {
  .sec .btn--ink:hover { --bg: #e6ee8c; }
  .sec .btn--paper:hover, .sec .btn--line:hover { --bg: rgba(217, 227, 103, .12); }
}
.sec .btn[aria-disabled="true"] { --bg: transparent; --fg: var(--text-2); --bd: var(--line-d); opacity: 1; }

/* 導覽列：捲動後變深灰 */
.nav.is-solid { background: rgba(56, 57, 57, .97); box-shadow: 0 1px 0 var(--line-d), 0 10px 24px -18px rgba(0,0,0,.6); }
.nav.is-solid .nav__logo { color: var(--text); }
.nav.is-solid .nav__links a { color: var(--text); }
.nav.is-solid .nav__links a::after { background: var(--lime); }
.nav.is-solid .nav__links a.is-on { color: var(--lime); }
.nav.is-solid .nav__cta { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); box-shadow: none; }
.nav.is-solid .nav__burger { background: transparent; border-color: var(--text); }
.nav.is-solid .nav__burger span { background: var(--text); }
.sheet { background: var(--ink); color: var(--text); }
.sheet__links a { border-bottom-color: var(--line-d); }
.sheet__links a svg { fill: var(--lime); }
.dock { background: rgba(56, 57, 57, .97); box-shadow: 0 -1px 0 var(--line-d); }

/* 通用卡片 */
.seek li, .rule, .sub, .perk, .qa, .team, .ed, .fact, .tbl, .steps li, .brief, .mis, .site__plan, .crit, .score, .vote-status, .contact__list a, .dlg {
  background: var(--card); color: var(--text); border-color: var(--line-d);
}

/* 關於競賽 */
.about__statement { color: var(--text); }
.about__body p { color: var(--text); }
.facts { background: var(--card); border: 2px solid var(--lime); }
.fact { border-color: var(--line-d) !important; }
.fact dt { color: var(--lime); }
.fact dt svg { background: none; fill: var(--lime); padding: 0; }
.fact dd { color: var(--text); }
.seek h3 { color: var(--lime); }
.seek li { border: 1.5px solid var(--line-d); }
.seek li .tile, .seek li:nth-child(2) .tile { background: none; border: 2px solid var(--aqua); }
.seek li .tile svg { fill: var(--aqua); }
.who { background: var(--card-2); border: 1.5px solid var(--line-d); }
.who h3 { color: var(--lime); }
.who__lists dt { color: var(--text-2); }

/* 競賽報名 */
.id-card { color: var(--ink); }
.id-card__ico { background: var(--ink); }
.id-card__ico svg { fill: var(--lime); }
.id-card p { color: var(--ink-2); }
.steps h3 { color: var(--lime); }
.steps li { background: var(--card); border-color: var(--line-d); color: var(--text); }
.steps li::before { background: var(--lime); color: var(--ink); }
@media (min-width: 900px) { .steps li:not(:last-child)::after { background: var(--lime); } }
.rule h3 { color: var(--text); }
.rule h3 svg { background: none; fill: var(--lime); border: 2px solid var(--lime); padding: 5px; }
.rule li { color: var(--text); }
.rule li::before { background: var(--aqua); }

/* 競賽主題：主題介紹是大面積，用漸層 */
.theme-hero { padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); background: var(--g-side); color: var(--ink); }
.theme-hero .theme-slogan { color: var(--ink); }
.theme-cursor { right: 3%; bottom: -24px; }
.poem p { color: var(--text); }
.poem .poem__invite { background: var(--lime); color: var(--ink); }
.brief h3 { color: var(--lime); }
.brief p { color: var(--text); }
.brief__q { color: var(--aqua) !important; }
.mission__head h3 { color: var(--text); }
.mission__head p { background: var(--aqua); color: var(--ink); }
.mis { background: var(--card); }
.mis h4 { color: var(--lime); }
.mis p { color: var(--text-2); }
.mis__plus svg { fill: var(--aqua); }
.site__plan h3 { color: var(--lime); }
.site__plan .addr, .site__note { color: var(--text-2); }
.plan .shape { fill: rgba(217, 227, 103, .14); stroke: var(--lime); }
.plan .dim, .plan .area { fill: var(--text); }
.plan .dimline { stroke: var(--text-2); }
.plan .street { fill: rgba(102, 196, 208, .22); }
.plan .street-name { fill: var(--aqua); }
.rules { background: var(--card-2); border: 1.5px solid var(--line-d); }
.crit h4 { color: var(--aqua); }
.crit li::before { color: var(--aqua); }
.score__top h3 { color: var(--lime); }
.seg { background: var(--card-2); border-color: var(--line-d); }
.seg button { color: var(--text); }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg__pill { background: var(--lime); }
.bar i:nth-child(1) { background: var(--lime); }
.bar i:nth-child(2) { background: var(--aqua); }
.bar i:nth-child(3) { background: #a7b35a; }
.bar i:nth-child(4) { background: #4f99a3; }
.crit-item { border-top-color: var(--line-d); }
.crit-item__pct { color: var(--text); }
.crit-item:nth-child(1) { --c: var(--lime); }
.crit-item:nth-child(2) { --c: var(--aqua); }
.crit-item:nth-child(3) { --c: #a7b35a; }
.crit-item:nth-child(4) { --c: #4f99a3; }
.crit-item h4 { color: var(--text); }
.crit-item p { color: var(--text-2); }
.crit-item.is-new h4::after { background: var(--lime); color: var(--ink); }

/* 競賽時程 */
.sec--time .tl__item::before { background: var(--line-d); }
.sec--time .tl__dot i { background: var(--ink); }
.tl__title { color: var(--text); }
.tl__desc, .tl__year { color: var(--text-2); }
.tl__stage { background: var(--aqua); color: var(--ink); }
.tl-note { color: var(--text-2); }

/* 競賽獎金 */
.prize-banner { background: var(--g-side); color: var(--ink); }
.prize-banner__v { color: var(--ink); }
.rank { background: var(--card); border: 2px solid var(--line-d); color: var(--text); }
.rank--1 { background: var(--card); border-color: var(--lime); }
.rank__no { background: var(--lime); color: var(--ink); }
.rank--2 .rank__no, .rank--3 .rank__no { background: var(--aqua); }
.rank__amt { color: var(--lime); }
.rank--2 .rank__amt, .rank--3 .rank__amt { color: var(--text); }
.perk h3 { color: var(--text); }
.perk h3 svg { fill: var(--lime); }
.perk__big { color: var(--lime); }
.perk p.small { color: var(--text-2); }
.early { background: var(--aqua); color: var(--ink); }
.travel h3 { color: var(--lime); }
.travel ol { color: var(--text-2); }
.travel ol li::before { color: var(--aqua); }
.tbl { border: 1.5px solid var(--line-d); }
.tbl thead th { background: var(--lime); color: var(--ink); }
.tbl th, .tbl td { border-bottom-color: var(--line-d); color: var(--text); }
.tbl thead th { color: var(--ink); }

/* 網路人氣獎：Coming soon 是大面積，用漸層 */
.soon { background: var(--g-side); color: var(--ink); }
.soon__big { color: var(--ink); }
.soon__rules li svg { fill: var(--ink); }
.vote-status { border: 1.5px solid var(--line-d); }
.team__body { color: var(--text); }
.team__work, .team__sum { color: var(--text-2); }
.team__ph svg { fill: var(--ink); }
.preview-note { background: var(--card-2); border-color: var(--lime); color: var(--text); }
.preview-note svg { fill: var(--lime); }

/* 歷屆回顧、Q&A 分頁 */
.yrs [role="tab"], .faq-tabs [role="tab"] { background: transparent; border-color: var(--line-d); color: var(--text); }
.yrs [role="tab"][aria-selected="true"], .faq-tabs [role="tab"][aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .yrs [role="tab"][aria-selected="false"]:hover, .faq-tabs [role="tab"][aria-selected="false"]:hover { background: rgba(217, 227, 103, .12); }
}
.faq-tabs [role="tab"] small { background: var(--card); color: var(--text); }
.faq-tabs [role="tab"][aria-selected="true"] small { background: var(--ink); color: var(--lime); }
.ed { border: 1.5px solid var(--line-d); }
.ed__no { color: var(--aqua); }
.ed__title { color: var(--text); }
.ed__desc { color: var(--text); }
.ed__teambox { background: var(--card-2); }
.ed__teambox small { color: var(--aqua); }
.ed__teambox b { color: var(--lime); }
.ed__teambox p { color: var(--text-2); }
.car__stage { background: var(--card-2); }
.car__ph { background: var(--card-2); color: var(--text); }
.car__ph svg { fill: var(--aqua); }
.car__dots button i { background: var(--line-d); }
.car__dots button[aria-current="true"] i { background: var(--lime); }
.car__arrows button { border-color: var(--text); }
.car__arrows svg { fill: var(--text); }
.car__cap { color: var(--text-2); }
@media (hover: hover) and (pointer: fine) { .car__arrows button:hover { background: var(--lime); } .car__arrows button:hover svg { fill: var(--ink); } }
.qa { border-color: var(--line-d); }
.qa.is-open { border-color: var(--lime); }
.qa__q { color: var(--text); }
.qa__q .q { color: var(--lime); }
.qa__q .pm { background: var(--card-2); }
.qa__q .pm svg { fill: var(--text); }
.qa.is-open .pm { background: var(--lime); }
.qa.is-open .pm svg { fill: var(--ink); }
.qa__a p { color: var(--text-2); }

/* 聯絡我們 */
.contact__lead { color: var(--text); }
.contact__list a small { color: var(--aqua); }
.contact__list a svg { fill: var(--lime); }
@media (hover: hover) and (pointer: fine) { .contact__list a:hover { background: #4b4d4d; } }
.qr { background: #fff; color: var(--ink); }
.qr__x { fill: var(--lime); }

/* 作品大圖視窗、頁尾 */
.dlg { color: var(--text); }
.dlg__close { background: var(--lime); }
.dlg__close svg { fill: var(--ink); }
.foot { background: var(--ink-3); border-top: 1px solid var(--line-d); }

/* =====================================================================
   字體層級與對齊（全站統一）
   H2 區塊標題 → 標語 → H3 小區塊標題 → H4 卡片標題 → 內文 → 小字 → 標籤
   ===================================================================== */
:root {
  --fs-h2: clamp(30px, 3.6vw, 46px);
  --fs-statement: clamp(24px, 2.6vw, 34px);
  --fs-h3: clamp(21px, 2vw, 26px);
  --fs-h4: clamp(17px, 1.4vw, 19px);
  --fs-body: 16px;
  --fs-sm: 15px;
  --fs-label: 13px;
  --space-block: clamp(48px, 6vw, 80px);   /* 同一區塊內，小區塊之間 */
  --pad-card: clamp(20px, 2.2vw, 28px);
}

/* 導覽列、首屏和內容用同一條左右邊界 */
.nav__in, .hero__in { max-width: calc(var(--maxw) + var(--gutter) * 2); }

/* 區塊標題 */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec-head { margin-bottom: clamp(28px, 3.6vw, 44px); }
.sec-head h2 { font-size: var(--fs-h2); letter-spacing: .06em; }
.sec-lead { margin: calc(clamp(28px, 3.6vw, 44px) * -0.4) 0 clamp(28px, 3.6vw, 40px); font-size: 17px; }

/* 標語級 */
.about__statement, .contact__lead { font-size: var(--fs-statement); line-height: 1.4; letter-spacing: .04em; }
.brief__q { font-size: clamp(19px, 1.8vw, 23px) !important; }
.poem p { font-size: clamp(17px, 1.6vw, 20px); }
.poem .poem__invite { font-size: clamp(17px, 1.5vw, 19px); }

/* H3：小區塊標題（同一個大小、同一個字重） */
.steps h3, .mission__head h3, .site__plan h3, .score__top h3, .travel h3, .who h3, .ed__title, .id-card h3, .mis h4, .theme-hero .theme-title + .theme-slogan ~ * h3 {
  font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h3); line-height: 1.35; letter-spacing: .06em;
}
.mission__head p { font-size: 15px; padding: 3px 12px; }

/* H4：卡片標題 */
.rule h3, .perk h3, .seek h3, .brief h3, .rules h4, .crit h4, .crit-item h4, .sub h4, .tl__title, .team__name, .day h3, .faq__group h3 {
  font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); line-height: 1.45; letter-spacing: .06em;
}
.fact dt { font-size: var(--fs-h4); }

/* 內文與小字 */
.about__body p, .ed__desc, .fact dd, .seek li, .steps li, .rule li, .brief p, .qa__q { font-size: var(--fs-body); line-height: 1.8; }
.tl__desc, .crit-item p, .perk p.small, .travel ol, .ed__teambox p, .mis p, .who p, .team__sum, .qa__a p, .rules li, .crit li, .tbl td { font-size: var(--fs-sm); line-height: 1.8; }
.tl__stage, .who__lists dt, .ed__no, .ed__teambox small, .count__label, .kd__item dt, .fact dt span + * { font-size: var(--fs-label); letter-spacing: .12em; }

/* 小區塊之間的距離 */
.steps, .rules-list, .mission, .site, .score, .travel, .days, .who, .theme-grid, .facts + .about, .prize-banner + .ranks + .perk-row + .early + .travel { margin-top: var(--space-block); }
.facts { margin: clamp(24px, 3vw, 32px) 0 0; }
.cta-row, .hist-more { margin-top: clamp(32px, 4vw, 44px); }
.ranks, .perk-row, .early { margin-top: 12px; }

/* 卡片內距一致 */
.rule, .perk, .brief, .site__plan, .rules, .crit, .vote-status, .ed, .day, .who { padding: var(--pad-card); }
.score { padding: clamp(22px, 3vw, 36px); }
.fact { padding: 18px var(--pad-card); }
@media (min-width: 900px) { .fact { padding: 22px var(--pad-card); } }

/* =====================================================================
   首屏（精簡後）
   ===================================================================== */
.hero__in { gap: clamp(28px, 4vw, 48px); }
.hero__pixel { width: clamp(240px, 34vw, 520px); }
.hero__title { margin-top: 18px; }
.hero__title span:first-child { font-size: var(--fs-label); letter-spacing: .3em; color: var(--ink); }
.hero__title span:last-child { font-size: clamp(20px, 2vw, 28px); }
.hero__theme { margin-top: 16px; }
.hero__lead { margin-top: 12px; max-width: 26em; font-size: clamp(15px, 1.2vw, 17px); font-weight: 500; line-height: 1.8; }
.hero__slogan { margin-top: 8px; }
.kd { margin-top: 24px; }
.hero__cta { margin-top: 16px; }
.hero__cta .btn { min-width: 168px; }
@media (min-width: 1100px) {
  .hero__in { grid-template-columns: 1fr 1fr; align-items: end; }
  .hero__card { padding-right: 0; padding-bottom: 0; }
}
@media (max-width: 699px) {
  .hero { padding-bottom: 200px; }
  .hero__cta .btn { min-width: 0; }
}

/* 倒數計時橫帶 */
.cd { background: var(--ink); color: var(--text); border-bottom: 1px solid var(--line-d); padding: clamp(20px, 2.6vw, 28px) 0; }
.cd__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.cd .count { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.cd .count__label { color: var(--lime); font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); letter-spacing: .1em; }
.cd .count__digits { display: flex; gap: 8px; }
.cd .count__cell { display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 8px 10px 6px; border-radius: var(--r-sm); background: var(--card); }
.cd .count__cell b { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.cd .count__cell small { font-size: 12px; font-weight: 700; color: var(--text-2); letter-spacing: .2em; }
.cd .count__done { color: var(--lime); }
.cd__early { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: var(--fs-sm); color: var(--text); }
.cd__early .ico { width: 20px; height: 20px; fill: var(--aqua); flex: none; }
@media (max-width: 699px) {
  .cd .count { width: 100%; }
  .cd .count__digits { width: 100%; }
  .cd .count__cell { flex: 1; min-width: 0; }
}
.cd + .sec { border-top: 0; }
.mis img { width: 96px; height: 96px; object-fit: contain; object-position: center; }
@media (min-width: 900px) { .mis img { height: 140px; max-width: 240px; } }
/* 銀色波浪不壓到按鈕 */
@media (min-width: 1100px) {
  .hero { padding-bottom: clamp(140px, 13vw, 200px); }
  .chrome--wave { width: 50vw; right: -8vw; bottom: -7vw; }
  .chrome--cursor { right: 47%; top: 22%; }
}
/* 部門卡：右側留位置給銀色物件 */
@media (min-width: 900px) { .who { padding-right: 220px; } }
@media (max-width: 899px) { .who { padding-bottom: 130px; } }

/* =====================================================================
   首屏 v3：左文字、右 3D 展示區，兩者不重疊
   ===================================================================== */
.hero { min-height: auto; display: block; padding: calc(var(--nav-h) + clamp(28px, 4vw, 56px)) 0 clamp(40px, 5vw, 72px); }
.hero .hero__in { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.hero__text { position: relative; z-index: 1; min-width: 0; }
.hero__pixel { width: clamp(200px, 23vw, 340px); }
.hero__title { margin-top: 20px; }
.hero__title span:first-child { font-size: var(--fs-label); letter-spacing: .3em; }
.hero__title span:last-child { margin-top: 4px; white-space: nowrap; font-size: clamp(19px, 5.6vw, 30px); letter-spacing: .04em; }
.hero__lead { margin-top: 10px; max-width: 30em; }
.hero__theme-box { margin-top: clamp(20px, 2.4vw, 28px); padding-top: clamp(18px, 2.2vw, 24px); border-top: 2px solid var(--ink); }
.sel--hero { transform: none; }
.hero__en { font-size: clamp(18px, 2vw, 26px); }
.hero__theme { margin-top: 14px; font-size: clamp(34px, 4vw, 56px); }
.hero__slogan { margin-top: 6px; font-size: clamp(15px, 1.3vw, 18px); }
.kd { margin-top: 24px; }
.hero__cta { margin-top: 14px; }

/* 3D 展示區 */
.hero__stage { position: relative; height: clamp(240px, 64vw, 380px); pointer-events: none; color: var(--ink); }
.hero__stage > * { position: absolute; }
.hero__stage .px, .hero__stage .px-row svg { fill: var(--ink); }
.hero__stage .px--glasses { width: 52px; height: 52px; left: 2%; top: 4%; right: auto; }
.hero__stage .px--chat { display: block; width: 40px; height: 40px; left: 26%; top: 0; right: auto; }
.hero__stage .px-row { display: flex; gap: 16px; right: 2%; top: 4%; left: auto; }
.hero__stage .px-row svg { width: 18px; height: 18px; }
.hero__stage .chrome--stars { width: 36%; left: 6%; top: 18%; right: auto; bottom: auto; }
.hero__stage .chrome--cursor { width: 16%; right: 18%; top: 20%; left: auto; bottom: auto; }
.hero__stage .chrome--wave { width: 120%; max-width: none; left: -10%; right: auto; bottom: -6%; top: auto; }

@media (min-width: 700px) and (max-width: 1099px) {
  .hero__stage { height: 360px; }
  .hero__stage .chrome--stars { width: 28%; left: 8%; }
  .hero__stage .chrome--wave { width: 100%; left: 0; }
}
@media (min-width: 1100px) {
  .hero { min-height: max(680px, 100svh); display: flex; align-items: center; }
  .hero .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 4vw, 64px); }
  .hero__stage { height: min(620px, 72svh); }
  .hero__stage .px--glasses { width: 64px; height: 64px; left: 4%; top: 2%; }
  .hero__stage .px--chat { width: 48px; height: 48px; left: 30%; top: 0; }
  .hero__stage .px-row { right: 0; top: 2%; gap: 20px; }
  .hero__stage .px-row svg { width: 24px; height: 24px; }
  .hero__stage .chrome--stars { width: 46%; left: 4%; top: 14%; }
  .hero__stage .chrome--cursor { width: 20%; right: 10%; top: 28%; }
  .hero__stage .chrome--wave { width: 135%; left: -12%; bottom: 0; }
}
@media (max-width: 699px) {
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; }
}

.hero__title span { word-break: keep-all; }
/* 時程：所有日期同一個字級 */
.tl__item.is-small .tl__date, .tl__date { font-size: clamp(24px, 2.4vw, 32px); color: var(--lime); }
.tl__item.is-small .tl__dot i { width: 18px; height: 18px; }

@media (min-width: 1100px) and (max-width: 1279px) { .hero__stage .chrome--wave { left: 4%; width: 118%; } }

/* 首屏 v4：左欄靠上、倒數在導語下、像素素材一排 */
.hero .count { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hero .count__label { font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--ink); }
.hero .count__digits { display: flex; gap: 6px; }
.hero .count__cell { display: grid; justify-items: center; gap: 2px; min-width: 56px; padding: 7px 8px 5px; border-radius: var(--r-sm); background: var(--ink); }
.hero .count__cell b { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.hero .count__cell small { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--on-ink-2); }
@media (max-width: 699px) { .hero .count__digits { width: 100%; } .hero .count__cell { flex: 1; min-width: 0; } }
.cd__in { justify-content: center; }

.hero__stage .px-line { left: 0; right: 0; top: 0; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.hero__stage .px-line svg { fill: var(--ink); flex: none; }
.px-line__a { width: clamp(40px, 3.6vw, 52px); height: clamp(40px, 3.6vw, 52px); }
.px-line__b { width: clamp(30px, 2.8vw, 40px); height: clamp(30px, 2.8vw, 40px); }
.px-line__rule { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); opacity: .6; }
.px-line__play { display: flex; gap: clamp(10px, 1.2vw, 16px); }
.px-line__play svg { width: clamp(16px, 1.5vw, 22px); height: clamp(16px, 1.5vw, 22px); }

@media (min-width: 1100px) {
  .hero { align-items: flex-start; padding-top: calc(var(--nav-h) + clamp(28px, 3vw, 44px)); }
  .hero .hero__in { align-items: start; }
  .hero__stage { height: min(640px, calc(100svh - var(--nav-h) - 90px)); }
  .hero__stage .px-line { top: 10px; }
  .hero__stage .chrome--stars { top: 13%; }
  .hero__stage .chrome--cursor { top: 26%; }
}
@media (max-width: 1099px) { .hero__stage .chrome--stars { top: 22%; } .hero__stage .chrome--cursor { top: 26%; } }

@media (min-width: 1100px) {
  .hero__theme-box { max-width: 560px; margin-top: 20px; padding-top: 16px; }
  .hero__theme { margin-top: 10px; font-size: clamp(32px, 3.3vw, 48px); }
  .kd { margin-top: 16px; }
  .kd__item { padding: 10px 14px 12px; }
  .kd__item b { font-size: clamp(22px, 2vw, 30px); }
  .hero .count { margin-top: 14px; }
  .hero__lead { margin-top: 8px; }
  .hero__title { margin-top: 14px; }
}

/* 時程日期：同一字級、MM.DD＋星期 */
.tl__date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; font-size: inherit; line-height: 1.2; color: var(--lime); }
.tl__md { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(22px, 2vw, 28px); color: var(--lime); letter-spacing: .02em; }
.tl__wk { font-size: 14px; font-weight: 700; color: var(--text-2); margin-left: 2px; }
.tl__dash { font-size: 18px; font-weight: 700; color: var(--lime); padding: 0 2px; }
.tl__dot i { width: 18px !important; height: 18px !important; }
@media (min-width: 1100px) { .tl__item { grid-template-columns: 34px 380px 1fr; } }
@media (min-width: 700px) and (max-width: 1099px) { .tl__item { grid-template-columns: 34px 1fr; gap: 4px 16px; } .tl__dot { grid-row: span 2; } .tl__what { grid-column: 2; padding-top: 0; } }

/* 部門卡：銀色物件放在文字後面 */
.who > *:not(.who__splat) { position: relative; z-index: 1; }
.who__splat { z-index: 0; opacity: .85; }

/* 時程：原本配色、統一字級 */
.tl__md { font-size: clamp(20px, 1.7vw, 24px); }
.tl__item.is-small .tl__md, .tl__item.is-small .tl__dash { color: var(--aqua); }
.tl__item.is-small .tl__dot i { width: 12px !important; height: 12px !important; }

/* 決賽 D1/D2：日期大、D 標籤小 */
.day__top { align-items: center; gap: 10px; }
.day__d { order: 2; font-size: 13px; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: var(--lime); line-height: 1.4; }
.day__date { order: 1; font-family: var(--f-pixel); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }

/* 獎金名次卡都有細框 */
.rank, .rank--2, .rank--3 { border: 2px solid var(--lime); }
.rank--2, .rank--3 { border-color: var(--aqua); }
.perk__pop-items { margin-top: 6px; font-weight: 700; color: var(--text); font-size: var(--fs-body); }

/* 報名流程：橫式點狀進度軸 */
.steps ol.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 24px; counter-reset: none; }
.prog li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 6px; background: none !important; border: 0 !important; border-radius: 0 !important; min-height: 0 !important; color: var(--text); font-weight: 700; }
.prog li::before { content: none !important; }
.prog li::after { content: "" !important; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; width: auto; translate: none; clip-path: none; background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 14px) !important; }
.prog li:last-child::after { display: none; }
.prog__dot { width: 32px; height: 32px; display: grid; place-items: center; }
.prog__dot i { width: 18px; height: 18px; background: var(--lime); }
.prog li:first-child .prog__dot i { width: 26px; height: 26px; }
.prog__no { font-family: var(--f-pixel); font-size: 13px; color: var(--aqua); letter-spacing: .06em; }
.prog__txt { font-size: var(--fs-body); line-height: 1.5; }
@media (max-width: 520px) { .prog__txt { font-size: 14px; } .prog__no { font-size: 11px; } .prog li { padding: 0 2px; } }

.steps ol.prog li:not(:last-child)::after { content: "" !important; position: absolute; top: 15px !important; left: calc(50% + 22px) !important; right: calc(-50% + 22px) !important; width: auto !important; height: 2px !important; translate: none !important; clip-path: none !important; background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 14px) !important; }
.steps ol.prog li { align-content: start; }

/* 報名流程 v2：步驟卡＋軌道（桌機橫式、手機直式） */
.flow { position: relative; margin-top: 24px; }
.flow__list { display: grid; gap: 14px; position: relative; z-index: 1; }
.flow__step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.flow__node { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); border: 2px solid var(--lime); position: relative; z-index: 1; }
.flow__node svg { width: 26px; height: 26px; fill: var(--lime); }
.flow__step:first-child .flow__node { background: var(--lime); }
.flow__step:first-child .flow__node svg { fill: var(--ink); }
.flow__card { padding: 18px 20px; border-radius: var(--r-md); background: var(--card); border: 1.5px solid var(--line-d); }
.flow__no { font-family: var(--f-pixel); font-size: 13px; color: var(--aqua); letter-spacing: .1em; }
.flow__title { margin-top: 4px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); letter-spacing: .06em; color: var(--text); }
.flow__desc { margin-top: 6px; font-size: var(--fs-sm); line-height: 1.75; color: var(--text-2); }
.flow__date { display: inline-block; margin-top: 10px; padding: 2px 10px; border-radius: 6px; background: var(--lime); color: var(--ink); font-family: var(--f-pixel); font-size: 13px; }
/* 軌道：手機在左側直線 */
.flow__track { position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: repeating-linear-gradient(180deg, var(--lime) 0 8px, transparent 8px 14px); opacity: .7; overflow: visible; }
.flow__pulse { position: absolute; left: -4px; top: 0; width: 10px; height: 10px; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.shot) .flow__pulse { animation: flowV 3.6s cubic-bezier(.77,0,.175,1) infinite; }
}
@keyframes flowV { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
.flow__pulse { opacity: 0; }
html.shot .flow__pulse { display: none; }

@media (min-width: 900px) {
  .flow__list { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .flow__step { grid-template-columns: 1fr; gap: 16px; }
  .flow__card { height: 100%; }
  .flow__track { left: 26px; right: 26px; top: 25px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 14px); }
  .flow__pulse { top: -4px; left: 0; }
  @media (prefers-reduced-motion: no-preference) { html:not(.shot) .flow__pulse { animation-name: flowH; } }
}
@keyframes flowH { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .flow__card { transition: border-color 200ms ease, transform 200ms var(--ease-out); }
  .flow__step:hover .flow__card { border-color: var(--lime); transform: translateY(-3px); }
}

/* 步驟卡：清掉舊流程樣式 */
.steps .flow__step { padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; min-height: 0 !important; display: grid; align-items: start; font-weight: 400; }
.steps .flow__step::before, .steps .flow__step::after { content: none !important; display: none !important; }
.steps ol.flow__list { margin-top: 0; }
@media (min-width: 900px) { .steps .flow__step { grid-template-columns: 1fr; } }

/* =====================================================================
   霧面玻璃質感：區塊背後淡光暈＋卡片半透明模糊＋細顆粒
   ===================================================================== */
main .sec { isolation: isolate; overflow: clip; }
main .sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vw 30vw at var(--gx1, 12%) var(--gy1, 22%), rgba(217, 227, 103, .13), transparent 70%),
    radial-gradient(34vw 28vw at var(--gx2, 88%) var(--gy2, 70%), rgba(102, 196, 208, .14), transparent 70%);
}
main .sec:nth-of-type(even)::before { --gx1: 85%; --gy1: 18%; --gx2: 10%; --gy2: 78%; }
main .sec:nth-of-type(3n)::before { --gx1: 50%; --gy1: 8%; --gx2: 92%; --gy2: 90%; }

.rule, .perk, .flow__card, .seek li, .brief, .mis, .site__plan, .crit, .rules, .score, .vote-status, .ed, .qa, .contact__list a, .who, .rank, .facts, .team, .id-card + .id-card ~ x {
  background-color: rgba(255, 255, 255, .055);
  background-image: linear-gradient(155deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015) 55%), url("assets/img/noise.png");
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 40px -24px rgba(0, 0, 0, .55);
}
.rule, .perk, .flow__card, .seek li, .brief, .mis, .site__plan, .crit, .rules, .score, .vote-status, .ed, .contact__list a, .who, .team { border-color: rgba(255, 255, 255, .13); }
.rules, .who { background-color: rgba(0, 0, 0, .14); }
@media (hover: hover) and (pointer: fine) { .contact__list a:hover { background-color: rgba(255, 255, 255, .1); } }

.steps .flow__step { align-content: start; grid-template-rows: auto 1fr; }
html.shot *, html.shot *::before, html.shot *::after { transition: none !important; }

/* 首屏 v5：回到雙欄構圖（左品牌、右資訊），3D 只放在上方與下方空白處 */
.hero__card { position: relative; z-index: 1; min-width: 0; }
@media (min-width: 1100px) {
  .hero { min-height: max(720px, 100svh); display: flex; align-items: flex-end; padding-top: calc(var(--nav-h) + 24px); padding-bottom: clamp(150px, 15vw, 210px); }
  .hero .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: clamp(32px, 5vw, 80px); position: static; }
  .hero__theme-box { margin-top: 0; padding-top: 0; border-top: 0; max-width: none; }
  .hero__theme { font-size: clamp(36px, 3.8vw, 56px); }
  .hero__pixel { width: clamp(240px, 26vw, 400px); }
  .hero__stage { position: absolute; inset: 0; height: auto; z-index: 0; }
  .hero__stage .px-line { left: 50%; right: var(--gutter); top: calc(var(--nav-h) + 36px); width: auto; max-width: none; }
  .hero__stage .chrome--stars { width: clamp(150px, 13vw, 210px); left: 30%; top: calc(var(--nav-h) + 20px); }
  .hero__stage .chrome--cursor { width: clamp(70px, 6vw, 100px); left: auto; right: calc(var(--gutter) + 2%); top: calc(var(--nav-h) + 90px); }
  .hero__stage .chrome--wave { width: 56vw; left: auto; right: -8vw; bottom: -6.5vw; top: auto; }
}
@media (min-width: 1100px) and (max-height: 860px) {
  .hero__stage .chrome--stars { width: 120px; }
  .hero__pixel { width: clamp(220px, 22vw, 340px); }
}

/* 毛玻璃 v2：更透、更霧、無顆粒 */
main .sec::before {
  background:
    radial-gradient(30vw 26vw at var(--gx1, 14%) var(--gy1, 24%), rgba(217, 227, 103, .22), transparent 70%),
    radial-gradient(28vw 24vw at var(--gx2, 86%) var(--gy2, 68%), rgba(102, 196, 208, .24), transparent 70%),
    radial-gradient(18vw 16vw at var(--gx3, 52%) var(--gy3, 92%), rgba(217, 227, 103, .12), transparent 70%);
}
.rule, .perk, .flow__card, .seek li, .brief, .mis, .site__plan, .crit, .rules, .score, .vote-status, .ed, .qa, .contact__list a, .who, .rank, .facts, .team {
  background-color: rgba(255, 255, 255, .06);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 38%, rgba(255, 255, 255, .02) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 1px 0 0 rgba(255, 255, 255, .08), 0 20px 44px -26px rgba(0, 0, 0, .6);
}
.rule, .perk, .flow__card, .seek li, .brief, .mis, .site__plan, .crit, .rules, .score, .vote-status, .ed, .contact__list a, .who, .team { border-color: rgba(255, 255, 255, .2); }
.rules, .who { background-color: rgba(255, 255, 255, .04); }

/* 毛玻璃：背後光暈更大、更多，讓卡片透出顏色 */
main .sec::before {
  background:
    radial-gradient(46vw 34vw at var(--gx1, 10%) var(--gy1, 30%), rgba(217, 227, 103, .2), transparent 68%),
    radial-gradient(44vw 34vw at var(--gx2, 90%) var(--gy2, 62%), rgba(102, 196, 208, .22), transparent 68%),
    radial-gradient(30vw 24vw at var(--gx3, 55%) var(--gy3, 100%), rgba(102, 196, 208, .14), transparent 70%),
    radial-gradient(26vw 22vw at var(--gx4, 45%) var(--gy4, 0%), rgba(217, 227, 103, .12), transparent 70%);
}

/* 首屏（電腦）：右欄間距、3D 尺寸、波浪橫跨 */
@media (min-width: 1100px) {
  .hero { padding-bottom: clamp(190px, 17vw, 250px); }
  .hero__card .sel--hero { margin-bottom: 0; }
  .hero__card .hero__theme { margin-top: 20px; line-height: 1.15; }
  .hero__card .hero__slogan { margin-top: 12px; }
  .hero__card .kd { margin-top: 32px; gap: 12px; }
  .hero__card .hero__cta { margin-top: 20px; gap: 12px; }
  .hero__stage .chrome--stars { width: clamp(120px, 10vw, 160px); left: 31%; top: calc(var(--nav-h) + 28px); }
  .hero__stage .chrome--cursor { width: clamp(90px, 7.4vw, 120px); top: calc(var(--nav-h) + 76px); }
  .hero__stage .chrome--wave { width: 112vw; left: -6vw; right: auto; bottom: -23vw; }
}

/* 報名流程：步驟下方只放文字，不用卡片 */
.steps .flow__card { background: none !important; background-image: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 4px 0 0; border-radius: 0; }
@media (min-width: 900px) { .steps .flow__card { padding: 2px 16px 0 0; } }
@media (hover: hover) and (pointer: fine) { .flow__step:hover .flow__card { transform: none; } }

/* 首屏素材：星星在標誌右邊、箭頭在報名按鈕左下、像素圖示放大、波浪回右下 */
.hero__logo { position: relative; display: inline-block; }
.hero__stars, .hero__cursor { display: none; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(42, 43, 43, .2)); }
.hero__cta { position: relative; }
@media (min-width: 1100px) {
  .hero__stage .chrome--stars, .hero__stage .chrome--cursor { display: none; }
  .hero__stars { display: block; position: absolute; left: calc(100% + 12px); top: -14%; width: clamp(130px, 11vw, 180px); }
  .hero__cursor { display: block; position: absolute; left: -58px; bottom: -46px; width: 64px; z-index: 0; }
  .hero__cta .btn { position: relative; z-index: 1; }
  .hero__stage .px-line { top: calc(var(--nav-h) + 30px); gap: clamp(20px, 2vw, 32px); }
  .px-line__a { width: clamp(64px, 6vw, 96px); height: clamp(64px, 6vw, 96px); }
  .px-line__b { width: clamp(44px, 4vw, 64px); height: clamp(44px, 4vw, 64px); }
  .px-line__play svg { width: clamp(22px, 2vw, 30px); height: clamp(22px, 2vw, 30px); }
  .px-line__play { gap: clamp(16px, 2vw, 30px); }
  .hero__stage .chrome--wave { width: 54vw; left: auto; right: -6vw; bottom: -9vw; }
  .hero { padding-bottom: clamp(160px, 14vw, 210px); }
}

.steps .flow__date { background: none; padding: 0; margin-top: 8px; border-radius: 0; color: var(--lime); font-size: 15px; }

.tl__md { font-size: clamp(26px, 2.4vw, 34px); }
.tl__dash { font-size: 22px; }
.tl__wk { font-size: 15px; }
.tl__stage { background: var(--aqua); color: var(--ink); }
.tl__stage.tl__stage--first { background: var(--lime); }
@media (min-width: 1100px) { .tl__item { grid-template-columns: 34px 440px 1fr; } }

.tl__item.tl--first .tl__md, .tl__item.tl--first .tl__dash { color: var(--lime); }
.tl__item.tl--later .tl__md, .tl__item.tl--later .tl__dash { color: var(--aqua); }
.tl__item.tl--later .tl__dot i { border-color: var(--aqua); }

/* 獎金：數字用像素字、說明一行 */
.prize-banner__v, .rank__amt b, .perk__big { font-family: var(--f-pixel), var(--f-head); font-weight: 400; letter-spacing: .02em; }
.prize-banner__v { font-size: clamp(56px, 7vw, 104px); }
.rank__amt b { font-size: clamp(48px, 5vw, 72px); }
.rank--1 .rank__amt b { font-size: clamp(56px, 6vw, 88px); }
@media (min-width: 900px) {
  .prize-banner { grid-template-columns: 1fr; padding-right: clamp(200px, 20vw, 300px); }
  .prize-banner__d { max-width: none; white-space: nowrap; }
}

.prize-banner__v, .rank__amt b, .perk__big { font-family: var(--f-head); font-weight: 700; letter-spacing: 0; }
.px-num { font-family: var(--f-pixel); font-weight: 400; letter-spacing: .02em; margin-right: .12em; }
.perk__big .px-num { margin: 0 .14em; font-size: 1.3em; line-height: 1; }

.bit-num { display: inline-block; height: .78em; fill: currentColor; margin-right: .18em; vertical-align: -0.02em; }

@media (min-width: 760px) { .rules-list { grid-template-columns: repeat(3, 1fr); } .rule:last-child { grid-column: auto !important; } }
.rules-note { margin-top: 16px; display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); }
.rules-note svg { width: 18px; height: 18px; flex: none; fill: var(--aqua); margin-top: 3px; }

/* 名次卡：三張等寬、與下方卡片對齊；框線 第一名漸層／第二名黃／第三名藍 */
@media (min-width: 900px) { .ranks { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.rank { position: relative; }
.rank--1 { border-color: transparent !important; }
.rank--1::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: linear-gradient(120deg, var(--lime), var(--aqua)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.rank--1 .rank__no { background: linear-gradient(120deg, var(--lime), var(--aqua)); color: var(--ink); }
.rank--2 { border-color: var(--lime) !important; }
.rank--2 .rank__no { background: var(--lime); }
.rank--3 { border-color: var(--aqua) !important; }
.rank--3 .rank__no { background: var(--aqua); }
.rank--1 .rank__amt b, .rank__amt b { font-size: clamp(48px, 5vw, 72px); }
.rank--1 .rank__amt { color: var(--text); }
.rank--1 .rank__amt b { background: linear-gradient(120deg, var(--lime), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rank--2 .rank__amt { color: var(--lime); }
.rank--3 .rank__amt { color: var(--aqua); }

/* 首屏波浪：橫跨整頁左右、維持原比例 */
@media (min-width: 1100px) {
  .hero__stage .chrome--wave { width: 104vw; max-width: none; height: auto; left: -2vw; right: auto; bottom: -22vw; top: auto; }
  .hero { padding-bottom: clamp(170px, 15vw, 230px); }
}

/* CITY RE:QUEST 斜擺；像素元素移到倒數下方 */
.hero__card .sel--hero { transform: rotate(-5deg); transform-origin: left bottom; margin: 6px 0 4px; }
@media (min-width: 1100px) { .hero__card .sel--hero { margin: 14px 0 10px; } .hero__en { font-size: clamp(22px, 2.2vw, 30px); } }
.hero__text .px-line { position: static; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); margin-top: 22px; max-width: 520px; width: 100%; }
.hero__text .px-line svg { fill: var(--ink); flex: none; }
.hero__text .px-line__a { width: 44px; height: 44px; }
.hero__text .px-line__b { width: 32px; height: 32px; }
.hero__text .px-line__play { display: flex; gap: 12px; }
.hero__text .px-line__play svg { width: 18px; height: 18px; }
@media (max-width: 699px) { .hero__text .px-line__a { width: 36px; height: 36px; } .hero__text .px-line__b { width: 26px; height: 26px; } .hero__text .px-line__play svg { width: 14px; height: 14px; } }

@media (max-width: 699px) { .hero__theme-box { border-top: 0; padding-top: 0; margin-top: 28px; } .hero__card .sel--hero { margin: 10px 0 10px 4px; } }

.fact__sub { display: block; margin-top: 2px; font-size: var(--fs-sm); color: var(--text-2); }

/* 六宮格：方框 icon、六格等高 */
.fact__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 2px solid var(--lime); border-radius: 10px; }
.fact dt .fact__ico svg { width: 22px !important; height: 22px !important; padding: 0 !important; background: none !important; border-radius: 0 !important; fill: var(--lime); }
.fact dt { align-items: center; gap: 12px; }
.fact__sub { line-height: 1.6; margin-top: 6px; }
@media (min-width: 900px) { .facts { grid-auto-rows: 1fr; } .fact { align-content: start; } }

/* 介紹文字＋我們想找到：橫式 */
@media (min-width: 900px) {
  .about { grid-template-columns: 1fr; gap: clamp(32px, 4vw, 48px); }
  .about__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
  .about__body p { max-width: none; }
  .about__body p + p { margin-top: 0; }
  .seek ol { grid-template-columns: repeat(3, 1fr); }
  .seek li { grid-template-columns: 56px 1fr; align-items: center; }
}

/* 國壽不動產部門：左右垂直置中 */
@media (min-width: 900px) { .who { align-items: center; } .who > div:first-child { align-self: center; } }

.fact dt > span:last-child { font-size: var(--fs-h4) !important; letter-spacing: .08em; }

@media (min-width: 900px) { .about__body { grid-template-columns: 1fr; } .about__body p { max-width: 64em; } }

/* ===== 本輪調整 ===== */
/* 關於競賽：段落與卡片同寬、賽制一行、部門文字 */
@media (min-width: 900px) { .about__body p { max-width: none !important; text-align: justify; } }
@media (min-width: 900px) { .fact--one dd { white-space: nowrap; font-size: 15px; letter-spacing: -.01em; } }
.br-d { display: none; }
@media (min-width: 1280px) { .br-d { display: inline; } }
@media (min-width: 900px) { .who { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: clamp(40px, 5vw, 72px); } .who__text p { max-width: none; } }

/* 競賽報名：說明移到身分卡下方 */
.ids__note { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); }
.ids__note svg { width: 20px; height: 20px; fill: var(--lime); flex: none; }

/* 三階段繳件規定 */
.deliv { margin-top: var(--space-block); }
.deliv > h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h3); letter-spacing: .06em; color: var(--lime); }
.deliv > h3 svg { width: 24px; height: 24px; fill: var(--lime); }
.deliv__list { margin-top: 20px; display: grid; gap: 12px; }
.deliv__item { padding: var(--pad-card); border-radius: var(--r-lg); border: 1.5px solid rgba(255,255,255,.2); background-color: rgba(255,255,255,.06); background-image: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.02)); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); }
.deliv__item:first-child { border-color: var(--lime); }
.deliv__top { display: flex; align-items: baseline; gap: 12px; }
.deliv__no { font-family: var(--f-pixel); font-size: 15px; color: var(--aqua); }
.deliv__item:first-child .deliv__no { color: var(--lime); }
.deliv__top h4 { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); letter-spacing: .06em; color: var(--text); }
.deliv__top h4 small { font-size: .85em; color: var(--text-2); margin-left: 2px; }
.deliv__date { margin-top: 4px; font-family: var(--f-pixel); font-size: 14px; color: var(--lime); }
.deliv__item.is-tbd .deliv__date { color: var(--aqua); }
.deliv__item ul { margin-top: 12px; display: grid; gap: 8px; }
.deliv__item ul li { position: relative; padding-left: 16px; font-size: var(--fs-body); line-height: 1.75; color: var(--text); }
.deliv__label { font-weight: 700; color: var(--head, #fff); }
.deliv__label .halt { font-feature-settings: "halt"; }
.deliv__item:nth-child(1) .deliv__label { color: var(--lime); }
.deliv__item:nth-child(2) .deliv__label { color: var(--aqua); }
.deliv__item:nth-child(1) ul li::before { background: var(--lime); }
.deliv__item:nth-child(2) ul li::before { background: var(--aqua); }
.deliv__item:nth-child(1) h4 small { color: var(--lime); }
.deliv__item:nth-child(n+2) h4 small { color: var(--aqua); }
.deliv__item ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--lime); }
.deliv__tbd { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); font-size: var(--fs-sm); }
.deliv__tbd svg { width: 18px; height: 18px; fill: var(--aqua); flex: none; margin-top: 3px; }
@media (min-width: 900px) { .deliv__list { grid-template-columns: 1.3fr 1fr 1fr; } }

/* 競賽題目三階段 */
.poem--wide { margin-top: var(--space-block); max-width: 900px; }
.stage-tabs { margin-top: var(--space-block); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stage-tabs [role="tab"] { display: grid; justify-items: start; gap: 2px; text-align: left; padding: 14px 18px; border-radius: var(--r-md); border: 2px solid var(--line-d); background: transparent; color: var(--text); transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.stage-tabs [role="tab"]:active { transform: scale(.98); }
.stage-tabs__no { font-family: var(--f-pixel); font-size: 12px; color: var(--aqua); }
.stage-tabs b { font-family: var(--f-head); font-size: var(--fs-h3); letter-spacing: .08em; }
.stage-tabs small { font-size: 14px; font-weight: 700; color: var(--text-2); }
.stage-tabs em { font-style: normal; font-family: var(--f-pixel); font-size: 12px; color: var(--text-2); margin-top: 4px; }
.stage-tabs [role="tab"][aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.stage-tabs [role="tab"][aria-selected="true"] small, .stage-tabs [role="tab"][aria-selected="true"] em, .stage-tabs [role="tab"][aria-selected="true"] .stage-tabs__no { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .stage-tabs [role="tab"][aria-selected="false"]:hover { border-color: var(--lime); } }
@media (max-width: 560px) { .stage-tabs [role="tab"] { padding: 10px 12px; } .stage-tabs small { font-size: 12px; } .stage-tabs em { display: none; } }
.stage { margin-top: 20px; }
.stage[hidden] { display: none; }
.stage > .brief { margin-top: 0; }
.stage .mission, .stage .site { margin-top: clamp(32px, 4vw, 48px); }
.stage .score { margin-top: 16px; }
.stage-soon { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-lg); background: var(--g-side); color: var(--ink); }
.stage-soon__k { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); letter-spacing: .1em; }
.stage-soon__v { margin-top: 6px; font-family: var(--f-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .04em; }
.stage-soon__d { margin-top: 8px; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { html:not(.shot) .stage:not([hidden]) { animation: edIn 320ms var(--ease-out); } }

/* 人氣獎：分享催票 */
.share { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.18); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__k { font-size: 13px; font-weight: 700; color: var(--text-2); margin-right: 2px; }
.share__b { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--aqua); color: var(--aqua); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.share__b:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .share__b:hover { background: var(--aqua); color: var(--ink); } }
.team.is-target { outline: 3px solid var(--lime); outline-offset: 4px; }

/* 競賽時程：日期（靠右）｜軸線｜內容 */
@media (min-width: 900px) {
  .tl { --dc: 400px; max-width: none; }
  .tl__item { grid-template-columns: var(--dc) 34px 1fr !important; column-gap: 20px !important; row-gap: 0; padding-bottom: 28px; }
  .tl__item::before { left: calc(var(--dc) + 20px + 16px); }
  .tl__when { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; }
  .tl__date { justify-content: flex-end; }
  .tl__dot { grid-column: 2; grid-row: 1; }
  .tl__what { grid-column: 3 !important; grid-row: 1; padding-top: 2px !important; }
  .tl__item:hover .tl__title { color: var(--lime); }
}
@media (min-width: 900px) and (max-width: 1099px) { .tl { --dc: 340px; } .tl__md { font-size: 24px; } }

@media (min-width: 760px) { .rules-list { grid-template-columns: repeat(2, 1fr) !important; } }

.tl__item .tl__dot i, .tl__item.is-small .tl__dot i { width: 18px !important; height: 18px !important; }

.about__body--top { margin-top: 16px; }
.about__body--top p { max-width: none; text-align: justify; color: var(--text); }

@media (min-width: 1100px) { .hero__card { position: relative; top: clamp(16px, 2vw, 32px); } }

/* 我們想找到：無卡片、放在部門下方 */
.seek--plain { margin-top: var(--space-block); }
.seek--plain ol { margin-top: 18px; }
.seek--plain li { background: none !important; background-image: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 !important; grid-template-columns: 52px 1fr !important; gap: 14px; }
.seek--plain li .tile { width: 52px; height: 52px; border-radius: 12px; }
.seek--plain li .tile svg { width: 28px; height: 28px; }
@media (min-width: 900px) { .seek--plain ol { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* 參賽身分：不用卡片，左右兩欄＋中間分隔線 */
.ids { gap: 0; }
.id-card--plain { background: none !important; padding: 8px 0 !important; color: var(--text); grid-template-columns: 64px 1fr; gap: 18px; border-radius: 0; }
.id-card--plain .id-card__ico { width: 64px; height: 64px; background: none; border: 2px solid var(--lime); border-radius: 14px; }
.id-card--plain .id-card__ico svg { fill: var(--lime); width: 36px; height: 36px; }
.id-card--plain:nth-child(2) .id-card__ico { border-color: var(--aqua); }
.id-card--plain:nth-child(2) .id-card__ico svg { fill: var(--aqua); }
.id-card--plain h3 { color: var(--text); }
.id-card--plain p { color: var(--text-2); }
@media (max-width: 899px) { .id-card--plain + .id-card--plain { margin-top: 16px; padding-top: 24px !important; border-top: 1px solid var(--line-d); } }
@media (min-width: 900px) { .id-card--plain + .id-card--plain { padding-left: clamp(32px, 4vw, 56px) !important; border-left: 1px solid var(--line-d); } .id-card--plain:first-child { padding-right: clamp(32px, 4vw, 56px) !important; } }

/* 決賽 D1/D2：標籤在日期左側、較大；標籤底黑字主色 */
.day__d { order: 0 !important; font-size: 18px !important; padding: 4px 12px !important; border-radius: 8px; }
.day__date { order: 1 !important; }
.day li { background: var(--ink) !important; color: var(--lime) !important; }
.day:nth-child(2) li { color: var(--aqua) !important; }

/* Coming soon：兩句各一行 */
@media (min-width: 900px) {
  .soon__txt { max-width: none; white-space: nowrap; }
  .soon__rules { max-width: none; }
  .soon__rules li span { white-space: nowrap; }
  .soon { padding-right: clamp(220px, 22vw, 320px); }
}

/* 首屏左右兩塊上下對齊 */
@media (min-width: 1100px) {
  .hero .hero__in { align-items: stretch !important; }
  .hero__card { top: 0 !important; display: flex; flex-direction: column; justify-content: space-between; padding-top: 2.3vw; }
  .hero__text { display: flex; flex-direction: column; }
  .hero__text .px-line { margin-top: auto; padding-top: 22px; }
  .hero__logo { align-self: flex-start; }
  .hero__card .sel--hero { margin-top: 0 !important; transform-origin: left top; }
  .hero__card .hero__cta { margin-top: 20px; }
}

/* 首頁大日期下方的截止時間 */
.kd__note { margin: 6px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; opacity: .85; }
.kd__item:first-child .kd__note { color: var(--on-ink); }

/* 手機、平板：左右對齊會把字距拉開（尤其有不拆開的詞時），改成靠左 */
@media (max-width: 899px) {
  .rule li, .about__body--top p, .work__intro { text-align: left !important; text-justify: auto !important; }
}

/* 初審／複審／決賽切換：提示文字＋每張卡片右上角的箭頭 */
.stage-hint + .stage-tabs { margin-top: 14px !important; }
.stage-hint { margin: clamp(40px, 5vw, 64px) 0 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-2); letter-spacing: .04em; }
.stage-hint__ico { width: 12px; height: 12px; fill: var(--aqua); flex: none; }
.stage-tabs [role="tab"] { position: relative; cursor: pointer; padding-right: 48px; }
.stage-tabs__go { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-d); display: grid; place-items: center; color: var(--aqua); transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.stage-tabs__go svg { width: 10px; height: 10px; fill: currentColor; transition: transform 220ms var(--ease-out); }
.stage-tabs [role="tab"][aria-selected="true"] .stage-tabs__go { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.stage-tabs [role="tab"][aria-selected="true"] .stage-tabs__go svg { transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) {
  .stage-tabs [role="tab"][aria-selected="false"]:hover .stage-tabs__go { border-color: var(--lime); color: var(--lime); }
  .stage-tabs [role="tab"][aria-selected="false"]:hover .stage-tabs__go svg { transform: translateX(2px); }
}
@media (max-width: 560px) {
  .stage-tabs [role="tab"] { padding-right: 12px; }
  .stage-tabs__go { top: 8px; right: 8px; width: 22px; height: 22px; }
  .stage-tabs__go svg { width: 8px; height: 8px; }
  .stage-hint { font-size: 13px; }
}

/* =====================================================================
   漂浮動態：銀色物件緩慢飄動、流線左右擺盪、像素箭頭行進

   只在「沒有開減少動態」時播放；截圖模式（html.shot）也不播放
   ===================================================================== */
@keyframes floatA { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(4px, -12px, 0) rotate(5deg); } 100% { transform: translate3d(0, 0, 0) rotate(0deg); } }
@keyframes floatB { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(-6px, -8px, 0) rotate(-6deg); } 100% { transform: translate3d(0, 0, 0) rotate(0deg); } }
@keyframes floatC { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(0, -8px, 0) scale(1.03); } 100% { transform: translate3d(0, 0, 0) scale(1); } }
@keyframes waveDrift { 0% { translate: 0 0; rotate: 0deg; } 50% { translate: -1.6vw 10px; rotate: -.6deg; } 100% { translate: 0 0; rotate: 0deg; } }
@keyframes twinkle { 0%, 100% { filter: drop-shadow(0 14px 18px rgba(42,43,43,.2)) brightness(1); } 50% { filter: drop-shadow(0 18px 22px rgba(42,43,43,.16)) brightness(1.12); } }
@keyframes march { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(4px); opacity: .55; } }

@media (prefers-reduced-motion: no-preference) {
  html:not(.shot) .hero__stars { animation: floatA 6s ease-in-out infinite, twinkle 3.2s ease-in-out infinite; transform-origin: 40% 60%; }
  html:not(.shot) .hero__cursor { animation: floatB 4.6s ease-in-out .4s infinite; transform-origin: 80% 20%; }
  html:not(.shot) .hero__stage .chrome--wave { animation: chromeIn 1400ms var(--ease-out) 100ms both, waveDrift 12s ease-in-out 1.5s infinite; transform-origin: 60% 80%; }
  html:not(.shot) .hero__stage .chrome--stars { animation: chromeIn 1100ms var(--ease-out) 200ms both, floatA 6s ease-in-out 1.3s infinite; }
  html:not(.shot) .hero__stage .chrome--cursor { animation: chromeIn 1100ms var(--ease-out) 200ms both, floatB 4.6s ease-in-out 1.3s infinite; }
  html:not(.shot) .hero__text .px-line__play svg { animation: march 1.6s steps(2, jump-none) infinite; }
  html:not(.shot) .hero__text .px-line__play svg:nth-child(2) { animation-delay: .2s; }
  html:not(.shot) .hero__text .px-line__play svg:nth-child(3) { animation-delay: .4s; }
  html:not(.shot) .hero__text .px-line__play svg:nth-child(4) { animation-delay: .6s; }
  html:not(.shot) .who__splat { animation: floatA 8s ease-in-out infinite; }
  html:not(.shot) .theme-cursor { animation: floatB 5s ease-in-out infinite; }
  html:not(.shot) .mis img { animation: floatC 6.5s ease-in-out infinite; }
  html:not(.shot) .mis:nth-of-type(2) img { animation-delay: -2.1s; }
  html:not(.shot) .mis:nth-of-type(3) img { animation-delay: -4.2s; }
  html:not(.shot) .prize-banner img { animation: floatA 7s ease-in-out infinite; }
  html:not(.shot) .early img { animation: floatB 5.5s ease-in-out infinite; }
  html:not(.shot) .soon__chrome { animation: floatB 5.5s ease-in-out infinite; }
  .hero__stars, .hero__cursor, .who__splat, .theme-cursor, .mis img, .prize-banner img, .early img, .soon__chrome { will-change: transform; }
}

/* 本輪：日期字（手機）、星星、參賽身份標題、D1/D2 單色 */
@media (max-width: 699px) { .kd__item b { font-size: clamp(17px, 5vw, 22px) !important; } .kd__item { padding: 10px 12px 12px; } }
@media (min-width: 1100px) { .hero__stars { top: 6% !important; width: clamp(150px, 13vw, 210px) !important; } }
.ids__h { margin-bottom: 18px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h3); letter-spacing: .06em; color: var(--lime); }
.day { background: var(--lime) !important; }
.day:nth-child(2) { background: var(--aqua) !important; }

/* 競賽主題開頭：一個面板，左主題名、右引言 */
.theme-hero--v2 { display: grid; gap: 28px; padding: clamp(28px, 4vw, 56px) !important; overflow: hidden; }
.theme-hero--v2 .theme-en { font-size: clamp(26px, 3.4vw, 48px) !important; white-space: nowrap; }
.theme-hero--v2 .theme-title { margin-top: 10px; font-size: clamp(30px, 3.4vw, 50px); }
.theme-hero--v2 .theme-slogan { margin-top: 8px; font-size: clamp(15px, 1.4vw, 19px); }
.theme-hero__poem p { font-family: var(--f-head); font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.85; letter-spacing: .04em; color: var(--ink); }
.theme-hero__poem p:nth-child(3) { margin-bottom: .9em; }
.theme-hero__poem .theme-hero__invite { margin-top: 18px; padding-top: 16px; border-top: 2px solid rgba(56,57,57,.35); font-size: clamp(16px, 1.5vw, 19px); }
.theme-hero--v2 .theme-cursor { display: block; position: absolute; right: 2%; bottom: -14px; top: auto; width: clamp(56px, 6vw, 90px); }
@media (min-width: 900px) {
  .theme-hero--v2 { grid-template-columns: 1.05fr .95fr; align-items: center; column-gap: clamp(32px, 5vw, 72px); }
  .theme-hero__poem { padding-left: clamp(24px, 3vw, 44px); border-left: 2px solid rgba(56,57,57,.35); padding-right: 40px; }
}
@media (max-width: 699px) { .theme-hero--v2 .theme-en { white-space: normal; } .theme-hero--v2 .theme-cursor { width: 56px; } }
.stage-tabs { margin-top: clamp(40px, 5vw, 64px) !important; }

/* 導覽列底下的色塊柔化：上方加一層漸淡的底色，讓色塊不跳 */
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--nav-h) + 170px); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(201, 222, 128, 1) 0%, rgba(201, 222, 128, .9) 50%, rgba(201, 222, 128, 0) 100%); }

/* 三大任務：不用卡片，圖＋文字 */
.mis { background: none !important; background-image: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 !important; }
@media (min-width: 900px) { .mis { padding: 0 8px !important; justify-items: start; } .mis__plus { align-self: center; } }

/* 三大任務：✕ 置中在兩項之間 */
@media (min-width: 900px) {
  .mission__row { grid-template-columns: 1fr 56px 1fr 56px 1fr !important; align-items: center; }
  .mis__plus { width: auto !important; display: grid; place-items: center; align-self: center; }
  .mis { justify-items: center !important; text-align: center !important; padding: 0 !important; }
  .mis img { margin: 0 auto 8px; object-position: center !important; }
}

.day:nth-child(2) .day__d { color: var(--aqua) !important; }

.stage .brief h3 { font-size: var(--fs-h3) !important; }
.stage .brief .brief__q { font-size: clamp(17px, 1.5vw, 19px) !important; }
/* 差旅補助：標籤加粗、內容斷在適當位置 */
.travel ol li span b { color: var(--text); font-weight: 700; }

.prize-banner__v { margin-top: 18px !important; font-size: clamp(44px, 5.4vw, 80px) !important; }
.prize-banner__d { margin-top: 6px; }

.deliv__top h4 { font-size: var(--fs-h3) !important; }
.deliv__top h4 small { font-size: .75em; }
.deliv__no { font-size: 17px; }

/* 規劃限制、初審評分基準：不用卡片 */
.rules--plain, .crit--plain { background: none !important; background-image: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 !important; border-radius: 0 !important; }
.site__info { align-content: start; gap: 36px !important; }
@media (min-width: 900px) { .site__info { padding: 8px 0 0 8px; } }
.rules--plain h4, .crit--plain h4 { padding-bottom: 10px; border-bottom: 2px solid currentColor; }
.rules--plain h4 { color: var(--lime); }
.crit--plain h4 { color: var(--aqua); }
.rules--plain ul { margin-top: 14px; display: grid; gap: 12px; }
.rules--plain li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: baseline; color: var(--text); font-weight: 500; }
.rules--plain .rx { width: 14px; height: 14px; fill: var(--lime); translate: 0 2px; }
.crit--plain ol { margin-top: 6px; display: grid; gap: 0; counter-reset: none; }
.crit--plain li { display: grid !important; grid-template-columns: 44px 1fr !important; gap: 8px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-d); }
.crit--plain li::before { content: none !important; }
.crit--plain .cn { font-family: var(--f-pixel); font-size: 20px; color: var(--aqua); }
.crit--plain .ct { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); color: var(--text); letter-spacing: .04em; }
.crit--plain .ct em { font-style: normal; margin-left: 8px; padding: 1px 8px; border-radius: 4px; font-family: var(--f-body); font-size: 12px; background: var(--aqua); color: var(--ink); vertical-align: 2px; }

.rules--plain li::before { content: none !important; display: none !important; }
.rules--plain li span { min-width: 0; }

/* 規劃限制、初審評分基準：同字級 */
.rules--plain h4, .crit--plain h4 { font-size: var(--fs-h4) !important; }
.rules--plain li, .crit--plain .ct { font-family: var(--f-body) !important; font-size: var(--fs-body) !important; font-weight: 500 !important; letter-spacing: .02em; }
.crit--plain .cn { font-size: 16px; }
.crit--plain li { padding: 10px 0; }
/* 複審、決賽題目待公告：字小一點 */
.stage-soon__v { font-size: clamp(22px, 2.2vw, 30px) !important; }

/* 評分比例軸線：可互動 */
.bar { height: 22px; gap: 4px; overflow: visible; border-radius: 0; }
.bar__seg { position: relative; display: block; height: 100%; padding: 0; border: 0; border-radius: 999px; cursor: pointer; transition: transform 240ms var(--ease-out), opacity 240ms ease, height 240ms var(--ease-out); transform-origin: center; }
.bar__seg:nth-child(1) { background: var(--lime); }
.bar__seg:nth-child(2) { background: var(--aqua); }
.bar__seg:nth-child(3) { background: #a7b35a; }
.bar__seg:nth-child(4) { background: #4f99a3; }
.bar__seg span { position: absolute; left: 50%; top: -30px; translate: -50% 4px; font-family: var(--f-pixel); font-size: 14px; color: var(--text); opacity: 0; transition: opacity 200ms ease, translate 240ms var(--ease-out); pointer-events: none; }
.score .bar { margin-top: 40px; }
.score.is-focus .bar__seg { opacity: .3; }
.score.is-focus .bar__seg.is-on { opacity: 1; transform: scaleY(1.45); }
.score.is-focus .bar__seg.is-on span { opacity: 1; translate: -50% 0; }
.crit-item { transition: opacity 240ms ease, transform 240ms var(--ease-out); }
.score.is-focus .crit-item { opacity: .28; }
.score.is-focus .crit-item.is-on { opacity: 1; transform: translateX(6px); }
.crit-item:nth-child(1) .crit-item__pct { color: var(--lime); }
.crit-item:nth-child(2) .crit-item__pct { color: var(--aqua); }
.crit-item:nth-child(3) .crit-item__pct { color: #c3cd72; }
.crit-item:nth-child(4) .crit-item__pct { color: #6fb4bd; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.shot) .score .bar__seg { animation: barGrow 900ms var(--ease-out) both; transform-origin: left center; }
  html:not(.shot) .score .bar__seg:nth-child(2) { animation-delay: 100ms; }
  html:not(.shot) .score .bar__seg:nth-child(3) { animation-delay: 200ms; }
  html:not(.shot) .score .bar__seg:nth-child(4) { animation-delay: 300ms; }
}
@keyframes barGrow { from { clip-path: inset(0 100% 0 0 round 999px); } to { clip-path: inset(0 0 0 0 round 999px); } }

@media (min-width: 900px) { .site { align-items: center !important; } .site__info { align-self: center !important; align-content: center !important; padding-top: 0 !important; } }

/* 繳件規定：平時同一個淡框，滑鼠移到哪張才亮那張的顏色 */
.deliv__item, .deliv__item:first-child { border-color: rgba(255,255,255,.2) !important; transition: border-color 220ms ease, box-shadow 260ms var(--ease-out), transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .deliv__item:nth-child(1):hover { border-color: var(--lime) !important; box-shadow: 0 0 0 1px var(--lime), 0 18px 40px -20px rgba(217,227,103,.45); transform: translateY(-3px); }
  .deliv__item:nth-child(2):hover { border-color: var(--aqua) !important; box-shadow: 0 0 0 1px var(--aqua), 0 18px 40px -20px rgba(102,196,208,.45); transform: translateY(-3px); }
  .deliv__item:nth-child(3):hover { border-color: transparent !important; box-shadow: 0 18px 40px -20px rgba(160,210,170,.45); transform: translateY(-3px); }
  .deliv__item:nth-child(3):hover::before { opacity: 1; }
}
.deliv__item:nth-child(1) .deliv__no, .deliv__item:nth-child(1) .deliv__date { color: var(--lime); }
.deliv__item:nth-child(2) .deliv__no, .deliv__item:nth-child(2) .deliv__date { color: var(--aqua); }

.deliv__item { position: relative; }
.deliv__item:nth-child(3)::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 3px; background: linear-gradient(120deg, var(--lime), var(--aqua)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity 220ms ease; pointer-events: none; }

.rule li { text-align: justify; text-justify: inter-character; }

/* 網路人氣獎卡片 v2：1:1 主圖＋Slogan＋介紹摘要 */
.team { display: flex; flex-direction: column; }
.team__cover { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1 !important; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--card-2); }
.team__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.team__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(56,57,57,.85); color: var(--lime); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity 200ms ease, transform 240ms var(--ease-out); }
.team__zoom svg { width: 16px; height: 16px; fill: var(--lime); }
@media (hover: hover) and (pointer: fine) { .team__cover:hover img { transform: scale(1.04); } .team__cover:hover .team__zoom { opacity: 1; transform: none; } }
@media (hover: none) { .team__zoom { opacity: 1; transform: none; } }
.team__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 20px; }
.team__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.team__name { font-size: var(--fs-h3) !important; color: var(--text); }
.team__votes { flex: none; display: inline-flex; align-items: baseline; gap: 4px; color: var(--lime); }
.team__votes b { font-family: var(--f-pixel); font-weight: 400; font-size: 24px; }
.team__votes small { font-size: 13px; color: var(--text-2); }
.team__slogan { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); color: var(--aqua); line-height: 1.5; }
.team__intro { font-size: var(--fs-sm); line-height: 1.8; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.team__btns { margin-top: auto; padding-top: 6px; }
.team__rank { left: 12px; top: 12px; }
.team:nth-child(1) .team__rank { background: var(--lime); color: var(--ink); }
/* 作品視窗：左大圖、右文字 */
.dlg { width: min(1080px, calc(100vw - 24px)); background: var(--ink) !important; border: 1.5px solid var(--line-d); }
.work { display: grid; gap: 22px; }
.work__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: var(--r-md); background: var(--card-2); }
.work__k { font-size: var(--fs-label); letter-spacing: .14em; color: var(--aqua); font-weight: 700; }
.work__name { margin-top: 6px; font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); color: var(--text); padding-right: 52px; }
.work__slogan { margin-top: 8px; font-family: var(--f-head); font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); color: var(--lime); }
.work__votes { margin-top: 10px; color: var(--text-2); }
.work__votes b { font-family: var(--f-pixel); font-weight: 400; font-size: 28px; color: var(--lime); }
.work__h { margin-top: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line-d); font-size: var(--fs-label); letter-spacing: .14em; color: var(--text-2); }
.work__intro { margin-top: 12px; line-height: 1.9; color: var(--text); text-align: justify; }
.work .btn { margin-top: 22px; }
.dlg .btn--ink { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); }
@media (min-width: 860px) { .work { grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: start; } }

.team__head { justify-content: flex-start; }
.team__head .team__votes { margin-left: auto; }
.team__no { flex: none; font-family: var(--f-pixel); font-size: 15px; padding: 3px 8px; border-radius: 6px; background: var(--card-2); color: var(--aqua); align-self: center; }
.team:nth-child(1) .team__no { background: var(--lime); color: var(--ink); }
.team .btn--ink { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); }

.work__intro { text-align: left !important; letter-spacing: .02em; }

html.shot .dlg[open] { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .dlg[open] { animation: none !important; } }
@media (max-width: 699px) { .dlg { max-height: calc(100svh - 24px); overflow-y: auto; } }

.work__intro, .team__intro { word-break: keep-all; line-break: strict; }

.rules__note { margin-top: 12px; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.7; }

.vote-social { margin-top: 12px; display: grid; gap: 14px; align-items: center; padding: 18px var(--pad-card); border-radius: var(--r-lg); border: 1.5px dashed var(--aqua); }
.vote-social__t { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); color: var(--aqua); }
.vote-social__t svg { width: 20px; height: 20px; fill: var(--aqua); }
.vote-social__d { margin-top: 4px; font-size: var(--fs-sm); color: var(--text-2); }
.vote-social__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .vote-social { grid-template-columns: 1fr auto; } }
.soon__social { margin-top: 18px; position: relative; z-index: 1; font-weight: 700; font-size: 15px; max-width: 40em; }
.soon__social a { color: var(--ink); text-decoration: underline; }

/* =====================================================================
   減少動態：只保留透明度與顏色變化
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-property: opacity, color, background-color, border-color !important; }
}

/* 繳件規定：只在詞與詞之間換行（app.js wordWrap 放的 <wbr>）、標點不放行首，左右對齊（各種寬度都一樣）；標題、檔名、信箱不拆開 */
.deliv__item ul li { word-break: keep-all; line-break: strict; text-align: justify; text-justify: auto; }
/* 900–1199：三欄太窄，改成兩欄，決賽（內容很少）放下面一整排；1200 以上三欄，決賽欄窄一點 */
@media (min-width: 900px) { .deliv__list { grid-template-columns: 1fr 1fr; } .deliv__item:nth-child(3) { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .deliv__list { grid-template-columns: 1.2fr 1.2fr .75fr; } .deliv__item:nth-child(3) { grid-column: auto; } }
.deliv__label, .deliv__item .nw { white-space: nowrap; }
.deliv__label { display: inline-block; }   /* 標題自己一塊，對齊時不會被拉開字距 */

/* 網站維護中（content.js 的 maintenance.on = true 時出現） */
html.is-maint, html.is-maint body { overflow: hidden !important; }
.maint { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px 16px; background: var(--ink, #2b2b2b); color: #fff; overflow-y: auto; }
.maint__card { width: min(560px, 100%); text-align: center; padding: clamp(28px, 6vw, 48px) clamp(20px, 5vw, 44px); border-radius: 24px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.maint__brand { font-family: var(--f-body); font-weight: 700; font-size: 18px; letter-spacing: .08em; color: var(--lime, #d9e367); }
.maint__brand sup { font-size: .6em; }
.maint__title { margin-top: 14px; font-family: var(--f-body); font-weight: 700; font-size: clamp(26px, 5vw, 36px); line-height: 1.35; letter-spacing: .04em; word-break: keep-all; }
.maint__text { margin-top: 14px; font-size: 16px; line-height: 1.85; color: rgba(255,255,255,.85); word-break: keep-all; }
.maint__btns { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.maint__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid #fff; color: #fff; font-weight: 700; text-decoration: none; }
.maint__btn--lime { background: var(--lime, #d9e367); border-color: var(--lime, #d9e367); color: var(--ink, #2b2b2b); }

/* 競賽時程：年度標示（每年第一筆前面一個 2026／2027 牌子，軸線從中間穿過） */
.tl__yr { position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; padding: 4px 0 26px; }
.tl__yr::before { content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: var(--line-d); }
.tl__yr.is-first { padding-top: 0; }
.tl__yr.is-first::before { top: 50%; }
.tl__yrtag { grid-column: 1 / -1; justify-self: start; position: relative; z-index: 1; font-family: var(--f-pixel); font-size: 17px; line-height: 1; letter-spacing: .14em; color: var(--ink); background: var(--text); padding: 7px 10px 6px 12px; border-radius: 4px; width: max-content; white-space: nowrap; }
@media (min-width: 900px) {
  .tl__yr { grid-template-columns: var(--dc) 34px 1fr; column-gap: 20px; padding: 6px 0 30px; }
  .tl__yr::before { left: calc(var(--dc) + 20px + 16px); }
  .tl__yrtag { grid-column: 2; justify-self: center; font-size: 19px; }
}

/* 首頁大日期：標題列右邊的年份小牌子 */
.kd__item dt { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kd__item .kd__yr { font-family: var(--f-pixel); font-weight: 400; font-size: 13px; line-height: 1; letter-spacing: .12em; padding: 4px 5px 3px 7px; border: 1.5px solid currentColor; border-radius: 4px; white-space: nowrap; color: var(--ink); }
.kd__item:first-child .kd__yr { color: var(--lime); }

/* 2026-10-29 初審題目補充：頁數不限、基地引言（依簡章第 14 頁） */
.brief .brief__rule { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: #2a2b2b !important; font-weight: 700; font-size: 15px; line-height: 1.5; letter-spacing: .04em; }
.site-lead { margin: clamp(48px, 7vw, 88px) auto 0; max-width: 46em; text-align: center; font-family: var(--f-head); font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.8; letter-spacing: .04em; color: var(--lime); }
.stage .site-lead + .site { margin-top: clamp(20px, 2.6vw, 32px); }
.site-lead { text-wrap: balance; }
