/* 設計變數（v21 整併：原 8 組 :root 與 2 組深色變數合併為此兩組，新增變數請加在這裡，不要再另開 :root） */
:root {
  --ink: #0b4a6b;
  --muted: #4b606d;
  --gold: #a44720;
  --line: #d7e2e7;
  --paper: #f8f9f4;
  --cream: #d9eaf7;
  --green: #396a46;
  --heading-font: "Noto Sans TC","Source Han Sans TC","Microsoft JhengHei",sans-serif;
  --body-font: 'Noto Sans TC','PingFang TC','Microsoft JhengHei',sans-serif;
  --brand-blue: #0b4a6b;
  --brand-orange: #f07f4f;
  --brand-green: #7fb68a;
  --brand-ivory: #f8f9f4;
  --brand-light-blue: #d9eaf7;
  --card: #fff;
  --chip: #eef3f5;
  --focus: var(--brand-orange);
  --t-orange: #c4531f;
  --t-orange-bg: #fde9df;
  --t-green: #2a7a4c;
  --t-green-bg: #e2f3e7;
  --t-blue: #1d67a6;
  --t-blue-bg: #e1eefa;
  --t-purple: #6b3fb5;
  --t-purple-bg: #efe7fb;
  --t-rose: #c23a52;
  --t-rose-bg: #fde6ea;
  --t-no: #b8322a;
  --t-no-bg: #fbe3e1;
  --type-body: 1rem;
  --type-small: .875rem;
  --type-card: 1.125rem;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 74, 107, .05), 0 1px 1px rgba(11, 74, 107, .03);
  --shadow-md: 0 10px 28px -14px rgba(11, 74, 107, .28), 0 2px 6px -2px rgba(11, 74, 107, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --section-space: clamp(28px, 4vw, 56px);
}
[data-theme=dark] {
  --ink: #e8eff3;
  --muted: #a8bac5;
  --gold: #f59b74;
  --line: #2a404f;
  --paper: #0e1b23;
  --cream: #1c3240;
  --green: #93cda0;
  --brand-light-blue: #1f3a4c;
  --card: #152733;
  --chip: #22394a;
  --t-orange: #ffa77f;
  --t-orange-bg: #3a2419;
  --t-green: #8fd6a7;
  --t-green-bg: #173323;
  --t-blue: #8ec3f2;
  --t-blue-bg: #14304a;
  --t-purple: #c3a5f5;
  --t-purple-bg: #2a1f42;
  --t-rose: #f59aab;
  --t-rose-bg: #3d1c24;
  --t-no: #ff8f86;
  --t-no-bg: #3d1b19;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 30px -16px rgba(0, 0, 0, .7), 0 2px 6px -2px rgba(0, 0, 0, .4);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC","Microsoft JhengHei",sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}
::selection {
  background: #e7d4af;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 15px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.header {
  min-height: 104px;
  max-width: 1440px;
  margin: auto;
  padding: 22px 5.6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 25px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1.5px;
  flex-shrink: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 14px;
  font-weight: 600;
}
nav a {
  position: relative;
  padding: 10px 0;
}
nav a[aria-current] {
  color: var(--gold);
}
nav a[aria-current]:not(.nav-cta):after {
  content: "";
  height: 3px;
  width: 16px;
  background: var(--gold);
  position: absolute;
  bottom: 0;
  left: calc(50% - 8px);
}
nav .nav-cta {
  border: 1px solid var(--ink);
  border-radius: 5px;
  padding: 12px 18px;
}
.nav-cta span {
  margin-left: 15px;
}
.menu {
  display: none;
}
main {
  max-width: 1440px;
  margin: auto;
  outline: 0;
}
.page[hidden] {
  display: none;
}
.page {
  animation: arrive .32s ease-out;
}
@keyframes arrive {
  from {
    opacity: .35;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  padding: 36px 5.6% 25px;
  align-items: center;
  gap: 18px;
  min-height: 530px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2.3px;
  font-weight: 600;
  color: var(--green);
  display: block;
}
.eyebrow>span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
}
.hero h1,
.page h1 {
  font-family: "Noto Serif TC","PMingLiU",serif;
  font-weight: 700;
  font-size: clamp(38px,4.3vw,65px);
  line-height: 1.36;
  letter-spacing: 1px;
  margin: 24px 0;
}
.gold {
  color: var(--gold);
}
.lead {
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  padding: 17px 22px;
  border-radius: 5px;
  transition: background .2s,transform .2s;
}
.primary {
  color: white;
  background: var(--ink);
}
.primary:hover {
  background: #25475e;
  transform: translateY(-2px);
}
.text-link {
  font-size: 14px;
  font-weight: 600;
}
.text-link:hover {
  color: var(--gold);
}
.hero-note {
  margin-top: 35px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}
.tiny-shield {
  color: var(--gold);
  margin-right: 8px;
}
.hero-art {
  position: relative;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 455px;
}
.art-caption {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  margin: 5px 0 12px;
}
.caption-line {
  height: 1px;
  width: 48px;
  background: var(--gold);
}
.values {
  margin: 0 5.6% 35px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr 1.1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  gap: 20px;
}
.values h2 {
  font-size: 20px;
  line-height: 1.6;
  margin: 9px 0 0;
  font-family: "PMingLiU",serif;
}
.value {
  padding: 9px 15px;
  border-left: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  transition: background .2s;
}
.value:hover {
  background: var(--cream);
}
.icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--green);
  background: #e9eee5;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}
