.album-app { --album-bg:#fff; --album-ink:#183149; --album-muted:#708397; --album-line:#dfe7ef; --album-soft:#f3f7fb; --album-blue:#246897; color:var(--album-ink); }
.theme--dark .album-app { --album-bg:#292e34; --album-ink:#e2eaf2; --album-muted:#a6b4c3; --album-line:#414c57; --album-soft:#222a32; --album-blue:#8dc9f3; }
.album-hero { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:36px 0 30px; border-bottom:1px solid var(--album-line); }
.album-eyebrow { color:var(--album-blue); font-size:12px; font-weight:600; letter-spacing:1.5px; margin:0 0 12px; }
.album-app h1 { font-size:34px; line-height:1.3; font-weight:600; margin:0; color:var(--album-ink); }
.album-lead { color:var(--album-muted); margin:12px 0 0; font-size:15px; }
.album-hero-side { display:flex; gap:30px; align-items:center; }
.album-totals { display:flex; gap:28px; color:var(--album-muted); font-size:12px; }
.album-totals span { display:block; white-space:nowrap; }.album-totals strong { display:block; font-size:27px; line-height:1.3; font-weight:500; color:var(--album-ink); margin-bottom:4px; }
.album-button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; box-sizing:border-box; padding:9px 17px; border:1px solid var(--album-line); border-radius:8px; color:var(--album-ink); background:var(--album-bg); font:inherit; font-size:13px; cursor:pointer; text-decoration:none; gap:7px; }
.album-button:hover { border-color:var(--album-blue); color:var(--album-blue); text-decoration:none; }.album-button--primary { color:#fff; background:#246897; border-color:#246897; }.album-button--primary:hover { background:#1a547d; color:#fff; }
.album-button:disabled { opacity:.55; cursor:wait; }.album-app a:focus-visible,.album-app button:focus-visible { outline:2px solid #58a4f0; outline-offset:3px; }
.album-filters { display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px; padding:24px 0 6px; align-items:center; }
.album-search { display:flex; gap:8px; order:2; }.album-search input { width:220px; border:1px solid var(--album-line); border-radius:8px; padding:10px 12px; font-size:13px; background:var(--album-bg); color:var(--album-ink); }
.album-years { display:flex; flex-wrap:wrap; gap:7px; }.album-years a { display:inline-flex; gap:6px; padding:8px 12px; border-radius:7px; color:var(--album-muted); font-size:13px; }.album-years a span { font-size:11px; opacity:.7; }.album-years a.is-active { background:#246897; color:white; }.album-years a:hover { text-decoration:none; background:var(--album-bg); color:var(--album-blue); }.album-years a.is-active:hover { background:#246897; color:white; }
.album-results { margin:20px 0 0; color:var(--album-muted); font-size:13px; }
.album-year-group { margin-top:30px; }.album-year-group>h2 { display:flex; align-items:baseline; gap:12px; font-size:25px; font-weight:500; margin:0 0 17px; }.album-year-group>h2 span { color:var(--album-muted); font-size:12px; font-weight:400; letter-spacing:2px; }
.album-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }.album-card { min-width:0; border:1px solid var(--album-line); border-radius:13px; background:var(--album-bg); color:var(--album-ink); overflow:hidden; transition:box-shadow .18s,transform .18s; }.album-card:hover { text-decoration:none; color:var(--album-ink); transform:translateY(-3px); box-shadow:0 10px 24px #153a5514; }
.album-card-cover { position:relative; aspect-ratio:4/3; overflow:hidden; background:#d8e2ec; }.album-card-cover>img { width:100%; height:100%; object-fit:cover; object-position:50% 40%; }.album-photo-badge,.album-draft-badge { position:absolute; right:12px; bottom:12px; padding:5px 9px; border-radius:5px; color:#fff; background:#102c47c9; font-size:11px; }.album-draft-badge { top:12px; bottom:auto; background:#a5681de6; }.album-empty-cover { display:flex; justify-content:center; align-items:center; height:100%; color:#58718a; font-size:14px; }
.album-card-body { padding:19px 20px 18px; }.album-card-date { color:var(--album-muted); font-size:11px; letter-spacing:1px; margin:0 0 9px; }.album-card h3 { font-size:16px; font-weight:500; line-height:1.6; margin:0; min-height:52px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }.album-card-open { display:flex; justify-content:space-between; border-top:1px solid var(--album-line); padding-top:13px; margin-top:16px; color:var(--album-blue); font-size:12px; }
.album-pagination { display:flex; justify-content:center; align-items:center; gap:18px; margin:32px 0; font-size:13px; color:var(--album-muted); }.album-empty { padding:70px 20px; text-align:center; border:1px dashed var(--album-line); border-radius:12px; margin:28px 0; background:var(--album-bg); }.album-empty h2 { font-size:22px; margin:0 0 12px; }.album-empty p { color:var(--album-muted); margin-bottom:20px; }
.album-breadcrumb { display:flex; gap:12px; align-items:center; color:var(--album-muted); margin:12px 0 24px; font-size:13px; }.album-breadcrumb a { color:var(--album-blue); }.album-detail-header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding-bottom:24px; border-bottom:1px solid var(--album-line); margin-bottom:28px; }.album-detail-header h1 { font-size:29px; max-width:900px; }.album-detail-header .album-button { flex-shrink:0; }
.album-description { padding:22px 26px; background:var(--album-bg); border:1px solid var(--album-line); border-radius:10px; margin-bottom:28px; }.album-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }.album-photo { margin:0; min-width:0; }.album-photo-open { display:block; width:100%; aspect-ratio:4/3; border:0; padding:0; border-radius:10px; overflow:hidden; background:#d8e2ec; position:relative; cursor:zoom-in; }.album-photo-open img { width:100%; height:100%; object-fit:cover; }.album-photo-zoom { position:absolute; right:10px; bottom:10px; width:28px; height:28px; border-radius:50%; background:#fffdfc; color:#17334e; display:grid; place-items:center; opacity:0; transition:opacity .15s; }.album-photo-zoom svg { display:block; width:16px; height:16px; }.album-photo-open:hover .album-photo-zoom,.album-photo-open:focus .album-photo-zoom { opacity:1; }.album-photo figcaption { padding:10px 2px; font-size:12px; color:var(--album-muted); }.album-source-link { margin:30px 0; font-size:13px; }
.album-viewer { box-sizing:border-box; width:min(1800px,96vw); height:94dvh; max-width:96vw; max-height:94dvh; padding:0; border:1px solid #506176; border-radius:12px; background:#101a24; color:#e9f0f6; overflow:hidden; }.album-viewer[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }.album-viewer::backdrop { background:#07111ce8; }.album-viewer-bar { display:flex; justify-content:space-between; align-items:center; padding:12px 18px; font-size:13px; }.album-viewer-bar>div { display:flex; align-items:center; gap:20px; }.album-viewer-bar a { color:#b9dbfb; }.album-viewer-bar button { background:none; border:0; color:white; padding:8px; cursor:pointer; font-size:19px; }.album-viewer-stage { display:flex; align-items:center; justify-content:center; position:relative; min-height:0; overflow:hidden; background:#0b131c; }.album-viewer-stage>img { display:block; max-width:100%; width:100%; height:100%; max-height:100%; object-fit:contain; }.album-viewer-stage>button { position:absolute; z-index:1; top:calc(50% - 24px); width:44px; height:48px; border:0; border-radius:8px; background:#132c44bd; color:white; font-size:32px; cursor:pointer; }.album-viewer-previous { left:12px; }.album-viewer-next { right:12px; }.album-viewer-caption { padding:12px 22px; text-align:center; margin:0; min-height:22px; font-size:13px; line-height:1.5; color:#c5d1de; max-height:14dvh; overflow:auto; overflow-wrap:anywhere; box-sizing:border-box; }.album-viewer-caption:empty { display:none; }.album-viewer-open { overflow:hidden; }
.album-editor { max-width:1100px; }.album-edit-form { border:1px solid var(--album-line); border-radius:12px; overflow:hidden; background:var(--album-bg); }.album-edit-section { padding:28px; border-bottom:1px solid var(--album-line); }.album-edit-section h2 { font-size:18px; font-weight:600; margin:0 0 22px; }.album-edit-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }.album-field { display:flex; flex-direction:column; gap:8px; font-size:13px; color:var(--album-ink); }.album-field>span { color:var(--album-muted); font-size:12px; }.album-field--wide { grid-column:1/-1; }.album-field input,.album-field textarea,.album-field select,.album-caption-field input { width:100%; box-sizing:border-box; padding:10px 12px; border:1px solid var(--album-line); border-radius:7px; font:inherit; line-height:1.6; color:var(--album-ink); background:var(--album-bg); }.album-field textarea { resize:vertical; }.album-publish { display:flex; align-items:center; gap:8px; margin:22px 0 8px; font-size:14px; }.album-field-hint { color:var(--album-muted); font-size:12px; margin:8px 0; }.album-edit-section-title { display:flex; align-items:center; justify-content:space-between; gap:20px; }.album-edit-section-title h2 { margin-bottom:7px; }.album-edit-section-title p { color:var(--album-muted); font-size:12px; margin:0; }.album-edit-section-title h2>span { font-size:13px; color:var(--album-muted); }.album-upload-label { position:relative; overflow:hidden; flex-shrink:0; }.album-upload-label input { position:absolute; opacity:0; inset:0; width:100%; cursor:pointer; }
.album-edit-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:24px 0 0; padding:0; list-style:none; }.album-edit-photo { min-width:0; list-style:none; margin:0; padding:0; border:1px solid var(--album-line); border-radius:9px; overflow:hidden; }.album-edit-photo.is-cover { border-color:#2e80b6; box-shadow:0 0 0 1px #2e80b6; }.album-edit-photo.is-dragging { opacity:.4; }.album-edit-photo-image { position:relative; aspect-ratio:4/3; background:var(--album-soft); }.album-edit-photo-image>img { width:100%; height:100%; object-fit:cover; }.album-drag-handle { position:absolute; left:8px; top:8px; border:0; border-radius:4px; font-size:24px; background:#fffe; color:#203a53; width:34px; height:34px; cursor:grab; }.album-cover-choice { position:absolute; right:8px; top:8px; display:flex; gap:4px; align-items:center; background:#fffffff0; color:#183149; font-size:11px; padding:7px; border-radius:5px; }.album-caption-field { display:block; padding:12px; font-size:11px; color:var(--album-muted); }.album-caption-field input { display:block; margin-top:6px; padding:7px; font-size:12px; }.album-photo-actions { display:flex; justify-content:space-between; gap:2px; padding:0 8px 10px; }.album-photo-actions button { border:0; background:none; color:var(--album-blue); font-size:11px; padding:7px 3px; cursor:pointer; }.album-photo-actions button:disabled { color:var(--album-muted); opacity:.4; cursor:default; }.album-photo-actions button:last-child { color:#a54a43; }.album-edit-empty { text-align:center; padding:30px 0 10px; color:var(--album-muted); font-size:14px; }.album-upload-status { border:1px solid var(--album-line); border-radius:8px; padding:15px; margin-top:20px; font-size:12px; }.album-upload-status progress { display:block; width:100%; margin-bottom:8px; accent-color:#246897; }.album-upload-status ul { margin:8px 0 0; color:#b34237; }.album-editor-footer { display:flex; justify-content:flex-end; gap:12px; padding:20px 28px; background:var(--album-soft); }.album-create-note { padding:20px 28px; color:var(--album-muted); font-size:13px; }.album-delete-form { text-align:right; margin-top:18px; }.album-delete-form button { border:0; color:#a54a43; background:none; font-size:12px; cursor:pointer; padding:10px; }
.album-source-banner { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; background:#edf5fc; border:1px solid #d3e4f2; border-radius:8px; padding:12px 16px; margin:20px 0; font-size:13px; color:#3d6685; }.album-source-banner a { color:#21618e; }
.album-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:1000px) { .album-grid,.album-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.album-hero-side { flex-direction:column; align-items:flex-end; gap:16px; }.album-search { order:0; }.album-edit-photos { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .album-hero { align-items:flex-start; padding-top:15px; gap:16px; }.album-app h1 { font-size:28px; }.album-lead { font-size:12px; max-width:180px; }.album-totals { gap:15px; font-size:10px; }.album-totals strong { font-size:23px; }.album-hero-side .album-button { padding:8px 10px; font-size:11px; }.album-filters { gap:14px; }.album-search { width:100%; }.album-search input { flex:1; min-width:0; }.album-years { gap:3px; }.album-years a { padding:7px 9px; font-size:12px; }.album-grid { gap:13px; }.album-card-body { padding:12px; }.album-card h3 { font-size:13px; min-height:63px; -webkit-line-clamp:3; }.album-card-date { font-size:10px; }.album-card-open { font-size:11px; margin-top:12px; padding-top:10px; }.album-photo-badge { right:7px; bottom:7px; padding:4px 6px; font-size:10px; }.album-year-group>h2 { font-size:22px; }.album-detail-header { flex-direction:column; gap:15px; }.album-detail-header h1 { font-size:24px; }.album-photo-grid { gap:12px; }.album-description { padding:16px; }.album-viewer { width:100vw; max-width:100vw; border-radius:0; }.album-viewer-bar { padding:8px 12px; }.album-viewer-stage>button { width:36px; }.album-viewer-previous { left:4px; }.album-viewer-next { right:4px; }.album-edit-section { padding:20px 16px; }.album-edit-fields { gap:16px; }.album-edit-section-title { align-items:flex-start; flex-direction:column; gap:14px; }.album-edit-photos { gap:12px; }.album-photo-actions { flex-wrap:wrap; }.album-editor-footer { padding:18px 16px; }.album-breadcrumb { margin-top:5px; } }
@media(prefers-reduced-motion:reduce) { .album-card { transition:none; }.album-card:hover { transform:none; } }

.album-app .album-button { line-height:1.4; white-space:nowrap; vertical-align:middle; }
.album-app .album-button--primary,.album-app .album-button--primary:visited { color:#fff; background:#246897; border-color:#246897; }
.album-app .album-button--primary:hover,.album-app .album-button--primary:focus-visible { color:#fff; background:#1a547d; border-color:#1a547d; }
.album-app .album-create-button { min-width:124px; min-height:44px; font-size:14px; font-weight:500; flex-shrink:0; gap:8px; }
.album-create-icon { display:block; font-size:20px; font-weight:400; line-height:1; }
@media(max-width:600px) { .album-app .album-create-button { min-width:104px; font-size:12px; min-height:42px; padding:9px 12px; } }

.album-card-open { align-items:center; }
.album-award { display:inline-flex; align-items:center; gap:5px; font-size:12px; line-height:1.4; font-weight:500; white-space:nowrap; flex-shrink:0; }
.album-award svg { display:block; width:16px; height:16px; flex-shrink:0; }
.album-award--gold { color:#976a12; }.album-award--silver { color:#667385; }.album-award--bronze { color:#9b5c31; }
.theme--dark .album-award--gold { color:#f0c66b; }.theme--dark .album-award--silver { color:#c6d2e1; }.theme--dark .album-award--bronze { color:#e6ad85; }
.album-detail-top { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:42px; margin:0 0 20px; }
.album-detail-top .album-breadcrumb { margin:0; min-width:0; }
.album-detail-top>.album-button { flex-shrink:0; }
.album-detail-heading { width:100%; min-width:0; }
.album-title-row { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.album-title-row h1 { flex:1; min-width:0; max-width:none; }
.album-title-row .album-award { margin-left:auto; font-size:16px; gap:7px; }
.album-title-row .album-award svg { width:20px; height:20px; }
@media(max-width:600px) { .album-edit-fields { grid-template-columns:1fr; }.album-detail-top { gap:12px; }.album-title-row { align-items:flex-start; gap:12px; }.album-title-row .album-award { font-size:14px; margin-top:4px; }.album-title-row .album-award svg { width:18px; height:18px; } }
