:root {
  --paper: #f7f6f2;
  --white: #fffefa;
  --ink: #223342;
  --muted: #647078;
  --teal: #243e53;
  --mint: #e8eeea;
  --rose: #f3e7df;
  --amber: #bf7654;
  --line: #dedfd8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans TC", "Hiragino Kaku Gothic ProN", sans-serif; line-height: 1.8; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button, input, textarea, select { font: inherit; }
button, a, input, summary, textarea { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--amber); }
button { cursor: pointer; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 17px; overflow-wrap: anywhere; }
h1 { font-size: clamp(32px, 3.7vw, 50px); letter-spacing: -.025em; white-space: pre-line; font-weight: 750; }
h2 { font-size: 30px; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: 21px; }
.site-header { max-width: 1240px; margin: auto; padding: 26px 36px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 750; letter-spacing: .08em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .22em; margin-top: -3px; }
.brand-mark { display: flex; align-items: center; justify-content: center; position: relative; width: 43px; height: 43px; border: 1px solid var(--ink); border-radius: 50%; font-size: 29px; font-weight: 500; color: var(--teal); }
.brand-mark span { position: absolute; color: var(--amber); font-size: 12px; right: 7px; bottom: 9px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
nav form { margin: 0; }
.text-button { padding: 0; border: 0; color: var(--teal); background: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 13px 25px; background: var(--teal); color: white; border: 1px solid var(--teal); border-radius: 6px; font-weight: 650; min-height: 49px; text-decoration: none; }
.button:hover { background: #172e40; text-decoration: none; }
.button:disabled { opacity: .65; cursor: wait; }
.button.small { min-height: 38px; padding: 7px 18px; font-size: 13px; }
.button.secondary { background: transparent; color: var(--teal); }
.button.secondary:hover { background: var(--mint); }
.wide { width: 100%; }
.language-bar { max-width: 1240px; margin: auto; padding: 12px 36px 0; display: flex; justify-content: flex-end; gap: 18px; font-size: 12px; }
.language-bar a { color: var(--muted); }
.language-bar a[aria-current] { color: var(--teal); font-weight: 750; text-decoration: underline; text-underline-offset: 5px; }
main { max-width: 1240px; padding: 0 36px 80px; margin: auto; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 44px; padding: 68px 0 80px; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .18em; color: #9b5739; margin: 0 0 18px; }
.lead { font-size: 16px; color: var(--muted); max-width: 510px; }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 28px 0 12px; }
.secondary-link { font-size: 14px; font-weight: 650; }
.hero-footnote { font-size: 12px; color: var(--muted); margin: 32px 0 0; padding-left: 14px; border-left: 2px solid var(--amber); }
.hero-art { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; transform: none; min-width: 0; width: 100%; max-width: 440px; height: auto; justify-self: center; }
.hero-art img { width: 100%; height: auto; max-height: none; aspect-ratio: 2 / 3; object-fit: cover; background: transparent; border-radius: 8px; }
.hero-art figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 11px; padding-top: 16px; color: var(--muted); }
.hero-art figcaption span:last-child { letter-spacing: .14em; }
.city-section { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 60px; border-block: 1px solid var(--line); padding: 38px 0; }
.city-copy h2 { white-space: pre-line; }
.city-copy > p:last-child { font-size: 15px; color: var(--muted); max-width: 350px; }
.landmarks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.landmarks figure { margin: 0; text-align: center; }
.landmarks img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: contain; margin: auto; }
.landmarks figcaption { margin-top: 12px; font-size: 14px; font-weight: 650; }
.landmarks figcaption span { display: block; margin-top: 3px; font-size: 9px; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.section-heading > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; }
.section-heading h2 { margin-bottom: 12px; }
.events-section, .movement-section { padding-top: 76px; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.event-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.event-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.event-card-body { padding: 26px; }
.event-card-body h3 { margin: 13px 0 10px; }
.event-card-body p { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.tag { display: inline-block; font-size: 10px; letter-spacing: .12em; font-weight: 700; color: #9b5739; }
.card-link { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 17px; font-size: 14px; font-weight: 650; }
.movement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.movement-grid figure { margin: 0; }
.movement-grid img { width: 100%; max-width: 235px; aspect-ratio: 1; object-fit: contain; margin: 0 auto 24px; }
.movement-grid figcaption { border-top: 1px solid var(--line); padding-top: 20px; }
.movement-grid h3 { font-size: 18px; margin-bottom: 8px; }
.movement-grid p { font-size: 14px; color: var(--muted); margin: 0; }
.how-section { margin-top: 72px; background: #eeefe9; padding: 36px 40px; border-radius: 8px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 18px 0 28px; }
.steps article { position: relative; padding-left: 42px; }
.steps h3 { font-size: 17px; margin-bottom: 7px; }
.steps p { font-size: 14px; color: var(--muted); margin: 0; }
.step-number { position: absolute; left: 0; top: 0; color: #9b5739; font-size: 13px; font-weight: 700; }
.page-head { padding: 50px 0 28px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); }
.centered { text-align: center; }
.centered .lead { margin-inline: auto; }
.paper { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 30px; margin-bottom: 24px; min-width: 0; }
.narrow { max-width: 740px; margin-inline: auto; }
.detail-grid { grid-template-areas: "intro summary"; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.event-cover { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 40%; width: 100%; border-radius: 5px; margin-bottom: 25px; }
.event-intro { grid-area: intro; }
.requirements-title { margin-top: 24px; font-size: 17px; }
.summary { grid-area: summary; position: sticky; top: 20px; }
.summary h2 { font-size: 23px; }
.summary .wide { margin-top: 22px; }
.division-summary { padding: 15px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
dl { margin: 15px 0; }
dt { font-size: 13px; color: var(--muted); margin-top: 14px; }
dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.notice { padding: 14px 18px; border-radius: 5px; background: #f3ecdd; color: #665332; font-size: 14px; }
.demo-notice { background: var(--rose); }
body > aside.notice { max-width: 1168px; margin: 16px auto 0; }
.muted { color: var(--muted); font-size: 13px; }
.document-links { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 20px 0; font-size: 14px; }
.prose { overflow-wrap: anywhere; }
.prose h1 { font-size: 28px; white-space: normal; }
.prose h2 { font-size: 23px; }
.prose h3 { font-size: 19px; }
.prose blockquote { margin: 18px 0; padding: 10px 18px; border-left: 3px solid var(--amber); background: var(--paper); }
.prose table { display: block; overflow: auto; border-collapse: collapse; }
.prose td, .prose th { padding: 8px; border: 1px solid var(--line); }
.prose pre { overflow: auto; background: var(--paper); padding: 15px; }
.prose a { text-decoration: underline; }
.login-paper { text-align: center; max-width: 520px; }
.login-paper #google-button { display: flex; justify-content: center; margin-top: 24px; }
.apple { background: #223342; margin-top: 18px; }
.hidden { display: none; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { font-size: 20px; font-weight: 750; margin-bottom: 15px; }
.division-option { display: flex; align-items: center; gap: 15px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; cursor: pointer; }
.division-option:has(input:checked) { border-color: var(--teal); background: #edf1f3; }
.division-option small { display: block; color: var(--muted); font-size: 12px; }
.division-option b { margin-left: auto; white-space: nowrap; }
input[type=radio], input[type=checkbox] { width: 19px; height: 19px; accent-color: var(--teal); flex-shrink: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin: 25px 0; }
.document-detail { border-bottom: 1px solid var(--line); padding: 17px 0; }
.document-detail summary { font-weight: 750; cursor: pointer; }
.document-detail .prose { font-size: 14px; }
.row, .order-row { display: flex; gap: 15px; justify-content: space-between; align-items: center; }
.order-row { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.break { overflow-wrap: anywhere; }
.empty { text-align: center; padding: 45px 25px; margin-top: 30px; border: 1px solid var(--line); border-radius: 8px; }
.app-cover { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 40%; width: 100%; border-radius: 5px; }
.editor-label { display: block; margin-bottom: 25px; }
.editor-label textarea { display: block; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: 14px; resize: vertical; }
input:not([type=radio]):not([type=checkbox]):not([type=hidden]) { padding: 8px; border: 1px solid var(--line); border-radius: 6px; max-width: 100%; }
.registration-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
footer { border-top: 1px solid var(--line); padding: 35px 0 45px; max-width: 1168px; margin: auto; color: var(--muted); font-size: 13px; }
.footer-brand { font-size: 20px; }
.footer-brand span { font-size: 10px; font-weight: 550; margin-left: 12px; }
footer p { margin: 10px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 25px 0; }
.event-qr { width: 180px; height: 180px; margin: 20px auto; }
@media (max-width: 1000px) {
  .hero { gap: 28px; padding-block: 52px; }
  .hero h1 { font-size: 36px; }
  .city-section { gap: 32px; }
}
@media (max-width: 760px) {
  .site-header { padding: 19px 20px 16px; gap: 12px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { width: 36px; height: 36px; font-size: 25px; }
  .brand-mark span { right: 5px; bottom: 7px; font-size: 10px; }
  .brand small { font-size: 8px; }
  nav { gap: 13px; font-size: 12px; }
  nav > a:first-child { display: none; }
  .button.small { padding: 6px 12px; }
  .language-bar { padding: 12px 20px 0; }
  main { padding: 0 20px 45px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 38px 0 42px; }
  .hero h1 { font-size: clamp(29px, 8vw, 36px); }
  .lead { font-size: 15px; }
  .hero-footnote { margin-top: 22px; }
  .hero-art figcaption { font-size: 10px; }
  .city-section { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .city-copy > p:last-child { max-width: none; }
  .landmarks { gap: 18px; }
  .landmarks img { max-width: 165px; }
  .landmarks figcaption span { font-size: 8px; }
  .events-section, .movement-section { padding-top: 44px; }
  .event-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .event-card-body { padding: 22px; }
  .movement-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
  .movement-grid figure { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; }
  .movement-grid img { margin: 0; }
  .movement-grid figcaption { padding-top: 14px; }
  .movement-grid h3 { font-size: 17px; }
  .movement-grid p { font-size: 13px; }
  .how-section { margin-top: 44px; padding: 26px 23px; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .steps article { padding-left: 40px; }
  h2 { font-size: 25px; }
  .paper { padding: 22px; }
  .detail-grid { grid-template-columns: 1fr; grid-template-areas: "summary" "intro"; gap: 0; }
  .hero-art { max-width: 230px; }
  .hero { padding-bottom: 10px; }
  .prose table { min-width: 450px; }
  .prose { overflow-x: auto; }
  .prose td, .prose th { white-space: nowrap; }
  .summary { position: static; }
  .page-head { padding-top: 35px; }
  .division-option { padding: 13px; gap: 9px; }
  .division-option b { font-size: 14px; }
  .order-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .registration-list { grid-template-columns: 1fr; gap: 0; }
  body > aside.notice { margin-inline: 20px; }
  footer { margin-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 首頁與 AIRYZONE 共用風與蒲公英的意象，操作頁維持原有版面。 */
.breeze-home { overflow: clip; }
.breeze-home .hero { position: relative; isolation: isolate; grid-template-columns: 1.25fr .75fr; gap: 6%; min-height: 0; padding-block: 56px 64px; }
.breeze-home .air-current { position: absolute; z-index: 0; top: -55px; left: 50%; width: 1440px; height: 800px; max-width: none; transform: translateX(-50%); pointer-events: none; user-select: none; opacity: .4; }
.breeze-home .hero-copy, .breeze-home .hero-art { position: relative; z-index: 1; }
.hero-purpose { font-size: 13px; font-weight: 500; color: #8b553f; letter-spacing: .06em; margin-bottom: 28px; }
.breeze-home h1 { font-size: clamp(34px, 3.6vw, 48px); font-weight: 500; line-height: 1.6; letter-spacing: .005em; text-wrap: balance; color: #346276; }
.breeze-home .lead { max-width: 455px; line-height: 2; margin-top: 24px; }
.breeze-home .hero-art { max-width: 440px; align-self: end; margin-bottom: -20px; justify-self: end; }
.breeze-home .hero-art img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 2px; }
.breeze-home .hero-art figcaption { justify-content: flex-end; text-align: right; font-size: 12px; }
.breeze-home .button { background: #24576d; border-color: #24576d; border-radius: 8px; font-weight: 550; }
.breeze-home .button:hover { background: #173d53; border-color: #173d53; }
.breeze-home .hero-footnote { border-color: #ba8063; font-size: 12px; }
.breeze-home h2 { font-weight: 500; letter-spacing: .02em; }
.breeze-home .events-section { border-top: 1px solid var(--line); padding-top: 55px; }
.breeze-home .event-grid { grid-template-columns: 1fr; gap: 40px; }
.breeze-home .event-card { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 40px; align-items: center; background: transparent; border: 0; border-radius: 0; }
.breeze-home .event-card > img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 2px; }
.breeze-home .event-card-body { padding: 0; }
.breeze-home .event-card-body h3 { font-weight: 550; }
.breeze-home .card-link { color: #24576d; }
.breeze-home .how-section { margin-top: 72px; padding: 38px 0; border-radius: 0; background: transparent; border-top: 1px solid var(--line); }
.breeze-home .step-number { color: #a3664a; }
@media (max-width: 1000px) {
  .breeze-home .hero { gap: 30px; }
}
@media (max-width: 760px) {
  .breeze-home .hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-block: 35px 45px; }
  .hero-purpose { margin-bottom: 20px; font-size: 12px; letter-spacing: .02em; }
  .breeze-home h1 { font-size: clamp(30px, 7.2vw, 43px); }
  .breeze-home .lead { font-size: 15px; margin-top: 18px; }
  .breeze-home .air-current { top: auto; bottom: 0; left: 42%; width: 900px; height: 340px; }
  .breeze-home .hero-art { width: 85%; max-width: 400px; margin: 0; }
  .breeze-home .events-section { padding-top: 36px; }
  .breeze-home .event-grid { gap: 32px; }
  .breeze-home .event-card { grid-template-columns: 1fr; gap: 20px; }
  .breeze-home .event-card > img { max-width: 240px; }
  .breeze-home .event-card > .event-postcard { max-width: 320px; }
  .breeze-home .how-section { margin-top: 44px; padding-block: 30px 15px; }
}

/* 公開資訊與帳號頁面共用容易閱讀的標題和求助入口。 */
h1, h2, h3 { font-weight: 550; }
.page-head { padding-top: 42px; }
.page-head > .eyebrow { display: none; }
.page-head h1 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.5; letter-spacing: 0; }
.button { border-radius: 8px; gap: 16px; font-weight: 550; }
.paper { border-radius: 10px; }
.row { flex-wrap: wrap; }
.row > * { min-width: 0; }
.event-cover { display: block; width: auto; height: auto; max-width: 100%; max-height: 360px; aspect-ratio: auto; object-fit: contain; margin-inline: auto; }
.app-paper .actions { justify-content: center; }
.app-paper { text-align: center; }
footer { padding-block: 0 32px; }
.footer-help { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.footer-help h2 { font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.footer-help p { max-width: 650px; margin: 0; font-size: 14px; }
.footer-help > a { flex-shrink: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 5px; }
.footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; }
.footer-brand span { letter-spacing: .04em; }
@media (max-width: 760px) {
  .footer-help { align-items: flex-start; flex-direction: column; gap: 18px; padding-block: 26px; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 12px; }
}

/* 本人運動紀錄與路線 */
.workout-group { margin-bottom: 32px; }
.workout-row { display: flex; align-items: center; gap: 18px; margin: 12px 0; padding: 22px; }
.workout-row > div { flex: 1; min-width: 0; }
.workout-row strong, .workout-row .muted { display: block; }
.workout-row:hover { border-color: var(--amber); text-decoration: none; }
.workout-metrics { display: flex; gap: 32px; flex-wrap: wrap; padding: 18px 0; }
.workout-metrics dd { font-size: 28px; font-weight: 750; margin: 0; }
.workout-map-section { margin-top: 24px; }
.workout-map { position: relative; height: 360px; overflow: hidden; background: #e8eeea; border: 1px solid var(--line); border-radius: 18px; cursor: grab; touch-action: none; }
.workout-map:active { cursor: grabbing; }
.workout-map svg { display: block; width: 100%; height: 360px; }
.map-attribution { position: absolute; bottom: 0; right: 0; background: #fffffff0; padding: 2px 6px; color: #223342; font-size: 12px; cursor: pointer; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .workout-row { flex-wrap: wrap; gap: 10px; padding: 18px; }
  .workout-row > div { flex-basis: 100%; }
  .workout-map-section .actions { gap: 8px; flex-wrap: wrap; }
  .workout-metrics { gap: 24px; }
}
