.jz-site{--jz-gutter:max(5vw,calc((100vw - 1260px)/2));margin:0;background:#f8f4eb;color:#142d36;font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;line-height:1.65}
.jz-site *,.jz-footer *{box-sizing:border-box}
.jz-site a,.jz-footer a{text-decoration:none;color:inherit}
.jz-site :focus-visible,.jz-footer :focus-visible{outline:3px solid #c6953e;outline-offset:4px}
.jz-head{background:#091f31;color:#faf3dc;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:14px var(--jz-gutter);border-bottom:1px solid #ac8b56}
.jz-brand{display:inline-flex;gap:.65rem;align-items:center;text-decoration:none}
.jz-brand img{width:44px;height:44px;flex:none}
.jz-brand span{font:700 1.17rem/1.2 "Noto Serif TC","PMingLiU",serif;white-space:nowrap}
.jz-brand small{display:block;color:#d8b878;font:600 .61rem/1.6 sans-serif;letter-spacing:.18em}
.jz-brand:hover span,.jz-brand:focus-visible span{color:#fff1c6;text-shadow:0 0 .35em #f3c875}
.jz-head nav,.jz-actions,.jz-footer nav{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.jz-head nav{font-size:.94rem}.jz-head nav a:hover,.jz-footer a:hover{color:#f7d398}
.jz-head nav a{white-space:nowrap;border:1px solid #b79760;padding:.36rem .9rem;border-radius:.3rem}
.jz-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:center;min-height:clamp(28rem,39vw,39rem);padding:3rem max(6vw,calc((100vw - 1200px)/2));background:#071d2c;color:#fcf3d8}
.jz-hero-photo{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#071f32 3%,rgba(9,32,48,.96) 20%,rgba(8,27,43,.77) 43%,rgba(10,26,42,.12) 80%),url('/desk/court-sunrise.webp') 76% center/cover;animation:jz-reveal 1.45s ease-out}
@keyframes jz-reveal{from{opacity:.55;transform:scale(1.025)}to{opacity:1;transform:none}}
.jz-chart{z-index:-1;position:absolute;inset:13% 4% 6% 55%;display:flex;align-items:flex-end;justify-content:space-between;opacity:.46;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 20%);}
.jz-chart i{background:#fce5a4;height:var(--h);width:1.6%;position:relative;bottom:var(--y);animation:jz-tick 1.4s var(--delay) both;box-shadow:0 0 12px #ffdc8c}
.jz-chart i.down{background:#91dfd8;box-shadow:none}.jz-chart i:after{content:"";background:inherit;position:absolute;left:47%;width:1px;top:-30%;bottom:-30%}
@keyframes jz-tick{from{opacity:0;transform:scaleY(.1)}to{opacity:1;transform:scaleY(1)}}
.jz-hero-content{max-width:41rem}.jz-kicker{font-size:.82rem;letter-spacing:.14em;font-weight:650;color:#e6c486}
.jz-hero h1,.jz-section h2,.jz-panel h1,.jz-system h3{font-family:"Noto Serif TC","PMingLiU",serif}
.jz-hero h1{font-size:clamp(2.6rem,5.1vw,5.05rem);line-height:1.13;letter-spacing:.025em;margin:.8rem 0 1.1rem;color:#fff4d7}
.jz-hero p{font-size:clamp(1rem,1.1vw,1.2rem);max-width:29em;color:#eae9e1;margin:0 0 1.7rem}
.jz-site .jz-btn{font:inherit;font-weight:650;line-height:1.2;min-height:44px;border:1px solid #a08b63;background:transparent;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:.65rem 1.15rem;border-radius:.35rem;text-decoration:none}
.jz-site .jz-btn.primary{color:#192d36;border-color:#e4bb73;background:#efd39a}
.jz-site .jz-btn:hover{box-shadow:inset 0 0 0 1px #c49b57}.jz-site .jz-actions{gap:.7rem}
.jz-section{width:min(88%,1200px);margin:clamp(2.4rem,5vw,4rem) auto}
.jz-section h2,.jz-panel h1{font-size:clamp(1.7rem,2.6vw,2.65rem);line-height:1.3;margin:0 0 1.2rem}
.jz-systems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.jz-system{position:relative;display:block;overflow:hidden;background:#fffdf7;border:1px solid #d8c9a8;border-radius:4px 18px 4px 4px}
.jz-system img{width:100%;height:clamp(7rem,10vw,10rem);object-fit:cover;display:block}
.jz-system div{padding:1rem 2.5rem 1.1rem 1rem}.jz-system h3{font-size:1.25rem;color:#183947;margin:0}.jz-system p{margin:.35rem 0 0;font-size:.94rem;color:#475a60}.jz-system>span{position:absolute;right:1rem;bottom:1.4rem;color:#83652e}
.jz-plan{display:flex;align-items:center;justify-content:space-between;gap:2rem;background:#102f40;color:#f8f0dc;padding:clamp(1.5rem,4vw,3rem);border-left:3px solid #d0a85c}
.jz-plan h2{margin:.6rem 0}.jz-plan p{margin:.4rem 0 .9rem}.jz-plan strong{font-size:2.15rem;white-space:nowrap}.jz-plan small{font-size:1rem}
.jz-panel{margin:clamp(2rem,7vw,5rem) auto;padding:clamp(1.4rem,4vw,3rem);width:min(92%,820px);background:#fffdf7;border:1px solid #d8c9a8;border-radius:4px 22px 4px 4px;overflow-wrap:anywhere}
.jz-panel h2{font-size:1.32rem}.jz-panel p{margin:.85rem 0 1.15rem}.jz-panel hr{border:0;border-top:1px solid #d8c9a8;margin:1.7rem 0}
.jz-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,23rem);gap:clamp(.2rem,1vw,.6rem);margin:0 auto 1.3rem 0}
.jz-tabs a{display:grid;place-items:center;min-height:44px;text-align:center;white-space:nowrap;border:1px solid #b79760;border-radius:.35rem;font-size:clamp(.82rem,2.9vw,1rem)}
.jz-tabs [aria-current]{background:#192f39;color:#fff3d4;font-weight:700}
.jz-secret label{margin-bottom:.3rem}
.jz-secret-input{position:relative}
.jz-credentials .jz-secret-input input{padding-inline-end:4.5rem}
.jz-secret-input button{position:absolute;inset:.15rem .15rem .15rem auto;border:0;background:transparent;color:#5e471d;min-width:3.8rem;border-radius:.25rem;font:inherit;font-weight:600;cursor:pointer}

.jz-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.jz-metrics div,.jz-admin-card{padding:1rem;background:#f6f2e8;border:1px solid #e6dcc8}.jz-metrics dt{font-size:.85rem;color:#53636b}.jz-metrics dd{margin:.25em 0 0;font-weight:700}.jz-notice{color:#805c1a;font-weight:600}
.jz-admin-card{margin:.8rem 0}.jz-admin-card h3{margin:0}.jz-admin-card summary{cursor:pointer}.jz-search{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.jz-search input:not([type=checkbox]){display:block;padding:.5rem;font:inherit;max-width:100%}.jz-history{padding-inline-start:1.2rem}
footer.jz-footer,.shell main footer.jz-footer{box-sizing:border-box;display:block;background:#091e2b;color:#e3e9e7;border:0;border-top:2px solid #a58b55;text-align:left;padding:1.8rem clamp(1rem,4vw,4rem);font:400 clamp(.875rem,.8rem + .2vw,1rem)/1.75 "Microsoft JhengHei",sans-serif}
.jz-footer-inner{max-width:1200px;margin:auto}.jz-footer-top,.jz-footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.jz-footer .jz-brand{color:#fff3cc}.jz-footer p{margin:1rem 0;line-height:1.75;color:#d2dddd}.jz-footer-bottom{border-top:1px solid #445459;padding-top:.85rem;color:#c5d1d3}.jz-footer a{text-decoration:none;color:inherit}
@media(max-width:720px){.jz-site{--jz-gutter:4%}.jz-head{padding:.7rem var(--jz-gutter);gap:.4rem}.jz-head nav{gap:.6rem;font-size:.86rem}.jz-head{flex-wrap:wrap}.jz-head nav{max-width:100%}.jz-head nav a{white-space:nowrap;padding:.34rem .55rem}.jz-brand img{width:36px;height:36px}.jz-hero{min-height:31rem;padding:3.5rem 6%}.jz-hero-photo{background-image:linear-gradient(90deg,rgba(8,30,46,.94),rgba(7,26,40,.65) 64%,rgba(7,26,40,.22)),url('/desk/court-sunrise.webp')}.jz-chart{inset:50% 2% 0 45%;opacity:.23}.jz-systems,.jz-metrics{grid-template-columns:1fr}.jz-system{display:grid;grid-template-columns:30% 1fr;align-items:center}.jz-system img{height:100%;min-height:6.5rem}.jz-plan{align-items:flex-start;flex-direction:column;gap:.6rem}.jz-section{width:92%}.jz-footer nav{gap:.45rem 1rem}}
@media(prefers-reduced-motion:reduce){.jz-chart i,.jz-hero-photo{animation:none}}

#jz-sync-status:not(:empty){position:fixed;z-index:100;bottom:1rem;left:50%;transform:translateX(-50%);max-width:92vw;padding:.6rem 1rem;border:1px solid #c29e59;border-radius:6px;background:#102f40;color:#fff2d2;font-size:1rem;text-align:center}
.jz-credentials{display:grid;gap:.85rem;max-width:30rem}
.jz-credentials label{display:grid;gap:.3rem;font-weight:600}
.jz-credentials input{width:100%;box-sizing:border-box;min-height:44px;padding:.65rem .8rem;color:#142e39;background:#fff;border:1px solid #a99c83;border-radius:.3rem;font:inherit}
.jz-credentials button{justify-self:start}
.jz-recovery-code{display:block;padding:.8rem;border:1px solid #c6ad7f;overflow-wrap:anywhere;user-select:all}
.jz-admin-card bdi,.jz-history li{overflow-wrap:anywhere;white-space:normal}

.jz-site:has(.jz-member-panel)>.jz-head nav{margin-inline-start:auto}
.jz-site main:has(>.jz-member-panel){display:flow-root;background:#fffdf7}
.jz-panel.jz-member-panel {
  width:auto;
  margin:0 var(--jz-gutter);
  padding:clamp(1rem,2vw,1.75rem) 0;
  border:0;
  background:transparent;
}
.jz-member-panel h1{margin-bottom:clamp(.5rem,1vw,.75rem)}
.jz-entry .jz-tabs{margin-bottom:.5rem}
.jz-member-panel p{margin:.5rem 0;line-height:1.45}
.jz-entry .jz-credentials{max-width:none;grid-template-columns:minmax(0,1fr);gap:clamp(.375rem,.8vw,.625rem)}
.jz-entry .jz-credentials label{gap:.125rem;line-height:1.35}
.jz-entry .jz-secret label{margin-bottom:.125rem}
.jz-entry .jz-credentials input{padding-block:.4rem;font-size:1rem;line-height:1.35}
.jz-entry .jz-credentials small{line-height:1.35}
.jz-member-panel .jz-btn{white-space:nowrap}
.jz-account .jz-btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.jz-member-panel h2{margin:.75rem 0 .375rem}
.jz-member-panel hr{margin:clamp(.75rem,1.5vw,1rem) 0}
.jz-member-panel .jz-actions{gap:.4rem .65rem}
.jz-member-panel .jz-admin-card{margin:.5rem 0;padding:clamp(.6rem,1vw,.85rem)}
.jz-member-panel .jz-history{margin:.375rem 0 .75rem}
.jz-account-summary,
.jz-account-metrics {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.4rem .65rem;
  min-width:0;
}
.jz-account-email {max-width:100%;overflow-wrap:anywhere}
.jz-account-metrics {margin:0}
.jz-account-metrics > div {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:.1rem .5rem;
  max-width:100%;
  padding:.28rem .65rem;
  border:1px solid #e6dcc8;
  background:#f6f2e8;
  line-height:1.4;
}
.jz-account-metrics dt {color:#53636b;font-size:clamp(.875rem,.82rem + .18vw,1rem)}
.jz-account-metrics dd {margin:0;font-size:clamp(.95rem,.88rem + .22vw,1.1rem);font-weight:700}
.jz-account .jz-btn {white-space:nowrap}
.jz-account-logout {margin-top:.5rem}
@media(max-width:40rem) {
  .jz-account-email {flex-basis:100%}
  .jz-account-metrics {gap:.35rem}
  .jz-account-metrics > div {padding:.25rem .45rem}
}

.jz-search {
  display:grid;
  grid-template-columns:minmax(0,1fr) max-content max-content;
  align-items:end;
  gap:.5rem 1rem;
}
.jz-search-email {display:grid;gap:.2rem;min-width:0}
.jz-search-email input,.jz-search .jz-btn {width:100%;height:2.75rem}
.jz-search-pending {display:flex;align-items:center;gap:.4rem;min-height:2.75rem;white-space:nowrap}
.jz-search-pending input {margin:0;width:1rem;height:1rem}
.jz-search .jz-btn {white-space:nowrap}
@media(max-width:40rem) {
  .jz-search {grid-template-columns:minmax(0,1fr) max-content}
  .jz-search-email {grid-column:1/-1}
}

.jz-site[data-page="會員中心"] > .jz-footer {padding-inline:var(--jz-gutter)}
.jz-site[data-page="會員中心"] .jz-footer-inner {max-width:none}