.value h3 {
  font-size: 16px;
  margin: 4px 0 10px;
}
.value p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  max-width: 160px;
}
.arrow {
  position: absolute;
  right: 5px;
  top: 8px;
  color: var(--gold);
}
footer {
  padding: 21px 5.6%;
  max-width: 1440px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
footer>span:first-child {
  font-weight: 700;
  color: var(--ink);
}
.page-heading {
  padding: 46px 5.6% 28px;
}
.page-heading h1 {
  font-size: clamp(32px,3.3vw,46px);
  margin: 17px 0;
}
.page-heading p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}
.two-column {
  margin: 0 5.6% 40px;
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: 40px;
}
.article-stack {
  display: grid;
  gap: 23px;
}
.article-stack article {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 12px;
}
article p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin: 8px 0;
}
details {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
summary {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 16px 27px 12px 0;
  position: relative;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "＋";
  position: absolute;
  right: 0;
  color: var(--gold);
}
details[open] summary:after {
  content: "−";
}
.detail-body {
  padding-bottom: 8px;
}
.rule-item strong,
.join-steps strong {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
}
.topic-grid {
  margin: 0 5.6%;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.topic {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px;
  position: relative;
}
.topic .icon {
  margin-bottom: 25px;
}
.topic-number {
  position: absolute;
  right: 25px;
  top: 35px;
  font-family: Georgia,serif;
  font-size: 15px;
  color: #afb7b5;
}
.topic h2 {
  font-size: 18px;
}
.small-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 24px 5.6% 36px;
}
.welcome-card {
  background: #eaf0e7;
  padding: 32px;
  border-radius: 8px;
}
.welcome-card h2 {
  font-family: "PMingLiU",serif;
  font-size: 28px;
  line-height: 1.6;
  margin-top: 17px;
}
.rule-item {
  display: flex;
  gap: 14px;
  margin: 22px 0;
}
.rule-item>span {
  color: var(--green);
  padding-top: 10px;
}
.plain-list {
  font-size: 14px;
  color: var(--muted);
  line-height: 2.3;
  padding-left: 20px;
}
.join-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 35px;
  padding: 48px 5.6% 28px;
}
.join-layout h1 {
  font-size: clamp(33px,3.7vw,51px);
}
.join-layout .small-note {
  margin: 15px 0;
}
.join-steps {
  margin: 26px 0;
}
.join-steps>div {
  display: flex;
  gap: 18px;
  margin: 15px 0;
}
.join-steps>div>span {
  font-family: Georgia,serif;
  color: var(--gold);
  padding-top: 4px;
}
.join-steps p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.join-art img {
  width: 100%;
  height: auto;
}
.join-message {
  text-align: center;
  font-family: "PMingLiU",serif;
  font-size: 24px;
  line-height: 1.7;
  color: var(--green);
}
@media (min-width:1500px) {
  .hero {
    min-height: 585px;
  }
  .hero-art img {
    max-height: 490px;
  }
}
@media (max-width:1100px) {
  nav {
    gap: 20px;
  }
  .actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .value {
    padding-left: 12px;
    gap: 10px;
  }
  .values {
    gap: 10px;
  }
  .value .icon {
    width: 32px;
    height: 36px;
  }
  .topic-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .hero h1 {
    font-size: 48px;
  }
}
@media (max-width:900px) {
  .header {
    min-height: 84px;
    padding: 16px 5%;
  }
  .brand {
    font-size: 16px;
  }
  .menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  .menu span {
    height: 2px;
    background: var(--ink);
    width: 22px;
  }
  .header {
    position: relative;
    z-index: 5;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 16px 5% 24px;
    box-shadow: 0 15px 20px #142d4210;
    border-bottom: 1px solid var(--line);
  }
  nav.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }
  nav a {
    padding: 13px 0;
  }
  nav a[aria-current]:not(.nav-cta):after {
    left: auto;
    right: 0;
    bottom: 23px;
  }
  .hero {
    padding: 32px 5% 25px;
    gap: 5px;
  }
  .hero h1 {
    font-size: 41px;
  }
  .lead {
    font-size: 14px;
  }
  .hero-art img {
    max-height: 390px;
  }
  .hero-note {
    margin-top: 25px;
    font-size: 11px;
    letter-spacing: 0;
  }
  .art-caption {
    font-size: 10px;
    letter-spacing: 0;
  }
  .values {
    margin: 0 5% 25px;
    grid-template-columns: repeat(3,1fr);
  }
  .values-intro {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 25px;
  }
  .values h2 {
    font-size: 18px;
    margin: 0;
  }
  .values h2 br {
    display: none;
  }
  .value:first-of-type {
    border: 0;
    padding-left: 0;
  }
  .values-intro+.value {
    border: 0;
  }
  .value {
    margin-top: 8px;
  }
  .two-column {
    gap: 24px;
  }
  .page-heading {
    padding-top: 35px;
  }
  footer {
    flex-wrap: wrap;
  }
  .join-layout {
    gap: 10px;
  }
  .join-layout h1 {
    font-size: 38px;
  }
}
@media (max-width:600px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
    gap: 12px;
  }
  .hero h1 {
    font-size: 42px;
    margin: 19px 0;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .lead {
    font-size: 14px;
  }
  .actions {
    margin-top: 22px;
    gap: 20px;
  }
  .button {
    font-size: 13px;
    padding: 15px 17px;
    gap: 22px;
  }
  .text-link {
    font-size: 12px;
  }
  .hero-note {
    margin-top: 22px;
  }
  .hero-art {
    max-width: 420px;
    width: 100%;
    margin: auto;
  }
  .hero-art img {
    max-height: 300px;
  }
  .art-caption {
    margin-top: 0;
  }
  .values {
    grid-template-columns: 1fr;
    padding: 22px 0;
    gap: 8px;
  }
  .values-intro {
    display: block;
    margin-bottom: 10px;
  }
  .values h2 {
    margin-top: 8px;
    font-size: 20px;
  }
  .value {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    gap: 16px;
    margin: 0;
  }
  .value .icon {
    width: 40px;
    height: 40px;
  }
  .value p {
    max-width: none;
  }
  .value h3 {
    margin: 0 0 4px;
  }
  .arrow {
    right: 4px;
    top: 18px;
  }
  .values-intro+.value {
    border-top: 1px solid var(--line);
  }
  footer {
    padding: 16px 5% 25px;
    font-size: 10px;
    gap: 11px;
  }
  footer>span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .page-heading {
    padding: 32px 5% 20px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .two-column {
    grid-template-columns: 1fr;
    margin: 0 5% 25px;
    gap: 24px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
    margin: 0 5%;
    gap: 14px;
  }
  .topic {
    padding: 23px;
  }
  .topic .icon {
    margin-bottom: 17px;
  }
  .topic h2 {
    margin-bottom: 6px;
  }
  .topic p {
    margin: 4px 0;
  }
  .topic details {
    margin-top: 12px;
  }
  .welcome-card {
    padding: 25px;
  }
  .welcome-card h2 {
    font-size: 26px;
  }
  .join-layout {
    grid-template-columns: 1fr;
    padding: 32px 5% 25px;
  }
  .join-layout h1 {
    font-size: 38px;
  }
  .join-art {
    max-width: 420px;
    margin: 10px auto;
  }
  .join-art img {
    max-height: 280px;
  }
  .join-message {
    font-size: 21px;
  }
  .small-note {
    margin-bottom: 26px;
  }
}
.hero-art img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
}
.small-note {
  font-size: 13px;
}
footer {
  font-size: 12px;
}
.updated {
  font-size: 12px;
}
.plain-list {
  line-height: 2;
}
.resource-help {
  margin: 20px 5.6% 0;
}
.resource-help p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.notice {
  margin: 22px 5.6%;
  padding: 18px;
  background: #eee9dc;
  font-size: 14px;
  line-height: 1.8;
}
.notice a {
  text-decoration: underline;
}
.no-js .page[hidden] {
  display: block;
}
.no-js .menu,
.no-js .website-toolbar {
  display: none;
}
.no-js .page {
  border-bottom: 1px solid var(--line);
}
.page h1:focus {
  outline: none;
}
.join-art img {
  object-fit: contain;
}
summary {
  min-height: 44px;
}
.resource-help strong {
  color: var(--ink);
}
.website-toolbar {
  margin: 0 5.6% 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.website-intro {
  display: flex;
  align-items: center;
  gap: 14px;
}
.website-intro img {
  object-fit: contain;
  mix-blend-mode: multiply;
}
.website-intro strong {
  font-size: 15px;
}
.website-intro p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}
.website-grid {
  margin: 0 5.6%;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.website-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-height: 178px;
}
.website-card.reserved {
  background: #f4f4ec;
  border-style: dashed;
}
.website-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--muted);
}
.website-card-top>span:first-child {
  font-family: Georgia,serif;
  color: var(--gold);
  font-size: 15px;
}
.website-card h2 {
  font-size: 16px;
  margin-bottom: 8px;
}
.website-card p {
  font-size: 12px;
  margin: 0 0 15px;
}
.website-card a {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}
@media (min-width:901px) and (max-width:1100px) {
  .header nav {
    gap: 14px;
    font-size: 12px;
  }
}
@media (max-width:900px) {
  .website-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .website-toolbar {
    flex-wrap: wrap;
  }
}
@media (max-width:600px) {
  .website-grid {
    gap: 10px;
  }
  .website-card {
    padding: 15px;
    min-height: 175px;
  }
  .website-card h2 {
    font-size: 14px;
  }
  .website-card p {
    font-size: 11px;
  }
}
.icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  mix-blend-mode: multiply;
}
.icon:has(img) {
  padding: 2px;
  background: #f8f8f2;
  border-color: #e4ddcc;
}
.tiny-shield {
  display: inline-flex;
  vertical-align: middle;
}
.tiny-shield img {
  object-fit: contain;
  mix-blend-mode: multiply;
}
.icon {
  background: linear-gradient(145deg,#fffaf0,#ecebdc);
  border: 1px solid #ded6c3;
  box-shadow: 0 2px 5px #a87d3e0a;
}
.value .icon {
  width: 46px;
  height: 46px;
}
.topic-visual {
  position: relative;
  margin: -10px -10px 20px;
}
.topic-visual img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}
.topic-visual .icon {
  position: absolute;
  right: 5px;
  bottom: 0;
  margin: 0;
  width: 42px;
  height: 42px;
  box-shadow: 0 3px 12px #142d4212;
}
.topic-number {
  top: 21px;
  right: 20px;
}
.updated {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.update-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 3px;
}
.updated time {
  color: var(--ink);
}
footer {
  flex-wrap: wrap;
}
.topic .icon {
  margin-bottom: 0;
}
@media (max-width:600px) {
  .topic-visual img {
    height: 150px;
  }
  .topic-visual {
    margin-bottom: 18px;
  }
  .value .icon {
    width: 44px;
    height: 44px;
  }
  .updated {
    justify-content: flex-start;
    order: 4;
    font-size: 10px;
  }
  .topic-visual .icon {
    right: 9px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .page {
    animation: none;
  }
  *,
  *:before,
  *:after {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
@font-face  {
  font-family: 'Alliance Serif';
  src: url('alliance-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .02em;
}
h1,
h2,
h3 {
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.hero h1,
.page h1,
.values h2,
.welcome-card h2,
.join-message {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: .035em;
}
.hero h1 {
  line-height: 1.4;
}
.page-heading h1 {
  line-height: 1.45;
}
.page-heading p,
.lead {
  max-width: 44em;
  line-height: 1.95;
}
article p,
.detail-body p {
  font-size: 15px;
  line-height: 1.95;
}
.value p {
  font-size: 13px;
}
.topic h2,
.website-card h2 {
  font-family: var(--heading-font);
  font-weight: 700;
}
.website-card p {
  font-size: 13px;
}
.header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  transition: background .18s,color .18s;
}
.header nav a:hover {
  color: var(--gold);
  background: #eceadf;
}
.header nav a:not(.nav-cta) {
  padding-inline: 8px;
}
.button {
  min-height: 48px;
  letter-spacing: .045em;
}
.button:active {
  transform: translateY(1px);
}
summary {
  font-size: 14px;
  border-radius: 4px;
  transition: background .18s;
}
summary:hover {
  background: #eceadf;
}
.website-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.updated {
  font-size: 12px;
}
.detail-body {
  max-width: 65ch;
}
.join-steps p {
  font-size: 14px;
}
@media (max-width:1100px) and (min-width:901px) {
  .header nav {
    gap: 8px;
  }
  .header nav a:not(.nav-cta) {
    padding-inline: 4px;
  }
}
@media (max-width:600px) {
  .hero h1 {
    font-size: clamp(34px,10.5vw,42px);
  }
  .page-heading h1 {
    font-size: clamp(29px,8.5vw,34px);
  }
  .join-layout h1 {
    font-size: clamp(31px,9.5vw,38px);
  }
  .lead {
    font-size: 15px;
  }
  .page-heading p {
    font-size: 15px;
  }
  .website-card p {
    font-size: 12px;
  }
  .header nav a {
    padding: 12px;
  }
  .art-caption {
    font-size: 11px;
  }
  .small-note {
    font-size: 13px;
  }
  .updated {
    font-size: 11px;
  }
}
.hero .tera-title {
  font-family: Georgia,serif;
  font-size: clamp(64px,7.5vw,100px);
  line-height: 1;
  letter-spacing: .09em;
  margin: 23px 0 12px;
}
.brand-english {
  font-family: Georgia,serif;
  font-size: clamp(16px,1.7vw,21px);
  line-height: 1.5;
  margin: 0;
  color: var(--muted);
}
.brand-official {
  font-size: 18px;
  letter-spacing: .1em;
  margin: 8px 0 22px;
  font-weight: 600;
}
.brand-slogan {
  font-family: var(--heading-font);
  font-size: clamp(27px,3vw,40px);
  line-height: 1.5;
  letter-spacing: .035em;
  margin: 0 0 12px;
}
.brand-subline {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 10px;
}
.official-domain {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--green);
  border-bottom: 1px solid #c8d3c9;
}
.official-domain:hover,
.footer-domain:hover {
  color: var(--gold);
}
.hero-copy .actions {
  margin-top: 22px;
}
.hero-copy .hero-note {
  margin-top: 22px;
}
@media (max-width:600px) {
  .hero .tera-title {
    font-size: 72px;
    margin-top: 20px;
  }
  .brand-english {
    font-size: 16px;
  }
  .brand-official {
    font-size: 17px;
    margin-bottom: 20px;
  }
  .brand-slogan {
    font-size: 30px;
  }
  .brand-subline {
    font-size: 15px;
  }
  .hero-art img {
    max-height: 260px;
  }
}

/* TERA 品牌版面：書刊式層次、深藍與暖金、自然留白。 */
.header {
  padding-block: 18px;
  min-height: 96px;
}
.hero {
  padding-top: 48px;
  padding-bottom: 40px;
  gap: 38px;
  grid-template-columns: 1fr 1.08fr;
}
.hero .tera-title {
  font-size: clamp(76px,8.7vw,120px);
  letter-spacing: .07em;
  margin: 22px 0 14px;
}
.brand-english {
  font-size: clamp(16px,1.55vw,21px);
}
.brand-official {
  font-weight: 500;
  margin-bottom: 24px;
}
.brand-slogan {
  font-size: clamp(29px,3.1vw,43px);
  line-height: 1.5;
}
.hero-art {
  padding: 30px 0 0;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 6% -2% 4%;
  border: 1px solid #cbb68e;
  border-radius: 48% 48% 4% 4%;
  z-index: -1;
}
.hero-art img {
  max-height: 475px;
}
.art-index {
  position: absolute;
  top: 0;
  right: 0;
  font-family: Georgia,serif;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
}
.art-caption {
  justify-content: space-between;
  padding: 15px 12px 0;
  font-size: 12px;
  letter-spacing: .05em;
}
.bridge-label,
.section-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--green);
}
.values {
  border-top: 0;
  margin-top: 15px;
  padding-block: 26px;
}
.value {
  border-left: 0;
  background: #f1f0e9;
  border-radius: 8px;
  padding: 20px 16px;
}
.value .arrow {
  right: 12px;
  top: 13px;
}
.value p {
  max-width: 190px;
}
.values-intro {
  padding-top: 8px;
}
.page-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.topic,
.website-card {
  box-shadow: 0 8px 25px #17334405;
  border-radius: 12px;
}
.topic-grid {
  gap: 22px;
}
.welcome-card {
  border-radius: 12px;
}
.header nav {
  gap: 16px;
}
.header nav a {
  font-size: 14px;
}
footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.about-intro {
  margin: 0 5.6%;
  padding: 52px 0 38px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
  align-items: end;
}
.about-intro h1 {
  font-size: clamp(32px,3.5vw,48px);
  margin: 20px 0 0;
}
.about-position p {
  font-size: 18px;
  line-height: 1.9;
  margin: 12px 0 18px;
}
.about-position>span:last-child {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted);
}
.core-statement {
  margin: 32px 5.6% 0;
  padding: 36px 42px;
  background: var(--ink);
  color: #faf9f5;
  border-radius: 12px;
}
.core-statement .section-kicker {
  color: #d7bd91;
}
.core-statement h2 {
  font-family: var(--heading-font);
  font-size: clamp(27px,2.8vw,38px);
  line-height: 1.65;
  margin: 15px 0;
}
.core-statement>p {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.95;
  color: #dce4e5;
}
.core-statement details {
  border-color: #ffffff30;
  max-width: 75ch;
}
.core-statement .detail-body p {
  color: #dce4e5;
  font-size: 15px;
  line-height: 1.9;
}
.core-statement summary {
  color: #f3dfbb;
}
.core-statement summary:hover {
  background: #ffffff0c;
}
.section-heading {
  margin: 38px 5.6% 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.section-heading h2 {
  font-family: var(--heading-font);
  font-size: 26px;
  margin: 0;
}
.spirit-grid {
  margin: 0 5.6%;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.spirit-card {
  padding: 26px 24px;
  background: #fffefa;
  border-right: 1px solid var(--line);
}
.spirit-card:last-child {
  border: 0;
}
.spirit-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 18px;
}
.spirit-letter {
  font-family: Georgia,serif;
  font-size: 68px;
  line-height: 1;
  color: var(--gold);
}
.spirit-index {
  font-size: 12px;
  color: #8d9b9d;
}
.spirit-card .spirit-en {
  font-size: 14px;
  color: var(--green);
  margin: 0 0 8px;
  font-family: Georgia,serif;
}
.spirit-card h2 {
  font-family: var(--heading-font);
  font-size: 23px;
  margin-bottom: 12px;
}
.spirit-card>p:last-child {
  font-size: 14px;
  line-height: 1.9;
}
.manifesto-grid {
  margin: 30px 5.6% 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.manifesto {
  padding: 32px;
  background: #eeeae0;
  border-radius: 12px;
}
.manifesto h2 {
  font-family: var(--heading-font);
  font-size: 29px;
  line-height: 1.65;
  margin: 18px 0;
}
.manifesto p {
  font-size: 15px;
}
.stream-manifesto {
  background: #e8efea;
}
.about-origin {
  margin: 25px 5.6% 35px;
}
.about-origin .detail-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.about-origin .text-link {
  margin-top: 14px;
}
.eyebrow {
  font-size: 13px;
}
.hero-note {
  font-size: 13px;
}
.values .value p {
  font-size: 14px;
}
@media (max-width:1100px) {
  .hero {
    gap: 25px;
  }
  .header nav {
    gap: 8px;
  }
  .about-intro {
    gap: 35px;
  }
  .spirit-card {
    padding: 22px 17px;
  }
  .spirit-card h2 {
    font-size: 21px;
  }
  .spirit-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .spirit-card:nth-child(2) {
    border-right: 0;
  }
  .spirit-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width:900px) {
  .hero {
    padding-top: 35px;
  }
  .hero .tera-title {
    font-size: 88px;
  }
  .about-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-position p {
    max-width: 50ch;
  }
  .values .value {
    padding: 17px 12px;
  }
  .manifesto {
    padding: 25px;
  }
  .manifesto h2 {
    font-size: 25px;
  }
  .header nav {
    gap: 5px;
  }
  .core-statement {
    padding: 30px;
  }
}
@media (max-width:600px) {
  .header {
    min-height: 84px;
  }
  .hero {
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 25px;
  }
  .hero .tera-title {
    font-size: 76px;
  }
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: .12em;
  }
  .brand-official {
    font-size: 16px;
    letter-spacing: .08em;
  }
  .brand-slogan {
    font-size: 31px;
  }
  .hero-art {
    padding-top: 26px;
  }
  .hero-art img {
    max-height: 300px;
  }
  .hero-art:before {
    inset: 9% 0 5%;
  }
  .art-caption {
    font-size: 11px;
    padding-inline: 3px;
  }
  .values {
    gap: 12px;
  }
  .values .value {
    padding: 18px 14px;
    border: 0;
  }
  .values-intro {
    padding: 0;
  }
  .about-intro {
    padding: 30px 0;
  }
  .about-intro h1 {
    font-size: 31px;
  }
  .about-position p {
    font-size: 16px;
  }
  .core-statement {
    padding: 25px 22px;
    margin-top: 25px;
  }
  .core-statement h2 {
    font-size: 25px;
  }
  .core-statement>p {
    font-size: 15px;
  }
  .section-heading {
    display: block;
    margin-top: 30px;
  }
  .section-heading h2 {
    font-size: 25px;
    margin-top: 10px;
  }
  .spirit-card {
    padding: 22px 16px;
  }
  .spirit-letter {
    font-size: 56px;
  }
  .spirit-card .spirit-en {
    font-size: 14px;
    line-height: 1.5;
    min-height: 42px;
  }
  .spirit-card h2 {
    font-size: 20px;
  }
  .spirit-card>p:last-child {
    font-size: 14px;
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .manifesto h2 {
    font-size: 26px;
  }
  .topic-grid {
    gap: 16px;
  }
  .eyebrow {
    letter-spacing: .12em;
  }
}

/* TERA 最終品牌定案：保留既有版面與功能 */
.brand-logo {
  display: block;
  width: 230px;
  height: auto;
  background: #fff;
  border-radius: 4px;
}
.hero .tera-title,
.brand-english,
.spirit-letter,
.spirit-card .spirit-en {
  font-family: Montserrat,"Noto Sans TC","Microsoft JhengHei",sans-serif;
}
.hero .tera-title {
  font-weight: 900;
}
.hero .brand-slogan,
.page h1 {
  font-family: var(--heading-font);
  font-weight: 900;
}
.hero-art:before {
  background: #d9eaf7;
}
.value,
.spirit-card {
  background: #fff;
}
.manifesto {
  background: #fff0e8;
}
.stream-manifesto,
.welcome-card {
  background: #edf5ee;
}
.core-statement .section-kicker {
  color: #f6a27d;
}
.core-statement summary {
  color: #d9eaf7;
}
.caption-line,
nav a[aria-current]:not(.nav-cta):after {
  background: var(--brand-orange);
}
@media (max-width:1100px) {
  .brand-logo {
    width: 200px;
  }
  .header {
    gap: 16px;
  }
}
@media (max-width:600px) {
  .brand-logo {
    width: clamp(180px,55vw,230px);
  }
  .header {
    gap: 10px;
  }
}
@media (max-width:600px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
  .hero .tera-title {
    white-space: nowrap;
    overflow-wrap: normal;
  }
  .actions {
    flex-wrap: wrap;
  }
}
.hero-art:before {
  bottom: 48px;
  border-color: var(--brand-light-blue);
}
.art-caption {
  position: relative;
  z-index: 1;
}

/* ===== v17 稽核更新：深色模式按鈕、求助專線、網站篩選、常見問題 ===== */
.visually-hidden {
  position: absolute!important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.header>.brand {
  order: 0;
}
.header>nav {
  order: 1;
}
.theme-toggle {
  order: 2;
}
.menu {
  order: 3;
}
.theme-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s,border-color .18s;
}
.theme-toggle:hover {
  border-color: var(--ink);
}
.theme-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset -6px -3px 0 0 var(--ink);
  transform: rotate(-20deg);
}
[data-theme=dark] .theme-icon {
  box-shadow: none;
  background: var(--ink);
  outline: 2px dotted var(--ink);
  outline-offset: 3px;
  width: 12px;
  height: 12px;
}
@media (max-width:900px) {
  .theme-toggle {
    margin-left: auto;
  }
}
.no-js .theme-toggle {
  display: none;
}

/* 求助專線 */
.help-strip {
  margin: 10px 5.6% 40px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px 36px;
  align-items: start;
}
.help-intro h2 {
  font-family: var(--heading-font);
  font-size: 24px;
  margin: 10px 0 8px;
}
.help-intro p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.help-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color .18s,transform .18s;
}
.help-list a:hover {
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}
.help-list strong {
  font-family: Montserrat,var(--body-font);
  font-size: 30px;
  line-height: 1.1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.help-list span {
  font-weight: 700;
  font-size: 15px;
}
.help-list small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width:900px) {
  .help-strip {
    grid-template-columns: 1fr;
    margin: 5px 5% 30px;
    padding: 24px;
  }
}
@media (max-width:600px) {
  .help-list {
    grid-template-columns: 1fr;
  }
  .help-list a {
    padding: 15px;
  }
  .help-list strong {
    font-size: 26px;
  }
}

