:root {
  color-scheme: light;
  --ink: #355b61;
  --muted: #526d69;
  --teal: #246e70;
  --cream: #fffdf5;
  --line: #c8d9cc;
  --focus: #a34f21;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; background: #f7f7ed radial-gradient(#d9e6dc 1px, transparent 1px); background-size: 14px 14px; line-height: 1.7; }
a { color: var(--teal); text-underline-offset: 4px; }
button, input { font: inherit; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.account-skip { position: absolute; top: 8px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--cream); border: 2px solid var(--teal); transform: translateY(-160%); }
.account-skip:focus { transform: translateY(0); }
.account-banner { padding: 5px 16px; background: #dff2ed; text-align: center; color: #3d625d; font-size: 12px; letter-spacing: 1px; }
.site-header { display: flex; align-items: center; gap: 26px; min-height: 84px; padding: 14px max(4%, calc((100% - 1150px) / 2)); background: #fffef8; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; }
.brand-mark { display: flex; align-items: center; font-size: 30px; color: #557f7c; font-weight: 900; }
.brand-mark span { font-size: 20px; }
.brand b { font-size: 24px; color: #27777d; letter-spacing: -1px; }
.brand b > span { color: #3e6c65; }
.brand small { display: block; font-size: 8px; letter-spacing: 2px; color: var(--muted); }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: auto; font-size: 13px; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.member-link { padding: 9px 18px; border: 1px solid #abcbbb; border-radius: 24px; background: #e8f4e9; white-space: nowrap; font-size: 13px; font-weight: 700; text-decoration: none; }
.account-shell { max-width: 1150px; margin: 30px auto; }
.account-hero { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; background: #e8f4e9; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 6px 0 #e3e9dc; }
.page-hero { min-height: 250px; }
.single-panel { max-width: 760px; margin: 0 auto; }
.registration-status { margin: 0 0 18px; padding: 10px 13px; border-left: 3px solid #91ac90; border-radius: 4px; background: #edf3e9; color: #425f50; font-size: 13px; }
.hero-copy { padding: 38px 40px; background: linear-gradient(120deg, #f6f8e9, #e1f1e7); }
.eyebrow { margin: 0 0 7px; color: #5b7467; font-size: 10px; font-weight: 700; letter-spacing: 2px; }
h1 { margin: 0 0 16px; color: #326f6a; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.45; letter-spacing: 2px; }
.hero-copy > p:not(.eyebrow) { margin: 0 0 20px; font-size: 14px; }
.hero-tag { display: inline-block; padding: 5px 13px; border: 1px solid #dbc89d; border-radius: 24px; background: #fff8e5; color: #775c36; font-size: 12px; }
.hero-art { display: flex; align-items: flex-end; justify-content: center; background: linear-gradient(0deg, #e8f4e9 0%, transparent 38%), url('island-paula-v4.png') 84% 43% / auto 142% no-repeat; min-height: 300px; }
.hero-art span { margin: 22px 12px; padding: 7px 14px; border: 1px solid #fff; border-radius: 24px; background: #fffdf5ed; font-size: 12px; }
.service-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 25px 0 18px; padding: 20px 24px; background: #fff7e3; border: 1px solid #d9be8c; border-radius: 16px; }
.service-card h2 { margin: 0 0 5px; font-size: 17px; color: #775b32; }
.service-card p { margin: 3px 0; font-size: 13px; }
#session-status { color: var(--muted); font-size: 12px; }
.service-card .button { flex-shrink: 0; margin: 0; }
.account-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 18px; }
.account-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 19px; border: 1px solid #b5cebd; border-radius: 24px; background: #fffdf5; text-decoration: none; font-size: 14px; font-weight: 700; }
.account-nav a:hover { background: #e1eee3; }
.account-nav a[aria-current="page"] { background: #2f7473; border-color: #24686a; color: #fff; }
.captcha-row { margin: 18px 0 8px; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.account-panel { min-width: 0; padding: 28px; background: #fffdf7; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 5px 0 #e3e9dc; scroll-margin-top: 24px; }
.account-panel:target { border-color: var(--teal); box-shadow: 0 0 0 2px #9cbeae; }
h2 { margin: 0 0 10px; font-size: 24px; letter-spacing: 1px; color: #356e62; }
h3 { margin: 0 0 12px; font-size: 16px; color: #35645e; }
p { overflow-wrap: anywhere; }
.section-intro { margin: 0 0 19px; color: var(--muted); font-size: 14px; }
.wide-panel { grid-column: 1 / -1; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.form-columns > :nth-child(2) { padding-left: 30px; border-left: 1px dashed #bdcebe; }
.registration-password-step { grid-column: 1 / -1; padding-top: 20px; border-top: 1px dashed #bdcebe; }
.registration-password-step form { max-width: 560px; margin: auto; }
.step { display: inline-block; margin-right: 7px; color: #8c6437; font: italic 24px Georgia, serif; }
form { min-width: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 700; }
input { display: block; width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #779b90; border-radius: 9px; color: #244d4c; background: #fff; font-size: 16px; }
input[aria-invalid="true"] { border: 2px solid #9d3d35; }
fieldset:disabled input { background: #eef0e8; border-color: #a8b8ad; color: #586b62; cursor: not-allowed; }
fieldset:disabled label { color: #5d7269; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 22px; padding: 10px 20px; border: 1px solid #24686a; border-radius: 11px; background: #2f7473; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.button:hover:not(:disabled) { background: #235e5e; }
.button-light { background: #edf4e8; border-color: #87a58f; color: #365d51; }
.button-light:hover:not(:disabled) { background: #dcebdc; }
.button:disabled { background: #e3e9df; color: #596c5c; border-color: #a8b8a9; cursor: not-allowed; }
.form-availability { margin: 12px 0 4px; padding: 9px 12px; background: #edf3e9; color: #425f50; border-left: 3px solid #91ac90; border-radius: 4px; font-size: 12px; }
.form-feedback { margin: 16px 0 0; padding: 12px 14px; border: 1px solid #8eb8a1; border-radius: 8px; color: #285b45; background: #eaf5e8; font-size: 14px; }
.form-feedback:empty { display: none; }
.form-feedback[data-kind="error"] { color: #842e2a; background: #fff1ec; border-color: #c88375; }
.form-feedback[data-kind="warning"] { color: #765221; background: #fff5d9; border-color: #c8a96c; }
.form-feedback[data-kind="pending"] { color: #325f63; background: #e9f2f1; border-color: #9bbdb5; }
.form-feedback:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.field-hint, .fine-print { color: var(--muted); font-size: 12px; line-height: 1.9; }
.captcha-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 64px; }
.captcha-row img { width: 180px; height: 64px; object-fit: contain; border: 1px solid #779b90; border-radius: 8px; background: #fff; }
.captcha-row .button { width: auto; min-height: 42px; margin-top: 0; padding-inline: 13px; }
.registration-columns { align-items: start; }
.registration-columns > form { min-width: 0; }
.registration-columns > form:nth-child(2) { padding-left: 30px; border-left: 1px dashed #bdcebe; }
.registration-password-step { grid-column: 1 / -1; }
@media (max-width: 650px) {
  .captcha-row { align-items: stretch; flex-direction: column; }
  .captcha-row img { width: 100%; max-width: 260px; }
  .captcha-row .button { width: 100%; }
  .registration-columns > form:nth-child(2) { padding: 23px 0 0; border-left: 0; border-top: 1px dashed #bdcebe; }
}
.inline-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; margin-top: 22px; font-size: 13px; }
.inline-links a { padding: 8px 0; }
.passport-panel { background: linear-gradient(145deg, #eff6e9, #fffdf7 70%); }
.empty-state { padding: 24px 18px; border: 1px dashed #9db7a2; border-radius: 13px; color: #4e6d57; background: #f2f5e9; font-size: 14px; }
.account-identity { padding: 12px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fffdf5; font-size: 13px; }
.account-identity strong { display: block; font-size: 19px; overflow-wrap: anywhere; }
#character-summary { font-size: 13px; }
.character-list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 12px 0 22px; }
.character-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fffefa; overflow-wrap: anywhere; }
.character-list strong { min-width: 0; font-size: 15px; }
.character-list span { color: var(--muted); font-size: 13px; }
.notice { padding: 16px 18px; border-left: 4px solid #ba9562; border-radius: 6px; background: #fff5de; color: #715636; font-size: 13px; }
.safety-panel { background: #edf2e5; }
.safety-panel h3 { margin-top: 24px; }
.safety-panel p:not(.eyebrow) { color: #486652; font-size: 13px; }
.site-footer { display: flex; align-items: center; gap: 30px; max-width: 1150px; margin: 40px auto; font-size: 13px; }
.site-footer p { flex: 1; color: var(--muted); }
.site-footer small { font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1200px) {
  .account-shell, .site-footer { margin-left: 24px; margin-right: 24px; }
  .site-header { padding-left: 24px; padding-right: 24px; gap: 16px; }
  .site-header nav { gap: 16px; font-size: 12px; }
}
@media (max-width: 850px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; padding: 8px 0 2px; }
  .member-link { margin-left: auto; }
  .hero-copy { padding: 28px; }
  .account-grid { gap: 18px; }
  .account-panel { padding: 24px; }
  .form-columns { gap: 24px; }
  .form-columns > :nth-child(2) { padding-left: 24px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 16px; }
  .account-banner { font-size: 11px; letter-spacing: 0; }
  .site-header { padding: 12px 16px; gap: 12px; }
  .brand b { font-size: 21px; }
  .brand-mark { font-size: 25px; }
  .brand-mark span { font-size: 17px; }
  .brand small { font-size: 7px; letter-spacing: 1.4px; }
  .site-header nav { column-gap: 16px; row-gap: 8px; }
  .member-link { padding: 10px 13px; font-size: 12px; }
  .account-shell { margin: 20px 14px; }
  .account-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 26px; }
  .hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .hero-art { min-height: 190px; background-position: center, 80% 46%; background-size: auto, auto 195%; }
  .hero-art span { margin: 14px; }
  .service-card { align-items: stretch; flex-direction: column; gap: 12px; padding: 19px; }
  .account-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-nav a { padding: 10px 5px; font-size: 12px; }
  .account-grid, .form-columns { grid-template-columns: minmax(0, 1fr); }
  .account-panel { padding: 23px 19px; }
  .form-columns > :nth-child(2) { padding: 23px 0 0; border-left: 0; border-top: 1px dashed #bdcebe; }
  .button { width: 100%; }
  .account-panel h2 { font-size: 22px; }
  .site-footer { flex-wrap: wrap; gap: 10px; margin: 32px 22px; }
  .site-footer p { flex-basis: 100%; margin: 4px 0; }
  .site-footer > a:last-child { padding: 8px 0; }
}
.login-page { display: grid; align-items: center; min-height: 100vh; min-height: 100svh; padding: 40px 20px; background: linear-gradient(120deg, #e8f3e9ed, #fffaf0f2), url('island-paula-v4.png') center / cover no-repeat; }
.login-shell { width: 100%; max-width: 420px; min-width: 0; margin: 0 auto; }
.login-brand { justify-content: center; margin-bottom: 26px; }
.login-panel { padding: 30px 32px; border-radius: 20px; box-shadow: 0 12px 38px #365d5114; }
.login-panel > .eyebrow, .login-panel h1 { text-align: center; }
.login-panel h1 { margin: 0 0 22px; font-size: 28px; letter-spacing: 2px; }
.login-panel label { margin-top: 16px; }
.login-panel input { min-height: 48px; }
.login-panel input::placeholder { color: #73817b; font-size: 14px; }
.login-action { width: 100%; min-height: 48px; margin-top: 24px; text-decoration: none; letter-spacing: 3px; }
.login-register { margin-top: 12px; }
.login-availability { margin: 12px 0 0; padding: 0; border: 0; background: none; color: var(--muted); text-align: center; line-height: 1.7; }
.login-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 14px; font-size: 12px; }
.login-help a { display: inline-flex; align-items: center; min-height: 40px; }
.login-footer { margin: 24px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
@media (max-width: 450px) {
  .login-page { padding: 28px 16px; }
  .login-brand { margin-bottom: 22px; }
  .login-panel { padding: 26px 22px; }
  .login-panel h1 { font-size: 25px; }
}
.register-page { display: grid; align-items: center; min-height: 100vh; min-height: 100svh; padding: 34px 20px; background: linear-gradient(120deg, #e8f3e9ed, #fffaf0f2), url('island-paula-v4.png') center / cover no-repeat; }
.register-shell { width: 100%; max-width: 620px; min-width: 0; margin: 0 auto; }
.register-brand { justify-content: center; margin-bottom: 22px; }
.register-panel { padding: 30px 34px; border-radius: 20px; box-shadow: 0 12px 38px #365d5114; }
.register-panel > .eyebrow, .register-panel > h1 { text-align: center; }
.register-panel > h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: 2px; }
.register-intro { margin: 0; color: var(--muted); text-align: center; font-size: 13px; }
.register-quota { margin: 16px 0 14px; padding: 8px 10px; border-left: 3px solid #ba9562; background: #fff5de; color: #715636; font-size: 12px; text-align: center; }
.register-service-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; margin-bottom: 12px; }
.register-availability, .register-session-status { margin: 0; color: var(--muted); font-size: 12px; }
.register-session-status { grid-column: 1; }
.register-refresh { grid-column: 2; grid-row: 1 / span 2; min-height: 38px; padding: 7px 12px; border: 1px solid #87a58f; border-radius: 8px; background: #edf4e8; color: #365d51; font: inherit; font-size: 12px; cursor: pointer; }
.register-refresh:disabled { color: #596c5c; border-color: #a8b8a9; background: #e3e9df; cursor: not-allowed; }
.register-steps { display: grid; gap: 18px; }
.register-steps form, .registration-password-step { padding-top: 18px; border-top: 1px dashed #bdcebe; }
.register-steps form:first-child { padding-top: 0; border-top: 0; }
.register-steps h2 { margin-bottom: 8px; font-size: 18px; }
.register-steps label { margin-top: 13px; }
.register-steps input { min-height: 46px; }
.register-steps input::placeholder { color: #73817b; font-size: 14px; }
.register-primary-action { width: 100%; min-height: 46px; margin-top: 18px; letter-spacing: 1px; }
.register-steps .captcha-row { margin-top: 14px; }
.register-steps .captcha-row .button { width: auto; }
.register-steps .form-availability { margin: 7px 0 4px; }
.register-steps .field-hint { margin: 8px 0; }
.register-steps .form-feedback { margin-top: 10px; }
.register-links { margin-top: 20px; }
.register-links .button { width: 100%; min-height: 46px; margin-top: 0; text-decoration: none; letter-spacing: 1px; }
.register-footer { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
@media (max-width: 650px) {
  .register-page { padding: 26px 16px; }
  .register-panel { padding: 26px 22px; }
  .register-panel > h1 { font-size: 25px; }
  .register-service-row { grid-template-columns: minmax(0, 1fr); }
  .register-refresh { grid-column: 1; grid-row: auto; width: 100%; }
  .register-steps .captcha-row { align-items: stretch; }
  .register-steps .captcha-row .button { width: 100%; }
}
.profile-page, .security-page { display: grid; align-items: center; min-height: 100vh; min-height: 100svh; padding: 34px 20px; background: linear-gradient(120deg, #e8f3e9ed, #fffaf0f2), url('island-paula-v4.png') center / cover no-repeat; }
.member-shell { width: 100%; max-width: 620px; min-width: 0; margin: 0 auto; }
.member-brand { justify-content: center; margin-bottom: 22px; }
.member-panel { padding: 30px 34px; border-radius: 20px; box-shadow: 0 12px 38px #365d5114; }
.member-panel > .eyebrow, .member-panel > h1 { text-align: center; }
.member-panel > h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: 2px; }
.member-intro { margin: 0 0 18px; color: var(--muted); text-align: center; font-size: 13px; }
.member-service-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 12px; margin-bottom: 16px; }
.member-availability, .member-session-status { margin: 0; color: var(--muted); font-size: 12px; }
.member-session-status { grid-column: 1; }
.member-refresh { grid-column: 2; grid-row: 1 / span 2; min-height: 38px; padding: 7px 12px; border: 1px solid #87a58f; border-radius: 8px; background: #edf4e8; color: #365d51; font: inherit; font-size: 12px; cursor: pointer; }
.member-refresh:disabled { color: #596c5c; border-color: #a8b8a9; background: #e3e9df; cursor: not-allowed; }
.member-summary { margin: 14px 0 8px; color: var(--muted); font-size: 13px; }
.member-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.member-actions .button { min-height: 42px; margin: 0; padding: 8px 10px; text-decoration: none; font-size: 12px; }
.member-actions-stack { grid-template-columns: minmax(0, 1fr); }
.member-logout, .member-primary-action { width: 100%; min-height: 46px; margin-top: 18px; letter-spacing: 1px; }
.member-steps { display: grid; gap: 18px; }
.member-steps form { padding-top: 18px; border-top: 1px dashed #bdcebe; }
.member-steps form:first-child { padding-top: 0; border-top: 0; }
.member-steps h2 { margin-bottom: 8px; font-size: 18px; }
.member-steps label { margin-top: 13px; }
.member-steps input::placeholder { color: #73817b; font-size: 14px; }
.member-steps .form-availability { margin: 7px 0 4px; }
.member-steps .field-hint { margin: 8px 0; }
.member-steps .form-feedback { margin-top: 10px; }
.member-links { margin-top: 18px; }
.member-links .button { width: 100%; min-height: 46px; margin: 0; text-decoration: none; letter-spacing: 1px; }
.member-footer { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
@media (max-width: 650px) {
  .profile-page, .security-page { padding: 26px 16px; }
  .member-panel { padding: 26px 22px; }
  .member-panel > h1 { font-size: 25px; }
  .member-service-row { grid-template-columns: minmax(0, 1fr); }
  .member-refresh { grid-column: 1; grid-row: auto; width: 100%; }
  .member-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) { .button, input, .account-nav a, .form-availability, .member-refresh { border: 1px solid ButtonText; } }
