:root{font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;color:#24332d;background:#f6f7f3;font-size:18px}*{box-sizing:border-box}body{margin:0;min-height:100vh}.skip-link{position:fixed;left:12px;top:-80px;z-index:100;padding:10px;background:#fff;color:#234d3b}.skip-link:focus{top:12px}.album-header{min-height:96px;padding:18px clamp(22px,5vw,88px);display:flex;align-items:center;justify-content:space-between;gap:28px;background:#365f4d;color:#fff}.album-brand{display:flex;flex-direction:column;color:inherit;text-decoration:none}.album-brand strong{font-size:clamp(1.15rem,2vw,1.5rem)}.album-brand small{opacity:.78}.album-header nav{display:flex;flex-wrap:wrap;gap:8px}.album-header nav a{padding:10px 14px;border-radius:10px;color:#fff;text-decoration:none;font-weight:700}.album-header nav a:hover,.album-header nav a[aria-current=page]{background:rgba(255,255,255,.17)}.album-shell{width:min(1760px,calc(100% - clamp(28px,6vw,120px)));margin:clamp(34px,5vw,78px) auto}.album-heading{margin-bottom:36px}.album-heading>p,.album-detail-heading>div>p{margin:0 0 8px;color:#46735f;font-size:.78rem;font-weight:800;letter-spacing:.18em}.album-heading h1,.album-detail-heading h1{margin:0;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.1}.album-heading>span{display:block;margin-top:14px;color:#627068;font-size:1.1rem}.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr));gap:clamp(18px,2vw,34px)}.album-card{overflow:hidden;border:1px solid #d9e2dd;border-radius:20px;background:#fff;box-shadow:0 10px 34px rgba(38,70,56,.07)}.album-card>a{display:block;height:100%;color:inherit;text-decoration:none}.album-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(38,70,56,.13)}.album-cover{aspect-ratio:4/3;overflow:hidden;background:#e8eeea}.album-cover img{width:100%;height:100%;display:block;object-fit:cover}.album-cover.placeholder{display:grid;place-items:center;color:#718078}.album-card-copy{padding:22px}.album-card-copy h2{margin:9px 0;font-size:1.35rem}.album-card-copy p{margin:0;color:#68766f;line-height:1.7}.album-meta,.album-detail-meta{display:flex;flex-wrap:wrap;gap:8px 16px;color:#637169;font-size:.9rem}.album-empty{padding:70px 24px;border:1px dashed #bacbc2;border-radius:20px;text-align:center;background:#fff}.album-pagination{margin-top:34px;display:flex;justify-content:center;align-items:center;gap:18px}.album-pagination a,.album-back{color:#2c674d;font-weight:800;text-decoration:none}.album-footer{padding:28px clamp(22px,5vw,88px);display:flex;justify-content:space-between;gap:20px;background:#eaf0ec;color:#4d6258}.album-footer a{color:#315e49;font-weight:700}.album-back{display:inline-block;margin-bottom:28px}.album-detail-heading{margin-bottom:32px;padding-bottom:28px;border-bottom:1px solid #dce4df}.album-detail-heading{display:grid;grid-template-columns:1fr auto;gap:18px 30px;align-items:end}.album-description{grid-column:1/-1;max-width:1000px;margin:0;white-space:pre-wrap;color:#596b62;line-height:1.8}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:16px}.photo-button{position:relative;overflow:hidden;aspect-ratio:4/3;padding:0;border:0;border-radius:14px;background:#dfe7e2;cursor:zoom-in}.photo-button img{width:100%;height:100%;display:block;object-fit:cover}.photo-button span{position:absolute;inset:auto 10px 10px auto;padding:6px 10px;border-radius:999px;background:rgba(24,45,36,.82);color:#fff;font-size:.75rem;opacity:0}.photo-button:hover span,.photo-button:focus-visible span{opacity:1}.lightbox{width:100vw;max-width:none;height:100vh;max-height:none;margin:0;padding:0;border:0;background:#101512;color:#fff}.lightbox::backdrop{background:#101512}.lightbox-bar{height:68px;padding:10px 22px;display:flex;align-items:center;justify-content:flex-end;gap:18px}.lightbox-bar span{margin-right:auto}.lightbox-bar a{color:#fff;font-weight:700}.lightbox-bar button,.lightbox-stage>button{border:0;background:transparent;color:#fff;font-size:2.2rem;cursor:pointer}.lightbox-stage{height:calc(100vh - 68px);display:grid;grid-template-columns:70px 1fr 70px;align-items:center}.lightbox-stage figure{height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.lightbox-stage img{max-width:100%;max-height:calc(100% - 58px);object-fit:contain}.lightbox-stage figcaption{padding:12px;text-align:center;color:#cbd6d0}.lightbox-stage>button{height:100%}.detail{max-width:1800px}@media(max-width:760px){:root{font-size:17px}.album-header{align-items:flex-start;flex-direction:column}.album-header nav{width:100%}.album-header nav a{flex:1;text-align:center;padding:8px 5px;font-size:.9rem}.album-shell{width:min(100% - 24px,1760px);margin-top:28px}.album-detail-heading{grid-template-columns:1fr}.album-grid{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lightbox-stage{grid-template-columns:46px 1fr 46px}.lightbox-bar{padding-inline:12px}.album-footer{flex-direction:column}}@media(max-width:430px){.photo-grid{grid-template-columns:1fr}.album-header nav a{flex-basis:45%}}
/* Keep lightbox navigation state clear for keyboard and pointer users. */
.photo-save-hint{margin:0 0 18px;padding:12px 16px;border-left:4px solid #79a38f;background:#edf3ef;color:#465c51;line-height:1.7}
.lightbox-stage>button:disabled{opacity:.3;cursor:not-allowed}
:root{font-size:100%}

/* Branch theme accents; layout, routes, and album behavior remain shared. */
.album-heading>p,.album-detail-heading>div>p{color:var(--site-primary,var(--site-primary-dark,#46735f))}
.album-pagination a,.album-back,.album-footer a{color:var(--site-primary-dark,#2c674d)}
.album-card{box-shadow:0 10px 34px rgba(var(--site-primary-dark-rgb,54,95,77),.07)}
.album-card:hover{box-shadow:0 16px 40px rgba(var(--site-primary-dark-rgb,54,95,77),.13)}
.album-cover{background:var(--site-primary-soft,#e8eeea)}
.photo-save-hint{border-left-color:var(--site-primary);background:var(--site-primary-soft)}