/* 聘僱網站：搜尋、篩選、卡片 */
.website-search input {
  width: min(320px,100%);
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.website-search input:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.website-filters {
  margin: 0 5.6% 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: background .18s,border-color .18s;
}
.chip:hover {
  border-color: var(--ink);
}
.chip[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.website-status {
  margin: 4px 5.6% 12px;
  font-size: 13px;
  color: var(--muted);
  min-height: 1.2em;
}
.website-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
}
.website-card .website-cat {
  font-family: inherit!important;
  font-size: 12px!important;
  color: var(--green)!important;
  font-weight: 600;
}
.badge {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.badge.official {
  border-color: transparent;
  background: var(--chip);
  color: var(--ink);
  font-weight: 600;
}
.website-domain {
  font-size: 12px!important;
  color: var(--muted);
  margin: auto 0 4px!important;
  word-break: break-all;
  font-family: ui-monospace,Consolas,monospace;
}
.website-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.website-tel {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.website-empty {
  grid-column: 1/-1;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
}
@media (max-width:600px) {
  .website-search,
  .website-search input {
    width: 100%;
  }
  .website-grid {
    grid-template-columns: 1fr;
  }
  .website-card {
    min-height: 0;
  }
}

/* 常見問題與頁尾聲明 */
.faq {
  margin: 10px 5.6% 30px;
}
.faq .section-heading {
  margin-left: 0;
  margin-right: 0;
}
.faq-list {
  max-width: 820px;
}
.faq-list details {
  margin-top: 0;
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list .detail-body p {
  color: var(--muted);
}
.disclaimer {
  width: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
:focus-visible {
  outline-color: var(--focus);
}

/* ===== 深色模式（theme.js 依系統設定或使用者選擇設定 data-theme） ===== */
[data-theme=dark] {
  color-scheme: dark;
}
[data-theme=dark] ::selection {
  background: #3d5a6e;
}
[data-theme=dark] .skip {
  background: var(--brand-orange);
  color: #13212b;
}
[data-theme=dark] .primary {
  background: var(--brand-orange);
  color: #13212b;
}
[data-theme=dark] .primary:hover {
  background: #f6a27d;
}
[data-theme=dark] .header nav a:hover,
[data-theme=dark] summary:hover {
  background: var(--cream);
}
[data-theme=dark] nav {
  background: var(--paper);
}
[data-theme=dark] .value,
[data-theme=dark] .spirit-card,
[data-theme=dark] .topic,
[data-theme=dark] .website-card,
[data-theme=dark] .notice {
  background: var(--card);
}
[data-theme=dark] .manifesto {
  background: #2a211d;
}
[data-theme=dark] .stream-manifesto,
[data-theme=dark] .welcome-card {
  background: #16291f;
}
[data-theme=dark] .core-statement {
  background: #0b4a6b;
  color: #f3f7f9;
}
[data-theme=dark] .hero-art:before {
  background: var(--brand-light-blue);
}
[data-theme=dark] .official-domain {
  border-color: var(--line);
}
[data-theme=dark] .topic,
[data-theme=dark] .website-card {
  box-shadow: none;
}
[data-theme=dark] .chip[aria-pressed=true] {
  color: #0e1b23;
}

/* 水彩圖原為淺底並以 multiply 疊色；深色模式改放在柔和淺色底板，避免變黑 */
[data-theme=dark] .topic-visual {
  background: #f1efe8;
  border-radius: 10px;
}
[data-theme=dark] .website-intro img,
[data-theme=dark] .tiny-shield img {
  mix-blend-mode: normal;
  border-radius: 8px;
  background: #f1efe8;
}
[data-theme=dark] .hero-art img,
[data-theme=dark] .join-art img {
  border-radius: 14px;
  filter: brightness(.92);
}
[data-theme=dark] .brand-logo {
  padding: 2px 4px;
}
.skip {
  top: -200px;
}
.skip:focus {
  top: 10px;
}

/* ===== v18 品牌圖卡內容：角色、定位與行動、品牌特質、圖卡藝廊 ===== */
.ac {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  position: relative;
  overflow: hidden;
}
.ac:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--tone,var(--line));
  opacity: .85;
}
.ac-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tone-bg,var(--cream));
  color: var(--tone,var(--ink));
}
.ac h3 {
  font-size: 18px;
  margin: 4px 0 6px;
  font-weight: 800;
  line-height: 1.4;
}
.ac p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}
.tone-orange {
  --tone: var(--t-orange);
  --tone-bg: var(--t-orange-bg);
}
.tone-green {
  --tone: var(--t-green);
  --tone-bg: var(--t-green-bg);
}
.tone-blue {
  --tone: var(--t-blue);
  --tone-bg: var(--t-blue-bg);
}
.tone-purple {
  --tone: var(--t-purple);
  --tone-bg: var(--t-purple-bg);
}
.tone-rose {
  --tone: var(--t-rose);
  --tone-bg: var(--t-rose-bg);
}
.ac.not {
  --tone: var(--t-no);
  --tone-bg: var(--t-no-bg);
}
.not-word {
  color: var(--t-no);
}

