@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --paper-deep: #f2f0e9;
  --ink: #262b26;
  --muted: #74776f;
  --rule: #e1dfd6;
  --accent: #536d58;
  --accent-dark: #3f5845;
  --olive: #658269;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --content: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.9; letter-spacing: .018em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: #fff; background: var(--accent); }
.progress-track { position: fixed; inset: 0 0 auto; z-index: 40; height: 2px; background: transparent; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .08s linear; }
.site-header { position: sticky; top: 0; z-index: 30; width: 100%; margin: 0; border-bottom: 1px solid var(--rule); background: rgba(251, 250, 247, .96); }
.nav-wrap { width: min(calc(100% - 64px), 1180px); margin: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 0; min-width: max-content; text-decoration: none; }
.brand-name { display: grid; line-height: 1.45; }
.brand-name strong { font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.brand-name small { margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: .17em; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a { position: relative; padding: 9px 0; color: #5f625b; font-size: 12px; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--accent); transition: right .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-dark); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.page-link { padding: 7px 0; color: var(--accent-dark); }
.menu-toggle { display: none; border: 1px solid var(--rule); border-radius: 2px; background: transparent; color: var(--ink); padding: 6px 12px; cursor: pointer; font-size: 12px; }
.hero { position: relative; }
.hero-inner { position: relative; width: min(calc(100% - 64px), var(--content)); min-height: 625px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 520px); align-items: center; gap: 46px; padding: 72px 0 105px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .2em; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 6.2vw, 78px); line-height: 1.34; font-weight: 500; letter-spacing: .045em; }
h1 span { display: block; }
h1 span:last-child { color: var(--accent); }
.hero-sub { max-width: 560px; margin: 23px 0 0; color: #62665e; font-size: 14px; line-height: 2.05; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.button-primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 45px; padding: 0 17px; border: 1px solid var(--accent-dark); border-radius: 2px; color: #fff; background: var(--accent-dark); font-size: 12px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.button-primary:hover { color: var(--accent-dark); background: transparent; }
.button-primary span { font-size: 18px; line-height: 1; }
.sync-control { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.sync-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #b28d4e; }
.sync-control[data-state="success"] .sync-dot { background: var(--olive); }
.sync-control[data-state="error"] .sync-dot { background: #a96853; }
.sync-control[data-state="syncing"] .sync-dot { animation: pulse 1s infinite alternate; }
.sync-button { padding: 2px 0; border: 0; border-bottom: 1px solid #b8c2b5; color: var(--accent-dark); background: transparent; font-size: 10px; cursor: pointer; }
.sync-button:disabled { opacity: .6; cursor: wait; }
@keyframes pulse { to { opacity: .35; } }
.hero-art { justify-self: center; width: min(100%, 520px); margin: 0; padding: 7px; border: 1px solid #deddd3; background: #f3f1e9; transform: rotate(.4deg); }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: contain; }
.hero-meta { position: absolute; left: 0; bottom: 28px; display: flex; gap: 17px; color: #74776f; font-size: 9px; letter-spacing: .12em; }
.hero-meta span + span::before { content: "/"; margin-right: 17px; color: #a4ab9e; }
.intro-band { width: min(calc(100% - 64px), var(--content)); margin: 0 auto; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.intro-inner { padding: 27px 0; display: grid; grid-template-columns: 1fr 2.25fr; gap: 40px; align-items: center; }
.intro-label { margin: 0; color: var(--accent); font-size: 11px; letter-spacing: .1em; }
.intro-copy { margin: 0; color: #5c6058; font-size: 13px; line-height: 2; }
main { width: min(calc(100% - 64px), var(--content)); margin: auto; }
.content-section { padding: 86px 0 0; scroll-margin-top: 105px; }
.section-heading { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 27px; }
.section-no { margin-top: 12px; color: #85877e; font-size: 9px; line-height: 1.6; letter-spacing: .14em; }
.section-title { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 36px); line-height: 1.4; font-weight: 500; letter-spacing: .08em; }
.section-caption { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.article, .afterword-item { position: relative; min-height: 0; padding: 23px 0 27px; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: transparent; box-shadow: none; transition: border-color .2s; }
.article:hover, .afterword-item:hover { border-color: #a8b3a3; background: transparent; }
.article-grid > .article:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
.article-kicker { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.article-kicker span { color: var(--accent); font-size: 10px; letter-spacing: .08em; }
.article-kicker h3 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: .06em; }
.article p, .article ol, .afterword-item p { margin: 0; color: #50544d; font-size: 13px; line-height: 2.05; }
.article ol { padding-left: 1.35em; }
.article li + li { margin-top: 8px; }
.article li::marker { color: var(--accent); }
.rights-grid .article { min-height: 0; }
.culture-section { position: relative; margin: 28px 0 0; padding: 31px 34px 33px; border: 0; border-left: 2px solid #899785; border-radius: 0; background: var(--paper-deep); }
.culture-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.culture-head .article-kicker { margin: 0; }
.culture-head .article-kicker h3 { font-size: 20px; }
.culture-mark { display: inline-flex; align-items: center; gap: 8px; color: #697364; font-size: 9px; letter-spacing: .12em; white-space: nowrap; }
.culture-mark::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #899785; }
.culture-quote { margin: 0 0 19px; padding-left: 17px; border-left: 1px solid #a5ad9f; color: #38453b; font-family: var(--serif); font-size: clamp(22px, 2.8vw, 31px); font-weight: 500; line-height: 1.7; letter-spacing: .05em; }
.culture-section p { max-width: 900px; margin: 0; color: #50544d; font-size: 13px; line-height: 2.1; }
.culture-subhead { margin: 25px 0 9px; }
.afterword { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.afterword-item { padding: 22px 0 24px; }
.afterword-item.amendment-policy { grid-column: 1 / -1; padding: 22px 20px 24px; border: 1px solid #d4d9cf; border-left: 3px solid var(--accent); background: #f5f4ee; }
.revision { margin-top: 42px; }
.revision-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.revision-title h3 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: .06em; }
.revision-title span { color: var(--muted); font-size: 9px; letter-spacing: .15em; }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: transparent; }
table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; font-size: 12px; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--rule); }
th { color: #555e54; background: #f4f3ed; font-size: 10px; font-weight: 500; letter-spacing: .08em; }
td { color: #50544d; }
tbody tr:last-child td { border-bottom: 0; }
.footer { margin-top: 82px; border-top: 1px solid var(--rule); background: #f5f4ee; }
.footer-inner { width: min(calc(100% - 64px), var(--content)); margin: auto; padding: 31px 0; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-title { margin: 0; font-size: 12px; letter-spacing: .08em; }
.footer-copy { margin: 6px 0 0; color: #77796f; font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 21px; }
.footer-link { color: var(--accent-dark); font-size: 10px; text-decoration-color: #a5b0a1; text-underline-offset: 4px; }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid #d6d7cd; border-radius: 2px; color: var(--accent-dark); background: rgba(251, 250, 247, .96); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { border-color: var(--accent); }
.rules-toolbar { width: min(calc(100% - 64px), var(--content)); margin: 48px auto 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.rules-toolbar .eyebrow { margin-bottom: 8px; font-size: 9px; }
.rules-toolbar h1 { font-size: 38px; }
.rules-toolbar .sync-control { padding-bottom: 6px; }
.rules-page .content-section { padding-top: 44px; }
.rules-page .section-heading { grid-template-columns: 105px 1fr; margin-bottom: 20px; }
.rules-page .section-title { font-size: 27px; }
.rules-page .section-caption { display: none; }
.rules-page .article { min-height: 0; }
.rules-page .culture-section { margin-top: 18px; }
.rules-page main { padding-bottom: 65px; }
@media (max-width: 1000px) {
  .nav-links { gap: 17px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(320px, 40%); gap: 30px; min-height: 590px; }
  .afterword { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 94px; }
  .nav-wrap { width: calc(100% - 36px); min-height: 66px; gap: 10px; }
  .brand-name strong { font-size: 11px; }
  .brand-name small { font-size: 7px; letter-spacing: .1em; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 10px 18px 15px; flex-direction: column; align-items: stretch; gap: 1px; border: 1px solid var(--rule); border-top: 0; background: var(--paper); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 9px 5px; font-size: 13px; }
  .nav-links a::after { display: none; }
  .hero-inner { width: calc(100% - 40px); min-height: auto; grid-template-columns: 1fr; gap: 0; padding: 63px 0 82px; }
  .eyebrow { margin-bottom: 19px; font-size: 9px; letter-spacing: .16em; }
  h1 { font-size: clamp(43px, 10.5vw, 66px); line-height: 1.38; }
  .hero-sub { font-size: 13px; line-height: 2.05; margin-top: 20px; }
  .hero-actions { margin-top: 25px; gap: 17px; align-items: flex-start; flex-direction: column; }
  .hero-art { justify-self: start; width: min(100%, 500px); margin-top: 26px; transform: none; }
  .hero-meta { bottom: 24px; font-size: 8px; gap: 12px; letter-spacing: .07em; }
  .hero-meta span + span::before { margin-right: 12px; }
  .intro-band, main, .rules-toolbar { width: calc(100% - 40px); }
  .intro-inner { grid-template-columns: 1fr; gap: 8px; padding: 21px 0; }
  .intro-label { font-size: 10px; }
  .intro-copy { font-size: 12px; }
  .content-section { padding-top: 57px; scroll-margin-top: 95px; }
  .section-heading { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; margin-bottom: 20px; }
  .section-no { font-size: 8px; margin-top: 8px; }
  .section-title { font-size: 27px; }
  .section-caption { font-size: 11px; line-height: 1.8; }
  .article-grid, .afterword { grid-template-columns: 1fr; column-gap: 0; gap: 0; }
  .article, .rights-grid .article, .afterword-item { min-height: 0; padding: 20px 0 23px; }
  .article-kicker h3 { font-size: 17px; }
  .article p, .article ol, .afterword-item p, .culture-section p { font-size: 13px; }
  .culture-section { margin-top: 15px; padding: 23px 20px 25px; }
  .culture-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .culture-head .article-kicker h3 { font-size: 19px; }
  .culture-quote { padding-left: 12px; font-size: 22px; }
  .revision { margin-top: 31px; }
  .revision-title h3 { font-size: 17px; }
  .revision-title span { font-size: 8px; }
  .footer { margin-top: 56px; }
  .footer-inner { width: calc(100% - 40px); align-items: flex-start; flex-direction: column; padding: 26px 0; gap: 17px; }
  .footer-links { gap: 14px 18px; }
  .back-top { right: 13px; bottom: 13px; width: 38px; height: 38px; }
  .rules-toolbar { margin-top: 34px; align-items: flex-start; flex-direction: column; gap: 15px; }
  .rules-toolbar h1 { font-size: 32px; }
  .rules-page .content-section { padding-top: 34px; }
  .rules-page .section-heading { grid-template-columns: 78px 1fr; }
  .rules-page .section-title { font-size: 24px; }
  .afterword-item.amendment-policy { padding: 20px 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