/* 首頁角色 */
.roles {
  margin: 0 5.6%;
  padding: 26px 0;
  border-block: 1px solid var(--line);
}
.roles-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.roles-tag {
  font-family: var(--heading-font);
  font-size: clamp(20px,2vw,26px);
  font-weight: 800;
  margin: 0;
  flex: 1;
}
.roles-head a {
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.roles-head a:hover {
  color: var(--gold);
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

/* 關於：品牌核心聚焦標籤 */
.focus-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
}
.focus-tags li {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ffffff40;
  color: #f3f7f9;
  background: #ffffff12;
}

/* 定位與行動 */
.position {
  margin: 10px 5.6% 0;
}
.position .section-heading,
.brand-cards .section-heading {
  margin-left: 0;
  margin-right: 0;
  align-items: flex-end;
}
.section-lead {
  font-size: 15px;
  color: var(--muted);
  max-width: 40em;
  margin: 0;
  line-height: 1.8;
}
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  margin: 26px 0 14px;
}
.step-title>span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-family: Montserrat,var(--body-font);
}
.ac-grid {
  display: grid;
  gap: 14px;
}
.ac-grid.four {
  grid-template-columns: repeat(4,1fr);
}
.ac-grid.two {
  grid-template-columns: repeat(2,1fr);
}
.ac-grid.compact .ac {
  padding: 16px;
}
.ac-grid.compact .ac-icon {
  width: 44px;
  height: 44px;
}
.spirit-closing {
  margin: 20px 5.6% 0;
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(16px,1.7vw,20px);
  letter-spacing: .08em;
  color: var(--ink);
}
.spirit-closing span {
  color: var(--brand-orange);
  margin: 0 .4em;
}

/* 品牌圖卡 */
.brand-cards {
  margin: 34px 5.6% 0;
}
.card-gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.card-shot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .18s,border-color .18s;
}
.card-shot:hover {
  transform: translateY(-3px);
  border-color: var(--brand-orange);
}
.card-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672/941;
  object-fit: cover;
}
.card-shot span {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 14px 14px;
}
@media (max-width:1100px) {
  .ac-grid.four {
    grid-template-columns: repeat(2,1fr);
  }
  .card-gallery {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:900px) {
  .role-grid {
    grid-template-columns: 1fr;
  }
  .roles {
    margin: 0 5%;
  }
  .position,
  .brand-cards {
    margin-left: 5%;
    margin-right: 5%;
  }
}
@media (max-width:600px) {
  .ac-grid.four,
  .ac-grid.two,
  .card-gallery {
    grid-template-columns: 1fr;
  }
  .ac {
    padding: 16px;
  }
  .ac-icon {
    width: 46px;
    height: 46px;
  }
  .roles-head {
    gap: 8px;
  }
  .roles-head a {
    width: 100%;
    justify-content: space-between;
  }
  .step-title {
    font-size: 18px;
  }
  .position .section-heading,
  .brand-cards .section-heading {
    display: block;
  }
  .section-lead {
    margin-top: 8px;
  }
}

/* ===== v19 雇主須知、無閃爍載入、列印 ===== */
.js .page[hidden] {
  display: none;
}
.help-links {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: flex-end;
}
.guide-toc {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 5.6% 10px;
  padding: 10px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.guide-toc a {
  flex-shrink: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--card);
}
.guide-toc a:hover {
  border-color: var(--ink);
}
.guide-block {
  margin: 26px 5.6% 0;
  scroll-margin-top: 96px;
}
.guide-block .section-heading {
  margin-left: 0;
  margin-right: 0;
}
.guide-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 14px;
}
.guide-steps li {
  counter-increment: step;
  position: relative;
  padding: 44px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.guide-steps li:before {
  content: counter(step);
  position: absolute;
  top: 14px;
  left: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.guide-steps strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.guide-steps p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.deadline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.deadline-table th,
.deadline-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}
.deadline-table thead th {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  background: var(--chip);
}
.deadline-table tbody th {
  white-space: nowrap;
  color: var(--ink);
  font-weight: 700;
}
.deadline-table tbody tr:last-child>* {
  border-bottom: 0;
}
.guide-source {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 10px 0 0;
}
.guide-source a {
  text-decoration: underline;
}
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.cost-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cost-card h3 {
  margin: 0;
  font-size: 17px;
}
.cost-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}
.guide-note {
  margin: 12px 0 0;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px 20px;
}
.checklist label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
  min-height: 44px;
}
.checklist input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--brand-orange);
}
.checklist label:has(input:checked) {
  border-color: var(--brand-green);
  color: var(--muted);
}
.guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 14px;
}
.checklist-progress,
.copy-status {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.case-list {
  margin-top: 0;
}
.terms {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}
.terms>div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.terms dt {
  font-weight: 700;
  margin-bottom: 4px;
}
.terms dd {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.case-template {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--card);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}
@media (max-width:1100px) {
  .guide-steps {
    grid-template-columns: repeat(3,1fr);
  }
}
@media (max-width:900px) {
  .guide-steps,
  .cost-grid {
    grid-template-columns: 1fr 1fr;
  }
  .guide-block,
  .guide-toc {
    margin-left: 5%;
    margin-right: 5%;
  }
  .help-links {
    justify-content: flex-start;
  }
}
@media (max-width:600px) {
  .guide-steps,
  .cost-grid,
  .checklist,
  .terms {
    grid-template-columns: 1fr;
  }
  .guide-steps li {
    padding: 16px 16px 16px 52px;
  }
  .guide-steps li:before {
    top: 16px;
  }
  .deadline-table {
    font-size: 13px;
  }
  .deadline-table tbody th {
    white-space: normal;
  }
}
[data-theme=dark] .deadline-table thead th {
  background: #1c3240;
}
@media print {
  .header,
  footer,
  .guide-toc,
  .skip,
  .theme-toggle,
  .guide-actions button,
  #copy-template {
    display: none!important;
  }
  .page {
    animation: none;
  }
  details {
    display: block;
  }
  details>* {
    display: block;
  }
  body {
    background: #fff;
    color: #000;
  }
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 11px;
    word-break: break-all;
  }
}
.case-list details {
  max-width: none;
}
@media (max-width:600px) {
  .deadline-table {
    min-width: 0;
  }
  .deadline-table thead {
    display: none;
  }
  .deadline-table,
  .deadline-table tbody,
  .deadline-table tr,
  .deadline-table th,
  .deadline-table td {
    display: block;
    width: auto;
  }
  .deadline-table tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }
  .deadline-table tbody tr:last-child {
    border-bottom: 0;
  }
  .deadline-table th,
  .deadline-table td {
    padding: 0;
    border: 0;
  }
  .deadline-table tbody th {
    color: var(--t-orange);
    font-size: 13px;
    margin-bottom: 2px;
  }
  .deadline-table td+td {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
  }
  .deadline-table td+td:before {
    content: "辦理：";
  }
}

/* 直接開啟 tera.stream/#websites 等分享連結時，瀏覽器原生錨點捲動會把頁首捲出畫面；頁面區塊預留上方空間，讓頁首保持可見 */
.page {
  scroll-margin-top: 240px;
}

/* ===== v20 文字排版：沿用品牌字體，統一閱讀層次 ===== */
body {
  font-size: var(--type-body);
  line-height: 1.85;
  letter-spacing: .015em;
}
h1,
h2,
h3 {
  line-break: strict;
  overflow-wrap: break-word;
  letter-spacing: .025em;
}
.page h1 {
  font-weight: 700;
  line-height: 1.45;
}
.page-heading h1,
.about-intro h1,
.join-layout h1 {
  font-size: clamp(2rem,3.4vw,3rem);
  margin-block: 1rem 1.25rem;
}
.hero .brand-slogan {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .035em;
}
.brand-english {
  letter-spacing: .015em;
  line-height: 1.65;
}
.brand-official {
  letter-spacing: .065em;
  font-weight: 600;
  line-height: 1.7;
}
.page-heading p,
.lead,
.section-lead {
  font-size: var(--type-body);
  line-height: 1.9;
  max-width: 38em;
  text-wrap: pretty;
}
.eyebrow,
.section-kicker,
.bridge-label {
  font-size: var(--type-small);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .1em;
}
.section-heading {
  align-items: flex-start;
  gap: 1.25rem 2rem;
}
.section-heading h2 {
  font-size: clamp(1.5rem,2.2vw,1.75rem);
  font-weight: 700;
  line-height: 1.5;
  margin-top: .5rem;
}
.section-heading .section-lead {
  max-width: 34em;
}
.article-stack h2,
.topic h2,
.website-card h2,
.cost-card h3,
.ac h3 {
  font-size: var(--type-card);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: .65rem;
}
article p,
.detail-body p,
.resource-help p,
.ac p,
.guide-steps p,
.cost-card p,
.terms dd,
.join-steps p,
.spirit-card>p:last-child {
  font-size: var(--type-body);
  line-height: 1.85;
  letter-spacing: .015em;
  text-wrap: pretty;
}
.detail-body {
  max-width: 38em;
}
.detail-body p+p {
  margin-top: 1rem;
}
.article-stack article {
  padding-bottom: 1.5rem;
}
.plain-list {
  font-size: var(--type-body);
  line-height: 1.85;
}
.plain-list li+li {
  margin-top: .5rem;
}
.website-card {
  padding: 1.5rem;
}
.website-card p {
  font-size: var(--type-body);
  line-height: 1.85;
  margin-bottom: 1rem;
  text-wrap: pretty;
}
.website-card-top {
  margin-bottom: 1rem;
  gap: .5rem;
  flex-wrap: wrap;
}
.website-card .website-cat {
  font-size: var(--type-small)!important;
}
.website-card a,
.website-tel {
  font-size: var(--type-small);
  font-weight: 600;
  line-height: 1.6;
}
.website-intro strong {
  font-size: var(--type-card);
  line-height: 1.6;
}
.website-intro p,
.website-status,
.small-note,
.hero-note,
.guide-source,
.help-intro p,
.help-list small,
.checklist-progress,
.copy-status {
  font-size: var(--type-small);
  line-height: 1.8;
}
.small-note,
.guide-source {
  max-width: 54em;
  text-wrap: pretty;
}
.website-domain {
  font-size: .8125rem!important;
  line-height: 1.65;
  letter-spacing: 0;
}
summary {
  font-size: var(--type-body);
  font-weight: 600;
  line-height: 1.7;
  padding-block: 1.1rem;
}
.guide-toc a {
  font-size: var(--type-small);
  line-height: 1.5;
}
.guide-block {
  margin-top: 2.5rem;
}
.guide-steps strong {
  font-size: var(--type-body);
  line-height: 1.6;
  margin-bottom: .65rem;
}
.deadline-table {
  font-size: .9375rem;
  font-variant-numeric: tabular-nums;
}
.deadline-table th,
.deadline-table td {
  line-height: 1.8;
  padding: 1rem;
}
.deadline-table thead th {
  font-size: var(--type-small);
  letter-spacing: .04em;
}
.checklist label {
  font-size: var(--type-body);
  line-height: 1.8;
  padding: .875rem 1rem;
}
.checklist input {
  margin-top: .25rem;
}
.terms dt {
  font-size: var(--type-card);
  line-height: 1.6;
  margin-bottom: .5rem;
}
.terms>div {
  padding: 1.125rem;
}
.case-template {
  font-size: .9375rem;
  line-height: 2;
  padding: 1.25rem;
  letter-spacing: .01em;
}
.core-statement h2,
.manifesto h2,
.welcome-card h2 {
  font-weight: 700;
  line-height: 1.65;
}
.disclaimer,
footer,
.updated {
  font-size: .8125rem;
  line-height: 1.8;
}
@media (max-width:600px) {
  .page-heading h1,
  .about-intro h1,
  .join-layout h1 {
    font-size: clamp(1.75rem,7.5vw,2.125rem);
    line-height: 1.5;
    letter-spacing: .015em;
  }
  .hero .brand-slogan {
    font-size: clamp(1.625rem,7.3vw,1.9375rem);
  }
  .page-heading p,
  .lead,
  .section-lead {
    line-height: 1.85;
  }
  .section-heading h2 {
    font-size: 1.5rem;
  }
  .website-card {
    padding: 1.25rem;
  }
  .guide-steps li {
    padding: 1.125rem 1rem 1.125rem 3.25rem;
  }
  .guide-steps li:before {
    top: 1.25rem;
  }
  .deadline-table tr {
    padding: 1rem;
  }
  .deadline-table th,
  .deadline-table td {
    padding: 0;
  }
  .deadline-table tbody th {
    font-size: .9375rem;
    line-height: 1.7;
    margin-bottom: .4rem;
  }
  .deadline-table td {
    font-size: var(--type-body);
  }
  .deadline-table td+td {
    font-size: var(--type-small);
    line-height: 1.8;
    margin-top: .5rem;
  }
  .disclaimer,
  .updated {
    font-size: .8125rem;
  }
}

/* =====================================================================
   v21 細節精修與新元件
   - 新元件：官方手冊提示、兩種聘僱方式、仲介收費表、期限表分組、檢查表進度條、
     頁尾三欄、回到頁首、404 版面
   - 精修：卡片陰影與懸停一致、標題斷行、數字等寬、觸控回饋
   ===================================================================== */

/* 標題斷行更平均、中文標點不落在行首；數字等寬 */
h1, h2, h3 {
  text-wrap: balance;
  line-break: strict;
}
p, li, dd, summary {
  text-wrap: pretty;
  line-break: strict;
}
.help-list strong, .deadline-table tbody th, .fee-table td, .chip-count, .updated time {
  font-variant-numeric: tabular-nums;
}

/* 卡片：統一細陰影與懸停浮起 */
.cost-card, .compare-card, .terms > div, .website-card, .guide-steps li, .help-list a, .ac, .value {
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.website-card:hover, .help-list a:hover, .value:hover, .compare-card:hover {
  box-shadow: var(--shadow-md);
}
a.button:active, button.chip:active, .help-list a:active {
  transform: translateY(1px);
}

/* 篩選鈕數量徽章 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip-count {
  min-width: 1.6em;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.chip[aria-pressed=true] .chip-count {
  background: rgba(128, 128, 128, .28);
  color: inherit;
}

/* 官方手冊提示 */
.guide-callout {
  margin: 8px 5.6% 6px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-orange);
  border-radius: var(--radius);
  background: linear-gradient(110deg, var(--card) 55%, var(--t-orange-bg));
  box-shadow: var(--shadow-sm);
}
.guide-callout h2 {
  margin: 6px 0 6px;
  font-size: 1.25rem;
  line-height: 1.5;
}
.guide-callout p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.8;
}
.guide-callout .button {
  flex-shrink: 0;
}

/* 兩種聘僱方式 */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.compare-card {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare-card h3 {
  margin: 0;
  font-size: var(--type-card);
}
.compare-tag {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.compare-card + .compare-card .compare-tag {
  background: var(--t-green-bg);
  color: var(--t-green);
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
  align-content: start;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: var(--type-small);
  line-height: 1.8;
  color: var(--muted);
}
.check-list li:before {
  content: "";
  position: absolute;
  left: 3px;
  top: .55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--t-green);
  border-bottom: 2px solid var(--t-green);
  transform: rotate(-45deg);
}
.sub-title {
  margin: 28px 0 12px;
  font-size: var(--type-card);
}

/* 仲介收費表：沿用期限表外觀 */
.fee-table td:last-child {
  color: var(--ink);
  font-weight: 600;
}
.fee-table tbody th {
  width: 6em;
}
.deadline-table:not(.fee-table) tbody th {
  width: 13em;
}

/* 期限表分組列 */
.deadline-table .group-row th {
  padding: 10px 16px 8px;
  background: var(--paper);
  color: var(--t-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  white-space: normal;
  width: auto;
}
.deadline-table .group-row + tr > * {
  border-top: 0;
}

/* 費用卡片兩個連結 */
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

/* 檢查表進度條 */
.checklist-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 140px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--chip);
  overflow: hidden;
}
.checklist-bar::-webkit-progress-bar {
  background: var(--chip);
  border-radius: 999px;
}
.checklist-bar::-webkit-progress-value {
  background: var(--brand-green);
  border-radius: 999px;
  transition: width .3s var(--ease);
}
.checklist-bar::-moz-progress-bar {
  background: var(--brand-green);
  border-radius: 999px;
}
.checklist label:has(input:checked) {
  background: color-mix(in srgb, var(--card) 88%, var(--brand-green));
}

/* 頁尾：品牌／快速前往／政府專線 三欄 */
.site-footer {
  display: block;
  padding-top: 40px;
  padding-bottom: 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 26px;
}
.footer-brand, .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.footer-brand strong {
  color: var(--ink);
  font-size: .9375rem;
}
.footer-brand > span {
  color: var(--muted);
}
.footer-label {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.footer-col a {
  color: var(--ink);
}
.footer-col a:hover, .footer-brand a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.footer-bottom .disclaimer {
  width: auto;
  flex: 1 1 360px;
}
.footer-bottom .updated {
  width: auto;
  border-top: 0;
  padding-top: 0;
}

/* 回到頁首 */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-size: 20px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.to-top:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.to-top[hidden] {
  display: none;
}
.no-js .to-top {
  display: none;
}

/* 404 */
.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.not-found .actions {
  margin-top: 8px;
}

@media (min-width: 601px) and (max-width: 900px) {
  /* 兩欄時，最後一張落單的卡片撐滿整列，避免右側留白 */
  .guide-steps li:last-child:nth-child(odd),
  .cost-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .guide-callout {
    margin-inline: 5%;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .guide-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .guide-callout {
    margin-inline: 5%;
    padding: 18px;
  }
  .deadline-table .group-row th {
    padding: 0;
    background: none;
  }
  .deadline-table tr.group-row {
    padding: 14px 14px 6px;
    background: var(--paper);
  }
  .deadline-table:not(.fee-table) tbody th, .fee-table tbody th {
    width: auto;
  }
  .fee-table td + td:before {
    content: "上限：";
  }
  .site-footer {
    padding-bottom: 84px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom .disclaimer {
    flex: none;
  }
}
@media print {
  .to-top, .guide-callout .button {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .to-top, .cost-card, .compare-card, .website-card, .help-list a {
    transition: none;
  }
}

/* v22 細緻模組：保留品牌與內容，統一比例、留白與閱讀層次。 */
/* 響應式導覽：觸控尺寸與目前頁面提示。 */
.header #nav a { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.header #nav a[aria-current] { color: var(--ink); background: var(--chip); font-weight: 700; }
.header #nav a[aria-current]:after { content: none; }
.header #nav a:focus-visible,.header .menu:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.header .menu { border-radius: 12px; flex-shrink: 0; }
.header .menu[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
.header .menu[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width:900px) {
  .header #nav { max-height: calc(100vh - 100px); overflow-y: auto; padding: 18px 5%; border-radius: 0 0 20px 20px; }
  .header #nav.is-open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .header #nav a { padding: 14px 12px; font-size: 15px; border: 1px solid var(--line); }
  .header #nav .nav-cta { grid-column: 1 / -1; }
}
@media (max-width:600px) {
  .header #nav.is-open { grid-template-columns: 1fr; }
  .header #nav a { justify-content: flex-start; padding: 12px 16px; }
}
.header { padding-block: 20px; }
.header nav a { font-weight: 600; letter-spacing: .035em; }
.header nav a:hover { background: var(--chip); }
.header nav .nav-cta { border-color: var(--line); border-radius: 999px; padding-inline: 20px; }
.hero { gap: clamp(24px, 4vw, 60px); padding-block: 44px 48px; }
.hero .tera-title { font-size: clamp(72px, 7.5vw, 108px); letter-spacing: .045em; margin-block: 18px 10px; }
.brand-english { font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .015em; }
.brand-official { margin-block: 8px 28px; font-size: 18px; letter-spacing: .07em; }
.hero .brand-slogan { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.5; }
.brand-subline { line-height: 1.85; }
.hero-art { position: relative; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--card); border-radius: 28px; box-shadow: var(--shadow-md); }
.hero-art:before { content: none; }
.hero-art > img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; max-height: none; border-radius: 0; object-fit: cover; object-position: 50% 45%; }
.hero-art .art-caption { position: absolute; inset: auto 0 0; margin: 0; padding: 36px 24px 20px; color: #fff; background: linear-gradient(transparent, rgba(19,35,29,.82)); }
.hero-art .caption-line { background: currentColor; }
@media (min-width:901px) {
  #home .hero { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(24px,2.5vw,36px); padding-block: 32px 36px; }
  #home .hero-art { align-self: stretch; }
  #home .hero-art > img { height: 100%; aspect-ratio: 4 / 3; object-position: 50% 45%; }
  #home .hero .tera-title { font-size: clamp(72px,6.5vw,94px); margin-top: 12px; }
  #home .brand-official { margin-bottom: 20px; }
  #home .hero-note { margin-top: 24px; }
}
.art-caption { padding: 18px 4px 4px; font-size: 14px; line-height: 1.7; letter-spacing: .025em; }
.caption-line { flex-shrink: 0; width: 40px; }
.button { border-radius: 999px; gap: 18px; padding: 15px 24px; font-weight: 600; letter-spacing: .025em; }
.primary { background: var(--brand-blue); color: #fff; box-shadow: 0 4px 12px rgba(11,74,107,.12); }
.primary:hover { background: #073a55; }
.text-link { text-underline-offset: .3em; }
.text-link:hover { text-decoration: underline; }
.hero-note { display: flex; align-items: center; gap: 8px; line-height: 1.7; }
.roles { padding-block: 30px; }
.roles-head { margin-bottom: 22px; }
.roles-tag { font-weight: 700; line-height: 1.6; }
.ac { border-radius: var(--radius); padding: 24px; gap: 16px; }
.ac:after { left: 24px; right: 24px; height: 2px; opacity: .6; }
.ac-icon { border-radius: 16px; width: 48px; height: 48px; }
.ac-icon svg { width: 25px; height: 25px; stroke-width: 1.5; }
.ac h3 { font-weight: 700; margin-top: 0; }
.ac p { font-size: 15px; }
.values { gap: 20px; padding-block: 30px; }
.value { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 22px 18px; }
.values .value { padding: 22px 18px; }
.icon { background: var(--chip); border: 0; box-shadow: none; border-radius: 14px; }
.icon:has(img) { background: var(--card); padding: 0; }
.page-heading { padding-top: var(--section-space); padding-bottom: 32px; margin-bottom: 32px; }
.page-heading h1 { font-size: clamp(30px, 3.4vw, 48px); margin-block: 14px 18px; }
.page-heading p { margin-block: 0; max-width: 38em; }
.eyebrow { letter-spacing: .12em; font-weight: 600; }
.section-heading { margin-top: var(--section-space); margin-bottom: 24px; }
.section-heading h2 { letter-spacing: .025em; line-height: 1.55; }
.section-heading > div { min-width: 0; }
.topic-grid { gap: 22px; }
.topic { padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.topic-visual { margin: 0 0 22px; background: #fffaf1; border-radius: 14px; padding: 14px; }
.topic-visual .icon { display: none; }
.topic-number { position: static; display: inline-block; margin-bottom: 10px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.topic h2 { margin-bottom: 12px; }
.topic p { margin-top: 0; }
.topic summary { font-size: 14px; }
.art-tile { display: block; position: relative; width: 160px; height: 160px; max-width: 100%; overflow: hidden; margin-inline: auto; }
.art-tile img { position: absolute; width: 200%; max-width: none; height: 200%; left: 0; top: 0; object-fit: fill; mix-blend-mode: normal; }
.art-tile.slot-dialogue img { left: -100%; }
.art-tile.slot-document img { top: -100%; }
.art-tile.slot-fairness img { left: -100%; top: -100%; }
.icon .art-tile { width: 44px; height: 44px; border-radius: 12px; }
.icon .art-tile img { border-radius: 0; }
.tiny-shield svg { width: 22px; height: 22px; color: var(--green); }
.website-intro .resource-symbol { width: 50px; height: 50px; margin: 0; }
.website-toolbar { gap: 24px; margin-bottom: 24px; }
.website-search input { width: 300px; max-width: 100%; border-radius: 999px; padding-inline: 20px; font-size: 15px; }
.website-filters { gap: 10px; margin-bottom: 14px; }
.chip { border-radius: 999px; padding: 9px 15px; font-size: 14px; }
.website-grid { gap: 22px; }
.website-card { padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.resource-symbol { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; color: var(--brand-blue); background: #eaf2f6; }
.resource-symbol svg { width: 24px; height: 24px; }
.website-card-top { gap: 12px; margin-bottom: 12px; }
.website-card h2 { font-size: 18px; line-height: 1.6; margin-bottom: 12px; }
.website-card p { font-size: 15px; line-height: 1.85; }
.website-actions { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.website-domain { letter-spacing: 0; }
.badge { font-size: 12px; padding: 4px 10px; }
.guide-toc { gap: 8px; padding-block: 12px; }
.guide-toc a { padding: 8px 16px; box-shadow: none; }
.guide-toc a[aria-current] { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.guide-block { margin-top: var(--section-space); }
.guide-callout { border-radius: var(--radius); padding: 28px; gap: 24px; }
.guide-callout h2 { font-size: 22px; line-height: 1.6; margin-block: 8px; }
.guide-callout p { font-size: 15px; max-width: 42em; }
.guide-steps { gap: 16px; }
.guide-steps li { padding: 54px 20px 24px; border-radius: var(--radius); }
.guide-steps li:before { top: 18px; left: 20px; width: 26px; height: 26px; background: var(--chip); color: var(--ink); }
.guide-steps p { font-size: 15px; }
.cost-grid,.compare-grid,.terms { gap: 18px; }
.cost-card,.compare-card { padding: 26px; border-radius: var(--radius); }
.cost-card h3,.compare-card h3 { font-size: 19px; line-height: 1.6; }
.cost-card p,.check-list,.terms dd { font-size: 15px; line-height: 1.85; }
.table-wrap { border-radius: var(--radius); }
.deadline-table th,.deadline-table td { padding: 16px 20px; }
.deadline-table tbody tr:not(.group-row):hover { background: var(--paper); }
.deadline-table .group-row th { letter-spacing: .06em; }
.checklist { gap: 12px 18px; }
.checklist label { padding: 16px; border-radius: 12px; font-size: 15px; }
.checklist label:has(input:checked) { background: var(--t-green-bg); color: var(--ink); }
.terms > div { padding: 22px; border-radius: 14px; }
.terms dt { font-size: 17px; }
.case-template { padding: 24px; border-radius: var(--radius); background: var(--chip); }
.faq-list details { border-color: var(--line); }
.faq-list summary { padding-block: 22px; line-height: 1.7; }
.detail-body { padding-bottom: 18px; }
.help-strip { padding: 28px; border-radius: var(--radius); gap: 24px; }
.help-list a { border-radius: 14px; padding: 20px; }
.help-list strong { font-size: 30px; letter-spacing: .03em; }
.help-list small { font-size: 14px; }
.join-art { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; }
.join-art img { border-radius: 18px; }
.join-message { font-family: var(--body-font); font-size: 20px; line-height: 1.8; padding-top: 20px; font-weight: 600; }
.site-footer { margin-top: 48px; padding-top: 36px; }
.footer-top { gap: 32px; padding-bottom: 32px; }
.footer-label { font-size: 13px; letter-spacing: .1em; }
.card-shot { border-radius: var(--radius); }
.card-shot span { padding: 8px 18px 18px; font-size: 15px; }
[data-theme=dark] .hero-art img,[data-theme=dark] .join-art img { filter: none; }
[data-theme=dark] .topic-visual { background: #fffaf1; }
[data-theme=dark] .resource-symbol { background: #223e50; color: #b3d5ea; }
[data-theme=dark] .value,[data-theme=dark] .spirit-card { background: var(--card); }
@media(min-width:901px) and (max-width:1100px) {
  .header { gap: 12px; padding-inline: 4%; }
  .header nav { gap: 3px; }
  .header nav a { font-size: 13px; letter-spacing: 0; }
  .brand-logo { width: 180px; }
  .hero { gap: 26px; }
  .ac-grid.four .ac { flex-direction: column; }
}
@media(max-width:900px) {
  .hero { gap: 28px; }
  .hero-art > img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
  .role-grid .ac { align-items: center; }
  .topic-grid { gap: 18px; }
  .section-heading { margin-bottom: 22px; }
  .guide-callout { padding: 24px; }
}
@media(max-width:600px) {
  .header { padding-block: 16px; }
  .hero { padding-block: 30px; gap: 28px; }
  .hero .tera-title { font-size: clamp(64px,19vw,80px); }
  .brand-official { font-size: 16px; margin-bottom: 22px; letter-spacing: .04em; }
  .hero .brand-slogan { font-size: clamp(27px,7.5vw,32px); }
  .hero-art { padding: 0; border-radius: 22px; }
  .join-art { padding: 12px; border-radius: 22px; }
  .hero-art > img { aspect-ratio: 6 / 5; max-height: none; border-radius: 0; object-position: 50% 45%; }
  .join-art img { max-height: none; border-radius: 14px; }
  .hero-art .art-caption { padding: 32px 18px 16px; }
  .art-caption { font-size: 13px; padding-top: 14px; gap: 12px; }
  .actions { gap: 14px 22px; }
  .button { font-size: 14px; padding: 14px 20px; }
  .roles { padding-block: 24px; }
  .roles-tag { font-size: 22px; }
  .ac,.values .value { padding: 20px; }
  .ac { gap: 14px; }
  .ac-icon { width: 42px; height: 42px; }
  .ac-grid.four .ac { align-items: flex-start; }
  .page-heading { padding-top: 32px; padding-bottom: 26px; }
  .page-heading h1 { font-size: clamp(28px,7.7vw,34px); }
  .topic { padding: 22px; }
  .topic-visual { display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
  .art-tile { width: 160px; height: 160px; }
  .website-search,.website-search input { width: 100%; }
  .website-grid { gap: 18px; }
  .website-card { padding: 22px; }
  .resource-symbol { margin-bottom: 14px; }
  .guide-steps li { padding: 20px 20px 20px 58px; }
  .guide-steps li:before { top: 23px; left: 18px; }
  .cost-card,.compare-card,.terms > div { padding: 22px; }
  .deadline-table th,.deadline-table td { padding: 0; }
  .deadline-table tr { padding: 18px; }
  .deadline-table tr.group-row { padding: 18px 18px 10px; }
  .guide-callout { padding: 22px; }
  .guide-callout h2 { font-size: 20px; }
  .case-template { padding: 20px; font-size: 14px; }
  .help-strip { padding: 22px; }
  .footer-top { gap: 24px; }
}
@media print {
  .hero-art,.join-art { box-shadow: none; }
  .resource-symbol { display: none; }
}

/* ===== v27 聯絡我們：建議信箱與臉書粉絲頁 ===== */
.footer-top {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}
.contact {
  margin: 10px 5.6% 40px;
}
.contact .section-heading {
  margin-left: 0;
  margin-right: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.contact-card:hover {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--t-orange-bg);
  color: var(--t-orange);
}
.contact-icon.fb {
  background: var(--t-blue-bg);
  color: var(--t-blue);
}
.contact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--green);
}
.contact-value {
  font-size: var(--type-card);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-body small {
  margin-top: 4px;
  font-size: var(--type-small);
  line-height: 1.75;
  color: var(--muted);
}
.contact-go {
  align-self: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}
.contact .contact-note {
  margin: 12px 0 0;
  max-width: none;
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .contact {
    margin-inline: 5%;
  }
}
@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 18px;
  }
  .contact-go {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-card {
    transition: none;
  }
}
